@madarco/agentbox 0.23.0 → 0.23.2
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 +40 -0
- package/LICENSE +21 -0
- package/dist/{_cloud-attach-RFPLNACE.js → _cloud-attach-LP5CIO7S.js} +4 -4
- package/dist/{chunk-ERMU7RMK.js → chunk-7D7K4UXW.js} +4 -4
- package/dist/{chunk-QGL734YX.js → chunk-AGSLJ3NE.js} +2 -2
- package/dist/{chunk-L5SOSNQI.js → chunk-C47ZA42C.js} +3 -3
- package/dist/chunk-G3H2L3O2.js +0 -0
- package/dist/{chunk-QVWGQJV6.js → chunk-GGRZ3GZO.js} +2 -2
- package/dist/{chunk-6OQENOJZ.js → chunk-J3GSZ33V.js} +8 -8
- package/dist/{chunk-CKC3CP7Y.js → chunk-LK2JT2OO.js} +19 -7
- package/dist/{chunk-CKC3CP7Y.js.map → chunk-LK2JT2OO.js.map} +1 -1
- package/dist/{chunk-Q626V2YX.js → chunk-LSQXT5WZ.js} +2 -2
- package/dist/chunk-QT3SHMLY.js +0 -0
- package/dist/{chunk-JXDSSSXS.js → chunk-TZLNJBIM.js} +3 -3
- 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-GJCIKH2C.js → dist-HENU2IVK.js} +8 -6
- package/dist/{dist-GJCIKH2C.js.map → dist-HENU2IVK.js.map} +1 -1
- package/dist/{dist-JFUUDAI3.js → dist-NUZ2RMOP.js} +3 -3
- package/dist/{dist-GEHCZJCS.js → dist-OTSXYV6X.js} +5 -5
- package/dist/{dist-W5476E2U.js → dist-UIOWLT3C.js} +5 -5
- package/dist/{dist-Z3GSHEFO.js → dist-VMR6UEP2.js} +5 -5
- package/dist/index.js +49 -25
- package/dist/index.js.map +1 -1
- package/dist/{prepared-state-LW2PKTEQ-5YMKG7UN.js → prepared-state-BUO75YLZ-CDTISC2C.js} +2 -2
- package/package.json +27 -28
- 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/(auth)/signin/page_client-reference-manifest.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page_client-reference-manifest.js +1 -1
- 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/(dashboard)/page_client-reference-manifest.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page_client-reference-manifest.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/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/app/_not-found/page_client-reference-manifest.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1d6mtlk._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_0b_hsjl._.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/{23fswvjrabu89.js → 0joh_xsiowfc4.js} +1 -1
- package/runtime/hub/apps/hub/.next/static/chunks/3rm29i8e-lb25.css +3 -0
- package/runtime/hub/apps/hub/{chunk-6HD4PARX.js → chunk-5C7T5LX3.js} +2 -2
- package/runtime/hub/apps/hub/{chunk-K6RA5GJI.js → chunk-H22XP3NY.js} +18 -6
- package/runtime/hub/apps/hub/{chunk-JQFB2CNA.js → chunk-TS3DHXYG.js} +1 -1
- package/runtime/hub/apps/hub/{dist-OUNL2TCW.js → dist-3ILQQGCH.js} +3 -3
- package/runtime/hub/apps/hub/{dist-3HR4RIPE.js → dist-6R5YPL5S.js} +2 -2
- package/runtime/hub/apps/hub/{dist-7GNKBKFV.js → dist-CJHZ37LW.js} +3 -3
- package/runtime/hub/apps/hub/{dist-JWVTVHBT.js → dist-PKOFN4OD.js} +3 -3
- package/runtime/hub/apps/hub/{dist-TOHA4OA5.js → dist-WRKJHF6W.js} +6 -4
- package/runtime/hub/apps/hub/{prepared-state-LW2PKTEQ-7BCXARGA.js → prepared-state-BUO75YLZ-CAXQS5Y3.js} +1 -1
- package/runtime/hub/apps/hub/server.js +9 -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/runtime/hub/apps/hub/.next/static/chunks/3nedwutnzpdis.css +0 -3
- /package/dist/{_cloud-attach-RFPLNACE.js.map → _cloud-attach-LP5CIO7S.js.map} +0 -0
- /package/dist/{chunk-ERMU7RMK.js.map → chunk-7D7K4UXW.js.map} +0 -0
- /package/dist/{chunk-QGL734YX.js.map → chunk-AGSLJ3NE.js.map} +0 -0
- /package/dist/{chunk-L5SOSNQI.js.map → chunk-C47ZA42C.js.map} +0 -0
- /package/dist/{chunk-QVWGQJV6.js.map → chunk-GGRZ3GZO.js.map} +0 -0
- /package/dist/{chunk-6OQENOJZ.js.map → chunk-J3GSZ33V.js.map} +0 -0
- /package/dist/{chunk-Q626V2YX.js.map → chunk-LSQXT5WZ.js.map} +0 -0
- /package/dist/{chunk-JXDSSSXS.js.map → chunk-TZLNJBIM.js.map} +0 -0
- /package/dist/{dist-JFUUDAI3.js.map → dist-NUZ2RMOP.js.map} +0 -0
- /package/dist/{dist-GEHCZJCS.js.map → dist-OTSXYV6X.js.map} +0 -0
- /package/dist/{dist-W5476E2U.js.map → dist-UIOWLT3C.js.map} +0 -0
- /package/dist/{dist-Z3GSHEFO.js.map → dist-VMR6UEP2.js.map} +0 -0
- /package/dist/{prepared-state-LW2PKTEQ-5YMKG7UN.js.map → prepared-state-BUO75YLZ-CDTISC2C.js.map} +0 -0
- /package/runtime/hub/apps/hub/.next/static/{6WtaFwavHBpin3eT7-HjR → W7Oc_BUsChvL4rrhfKZRY}/_buildManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{6WtaFwavHBpin3eT7-HjR → W7Oc_BUsChvL4rrhfKZRY}/_clientMiddlewareManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{6WtaFwavHBpin3eT7-HjR → W7Oc_BUsChvL4rrhfKZRY}/_ssgManifest.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,46 @@ 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.2] - 2026-07-08
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- First-run `agentbox create` no longer looks frozen while the pulled box
|
|
17
|
+
image extracts: `docker pull` prints nothing during the extraction phase
|
|
18
|
+
(minutes, for a multi-GB image), so create now emits a "still extracting"
|
|
19
|
+
keepalive after 20s of silence.
|
|
20
|
+
|
|
21
|
+
## [0.23.1] - 2026-07-08
|
|
22
|
+
|
|
23
|
+
### Breaking
|
|
24
|
+
|
|
25
|
+
- **`agentbox install tray` is now `agentbox install app`** — matching the
|
|
26
|
+
`AgentBox.app` bundle and the `agentbox app` lifecycle command. The old name
|
|
27
|
+
errors (no alias); update any scripts.
|
|
28
|
+
|
|
29
|
+
### Added
|
|
30
|
+
|
|
31
|
+
- The hub's Settings page shows the running AgentBox version, and
|
|
32
|
+
`GET /api/v1/health` now includes a `version` field. The macOS menu-bar app
|
|
33
|
+
gained the same version footer in its Settings window.
|
|
34
|
+
|
|
35
|
+
### Changed
|
|
36
|
+
|
|
37
|
+
- `agentbox install <target>` with an unrecognized target now exits with an
|
|
38
|
+
error listing the valid targets (`cmux`, `herdr`, `codex`, `app`) instead of
|
|
39
|
+
silently ignoring it and launching the setup wizard.
|
|
40
|
+
- The install wizard's compatibility check now names what warned — e.g.
|
|
41
|
+
`system warn: optional sshfs, macfuse` — instead of an opaque `system warn`,
|
|
42
|
+
and marks optional deps as such.
|
|
43
|
+
- `agentbox doctor` reports missing Daytona credentials as a one-liner
|
|
44
|
+
(`not configured`, with the `agentbox daytona login` hint) like the other
|
|
45
|
+
cloud providers, instead of the SDK's env-var paragraph.
|
|
46
|
+
|
|
47
|
+
### Fixed
|
|
48
|
+
|
|
49
|
+
- The GitHub star prompt remembers any explicit answer — declining, or starring
|
|
50
|
+
via the browser fallback, no longer makes it re-ask after every self-update.
|
|
51
|
+
|
|
12
52
|
## [0.23.0] - 2026-07-08
|
|
13
53
|
|
|
14
54
|
### Added
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 AgentBox contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
cloudAgentAttach,
|
|
5
5
|
cloudAgentStartDetached,
|
|
6
6
|
verifyDetachedSession
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-J3GSZ33V.js";
|
|
8
|
+
import "./chunk-AGSLJ3NE.js";
|
|
9
9
|
import "./chunk-QT3SHMLY.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-LK2JT2OO.js";
|
|
11
11
|
import "./chunk-G3H2L3O2.js";
|
|
12
12
|
import "./chunk-WJFZJZIM.js";
|
|
13
13
|
export {
|
|
@@ -16,4 +16,4 @@ export {
|
|
|
16
16
|
cloudAgentStartDetached,
|
|
17
17
|
verifyDetachedSession
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=_cloud-attach-
|
|
19
|
+
//# sourceMappingURL=_cloud-attach-LP5CIO7S.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
createCloudProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-C47ZA42C.js";
|
|
5
5
|
import {
|
|
6
6
|
detectPortless,
|
|
7
7
|
portlessDoctorRow
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AGSLJ3NE.js";
|
|
9
9
|
import {
|
|
10
10
|
UserFacingError,
|
|
11
11
|
claudeInstallFingerprint,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
stageOpencodeStaticForUpload,
|
|
23
23
|
writeManagedSecrets,
|
|
24
24
|
writePreparedStateRaw
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-LK2JT2OO.js";
|
|
26
26
|
|
|
27
27
|
// ../../packages/sandbox-hetzner/dist/chunk-3ZWBEZND.js
|
|
28
28
|
import { existsSync, readFileSync } from "fs";
|
|
@@ -2263,4 +2263,4 @@ export {
|
|
|
2263
2263
|
hetznerProvider,
|
|
2264
2264
|
providerModule
|
|
2265
2265
|
};
|
|
2266
|
-
//# sourceMappingURL=chunk-
|
|
2266
|
+
//# sourceMappingURL=chunk-7D7K4UXW.js.map
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
setInstallMethodNative,
|
|
62
62
|
syncAgentboxSshConfig,
|
|
63
63
|
trustWorkspace
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-LK2JT2OO.js";
|
|
65
65
|
|
|
66
66
|
// ../../packages/sandbox-docker/dist/index.js
|
|
67
67
|
import { spawnSync } from "child_process";
|
|
@@ -9352,4 +9352,4 @@ export {
|
|
|
9352
9352
|
browserSessionActive,
|
|
9353
9353
|
ensureBoxBrowser
|
|
9354
9354
|
};
|
|
9355
|
-
//# sourceMappingURL=chunk-
|
|
9355
|
+
//# sourceMappingURL=chunk-AGSLJ3NE.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
portlessUnalias,
|
|
22
22
|
registerBoxWithRelay,
|
|
23
23
|
syncClaudeCredentials
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-AGSLJ3NE.js";
|
|
25
25
|
import {
|
|
26
26
|
hashProjectPath,
|
|
27
27
|
loadEffectiveConfig,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
stageOpencodeCredentialsForUpload,
|
|
67
67
|
stageOpencodeStateForUpload,
|
|
68
68
|
stageOpencodeStaticForUpload
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-LK2JT2OO.js";
|
|
70
70
|
|
|
71
71
|
// ../../packages/sandbox-cloud/dist/index.js
|
|
72
72
|
import { basename as basename2, resolve } from "path";
|
|
@@ -2849,4 +2849,4 @@ export {
|
|
|
2849
2849
|
hostTermForCloud,
|
|
2850
2850
|
renderInnerCommand
|
|
2851
2851
|
};
|
|
2852
|
-
//# sourceMappingURL=chunk-
|
|
2852
|
+
//# sourceMappingURL=chunk-C47ZA42C.js.map
|
package/dist/chunk-G3H2L3O2.js
CHANGED
|
File without changes
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
resolveContextFilesFrom,
|
|
10
10
|
writeManagedSecrets,
|
|
11
11
|
writePreparedStateRaw
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LK2JT2OO.js";
|
|
13
13
|
|
|
14
14
|
// ../../packages/sandbox-daytona/dist/chunk-6WHCUMQO.js
|
|
15
15
|
import { existsSync } from "fs";
|
|
@@ -839,4 +839,4 @@ export {
|
|
|
839
839
|
writePreparedDaytonaState,
|
|
840
840
|
preparedMatches
|
|
841
841
|
};
|
|
842
|
-
//# sourceMappingURL=chunk-
|
|
842
|
+
//# sourceMappingURL=chunk-GGRZ3GZO.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
startClaudeSession,
|
|
6
6
|
startCodexSession,
|
|
7
7
|
startOpencodeSession
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AGSLJ3NE.js";
|
|
9
9
|
import {
|
|
10
10
|
PROVIDER_NAMES,
|
|
11
11
|
isProviderKind,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
isSupportedApiVersion,
|
|
16
16
|
pluginForProvider,
|
|
17
17
|
pluginProviderNames
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LK2JT2OO.js";
|
|
19
19
|
|
|
20
20
|
// src/commands/_cloud-attach.ts
|
|
21
21
|
import { spawn as spawn4 } from "child_process";
|
|
@@ -153,11 +153,11 @@ async function withFirewallRepair(provider, box, opts, attempt) {
|
|
|
153
153
|
// src/provider/loaders.ts
|
|
154
154
|
import { pathToFileURL } from "url";
|
|
155
155
|
var IMPORTERS = {
|
|
156
|
-
docker: () => import("./dist-
|
|
157
|
-
daytona: () => import("./dist-
|
|
158
|
-
hetzner: () => import("./dist-
|
|
159
|
-
vercel: () => import("./dist-
|
|
160
|
-
e2b: () => import("./dist-
|
|
156
|
+
docker: () => import("./dist-NUZ2RMOP.js"),
|
|
157
|
+
daytona: () => import("./dist-HENU2IVK.js"),
|
|
158
|
+
hetzner: () => import("./dist-VMR6UEP2.js"),
|
|
159
|
+
vercel: () => import("./dist-UIOWLT3C.js"),
|
|
160
|
+
e2b: () => import("./dist-OTSXYV6X.js")
|
|
161
161
|
};
|
|
162
162
|
function pickProviderModule(mod, name) {
|
|
163
163
|
const m = mod;
|
|
@@ -2755,4 +2755,4 @@ export {
|
|
|
2755
2755
|
agentResumeArgs,
|
|
2756
2756
|
restoreAgentSessions
|
|
2757
2757
|
};
|
|
2758
|
-
//# sourceMappingURL=chunk-
|
|
2758
|
+
//# sourceMappingURL=chunk-J3GSZ33V.js.map
|
|
@@ -2525,7 +2525,7 @@ function resolveContextFilesFrom(fileMap, opts) {
|
|
|
2525
2525
|
return out;
|
|
2526
2526
|
}
|
|
2527
2527
|
|
|
2528
|
-
// ../../packages/sandbox-docker/dist/chunk-
|
|
2528
|
+
// ../../packages/sandbox-docker/dist/chunk-M4EQJUB5.js
|
|
2529
2529
|
import { dirname as dirname23, resolve as resolve23 } from "path";
|
|
2530
2530
|
import { fileURLToPath as fileURLToPath2 } from "url";
|
|
2531
2531
|
import { execa as execa7 } from "execa";
|
|
@@ -2575,8 +2575,11 @@ async function pullImage(target, opts = {}) {
|
|
|
2575
2575
|
stdout: "pipe",
|
|
2576
2576
|
reject: false
|
|
2577
2577
|
});
|
|
2578
|
+
let heartbeat;
|
|
2578
2579
|
if (opts.onProgress) {
|
|
2580
|
+
let lastLineAt = Date.now();
|
|
2579
2581
|
const forward = (chunk) => {
|
|
2582
|
+
lastLineAt = Date.now();
|
|
2580
2583
|
const text = typeof chunk === "string" ? chunk : chunk.toString("utf8");
|
|
2581
2584
|
for (const line of text.split(/\r?\n/)) {
|
|
2582
2585
|
if (line.length > 0) opts.onProgress?.(line);
|
|
@@ -2584,9 +2587,18 @@ async function pullImage(target, opts = {}) {
|
|
|
2584
2587
|
};
|
|
2585
2588
|
subprocess.stdout?.on("data", forward);
|
|
2586
2589
|
subprocess.stderr?.on("data", forward);
|
|
2590
|
+
heartbeat = setInterval(() => {
|
|
2591
|
+
if (Date.now() - lastLineAt >= 2e4) {
|
|
2592
|
+
opts.onProgress?.(`still extracting ${target} \u2014 large layers can take a few minutes`);
|
|
2593
|
+
}
|
|
2594
|
+
}, 2e4);
|
|
2595
|
+
}
|
|
2596
|
+
try {
|
|
2597
|
+
const result = await subprocess;
|
|
2598
|
+
return result.exitCode === 0;
|
|
2599
|
+
} finally {
|
|
2600
|
+
if (heartbeat) clearInterval(heartbeat);
|
|
2587
2601
|
}
|
|
2588
|
-
const result = await subprocess;
|
|
2589
|
-
return result.exitCode === 0;
|
|
2590
2602
|
}
|
|
2591
2603
|
async function tagImage(source, target) {
|
|
2592
2604
|
await execa7("docker", ["tag", source, target]);
|
|
@@ -2637,7 +2649,7 @@ async function buildImage(opts = {}) {
|
|
|
2637
2649
|
return ref;
|
|
2638
2650
|
}
|
|
2639
2651
|
async function pullOrBuild(ref, fingerprint, opts = {}) {
|
|
2640
|
-
const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-
|
|
2652
|
+
const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-BUO75YLZ-CDTISC2C.js");
|
|
2641
2653
|
const registry = opts.registry ?? BOX_IMAGE_REGISTRY;
|
|
2642
2654
|
const allowPull = opts.allowPull !== false;
|
|
2643
2655
|
if (allowPull && registry && fingerprint) {
|
|
@@ -2664,7 +2676,7 @@ async function pullOrBuild(ref, fingerprint, opts = {}) {
|
|
|
2664
2676
|
return { source: "built" };
|
|
2665
2677
|
}
|
|
2666
2678
|
async function ensureImage(ref = DEFAULT_BOX_IMAGE, opts = {}) {
|
|
2667
|
-
const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedMatches: preparedMatches2 } = await import("./prepared-state-
|
|
2679
|
+
const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedMatches: preparedMatches2 } = await import("./prepared-state-BUO75YLZ-CDTISC2C.js");
|
|
2668
2680
|
const claudeInstall = opts.claudeInstall ?? await resolveClaudeInstallMode();
|
|
2669
2681
|
const rawFingerprint = await computeDockerContextFingerprint2({
|
|
2670
2682
|
contextDir: opts.contextDir
|
|
@@ -2714,7 +2726,7 @@ function classifyDockerBaseFreshness(input) {
|
|
|
2714
2726
|
return { state: "fresh" };
|
|
2715
2727
|
}
|
|
2716
2728
|
async function evaluateDockerBaseFreshness(opts = {}) {
|
|
2717
|
-
const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2 } = await import("./prepared-state-
|
|
2729
|
+
const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2 } = await import("./prepared-state-BUO75YLZ-CDTISC2C.js");
|
|
2718
2730
|
const ref = opts.ref ?? DEFAULT_BOX_IMAGE;
|
|
2719
2731
|
const imagePresent = await imageExists(ref);
|
|
2720
2732
|
if (!imagePresent) return { state: "unprepared" };
|
|
@@ -2904,4 +2916,4 @@ export {
|
|
|
2904
2916
|
writePreparedDockerState,
|
|
2905
2917
|
preparedMatches
|
|
2906
2918
|
};
|
|
2907
|
-
//# sourceMappingURL=chunk-
|
|
2919
|
+
//# sourceMappingURL=chunk-LK2JT2OO.js.map
|