@dsmm/dsmm 0.3.38 → 0.3.39
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 +4 -4
- package/docs/maintenance.md +1 -1
- package/docs/model-routing.md +1 -1
- package/dsh-plugin.json +1 -1
- package/lib/prompts.js +1 -1
- package/package.json +1 -1
- package/prompts/source/deepwork/gpt.md +2 -6
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.
|
|
7
|
+
当前发布版本为 `@dsmm/dsmm@0.3.39`,支持 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.
|
|
14
|
+
- 安装来源:[npm (@dsmm/dsmm)](https://www.npmjs.com/package/@dsmm/dsmm);发布资产:[GitHub Releases (v0.3.39)](https://github.com/hugefiver/dsmm/releases/tag/v0.3.39)
|
|
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.
|
|
25
|
+
2. 点击 **添加插件(Add plugin)**,输入 `@dsmm/dsmm@0.3.39` 并确认。
|
|
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.
|
|
37
|
+
& "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add @dsmm/dsmm@0.3.39 --save-exact --ignore-scripts --registry=https://registry.npmjs.org
|
|
38
38
|
```
|
|
39
39
|
*若安装在自定义路径,请替换为对应的实际位置;非 Windows 系统请参考 Desktop 自身菜单或官方指引,不要混用非 Desktop 的独立 CLI 命令。*
|
|
40
40
|
3. 重新打开 DSH Desktop 即可加载新版本。
|
package/docs/maintenance.md
CHANGED
|
@@ -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
|
|
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.
|
package/docs/model-routing.md
CHANGED
|
@@ -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
|
|
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
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 "
|
|
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,12 +1,8 @@
|
|
|
1
1
|
# Execution Discipline
|
|
2
2
|
|
|
3
|
-
Read the supplied context and
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
10
6
|
|
|
11
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.
|
|
12
8
|
|