@xynogen/pix-models 0.1.31 → 0.1.33
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/package.json +2 -2
- package/src/models.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xynogen/pix-models",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.33",
|
|
4
4
|
"description": "Pi extension — enhanced /models picker with BenchLM ranks",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@xynogen/pix-data": "^0.4.3",
|
|
42
42
|
"@xynogen/pix-pretty": "^1.11.2",
|
|
43
|
-
"@xynogen/pix-runtime": "^0.
|
|
43
|
+
"@xynogen/pix-runtime": "^0.6.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@earendil-works/pi-coding-agent": "*",
|
package/src/models.ts
CHANGED
|
@@ -27,6 +27,7 @@ import {
|
|
|
27
27
|
modalWidth,
|
|
28
28
|
terminalModalHeight,
|
|
29
29
|
} from "@xynogen/pix-pretty/modal-frame";
|
|
30
|
+
import { dotJoin } from "@xynogen/pix-pretty/utils";
|
|
30
31
|
import { patchOutBuiltinModelCommand } from "./patch-builtin";
|
|
31
32
|
|
|
32
33
|
// ─── Pure logic (exported for tests) ─────────────────────────────────────────
|
|
@@ -310,7 +311,6 @@ async function showEnhancedPicker(pi: ExtensionAPI, ctx: ExtensionContext): Prom
|
|
|
310
311
|
|
|
311
312
|
// Mute low-info parts (separators, padding, #, ☆) so the actual values pop.
|
|
312
313
|
const mute = (s: string) => theme.fg("muted", s);
|
|
313
|
-
const sep = mute(" · ");
|
|
314
314
|
const guide = (key: string, action: string) =>
|
|
315
315
|
theme.fg("text", key) + theme.fg("dim", ` ${action}`);
|
|
316
316
|
const guideSep = theme.fg("dim", " · ");
|
|
@@ -389,7 +389,7 @@ async function showEnhancedPicker(pi: ExtensionAPI, ctx: ExtensionContext): Prom
|
|
|
389
389
|
const starBar = theme.fg(scoreColor, "★".repeat(filled)) + mute("☆".repeat(5 - filled));
|
|
390
390
|
benchSeg = `⚡${theme.fg(scoreColor, String(score))} ${starBar}`;
|
|
391
391
|
}
|
|
392
|
-
const desc = [ctxStr, costSeg, benchSeg]
|
|
392
|
+
const desc = dotJoin([ctxStr, costSeg, benchSeg], mute);
|
|
393
393
|
|
|
394
394
|
return {
|
|
395
395
|
value: `${m.provider}/${m.id}`,
|