Skip to Content
API ReferenceType AliasesType Alias: ExternalCommandResult

Type Alias: ExternalCommandResult

ExternalCommandResult = { kind: "forward"; userInput: string; } | { jobIds?: string[]; kind: "final"; text: string; }

Defined in: src/agent_runner/agent_runner_types.ts:39 

Result of handling an external (config-driven) slash command.

  • ‘forward’: command produced a prompt that should be sent to the agent
  • ‘final’: command produced its own final answer; skip the agent run (e.g. unknown command, or a non-chat-lane command that posted to a board)
Last updated on