erne-universal 0.10.22 → 0.10.23

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": "erne-universal",
3
- "version": "0.10.22",
3
+ "version": "0.10.23",
4
4
  "description": "Complete AI coding agent harness for React Native and Expo development",
5
5
  "keywords": [
6
6
  "react-native",
@@ -95,7 +95,7 @@ try {
95
95
  }
96
96
  } catch { /* skip */ }
97
97
 
98
- // ─── Dashboard auto-start ────────────────────────────────────────────────────
98
+ // ─── Dashboard detection (no auto-start — use `npx erne-universal dashboard`) ─
99
99
 
100
100
  let dashboardUrl = '';
101
101
 
@@ -103,28 +103,8 @@ if (hasSettings) {
103
103
  try {
104
104
  const { getRegisteredPort } = require('./lib/port-registry');
105
105
  const existingPort = getRegisteredPort(projectDir);
106
-
107
106
  if (existingPort) {
108
107
  dashboardUrl = `http://localhost:${existingPort}`;
109
- } else if (!process.env.ERNE_SKIP_DASHBOARD) {
110
- // Try to start dashboard in background
111
- try {
112
- const dashboardDir = path.resolve(__dirname, '..', '..', 'dashboard');
113
- const serverScript = path.join(dashboardDir, 'server.js');
114
- const depsExist = fs.existsSync(path.join(dashboardDir, 'node_modules', 'better-sqlite3'));
115
-
116
- if (fs.existsSync(serverScript) && depsExist) {
117
- const { fork } = require('child_process');
118
- const child = fork(serverScript, [], {
119
- cwd: projectDir,
120
- detached: true,
121
- stdio: 'ignore',
122
- env: { ...process.env, ERNE_PROJECT_DIR: projectDir },
123
- });
124
- child.unref();
125
- dashboardUrl = 'http://localhost:3333 (starting...)';
126
- }
127
- } catch { /* dashboard not available — skip */ }
128
108
  }
129
109
  } catch { /* port-registry not available — skip */ }
130
110
  }