Fix metrics: net token delta, subagent aggregation, ContextBar always visible
- run_stream: track _prev_tokens baseline before turn loop; compute net
  token cost as (context_tokens - prev) + subagent_tokens for per-message cost
- run_stream: intercept SubagentComplete in sink drain loop to accumulate
  subagent token and tool-call counts into the parent turn's totals
- run_ephemeral: already emitting SubagentComplete (from prior session)
- msg-meta-row: remove margin-left:auto from .msg-meta-time so time
  groups inline with elapsed/tools/tokens instead of floating right
- ContextBar: remove v-if guard so bar is always visible (not only after
  first LLM response with token data)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent a338f8b commit af8dfdb38dfa94a33945d27569581f5d3fafc722
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 16 Apr
Showing 9 changed files
View
navi/core/agent.py
View
navi/core/events.py
View
webclient/dist/assets/index-CQjNm74C.js 100644 → 0
Not supported
View
webclient/dist/assets/index-CjZ4v1Fa.js 0 → 100644
Not supported
View
webclient/dist/assets/index-Cw_6H-kR.css 0 → 100644
View
webclient/dist/assets/index-DFEFQanG.css 100644 → 0
View
webclient/dist/index.html
View
webclient/src/components/ui/ContextBar.vue
View
webclient/src/styles/app.scss