@monotykamary/pi-better-openai 0.1.33 → 0.1.34
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/index.ts +2 -2
- package/package.json +23 -11
package/index.ts
CHANGED
|
@@ -1228,7 +1228,7 @@ export default function betterOpenAI(pi: ExtensionAPI): void {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
const fast = fastController.statusSegment(ctx, cfg);
|
|
1230
1230
|
const usage = usageController.statusLine(ctx, cfg);
|
|
1231
|
-
setStatus(ctx, [fast, usage].filter(Boolean).join("
|
|
1231
|
+
setStatus(ctx, [fast, usage].filter(Boolean).join(" · ") || undefined);
|
|
1232
1232
|
return;
|
|
1233
1233
|
}
|
|
1234
1234
|
|
|
@@ -1252,7 +1252,7 @@ export default function betterOpenAI(pi: ExtensionAPI): void {
|
|
|
1252
1252
|
|
|
1253
1253
|
const fast = fastController.statusSegment(ctx, cfg);
|
|
1254
1254
|
const usage = usageController.statusLine(ctx, cfg);
|
|
1255
|
-
setStatusWidget(ctx, [fast, usage].filter(Boolean).join("
|
|
1255
|
+
setStatusWidget(ctx, [fast, usage].filter(Boolean).join(" · ") || undefined);
|
|
1256
1256
|
}
|
|
1257
1257
|
|
|
1258
1258
|
pi.on("session_start", (_event, ctx) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monotykamary/pi-better-openai",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.34",
|
|
4
4
|
"description": "Improve OpenAI in pi with fast mode, usage stats, realtime voice, image generation, and footer polish.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fast",
|
|
@@ -31,6 +31,9 @@
|
|
|
31
31
|
"type": "git",
|
|
32
32
|
"url": "git+https://github.com/monotykamary/pi-better-openai.git"
|
|
33
33
|
},
|
|
34
|
+
"workspaces": [
|
|
35
|
+
"."
|
|
36
|
+
],
|
|
34
37
|
"files": [
|
|
35
38
|
"index.ts",
|
|
36
39
|
"src/",
|
|
@@ -42,6 +45,15 @@
|
|
|
42
45
|
"publishConfig": {
|
|
43
46
|
"access": "public"
|
|
44
47
|
},
|
|
48
|
+
"scripts": {
|
|
49
|
+
"check": "bun run typecheck && bun run lint && bun run format:check && bun run test",
|
|
50
|
+
"format": "oxfmt .",
|
|
51
|
+
"format:check": "oxfmt --check .",
|
|
52
|
+
"lint": "oxlint --deny-warnings index.ts src/*.ts src/*/*.ts tests/*.ts",
|
|
53
|
+
"lint:fix": "oxlint --fix index.ts src/*.ts src/*/*.ts tests/*.ts",
|
|
54
|
+
"test": "vitest run",
|
|
55
|
+
"typecheck": "tsc --noEmit"
|
|
56
|
+
},
|
|
45
57
|
"dependencies": {
|
|
46
58
|
"https-proxy-agent": "9.1.0",
|
|
47
59
|
"proxy-from-env": "2.1.0",
|
|
@@ -71,6 +83,15 @@
|
|
|
71
83
|
"@oh-my-pi/pi-natives-linux-x64": "17.2.9",
|
|
72
84
|
"@oh-my-pi/pi-natives-win32-x64": "17.2.9"
|
|
73
85
|
},
|
|
86
|
+
"overrides": {
|
|
87
|
+
"@earendil-works/pi-agent-core": "0.84.4",
|
|
88
|
+
"@earendil-works/pi-ai": "0.84.4",
|
|
89
|
+
"brace-expansion": "5.0.9",
|
|
90
|
+
"nanoid": "3.3.18",
|
|
91
|
+
"postcss": "8.5.25",
|
|
92
|
+
"protobufjs": "7.6.5",
|
|
93
|
+
"undici": "8.10.0"
|
|
94
|
+
},
|
|
74
95
|
"engines": {
|
|
75
96
|
"node": ">=22.19.0"
|
|
76
97
|
},
|
|
@@ -78,14 +99,5 @@
|
|
|
78
99
|
"extensions": [
|
|
79
100
|
"./index.ts"
|
|
80
101
|
]
|
|
81
|
-
},
|
|
82
|
-
"scripts": {
|
|
83
|
-
"check": "pnpm run typecheck && pnpm run lint && pnpm run format:check && pnpm test",
|
|
84
|
-
"format": "oxfmt .",
|
|
85
|
-
"format:check": "oxfmt --check .",
|
|
86
|
-
"lint": "oxlint --deny-warnings index.ts src/*.ts src/*/*.ts tests/*.ts",
|
|
87
|
-
"lint:fix": "oxlint --fix index.ts src/*.ts src/*/*.ts tests/*.ts",
|
|
88
|
-
"test": "vitest run",
|
|
89
|
-
"typecheck": "tsc --noEmit"
|
|
90
102
|
}
|
|
91
|
-
}
|
|
103
|
+
}
|