pi-patch-keeper 1.3.6 → 1.3.8

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 +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  # pi-patch-keeper
9
9
 
10
- > 适用 pi ≥ 0.74 · Node ≥ 20 · MIT · 无运行时依赖(仅 peer: @earendil-works/pi-coding-agent)
10
+ > 适用 pi · Node ≥ 22.19 · MIT · 无运行时依赖(仅 peer: @earendil-works/pi-coding-agent)
11
11
 
12
12
  pi 配置守卫:codemode 一致性、force 顺序、环境指纹漂移、注入手册对齐。**不含 PiDeck 与第三方源码补丁。**
13
13
 
@@ -27,7 +27,7 @@ pi install npm:pi-patch-keeper
27
27
 
28
28
  ## 配置
29
29
 
30
- 配置文件 `~/.pi/patch-keeper.json`(可省略);无环境变量。
30
+ 配置文件 `~/.pi/patch-keeper.json`(可省略);无环境变量。**只支持 `forceTail` 一个键**——旧版遗留的 `packages` / `defaultTools` / `enabledModels` 等字段无代码消费,改它们不生效;启动时若检测到未知键会明确告知(2026-10-18 起)。
31
31
 
32
32
  | 键 | 类型 | 默认 | 说明 |
33
33
  | --- | --- | --- | --- |
@@ -123,7 +123,7 @@ pi install npm:pi-patch-keeper
123
123
 
124
124
  ## Configuration
125
125
 
126
- Config file `~/.pi/patch-keeper.json` (optional); no environment variables.
126
+ Config file `~/.pi/patch-keeper.json` (optional); no environment variables. **Only `forceTail` is read** — legacy keys such as `packages` / `defaultTools` / `enabledModels` have no consumer, so editing them does nothing; unknown keys are reported at startup.
127
127
 
128
128
  | Key | Type | Default | Description |
129
129
  | --- | --- | --- | --- |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-patch-keeper",
3
- "version": "1.3.6",
3
+ "version": "1.3.8",
4
4
  "description": "pi config guards: codemode single-source check, force-order guard (auto-fix), settings fingerprint drift, injected-manual alignment. (PiDeck / third-party source patches are a local-only module, not bundled.)",
5
5
  "type": "module",
6
6
  "license": "MIT",