@madarco/agentbox 0.31.2 → 0.31.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/_cloud-attach-QB72ZV7T.js +31 -0
- package/dist/{chunk-FDHOIH3V.js → chunk-6GJDU3FN.js} +11 -11
- package/dist/{chunk-DS4K7ISX.js → chunk-6RREIUAE.js} +7 -2
- package/dist/chunk-6RREIUAE.js.map +1 -0
- package/dist/{chunk-67JVG72A.js → chunk-744IB5WM.js} +4 -4
- package/dist/{chunk-NWIQQB6U.js → chunk-7PDYVJ2Q.js} +2 -2
- package/dist/{chunk-BBQ3VYLV.js → chunk-BMZOMC6X.js} +2 -2
- package/dist/{chunk-TQL4VWVV.js → chunk-D67Q5MNA.js} +2 -2
- package/dist/{chunk-3LJH547J.js → chunk-DKUSSE5G.js} +2 -2
- package/dist/{chunk-FUJRTZBN.js → chunk-E2RPG54S.js} +3 -3
- package/dist/{chunk-HDSUUWTX.js → chunk-EHLPIWRR.js} +2 -2
- package/dist/{chunk-EK32GLP5.js → chunk-EZPCCJPE.js} +21 -21
- package/dist/{chunk-S3LDXOIT.js → chunk-FVBEUPVM.js} +5 -5
- package/dist/{chunk-IZTWZJMF.js → chunk-GYUOXSUX.js} +3 -3
- package/dist/{chunk-LBBPEDRD.js → chunk-GZHJVCBG.js} +9 -9
- package/dist/{chunk-RBEELJCJ.js → chunk-JS5DLUUX.js} +10 -10
- package/dist/{chunk-UMK4HA6G.js → chunk-M42UQWVO.js} +4 -4
- package/dist/{chunk-CDY4CMZX.js → chunk-MBFN2XNU.js} +5 -5
- package/dist/{chunk-6F6OUFLD.js → chunk-MKZHCLFJ.js} +3 -3
- package/dist/{chunk-3T4CPP3U.js → chunk-PYPIECDD.js} +16 -16
- package/dist/{chunk-QYUHZOIW.js → chunk-Q3BHXL47.js} +3 -3
- package/dist/{chunk-3S5RZCIG.js → chunk-QB7XVOYW.js} +4 -4
- package/dist/{chunk-H3BU75PN.js → chunk-QER5WHBC.js} +5 -5
- package/dist/{chunk-BT7OQHZ4.js → chunk-QTMUJETE.js} +4 -4
- package/dist/{chunk-QOFQZRDG.js → chunk-QWUZJCF5.js} +3 -3
- package/dist/{chunk-NGUNB6M2.js → chunk-RNYH5465.js} +2 -2
- package/dist/{chunk-KKTCDNRO.js → chunk-S3SJIWSU.js} +6 -6
- package/dist/{chunk-OUKDAUKX.js → chunk-SHFU2KSY.js} +3 -3
- package/dist/{chunk-LFN6QCM6.js → chunk-SZTHLJ5J.js} +6 -6
- package/dist/{chunk-BNMTBKQJ.js → chunk-UENVVGWE.js} +3 -3
- package/dist/{chunk-N5LNX6X2.js → chunk-UWKJ3HIA.js} +3 -3
- package/dist/{chunk-MH63I6AL.js → chunk-V5IMDVV5.js} +6 -6
- package/dist/{chunk-QUD42WO2.js → chunk-VEO6ZYQY.js} +6 -6
- package/dist/{chunk-2756BRPK.js → chunk-VIB2FMJJ.js} +30 -30
- package/dist/{chunk-IQJ6OUN5.js → chunk-VNXWOWQ7.js} +4 -4
- package/dist/{chunk-ABKHJ2QL.js → chunk-W7P2HHFI.js} +5 -5
- package/dist/{chunk-NS4DBXZR.js → chunk-WMILLMJZ.js} +4 -4
- package/dist/{chunk-ERLTFI35.js → chunk-XHCGVCSA.js} +5 -5
- package/dist/{chunk-BKTP27TW.js → chunk-XLFQXROC.js} +2 -2
- package/dist/{chunk-TMFNWCUQ.js → chunk-ZK6KD7ME.js} +7 -5
- package/dist/chunk-ZK6KD7ME.js.map +1 -0
- package/dist/{chunk-AUBVCSFL.js → chunk-ZMNLEZJB.js} +6 -6
- package/dist/{cli-JRP3VNEM.js → cli-I6TXLNRQ.js} +8 -8
- package/dist/{cli-YXG2QKDM.js → cli-JNOPYAUM.js} +8 -8
- package/dist/{cli-BILGBUVD.js → cli-VU2ALT6L.js} +7 -7
- package/dist/{cli-UUPHZRKG.js → cli-W2WNV64V.js} +8 -8
- package/dist/{cli-MCXZDAEN.js → cli-YYXO4WX5.js} +7 -7
- package/dist/cloud-backends.js +4 -4
- package/dist/{control-plane-54U2RAMT.js → control-plane-JUAINN2X.js} +19 -19
- package/dist/{cp-hub-upload-7GJQO4FY.js → cp-hub-upload-VHU5TBHQ.js} +6 -6
- package/dist/{custody-client-G4SNQYTT.js → custody-client-5OHF3SEX.js} +4 -4
- package/dist/{deploy-hetzner-X6WUZPPJ.js → deploy-hetzner-RTQW3B7P.js} +8 -8
- package/dist/{dist-VBOFIW7E.js → dist-5HJBDLJP.js} +7 -7
- package/dist/{dist-RWC4EWSU.js → dist-64YIP2AZ.js} +3 -3
- package/dist/{dist-V3P3SIBU.js → dist-7IANPBF4.js} +7 -7
- package/dist/{dist-JCVHBCEV.js → dist-7RMVQOWJ.js} +7 -7
- package/dist/{dist-MY3UXECL.js → dist-EDCGUXVI.js} +5 -5
- package/dist/{dist-NC2UMRWF.js → dist-H4FFY5TX.js} +7 -7
- package/dist/{dist-F3HWDZ32.js → dist-H72NQCKO.js} +8 -8
- package/dist/{dist-TSPUGLQM.js → dist-NJOKYHDI.js} +2 -2
- package/dist/{dist-HPXCGKM4.js → dist-UGI5L7BN.js} +7 -7
- package/dist/{dist-JLQLHSN6.js → dist-XWDFVTFR.js} +6 -6
- package/dist/{host-reach-drainer-CF7YGFI4.js → host-reach-drainer-GTNLQWWM.js} +2 -2
- package/dist/hub-C5B3CRP6.js +39 -0
- package/dist/{hub-adopt-OQUIDTUW.js → hub-adopt-TVDMOZSP.js} +6 -6
- package/dist/{hub-api-client-WBXO4BUG.js → hub-api-client-RISAC6GB.js} +3 -3
- package/dist/{hub-docker-target-JHOIAOIF.js → hub-docker-target-QEALUMIZ.js} +13 -13
- package/dist/index.js +60 -60
- package/dist/{plugin-update-FZKBBDMJ.js → plugin-update-LG45ZFCU.js} +4 -4
- package/dist/prepare-6JLTXX65.js +45 -0
- package/dist/prepared-custody-YVVTL2ZM.js +39 -0
- package/dist/{prepared-state-FO74QUCP-RX7DKZ7J.js → prepared-state-FO74QUCP-SW3QMBW5.js} +3 -3
- package/dist/{publish-credentials-GKZGTWEI.js → publish-credentials-T7DDJVC4.js} +8 -8
- package/dist/{registry-IKU6MBLX.js → registry-UCFNYOAU.js} +4 -4
- package/dist/relay-W73AIA35.js +22 -0
- package/dist/{remote-docker-share-YWI2UXGS.js → remote-docker-share-SY7CWW5R.js} +10 -10
- package/dist/{tool-grant-push-KMMSJPGK.js → tool-grant-push-OJHLVAPZ.js} +3 -3
- package/package.json +1 -1
- package/runtime/_shared/ctl.cjs +6 -1
- package/runtime/digitalocean/ctl.cjs +6 -1
- package/runtime/docker/packages/ctl/dist/bin.cjs +6 -1
- package/runtime/e2b/ctl.cjs +6 -1
- package/runtime/hetzner/ctl.cjs +6 -1
- 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/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/_0vg6gvw._.js +22 -22
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/_14-qzbg._.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/{chunk-V4YXLMFI.js → chunk-IDL7RJBP.js} +6 -1
- package/runtime/hub/apps/hub/{chunk-IDIFPYTE.js → chunk-KTWFE5BB.js} +6 -4
- package/runtime/hub/apps/hub/{chunk-V6HJFB7G.js → chunk-MIETKCV4.js} +2 -2
- package/runtime/hub/apps/hub/{chunk-NHYDZVES.js → chunk-ORTYCJ2U.js} +3 -3
- package/runtime/hub/apps/hub/{chunk-MIEBOFHZ.js → chunk-PM2365RW.js} +5 -5
- package/runtime/hub/apps/hub/{chunk-6CRH52LO.js → chunk-VNLPJ45F.js} +9 -9
- package/runtime/hub/apps/hub/{dist-C2JJTBDD.js → dist-3IYYT3II.js} +4 -4
- package/runtime/hub/apps/hub/{dist-I275RO6P.js → dist-4DVVLHK2.js} +1 -1
- package/runtime/hub/apps/hub/{dist-RW6RLHQK.js → dist-LMXU56B2.js} +4 -4
- package/runtime/hub/apps/hub/{dist-VLKRF6NH.js → dist-LOZYEDXA.js} +3 -3
- package/runtime/hub/apps/hub/{dist-K4GLZWXS.js → dist-OAS6A7E4.js} +4 -4
- package/runtime/hub/apps/hub/{dist-SINRABCR.js → dist-RWN4Z57N.js} +4 -4
- package/runtime/hub/apps/hub/{dist-BIXUQKSK.js → dist-UPKSCLZ2.js} +4 -4
- package/runtime/hub/apps/hub/{dist-VOIDY4IM.js → dist-VF56FSKH.js} +5 -5
- package/runtime/hub/apps/hub/{dist-B5IUHK2B.js → dist-WA2LO2DU.js} +5 -5
- package/runtime/hub/apps/hub/{hub-worker-HSKRQMH5.js → hub-worker-6JAWRLP2.js} +6 -6
- package/runtime/hub/apps/hub/{prepared-state-FO74QUCP-UL4TQJT4.js → prepared-state-FO74QUCP-QR6ZNI3Q.js} +2 -2
- package/runtime/hub/apps/hub/server.js +12 -12
- package/runtime/relay/bin.cjs +6 -1
- package/runtime/vercel/ctl.cjs +6 -1
- package/dist/_cloud-attach-N3JJD7JF.js +0 -31
- package/dist/chunk-DS4K7ISX.js.map +0 -1
- package/dist/chunk-TMFNWCUQ.js.map +0 -1
- package/dist/hub-PITRE4LQ.js +0 -39
- package/dist/prepare-WAIDHKO3.js +0 -45
- package/dist/prepared-custody-ALF6YHQC.js +0 -39
- package/dist/relay-7VSUDQPP.js +0 -22
- /package/dist/{_cloud-attach-N3JJD7JF.js.map → _cloud-attach-QB72ZV7T.js.map} +0 -0
- /package/dist/{chunk-FDHOIH3V.js.map → chunk-6GJDU3FN.js.map} +0 -0
- /package/dist/{chunk-67JVG72A.js.map → chunk-744IB5WM.js.map} +0 -0
- /package/dist/{chunk-NWIQQB6U.js.map → chunk-7PDYVJ2Q.js.map} +0 -0
- /package/dist/{chunk-BBQ3VYLV.js.map → chunk-BMZOMC6X.js.map} +0 -0
- /package/dist/{chunk-TQL4VWVV.js.map → chunk-D67Q5MNA.js.map} +0 -0
- /package/dist/{chunk-3LJH547J.js.map → chunk-DKUSSE5G.js.map} +0 -0
- /package/dist/{chunk-FUJRTZBN.js.map → chunk-E2RPG54S.js.map} +0 -0
- /package/dist/{chunk-HDSUUWTX.js.map → chunk-EHLPIWRR.js.map} +0 -0
- /package/dist/{chunk-EK32GLP5.js.map → chunk-EZPCCJPE.js.map} +0 -0
- /package/dist/{chunk-S3LDXOIT.js.map → chunk-FVBEUPVM.js.map} +0 -0
- /package/dist/{chunk-IZTWZJMF.js.map → chunk-GYUOXSUX.js.map} +0 -0
- /package/dist/{chunk-LBBPEDRD.js.map → chunk-GZHJVCBG.js.map} +0 -0
- /package/dist/{chunk-RBEELJCJ.js.map → chunk-JS5DLUUX.js.map} +0 -0
- /package/dist/{chunk-UMK4HA6G.js.map → chunk-M42UQWVO.js.map} +0 -0
- /package/dist/{chunk-CDY4CMZX.js.map → chunk-MBFN2XNU.js.map} +0 -0
- /package/dist/{chunk-6F6OUFLD.js.map → chunk-MKZHCLFJ.js.map} +0 -0
- /package/dist/{chunk-3T4CPP3U.js.map → chunk-PYPIECDD.js.map} +0 -0
- /package/dist/{chunk-QYUHZOIW.js.map → chunk-Q3BHXL47.js.map} +0 -0
- /package/dist/{chunk-3S5RZCIG.js.map → chunk-QB7XVOYW.js.map} +0 -0
- /package/dist/{chunk-H3BU75PN.js.map → chunk-QER5WHBC.js.map} +0 -0
- /package/dist/{chunk-BT7OQHZ4.js.map → chunk-QTMUJETE.js.map} +0 -0
- /package/dist/{chunk-QOFQZRDG.js.map → chunk-QWUZJCF5.js.map} +0 -0
- /package/dist/{chunk-NGUNB6M2.js.map → chunk-RNYH5465.js.map} +0 -0
- /package/dist/{chunk-KKTCDNRO.js.map → chunk-S3SJIWSU.js.map} +0 -0
- /package/dist/{chunk-OUKDAUKX.js.map → chunk-SHFU2KSY.js.map} +0 -0
- /package/dist/{chunk-LFN6QCM6.js.map → chunk-SZTHLJ5J.js.map} +0 -0
- /package/dist/{chunk-BNMTBKQJ.js.map → chunk-UENVVGWE.js.map} +0 -0
- /package/dist/{chunk-N5LNX6X2.js.map → chunk-UWKJ3HIA.js.map} +0 -0
- /package/dist/{chunk-MH63I6AL.js.map → chunk-V5IMDVV5.js.map} +0 -0
- /package/dist/{chunk-QUD42WO2.js.map → chunk-VEO6ZYQY.js.map} +0 -0
- /package/dist/{chunk-2756BRPK.js.map → chunk-VIB2FMJJ.js.map} +0 -0
- /package/dist/{chunk-IQJ6OUN5.js.map → chunk-VNXWOWQ7.js.map} +0 -0
- /package/dist/{chunk-ABKHJ2QL.js.map → chunk-W7P2HHFI.js.map} +0 -0
- /package/dist/{chunk-NS4DBXZR.js.map → chunk-WMILLMJZ.js.map} +0 -0
- /package/dist/{chunk-ERLTFI35.js.map → chunk-XHCGVCSA.js.map} +0 -0
- /package/dist/{chunk-BKTP27TW.js.map → chunk-XLFQXROC.js.map} +0 -0
- /package/dist/{chunk-AUBVCSFL.js.map → chunk-ZMNLEZJB.js.map} +0 -0
- /package/dist/{cli-BILGBUVD.js.map → cli-I6TXLNRQ.js.map} +0 -0
- /package/dist/{cli-JRP3VNEM.js.map → cli-JNOPYAUM.js.map} +0 -0
- /package/dist/{cli-MCXZDAEN.js.map → cli-VU2ALT6L.js.map} +0 -0
- /package/dist/{cli-UUPHZRKG.js.map → cli-W2WNV64V.js.map} +0 -0
- /package/dist/{cli-YXG2QKDM.js.map → cli-YYXO4WX5.js.map} +0 -0
- /package/dist/{control-plane-54U2RAMT.js.map → control-plane-JUAINN2X.js.map} +0 -0
- /package/dist/{cp-hub-upload-7GJQO4FY.js.map → cp-hub-upload-VHU5TBHQ.js.map} +0 -0
- /package/dist/{custody-client-G4SNQYTT.js.map → custody-client-5OHF3SEX.js.map} +0 -0
- /package/dist/{deploy-hetzner-X6WUZPPJ.js.map → deploy-hetzner-RTQW3B7P.js.map} +0 -0
- /package/dist/{dist-VBOFIW7E.js.map → dist-5HJBDLJP.js.map} +0 -0
- /package/dist/{dist-F3HWDZ32.js.map → dist-64YIP2AZ.js.map} +0 -0
- /package/dist/{dist-HPXCGKM4.js.map → dist-7IANPBF4.js.map} +0 -0
- /package/dist/{dist-JCVHBCEV.js.map → dist-7RMVQOWJ.js.map} +0 -0
- /package/dist/{dist-JLQLHSN6.js.map → dist-EDCGUXVI.js.map} +0 -0
- /package/dist/{dist-MY3UXECL.js.map → dist-H4FFY5TX.js.map} +0 -0
- /package/dist/{dist-NC2UMRWF.js.map → dist-H72NQCKO.js.map} +0 -0
- /package/dist/{dist-RWC4EWSU.js.map → dist-NJOKYHDI.js.map} +0 -0
- /package/dist/{dist-TSPUGLQM.js.map → dist-UGI5L7BN.js.map} +0 -0
- /package/dist/{dist-V3P3SIBU.js.map → dist-XWDFVTFR.js.map} +0 -0
- /package/dist/{host-reach-drainer-CF7YGFI4.js.map → host-reach-drainer-GTNLQWWM.js.map} +0 -0
- /package/dist/{hub-PITRE4LQ.js.map → hub-C5B3CRP6.js.map} +0 -0
- /package/dist/{hub-adopt-OQUIDTUW.js.map → hub-adopt-TVDMOZSP.js.map} +0 -0
- /package/dist/{hub-api-client-WBXO4BUG.js.map → hub-api-client-RISAC6GB.js.map} +0 -0
- /package/dist/{hub-docker-target-JHOIAOIF.js.map → hub-docker-target-QEALUMIZ.js.map} +0 -0
- /package/dist/{plugin-update-FZKBBDMJ.js.map → plugin-update-LG45ZFCU.js.map} +0 -0
- /package/dist/{prepare-WAIDHKO3.js.map → prepare-6JLTXX65.js.map} +0 -0
- /package/dist/{prepared-custody-ALF6YHQC.js.map → prepared-custody-YVVTL2ZM.js.map} +0 -0
- /package/dist/{prepared-state-FO74QUCP-RX7DKZ7J.js.map → prepared-state-FO74QUCP-SW3QMBW5.js.map} +0 -0
- /package/dist/{publish-credentials-GKZGTWEI.js.map → publish-credentials-T7DDJVC4.js.map} +0 -0
- /package/dist/{registry-IKU6MBLX.js.map → registry-UCFNYOAU.js.map} +0 -0
- /package/dist/{relay-7VSUDQPP.js.map → relay-W73AIA35.js.map} +0 -0
- /package/dist/{remote-docker-share-YWI2UXGS.js.map → remote-docker-share-SY7CWW5R.js.map} +0 -0
- /package/dist/{tool-grant-push-KMMSJPGK.js.map → tool-grant-push-OJHLVAPZ.js.map} +0 -0
- /package/runtime/hub/apps/hub/.next/static/{cXSQmUIAB12u7BgxO4JPy → kg0mtyaaNMvU3P8p7nLPa}/_buildManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{cXSQmUIAB12u7BgxO4JPy → kg0mtyaaNMvU3P8p7nLPa}/_clientMiddlewareManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{cXSQmUIAB12u7BgxO4JPy → kg0mtyaaNMvU3P8p7nLPa}/_ssgManifest.js +0 -0
|
@@ -45,7 +45,7 @@ ${b.detail.slice(-600)}`)}}let g=lv(e),h=g+lw(f.recipe),i="root"===f.runAs?lu(h)
|
|
|
45
45
|
${`${j.stdout}
|
|
46
46
|
${j.stderr}`.trim().slice(-600)}`);if(f.postInstall){let b=await a.exec(lu(g+f.postInstall),{user:"root"});if(0!==b.exitCode)throw new lt(`${d.id}: post-install step failed (exit ${String(b.exitCode)}).
|
|
47
47
|
${`${b.stdout}
|
|
48
|
-
${b.stderr}`.trim().slice(-600)}`)}if(0!==(await a.exec(["sh","-lc",`command -v ${d.binary}`])).exitCode)throw new lt(`${d.id}: the installer reported success but \`${d.binary}\` is still not on PATH in the box.`);try{let b=await kI(d.id);null!==b&&(await kK(a,d.id,b),c.onProgress?.(`seeded ${d.id} credentials into the box`))}catch(a){c.onProgress?.(`could not seed ${d.id} credentials (${a instanceof Error?a.message:String(a)}); sign in inside the box`)}return{installed:!0}}var lA=["node_modules",".git",".venv","venv","__pycache__","dist",".next","build"];function lB(a){let b=[];return a.forEach((a,c)=>{c>0&&b.push("-o"),b.push("-name",a)}),b}function lC(a){return["find",".","(","-type","d","(",...lB(lA),")","-prune",")","-o","(","-type","f","(",...lB(a),")","-print0",")"]}async function lD(a,b){if(0===b.length)return[];let c=await hT("find",lC(b).slice(1),{cwd:a,reject:!1});return 0!==c.exitCode?[]:String(c.stdout).split("\0").filter(a=>a.length>0)}async function lE(a,b){return(await lD(a,b)).map(a=>a.replace(/^\.\//,"")).filter(a=>a.length>0)}async function lF(a,b,c){let d=await lD(a.hostWorkspace,c);if(0===d.length)return{copied:0};let e=await (0,j.mkdtemp)((0,l.join)((0,k.tmpdir)(),"agentbox-envfiles-")),f=(0,l.join)(e,"envfiles.tar");try{let c=await hT("tar",["-C",a.hostWorkspace,"--null","-T","-","-cf",f],{input:d.join("\0"),reject:!1});if(0!==c.exitCode)return a.onLog(`warning: env-file tar pack failed: ${String(c.stderr).slice(0,300)}`),{copied:0};try{await b.applyTarball(f,a.boxWorkspace,{uid:1e3})}catch(b){return a.onLog(`warning: env-file copy into box failed: ${b instanceof Error?b.message:String(b)}`),{copied:0}}}finally{await (0,j.rm)(e,{recursive:!0,force:!0})}return{copied:d.length}}var lG="/home/vscode";function lH(a){let b=a.lastIndexOf("/");return b<=0?"/":a.slice(0,b)}function lI(a){let b=a.lastIndexOf("/");return b<0?a:a.slice(b+1)}async function lJ(a){try{return await (0,j.stat)(a),!0}catch{return!1}}function lK(a){return a.replace(/[^a-zA-Z0-9]/g,"-")}var lL="/home/vscode/.claude/projects/-workspace";async function lM(a,b=(0,k.homedir)()){if(0===a.length)return null;let c=(0,l.join)(b,".claude","projects",lK(a),"memory");if(!await lJ(c))return null;try{let a=await (0,j.readdir)(c);if(0===a.length)return null}catch{return null}return c}async function lN(a,b){let c=await Promise.all(b.map(async a=>{try{return await (0,j.realpath)(a)}catch{return a}})),d=[],e=new Set;async function f(a,b){if(!e.has(a)){e.add(a);try{let e;try{e=await (0,j.readdir)(a,{withFileTypes:!0})}catch{return}for(let g of e){let e=(0,l.join)(a,g.name),h=b?(0,l.join)(b,g.name):g.name;if(g.isSymbolicLink()){let a;try{a=await (0,j.realpath)(e)}catch{d.push(h);continue}if(!c.some(b=>(function(a,b){let c=(0,l.relative)(a,b);return""===c||!c.startsWith("..")&&!(0,l.isAbsolute)(c)})(b,a))){d.push(h);continue}let b=await (0,j.stat)(a).catch(()=>null);b?.isDirectory()&&await f(a,h)}else g.isDirectory()&&await f(e,h)}}finally{e.delete(a)}}}return await f(a,""),d}async function lO(a){try{return await (0,j.stat)(a),!0}catch{return!1}}async function lP(a){let b=a.transport.seedVolumeFromHost;if(!b)throw Error("seedAgentsVolume requires a transport with seedVolumeFromHost");if(!(a.syncFromHost&&await lO(a.hostAgents))){try{await b.call(a.transport,a.volume,[])}catch(b){a.onLog?.(`skills: volume writable-chown failed (ignored): ${b instanceof Error?b.message:String(b)}`)}return{synced:!1}}let c=(await lN(a.hostAgents,[a.hostAgents])).map(a=>`/${a}`);return await b.call(a.transport,a.volume,[{hostDir:a.hostAgents,destSubpath:"",exclude:c,copyUnsafeLinks:!0}]),c.length>0&&a.onLog?.(`skills: excluded ${String(c.length)} unsyncable symlink(s) from ~/.agents`),{synced:!0}}function lQ(a,b){return void 0===a?"copy":"-"===a?"conflict":a===b?"identical":"conflict"}function lR(a){return a.split("\0").filter(a=>a.length>0)}async function lS(a,b){let c=await a.boxGit(b,["diff","--name-only","--diff-filter=U","-z"]);return 0===c.exitCode?lR(c.stdout):[]}async function lT(a,b,c){let d=c??(()=>{}),e=[];for(let c of a){let a=c.containerPath,f=c.hostMainRepo,g=c.branch,h={containerPath:a,mergeConflicts:[],overlaySkipped:[]},i=await b.resolveHostRef(f);if(!i){d(`resync: ${a}: could not resolve host ref; skipping`),e.push(h);continue}let j=await b.createHostStash(f),k=await b.listHostUntracked(f);if(i!==g){let c=(await b.boxGit(a,["status","--porcelain"])).stdout.split("\n").some(a=>a.length>0&&!a.startsWith("??")),e=!1;c&&(e=0===(await b.boxGit(a,["stash","push","-m","agentbox-resync"])).exitCode);let f=await b.boxGit(a,["rev-list","--count",`${g}..${i}`]),j=0===f.exitCode?f.stdout.trim():"?",k=await b.boxGit(a,["merge","--no-commit",i]),l=0===(await b.boxGit(a,["rev-parse","-q","--verify","MERGE_HEAD"])).exitCode,m=await lS(b,a);if(m.length>0&&(await b.boxGit(a,["checkout","--ours","--",...m]),await b.boxGit(a,["add","--",...m]),h.mergeConflicts.push(...m)),l?(await b.boxGit(a,["-c","user.name=agentbox","-c","user.email=agentbox@users.noreply.github.com","commit","--no-edit"]),d(`resync: ${a}: merged ${j} new host commit(s) from ${i}`+(m.length>0?` (${String(m.length)} conflict(s) kept box version)`:""))):0===k.exitCode?d(`resync: ${a}: ${"0"===j?"already up to date":`fast-forwarded to ${i}`}`):(await b.boxGit(a,["merge","--abort"]),d(`resync: ${a}: merge skipped (${(k.stderr||k.stdout).trim().split("\n")[0]})`)),e&&0!==(await b.boxGit(a,["stash","pop"])).exitCode){for(let c of(await lS(b,a)))await b.boxGit(a,["checkout","--theirs","--",c]),await b.boxGit(a,["reset","-q","--",c]);await b.boxGit(a,["stash","drop"])}}if(j&&0!==(await b.boxGit(a,["stash","apply",j])).exitCode){let c=await lS(b,a);for(let d of c)await b.boxGit(a,["checkout","--ours","--",d]),await b.boxGit(a,["reset","-q","--",d]);c.length>0&&h.overlaySkipped.push(...c)}if(k.length>0){let c=await b.probeUntrackedTokens(a,k),e=[],g=0;for(let a of k){let d=c.get(a),i="";if(void 0!==d&&"-"!==d)try{i=await b.hashHostFile(f,a)}catch{g++;continue}let j=lQ(d,i);"copy"===j?e.push(a):"conflict"===j?h.overlaySkipped.push(a):g++}if(g>0&&d(`resync: ${a}: ${String(g)} untracked host file(s) already identical in box (no-op)`),e.length>0){let c=await b.packHostFiles(f,e);c&&(await b.applyTarToBox(a,c),d(`resync: ${a}: copied ${String(e.length)} untracked host file(s)`))}}e.push(h)}return e}var lU=new Map;async function lV(a,b,c){let d=`${b}.agentbox-snapshot`,e=`import sqlite3,sys
|
|
48
|
+
${b.stderr}`.trim().slice(-600)}`)}if(0!==(await a.exec(["sh","-lc",`command -v ${d.binary}`])).exitCode)throw new lt(`${d.id}: the installer reported success but \`${d.binary}\` is still not on PATH in the box.`);try{let b=await kI(d.id);null!==b&&(await kK(a,d.id,b),c.onProgress?.(`seeded ${d.id} credentials into the box`))}catch(a){c.onProgress?.(`could not seed ${d.id} credentials (${a instanceof Error?a.message:String(a)}); sign in inside the box`)}return{installed:!0}}var lA=["node_modules",".git",".venv","venv","__pycache__","dist",".next","build"];function lB(a){let b=[];return a.forEach((a,c)=>{c>0&&b.push("-o"),b.push("-name",a)}),b}function lC(a){return["find",".","(","-type","d","(",...lB(lA),")","-prune",")","-o","(","-type","f","(",...lB(a),")","-print0",")"]}async function lD(a,b){if(0===b.length)return[];let c=await hT("find",lC(b).slice(1),{cwd:a,reject:!1});return 0!==c.exitCode?[]:String(c.stdout).split("\0").filter(a=>a.length>0)}async function lE(a,b){return(await lD(a,b)).map(a=>a.replace(/^\.\//,"")).filter(a=>a.length>0)}async function lF(a,b,c){let d=await lD(a.hostWorkspace,c);if(0===d.length)return{copied:0};let e=await (0,j.mkdtemp)((0,l.join)((0,k.tmpdir)(),"agentbox-envfiles-")),f=(0,l.join)(e,"envfiles.tar");try{let c=await hT("tar",["-C",a.hostWorkspace,"--null","-T","-","-cf",f],{input:d.join("\0"),reject:!1,env:{...process.env,COPYFILE_DISABLE:"1"}});if(0!==c.exitCode)return a.onLog(`warning: env-file tar pack failed: ${String(c.stderr).slice(0,300)}`),{copied:0};try{await b.applyTarball(f,a.boxWorkspace,{uid:1e3})}catch(b){return a.onLog(`warning: env-file copy into box failed: ${b instanceof Error?b.message:String(b)}`),{copied:0}}}finally{await (0,j.rm)(e,{recursive:!0,force:!0})}return{copied:d.length}}var lG="/home/vscode";function lH(a){let b=a.lastIndexOf("/");return b<=0?"/":a.slice(0,b)}function lI(a){let b=a.lastIndexOf("/");return b<0?a:a.slice(b+1)}async function lJ(a){try{return await (0,j.stat)(a),!0}catch{return!1}}function lK(a){return a.replace(/[^a-zA-Z0-9]/g,"-")}var lL="/home/vscode/.claude/projects/-workspace";async function lM(a,b=(0,k.homedir)()){if(0===a.length)return null;let c=(0,l.join)(b,".claude","projects",lK(a),"memory");if(!await lJ(c))return null;try{let a=await (0,j.readdir)(c);if(0===a.length)return null}catch{return null}return c}async function lN(a,b){let c=await Promise.all(b.map(async a=>{try{return await (0,j.realpath)(a)}catch{return a}})),d=[],e=new Set;async function f(a,b){if(!e.has(a)){e.add(a);try{let e;try{e=await (0,j.readdir)(a,{withFileTypes:!0})}catch{return}for(let g of e){let e=(0,l.join)(a,g.name),h=b?(0,l.join)(b,g.name):g.name;if(g.isSymbolicLink()){let a;try{a=await (0,j.realpath)(e)}catch{d.push(h);continue}if(!c.some(b=>(function(a,b){let c=(0,l.relative)(a,b);return""===c||!c.startsWith("..")&&!(0,l.isAbsolute)(c)})(b,a))){d.push(h);continue}let b=await (0,j.stat)(a).catch(()=>null);b?.isDirectory()&&await f(a,h)}else g.isDirectory()&&await f(e,h)}}finally{e.delete(a)}}}return await f(a,""),d}async function lO(a){try{return await (0,j.stat)(a),!0}catch{return!1}}async function lP(a){let b=a.transport.seedVolumeFromHost;if(!b)throw Error("seedAgentsVolume requires a transport with seedVolumeFromHost");if(!(a.syncFromHost&&await lO(a.hostAgents))){try{await b.call(a.transport,a.volume,[])}catch(b){a.onLog?.(`skills: volume writable-chown failed (ignored): ${b instanceof Error?b.message:String(b)}`)}return{synced:!1}}let c=(await lN(a.hostAgents,[a.hostAgents])).map(a=>`/${a}`);return await b.call(a.transport,a.volume,[{hostDir:a.hostAgents,destSubpath:"",exclude:c,copyUnsafeLinks:!0}]),c.length>0&&a.onLog?.(`skills: excluded ${String(c.length)} unsyncable symlink(s) from ~/.agents`),{synced:!0}}function lQ(a,b){return void 0===a?"copy":"-"===a?"conflict":a===b?"identical":"conflict"}function lR(a){return a.split("\0").filter(a=>a.length>0)}async function lS(a,b){let c=await a.boxGit(b,["diff","--name-only","--diff-filter=U","-z"]);return 0===c.exitCode?lR(c.stdout):[]}async function lT(a,b,c){let d=c??(()=>{}),e=[];for(let c of a){let a=c.containerPath,f=c.hostMainRepo,g=c.branch,h={containerPath:a,mergeConflicts:[],overlaySkipped:[]},i=await b.resolveHostRef(f);if(!i){d(`resync: ${a}: could not resolve host ref; skipping`),e.push(h);continue}let j=await b.createHostStash(f),k=await b.listHostUntracked(f);if(i!==g){let c=(await b.boxGit(a,["status","--porcelain"])).stdout.split("\n").some(a=>a.length>0&&!a.startsWith("??")),e=!1;c&&(e=0===(await b.boxGit(a,["stash","push","-m","agentbox-resync"])).exitCode);let f=await b.boxGit(a,["rev-list","--count",`${g}..${i}`]),j=0===f.exitCode?f.stdout.trim():"?",k=await b.boxGit(a,["merge","--no-commit",i]),l=0===(await b.boxGit(a,["rev-parse","-q","--verify","MERGE_HEAD"])).exitCode,m=await lS(b,a);if(m.length>0&&(await b.boxGit(a,["checkout","--ours","--",...m]),await b.boxGit(a,["add","--",...m]),h.mergeConflicts.push(...m)),l?(await b.boxGit(a,["-c","user.name=agentbox","-c","user.email=agentbox@users.noreply.github.com","commit","--no-edit"]),d(`resync: ${a}: merged ${j} new host commit(s) from ${i}`+(m.length>0?` (${String(m.length)} conflict(s) kept box version)`:""))):0===k.exitCode?d(`resync: ${a}: ${"0"===j?"already up to date":`fast-forwarded to ${i}`}`):(await b.boxGit(a,["merge","--abort"]),d(`resync: ${a}: merge skipped (${(k.stderr||k.stdout).trim().split("\n")[0]})`)),e&&0!==(await b.boxGit(a,["stash","pop"])).exitCode){for(let c of(await lS(b,a)))await b.boxGit(a,["checkout","--theirs","--",c]),await b.boxGit(a,["reset","-q","--",c]);await b.boxGit(a,["stash","drop"])}}if(j&&0!==(await b.boxGit(a,["stash","apply",j])).exitCode){let c=await lS(b,a);for(let d of c)await b.boxGit(a,["checkout","--ours","--",d]),await b.boxGit(a,["reset","-q","--",d]);c.length>0&&h.overlaySkipped.push(...c)}if(k.length>0){let c=await b.probeUntrackedTokens(a,k),e=[],g=0;for(let a of k){let d=c.get(a),i="";if(void 0!==d&&"-"!==d)try{i=await b.hashHostFile(f,a)}catch{g++;continue}let j=lQ(d,i);"copy"===j?e.push(a):"conflict"===j?h.overlaySkipped.push(a):g++}if(g>0&&d(`resync: ${a}: ${String(g)} untracked host file(s) already identical in box (no-op)`),e.length>0){let c=await b.packHostFiles(f,e);c&&(await b.applyTarToBox(a,c),d(`resync: ${a}: copied ${String(e.length)} untracked host file(s)`))}}e.push(h)}return e}var lU=new Map;async function lV(a,b,c){let d=`${b}.agentbox-snapshot`,e=`import sqlite3,sys
|
|
49
49
|
src=sqlite3.connect('file:${b}?mode=ro',uri=True)
|
|
50
50
|
dst=sqlite3.connect('${d}')
|
|
51
51
|
src.backup(dst); dst.close(); src.close()
|
|
@@ -7,9 +7,9 @@ globalThis.__BUILD_MANIFEST = {
|
|
|
7
7
|
"static/chunks/0cz1d0mv5g_q7.js"
|
|
8
8
|
],
|
|
9
9
|
"lowPriorityFiles": [
|
|
10
|
-
"static/
|
|
11
|
-
"static/
|
|
12
|
-
"static/
|
|
10
|
+
"static/kg0mtyaaNMvU3P8p7nLPa/_buildManifest.js",
|
|
11
|
+
"static/kg0mtyaaNMvU3P8p7nLPa/_ssgManifest.js",
|
|
12
|
+
"static/kg0mtyaaNMvU3P8p7nLPa/_clientMiddlewareManifest.js"
|
|
13
13
|
],
|
|
14
14
|
"rootMainFiles": [
|
|
15
15
|
"static/chunks/3o736nio6056k.js",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/3o736nio6056k.js"/><script src="/_next/static/chunks/3oc6y_gbi9g75.js" async=""></script><script src="/_next/static/chunks/0ptag81psa0nj.js" async=""></script><script src="/_next/static/chunks/2vek3z0bw0bke.js" async=""></script><script src="/_next/static/chunks/turbopack-25un8yxrkvr61.js" async=""></script><script src="/_next/static/chunks/2x7nfpuaaba_a.js" async=""></script><script src="/_next/static/chunks/3c49t4evjq8hf.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/3o736nio6056k.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[20699,[\"/_next/static/chunks/2x7nfpuaaba_a.js\",\"/_next/static/chunks/3c49t4evjq8hf.js\"],\"default\"]\n3:I[92242,[\"/_next/static/chunks/2x7nfpuaaba_a.js\",\"/_next/static/chunks/3c49t4evjq8hf.js\"],\"default\"]\n4:I[43645,[\"/_next/static/chunks/2x7nfpuaaba_a.js\",\"/_next/static/chunks/3c49t4evjq8hf.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[43645,[\"/_next/static/chunks/2x7nfpuaaba_a.js\",\"/_next/static/chunks/3c49t4evjq8hf.js\"],\"ViewportBoundary\"]\na:I[43645,[\"/_next/static/chunks/2x7nfpuaaba_a.js\",\"/_next/static/chunks/3c49t4evjq8hf.js\"],\"MetadataBoundary\"]\nc:I[17506,[\"/_next/static/chunks/2x7nfpuaaba_a.js\",\"/_next/static/chunks/3c49t4evjq8hf.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"
|
|
1
|
+
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/3o736nio6056k.js"/><script src="/_next/static/chunks/3oc6y_gbi9g75.js" async=""></script><script src="/_next/static/chunks/0ptag81psa0nj.js" async=""></script><script src="/_next/static/chunks/2vek3z0bw0bke.js" async=""></script><script src="/_next/static/chunks/turbopack-25un8yxrkvr61.js" async=""></script><script src="/_next/static/chunks/2x7nfpuaaba_a.js" async=""></script><script src="/_next/static/chunks/3c49t4evjq8hf.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/3o736nio6056k.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[20699,[\"/_next/static/chunks/2x7nfpuaaba_a.js\",\"/_next/static/chunks/3c49t4evjq8hf.js\"],\"default\"]\n3:I[92242,[\"/_next/static/chunks/2x7nfpuaaba_a.js\",\"/_next/static/chunks/3c49t4evjq8hf.js\"],\"default\"]\n4:I[43645,[\"/_next/static/chunks/2x7nfpuaaba_a.js\",\"/_next/static/chunks/3c49t4evjq8hf.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[43645,[\"/_next/static/chunks/2x7nfpuaaba_a.js\",\"/_next/static/chunks/3c49t4evjq8hf.js\"],\"ViewportBoundary\"]\na:I[43645,[\"/_next/static/chunks/2x7nfpuaaba_a.js\",\"/_next/static/chunks/3c49t4evjq8hf.js\"],\"MetadataBoundary\"]\nc:I[17506,[\"/_next/static/chunks/2x7nfpuaaba_a.js\",\"/_next/static/chunks/3c49t4evjq8hf.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"kg0mtyaaNMvU3P8p7nLPa\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[]\n"])</script></body></html>
|
|
@@ -3489,7 +3489,12 @@ async function pushEnvFiles(ctx, transport, patterns) {
|
|
|
3489
3489
|
const packed = await execa(
|
|
3490
3490
|
"tar",
|
|
3491
3491
|
["-C", ctx.hostWorkspace, "--null", "-T", "-", "-cf", localTar],
|
|
3492
|
-
{
|
|
3492
|
+
{
|
|
3493
|
+
input: list.join("\0"),
|
|
3494
|
+
reject: false,
|
|
3495
|
+
// COPYFILE_DISABLE silences macOS BSD tar's `._*` resource-fork stubs.
|
|
3496
|
+
env: { ...process.env, COPYFILE_DISABLE: "1" }
|
|
3497
|
+
}
|
|
3493
3498
|
);
|
|
3494
3499
|
if (packed.exitCode !== 0) {
|
|
3495
3500
|
ctx.onLog(`warning: env-file tar pack failed: ${String(packed.stderr).slice(0, 300)}`);
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
preparedMatches,
|
|
10
10
|
pullOrBuild,
|
|
11
11
|
readPreparedDockerState
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PM2365RW.js";
|
|
13
13
|
import {
|
|
14
14
|
AGENT_SYNC_SPECS,
|
|
15
15
|
BOX_HOME,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
withServiceSignIn,
|
|
75
75
|
workspaceExcludes,
|
|
76
76
|
writeCredentialBackup
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-IDL7RJBP.js";
|
|
78
78
|
import {
|
|
79
79
|
execa
|
|
80
80
|
} from "./chunk-EFW34I43.js";
|
|
@@ -2116,7 +2116,7 @@ async function handleRemoteBoxesRequest(req, deps) {
|
|
|
2116
2116
|
async function reapLocalBoxState(boxId, sandboxId, log) {
|
|
2117
2117
|
let removed = false;
|
|
2118
2118
|
try {
|
|
2119
|
-
const { mutateState, readState: readState2, boxSshDirForProvider: boxSshDirForProvider2 } = await import("./dist-
|
|
2119
|
+
const { mutateState, readState: readState2, boxSshDirForProvider: boxSshDirForProvider2 } = await import("./dist-4DVVLHK2.js");
|
|
2120
2120
|
const state = await readState2();
|
|
2121
2121
|
const record = state.boxes.find((b) => b.id === boxId);
|
|
2122
2122
|
if (record) {
|
|
@@ -11114,7 +11114,9 @@ async function copyHostFilesToBox(opts) {
|
|
|
11114
11114
|
const packed = await execa("tar", ["-C", opts.workspaceDir, "--null", "-T", "-", "-cf", "-"], {
|
|
11115
11115
|
input: list.join("\0"),
|
|
11116
11116
|
encoding: "buffer",
|
|
11117
|
-
reject: false
|
|
11117
|
+
reject: false,
|
|
11118
|
+
// COPYFILE_DISABLE silences macOS BSD tar's `._*` resource-fork stubs.
|
|
11119
|
+
env: { ...process.env, COPYFILE_DISABLE: "1" }
|
|
11118
11120
|
});
|
|
11119
11121
|
if (packed.exitCode !== 0) {
|
|
11120
11122
|
log(`warning: env-file tar pack failed: ${String(packed.stderr).slice(0, 300)}`);
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
registerBoxWithRelay,
|
|
15
15
|
skipWebProxyAlias,
|
|
16
16
|
stopBoxPollerOnRelay
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KTWFE5BB.js";
|
|
18
18
|
import {
|
|
19
19
|
AGENTS_STATIC_BOX_DIR,
|
|
20
20
|
AGENT_SYNC_SPECS,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
withServiceSignIn,
|
|
74
74
|
writeCredentialBackup,
|
|
75
75
|
writePreparedStateRaw
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-IDL7RJBP.js";
|
|
77
77
|
import {
|
|
78
78
|
execa
|
|
79
79
|
} from "./chunk-EFW34I43.js";
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
createCloudProvider,
|
|
15
15
|
stageAllAgentStatic
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MIETKCV4.js";
|
|
17
17
|
import {
|
|
18
18
|
detectPortless,
|
|
19
19
|
portlessDoctorRow,
|
|
20
20
|
portlessServiceStatus
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KTWFE5BB.js";
|
|
22
22
|
import {
|
|
23
23
|
SshTunnelManager,
|
|
24
24
|
agentSetArg,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
waitForSsh,
|
|
50
50
|
writeManagedSecrets,
|
|
51
51
|
writePreparedStateRaw
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-IDL7RJBP.js";
|
|
53
53
|
import {
|
|
54
54
|
execa
|
|
55
55
|
} from "./chunk-EFW34I43.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
resolveContextFilesFrom,
|
|
16
16
|
variantFingerprint,
|
|
17
17
|
writePreparedStateRaw
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IDL7RJBP.js";
|
|
19
19
|
import {
|
|
20
20
|
execa
|
|
21
21
|
} from "./chunk-EFW34I43.js";
|
|
@@ -227,7 +227,7 @@ async function buildImage(opts = {}) {
|
|
|
227
227
|
return ref;
|
|
228
228
|
}
|
|
229
229
|
async function pullOrBuild(ref, fingerprint, opts = {}) {
|
|
230
|
-
const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-FO74QUCP-
|
|
230
|
+
const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-FO74QUCP-QR6ZNI3Q.js");
|
|
231
231
|
const registry = opts.registry ?? BOX_IMAGE_REGISTRY;
|
|
232
232
|
const allowPull = opts.allowPull !== false;
|
|
233
233
|
if (allowPull && registry && fingerprint) {
|
|
@@ -325,8 +325,8 @@ async function buildDerivedAgentImage(opts) {
|
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
async function ensureImage(ref = DEFAULT_BOX_IMAGE, opts = {}) {
|
|
328
|
-
const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedMatches: preparedMatches2 } = await import("./prepared-state-FO74QUCP-
|
|
329
|
-
const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-FO74QUCP-
|
|
328
|
+
const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedMatches: preparedMatches2 } = await import("./prepared-state-FO74QUCP-QR6ZNI3Q.js");
|
|
329
|
+
const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-FO74QUCP-QR6ZNI3Q.js");
|
|
330
330
|
const agentSettings = opts.agentSettings ?? await resolveProjectAgentSettings();
|
|
331
331
|
const agents = normalizeAgentSet(opts.agents);
|
|
332
332
|
const baseRef = ref;
|
|
@@ -406,7 +406,7 @@ function classifyDockerBaseFreshness(input) {
|
|
|
406
406
|
return { state: "fresh" };
|
|
407
407
|
}
|
|
408
408
|
async function evaluateDockerBaseFreshness(opts = {}) {
|
|
409
|
-
const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedShaFor: preparedShaFor2 } = await import("./prepared-state-FO74QUCP-
|
|
409
|
+
const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedShaFor: preparedShaFor2 } = await import("./prepared-state-FO74QUCP-QR6ZNI3Q.js");
|
|
410
410
|
const ref = opts.ref ?? DEFAULT_BOX_IMAGE;
|
|
411
411
|
const imagePresent = await imageExists(ref);
|
|
412
412
|
if (!imagePresent) return { state: "unprepared" };
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
pluginProviderNames,
|
|
9
9
|
readPreparedStateRaw,
|
|
10
10
|
writePreparedStateRaw
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IDL7RJBP.js";
|
|
12
12
|
import {
|
|
13
13
|
hashProjectPath,
|
|
14
14
|
isProviderKind
|
|
@@ -42,13 +42,13 @@ async function hydratePreparedFromCustody(custody, providerName, provider, log)
|
|
|
42
42
|
// lib/provider-importers.ts
|
|
43
43
|
import { pathToFileURL } from "node:url";
|
|
44
44
|
var IMPORTERS = {
|
|
45
|
-
docker: () => import("./dist-
|
|
46
|
-
daytona: () => import("./dist-
|
|
47
|
-
hetzner: () => import("./dist-
|
|
48
|
-
vercel: () => import("./dist-
|
|
49
|
-
e2b: () => import("./dist-
|
|
50
|
-
digitalocean: () => import("./dist-
|
|
51
|
-
"remote-docker": () => import("./dist-
|
|
45
|
+
docker: () => import("./dist-LOZYEDXA.js"),
|
|
46
|
+
daytona: () => import("./dist-RWN4Z57N.js"),
|
|
47
|
+
hetzner: () => import("./dist-VF56FSKH.js"),
|
|
48
|
+
vercel: () => import("./dist-UPKSCLZ2.js"),
|
|
49
|
+
e2b: () => import("./dist-3IYYT3II.js"),
|
|
50
|
+
digitalocean: () => import("./dist-WA2LO2DU.js"),
|
|
51
|
+
"remote-docker": () => import("./dist-LMXU56B2.js")
|
|
52
52
|
};
|
|
53
53
|
var CLOUD_BACKEND_LOADER_ID = "agentbox:hub-builtin-cloud-backends";
|
|
54
54
|
var cloudBackendLoader = {
|
|
@@ -70,7 +70,7 @@ var cloudBackendLoader = {
|
|
|
70
70
|
return null;
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
|
-
loadCloudCp: async () => import("./dist-
|
|
73
|
+
loadCloudCp: async () => import("./dist-OAS6A7E4.js")
|
|
74
74
|
};
|
|
75
75
|
var runtimeImport = new Function("specifier", "return import(specifier);");
|
|
76
76
|
async function loadProviderModuleByName(name) {
|
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
resolveCloudCheckpoint,
|
|
20
20
|
stageAllAgentStatic,
|
|
21
21
|
writeCloudCheckpointManifest
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-MIETKCV4.js";
|
|
23
|
+
import "./chunk-KTWFE5BB.js";
|
|
24
|
+
import "./chunk-PM2365RW.js";
|
|
25
25
|
import {
|
|
26
26
|
agentSetArg,
|
|
27
27
|
computeContextManifest,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
variantFingerprint,
|
|
43
43
|
writeManagedSecrets,
|
|
44
44
|
writePreparedStateRaw
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-IDL7RJBP.js";
|
|
46
46
|
import "./chunk-EFW34I43.js";
|
|
47
47
|
import {
|
|
48
48
|
UserFacingError,
|
|
@@ -20,16 +20,16 @@ import {
|
|
|
20
20
|
renderInnerCommand,
|
|
21
21
|
resolveCloudCheckpoint,
|
|
22
22
|
writeCloudCheckpointManifest
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MIETKCV4.js";
|
|
24
24
|
import {
|
|
25
25
|
detectPortless,
|
|
26
26
|
portlessDoctorRow,
|
|
27
27
|
portlessServiceStatus
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-KTWFE5BB.js";
|
|
29
29
|
import {
|
|
30
30
|
BUILD_CONTEXT_DIR,
|
|
31
31
|
computeDockerContextFingerprint
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-PM2365RW.js";
|
|
33
33
|
import {
|
|
34
34
|
BOX_IMAGE_REGISTRY,
|
|
35
35
|
SshTunnelManager,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
sshOptArgs,
|
|
46
46
|
variantFingerprint,
|
|
47
47
|
writePreparedStateRaw
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-IDL7RJBP.js";
|
|
49
49
|
import {
|
|
50
50
|
execa
|
|
51
51
|
} from "./chunk-EFW34I43.js";
|
|
@@ -185,7 +185,7 @@ import {
|
|
|
185
185
|
volumeSettingsTarget,
|
|
186
186
|
volumeSizeBytes,
|
|
187
187
|
vscodeServerVolumeName
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-KTWFE5BB.js";
|
|
189
189
|
import {
|
|
190
190
|
BUILD_CONTEXT_DIR,
|
|
191
191
|
DEFAULT_BOX_IMAGE,
|
|
@@ -211,7 +211,7 @@ import {
|
|
|
211
211
|
tagImage,
|
|
212
212
|
variantImageRef,
|
|
213
213
|
writePreparedDockerState
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-PM2365RW.js";
|
|
215
215
|
import {
|
|
216
216
|
BOX_CLAUDE_PROJECT_DIR,
|
|
217
217
|
BOX_DYNAMIC_SYNC_MANIFEST,
|
|
@@ -243,7 +243,7 @@ import {
|
|
|
243
243
|
resolveClaudeMemoryDir,
|
|
244
244
|
scanHostEnvFiles,
|
|
245
245
|
stageDynamicSyncTarball
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-IDL7RJBP.js";
|
|
247
247
|
import "./chunk-EFW34I43.js";
|
|
248
248
|
import {
|
|
249
249
|
AmbiguousBoxError,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
verifyDetachedSession,
|
|
77
77
|
writeCloudCheckpointManifest,
|
|
78
78
|
writePreparedToCustodyStore
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-MIETKCV4.js";
|
|
80
80
|
import {
|
|
81
81
|
CODEX_CREDENTIALS_BACKUP_FILE,
|
|
82
82
|
CREDENTIALS_BACKUP_FILE,
|
|
@@ -97,12 +97,12 @@ import {
|
|
|
97
97
|
resetPortlessCache,
|
|
98
98
|
resolvePortlessHostStateDir,
|
|
99
99
|
startPortlessProxy
|
|
100
|
-
} from "./chunk-
|
|
101
|
-
import "./chunk-
|
|
100
|
+
} from "./chunk-KTWFE5BB.js";
|
|
101
|
+
import "./chunk-PM2365RW.js";
|
|
102
102
|
import {
|
|
103
103
|
isRealAgentCredential,
|
|
104
104
|
stageAgentsStaticForUpload
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-IDL7RJBP.js";
|
|
106
106
|
import "./chunk-EFW34I43.js";
|
|
107
107
|
import "./chunk-FQY5OEWX.js";
|
|
108
108
|
import "./chunk-3OTB7DIH.js";
|
|
@@ -21,9 +21,9 @@ import {
|
|
|
21
21
|
seedAgentStaticIntoCloudBox,
|
|
22
22
|
stageAllAgentStatic,
|
|
23
23
|
writeCloudCheckpointManifest
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-MIETKCV4.js";
|
|
25
|
+
import "./chunk-KTWFE5BB.js";
|
|
26
|
+
import "./chunk-PM2365RW.js";
|
|
27
27
|
import {
|
|
28
28
|
BOX_IMAGE_REGISTRY,
|
|
29
29
|
DOCKER_CONTEXT_FILE_MAP,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
variantFingerprint,
|
|
46
46
|
writeManagedSecrets,
|
|
47
47
|
writePreparedStateRaw
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-IDL7RJBP.js";
|
|
49
49
|
import "./chunk-EFW34I43.js";
|
|
50
50
|
import {
|
|
51
51
|
providerWarning,
|
|
@@ -23,9 +23,9 @@ import {
|
|
|
23
23
|
resolveCloudCheckpoint,
|
|
24
24
|
stageAllAgentStatic,
|
|
25
25
|
writeCloudCheckpointManifest
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-MIETKCV4.js";
|
|
27
|
+
import "./chunk-KTWFE5BB.js";
|
|
28
|
+
import "./chunk-PM2365RW.js";
|
|
29
29
|
import {
|
|
30
30
|
agentSetArg,
|
|
31
31
|
computeContextManifest,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
variantFingerprint,
|
|
47
47
|
writeManagedSecrets,
|
|
48
48
|
writePreparedStateRaw
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-IDL7RJBP.js";
|
|
50
50
|
import {
|
|
51
51
|
execa
|
|
52
52
|
} from "./chunk-EFW34I43.js";
|
|
@@ -50,11 +50,11 @@ import {
|
|
|
50
50
|
validateServerChoice,
|
|
51
51
|
withHetznerRetry,
|
|
52
52
|
writePreparedState
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-ORTYCJ2U.js";
|
|
54
54
|
import "./chunk-OF242BLD.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-MIETKCV4.js";
|
|
56
|
+
import "./chunk-KTWFE5BB.js";
|
|
57
|
+
import "./chunk-PM2365RW.js";
|
|
58
58
|
import {
|
|
59
59
|
mintSshKey,
|
|
60
60
|
scpDownload,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
sshExec,
|
|
63
63
|
sshOptArgs,
|
|
64
64
|
waitForSsh
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-IDL7RJBP.js";
|
|
66
66
|
import "./chunk-EFW34I43.js";
|
|
67
67
|
import "./chunk-FQY5OEWX.js";
|
|
68
68
|
import "./chunk-3OTB7DIH.js";
|
|
@@ -2,7 +2,7 @@ import { createRequire as __cr } from 'node:module'; import { fileURLToPath as _
|
|
|
2
2
|
import {
|
|
3
3
|
applyControlPlaneConfig,
|
|
4
4
|
resolveHubDeployAssets
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ORTYCJ2U.js";
|
|
6
6
|
import {
|
|
7
7
|
$e,
|
|
8
8
|
BD,
|
|
@@ -18,13 +18,13 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
createCloudProvider,
|
|
20
20
|
stageAllAgentStatic
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-MIETKCV4.js";
|
|
22
22
|
import {
|
|
23
23
|
detectPortless,
|
|
24
24
|
portlessDoctorRow,
|
|
25
25
|
portlessServiceStatus
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-KTWFE5BB.js";
|
|
27
|
+
import "./chunk-PM2365RW.js";
|
|
28
28
|
import {
|
|
29
29
|
SshTunnelManager,
|
|
30
30
|
agentSetArg,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
variantFingerprint,
|
|
55
55
|
waitForSsh,
|
|
56
56
|
writePreparedStateRaw
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-IDL7RJBP.js";
|
|
58
58
|
import {
|
|
59
59
|
execa
|
|
60
60
|
} from "./chunk-EFW34I43.js";
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
hydratePreparedFromCustody,
|
|
4
4
|
isRuntimeProviderName,
|
|
5
5
|
loadProviderModuleByName
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VNLPJ45F.js";
|
|
7
7
|
import {
|
|
8
8
|
applyProjectSeed,
|
|
9
9
|
startDetachedCloudAgent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MIETKCV4.js";
|
|
11
11
|
import {
|
|
12
12
|
FsCustodyStore,
|
|
13
13
|
GitHubAppLeaser,
|
|
@@ -20,8 +20,8 @@ import {
|
|
|
20
20
|
queueLogPath,
|
|
21
21
|
toAuthedHttpsUrl,
|
|
22
22
|
toHttpsUrl
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-KTWFE5BB.js";
|
|
24
|
+
import "./chunk-PM2365RW.js";
|
|
25
25
|
import {
|
|
26
26
|
AGENT_SYNC_SPECS,
|
|
27
27
|
HUB_WORKER_CLONE_PREFIX,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
resolveAgentSpec,
|
|
33
33
|
shouldAcceptCredentialUpdate,
|
|
34
34
|
writeCredentialBackup
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-IDL7RJBP.js";
|
|
36
36
|
import "./chunk-EFW34I43.js";
|
|
37
37
|
import {
|
|
38
38
|
isServiceAgent,
|
|
@@ -200,7 +200,7 @@ function makeHubCreateBox(opts) {
|
|
|
200
200
|
const { name: providerName, remoteHost } = parseProviderSpec(provider);
|
|
201
201
|
if (!isRuntimeProviderName(providerName)) throw new Error(`unknown provider ${provider}`);
|
|
202
202
|
if (remoteHost) {
|
|
203
|
-
const rd = await import("./dist-
|
|
203
|
+
const rd = await import("./dist-LMXU56B2.js");
|
|
204
204
|
if (!rd.getHostAlias(remoteHost)) {
|
|
205
205
|
throw new Error(
|
|
206
206
|
`unknown remote-docker host '${remoteHost}' on this hub \u2014 share it from the machine that owns it (\`agentbox remote-docker share ${remoteHost}\`)`
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
readPreparedDockerState,
|
|
9
9
|
resolveContextFiles,
|
|
10
10
|
writePreparedDockerState
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-PM2365RW.js";
|
|
12
|
+
import "./chunk-IDL7RJBP.js";
|
|
13
13
|
import "./chunk-EFW34I43.js";
|
|
14
14
|
import "./chunk-FQY5OEWX.js";
|
|
15
15
|
import "./chunk-3OTB7DIH.js";
|