Skip to main content

Crate soma_provider_core

Crate soma_provider_core 

Source
Expand description

Transport-neutral provider contracts and immutable registry dispatch.

soma-provider-core defines provider manifests, executable ToolSpec metadata, validation, provider calls and outputs, and the registry that indexes and dispatches them. It deliberately has no Soma product policy, auth, configuration, process lifecycle, or concrete provider adapters.

Build a registry with ProviderRegistry::builder, register implementations of Provider, then dispatch a ProviderCall. Registry snapshots are immutable and carry a deterministic RegistryFingerprint.

Structs§

BrowserCapability
CliOverlay
DocsOverlay
EnvCapability
EnvRequirement
FilesystemCapability
GitHubCapability
HostCapabilities
McpOverlay
NetworkCapability
PaletteOverlay
PluginOverlay
ProviderCall
ProviderElicitation
ProviderError
ProviderExample
ProviderId
ProviderIdError
ProviderIdentity
ProviderIndexes
ProviderLimits
ProviderManifest
ProviderOutput
ProviderPrompt
ProviderRegistry
ProviderRegistryBuilder
ProviderResource
ProviderTask
ProviderValidationError
RegisteredTool
RegistryFingerprint
RegistrySnapshot
RestOverlay
TerminalCapability
ToolSpec
UiOverlay

Enums§

CapabilityGrant
ProviderKind
ProviderSurface

Traits§

Provider

Functions§

redact_public
validate_manifest_schema
validate_provider_manifest
validate_provider_manifest_value

Type Aliases§

ProviderCatalog
ProviderTool