Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ellipsis/cli",
"version": "0.1.3",
"version": "0.1.4",
"description": "Ellipsis agent CLI — drive the Ellipsis cloud from your terminal",
"license": "MIT",
"type": "module",
Expand Down
8 changes: 8 additions & 0 deletions src/commands/run.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ export function registerRun(program: Command): void {
'-o, --config-override <yaml>',
'partial agent config (YAML) merged onto the chosen config for this run, e.g. "limits:\\n run: 5"',
)
.option(
'-p, --prompt <text>',
'per-run instructions appended to the initial user query for this run',
)
.option(
'-m, --metadata <key=value>',
'attach metadata (repeatable)',
Expand All @@ -67,6 +71,7 @@ export function registerRun(program: Command): void {
configFile?: string
template?: string
configOverride?: string
prompt?: string
metadata: Record<string, string>
source: string
watch?: boolean
Expand All @@ -92,6 +97,9 @@ export function registerRun(program: Command): void {
// Merged onto the chosen config and re-validated server-side; set
// limits.run here to override this run's budget.
if (opts.configOverride) req.config_override_yaml = opts.configOverride
// Appended to the initial user query at build time; gives this run
// instructions on top of the config's shared system prompt.
if (opts.prompt) req.prompt = opts.prompt

const api = new ApiClient()
const run = await api.startAgentRun(req)
Expand Down
4 changes: 4 additions & 0 deletions src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ export interface StartAgentRunRequest {
// server-side, e.g. "limits:\n run: 5.0" to set just this run's budget. Only
// meaningful with config_id/template_id.
config_override_yaml?: string
// Per-run instructions appended to the initial user query at build time, after
// the config's shared `claude.system` system prompt. Distinct from the system
// prompt, which is identical for every run of a config.
prompt?: string
}

export interface ListAgentRunsResponse {
Expand Down
Loading