zhinian558/dsh-translator

zhinian558★ 0TypeScript最后同步: 2026-08-19

在 GitHub 打开

deepseek-harness页面嵌入的翻译工具

README 摘要

@zhinian558/dsh-translator English · 简体中文 Floating AI translation window for the Web GUI. The browser half ( ./client ) registers one entry into the frame-wide shell.overlay slot: a draggable, resizable window with a language picker, source/result panes, and a footer that shows the provider account balance and today's estimated consumption. All provider work happens on the host half, which exposes three plain routes under /translator/ and a user-settings namespace; the API key never crosses the wire to the page. Installation This is a standalone DeepSeek Harness plugin — a dual-face bundle (host half + browser half). Install it into any dsh profile with the dsh plugin CLI: The dsh.bundle layer inserts the translator row (host routes + settings namespace); the dsh.client declaration registers the browser window into the Web GUI's shell.overlay slot. Restart dsh and refresh the page afterwards. Git installs fetch sources , not built artifacts: the package ships a prepare script that builds lib/ at install time, and pnpm ≥10 requires allowlisting it in the profile's pnpm-workspace.yaml ( allowBuilds: '@zhinian558/dsh-translator': true ) — see the official packaging doc. npm/tarball in…

在 GitHub 查看完整 README →
工具/开发deepseek-harnessdshdsh-plugintranslationtranslator

分类