@oxis-dev/tessra 2.19.7 → 2.19.8

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": "@oxis-dev/tessra",
3
- "version": "2.19.7",
3
+ "version": "2.19.8",
4
4
  "description": "MCP server for AI coding tools and agents. Provides semantic codebase context for Cursor, Claude Code, Codex, Copilot, Antigravity, and CLI workflows without requiring full file uploads.",
5
5
  "license": "UNLICENSED",
6
6
  "author": {
@@ -59,4 +59,4 @@
59
59
  "LICENSE",
60
60
  "README.md"
61
61
  ]
62
- }
62
+ }
@@ -369,10 +369,6 @@ function installLinuxLocalBin(binaryPath) {
369
369
  } catch (_) { /* no fatal */ }
370
370
  }
371
371
 
372
- if (patched.length > 0) {
373
- console.log(`tessra: ~/.local/bin agregado al PATH en: ${patched.join(', ')}.`);
374
- }
375
- console.log('tessra: abre una terminal nueva — ya deberia reconocer: tessra --version');
376
372
  }
377
373
 
378
374
  function ensureGlobalBinOnPath() {
@@ -429,6 +425,59 @@ function ensureGlobalBinOnPath() {
429
425
  }
430
426
  }
431
427
 
428
+ // ── Resumen final de instalación ─────────────────────────────────────────────
429
+
430
+ function printInstallSummary() {
431
+ const W = 54;
432
+ const line = '─'.repeat(W);
433
+ const green = (s) => `\x1b[32m${s}\x1b[0m`;
434
+ const pad = (s) => {
435
+ const visible = s.replace(/\x1b\[[0-9;]*m/g, '');
436
+ return s + ' '.repeat(Math.max(0, W - visible.length));
437
+ };
438
+ const box = (rows) => {
439
+ console.log(`\n┌${line}┐`);
440
+ for (const row of rows) console.log(`│ ${pad(row)} │`);
441
+ console.log(`└${line}┘\n`);
442
+ };
443
+
444
+ const platform = process.platform;
445
+ const shellName = path.basename(process.env.SHELL || '');
446
+ const title = green(`Tessra ${VERSION} instalado`);
447
+
448
+ if (platform === 'linux') {
449
+ box([
450
+ title,
451
+ '',
452
+ 'Abre una nueva terminal y ejecuta:',
453
+ ' tessra --help',
454
+ '',
455
+ 'O actívalo en esta sesión sin cerrarla:',
456
+ ' source ~/.bashrc (bash)',
457
+ ' source ~/.zshrc (zsh)',
458
+ ]);
459
+ } else if (platform === 'darwin') {
460
+ box([
461
+ title,
462
+ '',
463
+ 'Abre una nueva terminal y ejecuta:',
464
+ ' tessra --help',
465
+ '',
466
+ 'O actívalo en esta sesión sin cerrarla:',
467
+ ' source ~/.zshrc (zsh, macOS por defecto)',
468
+ ' source ~/.bash_profile (bash)',
469
+ ]);
470
+ } else if (platform === 'win32') {
471
+ box([
472
+ title,
473
+ '',
474
+ 'PATH actualizado en Windows.',
475
+ 'Abre una nueva ventana de PowerShell o CMD',
476
+ 'y ejecuta: tessra --help',
477
+ ]);
478
+ }
479
+ }
480
+
432
481
  // ── Main ─────────────────────────────────────────────────────────────────────
433
482
 
434
483
  async function main() {
@@ -476,8 +525,7 @@ async function main() {
476
525
  }
477
526
 
478
527
  ensureGlobalBinOnPath();
479
-
480
- console.log(`tessra: binario instalado correctamente en ${dest}`);
528
+ printInstallSummary();
481
529
  }
482
530
 
483
531
  main().catch((err) => {