1738348785/dsh-plugin-text-translation2

dsh-plugin-text-translation

Text & document localization plugin for DeepSeek Harness (DSH): lossless tag-protected extraction, batch slicing and assembly for translation workflows

AI 分析

适合本地化和翻译团队,支持标签安全抽取与批量切分拼装,需按配置设置参数。

パッケージ
dsh-plugin-text-translation
バージョン
1.0.0
ライセンス
MIT
最終更新
2026/08/14

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:1738348785/dsh-plugin-text-translation

ドキュメント

README 全文を読む ↗

📦 安装与使用

方式一:从 GitHub 安装(推荐)

dsh plugin --profile demo add github:1738348785/dsh-plugin-text-translation

dsh 会拉取仓库、自动把插件的 cordis.patch.yml 追加进 profile 的 bundle 层。 (GitHub 安装实测通过:依赖走 pnpm store,无符号链接解析问题。)

方式二:安装到 web profile(让 GUI 插件页可见)

DSH Web 的「设置 → 插件」清单显示的是当前运行的 profile 实际加载的插件。 要让 GUI 里看到并管理本插件,需要装进 web profile 并重启:

dsh plugin --profile web add github:1738348785/dsh-plugin-text-translation

## ⚙️ 插件配置项 (Config Schema)

在 profile 的 `cordis.patch.yml`(或 `--patch` 覆盖层)中可自定义:

```yaml
- insert:
    - id: text-translation
      name: dsh-plugin-text-translation
      config:
        pythonPath: python     # Python 解释器路径 (默认: python)
        batchSize: 25          # 单批次切片行数大小 (默认: 25)