Tools & Capabilities
dsh-prompt-inject
379385796-sys/dsh-prompt-inject · ★ 0
Maintained adaptation of H1a3x/dsh-prompt-inject for DSH Desktop 0.2.1-rc.2; not an official upstream release.
Manifest details
安装
dsh plugin --profile web add 'github:379385796-sys/dsh-prompt-inject#f51a5c3ebd7feaaa965214ff670c5641ddf50be9'GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
For install and environment setup, plus plugin development tutorials, see DSH community docs ↗
README
Table of contents
0.1.1-rc.5 rc.5 compatibility maintenance (2026-10-30)
Host range: 0.2.0-rc.2 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.5. Declaration-only maintenance after checking the used interfaces; no feature, UI or data-format change. Validation targets an isolated Windows rc.5 Host and browser. Formal installation is a separate stage. Older sections below are historical records.
0.1.1-rc.4 compatibility maintenance (2026-10-25)
Explicit host range: 0.2.0-rc.2 || 0.2.1-rc.2 || 0.2.1-rc.3. Target: Windows Desktop 0.2.1-rc.3, Electron 44.7.0, Node 24.21.0. The exact host and three host peer ranges omitted RC3. Add RC3 explicitly while retaining ConfigForms revision fences, data formats, injection order and original H1a3x MIT attribution.
Validated on an isolated real RC3 host, including coexistence with Packer 0.4.2, lifecycle, settings and persistence. The human user completed actual Desktop GUI acceptance; Three behavior tests and real ConfigForms saving, workspace overrides, draft refresh, cold restart and exactly-once main-request injection passed. Prior RC2 declarations and automated tests remain; full RC2 Desktop retesting in this maintenance is NOT TESTED. See compatibility.
Manage named System Prompt templates with a global default and workspace overrides.
A locally maintained adaptation of H1a3x/dsh-prompt-inject, retaining H1a3x’s copyright and MIT license. This is not an official upstream release. See provenance.
Compatibility and status
Version 0.1.1-rc.5. Current target: Windows DSH Desktop 0.2.1-rc.5. Prior RC2 support and automated coverage remain; full RC2 Desktop retesting this maintenance is NOT TESTED. Other platforms are untested.
Templates are stored in plaintext and transmitted to the model. Switching templates does not retract accepted requests, history, or summaries. Workspace keys preserve case and separators and are not an access-control boundary. A complete persona can exclude the injected section under host rules.
Install, use, and uninstall
Download the prebuilt tgz from Releases, verify its SHA-256, and select it in the official plugin manager, or use dsh plugin --profile <profile> add <absolute-tgz-path>. Restart DSH and verify the plugin ID and version. Back up your configuration before updating. To uninstall, use the official manager or dsh plugin --profile <profile> remove dsh-prompt-inject. Do not edit node_modules or app.asar. Removing the plugin does not erase existing exports, history, or retained preferences.
Create named templates in the plugin settings panel, select a global default, and choose inherit, disable, or a named override per workspace. Changes apply on the next system prompt assembly.
Development and troubleshooting
JavaScript is shipped directly. npm run check checks syntax and runs the available tests. Tests use synthetic data, not your live Profile. Prebuilt runtime files are included; installation requires no build-time script. Verify host version, Profile selection, checksums, and import errors before troubleshooting. Do not disable safety checks or overwrite host files. See validation scope.
License
See LICENSE and the retained third-party notices.
Plugin manager / 插件管理器
Actual isolated DSH 0.2.1-rc.2 interface, with no personal account, Profile path, or conversation content in the captured cards.

