@madarco/agentbox 0.25.0 → 0.26.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 (121) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/README.md +8 -7
  3. package/dist/{_cloud-attach-W2CFNXKO.js → _cloud-attach-7WRQH6XZ.js} +5 -5
  4. package/dist/{chunk-7PRLM3PH.js → chunk-7ZZAZPYX.js} +3 -3
  5. package/dist/{chunk-LU3WAHTU.js → chunk-BA2VLJVU.js} +3 -3
  6. package/dist/{chunk-GHFIKSBJ.js → chunk-DJQMK4RN.js} +12 -4
  7. package/dist/chunk-DJQMK4RN.js.map +1 -0
  8. package/dist/{chunk-4UNSBU5R.js → chunk-DQHMDDAT.js} +2 -2
  9. package/dist/{chunk-LCZOQTIX.js → chunk-I2OAJS3L.js} +40 -377
  10. package/dist/{chunk-LCZOQTIX.js.map → chunk-I2OAJS3L.js.map} +1 -1
  11. package/dist/{chunk-5F5SOSDY.js → chunk-JGZSA5ZI.js} +72 -23
  12. package/dist/chunk-JGZSA5ZI.js.map +1 -0
  13. package/dist/{chunk-7C5MOA4Z.js → chunk-K5KOLYIL.js} +3 -3
  14. package/dist/{chunk-Y3OPQWAQ.js → chunk-PK2QF4IR.js} +576 -198
  15. package/dist/chunk-PK2QF4IR.js.map +1 -0
  16. package/dist/{chunk-VZC5J44U.js → chunk-UIFL7F2G.js} +55 -38
  17. package/dist/chunk-UIFL7F2G.js.map +1 -0
  18. package/dist/{chunk-NH3W6HUZ.js → chunk-ZY7M7MXH.js} +41 -16
  19. package/dist/chunk-ZY7M7MXH.js.map +1 -0
  20. package/dist/chunk-ZYKNSHOH.js +259 -0
  21. package/dist/chunk-ZYKNSHOH.js.map +1 -0
  22. package/dist/{dist-IGQNVIV3.js → dist-5IICYSR6.js} +42 -374
  23. package/dist/{dist-IGQNVIV3.js.map → dist-5IICYSR6.js.map} +1 -1
  24. package/dist/{dist-KL73Z37T.js → dist-AR5CHRSV.js} +86 -45
  25. package/dist/{dist-KL73Z37T.js.map → dist-AR5CHRSV.js.map} +1 -1
  26. package/dist/{dist-3V5SLNK4.js → dist-DTNYMBQ5.js} +12 -12
  27. package/dist/{dist-UB3PYSCG.js → dist-K4LNH3EC.js} +6 -6
  28. package/dist/{dist-BIDAC4H4.js → dist-POVRY7HO.js} +8 -4
  29. package/dist/{dist-SBDYDH7H.js → dist-U2SVLJUQ.js} +4 -2
  30. package/dist/{dist-I5OBPLP2.js → dist-XYY6SIKG.js} +6 -6
  31. package/dist/dist-YA7EXBGG.js +809 -0
  32. package/dist/dist-YA7EXBGG.js.map +1 -0
  33. package/dist/index.js +962 -583
  34. package/dist/index.js.map +1 -1
  35. package/dist/{prepared-state-OBM2F7CU-DY7TZV4R.js → prepared-state-75DIZ55S-W6NU3S3B.js} +2 -2
  36. package/package.json +8 -7
  37. package/runtime/_shared/ctl.cjs +83 -36
  38. package/runtime/digitalocean/ctl.cjs +83 -36
  39. package/runtime/docker/packages/ctl/dist/bin.cjs +83 -36
  40. package/runtime/e2b/ctl.cjs +83 -36
  41. package/runtime/hetzner/ctl.cjs +83 -36
  42. package/runtime/hub/apps/hub/.next/BUILD_ID +1 -1
  43. package/runtime/hub/apps/hub/.next/build-manifest.json +3 -3
  44. package/runtime/hub/apps/hub/.next/server/app/(auth)/api/auth/[...all]/route.js +1 -1
  45. package/runtime/hub/apps/hub/.next/server/app/(auth)/api/auth/[...all]/route.js.nft.json +1 -1
  46. package/runtime/hub/apps/hub/.next/server/app/_global-error.html +1 -1
  47. package/runtime/hub/apps/hub/.next/server/app/_global-error.rsc +1 -1
  48. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  49. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  50. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  51. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  52. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  53. package/runtime/hub/apps/hub/.next/server/chunks/0-fj_better-auth_dist_adapters_kysely-adapter_index_mjs_0btft52._.js +3 -0
  54. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0d1lmiq._.js +5 -5
  55. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0keu6we._.js +1 -1
  56. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1-9g0ae._.js +1 -1
  57. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1bqbkd5._.js +1 -1
  58. package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__19pc87s._.js → [root-of-the-server]__1k8g143._.js} +2 -2
  59. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1qa4a0v._.js +1 -1
  60. package/runtime/hub/apps/hub/.next/server/chunks/_0760z6y._.js +4 -4
  61. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_0xy-j7z._.js +1 -1
  62. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_010858m.js +1 -1
  63. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_04zwxnx.js +1 -1
  64. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_06exuc7.js +1 -1
  65. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_0f2ldrt.js +1 -1
  66. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_0f2tzep.js +1 -1
  67. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_116nh32.js +1 -1
  68. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_11dyjcb.js +1 -1
  69. package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_1_4knli.js +1 -1
  70. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__08-1wwu._.js +1 -1
  71. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0c9mbcn._.js +1 -1
  72. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0gdfxj4._.js +1 -1
  73. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0kc-hwp._.js +1 -1
  74. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0lu73p6._.js +1 -1
  75. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__10bfmwi._.js +1 -1
  76. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__18qvdzb._.js +1 -1
  77. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__1l2urlw._.js +1 -1
  78. package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0ro6vh6._.js +1 -1
  79. package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +3 -3
  80. package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -1
  81. package/runtime/hub/apps/hub/{auth-MVL4NCQC.js → auth-DC44GQZY.js} +2 -2
  82. package/runtime/hub/apps/hub/{auth-config-GRIXACTV.js → auth-config-LALRDYDO.js} +2 -2
  83. package/runtime/hub/apps/hub/{chunk-JLG5JJXD.js → chunk-3FJNKSNZ.js} +1 -1
  84. package/runtime/hub/apps/hub/{chunk-LNHPLR3L.js → chunk-4QY2VZCF.js} +509 -135
  85. package/runtime/hub/apps/hub/{chunk-QBJOF5D3.js → chunk-BARD2DI6.js} +11 -3
  86. package/runtime/hub/apps/hub/{chunk-V3OMPMI3.js → chunk-QSMPSV5Z.js} +70 -21
  87. package/runtime/hub/apps/hub/{chunk-MA73PTOR.js → chunk-XZZXPEVV.js} +58 -37
  88. package/runtime/hub/apps/hub/{dist-7LB4D4ZQ.js → dist-3ENKQN5G.js} +35 -365
  89. package/runtime/hub/apps/hub/{dist-SIQJD72C.js → dist-6VGJOQYK.js} +84 -43
  90. package/runtime/hub/apps/hub/{dist-ERQDDSOY.js → dist-AE6IV4FV.js} +4 -4
  91. package/runtime/hub/apps/hub/{dist-IZ2JCN5R.js → dist-EQV4L7KP.js} +3 -1
  92. package/runtime/hub/apps/hub/dist-NNBELNA7.js +1017 -0
  93. package/runtime/hub/apps/hub/{dist-ZVY2FWG6.js → dist-RJJ2SDYO.js} +4 -4
  94. package/runtime/hub/apps/hub/{dist-26KVXHXV.js → dist-TU7D6UTB.js} +37 -366
  95. package/runtime/hub/apps/hub/{dist-YZJA4WRV.js → dist-WAZKGVYL.js} +7 -3
  96. package/runtime/hub/apps/hub/{hub-token-BJG6Q5II.js → hub-token-COBZGSLS.js} +2 -2
  97. package/runtime/hub/apps/hub/package.json +1 -0
  98. package/runtime/hub/apps/hub/{prepared-state-OBM2F7CU-ZEYFNYFI.js → prepared-state-75DIZ55S-NYEDSU2U.js} +1 -1
  99. package/runtime/hub/apps/hub/server.js +20 -16
  100. package/runtime/relay/bin.cjs +57 -20
  101. package/runtime/vercel/ctl.cjs +83 -36
  102. package/dist/chunk-5F5SOSDY.js.map +0 -1
  103. package/dist/chunk-GHFIKSBJ.js.map +0 -1
  104. package/dist/chunk-NH3W6HUZ.js.map +0 -1
  105. package/dist/chunk-VZC5J44U.js.map +0 -1
  106. package/dist/chunk-Y3OPQWAQ.js.map +0 -1
  107. package/runtime/hub/apps/hub/.next/server/chunks/0zhp_better-auth_dist_adapters_kysely-adapter_index_mjs_1rl4qnh._.js +0 -3
  108. /package/dist/{_cloud-attach-W2CFNXKO.js.map → _cloud-attach-7WRQH6XZ.js.map} +0 -0
  109. /package/dist/{chunk-7PRLM3PH.js.map → chunk-7ZZAZPYX.js.map} +0 -0
  110. /package/dist/{chunk-LU3WAHTU.js.map → chunk-BA2VLJVU.js.map} +0 -0
  111. /package/dist/{chunk-4UNSBU5R.js.map → chunk-DQHMDDAT.js.map} +0 -0
  112. /package/dist/{chunk-7C5MOA4Z.js.map → chunk-K5KOLYIL.js.map} +0 -0
  113. /package/dist/{dist-3V5SLNK4.js.map → dist-DTNYMBQ5.js.map} +0 -0
  114. /package/dist/{dist-UB3PYSCG.js.map → dist-K4LNH3EC.js.map} +0 -0
  115. /package/dist/{dist-BIDAC4H4.js.map → dist-POVRY7HO.js.map} +0 -0
  116. /package/dist/{dist-I5OBPLP2.js.map → dist-U2SVLJUQ.js.map} +0 -0
  117. /package/dist/{dist-SBDYDH7H.js.map → dist-XYY6SIKG.js.map} +0 -0
  118. /package/dist/{prepared-state-OBM2F7CU-DY7TZV4R.js.map → prepared-state-75DIZ55S-W6NU3S3B.js.map} +0 -0
  119. /package/runtime/hub/apps/hub/.next/static/{c82uDoByt-dPQUHilRojD → mrhWWwzD3oh05le9SRnlA}/_buildManifest.js +0 -0
  120. /package/runtime/hub/apps/hub/.next/static/{c82uDoByt-dPQUHilRojD → mrhWWwzD3oh05le9SRnlA}/_clientMiddlewareManifest.js +0 -0
  121. /package/runtime/hub/apps/hub/.next/static/{c82uDoByt-dPQUHilRojD → mrhWWwzD3oh05le9SRnlA}/_ssgManifest.js +0 -0
