startAcpServer
startAcpServer(
options?):Promise<void>
Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/modules/acp/acpStdio.ts:76
Serves ACP over stdio until the client disconnects, in whichever protocol version the client asks for on its first message.
The dialect is not chosen here and is not configurable: acpRouter.ts reads it off the
initialize and hands the connection to the matching app. A flag would be the wrong shape —
an editor spawns this command with no arguments, so a version it had to be told would be a
version it never gets.
Resolves when the connection closes, so a bin can await it and exit cleanly rather than
holding the event loop open on a socket nobody is reading.
Parameters
Section titled “Parameters”options?
Section titled “options?”AcpStdioOptions = {}
Returns
Section titled “Returns”Promise<void>