@madarco/agentbox 0.27.1 → 0.28.0-nightly.202607251721

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 (364) hide show
  1. package/CHANGELOG.md +87 -4
  2. package/README.md +7 -3
  3. package/dist/_cloud-attach-XZYF324R.js +26 -0
  4. package/dist/admin-client-NOZ5CCAH.js +15 -0
  5. package/dist/chunk-2VW37PW4.js +1694 -0
  6. package/dist/chunk-2VW37PW4.js.map +1 -0
  7. package/dist/{chunk-HR7NHH5J.js → chunk-3UMM4VJH.js} +808 -57
  8. package/dist/chunk-3UMM4VJH.js.map +1 -0
  9. package/dist/chunk-5U5QOFL5.js +20 -0
  10. package/dist/chunk-5U5QOFL5.js.map +1 -0
  11. package/dist/chunk-6P6D77QP.js +285 -0
  12. package/dist/chunk-6P6D77QP.js.map +1 -0
  13. package/dist/chunk-6V366IZC.js +2892 -0
  14. package/dist/chunk-6V366IZC.js.map +1 -0
  15. package/dist/{chunk-KWOEUFVA.js → chunk-7J6G526Q.js} +6 -14
  16. package/dist/{chunk-KWOEUFVA.js.map → chunk-7J6G526Q.js.map} +1 -1
  17. package/dist/{chunk-IDH5A4RR.js → chunk-AYPAYY5R.js} +17 -4
  18. package/dist/chunk-AYPAYY5R.js.map +1 -0
  19. package/dist/{chunk-JGZSA5ZI.js → chunk-BHJCMTHP.js} +58 -15
  20. package/dist/chunk-BHJCMTHP.js.map +1 -0
  21. package/dist/{chunk-26IKZRTT.js → chunk-BLWAWGFX.js} +297 -1217
  22. package/dist/chunk-BLWAWGFX.js.map +1 -0
  23. package/dist/chunk-CGPUFXET.js +95 -0
  24. package/dist/chunk-CGPUFXET.js.map +1 -0
  25. package/dist/{chunk-SJ75AIA2.js → chunk-D6AODRNA.js} +12 -9
  26. package/dist/{chunk-SJ75AIA2.js.map → chunk-D6AODRNA.js.map} +1 -1
  27. package/dist/chunk-DPJMEG7U.js +11 -0
  28. package/dist/chunk-DPJMEG7U.js.map +1 -0
  29. package/dist/chunk-E2ITEZAQ.js +148 -0
  30. package/dist/chunk-E2ITEZAQ.js.map +1 -0
  31. package/dist/{chunk-JE6UI5YR.js → chunk-NKVCIH6N.js} +89 -223
  32. package/dist/chunk-NKVCIH6N.js.map +1 -0
  33. package/dist/chunk-OEYAVBA6.js +120 -0
  34. package/dist/chunk-OEYAVBA6.js.map +1 -0
  35. package/dist/{chunk-UJEH2NJT.js → chunk-PXYPQ5BO.js} +64 -264
  36. package/dist/chunk-PXYPQ5BO.js.map +1 -0
  37. package/dist/chunk-QESXSSO6.js +670 -0
  38. package/dist/chunk-QESXSSO6.js.map +1 -0
  39. package/dist/{chunk-NEF6MDJO.js → chunk-QJCK2AFX.js} +128 -26
  40. package/dist/chunk-QJCK2AFX.js.map +1 -0
  41. package/dist/chunk-RUJJY23M.js +84 -0
  42. package/dist/chunk-RUJJY23M.js.map +1 -0
  43. package/dist/{chunk-LL7NCMUU.js → chunk-SKNJRYM5.js} +7 -13
  44. package/dist/chunk-SKNJRYM5.js.map +1 -0
  45. package/dist/chunk-WFGAMJ5Q.js +689 -0
  46. package/dist/chunk-WFGAMJ5Q.js.map +1 -0
  47. package/dist/chunk-ZJL56TJD.js +1444 -0
  48. package/dist/chunk-ZJL56TJD.js.map +1 -0
  49. package/dist/{chunk-V5XXJH63.js → chunk-ZXOP4LBG.js} +5 -8
  50. package/dist/chunk-ZXOP4LBG.js.map +1 -0
  51. package/dist/control-plane-2VEM2KCL.js +31 -0
  52. package/dist/custody-client-P6XIXHRG.js +16 -0
  53. package/dist/{dist-TSFVB7AI.js → dist-2SYQI5S2.js} +11 -7
  54. package/dist/dist-2SYQI5S2.js.map +1 -0
  55. package/dist/{dist-KQTMCVME.js → dist-6QZMZEL7.js} +18 -11
  56. package/dist/dist-6QZMZEL7.js.map +1 -0
  57. package/dist/{dist-FTKS2GI4.js → dist-JHMILJUT.js} +10 -6
  58. package/dist/{dist-OO52HARR.js → dist-JOFZOZCY.js} +41 -25
  59. package/dist/{dist-O3LKOIE7.js → dist-KZ2GEEEX.js} +11 -7
  60. package/dist/dist-KZ2GEEEX.js.map +1 -0
  61. package/dist/{dist-Z6L5MM5D.js → dist-Q5NY4CF6.js} +10 -6
  62. package/dist/{dist-U2SVLJUQ.js → dist-SKMNEDVW.js} +8 -2
  63. package/dist/dist-SKMNEDVW.js.map +1 -0
  64. package/dist/dist-SRCKO7ZV.js +197 -0
  65. package/dist/dist-SRCKO7ZV.js.map +1 -0
  66. package/dist/{dist-WVYAURMF.js → dist-UXZQWKY6.js} +10 -6
  67. package/dist/dist-UXZQWKY6.js.map +1 -0
  68. package/dist/env-file-UDUDQMP4.js +11 -0
  69. package/dist/env-file-UDUDQMP4.js.map +1 -0
  70. package/dist/hub-adopt-ZS5CREYF.js +21 -0
  71. package/dist/hub-adopt-ZS5CREYF.js.map +1 -0
  72. package/dist/index.js +2461 -1905
  73. package/dist/index.js.map +1 -1
  74. package/dist/node-postgres-6JUOVUN5.js +3584 -0
  75. package/dist/node-postgres-6JUOVUN5.js.map +1 -0
  76. package/dist/{prepared-state-75DIZ55S-TNJXWMXV.js → prepared-state-75DIZ55S-P6LE4N64.js} +3 -2
  77. package/dist/prepared-state-75DIZ55S-P6LE4N64.js.map +1 -0
  78. package/dist/remote-hub-SJ4XWBA5.js +9 -0
  79. package/dist/remote-hub-SJ4XWBA5.js.map +1 -0
  80. package/dist/sqlite-proxy-53E5D2VM.js +2882 -0
  81. package/dist/sqlite-proxy-53E5D2VM.js.map +1 -0
  82. package/package.json +1 -1
  83. package/runtime/_shared/ctl.cjs +29199 -16813
  84. package/runtime/digitalocean/ctl.cjs +29199 -16813
  85. package/runtime/docker/packages/ctl/dist/bin.cjs +29199 -16813
  86. package/runtime/e2b/ctl.cjs +29199 -16813
  87. package/runtime/hetzner/ctl.cjs +29199 -16813
  88. package/runtime/hub/apps/hub/.next/BUILD_ID +1 -1
  89. package/runtime/hub/apps/hub/.next/build-manifest.json +3 -3
  90. package/runtime/hub/apps/hub/.next/server/app/(auth)/api/auth/[...all]/route.js +5 -5
  91. package/runtime/hub/apps/hub/.next/server/app/(auth)/api/auth/[...all]/route.js.nft.json +1 -1
  92. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/[id]/answer/route.js +2 -2
  93. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/[id]/answer/route.js.nft.json +1 -1
  94. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/route.js +2 -2
  95. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/route.js.nft.json +1 -1
  96. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/[action]/route.js +2 -2
  97. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/[action]/route.js.nft.json +1 -1
  98. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/branches/route.js +2 -2
  99. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/branches/route.js.nft.json +1 -1
  100. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/[op]/route.js +2 -2
  101. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/[op]/route.js.nft.json +1 -1
  102. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/route.js +2 -2
  103. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/route.js.nft.json +1 -1
  104. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/open/route.js +2 -2
  105. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/open/route.js.nft.json +1 -1
  106. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route.js +2 -2
  107. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route.js.nft.json +1 -1
  108. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/route.js +2 -2
  109. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/route.js.nft.json +1 -1
  110. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/restart/route.js +2 -2
  111. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/restart/route.js.nft.json +1 -1
  112. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/route.js +4 -4
  113. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/route.js.nft.json +1 -1
  114. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/route.js +2 -2
  115. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/route.js.nft.json +1 -1
  116. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/health/route.js +2 -2
  117. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/health/route.js.nft.json +1 -1
  118. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/bake/route.js +2 -2
  119. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/bake/route.js.nft.json +1 -1
  120. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/route.js +2 -2
  121. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/route.js.nft.json +1 -1
  122. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/route.js +2 -2
  123. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/route.js.nft.json +1 -1
  124. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/login-code/route.js +2 -2
  125. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/login-code/route.js.nft.json +1 -1
  126. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/logs/route.js +2 -2
  127. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/logs/route.js.nft.json +1 -1
  128. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/route.js +2 -2
  129. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/route.js.nft.json +1 -1
  130. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/open-targets/route.js +2 -2
  131. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/open-targets/route.js.nft.json +1 -1
  132. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/branches/route.js +2 -2
  133. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/branches/route.js.nft.json +1 -1
  134. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/route.js +2 -2
  135. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/route.js.nft.json +1 -1
  136. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/route.js +2 -2
  137. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/route.js.nft.json +1 -1
  138. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/credentials/route.js +2 -2
  139. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/credentials/route.js.nft.json +1 -1
  140. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/prepare/route.js +2 -2
  141. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/prepare/route.js.nft.json +1 -1
  142. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/route.js +2 -2
  143. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/route.js.nft.json +1 -1
  144. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page.js +2 -2
  145. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page.js.nft.json +1 -1
  146. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page_client-reference-manifest.js +1 -1
  147. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page.js +2 -2
  148. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page.js.nft.json +1 -1
  149. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page_client-reference-manifest.js +1 -1
  150. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page.js +2 -2
  151. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page.js.nft.json +1 -1
  152. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  153. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page.js +2 -2
  154. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page.js.nft.json +1 -1
  155. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page_client-reference-manifest.js +1 -1
  156. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page.js +2 -2
  157. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page.js.nft.json +1 -1
  158. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page_client-reference-manifest.js +1 -1
  159. package/runtime/hub/apps/hub/.next/server/app/[...path]/route.js +4 -2
  160. package/runtime/hub/apps/hub/.next/server/app/[...path]/route.js.nft.json +1 -1
  161. package/runtime/hub/apps/hub/.next/server/app/_global-error.html +1 -1
  162. package/runtime/hub/apps/hub/.next/server/app/_global-error.rsc +1 -1
  163. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  164. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  165. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  166. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  167. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  168. package/runtime/hub/apps/hub/.next/server/chunks/0-fj_better-auth_dist_adapters_kysely-adapter_index_mjs_0btft52._.js +3 -0
  169. package/runtime/hub/apps/hub/.next/server/chunks/1w4z_drizzle-orm_0gvv4ct._.js +4 -0
  170. package/runtime/hub/apps/hub/.next/server/chunks/1w4z_drizzle-orm_0pn9b49._.js +4 -0
  171. package/runtime/hub/apps/hub/.next/server/chunks/1w4z_drizzle-orm_145bz8z._.js +9 -0
  172. package/runtime/hub/apps/hub/.next/server/chunks/1w4z_drizzle-orm_14y990b._.js +3 -0
  173. package/runtime/hub/apps/hub/.next/server/chunks/1w4z_drizzle-orm_1nl4l3q._.js +3 -0
  174. package/runtime/hub/apps/hub/.next/server/chunks/1w4z_drizzle-orm_sqlite-proxy_index_05v_j5r.js +15 -0
  175. package/runtime/hub/apps/hub/.next/server/chunks/{[externals]__12m3qoa._.js → [externals]__0f3aqcx._.js} +2 -2
  176. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0-9g1s8._.js +3 -0
  177. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0-pvfxg._.js +3 -0
  178. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__01amzh6._.js +3 -0
  179. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__02q799_._.js +3 -0
  180. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__03k22rl._.js +3 -0
  181. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__04tqk-j._.js +3 -0
  182. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__05ovf1y._.js +3 -0
  183. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__05s-_x7._.js +3 -0
  184. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__07dnyfi._.js +3 -0
  185. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__07zk6qo._.js +3 -0
  186. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0_59yi6._.js +3 -0
  187. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ajlo3d._.js +3 -0
  188. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0b5s54n._.js +3 -0
  189. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0c4fiez._.js +3 -0
  190. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0c9iff1._.js +3 -0
  191. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0d1lmiq._.js +5 -5
  192. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0dh6lzr._.js +3 -0
  193. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ey83ai._.js +3 -0
  194. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0h6vdvr._.js +3 -0
  195. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0lup7p4._.js +3 -0
  196. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0luxuu4._.js +3 -0
  197. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0nl2u6u._.js +3 -0
  198. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0nonp-6._.js +3 -0
  199. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0oplozy._.js +3 -0
  200. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0p-6wgd._.js +3 -0
  201. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0rcnwbw._.js +3 -0
  202. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0tuz1am._.js +3 -0
  203. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1-9g0ae._.js +1 -1
  204. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__10ry4ss._.js +3 -0
  205. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__11hv164._.js +3 -0
  206. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__154_i13._.js +3 -0
  207. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__17676rc._.js +3 -0
  208. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1bg1alc._.js +3 -0
  209. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1cvqb1d._.js +3 -0
  210. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1d60gbz._.js +3 -0
  211. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1dm0jmw._.js +6 -0
  212. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1dv_b1t._.js +3 -0
  213. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1fzxip4._.js +3 -0
  214. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1h4oj-e._.js +3 -0
  215. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1i4gq_2._.js +3 -0
  216. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1v1p7in._.js +3 -0
  217. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1v9_her._.js +4 -0
  218. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1x1jkpb._.js +3 -0
  219. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1yd8n5l._.js +3 -0
  220. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__20t_rs8._.js +3 -0
  221. package/runtime/hub/apps/hub/.next/server/chunks/_033w048._.js +1 -1
  222. package/runtime/hub/apps/hub/.next/server/chunks/_06f2faq._.js +1 -1
  223. package/runtime/hub/apps/hub/.next/server/chunks/{_0760z6y._.js → _0907rw0._.js} +15 -15
  224. package/runtime/hub/apps/hub/.next/server/chunks/_0f3molr._.js +1 -1
  225. package/runtime/hub/apps/hub/.next/server/chunks/_0lgs9kd._.js +1 -1
  226. package/runtime/hub/apps/hub/.next/server/chunks/_0pyhcqe._.js +1 -1
  227. package/runtime/hub/apps/hub/.next/server/chunks/_1-42ili._.js +1 -1
  228. package/runtime/hub/apps/hub/.next/server/chunks/_11__3wi._.js +1 -1
  229. package/runtime/hub/apps/hub/.next/server/chunks/_12flzuh._.js +1 -1
  230. package/runtime/hub/apps/hub/.next/server/chunks/_1bng7w9._.js +1 -1
  231. package/runtime/hub/apps/hub/.next/server/chunks/_1rpkqst._.js +1 -1
  232. package/runtime/hub/apps/hub/.next/server/chunks/_1wt72m1._.js +1 -1
  233. package/runtime/hub/apps/hub/.next/server/chunks/_1x3l5t8._.js +1 -1
  234. package/runtime/hub/apps/hub/.next/server/chunks/packages_relay_dist_control-plane_03a-9aj.js +62 -31
  235. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_0xy-j7z._.js +1 -1
  236. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_1uccfbf._.js +1 -1
  237. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_010858m.js +1 -1
  238. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_04zwxnx.js +1 -1
  239. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_06exuc7.js +1 -1
  240. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_0f2ldrt.js +1 -1
  241. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_0f2tzep.js +1 -1
  242. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_116nh32.js +1 -1
  243. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_11dyjcb.js +1 -1
  244. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_1_4knli.js +1 -1
  245. package/runtime/hub/apps/hub/.next/server/chunks/ssr/1w4z_drizzle-orm_0ebuy19._.js +3 -0
  246. package/runtime/hub/apps/hub/.next/server/chunks/ssr/1w4z_drizzle-orm_0wxhi0-._.js +3 -0
  247. package/runtime/hub/apps/hub/.next/server/chunks/ssr/1w4z_drizzle-orm_0xe4ick._.js +9 -0
  248. package/runtime/hub/apps/hub/.next/server/chunks/ssr/1w4z_drizzle-orm_14oaveu._.js +4 -0
  249. package/runtime/hub/apps/hub/.next/server/chunks/ssr/1w4z_drizzle-orm_sqlite-proxy_index_1a6wfdg.js +15 -0
  250. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0-pm2yl._.js +3 -0
  251. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__08-1wwu._.js +1 -1
  252. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0c9mbcn._.js +1 -1
  253. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0gdfxj4._.js +1 -1
  254. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0kc-hwp._.js +1 -1
  255. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0lu73p6._.js +1 -1
  256. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0m1yf2b._.js +4 -0
  257. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0wv-3zo._.js +3 -0
  258. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__10bfmwi._.js +1 -1
  259. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__18qvdzb._.js +2 -2
  260. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__1l2urlw._.js +1 -1
  261. package/runtime/hub/apps/hub/.next/server/chunks/ssr/{_0ro6vh6._.js → _0r2xlss._.js} +3 -3
  262. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_components_1z1p98f._.js +1 -1
  263. package/runtime/hub/apps/hub/.next/server/chunks/ssr/packages_relay_dist_control-plane_0ve-wz4.js +2 -25
  264. package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +3 -3
  265. package/runtime/hub/apps/hub/.next/server/middleware.js +1 -1
  266. package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -1
  267. package/runtime/hub/apps/hub/.next/static/chunks/{2xc1sm79a6tsb.js → 2gsrna76i1d80.js} +1 -1
  268. package/runtime/hub/apps/hub/attach-helper.cjs +191 -0
  269. package/runtime/hub/apps/hub/{auth-DC44GQZY.js → auth-IRNNO3IK.js} +2 -2
  270. package/runtime/hub/apps/hub/{auth-config-LALRDYDO.js → auth-config-WJHIMGUE.js} +4 -2
  271. package/runtime/hub/apps/hub/{chunk-YJ5MJOXK.js → chunk-4LYVBRBC.js} +2094 -220
  272. package/runtime/hub/apps/hub/chunk-6AVSKCZJ.js +669 -0
  273. package/runtime/hub/apps/hub/{chunk-QSMPSV5Z.js → chunk-A5Y7LJMU.js} +57 -14
  274. package/runtime/hub/apps/hub/chunk-EDRFXO2M.js +35 -0
  275. package/runtime/hub/apps/hub/chunk-F2JI4GMX.js +2891 -0
  276. package/runtime/hub/apps/hub/{chunk-EHBJKZCL.js → chunk-O3K3ZGFF.js} +500 -35
  277. package/runtime/hub/apps/hub/chunk-RII6IKNJ.js +688 -0
  278. package/runtime/hub/apps/hub/{chunk-RXYOWSSN.js → chunk-RMEUA6PA.js} +120 -14
  279. package/runtime/hub/apps/hub/{chunk-3FJNKSNZ.js → chunk-SCHQR5KR.js} +3 -1
  280. package/runtime/hub/apps/hub/{dist-6FPPUSWZ.js → dist-2GEAA7QA.js} +15 -3
  281. package/runtime/hub/apps/hub/{dist-JG45OFT2.js → dist-36O6F6M3.js} +39 -24
  282. package/runtime/hub/apps/hub/{dist-3I7KUI6W.js → dist-IWLEL2TO.js} +21 -24
  283. package/runtime/hub/apps/hub/{dist-G6TXUSPZ.js → dist-NYKIT5W5.js} +10 -11
  284. package/runtime/hub/apps/hub/{dist-EQV4L7KP.js → dist-QB2IJ7OD.js} +7 -1
  285. package/runtime/hub/apps/hub/{dist-LYDHYTP2.js → dist-RBBXXGLI.js} +129 -26
  286. package/runtime/hub/apps/hub/{dist-GTVVXCBP.js → dist-RRJN2U5P.js} +10 -14
  287. package/runtime/hub/apps/hub/{dist-DX6IYMAH.js → dist-UWXGDCK4.js} +14 -11
  288. package/runtime/hub/apps/hub/{hub-token-COBZGSLS.js → hub-token-6USIMBPQ.js} +2 -2
  289. package/runtime/hub/apps/hub/hub-worker-SOFWVTWU.js +215 -0
  290. package/runtime/hub/apps/hub/node-postgres-DIU2H5VP.js +3583 -0
  291. package/runtime/hub/apps/hub/package.json +5 -2
  292. package/runtime/hub/apps/hub/{prepared-state-75DIZ55S-2IFNUHHM.js → prepared-state-75DIZ55S-P5FHEORG.js} +1 -1
  293. package/runtime/hub/apps/hub/server.js +247 -66
  294. package/runtime/hub/apps/hub/sqlite-proxy-VJS3HIOV.js +2881 -0
  295. package/runtime/relay/bin.cjs +694 -13
  296. package/runtime/vercel/ctl.cjs +29199 -16813
  297. package/dist/_cloud-attach-WDGM6FL5.js +0 -19
  298. package/dist/chunk-26IKZRTT.js.map +0 -1
  299. package/dist/chunk-HR7NHH5J.js.map +0 -1
  300. package/dist/chunk-IDH5A4RR.js.map +0 -1
  301. package/dist/chunk-JE6UI5YR.js.map +0 -1
  302. package/dist/chunk-JGZSA5ZI.js.map +0 -1
  303. package/dist/chunk-LL7NCMUU.js.map +0 -1
  304. package/dist/chunk-NEF6MDJO.js.map +0 -1
  305. package/dist/chunk-UJEH2NJT.js.map +0 -1
  306. package/dist/chunk-V5XXJH63.js.map +0 -1
  307. package/dist/dist-KQTMCVME.js.map +0 -1
  308. package/dist/dist-O3LKOIE7.js.map +0 -1
  309. package/dist/dist-TSFVB7AI.js.map +0 -1
  310. package/runtime/hub/apps/hub/.next/server/chunks/0zhp_better-auth_dist_adapters_kysely-adapter_index_mjs_1rl4qnh._.js +0 -3
  311. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__04h15ml._.js +0 -3
  312. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__04jgk9x._.js +0 -3
  313. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__07ednlo._.js +0 -3
  314. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0a7djvw._.js +0 -3
  315. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ig1bot._.js +0 -3
  316. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0keu6we._.js +0 -3
  317. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ql4fjo._.js +0 -3
  318. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0szd4sh._.js +0 -3
  319. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0t7o5ed._.js +0 -3
  320. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0vs8fma._.js +0 -3
  321. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0w9ud8u._.js +0 -3
  322. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0xh14bo._.js +0 -3
  323. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0yhb0gc._.js +0 -3
  324. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1-0flwc._.js +0 -3
  325. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__13ioh5z._.js +0 -3
  326. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__13jwk_k._.js +0 -3
  327. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__16_uteg._.js +0 -3
  328. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__16p2m-g._.js +0 -3
  329. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__19pc87s._.js +0 -3
  330. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1_gu2yk._.js +0 -3
  331. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1a50b07._.js +0 -3
  332. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ai-945._.js +0 -3
  333. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1bu2zio._.js +0 -3
  334. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ctczev._.js +0 -3
  335. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1d6mtlk._.js +0 -3
  336. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1dn_3i1._.js +0 -3
  337. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1e4z_-v._.js +0 -3
  338. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1f2sueq._.js +0 -3
  339. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1f9zctr._.js +0 -3
  340. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1h4xycg._.js +0 -3
  341. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1hqla7-._.js +0 -3
  342. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1js2jdv._.js +0 -3
  343. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1md9kdw._.js +0 -3
  344. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1mttufy._.js +0 -3
  345. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1nepkp-._.js +0 -6
  346. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1pp5oib._.js +0 -3
  347. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1q5bqse._.js +0 -3
  348. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1qwhzmi._.js +0 -3
  349. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1thipug._.js +0 -3
  350. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1v9om6g._.js +0 -3
  351. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1xeczo7._.js +0 -3
  352. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__20503l7._.js +0 -3
  353. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[externals]_pg_20c820g._.js +0 -3
  354. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0j0tjwn._.js +0 -3
  355. /package/dist/{_cloud-attach-WDGM6FL5.js.map → _cloud-attach-XZYF324R.js.map} +0 -0
  356. /package/dist/{dist-FTKS2GI4.js.map → admin-client-NOZ5CCAH.js.map} +0 -0
  357. /package/dist/{dist-OO52HARR.js.map → control-plane-2VEM2KCL.js.map} +0 -0
  358. /package/dist/{dist-U2SVLJUQ.js.map → custody-client-P6XIXHRG.js.map} +0 -0
  359. /package/dist/{dist-WVYAURMF.js.map → dist-JHMILJUT.js.map} +0 -0
  360. /package/dist/{dist-Z6L5MM5D.js.map → dist-JOFZOZCY.js.map} +0 -0
  361. /package/dist/{prepared-state-75DIZ55S-TNJXWMXV.js.map → dist-Q5NY4CF6.js.map} +0 -0
  362. /package/runtime/hub/apps/hub/.next/static/{PWF2iHQOg9-rRyfqVDLrh → B4bEtdig9I9joQFHDOjX3}/_buildManifest.js +0 -0
  363. /package/runtime/hub/apps/hub/.next/static/{PWF2iHQOg9-rRyfqVDLrh → B4bEtdig9I9joQFHDOjX3}/_clientMiddlewareManifest.js +0 -0
  364. /package/runtime/hub/apps/hub/.next/static/{PWF2iHQOg9-rRyfqVDLrh → B4bEtdig9I9joQFHDOjX3}/_ssgManifest.js +0 -0
