docs: prefer stdin AgentRun queue handoff

This commit is contained in:
Codex
2026-06-10 05:32:59 +00:00
parent 0a8a8396d8
commit 9710a1a6f6
3 changed files with 16 additions and 6 deletions
+1 -1
View File
@@ -4308,7 +4308,7 @@ export function CodeQueuePage({ microservices, onRaw, apiBaseUrl = "/api", initi
h("p", null, "新任务请使用 AgentRun Queue;本页保留历史任务、Trace 和排障查看。"),
h("div", { className: "codex-freeze-command-grid" },
h("code", null, "bun scripts/cli.ts agentrun v01 queue commander --reader-id cli"),
h("code", null, "bun scripts/cli.ts agentrun v01 queue submit --json-file <task.json>"),
h("code", null, "bun scripts/cli.ts agentrun v01 queue submit --json-stdin <<'JSON'"),
h("code", null, "bun scripts/cli.ts agentrun v01 sessions trace <sessionId> --after-seq 0 --limit 100"),
),
),
@@ -4872,11 +4872,11 @@ function legacyQueueFrozenResponse(method: string, targetPath: string, action: s
action,
replacement: {
queueCommander: "bun scripts/cli.ts agentrun v01 queue commander --reader-id cli",
queueSubmit: "bun scripts/cli.ts agentrun v01 queue submit --json-file <task.json>",
queueDispatch: "bun scripts/cli.ts agentrun v01 queue dispatch <taskId> --json-file <dispatch.json>",
queueSubmit: "bun scripts/cli.ts agentrun v01 queue submit --json-stdin <<'JSON'",
queueDispatch: "bun scripts/cli.ts agentrun v01 queue dispatch <taskId> --json-stdin <<'JSON'",
sessionsTrace: "bun scripts/cli.ts agentrun v01 sessions trace <sessionId> --after-seq 0 --limit 100",
sessionsOutput: "bun scripts/cli.ts agentrun v01 sessions output <sessionId> --after-seq 0 --limit 100",
sessionsSteer: "bun scripts/cli.ts agentrun v01 sessions steer <sessionId> --prompt-file <path>",
sessionsSteer: "bun scripts/cli.ts agentrun v01 sessions steer <sessionId> --prompt-stdin <<'EOF'",
sessionsRead: "bun scripts/cli.ts agentrun v01 sessions read <sessionId> --reader-id cli",
queueCancel: "bun scripts/cli.ts agentrun v01 queue cancel <taskId> --reason <text>",
},