gsd-pi 2.10.10 → 2.10.11

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gsd-pi",
3
- "version": "2.10.10",
3
+ "version": "2.10.11",
4
4
  "description": "GSD — Get Shit Done coding agent",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -62,11 +62,40 @@
62
62
  "prepublishOnly": "npm run sync-pkg-version && npm run sync-platform-versions && git diff --exit-code || (echo 'ERROR: version sync changed files — commit them before publishing' && exit 1) && npm run build && npm run validate-pack"
63
63
  },
64
64
  "dependencies": {
65
+ "@anthropic-ai/sdk": "^0.73.0",
66
+ "@aws-sdk/client-bedrock-runtime": "^3.983.0",
65
67
  "@clack/prompts": "^1.1.0",
68
+ "@google/genai": "^1.40.0",
69
+ "@mariozechner/jiti": "^2.6.2",
70
+ "@mistralai/mistralai": "1.14.1",
71
+ "@silvia-odwyer/photon-node": "^0.3.4",
72
+ "@sinclair/typebox": "^0.34.41",
73
+ "@types/mime-types": "^2.1.4",
74
+ "ajv": "^8.17.1",
75
+ "ajv-formats": "^3.0.1",
76
+ "chalk": "^5.5.0",
77
+ "diff": "^8.0.2",
78
+ "extract-zip": "^2.0.1",
79
+ "file-type": "^21.1.1",
80
+ "get-east-asian-width": "^1.3.0",
81
+ "glob": "^13.0.1",
82
+ "hosted-git-info": "^9.0.2",
83
+ "ignore": "^7.0.5",
84
+ "marked": "^15.0.12",
85
+ "mime-types": "^3.0.1",
86
+ "minimatch": "^10.2.3",
87
+ "openai": "6.26.0",
66
88
  "picocolors": "^1.1.1",
67
89
  "picomatch": "^4.0.3",
68
90
  "playwright": "^1.58.2",
69
- "sharp": "^0.34.5"
91
+ "proper-lockfile": "^4.1.2",
92
+ "proxy-agent": "^6.5.0",
93
+ "sharp": "^0.34.5",
94
+ "sql.js": "^1.14.1",
95
+ "strip-ansi": "^7.1.0",
96
+ "undici": "^7.24.2",
97
+ "yaml": "^2.8.2",
98
+ "zod-to-json-schema": "^3.24.6"
70
99
  },
71
100
  "devDependencies": {
72
101
  "@types/node": "^22.0.0",
@@ -80,7 +109,8 @@
80
109
  "@gsd-build/engine-linux-x64-gnu": ">=2.10.2",
81
110
  "@gsd-build/engine-linux-arm64-gnu": ">=2.10.2",
82
111
  "@gsd-build/engine-win32-x64-msvc": ">=2.10.2",
83
- "fsevents": "~2.3.3"
112
+ "fsevents": "~2.3.3",
113
+ "koffi": "^2.9.0"
84
114
  },
85
115
  "overrides": {
86
116
  "gaxios": "7.1.4"
@@ -33,7 +33,7 @@
33
33
  "chalk": "^5.6.2",
34
34
  "openai": "6.26.0",
35
35
  "proxy-agent": "^6.5.0",
36
- "undici": "^7.19.1",
36
+ "undici": "^7.24.2",
37
37
  "zod-to-json-schema": "^3.24.6"
38
38
  }
39
39
  }
@@ -37,7 +37,7 @@
37
37
  "minimatch": "^10.2.3",
38
38
  "proper-lockfile": "^4.1.2",
39
39
  "strip-ansi": "^7.1.0",
40
- "undici": "^7.19.1",
40
+ "undici": "^7.24.2",
41
41
  "sql.js": "^1.14.1",
42
42
  "yaml": "^2.8.2"
43
43
  },
@@ -44,6 +44,12 @@ let linuxReady = false;
44
44
  function ensureLinuxReady(ctx: ExtensionContext): boolean {
45
45
  if (linuxReady) return true;
46
46
 
47
+ // Check GROQ_API_KEY is available
48
+ if (!process.env.GROQ_API_KEY) {
49
+ ctx.ui.notify("Voice: GROQ_API_KEY not set — run 'gsd config' to configure", "error");
50
+ return false;
51
+ }
52
+
47
53
  // Check python3 exists
48
54
  try {
49
55
  execSync("which python3", { stdio: "pipe" });
@@ -211,21 +217,8 @@ export default function (pi: ExtensionAPI) {
211
217
  onReady: () => void,
212
218
  ) {
213
219
  if (IS_LINUX) {
214
- // Pass GROQ_API_KEY to the Python process — check process.env, then .env file
215
- const spawnEnv = { ...process.env };
216
- if (!spawnEnv.GROQ_API_KEY) {
217
- try {
218
- const envPath = path.join(process.cwd(), ".env");
219
- const envContent = fs.readFileSync(envPath, "utf-8");
220
- const match = envContent.match(/^GROQ_API_KEY=(.+)$/m);
221
- if (match) spawnEnv.GROQ_API_KEY = match[1].trim();
222
- } catch {
223
- // .env not found — Python script will emit ERROR if key needed
224
- }
225
- }
226
220
  recognizerProcess = spawn(linuxPython(), [PYTHON_SCRIPT], {
227
221
  stdio: ["pipe", "pipe", "pipe"],
228
- env: spawnEnv,
229
222
  });
230
223
  } else {
231
224
  recognizerProcess = spawn(RECOGNIZER_BIN, [], { stdio: ["pipe", "pipe", "pipe"] });