pi-ptc-meter 1.0.18 → 1.0.19
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 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -73,17 +73,16 @@ flowchart TD
|
|
|
73
73
|
|
|
74
74
|
## 原理(小白)
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
**像计步器**:这一趟跑了多少步(调用了几次工具),下一趟出发前告诉你「上次 40 步,比平时多」,你自己决定要不要合并行程。
|
|
77
77
|
|
|
78
78
|
```mermaid
|
|
79
|
-
flowchart
|
|
80
|
-
A[
|
|
79
|
+
flowchart TD
|
|
80
|
+
A[干活:调用工具] --> B[计步:几次]
|
|
81
81
|
B --> C[记下来]
|
|
82
|
-
C --> D[
|
|
82
|
+
C --> D[下轮开始时报数]
|
|
83
83
|
D --> A
|
|
84
84
|
```
|
|
85
85
|
|
|
86
|
-
|
|
87
86
|
## License
|
|
88
87
|
|
|
89
88
|
MIT
|
|
@@ -157,15 +156,17 @@ flowchart TD
|
|
|
157
156
|
D -->|nextTurn message<br/>calls / duration / deviation / median| A
|
|
158
157
|
D -.->|system keeps a static skeleton| S[ptc_meter section]
|
|
159
158
|
|
|
159
|
+
```
|
|
160
|
+
|
|
160
161
|
## How it works (plain words)
|
|
161
162
|
|
|
162
|
-
Like a pedometer
|
|
163
|
+
**Like a pedometer**: counts how many steps (tool calls) this trip took, then tells you before the next trip that last one was 40 steps, above your usual — you decide whether to combine errands.
|
|
163
164
|
|
|
164
165
|
```mermaid
|
|
165
|
-
flowchart
|
|
166
|
-
A[
|
|
166
|
+
flowchart TD
|
|
167
|
+
A[work: tool calls] --> B[count: how many]
|
|
167
168
|
B --> C[record it]
|
|
168
|
-
C --> D[report
|
|
169
|
+
C --> D[report next turn]
|
|
169
170
|
D --> A
|
|
170
171
|
```
|
|
171
172
|
flowchart TD
|
|
@@ -174,7 +175,6 @@ flowchart TD
|
|
|
174
175
|
C --> D[before_agent_start<br/>settle previous turn]
|
|
175
176
|
D -->|nextTurn message<br/>calls / duration / deviation / median| A
|
|
176
177
|
D -.->|system keeps a static skeleton| S[ptc_meter section]
|
|
177
|
-
```
|
|
178
178
|
|
|
179
179
|
## License
|
|
180
180
|
|