@dsh-enhanced/personal-assistant 0.1.42 → 0.1.44

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
@@ -20,7 +20,7 @@ patch 会完整覆盖上游 `permission` 行,并挂载唯一的 `dsh-enhanced-
20
20
 
21
21
  ## 默认安全状态
22
22
 
23
- - 原生 Permission selector 固定显示 `workspace-write`(请求批准)、`auto`(帮我批准)和 `danger-full-access`(完全访问)三项;前两项共享 `workspace-write + ask` 执行 bundle(同一沙箱、同一人工审批策略),区别只是 `auto` 档把低/中风险的可逆动作交隔离 reviewer 自动批准,高风险仍直达人工。没有用户层设置的新安装默认 `auto`。已有 `settings.yaml` 的 `permission.defaultPreset` 仍由 DSH Settings 用户层优先,不会被 bundle 强制覆盖。
23
+ - 原生 Permission selector 固定显示 `workspace-write`(请求批准)、`auto`(帮我批准)和 `danger-full-access`(完全访问)三项;前两项共享 `workspace-write + ask` 执行 bundle(同一沙箱、同一人工审批策略),区别只是 `auto` 档把低/中风险的可逆动作交隔离 reviewer 自动批准,高风险仍直达人工。没有用户层设置的新安装默认 `danger-full-access`(Full access):可访问任意文件与网络,不逐次请求批准。已有 `settings.yaml` 的 `permission.defaultPreset` 仍由 DSH Settings 用户层优先,不会被 bundle 强制覆盖。
24
24
  - policy 默认写入一条 `dsh-enhanced-foreground-capability-*`:本机 Web/direct 的 foreground Agent 可访问 profile 已挂载的全部技能、工具与插件动作,后续动态挂载也无需逐项补 allow;它不会安装尚未安装的插件,也不授权 background 或飞书 external 身份。显式 deny、紧急停止、身份/预算检查仍优先。`budgets` 默认留空。
25
25
  - automations scheduler 默认关闭;创建并审批 automation 后仍需由部署者显式启用 scheduler。
26
26
  - Memory、Wiki、Policy、Automations 使用各自的 DSH home 私有路径和独立真源。
@@ -50,7 +50,7 @@ API Key 绝不作为参数传入:加 `--store-key` 时,值只从 `DSH_ENHANC
50
50
 
51
51
  ## 权限与数据
52
52
 
53
- meta-bundle 不引入一套独立于上游 Host 的 OS capability、网络 API、凭据、浏览器或安装脚本权限;四个子包的实际权限和数据边界分别见其 README。新 session 从 `workspace-write + ask` 开始;若确实需要 `danger-full-access + never`,必须在原生 selector 中明确选择,或使用安装器的 `--permission danger-full-access --confirm-dangerous-full-access`。完全访问会允许 Host sandbox 访问任意文件与网络且不逐次询问;已有兼容的用户设置始终优先。
53
+ meta-bundle 不引入一套独立于上游 Host 的 OS capability、网络 API、凭据、浏览器或安装脚本权限;四个子包的实际权限和数据边界分别见其 README。没有用户覆盖的新 session 从 `danger-full-access + never` 开始,reviewer 为 `none`。完全访问允许 Host sandbox 访问任意文件与网络且不逐次询问;请仅在信任的运行环境使用。已有兼容的用户设置和已记录的会话权限不会被升级或重启覆盖。用户可在原生 Web Permission selector 切换当前会话;飞书发送 `/permission` 打开交互卡片,或使用 `/permission ask`、`/permission auto`、`/permission full confirm`。安装时用 `--permission workspace-write` 或 `--permission auto` 设置更严格的后续会话默认值;显式覆盖既有默认为完全访问仍使用 `--permission danger-full-access --confirm-dangerous-full-access`。权限档位不绕过 Policy 显式拒绝、紧急停止、身份校验和预算硬门。
54
54
 
55
55
  ## 兼容性
56
56
 
package/cordis.patch.yml CHANGED
@@ -14,16 +14,13 @@
14
14
  sandbox: danger-full-access
15
15
  approval: never
16
16
  name: 完全访问权限
17
- # Default to `auto`: it keeps the exact same workspace-write sandbox and
18
- # human approval policy as `workspace-write`; the only difference is that
19
- # ordinary workspace work, read-only web retrieval and explicit user
20
- # questions continue without prompting. Unknown plugin tools still use the
21
- # isolated reviewer. Deterministically sensitive actions (secrets,
22
- # arbitrary network commands, privilege escalation, destruction,
23
- # background tasks) bypass the reviewer and still reach a human. The owner can explicitly pick
24
- # `danger-full-access` in DSH's native selector (or via the installer
25
- # confirmation) after understanding the consequence.
26
- defaultPreset: auto
17
+ # Fresh installations use full access without per-tool approval prompts.
18
+ # Native Settings user overrides take precedence over this composition
19
+ # default. Existing session permission events remain authoritative; a
20
+ # restart or upgrade must not widen a user-selected restrictive session.
21
+ # Owners can switch through the native Web selector or Lark /permission.
22
+ # Policy denials, identity checks, emergency stop and budgets remain active.
23
+ defaultPreset: danger-full-access
27
24
 
28
25
  - insert:
29
26
  - id: dsh-enhanced-personal-assistant
package/lib/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const version = "0.1.42";
1
+ export declare const version = "0.1.44";
2
2
  //# sourceMappingURL=version.d.ts.map
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const version = '0.1.42';
1
+ export const version = '0.1.44';
2
2
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsh-enhanced/personal-assistant",
3
- "version": "0.1.42",
3
+ "version": "0.1.44",
4
4
  "description": "A core-only meta-bundle for the DSH personal assistant policy, memory, Wiki, and automations plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -48,10 +48,10 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@deepseek-ai/schemastery": "3.18.2",
51
- "@dsh-enhanced/assistant-automations": "0.1.42",
52
- "@dsh-enhanced/assistant-policy": "0.1.42",
53
- "@dsh-enhanced/personal-memory": "0.1.42",
54
- "@dsh-enhanced/personal-wiki": "0.1.42"
51
+ "@dsh-enhanced/assistant-automations": "0.1.44",
52
+ "@dsh-enhanced/assistant-policy": "0.1.44",
53
+ "@dsh-enhanced/personal-memory": "0.1.44",
54
+ "@dsh-enhanced/personal-wiki": "0.1.44"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "@deepseek-ai/cordis": "^4.0.1"