@madarco/agentbox 0.27.0 → 0.27.2
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.
- package/CHANGELOG.md +25 -0
- package/dist/{_cloud-attach-WDGM6FL5.js → _cloud-attach-FVD5YJCE.js} +6 -4
- package/dist/{chunk-NEF6MDJO.js → chunk-2PCU4OF5.js} +4 -4
- package/dist/{chunk-JE6UI5YR.js → chunk-47BVC7FN.js} +7 -59
- package/dist/chunk-47BVC7FN.js.map +1 -0
- package/dist/chunk-5ZK5MQA2.js +64 -0
- package/dist/chunk-5ZK5MQA2.js.map +1 -0
- package/dist/{chunk-26IKZRTT.js → chunk-A4OVGMVL.js} +23 -16
- package/dist/chunk-A4OVGMVL.js.map +1 -0
- package/dist/{chunk-KWOEUFVA.js → chunk-EZWPCTUO.js} +2 -2
- package/dist/{chunk-IDH5A4RR.js → chunk-F6NQZ4DC.js} +2 -2
- package/dist/chunk-G3H2L3O2.js +0 -0
- package/dist/chunk-IMN62QY5.js +285 -0
- package/dist/chunk-IMN62QY5.js.map +1 -0
- package/dist/chunk-JGZSA5ZI.js +0 -0
- package/dist/{chunk-V5XXJH63.js → chunk-JNFUWQ4N.js} +2 -2
- package/dist/{chunk-UJEH2NJT.js → chunk-JRXNVEV3.js} +2 -271
- package/dist/chunk-JRXNVEV3.js.map +1 -0
- package/dist/{chunk-LL7NCMUU.js → chunk-QAJQXZ3N.js} +3 -3
- package/dist/{chunk-SJ75AIA2.js → chunk-QJT2XOKH.js} +8 -6
- package/dist/{chunk-SJ75AIA2.js.map → chunk-QJT2XOKH.js.map} +1 -1
- package/dist/{chunk-HR7NHH5J.js → chunk-RK2CEABS.js} +205 -5
- package/dist/{chunk-HR7NHH5J.js.map → chunk-RK2CEABS.js.map} +1 -1
- package/dist/chunk-WJFZJZIM.js +0 -0
- package/dist/cloud-backends.js +28 -0
- package/dist/cloud-backends.js.map +1 -0
- package/dist/cloud-poller-SUNA6ZQC-7M5LJHHE.js +0 -0
- package/dist/{dist-O3LKOIE7.js → dist-2SXD3ITR.js} +6 -5
- package/dist/{dist-O3LKOIE7.js.map → dist-2SXD3ITR.js.map} +1 -1
- package/dist/{dist-FTKS2GI4.js → dist-4KTWNGU6.js} +6 -5
- package/dist/{dist-WVYAURMF.js → dist-6ZOCQZIP.js} +6 -5
- package/dist/{dist-OO52HARR.js → dist-7VCYREHM.js} +22 -20
- package/dist/{dist-KQTMCVME.js → dist-TL4YW7KZ.js} +6 -5
- package/dist/{dist-KQTMCVME.js.map → dist-TL4YW7KZ.js.map} +1 -1
- package/dist/dist-U2SVLJUQ.js +0 -0
- package/dist/{dist-TSFVB7AI.js → dist-UUOX4DBX.js} +6 -5
- package/dist/{dist-TSFVB7AI.js.map → dist-UUOX4DBX.js.map} +1 -1
- package/dist/dist-XSEK7LX3.js +156 -0
- package/dist/{dist-Z6L5MM5D.js → dist-YGXQMN2K.js} +6 -5
- package/dist/index.js +59 -55
- package/dist/index.js.map +1 -1
- package/dist/{prepared-state-75DIZ55S-TNJXWMXV.js → prepared-state-75DIZ55S-B33TDOJZ.js} +3 -2
- package/dist/prepared-state-75DIZ55S-B33TDOJZ.js.map +1 -0
- package/package.json +31 -29
- package/runtime/_shared/agentbox-checkpoint-cleanup +0 -0
- package/runtime/_shared/agentbox-dockerd-start +0 -0
- package/runtime/_shared/agentbox-open +0 -0
- package/runtime/_shared/agentbox-portless-trust +0 -0
- package/runtime/_shared/agentbox-vnc-start +0 -0
- package/runtime/_shared/ctl.cjs +186 -172
- package/runtime/_shared/gh-shim +0 -0
- package/runtime/_shared/git-shim +0 -0
- package/runtime/_shared/linear-shim +0 -0
- package/runtime/_shared/ntn-shim +0 -0
- package/runtime/digitalocean/agentbox-checkpoint-cleanup +0 -0
- package/runtime/digitalocean/agentbox-dockerd-start +0 -0
- package/runtime/digitalocean/agentbox-open +0 -0
- package/runtime/digitalocean/agentbox-portless-trust +0 -0
- package/runtime/digitalocean/agentbox-vnc-start +0 -0
- package/runtime/digitalocean/ctl.cjs +186 -172
- package/runtime/digitalocean/gh-shim +0 -0
- package/runtime/digitalocean/git-shim +0 -0
- package/runtime/digitalocean/linear-shim +0 -0
- package/runtime/digitalocean/ntn-shim +0 -0
- package/runtime/digitalocean/scripts/install-box.sh +0 -0
- package/runtime/docker/packages/ctl/dist/bin.cjs +186 -172
- package/runtime/docker/packages/sandbox-docker/scripts/agentbox-checkpoint-cleanup +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/agentbox-dockerd-start +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/agentbox-open +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/agentbox-portless-trust +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/agentbox-sshd-start +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/agentbox-vnc-start +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/chromium-resolver +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/gh-shim +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/git-shim +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/linear-shim +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/ntn-shim +0 -0
- package/runtime/e2b/agentbox-checkpoint-cleanup +0 -0
- package/runtime/e2b/agentbox-dockerd-start +0 -0
- package/runtime/e2b/agentbox-open +0 -0
- package/runtime/e2b/agentbox-vnc-start +0 -0
- package/runtime/e2b/ctl.cjs +186 -172
- package/runtime/e2b/gh-shim +0 -0
- package/runtime/e2b/git-shim +0 -0
- package/runtime/e2b/linear-shim +0 -0
- package/runtime/e2b/ntn-shim +0 -0
- package/runtime/e2b/scripts/build-template.sh +0 -0
- package/runtime/hetzner/agentbox-checkpoint-cleanup +0 -0
- package/runtime/hetzner/agentbox-dockerd-start +0 -0
- package/runtime/hetzner/agentbox-open +0 -0
- package/runtime/hetzner/agentbox-portless-trust +0 -0
- package/runtime/hetzner/agentbox-vnc-start +0 -0
- package/runtime/hetzner/ctl.cjs +186 -172
- package/runtime/hetzner/gh-shim +0 -0
- package/runtime/hetzner/git-shim +0 -0
- package/runtime/hetzner/linear-shim +0 -0
- package/runtime/hetzner/ntn-shim +0 -0
- package/runtime/hetzner/scripts/install-box.sh +0 -0
- package/runtime/hub/apps/hub/.next/BUILD_ID +1 -1
- package/runtime/hub/apps/hub/.next/build-manifest.json +3 -3
- package/runtime/hub/apps/hub/.next/prerender-manifest.json +3 -3
- package/runtime/hub/apps/hub/.next/server/app/(auth)/api/auth/[...all]/route.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(auth)/api/auth/[...all]/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page/server-reference-manifest.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page_client-reference-manifest.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page/server-reference-manifest.json +12 -12
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page_client-reference-manifest.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page/server-reference-manifest.json +11 -11
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page/server-reference-manifest.json +8 -8
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page_client-reference-manifest.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/[...path]/route.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/[...path]/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.html +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/0zhp_better-auth_dist_adapters_kysely-adapter_index_mjs_1rl4qnh._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/151__@better-auth_core_dist_0ecdp_3._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__04h15ml._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__04jgk9x._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__07ednlo._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0a7djvw._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0d1lmiq._.js +5 -5
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ig1bot._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0szd4sh._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0t7o5ed._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1-0flwc._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1-9g0ae._.js +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__1e4z_-v._.js → [root-of-the-server]__11izd5j._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__13ioh5z._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__13jwk_k._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__16_uteg._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__16p2m-g._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__1k8g143._.js → [root-of-the-server]__19pc87s._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1_gu2yk._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ai-945._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1bu2zio._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ctczev._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1f2sueq._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1f9zctr._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1md9kdw._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1mttufy._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1pp5oib._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1qwhzmi._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1thipug._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1xeczo7._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__20503l7._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0760z6y._.js +3 -3
- package/runtime/hub/apps/hub/.next/server/chunks/packages_relay_dist_control-plane_03a-9aj.js +3 -3
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/044u_hub__next-internal_server_app_(dashboard)_projects_[id]_page_actions_15f56np.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_0xy-j7z._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_010858m.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_04zwxnx.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_06exuc7.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_0f2ldrt.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_0f2tzep.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_116nh32.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_11dyjcb.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_1_4knli.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__08-1wwu._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0c9mbcn._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0gdfxj4._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0kc-hwp._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0lu73p6._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__10bfmwi._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__18qvdzb._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__1l2urlw._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/_03s-ah2._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0kpdmm-._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0ozyjt1._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0r4px38._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/_18w2zeh._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub__next-internal_server_app_(dashboard)_approvals_page_actions_1mi0bpn.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub__next-internal_server_app_(dashboard)_boxes_[id]_page_actions_0k7kgn2.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub__next-internal_server_app_(dashboard)_page_actions_1t3u0xy.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_app_(dashboard)_boxes_[id]_page_tsx_1-j_972._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_app_(dashboard)_boxes_components_box-table_tsx_0a9pyn_._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/packages_relay_dist_control-plane_0ve-wz4.js +1 -1
- package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +3 -3
- package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -1
- package/runtime/hub/apps/hub/.next/server/server-reference-manifest.js +1 -1
- package/runtime/hub/apps/hub/.next/server/server-reference-manifest.json +18 -18
- package/runtime/hub/apps/hub/.next/static/chunks/{44j61g8lm9nvw.js → 1-maeq_pl3z29.js} +1 -1
- package/runtime/hub/apps/hub/.next/static/chunks/{3-zanu4ioia5i.js → 1f-pwhlfklk8h.js} +1 -1
- package/runtime/hub/apps/hub/.next/static/chunks/{0xdtiy_m2ygv8.js → 1g922r_mc5ciw.js} +1 -1
- package/runtime/hub/apps/hub/.next/static/chunks/{26rwu1f2gzemi.js → 2k1tvmngrtdgs.js} +1 -1
- package/runtime/hub/apps/hub/.next/static/chunks/{3v6kx35_lwjs8.js → 2omimeqtc8qnp.js} +1 -1
- package/runtime/hub/apps/hub/.next/static/chunks/{000a1sa7te1h8.js → 3urpddxa8b_je.js} +1 -1
- package/runtime/hub/apps/hub/{chunk-YJ5MJOXK.js → chunk-5ARPIPV4.js} +194 -171
- package/runtime/hub/apps/hub/{chunk-EHBJKZCL.js → chunk-AEIOQFZ4.js} +245 -2
- package/runtime/hub/apps/hub/dist-2EOAT3PC.js +155 -0
- package/runtime/hub/apps/hub/{dist-LYDHYTP2.js → dist-DQIL673Y.js} +2 -2
- package/runtime/hub/apps/hub/{dist-GTVVXCBP.js → dist-EURE7AUA.js} +2 -2
- package/runtime/hub/apps/hub/{dist-JG45OFT2.js → dist-EYHD64SR.js} +16 -16
- package/runtime/hub/apps/hub/{dist-G6TXUSPZ.js → dist-GFXXCXLS.js} +2 -2
- package/runtime/hub/apps/hub/{dist-DX6IYMAH.js → dist-IVA2PC7N.js} +2 -2
- package/runtime/hub/apps/hub/{dist-6FPPUSWZ.js → dist-MMTT7VYJ.js} +1 -1
- package/runtime/hub/apps/hub/{dist-3I7KUI6W.js → dist-TAWVTJGU.js} +2 -2
- package/runtime/hub/apps/hub/server.js +28 -15
- package/runtime/relay/bin.cjs +37 -3
- package/runtime/vercel/agentbox-checkpoint-cleanup +0 -0
- package/runtime/vercel/agentbox-dockerd-start +0 -0
- package/runtime/vercel/agentbox-open +0 -0
- package/runtime/vercel/agentbox-vnc-start +0 -0
- package/runtime/vercel/ctl.cjs +186 -172
- package/runtime/vercel/gh-shim +0 -0
- package/runtime/vercel/git-shim +0 -0
- package/runtime/vercel/linear-shim +0 -0
- package/runtime/vercel/ntn-shim +0 -0
- package/runtime/vercel/scripts/provision.sh +0 -0
- package/LICENSE +0 -21
- package/dist/chunk-26IKZRTT.js.map +0 -1
- package/dist/chunk-JE6UI5YR.js.map +0 -1
- package/dist/chunk-UJEH2NJT.js.map +0 -1
- package/runtime/hub/apps/hub/.next/server/chunks/0-fj_better-auth_dist_adapters_kysely-adapter_index_mjs_0btft52._.js +0 -3
- /package/dist/{_cloud-attach-WDGM6FL5.js.map → _cloud-attach-FVD5YJCE.js.map} +0 -0
- /package/dist/{chunk-NEF6MDJO.js.map → chunk-2PCU4OF5.js.map} +0 -0
- /package/dist/{chunk-KWOEUFVA.js.map → chunk-EZWPCTUO.js.map} +0 -0
- /package/dist/{chunk-IDH5A4RR.js.map → chunk-F6NQZ4DC.js.map} +0 -0
- /package/dist/{chunk-V5XXJH63.js.map → chunk-JNFUWQ4N.js.map} +0 -0
- /package/dist/{chunk-LL7NCMUU.js.map → chunk-QAJQXZ3N.js.map} +0 -0
- /package/dist/{dist-FTKS2GI4.js.map → dist-4KTWNGU6.js.map} +0 -0
- /package/dist/{dist-OO52HARR.js.map → dist-6ZOCQZIP.js.map} +0 -0
- /package/dist/{dist-WVYAURMF.js.map → dist-7VCYREHM.js.map} +0 -0
- /package/dist/{dist-Z6L5MM5D.js.map → dist-XSEK7LX3.js.map} +0 -0
- /package/dist/{prepared-state-75DIZ55S-TNJXWMXV.js.map → dist-YGXQMN2K.js.map} +0 -0
- /package/runtime/hub/apps/hub/.next/static/{S-yw9-SVffiEHRGm85NzP → Wddru2A-5szSWhZWYoMwi}/_buildManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{S-yw9-SVffiEHRGm85NzP → Wddru2A-5szSWhZWYoMwi}/_clientMiddlewareManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{S-yw9-SVffiEHRGm85NzP → Wddru2A-5szSWhZWYoMwi}/_ssgManifest.js +0 -0
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
readBoxStatus,
|
|
23
23
|
registerBoxWithRelay,
|
|
24
24
|
syncClaudeCredentials
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-5ARPIPV4.js";
|
|
26
26
|
import {
|
|
27
27
|
AGENT_SYNC_SPECS,
|
|
28
28
|
BOX_DYNAMIC_SYNC_MANIFEST,
|
|
@@ -622,6 +622,14 @@ async function seedOpencodeModelState(backend, handle, opts = {}) {
|
|
|
622
622
|
await staged.cleanup();
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
|
+
function agentSpecsForCloud() {
|
|
626
|
+
return AGENT_SPECS.map((s) => ({
|
|
627
|
+
kind: s.kind,
|
|
628
|
+
staticMountPath: s.staticMountPath,
|
|
629
|
+
credentialsMountPath: s.credentialsMountPath,
|
|
630
|
+
credentialsSubpath: s.credentialsSubpath
|
|
631
|
+
}));
|
|
632
|
+
}
|
|
625
633
|
async function extractCloudAgentCredentials(backend, handle, opts = {}) {
|
|
626
634
|
const transport = createCloudSyncTransport({ backend, handle });
|
|
627
635
|
return extractCredentials(transport, { onLog: opts.onLog, backups: opts.backups });
|
|
@@ -1058,6 +1066,13 @@ function cloudSnapshotName(projectRoot, name) {
|
|
|
1058
1066
|
function backendDir(backend, projectRoot) {
|
|
1059
1067
|
return join5(CLOUD_CHECKPOINTS_ROOT, backend, projectDirSegment(projectRoot));
|
|
1060
1068
|
}
|
|
1069
|
+
async function listCloudBackendDirs() {
|
|
1070
|
+
try {
|
|
1071
|
+
return (await readdir(CLOUD_CHECKPOINTS_ROOT, { withFileTypes: true })).filter((e) => e.isDirectory()).map((e) => e.name);
|
|
1072
|
+
} catch {
|
|
1073
|
+
return [];
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1061
1076
|
function checkpointDir(backend, projectRoot, name) {
|
|
1062
1077
|
return join5(backendDir(backend, projectRoot), name);
|
|
1063
1078
|
}
|
|
@@ -1090,6 +1105,21 @@ async function listCloudCheckpointsInDir(root) {
|
|
|
1090
1105
|
async function listCloudCheckpoints(projectRoot, backend) {
|
|
1091
1106
|
return listCloudCheckpointsInDir(backendDir(backend, projectRoot));
|
|
1092
1107
|
}
|
|
1108
|
+
async function listAllCloudCheckpoints(backend) {
|
|
1109
|
+
const backendRoot = join5(CLOUD_CHECKPOINTS_ROOT, backend);
|
|
1110
|
+
let segments;
|
|
1111
|
+
try {
|
|
1112
|
+
segments = (await readdir(backendRoot, { withFileTypes: true })).filter((e) => e.isDirectory()).map((e) => e.name);
|
|
1113
|
+
} catch {
|
|
1114
|
+
return [];
|
|
1115
|
+
}
|
|
1116
|
+
const out = [];
|
|
1117
|
+
for (const segment of segments) {
|
|
1118
|
+
const items = await listCloudCheckpointsInDir(join5(backendRoot, segment));
|
|
1119
|
+
if (items.length > 0) out.push({ segment, items });
|
|
1120
|
+
}
|
|
1121
|
+
return out;
|
|
1122
|
+
}
|
|
1093
1123
|
async function resolveCloudCheckpoint(projectRoot, backend, ref) {
|
|
1094
1124
|
const dir = checkpointDir(backend, projectRoot, ref);
|
|
1095
1125
|
const manifest = await readManifest(dir);
|
|
@@ -1140,6 +1170,15 @@ async function removeCloudCheckpointDir(projectRoot, backend, name) {
|
|
|
1140
1170
|
await rm5(dir, { recursive: true, force: true });
|
|
1141
1171
|
return true;
|
|
1142
1172
|
}
|
|
1173
|
+
async function probeCloudCheckpoint(backend, projectRoot, ref) {
|
|
1174
|
+
const found = await resolveCloudCheckpoint(projectRoot, backend.name, ref);
|
|
1175
|
+
if (!found) return { live: false, pruned: false };
|
|
1176
|
+
if (!backend.snapshotExists) return { live: true, pruned: false };
|
|
1177
|
+
const live = await backend.snapshotExists(found.manifest.snapshotName);
|
|
1178
|
+
if (live) return { live: true, pruned: false };
|
|
1179
|
+
await removeCloudCheckpointDir(projectRoot, backend.name, ref);
|
|
1180
|
+
return { live: false, pruned: true };
|
|
1181
|
+
}
|
|
1143
1182
|
function isSnapshotGoneError(err) {
|
|
1144
1183
|
if (err === null || typeof err !== "object") return false;
|
|
1145
1184
|
const e = err;
|
|
@@ -3048,6 +3087,26 @@ function defaultCommand(kind, opts) {
|
|
|
3048
3087
|
function shellSingle(s) {
|
|
3049
3088
|
return "'" + s.replace(/'/g, "'\\''") + "'";
|
|
3050
3089
|
}
|
|
3090
|
+
function emptyCloudStats(provider) {
|
|
3091
|
+
return {
|
|
3092
|
+
source: provider,
|
|
3093
|
+
live: false,
|
|
3094
|
+
cpuPercent: null,
|
|
3095
|
+
memUsedBytes: null,
|
|
3096
|
+
memLimitBytes: null,
|
|
3097
|
+
memPercent: null,
|
|
3098
|
+
pids: null,
|
|
3099
|
+
diskUsedBytes: null,
|
|
3100
|
+
snapshotDiskBytes: null,
|
|
3101
|
+
checkpointVolumeBytes: null,
|
|
3102
|
+
netRxBytes: null,
|
|
3103
|
+
netTxBytes: null,
|
|
3104
|
+
blockReadBytes: null,
|
|
3105
|
+
blockWriteBytes: null,
|
|
3106
|
+
limits: { memoryBytes: null, cpus: null, pidsLimit: null, disk: null },
|
|
3107
|
+
warnings: []
|
|
3108
|
+
};
|
|
3109
|
+
}
|
|
3051
3110
|
function remoteTarFor(kind) {
|
|
3052
3111
|
return `/tmp/agentbox-seed-${kind}.tar.gz`;
|
|
3053
3112
|
}
|
|
@@ -3124,23 +3183,207 @@ async function openWebAppOnVncScreen(box, provider) {
|
|
|
3124
3183
|
return { opened: false, reason: err instanceof Error ? err.message : String(err) };
|
|
3125
3184
|
}
|
|
3126
3185
|
}
|
|
3186
|
+
function makeMockCloudBackend(opts = {}) {
|
|
3187
|
+
const name = opts.name ?? "mock";
|
|
3188
|
+
const calls = [];
|
|
3189
|
+
const sandboxes = /* @__PURE__ */ new Map();
|
|
3190
|
+
const snapshots = /* @__PURE__ */ new Map();
|
|
3191
|
+
for (const pre of opts.preloaded ?? []) {
|
|
3192
|
+
sandboxes.set(pre.id, {
|
|
3193
|
+
id: pre.id,
|
|
3194
|
+
name: pre.name ?? pre.id,
|
|
3195
|
+
state: pre.state ?? "running",
|
|
3196
|
+
createdAt: pre.createdAt ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
3197
|
+
image: "mock/preloaded",
|
|
3198
|
+
files: /* @__PURE__ */ new Map()
|
|
3199
|
+
});
|
|
3200
|
+
}
|
|
3201
|
+
const record = async (method, args) => {
|
|
3202
|
+
calls.push({ method, args });
|
|
3203
|
+
if (opts.beforeCall) await opts.beforeCall(method, args);
|
|
3204
|
+
};
|
|
3205
|
+
const requireSandbox = (id) => {
|
|
3206
|
+
const sb = sandboxes.get(id);
|
|
3207
|
+
if (!sb) throw new Error(`mock backend: sandbox ${id} not found`);
|
|
3208
|
+
return sb;
|
|
3209
|
+
};
|
|
3210
|
+
const backend = {
|
|
3211
|
+
name,
|
|
3212
|
+
get calls() {
|
|
3213
|
+
return calls;
|
|
3214
|
+
},
|
|
3215
|
+
get sandboxes() {
|
|
3216
|
+
return Array.from(sandboxes.values());
|
|
3217
|
+
},
|
|
3218
|
+
clearCalls() {
|
|
3219
|
+
calls.length = 0;
|
|
3220
|
+
},
|
|
3221
|
+
async provision(req) {
|
|
3222
|
+
await record("provision", [req]);
|
|
3223
|
+
const id = `mock-${String(sandboxes.size + 1)}-${req.name}`;
|
|
3224
|
+
sandboxes.set(id, {
|
|
3225
|
+
id,
|
|
3226
|
+
name: req.name,
|
|
3227
|
+
state: "running",
|
|
3228
|
+
createdAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
3229
|
+
image: req.snapshot ?? req.image,
|
|
3230
|
+
files: /* @__PURE__ */ new Map()
|
|
3231
|
+
});
|
|
3232
|
+
return { sandboxId: id };
|
|
3233
|
+
},
|
|
3234
|
+
async get(sandboxId) {
|
|
3235
|
+
await record("get", [sandboxId]);
|
|
3236
|
+
return sandboxes.has(sandboxId) ? { sandboxId } : null;
|
|
3237
|
+
},
|
|
3238
|
+
async list() {
|
|
3239
|
+
await record("list", []);
|
|
3240
|
+
return Array.from(sandboxes.values()).map((sb) => ({
|
|
3241
|
+
sandboxId: sb.id,
|
|
3242
|
+
name: sb.name,
|
|
3243
|
+
createdAt: sb.createdAt,
|
|
3244
|
+
state: sb.state
|
|
3245
|
+
}));
|
|
3246
|
+
},
|
|
3247
|
+
async start(h) {
|
|
3248
|
+
await record("start", [h]);
|
|
3249
|
+
const sb = requireSandbox(h.sandboxId);
|
|
3250
|
+
sb.state = "running";
|
|
3251
|
+
},
|
|
3252
|
+
async stop(h) {
|
|
3253
|
+
await record("stop", [h]);
|
|
3254
|
+
const sb = requireSandbox(h.sandboxId);
|
|
3255
|
+
sb.state = "stopped";
|
|
3256
|
+
},
|
|
3257
|
+
async pause(h) {
|
|
3258
|
+
await record("pause", [h]);
|
|
3259
|
+
const sb = requireSandbox(h.sandboxId);
|
|
3260
|
+
sb.state = "paused";
|
|
3261
|
+
},
|
|
3262
|
+
async resume(h) {
|
|
3263
|
+
await record("resume", [h]);
|
|
3264
|
+
const sb = requireSandbox(h.sandboxId);
|
|
3265
|
+
sb.state = "running";
|
|
3266
|
+
},
|
|
3267
|
+
async destroy(h) {
|
|
3268
|
+
await record("destroy", [h]);
|
|
3269
|
+
sandboxes.delete(h.sandboxId);
|
|
3270
|
+
},
|
|
3271
|
+
async state(h) {
|
|
3272
|
+
await record("state", [h]);
|
|
3273
|
+
const sb = sandboxes.get(h.sandboxId);
|
|
3274
|
+
return sb ? sb.state : "missing";
|
|
3275
|
+
},
|
|
3276
|
+
async exec(h, cmd, opts2) {
|
|
3277
|
+
await record("exec", [h, cmd, opts2]);
|
|
3278
|
+
requireSandbox(h.sandboxId);
|
|
3279
|
+
return { exitCode: 0, stdout: "", stderr: "" };
|
|
3280
|
+
},
|
|
3281
|
+
async uploadFile(h, localPath, remotePath) {
|
|
3282
|
+
await record("uploadFile", [h, localPath, remotePath]);
|
|
3283
|
+
const sb = requireSandbox(h.sandboxId);
|
|
3284
|
+
sb.files.set(remotePath, new Uint8Array([0]));
|
|
3285
|
+
},
|
|
3286
|
+
async downloadFile(h, remotePath, localPath) {
|
|
3287
|
+
await record("downloadFile", [h, remotePath, localPath]);
|
|
3288
|
+
const sb = requireSandbox(h.sandboxId);
|
|
3289
|
+
if (!sb.files.has(remotePath)) {
|
|
3290
|
+
throw new Error(`mock backend: ${remotePath} not in sandbox ${h.sandboxId}`);
|
|
3291
|
+
}
|
|
3292
|
+
},
|
|
3293
|
+
async listFiles(h, remoteDir) {
|
|
3294
|
+
await record("listFiles", [h, remoteDir]);
|
|
3295
|
+
const sb = requireSandbox(h.sandboxId);
|
|
3296
|
+
const prefix = remoteDir.endsWith("/") ? remoteDir : `${remoteDir}/`;
|
|
3297
|
+
const out = [];
|
|
3298
|
+
for (const p of sb.files.keys()) {
|
|
3299
|
+
if (p.startsWith(prefix)) {
|
|
3300
|
+
out.push({ name: p.slice(prefix.length), isDir: false });
|
|
3301
|
+
}
|
|
3302
|
+
}
|
|
3303
|
+
return out;
|
|
3304
|
+
},
|
|
3305
|
+
async previewUrl(h, port) {
|
|
3306
|
+
await record("previewUrl", [h, port]);
|
|
3307
|
+
requireSandbox(h.sandboxId);
|
|
3308
|
+
return { url: `https://${String(port)}-${h.sandboxId}.mock.preview`, token: "mock-token" };
|
|
3309
|
+
},
|
|
3310
|
+
async signedPreviewUrl(h, port, expiresInSeconds) {
|
|
3311
|
+
await record("signedPreviewUrl", [h, port, expiresInSeconds]);
|
|
3312
|
+
requireSandbox(h.sandboxId);
|
|
3313
|
+
return {
|
|
3314
|
+
url: `https://${String(port)}-${h.sandboxId}-signed${String(expiresInSeconds)}.mock.preview`
|
|
3315
|
+
};
|
|
3316
|
+
},
|
|
3317
|
+
async attachArgv(h) {
|
|
3318
|
+
await record("attachArgv", [h]);
|
|
3319
|
+
requireSandbox(h.sandboxId);
|
|
3320
|
+
return ["ssh", "-o", "StrictHostKeyChecking=no", `mock-token@${h.sandboxId}.mock.ssh`];
|
|
3321
|
+
},
|
|
3322
|
+
async revokeAttachToken(h, argv) {
|
|
3323
|
+
await record("revokeAttachToken", [h, argv]);
|
|
3324
|
+
},
|
|
3325
|
+
async ensureVolume(volumeName) {
|
|
3326
|
+
await record("ensureVolume", [volumeName]);
|
|
3327
|
+
return { volumeId: `vol-${volumeName}` };
|
|
3328
|
+
},
|
|
3329
|
+
async createSnapshot(h, snapshotName) {
|
|
3330
|
+
await record("createSnapshot", [h, snapshotName]);
|
|
3331
|
+
requireSandbox(h.sandboxId);
|
|
3332
|
+
snapshots.set(snapshotName, { id: snapshotName });
|
|
3333
|
+
},
|
|
3334
|
+
async deleteSnapshot(snapshotName) {
|
|
3335
|
+
await record("deleteSnapshot", [snapshotName]);
|
|
3336
|
+
snapshots.delete(snapshotName);
|
|
3337
|
+
}
|
|
3338
|
+
};
|
|
3339
|
+
return backend;
|
|
3340
|
+
}
|
|
3127
3341
|
|
|
3128
3342
|
export {
|
|
3129
3343
|
quoteShellArgv,
|
|
3130
3344
|
quoteShellArg,
|
|
3131
3345
|
bashScript,
|
|
3346
|
+
createCloudSyncTransport,
|
|
3347
|
+
ensureAgentVolumesForCloud,
|
|
3348
|
+
seedAgentVolumesIfFresh,
|
|
3349
|
+
ensureAgentHomeDirsOwned,
|
|
3350
|
+
seedOpencodeModelState,
|
|
3351
|
+
agentSpecsForCloud,
|
|
3352
|
+
extractCloudAgentCredentials,
|
|
3353
|
+
reconcileAgentCredentials,
|
|
3354
|
+
reconcileAgentCredentialsViaTransport,
|
|
3355
|
+
seedDynamicConfig,
|
|
3356
|
+
seedClaudeJsonAtCreate,
|
|
3357
|
+
seedGitIdentity,
|
|
3358
|
+
seedGitCredentials,
|
|
3359
|
+
uploadEnvFiles,
|
|
3360
|
+
makeCloudSync,
|
|
3361
|
+
CLOUD_CHECKPOINTS_ROOT,
|
|
3362
|
+
CLOUD_SNAPSHOT_NAME_PREFIX,
|
|
3132
3363
|
cloudSnapshotName,
|
|
3364
|
+
listCloudBackendDirs,
|
|
3133
3365
|
listCloudCheckpoints,
|
|
3366
|
+
listAllCloudCheckpoints,
|
|
3134
3367
|
resolveCloudCheckpoint,
|
|
3135
3368
|
writeCloudCheckpointManifest,
|
|
3136
3369
|
currentCloudBaseFingerprint,
|
|
3137
3370
|
baseFreshnessFromFingerprints,
|
|
3138
3371
|
removeCloudCheckpointDir,
|
|
3372
|
+
probeCloudCheckpoint,
|
|
3373
|
+
pullCloudDirContents,
|
|
3374
|
+
uploadToCloudBox,
|
|
3375
|
+
downloadFromCloudBox,
|
|
3376
|
+
kickCloudBootstrap,
|
|
3377
|
+
seedCloudWorkspace,
|
|
3378
|
+
CLOUD_WORKSPACE_DIR,
|
|
3139
3379
|
CLOUD_WEB_PROXY_PORT,
|
|
3140
3380
|
CLOUD_VNC_PORT,
|
|
3141
3381
|
createCloudProvider,
|
|
3142
3382
|
hostTermForCloud,
|
|
3143
3383
|
renderInnerCommand,
|
|
3384
|
+
emptyCloudStats,
|
|
3385
|
+
buildAgentStaticSeedCommands,
|
|
3144
3386
|
seedAgentStaticIntoCloudBox,
|
|
3145
|
-
openWebAppOnVncScreen
|
|
3387
|
+
openWebAppOnVncScreen,
|
|
3388
|
+
makeMockCloudBackend
|
|
3146
3389
|
};
|
|
@@ -0,0 +1,155 @@
|
|
|
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
|
+
CLOUD_CHECKPOINTS_ROOT,
|
|
4
|
+
CLOUD_SNAPSHOT_NAME_PREFIX,
|
|
5
|
+
CLOUD_VNC_PORT,
|
|
6
|
+
CLOUD_WEB_PROXY_PORT,
|
|
7
|
+
CLOUD_WORKSPACE_DIR,
|
|
8
|
+
agentSpecsForCloud,
|
|
9
|
+
baseFreshnessFromFingerprints,
|
|
10
|
+
bashScript,
|
|
11
|
+
buildAgentStaticSeedCommands,
|
|
12
|
+
cloudSnapshotName,
|
|
13
|
+
createCloudProvider,
|
|
14
|
+
createCloudSyncTransport,
|
|
15
|
+
currentCloudBaseFingerprint,
|
|
16
|
+
downloadFromCloudBox,
|
|
17
|
+
emptyCloudStats,
|
|
18
|
+
ensureAgentHomeDirsOwned,
|
|
19
|
+
ensureAgentVolumesForCloud,
|
|
20
|
+
extractCloudAgentCredentials,
|
|
21
|
+
hostTermForCloud,
|
|
22
|
+
kickCloudBootstrap,
|
|
23
|
+
listAllCloudCheckpoints,
|
|
24
|
+
listCloudBackendDirs,
|
|
25
|
+
listCloudCheckpoints,
|
|
26
|
+
makeCloudSync,
|
|
27
|
+
makeMockCloudBackend,
|
|
28
|
+
openWebAppOnVncScreen,
|
|
29
|
+
probeCloudCheckpoint,
|
|
30
|
+
pullCloudDirContents,
|
|
31
|
+
quoteShellArg,
|
|
32
|
+
quoteShellArgv,
|
|
33
|
+
reconcileAgentCredentials,
|
|
34
|
+
reconcileAgentCredentialsViaTransport,
|
|
35
|
+
removeCloudCheckpointDir,
|
|
36
|
+
renderInnerCommand,
|
|
37
|
+
resolveCloudCheckpoint,
|
|
38
|
+
seedAgentStaticIntoCloudBox,
|
|
39
|
+
seedAgentVolumesIfFresh,
|
|
40
|
+
seedClaudeJsonAtCreate,
|
|
41
|
+
seedCloudWorkspace,
|
|
42
|
+
seedDynamicConfig,
|
|
43
|
+
seedGitCredentials,
|
|
44
|
+
seedGitIdentity,
|
|
45
|
+
seedOpencodeModelState,
|
|
46
|
+
uploadEnvFiles,
|
|
47
|
+
uploadToCloudBox,
|
|
48
|
+
writeCloudCheckpointManifest
|
|
49
|
+
} from "./chunk-AEIOQFZ4.js";
|
|
50
|
+
import {
|
|
51
|
+
CODEX_CREDENTIALS_BACKUP_FILE,
|
|
52
|
+
CREDENTIALS_BACKUP_FILE,
|
|
53
|
+
OPENCODE_CREDENTIALS_BACKUP_FILE,
|
|
54
|
+
PORTLESS_PROXY_PORT,
|
|
55
|
+
detectPortless,
|
|
56
|
+
installPortless,
|
|
57
|
+
portlessAlias,
|
|
58
|
+
portlessBrowserEnv,
|
|
59
|
+
portlessDoctorRow,
|
|
60
|
+
portlessGetUrl,
|
|
61
|
+
portlessInstallHint,
|
|
62
|
+
portlessStartHint,
|
|
63
|
+
portlessUnalias,
|
|
64
|
+
resetPortlessCache,
|
|
65
|
+
resolvePortlessHostStateDir,
|
|
66
|
+
startPortlessProxy
|
|
67
|
+
} from "./chunk-5ARPIPV4.js";
|
|
68
|
+
import "./chunk-3LAHFDJF.js";
|
|
69
|
+
import {
|
|
70
|
+
isRealAgentCredential,
|
|
71
|
+
stageAgentsStaticForUpload,
|
|
72
|
+
stageClaudeCredentialsForUpload,
|
|
73
|
+
stageClaudeJsonOnlyForUpload,
|
|
74
|
+
stageClaudeStaticForUpload,
|
|
75
|
+
stageCodexCredentialsForUpload,
|
|
76
|
+
stageCodexStaticForUpload,
|
|
77
|
+
stageOpencodeCredentialsForUpload,
|
|
78
|
+
stageOpencodeStaticForUpload
|
|
79
|
+
} from "./chunk-RXYOWSSN.js";
|
|
80
|
+
import "./chunk-UDZ3VXRF.js";
|
|
81
|
+
import "./chunk-QSMPSV5Z.js";
|
|
82
|
+
import "./chunk-OG4KH2FZ.js";
|
|
83
|
+
export {
|
|
84
|
+
CLOUD_CHECKPOINTS_ROOT,
|
|
85
|
+
CLOUD_SNAPSHOT_NAME_PREFIX,
|
|
86
|
+
CLOUD_VNC_PORT,
|
|
87
|
+
CLOUD_WEB_PROXY_PORT,
|
|
88
|
+
CLOUD_WORKSPACE_DIR,
|
|
89
|
+
CODEX_CREDENTIALS_BACKUP_FILE,
|
|
90
|
+
CREDENTIALS_BACKUP_FILE,
|
|
91
|
+
OPENCODE_CREDENTIALS_BACKUP_FILE,
|
|
92
|
+
PORTLESS_PROXY_PORT,
|
|
93
|
+
agentSpecsForCloud,
|
|
94
|
+
baseFreshnessFromFingerprints,
|
|
95
|
+
bashScript,
|
|
96
|
+
buildAgentStaticSeedCommands,
|
|
97
|
+
cloudSnapshotName,
|
|
98
|
+
createCloudProvider,
|
|
99
|
+
createCloudSyncTransport,
|
|
100
|
+
currentCloudBaseFingerprint,
|
|
101
|
+
detectPortless,
|
|
102
|
+
downloadFromCloudBox,
|
|
103
|
+
emptyCloudStats,
|
|
104
|
+
ensureAgentHomeDirsOwned,
|
|
105
|
+
ensureAgentVolumesForCloud,
|
|
106
|
+
extractCloudAgentCredentials,
|
|
107
|
+
hostTermForCloud,
|
|
108
|
+
installPortless,
|
|
109
|
+
isRealAgentCredential,
|
|
110
|
+
kickCloudBootstrap,
|
|
111
|
+
listAllCloudCheckpoints,
|
|
112
|
+
listCloudBackendDirs,
|
|
113
|
+
listCloudCheckpoints,
|
|
114
|
+
makeCloudSync,
|
|
115
|
+
makeMockCloudBackend,
|
|
116
|
+
openWebAppOnVncScreen,
|
|
117
|
+
portlessAlias,
|
|
118
|
+
portlessBrowserEnv,
|
|
119
|
+
portlessDoctorRow,
|
|
120
|
+
portlessGetUrl,
|
|
121
|
+
portlessInstallHint,
|
|
122
|
+
portlessStartHint,
|
|
123
|
+
portlessUnalias,
|
|
124
|
+
probeCloudCheckpoint,
|
|
125
|
+
pullCloudDirContents,
|
|
126
|
+
quoteShellArg,
|
|
127
|
+
quoteShellArgv,
|
|
128
|
+
reconcileAgentCredentials,
|
|
129
|
+
reconcileAgentCredentialsViaTransport,
|
|
130
|
+
removeCloudCheckpointDir,
|
|
131
|
+
renderInnerCommand,
|
|
132
|
+
resetPortlessCache,
|
|
133
|
+
resolveCloudCheckpoint,
|
|
134
|
+
resolvePortlessHostStateDir,
|
|
135
|
+
seedAgentStaticIntoCloudBox,
|
|
136
|
+
seedAgentVolumesIfFresh,
|
|
137
|
+
seedClaudeJsonAtCreate,
|
|
138
|
+
seedCloudWorkspace,
|
|
139
|
+
seedDynamicConfig,
|
|
140
|
+
seedGitCredentials,
|
|
141
|
+
seedGitIdentity,
|
|
142
|
+
seedOpencodeModelState,
|
|
143
|
+
stageAgentsStaticForUpload,
|
|
144
|
+
stageClaudeCredentialsForUpload,
|
|
145
|
+
stageClaudeJsonOnlyForUpload,
|
|
146
|
+
stageClaudeStaticForUpload,
|
|
147
|
+
stageCodexCredentialsForUpload,
|
|
148
|
+
stageCodexStaticForUpload,
|
|
149
|
+
stageOpencodeCredentialsForUpload,
|
|
150
|
+
stageOpencodeStaticForUpload,
|
|
151
|
+
startPortlessProxy,
|
|
152
|
+
uploadEnvFiles,
|
|
153
|
+
uploadToCloudBox,
|
|
154
|
+
writeCloudCheckpointManifest
|
|
155
|
+
};
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
} from "./chunk-CKBHQ7OI.js";
|
|
13
13
|
import {
|
|
14
14
|
createCloudProvider
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AEIOQFZ4.js";
|
|
16
16
|
import {
|
|
17
17
|
detectPortless,
|
|
18
18
|
portlessDoctorRow
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-5ARPIPV4.js";
|
|
20
20
|
import "./chunk-3LAHFDJF.js";
|
|
21
21
|
import {
|
|
22
22
|
SshTunnelManager,
|
|
@@ -21,8 +21,8 @@ import {
|
|
|
21
21
|
renderInnerCommand,
|
|
22
22
|
resolveCloudCheckpoint,
|
|
23
23
|
writeCloudCheckpointManifest
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-AEIOQFZ4.js";
|
|
25
|
+
import "./chunk-5ARPIPV4.js";
|
|
26
26
|
import "./chunk-3LAHFDJF.js";
|
|
27
27
|
import {
|
|
28
28
|
UserFacingError,
|
|
@@ -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,8 +34,8 @@ import {
|
|
|
20
34
|
resolveCloudCheckpoint,
|
|
21
35
|
seedAgentStaticIntoCloudBox,
|
|
22
36
|
writeCloudCheckpointManifest
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-AEIOQFZ4.js";
|
|
38
|
+
import "./chunk-5ARPIPV4.js";
|
|
25
39
|
import "./chunk-3LAHFDJF.js";
|
|
26
40
|
import {
|
|
27
41
|
BOX_IMAGE_REGISTRY,
|
|
@@ -44,20 +58,6 @@ import {
|
|
|
44
58
|
loadEffectiveConfig,
|
|
45
59
|
resolveDaytonaClass
|
|
46
60
|
} 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
61
|
import "./chunk-OG4KH2FZ.js";
|
|
62
62
|
|
|
63
63
|
// ../../packages/sandbox-daytona/dist/chunk-HEUB57SZ.js
|
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
renderInnerCommand,
|
|
19
19
|
resolveCloudCheckpoint,
|
|
20
20
|
writeCloudCheckpointManifest
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-AEIOQFZ4.js";
|
|
22
|
+
import "./chunk-5ARPIPV4.js";
|
|
23
23
|
import "./chunk-3LAHFDJF.js";
|
|
24
24
|
import {
|
|
25
25
|
UserFacingError,
|
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
renderInnerCommand,
|
|
21
21
|
resolveCloudCheckpoint,
|
|
22
22
|
writeCloudCheckpointManifest
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AEIOQFZ4.js";
|
|
24
24
|
import {
|
|
25
25
|
detectPortless,
|
|
26
26
|
portlessDoctorRow
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-5ARPIPV4.js";
|
|
28
28
|
import "./chunk-3LAHFDJF.js";
|
|
29
29
|
import {
|
|
30
30
|
BOX_IMAGE_REGISTRY,
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
} from "./chunk-CKBHQ7OI.js";
|
|
14
14
|
import {
|
|
15
15
|
createCloudProvider
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AEIOQFZ4.js";
|
|
17
17
|
import {
|
|
18
18
|
detectPortless,
|
|
19
19
|
portlessDoctorRow
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5ARPIPV4.js";
|
|
21
21
|
import "./chunk-3LAHFDJF.js";
|
|
22
22
|
import {
|
|
23
23
|
SshTunnelManager,
|