35 lines
2.1 KiB
Markdown
35 lines
2.1 KiB
Markdown
---
|
|
name: unidesk-code-queue
|
|
description: UniDesk AgentRun-backed Code Queue CLI — Skill(cli-spec)。legacy `codex` 子命令只保留历史只读和残留停止;新任务提交、Aipod/Artificer 派单、session follow-up、events/logs/result、ack/cancel、dispatch、run/command/runner 状态 drill-down 和 HWLAB Code Agent/CaseRun follow-up 必须使用 `agentrun get|describe|events|logs|result|ack|cancel|dispatch|create|apply|send` 资源原语。用户提到 codex、Code Queue、submit、send、resume、tasks、unread、code-queue、aipod、Artificer、HWLAB Code Agent 时使用。
|
|
---
|
|
|
|
# UniDesk Code Queue / AgentRun CLI
|
|
|
|
新任务、Aipod/Artificer 派单、session follow-up、events/logs/result、ack/cancel、dispatch 和 run/command/runner drill-down 走 AgentRun 资源原语。legacy `codex` 只保留历史只读、未读积压和残留任务停止。
|
|
|
|
## 高频入口
|
|
|
|
```bash
|
|
bun scripts/cli.ts agentrun get task --limit 20
|
|
bun scripts/cli.ts agentrun describe task <task>
|
|
bun scripts/cli.ts agentrun events <task> --limit 80
|
|
bun scripts/cli.ts agentrun logs <task> --tail 120
|
|
bun scripts/cli.ts agentrun result <task>
|
|
bun scripts/cli.ts agentrun send <session> --prompt-stdin
|
|
```
|
|
|
|
AipodSpec/Artificer、task manifest、session 控制、queue 渐进披露、HWLAB Code Agent 整合、trace/output 分页、judge、中断/取消和旧队列归档见 [references/full.md](references/full.md)。
|
|
|
|
## P0 边界
|
|
|
|
- 新写入口不要用 `codex submit/steer/resume`;这些 legacy mutation 已冻结。
|
|
- 默认输出保持低噪声表格/摘要;机器消费显式 `-o json|yaml` 或 `--raw`。
|
|
- Session follow-up 使用 `agentrun send`,由服务端决定内部 steer vs turn。
|
|
- HWLAB Code Agent/CaseRun follow-up 也优先落到 AgentRun resource primitive,不绕过队列状态。
|
|
|
|
## 何时读取 reference
|
|
|
|
- 创建/应用 AgentRun task 或 AipodSpec:读 [references/full.md](references/full.md) 的新任务入口段。
|
|
- 查历史 `codex tasks/unread/output/trace`:读历史任务、未读积压和 Trace/Output 段。
|
|
- 需要 judge、取消、中断、Dev Ready 或 PR preflight:读对应段。
|