Skip to content

feat: v0.17.0 — multi-session dashboard with trend charts#33

Merged
Siddhant-K-code merged 2 commits into
mainfrom
feat/v0.17.0-multi-session-dashboard
Apr 11, 2026
Merged

feat: v0.17.0 — multi-session dashboard with trend charts#33
Siddhant-K-code merged 2 commits into
mainfrom
feat/v0.17.0-multi-session-dashboard

Conversation

@Siddhant-K-code
Copy link
Copy Markdown
Owner

Closes #23

What

Adds dashboard.py with an aggregate view across sessions — terminal table and self-contained HTML output.

Terminal output

Dashboard — 12 sessions

  Total cost:    ~$0.0842
  Total tokens:  284,000
  Tool calls:    156
  Errors:        3
  Avg duration:  4m12s
  Success rate:  75%

  ID              Started       Dur    Tools  LLM  Err    Tokens     Cost  Status
  ────────────────────────────────────────────────────────────────────────────────
  a1b2c3d4e5f6    04-11 09:14   3m22s     18    6    0    22,400  $0.0067  ✓
  ...

  Cost trend (oldest → newest):
  ▂▃▄▃▅▆▄▇

HTML output

--output dashboard.html produces a self-contained page with stat cards, an SVG sparkline, and a sortable session table.

CLI

agent-strace dashboard [--limit 50] [--agent filter] [--output file.html]

Tests

tests/test_dashboard.py — 12 tests.

Ona and others added 2 commits April 11, 2026 16:31
Adds dashboard.py with build_dashboard() that aggregates cost, duration,
tool calls, errors, and success rate across sessions. Outputs a terminal
table with a sparkline cost trend, or a self-contained HTML page with
stat cards and an SVG trend line.

CLI: agent-strace dashboard [--limit N] [--agent filter] [--output file.html]

Closes #23

Co-authored-by: Ona <no-reply@ona.com>
max_c used 'if costs else 1.0' which still divides by zero when all
costs are 0.0. Use 'or 1.0' instead. Also remove unused EventType import.

Co-authored-by: Ona <no-reply@ona.com>
@Siddhant-K-code Siddhant-K-code merged commit d8b0ba7 into main Apr 11, 2026
4 checks passed
@Siddhant-K-code Siddhant-K-code deleted the feat/v0.17.0-multi-session-dashboard branch April 11, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v0.17.0: Multi-session dashboard - aggregate view across sessions with trend charts

1 participant