ゼロ設定の DSH プラグイン。セッションごとにツールスキーマを投影し、All Access 下のサードパーティモデルのサンドボックス昇格リトライループを解消。dsh plugin コマンドで導入し、DSH の中核には手を触れない。
DSH 統合
ネイティブ実行
作者による申告
安全性監査
未監査
最終検証日
2026-09-03
ライセンス
MIT
01どんなタスクに使えるのか?
Make DeepSeek Harness show third-party models only the sandbox escalation options the current session can actually use
bash/pwsh/write/edit tools that complete the workflow instead of failing on sandbox_permissions/justification before they run
DSH All Access / workspace-write users running GPT or other third-party models that hit repeated escalation retries
Stop the retry loop caused by redundant same-mode escalation and blank-justification errors
tools run without sandbox_permissions argument errors or impossible escalation advice; existing sessions stay restorable
Developers who see "invalid justification" or "not strictly wider than current mode" errors under All Access
02DeepSeek Harness への導入方法
前提条件
- DeepSeek Harness (dsh) on PATH, version rc.5/rc.6/rc.7/rc.8, 0.1.1-rc.1/rc.2, or 0.1.2-alpha.1–alpha.5 (Desktop 2.0.3 supported)
- Node.js ^22.19.0 or >=24.0.0, and @deepseek-ai/cordis ^4.0.1
- Close DSH before installing or upgrading the plugin
- Install only after reproducing the affected behavior (same-mode escalation, blank justification, or retry-loop failures)
インストール手順
- 01
Download and extract dsh-sandbox-escalation-fix-0.1.2-alpha5-release.zip, then run powershell -NoProfile -ExecutionPolicy Bypass -File ".\install-release.ps1" (add -Profile <name> for a non-default Profile)
- 02
Or pin a reviewed commit: dsh plugin --profile <profile> add github:<owner>/dsh-sandbox-escalation-fix#<commit-sha>
- 03
Inspect the composed config with dsh --profile <profile> --dump-config (expect a dsh-sandbox-escalation-fix bundle layer and the sandbox-escalation-fix plugin row)
- 04
Start DSH normally: dsh --profile <profile>
導入成功の確認
- Fully restart DSH and open a new All Access session; ask the model to run pwsh, write a temp file, then edit and read it back
- The calls should complete without sandbox_permissions argument errors or impossible escalation advice
- Confirm --dump-config no longer lists the bundle after uninstall
03DSH 統合と能力の範囲
Native DSH plugin installed through the official dsh plugin CLI (dsh plugin --profile <profile> add github:<owner>/dsh-sandbox-escalation-fix#<commit-sha>); wraps bash/pwsh/write/edit in each Agent Exact Scope via the dsh.tool-wrapper.v1 protocol and projects a per-session tool schema.
Session-aware tool-schema projection
each Session's live Sandbox Mode and Approval Policy→model-visible bash/pwsh/write/edit schemas that advertise only usable escalation options
Redundant same-mode request fallback
a model request whose escalation target equals the current session mode→the redundant escalation pair removed; the original tool runs
04誰に向いているのか?使うべきでない場面は?
向いている用途
- DSH All Access / workspace-write users running GPT or other third-party models that hit repeated escalation retries
- Developers who see "invalid justification" or "not strictly wider than current mode" errors under All Access
不向きな用途
- The plugin checks installed DSH package versions at startup. Mixed rc.5/rc.6/rc.7/rc.8/0.1.1-rc.1/0.1.1-rc.2/0.1.2-alpha.1–alpha.5 installations and unknown DSH versions fail explicitly; an incompatible target with partial escalation fields or an incompatible output definition rejects that Agent's registration.
- The plugin owns the bash/pwsh/write/edit wrapper names in each Agent Exact Scope; another plugin may share them only via the explicit Symbol.for('dsh.tool-wrapper.v1') protocol. An unknown same-name wrapper causes Agent registration to fail explicitly — remove one conflicting plugin rather than rely on undefined load order.
05互換性・メンテナンス・セキュリティ上の注意
- The plugin checks installed DSH package versions at startup. Mixed rc.5/rc.6/rc.7/rc.8/0.1.1-rc.1/0.1.1-rc.2/0.1.2-alpha.1–alpha.5 installations and unknown DSH versions fail explicitly; an incompatible target with partial escalation fields or an incompatible output definition rejects that Agent's registration.
- The plugin owns the bash/pwsh/write/edit wrapper names in each Agent Exact Scope; another plugin may share them only via the explicit Symbol.for('dsh.tool-wrapper.v1') protocol. An unknown same-name wrapper causes Agent registration to fail explicitly — remove one conflicting plugin rather than rely on undefined load order.
MIT · community plugin, supports DSH 0.1.2-alpha.5 and Desktop 2.0.3 (not published, maintained, or endorsed by DeepSeek)
06よくある質問
このプラグインは DSH の何を直すのか?
All Access(danger-full-access + never)や workspace-write セッションでは、標準 DSH は bash・pwsh・write・edit に引き続き sandbox_permissions と justification の昇格欄を公開します。しかしその状態ではより広いモードは存在せず、すべての昇格が拒否されます。モデルがこれらを埋めると呼び出しは実行前に失敗し、ループにはまります。本プラグインは各セッションの生の Sandbox Mode と Approval Policy からモデル可視のスキーマを投影します。
特定の DSH Profile にどう導入するか?
Release ZIP を展開して `powershell -NoProfile -ExecutionPolicy Bypass -File ".\install-release.ps1"` を実行します(既定外の Profile は `-Profile <名前>` を付与)。あるいは `dsh plugin --profile <profile> add github:<owner>/dsh-sandbox-escalation-fix#<commit-sha>` でレビュー済みのコミットを固定します。導入前に DSH を閉じ、`dsh --profile <profile> --dump-config` にバンドルが含まれることを確認します。
修正が効いたことをどう確認するか?
DSH を完全に再起動し、新しい All Access セッションでモデルに pwsh の実行、ファイルの write、その edit と読み戻しを頼みます。ツールは sandbox_permissions の引数エラーや実現不可能な昇格アドバイスなしに完了するはずです。Web の起動成功だけでは動的制限の挙動は証明できないため、挙動チェックを実施してください。
対応している DSH のバージョンは?
Node.js ^22.19.0 または >=24.0.0、@deepseek-ai/cordis ^4.0.1、および @deepseek-ai/dsh-* の 0.1.0-rc5 から 0.1.2-alpha.5(rc.5–rc.8、0.1.1-rc.1/rc.2、0.1.2-alpha.1–alpha.5)と Desktop 2.0.3 に対応します。混在や未知の DSH バージョンは起動時に明示的に失敗します。
どうアンインストールするか?
展開した Release ZIP から `powershell -NoProfile -ExecutionPolicy Bypass -File ".\uninstall-release.ps1"` を実行します(`-Profile` 指定可)。または `dsh plugin --profile <profile> remove dsh-sandbox-escalation-fix` です。DSH を再起動し、`--dump-config` にバンドルがもう載っていないことを確認します。
07関連する DSH ワークフロー
cc-safety-net
by kenryu42
AIコーディングエージェント向けの実行前セキュリティガード。Gitやファイル操作の破壊的コマンド、機密ファイルへのアクセスをツール実行前に検知してブロックします。
tencentmeeting-cli
by tencentcloud
テンセント会議(Tencent Meeting)の CLI ツール。オープンプラットフォームの OAuth2 認証を利用し、会議管理、録画管理、参加者レポートなどに対応
dsh-auto-review
by perrylink
DeepSeek Harness 承認リクエスト向け第 2 モデル AI 自動レビュー:読み取り専用レビューサブエージェントが構造化 allow/deny 判定を返す。デフォルトフェイルクローズ、セッションログで完全監査可能
dsh-permission-rules
by perrylink
Claude Code 風宣言的 permission rules:allow/deny/ask、glob/regex、監査ログ
08データと出典
The plugin owns the `bash`, `pwsh`, `write`, and `edit` names inside each Agent Exact Scope. Another plugin may share
dsh plugin --profile <profile> add github:<owner>/dsh-sandbox-escalation-fix#<commit-sha>
このページは、プロジェクトの公開ドキュメント、リポジトリのメタデータ、および DSH Plugins の構造化解析に基づいて生成されています。最終検証日:2026-09-03。誤りを見つけた場合は、修正を送信してください。
dsh プラグイン おすすめ
最初に入れたい 12 のプラグイン。全カタログ・全カテゴリから厳選しました。
