project-compass 3.5.6 โ†’ 3.5.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/cli.js +33 -36
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "project-compass",
3
- "version": "3.5.6",
3
+ "version": "3.5.8",
4
4
  "description": "Futuristic project navigator and runner for Node, Python, Rust, and Go",
5
5
  "main": "src/cli.js",
6
6
  "bin": {
package/src/cli.js CHANGED
@@ -366,15 +366,15 @@ function Compass({rootPath, initialView = 'navigator'}) {
366
366
  setShowHelp(false);
367
367
  };
368
368
 
369
- if (shiftCombo('h')) { setConfig(prev => { const next = {...prev, showHelpCards: !prev.showHelpCards}; saveConfig(next); return next; }); return; }
370
- if (shiftCombo('s')) { setConfig(prev => { const next = {...prev, showStructureGuide: !prev.showStructureGuide}; saveConfig(next); return next; }); return; }
369
+ if (shiftCombo('h')) { console.clear(); setConfig(prev => { const next = {...prev, showHelpCards: !prev.showHelpCards}; saveConfig(next); return next; }); return; }
370
+ if (shiftCombo('s')) { console.clear(); setConfig(prev => { const next = {...prev, showStructureGuide: !prev.showStructureGuide}; saveConfig(next); return next; }); return; }
371
371
  if (shiftCombo('a')) { clearAndSwitch(mainView === 'navigator' ? 'studio' : 'navigator'); return; }
372
372
  if (shiftCombo('p')) { clearAndSwitch(mainView === 'navigator' ? 'registry' : 'navigator'); return; }
373
373
  if (shiftCombo('n')) { clearAndSwitch(mainView === 'navigator' ? 'architect' : 'navigator'); return; }
374
- if (shiftCombo('x')) { setTasks(prev => prev.map(t => t.id === activeTaskId ? {...t, logs: []} : t)); setLogOffset(0); return; }
374
+ if (shiftCombo('x')) { console.clear(); setTasks(prev => prev.map(t => t.id === activeTaskId ? {...t, logs: []} : t)); setLogOffset(0); return; }
375
375
  if (shiftCombo('e')) { exportLogs(); return; }
376
- if (shiftCombo('d')) { setActiveTaskId(null); return; }
377
- if (shiftCombo('b')) { setConfig(prev => { const next = {...prev, showArtBoard: !prev.showArtBoard}; saveConfig(next); return next; }); return; }
376
+ if (shiftCombo('d')) { console.clear(); setActiveTaskId(null); return; }
377
+ if (shiftCombo('b')) { console.clear(); setConfig(prev => { const next = {...prev, showArtBoard: !prev.showArtBoard}; saveConfig(next); return next; }); return; }
378
378
 
379
379
  if (shiftCombo('t')) {
380
380
  setMainView((prev) => {
@@ -444,11 +444,11 @@ function Compass({rootPath, initialView = 'navigator'}) {
444
444
  if (key.shift && key.upArrow) { scrollLogs(1); return; }
445
445
  if (key.shift && key.downArrow) { scrollLogs(-1); return; }
446
446
 
447
- if (normalizedInput === '?') { setShowHelp((prev) => !prev); return; }
447
+ if (normalizedInput === '?') { console.clear(); setShowHelp((prev) => !prev); return; }
448
448
  if (shiftCombo('l') && lastCommandRef.current) { runProjectCommand(lastCommandRef.current.commandMeta, lastCommandRef.current.project); return; }
449
449
 
450
- if (key.upArrow && !key.shift && projects.length > 0) { setSelectedIndex((prev) => (prev - 1 + projects.length) % projects.length); return; }
451
- if (key.downArrow && !key.shift && projects.length > 0) { setSelectedIndex((prev) => (prev + 1) % projects.length); return; }
450
+ if (key.upArrow && !key.shift && projects.length > 0) { console.clear(); setSelectedIndex((prev) => (prev - 1 + projects.length) % projects.length); return; }
451
+ if (key.downArrow && !key.shift && projects.length > 0) { console.clear(); setSelectedIndex((prev) => (prev + 1) % projects.length); return; }
452
452
  if (key.return) {
453
453
  if (!selectedProject) return;
454
454
  console.clear();
@@ -629,43 +629,40 @@ async function main() {
629
629
  return;
630
630
  }
631
631
  if (args.help) {
632
- console.log(kleur.cyan('Project Compass ยท Ink project navigator/runner'));
632
+ console.clear();
633
+ console.log(kleur.magenta.bold('๐Ÿงญ Project Compass ยท Premium Developer Cockpit'));
634
+ console.log(kleur.dim('โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€'));
633
635
  console.log('');
634
636
  console.log(kleur.bold('Usage:'));
635
637
  console.log(' project-compass [--dir <path>] [--studio]');
636
638
  console.log('');
637
- console.log(kleur.bold('Arguments:'));
638
- console.log(' --dir, --path <path> Specify root workspace directory to scan');
639
- console.log(' --studio Launch directly into Omni-Studio mode');
640
- console.log(' --help, -h Show this help menu');
639
+ console.log(kleur.cyan.bold('๐ŸŒŒ Core Views:'));
640
+ console.log(' Shift+T ' + kleur.bold('Orbit Task Manager') + ' - Manage background processes & stream logs');
641
+ console.log(' Shift+P ' + kleur.bold('Package Registry') + ' - Direct dependency management (add/remove)');
642
+ console.log(' Shift+N ' + kleur.bold('Project Architect') + ' - Scaffold new projects from templates');
643
+ console.log(' Shift+A ' + kleur.bold('Omni-Studio') + ' - Environment & runtime health audit');
641
644
  console.log('');
642
- console.log(kleur.bold('Core Keybinds:'));
643
- console.log(' โ†‘ / โ†“ Move project focus');
644
- console.log(' Enter Toggle detail view for selected project');
645
- console.log(' Shift+A Switch to Omni-Studio (Environment Health)');
646
- console.log(' Shift+T Open Orbit Task Manager (Manage background processes)');
647
- console.log(' Shift+P Open Package Registry (Add/Remove packages)');
648
- console.log(' Shift+N Open Project Architect (Scaffold new projects)');
649
- console.log(' Shift+D Detach from active task (Keep it running in background)');
650
- console.log(' Shift+B Toggle Art Board visibility');
651
- console.log(' Shift+H Toggle Help Cards visibility');
652
- console.log(' Shift+S Toggle Structure Guide visibility');
653
- console.log(' Shift+X Clear active task output log');
654
- console.log(' Shift+E Export current logs to a .txt file');
655
- console.log(' Shift+โ†‘ / โ†“ Scroll the output logs');
656
- console.log(' Shift+Q Quit application (with confirmation if tasks run)');
645
+ console.log(kleur.yellow.bold('๐ŸŽฎ Navigation & Details:'));
646
+ console.log(' โ†‘ / โ†“ Move focus through discovered projects');
647
+ console.log(' Enter Toggle deep detail view (manifests, scripts, frameworks)');
648
+ console.log(' Shift+C Add a persistent custom command to the focused project');
649
+ console.log(' 1-9 Quick-run numbered scripts in detail view');
650
+ console.log(' B/T/R Macro run: Build / Test / Run');
657
651
  console.log('');
658
- console.log(kleur.bold('Task Manager (Shift+T):'));
659
- console.log(' Shift+K Kill active/selected task');
660
- console.log(' Shift+R Rename selected task');
652
+ console.log(kleur.green.bold('๐Ÿ› ๏ธ Workspace Tools:'));
653
+ console.log(' Shift+B Toggle Art-coded Build Atlas');
654
+ console.log(' Shift+S Toggle Directory Structure Guide');
655
+ console.log(' Shift+H Toggle Navigation Help Cards');
656
+ console.log(' Shift+โ†‘/โ†“ Scroll the live output log window');
657
+ console.log(' Shift+X Clear active log buffer');
658
+ console.log(' Shift+E Export current session logs to .txt');
661
659
  console.log('');
662
- console.log(kleur.bold('Execution shortcuts:'));
663
- console.log(' B / T / R Quick run: Build / Test / Run');
664
- console.log(' 1-9 / S+A-Z Run numbered commands in detail view');
665
- console.log(' Shift+L Rerun the last executed command');
666
- console.log(' Shift+C Add a custom command (in detail view)');
660
+ console.log(kleur.red.bold('๐Ÿšช System:'));
661
+ console.log(' Shift+Q Quit application (triggers confirmation if tasks are running)');
662
+ console.log(' Esc Global "Back" key to return to Main Navigator');
667
663
  console.log('');
668
664
  console.log(kleur.dim('Documentation: https://github.com/CrimsonDevil333333/project-compass'));
665
+ console.log(kleur.magenta('Crafted for performance by Satyaa & Clawdy'));
669
666
  return;
670
667
  }
671
668
  const rootPath = args.root ? path.resolve(args.root) : process.cwd();