cues

Dispatch an agent cue to a session or send a command cue to a scoped shell terminal

Changed on
post/api/v1/cues/{cueId}/invoke

Request

  • Base URL
    http://127.0.0.1:3001
  • URL
    http://127.0.0.1:3001/api/v1/cues/{cueId}/invoke
  • Auth
    none declared

Path parameters

cueIdstring required

Cue identifier.

Request body

sessionIdstring

Optional exact session target. Agent cues message it; command cues use its worktree. Omit it to spawn an agent worker or run a command in the project root. A supplied id must be non-blank and compatible, and never falls back to a replacement worker. Invocation body limit: 4 KiB.

shellstring

Desktop shell selection used only for command cues.

Response

OK

kind'agent' | 'command' required

Invocation kind.

sessionIdstring

For agent cues, the session that received the prompt or newly spawned worker.

Changes

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      endpoint added