terminal-jarvis 0.0.77 → 0.0.78

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "terminal-jarvis",
3
- "version": "0.0.77",
3
+ "version": "0.0.78",
4
4
  "description": "AI Coding Tools Wrapper - Unified interface for claude-code, gemini-cli, qwen-code, opencode, llxprt, codex, crush, goose, amp, and aider",
5
5
  "bin": {
6
6
  "terminal-jarvis": "bin/terminal-jarvis"
@@ -8,7 +8,7 @@
8
8
  - Verify installation
9
9
 
10
10
  Version Hint (used by CI for consistency checks):
11
- Terminal Jarvis v0.0.77
11
+ Terminal Jarvis v0.0.78
12
12
  */
13
13
 
14
14
  const fs = require('fs');
@@ -261,16 +261,30 @@ function checkPrerequisites() {
261
261
  const extractTime = ((Date.now() - extractStart) / 1000).toFixed(1);
262
262
  log(`[SUCCESS] Extraction complete (${extractTime}s)`);
263
263
 
264
- // Move binary to bin directory
264
+ // Move binaries to bin directory
265
+ await fs.promises.mkdir(binDir, { recursive: true });
266
+
267
+ // 1. Rust binary
265
268
  const extractedBin = path.join(downloadDir, 'terminal-jarvis');
266
269
  const binaryDest = path.join(binDir, platformInfo.isWindows ? 'terminal-jarvis.exe' : 'terminal-jarvis-bin');
267
-
268
- await fs.promises.mkdir(binDir, { recursive: true });
269
270
  await fs.promises.copyFile(extractedBin, binaryDest);
270
271
  if (!platformInfo.isWindows) {
271
272
  await fs.promises.chmod(binaryDest, 0o755);
272
273
  }
273
274
 
275
+ // 2. Go binary (ADK home screen)
276
+ const extractedGo = path.join(downloadDir, platformInfo.isWindows ? 'jarvis.exe' : 'jarvis');
277
+ const goDest = path.join(binDir, platformInfo.isWindows ? 'jarvis.exe' : 'jarvis');
278
+ if (fs.existsSync(extractedGo)) {
279
+ await fs.promises.copyFile(extractedGo, goDest);
280
+ if (!platformInfo.isWindows) {
281
+ await fs.promises.chmod(goDest, 0o755);
282
+ }
283
+ log('[SUCCESS] Go ADK installed');
284
+ } else {
285
+ warn('Go ADK not found in archive, falling back to Rust UI');
286
+ }
287
+
274
288
  // Note: The launcher script (bin/terminal-jarvis) is committed to the repository
275
289
  // We only download and install the binary here
276
290
  const launcherPath = path.join(binDir, 'terminal-jarvis');