agent-team-task-list

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

task 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

标志

FlagJSON keyRequiredDefaultDescription
--run
run_id
noemptyLimit tasks to one run; empty means all runs.
--agent
agent
noemptyLimit tasks to one assignee; empty means all agents.
--status
status
noemptyExact task status filter; empty means all statuses.
--limit
limit
no
100
Maximum rows returned, capped at 1000.
--after-version
after_version
no
0
Only include tasks changed after this state version.
标志JSON 键是否必填默认值描述
--run
run_id
空值将任务限制为单个运行;空值表示所有运行。
--agent
agent
空值将任务限制为单个经办人;空值表示所有Agent。
--status
status
空值精确任务状态过滤器;空值表示所有状态。
--limit
limit
100
返回的最大行数,上限为1000。
--after-version
after_version
0
仅包含在此状态版本之后更改的任务。

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

输出

  • data.tasks
    : array of task records.
  • data.tasks
    : 任务记录数组。

Errors

错误

CodeMeaningAction
input_conflict
Same value supplied by flag and JSON.Provide the value once.
代码含义操作建议
input_conflict
通过标志和JSON提供了相同的值。仅提供一次该值。

See Also

另请参阅

  • agent-team-task-show
  • agent-team-run-status
  • agent-team-task-show
  • agent-team-run-status