@madarco/agentbox 0.24.2 → 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.
- package/CHANGELOG.md +14 -0
- package/dist/index.js +15 -7
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/runtime/hub/apps/hub/.next/BUILD_ID +1 -1
- package/runtime/hub/apps/hub/.next/build-manifest.json +3 -3
- package/runtime/hub/apps/hub/.next/server/app/_global-error.html +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +3 -3
- package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -1
- /package/runtime/hub/apps/hub/.next/static/{qi16fW9z3QBAzMjpOdRMQ → 4CStLAgdl_oxCRh8votRw}/_buildManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{qi16fW9z3QBAzMjpOdRMQ → 4CStLAgdl_oxCRh8votRw}/_clientMiddlewareManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{qi16fW9z3QBAzMjpOdRMQ → 4CStLAgdl_oxCRh8votRw}/_ssgManifest.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,20 @@ 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
|
+
|
|
12
26
|
## [0.24.2] - 2026-07-12
|
|
13
27
|
|
|
14
28
|
### Fixed
|
package/dist/index.js
CHANGED
|
@@ -376,8 +376,8 @@ import {
|
|
|
376
376
|
} from "./chunk-WJFZJZIM.js";
|
|
377
377
|
|
|
378
378
|
// src/version.ts
|
|
379
|
-
var AGENTBOX_VERSION = true ? "0.24.
|
|
380
|
-
var AGENTBOX_COMMIT = true ? "
|
|
379
|
+
var AGENTBOX_VERSION = true ? "0.24.3" : "0.0.0-dev";
|
|
380
|
+
var AGENTBOX_COMMIT = true ? "6c0233af9" : "dev";
|
|
381
381
|
|
|
382
382
|
// src/index.ts
|
|
383
383
|
import { existsSync as _existsSync } from "fs";
|
|
@@ -18042,12 +18042,20 @@ async function runPostUpdateRefresh(opts = {}) {
|
|
|
18042
18042
|
warn("box image removal", err);
|
|
18043
18043
|
}
|
|
18044
18044
|
try {
|
|
18045
|
-
const
|
|
18046
|
-
|
|
18047
|
-
|
|
18048
|
-
|
|
18045
|
+
const hub = await getHubStatus();
|
|
18046
|
+
if (hub.ui || hub.pidAlive) {
|
|
18047
|
+
const stop = await stopHub();
|
|
18048
|
+
say(stop.stopped ? `stopped hub (pid ${String(stop.pid)})` : "hub was not running");
|
|
18049
|
+
const ep = await ensureHub();
|
|
18050
|
+
say(`hub back up on ${ep.hostUrl}`);
|
|
18051
|
+
} else {
|
|
18052
|
+
const stop = await stopRelay();
|
|
18053
|
+
say(stop.stopped ? `stopped relay (pid ${String(stop.pid)})` : "relay was not running");
|
|
18054
|
+
const ep = await ensureRelay();
|
|
18055
|
+
say(`relay back up on ${ep.hostUrl}`);
|
|
18056
|
+
}
|
|
18049
18057
|
} catch (err) {
|
|
18050
|
-
warn("relay reload", err);
|
|
18058
|
+
warn("relay/hub reload", err);
|
|
18051
18059
|
}
|
|
18052
18060
|
try {
|
|
18053
18061
|
await maybeUpdateTray(say);
|