Modules
Public entrypoints for the shared CLI subprocess runtime foundation.
Phase 6 adapter selection policy declaration for CLI runtime profiles.
OTP application supervision tree for the core runtime.
Generic long-lived CLI IO channel above the raw session layer.
Stable mailbox-delivery metadata for direct channel subscribers.
Normalized subprocess invocation data shared by provider profiles.
Structured failures for the provider-aware non-PTY command lane.
Validated command-lane options for provider-aware one-shot execution.
Core-owned result for provider-aware one-shot command execution.
Resolved subprocess program plus any argv prefix that must precede provider arguments.
Normalized runtime event envelope emitted by the core session layer.
Backward-compatible execution-surface facade for downstream CLI packages.
Normalized materialized authority for governed CLI launch.
JSON-RPC helper on top of CliSubprocessCore.ProtocolSession.
Stable raw fact shapes for provider pressure, reconnect, and subprocess lineage.
Phase 6 lower simulation scenario declaration for CLI subprocess profiles.
Normalizes mixed model input into one authoritative model payload.
Canonical model resolution, validation, and argument payload construction.
Canonical model metadata loaded by CliSubprocessCore.ModelRegistry.
Resolved model selection returned by CliSubprocessCore.ModelRegistry.
Ollama HTTP integration used by model validation and backend resolution.
Namespace for the normalized runtime payload structs emitted by the core.
Represents an approval request emitted by a provider CLI.
Represents an approval decision.
Represents a streamed assistant delta.
Represents a completed assistant message.
Represents token and cost accounting updates.
Represents a normalized runtime error.
Represents an unnormalized raw provider payload.
Represents the terminal result of a provider CLI run.
Marks the start of a provider CLI run.
Represents stderr output emitted by a provider CLI.
Represents provider thinking output.
Represents a tool invocation result.
Represents a tool invocation request.
Represents normalized user input.
Facade helpers for normalized process exits returned by core-owned lanes.
Pure codec and protocol-state boundary used by CliSubprocessCore.ProtocolSession.
Generic protocol-session runtime above CliSubprocessCore.Channel.
Shared provider-specific CLI resolution policies for the core runtime.
Exception returned when provider CLI resolution fails.
Structured provider CLI runtime failure.
Canonical provider feature metadata for the built-in CLI profiles.
Behaviour contract for built-in and external provider CLI profiles.
Built-in provider profile for the common Amp CLI runtime.
Built-in provider profile for the Antigravity CLI (agy).
Built-in provider profile for the common Claude CLI runtime.
Built-in provider profile for the common Codex CLI runtime.
Built-in provider profile for the Cursor Agent CLI (agent).
Registry of provider profile modules available to the core runtime.
Application-configured provider runtime profile selection.
Provider-agnostic handle for long-lived raw subprocess sessions.
Stable mailbox-delivery metadata for raw-session consumers.
Normalized recoverability facts for provider and transport failures.
Runtime state helpers for normalized session event emission.
Canonical schema helpers and shared validation error types for common-lane dynamic boundaries.
Common CLI session runtime above the raw transport layer.
Stable mailbox-delivery metadata for direct session subscribers.
Validated startup options for the common session engine.
Small task helpers shared by the runtime and transport layers.
Canonical fake-SSH parity harness for exercising the real execution-surface path without injecting fake transport implementations.
Shared config-driven helpers for opt-in live SSH execution-surface tests.
Neutral, serializable tool data used by the common CLI runtime.
Serializable description of a tool contract.
Serializable tool request data normalized by the core.
Serializable tool response data normalized by the core.
Facade helpers for transport errors returned by core-owned lanes.
Facade helpers for transport metadata snapshots returned by core-owned lanes.