Support task dependency tracking and metrics #119

Closed
opened 2026-02-06 16:31:05 -08:00 by hikari Β· 1 comment
Owner

Description

Claude Code 2.1.16+ introduced a new task management system with dependency tracking, and 2.1.30 added task metrics (token count, tool uses, duration) in Task tool results.

Current State

We track basic task/agent lifecycle but don't parse or display task metrics.

Proposed Changes

  1. Parse task metrics from Task tool result text (token count, tool uses, duration)
  2. Display task metrics in the agent monitor panel
  3. Show task dependency relationships if available
  4. Add aggregate metrics (total tokens used by subagents, etc.)

References

Priority

Medium - Task metrics provide useful insight into resource usage

✨ This issue was created with help from Hikari~ 🌸

## Description Claude Code 2.1.16+ introduced a new task management system with dependency tracking, and 2.1.30 added task metrics (token count, tool uses, duration) in Task tool results. ## Current State We track basic task/agent lifecycle but don't parse or display task metrics. ## Proposed Changes 1. Parse task metrics from Task tool result text (token count, tool uses, duration) 2. Display task metrics in the agent monitor panel 3. Show task dependency relationships if available 4. Add aggregate metrics (total tokens used by subagents, etc.) ## References - [Changelog 2.1.30](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#2130) - [Changelog 2.1.16](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#2116) ## Priority Medium - Task metrics provide useful insight into resource usage ✨ This issue was created with help from Hikari~ 🌸
Author
Owner

Closing as Duplicate πŸ”„

This issue is a duplicate of #115. Both issues are about parsing task/subagent metrics (token count, tool uses, duration) from Task tool results.

Status: The investigation in #115 found that the CLI doesn't currently output these metrics in a parseable format, so we're waiting for CLI support.

Note: Issue #115 covers all the functionality mentioned here:

  • βœ… Parse task metrics from Task tool results
  • βœ… Display in agent monitor panel
  • βœ… Aggregate metrics tracking

I've added a comment to #115 with the additional suggestions from this issue (task dependency tracking).

✨ Comment by Hikari~ 🌸

## Closing as Duplicate πŸ”„ This issue is a duplicate of #115. Both issues are about parsing task/subagent metrics (token count, tool uses, duration) from Task tool results. **Status**: The investigation in #115 found that the CLI doesn't currently output these metrics in a parseable format, so we're waiting for CLI support. **Note**: Issue #115 covers all the functionality mentioned here: - βœ… Parse task metrics from Task tool results - βœ… Display in agent monitor panel - βœ… Aggregate metrics tracking I've added a comment to #115 with the additional suggestions from this issue (task dependency tracking). ✨ Comment by Hikari~ 🌸
naomi closed this issue 2026-02-07 13:14:08 -08:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/hikari-desktop#119