openclaw/config
Peter Steinberger b31ad046ef
fix(usage): preserve tool calls and count loaded interval messages (#149547)
* fix(usage): count repeated tool calls in session totals

Preserve each recorded tool-call occurrence while keeping the legacy top-level
name as one mirror. Rebuild cached usage rollups so existing histories report
correct whole-session, daily, and per-tool totals.

* fix(usage): count loaded messages in selected intervals

Count timestamped user and assistant rows from the loaded conversation instead
of inferring message roles from token samples. Keep unavailable interval counts
unknown, preserve retained counts during refresh, and restore authoritative
session totals when the interval is cleared.

* fix(usage): reuse canonical tool-call classification

Use the existing chat classifier for Usage aggregation and log rendering,
preserving trimmed type inputs, raw tool names, block order, and repeated
call accounting. Cover padded and legacy toolUse spellings without a second
classification policy or duplicate export.

* refactor(usage): share range filtering and consolidate tests

Use one log-range predicate for the detail summary and conversation while
retaining undated rows and the full tool-filter options. Remove the unreachable
axis-label branch and redundant SVG assertion, then record the reduced assertion
count. Consolidate pricing, cache-upgrade, and invalid-limit fixtures without
removing their cases or changing the ordered no-append/append proof.
2026-09-16 11:24:25 -07:00
..
oxlint feat(lint): enforce no-chained-type-assertions (#124119) 2026-08-15 02:13:37 -07:00
tsconfig ci: keep plugin lint in its nearest TypeScript project (#134216) 2026-08-31 09:34:21 -07:00
assertion-safety-baseline.txt fix(usage): preserve tool calls and count loaded interval messages (#149547) 2026-09-16 11:24:25 -07:00
ci-test-timings.json ci: repair long-tail test jobs and refresh timing weights (#149665) 2026-09-15 21:47:06 -07:00
control-ui-startup-budget-baseline.json chore(ui): restore core lint and startup budget checks (#148010) 2026-09-14 14:08:59 +05:30
env-var-count-budget.txt refactor(prompt): remove unreachable runtime-only system prompt path (#143314) 2026-09-11 16:04:49 +05:30
knip.all-exports.config.ts improve: speed up legacy updater compatibility tests (#149008) 2026-09-15 08:06:38 -07:00
knip.config.ts feat(apps): preview pending requests in native sidebars (#149811) 2026-09-16 01:59:27 -07:00
knip.scripts-exports.config.ts improve(workers): reduce cloud runtime preparation overhead (#141141) 2026-09-07 06:32:30 -07:00
markdownlint-cli2.jsonc
markdownlint-templates.jsonc fix(tooling): run markdownlint on workspace templates (#91160) (#117166) 2026-08-28 12:21:13 -07:00
max-lines-baseline.txt fix(agents): deliver one answer per steered user input (#149925) 2026-09-16 21:42:43 +05:30
shellcheckrc
stylelint.config.mjs perf(control-ui): load built-in theme palettes on demand (#130473) 2026-08-26 18:56:14 -07:00
swiftformat chore(deps): refresh macOS and iOS app dependencies (#135592) 2026-09-01 16:31:14 -07:00
swiftlint.yml feat(macos): open links as native Mac tabs in the Browser panel (#140988) 2026-09-07 13:12:46 -07:00