project-compass 3.9.2 → 3.9.4

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": "project-compass",
3
- "version": "3.9.2",
3
+ "version": "3.9.4",
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
@@ -52,14 +52,14 @@ function loadConfig() {
52
52
  showArtBoard: true,
53
53
  showHelpCards: false,
54
54
  showStructureGuide: false,
55
- maxVisibleProjects: 4,
55
+ maxVisibleProjects: 3,
56
56
  ...parsed,
57
57
  };
58
58
  }
59
59
  } catch (error) {
60
60
  console.error(`Ignoring corrupt config: ${error.message}`);
61
61
  }
62
- return {customCommands: {}, showArtBoard: true, showHelpCards: false, showStructureGuide: false, maxVisibleProjects: 4};
62
+ return {customCommands: {}, showArtBoard: true, showHelpCards: false, showStructureGuide: false, maxVisibleProjects: 3};
63
63
  }
64
64
 
65
65
  function useScanner(rootPath) {
@@ -375,7 +375,8 @@ function Compass({rootPath, initialView = 'navigator'}) {
375
375
  if (shiftCombo('s')) { console.clear(); setConfig(prev => { const next = {...prev, showStructureGuide: !prev.showStructureGuide}; saveConfig(next); return next; }); return; }
376
376
  if (shiftCombo('a')) { clearAndSwitch(mainView === 'navigator' ? 'studio' : 'navigator'); return; }
377
377
  if (shiftCombo('p')) { clearAndSwitch(mainView === 'navigator' ? 'registry' : 'navigator'); return; }
378
- if (shiftCombo('n')) { clearAndSwitch(mainView === 'navigator' ? 'architect' : 'navigator'); return; }\n if (shiftCombo('o')) { clearAndSwitch(mainView === 'navigator' ? 'ai' : 'navigator'); return; }
378
+ if (shiftCombo('n')) { clearAndSwitch(mainView === 'navigator' ? 'architect' : 'navigator'); return; }
379
+ if (shiftCombo('o')) { clearAndSwitch(mainView === 'navigator' ? 'ai' : 'navigator'); return; }
379
380
  if (shiftCombo('x')) { console.clear(); setTasks(prev => prev.map(t => t.id === activeTaskId ? {...t, logs: []} : t)); setLogOffset(0); return; }
380
381
  if (shiftCombo('e')) { exportLogs(); return; }
381
382
  if (shiftCombo('d')) { console.clear(); setActiveTaskId(null); return; }
@@ -8,7 +8,7 @@ export default function Navigator({
8
8
  rootPath,
9
9
  loading,
10
10
  error,
11
- maxVisibleProjects = 4
11
+ maxVisibleProjects = 3
12
12
  }) {
13
13
  const page = Math.floor(selectedIndex / maxVisibleProjects);
14
14
  const start = page * maxVisibleProjects;