feat(scanner): add real-time scan progress reporting - #17
Open
mikedamoiseau wants to merge 1 commit into
Open
Conversation
Show a live counter of files scanned and messages/tools found during `token-dashboard scan`. The new `progress` callback on `scan_dir()` lets callers render incremental updates without polling.
muckybuzzwoo
added a commit
to muckybuzzwoo/token-dashboard
that referenced
this pull request
May 22, 2026
…kai#19 - nateherkai#18 (perf scanner) and nateherkai#19 (attributionSkill + split skills view) added to the Integrated upstream PRs table with adaptation notes. - nateherkai#17 added to Deliberately skipped with the reason: PR nateherkai#17's progress callback signature (scanned, total, totals) is strictly less informative than this fork's (index, total, path, totals) from PR #2, so integrating it would degrade the CLI progress printer. - Differences from upstream rewritten: clarifies the new Skills & Commands route's split between "You ran" (slash commands via attribution_skill) and "Claude invoked" (real Skill tool calls), and notes that the two sources are de-duplicated against each other so the same slash command never inflates both columns. - Scanner performance section updated to reflect the post-nateherkai#18 measurement (~7.5s full rescan of ~600 files / 60k+ messages).
|
Hey Mike: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
progresscallback parameter toscan_dir()so callers get notified after each file is processedcli.pyto show a livescanning X/Y files (N msgs, M tools)counter duringtoken-dashboard scanDemo
Test plan
python3 -m unittest discover tests— all 68 tests passpython3 cli.py scan— verify live progress counter appears and final summary prints correctlypython3 cli.py scana second time (incremental) — verify counter skips up-to-date files