package/CHANGELOG.md CHANGED
@@ -9,6 +9,52 @@ 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.26.0] - 2026-07-15
13
+
14
+ ### Added
15
+
16
+ - **`remote-docker` provider** — run a box as a container on a machine you
17
+ already own (a workstation, a team server) reached over **your own SSH**, no
18
+ cloud login. Address it as `agentbox docker:<host> claude`, or set
19
+ `--remote-host` / `box.remoteDockerHost`; new `remote-docker check|use|hosts`
20
+ helpers. Like the cloud backends the workspace is synced (a bind mount can't
21
+ cross a network), while the image, `docker commit` checkpoints, and in-box
22
+ docker stay docker-shaped. `open`/`code` reach the box via SSH `ProxyJump`,
23
+ and boxes are unlimited by default since the engine is your own machine.
24
+ - The install wizard now offers to **pin the provider you just set up** as
25
+ `box.provider` (global), so `agentbox claude` uses the backend you configured
26
+ instead of silently falling back to docker. Skipped when it wouldn't change
27
+ anything; `-y` auto-confirms.
28
+
29
+ ### Changed
30
+
31
+ - **Unknown config keys now warn and are skipped instead of aborting the
32
+ command.** A provider plugin pinned to an older SDK, or a box image baked
33
+ months ago, could carry a config with keys the newer schema hadn't taught it
34
+ yet — and every new key was effectively a breaking change for them. The rest
35
+ of the config still applies; `agentbox doctor` surfaces the warnings. Type
36
+ errors, renamed keys, and `config set <bad-key>` still fail loud.
37
+ - **Reworked help.** The default `agentbox --help` is now a compact
38
+ workflow-focused view; the full grouped command list moved to `agentbox help`
39
+ (providers, git, and advanced commands grouped, one line each).
40
+ - Faster install and `doctor`: the setup banner only animates on first run and
41
+ no longer stalls on fake "checking" time, an unchanged fork skill isn't
42
+ re-fetched over the network, and `doctor`'s provider probes now run in
43
+ parallel. The Daytona login hint was corrected — it prompts to paste an API
44
+ key, it does not do a browser sign-in.
45
+ - `@madarco/agentbox-provider-sdk` **2.4.0** ships the tolerant config parser to
46
+ external plugins (additive; republished separately).
47
+
48
+ ## [0.25.1] - 2026-07-13
49
+
50
+ ### Fixed
51
+
52
+ - `box.claudeInstall: npm` now pulls the prebuilt box image instead of building
53
+ it locally every time. The pull was hard-disabled for npm mode, from back when
54
+ only the native image was published — most visible as the throwaway container
55
+ behind `claude` sign-in baking from scratch. 0.25.0 started publishing the npm
56
+ image; this actually uses it.
57
+
12
58
  ## [0.25.0] - 2026-07-13
