@gavinc-cn/dsh-plugins 0.2.0 → 0.2.1

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 +11 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,21 +6,27 @@
6
6
  | 版本 | 语义 |
7
7
  |---|---|
8
8
  | `0.1.0` / `0.1.1` | 单包全量 bundle:`cordis.patch.yml` 里 13 条 `- insert:`,面板一张卡片 |
9
- | `0.2.0` 起 | 聚合元包:13 个组件拆成两个 bundle(UI 5 个 / 运行时 8 个),本包只把它们一起装上 |
9
+ | `0.2.0` 起 | 聚合元包:13 个组件拆成两个 bundle,本包只把它们一起装上 |
10
+
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 个。)
10
14
 
11
15
  ## 拆分后的两个 bundle
12
16
 
13
17
  | 包 | 组件数 | 判据 | 面板卡片 |
14
18
  |---|---|---|---|
15
- | [@gavinc-cn/dsh-plugins-ui](../dsh-plugins-ui/README.md) | 5 | 组件包声明了 `dsh.client.platform: "web"`(只作用于 Web GUI) | 「自研插件 · UI」 |
16
- | [@gavinc-cn/dsh-plugins-runtime](../dsh-plugins-runtime/README.md) | 8 | 宿主(node)侧运行,没有 `dsh.client` | 「自研插件 · 运行时」 |
19
+ | [@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` |
17
21
 
18
- 两个包合起来 = `0.1.x` 的全部 13 个组件,行 id 与默认开关状态都保持不变。
22
+ 两个包合起来 = 拆分前 `0.1.x` 的 13 个组件减去不随 bundle 下发的 `kanban-board`,即 **12 个**;
23
+ 行 id 与相对顺序都没变 ⇒ 各 profile 的覆盖行原样继续命中(`dsh-patch-ask-expand` 从 runtime
24
+ 移到 UI 时也是如此,**profile 无需改动**)。
19
25
 
20
26
  ## 安装
21
27
 
22
28
  ```bash
23
- # 想一次拿到全部 13 个组件的依赖(但仍要分别选 bundle)
29
+ # 想一次拿到两个 bundle 带来的 12 个组件的依赖(但仍要分别选 bundle)
24
30
  pnpm add @gavinc-cn/dsh-plugins
25
31
 
26
32
  # 真正把它挂进某个 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.0",
3
+ "version": "0.2.1",
4
4
  "description": "DSH 自研插件的聚合元包:自身不是 bundle(不含任何配置行),只把 @gavinc-cn/dsh-plugins-ui 与 @gavinc-cn/dsh-plugins-runtime 一起装上。",
5
5
  "license": "MIT",
6
6
  "repository": {