agent-team-task-list
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesetask list
任务列表
PREREQUISITE: Read.../agent-team-shared/SKILL.md
List tasks for planning, assignment, worker pickup, or operational review.
前提条件: 阅读。../agent-team-shared/SKILL.md
列出用于规划、分配、工作者领取或运营审查的任务。
Usage
使用方法
bash
agent-team task list [--run RUN_ID] [--agent AGENT] [--status STATUS] [--limit N] [--after-version VERSION]bash
agent-team task list [--run RUN_ID] [--agent AGENT] [--status STATUS] [--limit N] [--after-version VERSION]Flags
标志
| Flag | JSON key | Required | Default | Description |
|---|---|---|---|---|
| | no | empty | Limit tasks to one run; empty means all runs. |
| | no | empty | Limit tasks to one assignee; empty means all agents. |
| | no | empty | Exact task status filter; empty means all statuses. |
| | no | | Maximum rows returned, capped at 1000. |
| | no | | Only include tasks changed after this state version. |
| 标志 | JSON 键 | 是否必填 | 默认值 | 描述 |
|---|---|---|---|---|
| | 否 | 空值 | 将任务限制为单个运行;空值表示所有运行。 |
| | 否 | 空值 | 将任务限制为单个经办人;空值表示所有Agent。 |
| | 否 | 空值 | 精确任务状态过滤器;空值表示所有状态。 |
| | 否 | | 返回的最大行数,上限为1000。 |
| | 否 | | 仅包含在此状态版本之后更改的任务。 |
Examples
示例
bash
agent-team task list --run run_docs
agent-team task list --run run_docs --agent writer --status pending
agent-team task list --params '{"run_id":"run_docs","status":"blocked","limit":50}'bash
agent-team task list --run run_docs
agent-team task list --run run_docs --agent writer --status pending
agent-team task list --params '{"run_id":"run_docs","status":"blocked","limit":50}'Output
输出
- : array of task records.
data.tasks
- : 任务记录数组。
data.tasks
Errors
错误
| Code | Meaning | Action |
|---|---|---|
| Same value supplied by flag and JSON. | Provide the value once. |
| 代码 | 含义 | 操作建议 |
|---|---|---|
| 通过标志和JSON提供了相同的值。 | 仅提供一次该值。 |
See Also
另请参阅
- agent-team-task-show
- agent-team-run-status
- agent-team-task-show
- agent-team-run-status