@madarco/agentbox 0.29.0 → 0.29.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 (163) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/dist/{_cloud-attach-HKRHYCY7.js → _cloud-attach-7WVNYNJI.js} +11 -11
  3. package/dist/{chunk-GWKGSXDC.js → chunk-5I7IFACI.js} +2 -2
  4. package/dist/{chunk-QU5BI2HC.js → chunk-5NVHJS7D.js} +4 -4
  5. package/dist/{chunk-6PIGTR4D.js → chunk-6UCHNX75.js} +22 -15
  6. package/dist/{chunk-6PIGTR4D.js.map → chunk-6UCHNX75.js.map} +1 -1
  7. package/dist/{chunk-VY54AX4T.js → chunk-6YSYQZRH.js} +3 -3
  8. package/dist/{chunk-DYETLPUT.js → chunk-A2TATHHJ.js} +2 -2
  9. package/dist/{chunk-CO2I3CQI.js → chunk-AUHYXXCA.js} +4 -4
  10. package/dist/{chunk-GWYD7YBK.js → chunk-CZPVVFCF.js} +5 -5
  11. package/dist/{chunk-BWE2I5QG.js → chunk-F4PPZ4SI.js} +2 -2
  12. package/dist/{chunk-VVNXQ4XS.js → chunk-F77AZT2M.js} +8 -8
  13. package/dist/{chunk-LHOKRCNF.js → chunk-FCMBVJFQ.js} +3 -3
  14. package/dist/{chunk-NGERWFSA.js → chunk-HLBK5ZR6.js} +14 -11
  15. package/dist/chunk-HLBK5ZR6.js.map +1 -0
  16. package/dist/{chunk-EPFXLXCW.js → chunk-I2DEYQLZ.js} +4 -4
  17. package/dist/{chunk-THUST2QK.js → chunk-JLVUNDUB.js} +28 -9
  18. package/dist/chunk-JLVUNDUB.js.map +1 -0
  19. package/dist/{chunk-DBXCFLAR.js → chunk-JTYWZJIU.js} +5 -5
  20. package/dist/{chunk-EFVTQ7YB.js → chunk-LEVYTABB.js} +4 -4
  21. package/dist/{chunk-RQURMAPA.js → chunk-MS4NWRXN.js} +5 -5
  22. package/dist/{chunk-WHJYOO5H.js → chunk-N6EBPKTJ.js} +46 -4
  23. package/dist/chunk-N6EBPKTJ.js.map +1 -0
  24. package/dist/{chunk-HP4L45LW.js → chunk-OUOV4OM2.js} +8 -8
  25. package/dist/{chunk-WGNI24H2.js → chunk-P5A6MT75.js} +9 -9
  26. package/dist/{chunk-7QU6XENE.js → chunk-PAWAGULH.js} +2 -2
  27. package/dist/{chunk-HO2ACZES.js → chunk-RXH634SC.js} +2 -2
  28. package/dist/{chunk-NAT2H7J4.js → chunk-SXXN7JOC.js} +46 -26
  29. package/dist/chunk-SXXN7JOC.js.map +1 -0
  30. package/dist/{chunk-RZCLRWNY.js → chunk-TDW2T3HR.js} +6 -6
  31. package/dist/{chunk-7Q6BG5AN.js → chunk-THKVKVRF.js} +3 -3
  32. package/dist/{chunk-3INUZQTR.js → chunk-TPHSVKMX.js} +3 -3
  33. package/dist/{chunk-HNWZO2XU.js → chunk-WDBDFLH3.js} +4 -4
  34. package/dist/{chunk-OKLEPEWZ.js → chunk-XENTK32L.js} +5 -2
  35. package/dist/chunk-XENTK32L.js.map +1 -0
  36. package/dist/{chunk-UPVP6YGJ.js → chunk-ZCHWZYIN.js} +3 -3
  37. package/dist/cloud-backends.js +4 -4
  38. package/dist/{control-plane-UKKYXHIQ.js → control-plane-TOFT56CT.js} +16 -16
  39. package/dist/{cp-hub-upload-BM2OLTOS.js → cp-hub-upload-OTBR5SL3.js} +6 -6
  40. package/dist/{custody-client-NPXJ46TB.js → custody-client-L4FEFW4C.js} +3 -3
  41. package/dist/{deploy-hetzner-Y3ILCDRF.js → deploy-hetzner-EE5CYX4N.js} +8 -8
  42. package/dist/{dist-5OGQ3CJQ.js → dist-3BKIPZR3.js} +3 -3
  43. package/dist/{dist-MUTFY7FA.js → dist-7HSAWFRN.js} +7 -7
  44. package/dist/{dist-A5ZEIVAW.js → dist-BVZBXQ2Y.js} +8 -8
  45. package/dist/{dist-ZNYS7CVF.js → dist-C5B6NGBO.js} +5 -5
  46. package/dist/{dist-EOGD7KD6.js → dist-GMIBT6IK.js} +47 -23
  47. package/dist/{dist-EOGD7KD6.js.map → dist-GMIBT6IK.js.map} +1 -1
  48. package/dist/{dist-7B3VCLZI.js → dist-JSEXGLYK.js} +7 -7
  49. package/dist/{dist-SMDXLPZO.js → dist-PTYASENV.js} +2 -2
  50. package/dist/{dist-VTLQKZ2E.js → dist-RWFKW4IU.js} +6 -6
  51. package/dist/{dist-ZJIJHCZB.js → dist-XV77P3RW.js} +7 -7
  52. package/dist/{dist-DOEGENNW.js → dist-Y2GCMA6N.js} +7 -7
  53. package/dist/{host-reach-drainer-ZJU2STQQ.js → host-reach-drainer-N4JSFUBY.js} +2 -2
  54. package/dist/hub-53E6EFZB.js +37 -0
  55. package/dist/{hub-adopt-OA336ZXZ.js → hub-adopt-NCCCMMXL.js} +6 -6
  56. package/dist/{hub-docker-target-JKFCABK4.js → hub-docker-target-CS5XHSSA.js} +11 -11
  57. package/dist/index.js +61 -53
  58. package/dist/index.js.map +1 -1
  59. package/dist/prepare-VTLE7RCJ.js +41 -0
  60. package/dist/prepared-custody-ATP6GQGW.js +36 -0
  61. package/dist/{prepared-state-LNQ7DYSU-AR5RMXAO.js → prepared-state-LNQ7DYSU-2YFSDOCV.js} +3 -3
  62. package/dist/{publish-credentials-3SQXX45P.js → publish-credentials-NAWOHOLK.js} +7 -7
  63. package/dist/{registry-AFKV3EO2.js → registry-5CPAQ2KN.js} +4 -4
  64. package/dist/{relay-QH6OEY2V.js → relay-3T57T4RI.js} +7 -7
  65. package/dist/{remote-docker-share-RMS6IB5X.js → remote-docker-share-XBV76ZAZ.js} +8 -8
  66. package/dist/{tool-grant-push-T6DRBY3W.js → tool-grant-push-5GJYMC7C.js} +3 -3
  67. package/package.json +1 -1
  68. package/runtime/_shared/ctl.cjs +4 -1
  69. package/runtime/digitalocean/ctl.cjs +4 -1
  70. package/runtime/docker/packages/ctl/dist/bin.cjs +4 -1
  71. package/runtime/e2b/ctl.cjs +4 -1
  72. package/runtime/hetzner/ctl.cjs +4 -1
  73. package/runtime/hub/apps/hub/.next/BUILD_ID +1 -1
  74. package/runtime/hub/apps/hub/.next/build-manifest.json +3 -3
  75. package/runtime/hub/apps/hub/.next/server/app/_global-error.html +1 -1
  76. package/runtime/hub/apps/hub/.next/server/app/_global-error.rsc +1 -1
  77. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  78. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  79. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  80. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  81. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  82. package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +3 -3
  83. package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -1
  84. package/runtime/hub/apps/hub/{chunk-3AD3MYNV.js → chunk-CTNPQ75B.js} +9 -9
  85. package/runtime/hub/apps/hub/{chunk-UQ5XNPOF.js → chunk-DJPQLZ5Y.js} +3 -3
  86. package/runtime/hub/apps/hub/{chunk-GBYD2ODL.js → chunk-G6FJR7TN.js} +4 -1
  87. package/runtime/hub/apps/hub/{chunk-WHGY7HOC.js → chunk-GUKVXSIY.js} +27 -8
  88. package/runtime/hub/apps/hub/{chunk-3ZDBZYOY.js → chunk-QGAP34GN.js} +4 -4
  89. package/runtime/hub/apps/hub/{chunk-H5SUXDZA.js → chunk-QWSP6WJ2.js} +3 -3
  90. package/runtime/hub/apps/hub/{dist-CMVSARW5.js → dist-2G5INR3G.js} +5 -5
  91. package/runtime/hub/apps/hub/{dist-R77W6WJ5.js → dist-CIB4ZPJW.js} +88 -22
  92. package/runtime/hub/apps/hub/{dist-37EKQ6RZ.js → dist-PI5ZAQGG.js} +4 -4
  93. package/runtime/hub/apps/hub/{dist-TH2JZYZY.js → dist-VDPNQEZ7.js} +5 -5
  94. package/runtime/hub/apps/hub/{dist-EOGGFZZS.js → dist-VZM32WR4.js} +4 -4
  95. package/runtime/hub/apps/hub/{dist-LJBHOO3K.js → dist-W2YXTEQN.js} +1 -1
  96. package/runtime/hub/apps/hub/{dist-Z2Y5F7AF.js → dist-Y3LGOZ56.js} +4 -4
  97. package/runtime/hub/apps/hub/{dist-XPRGHQH2.js → dist-ZOJYJJ26.js} +4 -4
  98. package/runtime/hub/apps/hub/{dist-EGXZRZH2.js → dist-ZTJMZLED.js} +3 -3
  99. package/runtime/hub/apps/hub/{hub-worker-DXVMUQWF.js → hub-worker-YQCQKCXS.js} +6 -6
  100. package/runtime/hub/apps/hub/{prepared-state-LNQ7DYSU-ABC2EQVI.js → prepared-state-LNQ7DYSU-4I7FNNNS.js} +2 -2
  101. package/runtime/hub/apps/hub/server.js +12 -12
  102. package/runtime/hub/apps/hub/tsconfig.tsbuildinfo +1 -1
  103. package/runtime/relay/bin.cjs +4 -1
  104. package/runtime/vercel/ctl.cjs +4 -1
  105. package/dist/chunk-NAT2H7J4.js.map +0 -1
  106. package/dist/chunk-NGERWFSA.js.map +0 -1
  107. package/dist/chunk-OKLEPEWZ.js.map +0 -1
  108. package/dist/chunk-THUST2QK.js.map +0 -1
  109. package/dist/chunk-WHJYOO5H.js.map +0 -1
  110. package/dist/hub-Q4VOF4WN.js +0 -37
  111. package/dist/prepare-GFWWKWGF.js +0 -41
  112. package/dist/prepared-custody-KU4PDVBT.js +0 -36
  113. /package/dist/{_cloud-attach-HKRHYCY7.js.map → _cloud-attach-7WVNYNJI.js.map} +0 -0
  114. /package/dist/{chunk-GWKGSXDC.js.map → chunk-5I7IFACI.js.map} +0 -0
  115. /package/dist/{chunk-QU5BI2HC.js.map → chunk-5NVHJS7D.js.map} +0 -0
  116. /package/dist/{chunk-VY54AX4T.js.map → chunk-6YSYQZRH.js.map} +0 -0
  117. /package/dist/{chunk-DYETLPUT.js.map → chunk-A2TATHHJ.js.map} +0 -0
  118. /package/dist/{chunk-CO2I3CQI.js.map → chunk-AUHYXXCA.js.map} +0 -0
  119. /package/dist/{chunk-GWYD7YBK.js.map → chunk-CZPVVFCF.js.map} +0 -0
  120. /package/dist/{chunk-BWE2I5QG.js.map → chunk-F4PPZ4SI.js.map} +0 -0
  121. /package/dist/{chunk-VVNXQ4XS.js.map → chunk-F77AZT2M.js.map} +0 -0
  122. /package/dist/{chunk-LHOKRCNF.js.map → chunk-FCMBVJFQ.js.map} +0 -0
  123. /package/dist/{chunk-EPFXLXCW.js.map → chunk-I2DEYQLZ.js.map} +0 -0
  124. /package/dist/{chunk-DBXCFLAR.js.map → chunk-JTYWZJIU.js.map} +0 -0
  125. /package/dist/{chunk-EFVTQ7YB.js.map → chunk-LEVYTABB.js.map} +0 -0
  126. /package/dist/{chunk-RQURMAPA.js.map → chunk-MS4NWRXN.js.map} +0 -0
  127. /package/dist/{chunk-HP4L45LW.js.map → chunk-OUOV4OM2.js.map} +0 -0
  128. /package/dist/{chunk-WGNI24H2.js.map → chunk-P5A6MT75.js.map} +0 -0
  129. /package/dist/{chunk-7QU6XENE.js.map → chunk-PAWAGULH.js.map} +0 -0
  130. /package/dist/{chunk-HO2ACZES.js.map → chunk-RXH634SC.js.map} +0 -0
  131. /package/dist/{chunk-RZCLRWNY.js.map → chunk-TDW2T3HR.js.map} +0 -0
  132. /package/dist/{chunk-7Q6BG5AN.js.map → chunk-THKVKVRF.js.map} +0 -0
  133. /package/dist/{chunk-3INUZQTR.js.map → chunk-TPHSVKMX.js.map} +0 -0
  134. /package/dist/{chunk-HNWZO2XU.js.map → chunk-WDBDFLH3.js.map} +0 -0
  135. /package/dist/{chunk-UPVP6YGJ.js.map → chunk-ZCHWZYIN.js.map} +0 -0
  136. /package/dist/{control-plane-UKKYXHIQ.js.map → control-plane-TOFT56CT.js.map} +0 -0
  137. /package/dist/{cp-hub-upload-BM2OLTOS.js.map → cp-hub-upload-OTBR5SL3.js.map} +0 -0
  138. /package/dist/{custody-client-NPXJ46TB.js.map → custody-client-L4FEFW4C.js.map} +0 -0
  139. /package/dist/{deploy-hetzner-Y3ILCDRF.js.map → deploy-hetzner-EE5CYX4N.js.map} +0 -0
  140. /package/dist/{dist-5OGQ3CJQ.js.map → dist-3BKIPZR3.js.map} +0 -0
  141. /package/dist/{dist-7B3VCLZI.js.map → dist-7HSAWFRN.js.map} +0 -0
  142. /package/dist/{dist-A5ZEIVAW.js.map → dist-BVZBXQ2Y.js.map} +0 -0
  143. /package/dist/{dist-MUTFY7FA.js.map → dist-C5B6NGBO.js.map} +0 -0
  144. /package/dist/{dist-SMDXLPZO.js.map → dist-JSEXGLYK.js.map} +0 -0
  145. /package/dist/{dist-VTLQKZ2E.js.map → dist-PTYASENV.js.map} +0 -0
  146. /package/dist/{dist-ZJIJHCZB.js.map → dist-RWFKW4IU.js.map} +0 -0
  147. /package/dist/{dist-ZNYS7CVF.js.map → dist-XV77P3RW.js.map} +0 -0
  148. /package/dist/{dist-DOEGENNW.js.map → dist-Y2GCMA6N.js.map} +0 -0
  149. /package/dist/{host-reach-drainer-ZJU2STQQ.js.map → host-reach-drainer-N4JSFUBY.js.map} +0 -0
  150. /package/dist/{hub-Q4VOF4WN.js.map → hub-53E6EFZB.js.map} +0 -0
  151. /package/dist/{hub-adopt-OA336ZXZ.js.map → hub-adopt-NCCCMMXL.js.map} +0 -0
  152. /package/dist/{hub-docker-target-JKFCABK4.js.map → hub-docker-target-CS5XHSSA.js.map} +0 -0
  153. /package/dist/{prepare-GFWWKWGF.js.map → prepare-VTLE7RCJ.js.map} +0 -0
  154. /package/dist/{prepared-custody-KU4PDVBT.js.map → prepared-custody-ATP6GQGW.js.map} +0 -0
  155. /package/dist/{prepared-state-LNQ7DYSU-AR5RMXAO.js.map → prepared-state-LNQ7DYSU-2YFSDOCV.js.map} +0 -0
  156. /package/dist/{publish-credentials-3SQXX45P.js.map → publish-credentials-NAWOHOLK.js.map} +0 -0
  157. /package/dist/{registry-AFKV3EO2.js.map → registry-5CPAQ2KN.js.map} +0 -0
  158. /package/dist/{relay-QH6OEY2V.js.map → relay-3T57T4RI.js.map} +0 -0
  159. /package/dist/{remote-docker-share-RMS6IB5X.js.map → remote-docker-share-XBV76ZAZ.js.map} +0 -0
  160. /package/dist/{tool-grant-push-T6DRBY3W.js.map → tool-grant-push-5GJYMC7C.js.map} +0 -0
  161. /package/runtime/hub/apps/hub/.next/static/{XIx10ozuCZRzwSsiCF_5t → 2P6VYtaUNxtdBvOVMolM-}/_buildManifest.js +0 -0
  162. /package/runtime/hub/apps/hub/.next/static/{XIx10ozuCZRzwSsiCF_5t → 2P6VYtaUNxtdBvOVMolM-}/_clientMiddlewareManifest.js +0 -0
  163. /package/runtime/hub/apps/hub/.next/static/{XIx10ozuCZRzwSsiCF_5t → 2P6VYtaUNxtdBvOVMolM-}/_ssgManifest.js +0 -0
