@madarco/agentbox 0.23.2 → 0.23.4

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 (143) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/{_cloud-attach-LP5CIO7S.js → _cloud-attach-BQRWX3J2.js} +3 -3
  3. package/dist/chunk-G3H2L3O2.js +0 -0
  4. package/dist/chunk-GGRZ3GZO.js +0 -0
  5. package/dist/{chunk-C47ZA42C.js → chunk-I6ZRWTPR.js} +25 -3
  6. package/dist/chunk-I6ZRWTPR.js.map +1 -0
  7. package/dist/{chunk-AGSLJ3NE.js → chunk-LA4JMS27.js} +10 -2
  8. package/dist/{chunk-AGSLJ3NE.js.map → chunk-LA4JMS27.js.map} +1 -1
  9. package/dist/chunk-LK2JT2OO.js +0 -0
  10. package/dist/chunk-LSQXT5WZ.js +0 -0
  11. package/dist/{chunk-J3GSZ33V.js → chunk-QEQFZLYR.js} +7 -7
  12. package/dist/chunk-QT3SHMLY.js +0 -0
  13. package/dist/{chunk-7D7K4UXW.js → chunk-SFA57TGX.js} +3 -3
  14. package/dist/{chunk-TZLNJBIM.js → chunk-W3FQPFP7.js} +2 -2
  15. package/dist/chunk-WJFZJZIM.js +0 -0
  16. package/dist/cloud-poller-SUNA6ZQC-7M5LJHHE.js +0 -0
  17. package/dist/dist-2BTJQUJS.js +0 -0
  18. package/dist/{dist-VMR6UEP2.js → dist-CUKBKS3N.js} +4 -4
  19. package/dist/{dist-HENU2IVK.js → dist-FXQFTT75.js} +3 -3
  20. package/dist/{dist-UIOWLT3C.js → dist-QO4CTLAX.js} +4 -4
  21. package/dist/{dist-OTSXYV6X.js → dist-V235KVEX.js} +3 -3
  22. package/dist/{dist-NUZ2RMOP.js → dist-Z2NEVV55.js} +4 -2
  23. package/dist/index.js +44 -53
  24. package/dist/index.js.map +1 -1
  25. package/dist/prepared-state-BUO75YLZ-CDTISC2C.js +0 -0
  26. package/package.json +28 -27
  27. package/runtime/_shared/agentbox-checkpoint-cleanup +0 -0
  28. package/runtime/_shared/agentbox-dockerd-start +0 -0
  29. package/runtime/_shared/agentbox-open +0 -0
  30. package/runtime/_shared/agentbox-portless-trust +0 -0
  31. package/runtime/_shared/agentbox-vnc-start +0 -0
  32. package/runtime/_shared/ctl.cjs +0 -0
  33. package/runtime/_shared/gh-shim +0 -0
  34. package/runtime/_shared/git-shim +0 -0
  35. package/runtime/_shared/linear-shim +0 -0
  36. package/runtime/_shared/ntn-shim +0 -0
  37. package/runtime/docker/packages/ctl/dist/bin.cjs +0 -0
  38. package/runtime/docker/packages/sandbox-docker/scripts/agentbox-checkpoint-cleanup +0 -0
  39. package/runtime/docker/packages/sandbox-docker/scripts/agentbox-dockerd-start +0 -0
  40. package/runtime/docker/packages/sandbox-docker/scripts/agentbox-open +0 -0
  41. package/runtime/docker/packages/sandbox-docker/scripts/agentbox-portless-trust +0 -0
  42. package/runtime/docker/packages/sandbox-docker/scripts/agentbox-sshd-start +0 -0
  43. package/runtime/docker/packages/sandbox-docker/scripts/agentbox-vnc-start +0 -0
  44. package/runtime/docker/packages/sandbox-docker/scripts/chromium-resolver +0 -0
  45. package/runtime/docker/packages/sandbox-docker/scripts/gh-shim +0 -0
  46. package/runtime/docker/packages/sandbox-docker/scripts/git-shim +0 -0
  47. package/runtime/docker/packages/sandbox-docker/scripts/linear-shim +0 -0
  48. package/runtime/docker/packages/sandbox-docker/scripts/ntn-shim +0 -0
  49. package/runtime/e2b/agentbox-checkpoint-cleanup +0 -0
  50. package/runtime/e2b/agentbox-dockerd-start +0 -0
  51. package/runtime/e2b/agentbox-open +0 -0
  52. package/runtime/e2b/agentbox-vnc-start +0 -0
  53. package/runtime/e2b/ctl.cjs +0 -0
  54. package/runtime/e2b/gh-shim +0 -0
  55. package/runtime/e2b/git-shim +0 -0
  56. package/runtime/e2b/linear-shim +0 -0
  57. package/runtime/e2b/ntn-shim +0 -0
  58. package/runtime/e2b/scripts/build-template.sh +0 -0
  59. package/runtime/hetzner/agentbox-checkpoint-cleanup +0 -0
  60. package/runtime/hetzner/agentbox-dockerd-start +0 -0
  61. package/runtime/hetzner/agentbox-open +0 -0
  62. package/runtime/hetzner/agentbox-portless-trust +0 -0
  63. package/runtime/hetzner/agentbox-vnc-start +0 -0
  64. package/runtime/hetzner/ctl.cjs +0 -0
  65. package/runtime/hetzner/gh-shim +0 -0
  66. package/runtime/hetzner/git-shim +0 -0
  67. package/runtime/hetzner/linear-shim +0 -0
  68. package/runtime/hetzner/ntn-shim +0 -0
  69. package/runtime/hetzner/scripts/install-box.sh +0 -0
  70. package/runtime/hub/apps/hub/.next/BUILD_ID +1 -1
  71. package/runtime/hub/apps/hub/.next/build-manifest.json +3 -3
  72. package/runtime/hub/apps/hub/.next/server/app/(auth)/signin/page.js.nft.json +1 -1
  73. package/runtime/hub/apps/hub/.next/server/app/(auth)/signin/page_client-reference-manifest.js +1 -1
  74. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page.js.nft.json +1 -1
  75. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page_client-reference-manifest.js +1 -1
  76. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page.js.nft.json +1 -1
  77. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page_client-reference-manifest.js +1 -1
  78. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page.js.nft.json +1 -1
  79. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  80. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page.js.nft.json +1 -1
  81. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page_client-reference-manifest.js +1 -1
  82. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page.js.nft.json +1 -1
  83. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page_client-reference-manifest.js +1 -1
  84. package/runtime/hub/apps/hub/.next/server/app/_global-error/page.js.nft.json +1 -1
  85. package/runtime/hub/apps/hub/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  86. package/runtime/hub/apps/hub/.next/server/app/_global-error.html +1 -1
  87. package/runtime/hub/apps/hub/.next/server/app/_global-error.rsc +1 -1
  88. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  89. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  90. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  91. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  92. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  93. package/runtime/hub/apps/hub/.next/server/app/_not-found/page.js.nft.json +1 -1
  94. package/runtime/hub/apps/hub/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  95. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0keu6we._.js +1 -1
  96. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1bqbkd5._.js +2 -2
  97. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1qa4a0v._.js +2 -2
  98. package/runtime/hub/apps/hub/.next/server/chunks/ssr/{09xn_next_dist_0iwlo01._.js → 09xn_next_dist_1uccfbf._.js} +2 -2
  99. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0vdzfiw._.js +3 -0
  100. package/runtime/hub/apps/hub/.next/server/chunks/ssr/{[root-of-the-server]__0cpdgd0._.js → [root-of-the-server]__1bd_5o3._.js} +2 -2
  101. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_app_(dashboard)_boxes_[id]_page_tsx_1-j_972._.js +1 -1
  102. package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +3 -3
  103. package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -1
  104. package/runtime/hub/apps/hub/.next/static/chunks/000a1sa7te1h8.js +1 -0
  105. package/runtime/hub/apps/hub/.next/static/chunks/20hq7-0depjid.js +1 -0
  106. package/runtime/hub/apps/hub/.next/static/chunks/3dfjrxx-dy644.css +3 -0
  107. package/runtime/hub/apps/hub/{chunk-TS3DHXYG.js → chunk-2Z74R6ZT.js} +9 -1
  108. package/runtime/hub/apps/hub/{chunk-5C7T5LX3.js → chunk-AR7CEZ2G.js} +24 -2
  109. package/runtime/hub/apps/hub/{dist-3ILQQGCH.js → dist-LNHEG5P4.js} +2 -2
  110. package/runtime/hub/apps/hub/{dist-CJHZ37LW.js → dist-LZNRLUYY.js} +2 -2
  111. package/runtime/hub/apps/hub/{dist-PKOFN4OD.js → dist-Q6G66Z57.js} +2 -2
  112. package/runtime/hub/apps/hub/{dist-WRKJHF6W.js → dist-SD4G36EP.js} +2 -2
  113. package/runtime/hub/apps/hub/{dist-6R5YPL5S.js → dist-VV6Z2CQX.js} +3 -1
  114. package/runtime/hub/apps/hub/package.json +1 -0
  115. package/runtime/hub/apps/hub/server.js +22 -9
  116. package/runtime/relay/bin.cjs +0 -0
  117. package/runtime/vercel/agentbox-checkpoint-cleanup +0 -0
  118. package/runtime/vercel/agentbox-dockerd-start +0 -0
  119. package/runtime/vercel/agentbox-open +0 -0
  120. package/runtime/vercel/agentbox-vnc-start +0 -0
  121. package/runtime/vercel/ctl.cjs +0 -0
  122. package/runtime/vercel/gh-shim +0 -0
  123. package/runtime/vercel/git-shim +0 -0
  124. package/runtime/vercel/linear-shim +0 -0
  125. package/runtime/vercel/ntn-shim +0 -0
  126. package/runtime/vercel/scripts/provision.sh +0 -0
  127. package/LICENSE +0 -21
  128. package/dist/chunk-C47ZA42C.js.map +0 -1
  129. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__1bq2f8q._.js +0 -3
  130. package/runtime/hub/apps/hub/.next/static/chunks/1py5tlz57h7ra.js +0 -1
  131. package/runtime/hub/apps/hub/.next/static/chunks/3rm29i8e-lb25.css +0 -3
  132. /package/dist/{_cloud-attach-LP5CIO7S.js.map → _cloud-attach-BQRWX3J2.js.map} +0 -0
  133. /package/dist/{chunk-J3GSZ33V.js.map → chunk-QEQFZLYR.js.map} +0 -0
  134. /package/dist/{chunk-7D7K4UXW.js.map → chunk-SFA57TGX.js.map} +0 -0
  135. /package/dist/{chunk-TZLNJBIM.js.map → chunk-W3FQPFP7.js.map} +0 -0
  136. /package/dist/{dist-NUZ2RMOP.js.map → dist-CUKBKS3N.js.map} +0 -0
  137. /package/dist/{dist-HENU2IVK.js.map → dist-FXQFTT75.js.map} +0 -0
  138. /package/dist/{dist-UIOWLT3C.js.map → dist-QO4CTLAX.js.map} +0 -0
  139. /package/dist/{dist-OTSXYV6X.js.map → dist-V235KVEX.js.map} +0 -0
  140. /package/dist/{dist-VMR6UEP2.js.map → dist-Z2NEVV55.js.map} +0 -0
  141. /package/runtime/hub/apps/hub/.next/static/{W7Oc_BUsChvL4rrhfKZRY → eVq-z4zld_8DGQudbYogV}/_buildManifest.js +0 -0
  142. /package/runtime/hub/apps/hub/.next/static/{W7Oc_BUsChvL4rrhfKZRY → eVq-z4zld_8DGQudbYogV}/_clientMiddlewareManifest.js +0 -0
  143. /package/runtime/hub/apps/hub/.next/static/{W7Oc_BUsChvL4rrhfKZRY → eVq-z4zld_8DGQudbYogV}/_ssgManifest.js +0 -0
