@dsmm/dsmm 0.1.9 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -58
- package/agent-presets/dsmm-builder/agent.cordis.yml +91 -186
- package/agent-presets/dsmm-builder/preset.yml +1 -1
- package/agent-presets/dsmm-clarifier/agent.cordis.yml +120 -17
- package/agent-presets/dsmm-clarifier/preset.yml +1 -1
- package/agent-presets/dsmm-code-search/agent.cordis.yml +72 -17
- package/agent-presets/dsmm-code-search/preset.yml +1 -1
- package/agent-presets/dsmm-coding/agent.cordis.yml +169 -0
- package/agent-presets/dsmm-coding/preset.yml +3 -0
- package/agent-presets/dsmm-complex/agent.cordis.yml +154 -0
- package/agent-presets/dsmm-complex/preset.yml +3 -0
- package/agent-presets/dsmm-creative/agent.cordis.yml +122 -15
- package/agent-presets/dsmm-creative/preset.yml +1 -1
- package/agent-presets/dsmm-cross-cutting/agent.cordis.yml +179 -0
- package/agent-presets/dsmm-cross-cutting/preset.yml +3 -0
- package/agent-presets/dsmm-deep/agent.cordis.yml +189 -0
- package/agent-presets/dsmm-deep/preset.yml +3 -0
- package/agent-presets/dsmm-doc-search/agent.cordis.yml +72 -17
- package/agent-presets/dsmm-doc-search/preset.yml +1 -1
- package/agent-presets/dsmm-documenting/agent.cordis.yml +168 -0
- package/agent-presets/dsmm-documenting/preset.yml +3 -0
- package/agent-presets/dsmm-frontend/agent.cordis.yml +161 -0
- package/agent-presets/dsmm-frontend/preset.yml +3 -0
- package/agent-presets/dsmm-hard-reasoning/agent.cordis.yml +153 -0
- package/agent-presets/dsmm-hard-reasoning/preset.yml +3 -0
- package/agent-presets/dsmm-media-reader/agent.cordis.yml +72 -17
- package/agent-presets/dsmm-media-reader/preset.yml +1 -1
- package/agent-presets/dsmm-normal-task/agent.cordis.yml +127 -0
- package/agent-presets/dsmm-normal-task/preset.yml +3 -0
- package/agent-presets/dsmm-oracle/agent.cordis.yml +109 -15
- package/agent-presets/dsmm-oracle/preset.yml +1 -1
- package/agent-presets/dsmm-oracle-2nd/agent.cordis.yml +109 -15
- package/agent-presets/dsmm-oracle-2nd/preset.yml +1 -1
- package/agent-presets/dsmm-orchestrator/agent.cordis.yml +174 -190
- package/agent-presets/dsmm-orchestrator/preset.yml +1 -1
- package/agent-presets/dsmm-plan-critic/agent.cordis.yml +102 -16
- package/agent-presets/dsmm-plan-critic/preset.yml +1 -1
- package/agent-presets/dsmm-planner/agent.cordis.yml +134 -15
- package/agent-presets/dsmm-planner/preset.yml +1 -1
- package/agent-presets/dsmm-quick/agent.cordis.yml +132 -0
- package/agent-presets/dsmm-quick/preset.yml +3 -0
- package/agent-presets/dsmm-research/agent.cordis.yml +156 -0
- package/agent-presets/dsmm-research/preset.yml +3 -0
- package/agent-presets/dsmm-reviewer/agent.cordis.yml +108 -16
- package/agent-presets/dsmm-reviewer/preset.yml +1 -1
- package/cordis.patch.yml +1 -5
- package/docs/agent-presets.md +48 -15
- package/docs/compatibility.md +58 -68
- package/docs/deferred-native-approval-risk.md +19 -0
- package/docs/design.md +43 -2
- package/docs/lsp.md +12 -12
- package/docs/migration-from-ocmm.md +10 -2
- package/docs/model-routing.md +84 -59
- package/docs/native-permissions.md +35 -0
- package/docs/profiles.md +43 -64
- package/docs/releasing.md +159 -8
- package/docs/roadmap.md +77 -17
- package/docs/runtime-recovery.md +12 -0
- package/docs/safety-guards.md +7 -3
- package/docs/settings-status.md +46 -40
- package/docs/skill-sync.md +89 -14
- package/lib/child-admission-contract.d.ts +37 -0
- package/lib/child-admission-contract.js +2 -0
- package/lib/child-admission.d.ts +42 -0
- package/lib/child-admission.js +162 -0
- package/lib/child-capture.d.ts +81 -0
- package/lib/child-capture.js +203 -0
- package/lib/child-evidence.d.ts +17 -0
- package/lib/child-evidence.js +43 -0
- package/lib/client/ChildrenPanel.d.ts +43 -0
- package/lib/client/ChildrenPanel.js +82 -0
- package/lib/client/DeploymentPage.d.ts +18 -0
- package/lib/client/DeploymentPage.js +127 -0
- package/lib/client/EditableChoice.d.ts +17 -0
- package/lib/client/EditableChoice.js +49 -0
- package/lib/client/PermissionsPanel.d.ts +14 -0
- package/lib/client/PermissionsPanel.js +46 -0
- package/lib/client/ProfilesSection.js +32 -15
- package/lib/client/RoleAvailability.d.ts +7 -0
- package/lib/client/RoleAvailability.js +19 -0
- package/lib/client/SessionProfiles.js +27 -9
- package/lib/client/StructuredEditor.js +15 -7
- package/lib/client/children-controller.d.ts +98 -0
- package/lib/client/children-controller.js +296 -0
- package/lib/client/children-locales.d.ts +367 -0
- package/lib/client/children-locales.js +69 -0
- package/lib/client/controller.d.ts +6 -1
- package/lib/client/controller.js +14 -8
- package/lib/client/deployment-controller.d.ts +50 -0
- package/lib/client/deployment-controller.js +193 -0
- package/lib/client/deployment-data.d.ts +17 -0
- package/lib/client/deployment-data.js +138 -0
- package/lib/client/deployment-locales.d.ts +70 -0
- package/lib/client/deployment-locales.js +81 -0
- package/lib/client/diagnostics.d.ts +14 -0
- package/lib/client/diagnostics.js +53 -0
- package/lib/client/index.d.ts +4 -0
- package/lib/client/index.js +145 -1
- package/lib/client/locales.d.ts +58 -0
- package/lib/client/locales.js +38 -18
- package/lib/client/permission-client.d.ts +16 -0
- package/lib/client/permission-client.js +38 -0
- package/lib/client/permission-controller.d.ts +62 -0
- package/lib/client/permission-controller.js +149 -0
- package/lib/client/permission-locales.d.ts +114 -0
- package/lib/client/permission-locales.js +75 -0
- package/lib/client/plugins-contract.d.ts +27 -0
- package/lib/client/plugins-contract.js +2 -0
- package/lib/client/session-labels.js +4 -4
- package/lib/client/structured.js +19 -5
- package/lib/client/styles.d.ts +1 -1
- package/lib/client/styles.js +36 -0
- package/lib/client.js +6724 -1604
- package/lib/commands.js +3 -0
- package/lib/config-file-store.d.ts +23 -0
- package/lib/config-file-store.js +67 -0
- package/lib/core-permission-authority.d.ts +18 -0
- package/lib/core-permission-authority.js +255 -0
- package/lib/core-permissions.d.ts +8 -0
- package/lib/core-permissions.js +33 -0
- package/lib/delivery-authority.d.ts +68 -0
- package/lib/delivery-authority.js +260 -0
- package/lib/deployment-config.d.ts +60 -0
- package/lib/deployment-config.js +205 -0
- package/lib/deployment-permission-rules.d.ts +55 -0
- package/lib/deployment-permission-rules.js +306 -0
- package/lib/dsh-home.d.ts +3 -0
- package/lib/dsh-home.js +10 -0
- package/lib/dsh-types.d.ts +22 -69
- package/lib/guards.d.ts +3 -2
- package/lib/guards.js +44 -6
- package/lib/host-llm-startup.d.ts +41 -0
- package/lib/host-llm-startup.js +65 -0
- package/lib/host-llm.d.ts +92 -0
- package/lib/host-llm.js +325 -0
- package/lib/index.d.ts +23 -5
- package/lib/index.js +383 -40
- package/lib/legacy-child-policy.d.ts +51 -0
- package/lib/legacy-child-policy.js +123 -0
- package/lib/legacy-read-composition.d.ts +20 -0
- package/lib/legacy-read-composition.js +144 -0
- package/lib/legacy-read-contracts.d.ts +157 -0
- package/lib/legacy-read-contracts.js +39 -0
- package/lib/legacy-read-host.d.ts +19 -0
- package/lib/legacy-read-host.js +67 -0
- package/lib/legacy-read-integration.d.ts +121 -0
- package/lib/legacy-read-integration.js +522 -0
- package/lib/legacy-read-proxy.d.ts +26 -0
- package/lib/legacy-read-proxy.js +237 -0
- package/lib/live-pi-ai-owner.d.ts +18 -0
- package/lib/live-pi-ai-owner.js +144 -0
- package/lib/llm-runtime.d.ts +11 -0
- package/lib/llm-runtime.js +21 -0
- package/lib/lsp.d.ts +13 -0
- package/lib/lsp.js +60 -0
- package/lib/managed-settings.d.ts +5 -0
- package/lib/managed-settings.js +14 -0
- package/lib/mode.js +42 -47
- package/lib/model-parameter-policy.d.ts +11 -0
- package/lib/model-parameter-policy.js +27 -0
- package/lib/model-routing.js +33 -19
- package/lib/modules.d.ts +35 -0
- package/lib/modules.js +37 -0
- package/lib/native-child-evidence.d.ts +42 -0
- package/lib/native-child-evidence.js +133 -0
- package/lib/native-pi-ai-wire.d.ts +37 -0
- package/lib/native-pi-ai-wire.js +261 -0
- package/lib/native-scope.d.ts +9 -0
- package/lib/native-scope.js +20 -0
- package/lib/permission-bash.d.ts +6 -0
- package/lib/permission-bash.js +7 -0
- package/lib/permission-control.d.ts +73 -0
- package/lib/permission-control.js +205 -0
- package/lib/permission-controller.d.ts +68 -0
- package/lib/permission-controller.js +317 -0
- package/lib/permission-errors.d.ts +7 -0
- package/lib/permission-errors.js +21 -0
- package/lib/permission-fs-search.d.ts +5 -0
- package/lib/permission-fs-search.js +7 -0
- package/lib/permission-fs.d.ts +5 -0
- package/lib/permission-fs.js +7 -0
- package/lib/permission-native-access.d.ts +11 -0
- package/lib/permission-native-access.js +6 -0
- package/lib/permission-native-command.d.ts +10 -0
- package/lib/permission-native-command.js +93 -0
- package/lib/permission-native-rules.d.ts +75 -0
- package/lib/permission-native-rules.js +278 -0
- package/lib/permission-pwsh.d.ts +6 -0
- package/lib/permission-pwsh.js +7 -0
- package/lib/permission-remote.d.ts +26 -0
- package/lib/permission-remote.js +53 -0
- package/lib/permission-rpc.d.ts +29 -0
- package/lib/permission-rpc.js +152 -0
- package/lib/permission-rules.d.ts +115 -0
- package/lib/permission-rules.js +256 -0
- package/lib/permission-settings.d.ts +45 -0
- package/lib/permission-settings.js +48 -0
- package/lib/permission-shell.d.ts +38 -0
- package/lib/permission-shell.js +150 -0
- package/lib/permission-web.d.ts +5 -0
- package/lib/permission-web.js +7 -0
- package/lib/plan-validation.js +6 -44
- package/lib/preset-materializer.js +2 -0
- package/lib/preset-registry.d.ts +1 -1
- package/lib/preset-registry.js +38 -24
- package/lib/preset-skills.d.ts +4 -1
- package/lib/preset-skills.js +60 -19
- package/lib/profile-diagnostics.d.ts +45 -0
- package/lib/profile-diagnostics.js +148 -0
- package/lib/profile-locale.d.ts +3 -0
- package/lib/profile-locale.js +2 -0
- package/lib/profile-remote.d.ts +22 -0
- package/lib/profile-remote.js +344 -27
- package/lib/profile-rpc.d.ts +25 -1
- package/lib/profile-rpc.js +143 -3
- package/lib/profile-runtime.d.ts +63 -0
- package/lib/profile-runtime.js +496 -77
- package/lib/profile-store.d.ts +56 -1
- package/lib/profile-store.js +377 -111
- package/lib/profile-types.d.ts +125 -1
- package/lib/profile-types.js +1 -0
- package/lib/profiles.d.ts +16 -2
- package/lib/profiles.js +156 -79
- package/lib/prompt-content.d.ts +25 -0
- package/lib/prompt-content.js +27 -0
- package/lib/prompts.d.ts +45 -4
- package/lib/prompts.js +157 -43
- package/lib/recovery-policy.js +20 -7
- package/lib/role-control-remote.d.ts +38 -0
- package/lib/role-control-remote.js +211 -0
- package/lib/role-control-rpc.d.ts +51 -0
- package/lib/role-control-rpc.js +377 -0
- package/lib/role-control-types.d.ts +92 -0
- package/lib/role-control-types.js +8 -0
- package/lib/role-invocation.d.ts +47 -0
- package/lib/role-invocation.js +135 -0
- package/lib/role-llm-runtime.d.ts +17 -0
- package/lib/role-llm-runtime.js +62 -0
- package/lib/role-llm.d.ts +31 -0
- package/lib/role-llm.js +66 -0
- package/lib/role-policy.d.ts +92 -0
- package/lib/role-policy.js +601 -0
- package/lib/role-providers.d.ts +7 -3
- package/lib/role-providers.js +74 -46
- package/lib/role-routing.d.ts +11 -2
- package/lib/role-routing.js +42 -25
- package/lib/role-runs.d.ts +135 -0
- package/lib/role-runs.js +304 -0
- package/lib/role-subagents.d.ts +63 -4
- package/lib/role-subagents.js +299 -47
- package/lib/roles.d.ts +20 -9
- package/lib/roles.js +87 -216
- package/lib/route-json.d.ts +19 -0
- package/lib/route-json.js +129 -0
- package/lib/routing-policy.d.ts +2 -0
- package/lib/routing-policy.js +12 -2
- package/lib/runtime-integration.d.ts +112 -0
- package/lib/runtime-integration.js +784 -0
- package/lib/runtime-recovery.js +34 -13
- package/lib/session-scope.js +2 -0
- package/lib/settings.d.ts +116 -14
- package/lib/settings.js +455 -149
- package/lib/skills.d.ts +24 -9
- package/lib/skills.js +114 -35
- package/lib/state.d.ts +10 -6
- package/lib/state.js +48 -49
- package/lib/status.d.ts +35 -1
- package/lib/status.js +58 -17
- package/lib/subagent-runtime.d.ts +45 -0
- package/lib/subagent-runtime.js +131 -0
- package/locale/en.json +2 -2
- package/locale/zh.json +2 -2
- package/package.json +112 -45
- package/patches/subagent-runtime.yml +15 -0
- package/prompts/deepseek-flash.md +1 -1
- package/prompts/deepseek-v4-pro.md +2 -2
- package/prompts/deepwork.md +153 -20
- package/prompts/source/agents/clarifier.md +47 -0
- package/prompts/source/agents/orchestrator.md +72 -0
- package/prompts/source/agents/plan-critic.md +29 -0
- package/prompts/source/agents/planner.md +21 -0
- package/prompts/source/agents/reviewer.md +23 -0
- package/prompts/source/catalog.json +548 -0
- package/prompts/source/category/coding.md +46 -0
- package/prompts/source/category/complex.md +29 -0
- package/prompts/source/category/creative.md +40 -0
- package/prompts/source/category/cross-cutting.md +54 -0
- package/prompts/source/category/deep.md +64 -0
- package/prompts/source/category/documenting.md +68 -0
- package/prompts/source/category/frontend.md +38 -0
- package/prompts/source/category/hard-reasoning.md +53 -0
- package/prompts/source/category/normal-task.md +27 -0
- package/prompts/source/category/quick.md +34 -0
- package/prompts/source/category/research.md +58 -0
- package/prompts/source/deepwork/claude-opus-5.md +28 -0
- package/prompts/source/deepwork/codex.md +9 -0
- package/prompts/source/deepwork/default.md +136 -0
- package/prompts/source/deepwork/gemini.md +191 -0
- package/prompts/source/deepwork/glm.md +263 -0
- package/prompts/source/deepwork/gpt.md +49 -0
- package/prompts/source/deepwork/kimi-k27.md +13 -0
- package/prompts/source/deepwork/planner.md +44 -0
- package/prompts/source/deepwork/swe-2.md +13 -0
- package/prompts/source/manifest.json +3233 -0
- package/prompts/source/shared/dsh-host-contract.md +8 -0
- package/prompts/source/shared/locale.md +8 -0
- package/prompts/source/shared/shell-safety.md +7 -0
- package/prompts/source/terminal/builder.md +13 -0
- package/prompts/source/terminal/clarifier.md +41 -0
- package/prompts/source/terminal/code-search.md +39 -0
- package/prompts/source/terminal/coding.md +41 -0
- package/prompts/source/terminal/complex.md +43 -0
- package/prompts/source/terminal/creative.md +41 -0
- package/prompts/source/terminal/cross-cutting.md +43 -0
- package/prompts/source/terminal/deep.md +43 -0
- package/prompts/source/terminal/doc-search.md +39 -0
- package/prompts/source/terminal/documenting.md +41 -0
- package/prompts/source/terminal/frontend.md +41 -0
- package/prompts/source/terminal/hard-reasoning.md +41 -0
- package/prompts/source/terminal/media-reader.md +39 -0
- package/prompts/source/terminal/normal-task.md +41 -0
- package/prompts/source/terminal/oracle-2nd.md +53 -0
- package/prompts/source/terminal/oracle.md +53 -0
- package/prompts/source/terminal/orchestrator.md +26 -0
- package/prompts/source/terminal/plan-critic.md +41 -0
- package/prompts/source/terminal/planner.md +42 -0
- package/prompts/source/terminal/quick.md +39 -0
- package/prompts/source/terminal/research.md +39 -0
- package/prompts/source/terminal/reviewer.md +53 -0
- package/scripts/cold-profile-composition.mjs +329 -0
- package/scripts/cold-profile-sources.mjs +238 -0
- package/scripts/migrate-cold-profile.mjs +315 -0
- package/skills/ast-grep/LICENSE +21 -0
- package/skills/ast-grep/README.md +138 -0
- package/skills/ast-grep/SKILL.md +287 -0
- package/skills/ast-grep/SOURCE +1 -0
- package/skills/ast-grep/install.ps1 +235 -0
- package/skills/ast-grep/install.sh +286 -0
- package/skills/ast-grep/references/cli.md +233 -0
- package/skills/ast-grep/references/install.md +168 -0
- package/skills/ast-grep/references/patterns.md +149 -0
- package/skills/ast-grep/references/pitfalls.md +305 -0
- package/skills/ast-grep/references/recipes.md +404 -0
- package/skills/ast-grep/references/sgconfig.md +250 -0
- package/skills/ast-grep/references/yaml-rules.md +511 -0
- package/skills/ast-grep/scripts/ast_grep_helper.py +760 -0
- package/skills/ast-grep/tests/smoke.ps1 +129 -0
- package/skills/ast-grep/tests/smoke.sh +212 -0
- package/skills/ast-grep/tests/test_resolver.py +154 -0
- package/skills/brainstorming/SKILL.md +123 -9
- package/skills/coding-agent-sessions/LICENSE-UPSTREAM.md +82 -0
- package/skills/coding-agent-sessions/NOTICE.md +24 -0
- package/skills/coding-agent-sessions/SKILL.md +147 -0
- package/skills/coding-agent-sessions/agents/openai.yaml +4 -0
- package/skills/coding-agent-sessions/pyrightconfig.json +5 -0
- package/skills/coding-agent-sessions/references/all-platforms.md +77 -0
- package/skills/coding-agent-sessions/references/claude.md +34 -0
- package/skills/coding-agent-sessions/references/codex.md +32 -0
- package/skills/coding-agent-sessions/references/opencode.md +45 -0
- package/skills/coding-agent-sessions/references/senpi.md +29 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/__init__.py +1 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/aside_scanner.py +140 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/claude.py +66 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/cli.py +283 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/codex.py +105 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/file_scanners.py +275 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/jsonio.py +55 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/kiro_scanner.py +91 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/opencode.py +289 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/pi_family.py +46 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py +104 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/sqlite_optional_scanners.py +203 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/sqlite_scanners.py +177 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/timeparse.py +51 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/transcript.py +149 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/types.py +57 -0
- package/skills/coding-agent-sessions/scripts/find-agent-sessions.py +19 -0
- package/skills/coding-agent-sessions/scripts/tests/test_agent_sessions.py +322 -0
- package/skills/coding-agent-sessions/scripts/tests/test_aside_scanner.py +131 -0
- package/skills/coding-agent-sessions/scripts/tests/test_cli_contract.py +126 -0
- package/skills/coding-agent-sessions/scripts/tests/test_extended_scanners.py +262 -0
- package/skills/coding-agent-sessions/scripts/tests/test_optional_sqlite_scanners.py +79 -0
- package/skills/coding-agent-sessions/scripts/tests/test_pi_family_scanners.py +130 -0
- package/skills/debugging/SKILL.md +130 -4
- package/skills/debugging/references/logging.md +2 -0
- package/skills/debugging/references/methodology/00-setup.md +16 -62
- package/skills/debugging/references/methodology/02-investigate.md +11 -5
- package/skills/debugging/references/methodology/03-flaky-triage.md +6 -4
- package/skills/debugging/references/methodology/04-hard-reasoning-escalation.md +6 -16
- package/skills/debugging/references/methodology/05-escalate.md +2 -0
- package/skills/debugging/references/methodology/06-fix.md +8 -6
- package/skills/debugging/references/methodology/08-qa.md +7 -5
- package/skills/debugging/references/methodology/09-cleanup.md +16 -152
- package/skills/debugging/references/methodology/partial-runtime-evidence.md +7 -18
- package/skills/debugging/references/runtimes/bundled-js-binary.md +3 -16
- package/skills/debugging/references/runtimes/go.md +2 -0
- package/skills/debugging/references/runtimes/native-binary.md +11 -54
- package/skills/debugging/references/runtimes/node.md +6 -15
- package/skills/debugging/references/runtimes/python.md +5 -15
- package/skills/debugging/references/runtimes/rust.md +4 -18
- package/skills/debugging/references/scripts/dap.test.mjs +539 -0
- package/skills/debugging/references/scripts/fixture-adapter.mjs +164 -0
- package/skills/debugging/references/tools/dap.md +4 -2
- package/skills/debugging/references/tools/ghidra.md +6 -15
- package/skills/debugging/references/tools/playwright-cli.md +5 -15
- package/skills/debugging/references/tools/pwndbg.md +2 -0
- package/skills/debugging/references/tools/pwntools.md +6 -16
- package/skills/dispatching-parallel-agents/SKILL.md +96 -7
- package/skills/frontend/.frontend-materialized.json +856 -0
- package/skills/frontend/ATTRIBUTION.md +37 -0
- package/skills/frontend/LICENSE-Apache-2.0.txt +201 -0
- package/skills/frontend/LICENSE-taste-skill.txt +21 -0
- package/skills/frontend/LICENSE-ui-ux-pro-max.txt +21 -0
- package/skills/frontend/SKILL.md +145 -0
- package/skills/frontend/references/design/README.md +256 -0
- package/skills/frontend/references/design/_INDEX.md +206 -0
- package/skills/frontend/references/design/airbnb.md +393 -0
- package/skills/frontend/references/design/airtable.md +92 -0
- package/skills/frontend/references/design/apple.md +250 -0
- package/skills/frontend/references/design/aside.md +211 -0
- package/skills/frontend/references/design/binance.md +348 -0
- package/skills/frontend/references/design/bmw.md +183 -0
- package/skills/frontend/references/design/brutalist-skill.md +92 -0
- package/skills/frontend/references/design/bugatti.md +271 -0
- package/skills/frontend/references/design/cal.md +262 -0
- package/skills/frontend/references/design/claude.md +315 -0
- package/skills/frontend/references/design/clay.md +307 -0
- package/skills/frontend/references/design/clickhouse.md +284 -0
- package/skills/frontend/references/design/clone-from-url.md +69 -0
- package/skills/frontend/references/design/cohere.md +269 -0
- package/skills/frontend/references/design/coinbase.md +132 -0
- package/skills/frontend/references/design/composio.md +310 -0
- package/skills/frontend/references/design/cursor.md +312 -0
- package/skills/frontend/references/design/design-system-architecture.md +250 -0
- package/skills/frontend/references/design/elevenlabs.md +268 -0
- package/skills/frontend/references/design/expo.md +284 -0
- package/skills/frontend/references/design/ferrari.md +317 -0
- package/skills/frontend/references/design/figma.md +223 -0
- package/skills/frontend/references/design/framer.md +249 -0
- package/skills/frontend/references/design/gpt-tasteskill.md +74 -0
- package/skills/frontend/references/design/hashicorp.md +281 -0
- package/skills/frontend/references/design/ibm.md +335 -0
- package/skills/frontend/references/design/image-to-code-skill.md +1228 -0
- package/skills/frontend/references/design/imagegen-brandkit.md +798 -0
- package/skills/frontend/references/design/imagegen-frontend-mobile.md +1465 -0
- package/skills/frontend/references/design/imagegen-frontend-web.md +987 -0
- package/skills/frontend/references/design/interaction-skill.md +52 -0
- package/skills/frontend/references/design/intercom.md +149 -0
- package/skills/frontend/references/design/kraken.md +128 -0
- package/skills/frontend/references/design/lamborghini.md +291 -0
- package/skills/frontend/references/design/linear.app.md +370 -0
- package/skills/frontend/references/design/lovable.md +301 -0
- package/skills/frontend/references/design/mastercard.md +368 -0
- package/skills/frontend/references/design/meta.md +369 -0
- package/skills/frontend/references/design/minimalist-skill.md +85 -0
- package/skills/frontend/references/design/minimax.md +260 -0
- package/skills/frontend/references/design/mintlify.md +329 -0
- package/skills/frontend/references/design/miro.md +111 -0
- package/skills/frontend/references/design/mistral.ai.md +264 -0
- package/skills/frontend/references/design/mongodb.md +269 -0
- package/skills/frontend/references/design/nike.md +366 -0
- package/skills/frontend/references/design/notion.md +312 -0
- package/skills/frontend/references/design/nvidia.md +296 -0
- package/skills/frontend/references/design/ollama.md +270 -0
- package/skills/frontend/references/design/opencode.ai.md +284 -0
- package/skills/frontend/references/design/output-skill.md +49 -0
- package/skills/frontend/references/design/pinterest.md +233 -0
- package/skills/frontend/references/design/playstation.md +367 -0
- package/skills/frontend/references/design/posthog.md +259 -0
- package/skills/frontend/references/design/raycast.md +271 -0
- package/skills/frontend/references/design/react-dev-tooling-skill.md +232 -0
- package/skills/frontend/references/design/redesign-skill.md +178 -0
- package/skills/frontend/references/design/renault.md +314 -0
- package/skills/frontend/references/design/replicate.md +264 -0
- package/skills/frontend/references/design/resend.md +306 -0
- package/skills/frontend/references/design/revolut.md +188 -0
- package/skills/frontend/references/design/runwayml.md +247 -0
- package/skills/frontend/references/design/sanity.md +360 -0
- package/skills/frontend/references/design/sentry.md +265 -0
- package/skills/frontend/references/design/shopify.md +353 -0
- package/skills/frontend/references/design/soft-skill.md +98 -0
- package/skills/frontend/references/design/spacex.md +197 -0
- package/skills/frontend/references/design/spotify.md +249 -0
- package/skills/frontend/references/design/starbucks.md +583 -0
- package/skills/frontend/references/design/stitch-design-example.md +121 -0
- package/skills/frontend/references/design/stitch-skill.md +184 -0
- package/skills/frontend/references/design/stripe.md +325 -0
- package/skills/frontend/references/design/supabase.md +258 -0
- package/skills/frontend/references/design/superhuman.md +255 -0
- package/skills/frontend/references/design/taste-skill.md +1206 -0
- package/skills/frontend/references/design/tesla.md +289 -0
- package/skills/frontend/references/design/theverge.md +342 -0
- package/skills/frontend/references/design/together.ai.md +266 -0
- package/skills/frontend/references/design/uber.md +298 -0
- package/skills/frontend/references/design/vercel.md +313 -0
- package/skills/frontend/references/design/vodafone.md +426 -0
- package/skills/frontend/references/design/voltagent.md +326 -0
- package/skills/frontend/references/design/warp.md +256 -0
- package/skills/frontend/references/design/webflow.md +95 -0
- package/skills/frontend/references/design/wired.md +281 -0
- package/skills/frontend/references/design/wise.md +176 -0
- package/skills/frontend/references/design/x.ai.md +260 -0
- package/skills/frontend/references/design/zapier.md +331 -0
- package/skills/frontend/references/perfection/README.md +264 -0
- package/skills/frontend/references/perfection/react-perf-tooling.md +234 -0
- package/skills/frontend/references/ui-ux-db/README.md +659 -0
- package/skills/frontend/references/ui-ux-db/data/app-interface.csv +31 -0
- package/skills/frontend/references/ui-ux-db/data/charts.csv +26 -0
- package/skills/frontend/references/ui-ux-db/data/colors.csv +162 -0
- package/skills/frontend/references/ui-ux-db/data/google-fonts.csv +1924 -0
- package/skills/frontend/references/ui-ux-db/data/icons.csv +106 -0
- package/skills/frontend/references/ui-ux-db/data/landing.csv +35 -0
- package/skills/frontend/references/ui-ux-db/data/products.csv +162 -0
- package/skills/frontend/references/ui-ux-db/data/react-performance.csv +45 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/angular.csv +51 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/astro.csv +54 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/flutter.csv +53 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/html-tailwind.csv +56 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/jetpack-compose.csv +53 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/laravel.csv +51 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/nextjs.csv +53 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/nuxt-ui.csv +51 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/nuxtjs.csv +59 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/react-native.csv +52 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/react.csv +54 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/shadcn.csv +61 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/svelte.csv +54 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/swiftui.csv +51 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/threejs.csv +54 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/vue.csv +50 -0
- package/skills/frontend/references/ui-ux-db/data/styles.csv +85 -0
- package/skills/frontend/references/ui-ux-db/data/typography.csv +74 -0
- package/skills/frontend/references/ui-ux-db/data/ui-reasoning.csv +162 -0
- package/skills/frontend/references/ui-ux-db/data/ux-guidelines.csv +100 -0
- package/skills/frontend/references/ui-ux-db/data/web-interface.csv +31 -0
- package/skills/frontend/references/ui-ux-db/scripts/core.py +262 -0
- package/skills/frontend/references/ui-ux-db/scripts/design_system.py +1148 -0
- package/skills/frontend/references/ui-ux-db/scripts/search.py +114 -0
- package/skills/frontend/scripts/perfection/lighthouse-audit.py +201 -0
- package/skills/git-master/SKILL.md +115 -0
- package/skills/git-master/agents/openai.yaml +13 -0
- package/skills/init-deep/SKILL.md +282 -0
- package/skills/receiving-code-review/SKILL.md +117 -7
- package/skills/remove-ai-slops/SKILL.md +160 -8
- package/skills/requesting-code-review/SKILL.md +98 -3
- package/skills/requesting-code-review/code-reviewer.md +59 -0
- package/skills/subagent-driven-development/SKILL.md +179 -6
- package/skills/subagent-driven-development/code-quality-reviewer-prompt.md +23 -0
- package/skills/subagent-driven-development/implementer-prompt.md +87 -0
- package/skills/subagent-driven-development/spec-reviewer-prompt.md +37 -0
- package/skills/using-git-worktrees/SKILL.md +144 -0
- package/skills/writing-plans/SKILL.md +126 -7
- package/skills/writing-plans/plan-document-reviewer-prompt.md +47 -0
package/README.md
CHANGED
|
@@ -1,90 +1,78 @@
|
|
|
1
|
-
#
|
|
1
|
+
# DSMM for DeepSeek Harness
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
DSMM (`@dsmm/dsmm`) adds native configuration, role delegation and child controls to DeepSeek Harness. **DSMM** is the Plugins page and package title; **Deepwork** is its optional workflow module. It isn't an OpenCode compatibility layer.
|
|
4
4
|
|
|
5
|
-
This
|
|
5
|
+
This guide describes the **local source candidate**, targeting `@deepseek-ai/dsh@0.2.0-rc.2` and Node.js 22 or later. `package.json` still says `0.2.0`, an already published registry version. The new source features described here aren't a claim that the registry artifact was updated or a new npm release was published. Use the actual local packed artifact for candidate evaluation. Package/smoke acceptance and actual Desktop activation are separate checks, not implied by this documentation.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## What the candidate provides
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
### Native configuration and profiles
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
**Plugins → DSMM** edits the sparse global deployment base. The bundle and actual row Config pages also expose the native profile override when the Host supplies its authorized form. **Save Global DSMM** changes only central `config.json`; **Save current DSH profile override** changes only that exact native entry's patch. Neither save restarts the Host, cancels work or applies a named profile. Core settings remain usable without a session and with Deepwork cold-off.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
**Settings → Deepwork Profiles** separates four states: editor draft, saved revision, future-default pin and current-session admission. Save doesn't activate a revision. Future-default selection leaves existing Agents alone; current-session Apply requires the exact idle ordinary root, selection CAS and admission epoch. Invalid JSONC and conflicts remain visible without discarding the draft. `blank-label` is a nonblocking warning; unknown, unsafe and retired fields still refuse.
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
- Seven scoped core workflow skills synchronized with current ocmm: risk-based discovery, complex-work planning and criticism, bounded implementation, evidence-led review, parallel execution, and behavior-preserving cleanup.
|
|
17
|
-
- Twelve native roles displayed as `DW …`, with enabled DW Orchestrator, DW Builder, and DW Planner eligible for the native root Agent preset selector. The other nine roles remain auxiliary delegation roles; disabled Builder is absent from both selector and child tools. Read-only constraints are enforced through native tool composition. Models remain user-selected; Oracle names alone do not guarantee model heterogeneity.
|
|
18
|
-
- Exact-route V41 Flash calibration for `deepseek-official/deepseek-flash` and `deepseek-account/deepseek-flash`, preserving V4 Pro settings. Runtime selects only adapter-advertised reasoning efforts.
|
|
19
|
-
- Delegated-role provider/model/exact-effort controls, ordered candidates, independent per-role `startup-lock` (default) or explicit `rate-limit-fallback`, and finite correlated no-output-safe retries. Ordinary roots keep their native initial model and exact effort, not a profile-role primary; explicit native model choices remain authoritative across later turns, profile reapply and cold resume. Supported explicit overrides survive for trusted live, owned, zero-prefix one-shot children. No new model-visible model-selection permission is added; exact configured efforts are not downgraded.
|
|
20
|
-
- Native Settings → Deepwork Profiles (`Deepwork 配置档`) with structured role/retry controls and byte-preserving Advanced JSONC. Global default and current-session Apply are distinct; CAS-protected sidecars pin independent immutable revisions and admission epochs. Save alone activates neither scope.
|
|
21
|
-
- One icon-only native profile menu with one profile list: normal profile switching keeps the current model after successful profile CAS and never selects a model. The single `@use-model` action, **Use profile model**, reads the current admitted immutable profile's model without reapplying a subsequently saved draft revision. It uses native model selection and native-default persistence like the Models tab, with existing manual-model-intent race fencing; a newer native choice remains authoritative. Sessionless and blank views retain an inspectable menu; disabled mutations do not hide state or refresh. Successes use accessible live announcements only, never persistent visible success prose; errors are short sanitized allowlisted codes/fields with refresh/retry guidance, never raw wire messages or paths.
|
|
22
|
-
- **Deepwork** toggle for other native presets: official minimal conversations default off unless a saved explicit `deepwork/mode` event says otherwise. Explicit same-default choices are persisted, and mode intent survives profile changes and reopen. Standing DW presets are locked enabled with a clear label, not an operable off action; sessionless, busy or unavailable mutations fail closed.
|
|
23
|
-
- Scoped shell/Git/plan/question/todo guards and separately opt-in bounded idle continuation.
|
|
24
|
-
- Optional external `ocmm-lsp mcp` integration with nine tools including atomic `format`. Debugging/DAP is an on-demand skill, not additional LSP tools or automatic prompt injection.
|
|
15
|
+
The Conversation profile menu preserves the native model when switching profiles. Its separate **Use profile model** action reads the current admitted immutable revision, not a later saved draft. Newer native model/effort intent remains authoritative. The **Deepwork** toggle persists explicit intent, including same-default choices; DW presets default on but can be turned off without losing persona or permission boundaries. Sessionless controls don't create a session, and busy/unavailable mutations fail closed. See [profiles](docs/profiles.md) and [settings/status](docs/settings-status.md).
|
|
25
16
|
|
|
26
|
-
|
|
17
|
+
### Roles, models and language
|
|
27
18
|
|
|
28
|
-
|
|
19
|
+
The inventory contains 11 base roles and 11 categories displayed as `DW …`. Only enabled Orchestrator, Builder and Planner are root-eligible; the other 19 are auxiliary. Cross-cutting defaults off. Role-disabled diagnostics distinguish required roles, startup availability, deployment enablement and actual admission. Catalog visibility isn't execution permission, and role names don't guarantee different models.
|
|
29
20
|
|
|
30
|
-
|
|
21
|
+
Delegation supports `level:"normal"` by default and explicitly configured `low`, `high` and `max` for eligible targets. Exact unsupported effort refuses rather than degrading. `subagents.toolTopology` selects per-role tools or parameterized `dsmm_role`/`dsmm_category` tools. Model-facing `route` overrides are absent unless deployment explicitly grants them; named profiles can't grant that permission. Ordinary roots retain native provider/model/effort. Child primary routes supply defaults, not unconditional overrides.
|
|
31
22
|
|
|
32
|
-
|
|
23
|
+
Named profiles can narrow enabled roles and capture visible-output `locale`: `en`, `zh-Hans`, `zh-Hant`, `ja`, `ko`, `de`, `fr`, `es`, `pt-BR`, or `ru`. A user's explicit output-language request wins. Locale doesn't change internal reasoning, UI/project language, technical IDs or exact quotations. Children keep their captured route, locale and authority after a parent profile change. See [model routing](docs/model-routing.md) and [Agent presets and child control](docs/agent-presets.md).
|
|
33
24
|
|
|
34
|
-
|
|
25
|
+
### Child execution and controls
|
|
35
26
|
|
|
36
|
-
|
|
27
|
+
Foreground one-shot is the default. With explicitly enabled native jobs, an authorized handoff transfers the **same running native one-shot** to background, preserving its run identity rather than spawning a second child. The child panel shows real runs, direct children and a read-only descendant tree, with initial capture versus own native request route and explicit unknown/disabled states.
|
|
28
|
+
|
|
29
|
+
Managed direct continuable children support **Queue**, **Steer** and interrupt under current exact-parent authority. Idle/cold continuation retains the durable child ID; a terminal one-shot isn't a continuable session. An inbox receipt means accepted, not completed. Unknown transport outcomes retain the draft and disable automatic resend. Refresh doesn't retry a send. These controls require the explicit ready Host runtime described below; seeing a panel or role catalog alone doesn't prove availability.
|
|
30
|
+
|
|
31
|
+
Native Host ownership still governs lifecycle, depth, permissions, cancellation, storage, attachments and model authentication. DSMM adds capture and delivery fences, not a replacement scheduler or a second retry dispatcher. [Runtime recovery](docs/runtime-recovery.md) describes finite, positively no-output-safe retries and per-role `startup-lock`/opt-in `rate-limit-fallback`; partial text, reasoning or tool fragments forbid replay.
|
|
32
|
+
|
|
33
|
+
### Workflow resources
|
|
34
|
+
|
|
35
|
+
Fourteen configurable Agent-scoped skills use metadata discovery and lazy body loading. Explicit Deepwork off hides DSMM skills without removing Host/project skills or role restrictions. Scoped shell/Git/plan/question/todo guards remain bounded by native authority. Idle continuation is separately opt-in. Debugging/DAP is an on-demand skill, not an automatic debugger service. `/deepwork [off|message]` and inspection-only `/dsmm-status [json]` are Host-adapter commands, not headless task-text commands.
|
|
36
|
+
|
|
37
|
+
DSMM-managed external LSP isn't enabled in this version. Its implementation, interfaces and original configuration remain, but automatic MCP mounting stays off even with `lsp.enabled:true` and DSMM's settings UI hides LSP controls. DSH's own LSP and independently configured MCP are unaffected. The retained historical manual patch isn't a supported DSMM activation entry. Existing release checks still independently validate the retained LSP interface, without making automatic integration a delivered feature. See [LSP boundary](docs/lsp.md).
|
|
38
|
+
|
|
39
|
+
## Use a local artifact
|
|
40
|
+
|
|
41
|
+
Start with the built and packed candidate supplied by your artifact checks, not a registry reinstall of `0.2.0`. For a disposable CLI evaluation, the minimal installation step is:
|
|
37
42
|
|
|
38
43
|
```powershell
|
|
39
|
-
pnpm --dir dsmm build
|
|
40
|
-
pnpm --dir dsmm pack --pack-destination <temporary-artifact-directory>
|
|
41
44
|
$env:DSH_HOME = "<disposable-test-home>"
|
|
42
|
-
dsh --profile <profile> --from-default-profile headless --dump-config
|
|
43
|
-
dsh plugin --profile <profile> add <absolute-path-to-
|
|
44
|
-
dsh --profile <profile> --dump-config
|
|
45
|
+
dsh --profile <test-profile> --from-default-profile headless --dump-config
|
|
46
|
+
dsh plugin --profile <test-profile> add <absolute-path-to-local-candidate.tgz>
|
|
47
|
+
dsh --profile <test-profile> --dump-config
|
|
45
48
|
```
|
|
46
49
|
|
|
47
|
-
|
|
50
|
+
Use an empty test home and a fresh profile. These are operator-run examples, not permission to install software or touch a real Desktop/TUI profile. Headless needs a separately configured native provider and effective `defaultActive:true` for task execution; it doesn't select Agent presets. Don't copy credentials or account records into a test. `--dump-config` shows native Loader composition, not the full global-aware DSMM admission.
|
|
48
51
|
|
|
49
|
-
|
|
52
|
+
For a real installation, authorize the target carrier and profile separately after artifact checks. Desktop and CLI/TUI profiles are independent. Keep the existing provider/account configuration, exact effort, unrelated Loader rows and history. Desktop package handling belongs to its installation-owned carrier with the app fully quit; a standalone CLI or copied Desktop profile isn't a substitute, and package installation alone doesn't prove Electron activation.
|
|
50
53
|
|
|
51
|
-
|
|
52
|
-
- id: dsmm
|
|
53
|
-
config:
|
|
54
|
-
defaultActive: true
|
|
55
|
-
workflow:
|
|
56
|
-
policy: risk-based
|
|
57
|
-
deepseekFlashCalibration: auto
|
|
58
|
-
deepseekFlashDefaultReasoningEffort: high
|
|
59
|
-
```
|
|
54
|
+
### Explicit managed runtime startup
|
|
60
55
|
|
|
61
|
-
|
|
56
|
+
The default `cordis.patch.yml` adds only the main DSMM entry and **doesn't replace the stock runtime**. Managed delivery requires an explicit cold overlay based on [patches/subagent-runtime.yml](patches/subagent-runtime.yml), followed by an independent restart. Verify the actual native row identity, disable the stock `subagent` row, and bind one Host-owned DSMM runtime in the same scope. Preserve native spawn/fork/model/Gateway services and copy any explicit stock capacity/depth settings into the new row.
|
|
62
57
|
|
|
63
|
-
|
|
58
|
+
`@dsmm/dsmm/subagent-runtime` maps to `lib/runtime-integration.js`; its default export is the Host-owned startup plugin. It isn't automatic hot replacement or merely the bare runtime class. Inspect `binding`, `deliveryFenceReady` and `restartRequired` separately. A stock, missing or unready binding reports its limitation instead of claiming managed readiness. See [runtime composition](docs/settings-status.md#child-runtime-composition) and [compatibility](docs/compatibility.md).
|
|
64
59
|
|
|
65
|
-
|
|
60
|
+
### Configuration and capture boundaries
|
|
66
61
|
|
|
67
|
-
|
|
62
|
+
Resolution is **defaults → sparse global deployment → explicit native entry/profile → immutable named overlay**. Objects merge, arrays replace, and unset removes only the current layer's key. Global storage is `<resolvedDshHome>/plugins/dsmm`, a DSMM convention; trusted home resolution uses explicit `profileContext.home`, then `DSH_HOME`, then the native `~/.dsh` default.
|
|
68
63
|
|
|
69
|
-
|
|
64
|
+
Startup freezes mounted capabilities. New ordinary roots capture current valid desired deployment; existing roots, including blank ones, and their future children keep their baseline. Explicit idle profile Apply replaces only the permitted overlay on that old baseline. Existing children stay captured. Saves don't remount services or upgrade permissions; absent startup capability requires restart. Global-only `modules.deepwork.enabled` defaults true, while ordinary mode defaults off. Turning the module on from cold-off requires an explicit restart.
|
|
70
65
|
|
|
71
|
-
|
|
66
|
+
Global writes retain byte-revision CAS, cooperative locking and final recheck; native profile saves retain their own authorization/CAS. They aren't a cross-layer transaction or protection against every non-cooperating editor. The fixed configuration RPC requires the real native operator peer, public loopback bind, writable Host and lifetime rechecks. A loopback-looking URL or client assertion doesn't grant access.
|
|
72
67
|
|
|
73
|
-
|
|
74
|
-
pnpm --dir dsmm typecheck:test
|
|
75
|
-
pnpm --dir dsmm test
|
|
76
|
-
pnpm --dir dsmm check:release
|
|
77
|
-
pnpm --dir dsmm smoke:docker
|
|
78
|
-
```
|
|
68
|
+
Durable DSMM metadata needs explicit deployment-only `sessionPersistence` on the main entry, preserving the existing effective root/compression and disabling the exact stock JSONL row at startup. The public `./session-persistence` export is a library building block, not a second Loader entry. See [persistence compatibility](docs/compatibility.md#session-persistence-compatibility).
|
|
79
69
|
|
|
80
|
-
|
|
70
|
+
## Upgrade and safety limits
|
|
81
71
|
|
|
82
|
-
|
|
83
|
-
node dsmm/scripts/live-dsh-smoke.mjs --runtime <npm-prefix-with-pinned-dsh> --package <packed-dsmm.tgz> --provider deepseek-account --credentials <existing-dsh-credentials-file> --receipt <sanitized-receipt.json>
|
|
84
|
-
```
|
|
72
|
+
The experimental legacy read adapter is **off by default** and programmatic-only. `DsmmHostStartupOptions.experimentalLegacyRead` requires real closed Host collaborators through `createDsmmHostPlugin` or named `apply`'s third argument. The old `legacyRead` option isn't consumed. No YAML/JSON flag certifies Host callbacks, approvals or durability. Cross-process cleanup, pre-drain ordering and published replay aren't fully verified; missing capability stays unavailable. See [legacy boundaries](docs/compatibility.md#experimental-legacy-read).
|
|
85
73
|
|
|
86
|
-
|
|
74
|
+
Existing exact legacy profile libraries stay read-only with their immutable pins; there is no automatic migration or same-name fallback. Retired `deepseekV4ProMaxReasoningPresets` and `deepseekFlashMaxReasoningPresets` reject with `deprecated-field`; configure explicit levels deliberately, without rewriting old fields automatically. Older auxiliary-root sessions can fail native cold resume. Preserve history and obtain direction rather than substituting a persona or resetting a session.
|
|
87
75
|
|
|
88
|
-
|
|
76
|
+
For earlier ocmm adapters, consult the [historical migration guide](docs/migration-from-ocmm.md). [Source synchronization](docs/skill-sync.md) covers fixed-pin resources and offline readiness. [Release policy](docs/releasing.md) covers publication evidence, which doesn't establish this candidate's Desktop/TUI activation. No user configuration, account, history or installation is automatically changed.
|
|
89
77
|
|
|
90
|
-
|
|
78
|
+
*Author's note: For a DSH operator evaluating the local candidate; use an isolated artifact first and authorize each real installation or compatibility repair separately.*
|
|
@@ -1,36 +1,68 @@
|
|
|
1
1
|
- id: persona
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
|
-
prefix:
|
|
4
|
+
prefix: |-
|
|
5
|
+
You are DW Builder (role ID: dsmm-builder).
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<ocmm-locale-guidance>
|
|
10
|
+
Language and locale:
|
|
11
|
+
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
12
|
+
- When neither captured locale nor applicable host/user language guidance is supplied, infer the preferred visible-output language from the current request and conversation context. This does not configure reasoning language or the host/project locale.
|
|
13
|
+
- If the user mixes languages, use the language that best matches the current request.
|
|
14
|
+
- Preserve code, identifiers, file paths, commands, protocol names, quotes, and user-requested wording in their original language when accuracy requires it.
|
|
15
|
+
- If the user explicitly asks for a different output language for a specific answer, follow that local request unless it conflicts with higher-priority instructions.
|
|
16
|
+
</ocmm-locale-guidance>
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
Primary implementer. Handles execution-heavy work and complex multi-step implementation. Uses the configured implementation-capable model when available.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
<dsmm-host-contract>
|
|
25
|
+
Use the current DSH 0.2.0-rc.2 catalog: read/glob/grep for files, web_search/web_fetch for external facts, write/edit and the actual bash/pwsh for authorized edits and execution, and native skill invocation for triggered skills. Native read takes file_path; inspect actual schemas, not OpenCode field names. Use exposed ask_user_question or ask a material question in conversation. Use exposed todo_write for useful Agent-owned whole-list tracking under its actual concurrency policy. Use LSP/browser/read_image only when present and supported by the actual route; fall back to direct evidence or report the capability unavailable. No Task/todowrite/compress/Context7 MCP API is assumed; host compaction is not an OCMM compression tool.
|
|
26
|
+
Logical source role names map to IDs dsmm-<name> (explore is only the code-search alias). Inspect this Agent's actual admitted tool inventory: per-role exposes individual role tools plus dsmm_category; parameterized exposes dsmm_role/dsmm_category and their permitted target enums. description/prompt are assignment inputs; optional level, route and run_in_background depend on the actual schema and captured admission. Omitted/normal retains the default route; low/high/max requires that target's configured complete route or effort-only override, with exact native preflight. route additionally needs deployment allowRouteOverride=true; no suffix role/tool or arbitrary effort is inferred. Layout/level never changes target/read-only/depth/ownership authority. A read-only planner returns complete Markdown for authorized coordinator persistence, never through file/shell writes or a child proxy.
|
|
27
|
+
One-shot defaults foreground and is never revived after settlement. When enabled and admitted, native jobs own one-shot background; a managed continuable configuration defaults background and returns a durable child ID, while explicit run_in_background:false starts a non-reusable one-shot. Existing continuable children use actual exposed send_message for running/idle/same-ID cold delivery and actual native user queue/steer; acceptance is not completion. Original child route/locale/authority remains captured and intersects current exact-parent authority, not parent-new-policy inheritance. Legacy conservative evidence permits useful proven capabilities and denies missing-evidence capabilities with reasons. A foreground handoff, only through an actually wired user control, moves the existing run to native-job ownership without another start; no static text declares a new tool or RPC. Managed delivery requires disabling the stock subagents row and binding the unique PUBLIC DSMM SubagentRuntime subclass at explicit startup, then restart. Stock cannot be hot-replaced. Background/capacity/depth/ownership/cancellation remain mandatory. Native continuation is not task_id/resume/retry.
|
|
28
|
+
The native main model picker, explicit user route and catalog are authoritative. Model guidance calibrates behavior only; it does not select an OCMM provider/model, grant permissions, declare external independence or change advertised effort. Oracle independence requires a different model was explicitly selected and verified in the actual route. Default inventory has no synthetic tiers or additional Oracle slots.
|
|
29
|
+
Follow the current user's explicit visible-output language request, then this Agent's immutable captured locale when supplied, then applicable host/user language guidance or current request/context. All DSMM roles/categories follow this priority even with common mode off. Preserve identifiers, code, paths, commands, protocol fields and exact quotes; child assignments retain explicit language requests. This contract copies no Root locale/configuration, promises no internal reasoning language and changes neither host UI nor project locale.
|
|
30
|
+
Role persona and access remain when Deepwork is explicitly off; common workflow and DSMM skills do not. Git/install/login/destructive actions need exact authorization regardless of mode. All delegation guidance is intersected with enabled roles, mounted capabilities, inherited permissions and native depth; runtime policy enforces those ceilings, not these static texts.
|
|
31
|
+
</dsmm-host-contract>
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
<ocmm-shell-command-safety>
|
|
36
|
+
# Shell Command Safety
|
|
37
|
+
|
|
38
|
+
- Keep terminal commands short and inspectable. Do not combine unrelated setup, validation, execution, and cleanup into one complex invocation, especially when filesystem changes are involved.
|
|
39
|
+
- Avoid hard-to-audit complex shell commands, nested scripts, and large inline Node.js, Python, or other-language programs; prefer dedicated files or structured tools and short, inspectable single-purpose commands. Simple `node -e`/`python -c` probes and proportionate scripts are fine. When complex logic needs a script, give it a clear purpose in a standalone file and run it directly; temporary-script cleanup may remove only files created for the current task.
|
|
40
|
+
- In PowerShell, do not use `$home` or any case variant as a custom variable: variable names are case-insensitive and `$HOME` is an automatic variable. Use a specific, purpose-named variable instead.
|
|
41
|
+
- Treat recursive or batch deletion as a fail-closed operation. Prefer an exact literal target. If a variable is unavoidable, require it to be explicitly assigned and non-empty in the current command, resolve and inspect the target immediately before deletion, and abort unless it is exactly the intended path.
|
|
42
|
+
- Never recursively or batch-delete a filesystem root, the user home, the workspace, an ancestor of the workspace, or an unexpected parent directory. Keep destructive cleanup separate from setup and execution so the target can be reviewed again before it runs.
|
|
43
|
+
</ocmm-shell-command-safety>
|
|
44
|
+
|
|
45
|
+
<dsmm-delegation-contract>
|
|
46
|
+
A trusted root/stage-owner builder coordinates authorized work and owns formal planning, criticism, review dispatch and final acceptance. Root Builder is not a bounded worker. A native child Builder has only bounded implementation authority: direct tools first, permitted utility leaves only, no workflow/peer/local-coordinator dispatch. Do not self-promote from a persona or root preset name. Missing/conflicting trusted identity fails closed. Actual role tools, enablement, host permissions and native depth remain the ceiling.
|
|
47
|
+
</dsmm-delegation-contract>
|
|
5
48
|
- id: agent-instructions
|
|
6
49
|
name: '@deepseek-ai/dsh-agent-instructions'
|
|
7
50
|
config:
|
|
8
51
|
maxBytes: 65536
|
|
9
52
|
- id: tool-fs
|
|
10
|
-
name: '@
|
|
53
|
+
name: '@dsmm/dsmm/permission-fs'
|
|
11
54
|
- id: tool-fs-search
|
|
12
|
-
name: '@
|
|
55
|
+
name: '@dsmm/dsmm/permission-fs-search'
|
|
13
56
|
config:
|
|
14
57
|
sampleOverCapGlobResults: false
|
|
15
58
|
- id: tool-web
|
|
16
|
-
name: '@
|
|
59
|
+
name: '@dsmm/dsmm/permission-web'
|
|
17
60
|
config:
|
|
18
61
|
fetch: true
|
|
19
62
|
- id: skill-filesystem
|
|
20
63
|
name: '@deepseek-ai/dsh-skill-filesystem'
|
|
21
64
|
- id: tool-skill
|
|
22
65
|
name: '@deepseek-ai/dsh-tool-skill'
|
|
23
|
-
- id: dsmm-preset-skills
|
|
24
|
-
name: '@dsmm/dsmm/preset-skills'
|
|
25
|
-
config:
|
|
26
|
-
skills:
|
|
27
|
-
- 'brainstorming'
|
|
28
|
-
- 'writing-plans'
|
|
29
|
-
- 'requesting-code-review'
|
|
30
|
-
- 'receiving-code-review'
|
|
31
|
-
- 'subagent-driven-development'
|
|
32
|
-
- 'dispatching-parallel-agents'
|
|
33
|
-
- 'remove-ai-slops'
|
|
34
66
|
- id: tool-bash
|
|
35
67
|
name: '@deepseek-ai/dsh-tool-bash'
|
|
36
68
|
disabled: !!js process.platform === 'win32'
|
|
@@ -39,174 +71,47 @@
|
|
|
39
71
|
disabled: !!js process.platform !== 'win32'
|
|
40
72
|
- id: tool-jobs
|
|
41
73
|
name: '@deepseek-ai/dsh-tool-jobs'
|
|
42
|
-
- id:
|
|
43
|
-
name: '
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
- id:
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
provider: 'dsmm-role-reviewer'
|
|
87
|
-
toolName: 'dsmm_reviewer'
|
|
88
|
-
modelSelectionSettings: false
|
|
89
|
-
backgroundMode: 'one-shot'
|
|
90
|
-
enableRunInBackground: false
|
|
91
|
-
persona: |-
|
|
92
|
-
You are DW Reviewer (role ID: dsmm-reviewer), a dsh-native implementation reviewer.
|
|
93
|
-
Read the current implementation diff and new files against requirements, conventions and verification. Prioritize actionable correctness and regression findings. This is primary-model or primary-lane self-review, not external Oracle review. Do not modify files or perform Git writes.
|
|
94
|
-
toolFilter:
|
|
95
|
-
allow:
|
|
96
|
-
- 'read'
|
|
97
|
-
- 'glob'
|
|
98
|
-
- 'grep'
|
|
99
|
-
- id: subagent-dsmm-oracle
|
|
100
|
-
name: '@deepseek-ai/dsh-tool-subagent'
|
|
101
|
-
config:
|
|
102
|
-
provider: 'dsmm-role-oracle'
|
|
103
|
-
toolName: 'dsmm_oracle'
|
|
104
|
-
modelSelectionSettings: false
|
|
105
|
-
backgroundMode: 'one-shot'
|
|
106
|
-
enableRunInBackground: false
|
|
107
|
-
persona: 'You are DW Oracle (role ID: dsmm-oracle), first-priority implementation cross-check. Read only; inspect the current diff, evidence and requirements for concrete defects. Your role is externally heterogeneous only when the caller selects a different available model; do not claim model independence when inheriting the parent''s route. Do not implement or perform Git writes.'
|
|
108
|
-
toolFilter:
|
|
109
|
-
allow:
|
|
110
|
-
- 'read'
|
|
111
|
-
- 'glob'
|
|
112
|
-
- 'grep'
|
|
113
|
-
- id: subagent-dsmm-oracle-2nd
|
|
114
|
-
name: '@deepseek-ai/dsh-tool-subagent'
|
|
115
|
-
config:
|
|
116
|
-
provider: 'dsmm-role-oracle-2nd'
|
|
117
|
-
toolName: 'dsmm_oracle_2nd'
|
|
118
|
-
modelSelectionSettings: false
|
|
119
|
-
backgroundMode: 'one-shot'
|
|
120
|
-
enableRunInBackground: false
|
|
121
|
-
persona: 'You are DW Oracle 2nd (role ID: dsmm-oracle-2nd), second-priority implementation cross-check, not a higher-capability rank. Read only; report concrete defects in the current diff and evidence. An external model must be explicitly selected; the role label alone is no proof of independence. Do not implement or perform Git writes.'
|
|
122
|
-
toolFilter:
|
|
123
|
-
allow:
|
|
124
|
-
- 'read'
|
|
125
|
-
- 'glob'
|
|
126
|
-
- 'grep'
|
|
127
|
-
- id: subagent-dsmm-creative
|
|
128
|
-
name: '@deepseek-ai/dsh-tool-subagent'
|
|
129
|
-
config:
|
|
130
|
-
provider: 'dsmm-role-creative'
|
|
131
|
-
toolName: 'dsmm_creative'
|
|
132
|
-
modelSelectionSettings: false
|
|
133
|
-
backgroundMode: 'one-shot'
|
|
134
|
-
enableRunInBackground: false
|
|
135
|
-
persona: 'You are DW Creative (role ID: dsmm-creative). Explore distinct coherent approaches, state trade-offs, constraints and a grounded recommendation. Remain read-only unless a separate implementation assignment authorizes changes. Do not perform Git writes.'
|
|
136
|
-
toolFilter:
|
|
137
|
-
allow:
|
|
138
|
-
- 'read'
|
|
139
|
-
- 'glob'
|
|
140
|
-
- 'grep'
|
|
141
|
-
- id: subagent-dsmm-code-search
|
|
142
|
-
name: '@deepseek-ai/dsh-tool-subagent'
|
|
143
|
-
config:
|
|
144
|
-
provider: 'dsmm-role-code-search'
|
|
145
|
-
toolName: 'dsmm_code_search'
|
|
146
|
-
modelSelectionSettings: false
|
|
147
|
-
backgroundMode: 'one-shot'
|
|
148
|
-
enableRunInBackground: false
|
|
149
|
-
persona: |-
|
|
150
|
-
You are DW Code Search (role ID: dsmm-code-search), a dsh-native codebase research specialist.
|
|
151
|
-
Search local project context for exact files, symbols, references, and conventions needed by the caller.
|
|
152
|
-
Summarize findings with paths and evidence; do not modify files.
|
|
153
|
-
toolFilter:
|
|
154
|
-
allow:
|
|
155
|
-
- 'read'
|
|
156
|
-
- 'glob'
|
|
157
|
-
- 'grep'
|
|
158
|
-
- id: subagent-dsmm-doc-search
|
|
159
|
-
name: '@deepseek-ai/dsh-tool-subagent'
|
|
160
|
-
config:
|
|
161
|
-
provider: 'dsmm-role-doc-search'
|
|
162
|
-
toolName: 'dsmm_doc_search'
|
|
163
|
-
modelSelectionSettings: false
|
|
164
|
-
backgroundMode: 'one-shot'
|
|
165
|
-
enableRunInBackground: false
|
|
166
|
-
persona: |-
|
|
167
|
-
You are DW Doc Search (role ID: dsmm-doc-search), a dsh-native documentation research specialist.
|
|
168
|
-
Find current documentation and real examples for libraries, APIs, CLIs, and services relevant to the task.
|
|
169
|
-
Cite source locations, separate facts from assumptions, and avoid guessing when documentation is unavailable.
|
|
170
|
-
toolFilter:
|
|
171
|
-
allow:
|
|
172
|
-
- 'read'
|
|
173
|
-
- 'glob'
|
|
174
|
-
- 'grep'
|
|
175
|
-
- 'web_search'
|
|
176
|
-
- 'web_fetch'
|
|
177
|
-
- id: subagent-dsmm-clarifier
|
|
178
|
-
name: '@deepseek-ai/dsh-tool-subagent'
|
|
179
|
-
config:
|
|
180
|
-
provider: 'dsmm-role-clarifier'
|
|
181
|
-
toolName: 'dsmm_clarifier'
|
|
182
|
-
modelSelectionSettings: false
|
|
183
|
-
backgroundMode: 'one-shot'
|
|
184
|
-
enableRunInBackground: false
|
|
185
|
-
persona: |-
|
|
186
|
-
You are DW Clarifier (role ID: dsmm-clarifier), a dsh-native requirements clarification specialist.
|
|
187
|
-
Identify ambiguity in purpose, constraints, success criteria, and scope boundaries.
|
|
188
|
-
Ask at most three material questions, prefer concrete choices, and propose safe defaults when evidence is strong.
|
|
189
|
-
toolFilter:
|
|
190
|
-
allow:
|
|
191
|
-
- 'read'
|
|
192
|
-
- 'glob'
|
|
193
|
-
- 'grep'
|
|
194
|
-
- id: subagent-dsmm-media-reader
|
|
195
|
-
name: '@deepseek-ai/dsh-tool-subagent'
|
|
196
|
-
config:
|
|
197
|
-
provider: 'dsmm-role-media-reader'
|
|
198
|
-
toolName: 'dsmm_media_reader'
|
|
199
|
-
modelSelectionSettings: false
|
|
200
|
-
backgroundMode: 'one-shot'
|
|
201
|
-
enableRunInBackground: false
|
|
202
|
-
persona: |-
|
|
203
|
-
You are DW Media Reader (role ID: dsmm-media-reader), a dsh-native visual and document analysis specialist.
|
|
204
|
-
Extract text, structure, UI details, diagrams, and implementation-relevant facts from provided media.
|
|
205
|
-
Report uncertainty clearly and avoid inventing details that are not visible.
|
|
206
|
-
toolFilter:
|
|
207
|
-
allow:
|
|
208
|
-
- 'read'
|
|
209
|
-
- 'glob'
|
|
210
|
-
- 'grep'
|
|
211
|
-
- 'web_search'
|
|
212
|
-
- 'web_fetch'
|
|
74
|
+
- id: planning
|
|
75
|
+
name: 'cordis:group'
|
|
76
|
+
group: true
|
|
77
|
+
isolate:
|
|
78
|
+
planMode: true
|
|
79
|
+
config:
|
|
80
|
+
- id: plan-mode
|
|
81
|
+
name: '@deepseek-ai/dsh-plan-mode'
|
|
82
|
+
config:
|
|
83
|
+
section: |-
|
|
84
|
+
You are in plan mode. Stay in plan mode until exit_plan_mode succeeds or the user switches the session mode. Imperative language to implement changes means plan the implementation, not execute it. A user's conversational agreement — including an answer confirming something you asked — approves nothing and does not end plan mode; fold the confirmed decision into the plan and submit it through exit_plan_mode.
|
|
85
|
+
|
|
86
|
+
Explore first. Use non-mutating reads, searches, static analysis, and checks to ground the plan in the actual repository. Do not edit or write files, change configuration, run formatters or code generation that rewrites tracked files, commit, or otherwise carry out the plan. Prefer existing functions and patterns over new machinery.
|
|
87
|
+
|
|
88
|
+
The tool catalog stays the same across modes for request-cache stability. These plan-mode rules override any later tool description or guidance that suggests using mutation tools; those tools remain listed to keep the tool catalog unchanged. Do not use todo_write to track this planning phase: it tracks implementation after an approved plan, while the plan itself belongs in exit_plan_mode.
|
|
89
|
+
|
|
90
|
+
Resolve discoverable facts by inspection. Use ask_user_question only for user-owned choices or material ambiguity that inspection cannot answer. Do not ask the user where code lives or how current behavior works when you can find out.
|
|
91
|
+
|
|
92
|
+
Make the plan decision-complete: state the goal and success criteria; group implementation changes by subsystem; identify public API, schema, and data-flow changes; cover edge cases, failure modes, tests, acceptance criteria, and explicit assumptions. Keep it concise enough to review but detailed enough that another engineer can implement it without making design decisions.
|
|
93
|
+
|
|
94
|
+
When ready, call exit_plan_mode with the complete plan markdown, starting with a # title. Make exit_plan_mode the only and final tool call in that assistant response: it presents the plan for approval, and implementation begins only in a later step after approval. Do not paste the final plan as a plain reply or ask "should I proceed?" through prose or ask_user_question. If review rejects it, incorporate the feedback and present again. If the review channel is unavailable or aborted, stay in plan mode and ask the user to switch modes manually; do not proceed with implementation.
|
|
95
|
+
- id: compaction
|
|
96
|
+
name: 'cordis:group'
|
|
97
|
+
group: true
|
|
98
|
+
isolate:
|
|
99
|
+
compaction: true
|
|
100
|
+
toolResultPruner: true
|
|
101
|
+
config:
|
|
102
|
+
- id: compaction-basic
|
|
103
|
+
name: '@deepseek-ai/dsh-compaction-basic'
|
|
104
|
+
- id: command-compact
|
|
105
|
+
name: '@deepseek-ai/dsh-command-compact'
|
|
106
|
+
- id: tool-result-pruner
|
|
107
|
+
name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
|
|
108
|
+
config:
|
|
109
|
+
thresholdChars: 8192
|
|
110
|
+
headChars: 4096
|
|
111
|
+
tailChars: 1024
|
|
112
|
+
- id: tool-ask-user
|
|
113
|
+
name: '@deepseek-ai/dsh-tool-ask-user'
|
|
114
|
+
- id: tool-todo
|
|
115
|
+
name: '@deepseek-ai/dsh-tool-todo'
|
|
116
|
+
config:
|
|
117
|
+
allowParallelInProgress: true
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
id: dsmm-builder
|
|
2
2
|
name: 'DW Builder'
|
|
3
|
-
description: '
|
|
3
|
+
description: 'Primary implementer. Handles execution-heavy work and complex multi-step implementation. Uses the configured implementation-capable model when available.'
|