Commit 4e70734
committed
Align task management tools and TaskList UI with Claude Code
TaskCreate: remove status/owner/blocks/blockedBy params, always create
pending with empty deps; output 'Task #1 created successfully'.
TaskUpdate: deletion just calls deleteTask() (no reciprocal cleanup);
use clean updates object with only changed fields.
TaskList: remove status filter param; filter _internal metadata tasks;
filter resolved blockers from blockedBy; output '#1 [pending] Task'.
TaskGet: structured text output instead of raw JSON; not-found returns
'Task not found'.
TaskList UI (packages/code): port Claude Code's display logic — group
concatenation sort (recentCompleted > inProgress > pending >
olderCompleted) instead of single priority number; display limit formula
min(10, max(3, rows-14)); scheduled re-render timer for TTL expiry;
blocked-by only shows unresolved blockers; '+N more' format matches
Claude Code.1 parent fac2a9e commit 4e70734
7 files changed
Lines changed: 376 additions & 378 deletions
File tree
- packages
- agent-sdk
- src/tools
- tests
- integration
- tools
- code
- src/components
- tests/components
0 commit comments