@madarco/agentbox 0.23.2 → 0.23.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 +10 -0
- package/dist/{_cloud-attach-LP5CIO7S.js → _cloud-attach-BQRWX3J2.js} +3 -3
- package/dist/chunk-G3H2L3O2.js +0 -0
- package/dist/chunk-GGRZ3GZO.js +0 -0
- package/dist/{chunk-C47ZA42C.js → chunk-I6ZRWTPR.js} +25 -3
- package/dist/chunk-I6ZRWTPR.js.map +1 -0
- package/dist/{chunk-AGSLJ3NE.js → chunk-LA4JMS27.js} +10 -2
- package/dist/{chunk-AGSLJ3NE.js.map → chunk-LA4JMS27.js.map} +1 -1
- package/dist/chunk-LK2JT2OO.js +0 -0
- package/dist/chunk-LSQXT5WZ.js +0 -0
- package/dist/{chunk-J3GSZ33V.js → chunk-QEQFZLYR.js} +7 -7
- package/dist/chunk-QT3SHMLY.js +0 -0
- package/dist/{chunk-7D7K4UXW.js → chunk-SFA57TGX.js} +3 -3
- package/dist/{chunk-TZLNJBIM.js → chunk-W3FQPFP7.js} +2 -2
- package/dist/chunk-WJFZJZIM.js +0 -0
- package/dist/cloud-poller-SUNA6ZQC-7M5LJHHE.js +0 -0
- package/dist/dist-2BTJQUJS.js +0 -0
- package/dist/{dist-VMR6UEP2.js → dist-CUKBKS3N.js} +4 -4
- package/dist/{dist-HENU2IVK.js → dist-FXQFTT75.js} +3 -3
- package/dist/{dist-UIOWLT3C.js → dist-QO4CTLAX.js} +4 -4
- package/dist/{dist-OTSXYV6X.js → dist-V235KVEX.js} +3 -3
- package/dist/{dist-NUZ2RMOP.js → dist-Z2NEVV55.js} +4 -2
- package/dist/index.js +19 -36
- package/dist/index.js.map +1 -1
- package/dist/prepared-state-BUO75YLZ-CDTISC2C.js +0 -0
- package/package.json +28 -27
- package/runtime/_shared/agentbox-checkpoint-cleanup +0 -0
- package/runtime/_shared/agentbox-dockerd-start +0 -0
- package/runtime/_shared/agentbox-open +0 -0
- package/runtime/_shared/agentbox-portless-trust +0 -0
- package/runtime/_shared/agentbox-vnc-start +0 -0
- package/runtime/_shared/ctl.cjs +0 -0
- package/runtime/_shared/gh-shim +0 -0
- package/runtime/_shared/git-shim +0 -0
- package/runtime/_shared/linear-shim +0 -0
- package/runtime/_shared/ntn-shim +0 -0
- package/runtime/docker/packages/ctl/dist/bin.cjs +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/agentbox-checkpoint-cleanup +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/agentbox-dockerd-start +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/agentbox-open +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/agentbox-portless-trust +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/agentbox-sshd-start +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/agentbox-vnc-start +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/chromium-resolver +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/gh-shim +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/git-shim +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/linear-shim +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/ntn-shim +0 -0
- package/runtime/e2b/agentbox-checkpoint-cleanup +0 -0
- package/runtime/e2b/agentbox-dockerd-start +0 -0
- package/runtime/e2b/agentbox-open +0 -0
- package/runtime/e2b/agentbox-vnc-start +0 -0
- package/runtime/e2b/ctl.cjs +0 -0
- package/runtime/e2b/gh-shim +0 -0
- package/runtime/e2b/git-shim +0 -0
- package/runtime/e2b/linear-shim +0 -0
- package/runtime/e2b/ntn-shim +0 -0
- package/runtime/e2b/scripts/build-template.sh +0 -0
- package/runtime/hetzner/agentbox-checkpoint-cleanup +0 -0
- package/runtime/hetzner/agentbox-dockerd-start +0 -0
- package/runtime/hetzner/agentbox-open +0 -0
- package/runtime/hetzner/agentbox-portless-trust +0 -0
- package/runtime/hetzner/agentbox-vnc-start +0 -0
- package/runtime/hetzner/ctl.cjs +0 -0
- package/runtime/hetzner/gh-shim +0 -0
- package/runtime/hetzner/git-shim +0 -0
- package/runtime/hetzner/linear-shim +0 -0
- package/runtime/hetzner/ntn-shim +0 -0
- package/runtime/hetzner/scripts/install-box.sh +0 -0
- 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/(dashboard)/boxes/[id]/page_client-reference-manifest.js +1 -1
- 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/chunks/[root-of-the-server]__0keu6we._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1bqbkd5._.js +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1qa4a0v._.js +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_app_(dashboard)_boxes_[id]_page_tsx_1-j_972._.js +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/chunks/{1py5tlz57h7ra.js → 44o5lj23__y1m.js} +1 -1
- package/runtime/hub/apps/hub/{chunk-TS3DHXYG.js → chunk-2Z74R6ZT.js} +9 -1
- package/runtime/hub/apps/hub/{chunk-5C7T5LX3.js → chunk-AR7CEZ2G.js} +24 -2
- package/runtime/hub/apps/hub/{dist-3ILQQGCH.js → dist-LNHEG5P4.js} +2 -2
- package/runtime/hub/apps/hub/{dist-CJHZ37LW.js → dist-LZNRLUYY.js} +2 -2
- package/runtime/hub/apps/hub/{dist-PKOFN4OD.js → dist-Q6G66Z57.js} +2 -2
- package/runtime/hub/apps/hub/{dist-WRKJHF6W.js → dist-SD4G36EP.js} +2 -2
- package/runtime/hub/apps/hub/{dist-6R5YPL5S.js → dist-VV6Z2CQX.js} +3 -1
- package/runtime/hub/apps/hub/server.js +22 -9
- package/runtime/relay/bin.cjs +0 -0
- package/runtime/vercel/agentbox-checkpoint-cleanup +0 -0
- package/runtime/vercel/agentbox-dockerd-start +0 -0
- package/runtime/vercel/agentbox-open +0 -0
- package/runtime/vercel/agentbox-vnc-start +0 -0
- package/runtime/vercel/ctl.cjs +0 -0
- package/runtime/vercel/gh-shim +0 -0
- package/runtime/vercel/git-shim +0 -0
- package/runtime/vercel/linear-shim +0 -0
- package/runtime/vercel/ntn-shim +0 -0
- package/runtime/vercel/scripts/provision.sh +0 -0
- package/LICENSE +0 -21
- package/dist/chunk-C47ZA42C.js.map +0 -1
- /package/dist/{_cloud-attach-LP5CIO7S.js.map → _cloud-attach-BQRWX3J2.js.map} +0 -0
- /package/dist/{chunk-J3GSZ33V.js.map → chunk-QEQFZLYR.js.map} +0 -0
- /package/dist/{chunk-7D7K4UXW.js.map → chunk-SFA57TGX.js.map} +0 -0
- /package/dist/{chunk-TZLNJBIM.js.map → chunk-W3FQPFP7.js.map} +0 -0
- /package/dist/{dist-NUZ2RMOP.js.map → dist-CUKBKS3N.js.map} +0 -0
- /package/dist/{dist-HENU2IVK.js.map → dist-FXQFTT75.js.map} +0 -0
- /package/dist/{dist-UIOWLT3C.js.map → dist-QO4CTLAX.js.map} +0 -0
- /package/dist/{dist-OTSXYV6X.js.map → dist-V235KVEX.js.map} +0 -0
- /package/dist/{dist-VMR6UEP2.js.map → dist-Z2NEVV55.js.map} +0 -0
- /package/runtime/hub/apps/hub/.next/static/{W7Oc_BUsChvL4rrhfKZRY → 12hWAUQ9O9G3VS4vxKuav}/_buildManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{W7Oc_BUsChvL4rrhfKZRY → 12hWAUQ9O9G3VS4vxKuav}/_clientMiddlewareManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{W7Oc_BUsChvL4rrhfKZRY → 12hWAUQ9O9G3VS4vxKuav}/_ssgManifest.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,16 @@ 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.23.3] - 2026-07-08
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- Opening a box's VNC from the menu-bar app or the hub web UI now starts the
|
|
17
|
+
in-box browser first (pointed at the box's web app), so the desktop shows the
|
|
18
|
+
app instead of a blank X screen — previously only `agentbox screen` did this.
|
|
19
|
+
New hub action `POST /api/v1/boxes/{id}/screen` runs the prep for docker and
|
|
20
|
+
cloud boxes; the menu-bar app uses it from v0.1.5.
|
|
21
|
+
|
|
12
22
|
## [0.23.2] - 2026-07-08
|
|
13
23
|
|
|
14
24
|
### Fixed
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
cloudAgentAttach,
|
|
5
5
|
cloudAgentStartDetached,
|
|
6
6
|
verifyDetachedSession
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-QEQFZLYR.js";
|
|
8
|
+
import "./chunk-LA4JMS27.js";
|
|
9
9
|
import "./chunk-QT3SHMLY.js";
|
|
10
10
|
import "./chunk-LK2JT2OO.js";
|
|
11
11
|
import "./chunk-G3H2L3O2.js";
|
|
@@ -16,4 +16,4 @@ export {
|
|
|
16
16
|
cloudAgentStartDetached,
|
|
17
17
|
verifyDetachedSession
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=_cloud-attach-
|
|
19
|
+
//# sourceMappingURL=_cloud-attach-BQRWX3J2.js.map
|
package/dist/chunk-G3H2L3O2.js
CHANGED
|
File without changes
|
package/dist/chunk-GGRZ3GZO.js
CHANGED
|
File without changes
|
|
@@ -19,9 +19,10 @@ import {
|
|
|
19
19
|
portlessAlias,
|
|
20
20
|
portlessGetUrl,
|
|
21
21
|
portlessUnalias,
|
|
22
|
+
readBoxStatus,
|
|
22
23
|
registerBoxWithRelay,
|
|
23
24
|
syncClaudeCredentials
|
|
24
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-LA4JMS27.js";
|
|
25
26
|
import {
|
|
26
27
|
hashProjectPath,
|
|
27
28
|
loadEffectiveConfig,
|
|
@@ -2831,6 +2832,26 @@ function defaultCommand(kind, opts) {
|
|
|
2831
2832
|
function shellSingle(s) {
|
|
2832
2833
|
return "'" + s.replace(/'/g, "'\\''") + "'";
|
|
2833
2834
|
}
|
|
2835
|
+
async function openWebAppOnVncScreen(box, provider) {
|
|
2836
|
+
const persisted = await readBoxStatus(box);
|
|
2837
|
+
const hasWebService = persisted?.services.some((s) => s.expose) ?? false;
|
|
2838
|
+
if (!hasWebService) return { opened: false, reason: "no web service" };
|
|
2839
|
+
try {
|
|
2840
|
+
const target = await provider.resolveUrl(box, { kind: "web" });
|
|
2841
|
+
const br = await provider.exec(
|
|
2842
|
+
box,
|
|
2843
|
+
["bash", "-lc", `agent-browser open --headed ${quoteShellArg(target)}`],
|
|
2844
|
+
{ user: "vscode" }
|
|
2845
|
+
);
|
|
2846
|
+
if (br.exitCode === 0) return { opened: true, target };
|
|
2847
|
+
return {
|
|
2848
|
+
opened: false,
|
|
2849
|
+
reason: br.stderr.trim() || br.stdout.trim() || `exit ${String(br.exitCode)}`
|
|
2850
|
+
};
|
|
2851
|
+
} catch (err) {
|
|
2852
|
+
return { opened: false, reason: err instanceof Error ? err.message : String(err) };
|
|
2853
|
+
}
|
|
2854
|
+
}
|
|
2834
2855
|
|
|
2835
2856
|
export {
|
|
2836
2857
|
ensureAgentVolumesForCloud,
|
|
@@ -2847,6 +2868,7 @@ export {
|
|
|
2847
2868
|
probeCloudCheckpoint,
|
|
2848
2869
|
createCloudProvider,
|
|
2849
2870
|
hostTermForCloud,
|
|
2850
|
-
renderInnerCommand
|
|
2871
|
+
renderInnerCommand,
|
|
2872
|
+
openWebAppOnVncScreen
|
|
2851
2873
|
};
|
|
2852
|
-
//# sourceMappingURL=chunk-
|
|
2874
|
+
//# sourceMappingURL=chunk-I6ZRWTPR.js.map
|