@madarco/agentbox 0.22.1 → 0.23.0

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 (217) hide show
  1. package/CHANGELOG.md +93 -0
  2. package/dist/{_cloud-attach-YH2SU75S.js → _cloud-attach-RFPLNACE.js} +5 -5
  3. package/dist/{chunk-GGWVTWJM.js → chunk-6OQENOJZ.js} +16 -13
  4. package/dist/chunk-6OQENOJZ.js.map +1 -0
  5. package/dist/{chunk-ALEYDWAO.js → chunk-CKC3CP7Y.js} +494 -148
  6. package/dist/chunk-CKC3CP7Y.js.map +1 -0
  7. package/dist/{chunk-O67ZESNL.js → chunk-ERMU7RMK.js} +43 -58
  8. package/dist/{chunk-O67ZESNL.js.map → chunk-ERMU7RMK.js.map} +1 -1
  9. package/dist/chunk-G3H2L3O2.js +0 -0
  10. package/dist/{chunk-KBVD2UUQ.js → chunk-JXDSSSXS.js} +3 -3
  11. package/dist/{chunk-CDEJ2GQK.js → chunk-L5SOSNQI.js} +4 -4
  12. package/dist/{chunk-W2FLHB54.js → chunk-Q626V2YX.js} +2 -2
  13. package/dist/{chunk-YZXXBHWG.js → chunk-QGL734YX.js} +170 -53
  14. package/dist/chunk-QGL734YX.js.map +1 -0
  15. package/dist/{chunk-VBSRJG53.js → chunk-QT3SHMLY.js} +9 -1
  16. package/dist/chunk-QT3SHMLY.js.map +1 -0
  17. package/dist/{chunk-O2NDZQHN.js → chunk-QVWGQJV6.js} +2 -2
  18. package/dist/chunk-WJFZJZIM.js +0 -0
  19. package/dist/cloud-poller-SUNA6ZQC-7M5LJHHE.js +0 -0
  20. package/dist/{dist-QBXEP4VY.js → dist-2BTJQUJS.js} +2 -2
  21. package/dist/{dist-UR2DB2HT.js → dist-GEHCZJCS.js} +6 -6
  22. package/dist/{dist-LJHS4PTC.js → dist-GJCIKH2C.js} +6 -6
  23. package/dist/{dist-EJXUKIR7.js → dist-JFUUDAI3.js} +18 -4
  24. package/dist/{dist-QNV4H6NN.js → dist-W5476E2U.js} +6 -6
  25. package/dist/{dist-YECTRVGD.js → dist-Z3GSHEFO.js} +8 -7
  26. package/dist/index.js +1339 -782
  27. package/dist/index.js.map +1 -1
  28. package/dist/{prepared-state-5FIGV4BE-BMUK63FD.js → prepared-state-LW2PKTEQ-5YMKG7UN.js} +2 -2
  29. package/package.json +28 -27
  30. package/runtime/_shared/agentbox-checkpoint-cleanup +0 -0
  31. package/runtime/_shared/agentbox-dockerd-start +0 -0
  32. package/runtime/_shared/agentbox-open +0 -0
  33. package/runtime/_shared/agentbox-portless-trust +0 -0
  34. package/runtime/_shared/agentbox-vnc-start +0 -0
  35. package/runtime/_shared/ctl.cjs +13 -1
  36. package/runtime/_shared/gh-shim +0 -0
  37. package/runtime/_shared/git-shim +0 -0
  38. package/runtime/_shared/linear-shim +0 -0
  39. package/runtime/_shared/ntn-shim +0 -0
  40. package/runtime/docker/Dockerfile.box +12 -0
  41. package/runtime/docker/packages/ctl/dist/bin.cjs +13 -1
  42. package/runtime/docker/packages/sandbox-docker/scripts/agentbox-checkpoint-cleanup +0 -0
  43. package/runtime/docker/packages/sandbox-docker/scripts/agentbox-dockerd-start +0 -0
  44. package/runtime/docker/packages/sandbox-docker/scripts/agentbox-open +0 -0
  45. package/runtime/docker/packages/sandbox-docker/scripts/agentbox-portless-trust +0 -0
  46. package/runtime/docker/packages/sandbox-docker/scripts/agentbox-sshd-start +44 -0
  47. package/runtime/docker/packages/sandbox-docker/scripts/agentbox-vnc-start +0 -0
  48. package/runtime/docker/packages/sandbox-docker/scripts/chromium-resolver +0 -0
  49. package/runtime/docker/packages/sandbox-docker/scripts/gh-shim +0 -0
  50. package/runtime/docker/packages/sandbox-docker/scripts/git-shim +0 -0
  51. package/runtime/docker/packages/sandbox-docker/scripts/linear-shim +0 -0
  52. package/runtime/docker/packages/sandbox-docker/scripts/ntn-shim +0 -0
  53. package/runtime/e2b/agentbox-checkpoint-cleanup +0 -0
  54. package/runtime/e2b/agentbox-dockerd-start +0 -0
  55. package/runtime/e2b/agentbox-open +0 -0
  56. package/runtime/e2b/agentbox-vnc-start +0 -0
  57. package/runtime/e2b/ctl.cjs +13 -1
  58. package/runtime/e2b/gh-shim +0 -0
  59. package/runtime/e2b/git-shim +0 -0
  60. package/runtime/e2b/linear-shim +0 -0
  61. package/runtime/e2b/ntn-shim +0 -0
  62. package/runtime/e2b/scripts/build-template.sh +0 -0
  63. package/runtime/hetzner/agentbox-checkpoint-cleanup +0 -0
  64. package/runtime/hetzner/agentbox-dockerd-start +0 -0
  65. package/runtime/hetzner/agentbox-open +0 -0
  66. package/runtime/hetzner/agentbox-portless-trust +0 -0
  67. package/runtime/hetzner/agentbox-vnc-start +0 -0
  68. package/runtime/hetzner/ctl.cjs +13 -1
  69. package/runtime/hetzner/gh-shim +0 -0
  70. package/runtime/hetzner/git-shim +0 -0
  71. package/runtime/hetzner/linear-shim +0 -0
  72. package/runtime/hetzner/ntn-shim +0 -0
  73. package/runtime/hetzner/scripts/install-box.sh +0 -0
  74. package/runtime/hub/apps/hub/.next/BUILD_ID +1 -1
  75. package/runtime/hub/apps/hub/.next/app-path-routes-manifest.json +3 -0
  76. package/runtime/hub/apps/hub/.next/build-manifest.json +3 -3
  77. package/runtime/hub/apps/hub/.next/routes-manifest.json +22 -0
  78. package/runtime/hub/apps/hub/.next/server/app/(auth)/signin/page_client-reference-manifest.js +1 -1
  79. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/open/route/app-paths-manifest.json +3 -0
  80. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/open/route/build-manifest.json +9 -0
  81. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/open/route/server-reference-manifest.json +4 -0
  82. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/open/route.js +9 -0
  83. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/open/route.js.map +5 -0
  84. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/open/route.js.nft.json +1 -0
  85. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/open/route_client-reference-manifest.js +3 -0
  86. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route/app-paths-manifest.json +3 -0
  87. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route/build-manifest.json +9 -0
  88. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route/server-reference-manifest.json +4 -0
  89. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route.js +9 -0
  90. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route.js.map +5 -0
  91. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route.js.nft.json +1 -0
  92. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route_client-reference-manifest.js +3 -0
  93. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/open-targets/route/app-paths-manifest.json +3 -0
  94. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/open-targets/route/build-manifest.json +9 -0
  95. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/open-targets/route/server-reference-manifest.json +4 -0
  96. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/open-targets/route.js +8 -0
  97. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/open-targets/route.js.map +5 -0
  98. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/open-targets/route.js.nft.json +1 -0
  99. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/open-targets/route_client-reference-manifest.js +3 -0
  100. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page_client-reference-manifest.js +1 -1
  101. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page/server-reference-manifest.json +12 -0
  102. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page_client-reference-manifest.js +1 -1
  103. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page/server-reference-manifest.json +12 -0
  104. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  105. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page/server-reference-manifest.json +12 -0
  106. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page_client-reference-manifest.js +1 -1
  107. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page_client-reference-manifest.js +1 -1
  108. package/runtime/hub/apps/hub/.next/server/app/_global-error.html +1 -1
  109. package/runtime/hub/apps/hub/.next/server/app/_global-error.rsc +1 -1
  110. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  111. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  112. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  113. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  114. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  115. package/runtime/hub/apps/hub/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  116. package/runtime/hub/apps/hub/.next/server/app-paths-manifest.json +3 -0
  117. package/runtime/hub/apps/hub/.next/server/chunks/0m4a_kysely_dist_095p8vu._.js +1 -1
  118. package/runtime/hub/apps/hub/.next/server/chunks/0ssw__next-internal_server_app_(dashboard)_api_v1_open-targets_route_actions_1z-vd4m.js +3 -0
  119. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_boxes_[id]_open_route_actions_1agwl8h.js +3 -0
  120. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_boxes_[id]_rename_route_actions_0mf3a9p.js +3 -0
  121. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0d1lmiq._.js +1 -1
  122. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0keu6we._.js +1 -1
  123. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ql4fjo._.js +1 -1
  124. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0szd4sh._.js +3 -0
  125. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0vs8fma._.js +1 -1
  126. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0w9ud8u._.js +1 -1
  127. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0yhb0gc._.js +1 -1
  128. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1-0flwc._.js +3 -0
  129. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1a50b07._.js +3 -0
  130. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1bqbkd5._.js +2 -2
  131. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1dn_3i1._.js +1 -1
  132. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1hqla7-._.js +1 -1
  133. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1js2jdv._.js +1 -1
  134. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1nepkp-._.js +1 -1
  135. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1q5bqse._.js +1 -1
  136. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1qa4a0v._.js +2 -2
  137. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1thipug._.js +3 -0
  138. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1v9om6g._.js +1 -1
  139. package/runtime/hub/apps/hub/.next/server/chunks/_06f2faq._.js +1 -1
  140. package/runtime/hub/apps/hub/.next/server/chunks/_0760z6y._.js +14 -14
  141. package/runtime/hub/apps/hub/.next/server/chunks/_0f3molr._.js +3 -0
  142. package/runtime/hub/apps/hub/.next/server/chunks/_0lgs9kd._.js +3 -0
  143. package/runtime/hub/apps/hub/.next/server/chunks/ssr/044u_hub__next-internal_server_app_(dashboard)_projects_[id]_page_actions_15f56np.js +1 -1
  144. package/runtime/hub/apps/hub/.next/server/chunks/ssr/_09gdzmo._.js +1 -1
  145. package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0ozyjt1._.js +1 -1
  146. package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0ro6vh6._.js +1 -1
  147. package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0tgpglr._.js +1 -1
  148. package/runtime/hub/apps/hub/.next/server/chunks/ssr/_1laion6._.js +1 -1
  149. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_0b_hsjl._.js +1 -1
  150. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub__next-internal_server_app_(dashboard)_boxes_[id]_page_actions_0k7kgn2.js +1 -1
  151. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub__next-internal_server_app_(dashboard)_page_actions_1t3u0xy.js +1 -1
  152. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_app_(dashboard)_boxes_[id]_page_tsx_1-j_972._.js +1 -1
  153. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_app_(dashboard)_boxes_components_box-table_tsx_0a9pyn_._.js +1 -1
  154. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_components_1z1p98f._.js +1 -1
  155. package/runtime/hub/apps/hub/.next/server/functions-config-manifest.json +3 -0
  156. package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +3 -3
  157. package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -1
  158. package/runtime/hub/apps/hub/.next/server/server-reference-manifest.js +1 -1
  159. package/runtime/hub/apps/hub/.next/server/server-reference-manifest.json +24 -0
  160. package/runtime/hub/apps/hub/.next/static/chunks/1py5tlz57h7ra.js +1 -0
  161. package/runtime/hub/apps/hub/.next/static/chunks/{3y2c7woqhtx9s.js → 23fswvjrabu89.js} +1 -1
  162. package/runtime/hub/apps/hub/.next/static/chunks/2xc1sm79a6tsb.js +1 -0
  163. package/runtime/hub/apps/hub/.next/static/chunks/3nedwutnzpdis.css +3 -0
  164. package/runtime/hub/apps/hub/.next/static/chunks/3p86ecqhr_7yy.js +1 -0
  165. package/runtime/hub/apps/hub/.next/static/chunks/3qof5hg87qf5n.js +1 -0
  166. package/runtime/hub/apps/hub/{auth-YBXDRLHG.js → auth-675P3LQS.js} +2 -2
  167. package/runtime/hub/apps/hub/{auth-config-LJGI76HI.js → auth-config-AOBEKRZQ.js} +2 -2
  168. package/runtime/hub/apps/hub/{chunk-OBKLTPIR.js → chunk-56YQBVN2.js} +1 -1
  169. package/runtime/hub/apps/hub/{chunk-JDA7BPPN.js → chunk-6HD4PARX.js} +9 -9
  170. package/runtime/hub/apps/hub/{chunk-AKLBSCSZ.js → chunk-EXQCBM5Q.js} +8 -0
  171. package/runtime/hub/apps/hub/{chunk-V5KGFHCF.js → chunk-JQFB2CNA.js} +132 -16
  172. package/runtime/hub/apps/hub/{chunk-LJG4CEGS.js → chunk-K6RA5GJI.js} +412 -117
  173. package/runtime/hub/apps/hub/{dist-ELOY2IUE.js → dist-3HR4RIPE.js} +17 -3
  174. package/runtime/hub/apps/hub/{dist-GGM4BUKM.js → dist-7GNKBKFV.js} +29 -42
  175. package/runtime/hub/apps/hub/{dist-BF54UNHK.js → dist-JWVTVHBT.js} +4 -4
  176. package/runtime/hub/apps/hub/{dist-CM4YAQLI.js → dist-OUNL2TCW.js} +4 -4
  177. package/runtime/hub/apps/hub/{dist-IENF7YOD.js → dist-STQK5XM6.js} +1 -1
  178. package/runtime/hub/apps/hub/{dist-FDBOJ74K.js → dist-TOHA4OA5.js} +4 -4
  179. package/runtime/hub/apps/hub/{hub-token-EW32VDIU.js → hub-token-2BZFBBW3.js} +2 -2
  180. package/runtime/hub/apps/hub/{prepared-state-5FIGV4BE-FIXKBF5A.js → prepared-state-LW2PKTEQ-7BCXARGA.js} +1 -1
  181. package/runtime/hub/apps/hub/server.js +153 -31
  182. package/runtime/relay/bin.cjs +13 -1
  183. package/runtime/vercel/agentbox-checkpoint-cleanup +0 -0
  184. package/runtime/vercel/agentbox-dockerd-start +0 -0
  185. package/runtime/vercel/agentbox-open +0 -0
  186. package/runtime/vercel/agentbox-vnc-start +0 -0
  187. package/runtime/vercel/ctl.cjs +13 -1
  188. package/runtime/vercel/gh-shim +0 -0
  189. package/runtime/vercel/git-shim +0 -0
  190. package/runtime/vercel/linear-shim +0 -0
  191. package/runtime/vercel/ntn-shim +0 -0
  192. package/runtime/vercel/scripts/provision.sh +0 -0
  193. package/LICENSE +0 -21
  194. package/dist/chunk-ALEYDWAO.js.map +0 -1
  195. package/dist/chunk-GGWVTWJM.js.map +0 -1
  196. package/dist/chunk-VBSRJG53.js.map +0 -1
  197. package/dist/chunk-YZXXBHWG.js.map +0 -1
  198. package/runtime/hub/apps/hub/.next/static/chunks/0dx4alyqu7cq1.css +0 -3
  199. package/runtime/hub/apps/hub/.next/static/chunks/0lq354ziiwxxl.js +0 -1
  200. package/runtime/hub/apps/hub/.next/static/chunks/11vmjdy3390ik.js +0 -1
  201. package/runtime/hub/apps/hub/.next/static/chunks/1svigjdfotduh.js +0 -1
  202. package/runtime/hub/apps/hub/.next/static/chunks/2d5e6t-5j4etp.js +0 -1
  203. /package/dist/{_cloud-attach-YH2SU75S.js.map → _cloud-attach-RFPLNACE.js.map} +0 -0
  204. /package/dist/{chunk-KBVD2UUQ.js.map → chunk-JXDSSSXS.js.map} +0 -0
  205. /package/dist/{chunk-CDEJ2GQK.js.map → chunk-L5SOSNQI.js.map} +0 -0
  206. /package/dist/{chunk-W2FLHB54.js.map → chunk-Q626V2YX.js.map} +0 -0
  207. /package/dist/{chunk-O2NDZQHN.js.map → chunk-QVWGQJV6.js.map} +0 -0
  208. /package/dist/{dist-EJXUKIR7.js.map → dist-2BTJQUJS.js.map} +0 -0
  209. /package/dist/{dist-UR2DB2HT.js.map → dist-GEHCZJCS.js.map} +0 -0
  210. /package/dist/{dist-LJHS4PTC.js.map → dist-GJCIKH2C.js.map} +0 -0
  211. /package/dist/{dist-QBXEP4VY.js.map → dist-JFUUDAI3.js.map} +0 -0
  212. /package/dist/{dist-QNV4H6NN.js.map → dist-W5476E2U.js.map} +0 -0
  213. /package/dist/{dist-YECTRVGD.js.map → dist-Z3GSHEFO.js.map} +0 -0
  214. /package/dist/{prepared-state-5FIGV4BE-BMUK63FD.js.map → prepared-state-LW2PKTEQ-5YMKG7UN.js.map} +0 -0
  215. /package/runtime/hub/apps/hub/.next/static/{TpPTWVdZDxqrPlONtJcR5 → 6WtaFwavHBpin3eT7-HjR}/_buildManifest.js +0 -0
  216. /package/runtime/hub/apps/hub/.next/static/{TpPTWVdZDxqrPlONtJcR5 → 6WtaFwavHBpin3eT7-HjR}/_clientMiddlewareManifest.js +0 -0
  217. /package/runtime/hub/apps/hub/.next/static/{TpPTWVdZDxqrPlONtJcR5 → 6WtaFwavHBpin3eT7-HjR}/_ssgManifest.js +0 -0
