@madarco/agentbox 0.24.6 → 0.25.1
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 +69 -0
- package/LICENSE +21 -0
- package/README.md +4 -0
- package/dist/{_cloud-attach-ESCPOKG5.js → _cloud-attach-FGMI2ZHO.js} +5 -5
- package/dist/{chunk-4HPLS5HJ.js → chunk-3BR63LCB.js} +110 -9
- package/dist/chunk-3BR63LCB.js.map +1 -0
- package/dist/{chunk-OSPM4Q5V.js → chunk-3PSRBK24.js} +6 -6
- package/dist/chunk-3PSRBK24.js.map +1 -0
- package/dist/{chunk-CE3S7UDQ.js → chunk-4DBLYT2F.js} +44 -12
- package/dist/chunk-4DBLYT2F.js.map +1 -0
- package/dist/{chunk-3MDYQROX.js → chunk-4LS2TOF3.js} +17 -13
- package/dist/chunk-4LS2TOF3.js.map +1 -0
- package/dist/{chunk-H6A4BQMG.js → chunk-5F5SOSDY.js} +40 -1
- package/dist/chunk-5F5SOSDY.js.map +1 -0
- package/dist/{chunk-LJMGHFLZ.js → chunk-5VNL6SHJ.js} +3 -3
- package/dist/{chunk-7DPDUZ7L.js → chunk-67VF2QZC.js} +194 -56
- package/dist/chunk-67VF2QZC.js.map +1 -0
- package/dist/{chunk-RFRWS5CD.js → chunk-6GZK74GT.js} +2 -2
- package/dist/chunk-G3H2L3O2.js +0 -0
- package/dist/{chunk-5JDOTQTM.js → chunk-P5U6AP6K.js} +4 -4
- package/dist/chunk-WJFZJZIM.js +0 -0
- package/dist/{chunk-QHISF6O6.js → chunk-ZTSVY3YL.js} +3 -3
- package/dist/cloud-poller-SUNA6ZQC-7M5LJHHE.js +0 -0
- package/dist/{dist-VFPT5TDH.js → dist-4I7XHDC3.js} +6 -6
- package/dist/dist-5G42NFOG.js +677 -0
- package/dist/dist-5G42NFOG.js.map +1 -0
- package/dist/{dist-TRKHS6I7.js → dist-AZUD2LUA.js} +6 -6
- package/dist/{dist-FGXCG4JY.js → dist-MEK44IS5.js} +6 -6
- package/dist/{dist-HPPHBZTO.js → dist-SBDYDH7H.js} +8 -2
- package/dist/{dist-NOUPH5E6.js → dist-SN6ABGMD.js} +4 -4
- package/dist/{dist-3M53BF4E.js → dist-X7R2EMJL.js} +6 -6
- package/dist/index.js +114 -38
- package/dist/index.js.map +1 -1
- package/dist/{prepared-state-BUO75YLZ-46W2PAHH.js → prepared-state-75DIZ55S-5UAKJX3L.js} +2 -2
- package/package.json +29 -30
- 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 +31 -4
- 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/digitalocean/agentbox-checkpoint-cleanup +0 -0
- package/runtime/digitalocean/agentbox-dockerd-start +0 -0
- package/runtime/digitalocean/agentbox-open +0 -0
- package/runtime/digitalocean/agentbox-portless-trust +0 -0
- package/runtime/digitalocean/agentbox-vnc-start +0 -0
- package/runtime/digitalocean/ctl.cjs +31 -4
- package/runtime/digitalocean/gh-shim +0 -0
- package/runtime/digitalocean/git-shim +0 -0
- package/runtime/digitalocean/linear-shim +0 -0
- package/runtime/digitalocean/ntn-shim +0 -0
- package/runtime/digitalocean/scripts/install-box.sh +0 -0
- package/runtime/docker/packages/ctl/dist/bin.cjs +31 -4
- 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 +31 -4
- 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 +31 -4
- 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/_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]__0d1lmiq._.js +6 -6
- package/runtime/hub/apps/hub/.next/server/chunks/_0760z6y._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0ro6vh6._.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/{auth-HY5K55Y5.js → auth-MVL4NCQC.js} +3 -3
- package/runtime/hub/apps/hub/{auth-config-MNW2XGKK.js → auth-config-GRIXACTV.js} +3 -3
- package/runtime/hub/apps/hub/{chunk-5KMJIVZC.js → chunk-23AU7VYS.js} +111 -10
- package/runtime/hub/apps/hub/{chunk-OF242BLD.js → chunk-CKBHQ7OI.js} +1 -1
- package/runtime/hub/apps/hub/{chunk-DNR2YM2G.js → chunk-GARA7RQW.js} +58 -10
- package/runtime/hub/apps/hub/{chunk-PROXBLRJ.js → chunk-JLG5JJXD.js} +1 -1
- package/runtime/hub/apps/hub/{chunk-TZFWAJVB.js → chunk-OG4KH2FZ.js} +5 -0
- package/runtime/hub/apps/hub/chunk-QYJ37CUJ.js +62140 -0
- package/runtime/hub/apps/hub/{chunk-EY6HEDTK.js → chunk-RSENJ2FT.js} +17 -13
- package/runtime/hub/apps/hub/{chunk-EFW34I43.js → chunk-UDZ3VXRF.js} +1 -1
- package/runtime/hub/apps/hub/{chunk-TRUQCO4U.js → chunk-V3OMPMI3.js} +40 -1
- package/runtime/hub/apps/hub/{cloud-poller-SUNA6ZQC-VSKVMYHL.js → cloud-poller-SUNA6ZQC-YAWTNA2W.js} +1 -1
- package/runtime/hub/apps/hub/{dist-KV5ESR24.js → dist-DZGSA3US.js} +7 -7
- package/runtime/hub/apps/hub/{dist-NTKPAYA3.js → dist-IZ2JCN5R.js} +8 -2
- package/runtime/hub/apps/hub/{dist-M73U3ZDH.js → dist-JVU3QCLG.js} +7 -7
- package/runtime/hub/apps/hub/{dist-3DCKZYID.js → dist-TP4SXMDY.js} +596 -113
- package/runtime/hub/apps/hub/{dist-YCRESLWD.js → dist-VWSHZIPN.js} +7 -7
- package/runtime/hub/apps/hub/{dist-SX2NXGI6.js → dist-WZKTIA2R.js} +7 -7
- package/runtime/hub/apps/hub/{dist-RSWTJWRN.js → dist-YWY2DSSL.js} +5 -5
- package/runtime/hub/apps/hub/esm-VGBJAFLR.js +79 -0
- package/runtime/hub/apps/hub/{execa-4DLVNM6E.js → execa-AFY4ZODY.js} +2 -2
- package/runtime/hub/apps/hub/{hub-token-QKQWV2I6.js → hub-token-BJG6Q5II.js} +3 -3
- package/runtime/hub/apps/hub/{prepared-state-BUO75YLZ-KR4YLKDC.js → prepared-state-75DIZ55S-JDILR4OP.js} +3 -3
- package/runtime/hub/apps/hub/server.js +19 -19
- package/runtime/relay/bin.cjs +177 -42
- 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 +31 -4
- 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/dist/chunk-3MDYQROX.js.map +0 -1
- package/dist/chunk-4HPLS5HJ.js.map +0 -1
- package/dist/chunk-7DPDUZ7L.js.map +0 -1
- package/dist/chunk-CE3S7UDQ.js.map +0 -1
- package/dist/chunk-H6A4BQMG.js.map +0 -1
- package/dist/chunk-OSPM4Q5V.js.map +0 -1
- package/dist/dist-2N3XHMBQ.js +0 -322
- package/dist/dist-2N3XHMBQ.js.map +0 -1
- /package/dist/{_cloud-attach-ESCPOKG5.js.map → _cloud-attach-FGMI2ZHO.js.map} +0 -0
- /package/dist/{chunk-LJMGHFLZ.js.map → chunk-5VNL6SHJ.js.map} +0 -0
- /package/dist/{chunk-RFRWS5CD.js.map → chunk-6GZK74GT.js.map} +0 -0
- /package/dist/{chunk-5JDOTQTM.js.map → chunk-P5U6AP6K.js.map} +0 -0
- /package/dist/{chunk-QHISF6O6.js.map → chunk-ZTSVY3YL.js.map} +0 -0
- /package/dist/{dist-HPPHBZTO.js.map → dist-4I7XHDC3.js.map} +0 -0
- /package/dist/{dist-NOUPH5E6.js.map → dist-AZUD2LUA.js.map} +0 -0
- /package/dist/{dist-FGXCG4JY.js.map → dist-MEK44IS5.js.map} +0 -0
- /package/dist/{dist-TRKHS6I7.js.map → dist-SBDYDH7H.js.map} +0 -0
- /package/dist/{dist-VFPT5TDH.js.map → dist-SN6ABGMD.js.map} +0 -0
- /package/dist/{dist-3M53BF4E.js.map → dist-X7R2EMJL.js.map} +0 -0
- /package/dist/{prepared-state-BUO75YLZ-46W2PAHH.js.map → prepared-state-75DIZ55S-5UAKJX3L.js.map} +0 -0
- /package/runtime/hub/apps/hub/.next/static/{2LDXStEUVHS2oK1ID_Uvo → fo5EgsHa6PFLTBagfLiuM}/_buildManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{2LDXStEUVHS2oK1ID_Uvo → fo5EgsHa6PFLTBagfLiuM}/_clientMiddlewareManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{2LDXStEUVHS2oK1ID_Uvo → fo5EgsHa6PFLTBagfLiuM}/_ssgManifest.js +0 -0
|
@@ -3227,8 +3227,12 @@ function resolveContextFilesFrom(fileMap, opts) {
|
|
|
3227
3227
|
}
|
|
3228
3228
|
return out;
|
|
3229
3229
|
}
|
|
3230
|
+
var BOX_IMAGE_REGISTRY = "ghcr.io/madarco/agentbox/box";
|
|
3231
|
+
function registryRefForSha(sha, registry = BOX_IMAGE_REGISTRY) {
|
|
3232
|
+
return `${registry}:sha-${sha.slice(0, 16)}`;
|
|
3233
|
+
}
|
|
3230
3234
|
|
|
3231
|
-
// ../../packages/sandbox-docker/dist/chunk-
|
|
3235
|
+
// ../../packages/sandbox-docker/dist/chunk-6T2XZZB5.js
|
|
3232
3236
|
import { dirname as dirname23, resolve as resolve23 } from "path";
|
|
3233
3237
|
import { fileURLToPath as fileURLToPath2 } from "url";
|
|
3234
3238
|
import { execa as execa7 } from "execa";
|
|
@@ -3238,17 +3242,13 @@ import { dirname as dirname11, resolve as resolve3 } from "path";
|
|
|
3238
3242
|
var DEFAULT_BOX_IMAGE = "agentbox/box:dev";
|
|
3239
3243
|
async function resolveClaudeInstallMode() {
|
|
3240
3244
|
try {
|
|
3241
|
-
const { loadEffectiveConfig } = await import("./dist-
|
|
3245
|
+
const { loadEffectiveConfig } = await import("./dist-SBDYDH7H.js");
|
|
3242
3246
|
const cfg = await loadEffectiveConfig(process.cwd());
|
|
3243
3247
|
return cfg.effective.box.claudeInstall;
|
|
3244
3248
|
} catch {
|
|
3245
3249
|
return "native";
|
|
3246
3250
|
}
|
|
3247
3251
|
}
|
|
3248
|
-
var BOX_IMAGE_REGISTRY = "ghcr.io/madarco/agentbox/box";
|
|
3249
|
-
function registryRefForSha(sha, registry = BOX_IMAGE_REGISTRY) {
|
|
3250
|
-
return `${registry}:sha-${sha.slice(0, 16)}`;
|
|
3251
|
-
}
|
|
3252
3252
|
var here = dirname11(fileURLToPath(import.meta.url));
|
|
3253
3253
|
function resolveDockerBuild() {
|
|
3254
3254
|
const override = process.env.AGENTBOX_DOCKER_CONTEXT;
|
|
@@ -3352,7 +3352,7 @@ async function buildImage(opts = {}) {
|
|
|
3352
3352
|
return ref;
|
|
3353
3353
|
}
|
|
3354
3354
|
async function pullOrBuild(ref, fingerprint, opts = {}) {
|
|
3355
|
-
const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-
|
|
3355
|
+
const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-75DIZ55S-5UAKJX3L.js");
|
|
3356
3356
|
const registry = opts.registry ?? BOX_IMAGE_REGISTRY;
|
|
3357
3357
|
const allowPull = opts.allowPull !== false;
|
|
3358
3358
|
if (allowPull && registry && fingerprint) {
|
|
@@ -3379,7 +3379,7 @@ async function pullOrBuild(ref, fingerprint, opts = {}) {
|
|
|
3379
3379
|
return { source: "built" };
|
|
3380
3380
|
}
|
|
3381
3381
|
async function ensureImage(ref = DEFAULT_BOX_IMAGE, opts = {}) {
|
|
3382
|
-
const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedMatches: preparedMatches2 } = await import("./prepared-state-
|
|
3382
|
+
const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedMatches: preparedMatches2 } = await import("./prepared-state-75DIZ55S-5UAKJX3L.js");
|
|
3383
3383
|
const claudeInstall = opts.claudeInstall ?? await resolveClaudeInstallMode();
|
|
3384
3384
|
const rawFingerprint = await computeDockerContextFingerprint2({
|
|
3385
3385
|
contextDir: opts.contextDir
|
|
@@ -3409,8 +3409,12 @@ async function ensureImage(ref = DEFAULT_BOX_IMAGE, opts = {}) {
|
|
|
3409
3409
|
onProgress: opts.onProgress,
|
|
3410
3410
|
dockerfile: opts.dockerfile,
|
|
3411
3411
|
contextDir: opts.contextDir,
|
|
3412
|
-
//
|
|
3413
|
-
|
|
3412
|
+
// npm mode pulls too. CI publishes both install variants, and `fingerprint`
|
|
3413
|
+
// is already folded with the mode above — so the pull asks for the npm
|
|
3414
|
+
// image's own tag and hits. (It used to be native-only, which meant npm
|
|
3415
|
+
// users rebuilt the image locally on every first create, forever.) A tag
|
|
3416
|
+
// that genuinely isn't published still falls back to a local build.
|
|
3417
|
+
allowPull: opts.allowPull,
|
|
3414
3418
|
registry: opts.registry,
|
|
3415
3419
|
buildArgs: npm ? { AGENTBOX_CLAUDE_INSTALL: "npm" } : void 0
|
|
3416
3420
|
});
|
|
@@ -3429,7 +3433,7 @@ function classifyDockerBaseFreshness(input) {
|
|
|
3429
3433
|
return { state: "fresh" };
|
|
3430
3434
|
}
|
|
3431
3435
|
async function evaluateDockerBaseFreshness(opts = {}) {
|
|
3432
|
-
const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2 } = await import("./prepared-state-
|
|
3436
|
+
const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2 } = await import("./prepared-state-75DIZ55S-5UAKJX3L.js");
|
|
3433
3437
|
const ref = opts.ref ?? DEFAULT_BOX_IMAGE;
|
|
3434
3438
|
const imagePresent = await imageExists(ref);
|
|
3435
3439
|
if (!imagePresent) return { state: "unprepared" };
|
|
@@ -3631,9 +3635,9 @@ export {
|
|
|
3631
3635
|
readCliStamp,
|
|
3632
3636
|
DOCKER_CONTEXT_FILE_MAP,
|
|
3633
3637
|
resolveContextFilesFrom,
|
|
3634
|
-
DEFAULT_BOX_IMAGE,
|
|
3635
3638
|
BOX_IMAGE_REGISTRY,
|
|
3636
3639
|
registryRefForSha,
|
|
3640
|
+
DEFAULT_BOX_IMAGE,
|
|
3637
3641
|
DOCKERFILE_PATH,
|
|
3638
3642
|
BUILD_CONTEXT_DIR,
|
|
3639
3643
|
imageExists,
|
|
@@ -3650,4 +3654,4 @@ export {
|
|
|
3650
3654
|
writePreparedDockerState,
|
|
3651
3655
|
preparedMatches
|
|
3652
3656
|
};
|
|
3653
|
-
//# sourceMappingURL=chunk-
|
|
3657
|
+
//# sourceMappingURL=chunk-4LS2TOF3.js.map
|