@dsmm/dsmm 0.3.21 → 0.3.22

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,12 +4,12 @@ DSMM 是 DeepSeek Harness(DSH)的插件。它让不同 Agent 分工处理任
4
4
 
5
5
  比如,让 Planner 拆解任务、Coding 写代码、Reviewer 检查结果,再由 Orchestrator 协调。各个角色可以用不同的模型,不必共用一套配置。
6
6
 
7
- 当前发布版本为 `@dsmm/dsmm@0.3.21`,支持 DSH `>=0.2.1-rc.2 <0.3.0`。安装前请确认客户端版本;范围外的 DSH 版本不受支持。Desktop 使用自带运行时,独立命令行环境需要 Node.js 22 或更高版本。
7
+ 当前发布版本为 `@dsmm/dsmm@0.3.22`,支持 DSH `>=0.2.1-rc.2 <0.3.0`。安装前请确认客户端版本;范围外的 DSH 版本不受支持。Desktop 使用自带运行时,独立命令行环境需要 Node.js 22 或更高版本。
8
8
 
9
9
  官方 DSH rc.3 以 `engines.dsh` 优先于 peer ranges 判定兼容性;DSH 依赖仍固定为 rc.2,作为开发基线。
10
10
 
11
11
  - 源码仓库:[hugefiver/dsmm](https://github.com/hugefiver/dsmm)
12
- - 安装来源:[npm (@dsmm/dsmm)](https://www.npmjs.com/package/@dsmm/dsmm);发布资产:[GitHub Releases (v0.3.21)](https://github.com/hugefiver/dsmm/releases/tag/v0.3.21)
12
+ - 安装来源:[npm (@dsmm/dsmm)](https://www.npmjs.com/package/@dsmm/dsmm);发布资产:[GitHub Releases (v0.3.22)](https://github.com/hugefiver/dsmm/releases/tag/v0.3.22)
13
13
 
14
14
  ---
15
15
 
@@ -20,7 +20,7 @@ DSMM 是 DeepSeek Harness(DSH)的插件。它让不同 Agent 分工处理任
20
20
  ### 初次安装
21
21
 
22
22
  1. 打开 DeepSeek Harness Desktop,进入 **插件(Plugins)** 页面。
23
- 2. 点击 **添加插件(Add plugin)**,输入 `@dsmm/dsmm@0.3.21` 并确认。
23
+ 2. 点击 **添加插件(Add plugin)**,输入 `@dsmm/dsmm@0.3.22` 并确认。
24
24
  3. 安装完成后,检查插件是否处于启用状态。如果界面提示需要重启,请按提示重启客户端。
25
25
 
26
26
  Desktop 的插件由客户端自己管理。全局 npm 安装和独立 npm 版 `dsh` 命令不能替代这一步。
@@ -32,7 +32,7 @@ DSH Desktop 当前不支持在界面中用同名版本原位覆盖更新插件
32
32
  1. 保存好正在进行的任务,**正常退出并完全关闭 DSH Desktop**。
33
33
  2. 使用 Desktop 安装自带的命令行工具更新配置。以下示例适用于 Windows 默认安装路径(`%LOCALAPPDATA%\Programs\DeepSeek Harness\`):
34
34
  ```powershell
35
- & "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add @dsmm/dsmm@0.3.21 --save-exact --ignore-scripts --registry=https://registry.npmjs.org
35
+ & "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add @dsmm/dsmm@0.3.22 --save-exact --ignore-scripts --registry=https://registry.npmjs.org
36
36
  ```
37
37
  *若安装在自定义路径,请替换为对应的实际位置;非 Windows 系统请参考 Desktop 自身菜单或官方指引,不要混用非 Desktop 的独立 CLI 命令。*
38
38
  3. 重新打开 DSH Desktop 即可加载新版本。
@@ -47,6 +47,12 @@ receives a guarded `gemini-4` additive layer based on generic Gemini guidance.
47
47
  Prompt selection does not change provider, effort, fallback chains or DSH model
48
48
  capabilities.
49
49
 
50
+ GPT/Codex guidance requires direct user-facing conclusions, reasons and actions.
51
+ Use contrast or negation for an expressed misconception or a distinction that
52
+ changes the conclusion, action, safety or scope. State necessary conditions,
53
+ uncertainty and safety limits concretely and once; remove sentences that add no
54
+ useful information without misleading the reader.
55
+
50
56
  Effective Deepwork activation includes a short brainstorming orientation. Full
51
57
  brainstorming remains a native skill loaded only when material uncertainty calls
52
58
  for discovery or design; explicit mode-off and native skill controls remain
package/docs/roadmap.md CHANGED
@@ -26,7 +26,7 @@ Native call views show the target in collapsed rows, distinguish requested from
26
26
  | --- | --- | --- |
27
27
  | Profile selection before execution | Existing blank roots can select saved profiles or deployment defaults. Without a session, explicit workspace/Profile selection obtains a native blank, blocks sending until selection is confirmed, then opens it. | Validate native new-session navigation, unsent text/references/attachments and first-send behavior in the target Host. No-session selection is implemented; browser acceptance is separate. |
28
28
  | Session overlay Apply | Eligible quiescent roots, including started/restored roots, can switch under native subtree maintenance and admission CAS. Active work, open turns, queued input and pending approvals/delegation prevent switching. Resident children retain their captures; new delegations use the selected configuration. | Switching during active work remains unsupported. Unprovable external-provider startup is refused; supported coverage uses the same Host lifecycle and agents registry. See [approval boundaries](deferred-native-approval-risk.md). |
29
- | Running-call background handoff | Unavailable. Select waiting or native parent delivery before starting; don't restart a task to simulate transfer. | A supported same-activation ownership/delivery handoff. |
29
+ | Running-call background handoff | Deferred. Select waiting or native parent delivery before starting; existing background dispatch stays unchanged. | A supported same-activation native delivery handoff; see the deferred foreground delegation requirements below. |
30
30
  | Restricted-role continuation after restoration | Supported roots and continuable children receive fresh admission through awaited `agent/created`, with current role, parent, readonly, tool and depth checks. Historical approvals do not grant current authority. | Broader historical-format support needs public control of persisted persona/composition and pre-activation restoration boundaries. Cold-child image preflight can still inspect historical `agent.options` before current routing takes effect. Unresolvable presets and missing or unsafe identity remain refused; see [recovery boundaries](compatibility.md#native-history-composition). |
31
31
  | Non-disruptive hot update | No uninterrupted live-session guarantee. Retire admissions and let native owners cancel/dispose owned work; guards remain fail-closed. | Native lifecycle support that preserves active task/approval boundaries. |
32
32
  | Catalog-backed raw combinations | Rejected where the complete composition can't be reliably reproduced, regardless of native or DSMM parameter source. Standard calls aren't affected. | A public seam that can reproduce the full catalog composition and preserve native capability/effort semantics. |
@@ -36,6 +36,16 @@ Native call views show the target in collapsed rows, distinguish requested from
36
36
 
37
37
  Search/Fetch retain the explicitly configured native provider. DSMM doesn't automatically enable a direct API, change credentials or forward the recent human question. HTTP Fake-IP behavior and network limits are maintained in [Fake-IP fetch](web-fetch-fakeip.md).
38
38
 
39
+ ## Deferred: foreground delegation controls and live model information
40
+
41
+ Reassess after DSH updates. The pinned `0.2.1-rc.2` API fixes activation delivery to `caller` or `parent` at startup and exposes no public running-activation handoff. DSMM must not take over completion notification or patch Host internals to supply it.
42
+
43
+ - Allow users to click **Run in background** on an active DSMM delegation started without `run_in_background: true`. Continue the same activation without cancellation, restart or duplicate dispatch; DSH retains execution, cancellation and completion-delivery ownership.
44
+ - Add an option extending manual handoff to foreground delegations involving non-DW Agents while Deepwork is enabled, covering both non-DW callers and non-DW targets. Dispatches that already run in the background need no change; the current native `subagent` tool already uses parent delivery and returns immediately.
45
+ - Show the role, level, provider/model and reasoning effort during foreground execution rather than waiting for the final tool result. Distinguish the captured initial route from the actual observed request route, including fallback changes; unavailable actual information must not be presented as confirmed.
46
+ - On a candidate DSH update, check for a public same-activation handoff API and its completion/cancellation race semantics. Separately assess live invocation-to-tool-card correlation and updates through supported client channels: missing generic tool-progress metadata in rc.2 does not establish that all DSMM client-side reporting is impossible.
47
+ - Acceptance requires one native completion delivery, no duplicate execution, unchanged permission and ownership checks, correct handling of completion racing a click, and timely model information before completion. Verify the non-DW option in both states and leave already-background calls untouched. Do not expose an ineffective switch or upgrade/install DSH automatically.
48
+
39
49
  ## Current: native history loading, including the DSMM 0.2.x compatibility target
40
50
 
41
51
  Historical-session loading uses the existing native DSH reader, not a pending DSMM migration subsystem. `ApiSessionList.list()` reads `sessionQuery.listSessions()`; `SessionHistoryController.page()` reads persisted events without activating an Agent. These paths do not require a historical DSMM preset to resolve or a DSMM admission to succeed. Titles are folded from stored events, and history pages expose conversation events, including tool results.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsmm/dsmm",
3
- "version": "0.3.21",
3
+ "version": "0.3.22",
4
4
  "description": "Native Deepwork roles, routing, profiles, and permission controls for DeepSeek Harness.",
5
5
  "author": "Hugefiver",
6
6
  "license": "LicenseRef-AAAPL",
@@ -60,6 +60,15 @@ Exercise the real surface where applicable: run the CLI/API, drive the UI/TUI, l
60
60
 
61
61
  Reuse passing evidence when it still covers the current claim and no change materially affects tested behavior or interfaces. Unchanged code needs no rerun absent a relevant change; unrelated parallel code or dependency/environment changes don't automatically invalidate evidence. Assess concrete relevance, rerun only affected or missing checks, and report uncovered risks. Don't classify behavior/interface-affecting changes as unrelated or treat failed, stale, or irrelevant evidence as a pass. Required safety, release, pre-commit typecheck/test/build gates, and explicit user verification remain binding.
62
62
 
63
+ ## Direct expression
64
+
65
+ In user-facing responses, state conclusions, reasons, and actions directly. Prefer affirmative statements of what is true.
66
+
67
+ - Avoid habitual contrast and chained negation: "not X, but Y", "X, but that does not mean Y or imply Z", "不是 X,而是 Y", "X,但不等于 Y,也不代表 Z", and equivalent patterns. When Y is the useful point, state Y directly.
68
+ - Use contrast or negation when correcting a misconception the user actually expressed, or when the distinction materially affects the conclusion, action, safety, or scope. Do not invent misconceptions to rebut or stack disclaimers to sound rigorous.
69
+ - Make qualifications concrete: name the relevant condition, evidence gap, or consequence. Preserve necessary uncertainty and safety limits; state each once, briefly, rather than adding generic caveats such as "this does not guarantee correctness".
70
+ - Before sending, remove sentences that add no fact, reason, condition, or actionable information and whose removal would not mislead the reader. For example, if production has not been checked, say "Tests passed; production remains unverified" instead of listing everything passing tests does not prove.
71
+
63
72
  ## Communication and stopping
64
73
 
65
74
  At substantive phase transitions, blockers, material plan changes, or after a long work segment, briefly explain the known result, current work, and next step. Don't broadcast every tool call or todo update, require fixed labels, expose private deliberation, or append a decision history to deliverables.