mirror of
https://github.com/yexi-by/dsh-unrestricted.git
synced 2026-11-28 02:30:22 +08:00
dsh-unrestricted: toggleable unrestricted-mode prompt fusion plugin
Fuses the unrestricted execution mode into each preset's original system prompt at assembly time (standard/code/cordis via the system-prompt/assemble waterfall, minimal via an agent-scoped complete persona shadow), covering subagents, plan state, code-mode transport and structured-output delivery. Anchored rewrites verify the installed DSH prompts before every fusion; mismatches fall back to the stock prompt per mode and surface in the settings card. Toggle persists in the unrestricted settings namespace. Baseline: DSH 0.1.1-rc.1 (528c682e). docs/diff-rc.1.md itemizes every kept/extended/inserted rule; tests replay fixtures captured from the installed harness (tools/dump-prompts.mjs); tools/verify-live.mjs and tools/verify-server.mjs carry the acceptance runs.
This commit is contained in:
commit
aceb93ccd4
48 files changed
+9847
No files matched your search
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2024",
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Bundler",
|
||||
"jsx": "react-jsx",
|
||||
"strict": true,
|
||||
"noEmit": true,
|
||||
"allowImportingTsExtensions": true,
|
||||
"skipLibCheck": true,
|
||||
"types": ["node"],
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@deepseek-ai/cordis": ["../../deepseek-harness/vendor/cordis/lib/types/index.d.ts"],
|
||||
"@deepseek-ai/dsh-client-ui-slots": ["../../deepseek-harness/packages/client/ui-slots/lib/types/index.d.ts"],
|
||||
"@deepseek-ai/dsh-client-locale/client": ["../../deepseek-harness/packages/client/locale/lib/types/client/index.d.ts"],
|
||||
"@deepseek-ai/dsh-client-runtime/client": ["../../deepseek-harness/packages/client/runtime/lib/types/client/index.d.ts"],
|
||||
"@deepseek-ai/dsh-client-ui-settings/client": ["../../deepseek-harness/packages/client/ui-settings/lib/types/client/index.d.ts"],
|
||||
"@deepseek-ai/dsh-client-ui-settings-plugins/client": ["../../deepseek-harness/packages/client/ui-settings-plugins/lib/types/client/index.d.ts"],
|
||||
"@deepseek-ai/dsh-client-connection/client": ["../../deepseek-harness/packages/client/connection/lib/types/client/index.d.ts"],
|
||||
"@deepseek-ai/dsh-api-remotes/client": ["../../deepseek-harness/packages/api/remotes/lib/types/client/index.d.ts"]
|
||||
}
|
||||
},
|
||||
"include": ["src/client", "tsdown.config.ts"]
|
||||
}
|
||||
Reference in new issue
Block a user