dsh-cabinet-mode 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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,23 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## [0.2.1] - 2026-11-05
6
+
7
+ ### Changed
8
+
9
+ - Refresh the five member portraits with chibi artwork and recognize role aliases,
10
+ numeric suffixes and common separators (#3).
11
+ - Preserve original member identities beside localized role labels, including
12
+ task owners and foreign-owner groups; add identity collision regressions (#4).
13
+ - Explain the exact raw JSON market URL and recovery from GitHub webpage URLs
14
+ producing `$.format must be 1`, including on the generated index branch.
15
+ - Describe the runtime sidebar and avatars correctly in the market listing.
16
+
17
+ ### Fixed
18
+
19
+ - Publish icon and index README changes even when marketplace.json is unchanged.
20
+ Preserve registry propagation waiting and protection against version loss.
21
+
5
22
  ## [0.2.0] - 2026-11-05
6
23
 
7
24
  ### Added
package/README.md CHANGED
@@ -61,13 +61,15 @@ preset declaration:
61
61
  - **Task colours** — pending gray, in progress blue, completed green (legend at
62
62
  the bottom of the panel).
63
63
  - **Member look** — each row carries a circular avatar (22px, 24px for the Lead),
64
- the name, a status label and the current model; avatars map by name prefix and
65
- fall back to the Lead tint when unmatched.
64
+ the Chinese role and original member name, a status label and the current model.
65
+ Aliases share a bureau avatar, while original names keep members distinguishable
66
+ in cards, Owner tags and off-roster groups. Truncated labels have full tooltips;
67
+ unmatched names use a neutral avatar.
66
68
 
67
69
  The five member avatars are tinted per bureau: Lead bright yellow, 翰林院编修
68
70
  (编辑) cyan, 工部主事 (执行) red, 大理寺评事 (核验) dark, 都察院御史 (验收)
69
- crimson — light-toned, Chinese-style 3D semi-realistic three-quarter profile
70
- busts (soft-focus guofeng backdrop inside the circle). They are
71
+ crimson — light-toned chibi portraits in Ming-style court dress
72
+ (soft-focus guofeng backdrop inside the circle). They are
71
73
  embedded in `client.js` as 128px data URLs; the square source PNGs live in
72
74
  `docs/images/avatars/` and are downscaled by `src/build_avatars.py` (originals
73
75
  are kept at 512x512 and are never embedded directly).
@@ -119,7 +121,7 @@ If any step fails, show the exact error and stop. Do not retry more than once.
119
121
  ## Manual install (3 lines)
120
122
 
121
123
  ```sh
122
- dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.2.0/dsh-cabinet-mode-0.2.0.tgz
124
+ dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.2.1/dsh-cabinet-mode-0.2.1.tgz
123
125
  # fully quit and restart DeepSeek Harness
124
126
  # New session -> mode picker -> 内阁模式
125
127
  ```
@@ -143,7 +145,7 @@ commands work on Linux and macOS.
143
145
  > `dsh-cabinet-mode` in `dsh.profile.bundles`):
144
146
  >
145
147
  > ```sh
146
- > node "<DeepSeek Harness install>\resources\runtime\primary-runtime\dependencies\pnpm\bin\pnpm.mjs" --dir "%USERPROFILE%\.dsh\profiles\desktop" add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.2.0/dsh-cabinet-mode-0.2.0.tgz
148
+ > node "<DeepSeek Harness install>\resources\runtime\primary-runtime\dependencies\pnpm\bin\pnpm.mjs" --dir "%USERPROFILE%\.dsh\profiles\desktop" add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.2.1/dsh-cabinet-mode-0.2.1.tgz
147
149
  > ```
148
150
  >
149
151
  > Back up the profile's `package.json` / `pnpm-lock.yaml` first.
@@ -158,6 +160,8 @@ URL or a local checkout:
158
160
  https://raw.githubusercontent.com/luodaoyi/dsh-cabinet-mode/market-index/marketplace.json
159
161
  ```
160
162
 
163
+ Use the **raw JSON URL** above, not a GitHub `tree` or `blob` page. If DSH reports `$.format must be 1`, remove the invalid source and add the raw URL. First enable **Custom plugin market** in Plugins → Experimental plugins, then open **Discover → Index sources**.
164
+
161
165
  1. Open **Plugin market** (插件市场) in DSH, open **Index sources** (索引源), add the
162
166
  URL above, and refresh it.
163
167
  2. Install **内阁模式 / Cabinet Mode** (`dsh-cabinet-mode`) from the market list that
@@ -207,7 +211,7 @@ the same install command with the new version URL (or pick the new `.tgz` in the
207
211
  plugin page), then fully quit and restart DeepSeek Harness:
208
212
 
209
213
  ```sh
210
- dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.2.0/dsh-cabinet-mode-0.2.0.tgz
214
+ dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.2.1/dsh-cabinet-mode-0.2.1.tgz
211
215
  ```
212
216
 
213
217
  `dsh plugin --profile desktop list` should report the new version. Upgrades were
package/README.zh.md CHANGED
@@ -32,9 +32,9 @@
32
32
  - **派活树**:首辅行在顶,任务按 `ownerName` 缩进挂到对应阁臣名下,`blockedBy` 依赖以标签挂在任务下方——首辅给谁派了什么活、被哪条任务卡住,一眼可见。
33
33
  - **谁在干活**:成员 running 时整行浅绿高亮、状态点持续脉冲;空闲 / 启动中 / 失败分别用灰 / 琥珀 / 红点区分,首辅行同样参与高亮。
34
34
  - **任务三色**:待办灰、进行中蓝、已完成绿(面板底部附图例)。
35
- - **成员形象**:每行头像(圆形 22px,首辅 24px)+姓名+状态文字+当前模型;头像按姓名前缀匹配,未匹配的成员回落首辅色。
35
+ - **成员形象**:每行包含圆形头像、中文称谓与成员原名、状态文字和当前模型。别名共享衙门头像,成员卡片、Owner 标签和不在册分组保留原名以区分身份;截断文字提供完整提示,未匹配名称使用中性头像。
36
36
 
37
- 五张成员头像按衙门分色:首辅明黄、翰林院编修青、工部主事赤、大理寺评事玄、都察院御史绯——浅色系国风 3D 半写实 3/4 侧颜胸像(圈内浅景深国风背景)。头像以 128px data URL 内嵌进 `client.js`,源图为正方形 PNG 存于 `docs/images/avatars/`,由 `src/build_avatars.py` 缩放生成(源图 512×512,不直接内嵌)。
37
+ 五张成员头像按衙门分色:首辅明黄、翰林院编修青、工部主事赤、大理寺评事玄、都察院御史绯——浅色系国风 Q 版明代冠服人物(圈内浅景深国风背景)。头像以 128px data URL 内嵌进 `client.js`,源图为正方形 PNG 存于 `docs/images/avatars/`,由 `src/build_avatars.py` 缩放生成(源图 512×512,不直接内嵌)。
38
38
 
39
39
  示例(其余四张同目录:`hanlin.png` / `works.png` / `dali.png` / `yushi.png`):
40
40
 
@@ -75,7 +75,7 @@
75
75
  ## 手动安装(3 行)
76
76
 
77
77
  ```sh
78
- dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.2.0/dsh-cabinet-mode-0.2.0.tgz
78
+ dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.2.1/dsh-cabinet-mode-0.2.1.tgz
79
79
  # 完全退出并重启 DeepSeek Harness
80
80
  # 新建任务 -> 模式选择器 -> 内阁模式
81
81
  ```
@@ -96,7 +96,7 @@ dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/re
96
96
  > `dsh.profile.bundles` 里保留了 `dsh-cabinet-mode`:
97
97
  >
98
98
  > ```sh
99
- > node "<DeepSeek Harness 安装目录>\resources\runtime\primary-runtime\dependencies\pnpm\bin\pnpm.mjs" --dir "%USERPROFILE%\.dsh\profiles\desktop" add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.2.0/dsh-cabinet-mode-0.2.0.tgz
99
+ > node "<DeepSeek Harness 安装目录>\resources\runtime\primary-runtime\dependencies\pnpm\bin\pnpm.mjs" --dir "%USERPROFILE%\.dsh\profiles\desktop" add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.2.1/dsh-cabinet-mode-0.2.1.tgz
100
100
  > ```
101
101
  >
102
102
  > 操作前先备份该 profile 的 `package.json` / `pnpm-lock.yaml`。
@@ -109,6 +109,8 @@ dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/re
109
109
  https://raw.githubusercontent.com/luodaoyi/dsh-cabinet-mode/market-index/marketplace.json
110
110
  ```
111
111
 
112
+ 请复制上面的 **raw JSON 地址**,不要复制 GitHub 的 `tree` 或 `blob` 网页地址。若提示 `$.format must be 1`,移除错误源,再添加上述 raw 地址。先在「插件 → 实验性插件」启用「自定义插件市场」,再打开「发现 → 索引源」。
113
+
112
114
  1. 在 DSH 打开**插件市场**,打开**索引源**列表,添加上面的 URL 并刷新。
113
115
  2. 在市场列表中安装 **内阁模式 / Cabinet Mode**(`dsh-cabinet-mode`)。DSH 会把 `dsh-cabinet-mode@<版本>` 从 `https://registry.npmjs.org` 安装到当前 profile。这与方式 A 是同一种 bundle 安装,二者只能选其一。
114
116
  3. **完全退出并重启 DeepSeek Harness**,然后新建任务,在模式选择器中选择**内阁模式**。
@@ -127,7 +129,7 @@ https://raw.githubusercontent.com/luodaoyi/dsh-cabinet-mode/market-index/marketp
127
129
  若通过插件市场安装:刷新市场,先在**已安装**页卸载旧版本,再从**插件市场**安装新版本,然后重启——没有 tgz URL 要换,也没有一键更新。否则用同一条安装命令换新版本 URL(或在插件页选新 `.tgz`),然后完全退出并重启 DeepSeek Harness:
128
130
 
129
131
  ```sh
130
- dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.2.0/dsh-cabinet-mode-0.2.0.tgz
132
+ dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.2.1/dsh-cabinet-mode-0.2.1.tgz
131
133
  ```
132
134
 
133
135
  `dsh plugin --profile desktop list` 应显示新版本。升级已在 Windows 实测: