Skip to content

AcpSessionCommand

Defined in: packages/agent/src/modules/acp/acpCommands.ts:84

One command this agent advertises to an ACP client, in the dialect-neutral shape both AvailableCommand types happen to share.

readonly description: string

Defined in: packages/agent/src/modules/acp/acpCommands.ts:88

One sentence, shown beside the name in the client’s command list.


readonly optional inputHint?: string

Defined in: packages/agent/src/modules/acp/acpCommands.ts:94

The placeholder for whatever the user types after the name, or absent for a command that takes nothing. ACP’s only input variant is unstructured — everything after the name arrives as one string — so this is a hint and never a schema.


readonly name: string

Defined in: packages/agent/src/modules/acp/acpCommands.ts:86

The name the client renders, and the word a prompt has to start with to invoke it.