pi-think-anchor 1.0.25 → 1.0.26
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.md +10 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -162,12 +162,12 @@ pi install npm:pi-think-anchor
|
|
|
162
162
|
flowchart TD
|
|
163
163
|
A[turn_end<br/>读 assistant thinking] --> B[词频指纹 pos/neg/neu]
|
|
164
164
|
B --> C{本轮命中 >= minHits?}
|
|
165
|
-
C
|
|
165
|
+
C -->|否:只推进窗口| A
|
|
166
166
|
C -->|是| D[滑窗聚合 + alpha 平滑比率]
|
|
167
167
|
D --> E{波段}
|
|
168
|
-
E -->|spec
|
|
169
|
-
E -->|mixed
|
|
170
|
-
E -->|react| H[
|
|
168
|
+
E -->|spec:静默| A
|
|
169
|
+
E -->|mixed:观察| A
|
|
170
|
+
E -->|react| H[状态机 L1 / L2]
|
|
171
171
|
H -->|nextTurn 尾部消息| A
|
|
172
172
|
```
|
|
173
173
|
|
|
@@ -179,7 +179,7 @@ flowchart TD
|
|
|
179
179
|
flowchart TD
|
|
180
180
|
A[你说的话] --> B[教练看用词]
|
|
181
181
|
B --> C{清晰吗}
|
|
182
|
-
C -->|清晰|
|
|
182
|
+
C -->|清晰| A
|
|
183
183
|
C -->|有点散| E[轻提醒]
|
|
184
184
|
C -->|一直散| F[认真提醒]
|
|
185
185
|
E --> A
|
|
@@ -355,14 +355,13 @@ Full config (copy-paste ready, includes the default lexicon):
|
|
|
355
355
|
flowchart TD
|
|
356
356
|
A[turn_end<br/>read assistant thinking] --> B[word fingerprint pos/neg/neu]
|
|
357
357
|
B --> C{hits >= minHits?}
|
|
358
|
-
C -->|no
|
|
358
|
+
C -->|no: window only| A
|
|
359
359
|
C -->|yes| D[sliding window + alpha-smoothed ratio]
|
|
360
360
|
D --> E{band}
|
|
361
|
-
E -->|spec
|
|
362
|
-
E -->|mixed|
|
|
363
|
-
E -->|react| H[state machine
|
|
361
|
+
E -->|spec: silent| A
|
|
362
|
+
E -->|mixed: watch| A
|
|
363
|
+
E -->|react| H[state machine L1 / L2]
|
|
364
364
|
H -->|nextTurn message| A
|
|
365
|
-
|
|
366
365
|
```
|
|
367
366
|
|
|
368
367
|
## How it works (plain words)
|
|
@@ -373,7 +372,7 @@ flowchart TD
|
|
|
373
372
|
flowchart TD
|
|
374
373
|
A[what you say] --> B[coach reads wording]
|
|
375
374
|
B --> C{focused?}
|
|
376
|
-
C -->|yes|
|
|
375
|
+
C -->|yes| A
|
|
377
376
|
C -->|slightly off| E[gentle nudge]
|
|
378
377
|
C -->|drifting| F[stronger nudge]
|
|
379
378
|
E --> A
|