You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the published stable (0.27.1), every host-relay git op against a cloud/remote box fails:
host executor failed: Cannot find package '@agentbox/sandbox-remote-docker'
imported from .../runtime/hub/apps/hub/chunk-YJ5MJOXK.js
Root cause is the pre-#270resolveCloudBackend: a variable import(pkg) that esbuild never bundles, resolving against node_modules where the private @agentbox/sandbox-* packages don't exist. It affects all cloud providers; remote-docker is just the first hit (no account needed). Dev checkouts hide it via pnpm workspace symlinks.
#270 fixes exactly this and is in the 0.28 nightlies. Verified live: stable 0.27.1 → error above; 0.28.0-nightly.202607290901 + agentbox hub restart → the remote-docker git fetch/push path works on a published-layout install (clean npm prefix, no @agentbox/* in node_modules).
Corrections to my earlier posts: "also reproduces on nightly" was a stale running hub (it serves old code until agentbox hub restart); the tarball file-listing evidence was invalid (backends are code-split into anonymously named chunks, so neither filenames nor package-name greps can show them).
Release-note that upgrading requires agentbox hub restart (a running hub keeps serving pre-fix code), and that the 0.28 hub now needs Node >= 22.5 (stable's hub runs on 20.x, so this will bite upgraders).
Summary
On the published stable (0.27.1), every host-relay git op against a cloud/remote box fails:
Root cause is the pre-#270
resolveCloudBackend: a variableimport(pkg)that esbuild never bundles, resolving againstnode_moduleswhere the private@agentbox/sandbox-*packages don't exist. It affects all cloud providers; remote-docker is just the first hit (no account needed). Dev checkouts hide it via pnpm workspace symlinks.#270 fixes exactly this and is in the 0.28 nightlies. Verified live: stable 0.27.1 → error above;
0.28.0-nightly.202607290901+agentbox hub restart→ the remote-dockergit fetch/pushpath works on a published-layout install (clean npm prefix, no@agentbox/*innode_modules).Corrections to my earlier posts: "also reproduces on nightly" was a stale running hub (it serves old code until
agentbox hub restart); the tarball file-listing evidence was invalid (backends are code-split into anonymously named chunks, so neither filenames nor package-name greps can show them).Version / environment
@madarco/agentbox0.27.1 (latest stable) — reproduces0.28.0-nightly.202607290901— fixed, once the hub is restartedRepro (stable)
agentbox remote-docker add <alias> <ssh>and create a box on itgit push, or host-sideagentbox git push|fetch <box>Cannot find package '@agentbox/sandbox-remote-docker'Asks
agentbox hub restart(a running hub keeps serving pre-fix code), and that the 0.28 hub now needs Node >= 22.5 (stable's hub runs on 20.x, so this will bite upgraders).