pi-ptc-meter 1.0.21 → 1.0.22

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 +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  # pi-ptc-meter
9
9
 
10
- 每轮工具调用计量:统计调用次数与耗时,并把数字回灌给模型。
10
+ 每轮工具调用计量:记录调用次数与耗时,与开工前声明的估算对比后,把实际值与偏差回灌给模型。
11
11
 
12
12
  ## 快速事实
13
13
 
@@ -15,7 +15,7 @@
15
15
  | --- | --- |
16
16
  | 配置文件 | ~/.pi/ptc-meter.json(可省略) |
17
17
  | 命令行 | /ptc [n](默认 20) |
18
- | 调用方式 | **全自动**:计数与回灌无需触发;命令只查看 |
18
+ | 调用方式 | **全自动**:计数与回灌无需触发;估算由模型在回复中自行声明(如「预计 40 次」),扩展只负责解析与对比 |
19
19
 
20
20
  完整配置(全部键与默认值):
21
21
 
@@ -95,7 +95,7 @@ MIT
95
95
 
96
96
  <h1 align="center">🌐 English Version &nbsp;⬇️</h1>
97
97
 
98
- Per-turn tool-call metering: counts calls and duration, then feeds the numbers back to the model.
98
+ Per-turn tool-call metering: records calls and duration, compares them with the estimate declared before the turn, and feeds back the actuals and deviation.
99
99
 
100
100
  ## At a glance
101
101
 
@@ -103,7 +103,7 @@ Per-turn tool-call metering: counts calls and duration, then feeds the numbers b
103
103
  | --- | --- |
104
104
  | Config file | ~/.pi/ptc-meter.json (optional) |
105
105
  | Commands | /ptc [n] (default 20) |
106
- | Automation | **Fully automatic**: metering and feedback need no trigger; the command only reads |
106
+ | Automation | **Fully automatic**: metering and feedback need no trigger. The estimate is declared by the model in its reply (e.g. "about 40 calls"); the extension only parses and compares |
107
107
 
108
108
  Full config (all keys and defaults):
109
109
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-ptc-meter",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "Measures tool-call batching per turn and feeds the numbers back to the model.",
5
5
  "type": "module",
6
6
  "license": "MIT",