AcpStdioOptions
Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/modules/acp/acpStdio.ts:32
Seams for the tests; production passes nothing.
Extends
Section titled “Extends”Properties
Section titled “Properties”agentFactory?
Section titled “agentFactory?”
optionalagentFactory?: (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.
Parameters
Section titled “Parameters”config
Section titled “config”Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”AcpAgentAppOptions.agentFactory
input?
Section titled “input?”
optionalinput?: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.
loadConfig?
Section titled “loadConfig?”
optionalloadConfig?: (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.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<GthConfig>
Inherited from
Section titled “Inherited from”output?
Section titled “output?”
optionaloutput?: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.
resolvers?
Section titled “resolvers?”
optionalresolvers?: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.