@outerlayer/cli 0.40.0-next.20261117115225 → 0.40.0-next.20261117162610
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/dist/{agent-setup-4J2JL5EB.js → agent-setup-KJVEDAHY.js} +18 -18
- package/dist/{agent-subcommand-64YO6FE4.js → agent-subcommand-U7TXKOF4.js} +3 -3
- package/dist/{bridge-H72K6N7O.js → bridge-UIT7F5DZ.js} +6 -6
- package/dist/{build-PBQIJPCC.js → build-W2Z43HX5.js} +12 -12
- package/dist/{build-disk-3COAKTPF.js → build-disk-AOY6DOEK.js} +10 -10
- package/dist/build-info.json +1 -1
- package/dist/{builder-GOJQQOIV.js → builder-PHD5WM6J.js} +9 -9
- package/dist/caller-WJVESIHQ.js +23 -0
- package/dist/{check-CS2U2LU4.js → check-U5P5FFFB.js} +51 -51
- package/dist/{chunk-7CK4Z6VC.js → chunk-24K3CV6P.js} +4 -4
- package/dist/{chunk-T4SVE4O4.js → chunk-2GAQRL4S.js} +4 -4
- package/dist/{chunk-D3PPI7I4.js → chunk-2SS737DI.js} +1 -1
- package/dist/{chunk-6FWHB4TW.js → chunk-3KT24F2C.js} +8 -8
- package/dist/{chunk-GU7QECTA.js → chunk-3UFBSPHM.js} +2 -2
- package/dist/{chunk-J7UWKTRV.js → chunk-4JUAJVOW.js} +1 -1
- package/dist/{chunk-BIBHD4KJ.js → chunk-5GJWIATY.js} +4 -4
- package/dist/{chunk-ISTSELPU.js → chunk-5VANIC7Z.js} +5 -5
- package/dist/{chunk-PIP32M2V.js → chunk-7N6MB6NR.js} +3 -3
- package/dist/{chunk-CZYUSXAR.js → chunk-7RIWXHSY.js} +3 -3
- package/dist/{chunk-H7BNWYIA.js → chunk-A6DFTKQF.js} +5 -5
- package/dist/{chunk-Y73IIGAU.js → chunk-AE6A5DVR.js} +5 -5
- package/dist/{chunk-ATK2MNGU.js → chunk-AOAXRPXC.js} +4 -4
- package/dist/{chunk-VH7P6XUP.js → chunk-AQNL3XHS.js} +1 -1
- package/dist/{chunk-PKYJMXRB.js → chunk-BEPP2C3U.js} +7 -7
- package/dist/{chunk-DMW22UQE.js → chunk-BV4I6IIT.js} +3 -3
- package/dist/{chunk-J4EPJMU6.js → chunk-CDMNKUFT.js} +2 -2
- package/dist/{chunk-UAGUV74T.js → chunk-CHIKNMWU.js} +1 -1
- package/dist/{chunk-YNFCFPLT.js → chunk-CQIJVNUB.js} +7 -7
- package/dist/{chunk-AAGXH2FR.js → chunk-CVDB3ILT.js} +1 -1
- package/dist/{chunk-YAB2SVSI.js → chunk-D6CU6N5S.js} +2 -2
- package/dist/{chunk-OUGHUEV7.js → chunk-DAAZIWK2.js} +15 -15
- package/dist/{chunk-TPLMLNME.js → chunk-DCY6QUS6.js} +1 -1
- package/dist/{chunk-7QDRLTFW.js → chunk-EOKIUWXY.js} +1 -1
- package/dist/{chunk-ZHXBFXG2.js → chunk-EOO274OK.js} +1 -1
- package/dist/{chunk-QMOE5Y4X.js → chunk-F3P7DP7R.js} +1 -1
- package/dist/{chunk-KPCGSGZS.js → chunk-FIH3QA4E.js} +5 -5
- package/dist/{chunk-Q7ZXPRTP.js → chunk-GBCTYHZ4.js} +10 -10
- package/dist/{chunk-GBZA57ZZ.js → chunk-H7IY5B2M.js} +31 -60
- package/dist/{chunk-FBFYIEHC.js → chunk-HMW3UCME.js} +1 -1
- package/dist/{chunk-FTXTRATJ.js → chunk-IGYRJWB4.js} +28 -28
- package/dist/{chunk-V65YF5VP.js → chunk-J3P4WLJA.js} +1 -1
- package/dist/{chunk-SSVM6C5N.js → chunk-K5J7AKRL.js} +1 -1
- package/dist/{chunk-3FZXSMIL.js → chunk-L6UD5LKU.js} +4 -4
- package/dist/{chunk-FYL2RFHI.js → chunk-LAO7LRIR.js} +1 -1
- package/dist/{chunk-52CTFVXD.js → chunk-MRM7CQJ3.js} +3 -3
- package/dist/{chunk-FUNAQRMN.js → chunk-MUDXPJT6.js} +7 -7
- package/dist/{chunk-FRQLJUID.js → chunk-OLWDENJZ.js} +2 -2
- package/dist/{chunk-LSSTRAIO.js → chunk-P6GTJQMA.js} +3 -3
- package/dist/{chunk-EBSN6K35.js → chunk-PG4KH7G6.js} +5 -5
- package/dist/{chunk-K3IO22FH.js → chunk-PKBW4RL7.js} +1 -1
- package/dist/{chunk-XVE7HD6X.js → chunk-Q5A5WWZI.js} +6 -6
- package/dist/{chunk-MN73QQDA.js → chunk-Q7OOS23E.js} +4 -4
- package/dist/{chunk-IHMGZWOB.js → chunk-R2VUU5TC.js} +1 -1
- package/dist/{chunk-H73CCPAW.js → chunk-SGVMC66D.js} +1 -1
- package/dist/{chunk-V56S4A34.js → chunk-SKVA4VMG.js} +1 -1
- package/dist/{chunk-JMQDGBAF.js → chunk-SQIFPWGN.js} +2 -2
- package/dist/{chunk-WAI7EGGE.js → chunk-TTPOEZFE.js} +303 -7
- package/dist/{chunk-2L2LLHQW.js → chunk-TWKW3BL3.js} +1 -1
- package/dist/{chunk-CKS7B2ZJ.js → chunk-U74YD3WB.js} +6 -6
- package/dist/{chunk-PC6BJDBE.js → chunk-UHGU2EAK.js} +4 -4
- package/dist/{chunk-RC5WWCUS.js → chunk-VIIJAM2R.js} +4 -4
- package/dist/{chunk-WHIAOWEN.js → chunk-VXL7SLO3.js} +1 -1
- package/dist/{chunk-H37HSQGH.js → chunk-WGWIB5JH.js} +1 -1
- package/dist/{chunk-TS2U7ZAG.js → chunk-WKO72EYV.js} +3 -3
- package/dist/{chunk-HQEPFG5U.js → chunk-WNPLSKH6.js} +1 -1
- package/dist/{chunk-SS3SQYDS.js → chunk-WNX2RR5P.js} +1 -1
- package/dist/{chunk-3RG2ZR3J.js → chunk-WQRFIWYB.js} +5 -5
- package/dist/{chunk-OA2KHMXX.js → chunk-WVEN3DDJ.js} +4 -4
- package/dist/{chunk-VEW4BPVJ.js → chunk-XC2ZN7UA.js} +1 -1
- package/dist/{chunk-WNW7BQ7H.js → chunk-XEVGUSP6.js} +8 -8
- package/dist/{chunk-XVTDFLRQ.js → chunk-XMUNNJMO.js} +3 -3
- package/dist/{chunk-3TEE7JVW.js → chunk-Y34AHK7R.js} +1 -1
- package/dist/{chunk-KZEZBZ4W.js → chunk-YKVFVP4A.js} +7 -7
- package/dist/{chunk-G2KLJMPR.js → chunk-YVBJ74GP.js} +8 -8
- package/dist/{chunk-YVLGGDYK.js → chunk-YYHSGZHO.js} +1 -1
- package/dist/{chunk-BIXO533I.js → chunk-YZQDTL3T.js} +2 -2
- package/dist/{chunk-QKMVEQXO.js → chunk-ZCBKVSBK.js} +3 -3
- package/dist/{chunk-MAWSNLSZ.js → chunk-ZCFGRVGX.js} +4 -4
- package/dist/{chunk-IXHMDBXY.js → chunk-ZHRXINEW.js} +5 -5
- package/dist/{chunk-PVDIDOKH.js → chunk-ZZN2TUHE.js} +8 -8
- package/dist/{claude-launcher-43RD6G3Y.js → claude-launcher-ZLZ4UMHJ.js} +6 -6
- package/dist/{cli-4YRY7FBI.js → cli-EFLEZPHB.js} +162 -162
- package/dist/{command-MZCMXPPJ.js → command-22NUIO7Z.js} +48 -48
- package/dist/{config-OJTLS62B.js → config-HZEVAUDO.js} +11 -11
- package/dist/{connect-cmd-L5KO3U67.js → connect-cmd-IUDF62SX.js} +10 -10
- package/dist/{container-start-WVZ2SSQH.js → container-start-PQAEL5ZS.js} +45 -45
- package/dist/{context-cleanup-REXSRAU6.js → context-cleanup-OT7BL2NG.js} +3 -3
- package/dist/{context-show-cmd-DAVFJJHX.js → context-show-cmd-JDO6DBBU.js} +11 -11
- package/dist/{control-plane-launch-TARK67QP.js → control-plane-launch-M545J63D.js} +13 -13
- package/dist/{demo-record-cmd-BRBXTCSL.js → demo-record-cmd-DGP3CW3A.js} +7 -7
- package/dist/{demo-voice-cmd-67ZE46PS.js → demo-voice-cmd-23BV7L6V.js} +17 -17
- package/dist/{dist-3AH72O53.js → dist-AKLRKVET.js} +1 -1
- package/dist/{docker-FEOTGBDS.js → docker-S6XFE42W.js} +9 -9
- package/dist/{doctor-K7UHUBZW.js → doctor-5VN6Q4ZU.js} +47 -47
- package/dist/{emit-artifact-cmd-ZDQ5PPRN.js → emit-artifact-cmd-H3HULADF.js} +16 -16
- package/dist/{emit-cmd-MY3TTOV7.js → emit-cmd-RM6FHATP.js} +6 -6
- package/dist/{emit-criteria-cmd-SED3RVYR.js → emit-criteria-cmd-UM3DXOOD.js} +13 -13
- package/dist/{emit-demo-cmd-VBHIORA3.js → emit-demo-cmd-BMAXX7M2.js} +17 -17
- package/dist/{emit-finding-cmd-NQRNWPFW.js → emit-finding-cmd-E7WKK2A4.js} +13 -13
- package/dist/{emit-result-cmd-CA3FQUGR.js → emit-result-cmd-5LKEMUOD.js} +15 -15
- package/dist/{emit-step-cmd-EZQD56H5.js → emit-step-cmd-6TX7FGWI.js} +13 -13
- package/dist/{exec-client-JEOB57LW.js → exec-client-H2AOUP6U.js} +7 -7
- package/dist/{find-unit-HJRHPB3Y.js → find-unit-XKWFS4BL.js} +12 -12
- package/dist/{findings-cmd-4HKGMYM7.js → findings-cmd-5BNDO3YM.js} +13 -13
- package/dist/{fleet-readiness-SPPQPJZI.js → fleet-readiness-YDRQPUI5.js} +12 -12
- package/dist/{governing-source-URY2L5EI.js → governing-source-CLLOKTZF.js} +18 -18
- package/dist/{guest-init-KXWFAIS5.js → guest-init-PDLZDDB4.js} +8 -8
- package/dist/{hook-fast-3EMC5BR5.js → hook-fast-CQ2YCZLB.js} +1 -1
- package/dist/{hook-install-2S7NZOBO.js → hook-install-VWF5C6EL.js} +3 -3
- package/dist/host-checks-43WBI5JE.js +82 -0
- package/dist/{host-key-JGKWDEN7.js → host-key-AOUOQNV5.js} +7 -7
- package/dist/{image-tag-DJ2DYY75.js → image-tag-VZTFHG6T.js} +7 -7
- package/dist/index.js +4 -4
- package/dist/{init-67NCMKO6.js → init-IXQBYUOM.js} +43 -43
- package/dist/{init-X7RMCZ7P.js → init-IZJENDA6.js} +43 -43
- package/dist/{init-agent-VZ4PLLKF.js → init-agent-BWLBRVNP.js} +43 -43
- package/dist/{init-cmd-BVPFCSEV.js → init-cmd-AL3ODKU6.js} +25 -25
- package/dist/{init-update-2PHTQUR6.js → init-update-35IRDVWQ.js} +21 -21
- package/dist/install-cmd-DMAMD7BD.js +26 -0
- package/dist/launch-agent-XAPO3FGT.js +26 -0
- package/dist/{layout-4GFI5FUZ.js → layout-F6FDPUC2.js} +3 -3
- package/dist/{logs-IGY3Z45I.js → logs-NWVFDJS3.js} +6 -6
- package/dist/loop-Q5CTVY7B.js +92 -0
- package/dist/machine-55WUTHG3.js +82 -0
- package/dist/{machine-skills-FJPUFZ7N.js → machine-skills-U7RNJTPH.js} +3 -3
- package/dist/{mcp-install-cmd-DWN6GODI.js → mcp-install-cmd-QDYJB3RW.js} +3 -3
- package/dist/{mcp-serve-cmd-3ACPN3DK.js → mcp-serve-cmd-JEYAQJPY.js} +8 -8
- package/dist/{paths-KPYCKVEO.js → paths-DWVALEBM.js} +6 -6
- package/dist/pending-PA5UWRHN.js +18 -0
- package/dist/{pidfile-2TYTTJAD.js → pidfile-KOM3XD4E.js} +7 -7
- package/dist/{record-SXQN3F2G.js → record-S2WGEUIM.js} +7 -7
- package/dist/{relay-XUWU6YJA.js → relay-SKBUV4HQ.js} +4 -4
- package/dist/{relay-protocol-2ELEUOSS.js → relay-protocol-YSGHT7C4.js} +4 -4
- package/dist/{run-cmd-ZC6H5JMT.js → run-cmd-S7IQ6OVY.js} +13 -13
- package/dist/{runner-agents-RKBGYF6D.js → runner-agents-ZVIM6XVC.js} +3 -3
- package/dist/{runner-env-7AZQ443N.js → runner-env-WD6CPYTN.js} +13 -13
- package/dist/{runner-identity-IA53MENM.js → runner-identity-LDFFB6YB.js} +9 -9
- package/dist/{runner-key-L6KNJNEM.js → runner-key-OM2HCEVM.js} +43 -43
- package/dist/{session-sender-HUD6KDQS.js → session-sender-IZP4E562.js} +16 -16
- package/dist/{setup-cmd-6BBZWFJX.js → setup-cmd-S4ZIVRRF.js} +11 -11
- package/dist/{setup-wiring-QLQW7YG3.js → setup-wiring-FRY6CKZ7.js} +50 -50
- package/dist/{spec-cmd-VKL4K2QQ.js → spec-cmd-PRGEIOJ7.js} +14 -14
- package/dist/{starter-pack-ETRBBABF.js → starter-pack-YVBD7AKE.js} +4 -4
- package/dist/{state-5QGIGKBB.js → state-LAKZKWCJ.js} +7 -7
- package/dist/{status-6GZN7A33.js → status-JORNKH3T.js} +43 -43
- package/dist/{sync-cmd-EPN6VJ4R.js → sync-cmd-QVSAP72U.js} +15 -15
- package/dist/update-steps-LM3C7MG6.js +83 -0
- package/dist/{watch-YSSMGF7F.js → watch-F2ELGBST.js} +15 -15
- package/dist/{work-claim-cmd-TV4TJNBE.js → work-claim-cmd-LEM7P2ME.js} +19 -19
- package/dist/{work-cmd-VWXZLMF4.js → work-cmd-M2RCHHKE.js} +13 -13
- package/dist/{work-comment-cmd-A6OMDNWD.js → work-comment-cmd-QGAY3QUN.js} +15 -15
- package/dist/{work-demo-cmd-RO2MNERR.js → work-demo-cmd-FQMFCLZ6.js} +13 -13
- package/dist/{work-logs-cmd-FNVY6PFY.js → work-logs-cmd-KLPX4TYX.js} +13 -13
- package/dist/{work-mock-cmd-AC2Z3W7V.js → work-mock-cmd-XJEG6AAT.js} +13 -13
- package/dist/{work-needs-attention-cmd-2IEXGHHV.js → work-needs-attention-cmd-BOINZLEQ.js} +13 -13
- package/dist/{work-no-change-cmd-VN5YDUZZ.js → work-no-change-cmd-IINJFYBD.js} +13 -13
- package/dist/{work-open-pr-cmd-GX3AEJMQ.js → work-open-pr-cmd-S2XL6OZV.js} +14 -14
- package/dist/{work-pr-cmd-PU7YFJDD.js → work-pr-cmd-6YTJRHVC.js} +13 -13
- package/dist/{work-proofs-cmd-7MNFBEAL.js → work-proofs-cmd-OC3O264U.js} +15 -15
- package/dist/{work-proofs-record-7PVFOKA2.js → work-proofs-record-34VAOVND.js} +21 -21
- package/dist/{work-stop-cmd-4PKBXINK.js → work-stop-cmd-HWG6IUFS.js} +13 -13
- package/package.json +1 -1
- package/dist/caller-BZBHMIA2.js +0 -23
- package/dist/host-checks-CQUHRKX7.js +0 -82
- package/dist/install-cmd-2SO5XQMZ.js +0 -26
- package/dist/launch-agent-ZCE2MKWW.js +0 -26
- package/dist/loop-NYTY3WU7.js +0 -92
- package/dist/machine-SMT7B3HP.js +0 -82
- package/dist/pending-LR3J3B32.js +0 -18
- package/dist/update-steps-35DGWEH3.js +0 -83
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { toolsDockerfile } from './chunk-
|
|
4
|
-
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-
|
|
3
|
+
import { toolsDockerfile } from './chunk-AOAXRPXC.js';
|
|
4
|
+
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-AQNL3XHS.js';
|
|
5
5
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
6
6
|
import { withNewTokenRetry, REFUSED_BY_REMOTE } from './chunk-FJGYU2EK.js';
|
|
7
|
-
import { runnerLabelValue } from './chunk-
|
|
8
|
-
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-
|
|
7
|
+
import { runnerLabelValue } from './chunk-YVBJ74GP.js';
|
|
8
|
+
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-WGWIB5JH.js';
|
|
9
9
|
import { removeLeftoverGitLocks } from './chunk-A2WPWZJA.js';
|
|
10
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-
|
|
11
|
-
import { withGitConfig, tokenHeader } from './chunk-
|
|
12
|
-
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-
|
|
10
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-VXL7SLO3.js';
|
|
11
|
+
import { withGitConfig, tokenHeader } from './chunk-UHGU2EAK.js';
|
|
12
|
+
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-MRM7CQJ3.js';
|
|
13
13
|
import { mkdirSync, writeFileSync, existsSync, mkdtempSync, rmSync, cpSync, readFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
|
|
14
14
|
import { tmpdir } from 'os';
|
|
15
15
|
import { join, dirname } from 'path';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-
|
|
3
|
+
import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-WNPLSKH6.js';
|
|
4
4
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
5
|
-
import { EXEC_PORT } from './chunk-
|
|
6
|
-
import { RELAY_PORT } from './chunk-
|
|
5
|
+
import { EXEC_PORT } from './chunk-XMUNNJMO.js';
|
|
6
|
+
import { RELAY_PORT } from './chunk-UHGU2EAK.js';
|
|
7
7
|
import { spawn, spawnSync } from 'child_process';
|
|
8
8
|
import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync, existsSync } from 'fs';
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { linkedBranches, setupCommitPaths, commitCommandsFor, ownerAndName } from './chunk-
|
|
4
|
-
import { resolveGatewayCredentials } from './chunk-
|
|
3
|
+
import { linkedBranches, setupCommitPaths, commitCommandsFor, ownerAndName } from './chunk-24K3CV6P.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-EOKIUWXY.js';
|
|
5
5
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { execFileSync } from 'child_process';
|
|
7
7
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-VXL7SLO3.js';
|
|
4
4
|
import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
|
|
5
5
|
import { dirname, join } from 'path';
|
|
6
6
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { scrubReason, stripTerminalControls } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
5
|
-
import { RunnerAlreadyRunningError, readPidFile } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-H7IY5B2M.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-Q5A5WWZI.js';
|
|
5
|
+
import { RunnerAlreadyRunningError, readPidFile } from './chunk-AQNL3XHS.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
7
|
-
import { isSignatureRefusal, postJson } from './chunk-
|
|
8
|
-
import { keyRunnerFactory } from './chunk-
|
|
9
|
-
import { signerFor } from './chunk-
|
|
10
|
-
import { pidFilePath } from './chunk-
|
|
7
|
+
import { isSignatureRefusal, postJson } from './chunk-YKVFVP4A.js';
|
|
8
|
+
import { keyRunnerFactory } from './chunk-ZCFGRVGX.js';
|
|
9
|
+
import { signerFor } from './chunk-F3P7DP7R.js';
|
|
10
|
+
import { pidFilePath } from './chunk-VXL7SLO3.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|
|
12
12
|
|
|
13
13
|
createRequire(import.meta.url);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-VXL7SLO3.js';
|
|
4
4
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-
|
|
4
|
-
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-
|
|
3
|
+
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-YVBJ74GP.js';
|
|
4
|
+
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-VXL7SLO3.js';
|
|
5
5
|
import { spawnSync } from 'child_process';
|
|
6
6
|
import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
|
|
7
7
|
import { dirname, join } from 'path';
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { checkStarterFiles, contextIsGoverned } from './chunk-
|
|
4
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
5
|
-
import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-
|
|
6
|
-
import { withInjectedPrograms } from './chunk-
|
|
7
|
-
import { isLinkedRepository } from './chunk-
|
|
3
|
+
import { checkStarterFiles, contextIsGoverned } from './chunk-FIH3QA4E.js';
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-YKVFVP4A.js';
|
|
5
|
+
import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-5VANIC7Z.js';
|
|
6
|
+
import { withInjectedPrograms } from './chunk-YYHSGZHO.js';
|
|
7
|
+
import { isLinkedRepository } from './chunk-24K3CV6P.js';
|
|
8
8
|
import { sanitizeTerminal } from './chunk-QMC2MM2S.js';
|
|
9
9
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
10
|
-
import { checkFormerSkillNames } from './chunk-
|
|
11
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
12
|
-
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-
|
|
10
|
+
import { checkFormerSkillNames } from './chunk-TWKW3BL3.js';
|
|
11
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-EOKIUWXY.js';
|
|
12
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-7N6MB6NR.js';
|
|
13
13
|
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-F3J4UKBF.js';
|
|
14
14
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
15
15
|
import { readStatuslineState, STATE_FRESH_MS } from './chunk-LA66NWUO.js';
|
|
16
16
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
17
|
-
import { installAgents, withSettingsText } from './chunk-
|
|
17
|
+
import { installAgents, withSettingsText } from './chunk-SKVA4VMG.js';
|
|
18
18
|
import { cliForInstall, cliBinResolvable } from './chunk-ZHQC43NH.js';
|
|
19
19
|
import { readDeliveryRecord, readDegraded, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
20
20
|
import { deadHooksState, preparePackageManagerCommand } from './chunk-CJPTUU2E.js';
|
|
21
|
-
import { defaultAgents, legacyAgent, contextAgents } from './chunk-
|
|
21
|
+
import { defaultAgents, legacyAgent, contextAgents } from './chunk-LAO7LRIR.js';
|
|
22
22
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
23
|
-
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-
|
|
23
|
+
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-TTPOEZFE.js';
|
|
24
24
|
import { CRITERIA_JUDGE_NAME } from './chunk-6IGOHB3O.js';
|
|
25
25
|
import { readFileSync, mkdirSync, writeFileSync, renameSync, existsSync, accessSync, constants, statSync, readdirSync, lstatSync } from 'fs';
|
|
26
26
|
import { sep, join, dirname, resolve, delimiter } from 'path';
|
|
@@ -1094,8 +1094,8 @@ function doctorExitCode(checks) {
|
|
|
1094
1094
|
|
|
1095
1095
|
// src/doctor-report.ts
|
|
1096
1096
|
async function gatherDoctorChecks(options = {}) {
|
|
1097
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1098
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1097
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-AOY6DOEK.js');
|
|
1098
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-HZEVAUDO.js');
|
|
1099
1099
|
const configPath = options.configPath ?? defaultRunnerConfigPath();
|
|
1100
1100
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1101
1101
|
const hooks = (() => {
|
|
@@ -1123,7 +1123,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1123
1123
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1124
1124
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1125
1125
|
} else if (hasRunnerBlock(configPath)) {
|
|
1126
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1126
|
+
const { runnerHostChecks } = await import('./doctor-5VN6Q4ZU.js');
|
|
1127
1127
|
const gateway = (() => {
|
|
1128
1128
|
try {
|
|
1129
1129
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1151,7 +1151,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1151
1151
|
const service = await (async () => {
|
|
1152
1152
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1153
1153
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1154
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1154
|
+
const { inspectRunnerService } = await import('./find-unit-XKWFS4BL.js');
|
|
1155
1155
|
return inspectRunnerService(configPath);
|
|
1156
1156
|
})();
|
|
1157
1157
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-VXL7SLO3.js';
|
|
4
4
|
import { readlinkSync, realpathSync, mkdirSync, unlinkSync, symlinkSync, renameSync, readFileSync, writeFileSync, rmSync, existsSync, readdirSync } from 'fs';
|
|
5
5
|
import { join, basename, sep, resolve } from 'path';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readCloudConfigStrict, readCloudConfig, cloudConfigPath } from './chunk-HWVMRETT.js';
|
|
4
|
-
import { signRunnerRequest, signerFor } from './chunk-
|
|
4
|
+
import { signRunnerRequest, signerFor } from './chunk-F3P7DP7R.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-Z7J7JWGF.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { CONTROL_PLANE_DIR_VARIABLE, SUPPORTED_CONTROL_PLANE_LAYOUT } from './chunk-F3J4UKBF.js';
|
|
4
|
-
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-
|
|
4
|
+
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-LAO7LRIR.js';
|
|
5
5
|
import { LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
6
6
|
import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
|
|
7
7
|
import { lstatSync, readFileSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-VXL7SLO3.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { mcpTargetPath, INIT_STDIO_ENTRY, INIT_DOCS_ENTRY, DOCS_MCP_SERVER_NAME } from './chunk-
|
|
4
|
-
import { POLICY_PATH, POLICY_CONTENT } from './chunk-
|
|
5
|
-
import { skillsBaseFor } from './chunk-
|
|
3
|
+
import { mcpTargetPath, INIT_STDIO_ENTRY, INIT_DOCS_ENTRY, DOCS_MCP_SERVER_NAME } from './chunk-PKBW4RL7.js';
|
|
4
|
+
import { POLICY_PATH, POLICY_CONTENT } from './chunk-OLWDENJZ.js';
|
|
5
|
+
import { skillsBaseFor } from './chunk-Y34AHK7R.js';
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { hasSymlinkComponent } from './chunk-
|
|
8
|
+
import { hasSymlinkComponent } from './chunk-K5J7AKRL.js';
|
|
9
9
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
10
|
-
import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-
|
|
10
|
+
import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-LAO7LRIR.js';
|
|
11
11
|
import { createHash } from 'crypto';
|
|
12
12
|
import { existsSync, readFileSync } from 'fs';
|
|
13
13
|
import { join } from 'path';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { placeholderQueues, placeholderProblem } from './chunk-
|
|
4
|
-
import { checkFit } from './chunk-
|
|
5
|
-
import { getJson, WorkCommandError } from './chunk-
|
|
6
|
-
import { isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, keepsHostBuilder } from './chunk-
|
|
7
|
-
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
8
|
-
import { ensureHostKey } from './chunk-
|
|
9
|
-
import { sandboxSettingsFrom } from './chunk-
|
|
10
|
-
import { agentCredentialVariablesSet, agentCredential, parseRunnerEnv, BUILD_SLICE_MEMORY_ENV } from './chunk-
|
|
11
|
-
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, storeVariables, credentialEnvPath } from './chunk-
|
|
12
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-H7IY5B2M.js';
|
|
4
|
+
import { checkFit } from './chunk-Q5A5WWZI.js';
|
|
5
|
+
import { getJson, WorkCommandError } from './chunk-YKVFVP4A.js';
|
|
6
|
+
import { isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, keepsHostBuilder } from './chunk-ZCFGRVGX.js';
|
|
7
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-D6CU6N5S.js';
|
|
8
|
+
import { ensureHostKey } from './chunk-F3P7DP7R.js';
|
|
9
|
+
import { sandboxSettingsFrom } from './chunk-UHGU2EAK.js';
|
|
10
|
+
import { agentCredentialVariablesSet, agentCredential, parseRunnerEnv, BUILD_SLICE_MEMORY_ENV } from './chunk-YZQDTL3T.js';
|
|
11
|
+
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, storeVariables, credentialEnvPath } from './chunk-MRM7CQJ3.js';
|
|
12
|
+
import { defaultAgents } from './chunk-LAO7LRIR.js';
|
|
13
13
|
import { closeSync, openSync, constants, readFileSync } from 'fs';
|
|
14
14
|
import { join, dirname } from 'path';
|
|
15
15
|
import { totalmem } from 'os';
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { RUNNER_PROTOCOL } from './chunk-HHOFP647.js';
|
|
4
|
-
import { MAX_TEST_FILE_BYTES, itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems } from './chunk-
|
|
4
|
+
import { MAX_TEST_FILE_BYTES, itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems } from './chunk-HMW3UCME.js';
|
|
5
5
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
6
6
|
import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
|
|
7
|
-
import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-
|
|
8
|
-
import { upgradedStarterText } from './chunk-
|
|
9
|
-
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-
|
|
10
|
-
import { writeDockerClientConfig } from './chunk-
|
|
11
|
-
import { senderPidfile } from './chunk-
|
|
12
|
-
import { installScrubContext } from './chunk-
|
|
7
|
+
import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-A6DFTKQF.js';
|
|
8
|
+
import { upgradedStarterText } from './chunk-FIH3QA4E.js';
|
|
9
|
+
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-BV4I6IIT.js';
|
|
10
|
+
import { writeDockerClientConfig } from './chunk-WNPLSKH6.js';
|
|
11
|
+
import { senderPidfile } from './chunk-2GAQRL4S.js';
|
|
12
|
+
import { installScrubContext } from './chunk-MUDXPJT6.js';
|
|
13
13
|
import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-B4XB5QFD.js';
|
|
14
|
-
import { runnerImageVersion } from './chunk-
|
|
15
|
-
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-
|
|
14
|
+
import { runnerImageVersion } from './chunk-WNX2RR5P.js';
|
|
15
|
+
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-SQIFPWGN.js';
|
|
16
16
|
import { receiveFiles } from './chunk-NN33FYXG.js';
|
|
17
|
-
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-
|
|
18
|
-
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-
|
|
17
|
+
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-BEPP2C3U.js';
|
|
18
|
+
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-AOAXRPXC.js';
|
|
19
19
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
20
20
|
import { currentCliBuild } from './chunk-OGFGZQA3.js';
|
|
21
|
-
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-
|
|
22
|
-
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-
|
|
23
|
-
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-
|
|
24
|
-
import { postJson, getJson, WorkCommandError, isSignatureRefusal } from './chunk-
|
|
25
|
-
import { keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, readsOnly, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, sandboxTimeLimitMinutes, networkOf, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-
|
|
26
|
-
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-
|
|
27
|
-
import { said, NETWORK_HELPER_MEMORY, firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, createDockerHost, builderSpec, childEnvironment, containerExecArgs, readDu, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, NETWORK_READY_FILE, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, JUDGE_REPORT, withAnswerProtocol, JUDGE_TREE, runnerLabelValue, parseSize, readJobFileChecked, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, identityRunArgs, judgeProgramRecord, SAVED_STATE_LABEL } from './chunk-
|
|
28
|
-
import { universalImagePending, writeSanitizedRecipe, classifyProperties, RecipeError, DOCKER_FEATURE } from './chunk-
|
|
21
|
+
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-R2VUU5TC.js';
|
|
22
|
+
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-XMUNNJMO.js';
|
|
23
|
+
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-ZZN2TUHE.js';
|
|
24
|
+
import { postJson, getJson, WorkCommandError, isSignatureRefusal } from './chunk-YKVFVP4A.js';
|
|
25
|
+
import { keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, readsOnly, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, sandboxTimeLimitMinutes, networkOf, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-ZCFGRVGX.js';
|
|
26
|
+
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-D6CU6N5S.js';
|
|
27
|
+
import { said, NETWORK_HELPER_MEMORY, firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, createDockerHost, builderSpec, childEnvironment, containerExecArgs, readDu, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, NETWORK_READY_FILE, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, JUDGE_REPORT, withAnswerProtocol, JUDGE_TREE, runnerLabelValue, parseSize, readJobFileChecked, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, identityRunArgs, judgeProgramRecord, SAVED_STATE_LABEL } from './chunk-YVBJ74GP.js';
|
|
28
|
+
import { universalImagePending, writeSanitizedRecipe, classifyProperties, RecipeError, DOCKER_FEATURE } from './chunk-WGWIB5JH.js';
|
|
29
29
|
import { sanitizeTerminal, planArtifactUpload } from './chunk-QMC2MM2S.js';
|
|
30
|
-
import { sharedSkillNames, skillConflictMessage } from './chunk-
|
|
30
|
+
import { sharedSkillNames, skillConflictMessage } from './chunk-EOO274OK.js';
|
|
31
31
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
32
|
-
import { signerFor } from './chunk-
|
|
33
|
-
import { sessionsDir, vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, workspacesDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-
|
|
34
|
-
import { BUILD_HOME, dataPlaneOf, sandboxCallOf, SandboxError, repositoriesOf, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, buildEnvironment, trustEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, checkoutPath, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, retryAfterMsOf, readBundleScript, applyTrust, proxyEnvironment, describeSandboxError, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, providerMayAnswerLater, toolProxyEnvironment } from './chunk-
|
|
35
|
-
import { agentCredential, managedAgentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, RELAY_USER, builtInNames, currentAgentCredential, removedAgentCredentialValues, realFdStorePort, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, AGENT_CREDENTIAL_MISSING, fdName, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-
|
|
32
|
+
import { signerFor } from './chunk-F3P7DP7R.js';
|
|
33
|
+
import { sessionsDir, vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, workspacesDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-VXL7SLO3.js';
|
|
34
|
+
import { BUILD_HOME, dataPlaneOf, sandboxCallOf, SandboxError, repositoriesOf, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, buildEnvironment, trustEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, checkoutPath, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, retryAfterMsOf, readBundleScript, applyTrust, proxyEnvironment, describeSandboxError, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, providerMayAnswerLater, toolProxyEnvironment } from './chunk-UHGU2EAK.js';
|
|
35
|
+
import { agentCredential, managedAgentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, RELAY_USER, builtInNames, currentAgentCredential, removedAgentCredentialValues, realFdStorePort, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, AGENT_CREDENTIAL_MISSING, fdName, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-YZQDTL3T.js';
|
|
36
36
|
import { versionAtLeast } from './chunk-F3J4UKBF.js';
|
|
37
|
-
import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, defaultCommandLine, credentialAgent, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, credentialHandOffKey, strippedVariables, runnerAgents, judgeAgent, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, UNIVERSAL_IMAGE, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE, agentVersionOf } from './chunk-
|
|
38
|
-
import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, orderSessions, extractFacts, sessionsToTimeline, resolvePackRoot } from './chunk-
|
|
37
|
+
import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, defaultCommandLine, credentialAgent, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, credentialHandOffKey, strippedVariables, runnerAgents, judgeAgent, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, UNIVERSAL_IMAGE, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE, agentVersionOf } from './chunk-MRM7CQJ3.js';
|
|
38
|
+
import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, orderSessions, extractFacts, sessionsToTimeline, resolvePackRoot } from './chunk-LAO7LRIR.js';
|
|
39
39
|
import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
|
|
40
40
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
41
41
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
42
|
-
import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, forkFor, scrubDeep } from './chunk-
|
|
42
|
+
import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, forkFor, scrubDeep } from './chunk-TTPOEZFE.js';
|
|
43
43
|
import { CheckItemsSchema, CODE_REVIEW_NAME, CRITERIA_JUDGE_NAME, JUDGE_NOT_RUN_ITEM_ID, CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEM_HREF_MAX_LENGTH, downconvertSession } from './chunk-6IGOHB3O.js';
|
|
44
44
|
import { randomUUID, randomBytes, createHash } from 'crypto';
|
|
45
45
|
import { rmSync, mkdirSync, existsSync, readFileSync, mkdtempSync, statSync, appendFileSync, writeFileSync, readdirSync, accessSync, constants, openSync, closeSync, lstatSync, chmodSync, renameSync, rmdirSync, createReadStream, unlinkSync, realpathSync, writeSync, truncateSync, cpSync, copyFileSync, fstatSync, readSync, createWriteStream, linkSync } from 'fs';
|
|
@@ -4919,11 +4919,8 @@ function saveFailureReason(err) {
|
|
|
4919
4919
|
if (err.status === 0) return `the gateway did not answer the save in ${SAVE_TIMEOUT_MS / 1e3} seconds: ${err.message}`;
|
|
4920
4920
|
return `the gateway refused the save: ${describeSandboxError(err)}`;
|
|
4921
4921
|
}
|
|
4922
|
-
function sandboxStateKey(runnerId, key, shared) {
|
|
4923
|
-
return shared ? key.baseKey : `${runnerId}/${key.baseKey}`;
|
|
4924
|
-
}
|
|
4925
4922
|
function sharesSavedStates(config) {
|
|
4926
|
-
return config.
|
|
4923
|
+
return config.sandbox?.provider === "outerlayer";
|
|
4927
4924
|
}
|
|
4928
4925
|
async function findSharedState(sandboxClient, input) {
|
|
4929
4926
|
if (sandboxClient.findState === void 0) return { ok: false, reason: "the sandbox provider finds no saved state" };
|
|
@@ -4956,38 +4953,13 @@ async function saveSandboxState(input) {
|
|
|
4956
4953
|
if (sandboxClient.saveState === void 0) return failed2("the sandbox provider saves no state");
|
|
4957
4954
|
let state;
|
|
4958
4955
|
try {
|
|
4959
|
-
const details =
|
|
4960
|
-
state = await sandboxClient.saveState(sandbox.id,
|
|
4956
|
+
const details = sharedStateDetails({ ...key, volume: input.build.volume, agentUid: input.agentUid });
|
|
4957
|
+
state = await sandboxClient.saveState(sandbox.id, key.baseKey, details);
|
|
4961
4958
|
} catch (err) {
|
|
4962
4959
|
return failed2(saveFailureReason(err));
|
|
4963
4960
|
}
|
|
4964
4961
|
if (input.aborted()) return void 0;
|
|
4965
|
-
|
|
4966
|
-
input.log(`saved state ${state.id}`);
|
|
4967
|
-
return { saved: true, id: state.id };
|
|
4968
|
-
}
|
|
4969
|
-
const record = {
|
|
4970
|
-
id: state.id,
|
|
4971
|
-
kind: "sandbox",
|
|
4972
|
-
volume: input.build.volume,
|
|
4973
|
-
savedAt: state.createdAt,
|
|
4974
|
-
bytes: 0,
|
|
4975
|
-
baseKey: key.baseKey,
|
|
4976
|
-
key: key.key,
|
|
4977
|
-
fileHashes: key.fileHashes,
|
|
4978
|
-
// A record is written as JSON, which leaves out an id the probe did not give.
|
|
4979
|
-
agentUid: input.agentUid,
|
|
4980
|
-
complete: true
|
|
4981
|
-
};
|
|
4982
|
-
await saveAndPrune({
|
|
4983
|
-
save: async () => {
|
|
4984
|
-
writeRecord2(dir, record);
|
|
4985
|
-
return { ok: true, record };
|
|
4986
|
-
},
|
|
4987
|
-
dir,
|
|
4988
|
-
removeVolume: async () => void 0,
|
|
4989
|
-
log: input.log
|
|
4990
|
-
});
|
|
4962
|
+
input.log(`saved state ${state.id}`);
|
|
4991
4963
|
return { saved: true, id: state.id };
|
|
4992
4964
|
}
|
|
4993
4965
|
async function cleanupSandbox(runtime, state, keepDisk) {
|
|
@@ -5598,7 +5570,6 @@ async function provisionSandboxOnce(input, allowRestore, itemDiskFailed, noSave)
|
|
|
5598
5570
|
build: { container, volume: volumeName, imageId: image, runnerId },
|
|
5599
5571
|
key: plan.key,
|
|
5600
5572
|
agentUid: probe.status === 0 ? parseIdentity(probe.stdout)?.uid ?? void 0 : void 0,
|
|
5601
|
-
shared: shared !== void 0,
|
|
5602
5573
|
dir: statesDir,
|
|
5603
5574
|
now: clockOf(input.now),
|
|
5604
5575
|
aborted: input.aborted,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-QMC2MM2S.js';
|
|
4
|
-
import { resolvePackRoot, parseProofsConfig } from './chunk-
|
|
4
|
+
import { resolvePackRoot, parseProofsConfig } from './chunk-LAO7LRIR.js';
|
|
5
5
|
import { CHECK_ITEM_REF_PATH_MAX_LENGTH, CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEMS_MAX, CheckItemsSchema, problemKind, CHECK_ITEM_REFS_MAX, CHECK_ITEM_ID_MAX_LENGTH, JUDGE_NOT_RUN_ITEM_ID, REVIEWED_COMMIT_ITEM_ID, TEAM_RULES_ITEM_ID } from './chunk-6IGOHB3O.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-
|
|
3
|
+
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-CVDB3ILT.js';
|
|
4
4
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
5
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
6
|
-
import { renderUpdateSteps } from './chunk-
|
|
5
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-CQIJVNUB.js';
|
|
6
|
+
import { renderUpdateSteps } from './chunk-P6GTJQMA.js';
|
|
7
7
|
import { decideInstalledSwitch } from './chunk-TXKHD4Q6.js';
|
|
8
|
-
import { writeFleetState } from './chunk-
|
|
9
|
-
import { writePendingUpdate } from './chunk-
|
|
10
|
-
import { fleetConfigProblem, realBlockedProbes, checkBlockedWithSlots, askFleetMachine } from './chunk-
|
|
11
|
-
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-
|
|
12
|
-
import { leaseTimeLeftMs, createContainerRuntime, heldSandboxClaimsOf, unfinishedJobs, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, withJobTimeLimit, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, SandboxContainerStoppedError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, jobTimeLimitMinutes, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, hookLimitsFor, runCommandOf, AttemptLogBook, environmentFor, builtOf, judgeCredential, readWorkItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, holdsHostDisk, removeOldestUntil, treeFileText, scrubReason, timeoutAfter, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-
|
|
8
|
+
import { writeFleetState } from './chunk-CHIKNMWU.js';
|
|
9
|
+
import { writePendingUpdate } from './chunk-XC2ZN7UA.js';
|
|
10
|
+
import { fleetConfigProblem, realBlockedProbes, checkBlockedWithSlots, askFleetMachine } from './chunk-GBCTYHZ4.js';
|
|
11
|
+
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-DCY6QUS6.js';
|
|
12
|
+
import { leaseTimeLeftMs, createContainerRuntime, heldSandboxClaimsOf, unfinishedJobs, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, withJobTimeLimit, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, SandboxContainerStoppedError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, jobTimeLimitMinutes, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, hookLimitsFor, runCommandOf, AttemptLogBook, environmentFor, builtOf, judgeCredential, readWorkItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, holdsHostDisk, removeOldestUntil, treeFileText, scrubReason, timeoutAfter, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-H7IY5B2M.js';
|
|
13
13
|
import { RUNNER_PROTOCOL } from './chunk-HHOFP647.js';
|
|
14
|
-
import { criteriaOf, diffLines, loadCitationFinder, wholeItems, itemsSentence, oneLineReason, parseJudgeAnswer, wholeEntries, treePath, lineInDiff } from './chunk-
|
|
15
|
-
import { RepoFilter } from './chunk-
|
|
14
|
+
import { criteriaOf, diffLines, loadCitationFinder, wholeItems, itemsSentence, oneLineReason, parseJudgeAnswer, wholeEntries, treePath, lineInDiff } from './chunk-HMW3UCME.js';
|
|
15
|
+
import { RepoFilter } from './chunk-MUDXPJT6.js';
|
|
16
16
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-B4XB5QFD.js';
|
|
17
|
-
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-
|
|
17
|
+
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-WNX2RR5P.js';
|
|
18
18
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
19
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, itemCalls, configForJob } from './chunk-
|
|
20
|
-
import { fetchCommit, readBranchHead, diffBetween, readDefaultBranchFiles } from './chunk-
|
|
21
|
-
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-
|
|
19
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, itemCalls, configForJob } from './chunk-SQIFPWGN.js';
|
|
20
|
+
import { fetchCommit, readBranchHead, diffBetween, readDefaultBranchFiles } from './chunk-BEPP2C3U.js';
|
|
21
|
+
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-AQNL3XHS.js';
|
|
22
22
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
23
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock, readGovernedFiles } from './chunk-
|
|
24
|
-
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-
|
|
25
|
-
import { keyRunnerFactory, readsOnly, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_CHECK_TIME_LIMIT_MINUTES, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-
|
|
26
|
-
import { formatBytes, freeBytes } from './chunk-
|
|
27
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, JUDGE_TREE, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, JUDGE_DIR, judgeCommand, JUDGE_MAX_TURNS } from './chunk-
|
|
28
|
-
import { loadHostKey, ensureHostKey, signerFor } from './chunk-
|
|
29
|
-
import { jobsDir, RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, pidFilePath, storeScopes } from './chunk-
|
|
30
|
-
import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT, WORK_DIR } from './chunk-
|
|
31
|
-
import { jobCredentialProblem, COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-
|
|
32
|
-
import { cleanAttachmentName } from './chunk-
|
|
33
|
-
import { jobAgent, jobCommandEnv, runnerAgents, judgeAgent } from './chunk-
|
|
34
|
-
import { defaultAgents, resolvePackRoot } from './chunk-
|
|
23
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock, readGovernedFiles } from './chunk-ZZN2TUHE.js';
|
|
24
|
+
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-YKVFVP4A.js';
|
|
25
|
+
import { keyRunnerFactory, readsOnly, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_CHECK_TIME_LIMIT_MINUTES, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-ZCFGRVGX.js';
|
|
26
|
+
import { formatBytes, freeBytes } from './chunk-D6CU6N5S.js';
|
|
27
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, JUDGE_TREE, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, JUDGE_DIR, judgeCommand, JUDGE_MAX_TURNS } from './chunk-YVBJ74GP.js';
|
|
28
|
+
import { loadHostKey, ensureHostKey, signerFor } from './chunk-F3P7DP7R.js';
|
|
29
|
+
import { jobsDir, RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, pidFilePath, storeScopes } from './chunk-VXL7SLO3.js';
|
|
30
|
+
import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT, WORK_DIR } from './chunk-UHGU2EAK.js';
|
|
31
|
+
import { jobCredentialProblem, COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-YZQDTL3T.js';
|
|
32
|
+
import { cleanAttachmentName } from './chunk-7N6MB6NR.js';
|
|
33
|
+
import { jobAgent, jobCommandEnv, runnerAgents, judgeAgent } from './chunk-MRM7CQJ3.js';
|
|
34
|
+
import { defaultAgents, resolvePackRoot } from './chunk-LAO7LRIR.js';
|
|
35
35
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
36
36
|
import { CheckItemsSchema, CODE_REVIEW_NAME, CHECK_ITEM_HREF_MAX_LENGTH, CHECK_ITEM_REASON_MAX_LENGTH, UNREVIEWED_FILES_ITEM_ID, problemKind, CODE_REVIEW_PROBLEMS_MAX, TEAM_RULES_ITEM_ID, REVIEWED_COMMIT_ITEM_ID, PROBLEM_KINDS, problemSeverity } from './chunk-6IGOHB3O.js';
|
|
37
37
|
import { randomBytes, createHash } from 'crypto';
|
|
@@ -3558,7 +3558,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
3558
3558
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
3559
3559
|
);
|
|
3560
3560
|
async function tryClaimAndStart(state, item, queue) {
|
|
3561
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
3561
|
+
const { postJson: postJson2 } = await import('./work-cmd-M2RCHHKE.js');
|
|
3562
3562
|
const log = logOf(state);
|
|
3563
3563
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
3564
3564
|
const claim = await retrySend(
|
|
@@ -5190,7 +5190,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
5190
5190
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
5191
5191
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
5192
5192
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
5193
|
-
return (await import('./check-
|
|
5193
|
+
return (await import('./check-U5P5FFFB.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
5194
5194
|
},
|
|
5195
5195
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
5196
5196
|
log
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { defaultAgents } from './chunk-LAO7LRIR.js';
|
|
4
4
|
import { openSync, fstatSync, readSync, closeSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readContextManifest, removeContextManifest } from './chunk-YQR6E6OV.js';
|
|
4
4
|
import { removePreCommitGuardHook } from './chunk-CJPTUU2E.js';
|
|
5
|
-
import { CONTEXT_PIN_FILENAME, agentRootFolders } from './chunk-
|
|
5
|
+
import { CONTEXT_PIN_FILENAME, agentRootFolders } from './chunk-LAO7LRIR.js';
|
|
6
6
|
import { execFileSync } from 'child_process';
|
|
7
7
|
import { lstatSync, existsSync, unlinkSync, readdirSync, rmdirSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
|
|
8
8
|
import { join, dirname, isAbsolute } from 'path';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-
|
|
3
|
+
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-Y34AHK7R.js';
|
|
4
4
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
5
|
-
import { invalidConfigMessage } from './chunk-
|
|
6
|
-
import { retiredSkillPaths, removeRetiredSkills } from './chunk-
|
|
5
|
+
import { invalidConfigMessage } from './chunk-4JUAJVOW.js';
|
|
6
|
+
import { retiredSkillPaths, removeRetiredSkills } from './chunk-TWKW3BL3.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { maintainedFilesForExistingSkills, loadMaintainedFiles, emitTree, emitBuilders, defaultAgents, targetIds, generatedHeaderSource, parseOuterlayerConfig, classifyTree, writeMaintainedFiles, agentById } from './chunk-
|
|
8
|
+
import { maintainedFilesForExistingSkills, loadMaintainedFiles, emitTree, emitBuilders, defaultAgents, targetIds, generatedHeaderSource, parseOuterlayerConfig, classifyTree, writeMaintainedFiles, agentById } from './chunk-LAO7LRIR.js';
|
|
9
9
|
import { LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
10
10
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, copyFileSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
11
11
|
import { join, dirname } from 'path';
|
|
@@ -5,7 +5,7 @@ import { CLAUDE_CODE, CODEX, OPENCODE, NATIVE_AGENTS, LEGACY_AGENT, homeRelative
|
|
|
5
5
|
import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
|
|
6
6
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
|
-
import { WARNING_CODES, forkFor, RAW_MIRROR_SEGMENTS, compareVersions, WarningCollector, isNewerThanSupported, bucketsFromTurns, costOfUsage, ZSTD_UNSUPPORTED_MESSAGE } from './chunk-
|
|
8
|
+
import { WARNING_CODES, forkFor, RAW_MIRROR_SEGMENTS, compareVersions, WarningCollector, isNewerThanSupported, bucketsFromTurns, costOfUsage, ZSTD_UNSUPPORTED_MESSAGE } from './chunk-TTPOEZFE.js';
|
|
9
9
|
import { CODE_REVIEW_NAME, CRITERIA_JUDGE_NAME, RESERVED_EMIT_NAMES, EVENT_TYPES, isHumanUserTurn, INPUT_BAND_BOUNDARIES, parseAgentSession, SCHEMA_VERSION, ARTIFACT_KINDS, ArtifactCriterionIdSchema, SPEED_MAX_LENGTH } from './chunk-6IGOHB3O.js';
|
|
10
10
|
import { __commonJS, __require, __toESM } from './chunk-Z5GEFMRW.js';
|
|
11
11
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, readdirSync, rmSync, renameSync, realpathSync, readlinkSync, symlinkSync, copyFileSync, statSync, accessSync, constants, lstatSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { defaultAgents, agentById } from './chunk-
|
|
3
|
+
import { defaultAgents, agentById } from './chunk-LAO7LRIR.js';
|
|
4
4
|
import { PROVIDERS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
5
5
|
import { join, dirname } from 'path';
|
|
6
6
|
|
|
@@ -55,10 +55,10 @@ function networkHelperPinned(arch, hashes = NETWORK_HELPER_SHA256) {
|
|
|
55
55
|
var JAILER_BINARY_SHA256 = {
|
|
56
56
|
x86_64: "65ef226e96f0ceda55ba643f445801ef2cc0ea667ef67cad8ac4f406c9c8434f"
|
|
57
57
|
};
|
|
58
|
-
var HOST_HELPER_ASSETS_VERSION = "
|
|
58
|
+
var HOST_HELPER_ASSETS_VERSION = "18";
|
|
59
59
|
var HOST_HELPER_BASE_URL = `https://github.com/outerlayerai/guest-assets/releases/download/guest-${HOST_HELPER_ASSETS_VERSION}`;
|
|
60
60
|
var HOST_HELPER_SHA256 = {
|
|
61
|
-
x86_64: "
|
|
61
|
+
x86_64: "8abf4288ebf78d1639c0dd837d5d44273e8cfefbf06866a3579451ac9ff1dbb7"
|
|
62
62
|
};
|
|
63
63
|
var HOST_HELPER_SLICE_SINCE = 15;
|
|
64
64
|
function hostHelperSupportsSlice(version = HOST_HELPER_ASSETS_VERSION) {
|