Skip to content

startAcpServer

startAcpServer(config, options?): Promise<void>

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/modules/acpModule.ts:57

Start the Gaunt Sloth deep agent as an ACP server over stdio.

Resolves once the stdio transport is listening; the process then stays alive serving the ACP host until it is terminated. The returned promise rejecting means startup failed.

NOTE: deepagents-acp 0.1.12 does NOT forward permissions to createDeepAgent — on the ACP path fs gating is delegated to the host’s interactive permission prompts, not gsloth’s .aiignore→permissions mapping. permissions is still passed here for forward-compatibility. EXT-13 caveat: the ACP backend keeps virtualMode ON (/ = workspace, see gthAcpServer), while EXT-13 re-anchored gsloth’s default permissions at the REAL absolute cwd for the local runner. So if a future deepagents-acp DOES forward these rules they would not match the virtual /-rooted paths the ACP backend hands them — revisit the mapping (or the ACP backend’s mode) at that point.

GthConfig

StartAcpServerOptions = {}

Promise<void>