package/CHANGELOG.md CHANGED
@@ -9,6 +9,36 @@ 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.4] - 2026-07-08
13
+
14
+ ### Added
15
+
16
+ - The hub box page's Access card now always lists every "open in" app (Claude,
17
+ Codex, VS Code, cmux, Herdr, iTerm2, Finder) plus Open web / Open VNC —
18
+ buttons that can't work right now are disabled with an instant hover tooltip
19
+ explaining why (app not installed, not supported for the box's provider, box
20
+ paused/stopped, no web service, VNC off) instead of being hidden.
21
+ - `agentbox open --targets` reports *why* an unavailable app is unavailable
22
+ (new optional `reason` field in `--json`); the hub and the menu-bar app show
23
+ it. The menu-bar app (from v0.1.6) mirrors the always-listed behavior and
24
+ gains an OPEN IN section in the box details window with the same tooltips.
25
+
26
+ ### Fixed
27
+
28
+ - Finder is no longer reported as an always-available open target: it now
29
+ requires `sshfs` on PATH, so a missing sshfs shows up front as a disabled
30
+ button with the install hint instead of an error only after clicking.
31
+
32
+ ## [0.23.3] - 2026-07-08
33
+
34
+ ### Fixed
35
+
36
+ - Opening a box's VNC from the menu-bar app or the hub web UI now starts the
37
+ in-box browser first (pointed at the box's web app), so the desktop shows the
38
+ app instead of a blank X screen — previously only `agentbox screen` did this.
39
+ New hub action `POST /api/v1/boxes/{id}/screen` runs the prep for docker and
40
+ cloud boxes; the menu-bar app uses it from v0.1.5.
41
+
12
42
  ## [0.23.2] - 2026-07-08
13
43
 
14
44
  ### Fixed
@@ -4,8 +4,8 @@ import {
4
4
  cloudAgentAttach,
5
5
  cloudAgentStartDetached,
6
6
  verifyDetachedSession
7
- } from "./chunk-J3GSZ33V.js";
8
- import "./chunk-AGSLJ3NE.js";
7
+ } from "./chunk-QEQFZLYR.js";
8
+ import "./chunk-LA4JMS27.js";
9
9
  import "./chunk-QT3SHMLY.js";
