pi-think-anchor 1.0.12 → 1.0.13

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/README.en.md CHANGED
@@ -74,6 +74,7 @@ Example:
74
74
  | `turn_end` | Reads each assistant thinking block -> word fingerprint (focus / drift / neutral) -> sliding-window aggregation -> band |
75
75
  | Evidence gate | When **this turn** has fewer than `minHits` hits it only advances the window: no score, no intervention (avoids mistaking "long and scattered" for repeated probing) |
76
76
  | State machine | `healthy -> warning -> critical`; after L2 is exhausted it goes silent instead of escalating forever |
77
+ | `session_start` | Resets state machine and band history, keeping the last 3 samples and pending (cross-session settlement) |
77
78
 
78
79
  It only reads thinking and **never rewrites it** — unlike compression extensions, it decides whether to nudge, not how the text should look.
79
80
 
package/README.md CHANGED
@@ -74,6 +74,7 @@ pi install ./pi-think-anchor
74
74
  | `turn_end` | 取每条 assistant 消息的 thinking 文本 → 词频指纹(专注 / 发散 / 中性)→ 滑窗聚合 → 判波段 |
75
75
  | 证据门槛 | **本轮**命中 < `minHits` 时只推进窗口,不评分、不干预(避免把「长而散」当成反复试探) |
76
76
  | 状态机 | `healthy → warning → critical`;L2 用尽后静默,不无限升级 |
77
+ | `session_start` | 重置状态机与波段历史,只保留最近 3 条与 pending(跨会话效果结算) |
77
78
 
78
79
  只读 thinking,**不改写任何内容**——这一点与压缩类扩展不同:它影响的是「要不要提醒」,不是「写得对不对」。
79
80
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-think-anchor",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "Monitors thinking focus drift and nudges the model back on track.",
5
5
  "type": "module",
6
6
  "license": "MIT",