dsh-global-role
Verifieddsh-global-role Β· v0.1.0 Β· MIT Β· Web UI
User-global role definition applied to every session (Claude-style global role)
Install
dsh plugin add dsh-global-role Confirm the layer applied with dsh --profile default --dump-config β see the install guide.
Source
Published to npm without a public repository. Inspect the package contents before installing.
Creators
Readme
dsh-global-role
User-global role definition for DeepSeek Harness β the replica of Claude's global role: one user-authored persona text applied to every session's system prompt.
The role text is stored in the settings scope (global-role), rendered as a dedicated settings page, and injected as a system-prompt section (user:global-role, right after the deployment persona). It applies to running sessions on the next request, including preset-based sessions (the preset persona wins over the global role).
Install
dsh plugin --profile web add dsh-global-role
Or add to a profile's package.json manually:
{
"dependencies": { "dsh-global-role": "^0.1.0" },
"dsh": { "profile": { "bundles": ["...", "dsh-global-role"] } }
}
Then restart DSH (/restart or restart_harness) and open Settings β ε
¨ε±θ§θ² (Global Role) to edit the persona text.
Configuration
No cordis.yml config. The role text lives in the settings scope; an empty text disables the role. The composition default below the user layer is set by the host plugin entry's config if needed.
Build
Requires a local deepseek-harness checkout for the workspace types (the @deepseek-ai/* rc.7 packages are published under the next tag):
pnpm install
node scripts/link-dsh-workspace.mjs --source /path/to/deepseek-harness
pnpm run build
Outputs lib/index.js (host), lib/invariant.js, and lib/client.js (browser bundle).
License
MIT