dsh-cabinet-mode 0.2.3 → 0.2.4

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,18 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## [0.2.4] - 2026-11-05
6
+
7
+ ### Changed
8
+
9
+ - Replace all five Cabinet portraits with original Ming-style chibi officials,
10
+ using role-specific crane, duck, egret and xiezhi rank badges. Document the
11
+ chief secretary's additional-rank artistic setting and costume references.
12
+ - Preserve role matching and member identity labels; regenerate the 128px PNGs
13
+ and embedded browser/module assets through the existing Pillow pipeline.
14
+ - Add byte-parity regression checks for the five PNGs and both embedded modules,
15
+ and include exact illustration prompts and bilingual README galleries.
16
+
5
17
  ## [0.2.3] - 2026-11-05
6
18
 
7
19
  ### Documentation
package/README.md CHANGED
@@ -68,18 +68,13 @@ preset declaration:
68
68
  in cards, Owner tags and off-roster groups. Truncated labels have full tooltips;
69
69
  unmatched names use a neutral avatar.
70
70
 
71
- The five member avatars are tinted per bureau: Lead bright yellow, 翰林院编修
72
- (编辑) cyan, 工部主事 (执行) red, 大理寺评事 (核验) dark, 都察院御史 (验收)
73
- crimson — light-toned chibi portraits in Ming-style court dress
74
- (soft-focus guofeng backdrop inside the circle). They are
75
- embedded in `client.js` as 128px data URLs; the square source PNGs live in
76
- `docs/images/avatars/` and are downscaled by `src/build_avatars.py` (originals
77
- are kept at 512x512 and are never embedded directly).
71
+ The five original chibi portraits use Ming-style black winged hats, round-collar robes and square rank badges. The Lead wears burgundy with a crane badge (an artistic setting of a grand secretary with an additional first-rank title); Hanlin editor and Dali reviewer wear seventh-rank mandarin-duck badges, Works officer a sixth-rank egret, and the investigating censor a xiezhi. Robe colours distinguish roles and are not presented as mandatory rank colours.
78
72
 
79
- Example (the other four are in the same directory: `hanlin.png` / `works.png` /
80
- `dali.png` / `yushi.png`):
73
+ See [costume references, role settings and generation prompts](docs/images/avatars/README.md). The 1254px square sources are downscaled by `src/build_avatars.py` to 128px PNGs embedded in `client.js`. At the panel's 22–24px display size, role labels remain the primary identification.
81
74
 
82
- ![Lead avatar example](docs/images/avatars/lead.png)
75
+ | Lead | Hanlin | Works | Dali | Censor |
76
+ | --- | --- | --- | --- | --- |
77
+ | ![Lead, crane badge](src/avatars/lead.png) | ![Hanlin editor, duck badge](src/avatars/hanlin.png) | ![Works officer, egret badge](src/avatars/works.png) | ![Dali reviewer, duck badge](src/avatars/dali.png) | ![Investigating censor, xiezhi badge](src/avatars/yushi.png) |
83
78
 
84
79
  The panel reads two existing data channels only — per-session running status
