@madarco/agentbox 0.24.1 → 0.24.3

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 (60) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/{_cloud-attach-T6GPR6LJ.js → _cloud-attach-D5OC7DCC.js} +3 -3
  3. package/dist/{chunk-RYQLFKCP.js → chunk-24PXPJI3.js} +8 -8
  4. package/dist/{chunk-NACA6AM7.js → chunk-3253DDXI.js} +3 -3
  5. package/dist/{chunk-I654PBHA.js → chunk-5WF7PAH2.js} +3 -3
  6. package/dist/{chunk-I654PBHA.js.map → chunk-5WF7PAH2.js.map} +1 -1
  7. package/dist/{chunk-K2EDQGZP.js → chunk-QMA3DB5L.js} +2 -2
  8. package/dist/{chunk-6U2S6QWD.js → chunk-SS6ZEKLL.js} +2 -2
  9. package/dist/{dist-B7TNWGVG.js → dist-2JWYYJZR.js} +2 -2
  10. package/dist/{dist-KYV3LEHG.js → dist-3NFY6M53.js} +4 -4
  11. package/dist/{dist-Z7KEPQC7.js → dist-72EYR5DW.js} +4 -4
  12. package/dist/{dist-3KIJ2KQ2.js → dist-FWB3MIQ5.js} +3 -3
  13. package/dist/{dist-7OUOHQPA.js → dist-TK3STVUP.js} +3 -3
  14. package/dist/{dist-PHYCFYKH.js → dist-UWUTNRCK.js} +3 -3
  15. package/dist/index.js +23 -15
  16. package/dist/index.js.map +1 -1
  17. package/package.json +3 -3
  18. package/runtime/_shared/ctl.cjs +4 -4
  19. package/runtime/digitalocean/ctl.cjs +4 -4
  20. package/runtime/docker/packages/ctl/dist/bin.cjs +4 -4
  21. package/runtime/e2b/ctl.cjs +4 -4
  22. package/runtime/hetzner/ctl.cjs +4 -4
  23. package/runtime/hub/apps/hub/.next/BUILD_ID +1 -1
  24. package/runtime/hub/apps/hub/.next/build-manifest.json +3 -3
  25. package/runtime/hub/apps/hub/.next/server/app/_global-error.html +1 -1
  26. package/runtime/hub/apps/hub/.next/server/app/_global-error.rsc +1 -1
  27. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  28. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  29. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  30. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  31. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  32. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0vxaujy._.js +2 -2
  33. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1nepkp-._.js +2 -2
  34. package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +3 -3
  35. package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -1
  36. package/runtime/hub/apps/hub/{chunk-FGBXEXUV.js → chunk-IRIK4DQF.js} +9 -5
  37. package/runtime/hub/apps/hub/{chunk-YVELHPNY.js → chunk-OJAHNFNV.js} +1 -1
  38. package/runtime/hub/apps/hub/{dist-4SXAJBOC.js → dist-6AEQJL7W.js} +2 -2
  39. package/runtime/hub/apps/hub/{dist-YM5J25H6.js → dist-7GTRUGLC.js} +1 -1
  40. package/runtime/hub/apps/hub/{dist-33ZNVTC6.js → dist-DLPVQMKD.js} +2 -2
  41. package/runtime/hub/apps/hub/{dist-XULFTIMT.js → dist-HHHK5LRX.js} +2 -2
  42. package/runtime/hub/apps/hub/{dist-UJVIROA4.js → dist-PRUR2E5L.js} +2 -2
  43. package/runtime/hub/apps/hub/{dist-EPJFN2J3.js → dist-PWBKGUDG.js} +2 -2
  44. package/runtime/hub/apps/hub/server.js +9 -9
  45. package/runtime/relay/bin.cjs +7 -3
  46. package/runtime/vercel/ctl.cjs +4 -4
  47. /package/dist/{_cloud-attach-T6GPR6LJ.js.map → _cloud-attach-D5OC7DCC.js.map} +0 -0
  48. /package/dist/{chunk-RYQLFKCP.js.map → chunk-24PXPJI3.js.map} +0 -0
  49. /package/dist/{chunk-NACA6AM7.js.map → chunk-3253DDXI.js.map} +0 -0
  50. /package/dist/{chunk-K2EDQGZP.js.map → chunk-QMA3DB5L.js.map} +0 -0
  51. /package/dist/{chunk-6U2S6QWD.js.map → chunk-SS6ZEKLL.js.map} +0 -0
  52. /package/dist/{dist-B7TNWGVG.js.map → dist-2JWYYJZR.js.map} +0 -0
  53. /package/dist/{dist-KYV3LEHG.js.map → dist-3NFY6M53.js.map} +0 -0
  54. /package/dist/{dist-Z7KEPQC7.js.map → dist-72EYR5DW.js.map} +0 -0
  55. /package/dist/{dist-3KIJ2KQ2.js.map → dist-FWB3MIQ5.js.map} +0 -0
  56. /package/dist/{dist-7OUOHQPA.js.map → dist-TK3STVUP.js.map} +0 -0
  57. /package/dist/{dist-PHYCFYKH.js.map → dist-UWUTNRCK.js.map} +0 -0
  58. /package/runtime/hub/apps/hub/.next/static/{3tBexekuTKIr_6nriQjKE → 4CStLAgdl_oxCRh8votRw}/_buildManifest.js +0 -0
  59. /package/runtime/hub/apps/hub/.next/static/{3tBexekuTKIr_6nriQjKE → 4CStLAgdl_oxCRh8votRw}/_clientMiddlewareManifest.js +0 -0
  60. /package/runtime/hub/apps/hub/.next/static/{3tBexekuTKIr_6nriQjKE → 4CStLAgdl_oxCRh8votRw}/_ssgManifest.js +0 -0
