pi-ptc-meter 1.0.14 → 1.0.15

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 +8 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,11 @@
1
- # pi-ptc-meter
1
+ <p align="center">
2
+ <a href="#zh"><img alt="中文" src="https://img.shields.io/badge/%E4%B8%AD%E6%96%87-%E4%B8%AD%E6%96%87-2F81F7?style=for-the-badge"></a>
3
+ <a href="#english"><img alt="English" src="https://img.shields.io/badge/English-EN-FF6B35?style=for-the-badge"></a>
4
+ </p>
5
+
6
+ <a id="zh"></a>
2
7
 
3
- > 中文 · [English](#english)(页面内折叠)
8
+ # pi-ptc-meter
4
9
 
5
10
  每轮工具调用计量:统计调用次数与耗时,并把数字回灌给模型。
6
11
 
@@ -45,8 +50,7 @@ MIT
45
50
 
46
51
  <a id="english"></a>
47
52
 
48
- <details>
49
- <summary><b>English</b></summary>
53
+ <h1 align="center">🌐 English Version &nbsp;⬇️</h1>
50
54
 
51
55
  Per-turn tool-call metering: counts calls and duration, then feeds the numbers back to the model.
52
56
 
@@ -86,5 +90,3 @@ Also: log `~/.pi/ptc-meter.jsonl` (1 MiB truncation, tail-preserving); no enviro
86
90
  ## License
87
91
 
88
92
  MIT
89
-
90
- </details>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-ptc-meter",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
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",