@monotykamary/pi-better-grok 0.1.0 → 0.1.2

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/index.ts +2 -5
  2. package/package.json +23 -11
package/index.ts CHANGED
@@ -528,7 +528,7 @@ export default function betterGrok(pi: ExtensionAPI): void {
528
528
  }
529
529
  const fast = fastController.statusSegment(ctx, cfg);
530
530
  const usage = usageController.statusLine(ctx, cfg);
531
- setStatus(ctx, [fast, usage].filter(Boolean).join(" | ") || undefined);
531
+ setStatus(ctx, [fast, usage].filter(Boolean).join(" · ") || undefined);
532
532
  return;
533
533
  }
534
534
 
@@ -549,7 +549,7 @@ export default function betterGrok(pi: ExtensionAPI): void {
549
549
 
550
550
  const fast = fastController.statusSegment(ctx, cfg);
551
551
  const usage = usageController.statusLine(ctx, cfg);
552
- setStatusWidget(ctx, [fast, usage].filter(Boolean).join(" | ") || undefined);
552
+ setStatusWidget(ctx, [fast, usage].filter(Boolean).join(" · ") || undefined);
553
553
  }
554
554
 
555
555
  pi.on("session_start", (_event, ctx) => {
@@ -563,9 +563,6 @@ export default function betterGrok(pi: ExtensionAPI): void {
563
563
  ) {
564
564
  persist(nextConfig);
565
565
  }
566
- if (fastController.desiredActive && !fastController.active) {
567
- ctx.ui.notify(fastController.unsupportedRequestMessage(ctx, nextConfig), "warning");
568
- }
569
566
  refreshFooterTotals(ctx);
570
567
  updateFooter(ctx);
571
568
  usageController.start(ctx);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monotykamary/pi-better-grok",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Improve Grok/xAI in pi with fast mode, subscription usage stats, footer polish, and settings — mirroring pi-better-openai.",
5
5
  "keywords": [
6
6
  "footer",
@@ -22,6 +22,9 @@
22
22
  "type": "git",
23
23
  "url": "git+https://github.com/monotykamary/pi-better-grok.git"
24
24
  },
25
+ "workspaces": [
26
+ "."
27
+ ],
25
28
  "files": [
26
29
  "index.ts",
27
30
  "src/",
@@ -33,6 +36,15 @@
33
36
  "publishConfig": {
34
37
  "access": "public"
35
38
  },
39
+ "scripts": {
40
+ "check": "bun run typecheck && bun run lint && bun run format:check && bun run test",
41
+ "format": "oxfmt .",
42
+ "format:check": "oxfmt --check .",
43
+ "lint": "oxlint --deny-warnings index.ts src/*.ts tests/*.ts",
44
+ "lint:fix": "oxlint --fix index.ts src/*.ts tests/*.ts",
45
+ "test": "vitest run",
46
+ "typecheck": "tsc --noEmit"
47
+ },
36
48
  "devDependencies": {
37
49
  "@earendil-works/pi-coding-agent": "0.84.4",
38
50
  "@earendil-works/pi-tui": "0.84.4",
@@ -46,6 +58,15 @@
46
58
  "@earendil-works/pi-coding-agent": "*",
47
59
  "@earendil-works/pi-tui": "*"
48
60
  },
61
+ "overrides": {
62
+ "@earendil-works/pi-agent-core": "0.84.4",
63
+ "@earendil-works/pi-ai": "0.84.4",
64
+ "brace-expansion": "5.0.9",
65
+ "nanoid": "3.3.18",
66
+ "postcss": "8.5.25",
67
+ "protobufjs": "7.6.5",
68
+ "undici": "8.10.0"
69
+ },
49
70
  "engines": {
50
71
  "node": ">=22.19.0"
51
72
  },
@@ -53,14 +74,5 @@
53
74
  "extensions": [
54
75
  "./index.ts"
55
76
  ]
56
- },
57
- "scripts": {
58
- "check": "pnpm run typecheck && pnpm run lint && pnpm run format:check && pnpm test",
59
- "format": "oxfmt .",
60
- "format:check": "oxfmt --check .",
61
- "lint": "oxlint --deny-warnings index.ts src/*.ts tests/*.ts",
62
- "lint:fix": "oxlint --fix index.ts src/*.ts tests/*.ts",
63
- "test": "vitest run",
64
- "typecheck": "tsc --noEmit"
65
77
  }
66
- }
78
+ }