Skip to content

feat: add --prompt flag to run start#15

Merged
hbrooks merged 1 commit into
mainfrom
add-run-start-prompt
Jun 28, 2026
Merged

feat: add --prompt flag to run start#15
hbrooks merged 1 commit into
mainfrom
add-run-start-prompt

Conversation

@hbrooks

@hbrooks hbrooks commented Jun 28, 2026

Copy link
Copy Markdown
Member

What

Adds a -p, --prompt <text> option to agent run start, wiring it through to the prompt field on the POST /v1/agents/runs request body.

The API (ellipsis repo) appends prompt to the initial user query at build time, after the config's shared claude.system prompt — per-run instructions, distinct from the system prompt (which is identical for every run of a config).

Changes

  • src/lib/types.ts — add prompt?: string to StartAgentRunRequest
  • src/commands/run.tsx — add the -p, --prompt <text> option, opts type, and request wiring (mirrors the existing --config-override pattern)
  • package.json — bump version to 0.1.4

Notes

Replay (--prompt on a replay) was considered but skipped: there is no replay endpoint in the public /v1 API yet (it exists only on the dashboard router), the same wall the run stop command hit.

Test

  • npm run typecheck passes
  • agent run start --help shows the new flag

Usage:

agent run start -c <config-id> --prompt "focus on the auth module"

🤖 Generated with Claude Code

Adds a `-p, --prompt <text>` option to `agent run start`, wiring it
through to the `prompt` field on the POST /v1/agents/runs request body.
The API appends it to the initial user query at build time, after the
config's shared `claude.system` prompt — per-run instructions distinct
from the system prompt.

Bumps version to 0.1.4.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@hbrooks hbrooks merged commit c4aae85 into main Jun 28, 2026
1 check passed
@hbrooks hbrooks deleted the add-run-start-prompt branch June 28, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant