dsh-personal-system-rules 0.7.0 → 0.7.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 +13 -1
- package/README.md +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## 0.7.2 — 2026-11-06
|
|
4
|
+
|
|
5
|
+
- 发布链路改用 npm Trusted Publishing(OIDC):GitHub Actions 打 tag 后由 npm 签发短时发布凭据,仓库不再需要保存任何长期 npm 令牌,npm 同时自动附带 provenance。
|
|
6
|
+
- `release.yml` 的发布步骤改为三态:有 `NPM_TOKEN` secret 用 secret,有 OIDC 走 OIDC,两者都没有才跳过;原有 GitHub Release 与 tgz 产出不变。
|
|
7
|
+
- 无功能变更:与 `0.7.1` 相同。
|
|
8
|
+
|
|
9
|
+
## 0.7.1 — 2026-11-06
|
|
10
|
+
|
|
11
|
+
- 补齐 GitHub 发布:`v0.6.0`、`v0.7.0` 两个 tag、对应 Release 与 tgz 安装包此前都缺失,只补了 `v0.5.0`;本次补推两个 tag,并更新 README 的安装示例指向 `v0.7.0`(原先写的 `v0.6.0` 链接当时是死链)。
|
|
12
|
+
- `0.6.1` 从未作为独立版本发布到 npm,其修复随 `0.7.0` 一同发布,CHANGELOG 标题补注说明,避免版本序列误导。
|
|
13
|
+
- 无代码变更:功能与 `0.7.0` 相同。
|
|
14
|
+
|
|
3
15
|
## 0.7.0 — 2026-11-05
|
|
4
16
|
|
|
5
17
|
- 静默守卫从「步数」改为「时长」:新增 `maxSilentSeconds`(默认 60 秒,`0` 关闭),按最后一条可见文字消息到当前时刻的间隔判定,同一段沉默每再满一个阈值提醒一次。提醒文案的 `{count}` 现在是秒数。
|
|
@@ -8,7 +20,7 @@
|
|
|
8
20
|
- 设置页字段改为「多久没有可见输出就提醒(秒)」,中英文案、README、locale 描述同步。
|
|
9
21
|
- 旧的 `maxSilentSteps` 键保留在 profile 里也无害(schemastery 不报未知键),但不再生效;迁移时换成期望的秒数。
|
|
10
22
|
|
|
11
|
-
## 0.6.1 — 2026-11-05
|
|
23
|
+
## 0.6.1 — 2026-11-05(未单独发布,修复随 0.7.0 一同发布到 npm)
|
|
12
24
|
|
|
13
25
|
- 修复任务状态守卫从不触发的问题:`staleTodoSteps()` 原先在 `session.surface.nodes` 里查找 `todo/write` 事件,但 surface 只承载消息类事件(`system`/`developer`/`user`/`assistant` 消息与 `tool/result`),`todo/write` 是仅落日志的事件,永远不会出现在 surface 上,于是每步都被判成「本轮没写列表」,守卫一直静默。
|
|
14
26
|
- 改为读取 assistant 消息里模型自己的 `todo_write` 工具调用(`arguments.todos`)作为列表来源,步数从最近一次该调用算起;日志里的 `todo/write` 事件不再参与判断。
|
package/README.md
CHANGED
|
@@ -28,13 +28,13 @@ dsh plugin --profile my-profile add dsh-personal-system-rules
|
|
|
28
28
|
**从 git(固定 tag):**
|
|
29
29
|
|
|
30
30
|
```powershell
|
|
31
|
-
dsh plugin --profile my-profile add "git+https://github.com/NingYuanLee/dsh-personal-system-rules.git#v0.
|
|
31
|
+
dsh plugin --profile my-profile add "git+https://github.com/NingYuanLee/dsh-personal-system-rules.git#v0.7.0"
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
**从 GitHub Release tarball:**
|
|
35
35
|
|
|
36
36
|
```powershell
|
|
37
|
-
dsh plugin --profile my-profile add "https://github.com/NingYuanLee/dsh-personal-system-rules/releases/download/v0.
|
|
37
|
+
dsh plugin --profile my-profile add "https://github.com/NingYuanLee/dsh-personal-system-rules/releases/download/v0.7.0/dsh-personal-system-rules-0.7.0.tgz"
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
包没有 `prepare` / `postinstall` 脚本,安装不执行构建代码。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-personal-system-rules",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"displayName": "个性化规则",
|
|
5
5
|
"description": "Inject a user-chosen rules file as a system-prompt section, and configure its body plus the silent (elapsed-time) reminder, repeated-action and stale-todo guards from the DSH settings dialog or the plugin detail page. Inactive in the minimal preset; nothing is injected when the plugin is disabled or fails to load.",
|
|
6
6
|
"license": "MIT",
|