bloby-bot 0.70.11 → 0.70.13

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 (46) hide show
  1. package/bin/cli.js +11 -3
  2. package/dist-bloby/assets/{bloby-DSNB0g4w.js → bloby-CU9KhQdP.js} +4 -4
  3. package/dist-bloby/assets/globals-DlPtwiZL.css +2 -0
  4. package/dist-bloby/assets/{globals-B3cTbITX.js → globals-mGpojCOe.js} +1 -1
  5. package/dist-bloby/assets/{highlighted-body-OFNGDK62-BLforpkr.js → highlighted-body-OFNGDK62-D0Tm_wgU.js} +1 -1
  6. package/dist-bloby/assets/mermaid-GHXKKRXX-B95J3s3s.js +1 -0
  7. package/dist-bloby/assets/{onboard-Dn2Ws_G2.js → onboard-GfjHF9nm.js} +1 -1
  8. package/dist-bloby/bloby.html +3 -3
  9. package/dist-bloby/onboard.html +3 -3
  10. package/package.json +2 -2
  11. package/scripts/install +15 -7
  12. package/scripts/install.ps1 +35 -14
  13. package/scripts/install.sh +15 -7
  14. package/shared/relay.ts +3 -1
  15. package/supervisor/channels/manager.ts +16 -11
  16. package/supervisor/chat/OnboardWizard.tsx +0 -15
  17. package/supervisor/harnesses/pi/index.ts +320 -100
  18. package/supervisor/harnesses/pi/providers/humanize-error.ts +2 -2
  19. package/supervisor/harnesses/pi/providers/retry.ts +31 -0
  20. package/supervisor/harnesses/pi/providers/stream-anthropic.ts +23 -3
  21. package/supervisor/harnesses/pi/providers/stream-google.ts +21 -3
  22. package/supervisor/harnesses/pi/providers/stream-openai-completions.ts +17 -3
  23. package/supervisor/harnesses/pi/providers/types.ts +11 -0
  24. package/supervisor/harnesses/pi/session.ts +116 -3
  25. package/supervisor/harnesses/pi/test-completion.ts +56 -0
  26. package/supervisor/harnesses/pi/tools/bash.ts +198 -22
  27. package/supervisor/harnesses/pi/tools/glob.ts +79 -0
  28. package/supervisor/harnesses/pi/tools/grep.ts +0 -0
  29. package/supervisor/harnesses/pi/tools/registry.ts +18 -6
  30. package/supervisor/harnesses/pi/tools/todo-write.ts +45 -0
  31. package/supervisor/harnesses/pi/tools/web-fetch.ts +129 -0
  32. package/supervisor/index.ts +36 -2
  33. package/worker/index.ts +18 -1
  34. package/worker/prompts/bloby-system-prompt-codex.txt +1 -1
  35. package/worker/prompts/bloby-system-prompt-pi.txt +6 -24
  36. package/worker/prompts/bloby-system-prompt.txt +1 -1
  37. package/workspace/client/public/morphy_hi.mov +0 -0
  38. package/workspace/client/public/morphy_hi.webm +0 -0
  39. package/workspace/client/src/components/Dashboard/DashboardPage.tsx +4 -117
  40. package/workspace/client/src/components/Dashboard/deleteme_placeholders.tsx +194 -0
  41. package/workspace/client/src/components/Layout/Sidebar.tsx +52 -30
  42. package/workspace/client/src/components/deleteme_onboarding/WorkspaceTour.tsx +25 -15
  43. package/workspace/client/src/components/deleteme_onboarding/tour-theme.css +24 -0
  44. package/workspace/skills/mac/SKILL.md +13 -4
  45. package/dist-bloby/assets/globals-DyeW509Y.css +0 -2
  46. package/dist-bloby/assets/mermaid-GHXKKRXX-C1H_fSCU.js +0 -1
package/bin/cli.js CHANGED
@@ -2059,7 +2059,13 @@ async function cmdInit() {
2059
2059
 
2060
2060
  if (log) log('Starting daemon...');
2061
2061
  const initConfig = readConfig() || {};
2062
- const steps = new Steps(startStepTitles(initConfig)).start();
2062
+ const initTitles = startStepTitles(initConfig);
2063
+ // The tunnel URL answers a few seconds after registration succeeds — hold
2064
+ // before revealing it on first setup so the user's first click doesn't 404.
2065
+ // Shown as its own step so the wait doesn't look like a hang.
2066
+ const goLiveHold = !HOSTED && tunnelModeOf(initConfig) !== 'off';
2067
+ if (goLiveHold) initTitles.push('Going live');
2068
+ const steps = new Steps(initTitles).start();
2063
2069
  // Hosted provisioning treats tunnel_failed as meaningful — give cold cloud
2064
2070
  // boxes a longer window before declaring the tunnel down.
2065
2071
  const result = await startCore({ ui: steps, ...(HOSTED ? { timeoutMs: 180_000 } : {}) });
@@ -2070,8 +2076,10 @@ async function cmdInit() {
2070
2076
  }
2071
2077
  process.exit(1);
2072
2078
  }
2073
- if (result.healthy && !result.tunnelFailed && (result.tunnelMode === 'off' || result.ready)) steps.finish();
2074
- else steps.fail();
2079
+ if (result.healthy && !result.tunnelFailed && (result.tunnelMode === 'off' || result.ready)) {
2080
+ if (goLiveHold && result.tunnelUrl) await new Promise((r) => setTimeout(r, 5000));
2081
+ steps.finish();
2082
+ } else steps.fail();
2075
2083
 
2076
2084
  if (HOSTED) {
2077
2085
  if (log) log(result.healthy ? 'Daemon running' : 'Daemon starting');