@@ -9,6 +9,36 @@ import { homedir } from "os";
9
9
  import { isAbsolute, join, resolve } from "path";
10
10
  import { realpath } from "fs/promises";
11
11
  import { basename, dirname, isAbsolute as isAbsolute2, normalize, resolve as resolve2, sep } from "path";
12
+ var claudeCodeLauncher = {
13
+ kind: "claude-code",
14
+ // claude treats its first positional argument as the seed user turn in
15
+ // interactive mode (`claude "<message>"`), so we slot the initial message
16
+ // ahead of any user-passed flags.
17
+ buildArgs(initialMessage, userArgs) {
18
+ if (!initialMessage) return [...userArgs];
19
+ return [initialMessage, ...userArgs];
20
+ }
21
+ };
22
+ var codexLauncher = {
23
+ kind: "codex",
24
+ buildArgs(initialMessage, userArgs) {
25
+ if (!initialMessage) return [...userArgs];
26
+ return [initialMessage, ...userArgs];
27
+ }
28
+ };
29
+ var opencodeLauncher = {
30
+ kind: "opencode",
31
+ buildArgs(initialMessage, userArgs) {
32
+ if (!initialMessage) return [...userArgs];
33
+ return [initialMessage, ...userArgs];
34
+ }
35
+ };
36
+ function resolveAgentLauncher(kind) {
37
+ if (kind === "claude-code") return claudeCodeLauncher;
38
+ if (kind === "codex") return codexLauncher;
39
+ if (kind === "opencode") return opencodeLauncher;
40
+ throw new Error(`unknown agent kind: ${String(kind)}`);
41
+ }
12
42
  var PLACEHOLDER_KEYS = [
13
43
  "AGENTBOX_BOX_NAME",
14
44
  "AGENTBOX_BOX_ID",
@@ -1183,6 +1213,8 @@ import { existsSync as existsSync5, mkdirSync as mkdirSync3, readFileSync as rea
1183
1213
  import { readFile as readFile10 } from "fs/promises";
1184
1214
  import { homedir as homedir13 } from "os";
1185
1215
  import { dirname as dirname10, resolve as pathResolve } from "path";
1216
+ import { existsSync as existsSync6 } from "fs";
1217
+ import { resolve as resolve4 } from "path";
1186
1218
  var STATE_DIR = join2(homedir2(), ".agentbox");
1187
1219
  var STATE_FILE = join2(STATE_DIR, "state.json");
1188
1220
  var EMPTY = { version: 1, boxes: [] };
@@ -2015,6 +2047,21 @@ function defaultBoxSshDir(boxId, namespace) {
2015
2047
  const safe = boxId.replace(/[^A-Za-z0-9._-]/g, "_");
2016
2048
  return namespace ? resolve22(homedir4(), ".agentbox", namespace, "boxes", safe, "ssh") : resolve22(homedir4(), ".agentbox", "boxes", safe, "ssh");
2017
2049
  }
2050
+ function boxSshNamespaceForProvider(provider) {
2051
+ switch (provider) {
2052
+ case "hetzner":
2053
+ return void 0;
2054
+ case "digitalocean":
2055
+ return "digitalocean";
2056
+ default:
2057
+ return null;
2058
+ }
2059
+ }
2060
+ function boxSshDirForProvider(provider, sandboxId) {
2061
+ const ns = boxSshNamespaceForProvider(provider);
2062
+ if (ns === null) return null;
2063
+ return defaultBoxSshDir(sandboxId, ns);
2064
+ }
2018
2065
  async function pickFreePort() {
2019
2066
  return new Promise((resolveOk, reject) => {
2020
2067
  const srv = createServer();
@@ -3973,6 +4020,11 @@ function claudeInstallFingerprint(baseSha, mode) {
3973
4020
  if (mode === "native") return baseSha;
3974
4021
  return createHash4("sha256").update(`${baseSha}\0claude-install=npm`).digest("hex");
3975
4022
  }
4023
+ function matchClaudeInstallFingerprint(stored, nativeFingerprint) {
4024
+ if (stored === nativeFingerprint) return "native";
4025
+ if (stored === claudeInstallFingerprint(nativeFingerprint, "npm")) return "npm";
4026
+ return null;
4027
+ }
3976
4028
  function readCliStamp() {
3977
4029
  return {
3978
4030
  cliVersion: process.env.AGENTBOX_CLI_VERSION ?? "unknown",
@@ -4031,21 +4083,69 @@ function resolveContextFilesFrom(fileMap, opts) {
4031
4083
  }
4032
4084
  return out;
4033
4085
  }
4086
+ var RUNTIME_ROOT_ENV = "AGENTBOX_RUNTIME_ROOT";
4087
+ function stagedRuntimeRootCandidates(self) {
4088
+ const candidates = [];
4089
+ const override = process.env[RUNTIME_ROOT_ENV];
4090
+ if (override) candidates.push(override);
4091
+ candidates.push(resolve4(self, "..", "runtime"), resolve4(self, "..", "..", "runtime"));
4092
+ return candidates;
4093
+ }
4094
+ function resolveStagedRuntimeRoot(self, marker) {
4095
+ for (const candidate of stagedRuntimeRootCandidates(self)) {
4096
+ if (existsSync6(resolve4(candidate, marker))) return candidate;
4097
+ }
4098
+ return void 0;
4099
+ }
4034
4100
  var BOX_IMAGE_REGISTRY = "ghcr.io/madarco/agentbox/box";
4035
4101
  function registryRefForSha(sha, registry = BOX_IMAGE_REGISTRY) {
4036
4102
  return `${registry}:sha-${sha.slice(0, 16)}`;
4037
4103
  }
4104
+ function ownerRepoFromOriginUrl(originUrl) {
4105
+ const url = originUrl.trim();
4106
+ if (url.length === 0) return null;
4107
+ let path = null;
4108
+ const scp = /^[^@/\s]+@[^:/\s]+:(.+)$/.exec(url);
4109
+ if (scp) {
4110
+ path = scp[1];
4111
+ } else {
4112
+ try {
4113
+ path = safeDecode(new URL(url).pathname);
4114
+ } catch {
4115
+ return null;
4116
+ }
4117
+ }
4118
+ const segments = path.replace(/\.git\/?$/, "").split("/").filter((s) => s.length > 0);
4119
+ if (segments.length < 2) return null;
4120
+ const owner = segments[segments.length - 2];
4121
+ const repo = segments[segments.length - 1];
4122
+ if (owner.length === 0 || repo.length === 0) return null;
4123
+ return { owner, repo };
4124
+ }
4125
+ function safeDecode(s) {
4126
+ try {
4127
+ return decodeURIComponent(s);
4128
+ } catch {
4129
+ return s;
4130
+ }
4131
+ }
4132
+ function projectSlugFromOriginUrl(originUrl) {
4133
+ const parsed = ownerRepoFromOriginUrl(originUrl);
4134
+ if (!parsed) return null;
4135
+ const clean = (s) => s.replace(/[^A-Za-z0-9._-]/g, "-");
4136
+ return `${clean(parsed.owner)}__${clean(parsed.repo)}`;
4137
+ }
4038
4138
 
4039
4139
  // ../../packages/sandbox-docker/dist/chunk-6T2XZZB5.js
4040
4140
  import { dirname as dirname23, resolve as resolve23 } from "path";
4041
4141
  import { fileURLToPath as fileURLToPath2 } from "url";
4042
- import { existsSync as existsSync6 } from "fs";
4142
+ import { existsSync as existsSync7 } from "fs";
4043
4143
  import { fileURLToPath } from "url";
4044
- import { dirname as dirname7, resolve as resolve4 } from "path";
4144
+ import { dirname as dirname7, resolve as resolve5 } from "path";
4045
4145
  var DEFAULT_BOX_IMAGE = "agentbox/box:dev";
4046
4146
  async function resolveClaudeInstallMode() {
4047
4147
  try {
4048
- const { loadEffectiveConfig } = await import("./dist-EQV4L7KP.js");
4148
+ const { loadEffectiveConfig } = await import("./dist-QB2IJ7OD.js");
4049
4149
  const cfg = await loadEffectiveConfig(process.cwd());
4050
4150
  return cfg.effective.box.claudeInstall;
4051
4151
  } catch {
@@ -4055,17 +4155,17 @@ async function resolveClaudeInstallMode() {
4055
4155
  var here = dirname7(fileURLToPath(import.meta.url));
4056
4156
  function resolveDockerBuild() {
4057
4157
  const override = process.env.AGENTBOX_DOCKER_CONTEXT;
4058
- if (override && existsSync6(resolve4(override, "Dockerfile.box"))) {
4059
- return { dockerfile: resolve4(override, "Dockerfile.box"), context: override };
4158
+ if (override && existsSync7(resolve5(override, "Dockerfile.box"))) {
4159
+ return { dockerfile: resolve5(override, "Dockerfile.box"), context: override };
4060
4160
  }
4061
- const staged = resolve4(here, "..", "runtime", "docker");
4062
- if (existsSync6(resolve4(staged, "Dockerfile.box"))) {
4063
- return { dockerfile: resolve4(staged, "Dockerfile.box"), context: staged };
4161
+ const staged = resolve5(here, "..", "runtime", "docker");
4162
+ if (existsSync7(resolve5(staged, "Dockerfile.box"))) {
4163
+ return { dockerfile: resolve5(staged, "Dockerfile.box"), context: staged };
4064
4164
  }
4065
- const packageRoot = resolve4(here, "..");
4165
+ const packageRoot = resolve5(here, "..");
4066
4166
  return {
4067
- dockerfile: resolve4(packageRoot, "Dockerfile.box"),
4068
- context: resolve4(packageRoot, "..", "..")
4167
+ dockerfile: resolve5(packageRoot, "Dockerfile.box"),
4168
+ context: resolve5(packageRoot, "..", "..")
4069
4169
  };
4070
4170
  }
4071
4171
  var { dockerfile: DOCKERFILE_PATH_RESOLVED, context: BUILD_CONTEXT_DIR_RESOLVED } = resolveDockerBuild();
@@ -4155,7 +4255,7 @@ async function buildImage(opts = {}) {
4155
4255
  return ref;
4156
4256
  }
4157
4257
  async function pullOrBuild(ref, fingerprint, opts = {}) {
4158
- const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-75DIZ55S-2IFNUHHM.js");
4258
+ const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-75DIZ55S-P5FHEORG.js");
4159
4259
  const registry = opts.registry ?? BOX_IMAGE_REGISTRY;
4160
4260
  const allowPull = opts.allowPull !== false;
4161
4261
  if (allowPull && registry && fingerprint) {
@@ -4182,7 +4282,7 @@ async function pullOrBuild(ref, fingerprint, opts = {}) {
4182
4282
  return { source: "built" };
4183
4283
  }
4184
4284
  async function ensureImage(ref = DEFAULT_BOX_IMAGE, opts = {}) {
4185
- const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedMatches: preparedMatches2 } = await import("./prepared-state-75DIZ55S-2IFNUHHM.js");
4285
+ const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedMatches: preparedMatches2 } = await import("./prepared-state-75DIZ55S-P5FHEORG.js");
4186
4286
  const claudeInstall = opts.claudeInstall ?? await resolveClaudeInstallMode();
4187
4287
  const rawFingerprint = await computeDockerContextFingerprint2({
4188
4288
  contextDir: opts.contextDir
@@ -4236,7 +4336,7 @@ function classifyDockerBaseFreshness(input) {
4236
4336
  return { state: "fresh" };
4237
4337
  }
4238
4338
  async function evaluateDockerBaseFreshness(opts = {}) {
4239
- const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2 } = await import("./prepared-state-75DIZ55S-2IFNUHHM.js");
4339
+ const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2 } = await import("./prepared-state-75DIZ55S-P5FHEORG.js");
4240
4340
  const ref = opts.ref ?? DEFAULT_BOX_IMAGE;
4241
4341
  const imagePresent = await imageExists(ref);
4242
4342
  if (!imagePresent) return { state: "unprepared" };
@@ -4289,6 +4389,7 @@ function preparedMatches(state, current) {
4289
4389
  }
4290
4390
 
4291
4391
  export {
4392
+ resolveAgentLauncher,
4292
4393
  parseReplacements,
4293
4394
  UserFacingError,
4294
4395
  BoxNotFoundError,
@@ -4339,6 +4440,7 @@ export {
4339
4440
  waitForSsh,
4340
4441
  SshTunnelManager,
4341
4442
  defaultBoxSshDir,
4443
+ boxSshDirForProvider,
4342
4444
  parseInboundSpec,
4343
4445
  resolveInboundSources,
4344
4446
  describeInbound,
@@ -4420,11 +4522,15 @@ export {
4420
4522
  writePreparedStateRaw,
4421
4523
  computeContextSha256,
4422
4524
  claudeInstallFingerprint,
4525
+ matchClaudeInstallFingerprint,
4423
4526
  readCliStamp,
4424
4527
  DOCKER_CONTEXT_FILE_MAP,
4425
4528
  resolveContextFilesFrom,
4529
+ RUNTIME_ROOT_ENV,
4530
+ resolveStagedRuntimeRoot,
4426
4531
  BOX_IMAGE_REGISTRY,
4427
4532
  registryRefForSha,
4533
+ projectSlugFromOriginUrl,
4428
4534
  DEFAULT_BOX_IMAGE,
4429
4535
  DOCKERFILE_PATH,
4430
4536
  BUILD_CONTEXT_DIR,
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __cr } from 'node:module'; import { fileURLToPath as __f } from 'node:url'; import { dirname as __d } from 'node:path'; const require = __cr(import.meta.url); const __filename = __f(import.meta.url); const __dirname = __d(__filename);
2
2
  import {
3
3
  STATE_DIR
4
- } from "./chunk-QSMPSV5Z.js";
4
+ } from "./chunk-A5Y7LJMU.js";
5
5
 
6
6
  // lib/auth-config.ts
7
7
  import { join } from "node:path";
@@ -27,6 +27,7 @@ function cookieSecure() {
27
27
  return hubProfile() === "vercel";
28
28
  }
29
29
  var AUTH_DB_PATH = join(STATE_DIR, "hub", "auth.db");
30
+ var STORE_DB_PATH = join(STATE_DIR, "hub", "store.db");
30
31
  var AUTH_TOKEN_PATH = join(STATE_DIR, "hub", "token");
31
32
  var HUB_TOKEN_COOKIE = "agentbox_hub_token";
32
33
 
@@ -36,6 +37,7 @@ export {
36
37
  authEnabled,
37
38
  cookieSecure,
38
39
  AUTH_DB_PATH,
40
+ STORE_DB_PATH,
39
41
  AUTH_TOKEN_PATH,
40
42
  HUB_TOKEN_COOKIE
41
43
  };
@@ -104,6 +104,7 @@ import {
104
104
  ensureIdeVolumes,
105
105
  ensureOpencodeInstalled,
106
106
  ensureOpencodeVolume,
107
+ ensurePortlessProxy,
107
108
  ensureRelay,
108
109
  ensureVscodeVolumes,
109
110
  execInBox,
@@ -126,6 +127,7 @@ import {
126
127
  inspectBox,
127
128
  installAuthorizedKey,
128
129
  installPortless,
130
+ installPortlessService,
129
131
  isShellSessionName,
130
132
  killShellSession,
131
133
  launchDockerdDaemon,
@@ -153,6 +155,8 @@ import {
153
155
  portlessDoctorRow,
154
156
  portlessGetUrl,
155
157
  portlessInstallHint,
158
+ portlessServiceHint,
159
+ portlessServiceStatus,
156
160
  portlessStartHint,
157
161
  portlessUnalias,
158
162
  projectCheckpointImageBytes,
@@ -214,6 +218,7 @@ import {
214
218
  stopHub,
215
219
  stopRelay,
216
220
  syncClaudeCredentials,
221
+ uninstallPortlessService,
217
222
  unpauseBox,
218
223
  uploadToBox,
219
224
  volumeClaudeCredentials,
@@ -225,7 +230,10 @@ import {
225
230
  vscodeServerVolumeName,
226
231
  waitForTmuxPaneContent,
227
232
  warmUpClaudeCredentials
228
- } from "./chunk-YJ5MJOXK.js";
233
+ } from "./chunk-4LYVBRBC.js";
234
+ import "./chunk-A5Y7LJMU.js";
235
+ import "./chunk-6AVSKCZJ.js";
236
+ import "./chunk-F2JI4GMX.js";
229
237
  import "./chunk-3LAHFDJF.js";
230
238
  import {
231
239
  AmbiguousBoxError,
@@ -276,9 +284,8 @@ import {
276
284
  stageDynamicSyncTarball,
277
285
  tagImage,
278
286
  writePreparedDockerState
279
- } from "./chunk-RXYOWSSN.js";
287
+ } from "./chunk-RMEUA6PA.js";
280
288
  import "./chunk-UDZ3VXRF.js";
281
- import "./chunk-QSMPSV5Z.js";
282
289
  import "./chunk-OG4KH2FZ.js";
283
290
  export {
284
291
  AmbiguousBoxError,
@@ -409,6 +416,7 @@ export {
409
416
  ensureImage,
410
417
  ensureOpencodeInstalled,
411
418
  ensureOpencodeVolume,
419
+ ensurePortlessProxy,
412
420
  ensureRelay,
413
421
  ensureVscodeVolumes,
414
422
  evaluateDockerBaseFreshness,
@@ -437,6 +445,7 @@ export {
437
445
  inspectBox,
438
446
  installAuthorizedKey,
439
447
  installPortless,
448
+ installPortlessService,
440
449
  isRealAgentCredential,
441
450
  isShellSessionName,
442
451
  killShellSession,
@@ -466,6 +475,8 @@ export {
466
475
  portlessDoctorRow,
467
476
  portlessGetUrl,
468
477
  portlessInstallHint,
478
+ portlessServiceHint,
479
+ portlessServiceStatus,
469
480
  portlessStartHint,
470
481
  portlessUnalias,
471
482
  preparedMatches,
@@ -542,6 +553,7 @@ export {
542
553
  stopRelay,
543
554
  syncClaudeCredentials,
544
555
  tagImage,
556
+ uninstallPortlessService,
545
557
  unpauseBox,
546
558
  uploadToBox,
547
559
  volumeClaudeCredentials,
@@ -1,4 +1,18 @@
1
1
  import { createRequire as __cr } from 'node:module'; import { fileURLToPath as __f } from 'node:url'; import { dirname as __d } from 'node:path'; const require = __cr(import.meta.url); const __filename = __f(import.meta.url); const __dirname = __d(__filename);
2
+ import {
3
+ Daytona,
4
+ DaytonaAuthenticationError,
5
+ DaytonaAuthorizationError,
6
+ DaytonaConflictError,
7
+ DaytonaConnectionError,
8
+ DaytonaError,
9
+ DaytonaNotFoundError,
10
+ DaytonaRateLimitError,
11
+ DaytonaTimeoutError,
12
+ DaytonaValidationError,
13
+ Image,
14
+ import_api_client
15
+ } from "./chunk-QYJ37CUJ.js";
2
16
  import {
3
17
  $e,
4
18
  BD,
@@ -20,12 +34,20 @@ import {
20
34
  resolveCloudCheckpoint,
21
35
  seedAgentStaticIntoCloudBox,
22
36
  writeCloudCheckpointManifest
23
- } from "./chunk-EHBJKZCL.js";
24
- import "./chunk-YJ5MJOXK.js";
37
+ } from "./chunk-O3K3ZGFF.js";
38
+ import "./chunk-4LYVBRBC.js";
39
+ import {
40
+ DAYTONA_VM_REGION,
41
+ loadEffectiveConfig,
42
+ resolveDaytonaClass
43
+ } from "./chunk-A5Y7LJMU.js";
44
+ import "./chunk-6AVSKCZJ.js";
45
+ import "./chunk-F2JI4GMX.js";
25
46
  import "./chunk-3LAHFDJF.js";
26
47
  import {
27
48
  BOX_IMAGE_REGISTRY,
28
49
  DOCKER_CONTEXT_FILE_MAP,
50
+ RUNTIME_ROOT_ENV,
29
51
  claudeInstallFingerprint,
30
52
  computeContextSha256,
31
53
  errSummary,
@@ -37,30 +59,11 @@ import {
37
59
  stageAllAgentStatic,
38
60
  writeManagedSecrets,
39
61
  writePreparedStateRaw
40
- } from "./chunk-RXYOWSSN.js";
62
+ } from "./chunk-RMEUA6PA.js";
41
63
  import "./chunk-UDZ3VXRF.js";
42
- import {
43
- DAYTONA_VM_REGION,
44
- loadEffectiveConfig,
45
- resolveDaytonaClass
46
- } from "./chunk-QSMPSV5Z.js";
47
- import {
48
- Daytona,
49
- DaytonaAuthenticationError,
50
- DaytonaAuthorizationError,
51
- DaytonaConflictError,
52
- DaytonaConnectionError,
53
- DaytonaError,
54
- DaytonaNotFoundError,
55
- DaytonaRateLimitError,
56
- DaytonaTimeoutError,
57
- DaytonaValidationError,
58
- Image,
59
- import_api_client
60
- } from "./chunk-QYJ37CUJ.js";
61
64
  import "./chunk-OG4KH2FZ.js";
62
65
 
63
- // ../../packages/sandbox-daytona/dist/chunk-HEUB57SZ.js
66
+ // ../../packages/sandbox-daytona/dist/chunk-RPIBMMAT.js
64
67
  import { existsSync } from "fs";
65
68
  import { dirname, resolve } from "path";
66
69
  import { fileURLToPath } from "url";
@@ -79,6 +82,13 @@ function resolveDockerfileContext() {
79
82
  if (override && existsSync(resolve(override, "Dockerfile.box"))) {
80
83
  return { dockerfile: resolve(override, "Dockerfile.box"), context: override };
81
84
  }
85
+ const runtimeRoot = process.env[RUNTIME_ROOT_ENV];
86
+ if (runtimeRoot) {
87
+ const ctx = resolve(runtimeRoot, "docker");
88
+ if (existsSync(resolve(ctx, "Dockerfile.box"))) {
89
+ return { dockerfile: resolve(ctx, "Dockerfile.box"), context: ctx };
90
+ }
91
+ }
82
92
  const here = dirname(fileURLToPath(import.meta.url));
83
93
  const staged = resolve(here, "..", "runtime", "docker");
84
94
  if (existsSync(resolve(staged, "Dockerfile.box"))) {
@@ -92,6 +102,11 @@ function resolveDockerfileContext() {
92
102
  return null;
93
103
  }
94
104
  function resolveDaytonaCustomClaudeMd() {
105
+ const runtimeRoot = process.env[RUNTIME_ROOT_ENV];
106
+ if (runtimeRoot) {
107
+ const overrideMd = resolve(runtimeRoot, "daytona", "custom-system-CLAUDE.md");
108
+ if (existsSync(overrideMd)) return overrideMd;
109
+ }
95
110
  const here = dirname(fileURLToPath(import.meta.url));
96
111
  const staged = resolve(here, "..", "runtime", "daytona", "custom-system-CLAUDE.md");
97
112
  if (existsSync(staged)) return staged;
@@ -1615,7 +1630,7 @@ var daytonaProvider = {
1615
1630
  // sandbox stopped, which kills the in-box daemons, so the capture has to
1616
1631
  // reconnect the box afterwards. See `makeDaytonaCheckpoint`.
1617
1632
  checkpoint: makeDaytonaCheckpoint(cloudProvider),
1618
- baseFingerprint: () => currentDaytonaBaseFingerprintLive()
1633
+ baseFingerprint: (claudeInstall) => currentDaytonaBaseFingerprintLive(claudeInstall)
1619
1634
  };
1620
1635
  var providerModule = {
1621
1636
  provider: daytonaProvider,
@@ -13,11 +13,19 @@ import {
13
13
  } from "./chunk-CKBHQ7OI.js";
14
14
  import {
15
15
  createCloudProvider
16
- } from "./chunk-EHBJKZCL.js";
16
+ } from "./chunk-O3K3ZGFF.js";
17
17
  import {
18
18
  detectPortless,
19
- portlessDoctorRow
20
- } from "./chunk-YJ5MJOXK.js";
19
+ portlessDoctorRow,
20
+ portlessServiceStatus
21
+ } from "./chunk-4LYVBRBC.js";
22
+ import {
23
+ loadEffectiveConfig,
24
+ setConfigValue,
25
+ unsetConfigValue
26
+ } from "./chunk-A5Y7LJMU.js";
27
+ import "./chunk-6AVSKCZJ.js";
28
+ import "./chunk-F2JI4GMX.js";
21
29
  import "./chunk-3LAHFDJF.js";
22
30
  import {
23
31
  SshTunnelManager,
@@ -34,6 +42,7 @@ import {
34
42
  readCliStamp,
35
43
  readPreparedStateRaw,
36
44
  resolveInboundSources,
45
+ resolveStagedRuntimeRoot,
37
46
  scpDownload,
38
47
  scpUpload,
39
48
  sshExec,
@@ -44,18 +53,13 @@ import {
44
53
  stageOpencodeStaticForUpload,
45
54
  waitForSsh,
46
55
  writePreparedStateRaw
47
- } from "./chunk-RXYOWSSN.js";
56
+ } from "./chunk-RMEUA6PA.js";
48
57
  import {
49
58
  execa
50
59
  } from "./chunk-UDZ3VXRF.js";
51
- import {
52
- loadEffectiveConfig,
53
- setConfigValue,
54
- unsetConfigValue
55
- } from "./chunk-QSMPSV5Z.js";
56
60
  import "./chunk-OG4KH2FZ.js";
57
61
 
58
- // ../../packages/sandbox-digitalocean/dist/chunk-7SUT53X5.js
62
+ // ../../packages/sandbox-digitalocean/dist/chunk-SLMKBKO4.js
59
63
  import { existsSync, readFileSync } from "fs";
60
64
  import { homedir } from "os";
61
65
  import { resolve } from "path";
@@ -829,16 +833,7 @@ function normalizeSourceCidr(raw) {
829
833
  }
830
834
  var SELF = dirname2(fileURLToPath(import.meta.url));
831
835
  function findStagedCliRuntimeRoot() {
832
- const candidates = [
833
- resolve3(SELF, "..", "runtime"),
834
- // <cliRoot>/dist/.. → <cliRoot> then /runtime
835
- resolve3(SELF, "..", "..", "runtime")
836
- // chunk-NNNN.js at <cliRoot>/dist/<sub>/.. → <cliRoot>/runtime
837
- ];
838
- for (const c of candidates) {
839
- if (existsSync3(resolve3(c, "digitalocean", "scripts", "install-box.sh"))) return c;
840
- }
841
- return void 0;
836
+ return resolveStagedRuntimeRoot(SELF, "digitalocean/scripts/install-box.sh");
842
837
  }
843
838
  var RUNTIME_ASSETS = [
844
839
  { name: "install-box.sh", remoteBasename: "agentbox-install.sh", remoteMode: 493 },
@@ -1505,6 +1500,7 @@ async function ensureTunnel(sandboxId, state, vpsIp) {
1505
1500
  await tunnels.open({
1506
1501
  boxId: sandboxId,
1507
1502
  vpsHost: vpsIp,
1503
+ vpsUser: VPS_USER,
1508
1504
  identity: state.identity
1509
1505
  });
1510
1506
  }
@@ -1640,12 +1636,13 @@ var digitaloceanBackend = {
1640
1636
  return plan ? {
1641
1637
  sandboxId,
1642
1638
  inbound: inboundPolicy,
1639
+ publicHost: vpsIp,
1643
1640
  resources: {
1644
1641
  cpu: plan.vcpus,
1645
1642
  memory: Math.round(plan.memory / 1024),
1646
1643
  disk: plan.disk
1647
1644
  }
1648
- } : { sandboxId, inbound: inboundPolicy };
1645
+ } : { sandboxId, inbound: inboundPolicy, publicHost: vpsIp };
1649
1646
  } catch (err) {
1650
1647
  if (dropletId !== null) {
1651
1648
  progress(`cleanup \u2014 deleting droplet ${String(dropletId)} after provision failure`);
@@ -1678,7 +1675,7 @@ var digitaloceanBackend = {
1678
1675
  const id = Number.parseInt(sandboxId, 10);
1679
1676
  if (!Number.isFinite(id)) return null;
1680
1677
  const droplet = await client().getDroplet(id);
1681
- return droplet ? { sandboxId } : null;
1678
+ return droplet ? { sandboxId, publicHost: publicIpv4(droplet) } : null;
1682
1679
  },
1683
1680
  async list() {
1684
1681
  const droplets = await client().listDroplets({ tag_name: "agentbox" });
@@ -1926,7 +1923,7 @@ async function doctorChecks() {
1926
1923
  detail: "not baked",
1927
1924
  hint: "`agentbox prepare --provider digitalocean`"
1928
1925
  };
1929
- const portlessRes = portlessDoctorRow(await detectPortless());
1926
+ const portlessRes = portlessDoctorRow(await detectPortless(), await portlessServiceStatus());
1930
1927
  return [credRes, snapRes, portlessRes];
1931
1928
  } catch (err) {
1932
1929
  return [{ label: "credentials", status: "warn", detail: errSummary(err) }];
@@ -1939,7 +1936,7 @@ var cloudProvider = createCloudProvider(digitaloceanBackend, {
1939
1936
  var digitaloceanProvider = {
1940
1937
  ...cloudProvider,
1941
1938
  prepare: prepareDigitalOceanProvider,
1942
- baseFingerprint: () => currentDigitalOceanBaseFingerprintLive()
1939
+ baseFingerprint: (claudeInstall) => currentDigitalOceanBaseFingerprintLive(claudeInstall)
1943
1940
  };
1944
1941
  var providerModule = {
1945
1942
  provider: digitaloceanProvider,
@@ -18,8 +18,11 @@ import {
18
18
  renderInnerCommand,
19
19
  resolveCloudCheckpoint,
20
20
  writeCloudCheckpointManifest
21
- } from "./chunk-EHBJKZCL.js";
22
- import "./chunk-YJ5MJOXK.js";
21
+ } from "./chunk-O3K3ZGFF.js";
22
+ import "./chunk-4LYVBRBC.js";
23
+ import "./chunk-A5Y7LJMU.js";
24
+ import "./chunk-6AVSKCZJ.js";
25
+ import "./chunk-F2JI4GMX.js";
23
26
  import "./chunk-3LAHFDJF.js";
24
27
  import {
25
28
  UserFacingError,
@@ -31,15 +34,15 @@ import {
31
34
  readCliStamp,
32
35
  readPreparedStateRaw,
33
36
  recordBox,
37
+ resolveStagedRuntimeRoot,
34
38
  stageAllAgentStatic,
35
39
  writeManagedSecrets,
36
40
  writePreparedStateRaw
37
- } from "./chunk-RXYOWSSN.js";
41
+ } from "./chunk-RMEUA6PA.js";
38
42
  import "./chunk-UDZ3VXRF.js";
39
- import "./chunk-QSMPSV5Z.js";
40
43
  import "./chunk-OG4KH2FZ.js";
41
44
 
42
- // ../../packages/sandbox-e2b/dist/chunk-WQRH5SXA.js
45
+ // ../../packages/sandbox-e2b/dist/chunk-L6V5OAAM.js
43
46
  import { existsSync, readFileSync } from "fs";
44
47
  import { homedir } from "os";
45
48
  import { resolve } from "path";
@@ -184,11 +187,7 @@ function maskKey(value) {
184
187
  }
185
188
  var SELF = dirname(fileURLToPath(import.meta.url));
186
189
  function findStagedCliRuntimeRoot() {
187
- const candidates = [resolve3(SELF, "..", "runtime"), resolve3(SELF, "..", "..", "runtime")];
188
- for (const c of candidates) {
189
- if (existsSync2(resolve3(c, "e2b", "scripts", "build-template.sh"))) return c;
190
- }
191
- return void 0;
190
+ return resolveStagedRuntimeRoot(SELF, "e2b/scripts/build-template.sh");
192
191
  }
193
192
  var RUNTIME_ASSETS = [
194
193
  { name: "build-template.sh", remotePath: "/tmp/agentbox-build-template.sh", remoteMode: 493 },
@@ -1035,7 +1034,7 @@ var e2bProvider = {
1035
1034
  prepare: prepareE2bProvider,
1036
1035
  buildAttach: buildE2bAttach,
1037
1036
  checkpoint: e2bCheckpoint,
1038
- baseFingerprint: () => currentE2bBaseFingerprintLive()
1037
+ baseFingerprint: (claudeInstall) => currentE2bBaseFingerprintLive(claudeInstall)
1039
1038
  };
1040
1039
  var providerModule = {
1041
1040
  provider: e2bProvider,
@@ -4,6 +4,7 @@ import {
4
4
  CLOUD_PROVIDER_NAMES,
5
5
  DAYTONA_VM_REGION,
6
6
  GLOBAL_CONFIG_FILE,
7
+ HUB_ROUTABLE_PROVIDER_NAMES,
7
8
  KEY_REGISTRY,
8
9
  PROJECTS_DIR,
9
10
  PROVIDERS,
@@ -18,11 +19,13 @@ import {
18
19
  defaultCheckpointConfigKey,
19
20
  findProjectRoot,
20
21
  hashProjectPath,
22
+ isHubRoutableProvider,
21
23
  isProviderKind,
22
24
  listProjectsConfigured,
23
25
  loadEffectiveConfig,
24
26
  loadProjectAgentboxDefaults,
25
27
  lookupKey,
28
+ mergeConfigYaml,
26
29
  parseUserConfig,
27
30
  parseUserConfigObject,
28
31
  perProviderConfigKey,
@@ -45,13 +48,14 @@ import {
45
48
  unregisterProject,
46
49
  unsetConfigValue,
47
50
  workspaceConfigFile
48
- } from "./chunk-QSMPSV5Z.js";
51
+ } from "./chunk-A5Y7LJMU.js";
49
52
  import "./chunk-OG4KH2FZ.js";
50
53
  export {
51
54
  BUILT_IN_DEFAULTS,
52
55
  CLOUD_PROVIDER_NAMES,
53
56
  DAYTONA_VM_REGION,
54
57
  GLOBAL_CONFIG_FILE,
58
+ HUB_ROUTABLE_PROVIDER_NAMES,
55
59
  KEY_REGISTRY,
56
60
  PROJECTS_DIR,
57
61
  PROVIDERS,
@@ -66,11 +70,13 @@ export {
66
70
  defaultCheckpointConfigKey,
67
71
  findProjectRoot,
68
72
  hashProjectPath,
73
+ isHubRoutableProvider,
69
74
  isProviderKind,
70
75
  listProjectsConfigured,
71
76
  loadEffectiveConfig,
72
77
  loadProjectAgentboxDefaults,
73
78
  lookupKey,
79
+ mergeConfigYaml,
74
80
  parseUserConfig,
75
81
  parseUserConfigObject,
76
82
  perProviderConfigKey,