package/CHANGELOG.md CHANGED
@@ -9,6 +9,45 @@ Entries are generated from the commit history with `/release-notes` and then
9
9
  hand-reviewed — they describe what changed for someone using the `agentbox`
10
10
  CLI, not the raw commits.
11
11
 
12
+ ## [0.24.3] - 2026-07-12
13
+
14
+ ### Fixed
15
+
16
+ - **`agentbox self-update` left a running hub broken.** The hub and the relay are
17
+ separate processes, but the post-update refresh only ever restarted the relay.
18
+ An update replaces the installed package directory underneath whatever is still
19
+ running, so a hub left alive across an update kept executing files that no longer
20
+ existed — it failed with `Cannot find module …/dist-<hash>.js` on the first
21
+ operation that needed a part of itself it hadn't loaded yet (destroying a box,
22
+ for instance), and boxes it created died on startup. It stayed that way until
23
+ the hub was restarted by hand. The refresh now restarts the hub too. A host
24
+ running only the relay is unaffected and stays a relay.
25
+
26
+ ## [0.24.2] - 2026-07-12
27
+
28
+ ### Fixed
29
+
30
+ - **A box created from the hub or the menu-bar app could fail instantly, showing a
31
+ Node stack trace as its status and a progress bar that crept forward forever.**
32
+ The relay/hub is a long-lived daemon, but `npm install -g` (what `self-update`
33
+ runs) replaces the package directory underneath it — so a daemon left running
34
+ across an update ends up in a deleted working directory, and every box-create
35
+ worker it spawned inherited that and died before it started. Workers now run
36
+ from a fixed directory, so an update no longer poisons creates from a hub that
37
+ was already running.
38
+ - A create worker that died mid-flight stayed `running` forever — nothing ever
39
+ marked it failed, so `agentbox queue list` kept reporting it as in progress and
40
+ the app's progress card waited on a job that was never coming back. Dead workers
41
+ are now detected while the queue runs, not only when the relay restarts, and
42
+ report as `failed`.
43
+ - The job-log stream now sends a keep-alive during quiet stretches. A cloud create
44
+ is legitimately silent for a minute or more (a VM boots, an SSH wait), which a
45
+ client could mistake for a dead connection — it would reconnect, the log replayed
46
+ from the start, and the progress bar jumped ahead while the text appeared frozen.
47
+ - Menu-bar app **0.1.11** — the create progress bar no longer double-counts a
48
+ replayed log or advances on blank lines, and DigitalOcean creates now use a
49
+ calibrated bar instead of a generic fallback. Update with `agentbox install app`.
50
+
12
51
  ## [0.24.1] - 2026-07-12
13
52
 
14
53
  ### Fixed
@@ -4,8 +4,8 @@ import {
4
4
  cloudAgentAttach,
5
5
  cloudAgentStartDetached,
6
6
  verifyDetachedSession
7
- } from "./chunk-RYQLFKCP.js";
8
- import "./chunk-I654PBHA.js";
7
+ } from "./chunk-24PXPJI3.js";
8
+ import "./chunk-5WF7PAH2.js";
9
9
  import "./chunk-UIRBYL4G.js";
