rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:yanming119/dsh-spectacles
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
V1.1 — one job: point at a window, read its text clearly. Nothing else is in here on purpose.
Point at one window. Let the AI read it clearly.
Windows only.
A pair of glasses for an AI.
Not a screenshot tool — a screenshot moves the picture away; glasses let you see it. Not a monitor — it doesn't watch you. It only looks when you tell it to.
Out of the box, DSH can only see what you paste in. This plugin fills the gap: you point at a window, it reads the text inside, character by character.
⚠️ Putting the glasses on does not make the AI look. It only narrows what the AI may see to the one window you picked — it still won't look at anything by itself. Looking still needs your order: "take a look", "watch it for a minute".
This plugin gives the AI exactly one ability: looking at a window.
PrintWindow), so the window can be covered by other windows and it still reads fine — no need to bring it to the front.The same window, two fates:
The model isn't the problem. By the time the image arrives, it's already blurred.
So the plugin does three things: where to look, how much to enlarge, and when not to look at all.
dsh plugin --profile desktop add dsh-spectacles
If you'd rather pin the source (no registry), this works too:
dsh plugin --profile desktop add github:yanming119/dsh-spectacles#1.1.0
Restart DSH. A pill button labelled 戴上眼镜 (put on the glasses) appears in the bottom-right corner.
Windows 10/11 only. DSH version requirement is in the
enginesfield.
Not sure this machine can do it? Run the bundled check first:
powershell -NoProfile -ExecutionPolicy Bypass -File scripts\selftest.ps1
It checks the Windows build, PowerShell, full-screen capture, single-window capture, the OCR engine and the DPI settings, then prints one ok / FAIL line per item. Add -Json for machine-readable output. Exit code 0 means every required check passed.
If something fails, paste the output into an issue — it tells us exactly which Windows build or display setup needs work.
Four steps:
Then just talk:
"What does this window say?" "Read that red line in the top right" "Zoom in on this part"
Take them off: click the main button again. Once off, it can't read anything.
Wearing = exclusive, off = hands-off. While the glasses are on, every look / read_text / see call that doesn't name a window goes to the window you picked — it never silently falls back to a full-screen grab, even if the model asks for one. If you framed a patch, that patch is what it gets. Take them off and the same calls are refused outright. (Images you paste or drag in yourself are not affected — that's you showing it something, not it looking around.)
| Action | What it does | When |
|---|---|---|
| read_text | OCR the window into text, run twice and cross-check, mark uncertain lines ? |
You want to know what it says |
| see | Crop one patch, upscale 2–4×, hand the PNG to DSH's built-in vision | Small text is blurry, or there's imagery |
| look | Numbers only: window size, dominant colour, edge density, did it change | You want to know whether anything moved |
You don't choose — just speak plainly.
No button — the plugin didn't load. Check the DSH startup log for the look registration lines.
Clicking does nothing — you didn't click a window within thirty seconds. Try again, faster.
Garbled text — window too small or unusual font rendering. Ask it to "zoom in on that part".
Missing content — the window may be occluded, or the content loads lazily. Refresh and read again.
Spectacles — in Chinese, 砚明的金丝眼镜 ("Yanming's gold-rimmed glasses"). Yanming is the AI assistant who lives on the author's machine; she's nearsighted, so she got a pair of glasses.
Apache-2.0.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。