@madarco/agentbox 0.23.1 → 0.23.3

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 (65) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/{_cloud-attach-HGP3MQEG.js → _cloud-attach-BQRWX3J2.js} +4 -4
  3. package/dist/{chunk-QVWGQJV6.js → chunk-GGRZ3GZO.js} +2 -2
  4. package/dist/{chunk-L5SOSNQI.js → chunk-I6ZRWTPR.js} +26 -4
  5. package/dist/chunk-I6ZRWTPR.js.map +1 -0
  6. package/dist/{chunk-QGL734YX.js → chunk-LA4JMS27.js} +11 -3
  7. package/dist/{chunk-QGL734YX.js.map → chunk-LA4JMS27.js.map} +1 -1
  8. package/dist/{chunk-CKC3CP7Y.js → chunk-LK2JT2OO.js} +19 -7
  9. package/dist/{chunk-CKC3CP7Y.js.map → chunk-LK2JT2OO.js.map} +1 -1
  10. package/dist/{chunk-Q626V2YX.js → chunk-LSQXT5WZ.js} +2 -2
  11. package/dist/{chunk-4AV2L2KY.js → chunk-QEQFZLYR.js} +8 -8
  12. package/dist/{chunk-ERMU7RMK.js → chunk-SFA57TGX.js} +4 -4
  13. package/dist/{chunk-JXDSSSXS.js → chunk-W3FQPFP7.js} +3 -3
  14. package/dist/{dist-Z3GSHEFO.js → dist-CUKBKS3N.js} +5 -5
  15. package/dist/{dist-X3O3HEYD.js → dist-FXQFTT75.js} +5 -5
  16. package/dist/{dist-W5476E2U.js → dist-QO4CTLAX.js} +5 -5
  17. package/dist/{dist-GEHCZJCS.js → dist-V235KVEX.js} +5 -5
  18. package/dist/{dist-JFUUDAI3.js → dist-Z2NEVV55.js} +5 -3
  19. package/dist/index.js +22 -39
  20. package/dist/index.js.map +1 -1
  21. package/dist/{prepared-state-LW2PKTEQ-5YMKG7UN.js → prepared-state-BUO75YLZ-CDTISC2C.js} +2 -2
  22. package/package.json +1 -1
  23. package/runtime/hub/apps/hub/.next/BUILD_ID +1 -1
  24. package/runtime/hub/apps/hub/.next/build-manifest.json +3 -3
  25. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page_client-reference-manifest.js +1 -1
  26. package/runtime/hub/apps/hub/.next/server/app/_global-error.html +1 -1
  27. package/runtime/hub/apps/hub/.next/server/app/_global-error.rsc +1 -1
  28. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  29. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  30. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  31. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  32. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  33. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0keu6we._.js +1 -1
  34. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1bqbkd5._.js +2 -2
  35. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1qa4a0v._.js +2 -2
  36. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_app_(dashboard)_boxes_[id]_page_tsx_1-j_972._.js +1 -1
  37. package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +3 -3
  38. package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -1
  39. package/runtime/hub/apps/hub/.next/static/chunks/{1py5tlz57h7ra.js → 44o5lj23__y1m.js} +1 -1
  40. package/runtime/hub/apps/hub/{chunk-JQFB2CNA.js → chunk-2Z74R6ZT.js} +10 -2
  41. package/runtime/hub/apps/hub/{chunk-6HD4PARX.js → chunk-AR7CEZ2G.js} +25 -3
  42. package/runtime/hub/apps/hub/{chunk-K6RA5GJI.js → chunk-H22XP3NY.js} +18 -6
  43. package/runtime/hub/apps/hub/{dist-OUNL2TCW.js → dist-LNHEG5P4.js} +3 -3
  44. package/runtime/hub/apps/hub/{dist-7GNKBKFV.js → dist-LZNRLUYY.js} +3 -3
  45. package/runtime/hub/apps/hub/{dist-JWVTVHBT.js → dist-Q6G66Z57.js} +3 -3
  46. package/runtime/hub/apps/hub/{dist-L2MMBH7P.js → dist-SD4G36EP.js} +3 -3
  47. package/runtime/hub/apps/hub/{dist-3HR4RIPE.js → dist-VV6Z2CQX.js} +4 -2
  48. package/runtime/hub/apps/hub/{prepared-state-LW2PKTEQ-7BCXARGA.js → prepared-state-BUO75YLZ-CAXQS5Y3.js} +1 -1
  49. package/runtime/hub/apps/hub/server.js +23 -10
  50. package/dist/chunk-L5SOSNQI.js.map +0 -1
  51. /package/dist/{_cloud-attach-HGP3MQEG.js.map → _cloud-attach-BQRWX3J2.js.map} +0 -0
  52. /package/dist/{chunk-QVWGQJV6.js.map → chunk-GGRZ3GZO.js.map} +0 -0
  53. /package/dist/{chunk-Q626V2YX.js.map → chunk-LSQXT5WZ.js.map} +0 -0
  54. /package/dist/{chunk-4AV2L2KY.js.map → chunk-QEQFZLYR.js.map} +0 -0
  55. /package/dist/{chunk-ERMU7RMK.js.map → chunk-SFA57TGX.js.map} +0 -0
  56. /package/dist/{chunk-JXDSSSXS.js.map → chunk-W3FQPFP7.js.map} +0 -0
  57. /package/dist/{dist-JFUUDAI3.js.map → dist-CUKBKS3N.js.map} +0 -0
  58. /package/dist/{dist-X3O3HEYD.js.map → dist-FXQFTT75.js.map} +0 -0
  59. /package/dist/{dist-W5476E2U.js.map → dist-QO4CTLAX.js.map} +0 -0
  60. /package/dist/{dist-GEHCZJCS.js.map → dist-V235KVEX.js.map} +0 -0
  61. /package/dist/{dist-Z3GSHEFO.js.map → dist-Z2NEVV55.js.map} +0 -0
  62. /package/dist/{prepared-state-LW2PKTEQ-5YMKG7UN.js.map → prepared-state-BUO75YLZ-CDTISC2C.js.map} +0 -0
  63. /package/runtime/hub/apps/hub/.next/static/{mcWRLSGubwKk9p3RFz2-Q → 12hWAUQ9O9G3VS4vxKuav}/_buildManifest.js +0 -0
  64. /package/runtime/hub/apps/hub/.next/static/{mcWRLSGubwKk9p3RFz2-Q → 12hWAUQ9O9G3VS4vxKuav}/_clientMiddlewareManifest.js +0 -0
  65. /package/runtime/hub/apps/hub/.next/static/{mcWRLSGubwKk9p3RFz2-Q → 12hWAUQ9O9G3VS4vxKuav}/_ssgManifest.js +0 -0
