@wenaixi/dsh-ponytail 5.3.0 → 5.3.2
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 +18 -2
- package/README.md +10 -12
- package/package.json +1 -1
- package/skills/ponytail-help/SKILL.md +3 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## [5.3.2] - 2026-10-06
|
|
2
|
+
|
|
3
|
+
### Documentation
|
|
4
|
+
|
|
5
|
+
- 完善安装、热加载与配置说明:排版细节与段落空行规范化,安装指引显式锁定最新版本 `@5.3.2`。
|
|
6
|
+
- 固化零配置体验:明确插件基于纯 `insert:` overlay 机制,安装后无需且严禁手动修改 `cordis.patch.yml`。
|
|
7
|
+
|
|
8
|
+
## [5.3.1] - 2026-10-06
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- 安装与配置指引彻底正名:支持完全零配置热安装与热卸载,严禁且无需手动编辑 `cordis.patch.yml`。
|
|
13
|
+
宿主 `dsh-hmr` 自动监听 `package.json` 与 `cordis.patch.yml`(Chokidar `awaitWriteFinish: true`,2 秒写入防抖)。安装后等待 2 至 3 秒刷新浏览器即可自动加载配置卡;界面点击档位(如「激进」)由宿主 `config-editor` 自动在补丁中完成持久化写入。
|
|
14
|
+
热卸载后用户配置完好保留在 profile 补丁中;热安装新版本后自动无缝继承原配置并生效。
|
|
15
|
+
|
|
1
16
|
## [5.3.0] - 2026-10-06
|
|
2
17
|
|
|
3
18
|
### Fixed
|
|
@@ -240,8 +255,9 @@
|
|
|
240
255
|
|
|
241
256
|
- 首个 DSH 移植版本:单一插件包,`dsh.bundle.patch` 挂载,`PONYTAIL_DEFAULT_MODE` 三级回退(`review` 不可作默认),全部文案中文化,触发词兼容中英文。
|
|
242
257
|
|
|
243
|
-
[Unreleased]: https://github.com/Wenaixi/dsh-ponytail/compare/v5.
|
|
244
|
-
[
|
|
258
|
+
[Unreleased]: https://github.com/Wenaixi/dsh-ponytail/compare/v5.3.2...HEAD
|
|
259
|
+
[5.3.2]: https://github.com/Wenaixi/dsh-ponytail/compare/v5.3.1...v5.3.2
|
|
260
|
+
[5.3.1]: https://github.com/Wenaixi/dsh-ponytail/compare/v5.3.0...v5.3.1
|
|
245
261
|
[5.3.0]: https://github.com/Wenaixi/dsh-ponytail/compare/v5.2.0...v5.3.0
|
|
246
262
|
[5.2.0]: https://github.com/Wenaixi/dsh-ponytail/releases/tag/v5.2.0
|
|
247
263
|
[5.1.0]: https://github.com/Wenaixi/dsh-ponytail/releases/tag/v5.1.0
|
package/README.md
CHANGED
|
@@ -36,22 +36,19 @@ dsh --profile web --dump-config | grep -A2 ponytail
|
|
|
36
36
|
|
|
37
37
|
若插件卡片只有包名、没有标题描述图标,说明包的 `exports` 没放行 `./package.json` 与 `./locale/*.json`。这是 DSH 读取展示元信息的硬约束,与安装本身无关。
|
|
38
38
|
|
|
39
|
-
###
|
|
39
|
+
### 安装与热加载
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
支持完全零配置热安装。`dsh plugin add` 将插件包登记至 `package.json` 与 bundle 列表后,宿主 HMR 会自动重载 Loader 树并挂载配置卡片:
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
```yaml
|
|
46
|
-
- id: ponytail
|
|
47
|
-
name: "@wenaixi/dsh-ponytail"
|
|
43
|
+
```bash
|
|
44
|
+
dsh plugin --profile web add @wenaixi/dsh-ponytail@5.3.2
|
|
48
45
|
```
|
|
49
46
|
|
|
50
|
-
|
|
47
|
+
安装完成后等待 2 至 3 秒(文件监听器防抖期),在浏览器中刷新页面即可使用。无需手动编辑 `cordis.patch.yml`。
|
|
51
48
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
49
|
+
说明:
|
|
50
|
+
- 首次安装无需重启宿主,刷新浏览器即可。
|
|
51
|
+
- 原地更新已安装版本时,宿主受条目指纹冻结机制限制,建议重启宿主或通过卸载后重新安装加载新产物。
|
|
55
52
|
|
|
56
53
|
## 用法
|
|
57
54
|
|
|
@@ -96,6 +93,7 @@ dsh --profile web '<任务>'
|
|
|
96
93
|
|
|
97
94
|
描述长度上限来自官方 `dsh-tool-skill` 的 `catalogDescriptionMaxLength`(默认 500),
|
|
98
95
|
超长会在模型目录里被截断,`verify.mjs` 对两册都断言。
|
|
96
|
+
|
|
99
97
|
## 配置面板
|
|
100
98
|
|
|
101
99
|
已安装插件的卡片详情内嵌配置面板:运行等级、6 个技能的独立开关、一键恢复默认,外加一条三级优先级诊断链,逐行显示环境变量、Profile 补丁、内置兜底各自的值与生效状态。
|
|
@@ -151,7 +149,7 @@ dsh --profile web --patch ./cordis.patch.yml --dump-config # 只验证补丁解
|
|
|
151
149
|
pnpm dsh web --patch ./cordis.patch.yml # 热重载
|
|
152
150
|
```
|
|
153
151
|
|
|
154
|
-
本地版本用独立的标准 SemVer,`pnpm version:bump` 递增 patch,`pnpm version:set -- 5.3.
|
|
152
|
+
本地版本用独立的标准 SemVer,`pnpm version:bump` 递增 patch,`pnpm version:set -- 5.3.2` 指定版本。旧的 `-dsh.N` 不再生成。上游发布不会改变本地版本号,是否吸收上游变化由本地兼容性评估决定。
|
|
155
153
|
|
|
156
154
|
发布只走 tag 触发的 CI。严禁本地 `npm publish`,push 与打 tag 都需要明确授权。
|
|
157
155
|
|
package/package.json
CHANGED
|
@@ -50,19 +50,13 @@ Default mode = `full`, auto-active every session. Change it:
|
|
|
50
50
|
export PONYTAIL_DEFAULT_MODE=ultra
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
**Profile patch** (`profiles/<name>/cordis.patch.yml`):
|
|
54
|
-
|
|
55
|
-
`dsh plugin add` does NOT write this file. After installing, add a top-level
|
|
56
|
-
entry by hand or the config card will not render:
|
|
53
|
+
**Profile patch** (`profiles/<name>/cordis.patch.yml`, entry `- id: ponytail`):
|
|
57
54
|
|
|
58
55
|
```yaml
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
config:
|
|
62
|
-
defaultMode: lite # off|lite|full|ultra
|
|
56
|
+
config:
|
|
57
|
+
defaultMode: lite # off|lite|full|ultra
|
|
63
58
|
```
|
|
64
59
|
|
|
65
|
-
Then restart the host (patch entries compose at startup, not on reload).
|
|
66
60
|
The plugin config card writes the patch for you once it renders;
|
|
67
61
|
`/ponytail default <mode>` does the same from a prompt. Set `"off"` to
|
|
68
62
|
disable auto-activation on session start, activate manually with `/ponytail`
|