Skip to content

AcpStdioOptions

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/modules/acp/acpStdio.ts:32

Seams for the tests; production passes nothing.

optional agentFactory?: (config) => GthAgentFactory

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/modules/acp/acpCommon.ts:76

The agent backend for a session. Defaults to resolveAgentFactory, i.e. the lean agent — the same backend every other command resolves, reached through the same seam rather than named here, so a future backend choice stays a single edit.

GthConfig

GthAgentFactory

AcpAgentAppOptions.agentFactory


optional input?: ReadableStream<Uint8Array<ArrayBufferLike>>

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/modules/acp/acpStdio.ts:34

Byte stream the client writes to. Defaults to the process’s stdin.


optional loadConfig?: (cwd) => Promise<GthConfig>

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/modules/acp/acpCommon.ts:70

Loads the effective gth config for a session rooted at cwd. Defaults to pointing config discovery at the session workspace and running the normal loader.

string

Promise<GthConfig>

AcpAgentAppOptions.loadConfig


optional output?: WritableStream<Uint8Array<ArrayBufferLike>>

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/modules/acp/acpStdio.ts:39

Byte sink the protocol writes to. Defaults to the process’s real stdout, captured before the redirect below so the redirect cannot swallow the protocol along with everything else.


optional resolvers?: AgentResolvers

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/modules/acp/acpCommon.ts:78

Tool/content resolvers handed to the runner. Defaults to createResolvers.

AcpAgentAppOptions.resolvers