@outerlayer/cli 0.40.0-next.20261117034333 → 0.40.0-next.20261117043041
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/README.md +5 -1
- package/dist/agent-setup-4J2JL5EB.js +41 -0
- package/dist/{agent-subcommand-MW4TF4SG.js → agent-subcommand-64YO6FE4.js} +4 -4
- package/dist/{artifact-link-cmd-XUHNVFVU.js → artifact-link-cmd-HYEM4X5U.js} +2 -2
- package/dist/{bridge-WEK2IMAD.js → bridge-H72K6N7O.js} +7 -7
- package/dist/{build-LJSUCORB.js → build-PBQIJPCC.js} +13 -13
- package/dist/{build-disk-S2XHWSDH.js → build-disk-3COAKTPF.js} +11 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-TCRJKB2W.js → builder-GOJQQOIV.js} +10 -10
- package/dist/caller-BZBHMIA2.js +23 -0
- package/dist/{check-Z6GAY2C4.js → check-TRV42MHY.js} +55 -55
- package/dist/{chunk-ZQTMWBLA.js → chunk-2L2LLHQW.js} +1 -1
- package/dist/{chunk-PB4QDL6Q.js → chunk-3FZXSMIL.js} +4 -4
- package/dist/{chunk-4FTRLX6A.js → chunk-3RG2ZR3J.js} +5 -5
- package/dist/{chunk-ABY722KN.js → chunk-3TEE7JVW.js} +1 -1
- package/dist/{chunk-7QIQ7QR3.js → chunk-52CTFVXD.js} +1 -1
- package/dist/{chunk-BZFRU6M7.js → chunk-6FWHB4TW.js} +8 -8
- package/dist/{chunk-CH3PO7UY.js → chunk-6IGOHB3O.js} +3 -2
- package/dist/{chunk-BEK2BZAI.js → chunk-7CK4Z6VC.js} +6 -6
- package/dist/{chunk-NWWED36F.js → chunk-7QDRLTFW.js} +1 -1
- package/dist/{chunk-TZNIDZGI.js → chunk-AAGXH2FR.js} +1 -1
- package/dist/{chunk-UUVURKWB.js → chunk-ATK2MNGU.js} +4 -4
- package/dist/{chunk-3ETI7MKK.js → chunk-BIBHD4KJ.js} +4 -4
- package/dist/{chunk-GQI5N56J.js → chunk-BIXO533I.js} +2 -2
- package/dist/{chunk-V77IQKWK.js → chunk-BVKLR7GA.js} +17 -17
- package/dist/{chunk-TTBG7YZW.js → chunk-CKS7B2ZJ.js} +7 -7
- package/dist/{chunk-KCLFDN26.js → chunk-CZYUSXAR.js} +3 -3
- package/dist/{chunk-D2QNQOFX.js → chunk-D3PPI7I4.js} +1 -1
- package/dist/{chunk-3PXV4I75.js → chunk-DMW22UQE.js} +3 -3
- package/dist/{chunk-RUSF2YGL.js → chunk-EBSN6K35.js} +6 -6
- package/dist/{chunk-MBOQJTOS.js → chunk-FBFYIEHC.js} +4 -4
- package/dist/{chunk-H6L6SWMN.js → chunk-FRQLJUID.js} +2 -2
- package/dist/{chunk-H4JQKCVP.js → chunk-FUNAQRMN.js} +9 -9
- package/dist/{chunk-5EWESACE.js → chunk-FYL2RFHI.js} +3 -3
- package/dist/{chunk-PZZS6DHY.js → chunk-G2KLJMPR.js} +8 -8
- package/dist/{chunk-K6THWLSJ.js → chunk-H37HSQGH.js} +1 -1
- package/dist/{chunk-UFGV3JZ5.js → chunk-H73CCPAW.js} +1 -1
- package/dist/{chunk-FLHDVJAV.js → chunk-H7BNWYIA.js} +5 -5
- package/dist/{chunk-EBWA6KIE.js → chunk-HHOFP647.js} +1 -1
- package/dist/{chunk-AGKUDDIN.js → chunk-HQEPFG5U.js} +1 -1
- package/dist/{chunk-WEPLWKV6.js → chunk-I6PDJEYQ.js} +3 -3
- package/dist/{chunk-D3CALDGC.js → chunk-IHMGZWOB.js} +1 -1
- package/dist/{chunk-ABXHYH2Y.js → chunk-ISTSELPU.js} +6 -6
- package/dist/{chunk-CNMC4OXO.js → chunk-IXHMDBXY.js} +7 -7
- package/dist/{chunk-F4PRZBBJ.js → chunk-J4EPJMU6.js} +2 -2
- package/dist/{chunk-33RKRHJG.js → chunk-J7UWKTRV.js} +1 -1
- package/dist/{chunk-HI6R4XYD.js → chunk-JMQDGBAF.js} +2 -2
- package/dist/{chunk-HSGZ4JEV.js → chunk-K3IO22FH.js} +1 -1
- package/dist/{chunk-PHC24VUU.js → chunk-KPCGSGZS.js} +5 -5
- package/dist/{chunk-X6BGCNE3.js → chunk-KZEZBZ4W.js} +8 -8
- package/dist/{chunk-EU6JHHES.js → chunk-LDTLGJ5F.js} +247 -61
- package/dist/{chunk-ZASDJ7F5.js → chunk-MAWSNLSZ.js} +4 -4
- package/dist/{chunk-GBLNHZ3E.js → chunk-MN73QQDA.js} +4 -4
- package/dist/{chunk-LYHR47YE.js → chunk-O2JKZTP3.js} +2 -2
- package/dist/{chunk-AH2BO6Q6.js → chunk-OA2KHMXX.js} +6 -6
- package/dist/{chunk-ZYIVNB6B.js → chunk-PC6BJDBE.js} +4 -4
- package/dist/{chunk-6NODVJGM.js → chunk-PIP32M2V.js} +3 -3
- package/dist/{chunk-WZ6K327V.js → chunk-PKYJMXRB.js} +8 -8
- package/dist/{chunk-CW6H5JXV.js → chunk-PVDIDOKH.js} +40 -9
- package/dist/{chunk-QJI56HI2.js → chunk-QJ3AJNRP.js} +7 -7
- package/dist/{chunk-V6UDJVVD.js → chunk-QKMVEQXO.js} +3 -3
- package/dist/{chunk-FG2E3HES.js → chunk-QMC2MM2S.js} +1 -1
- package/dist/{chunk-6ZBUQIJA.js → chunk-QMOE5Y4X.js} +1 -1
- package/dist/{chunk-P7OXJ3ZD.js → chunk-RC5WWCUS.js} +5 -5
- package/dist/{chunk-MG2Y5XYV.js → chunk-RZSGNO7S.js} +30 -30
- package/dist/{chunk-MEZVLRJK.js → chunk-SLZSJRLS.js} +10 -10
- package/dist/{chunk-UE42G3QY.js → chunk-SS3SQYDS.js} +1 -1
- package/dist/{chunk-SK4BESZM.js → chunk-SSVM6C5N.js} +1 -1
- package/dist/{chunk-UN7RXMOB.js → chunk-T4SVE4O4.js} +4 -4
- package/dist/{chunk-I7ZQKMKG.js → chunk-TPLMLNME.js} +1 -1
- package/dist/{chunk-VG6FUXGK.js → chunk-UAGUV74T.js} +1 -1
- package/dist/{chunk-7PIUTUXI.js → chunk-ULI64TQ5.js} +3 -3
- package/dist/{chunk-KDVQGQXM.js → chunk-V56S4A34.js} +1 -1
- package/dist/{chunk-S4CX66JO.js → chunk-V65YF5VP.js} +1 -1
- package/dist/{chunk-5O7P6VXS.js → chunk-VEW4BPVJ.js} +1 -1
- package/dist/{chunk-6QXGAGQY.js → chunk-VH7P6XUP.js} +1 -1
- package/dist/{chunk-6GJMRVMX.js → chunk-VUSPSY6N.js} +1 -1
- package/dist/{chunk-ZIN6G7DS.js → chunk-WAI7EGGE.js} +1 -1
- package/dist/{chunk-H2THCHUP.js → chunk-WHIAOWEN.js} +1 -1
- package/dist/{chunk-F6J3ACXH.js → chunk-XVE7HD6X.js} +6 -6
- package/dist/{chunk-YICV7DAE.js → chunk-XVTDFLRQ.js} +3 -3
- package/dist/{chunk-IQYAPM4S.js → chunk-Y73IIGAU.js} +7 -7
- package/dist/{chunk-33DTLCL6.js → chunk-YAB2SVSI.js} +2 -2
- package/dist/{chunk-UAZBE4O3.js → chunk-YOQ3GBJK.js} +10 -10
- package/dist/{chunk-2QFZBWBP.js → chunk-YVLGGDYK.js} +1 -1
- package/dist/{chunk-XT6LWXJ2.js → chunk-ZHXBFXG2.js} +1 -1
- package/dist/{claude-launcher-HWC5S5HD.js → claude-launcher-43RD6G3Y.js} +7 -7
- package/dist/{cli-TWF7CU3E.js → cli-DRPVOAEG.js} +169 -169
- package/dist/{command-KGYVPB7B.js → command-FMNZSGIX.js} +52 -52
- package/dist/{config-J4VSNOH4.js → config-OJTLS62B.js} +12 -12
- package/dist/{connect-cmd-LPC6J27D.js → connect-cmd-L5KO3U67.js} +13 -13
- package/dist/{container-start-O6BAIQGT.js → container-start-OPQZF4LH.js} +49 -49
- package/dist/{context-cleanup-VWJSWUJB.js → context-cleanup-REXSRAU6.js} +4 -4
- package/dist/{context-show-cmd-B427F3M4.js → context-show-cmd-DAVFJJHX.js} +14 -14
- package/dist/{control-plane-launch-WV253P7I.js → control-plane-launch-TARK67QP.js} +14 -14
- package/dist/{demo-record-cmd-YRND2HVT.js → demo-record-cmd-BRBXTCSL.js} +8 -8
- package/dist/{demo-voice-cmd-TUIXJ7CY.js → demo-voice-cmd-67ZE46PS.js} +20 -20
- package/dist/{dist-UV2JOW3N.js → dist-3AH72O53.js} +2 -2
- package/dist/{docker-6NO5B657.js → docker-FEOTGBDS.js} +10 -10
- package/dist/{doctor-V3Z5CR5Q.js → doctor-22YI6EJN.js} +51 -51
- package/dist/{emit-artifact-cmd-MWDEBRB2.js → emit-artifact-cmd-ZDQ5PPRN.js} +19 -19
- package/dist/{emit-cmd-2ADJWBJP.js → emit-cmd-MY3TTOV7.js} +7 -7
- package/dist/{emit-criteria-cmd-35O7KR37.js → emit-criteria-cmd-SED3RVYR.js} +16 -16
- package/dist/{emit-demo-cmd-HJCW3JEA.js → emit-demo-cmd-VBHIORA3.js} +20 -20
- package/dist/{emit-finding-cmd-Q4SN3OA7.js → emit-finding-cmd-NQRNWPFW.js} +16 -16
- package/dist/{emit-result-cmd-7VEMDT2P.js → emit-result-cmd-CA3FQUGR.js} +18 -18
- package/dist/{emit-step-cmd-DYQM5OQA.js → emit-step-cmd-EZQD56H5.js} +16 -16
- package/dist/{exec-client-6WGSNY56.js → exec-client-JEOB57LW.js} +8 -8
- package/dist/{find-unit-6BX4K4WV.js → find-unit-HJRHPB3Y.js} +13 -13
- package/dist/{findings-cmd-WHQBJZNA.js → findings-cmd-4HKGMYM7.js} +16 -16
- package/dist/{fleet-readiness-A67D5OP4.js → fleet-readiness-SPPQPJZI.js} +14 -14
- package/dist/{governing-source-C4BMFNFZ.js → governing-source-URY2L5EI.js} +21 -21
- package/dist/{guest-init-ZWEJGXQS.js → guest-init-KXWFAIS5.js} +9 -9
- package/dist/{hook-fast-SZ5L3ZJK.js → hook-fast-3EMC5BR5.js} +1 -1
- package/dist/{hook-install-63GJ3OUI.js → hook-install-2S7NZOBO.js} +4 -4
- package/dist/host-checks-MVOAIBQA.js +82 -0
- package/dist/host-key-JGKWDEN7.js +18 -0
- package/dist/{image-tag-6HQDPX45.js → image-tag-DJ2DYY75.js} +8 -8
- package/dist/index.js +4 -4
- package/dist/{init-KOG5S5KX.js → init-F6XEU4VR.js} +47 -47
- package/dist/init-JEXSFOFP.js +82 -0
- package/dist/{init-agent-XIDQULDZ.js → init-agent-BLC6ART6.js} +47 -47
- package/dist/init-cmd-ISFN4IXL.js +53 -0
- package/dist/{init-update-7SBDG65Z.js → init-update-2PHTQUR6.js} +24 -24
- package/dist/install-cmd-2SO5XQMZ.js +26 -0
- package/dist/launch-agent-ZCE2MKWW.js +26 -0
- package/dist/{layout-2MIQCJ3U.js → layout-4GFI5FUZ.js} +4 -4
- package/dist/{login-browser-ZYWUIEOQ.js → login-browser-G3NBTYT6.js} +2 -2
- package/dist/{logs-SP6RPVCP.js → logs-IGY3Z45I.js} +7 -7
- package/dist/loop-A3LCREAQ.js +92 -0
- package/dist/machine-P5OCN6FJ.js +82 -0
- package/dist/{machine-skills-UYWZXOZI.js → machine-skills-FJPUFZ7N.js} +4 -4
- package/dist/{mcp-install-cmd-U2SEWH66.js → mcp-install-cmd-DWN6GODI.js} +4 -4
- package/dist/{mcp-serve-cmd-VAQL3CJB.js → mcp-serve-cmd-3ACPN3DK.js} +9 -9
- package/dist/{paths-G7LFPGQQ.js → paths-KPYCKVEO.js} +7 -7
- package/dist/pending-LR3J3B32.js +18 -0
- package/dist/{pidfile-FIVR2HKB.js → pidfile-2TYTTJAD.js} +8 -8
- package/dist/{record-K3I7V46A.js → record-SXQN3F2G.js} +8 -8
- package/dist/{relay-AQBBQJ5I.js → relay-XUWU6YJA.js} +5 -5
- package/dist/{relay-protocol-XZ7WESQL.js → relay-protocol-2ELEUOSS.js} +5 -5
- package/dist/{run-cmd-BRUSQKEA.js → run-cmd-ZC6H5JMT.js} +16 -16
- package/dist/{runner-agents-KF6EECFW.js → runner-agents-RKBGYF6D.js} +4 -4
- package/dist/runner-env-7AZQ443N.js +24 -0
- package/dist/{runner-identity-JM3ZQ2PJ.js → runner-identity-IA53MENM.js} +10 -10
- package/dist/{runner-key-P6FUFO6Y.js → runner-key-K6SJMQ6I.js} +47 -47
- package/dist/{session-sender-N3U3ZTL3.js → session-sender-HUD6KDQS.js} +19 -19
- package/dist/{setup-cmd-F7Y4SFTK.js → setup-cmd-6BBZWFJX.js} +14 -14
- package/dist/{setup-wiring-LU6AY2QA.js → setup-wiring-AE2RFMC4.js} +54 -54
- package/dist/{spec-cmd-ZNXNMAYA.js → spec-cmd-VKL4K2QQ.js} +17 -17
- package/dist/{starter-pack-NEQLRMTX.js → starter-pack-ETRBBABF.js} +5 -5
- package/dist/state-5QGIGKBB.js +18 -0
- package/dist/{status-N326EK5I.js → status-TJWQ5EIM.js} +47 -47
- package/dist/{sync-cmd-KG7YQGM6.js → sync-cmd-EPN6VJ4R.js} +18 -18
- package/dist/update-steps-RDYVUTKN.js +83 -0
- package/dist/{watch-3VJ363V2.js → watch-YSSMGF7F.js} +18 -18
- package/dist/{work-claim-cmd-MXWB5NG6.js → work-claim-cmd-TV4TJNBE.js} +23 -23
- package/dist/{work-cmd-X55AAJG2.js → work-cmd-VWXZLMF4.js} +16 -16
- package/dist/{work-comment-cmd-7AL5KEVJ.js → work-comment-cmd-A6OMDNWD.js} +18 -18
- package/dist/{work-demo-cmd-6UFGGEMI.js → work-demo-cmd-RO2MNERR.js} +16 -16
- package/dist/{work-logs-cmd-DCAV3J7A.js → work-logs-cmd-FNVY6PFY.js} +16 -16
- package/dist/{work-mock-cmd-O7KFTS65.js → work-mock-cmd-AC2Z3W7V.js} +16 -16
- package/dist/{work-needs-attention-cmd-OD5PTHLX.js → work-needs-attention-cmd-2IEXGHHV.js} +16 -16
- package/dist/{work-no-change-cmd-ABYXIOZT.js → work-no-change-cmd-VN5YDUZZ.js} +16 -16
- package/dist/{work-open-pr-cmd-WRFHZXVM.js → work-open-pr-cmd-GX3AEJMQ.js} +17 -17
- package/dist/{work-pr-cmd-VEH4HP7P.js → work-pr-cmd-PU7YFJDD.js} +16 -16
- package/dist/{work-proofs-cmd-TKA3J2II.js → work-proofs-cmd-XOIAKWF2.js} +18 -18
- package/dist/{work-proofs-record-WTBSJLET.js → work-proofs-record-7DEOYNST.js} +24 -24
- package/dist/{work-stop-cmd-WF7R6ILK.js → work-stop-cmd-4PKBXINK.js} +16 -16
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-review/SKILL.md +4 -1
- package/skill-pack/shipped.json +3 -0
- package/skill-pack/template/review/SKILL.md +14 -0
- package/dist/agent-setup-UU3NQZ3A.js +0 -41
- package/dist/caller-VJBDXZXG.js +0 -23
- package/dist/host-checks-SYD7WFUN.js +0 -82
- package/dist/host-key-AYXCAME4.js +0 -18
- package/dist/init-ULMPF7MK.js +0 -82
- package/dist/init-cmd-P7FYHTLS.js +0 -53
- package/dist/install-cmd-TWYZTNRV.js +0 -26
- package/dist/launch-agent-5MCXT6QN.js +0 -26
- package/dist/loop-OU2U7SUJ.js +0 -92
- package/dist/machine-NE34TJIO.js +0 -82
- package/dist/pending-OEAYMKZO.js +0 -18
- package/dist/runner-env-XAO7EBCK.js +0 -24
- package/dist/state-VXN7EX2K.js +0 -18
- package/dist/update-steps-YQQXESUZ.js +0 -83
|
@@ -678,7 +678,7 @@ async function missingRenewalHookContext(home, cwd, codec) {
|
|
|
678
678
|
try {
|
|
679
679
|
const event = codec.events.find((name) => kindOf(codec, name) === "tool-used");
|
|
680
680
|
if (event === void 0) return void 0;
|
|
681
|
-
const { hookRegistered } = await import('./hook-install-
|
|
681
|
+
const { hookRegistered } = await import('./hook-install-2S7NZOBO.js');
|
|
682
682
|
const registered = hookRegistered(event, { home, cwd });
|
|
683
683
|
if (registered !== false) return void 0;
|
|
684
684
|
return `This install has no ${event} hook, so this session's work-item lease will never be renewed while it works and may be lost to another worker mid-session. Run \`${cliInvocation()} init\` to register it.`;
|
|
@@ -878,11 +878,11 @@ async function missingControlPlane(cwd, sessionId, home, env) {
|
|
|
878
878
|
const dirs = findGitDirs(cwd);
|
|
879
879
|
if (dirs === void 0) return void 0;
|
|
880
880
|
if (existsSync(join(dirs.gitCommonDir, "outerlayer", "materialized.json")) || hasExcludeBlock(dirs.gitCommonDir)) {
|
|
881
|
-
const { cleanupEarlierCopies } = await import('./context-cleanup-
|
|
881
|
+
const { cleanupEarlierCopies } = await import('./context-cleanup-REXSRAU6.js');
|
|
882
882
|
cleanupEarlierCopies(dirs);
|
|
883
883
|
}
|
|
884
884
|
if (!contextPossiblyGoverned(cwd, home)) return void 0;
|
|
885
|
-
const { governanceOf } = await import('./control-plane-launch-
|
|
885
|
+
const { governanceOf } = await import('./control-plane-launch-TARK67QP.js');
|
|
886
886
|
if (await governanceOf({ cwd, env, home }) !== "governed") return void 0;
|
|
887
887
|
recordMissingContext(dirs, sessionId, home);
|
|
888
888
|
const launcher = `${cliInvocation()} ${LEGACY.legacy.subcommand}`;
|
|
@@ -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-ATK2MNGU.js';
|
|
4
|
+
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-VH7P6XUP.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-G2KLJMPR.js';
|
|
8
|
+
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-H37HSQGH.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-WHIAOWEN.js';
|
|
11
|
+
import { withGitConfig, tokenHeader } from './chunk-PC6BJDBE.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-52CTFVXD.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';
|
|
@@ -174,7 +174,7 @@ async function readDefaultBranchFiles(input) {
|
|
|
174
174
|
const over = (args, timeoutMs = CLONE_TIMEOUT_MS, raw = false) => withNewTokenRetry2(credential, () => git(input.dir, args, timeoutMs, credential, raw));
|
|
175
175
|
try {
|
|
176
176
|
mkdirSync(input.dir, { recursive: true, mode: RUNNER_DIR_MODE });
|
|
177
|
-
const defaultBranch = defaultBranchOf(await over(["ls-remote", "--symref", input.remote, "HEAD"], HEAD_TIMEOUT_MS));
|
|
177
|
+
const defaultBranch = input.branch ?? defaultBranchOf(await over(["ls-remote", "--symref", input.remote, "HEAD"], HEAD_TIMEOUT_MS));
|
|
178
178
|
if (defaultBranch === null) return { ok: false, reason: `${input.remote} does not say which branch is its default; the runner will not guess one` };
|
|
179
179
|
await git(input.dir, ["init", "--quiet"]);
|
|
180
180
|
await git(input.dir, ["config", "remote.origin.url", input.remote]);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { newTokenRetry } from './chunk-FJGYU2EK.js';
|
|
4
|
-
import { WorkCommandError, postJson } from './chunk-
|
|
5
|
-
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-
|
|
6
|
-
import { buildRefusalReason } from './chunk-
|
|
7
|
-
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-
|
|
8
|
-
import { signingFetchFor } from './chunk-
|
|
9
|
-
import { signerFor } from './chunk-
|
|
10
|
-
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-
|
|
11
|
-
import { SandboxError, describeSandboxError } from './chunk-
|
|
4
|
+
import { WorkCommandError, postJson } from './chunk-KZEZBZ4W.js';
|
|
5
|
+
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-3RG2ZR3J.js';
|
|
6
|
+
import { buildRefusalReason } from './chunk-J7UWKTRV.js';
|
|
7
|
+
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-ZHXBFXG2.js';
|
|
8
|
+
import { signingFetchFor } from './chunk-7QDRLTFW.js';
|
|
9
|
+
import { signerFor } from './chunk-QMOE5Y4X.js';
|
|
10
|
+
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-WHIAOWEN.js';
|
|
11
|
+
import { SandboxError, describeSandboxError } from './chunk-PC6BJDBE.js';
|
|
12
12
|
import { SHIM_SCRIPT, shimScriptFor, GOVERNANCE_VARIABLE } from './chunk-F3J4UKBF.js';
|
|
13
13
|
import { readDegraded, readContextManifest, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
14
14
|
import { fstatSync, mkdirSync, writeFileSync, chmodSync, rmSync, cpSync, readFileSync, existsSync, lstatSync } from 'fs';
|
|
@@ -512,6 +512,37 @@ async function prefetchGovernedContext(input) {
|
|
|
512
512
|
return { reason: `context_unavailable: the control plane named for ${repository} could not be fetched: ${err instanceof Error ? err.message : String(err)}`, transient: false };
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
|
+
async function readGovernedFiles(input) {
|
|
516
|
+
const { repository, source } = input;
|
|
517
|
+
const git = input.git ?? defaultGitRunner;
|
|
518
|
+
let tokenRepository;
|
|
519
|
+
try {
|
|
520
|
+
const fetched = await fetchControlPlaneCommit({
|
|
521
|
+
git,
|
|
522
|
+
home: contextHomeDir(input.configPath, input.organizationId),
|
|
523
|
+
repository: source.repository,
|
|
524
|
+
sha: source.sha,
|
|
525
|
+
remoteUrl: input.controlPlaneUrl(source.repository),
|
|
526
|
+
token: async () => {
|
|
527
|
+
if (input.controlPlaneToken === void 0) return void 0;
|
|
528
|
+
const access = await controlPlaneAccess(input.controlPlaneToken, [{ repository: source.repository }], repository, input.log, input.tag);
|
|
529
|
+
tokenRepository = access?.repository;
|
|
530
|
+
return access?.token;
|
|
531
|
+
},
|
|
532
|
+
policy: buildFetch(true)
|
|
533
|
+
});
|
|
534
|
+
if (!fetched.ok) return { ok: false, reason: fetchFailureReason(fetched, credentialName(tokenRepository), source.repository, source.sha, repository) };
|
|
535
|
+
const files = {};
|
|
536
|
+
for (const path of input.paths) {
|
|
537
|
+
const shown = git(["show", `${fetched.localRef}:${path}`], { cwd: fetched.cacheRepoDir, timeoutMs: 1e4 });
|
|
538
|
+
files[path] = shown.ok ? shown.stdout.toString("utf8") : null;
|
|
539
|
+
}
|
|
540
|
+
return { ok: true, files };
|
|
541
|
+
} catch (err) {
|
|
542
|
+
if (err instanceof TokenRefused) return { ok: false, reason: tokenRefusedReason(err, repository) };
|
|
543
|
+
return { ok: false, reason: `context_unavailable: the control plane named for ${repository} could not be read: ${err instanceof Error ? err.message : String(err)}` };
|
|
544
|
+
}
|
|
545
|
+
}
|
|
515
546
|
function removeStagedContext(buildDir) {
|
|
516
547
|
rmSync(stagedContextDir(buildDir), { recursive: true, force: true });
|
|
517
548
|
}
|
|
@@ -567,4 +598,4 @@ async function imageTargetFor(input) {
|
|
|
567
598
|
return { ok: true, repository: resolved.source.repository, pinned: { commit: resolved.source.sha, ref: resolved.source.ref } };
|
|
568
599
|
}
|
|
569
600
|
|
|
570
|
-
export { BuildTokens, SELF_GOVERNED, WORKFLOW_PERMISSION_REASON, classifyRefusal, commandWithShim, controlPlaneTokenFailure, createRunnerLog, describeCallFailure, formatClock, formatDuration, imageTargetFor, keepStagedContext, keptContextTree, logStamp, pinnedSourceOf, prefetchGovernedContext, refusalCode, relativeToRunner, removeKeptContext, removeStagedContext, resolveGoverningSource, retrySend, shimScript, shortClaim, stageGovernedContext };
|
|
601
|
+
export { BuildTokens, SELF_GOVERNED, WORKFLOW_PERMISSION_REASON, classifyRefusal, commandWithShim, controlPlaneTokenFailure, createRunnerLog, describeCallFailure, formatClock, formatDuration, imageTargetFor, keepStagedContext, keptContextTree, logStamp, pinnedSourceOf, prefetchGovernedContext, readGovernedFiles, refusalCode, relativeToRunner, removeKeptContext, removeStagedContext, resolveGoverningSource, retrySend, shimScript, shortClaim, stageGovernedContext };
|
|
@@ -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-RZSGNO7S.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-XVE7HD6X.js';
|
|
5
|
+
import { RunnerAlreadyRunningError, readPidFile } from './chunk-VH7P6XUP.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-KZEZBZ4W.js';
|
|
8
|
+
import { keyRunnerFactory } from './chunk-MAWSNLSZ.js';
|
|
9
|
+
import { signerFor } from './chunk-QMOE5Y4X.js';
|
|
10
|
+
import { pidFilePath } from './chunk-WHIAOWEN.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|
|
12
12
|
|
|
13
13
|
createRequire(import.meta.url);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-
|
|
4
|
-
import { resolveGatewayCredentials } from './chunk-
|
|
3
|
+
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-7CK4Z6VC.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-7QDRLTFW.js';
|
|
5
5
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
6
6
|
import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
8
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
9
|
-
import { resolveRepoIdentity } from './chunk-
|
|
9
|
+
import { resolveRepoIdentity } from './chunk-WAI7EGGE.js';
|
|
10
10
|
|
|
11
11
|
createRequire(import.meta.url);
|
|
12
12
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
4
|
-
import { ArtifactTombstoneRecordSchema, ArtifactSpoolRecordSchema } from './chunk-
|
|
4
|
+
import { ArtifactTombstoneRecordSchema, ArtifactSpoolRecordSchema } from './chunk-6IGOHB3O.js';
|
|
5
5
|
import { mkdirSync, appendFileSync, writeFileSync, renameSync, unlinkSync, existsSync, readdirSync, readFileSync, statSync } from 'fs';
|
|
6
6
|
import { join, dirname } from 'path';
|
|
7
7
|
|
|
@@ -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-WHIAOWEN.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
4
|
-
import { detectActiveSession } from './chunk-
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
4
|
+
import { detectActiveSession } from './chunk-V65YF5VP.js';
|
|
5
|
+
import { autoConnect } from './chunk-QKMVEQXO.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-7QDRLTFW.js';
|
|
8
8
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
11
|
-
import { resolveRepoIdentity } from './chunk-
|
|
12
|
-
import { CriteriaListSchema } from './chunk-
|
|
11
|
+
import { resolveRepoIdentity } from './chunk-WAI7EGGE.js';
|
|
12
|
+
import { CriteriaListSchema } from './chunk-6IGOHB3O.js';
|
|
13
13
|
import { readFileSync } from 'fs';
|
|
14
14
|
|
|
15
15
|
createRequire(import.meta.url);
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_PROTOCOL } 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-
|
|
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-FBFYIEHC.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-H7BNWYIA.js';
|
|
8
|
+
import { upgradedStarterText } from './chunk-KPCGSGZS.js';
|
|
9
|
+
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-DMW22UQE.js';
|
|
10
|
+
import { writeDockerClientConfig } from './chunk-HQEPFG5U.js';
|
|
11
|
+
import { senderPidfile } from './chunk-T4SVE4O4.js';
|
|
12
|
+
import { installScrubContext } from './chunk-FUNAQRMN.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-SS3SQYDS.js';
|
|
15
|
+
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-JMQDGBAF.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-PKYJMXRB.js';
|
|
18
|
+
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-ATK2MNGU.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-
|
|
29
|
-
import { sanitizeTerminal, planArtifactUpload } from './chunk-
|
|
30
|
-
import { sharedSkillNames, skillConflictMessage } from './chunk-
|
|
21
|
+
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-IHMGZWOB.js';
|
|
22
|
+
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-XVTDFLRQ.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-PVDIDOKH.js';
|
|
24
|
+
import { postJson, getJson, WorkCommandError, isSignatureRefusal } from './chunk-KZEZBZ4W.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-MAWSNLSZ.js';
|
|
26
|
+
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-YAB2SVSI.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-G2KLJMPR.js';
|
|
28
|
+
import { universalImagePending, writeSanitizedRecipe, classifyProperties, RecipeError, DOCKER_FEATURE } from './chunk-H37HSQGH.js';
|
|
29
|
+
import { sanitizeTerminal, planArtifactUpload } from './chunk-QMC2MM2S.js';
|
|
30
|
+
import { sharedSkillNames, skillConflictMessage } from './chunk-ZHXBFXG2.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, readBundleScript, applyTrust, proxyEnvironment, describeSandboxError, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, retryAfterMsOf, 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-QMOE5Y4X.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-WHIAOWEN.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, readBundleScript, applyTrust, proxyEnvironment, describeSandboxError, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, retryAfterMsOf, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, providerMayAnswerLater, toolProxyEnvironment } from './chunk-PC6BJDBE.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-BIXO533I.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-52CTFVXD.js';
|
|
38
|
+
import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, orderSessions, extractFacts, sessionsToTimeline, resolvePackRoot } from './chunk-FYL2RFHI.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-
|
|
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-
|
|
42
|
+
import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, forkFor, scrubDeep } from './chunk-WAI7EGGE.js';
|
|
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';
|
|
46
46
|
import { join, dirname, isAbsolute, delimiter, basename, sep, relative, resolve } 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-RZSGNO7S.js';
|
|
4
|
+
import { checkFit } from './chunk-XVE7HD6X.js';
|
|
5
|
+
import { getJson, WorkCommandError } from './chunk-KZEZBZ4W.js';
|
|
6
|
+
import { isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, keepsHostBuilder } from './chunk-MAWSNLSZ.js';
|
|
7
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-YAB2SVSI.js';
|
|
8
|
+
import { ensureHostKey } from './chunk-QMOE5Y4X.js';
|
|
9
|
+
import { sandboxSettingsFrom } from './chunk-PC6BJDBE.js';
|
|
10
|
+
import { agentCredentialVariablesSet, agentCredential, parseRunnerEnv, BUILD_SLICE_MEMORY_ENV } from './chunk-BIXO533I.js';
|
|
11
|
+
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, storeVariables, credentialEnvPath } from './chunk-52CTFVXD.js';
|
|
12
|
+
import { defaultAgents } from './chunk-FYL2RFHI.js';
|
|
13
13
|
import { closeSync, openSync, constants, readFileSync } from 'fs';
|
|
14
14
|
import { join, dirname } from 'path';
|
|
15
15
|
import { totalmem } from 'os';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { isVersion, compareVersions } from './chunk-TQMI335S.js';
|
|
4
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
4
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-WHIAOWEN.js';
|
|
5
5
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
7
7
|
|
|
@@ -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-FYL2RFHI.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 { LiveUploader } from './chunk-
|
|
4
|
-
import { spoolDir } from './chunk-
|
|
3
|
+
import { LiveUploader } from './chunk-FUNAQRMN.js';
|
|
4
|
+
import { spoolDir } from './chunk-PIP32M2V.js';
|
|
5
5
|
import { parseRunEnv, parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
6
|
-
import { sessionFolderIn, legacyAgent } from './chunk-
|
|
6
|
+
import { sessionFolderIn, legacyAgent } from './chunk-FYL2RFHI.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
|
-
import { CaptureDaemon } from './chunk-
|
|
8
|
+
import { CaptureDaemon } from './chunk-WAI7EGGE.js';
|
|
9
9
|
import { mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
10
10
|
import { join } from 'path';
|
|
11
11
|
|
|
@@ -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-WHIAOWEN.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,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-WHIAOWEN.js';
|
|
4
4
|
import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
|
|
5
5
|
import { dirname, join } from 'path';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { stripTerminalControls } from './chunk-
|
|
4
|
-
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-
|
|
3
|
+
import { stripTerminalControls } from './chunk-RZSGNO7S.js';
|
|
4
|
+
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-SS3SQYDS.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
|
|
7
7
|
createRequire(import.meta.url);
|
|
@@ -55,7 +55,7 @@ function envNamesOf(row, imageEnv) {
|
|
|
55
55
|
return [...new Set(names)].sort();
|
|
56
56
|
}
|
|
57
57
|
async function readOwnContainer(deps = {}) {
|
|
58
|
-
const run = deps.run ?? (await import('./docker-
|
|
58
|
+
const run = deps.run ?? (await import('./docker-FEOTGBDS.js')).spawnRun;
|
|
59
59
|
const ids = candidateIds(deps.env ?? process.env, deps.readFile ?? ((path) => readFileSync(path, "utf8")));
|
|
60
60
|
if (ids.length === 0) return { ok: false, reason: "the runner cannot tell which container it runs in: HOSTNAME is empty and /proc/self/mountinfo names none" };
|
|
61
61
|
let problem = "";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readSettingsText, SettingsParseError, cliForInstall } from './chunk-ZHQC43NH.js';
|
|
4
|
-
import { legacyAgent, defaultAgents, HookTextError } from './chunk-
|
|
4
|
+
import { legacyAgent, defaultAgents, HookTextError } from './chunk-FYL2RFHI.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -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-FYL2RFHI.js';
|
|
4
4
|
import { openSync, fstatSync, readSync, closeSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -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-WHIAOWEN.js';
|
|
4
4
|
import { readFileSync, existsSync, rmSync, 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
3
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
4
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
4
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-WHIAOWEN.js';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
6
6
|
import { dirname } from 'path';
|
|
7
7
|
|
|
@@ -6,7 +6,7 @@ import { readCloudConfigStrict, CloudConfigError, readCloudConfig, writeCloudCon
|
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
8
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
9
|
-
import { CLI_LOGIN_MACHINE_NAME_MAX, CLI_LOGIN_KIND, CliLoginRefusalSchema, CliLoginStartedSchema, CliLoginPollResponseSchema } from './chunk-
|
|
9
|
+
import { CLI_LOGIN_MACHINE_NAME_MAX, CLI_LOGIN_KIND, CliLoginRefusalSchema, CliLoginStartedSchema, CliLoginPollResponseSchema } from './chunk-6IGOHB3O.js';
|
|
10
10
|
import { generateKeyPairSync, privateDecrypt, constants, createPrivateKey } from 'crypto';
|
|
11
11
|
import { spawn } from 'child_process';
|
|
12
12
|
import { fstatSync, existsSync, readdirSync, readFileSync, rmSync, mkdirSync, chmodSync, writeFileSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { inputBandOf, BUCKET_MODEL_MAX_LENGTH } from './chunk-
|
|
3
|
+
import { inputBandOf, BUCKET_MODEL_MAX_LENGTH } from './chunk-6IGOHB3O.js';
|
|
4
4
|
import { readFileSync, mkdirSync, statSync, copyFileSync, renameSync, unlinkSync, writeFileSync, readdirSync, realpathSync, watch as watch$1 } from 'fs';
|
|
5
5
|
import * as sp5 from 'path';
|
|
6
6
|
import { join, relative, dirname, resolve, sep } from 'path';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { builtinKind, keepsHostBuilder } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
6
|
-
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-
|
|
7
|
-
import { credentialAgent, credentialNames, credentialForms } from './chunk-
|
|
8
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { builtinKind, keepsHostBuilder } from './chunk-MAWSNLSZ.js';
|
|
4
|
+
import { parseSize } from './chunk-G2KLJMPR.js';
|
|
5
|
+
import { runnerDir } from './chunk-WHIAOWEN.js';
|
|
6
|
+
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-BIXO533I.js';
|
|
7
|
+
import { credentialAgent, credentialNames, credentialForms } from './chunk-52CTFVXD.js';
|
|
8
|
+
import { defaultAgents } from './chunk-FYL2RFHI.js';
|
|
9
9
|
import { existsSync, readFileSync, writeFileSync, chmodSync, renameSync } from 'fs';
|
|
10
10
|
import { dirname, join } from 'path';
|
|
11
11
|
import { spawnSync } from 'child_process';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-
|
|
4
|
-
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-
|
|
5
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-PC6BJDBE.js';
|
|
4
|
+
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-BIXO533I.js';
|
|
5
|
+
import { defaultAgents } from './chunk-FYL2RFHI.js';
|
|
6
6
|
import { PROVIDERS } from './chunk-JIMISJV2.js';
|
|
7
7
|
import { symlinkSync, unlinkSync } from 'fs';
|
|
8
8
|
import { join } from 'path';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-
|
|
3
|
+
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-FUNAQRMN.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
5
|
-
import { detectActiveSession } from './chunk-
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
7
|
-
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-
|
|
5
|
+
import { detectActiveSession } from './chunk-V65YF5VP.js';
|
|
6
|
+
import { autoConnect } from './chunk-QKMVEQXO.js';
|
|
7
|
+
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-QMC2MM2S.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-7QDRLTFW.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
12
12
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
13
13
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
-
import { resolveRepoIdentity } from './chunk-
|
|
15
|
-
import { ARTIFACT_MAX_CAPTION_LENGTH, ArtifactCriterionIdSchema, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_FILENAME_LENGTH, mediaTypeForArtifactPath, inferArtifactKind, ARTIFACT_MAX_REPLACES_TARGETS, parseTestSelector, parseJunit, bindTests } from './chunk-
|
|
14
|
+
import { resolveRepoIdentity } from './chunk-WAI7EGGE.js';
|
|
15
|
+
import { ARTIFACT_MAX_CAPTION_LENGTH, ArtifactCriterionIdSchema, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_FILENAME_LENGTH, mediaTypeForArtifactPath, inferArtifactKind, ARTIFACT_MAX_REPLACES_TARGETS, parseTestSelector, parseJunit, bindTests } from './chunk-6IGOHB3O.js';
|
|
16
16
|
import { createHash, randomUUID } from 'crypto';
|
|
17
17
|
import { statSync, readFileSync, mkdirSync, existsSync, writeFileSync, renameSync, unlinkSync } from 'fs';
|
|
18
18
|
import { resolve, basename, join } from 'path';
|
|
@@ -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-G2KLJMPR.js';
|
|
4
|
+
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-WHIAOWEN.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,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-
|
|
4
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
5
|
-
import { sanitizeTerminal } from './chunk-
|
|
3
|
+
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-FBFYIEHC.js';
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-KZEZBZ4W.js';
|
|
5
|
+
import { sanitizeTerminal } from './chunk-QMC2MM2S.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-7QDRLTFW.js';
|
|
8
8
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { readDeliveryRecord } from './chunk-YQR6E6OV.js';
|
|
11
|
-
import { parseProofsConfig } from './chunk-
|
|
12
|
-
import { resolveRepoIdentity } from './chunk-
|
|
13
|
-
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-
|
|
11
|
+
import { parseProofsConfig } from './chunk-FYL2RFHI.js';
|
|
12
|
+
import { resolveRepoIdentity } from './chunk-WAI7EGGE.js';
|
|
13
|
+
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-6IGOHB3O.js';
|
|
14
14
|
import { spawnSync } from 'child_process';
|
|
15
15
|
import { createHash } from 'crypto';
|
|
16
16
|
import { readFileSync, readdirSync, lstatSync, statSync, existsSync } from 'fs';
|
|
@@ -129,14 +129,14 @@ function governingDir(cwd) {
|
|
|
129
129
|
async function testProofMode(cwd) {
|
|
130
130
|
const dir = governingDir(cwd);
|
|
131
131
|
if (dir === void 0) return "any";
|
|
132
|
-
const { testProofIn } = await import('./host-checks-
|
|
132
|
+
const { testProofIn } = await import('./host-checks-MVOAIBQA.js');
|
|
133
133
|
return testProofIn(dir);
|
|
134
134
|
}
|
|
135
135
|
async function judgeCheckName(cwd) {
|
|
136
136
|
const dir = governingDir(cwd);
|
|
137
137
|
if (dir === void 0) return {};
|
|
138
138
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
139
|
-
const { checksIn, isJudgeCheck } = await import('./host-checks-
|
|
139
|
+
const { checksIn, isJudgeCheck } = await import('./host-checks-MVOAIBQA.js');
|
|
140
140
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
141
141
|
const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
|
|
142
142
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -372,7 +372,7 @@ async function runWorkProofs(opts) {
|
|
|
372
372
|
async function runWorkProofsCommand(opts) {
|
|
373
373
|
try {
|
|
374
374
|
if (opts.record || opts.check) {
|
|
375
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
375
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-7DEOYNST.js');
|
|
376
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
377
|
process.exitCode = result2.exitCode;
|
|
378
378
|
return;
|