Expand description
Wasmtime-based runtime for Greentic Designer Extensions.
Re-exports§
pub use self::broker::Broker;pub use self::broker::BrokerError;pub use self::broker::BrokerResult;pub use self::capability::CapabilityRegistry;pub use self::capability::OfferedBinding;pub use self::capability::ResolutionPlan;pub use self::discovery::DiscoveryPaths;pub use self::guardrail_map::GuardrailVerdictWire;pub use self::host_ports::InMemorySecrets;pub use self::host_ports::KeyTranslator;pub use self::host_ports::SecretsBackend;pub use self::host_ports::SecretsError;pub use self::host_ports::Translator;pub use self::types::BundleArtifact;pub use self::types::BundleSession;pub use self::types::CompileContext;pub use self::types::DeployExtensionError;pub use self::types::DeployJob;pub use self::types::DeployRequest;pub use self::types::DeployStatus;pub use self::types::Diagnostic;pub use self::types::HostExtensionError;pub use self::types::KnowledgeEntry;pub use self::types::KnowledgeEntrySummary;pub use self::types::PromptFragment;pub use self::types::RoleError;pub use self::types::RoleSpec;pub use self::types::Severity;pub use self::types::TargetKind;pub use self::types::TargetSummary;pub use self::types::ToolDefinition;pub use self::types::ValidateResult;pub use self::url_matcher::UrlMatcher;pub use reqwest;
Modules§
- broker
- capability
- discovery
- guardrail_
map - Wire-serialisable verdict type for the
guardrailextension interface. - host_
bindings - host_
ports - Narrow ports the runtime depends on for host-side capabilities.
- oauth
- OAuth broker HTTP client for the design-extension runtime.
- types
- url_
matcher - Strict URL allow-list matcher.
- watcher
Structs§
- Extension
Id - Extension
Runtime - Host
Overrides - Bundle of overrides every dispatch caller must supply when building a
HostState. Production code (designer) constructs adapters aroundgreentic-i18n+greentic-secrets; tests useHostOverrides::defaults_for_tests. - Host
State - Per-Store host context. One
HostStateis built per WIT invocation — the dependencies live inArcs so cloning is cheap. - Loaded
Extension - Runtime
Config - Configuration passed to
ExtensionRuntime::new. - Watcher
Guard - Returned by
ExtensionRuntime::start_watcher. Dropping this stops the watcher thread cleanly (within ~200 ms).
Enums§
Functions§
- contribution_
tool_ to_ definition - Map a v2 describe
Toolcontribution to a host-sidecrate::types::ToolDefinition.