@dsmm/dsmm 0.3.38 → 0.3.40

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 CHANGED
@@ -4,14 +4,14 @@ DSMM 是 DeepSeek Harness(DSH)的插件。它让不同 Agent 分工处理任
4
4
 
5
5
  比如,让 Planner 拆解任务、Coding 写代码、Reviewer 检查结果,再由 Orchestrator 协调。各个角色可以用不同的模型,不必共用一套配置。
6
6
 
7
- 当前发布版本为 `@dsmm/dsmm@0.3.38`,支持 DSH `>=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-rc.1 <0.3.0`。安装前请确认客户端版本;范围外的 DSH 版本不受支持。Desktop 使用自带运行时,独立命令行环境需要 Node.js 22 或更高版本。
7
+ 当前发布版本为 `@dsmm/dsmm@0.3.40`,支持 DSH `>=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-rc.1 <0.3.0`。安装前请确认客户端版本;范围外的 DSH 版本不受支持。Desktop 使用自带运行时,独立命令行环境需要 Node.js 22 或更高版本。
8
8
 
9
9
  官方 DSH rc.3 以 `engines.dsh` 优先于 peer ranges 判定兼容性;锁文件保留 `0.2.1-rc.2` 作为开发基线。
10
10
 
11
11
  历史会话仅保守支持已有的原生读取和已验证的受限恢复路径,不承诺补齐旧版本行为或自动迁移。继续执行须满足当前身份与权限检查,历史批准不会恢复为当前授权。
12
12
 
