kimi-code/FormularDefTree
7Sageer 30d20c3633 fix(agent-core-v2): publish raw and projected context gauges from one place
rawContextTokens was only re-derived on ContextModel mutations, so a
fresh measurement left it stale until the next append (raw could read
below the projected size). contextTokens only carried the measured
prefix, lagging the unmeasured tail by a step and diverging from the
getStatus() caliber after resume.

Publish both gauges together on every live change to ContextModel or
ContextSizeModel, with contextTokens now reporting get().size
(measured prefix plus the tail estimate) — the same caliber getStatus()
already used. The op's toEvent channel is removed in favor of the
single publisher.
2026-07-13 17:54:41 +08:00
..
nodes fix(agent-core-v2): publish raw and projected context gauges from one place 2026-07-13 17:54:41 +08:00
tree.yml fix(agent-core-v2): publish raw and projected context gauges from one place 2026-07-13 17:54:41 +08:00