package/CHANGELOG.md CHANGED
@@ -9,6 +9,25 @@ 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.3] - 2026-07-08
13
+
14
+ ### Fixed
15
+
16
+ - Opening a box's VNC from the menu-bar app or the hub web UI now starts the
17
+ in-box browser first (pointed at the box's web app), so the desktop shows the
18
+ app instead of a blank X screen — previously only `agentbox screen` did this.
19
+ New hub action `POST /api/v1/boxes/{id}/screen` runs the prep for docker and
20
+ cloud boxes; the menu-bar app uses it from v0.1.5.
21
+
22
+ ## [0.23.2] - 2026-07-08
23
+
24
+ ### Fixed
25
+
26
+ - First-run `agentbox create` no longer looks frozen while the pulled box
27
+ image extracts: `docker pull` prints nothing during the extraction phase
28
+ (minutes, for a multi-GB image), so create now emits a "still extracting"
29
+ keepalive after 20s of silence.
30
+
12
31
  ## [0.23.1] - 2026-07-08
13
32
 
14
33
  ### Breaking
@@ -4,10 +4,10 @@ import {
4
4
  cloudAgentAttach,
5
5
  cloudAgentStartDetached,
6
6
  verifyDetachedSession
7
- } from "./chunk-4AV2L2KY.js";
8
- import "./chunk-QGL734YX.js";
7
+ } from "./chunk-QEQFZLYR.js";
8
+ import "./chunk-LA4JMS27.js";
9
9
  import "./chunk-QT3SHMLY.js";
10
- import "./chunk-CKC3CP7Y.js";
10
+ import "./chunk-LK2JT2OO.js";
11
11
  import "./chunk-G3H2L3O2.js";
12
12
  import "./chunk-WJFZJZIM.js";
13
13
  export {
@@ -16,4 +16,4 @@ export {
16
16
  cloudAgentStartDetached,
17
17
  verifyDetachedSession
18
18
  };
19
- //# sourceMappingURL=_cloud-attach-HGP3MQEG.js.map
19
+ //# sourceMappingURL=_cloud-attach-BQRWX3J2.js.map
@@ -9,7 +9,7 @@ import {
9
9
  resolveContextFilesFrom,
10
10
  writeManagedSecrets,
11
11
  writePreparedStateRaw
12
- } from "./chunk-CKC3CP7Y.js";
12
+ } from "./chunk-LK2JT2OO.js";
13
13
 
14
14
  // ../../packages/sandbox-daytona/dist/chunk-6WHCUMQO.js
15
15
  import { existsSync } from "fs";
@@ -839,4 +839,4 @@ export {
839
839
  writePreparedDaytonaState,
840
840
  preparedMatches
841
841
  };
842
- //# sourceMappingURL=chunk-QVWGQJV6.js.map
842
+ //# sourceMappingURL=chunk-GGRZ3GZO.js.map
@@ -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-QGL734YX.js";
25
+ } from "./chunk-LA4JMS27.js";
25
26
  import {
26
27
  hashProjectPath,
27
28
  loadEffectiveConfig,
@@ -66,7 +67,7 @@ import {
66
67
  stageOpencodeCredentialsForUpload,
67
68
  stageOpencodeStateForUpload,
68
69
  stageOpencodeStaticForUpload
69
- } from "./chunk-CKC3CP7Y.js";
70
+ } from "./chunk-LK2JT2OO.js";
70
71
 
71
72
  // ../../packages/sandbox-cloud/dist/index.js
72
73
  import { basename as basename2, resolve } from "path";
@@ -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-L5SOSNQI.js.map
2874
+ //# sourceMappingURL=chunk-I6ZRWTPR.js.map