13
59
 
14
60
  ### Breaking
package/README.md CHANGED
@@ -81,12 +81,12 @@ Uses `portless` to give box web apps the same URL from inside the box and on the
81
81
 
82
82
  ## Cloud Providers
83
83
 
84
- | | local docker | hetzner | daytona | vercel | e2b |
85
- | ------------------- | ------------------------- | ---------------------- | ------------------ | ------------------ | ------------------ |
86
- | Support | ✅ | ✅ | ⚠️ Partial | ✅ | ✅ |
87
- | Base image | Dockerfile | Setup script (Ubuntu) | Dockerfile | Setup script | Dockerfile (`Template.build`) |
88
- | Live snapshots | ✅ | ✅ | 🧪 Experimental | ✅ | ✅ |
89
- | Private preview URLs| ✅ (portless or OrbStack) | ✅ (portless) | ✅ (native) | ✅ (native) | ✅ (native) |
84
+ | | local docker | remote docker | hetzner | daytona | vercel | e2b |
85
+ | ------------------- | ------------------------- | ---------------------- | ---------------------- | ------------------ | ------------------ | ------------------ |
86
+ | Support | ✅ | ✅ | ✅ | ⚠️ Partial | ✅ | ✅ |
87
+ | Base image | Dockerfile | Dockerfile (on the remote) | Setup script (Ubuntu) | Dockerfile | Setup script | Dockerfile (`Template.build`) |
88
+ | Live snapshots | ✅ | ✅ (`docker commit`) | ✅ | 🧪 Experimental | ✅ | ✅ |
89
+ | Private preview URLs| ✅ (portless or OrbStack) | ✅ (portless over SSH) | ✅ (portless) | ✅ (native) | ✅ (native) | ✅ (native) |
90
90
 
