@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.
Files changed (2) hide show
  1. package/lib/up/index.js +12 -2
  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
- await deps.installClaude({ endpoint: baseUrl, apiKey });
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 -----------------------------------------------------------------
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashclaw/cli",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "DashClaw terminal client — approve agent actions and diagnose your instance",
5
5
  "type": "module",
6
6
  "keywords": [