中文EN

dsh-sacc-translator-cpu

docs装不上npm

翻译 CPU:Windows x64 专属翻译界面,侧栏独立入口,支持工作台/聊天切换、原文与译文双栏、尽量保留原格式的文档翻译、屏幕框选翻译及最近记录,复用宿主模型、语音输入与预览。使用 CPU OCR,无需 NVIDIA 运行库。不要同时启用 CPU 与 CUDA 两个版本。

下载量 / Downloads
1,144
测试时间 / Tested
2026-11-06
DSH 版本 / Version
0.2.2-rc.1

安装

dsh plugin --profile web add dsh-sacc-translator-cpu

沙箱测试结果

阶段结果
1 安装✗
2 列装—
3 挂载—
4 启动—
第一条错误
TIMEOUT

四阶段在隔离沙箱里跑:安装(有网)→ 列装 → 挂载 → 启动(后三步断网)。

README

SACC Translator CPU

Windows x64. DSH version numbers are unrestricted (engines.dsh = *); required host APIs are checked at startup. Future API changes may still require updates.

This small npm package automatically installs its pinned document runtime from GitHub Releases. The CUDA edition also installs its pinned GPU component. No postinstall scripts are required. CPU/CUDA share settings and translation history; enable only one edition.

CPU downloads about 364 MB in total; CUDA about 2.04 GB including CUDA/cuDNN. A short versioned runtime directory under LOCALAPPDATA avoids Windows DLL path limits, using hard links where possible.

Source, installation details and validation: https://github.com/piaomiaozhilei/dsh-sacc-translator

Version 0.1.19 defaults to 5 concurrent translation requests; saved preferences take precedence. Bundle overrides support PDF/general file reads up to 1 GiB, Excel up to 256 MiB/1,000,000 cells/120 seconds, and Office inputs up to 512 MiB with PDF output up to 1 GiB and a 300-second conversion timeout. Large previews still load full files and need sufficient memory. Profile overrides take precedence.

Version 0.2.2 includes native Rust screen translation. Enable it in the translator panel, press Ctrl+Shift+S to select an area, then Enter to translate. Selection persists while translating; the overlay uses a continuous Gaussian-blurred backdrop. Screen OCR uses CPU in both editions and releases models after 45 seconds idle. Full live-desktop/model visual verification remains incomplete.

以上内容来自 npm 上的 README,我们只做格式化,不改内容。

版本

npm 上共发布:5,最后更新 2026-10-25

链接

GitHub · Homepage · npm

同类插件