package/CHANGELOG.md CHANGED
@@ -9,6 +9,99 @@ Entries are generated from the commit history with `/release-notes` and then
9
9
  hand-reviewed — they describe what changed for someone using the `agentbox`
10
10
  CLI, not the raw commits.
11
11
 
12
+ ## [0.23.0] - 2026-07-08
13
+
14
+ ### Added
15
+
16
+ - **Every Docker box now runs an SSH server** — loopback-only (published on
17
+ `127.0.0.1` on an ephemeral port, never reachable off-host), authenticated by
18
+ a per-box ed25519 key, and written to a managed `~/.ssh/config` alias, so
19
+ `ssh <box>` just works and lands in `/workspace`. Boxes created before this
20
+ release predate the sshd — recreate them to get it.
21
+ - **`agentbox open` live-mounts the box** — `/workspace` is mounted over sshfs
22
+ at `~/.agentbox/mounts/<box>/` and revealed in Finder, with edits flowing
23
+ both ways (Docker, Hetzner, and Daytona boxes); `--unmount` tears it down.
24
+ Needs `brew install macfuse sshfs` — `agentbox doctor` now checks both
25
+ (optional, warn-only). Vercel/E2B have no SSH and fail fast with a pointer to
26
+ `agentbox download`; pre-sshd Docker boxes keep the old rsync export.
27
+ - **Open a box in the Claude desktop app: `agentbox open <box> --in claude`.**
28
+ Claude has no add-SSH deep link, so AgentBox writes the box's SSH alias into
29
+ the app's own settings (`sshConfigs` in `~/.claude/settings.json`) and
30
+ launches it — pick the box from the Environment dropdown, where the app can
31
+ also list and resume the Claude sessions already recorded inside the box.
32
+ Entries are upserted by id, never touch the rest of your settings, and
33
+ are pruned automatically once the box is gone. Docker + Hetzner boxes.
34
+ - `--in codex` now works for Docker boxes too (was Hetzner-only), and `finder`
35
+ is a first-class target in `open --targets` so the tray/hub can offer it.
36
+ - **Hub: "Apps" launchers on the box detail page** — open a box in Claude,
37
+ Codex, VS Code/Cursor, cmux, Herdr, iTerm2, or Finder from the web UI. Apps
38
+ show only when installed on the host and eligible for the box's provider;
39
+ localhost macOS hubs only. New `GET /api/v1/open-targets` and
40
+ `POST /api/v1/boxes/:id/open` endpoints.
41
+ - **Hub: the create modal now tells the truth about the base image** — Docker
42
+ freshness is actually probed (was hardcoded "fresh"), a first-run or stale
43
+ base shows a bake note and auto-chains a streamed "Building base image…"
44
+ prepare job into the create, and a stale cloud base offers Rebuild & Create /
45
+ Use Existing Image.
46
+ - **Hub REST widened for native clients** — `GET /api/v1/boxes` now carries
47
+ state, provider, project, git worktrees, and per-agent session/activity
48
+ fields (so the tray app can run on REST instead of shelling the CLI), and
49
+ `POST /api/v1/boxes/:id/start` starts a stopped box.
50
+ - **Provider SDK 2.0.0 (breaking)** — `BoxRecord.cloud.ssh` moved to top-level
51
+ `BoxRecord.ssh` (now with `port`), plus the new Docker sshd fields.
52
+ `SDK_API_VERSION` is now `2`; v1 plugins still load. Plugin authors:
53
+ republish against `@madarco/agentbox-provider-sdk@2.0.0`.
54
+
55
+ ### Fixed
56
+
57
+ - **`agentbox self-update` actually updates the package now.** A globally
58
+ installed CLI invoked from the shell was misdetected as "running from
59
+ source" (no npm user-agent, and argv is the bin symlink), so the
60
+ `npm install -g` step was silently skipped. Detection now resolves the bin
61
+ symlink (npm's `lib/node_modules`, pnpm's global dir; a project-local
62
+ install still skips), and the "newer version available" nudge only appears
63
+ when self-update can actually act.
64
+ - VS Code/Cursor are detected — and launched — via the `.app` bundle when the
65
+ `code`/`cursor` PATH shim isn't installed, so the tray/hub Open-In menus no
66
+ longer hide VS Code on a freshly dragged-in install.
67
+
68
+ ## [0.22.2] - 2026-07-08
69
+
70
+ ### Added
71
+
72
+ - **Open a box in a host app: `agentbox open <box> --in codex|herdr|cmux|vscode|iterm2`.**
73
+ `codex` writes the box's SSH alias and auto-opens Codex's add-SSH-connection
74
+ form via its `codex://` deep link (persistent-SSH boxes, i.e. Hetzner — the
75
+ same link `shell --ssh-config` prints, now launched for you); `herdr`, `cmux`,
76
+ and `iterm2` open a new workspace/window in that terminal app running the box
77
+ attach (the box is auto-started, and a failed attach leaves a live shell);
78
+ `vscode` is equivalent to `agentbox code`. Plain `agentbox open` still opens
79
+ the workspace in Finder. `agentbox open --targets [--json]` reports which of
80
+ these apps are installed. cmux blocks external control by default — enable
81
+ `socketControlMode: automation` (or a socket password) in its settings.
82
+ - **Menu-bar app: per-box "Open In…" submenu** listing only the apps installed
83
+ on your machine (probed once at launch) and eligible for that box's provider;
84
+ "Copy Web URL" moved into it, keeping Open Web / Open VNC at the top level.
85
+ - **Rename a box** with `agentbox status <box> --set-name <name>` (or
86
+ `--clear-name`) — a cosmetic display label; the container, git branch, and
87
+ URLs are untouched, and box lookups accept the label. Shown in `list`, with a
88
+ Rename button in the hub (`POST /api/v1/boxes/:id/rename`) and a "Rename…"
89
+ item in the menu-bar app.
90
+ - **Update detection.** After you update the package yourself (`npm update -g`),
91
+ the next interactive command offers the post-update refresh (host skills, box
92
+ image, relay, menu-bar app). At most once a day a background probe checks for
93
+ a newer release and prints a nudge — disable with the new `update.check`
94
+ config key. `agentbox self-update` now also updates the menu-bar app (only
95
+ when the published build actually changed) and reports current vs latest.
96
+
97
+ ### Fixed
98
+
99
+ - Boxes created or resumed **through the hub** now get their `~/.agentbox/ssh/config`
100
+ entry too — hub-created Hetzner boxes were missing their `ssh <box>` alias.
101
+ - Non-interactive box creates (menu-bar app / hub queue, `--yes`, CI) now adopt
102
+ an already-running Portless proxy instead of silently skipping Portless on a
103
+ machine that never opted in from a terminal.
104
+
12
105
  ## [0.22.1] - 2026-07-07
