Skip to content

agentscope v0.7.0: the whole browser surface, a side panel, and the Quota tab - #11

Merged
tannevaled merged 2 commits into
mainfrom
feat/v0.7.0
Nov 20, 2026
Merged

tannevaled merged 2 commits into
mainfrom
feat/v0.7.0

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

agentscope v0.7.0.

The canvas now follows the viewport exactly (CSS size times the device pixel ratio, laid out again on resize, no scrollbars, no maximum width) and the graph uses all of it, with more cluster columns as the width grows. The layout is in logical pixels and the toolkit metric scale is the device pixel ratio. An edge update still never moves a node.

The sessions table and the details become a side panel in a toolkit Overlay: closed by default, toggled by the header button or the key t, opened by selecting a node, 420 logical pixels (a Splitter did not fit an overlay layer). Panel state is ViewModel state.

New Quota tab (a toolkit Notebook strip). Official usage comes from aiquota, recorded as a bounded JSON-lines history; a window that is not available is listed, not drawn as 0. Local consumption comes from the transcripts: tokens per model family, output and cache-read apart, one API message counted once per file, scanned incrementally with per-bucket sums cached under the user cache directory. Spans: 5 h, 7 days, and four 7-day windows aligned on the weekly reset aiquota reports (bars per week, cumulative lines by day).

Tests: both sides of the dedup rule and of a week boundary, a history with a gap and a not-available window, resize and 2x scale, panel behaviour. Coverage: ui 100, model 100, quota 98.8, usage 97.1. Parsers have fuzz targets with committed seeds. The cold-scan timing is not reported: the machine was at load 28.

Needs go-widgets/toolkit v0.386.0 (Refs go-widgets/toolkit#601).

🤖 Generated with Claude Code

tannevaled and others added 2 commits November 20, 2026 08:48
…uota tab

The canvas is the viewport (innerWidth/innerHeight times devicePixelRatio),
laid out again on every resize, with no page scrollbars. The graph takes every
pixel the header and the tab strip leave and flows its clusters into more
columns as the width grows; the metric scale follows the device pixel ratio.

The sessions table and the details are a side panel in a toolkit Overlay,
closed by default; the Sessions button and the key t toggle it and selecting a
node opens it. The state is ViewModel state.

A second tab, Quota, shows the official usage windows from aiquota (recorded
as a bounded JSON-lines history, read at most every 5 minutes; a window that is
not available is listed, never drawn as 0) and the local consumption derived
from the transcripts (tokens per model family, output and cache-read apart,
one API message counted once, scanned incrementally with cached per-bucket
sums). Spans: 5 h, 7 days, and four 7-day windows aligned on the weekly reset
aiquota reports, as stacked bars per week and cumulative lines by day.

Needs go-widgets/toolkit v0.386.0.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@tannevaled
tannevaled merged commit 7b520d8 into main Nov 20, 2026
6 checks passed
@tannevaled
tannevaled deleted the feat/v0.7.0 branch November 20, 2026 09:01
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.

1 participant