13
13
  - 源码仓库:[hugefiver/dsmm](https://github.com/hugefiver/dsmm)
14
- - 安装来源:[npm (@dsmm/dsmm)](https://www.npmjs.com/package/@dsmm/dsmm);发布资产:[GitHub Releases (v0.3.38)](https://github.com/hugefiver/dsmm/releases/tag/v0.3.38)
14
+ - 安装来源:[npm (@dsmm/dsmm)](https://www.npmjs.com/package/@dsmm/dsmm);发布资产:[GitHub Releases (v0.3.40)](https://github.com/hugefiver/dsmm/releases/tag/v0.3.40)
15
15
 
16
16
  ---
17
17
 
@@ -22,7 +22,7 @@ DSMM 是 DeepSeek Harness(DSH)的插件。它让不同 Agent 分工处理任
22
22
  ### 初次安装
23
23
 
24
24
  1. 打开 DeepSeek Harness Desktop,进入 **插件(Plugins)** 页面。
25
- 2. 点击 **添加插件(Add plugin)**,输入 `@dsmm/dsmm@0.3.38` 并确认。
25
+ 2. 点击 **添加插件(Add plugin)**,输入 `@dsmm/dsmm@0.3.40` 并确认。
26
26
  3. 安装完成后,检查插件是否处于启用状态。如果界面提示需要重启,请按提示重启客户端。
27
27
 
28
28
  Desktop 的插件由客户端自己管理。全局 npm 安装和独立 npm 版 `dsh` 命令不能替代这一步。
@@ -34,7 +34,7 @@ DSH Desktop 当前不支持在界面中用同名版本原位覆盖更新插件
34
34
  1. 保存好正在进行的任务,**正常退出并完全关闭 DSH Desktop**。
35
35
  2. 使用 Desktop 安装自带的命令行工具更新配置。以下示例适用于 Windows 默认安装路径(`%LOCALAPPDATA%\Programs\DeepSeek Harness\`):
36
36
  ```powershell
37
- & "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add @dsmm/dsmm@0.3.38 --save-exact --ignore-scripts --registry=https://registry.npmjs.org
37
+ & "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add @dsmm/dsmm@0.3.40 --save-exact --ignore-scripts --registry=https://registry.npmjs.org
38
38
  ```
39
39
  *若安装在自定义路径,请替换为对应的实际位置;非 Windows 系统请参考 Desktop 自身菜单或官方指引,不要混用非 Desktop 的独立 CLI 命令。*
40
40
  3. 重新打开 DSH Desktop 即可加载新版本。
@@ -43,7 +43,7 @@ stale. Generated assets are package resources, not an alternate source of truth.
43
43
 
44
44
  Active Deepwork uses one DSMM-maintained source for model-neutral execution guidance: `prompts/source/shared/working-principles.md`. [Prompt assembly](../src/prompts.ts) inserts it after `general` for ordinary presets, or after role activation and before `default` for DW roles. Both paths then select [family calibration](model-routing.md#model-family-prompt-calibration) from the current route. A nonempty `overrideSection` replaces the common section, leaving applicable family calibration intact. With Deepwork off, neither section is injected.
45
45
 
46
- - **Ordinary native preset:** active Deepwork supplies [general guidance](../prompts/source/deepwork/general.md), shell safety, lazy skills and a short behavior summary for the model. The neutral opening omits the stock model announcement. The native persona, model, effort and delegation authority stay in place; activating Deepwork does not grant a DSMM role or its planner/critic tools.
46
+ - **Ordinary native preset:** active Deepwork supplies [general guidance](../prompts/source/deepwork/general.md), shell safety, lazy skills and behavior guidance for the selected model. GPT and Codex use the same [behavioral calibration](../prompts/source/deepwork/gpt.md) as DW roles; keep role and workflow instructions outside that resource. The neutral opening omits the stock model announcement. The native persona, model, effort and delegation authority stay in place; activating Deepwork does not grant a DSMM role or its planner/critic tools.
47
47
  - **Admitted DSMM role:** the explicit preset or trusted invocation supplies the persona and permissions. Deepwork adds the common workflow, then the selected model base and additive guidance. Planner uses its own base followed by applicable additives. A category keeps its own family guidance followed by the matching additive, without a base-agent Gemini, GLM or planner layer.
48
48
 
49
49
  The runtime catalog determines tool and skill availability. The six development skills apply at their respective software engineering stages; other work uses applicable domain skills and native delegation. A later user request supersedes only conflicting earlier user instructions. A permission gate may use the Host's explicitly offered approval for the same operation; user refusal or final denial ends it. If independent review is required, self-review does not satisfy it.
@@ -82,11 +82,11 @@ Root reassignment produces `in_progress` work, task mutations do not wake member
82
82
  and persistence-uncertain mutations require rereading rather than automatic replay.
83
83
  Task ownership and advisory write scopes never enlarge permissions.
84
84
 
85
- Execution guidance requires direct user-facing conclusions, reasons and actions.
86
- Use contrast or negation for an expressed misconception or a distinction that
87
- changes the conclusion, action, safety or scope. State necessary conditions,
88
- uncertainty and safety limits concretely and once; remove sentences that add no
89
- useful information without misleading the reader.
85
+ Direct expression applies to all authored natural language, including documentation,
86
+ comments, and interface copy. Use contrast when it changes meaning. Interface text
87
+ should help people decide, act, or recover; preserve necessary warnings, disclosures,
88
+ and accessible names. Quotations, translations, and creative work retain their source
89
+ meaning and requested voice.
90
90
 
91
91
  Effective Deepwork activation includes a short brainstorming orientation. Full
92
92
  brainstorming remains a native skill loaded only when material uncertainty calls
@@ -124,7 +124,7 @@ Provider call IDs can repeat across requests. Reuse never blocks delegation: amb
124
124
 
125
125
  ## Model-family prompt calibration
126
126
 
127
- With Deepwork active, [prompt assembly](../src/prompts.ts) selects guidance from the first recognized model identity in the current route. A provider name or later model name cannot supply its family or version. Ordinary presets get a short behavior summary for recognized models; admitted DW roles use the resources below. Selection changes prompt text, not native capabilities, reasoning effort or fallback routes.
127
+ With Deepwork active, [prompt assembly](../src/prompts.ts) selects guidance from the first recognized model identity in the current route. A provider name or later model name cannot supply its family or version. Ordinary presets and admitted DW roles share the same workflow-independent GPT/Codex calibration. For other recognized families, ordinary presets use a short behavior summary and DW roles use the resources below. Selection changes prompt text, not native capabilities, reasoning effort or fallback routes.
128
128
 
129
129
  | Recognized model | DW calibration |
130
130
  | --- | --- |
package/dsh-plugin.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "manifestVersion": "0.15",
4
4
  "id": "com.hugefiver.dsmm",
5
5
  "name": "DSMM",
6
- "version": "0.3.38",
6
+ "version": "0.3.40",
7
7
  "facets": {
8
8
  "host": {
9
9
  "entry": "lib/index.js",
package/lib/prompts.js CHANGED
@@ -20,7 +20,7 @@ function generalModelCalibration(model) {
20
20
  switch (recognized?.identifier) {
21
21
  case "gpt":
22
22
  case "codex":
23
- return "Read every named source completely, then narrow further discovery to the question that matters. When a proposed check, hash, or extra round cannot establish a required fact, skip it. Report material progress rather than each step; state the result and its evidence directly.";
23
+ return asset("deepwork/gpt.md");
24
24
  case "gemini":
25
25
  return recognized.gemini4OrLater
26
26
  ? "When information is needed, give a short opener and make the first available calls in the same turn. Check date-sensitive claims; distinguish observation from inference, proposals from edits, and a build from exercised behavior. Retry transient technical errors only when the operation is safe and idempotent; diagnose other technical errors before changing approach. Do not work around an access refusal."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsmm/dsmm",
3
- "version": "0.3.38",
3
+ "version": "0.3.40",
4
4
  "description": "Native Deepwork roles, routing, profiles, and permission controls for DeepSeek Harness.",
5
5
  "author": "Hugefiver",
6
6
  "license": "LicenseRef-AAAPL",
@@ -15,7 +15,7 @@ Make the smallest change that fully satisfies the request. Keep the common path
15
15
 
16
16
  Extend an existing test when it can catch a regression at the affected interface. Preserve valid safety and input-handling coverage; avoid duplicate assertions and production hooks solely for tests. Test observable behavior rather than pinning incidental prose, files, or environment state. Exercise the user-facing surface where applicable, reuse evidence that still covers it, and stop once the requested outcome and necessary checks are complete.
17
17
 
18
- In replies, documentation, and comments, state the fact or action directly. Use a contrast when it clarifies an actual distinction; omit habitual “not X, but Y” phrasing, filler, and disclaimers about imagined misunderstandings. Lead with the outcome and its evidence, and state material risks or missing verification once.
18
+ In all natural-language output you author, from replies and documentation to comments and interface copy, state the point directly. Omit imagined objections and repeated disclaimers. In interfaces, use clear labels; add text only when it helps someone choose, act, or recover, or communicates a required disclosure. Keep necessary warnings, accessible names, quotations, source meaning, and the requested voice.
19
19
 
20
20
  ---
21
21
 
@@ -1,13 +1,13 @@
1
1
  # Execution Discipline
2
2
 
3
- Read the supplied context and every named source completely. For further discovery, target the relevant symbol, path, or interface and stop once its evidence settles the question before planning or delegating. Identify the observable result. Explanation and investigation do not authorize edits.
3
+ Identify the requested outcome. Read the supplied context and each source the user names as a basis for the work in full. Narrow further discovery to the relevant symbol, path, or interface. Stop searching once the evidence settles the question; ask when a missing fact or user decision would change the result.
4
4
 
5
- Resolve ordinary gaps from evidence. Ask only when a choice would materially change the result or when required input, scope, acceptance, security, data, public interfaces, permissions, or an irreversible action needs a decision.
5
+ Keep the main task moving. If an unrelated defect surfaces, note its location and impact for follow-up. If it blocks delivery or makes proceeding unsafe, pause the affected work and report what is needed. Diagnose a technical failure before changing methods or parameters; use new results to choose the next step.
6
6
 
7
- Deliver the full requested scope. When an unrelated defect turns up, note its location and impact and continue unless it blocks the requested outcome. Diagnose technical failures before changing methods or parameters. For blocked access, use only an explicitly offered host approval path for the same operation; if none is offered, the denial is final, or the user refuses, stop that operation without a workaround. Event-driven updates supply input to active authorized work rather than ending it.
7
+ Before adding a check, lock, retry, or fallback, identify the requirement or reachable failure existing controls miss. Keep the normal path direct. Verify the affected interface and reuse passing evidence that still covers it. If a snapshot, hash, or extra round cannot establish anything the task requires, skip it and continue. Preserve required checks and distinguish product failures from a harness that never exercised the behavior.
8
8
 
9
- Complex product behavior uses orchestrator-owned `planner` → `plan-critic` → implementation, except limited, simple, low-risk, clearly bounded work or an explicit requested skip. Routine non-product work needs no automatic planning or review cycle. Git authorization remains specific to each operation.
9
+ Apply direct expression to all natural-language output you author, in any language or medium. Let the purpose of the text guide the opening: answer a question with the answer, start a procedure with the action, and write interface copy for the reader’s current task. In reports, give the observed result or blocker and the evidence that matters. Name a material gap once: “构建通过;登录流程还没测。”
10
10
 
11
- Before adding a check, lock, retry, or fallback, identify the requirement or reachable failure existing controls miss. Keep the normal path direct. Verify the affected interface and reuse passing evidence that still covers it. If a snapshot, hash, or extra round cannot establish anything the task requires, skip it and continue. Preserve required checks and distinguish product failures from a harness that never exercised the behavior.
11
+ Say Y directly when “not X, but Y” or “不是 X,而是 Y” merely rebuts an assumption nobody made. Replace chains like “不代表……也不意味着……更不能证明……” with the conclusion the evidence supports. Keep negation, contrast, or repetition when it conveys a real distinction, warning, obligation, or deliberate voice. Preserve exact quotations, source meaning in translations, and the requested genre.
12
12
 
13
- Report material progress or blockers rather than narrating calls. Lead with the outcome and evidence. Say Y directly instead of defaulting to “not X, but Y” or “不是 X,而是 Y”. Use a contrast when it corrects an actual misunderstanding or changes a decision. State any material uncertainty once; cut sentences that add no information.
13
+ In user interfaces, let clear labels do their job. Add help only for a non-obvious choice, a required format, a material consequence, or a way to recover. For a destructive action, name what will be lost; for an error, say what happened and how to proceed: “文件超过 10 MB,请选择较小的文件。” Remove text that repeats the heading or button, explains the obvious, or defends the product. Keep required disclosures and accessible names.
@@ -6,4 +6,4 @@ Make the smallest change that fully satisfies the request. Keep the common path
6
6
 
7
7
  Extend an existing test when it can catch a regression at the affected interface. Preserve valid safety and input-handling coverage; avoid duplicate assertions and production hooks solely for tests. Test observable behavior rather than pinning incidental prose, files, or environment state. Exercise the user-facing surface where applicable, reuse evidence that still covers it, and stop once the requested outcome and necessary checks are complete.
8
8
 
9
- In replies, documentation, and comments, state the fact or action directly. Use a contrast when it clarifies an actual distinction; omit habitual “not X, but Y” phrasing, filler, and disclaimers about imagined misunderstandings. Lead with the outcome and its evidence, and state material risks or missing verification once.
9
+ In all natural-language output you author, from replies and documentation to comments and interface copy, state the point directly. Omit imagined objections and repeated disclaimers. In interfaces, use clear labels; add text only when it helps someone choose, act, or recover, or communicates a required disclosure. Keep necessary warnings, accessible names, quotations, source meaning, and the requested voice.