Skip to content

TokenLens v1.1.0

Choose a tag to compare

@choiminai choiminai released this 28 Nov 13:52
· 5 commits to main since this release

What's New in v1.1.0

  • MCP Diff Mode (diff: true): Added optional diff boolean parameter to read_active_window, read_window, and read_full_screen.
    • Stores the latest per-window / per-display OCR snapshot in memory (cleared on exit).
    • Uses scroll-safe text diffing (CollectionDifference) to return only added (+) and removed (-) lines with latest [x, y] coordinates — or a single Diff: no changes line when unchanged.
    • Automatically falls back to full structured output when no prior snapshot exists or >50% of lines changed (e.g., tab/page navigation).
  • Zero extra complexity for shortcut users: Option+X and Option+Z continue copying full structured OCR as before.