v0.2.1 — review-fix release
v0.2.1 — review-fix release (first tagged release)
Applies the same standard as the tesseract-ocr backend of the dshoneys/awesome-dshoneys#1 review. Full detail in CHANGELOG.md.
Privacy & safety
passthroughnow defaults tofalse(OCR every image; vision passthrough is opt-in)- Local attachment filenames are no longer forwarded in
<image_ocr>blocks - Missing attachments are replaced with a refusal text block (fail-closed, never a raw
image) - Unload/HMR restores the original
resolveModelInfo/listModels/adapter.streammethods - On timeout/teardown the OCR child is terminated and awaited (
taskkill /t /f) before temp-dir removal; removal retries once and logs - Startup temp sweep only removes our own
mkdtemp-shaped directories
Reproducibility & CI
- Scoped package name
@maxwell-feng/dsh-windows-ocr - Pinned dev dependencies + committed
package-lock.json - GitHub Actions CI: Ubuntu compile job + Windows job running the standalone suite (real
powershell.exe+ mock OCR script)
Docs: README / README.zh-CN / agents-install / cordis.patch.yml aligned with the new privacy defaults.
Verified: all standalone tests pass; CI green; deployed to Windows hosts.