ディレクトリに戻る

dsh-plugin-template

メンテナンス: 活発

bugmaker2/dsh-plugin-template

deepseek-harness プラグイン開発用テンプレート

GitHub で見る
$ dsh plugin --profile web add .

110

スター

1

フォーク

TypeScript

言語

MIT

ライセンス

2026-08-13

作成日

2026-08-27

最終プッシュ

MIT ライセンスの DeepSeek Harness プラグイン雛形(TypeScript)。Typert Remote を公開するホスト+クライアント プラグインのペアを生成し、ビルド・テスト・CI を事前設定。

DSH 統合

ネイティブ実行

作者による申告

安全性監査

未監査

最終検証日

2026-08-30

ライセンス

MIT

01どんなタスクに使えるのか?

  • Scaffold a dual-side DeepSeek Harness plugin (host + client) from a working reference

    A ready-to-build template that registers a `greet` Remote — the host composes `"Hello, <name>"` and the client renders it in a new "Greet" tab

    Plugin developers building for the DeepSeek Harness runtime who want the full plugin surface wired up (type-checking, linting, tests, CI, publishing)

  • Learn how a DeepSeek Harness host plugin and Web client plugin connect end to end

    Annotated `src/` layout, `dsh.plugin.json` registry manifest, `cordis.patch.yml` profile mount, and `build.mjs` dual build

    Developers who want a concrete reference for the Harness plugin surface before writing their own plugin

02DeepSeek Harness への導入方法

前提条件

  • Node.js >= 22.19 (or >= 24)
  • pnpm >= 9
  • DeepSeek Harness >=0.1.0-rc.6

インストール手順

  1. 01

    pnpm install

  2. 02

    pnpm run build

  3. 03

    $ dsh plugin --profile web add .

  4. 04

    Restart the Web Harness after rebuilding the plugin

導入成功の確認

  • A "Greet" tab appears in the session view ring showing `Hello, DSH`

ロールバック

  • dsh plugin --profile web remove dsh-plugin-template

03DSH 統合と能力の範囲

DSH 統合ネイティブ実行

Built for the DeepSeek Harness runtime: a host plugin exposes a Typert `greet` Remote and a client plugin mounts it into a React view; install via `dsh plugin --profile web add .`.

  • Host plugin: greet Remote (Typert)

    configurable prefix via the Config schemacomposes `"Hello, <name>"` string from the prefix and the name

  • Client plugin: Greet tab (React view)

    the greet Remote resultrenders `Hello, <name>` in a new "Greet" tab of the session view ring

    mounts the Remote into the Web harness module loader and adds a "Greet" tab to the session view ring
  • Dual build & CI

    TypeScript sources in src/ and tests/host ESM + client CJS bundles plus type declarations; vitest unit tests; CI on push

04誰に向いているのか?使うべきでない場面は?

向いている用途

  • Plugin developers building for the DeepSeek Harness runtime who want the full plugin surface wired up (type-checking, linting, tests, CI, publishing)
  • Developers who want a concrete reference for the Harness plugin surface before writing their own plugin

不向きな用途

  • A Git install (`dsh plugin --profile web add github:...`) fetches sources, not built artifacts, so pnpm runs `prepare` to build `lib/`. pnpm >=10 blocks that build until you set `allowBuilds`; that allowance lets the package run code at install time, so only allow packages you trust and pin a commit.

05互換性・メンテナンス・セキュリティ上の注意

  • A Git install (`dsh plugin --profile web add github:...`) fetches sources, not built artifacts, so pnpm runs `prepare` to build `lib/`. pnpm >=10 blocks that build until you set `allowBuilds`; that allowance lets the package run code at install time, so only allow packages you trust and pin a commit.
2026-08-132026-08-27作者は未記載

MIT licensed DeepSeek Harness plugin template (sources: ours); last push 2026-08-27; no tagged GitHub release

06よくある質問

DeepSeek Harness で dsh-plugin-template をインストールするには?

ローカル checkout で `pnpm install`、`pnpm run build` を実行し、次に `dsh plugin --profile web add .` を実行して Web Harness を再起動します。「Greet」タブが表示され、`Hello, DSH` が出ます。

前提条件は何ですか?

Node.js >= 22.19(または >= 24)、pnpm >= 9、DeepSeek Harness >=0.1.0-rc.6 です。

テンプレートはどう DeepSeek Harness とつながるのか?

Typert Remote(greet)を公開するホスト プラグインと、その Remote を React ビューにマウントするクライアント プラグインの両方を含みます。Harness が必要とするマニフェストは `package.json` だけで、dsh.so レジストリ用に `dsh.plugin.json` を追加します。

どうやって削除する?

`dsh plugin --profile web remove dsh-plugin-template` を実行します。

Git インストールで allowBuilds の設定を求められるのはなぜ?

Git インストールはビルド済み成果物ではなくソースを取得するため、pnpm が `prepare` を実行して `lib/` をビルドします。pnpm >= 10 はそれを許可するまでブロックするので、profile の `pnpm-workspace.yaml` に `allowBuilds: dsh-plugin-template: true` を追加してください。この許可はパッケージにインストール時にコードを実行させるため、信頼するパッケージのみ許可し、コミットをピン留めしてください。

08データと出典

  • 作者による申告github.com31af7ebeb8d0…

    A complete dual-side [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) plugin template.

  • 作者による申告github.com31af7ebeb8d0…

    a **host** plugin exposing a Typert Remote, and a **client** plugin mounting that Remote into a React view

このページは、プロジェクトの公開ドキュメント、リポジトリのメタデータ、および DSH Plugins の構造化解析に基づいて生成されています。最終検証日:2026-08-30。誤りを見つけた場合は、修正を送信してください。

🏆

dsh プラグイン おすすめ

最初に入れたい 12 のプラグイン。全カタログ・全カテゴリから厳選しました。

DSH Plugins は DeepSeek Harness プラグインの独立したコミュニティ ディレクトリです。DeepSeek との提携・公認はありません。サードパーティ製プラグインはセキュリティ監査を受けていません。インストール前にソースコードをご確認ください。

DeepSeek Harnessの新着プラグインを毎週お届け。スパムはありません。