Public API Reference (1.x)¶
This page enumerates the stable public API covered by the versioning & stability policy. Anything not listed here — and anything named with a leading underscore — is internal and may change without a major version bump.
node_wire_runtime¶
Stable top-level exports (node_wire_runtime.__all__):
Connector authoring¶
BaseConnector— base class for connectors.get_connector_registry()— returns a copy of the connector-id → class registry.nw_action,sdk_action— action decorators.SdkActionSpec,default_build_kwargs,execute_spec_in_thread,navigate_resource.NestedConnectorActionError.
Responses & errors¶
ConnectorResponseErrorCategoryErrorMapper
Authentication¶
AuthProvider(base),NoAuthProvider,StaticTokenAuthProvider,OAuth2AuthProvider,ServiceAccountAuthProvider.CallerIdentity,build_caller_identity.
Policy¶
PolicyHook,PolicyDenied.
Secrets¶
SecretProvider(base),EnvSecretProvider,SecretNotFoundError,SecretProviderError.
Streaming¶
StreamSignal,stream_completion_log,resolve_stream_buffer_ms,BufferedStreamIterator.
Version¶
__version__
Connector contract (extensibility API)¶
Connector authors depend on these stable modules:
node_wire_runtime.base_connector—BaseConnector, action decorators.node_wire_runtime.mcp_contract— MCP tool contract flags.node_wire_runtime.auth.base—AuthProviderinterface.node_wire_runtime.secrets.base—SecretProviderinterface.
Connectors register via the node_wire.connectors entry-point group.
Bootstrap (not in __all__): node_wire_runtime.connector_registry.auto_register() loads entry points at process startup (requires NW_ALLOWED_CONNECTORS). In-process usage typically goes through bindings.factory.ConnectorFactory after auto_register(), not direct registry access.
Wire contracts¶
- REST — routes and request/response schemas served by the API binding
(Swagger UI at
/docs). - gRPC — the
Connectorservice defined by the committed protobuf contract. - MCP — tool manifests exposed by the MCP servers (
nw-*).
Configuration¶
connectors.yamlschema — see configuration.md.NW_*environment variables — see configuration.md.
Console scripts¶
node-wire, nw-google-drive, nw-smartonfhir-epic, nw-smartonfhir-cerner,
nw-smtp, nw-stripe, nw-salesforce, nw-slack.