npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dsh-i18n-ja-core

v0.1.2

Published

DSH Web GUI 日本語ロケールパック(コア): registers the 日本語 language and carries the ja dictionaries for every DSH core plugin namespace (common, settings.*, chat, workspace, …). Independent of dsh-i18n-ja (dsh-web-all family); missing keys fall back to English through

Readme

dsh-i18n-ja-core

Japanese locale pack for the DSH (DeepSeek Harness) core Web GUI — 57 namespaces, ~2,600 strings. Install it by its npm name from the DSH plugin manager.

DSH Web GUI のコア UI 向け日本語ロケールパックです。アプリ本体(app.asar に同梱の @deepseek-ai/* コアプラグイン)が登録する名前空間 — common, settings.*, chat, workspace, trajectory, pluginManager, schedule.*, sidebar* など 57 名前空間・ 約 2,600 キー — に対する ja 辞書を登録し、言語カタログに「日本語」を追加します。

dsh-i18n-ja(dsh-web-all 拡張バンドルの名前空間向け)とは別パックで、 名前空間の重複はゼロ。両方を同時に有効化できます。

動作の仕組み

  • ブラウザ側(lib/client.js)が ctx.locale.addLanguage({ id: "ja", label: "日本語", fallback: "en" }) を呼び、続いて各名前空間の ja 辞書を ctx.locale.register(ns, "ja", dict) で個別登録します。 登録は名前空間ごとに独立しており、重複や競合が起きても他を止めません (addLanguage は他パックが先に登録済みなら無視されます)。
  • ホスト側(lib/index.js)は純ブラウザプラグインのため no-op です。
  • 未翻訳キーは SDK のフォールバックチェーン(ns → common → en → キーそのまま)で 英語表示になります。

翻訳の再構築

翻訳パイプラインはこのリポジトリの tools/ に同梱しています(dsh-i18n-ja 側と共通手順):

  1. node tools/asar-extract.mjs <app.asar> out-core "<コア client.js の正規表現>" — app.asar からコアプラグインのクライアントバンドンを抽出
  2. node tools/extract-locale.mjs out-core/dsh/node_modules/@deepseek-ai out/locales.json — ctx.locale.register(...) 呼び出しの zh/en 辞書リテラルを静的評価で抽出
  3. out/src/<ns>.json に分割し、out/GLOSSARY.md の用語・文体ルールで out/ja/<ns>.json(キー完全一致)を翻訳
  4. node tools/build-client.mjs — プレースホルダ互換・キー整合を検証しつつ lib/client.js を生成

インストール(DSH での導入方法)

1. プラグイン管理から追加(推奨)

DSH Web GUI の プラグイン管理 で、次のパッケージ名を追加してください:

dsh-i18n-ja-core

(エージェント経由で管理する場合は plugin_manager の install_bundle、spec は dsh-i18n-ja-core)

2. 有効化と反映

プラグイン一覧で dsh-i18n-ja-core が 有効(enabled)/適用(applied) になっていることを確認し、 Web GUI をリロードして 設定 → 一般 → 言語 → 日本語 を選択してください。

エージェントに導入を任せる場合のプロンプト

DSH のチャットに、次のプロンプトをそのまま貼り付けてください:

npm パッケージ「dsh-i18n-ja-core」を DSH のプラグインとして導入してください。
手順:
1. plugin_manager の install_bundle で spec "dsh-i18n-ja-core" をインストール
2. list_plugins / set_plugin で有効化(enabled)と適用状態を確認
3. 完了後、Web GUI の再読み込みと「設定 → 一般 → 言語 → 日本語」の手順を案内してください

(ソースから導入する場合: plugin_manager の spec に link:<clone 先>/packages/dsh-i18n-ja-core を指定します)

ライセンス

Apache-2.0