10
10
  import "./chunk-LK2JT2OO.js";
11
11
  import "./chunk-G3H2L3O2.js";
@@ -16,4 +16,4 @@ export {
16
16
  cloudAgentStartDetached,
17
17
  verifyDetachedSession
18
18
  };
19
- //# sourceMappingURL=_cloud-attach-LP5CIO7S.js.map
19
+ //# sourceMappingURL=_cloud-attach-BQRWX3J2.js.map
File without changes
File without changes
@@ -19,9 +19,10 @@ import {
19
19
  portlessAlias,
20
20
  portlessGetUrl,
21
21
  portlessUnalias,
22
+ readBoxStatus,
22
23
  registerBoxWithRelay,
23
24
  syncClaudeCredentials
24
- } from "./chunk-AGSLJ3NE.js";
25
+ } from "./chunk-LA4JMS27.js";
25
26
  import {
26
27
  hashProjectPath,
27
28
  loadEffectiveConfig,
@@ -2831,6 +2832,26 @@ function defaultCommand(kind, opts) {
2831
2832
  function shellSingle(s) {
2832
2833
  return "'" + s.replace(/'/g, "'\\''") + "'";
2833
2834
  }
2835
+ async function openWebAppOnVncScreen(box, provider) {
2836
+ const persisted = await readBoxStatus(box);
2837
+ const hasWebService = persisted?.services.some((s) => s.expose) ?? false;
2838
+ if (!hasWebService) return { opened: false, reason: "no web service" };
2839
+ try {
2840
+ const target = await provider.resolveUrl(box, { kind: "web" });
2841
+ const br = await provider.exec(
2842
+ box,
2843
+ ["bash", "-lc", `agent-browser open --headed ${quoteShellArg(target)}`],
2844
+ { user: "vscode" }
2845
+ );
2846
+ if (br.exitCode === 0) return { opened: true, target };
2847
+ return {
2848
+ opened: false,
2849
+ reason: br.stderr.trim() || br.stdout.trim() || `exit ${String(br.exitCode)}`
2850
+ };
2851
+ } catch (err) {
2852
+ return { opened: false, reason: err instanceof Error ? err.message : String(err) };
2853
+ }
2854
+ }
2834
2855
 
2835
2856
  export {
2836
2857
  ensureAgentVolumesForCloud,
@@ -2847,6 +2868,7 @@ export {
2847
2868
  probeCloudCheckpoint,
2848
2869
  createCloudProvider,
2849
2870
  hostTermForCloud,
2850
- renderInnerCommand
2871
+ renderInnerCommand,
2872
+ openWebAppOnVncScreen
2851
2873
  };
2852
- //# sourceMappingURL=chunk-C47ZA42C.js.map
2874
+ //# sourceMappingURL=chunk-I6ZRWTPR.js.map