91
91
  **Cloud setup** (optional — skip for local Docker)
92
92
 
@@ -96,7 +96,8 @@ Uses `portless` to give box web apps the same URL from inside the box and on the
96
96
  - `agentbox daytona login` — interactive Daytona API key setup, saved to `~/.agentbox/secrets.env`
97
97
  - `agentbox e2b login` — interactive E2B API key setup, saved to `~/.agentbox/secrets.env`
98
98
  - `agentbox digitalocean login` — interactive DigitalOcean Personal Access Token setup, saved to `~/.agentbox/secrets.env`
99
- - `agentbox prepare [--provider daytona|hetzner|vercel|e2b|digitalocean]` — build the image and initial snapshot (e2b builds from a Dockerfile via `Template.build()`)
99
+ - `agentbox remote-docker check <host>` — run boxes on a machine you already own, over SSH. No login and no token: it connects as you, using your own `~/.ssh/config`. Then `agentbox docker:<host> claude`.
100
+ - `agentbox prepare [--provider daytona|hetzner|vercel|e2b|digitalocean|docker:<host>]` — build the image and initial snapshot (e2b builds from a Dockerfile via `Template.build()`)
100
101
  - `agentbox hetzner claude`, `agentbox hetzner codex`, `agentbox hetzner create`, etc.
