Skip to content

Refactor thread token formatting into a shared helper#163

Merged
SDSLeon merged 1 commit into
masterfrom
lightcode/calm-viper-66526398
Jun 13, 2026
Merged

Refactor thread token formatting into a shared helper#163
SDSLeon merged 1 commit into
masterfrom
lightcode/calm-viper-66526398

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Tickets: none

  • Centralize compact token formatting so the goal dock, context usage, context compaction, workflow overlays, and sub-agent progress all show the same labels.
  • Improve readability for larger token totals with consistent K/M abbreviations instead of one-off formatting rules.
  • Refresh the affected tests to match the new labels and cover the shared formatter behavior.

- Extract a shared token formatter for goal, context, compaction, and sub-agent UI
- Update token labels to use consistent K/M suffixes across thread surfaces
- Refresh tests for the new formatting
@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
lightcode-landing Skipped Skipped Jun 13, 2026 6:14pm

@SDSLeon SDSLeon merged commit 2bc4766 into master Jun 13, 2026
6 checks passed
@SDSLeon SDSLeon deleted the lightcode/calm-viper-66526398 branch June 13, 2026 18:18
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