@gavinc-cn/dsh-plugins 0.2.1 → 0.2.3

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.
Files changed (2) hide show
  1. package/README.md +7 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -9,24 +9,26 @@
9
9
  | `0.2.0` 起 | 聚合元包:13 个组件拆成两个 bundle,本包只把它们一起装上 |
10
10
 
11
11
  (拆分时是 UI 5 个 / 运行时 8 个;2026-10-15 `kanban-board` 移出 UI bundle 后两个 bundle
12
- 合计 12 个;同日 `dsh-patch-ask-expand` 从运行时 bundle 移到 UI bundle ⇒ 现在是 UI 5 个 /
13
- 运行时 7 个,合计仍是 12 个。)
12
+ 合计 12 个;同日 `dsh-patch-ask-expand` 从运行时 bundle 移到 UI bundle ⇒ UI 5 个 / 运行时 7 个,
13
+ 合计仍是 12 个;2026-10-17 运行时 bundle 新增 `dsh-path-rules`、同时退役 `sandbox-path-allowlist`
14
+ ⇒ 仍是 UI 5 个 / 运行时 7 个,合计 **12 个**。)
14
15
 
15
16
  ## 拆分后的两个 bundle
16
17
 
17
18
  | 包 | 组件数 | 判据 | 面板卡片 |
18
19
  |---|---|---|---|
19
20
  | [@gavinc-cn/dsh-plugins-ui](../dsh-plugins-ui/README.md) | 5 | **面向 Web GUI**:4 个纯浏览器组件(声明 `dsh.client.platform: "web"`)+ `dsh-patch-ask-expand`(宿主侧启动时给官方 client bundle 打补丁,效果也是 GUI 观感) | 标题 = 包名 `@gavinc-cn/dsh-plugins-ui` |
20
- | [@gavinc-cn/dsh-plugins-runtime](../dsh-plugins-runtime/README.md) | 7 | 宿主(node)侧的运行支撑组件(记忆/守卫/沙箱等),没有 `dsh.client` | 标题 = 包名 `@gavinc-cn/dsh-plugins-runtime` |
21
+ | [@gavinc-cn/dsh-plugins-runtime](../dsh-plugins-runtime/README.md) | 8 | 宿主(node)侧的运行支撑组件(记忆/守卫/路径规则与写入闸门等),没有 `dsh.client` | 标题 = 包名 `@gavinc-cn/dsh-plugins-runtime` |
21
22
 
22
- 两个包合起来 = 拆分前 `0.1.x` 的 13 个组件减去不随 bundle 下发的 `kanban-board`,即 **12 个**;
23
+ 两个包合起来 = **13 行**;`kanban-board` 与 `sandbox-path-allowlist`(后者 2026-10-17 由
24
+ `dsh-path-rules` 合并退役)不随任何 bundle 下发,仍留在仓库作回滚真源。
23
25
  行 id 与相对顺序都没变 ⇒ 各 profile 的覆盖行原样继续命中(`dsh-patch-ask-expand` 从 runtime
24
26
  移到 UI 时也是如此,**profile 无需改动**)。
25
27
 
26
28
  ## 安装
27
29
 
28
30
  ```bash
29
- # 想一次拿到两个 bundle 带来的 12 个组件的依赖(但仍要分别选 bundle)
31
+ # 想一次拿到两个 bundle 带来的 13 个组件的依赖(但仍要分别选 bundle)
30
32
  pnpm add @gavinc-cn/dsh-plugins
31
33
 
32
34
  # 真正把它挂进某个 profile:分别装两个 bundle(dsh plugin 会把包名追加进 dsh.profile.bundles)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gavinc-cn/dsh-plugins",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "DSH 自研插件的聚合元包:自身不是 bundle(不含任何配置行),只把 @gavinc-cn/dsh-plugins-ui 与 @gavinc-cn/dsh-plugins-runtime 一起装上。",
5
5
  "license": "MIT",
6
6
  "repository": {