101
102
 
102
103
  ## How to use
@@ -4,10 +4,10 @@ import {
4
4
  cloudAgentAttach,
5
5
  cloudAgentStartDetached,
6
6
  verifyDetachedSession
7
- } from "./chunk-NH3W6HUZ.js";
8
- import "./chunk-VZC5J44U.js";
9
- import "./chunk-5F5SOSDY.js";
10
- import "./chunk-Y3OPQWAQ.js";
7
+ } from "./chunk-ZY7M7MXH.js";
8
+ import "./chunk-UIFL7F2G.js";
9
+ import "./chunk-JGZSA5ZI.js";
10
+ import "./chunk-PK2QF4IR.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-W2CFNXKO.js.map
19
+ //# sourceMappingURL=_cloud-attach-7WRQH6XZ.js.map
@@ -3,7 +3,7 @@ import {
3
3
  loadEffectiveConfig,
4
4
  setConfigValue,
5
5
  unsetConfigValue
6
- } from "./chunk-5F5SOSDY.js";
6
+ } from "./chunk-JGZSA5ZI.js";
7
7
  import {
8
8
  UserFacingError,
9
9
  claudeInstallFingerprint,
@@ -12,7 +12,7 @@ import {
12
12
  preparedStatePathFor,
13
13
  readPreparedStateRaw,
14
14
  writePreparedStateRaw
15
- } from "./chunk-Y3OPQWAQ.js";
15
+ } from "./chunk-PK2QF4IR.js";
16
16
 
17
17
  // ../../packages/sandbox-digitalocean/dist/chunk-7SUT53X5.js
18
18
  import { existsSync, readFileSync } from "fs";
@@ -991,4 +991,4 @@ export {
991
991
  updatePreparedState,
992
992
  currentDigitalOceanBaseFingerprintLive
993
993
  };
994
- //# sourceMappingURL=chunk-7PRLM3PH.js.map
994
+ //# sourceMappingURL=chunk-7ZZAZPYX.js.map
@@ -8,7 +8,7 @@ import {
8
8
  renderInnerCommand,
9
9
  resolveCloudCheckpoint,
10
10
  writeCloudCheckpointManifest
11
- } from "./chunk-GHFIKSBJ.js";
11
+ } from "./chunk-DJQMK4RN.js";
12
12
  import {
13
13
  UserFacingError,
14
14
  claudeInstallFingerprint,
@@ -24,7 +24,7 @@ import {
24
24
  stageOpencodeStaticForUpload,
25
25
  writeManagedSecrets,
26
26
  writePreparedStateRaw
27
- } from "./chunk-Y3OPQWAQ.js";
27
+ } from "./chunk-PK2QF4IR.js";
28
28
 
29
29
  // ../../packages/sandbox-vercel/dist/chunk-6SDDZRAG.js
