@dsmm/dsmm 0.3.39 → 0.3.41
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 +6 -6
- package/docs/compatibility.md +2 -2
- package/docs/maintenance.md +5 -5
- package/docs/model-routing.md +3 -3
- package/docs/profiles.md +1 -1
- package/docs/runtime-recovery.md +1 -1
- package/docs/settings-status.md +1 -1
- package/docs/tui.md +4 -2
- package/dsh-plugin.json +1 -1
- package/lib/client/deployment-locales.js +1 -1
- package/lib/client.js +1 -1
- package/lib/index.js +2 -2
- package/lib/model-routing.d.ts +3 -15
- package/lib/model-routing.js +64 -96
- package/lib/native-admission.d.ts +2 -7
- package/lib/native-admission.js +6 -101
- package/lib/profile-runtime.js +2 -2
- package/lib/request-routing.d.ts +2 -1
- package/lib/request-routing.js +3 -4
- package/lib/role-routing.d.ts +8 -10
- package/lib/role-routing.js +41 -21
- package/lib/role-subagents.js +1 -1
- package/lib/runtime-recovery.js +3 -3
- package/lib/status.js +5 -5
- package/lib/tui-actions.js +65 -2
- package/lib/tui-adapter.js +19 -7
- package/lib/tui-types.d.ts +1 -0
- package/package.json +1 -1
- package/prompts/deepwork.md +1 -1
- package/prompts/source/deepwork/gpt.md +5 -1
- package/prompts/source/shared/working-principles.md +1 -1
package/prompts/deepwork.md
CHANGED
|
@@ -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
|
|
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
|
|
|
@@ -6,4 +6,8 @@ Keep the main task moving. If an unrelated defect surfaces, note its location an
|
|
|
6
6
|
|
|
7
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
|
-
|
|
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
|
+
|
|
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
|
+
|
|
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
|
|
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.
|