85
80
  (`api-session/status`) and the `agentTeam` session projection (roster and task
@@ -139,7 +134,7 @@ On failure, show the exact error. For $.format must be 1, replace the webpage so
139
134
  Use this only when the market is unavailable or for local development. Fully quit desktop DSH first to release the profile lock, then install the release bundle:
140
135
 
141
136
  ```sh
142
- dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.2.3/dsh-cabinet-mode-0.2.3.tgz
137
+ dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.2.4/dsh-cabinet-mode-0.2.4.tgz
143
138
  dsh plugin --profile desktop list
144
139
  ```
145
140
 
@@ -154,7 +149,7 @@ the same install command with the new version URL (or pick the new `.tgz` in the
154
149
  plugin page), then fully quit and restart DeepSeek Harness:
155
150
 
156
151
  ```sh
157
- dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.2.3/dsh-cabinet-mode-0.2.3.tgz
152
+ dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.2.4/dsh-cabinet-mode-0.2.4.tgz
158
153
  ```
159
154
 
160
155
  `dsh plugin --profile desktop list` should report the new version. Upgrades were
package/README.zh.md CHANGED
@@ -36,11 +36,13 @@
36
36
  - **任务三色**:待办灰、进行中蓝、已完成绿(面板底部附图例)。
37
37
  - **成员形象**:每行包含圆形头像、中文称谓与成员原名、状态文字和当前模型。别名共享衙门头像,成员卡片、Owner 标签和不在册分组保留原名以区分身份;截断文字提供完整提示,未匹配名称使用中性头像。
38
38
 
39
- 五张成员头像按衙门分色:首辅明黄、翰林院编修青、工部主事赤、大理寺评事玄、都察院御史绯——浅色系国风 Q 版明代冠服人物(圈内浅景深国风背景)。头像以 128px data URL 内嵌进 `client.js`,源图为正方形 PNG 存于 `docs/images/avatars/`,由 `src/build_avatars.py` 缩放生成(源图 512×512,不直接内嵌)。
39
+ 五张原创 Q 版头像采用明代乌纱帽、圆领袍与方形胸补。首辅用酒红袍、鹤补(明确采用“加一品衔大学士”的艺术设定);翰林院编修与大理寺评事用七品鸂鶒补,工部主事用六品鹭鸶补,都察院角色具体按监察御史设定,使用獬豸补。袍色用于区分角色,不宣称是各品级常服的固定颜色。
40
40
 
41
- 示例(其余四张同目录:`hanlin.png` / `works.png` / `dali.png` / `yushi.png`):
41
+ 详见[衣冠依据、角色设定与生成提示词](docs/images/avatars/README.md)。1254px 正方形源图经 `src/build_avatars.py` 缩放为 128px PNG 并内嵌到 `client.js`;界面实际显示 22–24px,身份辨认仍以角色文字为准。
42
42
 
43
- ![首辅头像示例](docs/images/avatars/lead.png)
43
+ | 首辅 | 翰林院编修 | 工部主事 | 大理寺评事 | 都察院御史 |
44
+ | --- | --- | --- | --- | --- |
45
+ | ![首辅:鹤补](src/avatars/lead.png) | ![编修:鸂鶒补](src/avatars/hanlin.png) | ![主事:鹭鸶补](src/avatars/works.png) | ![评事:鸂鶒补](src/avatars/dali.png) | ![监察御史:獬豸补](src/avatars/yushi.png) |
44
46
 
45
47
  面板只读取两条既有数据通道:成员运行状态(`api-session/status`)与会话投影 `agentTeam`(成员名册与任务板),不新增服务、不新增协议。
46
48
 
@@ -93,7 +95,7 @@ https://raw.githubusercontent.com/luodaoyi/dsh-cabinet-mode/market-index/marketp
93
95
  仅在商店不可用或本地开发时使用。先完全退出桌面 DSH,释放 profile 锁,再执行:
94
96
 
95
97
  ```sh
96
- dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.2.3/dsh-cabinet-mode-0.2.3.tgz
98
+ dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.2.4/dsh-cabinet-mode-0.2.4.tgz
97
99
  dsh plugin --profile desktop list
98
100
  ```
99
101
 
@@ -104,7 +106,7 @@ dsh plugin --profile desktop list
104
106
  若通过插件市场安装:刷新市场,先在**已安装**页卸载旧版本,再从**插件市场**安装新版本,然后重启——没有 tgz URL 要换,也没有一键更新。否则用同一条安装命令换新版本 URL(或在插件页选新 `.tgz`),然后完全退出并重启 DeepSeek Harness:
105
107
 
106
108
  ```sh
107
- dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.2.3/dsh-cabinet-mode-0.2.3.tgz
109
+ dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.2.4/dsh-cabinet-mode-0.2.4.tgz
108
110
  ```
109
111
 
110
112
  `dsh plugin --profile desktop list` 应显示新版本。升级已在 Windows 实测: