Commit abcd2f4
committed
feat(dashboard): add context token breakdown to session viewer
New Tokens tab shows estimated token counts and percentages for
compartments, facts, memories, and conversation+system sections.
Includes a stacked bar visualization and detailed legend with counts.
Fixed memory count to read from session_meta.memory_block_count
instead of trying to parse the rendered XML block as JSON.1 parent 17a3a10 commit abcd2f4
File tree
6 files changed
+530
-79
lines changed- packages/dashboard
- src-tauri/src
- src
- components/SessionViewer
- lib
6 files changed
+530
-79
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
125 | 135 | | |
126 | 136 | | |
127 | 137 | | |
| |||
0 commit comments