@vtstech/pi-diag 1.0.4-1 → 1.0.5

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/diag.js +3 -2
  2. package/package.json +3 -3
package/diag.js CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  } from "@vtstech/pi-shared/security";
24
24
  function diag_temp_default(pi) {
25
25
  const branding = [
26
- ` \u26A1 Pi Diagnostics v1.0.3`,
26
+ ` \u26A1 Pi Diagnostics v1.0.5`,
27
27
  ` Written by VTSTech`,
28
28
  ` GitHub: https://github.com/VTSTech`,
29
29
  ` Website: www.vts-tech.org`
@@ -197,7 +197,8 @@ function diag_temp_default(pi) {
197
197
  for (const m of models) {
198
198
  configuredModels.push(m.id);
199
199
  const reasoning = m.reasoning ? " [reasoning]" : "";
200
- lines.push(info(` \u2022 ${m.id}${reasoning}`));
200
+ const ctx2 = m.contextLength ? ` ctx:${(m.contextLength / 1e3).toFixed(0)}k` : "";
201
+ lines.push(info(` \u2022 ${m.id}${reasoning}${ctx2}`));
201
202
  }
202
203
  }
203
204
  check(
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@vtstech/pi-diag",
3
- "version": "1.0.4-1",
3
+ "version": "1.0.5",
4
4
  "description": "Diagnostics extension for Pi Coding Agent",
5
5
  "main": "diag.js",
6
- "keywords": ["pi-package", "pi-extensions"],
6
+ "keywords": ["pi-extensions"],
7
7
  "license": "MIT",
8
8
  "access": "public",
9
9
  "type": "module",
@@ -14,7 +14,7 @@
14
14
  "url": "https://github.com/VTSTech/pi-coding-agent"
15
15
  },
16
16
  "dependencies": {
17
- "@vtstech/pi-shared": "1.0.4-1"
17
+ "@vtstech/pi-shared": "1.0.5"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "@mariozechner/pi-coding-agent": ">=0.66"