13
106
 
14
107
  ### Added
@@ -4,10 +4,10 @@ import {
4
4
  cloudAgentAttach,
5
5
  cloudAgentStartDetached,
6
6
  verifyDetachedSession
7
- } from "./chunk-GGWVTWJM.js";
8
- import "./chunk-YZXXBHWG.js";
9
- import "./chunk-VBSRJG53.js";
10
- import "./chunk-ALEYDWAO.js";
7
+ } from "./chunk-6OQENOJZ.js";
8
+ import "./chunk-QGL734YX.js";
9
+ import "./chunk-QT3SHMLY.js";
10
+ import "./chunk-CKC3CP7Y.js";
11
11
  import "./chunk-G3H2L3O2.js";
12
12
  import "./chunk-WJFZJZIM.js";
13
13
  export {
@@ -16,4 +16,4 @@ export {
16
16
  cloudAgentStartDetached,
17
17
  verifyDetachedSession
18
18
  };
19
- //# sourceMappingURL=_cloud-attach-YH2SU75S.js.map
19
+ //# sourceMappingURL=_cloud-attach-RFPLNACE.js.map
@@ -5,17 +5,17 @@ import {
5
5
  startClaudeSession,
6
6
  startCodexSession,
7
7
  startOpencodeSession
8
- } from "./chunk-YZXXBHWG.js";
8
+ } from "./chunk-QGL734YX.js";
9
9
  import {
10
10
  PROVIDER_NAMES,
11
11
  isProviderKind,
12
12
  loadEffectiveConfig
13
- } from "./chunk-VBSRJG53.js";
13
+ } from "./chunk-QT3SHMLY.js";
14
14
  import {
15
15
  isSupportedApiVersion,
16
16
  pluginForProvider,
17
17
  pluginProviderNames
18
- } from "./chunk-ALEYDWAO.js";
18
+ } from "./chunk-CKC3CP7Y.js";
19
19
 
