@dreb/coding-agent 2.59.0 → 2.59.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/dashboard.md
CHANGED
|
@@ -265,14 +265,21 @@ card's last good stats if an update fails, and surfaces failures in the Fleet UI
|
|
|
265
265
|
For the activity preview, a card prefers the newest assistant text derived from
|
|
266
266
|
its hydrated client transcript entries. Until those entries exist, the
|
|
267
267
|
authoritative initial-load or resync fleet preview is the fallback. `ctx%` is
|
|
268
|
-
never
|
|
268
|
+
never estimated in the browser: it comes from authoritative session state or
|
|
269
|
+
stats. Immediately after compaction, the session reports a conservative estimate
|
|
270
|
+
over its rebuilt message context until fresh provider usage becomes available.
|
|
269
271
|
Live card ordering remains deterministic by project path and then session start
|
|
270
272
|
time, not mutable activity.
|
|
271
273
|
|
|
272
274
|
A session drill-in hydrates through one `GET /api/runtimes/:key/hydrate` request.
|
|
273
275
|
The server backs it with one `getDashboardSnapshot` RPC call and its matching
|
|
274
276
|
barrier, rather than three independently timed state/message/background-agent
|
|
275
|
-
calls.
|
|
277
|
+
calls. While mounted, the view applies periodic, turn-end, and compaction-end
|
|
278
|
+
authoritative detail refreshes to its header and the shared runtime. Successful
|
|
279
|
+
model/thinking mutations update the pool's snapshot state; the client protects
|
|
280
|
+
their confirmed values from older in-flight frames only until the matching
|
|
281
|
+
sequenced snapshot arrives, after which later authoritative changes flow
|
|
282
|
+
normally. Replay and resync retain their ordering guarantees below.
|
|
276
283
|
|
|
277
284
|
## Live connection and recovery
|
|
278
285
|
|
|
@@ -467,7 +474,9 @@ Browser dashboard (SolidJS + Vite, tokens.css design system)
|
|
|
467
474
|
the same path. Deleting a runtime publishes `runtime_removed` so browsers
|
|
468
475
|
evict that session's transcript state.
|
|
469
476
|
- **ctx%** comes from the session itself (`get_state.contextUsage` — the same
|
|
470
|
-
numbers the TUI footer shows), never
|
|
477
|
+
numbers the TUI footer shows), never browser-side estimates. The session uses
|
|
478
|
+
rebuilt-message estimation only during the post-compaction gap before fresh
|
|
479
|
+
provider usage exists.
|
|
471
480
|
- **Auto-naming** runs in the shared `AgentSession` layer, so dashboard-created
|
|
472
481
|
RPC sessions get the same LLM-generated session names as the TUI and update
|
|
473
482
|
live via `session_name_changed`.
|