@dashclaw/cli 0.8.1 → 0.8.2
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/lib/up/index.js +12 -2
- package/package.json +1 -1
package/lib/up/index.js
CHANGED
|
@@ -298,9 +298,19 @@ export async function runUp({ args, baseDir = join(homedir(), '.dashclaw'), deps
|
|
|
298
298
|
connect = answer !== 'n' && answer !== 'no';
|
|
299
299
|
}
|
|
300
300
|
if (connect) {
|
|
301
|
-
|
|
301
|
+
// Hooks install is auxiliary to `up` (the dashboard is already running);
|
|
302
|
+
// a missing Python must not kill steps 8+ — the browser sign-in moment.
|
|
303
|
+
// No checkpoint on failure, so the next `dashclaw up` retries the install.
|
|
304
|
+
try {
|
|
305
|
+
await deps.installClaude({ endpoint: baseUrl, apiKey });
|
|
306
|
+
inst = checkpoint(baseDir, 'connected');
|
|
307
|
+
} catch (e) {
|
|
308
|
+
logger.error(`[warn] Claude Code not connected: ${e.message}`);
|
|
309
|
+
logger.error(' The dashboard still works; re-run `dashclaw up` after fixing this to retry.');
|
|
310
|
+
}
|
|
311
|
+
} else {
|
|
312
|
+
inst = checkpoint(baseDir, 'connected'); // declining is still a completed decision
|
|
302
313
|
}
|
|
303
|
-
inst = checkpoint(baseDir, 'connected'); // declining is still a completed decision
|
|
304
314
|
}
|
|
305
315
|
|
|
306
316
|
// 8. open -----------------------------------------------------------------
|