pi-ptc-meter 1.0.11 → 1.0.12

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
@@ -57,6 +57,7 @@ None.
57
57
  | `tool_call` | Increments the counter (counts only; never intercepts) |
58
58
  | `turn_end` | Records counts and duration (no disk write) |
59
59
  | `agent_end` | Writes one log line per run |
60
+ | `session_start` | Resets module-level counters so a new session does not report the previous one |
60
61
 
61
62
  ## Feedback path
62
63
 
package/README.md CHANGED
@@ -57,6 +57,7 @@ pi install ./pi-ptc-meter
57
57
  | `tool_call` | 计数 +1(只数,不拦截、不改调用) |
58
58
  | `turn_end` | 记录本轮次数与耗时(不落盘) |
59
59
  | `agent_end` | 每 run 落盘一行日志 |
60
+ | `session_start` | 模块级计量归零(新会话不把上会话当作上一轮) |
60
61
 
61
62
  ## 回灌(反馈回到模型的通路)
62
63
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-ptc-meter",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
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",