@madarco/agentbox 0.10.0 → 0.10.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 +13 -0
- package/dist/{_cloud-attach-O6NYTLES.js → _cloud-attach-2DGI6FUA.js} +4 -4
- package/dist/{chunk-7UIAO7PC.js → chunk-CDKVD6UO.js} +27 -11
- package/dist/chunk-CDKVD6UO.js.map +1 -0
- package/dist/{chunk-R4O5WPHW.js → chunk-I7NOGCL4.js} +6 -6
- package/dist/{chunk-2GPORKYF.js → chunk-M2UWJKFA.js} +3 -3
- package/dist/{chunk-KL36BRN4.js → chunk-PWUVHPN6.js} +66 -17
- package/dist/{chunk-KL36BRN4.js.map → chunk-PWUVHPN6.js.map} +1 -1
- package/dist/{dist-TMHSUVTP.js → dist-BD5QJRDC.js} +4 -4
- package/dist/{dist-5FQGYRW5.js → dist-BNI5PQYK.js} +4 -4
- package/dist/{dist-BQNX7RQE.js → dist-SBCQVFCE.js} +13 -3
- package/dist/{dist-PZW3GWWU.js → dist-SJHY3HYN.js} +4 -4
- package/dist/index.js +35 -23
- package/dist/index.js.map +1 -1
- package/dist/{prepared-state-CL4CWXQA-H5THETIM.js → prepared-state-MQHD3M5F-O5M4NIN4.js} +2 -2
- package/package.json +5 -5
- package/runtime/docker/apps/cli/share/agentbox-setup/SKILL.md +1 -1
- package/runtime/docker/packages/ctl/dist/bin.cjs +6 -0
- package/runtime/hetzner/agentbox-setup-skill.md +1 -1
- package/runtime/hetzner/ctl.cjs +6 -0
- package/runtime/relay/bin.cjs +9 -0
- package/runtime/vercel/agentbox-setup-skill.md +1 -1
- package/runtime/vercel/ctl.cjs +6 -0
- package/share/agentbox-setup/SKILL.md +1 -1
- package/dist/chunk-7UIAO7PC.js.map +0 -1
- /package/dist/{_cloud-attach-O6NYTLES.js.map → _cloud-attach-2DGI6FUA.js.map} +0 -0
- /package/dist/{chunk-R4O5WPHW.js.map → chunk-I7NOGCL4.js.map} +0 -0
- /package/dist/{chunk-2GPORKYF.js.map → chunk-M2UWJKFA.js.map} +0 -0
- /package/dist/{dist-TMHSUVTP.js.map → dist-BD5QJRDC.js.map} +0 -0
- /package/dist/{dist-5FQGYRW5.js.map → dist-BNI5PQYK.js.map} +0 -0
- /package/dist/{dist-BQNX7RQE.js.map → dist-SBCQVFCE.js.map} +0 -0
- /package/dist/{dist-PZW3GWWU.js.map → dist-SJHY3HYN.js.map} +0 -0
- /package/dist/{prepared-state-CL4CWXQA-H5THETIM.js.map → prepared-state-MQHD3M5F-O5M4NIN4.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,19 @@ 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.10.1] - 2026-05-30
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- First-time setup is now a `docker pull` instead of a local image build. The
|
|
17
|
+
box image is fetched prebuilt (multi-arch) from GitHub Container Registry on
|
|
18
|
+
first use — including for the cloud providers, which need it for the local
|
|
19
|
+
agent-login step — cutting first install from a ~10-15 min build to a
|
|
20
|
+
download. If the registry is unreachable or you've customized the build
|
|
21
|
+
context, it falls back to building locally as before. Use `--build` on
|
|
22
|
+
`agentbox create` / `agentbox prepare`, or set `box.imageRegistry` to empty,
|
|
23
|
+
to always build locally.
|
|
24
|
+
|
|
12
25
|
## [0.10.0] - 2026-05-30
|
|
13
26
|
|
|
14
27
|
### Breaking
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
buildCloudAttachInnerCommand,
|
|
4
4
|
cloudAgentAttach
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-I7NOGCL4.js";
|
|
6
|
+
import "./chunk-CDKVD6UO.js";
|
|
7
|
+
import "./chunk-PWUVHPN6.js";
|
|
8
8
|
import "./chunk-G3H2L3O2.js";
|
|
9
9
|
export {
|
|
10
10
|
buildCloudAttachInnerCommand,
|
|
11
11
|
cloudAgentAttach
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=_cloud-attach-
|
|
13
|
+
//# sourceMappingURL=_cloud-attach-2DGI6FUA.js.map
|
|
@@ -5,7 +5,6 @@ import {
|
|
|
5
5
|
STATE_DIR,
|
|
6
6
|
STATE_FILE,
|
|
7
7
|
allocateProjectIndex,
|
|
8
|
-
buildImage,
|
|
9
8
|
computeDockerContextFingerprint,
|
|
10
9
|
detectGitRepos,
|
|
11
10
|
ensureImage,
|
|
@@ -13,13 +12,13 @@ import {
|
|
|
13
12
|
imageExists,
|
|
14
13
|
pickFreshBranch,
|
|
15
14
|
preparedMatches,
|
|
15
|
+
pullOrBuild,
|
|
16
16
|
readCliStamp,
|
|
17
17
|
readPreparedDockerState,
|
|
18
18
|
readState,
|
|
19
19
|
recordBox,
|
|
20
|
-
removeBoxRecord
|
|
21
|
-
|
|
22
|
-
} from "./chunk-KL36BRN4.js";
|
|
20
|
+
removeBoxRecord
|
|
21
|
+
} from "./chunk-PWUVHPN6.js";
|
|
23
22
|
|
|
24
23
|
// ../../packages/sandbox-docker/dist/index.js
|
|
25
24
|
import { randomBytes as randomBytes3 } from "crypto";
|
|
@@ -744,6 +743,9 @@ var BUILT_IN_DEFAULTS = {
|
|
|
744
743
|
isolateCodexConfig: false,
|
|
745
744
|
isolateOpencodeConfig: false,
|
|
746
745
|
image: "agentbox/box:dev",
|
|
746
|
+
// Mirrors BOX_IMAGE_REGISTRY in @agentbox/sandbox-docker. Empty disables the
|
|
747
|
+
// registry pull (always build the docker base image locally).
|
|
748
|
+
imageRegistry: "ghcr.io/madarco/agentbox/box",
|
|
747
749
|
dockerCacheShared: false,
|
|
748
750
|
memory: 0,
|
|
749
751
|
cpus: 0,
|
|
@@ -900,6 +902,12 @@ var KEY_REGISTRY = [
|
|
|
900
902
|
description: "Box image ref (advanced).",
|
|
901
903
|
advanced: true
|
|
902
904
|
},
|
|
905
|
+
{
|
|
906
|
+
key: "box.imageRegistry",
|
|
907
|
+
type: "string",
|
|
908
|
+
description: "Registry repo to pull the prebuilt docker base image from before building locally. Empty = always build. Docker only (advanced).",
|
|
909
|
+
advanced: true
|
|
910
|
+
},
|
|
903
911
|
{
|
|
904
912
|
key: "box.dockerCacheShared",
|
|
905
913
|
type: "bool",
|
|
@@ -6174,7 +6182,9 @@ async function createBox(opts) {
|
|
|
6174
6182
|
const imageRef = checkpointImage ?? opts.image ?? DEFAULT_BOX_IMAGE;
|
|
6175
6183
|
const ensureRef = checkpointImage ? opts.image ?? DEFAULT_BOX_IMAGE : imageRef;
|
|
6176
6184
|
const { built } = await ensureImage(ensureRef, {
|
|
6177
|
-
onProgress: (line) => log(`[image] ${line}`)
|
|
6185
|
+
onProgress: (line) => log(`[image] ${line}`),
|
|
6186
|
+
allowPull: opts.allowPull,
|
|
6187
|
+
registry: opts.imageRegistry
|
|
6178
6188
|
});
|
|
6179
6189
|
log(built ? `built image ${ensureRef}` : `using cached image ${imageRef}`);
|
|
6180
6190
|
let relayUp = false;
|
|
@@ -7730,6 +7740,8 @@ var dockerProvider = {
|
|
|
7730
7740
|
fromBranch: req.fromBranch,
|
|
7731
7741
|
useBranch: req.useBranch,
|
|
7732
7742
|
image: req.image,
|
|
7743
|
+
allowPull: req.allowPull,
|
|
7744
|
+
imageRegistry: req.imageRegistry,
|
|
7733
7745
|
onLog: req.onLog,
|
|
7734
7746
|
claudeConfig: po.claudeConfig,
|
|
7735
7747
|
claudeEnv: po.claudeEnv,
|
|
@@ -7836,15 +7848,19 @@ var dockerProvider = {
|
|
|
7836
7848
|
return {};
|
|
7837
7849
|
}
|
|
7838
7850
|
}
|
|
7839
|
-
|
|
7840
|
-
|
|
7851
|
+
const { source } = await pullOrBuild(ref, fingerprint, {
|
|
7852
|
+
onProgress: opts.onLog,
|
|
7853
|
+
allowPull: opts.force ? false : opts.allowPull,
|
|
7854
|
+
registry: opts.registry
|
|
7855
|
+
});
|
|
7841
7856
|
if (fingerprint) {
|
|
7842
|
-
writePreparedDockerState({ imageRef: ref, contextSha256: fingerprint.contextSha256 });
|
|
7843
7857
|
opts.onLog?.(
|
|
7844
|
-
`docker image ${ref}
|
|
7858
|
+
`docker image ${ref} ${source}; recorded fingerprint ${fingerprint.contextSha256.slice(0, 12)}`
|
|
7845
7859
|
);
|
|
7846
7860
|
} else {
|
|
7847
|
-
opts.onLog?.(
|
|
7861
|
+
opts.onLog?.(
|
|
7862
|
+
`docker image ${ref} ${source} (fingerprint unavailable, prepared state not written)`
|
|
7863
|
+
);
|
|
7848
7864
|
}
|
|
7849
7865
|
return {};
|
|
7850
7866
|
}
|
|
@@ -8430,4 +8446,4 @@ export {
|
|
|
8430
8446
|
browserSessionActive,
|
|
8431
8447
|
ensureBoxBrowser
|
|
8432
8448
|
};
|
|
8433
|
-
//# sourceMappingURL=chunk-
|
|
8449
|
+
//# sourceMappingURL=chunk-CDKVD6UO.js.map
|