@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
|
@@ -731,11 +731,11 @@ import { dirname as dirname3, join as join11, resolve as resolve3, sep } from "p
|
|
|
731
731
|
import { setTimeout as delay2 } from "timers/promises";
|
|
732
732
|
import { fileURLToPath } from "url";
|
|
733
733
|
|
|
734
|
-
// ../../packages/relay/dist/chunk-
|
|
734
|
+
// ../../packages/relay/dist/chunk-WDEY7V3V.js
|
|
735
|
+
import { randomUUID } from "crypto";
|
|
735
736
|
import { mkdir, rename, rm, writeFile } from "fs/promises";
|
|
736
737
|
import { homedir } from "os";
|
|
737
738
|
import { join } from "path";
|
|
738
|
-
import { randomUUID } from "crypto";
|
|
739
739
|
import { randomUUID as randomUUID2 } from "crypto";
|
|
740
740
|
import { createSign } from "crypto";
|
|
741
741
|
var DEFAULT_RELAY_PORT = 8787;
|
|
@@ -744,6 +744,169 @@ var RELAY_CONTAINER_NAME = "agentbox-relay";
|
|
|
744
744
|
var RELAY_NETWORK_NAME = "agentbox-net";
|
|
745
745
|
var RELAY_IMAGE_REF = "agentbox/relay:dev";
|
|
746
746
|
var RELAY_EVENT_RING_SIZE = 1e3;
|
|
747
|
+
var PendingPrompts = class {
|
|
748
|
+
entries = /* @__PURE__ */ new Map();
|
|
749
|
+
autoApprove = null;
|
|
750
|
+
onChange = null;
|
|
751
|
+
/** Install the per-box auto-approve policy (relay server, once at startup). */
|
|
752
|
+
setAutoApprovePolicy(policy) {
|
|
753
|
+
this.autoApprove = policy;
|
|
754
|
+
}
|
|
755
|
+
/**
|
|
756
|
+
* Install a change hook fired whenever the pending set is mutated (add /
|
|
757
|
+
* resolve). Wired by the relay server to the hub notifier so the embedded UI
|
|
758
|
+
* pushes an update to connected browsers.
|
|
759
|
+
*/
|
|
760
|
+
setOnChange(fn) {
|
|
761
|
+
this.onChange = fn;
|
|
762
|
+
}
|
|
763
|
+
/**
|
|
764
|
+
* True when this box opted into `box.autoApproveHostActions`. Records the
|
|
765
|
+
* bypass to the audit sink as a side effect so the caller short-circuits
|
|
766
|
+
* with a trail. Returns false when no policy is installed.
|
|
767
|
+
*/
|
|
768
|
+
consumeAutoApprove(boxId, params) {
|
|
769
|
+
if (!this.autoApprove || !this.autoApprove.shouldAutoApprove(boxId)) return false;
|
|
770
|
+
this.autoApprove.audit(boxId, params);
|
|
771
|
+
return true;
|
|
772
|
+
}
|
|
773
|
+
/**
|
|
774
|
+
* Record a *safe-subset* auto-approval (opening a PR, a contained file copy,
|
|
775
|
+
* a sanctioned-branch push, …) to the audit sink WITHOUT the blanket
|
|
776
|
+
* `autoApproveHostActions` opt-in. The handler already decided the action is
|
|
777
|
+
* safe under `box.autoApproveSafeHostActions`; this just leaves the same
|
|
778
|
+
* `host-action-auto-approved` trail a full opt-in would, tagged with `reason`.
|
|
779
|
+
* No-op when no policy is installed (e.g. the stateless poll plane).
|
|
780
|
+
*/
|
|
781
|
+
noteAutoApprove(boxId, params, reason) {
|
|
782
|
+
this.autoApprove?.audit(boxId, params, reason);
|
|
783
|
+
}
|
|
784
|
+
add(boxId, ev) {
|
|
785
|
+
return new Promise((resolve6) => {
|
|
786
|
+
this.entries.set(ev.id, {
|
|
787
|
+
ev,
|
|
788
|
+
boxId,
|
|
789
|
+
resolve: resolve6,
|
|
790
|
+
createdAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
791
|
+
});
|
|
792
|
+
this.onChange?.();
|
|
793
|
+
});
|
|
794
|
+
}
|
|
795
|
+
/**
|
|
796
|
+
* Idempotent: returns true if a pending entry was found + resolved, false
|
|
797
|
+
* otherwise. The /admin/prompts/answer handler uses the bool to decide
|
|
798
|
+
* 204 vs 404 — the wrapper treats both as "we're done."
|
|
799
|
+
*/
|
|
800
|
+
resolve(id, answer, cancelled) {
|
|
801
|
+
const entry = this.entries.get(id);
|
|
802
|
+
if (!entry) return false;
|
|
803
|
+
this.entries.delete(id);
|
|
804
|
+
entry.resolve({ answer, cancelled });
|
|
805
|
+
this.onChange?.();
|
|
806
|
+
return true;
|
|
807
|
+
}
|
|
808
|
+
/**
|
|
809
|
+
* Snapshot of all pending prompts for a given box; used to flush the
|
|
810
|
+
* backlog to a newly-attached SSE subscriber.
|
|
811
|
+
*/
|
|
812
|
+
forBox(boxId) {
|
|
813
|
+
const out = [];
|
|
814
|
+
for (const entry of this.entries.values()) {
|
|
815
|
+
if (entry.boxId === boxId) out.push(entry.ev);
|
|
816
|
+
}
|
|
817
|
+
return out;
|
|
818
|
+
}
|
|
819
|
+
/**
|
|
820
|
+
* Snapshot of every pending prompt across all boxes, with its boxId and
|
|
821
|
+
* enqueue time — the hub's Approvals view lists these.
|
|
822
|
+
*/
|
|
823
|
+
all() {
|
|
824
|
+
const out = [];
|
|
825
|
+
for (const entry of this.entries.values()) {
|
|
826
|
+
out.push({ id: entry.ev.id, boxId: entry.boxId, ev: entry.ev, createdAt: entry.createdAt });
|
|
827
|
+
}
|
|
828
|
+
return out;
|
|
829
|
+
}
|
|
830
|
+
/** boxId that owns a pending prompt id, or null when unknown. */
|
|
831
|
+
boxFor(id) {
|
|
832
|
+
const entry = this.entries.get(id);
|
|
833
|
+
return entry ? entry.boxId : null;
|
|
834
|
+
}
|
|
835
|
+
size() {
|
|
836
|
+
return this.entries.size;
|
|
837
|
+
}
|
|
838
|
+
};
|
|
839
|
+
var PromptSubscribers = class {
|
|
840
|
+
byBox = /* @__PURE__ */ new Map();
|
|
841
|
+
add(boxId, res) {
|
|
842
|
+
let set = this.byBox.get(boxId);
|
|
843
|
+
if (!set) {
|
|
844
|
+
set = /* @__PURE__ */ new Set();
|
|
845
|
+
this.byBox.set(boxId, set);
|
|
846
|
+
}
|
|
847
|
+
set.add(res);
|
|
848
|
+
}
|
|
849
|
+
remove(boxId, res) {
|
|
850
|
+
const set = this.byBox.get(boxId);
|
|
851
|
+
if (!set) return;
|
|
852
|
+
set.delete(res);
|
|
853
|
+
if (set.size === 0) this.byBox.delete(boxId);
|
|
854
|
+
}
|
|
855
|
+
forBox(boxId) {
|
|
856
|
+
const set = this.byBox.get(boxId);
|
|
857
|
+
return set ? Array.from(set) : [];
|
|
858
|
+
}
|
|
859
|
+
/**
|
|
860
|
+
* Fire-and-forget broadcast. SSE writes that fail (closed socket) are
|
|
861
|
+
* swallowed — the `res.on('close')` handler in the server route already
|
|
862
|
+
* deregisters the dead subscriber.
|
|
863
|
+
*/
|
|
864
|
+
broadcast(boxId, event, data) {
|
|
865
|
+
const set = this.byBox.get(boxId);
|
|
866
|
+
if (!set) return;
|
|
867
|
+
const payload = `event: ${event}
|
|
868
|
+
data: ${JSON.stringify(data)}
|
|
869
|
+
|
|
870
|
+
`;
|
|
871
|
+
for (const res of set) {
|
|
872
|
+
try {
|
|
873
|
+
res.write(payload);
|
|
874
|
+
} catch {
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
};
|
|
879
|
+
async function askPrompt(prompts, subscribers, boxId, params, opts) {
|
|
880
|
+
if (process.env.AGENTBOX_PROMPT === "off") {
|
|
881
|
+
return { answer: "y" };
|
|
882
|
+
}
|
|
883
|
+
if (prompts.consumeAutoApprove(boxId, params)) {
|
|
884
|
+
return { answer: "y" };
|
|
885
|
+
}
|
|
886
|
+
const ev = { id: randomUUID(), ...params };
|
|
887
|
+
const promise = prompts.add(boxId, ev);
|
|
888
|
+
subscribers.broadcast(boxId, "prompt-ask", ev);
|
|
889
|
+
if (opts?.ttlMs !== void 0 && opts.ttlMs > 0) {
|
|
890
|
+
const timer = setTimeout(() => {
|
|
891
|
+
if (prompts.resolve(ev.id, params.defaultAnswer ?? "n", true)) {
|
|
892
|
+
subscribers.broadcast(boxId, "prompt-resolved", { id: ev.id });
|
|
893
|
+
}
|
|
894
|
+
}, opts.ttlMs);
|
|
895
|
+
if (typeof timer.unref === "function") timer.unref();
|
|
896
|
+
void promise.then(() => {
|
|
897
|
+
clearTimeout(timer);
|
|
898
|
+
});
|
|
899
|
+
}
|
|
900
|
+
return promise;
|
|
901
|
+
}
|
|
902
|
+
function isPromptAnswerBody(v) {
|
|
903
|
+
if (!v || typeof v !== "object") return false;
|
|
904
|
+
const o = v;
|
|
905
|
+
if (typeof o.id !== "string" || o.id.length === 0) return false;
|
|
906
|
+
if (o.answer !== "y" && o.answer !== "n") return false;
|
|
907
|
+
if (o.cancelled !== void 0 && typeof o.cancelled !== "boolean") return false;
|
|
908
|
+
return true;
|
|
909
|
+
}
|
|
747
910
|
var BoxRegistry = class {
|
|
748
911
|
map = /* @__PURE__ */ new Map();
|
|
749
912
|
register(reg) {
|
|
@@ -954,169 +1117,6 @@ var MemoryStore = class {
|
|
|
954
1117
|
return Promise.resolve();
|
|
955
1118
|
}
|
|
956
1119
|
};
|
|
957
|
-
var PendingPrompts = class {
|
|
958
|
-
entries = /* @__PURE__ */ new Map();
|
|
959
|
-
autoApprove = null;
|
|
960
|
-
onChange = null;
|
|
961
|
-
/** Install the per-box auto-approve policy (relay server, once at startup). */
|
|
962
|
-
setAutoApprovePolicy(policy) {
|
|
963
|
-
this.autoApprove = policy;
|
|
964
|
-
}
|
|
965
|
-
/**
|
|
966
|
-
* Install a change hook fired whenever the pending set is mutated (add /
|
|
967
|
-
* resolve). Wired by the relay server to the hub notifier so the embedded UI
|
|
968
|
-
* pushes an update to connected browsers.
|
|
969
|
-
*/
|
|
970
|
-
setOnChange(fn) {
|
|
971
|
-
this.onChange = fn;
|
|
972
|
-
}
|
|
973
|
-
/**
|
|
974
|
-
* True when this box opted into `box.autoApproveHostActions`. Records the
|
|
975
|
-
* bypass to the audit sink as a side effect so the caller short-circuits
|
|
976
|
-
* with a trail. Returns false when no policy is installed.
|
|
977
|
-
*/
|
|
978
|
-
consumeAutoApprove(boxId, params) {
|
|
979
|
-
if (!this.autoApprove || !this.autoApprove.shouldAutoApprove(boxId)) return false;
|
|
980
|
-
this.autoApprove.audit(boxId, params);
|
|
981
|
-
return true;
|
|
982
|
-
}
|
|
983
|
-
/**
|
|
984
|
-
* Record a *safe-subset* auto-approval (opening a PR, a contained file copy,
|
|
985
|
-
* a sanctioned-branch push, …) to the audit sink WITHOUT the blanket
|
|
986
|
-
* `autoApproveHostActions` opt-in. The handler already decided the action is
|
|
987
|
-
* safe under `box.autoApproveSafeHostActions`; this just leaves the same
|
|
988
|
-
* `host-action-auto-approved` trail a full opt-in would, tagged with `reason`.
|
|
989
|
-
* No-op when no policy is installed (e.g. the stateless poll plane).
|
|
990
|
-
*/
|
|
991
|
-
noteAutoApprove(boxId, params, reason) {
|
|
992
|
-
this.autoApprove?.audit(boxId, params, reason);
|
|
993
|
-
}
|
|
994
|
-
add(boxId, ev) {
|
|
995
|
-
return new Promise((resolve6) => {
|
|
996
|
-
this.entries.set(ev.id, {
|
|
997
|
-
ev,
|
|
998
|
-
boxId,
|
|
999
|
-
resolve: resolve6,
|
|
1000
|
-
createdAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
1001
|
-
});
|
|
1002
|
-
this.onChange?.();
|
|
1003
|
-
});
|
|
1004
|
-
}
|
|
1005
|
-
/**
|
|
1006
|
-
* Idempotent: returns true if a pending entry was found + resolved, false
|
|
1007
|
-
* otherwise. The /admin/prompts/answer handler uses the bool to decide
|
|
1008
|
-
* 204 vs 404 — the wrapper treats both as "we're done."
|
|
1009
|
-
*/
|
|
1010
|
-
resolve(id, answer, cancelled) {
|
|
1011
|
-
const entry = this.entries.get(id);
|
|
1012
|
-
if (!entry) return false;
|
|
1013
|
-
this.entries.delete(id);
|
|
1014
|
-
entry.resolve({ answer, cancelled });
|
|
1015
|
-
this.onChange?.();
|
|
1016
|
-
return true;
|
|
1017
|
-
}
|
|
1018
|
-
/**
|
|
1019
|
-
* Snapshot of all pending prompts for a given box; used to flush the
|
|
1020
|
-
* backlog to a newly-attached SSE subscriber.
|
|
1021
|
-
*/
|
|
1022
|
-
forBox(boxId) {
|
|
1023
|
-
const out = [];
|
|
1024
|
-
for (const entry of this.entries.values()) {
|
|
1025
|
-
if (entry.boxId === boxId) out.push(entry.ev);
|
|
1026
|
-
}
|
|
1027
|
-
return out;
|
|
1028
|
-
}
|
|
1029
|
-
/**
|
|
1030
|
-
* Snapshot of every pending prompt across all boxes, with its boxId and
|
|
1031
|
-
* enqueue time — the hub's Approvals view lists these.
|
|
1032
|
-
*/
|
|
1033
|
-
all() {
|
|
1034
|
-
const out = [];
|
|
1035
|
-
for (const entry of this.entries.values()) {
|
|
1036
|
-
out.push({ id: entry.ev.id, boxId: entry.boxId, ev: entry.ev, createdAt: entry.createdAt });
|
|
1037
|
-
}
|
|
1038
|
-
return out;
|
|
1039
|
-
}
|
|
1040
|
-
/** boxId that owns a pending prompt id, or null when unknown. */
|
|
1041
|
-
boxFor(id) {
|
|
1042
|
-
const entry = this.entries.get(id);
|
|
1043
|
-
return entry ? entry.boxId : null;
|
|
1044
|
-
}
|
|
1045
|
-
size() {
|
|
1046
|
-
return this.entries.size;
|
|
1047
|
-
}
|
|
1048
|
-
};
|
|
1049
|
-
var PromptSubscribers = class {
|
|
1050
|
-
byBox = /* @__PURE__ */ new Map();
|
|
1051
|
-
add(boxId, res) {
|
|
1052
|
-
let set = this.byBox.get(boxId);
|
|
1053
|
-
if (!set) {
|
|
1054
|
-
set = /* @__PURE__ */ new Set();
|
|
1055
|
-
this.byBox.set(boxId, set);
|
|
1056
|
-
}
|
|
1057
|
-
set.add(res);
|
|
1058
|
-
}
|
|
1059
|
-
remove(boxId, res) {
|
|
1060
|
-
const set = this.byBox.get(boxId);
|
|
1061
|
-
if (!set) return;
|
|
1062
|
-
set.delete(res);
|
|
1063
|
-
if (set.size === 0) this.byBox.delete(boxId);
|
|
1064
|
-
}
|
|
1065
|
-
forBox(boxId) {
|
|
1066
|
-
const set = this.byBox.get(boxId);
|
|
1067
|
-
return set ? Array.from(set) : [];
|
|
1068
|
-
}
|
|
1069
|
-
/**
|
|
1070
|
-
* Fire-and-forget broadcast. SSE writes that fail (closed socket) are
|
|
1071
|
-
* swallowed — the `res.on('close')` handler in the server route already
|
|
1072
|
-
* deregisters the dead subscriber.
|
|
1073
|
-
*/
|
|
1074
|
-
broadcast(boxId, event, data) {
|
|
1075
|
-
const set = this.byBox.get(boxId);
|
|
1076
|
-
if (!set) return;
|
|
1077
|
-
const payload = `event: ${event}
|
|
1078
|
-
data: ${JSON.stringify(data)}
|
|
1079
|
-
|
|
1080
|
-
`;
|
|
1081
|
-
for (const res of set) {
|
|
1082
|
-
try {
|
|
1083
|
-
res.write(payload);
|
|
1084
|
-
} catch {
|
|
1085
|
-
}
|
|
1086
|
-
}
|
|
1087
|
-
}
|
|
1088
|
-
};
|
|
1089
|
-
async function askPrompt(prompts, subscribers, boxId, params, opts) {
|
|
1090
|
-
if (process.env.AGENTBOX_PROMPT === "off") {
|
|
1091
|
-
return { answer: "y" };
|
|
1092
|
-
}
|
|
1093
|
-
if (prompts.consumeAutoApprove(boxId, params)) {
|
|
1094
|
-
return { answer: "y" };
|
|
1095
|
-
}
|
|
1096
|
-
const ev = { id: randomUUID(), ...params };
|
|
1097
|
-
const promise = prompts.add(boxId, ev);
|
|
1098
|
-
subscribers.broadcast(boxId, "prompt-ask", ev);
|
|
1099
|
-
if (opts?.ttlMs !== void 0 && opts.ttlMs > 0) {
|
|
1100
|
-
const timer = setTimeout(() => {
|
|
1101
|
-
if (prompts.resolve(ev.id, params.defaultAnswer ?? "n", true)) {
|
|
1102
|
-
subscribers.broadcast(boxId, "prompt-resolved", { id: ev.id });
|
|
1103
|
-
}
|
|
1104
|
-
}, opts.ttlMs);
|
|
1105
|
-
if (typeof timer.unref === "function") timer.unref();
|
|
1106
|
-
void promise.then(() => {
|
|
1107
|
-
clearTimeout(timer);
|
|
1108
|
-
});
|
|
1109
|
-
}
|
|
1110
|
-
return promise;
|
|
1111
|
-
}
|
|
1112
|
-
function isPromptAnswerBody(v) {
|
|
1113
|
-
if (!v || typeof v !== "object") return false;
|
|
1114
|
-
const o = v;
|
|
1115
|
-
if (typeof o.id !== "string" || o.id.length === 0) return false;
|
|
1116
|
-
if (o.answer !== "y" && o.answer !== "n") return false;
|
|
1117
|
-
if (o.cancelled !== void 0 && typeof o.cancelled !== "boolean") return false;
|
|
1118
|
-
return true;
|
|
1119
|
-
}
|
|
1120
1120
|
async function gateApproval(deps, boxId, method, params, promptParams) {
|
|
1121
1121
|
if (deps.mode === "block") {
|
|
1122
1122
|
if (!deps.prompts || !deps.subscribers) return { kind: "deny" };
|
|
@@ -1355,7 +1355,7 @@ var GitHubAppLeaser = class {
|
|
|
1355
1355
|
}
|
|
1356
1356
|
};
|
|
1357
1357
|
|
|
1358
|
-
// ../../packages/relay/dist/chunk-
|
|
1358
|
+
// ../../packages/relay/dist/chunk-FYIOSAVW.js
|
|
1359
1359
|
import { spawn as spawn3 } from "child_process";
|
|
1360
1360
|
import { createServer } from "http";
|
|
1361
1361
|
import { mkdtemp, rm as rm2 } from "fs/promises";
|
|
@@ -1642,7 +1642,7 @@ function getConnector(service) {
|
|
|
1642
1642
|
return null;
|
|
1643
1643
|
}
|
|
1644
1644
|
|
|
1645
|
-
// ../../packages/relay/dist/chunk-
|
|
1645
|
+
// ../../packages/relay/dist/chunk-FYIOSAVW.js
|
|
1646
1646
|
import { randomUUID as randomUUID3 } from "crypto";
|
|
1647
1647
|
import { randomUUID as randomUUID22 } from "crypto";
|
|
1648
1648
|
import { spawn as spawn5 } from "child_process";
|
|
@@ -2198,7 +2198,15 @@ async function canAutoApproveTransfer(input) {
|
|
|
2198
2198
|
}
|
|
2199
2199
|
return true;
|
|
2200
2200
|
}
|
|
2201
|
+
var cloudBackendLoader;
|
|
2202
|
+
function registerCloudBackendLoader(loader) {
|
|
2203
|
+
cloudBackendLoader = loader;
|
|
2204
|
+
}
|
|
2201
2205
|
async function resolveCloudBackend(name) {
|
|
2206
|
+
if (cloudBackendLoader) {
|
|
2207
|
+
const injected = await cloudBackendLoader.resolveBackend(name);
|
|
2208
|
+
if (injected) return injected;
|
|
2209
|
+
}
|
|
2202
2210
|
if (name === "daytona") {
|
|
2203
2211
|
const pkg = "@agentbox/sandbox-daytona";
|
|
2204
2212
|
return loadCloudBackend(pkg, async () => (await import(pkg)).daytonaBackend);
|
|
@@ -2240,14 +2248,18 @@ async function resolveCloudBackend(name) {
|
|
|
2240
2248
|
return pm.backend;
|
|
2241
2249
|
});
|
|
2242
2250
|
}
|
|
2243
|
-
|
|
2251
|
+
const via = cloudBackendLoader ? ` (loader '${cloudBackendLoader.id}' does not provide it)` : "";
|
|
2252
|
+
throw new Error(`no host executor for cloud backend '${name}'${via}`);
|
|
2253
|
+
}
|
|
2254
|
+
function isModuleNotFound(msg) {
|
|
2255
|
+
return /cannot find module|cannot find package|MODULE_NOT_FOUND|ERR_MODULE_NOT_FOUND/i.test(msg);
|
|
2244
2256
|
}
|
|
2245
2257
|
async function loadCloudBackend(pkg, load) {
|
|
2246
2258
|
try {
|
|
2247
2259
|
return await load();
|
|
2248
2260
|
} catch (err) {
|
|
2249
2261
|
const msg = err instanceof Error ? err.message : String(err);
|
|
2250
|
-
if (
|
|
2262
|
+
if (isModuleNotFound(msg)) {
|
|
2251
2263
|
throw new Error(
|
|
2252
2264
|
`relay: cannot load '${pkg}' at runtime \u2014 install it alongside @agentbox/relay (the @madarco/agentbox CLI normally provides this dependency). Original: ${msg}`
|
|
2253
2265
|
);
|
|
@@ -2644,6 +2656,11 @@ async function boxCarriedHostPaths(boxId) {
|
|
|
2644
2656
|
var cloudCpModule;
|
|
2645
2657
|
async function loadCloudCp() {
|
|
2646
2658
|
if (cloudCpModule) return cloudCpModule;
|
|
2659
|
+
if (cloudBackendLoader) {
|
|
2660
|
+
const mod = await cloudBackendLoader.loadCloudCp();
|
|
2661
|
+
cloudCpModule = mod;
|
|
2662
|
+
return mod;
|
|
2663
|
+
}
|
|
2647
2664
|
const pkg = "@agentbox/sandbox-cloud";
|
|
2648
2665
|
try {
|
|
2649
2666
|
const mod = await import(pkg);
|
|
@@ -2651,7 +2668,7 @@ async function loadCloudCp() {
|
|
|
2651
2668
|
return mod;
|
|
2652
2669
|
} catch (err) {
|
|
2653
2670
|
const msg = err instanceof Error ? err.message : String(err);
|
|
2654
|
-
if (
|
|
2671
|
+
if (isModuleNotFound(msg)) {
|
|
2655
2672
|
throw new Error(
|
|
2656
2673
|
`relay: cannot load '${pkg}' at runtime \u2014 install it alongside @agentbox/relay (the @madarco/agentbox CLI normally provides this dependency). Original: ${msg}`
|
|
2657
2674
|
);
|
|
@@ -9866,7 +9883,12 @@ async function spawnRelay(relayBin, cliEntry, log) {
|
|
|
9866
9883
|
stdio: ["ignore", logFd, logFd],
|
|
9867
9884
|
env: {
|
|
9868
9885
|
...process.env,
|
|
9869
|
-
AGENTBOX_CLI_ENTRY: cliEntry
|
|
9886
|
+
AGENTBOX_CLI_ENTRY: cliEntry,
|
|
9887
|
+
// Sibling of the CLI entry (both are tsup outputs in `dist/`, and the
|
|
9888
|
+
// staged relay home copies `dist/` wholesale). The relay bin carries no
|
|
9889
|
+
// `@agentbox/sandbox-*` code, so this is how cloud host actions —
|
|
9890
|
+
// git.push, download.*, the gh pr head probe — get their backends.
|
|
9891
|
+
AGENTBOX_CLOUD_BACKENDS: join11(dirname3(cliEntry), "cloud-backends.js")
|
|
9870
9892
|
}
|
|
9871
9893
|
}
|
|
9872
9894
|
);
|
|
@@ -12708,6 +12730,7 @@ export {
|
|
|
12708
12730
|
RELAY_IMAGE_REF,
|
|
12709
12731
|
isValidBoxStatus,
|
|
12710
12732
|
hashRpcParams,
|
|
12733
|
+
registerCloudBackendLoader,
|
|
12711
12734
|
enqueueQueueJob,
|
|
12712
12735
|
enqueuePrepareJob,
|
|
12713
12736
|
readJob,
|