@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.
Files changed (130) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/LICENSE +21 -0
  3. package/dist/{_cloud-attach-RFPLNACE.js → _cloud-attach-LP5CIO7S.js} +4 -4
  4. package/dist/{chunk-ERMU7RMK.js → chunk-7D7K4UXW.js} +4 -4
  5. package/dist/{chunk-QGL734YX.js → chunk-AGSLJ3NE.js} +2 -2
  6. package/dist/{chunk-L5SOSNQI.js → chunk-C47ZA42C.js} +3 -3
  7. package/dist/chunk-G3H2L3O2.js +0 -0
  8. package/dist/{chunk-QVWGQJV6.js → chunk-GGRZ3GZO.js} +2 -2
  9. package/dist/{chunk-6OQENOJZ.js → chunk-J3GSZ33V.js} +8 -8
  10. package/dist/{chunk-CKC3CP7Y.js → chunk-LK2JT2OO.js} +19 -7
  11. package/dist/{chunk-CKC3CP7Y.js.map → chunk-LK2JT2OO.js.map} +1 -1
  12. package/dist/{chunk-Q626V2YX.js → chunk-LSQXT5WZ.js} +2 -2
  13. package/dist/chunk-QT3SHMLY.js +0 -0
  14. package/dist/{chunk-JXDSSSXS.js → chunk-TZLNJBIM.js} +3 -3
  15. package/dist/chunk-WJFZJZIM.js +0 -0
  16. package/dist/cloud-poller-SUNA6ZQC-7M5LJHHE.js +0 -0
  17. package/dist/dist-2BTJQUJS.js +0 -0
  18. package/dist/{dist-GJCIKH2C.js → dist-HENU2IVK.js} +8 -6
  19. package/dist/{dist-GJCIKH2C.js.map → dist-HENU2IVK.js.map} +1 -1
  20. package/dist/{dist-JFUUDAI3.js → dist-NUZ2RMOP.js} +3 -3
  21. package/dist/{dist-GEHCZJCS.js → dist-OTSXYV6X.js} +5 -5
  22. package/dist/{dist-W5476E2U.js → dist-UIOWLT3C.js} +5 -5
  23. package/dist/{dist-Z3GSHEFO.js → dist-VMR6UEP2.js} +5 -5
  24. package/dist/index.js +49 -25
  25. package/dist/index.js.map +1 -1
  26. package/dist/{prepared-state-LW2PKTEQ-5YMKG7UN.js → prepared-state-BUO75YLZ-CDTISC2C.js} +2 -2
  27. package/package.json +27 -28
  28. package/runtime/_shared/agentbox-checkpoint-cleanup +0 -0
  29. package/runtime/_shared/agentbox-dockerd-start +0 -0
  30. package/runtime/_shared/agentbox-open +0 -0
  31. package/runtime/_shared/agentbox-portless-trust +0 -0
  32. package/runtime/_shared/agentbox-vnc-start +0 -0
  33. package/runtime/_shared/ctl.cjs +0 -0
  34. package/runtime/_shared/gh-shim +0 -0
  35. package/runtime/_shared/git-shim +0 -0
  36. package/runtime/_shared/linear-shim +0 -0
  37. package/runtime/_shared/ntn-shim +0 -0
  38. package/runtime/docker/packages/ctl/dist/bin.cjs +0 -0
  39. package/runtime/docker/packages/sandbox-docker/scripts/agentbox-checkpoint-cleanup +0 -0
  40. package/runtime/docker/packages/sandbox-docker/scripts/agentbox-dockerd-start +0 -0
  41. package/runtime/docker/packages/sandbox-docker/scripts/agentbox-open +0 -0
  42. package/runtime/docker/packages/sandbox-docker/scripts/agentbox-portless-trust +0 -0
  43. package/runtime/docker/packages/sandbox-docker/scripts/agentbox-sshd-start +0 -0
  44. package/runtime/docker/packages/sandbox-docker/scripts/agentbox-vnc-start +0 -0
  45. package/runtime/docker/packages/sandbox-docker/scripts/chromium-resolver +0 -0
  46. package/runtime/docker/packages/sandbox-docker/scripts/gh-shim +0 -0
  47. package/runtime/docker/packages/sandbox-docker/scripts/git-shim +0 -0
  48. package/runtime/docker/packages/sandbox-docker/scripts/linear-shim +0 -0
  49. package/runtime/docker/packages/sandbox-docker/scripts/ntn-shim +0 -0
  50. package/runtime/e2b/agentbox-checkpoint-cleanup +0 -0
  51. package/runtime/e2b/agentbox-dockerd-start +0 -0
  52. package/runtime/e2b/agentbox-open +0 -0
  53. package/runtime/e2b/agentbox-vnc-start +0 -0
  54. package/runtime/e2b/ctl.cjs +0 -0
  55. package/runtime/e2b/gh-shim +0 -0
  56. package/runtime/e2b/git-shim +0 -0
  57. package/runtime/e2b/linear-shim +0 -0
  58. package/runtime/e2b/ntn-shim +0 -0
  59. package/runtime/e2b/scripts/build-template.sh +0 -0
  60. package/runtime/hetzner/agentbox-checkpoint-cleanup +0 -0
  61. package/runtime/hetzner/agentbox-dockerd-start +0 -0
  62. package/runtime/hetzner/agentbox-open +0 -0
  63. package/runtime/hetzner/agentbox-portless-trust +0 -0
  64. package/runtime/hetzner/agentbox-vnc-start +0 -0
  65. package/runtime/hetzner/ctl.cjs +0 -0
  66. package/runtime/hetzner/gh-shim +0 -0
  67. package/runtime/hetzner/git-shim +0 -0
  68. package/runtime/hetzner/linear-shim +0 -0
  69. package/runtime/hetzner/ntn-shim +0 -0
  70. package/runtime/hetzner/scripts/install-box.sh +0 -0
  71. package/runtime/hub/apps/hub/.next/BUILD_ID +1 -1
  72. package/runtime/hub/apps/hub/.next/build-manifest.json +3 -3
  73. package/runtime/hub/apps/hub/.next/server/app/(auth)/signin/page_client-reference-manifest.js +1 -1
  74. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page_client-reference-manifest.js +1 -1
  75. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page_client-reference-manifest.js +1 -1
  76. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  77. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page_client-reference-manifest.js +1 -1
  78. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page_client-reference-manifest.js +1 -1
  79. package/runtime/hub/apps/hub/.next/server/app/_global-error.html +1 -1
  80. package/runtime/hub/apps/hub/.next/server/app/_global-error.rsc +1 -1
  81. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  82. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  83. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  84. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  85. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  86. package/runtime/hub/apps/hub/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  87. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1d6mtlk._.js +1 -1
  88. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_0b_hsjl._.js +1 -1
  89. package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +3 -3
  90. package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -1
  91. package/runtime/hub/apps/hub/.next/static/chunks/{23fswvjrabu89.js → 0joh_xsiowfc4.js} +1 -1
  92. package/runtime/hub/apps/hub/.next/static/chunks/3rm29i8e-lb25.css +3 -0
  93. package/runtime/hub/apps/hub/{chunk-6HD4PARX.js → chunk-5C7T5LX3.js} +2 -2
  94. package/runtime/hub/apps/hub/{chunk-K6RA5GJI.js → chunk-H22XP3NY.js} +18 -6
  95. package/runtime/hub/apps/hub/{chunk-JQFB2CNA.js → chunk-TS3DHXYG.js} +1 -1
  96. package/runtime/hub/apps/hub/{dist-OUNL2TCW.js → dist-3ILQQGCH.js} +3 -3
  97. package/runtime/hub/apps/hub/{dist-3HR4RIPE.js → dist-6R5YPL5S.js} +2 -2
  98. package/runtime/hub/apps/hub/{dist-7GNKBKFV.js → dist-CJHZ37LW.js} +3 -3
  99. package/runtime/hub/apps/hub/{dist-JWVTVHBT.js → dist-PKOFN4OD.js} +3 -3
  100. package/runtime/hub/apps/hub/{dist-TOHA4OA5.js → dist-WRKJHF6W.js} +6 -4
  101. package/runtime/hub/apps/hub/{prepared-state-LW2PKTEQ-7BCXARGA.js → prepared-state-BUO75YLZ-CAXQS5Y3.js} +1 -1
  102. package/runtime/hub/apps/hub/server.js +9 -9
  103. package/runtime/relay/bin.cjs +0 -0
  104. package/runtime/vercel/agentbox-checkpoint-cleanup +0 -0
  105. package/runtime/vercel/agentbox-dockerd-start +0 -0
  106. package/runtime/vercel/agentbox-open +0 -0
  107. package/runtime/vercel/agentbox-vnc-start +0 -0
  108. package/runtime/vercel/ctl.cjs +0 -0
  109. package/runtime/vercel/gh-shim +0 -0
  110. package/runtime/vercel/git-shim +0 -0
  111. package/runtime/vercel/linear-shim +0 -0
  112. package/runtime/vercel/ntn-shim +0 -0
  113. package/runtime/vercel/scripts/provision.sh +0 -0
  114. package/runtime/hub/apps/hub/.next/static/chunks/3nedwutnzpdis.css +0 -3
  115. /package/dist/{_cloud-attach-RFPLNACE.js.map → _cloud-attach-LP5CIO7S.js.map} +0 -0
  116. /package/dist/{chunk-ERMU7RMK.js.map → chunk-7D7K4UXW.js.map} +0 -0
  117. /package/dist/{chunk-QGL734YX.js.map → chunk-AGSLJ3NE.js.map} +0 -0
  118. /package/dist/{chunk-L5SOSNQI.js.map → chunk-C47ZA42C.js.map} +0 -0
  119. /package/dist/{chunk-QVWGQJV6.js.map → chunk-GGRZ3GZO.js.map} +0 -0
  120. /package/dist/{chunk-6OQENOJZ.js.map → chunk-J3GSZ33V.js.map} +0 -0
  121. /package/dist/{chunk-Q626V2YX.js.map → chunk-LSQXT5WZ.js.map} +0 -0
  122. /package/dist/{chunk-JXDSSSXS.js.map → chunk-TZLNJBIM.js.map} +0 -0
  123. /package/dist/{dist-JFUUDAI3.js.map → dist-NUZ2RMOP.js.map} +0 -0
  124. /package/dist/{dist-GEHCZJCS.js.map → dist-OTSXYV6X.js.map} +0 -0
  125. /package/dist/{dist-W5476E2U.js.map → dist-UIOWLT3C.js.map} +0 -0
  126. /package/dist/{dist-Z3GSHEFO.js.map → dist-VMR6UEP2.js.map} +0 -0
  127. /package/dist/{prepared-state-LW2PKTEQ-5YMKG7UN.js.map → prepared-state-BUO75YLZ-CDTISC2C.js.map} +0 -0
  128. /package/runtime/hub/apps/hub/.next/static/{6WtaFwavHBpin3eT7-HjR → W7Oc_BUsChvL4rrhfKZRY}/_buildManifest.js +0 -0
  129. /package/runtime/hub/apps/hub/.next/static/{6WtaFwavHBpin3eT7-HjR → W7Oc_BUsChvL4rrhfKZRY}/_clientMiddlewareManifest.js +0 -0
  130. /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-6OQENOJZ.js";
