terminal-jarvis 0.0.77 → 0.0.79

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/README.md CHANGED
@@ -22,6 +22,19 @@ Manage Claude, Gemini, Qwen, and 19 more AI assistants from one terminal interfa
22
22
 
23
23
  ---
24
24
 
25
+ ## Table of Contents
26
+
27
+ - [Quick Start](#quick-start)
28
+ - [What It Does](#what-it-does)
29
+ - [Documentation](#documentation)
30
+ - [Project Structure](#project-structure)
31
+ - [Development](#development)
32
+ - [Contributing](#contributing)
33
+ - [License](#license)
34
+
35
+
36
+ > *Note: If these links do not respond in the GitHub Mobile app, try viewing in a browser. This is a known platform limitation.*
37
+
25
38
  ## Quick Start
26
39
 
27
40
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "terminal-jarvis",
3
- "version": "0.0.77",
3
+ "version": "0.0.79",
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"
@@ -56,14 +56,14 @@
56
56
  },
57
57
  "homepage": "https://github.com/BA-CalderonMorales/terminal-jarvis#readme",
58
58
  "devDependencies": {
59
- "@biomejs/biome": "^2.1.3",
60
- "@types/node": "^24.7.0",
61
- "@vitest/ui": "^3.2.4",
62
- "cli-testing-library": "^3.0.1",
63
- "string-width": "^8.1.0",
64
- "typescript": "^5.9.2",
65
- "vitest": "^3.2.4",
66
- "zod": "^4.1.11"
59
+ "@biomejs/biome": "2.1.4",
60
+ "@types/node": "22.15.3",
61
+ "@vitest/ui": "3.2.4",
62
+ "cli-testing-library": "3.0.1",
63
+ "string-width": "8.1.0",
64
+ "typescript": "5.9.3",
65
+ "vitest": "3.2.4",
66
+ "zod": "3.25.56"
67
67
  },
68
68
  "engines": {
69
69
  "node": ">=16.0.0"
@@ -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.79
12
12
  */
13
13
 
14
14
  const fs = require('fs');
@@ -218,6 +218,13 @@ function checkPrerequisites() {
218
218
  (async () => {
219
219
  const startTime = Date.now();
220
220
 
221
+ // Skip binary download in CI environments - binary hasn't been released yet
222
+ if (process.env.CI || process.env.SKIP_POSTINSTALL) {
223
+ log('CI environment detected - skipping binary download');
224
+ log('Binary will be built from source or downloaded on first use');
225
+ process.exit(0);
226
+ }
227
+
221
228
  try {
222
229
  // Detect platform
223
230
  const platformInfo = getPlatformInfo();
@@ -261,16 +268,30 @@ function checkPrerequisites() {
261
268
  const extractTime = ((Date.now() - extractStart) / 1000).toFixed(1);
262
269
  log(`[SUCCESS] Extraction complete (${extractTime}s)`);
263
270
 
264
- // Move binary to bin directory
271
+ // Move binaries to bin directory
272
+ await fs.promises.mkdir(binDir, { recursive: true });
273
+
274
+ // 1. Rust binary
265
275
  const extractedBin = path.join(downloadDir, 'terminal-jarvis');
266
276
  const binaryDest = path.join(binDir, platformInfo.isWindows ? 'terminal-jarvis.exe' : 'terminal-jarvis-bin');
267
-
268
- await fs.promises.mkdir(binDir, { recursive: true });
269
277
  await fs.promises.copyFile(extractedBin, binaryDest);
270
278
  if (!platformInfo.isWindows) {
271
279
  await fs.promises.chmod(binaryDest, 0o755);
272
280
  }
273
281
 
282
+ // 2. Go binary (ADK home screen)
283
+ const extractedGo = path.join(downloadDir, platformInfo.isWindows ? 'jarvis.exe' : 'jarvis');
284
+ const goDest = path.join(binDir, platformInfo.isWindows ? 'jarvis.exe' : 'jarvis');
285
+ if (fs.existsSync(extractedGo)) {
286
+ await fs.promises.copyFile(extractedGo, goDest);
287
+ if (!platformInfo.isWindows) {
288
+ await fs.promises.chmod(goDest, 0o755);
289
+ }
290
+ log('[SUCCESS] Go ADK installed');
291
+ } else {
292
+ warn('Go ADK not found in archive, falling back to Rust UI');
293
+ }
294
+
274
295
  // Note: The launcher script (bin/terminal-jarvis) is committed to the repository
275
296
  // We only download and install the binary here
276
297
  const launcherPath = path.join(binDir, 'terminal-jarvis');
Binary file