@dsmm/dsmm 0.3.10 → 0.3.11
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 +1 -1
- package/agent-presets/dsmm-builder/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-clarifier/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-code-search/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-coding/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-complex/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-creative/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-cross-cutting/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-deep/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-doc-search/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-documenting/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-frontend/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-hard-reasoning/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-media-reader/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-normal-task/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-oracle/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-oracle-2nd/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-orchestrator/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-plan-critic/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-planner/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-quick/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-research/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-reviewer/agent.cordis.yml +0 -4
- package/docs/agent-presets.md +2 -2
- package/docs/compatibility.md +2 -2
- package/docs/deferred-native-approval-risk.md +11 -1
- package/docs/design.md +1 -1
- package/docs/lsp.md +1 -1
- package/docs/model-routing.md +1 -1
- package/docs/native-permissions.md +5 -1
- package/docs/profiles.md +1 -1
- package/docs/roadmap.md +3 -3
- package/docs/runtime-recovery.md +1 -1
- package/docs/safety-guards.md +23 -5
- package/docs/settings-status.md +1 -1
- package/lib/child-capture.js +5 -1
- package/lib/client/deployment-locales.js +1 -0
- package/lib/client/permission-locales.js +8 -8
- package/lib/client.js +10 -9
- package/lib/command-approval.d.ts +50 -0
- package/lib/command-approval.js +148 -0
- package/lib/core-permissions.d.ts +2 -1
- package/lib/core-permissions.js +6 -3
- package/lib/guards.d.ts +2 -1
- package/lib/guards.js +45 -8
- package/lib/index.d.ts +1 -1
- package/lib/index.js +4 -2
- package/lib/permission-control.d.ts +5 -2
- package/lib/permission-control.js +46 -24
- package/lib/permission-controller.d.ts +2 -0
- package/lib/permission-controller.js +13 -8
- package/lib/permission-native-command.d.ts +2 -0
- package/lib/permission-native-command.js +9 -4
- package/lib/permission-native-rules.d.ts +2 -2
- package/lib/permission-native-rules.js +12 -10
- package/lib/profile-diagnostics.js +1 -1
- package/lib/profiles.js +2 -1
- package/lib/prompt-content.js +2 -2
- package/lib/settings.d.ts +2 -0
- package/lib/settings.js +10 -0
- package/lib/shell-command.d.ts +16 -0
- package/lib/shell-command.js +443 -119
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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
|
-
**DSMM 0.3.
|
|
5
|
+
**DSMM 0.3.11 targets exactly DSH `0.2.1-rc.2`** and Node.js 22 or later. The maintained source repository is [hugefiver/dsmm](https://github.com/hugefiver/dsmm).
|
|
6
6
|
|
|
7
7
|
## Configuration and profiles
|
|
8
8
|
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Builder (role ID: dsmm-builder).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Clarifier (role ID: dsmm-clarifier).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Code Search (role ID: dsmm-code-search).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Coding (role ID: dsmm-coding).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Complex (role ID: dsmm-complex).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Creative (role ID: dsmm-creative).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Cross Cutting (role ID: dsmm-cross-cutting).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Deep (role ID: dsmm-deep).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Doc Search (role ID: dsmm-doc-search).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Documenting (role ID: dsmm-documenting).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Frontend (role ID: dsmm-frontend).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Hard Reasoning (role ID: dsmm-hard-reasoning).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Media Reader (role ID: dsmm-media-reader).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Normal Task (role ID: dsmm-normal-task).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Oracle (role ID: dsmm-oracle).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Oracle 2nd (role ID: dsmm-oracle-2nd).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Orchestrator (role ID: dsmm-orchestrator).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Plan Critic (role ID: dsmm-plan-critic).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Planner (role ID: dsmm-planner).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Quick (role ID: dsmm-quick).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Research (role ID: dsmm-research).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Reviewer (role ID: dsmm-reviewer).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
package/docs/agent-presets.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Deepwork Agent presets and child control
|
|
2
2
|
|
|
3
|
-
DSMM 0.3.
|
|
3
|
+
DSMM 0.3.11 targets exactly DSH `0.2.1-rc.2`. Native package composition and callable admission are separate requirements.
|
|
4
4
|
|
|
5
5
|
## Roles and composition
|
|
6
6
|
|
|
@@ -12,7 +12,7 @@ Native `agentPresets.register({id, plugins})` publishes only the selectable disp
|
|
|
12
12
|
|
|
13
13
|
Optional preset materialization writes only the DSMM-owned dispatcher preset directory under its configured root. Ownership requires the exact role-bound marker and expected regular files; foreign directories, extra entries, links and containment escapes refuse update/removal. New directories publish by same-parent rename. A legacy marker is accepted only with the complete expected regular-file shape, never as permission to claim unrelated content. Reconciling removes verified owned directories of every non-dispatcher role, including ones published by earlier versions. Materialized files remain export resources, not an alternative native registration mechanism.
|
|
14
14
|
|
|
15
|
-
Managed Agent scopes supply
|
|
15
|
+
Managed Agent scopes supply the single role opening (`You are <display name>.`) through `harness:identity`, without a parenthesized role ID. Persona prefixes carry role guidance, not another identity opening; admitted children shadow both inherited sections. Internal role IDs remain the admission, routing and preset keys. The ordinary native identity remains unchanged outside those scopes; the override doesn't grant a role, tool or permission based on its displayed name.
|
|
16
16
|
|
|
17
17
|
Root admission is not configurable per role: the dispatcher is the only standing root. A blank preset switch to any other DSMM role is refused because no such preset is registered, and the admitted composition stays in place. Forced creation and empty-root preset changes still require valid root admission before execution. Opting into Deepwork requires the enabled module, role and usable composition; it never grants writes. Harness's native `/plan` remains collaboration state, not a permission upgrade.
|
|
18
18
|
|
package/docs/compatibility.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# DSMM compatibility and upgrade boundaries
|
|
2
2
|
|
|
3
|
-
**DSMM 0.3.
|
|
3
|
+
**DSMM 0.3.11 targets exactly DSH `0.2.1-rc.2`** and Node.js 22 or later. Older SDKs and automatically drifting versions aren't supported targets.
|
|
4
4
|
|
|
5
5
|
## Supported integration
|
|
6
6
|
|
|
@@ -38,7 +38,7 @@ Standard supported model calls use native prepared calls. Raw/custom and Pi-AI s
|
|
|
38
38
|
|
|
39
39
|
## Retired compatibility surfaces
|
|
40
40
|
|
|
41
|
-
No old SDK branch, legacy-read host, cold-profile migration, session repair or custom-owner selector is a 0.3.
|
|
41
|
+
No old SDK branch, legacy-read host, cold-profile migration, session repair or custom-owner selector is a 0.3.11 activation path. Old libraries, captures and unmarked history aren't copied, rewritten, repaired or adopted by same-name fallback. Retired brand calibration/default-effort and MaxReasoningPresets fields reject with `deprecated-field`; edit configuration deliberately using generic routes and parameters.
|
|
42
42
|
|
|
43
43
|
Published **0.3.0 retains its rc.1 identity**, immutable tag, package, assets and version-bound receipt grammar. Historical release controls interpret those records under their original identity, not as a runtime compatibility branch.
|
|
44
44
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 原生审批与运行中配置边界
|
|
2
2
|
|
|
3
|
-
DSMM 0.3.
|
|
3
|
+
DSMM 0.3.11 精确面向 DSH `0.2.1-rc.2`。原生批准仅对同次调用及其批准范围有效,不扩展到其他输入或后续调用。配置来源变化不把 DSMM epoch 变成第二次审批,也不取消已经等待的原生审批。
|
|
4
4
|
|
|
5
5
|
## 当前限制
|
|
6
6
|
|
|
@@ -12,4 +12,14 @@ Use profile model 与普通模式操作具有独立 capability,不因 Apply
|
|
|
12
12
|
|
|
13
13
|
取消、精确 Agent/owner/realm、工具及 provider 身份和输入隔离仍然有效。原生 once 批准不是可复用授权,批准也不保证工具或操作系统执行成功。
|
|
14
14
|
|
|
15
|
+
## 自动 Git 范围与规则记忆
|
|
16
|
+
|
|
17
|
+
`guards.gitWriteScope` 默认为 `all-writes`,可选 `high-risk`,与 `gitWriteGuard: ask | deny | off` 正交。`high-risk` 仅缩小自动 Git 保护的动作集合,不过滤显式 shell ask/deny,也不关闭对象型 nativeCommands ask;readonly、原生策略和既有 Full access/simple 路径的优先级不变。配置沿用全局、当前 DSH 配置和具名 profile 的继承规则,不增加 live Apply。
|
|
18
|
+
|
|
19
|
+
DSMM 的命令规则批准仅在精确的存活 Agent 对象内记忆;需完整原生审批服务最终返回 `allowed-once` 且调用绑定有效。同一规则允许的参数变化可以复用 DSMM 规则批准,不能扩展显式精确匹配或跨动作、工具注册、目录及规则语义借用。配置来源/规则变更使未来记忆失效,Agent 销毁、session 对象替换或控制器退休结束记忆。子 Agent 可捕获设置,但不继承父批准;记忆不持久化,也不跨恢复或重启。
|
|
20
|
+
|
|
21
|
+
规则记忆只消除 DSMM 自己已满足的 ask,不复用原生 once/sandbox target、不提高 standing 权限,也不替新的提权请求自动作答。原生提权、第三方或独立下游审批仍可能每次询问;deny、cancel、`approval.policy=never` 仍生效。来源变化不取消已经等待的原生请求;旧请求最终批准仍只按其单次契约执行,不向新来源写入记忆。
|
|
22
|
+
|
|
23
|
+
减少重复人工介入改变了风险,不能宣称总体风险不变。通用 Git 路径在既有 guard 边界重核调用,仍信任宿主后续可变的同进程 middleware;managed Shell 保持受控最终入口检查,但二者都不承诺隔离主动绕过管线的同进程插件或提供 OS 隔离,也不承诺所有工具没有弹窗。
|
|
24
|
+
|
|
15
25
|
遇到拒绝时先检查实际结果,不无条件重跑整个父任务。未来的 live Apply 必须能绑定精确调用、配置与未决审批,保持上述权限和生命周期边界;当前版本不提供该操作。
|
package/docs/design.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# DSMM native architecture
|
|
2
2
|
|
|
3
|
-
DSMM 0.3.
|
|
3
|
+
DSMM 0.3.11 targets exactly DSH `0.2.1-rc.2`. It supplies Core configuration and native permission integration plus optional Deepwork roles, routing and skills.
|
|
4
4
|
|
|
5
5
|
## Composition and authority
|
|
6
6
|
|
package/docs/lsp.md
CHANGED
|
@@ -39,6 +39,6 @@ An independently mounted native MCP client using `serverName: dsmm_lsp` uses the
|
|
|
39
39
|
|
|
40
40
|
DSMM's read-only role restrictions don't grant rename or format permission. The retained `lspRuntime` status interface reports bounded state, diagnostic codes and tool names, not executable paths, arguments or environment values. Tool discovery alone doesn't prove language-server availability or a successful symbol query.
|
|
41
41
|
|
|
42
|
-
DSMM 0.3.
|
|
42
|
+
DSMM 0.3.11 targets exactly DSH `0.2.1-rc.2`. Automatic external LSP mounting isn't delivered; the retained interface inventory isn't an activation path.
|
|
43
43
|
|
|
44
44
|
DSH's native definition/references/implementation/hover surface isn't a promise of diagnostics, rename or format. The retained external interface above doesn't expand that native scope. Independently managed MCP users must verify actual executable and language-server availability; DSMM doesn't certify or repair that environment.
|
package/docs/model-routing.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Providers, accounts and credentials remain native DSH configuration, never named-profile contents.
|
|
4
4
|
|
|
5
|
-
DSMM 0.3.
|
|
5
|
+
DSMM 0.3.11 targets exactly DSH `0.2.1-rc.2`. Standard calls use native prepared calls. The public Pi-AI completions seam supports self-contained literal and explicit model-mapping raw configurations; unsupported catalog-backed raw combinations are rejected without affecting standard calls.
|
|
6
6
|
|
|
7
7
|
## Native roots and child defaults
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Native permissions
|
|
2
2
|
|
|
3
|
-
DSMM 0.3.
|
|
3
|
+
DSMM 0.3.11 targets exactly DSH `0.2.1-rc.2`. DSH owns approval; DSMM composes policy into the native tool pipeline without a second approval queue or UI. DSMM command-rule approval memory is limited to the exact live Agent and is distinct from native once grants.
|
|
4
4
|
|
|
5
5
|
## Full access and approval
|
|
6
6
|
|
|
@@ -12,6 +12,8 @@ Actual DSH manual approval is final for the same call and approved scope. Older
|
|
|
12
12
|
|
|
13
13
|
A native once grant applies only to its actual call and scope. It doesn't change standing session permissions, authorize later calls or turn a narrower approval into full access. Model-supplied arguments aren't approval; a matching simple allowlist entry selects an automatic answer for the current native request, not a reusable grant. Native policy `never` refuses before the rc2 answerer and cannot be overridden by it. Caller/native cancellation remains effective, and the original tool or OS can still fail. Permission to execute isn't a command-success guarantee.
|
|
14
14
|
|
|
15
|
+
DSMM remembers only its approved Git action rules, exact explicit shell ask rules and object-form native command ask rules after the native service returns final `allowed-once` with the invocation/lifecycle bindings intact. Matching later calls from that exact live Agent may omit the satisfied DSMM ask contribution, but never reuse the native once target or automatically answer a new native escalation. All applicable DSMM asks must be satisfied; explicit deny, independent native/third-party ask or deny, cancellation and `approval.policy=never` still apply. Rule/source changes invalidate future memory without canceling an already pending native request. No memory passes to children, restored/recreated Agents or another registration; nothing is persisted as recoverable approval.
|
|
16
|
+
|
|
15
17
|
## Settings and synchronization
|
|
16
18
|
|
|
17
19
|
`permissionControl.enabled` defaults true independently of Deepwork and is captured at cold startup. Saving a different value reports restart-required; it neither hot-mounts an executor nor changes the admitted toggle, even for new roots. Turning it off doesn't disable native permissions or other independent tool restrictions.
|
|
@@ -38,6 +40,8 @@ This removes only DSMM outside-read asks. Independent downstream asks, denials a
|
|
|
38
40
|
|
|
39
41
|
Use **Plugins → DSMM bundle config → Permissions**. The selected Global/native-profile scope edits its sparse deployment policy; a separate Root-rules transaction writes Global only under the existing live operator, exact open Root, registration and synchronized-policy authority. A child, stale connection, read-only Host or shadowing native policy doesn't acquire a fallback Global write. Named Profiles can't grant these permissions. No duplicate Settings permission page or Conversation permission tab is registered.
|
|
40
42
|
|
|
43
|
+
The existing safety fields include `guards.gitWriteScope: all-writes | high-risk` (default `all-writes`) alongside `gitWriteGuard: ask | deny | off`. Scope selects only the automatic Git action set; it does not filter explicit shell ask/deny or disable object-form command asks. Unset restores the lower layer/default, and read-only forms cannot save. Named profiles may carry this guard setting without granting native permission-control authority. Child captures include settings, never parent approval memory. See [safety guards](safety-guards.md) for coverage and limits.
|
|
44
|
+
|
|
41
45
|
A trusted, writable native Root can manage Global rules without DSMM role admission, including when it predates Core mounting and currently uses the user-selectable `dsmm-orchestrator` composition. Qualification uses the current native composition, never a historical preset label; auxiliary, read-only and unknown `dsmm-` compositions remain ineligible without admission. Rule management does not grant DSMM role execution rights. Captured DSMM objects still require current admission and role checks, and retired captures cannot fall back to ordinary native authority.
|
|
42
46
|
|
|
43
47
|
`permissionControl.nativeCommands` defaults off. Entries in `permissionControl.nativeCommands.entries` accept simple command/subcommand pattern strings (e.g. `git`, `git status`, `go test`) or legacy object entries (`NativeCommandEntry`). Legacy entries are preserved losslessly without silent conversion or authorization widening.
|
package/docs/profiles.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Deepwork runtime profiles
|
|
2
2
|
|
|
3
|
-
DSMM 0.3.
|
|
3
|
+
DSMM 0.3.11 targets exactly DSH `0.2.1-rc.2`. See [compatibility](compatibility.md) for installation boundaries.
|
|
4
4
|
|
|
5
5
|
A named Deepwork profile is a runtime-policy document, not a native deployment profile or Agent preset. Open **Settings → Deepwork Profiles** to browse and edit it. Native **Plugins → DSMM** edits deployment layers instead, as described in [settings and status](settings-status.md).
|
|
6
6
|
|
package/docs/roadmap.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Version policy
|
|
4
4
|
|
|
5
|
-
**DSMM 0.3.
|
|
5
|
+
**DSMM 0.3.11 targets exactly DSH `0.2.1-rc.2`.** Each DSMM version targets the published DSH RC or stable release selected for that version. Older SDKs and old configuration schemas aren't runtime compatibility targets. Loading sessions created by DSMM `0.2.x` is a required compatibility target, separate from retaining old runtime implementations or execution behavior. A newer upstream release requires deliberate reassessment, not an automatic dependency or runtime switch.
|
|
6
6
|
|
|
7
7
|
Published `0.3.0` retains its original rc.1 package, tag, assets and version-bound release identity.
|
|
8
8
|
|
|
@@ -40,7 +40,7 @@ Sessions created by DSMM `0.2.x` must remain loadable under the supported curren
|
|
|
40
40
|
- Retired presets, plugins, metadata or admission formats require interpretation, migration or an explicit degraded mode rather than whole-session rejection solely because the old implementation is unavailable. This does not require restoring the old SDK or execution owner.
|
|
41
41
|
- Continued execution may use current roles, routing, configuration and permission semantics. Explain material differences and request fresh authorization where necessary; never treat historical metadata or approvals as current authority. When continuation is unavailable, retain the loaded history and expose the specific limitation separately.
|
|
42
42
|
- Preserve original records. Any necessary migration must protect user data with a recoverable original and concurrent-write safeguards; never discard history merely to make loading succeed. Corrupt or genuinely unreadable data must produce a specific diagnostic rather than silently removing the session.
|
|
43
|
-
- Acceptance covers opening representative `0.2.x` root and child histories, retaining titles/list entries and readable content, and separating continuation restrictions from loading. These are pending compatibility requirements, not claims that `0.3.
|
|
43
|
+
- Acceptance covers opening representative `0.2.x` root and child histories, retaining titles/list entries and readable content, and separating continuation restrictions from loading. These are pending compatibility requirements, not claims that `0.3.11` already fulfills them.
|
|
44
44
|
|
|
45
45
|
## Working-tree implementation: profile selection before the first message
|
|
46
46
|
|
|
@@ -95,4 +95,4 @@ Existing [Fake-IP fetch](web-fetch-fakeip.md) protections remain in force.
|
|
|
95
95
|
|
|
96
96
|
## Publication and Desktop installation
|
|
97
97
|
|
|
98
|
-
0.3.
|
|
98
|
+
0.3.11 publication uses the version-bound [release controls](releasing.md). Desktop plugin installation follows publication, uses the Desktop-owned carrier and requires exact DSH `0.2.1-rc.2`. Installation doesn't authorize upgrading the Host, changing credentials or real sessions, altering unrelated configuration, or restarting active work. An incompatible Host or required data migration blocks installation rather than expanding its scope.
|
package/docs/runtime-recovery.md
CHANGED
package/docs/safety-guards.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# DSMM Safety Guards
|
|
2
2
|
|
|
3
|
-
DSMM 0.3.
|
|
3
|
+
DSMM 0.3.11 targets exactly DSH `0.2.1-rc.2`. Its guards use `tools/pre-execute` for allow, deny and ask decisions, and `tools/post-execute` for accepted-result truncation. They don't use OpenCode hook names or mutate tool arguments. Deployment overrides belong in the `id: dsmm` Loader entry's `config` object, not a settings.yaml namespace.
|
|
4
4
|
|
|
5
5
|
## Scope
|
|
6
6
|
|
|
@@ -17,6 +17,7 @@ The default scope is `deepwork-or-dsmm-agent`: helpers apply when the agent is i
|
|
|
17
17
|
scope: deepwork-or-dsmm-agent
|
|
18
18
|
shellCommandSafety: true
|
|
19
19
|
gitWriteGuard: ask
|
|
20
|
+
gitWriteScope: all-writes
|
|
20
21
|
toolOutputTruncation:
|
|
21
22
|
enabled: true
|
|
22
23
|
maxInlineBytes: 12000
|
|
@@ -35,8 +36,8 @@ All DSMM guard messages begin with `[dsmm safety]`.
|
|
|
35
36
|
- `[dsmm safety] PowerShell command uses POSIX null redirection (...)` rejects `/dev/null` in `pwsh`.
|
|
36
37
|
- `[dsmm safety] PowerShell command uses POSIX \`source\` (...)` rejects `source` in `pwsh`.
|
|
37
38
|
- `[dsmm safety] bash command appears to use PowerShell syntax (...)` rejects `$env:` in `bash`.
|
|
38
|
-
-
|
|
39
|
-
-
|
|
39
|
+
- Git approval requests identify the applicable automatic Git actions. With `gitWriteGuard: ask`, uncovered DSMM rules require host approval; unavailable approval fails closed. Valid live-Agent rule approvals may satisfy later matching DSMM asks.
|
|
40
|
+
- Git denial messages reject actions within `gitWriteScope` when `gitWriteGuard: deny`; approval memory cannot override deny.
|
|
40
41
|
- `[dsmm safety] truncated ... output` marks accepted plain-text tool results that were replaced with a head/tail preview.
|
|
41
42
|
- `[dsmm safety] plan file contains a malformed checklist entry: ...` rejects malformed checkbox lines in writes to `docs/superpowers/plans/*.md` and `.omo/plans/*.md`.
|
|
42
43
|
- `[dsmm safety] question option label exceeds ... characters: ...` rejects `ask_user_question` option labels longer than `maxLabelChars`.
|
|
@@ -47,9 +48,26 @@ All DSMM guard messages begin with `[dsmm safety]`.
|
|
|
47
48
|
|
|
48
49
|
Shell checks inspect the command argument for `bash`, `sh`, `zsh`, `pwsh`, and `powershell`. Command parsing separates `;`, newlines, pipes, and `&&`/`||` continuations; it also honors the dialect's normal line continuation escape. Git write detection recognizes an executable named `git` or `git.exe`, including a path-qualified executable, Git global options such as `git -C repo commit`, and the `env` wrapper with its supported options and POSIX-style assignments. Other aliases, shell functions, and wrappers are deliberately unclassified rather than guessed.
|
|
49
50
|
|
|
50
|
-
|
|
51
|
+
`guards.gitWriteScope` is independent of `guards.gitWriteGuard`:
|
|
51
52
|
|
|
52
|
-
|
|
53
|
+
| Scope | Automatic Git coverage |
|
|
54
|
+
| --- | --- |
|
|
55
|
+
| `all-writes` (default) | All recognized writes, including ordinary add, commit, push, fetch, pull, merge and branch/tag creation. Recognized query forms, such as `branch --show-current`, `remote -v`, `stash list`, `tag --list` and `worktree list`, do not count as writes. |
|
|
56
|
+
| `high-risk` | The closed set of force/delete/mirror pushes, hard reset, non-dry-run clean, destructive/forced branch and tag changes, commit amend, rebase rewriting, stash drop/clear, worktree remove/prune, checkout/switch discard and forced replacement, worktree restore, and recognized reference/history modification actions. Ordinary writes are outside this automatic scope. |
|
|
57
|
+
|
|
58
|
+
For either scope, `ask` requires approval of the covered rules, `deny` rejects covered actions, and `off` contributes no automatic Git decision. `high-risk` only narrows automatic Git protection: explicit shell ask/deny and object-form native command asks still apply. Guard activation, shell dialect safety, readonly ceilings and existing standing Full access/simple-command priority are unchanged. This is not a general dangerous-command detector. Unrecognized aliases/wrappers receive no automatic Git decision; uncertain syntax cannot create a reusable broad approval. All command segments are considered, so an ordinary write before a high-risk action cannot hide the latter.
|
|
59
|
+
|
|
60
|
+
The existing schema-driven **Plugins → DSMM bundle config → Permissions** fields expose both options in Global and current DSH profile scopes. Unset uses defaults in Global and restores inheritance in the profile; a named profile can also override `guards.gitWriteScope`. Sparse saves do not pin omitted values. Read-only configuration stays non-writable. Saved settings follow existing new-session admission; they do not apply a live overlay.
|
|
61
|
+
|
|
62
|
+
## Command-rule approval memory
|
|
63
|
+
|
|
64
|
+
DSMM remembers approved automatic Git actions, exact explicit shell ask rules and matched object-form native command ask rules only for the **exact live Agent object**. A Git action approval can cover parameter changes within the same action and proven tool/dialect/cwd/static Git context; approving branch creation does not approve branch deletion or a later force push. Explicit shell rules retain their exact command/cwd matching. Each applicable DSMM ask must be satisfied independently. Uncertain context may still require approval on every call.
|
|
65
|
+
|
|
66
|
+
Only the complete native approval-service result can establish memory. Denial, cancellation, unavailable approval and audit failure do not. Rule/source changes invalidate future memory; Agent disposal, session replacement or controller retirement ends it. Settings may be captured by children, but approvals are not inherited by children or siblings, persisted, restored or shared by session ID. Reducing repeated manual intervention is a behavior and risk change, not unchanged overall risk.
|
|
67
|
+
|
|
68
|
+
Memory satisfies only DSMM's rule contribution. It neither reuses a native once/sandbox target nor changes standing sandbox permissions. Native escalation, independent downstream or third-party asks/denials, cancellation and native `approval.policy=never` remain authoritative; later calls may still show approval prompts. An already pending native request retains its single-call contract when a rule source changes, without granting memory for the new source. Structured-value replacements, errors, and blocked post-tool results are not truncated into apparently successful text.
|
|
69
|
+
|
|
70
|
+
Generic Git checks bind approval to the actual invocation and registration and recheck at the existing guard boundary. They retain the Host's mutable in-process middleware trust boundary; they do not guarantee isolation from plugins replacing execution after that guard. Managed Shell retains its existing controlled final-entry checks. Neither path supplies OS isolation or a guarantee that every tool will run without prompts.
|
|
53
71
|
|
|
54
72
|
Workflow and role instructions also prefer short shell operations and repository-native tools, prohibit cross-shell destructive path composition, require exact path checks before recursive deletion, and prohibit autonomous Git writes. These instructions complement, not replace, the host sandbox and approval pipeline. Read-only role authority is bound to exact live Agent ownership/admission, not a persona label. Native caller filters remain intact. Agent admission restricts inherited tools and installs monotonic execution guards; own-layer definitions are identity-fenced, including a re-registered `read` impersonating a safe operation. rc.2 has no public hide-own-layer filter: a registration may remain displayed, but forbidden/unadmitted invocation must fail. Native sandbox/approval/observation remain authoritative.
|
|
55
73
|
|
package/docs/settings-status.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Deepwork settings and status
|
|
2
2
|
|
|
3
|
-
DSMM 0.3.
|
|
3
|
+
DSMM 0.3.11 targets exactly DSH `0.2.1-rc.2`. Named policy is covered in [profiles](profiles.md), routing in [model routing](model-routing.md), and child authority in [Agent presets](agent-presets.md).
|
|
4
4
|
|
|
5
5
|
## Deployment layers and native editors
|
|
6
6
|
|
package/lib/child-capture.js
CHANGED
|
@@ -124,6 +124,10 @@ export function parseChildAdmissionCapture(input) {
|
|
|
124
124
|
}
|
|
125
125
|
const policyKeys = ["modules", "roleRouting", "runtimePolicy", "workflow", "guards", "runtimeRecovery", "defaultActive", "skills", "subagents", ...version === 3 ? [] : HISTORICAL_POLICY_FIELDS];
|
|
126
126
|
const policy = object(row.runtimePolicyCapture, policyKeys);
|
|
127
|
+
const guards = object(policy.guards, Object.keys(CAPTURE_POLICY_SHAPE.guards).filter(key => key !== "gitWriteScope"), ["gitWriteScope"]);
|
|
128
|
+
// All capture versions permit omission with the original all-writes behavior.
|
|
129
|
+
if (!Object.hasOwn(guards, "gitWriteScope"))
|
|
130
|
+
guards.gitWriteScope = "all-writes";
|
|
127
131
|
if (version !== 3)
|
|
128
132
|
for (const key of HISTORICAL_POLICY_FIELDS) {
|
|
129
133
|
const choices = key.endsWith("Calibration") ? ["off", "auto", "strict"] : ["off", "low", "high"];
|
|
@@ -170,7 +174,7 @@ const CAPTURE_POLICY_SHAPE = {
|
|
|
170
174
|
modules: { deepwork: { enabled: null } },
|
|
171
175
|
runtimePolicy: { strategy: null, rateLimit: { maxRetries: null, initialDelayMs: null, maxDelayMs: null, maxTotalDelayMs: null, switchAfterRateLimits: null, maxSwitches: null } },
|
|
172
176
|
workflow: { policy: null, strictGates: null, reviewCap: null, finalReviewPolicy: null },
|
|
173
|
-
guards: { scope: null, shellCommandSafety: null, gitWriteGuard: null, toolOutputTruncation: { enabled: null, maxInlineBytes: null }, planFormatValidation: null, questionLabelHelper: { enabled: null, maxLabelChars: null }, todoDisciplineHelper: null },
|
|
177
|
+
guards: { scope: null, shellCommandSafety: null, gitWriteGuard: null, gitWriteScope: null, toolOutputTruncation: { enabled: null, maxInlineBytes: null }, planFormatValidation: null, questionLabelHelper: { enabled: null, maxLabelChars: null }, todoDisciplineHelper: null },
|
|
174
178
|
runtimeRecovery: { enabled: null, retryOnStatusCodes: null, retryOnCodes: null, fallbackRoutes: null, maxFallbackAttempts: null, idleContinuation: { enabled: null, maxContinuations: null, prompt: null } },
|
|
175
179
|
};
|
|
176
180
|
function validateLegacyRoutes(policy) {
|
|
@@ -97,6 +97,7 @@ export const deploymentFieldLabels = {
|
|
|
97
97
|
promptOrder: ["Prompt order", "提示词顺序"], defaultActive: ["Default Deepwork mode", "默认 Deepwork 模式"],
|
|
98
98
|
enabled: ["Enabled", "启用"], materialize: ["Materialize presets", "物化预设"], scope: ["Guard scope", "保护范围"],
|
|
99
99
|
shellCommandSafety: ["Shell command safety", "Shell 命令安全"], gitWriteGuard: ["Git write policy", "Git 写入策略"],
|
|
100
|
+
gitWriteScope: ["Automatic Git write scope (all-writes / high-risk)", "自动 Git 写入范围(all-writes 全部写入 / high-risk 仅高危)"],
|
|
100
101
|
toolOutputTruncation: ["Tool output truncation", "工具输出截断"], maxInlineBytes: ["Inline byte limit", "内联字节上限"],
|
|
101
102
|
planFormatValidation: ["Plan format validation", "计划格式校验"], questionLabelHelper: ["Question labels", "提问标签"], maxLabelChars: ["Label character limit", "标签字符上限"], todoDisciplineHelper: ["Todo discipline", "待办纪律"],
|
|
102
103
|
enableRunInBackground: ["Allow background runs", "允许后台执行"], backgroundMode: ["Background mode", "后台模式"], maxDepth: ["Maximum depth", "最大深度"],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export const PERMISSIONS_NS = "settings.dsmm-permissions";
|
|
2
2
|
export const permissionEn = {
|
|
3
3
|
title: "Permission control", rules: "Rules",
|
|
4
|
-
nativeApproval: "Approve commands in the native prompt
|
|
5
|
-
sandboxScope: "
|
|
4
|
+
nativeApproval: "Approve commands in the native prompt. Native grants cover that call only; DSMM command-rule approvals are remembered only by the exact live Agent, never by children or restored sessions.",
|
|
5
|
+
sandboxScope: "Git high-risk narrows only the automatic Git guard; explicit ask/deny rules remain effective. The Host sandbox still decides access; native escalation and third-party prompts may still appear.",
|
|
6
6
|
unconfirmedObservation: "Showing the last successful observation. The current selection is not confirmed yet, so editing and saving stay unavailable.",
|
|
7
7
|
root: "Selected main session", noRoot: "Select a main session to view its permission rules.",
|
|
8
8
|
child: "Select this child’s main session to edit Global rules.",
|
|
@@ -41,10 +41,10 @@ export const permissionEn = {
|
|
|
41
41
|
coverageTitle: "Tool coverage", coverageDetails: "Details", coverage: "Last observation for this main session; executor readiness and network access need separate checks.",
|
|
42
42
|
coverageUnavailable: "Coverage unavailable / unknown. No trusted live observation was returned.", coverageEmpty: "No trusted tool registrations observed for this Root.",
|
|
43
43
|
coverageRuntime: "Observed consumer state", coverageRevision: "Observed consumer runtime source", toolName: "Observed tool name", toolKind: "Trusted registration kind",
|
|
44
|
-
toolApproval: "Approval boundary", nativeOnce: "Native prompt — once only", toolMemory: "Scoped approval memory", notProvided: "
|
|
44
|
+
toolApproval: "Approval boundary", nativeOnce: "Native prompt — once only", toolMemory: "Scoped approval memory", notProvided: "Native grants are not reused",
|
|
45
45
|
finalInode: "Final-inode / full filesystem guarantee", searchDestinations: "Web search destination rules", proxyBinding: "Proxy / address binding", shellSockets: "Shell / socket isolation", providerAuthMcp: "Provider authentication / MCP",
|
|
46
46
|
"limit:outsideReads": "Tool-call boundary only; no complete filesystem confinement.", "limit:finalInode": "Not guaranteed.",
|
|
47
|
-
"limit:scopedMemory": "
|
|
47
|
+
"limit:scopedMemory": "DSMM command rules: exact live Agent only; native once targets are never reused.", "limit:webFetch": "Native public-address checks remain authoritative; private-network access is not granted.",
|
|
48
48
|
"limit:webSearchDestinations": "Unsupported.", "limit:proxyAddressBinding": "Depends on the native proxy; no stronger address-binding guarantee.",
|
|
49
49
|
"limit:shellSockets": "Depends on the native executor; no all-Shell or socket firewall.", "limit:providerAuthMcp": "Not covered by these rules.",
|
|
50
50
|
pathEvidence: "Read checks its active filesystem. Search and shell path checks depend on the executor. Final-file identity, full filesystem confinement and socket isolation are not guaranteed.",
|
|
@@ -63,8 +63,8 @@ export const permissionEn = {
|
|
|
63
63
|
};
|
|
64
64
|
export const permissionZh = {
|
|
65
65
|
title: "权限控制", rules: "规则",
|
|
66
|
-
nativeApproval: "
|
|
67
|
-
sandboxScope: "
|
|
66
|
+
nativeApproval: "请在原生提示中批准命令。原生授权仅限本次调用;DSMM 命令规则批准仅由精确的存活 Agent 记忆,不传给子 Agent 或恢复的会话。",
|
|
67
|
+
sandboxScope: "Git high-risk 仅缩小自动 Git 保护,显式 ask/deny 规则仍生效。访问范围仍由宿主沙箱决定;原生提权和第三方审批仍可能询问。",
|
|
68
68
|
unconfirmedObservation: "当前显示上次成功观测;当前选择尚未确认,编辑与保存暂不可用。",
|
|
69
69
|
root: "所选主会话", noRoot: "请选择主会话以查看权限规则。", child: "请切换到此子会话的主会话后编辑全局规则。",
|
|
70
70
|
unknown: "不可用/未知", reading: "正在读取…", busy: "操作处理中…",
|
|
@@ -102,10 +102,10 @@ export const permissionZh = {
|
|
|
102
102
|
coverageTitle: "工具覆盖范围", coverageDetails: "详细信息", coverage: "所选主会话最近观测的覆盖范围,执行器就绪和网络访问需另行检查。",
|
|
103
103
|
coverageUnavailable: "覆盖不可用/未知:未返回可信的实时观测。", coverageEmpty: "未观测到此 Root 的可信工具注册。",
|
|
104
104
|
coverageRuntime: "已观测 consumer 状态", coverageRevision: "已观测 consumer 运行时来源", toolName: "已观测工具名称", toolKind: "可信注册类型",
|
|
105
|
-
toolApproval: "批准边界", nativeOnce: "原生提示——仅本次", toolMemory: "作用域批准记忆", notProvided: "
|
|
105
|
+
toolApproval: "批准边界", nativeOnce: "原生提示——仅本次", toolMemory: "作用域批准记忆", notProvided: "原生授权不复用",
|
|
106
106
|
finalInode: "最终 inode/完整文件系统保证", searchDestinations: "网页搜索目标规则", proxyBinding: "代理/地址绑定", shellSockets: "Shell/socket 隔离", providerAuthMcp: "Provider 认证/MCP",
|
|
107
107
|
"limit:outsideReads": "仅工具调用边界,不是完整文件系统隔离。", "limit:finalInode": "不保证。",
|
|
108
|
-
"limit:scopedMemory": "
|
|
108
|
+
"limit:scopedMemory": "DSMM 命令规则仅限精确的存活 Agent;原生 once 目标绝不复用。", "limit:webFetch": "仍以原生 public-address 检查为准,不授予私网访问。",
|
|
109
109
|
"limit:webSearchDestinations": "不支持。", "limit:proxyAddressBinding": "依赖原生代理,不提供更强的地址绑定保证。",
|
|
110
110
|
"limit:shellSockets": "依赖原生执行器,不是全部 Shell 或 socket 的防火墙。", "limit:providerAuthMcp": "不在这些规则覆盖范围。",
|
|
111
111
|
pathEvidence: "读取检查当前文件系统;搜索和 Shell 的路径检查取决于执行器。不保证最终文件身份、完整文件系统或 socket 隔离。",
|