8
- import "./chunk-QGL734YX.js";
7
+ } from "./chunk-J3GSZ33V.js";
8
+ import "./chunk-AGSLJ3NE.js";
9
9
  import "./chunk-QT3SHMLY.js";
10
- import "./chunk-CKC3CP7Y.js";
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-RFPLNACE.js.map
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-L5SOSNQI.js";
4
+ } from "./chunk-C47ZA42C.js";
5
5
  import {
6
6
  detectPortless,
7
7
  portlessDoctorRow
8
- } from "./chunk-QGL734YX.js";
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-CKC3CP7Y.js";
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-ERMU7RMK.js.map
2266
+ //# sourceMappingURL=chunk-7D7K4UXW.js.map
@@ -61,7 +61,7 @@ import {
61
61
  setInstallMethodNative,
62
62
  syncAgentboxSshConfig,
63
63
  trustWorkspace
64
- } from "./chunk-CKC3CP7Y.js";
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-QGL734YX.js.map
9355
+ //# sourceMappingURL=chunk-AGSLJ3NE.js.map
@@ -21,7 +21,7 @@ import {
21
21
  portlessUnalias,
22
22
  registerBoxWithRelay,
23
23
  syncClaudeCredentials
24
- } from "./chunk-QGL734YX.js";
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-CKC3CP7Y.js";
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-L5SOSNQI.js.map
2852
+ //# sourceMappingURL=chunk-C47ZA42C.js.map
File without changes
@@ -9,7 +9,7 @@ import {
9
9
  resolveContextFilesFrom,
10
10
  writeManagedSecrets,
11
11
  writePreparedStateRaw
12
- } from "./chunk-CKC3CP7Y.js";
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-QVWGQJV6.js.map
842
+ //# sourceMappingURL=chunk-GGRZ3GZO.js.map
@@ -5,7 +5,7 @@ import {
5
5
  startClaudeSession,
6
6
  startCodexSession,
7
7
  startOpencodeSession
8
- } from "./chunk-QGL734YX.js";
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-CKC3CP7Y.js";
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-JFUUDAI3.js"),
157
- daytona: () => import("./dist-GJCIKH2C.js"),
158
- hetzner: () => import("./dist-Z3GSHEFO.js"),
159
- vercel: () => import("./dist-W5476E2U.js"),
160
- e2b: () => import("./dist-GEHCZJCS.js")
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-6OQENOJZ.js.map
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-BSXR4H44.js
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-LW2PKTEQ-5YMKG7UN.js");
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-LW2PKTEQ-5YMKG7UN.js");
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-LW2PKTEQ-5YMKG7UN.js");
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-CKC3CP7Y.js.map
2919
+ //# sourceMappingURL=chunk-LK2JT2OO.js.map