Expand description
Host Integrations subsystem (RFC-041).
Three capabilities, all driven by a declarative registry:
- Discovery (
scanner::HostToolScanner) — enumerate host CLIs across PATH and package-manager install roots; cross-platform; symlink-aware; TTL-cached. - OAuth (Phase 3) — device-code handshake with refresh + revoke.
- Provisioning (Phase 4) — execute
SkillInstallSpecas a privileged kernel op.
The facade is HostToolsApi, exposed on KernelHandle as host_tools.
Re-exports§
pub use oauth::DeviceCodeResponse;pub use oauth::OAuthBroker;pub use oauth::PollOutcome;pub use oauth::PollResponse;pub use provisioner::InstallOutput;pub use provisioner::install as install_spec;pub use registry::CredentialResolver;pub use registry::CredentialStatus;pub use registry::Integration;pub use registry::IntegrationRegistry;pub use scanner::DetectedTool;pub use scanner::HostProbe;pub use scanner::HostToolScanner;pub use scanner::RealProbe;pub use scanner::ToolSource;
Modules§
- oauth
- OAuth device-code broker (RFC-041 Phase 3).
- provisioner
- Provisioner (RFC-041 Phase 4).
- registry
- Integration registry (RFC-041 Phase 2).
- scanner
- Host tool discovery —
HostToolScanner.
Structs§
- Host
Tools Api - Kernel facade for host-tool discovery + integration registry + OAuth
(RFC-041). Owns the shared
HostToolScanner(TTL cache), the loadedIntegrationRegistry, and theOAuthBroker.