20
20
  // src/commands/_cloud-attach.ts
21
21
  import { spawn as spawn4 } from "child_process";
@@ -153,11 +153,11 @@ async function withFirewallRepair(provider, box, opts, attempt) {
153
153
  // src/provider/loaders.ts
154
154
  import { pathToFileURL } from "url";
155
155
  var IMPORTERS = {
156
- docker: () => import("./dist-EJXUKIR7.js"),
157
- daytona: () => import("./dist-LJHS4PTC.js"),
158
- hetzner: () => import("./dist-YECTRVGD.js"),
159
- vercel: () => import("./dist-QNV4H6NN.js"),
160
- e2b: () => import("./dist-UR2DB2HT.js")
156
+ docker: () => import("./dist-JFUUDAI3.js"),
157
+ daytona: () => import("./dist-GJCIKH2C.js"),
158
+ hetzner: () => import("./dist-Z3GSHEFO.js"),
159
+ vercel: () => import("./dist-W5476E2U.js"),
160
+ e2b: () => import("./dist-GEHCZJCS.js")
161
161
  };
162
162
  function pickProviderModule(mod, name) {
163
163
  const m = mod;
@@ -385,6 +385,10 @@ function appleScriptEscape(s) {
385
385
  function shellJoin(argv) {
386
386
  return argv.map(shellQuote).join(" ");
387
387
  }
388
+ function composePaneCommand(argv, cwd, keepShell) {
389
+ const inner = shellJoin(argv);
390
+ return keepShell ? `cd ${shellQuote(cwd)} && ${inner}` : `cd ${shellQuote(cwd)} && exec ${inner}`;
391
+ }
388
392
  async function spawnInNewTerminal(args) {
389
393
  if (args.host === "tmux") return spawnInTmux(args);
390
394
  if (args.host === "cmux") return spawnInCmux(args);
@@ -431,7 +435,7 @@ async function spawnInCmux(args) {
431
435
  if (!args.cmuxWorkspaceFallback) {
432
436
  attempts.push([...base, "--focus", "true"]);
433
437
  }
434
- const cmdLine = `cd ${shellQuote(args.cwd)} && exec ${shellJoin(args.argv)}`;
438
+ const cmdLine = composePaneCommand(args.argv, args.cwd, args.keepShell);
435
439
  let lastError = "";
436
440
  for (const createArgv of attempts) {
437
441
  const created = await runQuiet(bin, createArgv, args.env);
@@ -537,7 +541,7 @@ async function spawnInHerdr(args) {
537
541
  if (!paneId) {
538
542
  return { launched: false, note: "", error: `herdr ${args.mode} gave no pane id` };
539
543
  }
540
- const text = `cd ${shellQuote(args.cwd)} && exec ${shellJoin(args.argv)}
544
+ const text = `${composePaneCommand(args.argv, args.cwd, args.keepShell)}
541
545
  `;
542
546
  const sent = await herdrRequest("pane.send_text", { pane_id: paneId, text }, env);
543
547
  if (sent === null) {
@@ -553,8 +557,7 @@ async function spawnInHerdr(args) {
553
557
  return { launched: true, note: `Attached in new ${noteKind}.` };
554
558
  }
555
559
  async function spawnInITerm2(args) {
556
- const inner = shellJoin(args.argv);
557
- const cmdLine = `cd ${shellQuote(args.cwd)} && exec ${inner}`;
560
+ const cmdLine = composePaneCommand(args.argv, args.cwd, args.keepShell);
558
561
  const cmdLit = `"${appleScriptEscape(cmdLine)}"`;
559
562
  let lines;
560
563
  let noteKind;
@@ -2752,4 +2755,4 @@ export {
2752
2755
  agentResumeArgs,
2753
2756
  restoreAgentSessions
2754
2757
  };
2755
- //# sourceMappingURL=chunk-GGWVTWJM.js.map
2758
+ //# sourceMappingURL=chunk-6OQENOJZ.js.map