@@ -9,7 +9,7 @@ import {
9
9
  pluginProviderNames,
10
10
  readPreparedStateRaw,
11
11
  writePreparedStateRaw
12
- } from "./chunk-GBYD2ODL.js";
12
+ } from "./chunk-G6FJR7TN.js";
13
13
  import {
14
14
  hashProjectPath,
15
15
  isProviderKind
@@ -43,13 +43,13 @@ async function hydratePreparedFromCustody(custody, providerName, provider, claud
43
43
  // lib/provider-importers.ts
44
44
  import { pathToFileURL } from "node:url";
45
45
  var IMPORTERS = {
46
- docker: () => import("./dist-EGXZRZH2.js"),
47
- daytona: () => import("./dist-R77W6WJ5.js"),
48
- hetzner: () => import("./dist-TH2JZYZY.js"),
49
- vercel: () => import("./dist-XPRGHQH2.js"),
50
- e2b: () => import("./dist-EOGGFZZS.js"),
51
- digitalocean: () => import("./dist-CMVSARW5.js"),
52
- "remote-docker": () => import("./dist-37EKQ6RZ.js")
46
+ docker: () => import("./dist-ZTJMZLED.js"),
47
+ daytona: () => import("./dist-CIB4ZPJW.js"),
48
+ hetzner: () => import("./dist-VDPNQEZ7.js"),
49
+ vercel: () => import("./dist-ZOJYJJ26.js"),
50
+ e2b: () => import("./dist-VZM32WR4.js"),
51
+ digitalocean: () => import("./dist-2G5INR3G.js"),
52
+ "remote-docker": () => import("./dist-PI5ZAQGG.js")
53
53
  };
54
54
  var CLOUD_BACKEND_LOADER_ID = "agentbox:hub-builtin-cloud-backends";
55
55
  var cloudBackendLoader = {
@@ -61,7 +61,7 @@ var cloudBackendLoader = {
61
61
  if (!isProviderKind(name)) return null;
62
62
  return (await IMPORTERS[name]()).providerModule.backend ?? null;
63
63
  },
64
- loadCloudCp: async () => import("./dist-Z2Y5F7AF.js")
64
+ loadCloudCp: async () => import("./dist-Y3LGOZ56.js")
65
65
  };
66
66
  var runtimeImport = new Function("specifier", "return import(specifier);");
67
67
  async function loadProviderModuleByName(name) {
@@ -12,12 +12,12 @@ import {
12
12
  } from "./chunk-OF242BLD.js";
13
13
  import {
14
14
  createCloudProvider
15
- } from "./chunk-WHGY7HOC.js";
15
+ } from "./chunk-GUKVXSIY.js";
16
16
  import {
17
17
  detectPortless,
18
18
  portlessDoctorRow,
19
19
  portlessServiceStatus
20
- } from "./chunk-H5SUXDZA.js";
20
+ } from "./chunk-QWSP6WJ2.js";
21
21
  import {
22
22
  SshTunnelManager,
23
23
  UserFacingError,
@@ -46,7 +46,7 @@ import {
46
46
  waitForSsh,
47
47
  writeManagedSecrets,
48
48
  writePreparedStateRaw
49
- } from "./chunk-GBYD2ODL.js";
49
+ } from "./chunk-G6FJR7TN.js";
50
50
  import {
51
51
  loadEffectiveConfig,
52
52
  mergeConfigYaml
@@ -1965,11 +1965,14 @@ var FALLBACK_CAPABILITIES = {
1965
1965
  pauseSemantics: "freeze",
1966
1966
  hubRoutable: true
1967
1967
  };
1968
+ function placeholderLabel(name) {
1969
+ return name.charAt(0).toUpperCase() + name.slice(1);
1970
+ }
1968
1971
  function placeholderDescriptor(name) {
1969
1972
  return {
1970
1973
  name,
1971
1974
  kind: "cloud",
1972
- label: name,
1975
+ label: placeholderLabel(name),
1973
1976
  loginHint: "",
1974
1977
  credentials: { envKeys: [], fields: [] },
1975
1978
  // NOT `true`: the hub's create gate deliberately skips the configured check
@@ -17,7 +17,7 @@ import {
17
17
  readBoxStatus,
18
18
  registerBoxWithRelay,
19
19
  stopBoxPollerOnRelay
20
- } from "./chunk-H5SUXDZA.js";
20
+ } from "./chunk-QWSP6WJ2.js";
21
21
  import {
22
22
  AGENT_SYNC_SPECS,
23
23
  BOX_DYNAMIC_SYNC_MANIFEST,
@@ -72,7 +72,7 @@ import {
72
72
  stageOpencodeStaticForUpload,
73
73
  writeCredentialBackup,
74
74
  writePreparedStateRaw
75
- } from "./chunk-GBYD2ODL.js";
75
+ } from "./chunk-G6FJR7TN.js";
76
76
  import {
77
77
  hashProjectPath,
78
78
  loadEffectiveConfig,
@@ -431,6 +431,9 @@ var AGENT_SPECS = [
431
431
  stageCredentials: () => stageOpencodeCredentialsForUpload()
432
432
  }
433
433
  ];
434
+ function cloudVolumesUsable(sandboxClass) {
435
+ return sandboxClass !== "linux-vm";
436
+ }
434
437
  async function ensureAgentVolumesForCloud(backend, opts = {}) {
435
438
  const log = opts.onLog ?? (() => {
436
439
  });
@@ -512,7 +515,7 @@ async function refreshAgentCredentialsBackup(opts = {}) {
512
515
  async function seedCredentialsOne(backend, handle, spec, opts) {
513
516
  const log = opts.onLog ?? (() => {
514
517
  });
515
- const hasVolume = typeof backend.ensureVolume === "function";
518
+ const hasVolume = typeof backend.ensureVolume === "function" && cloudVolumesUsable(handle.sandboxClass);
516
519
  if (hasVolume && !opts.force) {
517
520
  const probe = await backend.exec(handle, `test -f ${spec.credentialsMountPath}/${SEED_MARKER}`);
518
521
  if (probe.exitCode === 0) {
@@ -667,7 +670,10 @@ async function seedDynamicConfig(backend, handle, opts) {
667
670
  try {
668
671
  let boxManifest = null;
669
672
  try {
670
- const res = await backend.exec(handle, `cat ${BOX_DYNAMIC_SYNC_MANIFEST} 2>/dev/null || true`);
673
+ const res = await backend.exec(
674
+ handle,
675
+ `cat ${BOX_DYNAMIC_SYNC_MANIFEST} 2>/dev/null || true`
676
+ );
671
677
  const out = res.stdout.trim();
672
678
  if (res.exitCode === 0 && out.length > 0) {
673
679
  boxManifest = JSON.parse(out);
@@ -696,7 +702,10 @@ async function seedDynamicConfig(backend, handle, opts) {
696
702
  steps.push(
697
703
  `rm -rf ${BOX_STAGE}`,
698
704
  `mkdir -p ${BOX_STAGE}`,
699
- `tar -xzf ${REMOTE_TAR} -C ${BOX_STAGE}`,
705
+ // See claude-json-overlay: the host tarball carries the host's uid/gid,
706
+ // which a root extract would restore verbatim and `cp -a` below would
707
+ // then propagate into the box user's home.
708
+ `tar -xzf ${REMOTE_TAR} -C ${BOX_STAGE} --no-same-permissions --no-same-owner -m`,
700
709
  `if [ -d ${BOX_STAGE}/workflows ]; then cp -a ${BOX_STAGE}/workflows/. ${BOX_WORKFLOWS_DIR}/; fi`,
701
710
  `if [ -d ${BOX_STAGE}/memory ]; then cp -a ${BOX_STAGE}/memory/. ${BOX_MEMORY_DIR}/; fi`,
702
711
  `rm -rf ${BOX_STAGE} ${REMOTE_TAR}`
@@ -763,7 +772,13 @@ async function seedClaudeJsonAtCreate(backend, handle, opts = {}) {
763
772
  await backend.uploadFile(handle, staged.tarballPath, REMOTE_TAR2);
764
773
  const extract = await backend.exec(
765
774
  handle,
766
- `set -e; mkdir -p ${BOX_CLAUDE_DIR}; tar -xzf ${REMOTE_TAR2} -C ${BOX_CLAUDE_DIR}; rm -f ${REMOTE_TAR2}`
775
+ // `--no-same-owner --no-same-permissions -m`: the host tarball records the
776
+ // HOST's uid/gid and mode, and GNU tar restores both when it runs as root.
777
+ // That is how `/home/vscode/.claude` ended up owned by uid 501 (a macOS
778
+ // uid that means nothing in the box) mode 0700 — unreadable by the agent.
779
+ // Harmless when the extract already runs unprivileged; load-bearing when
780
+ // it doesn't.
781
+ `set -e; mkdir -p ${BOX_CLAUDE_DIR}; tar -xzf ${REMOTE_TAR2} -C ${BOX_CLAUDE_DIR} --no-same-permissions --no-same-owner -m; rm -f ${REMOTE_TAR2}`
767
782
  );
768
783
  if (extract.exitCode !== 0) {
769
784
  log(
@@ -2861,7 +2876,7 @@ function createCloudProvider(backend, opts = {}) {
2861
2876
  onLog: log,
2862
2877
  // Daytona's linux-vm class accepts volume mounts and never honors them
2863
2878
  // (see ensureAgentVolumesForCloud) — take the per-create upload path.
2864
- volumesUsable: sandboxClass !== "linux-vm"
2879
+ volumesUsable: cloudVolumesUsable(sandboxClass)
2865
2880
  });
2866
2881
  const exposeServicePorts = await readExposedServicePorts(req.workspacePath);
2867
2882
  const credentialSyncOff = (req.credentialSync ?? (await loadEffectiveConfig(req.projectRoot ?? req.workspacePath)).effective.box.credentialSync) === false;
@@ -3447,7 +3462,7 @@ function createCloudProvider(backend, opts = {}) {
3447
3462
  }
3448
3463
  const handle = handleFor(box);
3449
3464
  const baseArgv = await backend.attachArgv(handle);
3450
- const inner = renderInnerCommand(kind, opts2);
3465
+ const inner = wrapAttachAsUser(renderInnerCommand(kind, opts2), backend.attachRunAs?.(handle));
3451
3466
  const viaStdin = backend.attachExecLacksTty === true && !opts2?.detached && kind !== "logs";
3452
3467
  const scriptPath = viaStdin ? attachScriptPath(opts2?.sessionName ?? kind) : "";
3453
3468
  if (viaStdin) {
@@ -3639,6 +3654,10 @@ function attachScriptPath(sessionName) {
3639
3654
  const safe = sessionName.replace(/[^A-Za-z0-9._-]/g, "_").slice(0, 40) || "attach";
3640
3655
  return `/tmp/agentbox-attach-${safe}.sh`;
3641
3656
  }
3657
+ function wrapAttachAsUser(inner, user) {
3658
+ if (!user) return inner;
3659
+ return `exec sudo -n -u ${user} -H bash -lc ${shellSingle(inner)}`;
3660
+ }
3642
3661
  function renderInnerCommand(kind, opts) {
3643
3662
  const sessionName = opts?.sessionName ?? defaultSessionName(kind);
3644
3663
  const fallback = opts?.command ?? defaultCommand(kind, opts);
@@ -9,7 +9,7 @@ import {
9
9
  registryRefForSha,
10
10
  resolveContextFilesFrom,
11
11
  writePreparedStateRaw
12
- } from "./chunk-GBYD2ODL.js";
12
+ } from "./chunk-G6FJR7TN.js";
13
13
  import {
14
14
  execa
15
15
  } from "./chunk-EFW34I43.js";
@@ -215,7 +215,7 @@ async function buildImage(opts = {}) {
215
215
  return ref;
216
216
  }
217
217
  async function pullOrBuild(ref, fingerprint, opts = {}) {
218
- const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-LNQ7DYSU-ABC2EQVI.js");
218
+ const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-LNQ7DYSU-4I7FNNNS.js");
219
219
  const registry = opts.registry ?? BOX_IMAGE_REGISTRY;
220
220
  const allowPull = opts.allowPull !== false;
221
221
  if (allowPull && registry && fingerprint) {
@@ -268,7 +268,7 @@ async function pullOrBuild(ref, fingerprint, opts = {}) {
268
268
  return { source: "built" };
269
269
  }
270
270
  async function ensureImage(ref = DEFAULT_BOX_IMAGE, opts = {}) {
271
- const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedMatches: preparedMatches2 } = await import("./prepared-state-LNQ7DYSU-ABC2EQVI.js");
271
+ const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedMatches: preparedMatches2 } = await import("./prepared-state-LNQ7DYSU-4I7FNNNS.js");
272
272
  const claudeInstall = opts.claudeInstall ?? await resolveClaudeInstallMode();
273
273
  const rawFingerprint = await computeDockerContextFingerprint2({
274
274
  contextDir: opts.contextDir
@@ -322,7 +322,7 @@ function classifyDockerBaseFreshness(input) {
322
322
  return { state: "fresh" };
323
323
  }
324
324
  async function evaluateDockerBaseFreshness(opts = {}) {
325
- const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2 } = await import("./prepared-state-LNQ7DYSU-ABC2EQVI.js");
325
+ const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2 } = await import("./prepared-state-LNQ7DYSU-4I7FNNNS.js");
326
326
  const ref = opts.ref ?? DEFAULT_BOX_IMAGE;
327
327
  const imagePresent = await imageExists(ref);
328
328
  if (!imagePresent) return { state: "unprepared" };
@@ -34,7 +34,7 @@ import {
34
34
  preparedMatches,
35
35
  pullOrBuild,
36
36
  readPreparedDockerState
37
- } from "./chunk-3ZDBZYOY.js";
37
+ } from "./chunk-QGAP34GN.js";
38
38
  import {
39
39
  AmbiguousBoxError,
40
40
  BOX_HOME,
@@ -121,7 +121,7 @@ import {
121
121
  upstreamRef,
122
122
  writeClaudeMergedRegistries,
123
123
  writeCredentialBackup
124
- } from "./chunk-GBYD2ODL.js";
124
+ } from "./chunk-G6FJR7TN.js";
125
125
  import {
126
126
  BUILT_IN_DEFAULTS,
127
127
  GLOBAL_CONFIG_FILE,
@@ -1832,7 +1832,7 @@ async function handleRemoteBoxesRequest(req, deps) {
1832
1832
  async function reapLocalBoxState(boxId, sandboxId, log) {
1833
1833
  let removed = false;
1834
1834
  try {
1835
- const { mutateState, readState: readState2, boxSshDirForProvider: boxSshDirForProvider2 } = await import("./dist-LJBHOO3K.js");
1835
+ const { mutateState, readState: readState2, boxSshDirForProvider: boxSshDirForProvider2 } = await import("./dist-W2YXTEQN.js");
1836
1836
  const state = await readState2();
1837
1837
  const record = state.boxes.find((b) => b.id === boxId);
1838
1838
  if (record) {
@@ -2,7 +2,7 @@ import { createRequire as __cr } from 'node:module'; import { fileURLToPath as _
2
2
  import {
3
3
  applyControlPlaneConfig,
4
4
  resolveHubDeployAssets
5
- } from "./chunk-UQ5XNPOF.js";
5
+ } from "./chunk-DJPQLZ5Y.js";
6
6
  import {
7
7
  $e,
8
8
  BD,
@@ -17,16 +17,16 @@ import {
17
17
  } from "./chunk-OF242BLD.js";
18
18
  import {
19
19
  createCloudProvider
20
- } from "./chunk-WHGY7HOC.js";
20
+ } from "./chunk-GUKVXSIY.js";
21
21
  import {
22
22
  detectPortless,
23
23
  portlessDoctorRow,
24
24
  portlessServiceStatus
25
- } from "./chunk-H5SUXDZA.js";
25
+ } from "./chunk-QWSP6WJ2.js";
26
26
  import "./chunk-6AVSKCZJ.js";
27
27
  import "./chunk-F2JI4GMX.js";
28
28
  import "./chunk-VWQNSZGI.js";
29
- import "./chunk-3ZDBZYOY.js";
29
+ import "./chunk-QGAP34GN.js";
30
30
  import {
31
31
  SshTunnelManager,
32
32
  UserFacingError,
@@ -55,7 +55,7 @@ import {
55
55
  stageOpencodeStaticForUpload,
56
56
  waitForSsh,
57
57
  writePreparedStateRaw
58
- } from "./chunk-GBYD2ODL.js";
58
+ } from "./chunk-G6FJR7TN.js";
59
59
  import {
60
60
  loadEffectiveConfig,
61
61
  setConfigValue,
@@ -20,12 +20,12 @@ import {
20
20
  resolveCloudCheckpoint,
21
21
  seedAgentStaticIntoCloudBox,
22
22
  writeCloudCheckpointManifest
23
- } from "./chunk-WHGY7HOC.js";
24
- import "./chunk-H5SUXDZA.js";
23
+ } from "./chunk-GUKVXSIY.js";
24
+ import "./chunk-QWSP6WJ2.js";
25
25
  import "./chunk-6AVSKCZJ.js";
26
26
  import "./chunk-F2JI4GMX.js";
27
27
  import "./chunk-VWQNSZGI.js";
28
- import "./chunk-3ZDBZYOY.js";
28
+ import "./chunk-QGAP34GN.js";
29
29
  import {
30
30
  BOX_IMAGE_REGISTRY,
31
31
  DOCKER_CONTEXT_FILE_MAP,
@@ -42,7 +42,7 @@ import {
42
42
  stageAllAgentStatic,
43
43
  writeManagedSecrets,
44
44
  writePreparedStateRaw
45
- } from "./chunk-GBYD2ODL.js";
45
+ } from "./chunk-G6FJR7TN.js";
46
46
  import {
47
47
  DAYTONA_VM_REGION,
48
48
  loadEffectiveConfig,
@@ -51,7 +51,7 @@ import {
51
51
  import "./chunk-EFW34I43.js";
52
52
  import "./chunk-TZFWAJVB.js";
53
53
 
54
- // ../../packages/sandbox-daytona/dist/chunk-URN542P7.js
54
+ // ../../packages/sandbox-daytona/dist/chunk-QFW67CHZ.js
55
55
  import { existsSync } from "fs";
56
56
  import { dirname, resolve } from "path";
57
57
  import { fileURLToPath } from "url";
@@ -376,6 +376,31 @@ function retry(method, fn, opts = {}) {
376
376
  var DEFAULT_BOX_IMAGE_REF = "agentbox/box:dev";
377
377
  var DAYTONA_DEFAULT_RESOURCES = { cpu: 2, memory: 4, disk: 8 };
378
378
  var clients = /* @__PURE__ */ new Map();
379
+ var BOX_USER = "vscode";
380
+ function shq(s) {
381
+ return `'${s.replace(/'/g, `'\\''`)}'`;
382
+ }
383
+ function buildDaytonaExec(cmd, h, opts) {
384
+ const user = opts?.user ?? BOX_USER;
385
+ const isVm = h.sandboxClass !== "container";
386
+ if (!isVm || user === "root") {
387
+ return {
388
+ cmd,
389
+ ...opts?.cwd ? { cwd: opts.cwd } : {},
390
+ ...opts?.env ? { env: opts.env } : {}
391
+ };
392
+ }
393
+ const prelude = [];
394
+ if (opts?.cwd) prelude.push(`cd ${shq(opts.cwd)}`);
395
+ for (const [k, v2] of Object.entries(opts?.env ?? {})) {
396
+ if (!/^[A-Za-z_][A-Za-z0-9_]*$/.test(k)) {
397
+ throw new Error(`daytona exec: invalid env var name ${JSON.stringify(k)}`);
398
+ }
399
+ prelude.push(`export ${k}=${shq(v2)}`);
400
+ }
401
+ const inner = [...prelude, cmd].join("\n");
402
+ return { cmd: `sudo -n -u ${user} -H bash -lc ${shq(inner)}` };
403
+ }
379
404
  function getClient(target = "") {
380
405
  const cached = clients.get(target);
381
406
  if (cached) return cached;
@@ -657,6 +682,16 @@ Run \`agentbox prepare --provider daytona\` to bake one, or set \`agentbox confi
657
682
  * `CloudBackend.attachExecLacksTty`.
658
683
  */
659
684
  attachExecLacksTty: true,
685
+ /**
686
+ * See `CloudBackend.attachRunAs`. The SSH gateway authenticates with an
687
+ * opaque token and offers no unix user, so a `linux-vm` session lands as root
688
+ * — the class that has no image metadata to say otherwise. Drop it to the box
689
+ * user so the tmux server, the agent and the ctl client are all `vscode`,
690
+ * matching what `exec` now does. `container` already lands there.
691
+ */
692
+ attachRunAs(h) {
693
+ return h.sandboxClass === "container" ? void 0 : BOX_USER;
694
+ },
660
695
  /**
661
696
  * Hold off Daytona's auto-stop while the in-box agent is working.
662
697
  *
@@ -705,11 +740,12 @@ Run \`agentbox prepare --provider daytona\` to bake one, or set \`agentbox confi
705
740
  });
706
741
  },
707
742
  async exec(h, cmd, opts) {
743
+ const plan = buildDaytonaExec(cmd, h, opts);
708
744
  return retry(
709
745
  "exec",
710
746
  async () => {
711
747
  const sb = await getSandbox(h.sandboxId);
712
- const r = await sb.process.executeCommand(cmd, opts?.cwd, opts?.env);
748
+ const r = await sb.process.executeCommand(plan.cmd, plan.cwd, plan.env);
713
749
  return { exitCode: r.exitCode, stdout: r.result, stderr: "" };
714
750
  },
715
751
  { attemptTimeoutMs: opts?.attemptTimeoutMs ?? 12e4, noRetry: opts?.noRetry }
@@ -721,6 +757,12 @@ Run \`agentbox prepare --provider daytona\` to bake one, or set \`agentbox confi
721
757
  async () => {
722
758
  const sb = await getSandbox(h.sandboxId);
723
759
  await sb.fs.uploadFile(localPath, remotePath);
760
+ if (h.sandboxClass !== "container") {
761
+ try {
762
+ await sb.process.executeCommand(`chown ${BOX_USER}: ${shq(remotePath)}`);
763
+ } catch {
764
+ }
765
+ }
724
766
  },
725
767
  { attemptTimeoutMs: 3e5 }
726
768
  );
@@ -1165,14 +1207,15 @@ async function bakeDaytonaVmBase(opts) {
1165
1207
  }
1166
1208
  const handle = { sandboxId: sandbox.id, sandboxClass: "linux-vm" };
1167
1209
  try {
1168
- const wait = await opts.backend.exec(handle, buildDockerWaitCommand());
1210
+ const asRoot = { user: "root" };
1211
+ const wait = await opts.backend.exec(handle, buildDockerWaitCommand(), asRoot);
1169
1212
  if (wait.exitCode !== 0) {
1170
1213
  throw new Error(
1171
1214
  "dockerd never came up in the VM base, so sudo cannot be repaired (the repair borrows root from the docker socket)."
1172
1215
  );
1173
1216
  }
1174
1217
  log("repairing sudo (the VM rootfs conversion strips setuid bits)\u2026");
1175
- const repair = await opts.backend.exec(handle, buildSudoRepairCommand());
1218
+ const repair = await opts.backend.exec(handle, buildSudoRepairCommand(), asRoot);
1176
1219
  if (repair.exitCode !== 0) {
1177
1220
  throw new Error(
1178
1221
  `failed to restore sudo in the VM base (exit ${String(repair.exitCode)}): ${repair.stdout}${repair.stderr}`
@@ -1180,7 +1223,9 @@ async function bakeDaytonaVmBase(opts) {
1180
1223
  }
1181
1224
  imageEnv = await fetchImageEnv(imageRef) ?? [];
1182
1225
  if (imageEnv.length > 0) {
1183
- log(`restoring the image's ${String(imageEnv.length)} env vars (the VM conversion drops them)\u2026`);
1226
+ log(
1227
+ `restoring the image's ${String(imageEnv.length)} env vars (the VM conversion drops them)\u2026`
1228
+ );
1184
1229
  const envFix = await opts.backend.exec(handle, buildEnvRestoreCommand(imageEnv));
1185
1230
  if (envFix.exitCode !== 0) {
1186
1231
  throw new Error(
@@ -1222,21 +1267,42 @@ function nonce() {
1222
1267
  }
1223
1268
  async function createVmBaseSnapshot(opts, name, imageRef, log) {
1224
1269
  log(`creating linux-vm base image snapshot '${name}' from ${imageRef}\u2026`);
1225
- await opts.client.snapshot.create(
1226
- {
1227
- name,
1228
- image: imageRef,
1229
- sandboxClass: SandboxClass.LINUX_VM,
1230
- regionId: opts.regionId,
1231
- // Always explicit: a snapshot with no `resources` gets Daytona's 1 vCPU /
1232
- // 1 GiB / 3 GiB default, and the box image does not fit in 3 GiB — the
1233
- // build dies mid-pull with a bare "internal error".
1234
- resources: opts.resources ?? { cpu: 2, memory: 4, disk: 8 }
1235
- },
1236
- { onLogs: (c) => log(String(c).split("\n").filter(Boolean).join(" ")) }
1237
- );
1270
+ try {
1271
+ await opts.client.snapshot.create(
1272
+ {
1273
+ name,
1274
+ image: imageRef,
1275
+ sandboxClass: SandboxClass.LINUX_VM,
1276
+ regionId: opts.regionId,
1277
+ // Always explicit: a snapshot with no `resources` gets Daytona's 1 vCPU /
1278
+ // 1 GiB / 3 GiB default, and the box image does not fit in 3 GiB — the
1279
+ // build dies mid-pull with a bare "internal error".
1280
+ resources: opts.resources ?? { cpu: 2, memory: 4, disk: 8 }
1281
+ },
1282
+ { onLogs: (c) => log(String(c).split("\n").filter(Boolean).join(" ")) }
1283
+ );
1284
+ } catch (err) {
1285
+ if (isRegionNotFound(err)) {
1286
+ throw new Error(vmRegionUnavailableMessage(opts.regionId));
1287
+ }
1288
+ throw err;
1289
+ }
1238
1290
  return name;
1239
1291
  }
1292
+ function isRegionNotFound(err) {
1293
+ const msg = err instanceof Error ? err.message : String(err);
1294
+ return /\bregion\b/i.test(msg) && /\bnot found\b/i.test(msg);
1295
+ }
1296
+ function vmRegionUnavailableMessage(regionId) {
1297
+ return `your Daytona organization has no '${regionId}' region, and linux-vm boxes run only there.
1298
+ A VM region is *dedicated* \u2014 it is not enabled for every account \u2014 so a key from an
1299
+ organization with only the shared 'us'/'eu' regions cannot bake a Daytona base at all.
1300
+ Check what yours has:
1301
+ curl -H "Authorization: Bearer $DAYTONA_API_KEY" https://app.daytona.io/api/regions
1302
+ Use an API key from an organization that has a VM region (or ask Daytona to enable one). If
1303
+ Daytona has since added a VM region for your org, name it with
1304
+ \`agentbox config set box.daytonaRegion <id>\`.`;
1305
+ }
1240
1306
  async function snapshotIsActive(client, name) {
1241
1307
  try {
1242
1308
  const snap = await client.snapshot.get(name);
@@ -20,19 +20,19 @@ import {
20
20
  renderInnerCommand,
21
21
  resolveCloudCheckpoint,
22
22
  writeCloudCheckpointManifest
23
- } from "./chunk-WHGY7HOC.js";
23
+ } from "./chunk-GUKVXSIY.js";
24
24
  import {
25
25
  detectPortless,
26
26
  portlessDoctorRow,
27
27
  portlessServiceStatus
28
- } from "./chunk-H5SUXDZA.js";
28
+ } from "./chunk-QWSP6WJ2.js";
29
29
  import "./chunk-6AVSKCZJ.js";
30
30
  import "./chunk-F2JI4GMX.js";
31
31
  import "./chunk-VWQNSZGI.js";
32
32
  import {
33
33
  BUILD_CONTEXT_DIR,
34
34
  computeDockerContextFingerprint
35
- } from "./chunk-3ZDBZYOY.js";
35
+ } from "./chunk-QGAP34GN.js";
36
36
  import {
37
37
  BOX_IMAGE_REGISTRY,
38
38
  SshTunnelManager,
@@ -48,7 +48,7 @@ import {
48
48
  sshExec,
49
49
  sshOptArgs,
50
50
  writePreparedStateRaw
51
- } from "./chunk-GBYD2ODL.js";
51
+ } from "./chunk-G6FJR7TN.js";
52
52
  import {
53
53
  hashProjectPath,
54
54
  loadEffectiveConfig,
@@ -48,14 +48,14 @@ import {
48
48
  validateServerChoice,
49
49
  withHetznerRetry,
50
50
  writePreparedState
51
- } from "./chunk-UQ5XNPOF.js";
51
+ } from "./chunk-DJPQLZ5Y.js";
52
52
  import "./chunk-OF242BLD.js";
53
- import "./chunk-WHGY7HOC.js";
54
- import "./chunk-H5SUXDZA.js";
53
+ import "./chunk-GUKVXSIY.js";
54
+ import "./chunk-QWSP6WJ2.js";
55
55
  import "./chunk-6AVSKCZJ.js";
56
56
  import "./chunk-F2JI4GMX.js";
57
57
  import "./chunk-VWQNSZGI.js";
58
- import "./chunk-3ZDBZYOY.js";
58
+ import "./chunk-QGAP34GN.js";
59
59
  import {
60
60
  mintSshKey,
61
61
  scpDownload,
@@ -63,7 +63,7 @@ import {
63
63
  sshExec,
64
64
  sshOptArgs,
65
65
  waitForSsh
66
- } from "./chunk-GBYD2ODL.js";
66
+ } from "./chunk-G6FJR7TN.js";
67
67
  import "./chunk-5ABFGGPT.js";
68
68
  import "./chunk-EFW34I43.js";
69
69
  import "./chunk-TZFWAJVB.js";
@@ -18,12 +18,12 @@ import {
18
18
  renderInnerCommand,
19
19
  resolveCloudCheckpoint,
20
20
  writeCloudCheckpointManifest
21
- } from "./chunk-WHGY7HOC.js";
22
- import "./chunk-H5SUXDZA.js";
21
+ } from "./chunk-GUKVXSIY.js";
22
+ import "./chunk-QWSP6WJ2.js";
23
23
  import "./chunk-6AVSKCZJ.js";
24
24
  import "./chunk-F2JI4GMX.js";
25
25
  import "./chunk-VWQNSZGI.js";
26
- import "./chunk-3ZDBZYOY.js";
26
+ import "./chunk-QGAP34GN.js";
27
27
  import {
28
28
  UserFacingError,
29
29
  claudeInstallFingerprint,
@@ -40,7 +40,7 @@ import {
40
40
  stageAllAgentStatic,
41
41
  writeManagedSecrets,
42
42
  writePreparedStateRaw
43
- } from "./chunk-GBYD2ODL.js";
43
+ } from "./chunk-G6FJR7TN.js";
44
44
  import "./chunk-5ABFGGPT.js";
45
45
  import "./chunk-EFW34I43.js";
46
46
  import "./chunk-TZFWAJVB.js";
@@ -239,7 +239,7 @@ import {
239
239
  writeManagedSecrets,
240
240
  writePreparedStateRaw,
241
241
  writeState
242
- } from "./chunk-GBYD2ODL.js";
242
+ } from "./chunk-G6FJR7TN.js";
243
243
  import "./chunk-5ABFGGPT.js";
244
244
  import "./chunk-EFW34I43.js";
245
245
  import "./chunk-TZFWAJVB.js";
@@ -70,7 +70,7 @@ import {
70
70
  verifyDetachedSession,
71
71
  writeCloudCheckpointManifest,
72
72
  writePreparedToCustodyStore
73
- } from "./chunk-WHGY7HOC.js";
73
+ } from "./chunk-GUKVXSIY.js";
74
74
  import {
75
75
  CODEX_CREDENTIALS_BACKUP_FILE,
76
76
  CREDENTIALS_BACKUP_FILE,
@@ -91,11 +91,11 @@ import {
91
91
  resetPortlessCache,
92
92
  resolvePortlessHostStateDir,
93
93
  startPortlessProxy
94
- } from "./chunk-H5SUXDZA.js";
94
+ } from "./chunk-QWSP6WJ2.js";
95
95
  import "./chunk-6AVSKCZJ.js";
96
96
  import "./chunk-F2JI4GMX.js";
97
97
  import "./chunk-VWQNSZGI.js";
98
- import "./chunk-3ZDBZYOY.js";
98
+ import "./chunk-QGAP34GN.js";
99
99
  import {
100
100
  isRealAgentCredential,
101
101
  stageAgentsStaticForUpload,
@@ -106,7 +106,7 @@ import {
106
106
  stageCodexStaticForUpload,
107
107
  stageOpencodeCredentialsForUpload,
108
108
  stageOpencodeStaticForUpload
109
- } from "./chunk-GBYD2ODL.js";
109
+ } from "./chunk-G6FJR7TN.js";
110
110
  import "./chunk-5ABFGGPT.js";
111
111
  import "./chunk-EFW34I43.js";
112
112
  import "./chunk-TZFWAJVB.js";
@@ -21,12 +21,12 @@ import {
21
21
  renderInnerCommand,
22
22
  resolveCloudCheckpoint,
23
23
  writeCloudCheckpointManifest
24
- } from "./chunk-WHGY7HOC.js";
25
- import "./chunk-H5SUXDZA.js";
24
+ } from "./chunk-GUKVXSIY.js";
25
+ import "./chunk-QWSP6WJ2.js";
26
26
  import "./chunk-6AVSKCZJ.js";
27
27
  import "./chunk-F2JI4GMX.js";
28
28
  import "./chunk-VWQNSZGI.js";
29
- import "./chunk-3ZDBZYOY.js";
29
+ import "./chunk-QGAP34GN.js";
30
30
  import {
31
31
  UserFacingError,
32
32
  claudeInstallFingerprint,
@@ -45,7 +45,7 @@ import {
45
45
  stageOpencodeStaticForUpload,
46
46
  writeManagedSecrets,
47
47
  writePreparedStateRaw
48
- } from "./chunk-GBYD2ODL.js";
48
+ } from "./chunk-G6FJR7TN.js";
49
49
  import "./chunk-5ABFGGPT.js";
50
50
  import {
51
51
  execa
@@ -232,7 +232,7 @@ import {
232
232
  vscodeServerVolumeName,
233
233
  waitForTmuxPaneContent,
234
234
  warmUpClaudeCredentials
235
- } from "./chunk-H5SUXDZA.js";
235
+ } from "./chunk-QWSP6WJ2.js";
236
236
  import "./chunk-6AVSKCZJ.js";
237
237
  import "./chunk-F2JI4GMX.js";
238
238
  import "./chunk-VWQNSZGI.js";
@@ -259,7 +259,7 @@ import {
259
259
  resolveContextFiles,
260
260
  tagImage,
261
261
  writePreparedDockerState
262
- } from "./chunk-3ZDBZYOY.js";
262
+ } from "./chunk-QGAP34GN.js";
263
263
  import {
264
264
  AmbiguousBoxError,
265
265
  BOX_CLAUDE_PROJECT_DIR,
@@ -295,7 +295,7 @@ import {
295
295
  resolveClaudeMemoryDir,
296
296
  scanHostEnvFiles,
297
297
  stageDynamicSyncTarball
298
- } from "./chunk-GBYD2ODL.js";
298
+ } from "./chunk-G6FJR7TN.js";
299
299
  import "./chunk-5ABFGGPT.js";
300
300
  import "./chunk-EFW34I43.js";
301
301
  import "./chunk-TZFWAJVB.js";