10
10
  import "./chunk-DEDTPG2D.js";
11
11
  import "./chunk-G3H2L3O2.js";
@@ -16,4 +16,4 @@ export {
16
16
  cloudAgentStartDetached,
17
17
  verifyDetachedSession
18
18
  };
19
- //# sourceMappingURL=_cloud-attach-T6GPR6LJ.js.map
19
+ //# sourceMappingURL=_cloud-attach-D5OC7DCC.js.map
@@ -5,7 +5,7 @@ import {
5
5
  startClaudeSession,
6
6
  startCodexSession,
7
7
  startOpencodeSession
8
- } from "./chunk-I654PBHA.js";
8
+ } from "./chunk-5WF7PAH2.js";
9
9
  import {
10
10
  PROVIDER_NAMES,
11
11
  isProviderKind,
@@ -162,12 +162,12 @@ async function withFirewallRepair(provider, box, opts, attempt) {
162
162
  // src/provider/loaders.ts
163
163
  import { pathToFileURL } from "url";
164
164
  var IMPORTERS = {
165
- docker: () => import("./dist-B7TNWGVG.js"),
166
- daytona: () => import("./dist-PHYCFYKH.js"),
167
- hetzner: () => import("./dist-KYV3LEHG.js"),
168
- vercel: () => import("./dist-Z7KEPQC7.js"),
169
- e2b: () => import("./dist-7OUOHQPA.js"),
170
- digitalocean: () => import("./dist-3KIJ2KQ2.js")
165
+ docker: () => import("./dist-2JWYYJZR.js"),
166
+ daytona: () => import("./dist-UWUTNRCK.js"),
167
+ hetzner: () => import("./dist-3NFY6M53.js"),
168
+ vercel: () => import("./dist-72EYR5DW.js"),
169
+ e2b: () => import("./dist-TK3STVUP.js"),
170
+ digitalocean: () => import("./dist-FWB3MIQ5.js")
171
171
  };
172
172
  function pickProviderModule(mod, name) {
173
173
  const m = mod;
@@ -2765,4 +2765,4 @@ export {
2765
2765
  agentResumeArgs,
2766
2766
  restoreAgentSessions
2767
2767
  };
2768
- //# sourceMappingURL=chunk-RYQLFKCP.js.map
2768
+ //# sourceMappingURL=chunk-24PXPJI3.js.map
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  createCloudProvider
4
- } from "./chunk-6U2S6QWD.js";
4
+ } from "./chunk-SS6ZEKLL.js";
5
5
  import {
6
6
  detectPortless,
7
7
  portlessDoctorRow
8
- } from "./chunk-I654PBHA.js";
8
+ } from "./chunk-5WF7PAH2.js";
9
9
  import {
10
10
  UserFacingError,
11
11
  claudeInstallFingerprint,
@@ -2397,4 +2397,4 @@ export {
2397
2397
  hetznerProvider,
2398
2398
  providerModule
2399
2399
  };
2400
- //# sourceMappingURL=chunk-NACA6AM7.js.map
2400
+ //# sourceMappingURL=chunk-3253DDXI.js.map
@@ -1526,7 +1526,7 @@ function rowToEvent(r) {
1526
1526
  };
1527
1527
  }
1528
1528
 
1529
- // ../../packages/relay/dist/chunk-LH565Z3T.js
1529
+ // ../../packages/relay/dist/chunk-UZUBCJOP.js
1530
1530
  import { execa } from "execa";
1531
1531
  import { createHash, randomBytes } from "crypto";
1532
1532
 
@@ -1800,7 +1800,7 @@ function isBodyAssignment(token) {
1800
1800
  }
1801
1801
  var ALL_CONNECTORS = [notionConnector, linearConnector];
1802
1802
 
1803
- // ../../packages/relay/dist/chunk-LH565Z3T.js
1803
+ // ../../packages/relay/dist/chunk-UZUBCJOP.js
1804
1804
  import { execa as execa2 } from "execa";
1805
1805
  import { spawn as spawn4 } from "child_process";
1806
1806
  import { randomBytes as randomBytes2 } from "crypto";
@@ -9320,4 +9320,4 @@ export {
9320
9320
  ensureBoxBrowser,
9321
9321
  ensureBoxBrowserShowingApp
9322
9322
  };
9323
- //# sourceMappingURL=chunk-I654PBHA.js.map
9323
+ //# sourceMappingURL=chunk-5WF7PAH2.js.map