Repository navigation
Releases
Releases · choiminai/TokenLens
TokenLens v1.4.0
What's New in v1.4.0
- Diff Mode OCR Flicker Filtering: Suppresses 1–2 char / whitespace OCR jitter at the same vertical position so unchanged lines no longer produce fake
+/-diffs — while strictly preserving any numeric change (counts, timestamps, version numbers). - MCP
coords: falseoption: Omit[x,y]coordinates onread_active_window,read_window, andread_full_screenwhen only reading text/logs (~15–25% extra token savings). - MCP
sectionfilter: Request a specific detected section (all,top,left,main,right,bottom) so AI agents can read justmainand skip sidebars/toolbars (~30–50% extra token savings).
TokenLens v1.3.0
What's New in v1.3.0
- Customizable Global Shortcuts (
Shortcuts.../단축키 설정...): Added a clean, compact shortcut recorder window in the menu bar so users can customize Active Window OCR and Full Screen OCR hotkeys without editing code. - Built-in Safety Guards: Requires at least one primary modifier (
⌃,⌥, or⌘), blocks duplicate assignments between the two modes, pauses active hotkeys while recording, and includes a one-click Reset Defaults (⌥X/⌥Z) button. - Persistent & Zero Dependencies: Saved locally in
UserDefaultswith automatic English/Korean UI localization.
TokenLens v1.2.0
What's New in v1.2.0
- Compact coordinate format: Switched
[x, y]to[x,y]across OCR and Diff outputs to cut unnecessary coordinate tokens. - Wrapped paragraph coordinate elision: Inside
[Main](or single-pane content), continuation lines of wrapped prose paragraphs omit redundant[x,y]prefixes while keeping exact coordinates on the first line of every paragraph, headings, tables, buttons, and sidebars.
TokenLens v1.1.0
What's New in v1.1.0
- MCP Diff Mode (
diff: true): Added optionaldiffboolean parameter toread_active_window,read_window, andread_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 singleDiff: no changesline 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+XandOption+Zcontinue copying full structured OCR as before.
TokenLens v1.0.1
What's Changed
- Standardized English OCR section tags: Replaced
[상단]/[좌측]/[본문]/[우측]/[하단]with[Top]/[Left]/[Main]/[Right]/[Bottom]for better international compatibility and lower token usage. - Automatic EN/KO UI localization: Menu bar labels and HUD notifications now automatically follow your macOS system language (Korean on
kolocales, English on all other locales). - Updated MCP permission guidance & bilingual READMEs.
TokenLens v1.0.0
First public release of TokenLens — a native macOS menu bar OCR app & local stdio MCP server for AI workflows.
Highlights
- Instant 2-key shortcuts:
Option+X(Active Window OCR) &Option+Z(Full Screen OCR) - Token-efficient local Vision OCR: icon noise filtering, same-line merging, multi-pane separation (
[상단],[좌측],[본문],[우측],[하단]), table protection, and#heading hints with normalized0–1000top-left coordinates - Built-in
--mcpserver (5 tools):list_windows,read_active_window,read_full_screen,read_window, and on-demand cropped JPEGcapture_window_image - Native macOS app: zero external dependencies, single permission (Screen Recording), Launch at Login (
SMAppService)
First-time Install Note
Because this open-source build is not notarized with a paid Apple Developer ID, run once after dragging TokenLens.app into Applications:
xattr -cr /Applications/TokenLens.app