Files
pikasTech-unidesk/.agents/skills/unidesk-code-queue/SKILL.md
T
2026-07-03 07:06:18 +00:00

35 lines
2.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
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 和 queue 渐进披露见 [references/resources.md](references/resources.md)session 控制、HWLAB Code Agent 整合、trace/output 分页、judge、中断/取消见 [references/sessions.md](references/sessions.md);旧队列归档见 [references/legacy.md](references/legacy.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/resources.md](references/resources.md)。
- 查历史 `codex tasks/unread/output/trace`:读 [references/legacy.md](references/legacy.md)。
- 需要 judge、取消、中断、Dev Ready 或 PR preflight:读 [references/sessions.md](references/sessions.md)。