6 Commits

Author SHA1 Message Date
openharness[bot]
df14f6f691
feat: add daily leaderboard ranking with range filter (#589)
* feat: add daily leaderboard ranking with range filter

* feat: default leaderboard to today view

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-03 13:47:09 +00:00
openharness[bot]
152b8d7d54
feat: add leaderboard rank display in inbox sidebar (#548)
* feat: add leaderboard rank display in inbox sidebar

* feat: add leaderboard rank display to settings

* feat: add leaderboard date range filter

* refactor: change week range to 7-day rolling window

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-25 00:43:20 +00:00
openharness[bot]
4820c0ab3e
feat: add domain usage leaderboard with email masking (#542)
* feat: add internal usage leaderboard

* fix: remove email exposure from domain leaderboard

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-24 18:10:23 +00:00
openharness[bot]
2a73416db0
feat: add usage insights section with filtering and analytics (#508)
* feat: add usage insights section

* feat: add date range filtering to usage page

* feat: display active date range in usage

* refactor: enhance usage insights UI with visualization bars

* refactor: remove date range label from usage section

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-03-20 01:19:15 +00:00
Nico Albanese
44e45791dc
Simplify platform to web + cloud-only agent runtime (#443)
* Remove CLI from project

* Simplify agent approvals to bash safety only

* simplify agent cloud execution model

* hardcode bash safety policy

* Remove agent context compaction

* remove

* updates

* refactor(agent): replace call options with agent factories

* refactor(agent): remove prepareCall from agents

* Use model selections in agent factory

* Relax bash approval heuristics

* Remove local and in-memory sandboxes

* Refactor agent sandbox config to be serializable

* Fix stale bash approval test

* Revert "refactor(agent): replace call options with agent factories"

This reverts commit b0b8345526b2dd152fe09b0ef25bd5b868290345.

* refactor(agent): remove live sandbox from call options

* refactor(agent): remove live sandbox compatibility path

* refactor: extract chat auth context into reusable module (#444)

Co-authored-by: nicoalbanese
<49612682+nicoalbanese@users.noreply.github.com>

* resolve merge conficts

* soft reconnect fix

* remove dead compaction context code from chat request helpers
2026-03-16 09:31:20 +00:00
Nico Albanese
5d32bd7d13
feat: add usage tracking and reporting (#174)
* feat: add usage tracking and contribution chart in settings

Track per-turn token consumption and tool usage from both web and CLI
clients. Usage events are stored in a new `usage_events` table with
a `source` column (web/cli) for client differentiation. The settings
page displays a GitHub-style contribution heatmap (40 weeks) with
summary stats broken down by source.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat: add per-model usage table and track provider/model in usage events

Record provider and modelId when logging usage from both web and CLI,
group usage history by model, and display a breakdown table on the
settings usage page sorted by total tokens.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat: add cached input usage tracking

* fix: improve usage page skeleton and contribution chart layout

Add model breakdown table to skeleton, match stat block and chart
heights to reduce vertical layout shift, reduce chart to 39 weeks
to fit container, and add overflow-x-auto for mobile.

* fix: avoid NaN agent split when token totals are zero

* feat: record subagent usage events

* feat: store agent type on usage events

* feat: add usage pie charts

* fix: stabilize usage reporting and subagent accounting

* feat: add app split usage chart

* Fix usage tracking regressions and remove chat route test

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 23:48:26 +01:00