fix: AgentRun bridge help prefer stdin input

This commit is contained in:
Codex
2026-06-10 05:24:06 +00:00
parent 4bb5f7e7f4
commit 0a8a8396d8
7 changed files with 40 additions and 23 deletions
+6 -6
View File
@@ -28,12 +28,12 @@ export function agentRunHelp(): unknown {
usage: [
"bun scripts/cli.ts agentrun v01 queue commander --reader-id cli",
"bun scripts/cli.ts agentrun v01 queue commander --reader-id cli --limit 20",
"bun scripts/cli.ts agentrun v01 queue submit --json-file <task.json>",
"cat task.json | bun scripts/cli.ts agentrun v01 queue submit --json-stdin",
"bun scripts/cli.ts agentrun v01 queue submit --json-file <task.json> --dry-run",
"bun scripts/cli.ts agentrun v01 queue dispatch <taskId> --json-file <dispatch.json>",
"cat dispatch.json | bun scripts/cli.ts agentrun v01 queue dispatch <taskId> --json-stdin",
"bun scripts/cli.ts agentrun v01 queue dispatch <taskId> --json-file <dispatch.json> --dry-run",
"bun scripts/cli.ts agentrun v01 queue submit --json-stdin <<'JSON'",
"bun scripts/cli.ts agentrun v01 queue submit --json-stdin --dry-run <<'JSON'",
"bun scripts/cli.ts agentrun v01 queue submit --json-file <task.json> # reusable reviewed file fallback",
"bun scripts/cli.ts agentrun v01 queue dispatch <taskId> --json-stdin <<'JSON'",
"bun scripts/cli.ts agentrun v01 queue dispatch <taskId> --json-stdin --dry-run <<'JSON'",
"bun scripts/cli.ts agentrun v01 queue dispatch <taskId> --json-file <dispatch.json> # reusable reviewed file fallback",
"bun scripts/cli.ts agentrun v01 queue cancel <taskId> --reason <text> --dry-run",
"bun scripts/cli.ts agentrun v01 sessions trace <sessionId> --after-seq 0 --limit 100",
"bun scripts/cli.ts agentrun v01 sessions output <sessionId> --after-seq 0 --limit 100",