Skip to content

createAcpAgentRouter

createAcpAgentRouter(options?): AgentProtocolRouter

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

Builds the version-dispatching front door: both apps, wired behind one connector.

options reaches both apps unchanged, so a caller cannot end up with a configured v2 surface and a default v1 one — a divergence that would show up only against whichever client the tests do not use.

AcpAgentAppOptions = {}

AgentProtocolRouter