30
30
  import { existsSync, readFileSync } from "fs";
@@ -1665,4 +1665,4 @@ export {
1665
1665
  vercelProvider,
1666
1666
  providerModule
1667
1667
  };
1668
- //# sourceMappingURL=chunk-LU3WAHTU.js.map
1668
+ //# sourceMappingURL=chunk-BA2VLJVU.js.map
@@ -22,13 +22,13 @@ import {
22
22
  readBoxStatus,
23
23
  registerBoxWithRelay,
24
24
  syncClaudeCredentials
25
- } from "./chunk-VZC5J44U.js";
25
+ } from "./chunk-UIFL7F2G.js";
26
26
  import {
27
27
  hashProjectPath,
28
28
  loadEffectiveConfig,
29
29
  projectDirSegment,
30
30
  sanitizeMnemonic
31
- } from "./chunk-5F5SOSDY.js";
31
+ } from "./chunk-JGZSA5ZI.js";
32
32
  import {
33
33
  AGENT_SYNC_SPECS,
34
34
  BOX_DYNAMIC_SYNC_MANIFEST,
@@ -77,7 +77,7 @@ import {
77
77
  stageOpencodeStateForUpload,
78
78
  stageOpencodeStaticForUpload,
79
79
  writeCredentialBackup
80
- } from "./chunk-Y3OPQWAQ.js";
80
+ } from "./chunk-PK2QF4IR.js";
81
81
 
82
82
  // ../../packages/sandbox-cloud/dist/index.js
83
83
  import { basename as basename2, resolve } from "path";
@@ -2293,6 +2293,8 @@ function createCloudProvider(backend, opts = {}) {
2293
2293
  const inbound = typeof inboundOpt === "string" && inboundOpt.trim() !== "" ? inboundOpt.trim() : void 0;
2294
2294
  const projectOpt = req.providerOptions?.["project"];
2295
2295
  const project = typeof projectOpt === "string" && projectOpt.trim() !== "" ? projectOpt.trim() : void 0;
2296
+ const hostOpt = req.providerOptions?.["remoteHost"];
2297
+ const host = typeof hostOpt === "string" && hostOpt.trim() !== "" ? hostOpt.trim() : void 0;
2296
2298
  const classOpt = req.providerOptions?.["sandboxClass"];
2297
2299
  const sandboxClass = typeof classOpt === "string" && classOpt.trim() !== "" ? classOpt.trim() : void 0;
2298
2300
  const relayToken = generateRelayToken();
@@ -2356,6 +2358,7 @@ function createCloudProvider(backend, opts = {}) {
2356
2358
  size,
2357
2359
  location,
2358
2360
  project,
2361
+ host,
2359
2362
  inbound,
2360
2363
  sandboxClass,
2361
2364
  timeoutMs,
@@ -3157,6 +3160,9 @@ async function openWebAppOnVncScreen(box, provider) {
3157
3160
  }
3158
3161
 
3159
3162
  export {
3163
+ quoteShellArgv,
3164
+ quoteShellArg,
3165
+ bashScript,
3160
3166
  ensureAgentVolumesForCloud,
3161
3167
  seedAgentVolumesIfFresh,
3162
3168
  agentSpecsForCloud,
@@ -3170,10 +3176,12 @@ export {
3170
3176
  baseFreshnessFromFingerprints,
3171
3177
  removeCloudCheckpointDir,
3172
3178
  probeCloudCheckpoint,
3179
+ CLOUD_WEB_PROXY_PORT,
3180
+ CLOUD_VNC_PORT,
3173
3181
  createCloudProvider,
3174
3182
  hostTermForCloud,
3175
3183
  renderInnerCommand,
3176
3184
  seedAgentStaticIntoCloudBox,
3177
3185
  openWebAppOnVncScreen
3178
3186
  };
3179
- //# sourceMappingURL=chunk-GHFIKSBJ.js.map
3187
+ //# sourceMappingURL=chunk-DJQMK4RN.js.map