@outerlayer/cli 0.40.0-next.20261117022943 → 0.40.0-next.20261117034333
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-UU3NQZ3A.js +41 -0
- package/dist/{agent-subcommand-JGANAEB4.js → agent-subcommand-MW4TF4SG.js} +4 -4
- package/dist/{artifact-link-cmd-K6VFGMIO.js → artifact-link-cmd-XUHNVFVU.js} +2 -2
- package/dist/{bridge-YHCQBKZC.js → bridge-WEK2IMAD.js} +7 -7
- package/dist/{build-SSIBPHPA.js → build-LJSUCORB.js} +13 -13
- package/dist/{build-disk-KI2JOKAK.js → build-disk-S2XHWSDH.js} +11 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-I562HT2D.js → builder-TCRJKB2W.js} +10 -10
- package/dist/caller-VJBDXZXG.js +23 -0
- package/dist/{check-YDBHBTOS.js → check-Z6GAY2C4.js} +58 -61
- package/dist/{chunk-SBSH253O.js → chunk-2QFZBWBP.js} +1 -1
- package/dist/{chunk-UMFSHU72.js → chunk-33DTLCL6.js} +2 -2
- package/dist/{chunk-6RJBLCPV.js → chunk-33RKRHJG.js} +1 -1
- package/dist/{chunk-YI2HDVUL.js → chunk-3ETI7MKK.js} +4 -4
- package/dist/{chunk-PEN7Y4PB.js → chunk-3PXV4I75.js} +3 -3
- package/dist/{chunk-UXAB2OEM.js → chunk-4FTRLX6A.js} +5 -5
- package/dist/{chunk-CEHT2FCU.js → chunk-5EWESACE.js} +2 -2
- package/dist/{chunk-XAOZFBXK.js → chunk-5O7P6VXS.js} +1 -1
- package/dist/{chunk-DHB3M244.js → chunk-6GJMRVMX.js} +1 -1
- package/dist/{chunk-QI6YUQWR.js → chunk-6NODVJGM.js} +3 -3
- package/dist/{chunk-VJCILU3C.js → chunk-6QXGAGQY.js} +1 -1
- package/dist/{chunk-MCJRTOAL.js → chunk-6ZBUQIJA.js} +1 -1
- package/dist/{chunk-NB2BDENG.js → chunk-7PIUTUXI.js} +3 -3
- package/dist/{chunk-OF6XMZHO.js → chunk-7QIQ7QR3.js} +1 -1
- package/dist/{chunk-J4F4V3G2.js → chunk-ABXHYH2Y.js} +6 -6
- package/dist/{chunk-G3HBBHIK.js → chunk-ABY722KN.js} +1 -1
- package/dist/{chunk-JSN2DMPB.js → chunk-AGKUDDIN.js} +1 -1
- package/dist/{chunk-UELSHBQH.js → chunk-AH2BO6Q6.js} +6 -6
- package/dist/{chunk-6DO34552.js → chunk-BEK2BZAI.js} +6 -6
- package/dist/{chunk-3WMULGB4.js → chunk-BZFRU6M7.js} +8 -8
- package/dist/{chunk-MCUI6RHU.js → chunk-CH3PO7UY.js} +10 -2
- package/dist/{chunk-PC2FA62W.js → chunk-CNMC4OXO.js} +7 -7
- package/dist/{chunk-AL6CJD2X.js → chunk-CW6H5JXV.js} +8 -8
- package/dist/{chunk-C6EPHJIV.js → chunk-D2QNQOFX.js} +1 -1
- package/dist/{chunk-3YMOSZRN.js → chunk-D3CALDGC.js} +1 -1
- package/dist/{chunk-HQPB4ZMS.js → chunk-EBWA6KIE.js} +1 -1
- package/dist/{chunk-DQV2XTBD.js → chunk-EU6JHHES.js} +368 -245
- package/dist/{chunk-D5JM2VPO.js → chunk-F4PRZBBJ.js} +2 -2
- package/dist/{chunk-CFIYOLCT.js → chunk-F6J3ACXH.js} +6 -6
- package/dist/{chunk-DV44KCM6.js → chunk-FG2E3HES.js} +1 -1
- package/dist/{chunk-XDWJOYC4.js → chunk-FLHDVJAV.js} +5 -5
- package/dist/{chunk-P2I6YVJV.js → chunk-GBLNHZ3E.js} +4 -4
- package/dist/{chunk-QVTGSGQ5.js → chunk-GQI5N56J.js} +2 -2
- package/dist/{chunk-JE23PLDE.js → chunk-H2THCHUP.js} +1 -1
- package/dist/{chunk-732WJDYG.js → chunk-H4JQKCVP.js} +9 -9
- package/dist/{chunk-UNGZ25QF.js → chunk-H6L6SWMN.js} +2 -2
- package/dist/{chunk-TWUEZPWP.js → chunk-HI6R4XYD.js} +2 -2
- package/dist/{chunk-6P23FS2Z.js → chunk-HSGZ4JEV.js} +1 -1
- package/dist/{chunk-UAOLY4EP.js → chunk-I7ZQKMKG.js} +1 -1
- package/dist/{chunk-JBGASRRE.js → chunk-IQYAPM4S.js} +7 -7
- package/dist/{chunk-ONDONSBT.js → chunk-K6THWLSJ.js} +1 -1
- package/dist/{chunk-DMWGWD26.js → chunk-KCLFDN26.js} +3 -3
- package/dist/{chunk-OY4EJVUH.js → chunk-KDVQGQXM.js} +1 -1
- package/dist/{chunk-IEDCYMPH.js → chunk-LYHR47YE.js} +2 -2
- package/dist/{chunk-MJGBRYDH.js → chunk-MBOQJTOS.js} +11 -6
- package/dist/{chunk-TL5HRSMD.js → chunk-MEZVLRJK.js} +19 -77
- package/dist/{chunk-DSUD4K5N.js → chunk-MG2Y5XYV.js} +267 -211
- package/dist/{chunk-DG7525WL.js → chunk-NWWED36F.js} +1 -1
- package/dist/{chunk-DUQIP32K.js → chunk-P7OXJ3ZD.js} +5 -5
- package/dist/{chunk-XLU5ZOTK.js → chunk-PB4QDL6Q.js} +4 -4
- package/dist/{chunk-YUR7GV5L.js → chunk-PHC24VUU.js} +5 -5
- package/dist/{chunk-YSHMGQRD.js → chunk-PZZS6DHY.js} +8 -8
- package/dist/{chunk-PWHKJ24U.js → chunk-QJI56HI2.js} +7 -7
- package/dist/{chunk-7H5JQFWQ.js → chunk-RUSF2YGL.js} +6 -6
- package/dist/{chunk-CWJ26A6W.js → chunk-S4CX66JO.js} +1 -1
- package/dist/{chunk-H7EBNQGW.js → chunk-SK4BESZM.js} +1 -1
- package/dist/{chunk-NE5PE3Q7.js → chunk-TTBG7YZW.js} +7 -7
- package/dist/{chunk-FKC5D6CA.js → chunk-TZNIDZGI.js} +1 -1
- package/dist/{chunk-Q6MCI3BQ.js → chunk-UAZBE4O3.js} +10 -10
- package/dist/{chunk-DLYCHCKQ.js → chunk-UE42G3QY.js} +1 -1
- package/dist/{chunk-GOJ2SPKB.js → chunk-UFGV3JZ5.js} +1 -1
- package/dist/{chunk-2EJED3QQ.js → chunk-UN7RXMOB.js} +4 -4
- package/dist/{chunk-BBJC4R6E.js → chunk-UUVURKWB.js} +4 -4
- package/dist/{chunk-UQWBHNTZ.js → chunk-V6UDJVVD.js} +3 -3
- package/dist/{chunk-SCI6U7CV.js → chunk-V77IQKWK.js} +19 -19
- package/dist/{chunk-BCBZHDMW.js → chunk-VG6FUXGK.js} +1 -1
- package/dist/{chunk-BB73O6OW.js → chunk-WEPLWKV6.js} +3 -3
- package/dist/{chunk-6367NG5G.js → chunk-WZ6K327V.js} +7 -7
- package/dist/{chunk-IOUBTUS2.js → chunk-X6BGCNE3.js} +8 -8
- package/dist/{chunk-RO5YUUN2.js → chunk-XT6LWXJ2.js} +1 -1
- package/dist/{chunk-4FUTEM37.js → chunk-YICV7DAE.js} +3 -3
- package/dist/{chunk-45JV3EMA.js → chunk-ZASDJ7F5.js} +6 -8
- package/dist/{chunk-YNNTU5IZ.js → chunk-ZIN6G7DS.js} +1 -1
- package/dist/{chunk-O2324X34.js → chunk-ZQTMWBLA.js} +1 -1
- package/dist/{chunk-77JLN6GC.js → chunk-ZYIVNB6B.js} +7 -8
- package/dist/{claude-launcher-TWKHBR6F.js → claude-launcher-HWC5S5HD.js} +7 -7
- package/dist/{cli-SSHQSIPV.js → cli-TWF7CU3E.js} +168 -168
- package/dist/{command-W6BEIPAJ.js → command-KGYVPB7B.js} +52 -52
- package/dist/{config-HYSU7MD3.js → config-J4VSNOH4.js} +12 -12
- package/dist/{connect-cmd-O4ATJTQV.js → connect-cmd-LPC6J27D.js} +13 -13
- package/dist/{container-start-4KRTW3QU.js → container-start-O6BAIQGT.js} +49 -49
- package/dist/{context-cleanup-SK445SLA.js → context-cleanup-VWJSWUJB.js} +4 -4
- package/dist/{context-show-cmd-D3GXL65K.js → context-show-cmd-B427F3M4.js} +14 -14
- package/dist/{control-plane-launch-KVROM6BY.js → control-plane-launch-WV253P7I.js} +14 -14
- package/dist/{demo-record-cmd-UMHWHDZ4.js → demo-record-cmd-YRND2HVT.js} +8 -8
- package/dist/{demo-voice-cmd-GBI52Y73.js → demo-voice-cmd-TUIXJ7CY.js} +20 -20
- package/dist/{dist-775TDFCK.js → dist-UV2JOW3N.js} +2 -2
- package/dist/{docker-B76MDGCW.js → docker-6NO5B657.js} +10 -10
- package/dist/{doctor-QV3BJKRZ.js → doctor-V3Z5CR5Q.js} +60 -65
- package/dist/{emit-artifact-cmd-X4AKVBS2.js → emit-artifact-cmd-MWDEBRB2.js} +19 -19
- package/dist/{emit-cmd-A6ZGOPLZ.js → emit-cmd-2ADJWBJP.js} +7 -7
- package/dist/{emit-criteria-cmd-UKZBMIK6.js → emit-criteria-cmd-35O7KR37.js} +16 -16
- package/dist/{emit-demo-cmd-QC56Y6P2.js → emit-demo-cmd-HJCW3JEA.js} +20 -20
- package/dist/{emit-finding-cmd-DL2Y7BEV.js → emit-finding-cmd-Q4SN3OA7.js} +16 -16
- package/dist/{emit-result-cmd-VPWAJBN6.js → emit-result-cmd-7VEMDT2P.js} +18 -18
- package/dist/{emit-step-cmd-REP4IS3F.js → emit-step-cmd-DYQM5OQA.js} +16 -16
- package/dist/{exec-client-KBOKVUU5.js → exec-client-6WGSNY56.js} +8 -8
- package/dist/{chunk-6TF4QU7M.js → find-unit-6BX4K4WV.js} +19 -2
- package/dist/{findings-cmd-BXAXOQB6.js → findings-cmd-WHQBJZNA.js} +16 -16
- package/dist/{fleet-readiness-EDJDDAEB.js → fleet-readiness-A67D5OP4.js} +14 -14
- package/dist/{governing-source-AG7KDIIG.js → governing-source-C4BMFNFZ.js} +21 -21
- package/dist/{guest-init-DUOJUQFY.js → guest-init-ZWEJGXQS.js} +9 -9
- package/dist/{hook-fast-ZVZWP7OQ.js → hook-fast-SZ5L3ZJK.js} +1 -1
- package/dist/{hook-install-VF3X2ZXN.js → hook-install-63GJ3OUI.js} +4 -4
- package/dist/host-checks-SYD7WFUN.js +82 -0
- package/dist/host-key-AYXCAME4.js +18 -0
- package/dist/{image-tag-BTK5342G.js → image-tag-6HQDPX45.js} +8 -8
- package/dist/index.js +4 -4
- package/dist/{init-OZ4JNNOI.js → init-KOG5S5KX.js} +47 -47
- package/dist/init-ULMPF7MK.js +82 -0
- package/dist/{init-agent-GNX5OIZX.js → init-agent-XIDQULDZ.js} +47 -47
- package/dist/init-cmd-P7FYHTLS.js +53 -0
- package/dist/{init-update-ZJSTM46T.js → init-update-7SBDG65Z.js} +24 -24
- package/dist/install-cmd-TWYZTNRV.js +26 -0
- package/dist/launch-agent-5MCXT6QN.js +26 -0
- package/dist/{layout-BG6MFUS3.js → layout-2MIQCJ3U.js} +4 -4
- package/dist/{login-browser-OA4R4PEQ.js → login-browser-ZYWUIEOQ.js} +2 -2
- package/dist/{logs-L5GX5BWF.js → logs-SP6RPVCP.js} +7 -7
- package/dist/loop-OU2U7SUJ.js +92 -0
- package/dist/machine-NE34TJIO.js +82 -0
- package/dist/{machine-skills-B7KO47CH.js → machine-skills-UYWZXOZI.js} +4 -4
- package/dist/{mcp-install-cmd-JXD6Q7NN.js → mcp-install-cmd-U2SEWH66.js} +4 -4
- package/dist/{mcp-serve-cmd-3B3KWYHN.js → mcp-serve-cmd-VAQL3CJB.js} +9 -9
- package/dist/{paths-26SZBIOA.js → paths-G7LFPGQQ.js} +7 -7
- package/dist/pending-OEAYMKZO.js +18 -0
- package/dist/{pidfile-22HCQHLJ.js → pidfile-FIVR2HKB.js} +8 -8
- package/dist/{record-HFUJLNOV.js → record-K3I7V46A.js} +8 -8
- package/dist/{relay-V5GHEWT3.js → relay-AQBBQJ5I.js} +5 -5
- package/dist/{relay-protocol-2S2EAHYH.js → relay-protocol-XZ7WESQL.js} +5 -5
- package/dist/{run-cmd-G4LA2YZR.js → run-cmd-BRUSQKEA.js} +16 -16
- package/dist/{runner-agents-CLDURIBZ.js → runner-agents-KF6EECFW.js} +4 -4
- package/dist/runner-env-XAO7EBCK.js +24 -0
- package/dist/{runner-identity-V4IUTSCJ.js → runner-identity-JM3ZQ2PJ.js} +10 -10
- package/dist/{runner-key-FQDBMYII.js → runner-key-P6FUFO6Y.js} +47 -47
- package/dist/{session-sender-AAQXJLNE.js → session-sender-N3U3ZTL3.js} +19 -19
- package/dist/{setup-cmd-4CKPSEJD.js → setup-cmd-F7Y4SFTK.js} +14 -14
- package/dist/{setup-wiring-INA66DBJ.js → setup-wiring-LU6AY2QA.js} +54 -54
- package/dist/{spec-cmd-V2FPAZJ7.js → spec-cmd-ZNXNMAYA.js} +17 -17
- package/dist/{starter-pack-WOD4WMUX.js → starter-pack-NEQLRMTX.js} +5 -5
- package/dist/state-VXN7EX2K.js +18 -0
- package/dist/{status-MC2SJQ57.js → status-N326EK5I.js} +47 -47
- package/dist/{sync-cmd-2TLRGEXR.js → sync-cmd-KG7YQGM6.js} +18 -18
- package/dist/update-steps-YQQXESUZ.js +83 -0
- package/dist/{watch-GQAIYCFW.js → watch-3VJ363V2.js} +18 -18
- package/dist/{work-claim-cmd-SI3UTDLB.js → work-claim-cmd-MXWB5NG6.js} +23 -23
- package/dist/{work-cmd-LA5ZBMBQ.js → work-cmd-X55AAJG2.js} +16 -16
- package/dist/{work-comment-cmd-NP6USSKX.js → work-comment-cmd-7AL5KEVJ.js} +18 -18
- package/dist/{work-demo-cmd-KZDTXCYM.js → work-demo-cmd-6UFGGEMI.js} +16 -16
- package/dist/{work-logs-cmd-3BX5MK2E.js → work-logs-cmd-DCAV3J7A.js} +16 -16
- package/dist/{work-mock-cmd-IT3IKALB.js → work-mock-cmd-O7KFTS65.js} +16 -16
- package/dist/{work-needs-attention-cmd-BDIFC7I4.js → work-needs-attention-cmd-OD5PTHLX.js} +16 -16
- package/dist/{work-no-change-cmd-A65QOBQ2.js → work-no-change-cmd-ABYXIOZT.js} +16 -16
- package/dist/{work-open-pr-cmd-CGSCDYHI.js → work-open-pr-cmd-WRFHZXVM.js} +17 -17
- package/dist/{work-pr-cmd-DZKJLYLF.js → work-pr-cmd-VEH4HP7P.js} +16 -16
- package/dist/{work-proofs-cmd-OJXWHUMP.js → work-proofs-cmd-TKA3J2II.js} +18 -18
- package/dist/{work-proofs-record-J6WOOW3R.js → work-proofs-record-WTBSJLET.js} +24 -24
- package/dist/{work-stop-cmd-RJESQDZN.js → work-stop-cmd-WF7R6ILK.js} +16 -16
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-review/SKILL.md +5 -2
- package/skill-pack/maintained/outerlayer-review/references/consolidation.md +80 -0
- package/dist/agent-setup-5UMGRTAY.js +0 -41
- package/dist/caller-VTVQPOGC.js +0 -23
- package/dist/find-unit-5PUEPP5J.js +0 -24
- package/dist/host-checks-AS2C5HR2.js +0 -82
- package/dist/host-key-MNYYPKBU.js +0 -18
- package/dist/init-H2GOMKCC.js +0 -82
- package/dist/init-cmd-CM7UKGRG.js +0 -53
- package/dist/install-cmd-U4PP4YQE.js +0 -26
- package/dist/launch-agent-BIAPDAVB.js +0 -26
- package/dist/loop-3F3PNYOH.js +0 -92
- package/dist/machine-CCB2PQIM.js +0 -82
- package/dist/pending-Y62PXWTU.js +0 -18
- package/dist/runner-env-RQ3SKLKL.js +0 -24
- package/dist/state-PSFO26DS.js +0 -18
- package/dist/update-steps-JZE3OGKB.js +0 -83
|
@@ -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-BEK2BZAI.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-NWWED36F.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,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-ZASDJ7F5.js';
|
|
4
|
+
import { parseSize } from './chunk-PZZS6DHY.js';
|
|
5
|
+
import { runnerDir } from './chunk-H2THCHUP.js';
|
|
6
|
+
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-GQI5N56J.js';
|
|
7
|
+
import { credentialAgent, credentialNames, credentialForms } from './chunk-7QIQ7QR3.js';
|
|
8
|
+
import { defaultAgents } from './chunk-5EWESACE.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,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-CH3PO7UY.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,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_UNIT_NAME } from './chunk-
|
|
4
|
-
import { RUNNER_FILE_MODE } from './chunk-
|
|
5
|
-
import { parseRunnerEnv, withoutCredentialLines } from './chunk-
|
|
6
|
-
import { headlessNames, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialEnvPath, forwardedVariables } from './chunk-
|
|
7
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { DEFAULT_UNIT_NAME } from './chunk-F6J3ACXH.js';
|
|
4
|
+
import { RUNNER_FILE_MODE } from './chunk-H2THCHUP.js';
|
|
5
|
+
import { parseRunnerEnv, withoutCredentialLines } from './chunk-GQI5N56J.js';
|
|
6
|
+
import { headlessNames, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialEnvPath, forwardedVariables } from './chunk-7QIQ7QR3.js';
|
|
7
|
+
import { defaultAgents } from './chunk-5EWESACE.js';
|
|
8
8
|
import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
|
|
9
9
|
import { join, dirname } from 'path';
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-
|
|
4
|
-
import { currentVersion, entryIn, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-
|
|
3
|
+
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-D2QNQOFX.js';
|
|
4
|
+
import { currentVersion, entryIn, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-I7ZQKMKG.js';
|
|
5
5
|
import { compareVersions } from './chunk-TQMI335S.js';
|
|
6
|
-
import { defaultRunnerConfigPath } from './chunk-
|
|
7
|
-
import { runnerDir, RUNNER_DIR_MODE } from './chunk-
|
|
6
|
+
import { defaultRunnerConfigPath } from './chunk-ZASDJ7F5.js';
|
|
7
|
+
import { runnerDir, RUNNER_DIR_MODE } from './chunk-H2THCHUP.js';
|
|
8
8
|
import { lchownSync, lstatSync, realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync, readdirSync } from 'fs';
|
|
9
9
|
import { dirname, sep, join, resolve } from 'path';
|
|
10
10
|
import { spawnSync } from 'child_process';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { providersOf, credentialEnvPath, credentialNames, credentialForms, runnerAgents, credentialAgent, orList, credentialShapes, strippedVariables, jobAgent, forwardedVariables, MANAGED_KIND } from './chunk-
|
|
4
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { providersOf, credentialEnvPath, credentialNames, credentialForms, runnerAgents, credentialAgent, orList, credentialShapes, strippedVariables, jobAgent, forwardedVariables, MANAGED_KIND } from './chunk-7QIQ7QR3.js';
|
|
4
|
+
import { defaultAgents } from './chunk-5EWESACE.js';
|
|
5
5
|
import { PROVIDERS } from './chunk-JIMISJV2.js';
|
|
6
6
|
import { statSync, readFileSync } from 'fs';
|
|
7
7
|
import { join } from 'path';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { uploadSpooledSteps } from './chunk-
|
|
3
|
+
import { uploadSpooledSteps } from './chunk-AH2BO6Q6.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-C2PZOLN7.js';
|
|
5
|
-
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-
|
|
5
|
+
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-FG2E3HES.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-NWWED36F.js';
|
|
8
8
|
import { readCloudConfig, cloudConfigPath, writeCloudConfig } from './chunk-HWVMRETT.js';
|
|
9
|
-
import { signerFor, signRunnerRequest } from './chunk-
|
|
10
|
-
import { SCRUB_ENV_VARIABLE } from './chunk-
|
|
11
|
-
import { writeSyncStatus, logHookError, spoolDir } from './chunk-
|
|
9
|
+
import { signerFor, signRunnerRequest } from './chunk-6ZBUQIJA.js';
|
|
10
|
+
import { SCRUB_ENV_VARIABLE } from './chunk-ZYIVNB6B.js';
|
|
11
|
+
import { writeSyncStatus, logHookError, spoolDir } from './chunk-6NODVJGM.js';
|
|
12
12
|
import { readLatestProvenanceForSession, readContextProvenance } from './chunk-545P7JY7.js';
|
|
13
13
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
14
14
|
import { hookExecSpoolPath } from './chunk-2ZF62BAK.js';
|
|
@@ -16,11 +16,11 @@ import { applyReportedCost } from './chunk-BKO6JEZI.js';
|
|
|
16
16
|
import { readLaunchSpoolState, launchStatusIsDecisive, parseRunEnv, launchedItemsBySession, launchesPath } from './chunk-LGJ56FCM.js';
|
|
17
17
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
18
18
|
import { removeJournalHooks } from './chunk-CJPTUU2E.js';
|
|
19
|
-
import { legacyAgent, captureAgents, captureAdapters } from './chunk-
|
|
19
|
+
import { legacyAgent, captureAgents, captureAdapters } from './chunk-5EWESACE.js';
|
|
20
20
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
21
21
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
22
|
-
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, WARNING_CODES, ZSTD_UNSUPPORTED_MESSAGE, scrubDeep } from './chunk-
|
|
23
|
-
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-
|
|
22
|
+
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, WARNING_CODES, ZSTD_UNSUPPORTED_MESSAGE, scrubDeep } from './chunk-ZIN6G7DS.js';
|
|
23
|
+
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-CH3PO7UY.js';
|
|
24
24
|
import { dirname, basename, join, sep } from 'path';
|
|
25
25
|
import { statSync, readFileSync, readdirSync, mkdirSync, writeFileSync, renameSync, existsSync, rmSync } from 'fs';
|
|
26
26
|
import { execFileSync } from 'child_process';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
4
4
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
5
|
-
import { linkedAgentsPath } from './chunk-
|
|
6
|
-
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-
|
|
5
|
+
import { linkedAgentsPath } from './chunk-SK4BESZM.js';
|
|
6
|
+
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-5EWESACE.js';
|
|
7
7
|
import { LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
8
8
|
import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
|
|
9
9
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { keyRunnerFactory, RunnerConfigError } from './chunk-
|
|
4
|
-
import { orgHomeDir } from './chunk-
|
|
3
|
+
import { keyRunnerFactory, RunnerConfigError } from './chunk-ZASDJ7F5.js';
|
|
4
|
+
import { orgHomeDir } from './chunk-H2THCHUP.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
4
4
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
5
5
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
6
|
-
import { legacyAgent, laptopAgents, defaultAgents, McpFileError } from './chunk-
|
|
6
|
+
import { legacyAgent, laptopAgents, defaultAgents, McpFileError } from './chunk-5EWESACE.js';
|
|
7
7
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
8
8
|
import { join, dirname } from 'path';
|
|
9
9
|
|
|
@@ -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-H2THCHUP.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,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-H4JQKCVP.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-S4CX66JO.js';
|
|
6
|
+
import { autoConnect } from './chunk-V6UDJVVD.js';
|
|
7
|
+
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-FG2E3HES.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-NWWED36F.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-ZIN6G7DS.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-CH3PO7UY.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,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-
|
|
3
|
+
import { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-7QIQ7QR3.js';
|
|
4
4
|
import { existsSync, readdirSync, readFileSync, lstatSync, realpathSync, writeFileSync } from 'fs';
|
|
5
5
|
import { join, resolve, relative, dirname, sep, basename } from 'path';
|
|
6
6
|
import { createRequire as createRequire$1 } from 'module';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { LAUNCH_AGENT_ENV } from './chunk-TXKHD4Q6.js';
|
|
4
|
-
import { execStartArgv } from './chunk-
|
|
5
|
-
import { DEFAULT_UNIT_NAME } from './chunk-
|
|
6
|
-
import { runnerDir } from './chunk-
|
|
4
|
+
import { execStartArgv } from './chunk-I7ZQKMKG.js';
|
|
5
|
+
import { DEFAULT_UNIT_NAME } from './chunk-F6J3ACXH.js';
|
|
6
|
+
import { runnerDir } from './chunk-H2THCHUP.js';
|
|
7
7
|
import { join, dirname } from 'path';
|
|
8
8
|
|
|
9
9
|
createRequire(import.meta.url);
|
|
@@ -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-5EWESACE.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-
|
|
3
|
+
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-V77IQKWK.js';
|
|
4
4
|
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-4KCWAP5L.js';
|
|
5
|
-
import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-
|
|
5
|
+
import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-BEK2BZAI.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
8
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal } from './chunk-
|
|
4
|
-
import { resolvePackRoot, parseProofsConfig } from './chunk-
|
|
5
|
-
import { CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEMS_MAX, CheckItemsSchema, problemKind, CHECK_ITEM_REFS_MAX, CHECK_ITEM_ID_MAX_LENGTH,
|
|
3
|
+
import { sanitizeTerminal } from './chunk-FG2E3HES.js';
|
|
4
|
+
import { resolvePackRoot, parseProofsConfig } from './chunk-5EWESACE.js';
|
|
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 } from './chunk-CH3PO7UY.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
8
8
|
import { pathToFileURL } from 'url';
|
|
@@ -2589,11 +2589,16 @@ function wholeItems(input) {
|
|
|
2589
2589
|
const lines = diffLines(input.patch);
|
|
2590
2590
|
const entries = wholeEntries(input.answer);
|
|
2591
2591
|
const ids = itemIds(entries.map((entry) => entry.id), input.clean);
|
|
2592
|
+
const of = input.reviewers === void 0 ? 0 : Math.min(input.reviewers, 20);
|
|
2592
2593
|
return entries.map((entry, index) => {
|
|
2593
2594
|
const reason = oneLineReason(entry.reason === void 0 ? void 0 : input.clean(entry.reason));
|
|
2594
2595
|
const { refs } = namedTests(entry.refs, { treeRoot: input.treeRoot, check: input.place, ownTree: input.ownTree });
|
|
2595
|
-
const
|
|
2596
|
-
|
|
2596
|
+
const failing = entry.result === "fail";
|
|
2597
|
+
const placed = failing ? refs.map((ref) => ref.line === void 0 ? ref : { ...ref, inDiff: lineInDiff(lines, ref.path, ref.line) }) : refs;
|
|
2598
|
+
const finders = entry.foundBy?.length ?? (entry.reviewer === void 0 ? 0 : 1);
|
|
2599
|
+
const found = failing && of > 1 && finders > 0 ? { foundBy: { count: Math.min(finders, of), of } } : {};
|
|
2600
|
+
const severity = failing && entry.severity !== void 0 ? { severity: entry.severity } : {};
|
|
2601
|
+
return { id: ids[index], result: entry.result, commit: input.commit, ...reason === void 0 ? {} : { reason }, ...placed.length === 0 ? {} : { refs: placed }, ...severity, ...found };
|
|
2597
2602
|
});
|
|
2598
2603
|
}
|
|
2599
2604
|
function failedItems(criteria, reason) {
|
|
@@ -2648,4 +2653,4 @@ function hostItemsOf(workItem, name) {
|
|
|
2648
2653
|
return parsed.success ? parsed.data : [];
|
|
2649
2654
|
}
|
|
2650
2655
|
|
|
2651
|
-
export { MAX_TEST_FILE_BYTES, NO_VERDICT_REASON, criteriaOf, criterionInputs, failedItems, hostItemsOf, inCriteriaOrder, itemsSentence, judgeGroups, judgedItems, loadCitationFinder, oneLineReason, parseJudgeAnswer, planCriteria, runnerMatcher, testFileMatcher, testsByCriterion, wholeEntries, wholeItems };
|
|
2656
|
+
export { MAX_TEST_FILE_BYTES, NO_VERDICT_REASON, criteriaOf, criterionInputs, diffLines, failedItems, hostItemsOf, inCriteriaOrder, itemsSentence, judgeGroups, judgedItems, lineInDiff, loadCitationFinder, oneLineReason, parseJudgeAnswer, planCriteria, runnerMatcher, testFileMatcher, testsByCriterion, treePath, wholeEntries, wholeItems };
|
|
@@ -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
|
|
5
|
-
import { getJson, WorkCommandError } from './chunk-
|
|
6
|
-
import {
|
|
7
|
-
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
8
|
-
import { ensureHostKey } from './chunk-
|
|
9
|
-
import { sandboxSettingsFrom } from './chunk-
|
|
10
|
-
import {
|
|
11
|
-
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName,
|
|
12
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-MG2Y5XYV.js';
|
|
4
|
+
import { checkFit } from './chunk-F6J3ACXH.js';
|
|
5
|
+
import { getJson, WorkCommandError } from './chunk-X6BGCNE3.js';
|
|
6
|
+
import { isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, keepsHostBuilder } from './chunk-ZASDJ7F5.js';
|
|
7
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-33DTLCL6.js';
|
|
8
|
+
import { ensureHostKey } from './chunk-6ZBUQIJA.js';
|
|
9
|
+
import { sandboxSettingsFrom } from './chunk-ZYIVNB6B.js';
|
|
10
|
+
import { agentCredentialVariablesSet, agentCredential, parseRunnerEnv, BUILD_SLICE_MEMORY_ENV } from './chunk-GQI5N56J.js';
|
|
11
|
+
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, storeVariables, credentialEnvPath } from './chunk-7QIQ7QR3.js';
|
|
12
|
+
import { defaultAgents } from './chunk-5EWESACE.js';
|
|
13
13
|
import { closeSync, openSync, constants, readFileSync } from 'fs';
|
|
14
14
|
import { join, dirname } from 'path';
|
|
15
15
|
import { totalmem } from 'os';
|
|
@@ -26,10 +26,8 @@ function fleetConfigProblem(config) {
|
|
|
26
26
|
if (config.appId !== void 0) {
|
|
27
27
|
return `fleet: the config names an appId (${config.appId}), and a fleet machine belongs to no factory. Remove appId from the config`;
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
if (!vm && !sandbox) {
|
|
32
|
-
return "fleet: runner.hooks.provision and runner.hooks.cleanup must both be builtin:vm or both be builtin:sandbox, because each build of a fleet runner runs in a machine of its own";
|
|
29
|
+
if (!isBuiltinSandbox(config.hooks.provision) || !isBuiltinSandbox(config.hooks.cleanup)) {
|
|
30
|
+
return "fleet: runner.hooks.provision and runner.hooks.cleanup must both be builtin:sandbox, because each build of a fleet runner runs in a sandbox";
|
|
33
31
|
}
|
|
34
32
|
return void 0;
|
|
35
33
|
}
|
|
@@ -75,18 +73,11 @@ function sliceMemoryOf(env) {
|
|
|
75
73
|
}
|
|
76
74
|
function managedProblems(facts, agents = defaultAgents()) {
|
|
77
75
|
const problems = [];
|
|
78
|
-
|
|
79
|
-
if (kind === "sandbox") ; else if (kind !== "vm") {
|
|
76
|
+
if (builtinKind(facts.provision) !== "sandbox") {
|
|
80
77
|
problems.push({
|
|
81
|
-
condition: "
|
|
82
|
-
reason: `a
|
|
78
|
+
condition: "sandbox",
|
|
79
|
+
reason: `a fleet runner builds only in sandboxes, and runner.hooks.provision is ${facts.provision}. Set runner.hooks.provision and runner.hooks.cleanup to builtin:sandbox`
|
|
83
80
|
});
|
|
84
|
-
} else if (facts.jailer === "usable") ; else if (facts.jailer === "unknown") {
|
|
85
|
-
problems.push({ condition: "jailer", reason: "the runner has not yet asked the root helper whether builds run under the jailer, so builds would run without the jailer until it answers" });
|
|
86
|
-
} else {
|
|
87
|
-
const { problem } = facts.jailer;
|
|
88
|
-
const advice = problem.includes("pins no helper") || problem.includes("runner install") ? "" : ". Run `outerlayer runner install --service --replace` to install the root helper, then restart the service";
|
|
89
|
-
problems.push({ condition: "jailer", reason: `builds would run without the jailer, which a managed runner does not allow: ${problem}${advice}` });
|
|
90
81
|
}
|
|
91
82
|
const held = forwardedVariables(agents).filter((variable) => facts.credentials.has(variable));
|
|
92
83
|
const owner = credentialAgent(agents);
|
|
@@ -110,19 +101,6 @@ function managedProblems(facts, agents = defaultAgents()) {
|
|
|
110
101
|
reason: `${off.map((key) => `runner.build.egress.${key}`).join(" and ")} ${off.length === 1 ? "is" : "are"} 0, which turns ${off.length === 1 ? "that limit" : "those limits"} off. A managed runner limits how fast a build opens connections and sends bytes, because every organization on the host shares one address. Remove ${off.length === 1 ? "the key" : "the keys"} to use the default, or set a value above 0`
|
|
111
102
|
});
|
|
112
103
|
}
|
|
113
|
-
if (kind === "vm") {
|
|
114
|
-
if (facts.imageBuild === "host") {
|
|
115
|
-
problems.push({
|
|
116
|
-
condition: "imageBuild",
|
|
117
|
-
reason: "runner.build.imageBuild is host, and a managed runner builds its images in a builder microVM, because a recipe step on the host could reach the host's own services and network. Remove runner.build.imageBuild or set it to vm"
|
|
118
|
-
});
|
|
119
|
-
} else if (!facts.builderDiskPinned) {
|
|
120
|
-
problems.push({
|
|
121
|
-
condition: "imageBuild",
|
|
122
|
-
reason: "this release of the CLI pins no builder root disk, so it cannot build images in a builder microVM, which a managed runner needs for runner.build.imageBuild. Update the CLI to a release that pins one"
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
104
|
return problems;
|
|
127
105
|
}
|
|
128
106
|
function credentialsInFiles(configPath, agents) {
|
|
@@ -144,12 +122,9 @@ function credentialsInFiles(configPath, agents) {
|
|
|
144
122
|
function managedFactsOf(config, probes, agents = defaultAgents()) {
|
|
145
123
|
return {
|
|
146
124
|
provision: config.hooks.provision,
|
|
147
|
-
jailer: probes.jailer ?? "unknown",
|
|
148
125
|
credentials: /* @__PURE__ */ new Set([...agentCredentialVariablesSet(probes.env, {}, agents), ...credentialsInFiles(config.configPath, agents)]),
|
|
149
126
|
allowHosts: config.build?.allowHosts,
|
|
150
|
-
egress: config.build?.egress
|
|
151
|
-
imageBuild: imageBuildOf(config),
|
|
152
|
-
builderDiskPinned: probes.builderDiskPinned ?? builderDiskPinned()
|
|
127
|
+
egress: config.build?.egress
|
|
153
128
|
};
|
|
154
129
|
}
|
|
155
130
|
function checkBlockedWithSlots(config, probes, agents = defaultAgents()) {
|
|
@@ -157,7 +132,7 @@ function checkBlockedWithSlots(config, probes, agents = defaultAgents()) {
|
|
|
157
132
|
let slots;
|
|
158
133
|
const placeholders = placeholderQueues(config);
|
|
159
134
|
if (placeholders.length > 0) return blocked(`${placeholderProblem(placeholders)}. The runner takes work again once the config is edited`);
|
|
160
|
-
if (config.
|
|
135
|
+
if (config.fleet === true) {
|
|
161
136
|
const unmet = managedProblems(managedFactsOf(config, probes, agents), agents)[0];
|
|
162
137
|
if (unmet !== void 0) return blocked(unmet.reason);
|
|
163
138
|
}
|
|
@@ -208,7 +183,7 @@ function checkBlockedWithSlots(config, probes, agents = defaultAgents()) {
|
|
|
208
183
|
if (builder !== "usable") return { blocked: { reason: `${builder.problem}. The runner takes work again once its image builder works` }, slots };
|
|
209
184
|
}
|
|
210
185
|
const owner = credentialAgent(agents);
|
|
211
|
-
if (kind !== "own" && config.
|
|
186
|
+
if (kind !== "own" && config.fleet !== true && owner !== void 0 && agentCredential(probes.env, {}, agents) === void 0) {
|
|
212
187
|
const forms = credentialForms(owner.descriptor);
|
|
213
188
|
return {
|
|
214
189
|
slots,
|
|
@@ -219,38 +194,5 @@ function checkBlockedWithSlots(config, probes, agents = defaultAgents()) {
|
|
|
219
194
|
}
|
|
220
195
|
return { slots };
|
|
221
196
|
}
|
|
222
|
-
var GIB = 1024 ** 3;
|
|
223
|
-
function largeBuildMemoryBytes() {
|
|
224
|
-
return 32 * GIB;
|
|
225
|
-
}
|
|
226
|
-
var LARGE_BUILD_DISK_BYTES = 3e10;
|
|
227
|
-
function checkManagedRoom(input) {
|
|
228
|
-
const availableBytes = input.sliceBytes ?? Math.max(0, input.totalMemoryBytes - RUNNER_RESERVE_BYTES);
|
|
229
|
-
if (input.runningMemoryBytes + largeBuildMemoryBytes() > availableBytes) {
|
|
230
|
-
const where = input.sliceBytes === void 0 ? "the host's memory less the runner's reserve" : "the memory limit of the runner's build slice";
|
|
231
|
-
return {
|
|
232
|
-
fits: false,
|
|
233
|
-
resource: "memory",
|
|
234
|
-
reason: `one more Large build needs ${gib(largeBuildMemoryBytes())} of memory, and the running builds hold ${gib(input.runningMemoryBytes)} of the ${gib(availableBytes)} in ${where}`
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
if (input.freeDiskBytes !== void 0) {
|
|
238
|
-
const diskBytes = input.freeDiskBytes + input.heldDiskBytes;
|
|
239
|
-
if (input.runningDiskBytes + LARGE_BUILD_DISK_BYTES > diskBytes) {
|
|
240
|
-
return {
|
|
241
|
-
fits: false,
|
|
242
|
-
resource: "disk",
|
|
243
|
-
reason: `one more Large build needs a ${gb(LARGE_BUILD_DISK_BYTES)} build disk beside the ${gb(input.runningDiskBytes)} the running builds' disks may grow to, and the runner's file system has ${gb(diskBytes)} free or held by them`
|
|
244
|
-
};
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
return { fits: true };
|
|
248
|
-
}
|
|
249
|
-
function gib(bytes) {
|
|
250
|
-
return `${(bytes / GIB).toFixed(1)} GiB`;
|
|
251
|
-
}
|
|
252
|
-
function gb(bytes) {
|
|
253
|
-
return `${(bytes / 1e9).toFixed(1)} GB`;
|
|
254
|
-
}
|
|
255
197
|
|
|
256
|
-
export {
|
|
198
|
+
export { askFleetMachine, checkBlockedWithSlots, fleetConfigProblem, managedFactsOf, managedProblems, realBlockedProbes };
|