@outerlayer/cli 0.38.0-next.20261107103956 → 0.38.0-next.20261107184816
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 +1 -1
- package/dist/{agent-setup-IJNDJ4XL.js → agent-setup-J2C7PISK.js} +18 -18
- package/dist/{agent-subcommand-XECZFIAS.js → agent-subcommand-YCRAD3QN.js} +3 -3
- package/dist/{bridge-LDKKFAHH.js → bridge-OCOPEDMR.js} +6 -6
- package/dist/{build-PTFRHSXI.js → build-MTMSLEOI.js} +12 -12
- package/dist/{build-disk-EO2VG3MF.js → build-disk-RY7QJCZP.js} +10 -10
- package/dist/build-info.json +1 -1
- package/dist/{builder-LCIBBOWQ.js → builder-P2D7PTXH.js} +9 -9
- package/dist/caller-BJPVYCSM.js +23 -0
- package/dist/{check-U2CFIW42.js → check-U5LTHG3N.js} +52 -52
- package/dist/{chunk-VYAFSV43.js → chunk-3TRMPCCI.js} +1 -1
- package/dist/{chunk-WDJPGE6K.js → chunk-43XRQSWJ.js} +4 -4
- package/dist/{chunk-SYENSVOK.js → chunk-44RGEXYN.js} +3 -3
- package/dist/{chunk-VZGTPITG.js → chunk-4VL4HT6D.js} +1 -1
- package/dist/{chunk-2IVRTP6M.js → chunk-4VNSEQBZ.js} +1 -1
- package/dist/{chunk-QHT6PIFP.js → chunk-5CEGWBDI.js} +4 -4
- package/dist/{chunk-PJNOTSB5.js → chunk-5JFDNAVV.js} +1 -1
- package/dist/{chunk-3HEBSWNE.js → chunk-5XZC3UIR.js} +1 -1
- package/dist/{chunk-LPTMKPCD.js → chunk-63SCDN4P.js} +1 -1
- package/dist/{chunk-DDPCKTVN.js → chunk-66SD3GOA.js} +5 -5
- package/dist/{chunk-SOB4KVRZ.js → chunk-6HLDZC44.js} +5 -5
- package/dist/{chunk-V43NFQE3.js → chunk-7G5JZ4TH.js} +1 -1
- package/dist/{chunk-BJYX3PMU.js → chunk-7IRSSEMO.js} +1 -1
- package/dist/{chunk-DRUM7NWK.js → chunk-7K63WET7.js} +1 -1
- package/dist/{chunk-MXSQINKG.js → chunk-7NXDDSJI.js} +6 -6
- package/dist/{chunk-IQHREL5T.js → chunk-7UEW7HXC.js} +7 -7
- package/dist/{chunk-LYBHKNEG.js → chunk-7XKAPGFQ.js} +1 -1
- package/dist/{chunk-6Y4ZE74I.js → chunk-AZDDIZDE.js} +4 -4
- package/dist/{chunk-6AKP3FBS.js → chunk-BSP2BRL6.js} +4 -4
- package/dist/{chunk-3RFREMDQ.js → chunk-BWWLPFL6.js} +27 -27
- package/dist/{chunk-RZXP427Z.js → chunk-CJQ7KWMT.js} +1 -1
- package/dist/{chunk-7VVTZNUP.js → chunk-DU76SWD7.js} +4 -4
- package/dist/{chunk-YFARFA4Y.js → chunk-DZPG7FOP.js} +3 -3
- package/dist/{chunk-ICKFR2DB.js → chunk-EEQECBHQ.js} +7 -7
- package/dist/{chunk-WCQJNDQC.js → chunk-ENRSJPIS.js} +4 -4
- package/dist/{chunk-SZQKS4QK.js → chunk-EUMGKMIV.js} +6 -6
- package/dist/{chunk-LYORNXIT.js → chunk-EWDSVOX3.js} +1 -1
- package/dist/{chunk-X25VXXCF.js → chunk-EWRQ37X7.js} +151 -17
- package/dist/{chunk-C3P637LO.js → chunk-FWIG3OAH.js} +1 -1
- package/dist/{chunk-ABPIZHXI.js → chunk-H5F3LTAS.js} +3 -3
- package/dist/{chunk-FSQDS7A6.js → chunk-HJ5MIJCQ.js} +1 -1
- package/dist/{chunk-3UKDQNFF.js → chunk-HYUO2OKW.js} +1 -1
- package/dist/{chunk-QQSXVGVH.js → chunk-ILMPYP3K.js} +5 -5
- package/dist/{chunk-OO33S4AF.js → chunk-J67VPST6.js} +1 -1
- package/dist/{chunk-EOXQCUFJ.js → chunk-JBEGQDZH.js} +2 -2
- package/dist/{chunk-YRCFINIR.js → chunk-JDYNCC66.js} +25 -25
- package/dist/{chunk-WCBLLIPD.js → chunk-JUDCVMBV.js} +5 -5
- package/dist/{chunk-RWNVQSGX.js → chunk-KCHOHMSX.js} +3 -3
- package/dist/{chunk-OSHKKESX.js → chunk-M6LQSXFY.js} +1 -1
- package/dist/{chunk-XGPFDFDU.js → chunk-MG5J36XT.js} +3 -3
- package/dist/{chunk-FZD6GIW5.js → chunk-NDOJJGEK.js} +8 -8
- package/dist/{chunk-FSYEDSSA.js → chunk-NQ2NJLAL.js} +1 -1
- package/dist/{chunk-FPPBL7ZC.js → chunk-OGG5VWEZ.js} +1 -1
- package/dist/{chunk-BEQYO2VO.js → chunk-PWVYGW2V.js} +1 -1
- package/dist/{chunk-TWWAV67F.js → chunk-PY3KCLWJ.js} +5 -5
- package/dist/{chunk-HCIOUSUX.js → chunk-QQRWK5EX.js} +2 -2
- package/dist/{chunk-TMQKDFKO.js → chunk-QR47L734.js} +8 -8
- package/dist/{chunk-X32HZMMA.js → chunk-QS35NUBD.js} +4 -4
- package/dist/{chunk-OAOZDJYT.js → chunk-RX24HRUS.js} +3 -3
- package/dist/{chunk-O3TOA2KE.js → chunk-SIISSXA6.js} +3 -3
- package/dist/{chunk-WX7XACEU.js → chunk-T66LOXZB.js} +1 -1
- package/dist/{chunk-QF6US5YN.js → chunk-TCI4V7QP.js} +2 -2
- package/dist/{chunk-7GQE5D72.js → chunk-TCIZ3VKP.js} +1 -1
- package/dist/{chunk-LQEI4HZF.js → chunk-TDN3432V.js} +1 -1
- package/dist/{chunk-XKJZHY4J.js → chunk-TVQTEICS.js} +1 -1
- package/dist/{chunk-NDLWXIVK.js → chunk-TZUHKFC6.js} +1 -1
- package/dist/{chunk-G3NMES6L.js → chunk-U7OYSE76.js} +10 -10
- package/dist/{chunk-BU25W7GF.js → chunk-V3X5VM6A.js} +2 -2
- package/dist/{chunk-KM77NSXE.js → chunk-VB2GEEGY.js} +15 -15
- package/dist/{chunk-SDUCKX46.js → chunk-XAYMVIQY.js} +7 -7
- package/dist/{chunk-NOBB3LEO.js → chunk-XFJMPO74.js} +1 -1
- package/dist/{chunk-VLAVNWM4.js → chunk-XZP72AOD.js} +11 -9
- package/dist/{chunk-YSCRMX2T.js → chunk-Y2P3FT6G.js} +8 -8
- package/dist/{chunk-FPEZB7CD.js → chunk-Y7HKHBYK.js} +7 -7
- package/dist/{chunk-B7CAUXSV.js → chunk-YZKIVSIQ.js} +5 -5
- package/dist/{chunk-QZAZPRDW.js → chunk-Z6YIYLPX.js} +5 -5
- package/dist/{chunk-6IXZHORY.js → chunk-Z7R5E2HV.js} +4 -4
- package/dist/{chunk-PVLDVUNJ.js → chunk-ZFWP52L6.js} +2 -2
- package/dist/{chunk-SEAVWMW2.js → chunk-ZU6OBLU3.js} +4 -4
- package/dist/{claude-launcher-62NZAUKT.js → claude-launcher-NTEWAXO7.js} +6 -6
- package/dist/{cli-UWN7LDID.js → cli-PS7XEHDC.js} +142 -142
- package/dist/{command-WVYT7OZA.js → command-FJO564JN.js} +47 -47
- package/dist/{config-4YPIDOHH.js → config-K5477PLJ.js} +11 -11
- package/dist/{connect-cmd-GAWR7QSH.js → connect-cmd-NE75AUDR.js} +10 -10
- package/dist/{container-start-ZMIAMEQC.js → container-start-NXNYBKGN.js} +45 -45
- package/dist/{context-cleanup-L3ZKG6EU.js → context-cleanup-FHYZICVI.js} +3 -3
- package/dist/{context-show-cmd-YJ4IJ2WI.js → context-show-cmd-53IEEMK4.js} +11 -11
- package/dist/{control-plane-launch-GOKEVTPX.js → control-plane-launch-7GN73PIO.js} +13 -13
- package/dist/{demo-record-cmd-AZSEQXO4.js → demo-record-cmd-AUL3OZMX.js} +7 -7
- package/dist/{demo-voice-cmd-KHEMTR5T.js → demo-voice-cmd-DAP7MSYJ.js} +17 -17
- package/dist/{dist-RMEOTTVL.js → dist-B6QSEYVP.js} +1 -1
- package/dist/{docker-QMKIWXHF.js → docker-6KNTLZCA.js} +9 -9
- package/dist/{doctor-VCAXH6RM.js → doctor-PEOXISDY.js} +47 -47
- package/dist/{emit-artifact-cmd-72QEOEJH.js → emit-artifact-cmd-2J3TQ652.js} +16 -16
- package/dist/{emit-cmd-X5F5HUTQ.js → emit-cmd-2BYJIBRM.js} +6 -6
- package/dist/{emit-criteria-cmd-HTHETRH6.js → emit-criteria-cmd-CNROEUA7.js} +13 -13
- package/dist/{emit-demo-cmd-LFYJURFC.js → emit-demo-cmd-TAVPUXNS.js} +17 -17
- package/dist/{emit-finding-cmd-GFWCMJFY.js → emit-finding-cmd-T6UJLB74.js} +13 -13
- package/dist/{emit-result-cmd-FTWLKM6G.js → emit-result-cmd-7P2VE2KQ.js} +15 -15
- package/dist/{emit-step-cmd-J4L2OAWE.js → emit-step-cmd-H65D6IPI.js} +13 -13
- package/dist/{exec-client-YQH4ZSRM.js → exec-client-KCAOA7TU.js} +7 -7
- package/dist/find-unit-DL6CINZ6.js +24 -0
- package/dist/{findings-cmd-VFE7VINC.js → findings-cmd-73PY2SZK.js} +13 -13
- package/dist/{fleet-readiness-FGQPCFSP.js → fleet-readiness-DFXMIKTG.js} +12 -12
- package/dist/{governing-source-NMZSHEHR.js → governing-source-2SXXRBDL.js} +18 -18
- package/dist/{guest-init-DPZAVCWH.js → guest-init-MGPZH5BA.js} +8 -8
- package/dist/{hook-fast-3VMKCCUO.js → hook-fast-B4SR6P4L.js} +1 -1
- package/dist/{hook-install-TTF6LASI.js → hook-install-VRQNP45Z.js} +3 -3
- package/dist/host-checks-Y2V4GUP5.js +79 -0
- package/dist/{host-key-QZWN6ECO.js → host-key-KIZM3HYT.js} +7 -7
- package/dist/{image-tag-5TZ7MF5H.js → image-tag-2WKQHVAX.js} +7 -7
- package/dist/index.js +4 -4
- package/dist/init-M3F6ETSQ.js +79 -0
- package/dist/{init-RUAPRUFX.js → init-RK2HMBNN.js} +43 -43
- package/dist/{init-agent-TT25322F.js → init-agent-2HMRPOPQ.js} +43 -43
- package/dist/{init-cmd-6A3PHOXB.js → init-cmd-S7MPELV2.js} +24 -24
- package/dist/{init-update-JLOPXC5U.js → init-update-NPS5FCL3.js} +21 -21
- package/dist/{install-cmd-JDA4CNYW.js → install-cmd-VUHT3VRQ.js} +9 -9
- package/dist/{layout-AKKICGLZ.js → layout-LUNPQEUV.js} +3 -3
- package/dist/{logs-WPNNAY5E.js → logs-HOMZHA2J.js} +6 -6
- package/dist/loop-CV5DU7D5.js +90 -0
- package/dist/machine-NAJDN5YF.js +79 -0
- package/dist/{machine-skills-GGLBQANZ.js → machine-skills-775ZQVO6.js} +3 -3
- package/dist/{mcp-install-cmd-3NHDPAML.js → mcp-install-cmd-ULHE6OSG.js} +3 -3
- package/dist/{mcp-serve-cmd-CLVZFL37.js → mcp-serve-cmd-Y4BJLFGW.js} +8 -8
- package/dist/{paths-PSLRVOVY.js → paths-JK5BDRCA.js} +6 -6
- package/dist/pending-VFF4H3QR.js +18 -0
- package/dist/{pidfile-5E4YPCTC.js → pidfile-5L3BHW44.js} +7 -7
- package/dist/{record-7ZMZA5QE.js → record-4CSZUOA5.js} +7 -7
- package/dist/{relay-UUIHK5TY.js → relay-XWNOQOER.js} +4 -4
- package/dist/{relay-protocol-MQVXSFN4.js → relay-protocol-IZ3TCHPP.js} +4 -4
- package/dist/{runner-agents-M5CMF2ZA.js → runner-agents-MMDKTRAS.js} +3 -3
- package/dist/{runner-env-3S64BNCU.js → runner-env-ORVI32Q5.js} +13 -13
- package/dist/{runner-identity-3GMF6FKI.js → runner-identity-ODXVKSHY.js} +9 -9
- package/dist/{runner-key-KZGNIOHI.js → runner-key-N4CFKSI5.js} +43 -43
- package/dist/{session-sender-M325MH5U.js → session-sender-WHVEJ2NF.js} +16 -16
- package/dist/{spec-cmd-QIVFOHR4.js → spec-cmd-L3SW3H5X.js} +14 -14
- package/dist/{starter-pack-P5BRWSAP.js → starter-pack-7ZXZ3HTU.js} +4 -4
- package/dist/{state-5H5LGYWN.js → state-PX6MYPNS.js} +7 -7
- package/dist/{status-QQZT6HHZ.js → status-FWIMTBJM.js} +43 -43
- package/dist/{sync-cmd-JHFRUMM5.js → sync-cmd-TQ3BD33X.js} +15 -15
- package/dist/update-steps-I7GMX4NB.js +80 -0
- package/dist/{watch-TVHFOLVK.js → watch-LPZSKT3Y.js} +15 -15
- package/dist/{work-claim-cmd-LTIAXIWH.js → work-claim-cmd-FE4ODVDB.js} +19 -19
- package/dist/{work-cmd-VC353JLU.js → work-cmd-QLCNL3HL.js} +13 -13
- package/dist/{work-comment-cmd-SRQXRRJT.js → work-comment-cmd-MDZNZZKD.js} +15 -15
- package/dist/{work-demo-cmd-INUFIHU4.js → work-demo-cmd-TZBULOWF.js} +13 -13
- package/dist/{work-logs-cmd-TMJC7RRS.js → work-logs-cmd-CBORQ32A.js} +13 -13
- package/dist/{work-no-change-cmd-7NI4FKCC.js → work-no-change-cmd-F3PJIXYP.js} +13 -13
- package/dist/{work-open-pr-cmd-O6XW2YGD.js → work-open-pr-cmd-ZS3K4IJE.js} +14 -14
- package/dist/{work-pr-cmd-QSE3BH3Z.js → work-pr-cmd-DUIN47NH.js} +13 -13
- package/dist/{work-proofs-cmd-MHSLSBDV.js → work-proofs-cmd-MUGKJWPZ.js} +15 -15
- package/dist/{work-proofs-record-FU2Y6FBF.js → work-proofs-record-547S7GH6.js} +21 -21
- package/dist/{work-stop-cmd-J77H7RLL.js → work-stop-cmd-6EMQJ4OJ.js} +13 -13
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-build/SKILL.md +1 -1
- package/skill-pack/maintained/outerlayer-build/references/release.md +1 -1
- package/skill-pack/maintained/outerlayer-build/scripts/criterion-citations.mjs +1 -1
- package/skill-pack/maintained/outerlayer-evidence/SKILL.md +3 -3
- package/dist/caller-Y3RGYXHU.js +0 -23
- package/dist/find-unit-F3Q54LLR.js +0 -24
- package/dist/host-checks-5SPBYP6O.js +0 -79
- package/dist/init-TFGPUVUU.js +0 -79
- package/dist/loop-2SYWWJHW.js +0 -90
- package/dist/machine-GD2UAX6F.js +0 -79
- package/dist/pending-GWDAXQSA.js +0 -18
- package/dist/update-steps-KDMOFCVB.js +0 -80
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
4
|
-
import { writeFleetState } from './chunk-
|
|
5
|
-
import { writePendingUpdate } from './chunk-
|
|
6
|
-
import { renderUpdateSteps } from './chunk-
|
|
7
|
-
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-
|
|
3
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-Y7HKHBYK.js';
|
|
4
|
+
import { writeFleetState } from './chunk-T66LOXZB.js';
|
|
5
|
+
import { writePendingUpdate } from './chunk-OGG5VWEZ.js';
|
|
6
|
+
import { renderUpdateSteps } from './chunk-H5F3LTAS.js';
|
|
7
|
+
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-TZUHKFC6.js';
|
|
8
8
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
9
9
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
10
10
|
import { RUNNER_PROTOCOL } from './chunk-MLM4BYK2.js';
|
|
11
|
-
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-
|
|
12
|
-
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-
|
|
13
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, releaseLease, LEASE_SECONDS, itemTag, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, listItemDisks, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } from './chunk-
|
|
14
|
-
import { RUNNER_RESERVE_BYTES } from './chunk-
|
|
15
|
-
import { RepoFilter } from './chunk-
|
|
11
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-U7OYSE76.js';
|
|
12
|
+
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-7XKAPGFQ.js';
|
|
13
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, releaseLease, LEASE_SECONDS, itemTag, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, listItemDisks, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } from './chunk-BWWLPFL6.js';
|
|
14
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-EUMGKMIV.js';
|
|
15
|
+
import { RepoFilter } from './chunk-XAYMVIQY.js';
|
|
16
16
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
17
|
-
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-
|
|
17
|
+
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-PWVYGW2V.js';
|
|
18
18
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
19
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls } from './chunk-
|
|
20
|
-
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-
|
|
19
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls } from './chunk-ZFWP52L6.js';
|
|
20
|
+
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-3TRMPCCI.js';
|
|
21
21
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
22
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-
|
|
23
|
-
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-
|
|
24
|
-
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-
|
|
25
|
-
import { allocatedBytes, freeBytes, formatBytes } from './chunk-
|
|
26
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-
|
|
27
|
-
import { loadHostKey, ensureHostKey, signerFor } from './chunk-
|
|
28
|
-
import { RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-
|
|
29
|
-
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-
|
|
30
|
-
import { jobCredentialProblem, COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-
|
|
31
|
-
import { jobAgent, jobCommandEnv, runnerAgents } from './chunk-
|
|
22
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-EEQECBHQ.js';
|
|
23
|
+
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-7UEW7HXC.js';
|
|
24
|
+
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-AZDDIZDE.js';
|
|
25
|
+
import { allocatedBytes, freeBytes, formatBytes } from './chunk-TCI4V7QP.js';
|
|
26
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-NDOJJGEK.js';
|
|
27
|
+
import { loadHostKey, ensureHostKey, signerFor } from './chunk-HJ5MIJCQ.js';
|
|
28
|
+
import { RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-EWDSVOX3.js';
|
|
29
|
+
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-5CEGWBDI.js';
|
|
30
|
+
import { jobCredentialProblem, COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-V3X5VM6A.js';
|
|
31
|
+
import { jobAgent, jobCommandEnv, runnerAgents } from './chunk-5JFDNAVV.js';
|
|
32
32
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
33
33
|
import { mkdirSync, existsSync, writeFileSync, chmodSync, renameSync, statSync, readdirSync, readFileSync, rmSync, closeSync } from 'fs';
|
|
34
34
|
import { join, dirname } from 'path';
|
|
@@ -2323,7 +2323,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
2323
2323
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
2324
2324
|
);
|
|
2325
2325
|
async function tryClaimAndStart(state, item, queue) {
|
|
2326
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
2326
|
+
const { postJson: postJson2 } = await import('./work-cmd-QLCNL3HL.js');
|
|
2327
2327
|
const log = logOf(state);
|
|
2328
2328
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
2329
2329
|
const claim = await retrySend(
|
|
@@ -3766,7 +3766,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
3766
3766
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
3767
3767
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
3768
3768
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
3769
|
-
return (await import('./check-
|
|
3769
|
+
return (await import('./check-U5LTHG3N.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
3770
3770
|
},
|
|
3771
3771
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
3772
3772
|
log
|
|
@@ -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-EUMGKMIV.js';
|
|
4
|
+
import { RUNNER_FILE_MODE } from './chunk-EWDSVOX3.js';
|
|
5
|
+
import { parseRunnerEnv, withoutCredentialLines } from './chunk-V3X5VM6A.js';
|
|
6
|
+
import { headlessNames, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialEnvPath, forwardedVariables } from './chunk-5JFDNAVV.js';
|
|
7
|
+
import { defaultAgents } from './chunk-J67VPST6.js';
|
|
8
8
|
import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
|
|
9
9
|
import { join, dirname } from 'path';
|
|
10
10
|
|
|
@@ -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-DU76SWD7.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-XFJMPO74.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-EWRQ37X7.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 { sanitizeTerminal } from './chunk-OCQ5FQZR.js';
|
|
4
|
-
import { resolvePackRoot, parseProofsConfig } from './chunk-
|
|
4
|
+
import { resolvePackRoot, parseProofsConfig } from './chunk-J67VPST6.js';
|
|
5
5
|
import { CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEMS_MAX, CheckItemsSchema, CHECK_ITEM_REFS_MAX, CHECK_ITEM_ID_MAX_LENGTH, CHECK_ITEM_REF_PATH_MAX_LENGTH, JUDGE_NOT_RUN_ITEM_ID, REVIEWED_COMMIT_ITEM_ID } from './chunk-2VNT47DG.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperSocketPath } from './chunk-
|
|
4
|
-
import { UNIT_MARKER } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-BWWLPFL6.js';
|
|
4
|
+
import { UNIT_MARKER } from './chunk-EUMGKMIV.js';
|
|
5
|
+
import { runnerDir } from './chunk-EWDSVOX3.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
8
8
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-
|
|
4
|
-
import { ensureHostKey } from './chunk-
|
|
5
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-
|
|
6
|
-
import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-
|
|
7
|
-
import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-
|
|
8
|
-
import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-
|
|
9
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-TVQTEICS.js';
|
|
4
|
+
import { ensureHostKey } from './chunk-HJ5MIJCQ.js';
|
|
5
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-EWDSVOX3.js';
|
|
6
|
+
import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-5CEGWBDI.js';
|
|
7
|
+
import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-V3X5VM6A.js';
|
|
8
|
+
import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-5JFDNAVV.js';
|
|
9
|
+
import { defaultAgents } from './chunk-J67VPST6.js';
|
|
10
10
|
import { PROVIDERS } from './chunk-7PZDPISM.js';
|
|
11
|
-
import { compareVersions } from './chunk-
|
|
11
|
+
import { compareVersions } from './chunk-EWRQ37X7.js';
|
|
12
12
|
import { createHash } from 'crypto';
|
|
13
13
|
import { mkdirSync, createWriteStream, rmSync, existsSync, readFileSync, chmodSync, writeFileSync, realpathSync, readdirSync, renameSync } from 'fs';
|
|
14
14
|
import { dirname, join, posix, resolve } from 'path';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { normalizePath, CONTEXT_PIN_FILENAME, laptopAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, contextAgents, legacyAgent, legacySubcommand } from './chunk-
|
|
3
|
+
import { normalizePath, CONTEXT_PIN_FILENAME, laptopAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, contextAgents, legacyAgent, legacySubcommand } from './chunk-J67VPST6.js';
|
|
4
4
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
5
5
|
import { existsSync, readdirSync, readFileSync, mkdirSync, writeFileSync, lstatSync, readlinkSync, symlinkSync, rmdirSync } from 'fs';
|
|
6
6
|
import { relative, sep, join, posix } from 'path';
|
|
@@ -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-EWDSVOX3.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 { 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-EWDSVOX3.js';
|
|
5
5
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
7
7
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { mcpTargetPath, INIT_STDIO_ENTRY, INIT_DOCS_ENTRY, DOCS_MCP_SERVER_NAME } from './chunk-
|
|
4
|
-
import { VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH, POLICY_CONTENT } from './chunk-
|
|
5
|
-
import { skillsBaseFor } from './chunk-
|
|
3
|
+
import { mcpTargetPath, INIT_STDIO_ENTRY, INIT_DOCS_ENTRY, DOCS_MCP_SERVER_NAME } from './chunk-5XZC3UIR.js';
|
|
4
|
+
import { VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH, POLICY_CONTENT } from './chunk-QQRWK5EX.js';
|
|
5
|
+
import { skillsBaseFor } from './chunk-NQ2NJLAL.js';
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { hasSymlinkComponent } from './chunk-
|
|
8
|
+
import { hasSymlinkComponent } from './chunk-63SCDN4P.js';
|
|
9
9
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
10
|
-
import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-
|
|
10
|
+
import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-J67VPST6.js';
|
|
11
11
|
import { createHash } from 'crypto';
|
|
12
12
|
import { existsSync, readFileSync } from 'fs';
|
|
13
13
|
import { join } from 'path';
|
|
@@ -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, rewriteSkillPaths, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-
|
|
5
|
+
import { linkedAgentsPath } from './chunk-63SCDN4P.js';
|
|
6
|
+
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, rewriteSkillPaths, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-J67VPST6.js';
|
|
7
7
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
8
8
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
9
9
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
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-
|
|
3
|
+
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-M6LQSXFY.js';
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-7UEW7HXC.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-OCQ5FQZR.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-XFJMPO74.js';
|
|
8
8
|
import { parseWorkItemEnv } from './chunk-4OD45RBP.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-
|
|
11
|
+
import { parseProofsConfig } from './chunk-J67VPST6.js';
|
|
12
|
+
import { resolveRepoIdentity } from './chunk-EWRQ37X7.js';
|
|
13
13
|
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-2VNT47DG.js';
|
|
14
14
|
import { spawnSync } from 'child_process';
|
|
15
15
|
import { createHash } from 'crypto';
|
|
@@ -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-Y2V4GUP5.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-Y2V4GUP5.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) {
|
|
375
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
375
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-547S7GH6.js');
|
|
376
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
377
|
process.exitCode = result2.exitCode;
|
|
378
378
|
return;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-
|
|
3
|
+
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-NQ2NJLAL.js';
|
|
4
4
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
5
|
-
import { invalidConfigMessage } from './chunk-
|
|
6
|
-
import { retiredSkillPaths, removeRetiredSkills } from './chunk-
|
|
5
|
+
import { invalidConfigMessage } from './chunk-FWIG3OAH.js';
|
|
6
|
+
import { retiredSkillPaths, removeRetiredSkills } from './chunk-4VNSEQBZ.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { maintainedFilesForExistingSkills, loadMaintainedFiles, emitTree, emitBuilders, defaultAgents, targetIds, generatedHeaderSource, parseOuterlayerConfig, classifyTree, writeMaintainedFiles, agentById } from './chunk-
|
|
8
|
+
import { maintainedFilesForExistingSkills, loadMaintainedFiles, emitTree, emitBuilders, defaultAgents, targetIds, generatedHeaderSource, parseOuterlayerConfig, classifyTree, writeMaintainedFiles, agentById } from './chunk-J67VPST6.js';
|
|
9
9
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
10
10
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, copyFileSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
11
11
|
import { join, dirname } from 'path';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-
|
|
3
|
+
import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-TCIZ3VKP.js';
|
|
4
4
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
5
|
-
import { EXEC_PORT } from './chunk-
|
|
6
|
-
import { RELAY_PORT } from './chunk-
|
|
5
|
+
import { EXEC_PORT } from './chunk-44RGEXYN.js';
|
|
6
|
+
import { RELAY_PORT } from './chunk-5CEGWBDI.js';
|
|
7
7
|
import { spawn, spawnSync } from 'child_process';
|
|
8
8
|
import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync, existsSync } from 'fs';
|
|
9
9
|
|
|
@@ -612,7 +612,7 @@ async function missingRenewalHookContext(home, cwd, codec) {
|
|
|
612
612
|
try {
|
|
613
613
|
const event = codec.events.find((name) => kindOf(codec, name) === "tool-used");
|
|
614
614
|
if (event === void 0) return void 0;
|
|
615
|
-
const { hookRegistered } = await import('./hook-install-
|
|
615
|
+
const { hookRegistered } = await import('./hook-install-VRQNP45Z.js');
|
|
616
616
|
const registered = hookRegistered(event, { home, cwd });
|
|
617
617
|
if (registered !== false) return void 0;
|
|
618
618
|
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.`;
|
|
@@ -812,11 +812,11 @@ async function missingControlPlane(cwd, sessionId, home, env) {
|
|
|
812
812
|
const dirs = findGitDirs(cwd);
|
|
813
813
|
if (dirs === void 0) return void 0;
|
|
814
814
|
if (existsSync(join(dirs.gitCommonDir, "outerlayer", "materialized.json")) || hasExcludeBlock(dirs.gitCommonDir)) {
|
|
815
|
-
const { cleanupEarlierCopies } = await import('./context-cleanup-
|
|
815
|
+
const { cleanupEarlierCopies } = await import('./context-cleanup-FHYZICVI.js');
|
|
816
816
|
cleanupEarlierCopies(dirs);
|
|
817
817
|
}
|
|
818
818
|
if (!contextPossiblyGoverned(cwd, home)) return void 0;
|
|
819
|
-
const { governanceOf } = await import('./control-plane-launch-
|
|
819
|
+
const { governanceOf } = await import('./control-plane-launch-7GN73PIO.js');
|
|
820
820
|
if (await governanceOf({ cwd, env, home }) !== "governed") return void 0;
|
|
821
821
|
recordMissingContext(dirs, sessionId, home);
|
|
822
822
|
const launcher = `${cliInvocation()} ${LEGACY.legacy.subcommand}`;
|
|
@@ -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-EWDSVOX3.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 { 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-NDOJJGEK.js';
|
|
4
|
+
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-EWDSVOX3.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,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, BUILD_HOME } from './chunk-
|
|
3
|
+
import { RELAY_PORT, BUILD_HOME } from './chunk-5CEGWBDI.js';
|
|
4
4
|
import { createServer, connect } from 'net';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -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-5JFDNAVV.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,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-EWDSVOX3.js';
|
|
4
4
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -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, RUNNER_RESERVE_BYTES } from './chunk-
|
|
5
|
-
import { getJson, WorkCommandError } from './chunk-
|
|
6
|
-
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, 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 { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-
|
|
11
|
-
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-
|
|
12
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-BWWLPFL6.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-EUMGKMIV.js';
|
|
5
|
+
import { getJson, WorkCommandError } from './chunk-7UEW7HXC.js';
|
|
6
|
+
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-AZDDIZDE.js';
|
|
7
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-TCI4V7QP.js';
|
|
8
|
+
import { ensureHostKey } from './chunk-HJ5MIJCQ.js';
|
|
9
|
+
import { sandboxSettingsFrom } from './chunk-5CEGWBDI.js';
|
|
10
|
+
import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-V3X5VM6A.js';
|
|
11
|
+
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-5JFDNAVV.js';
|
|
12
|
+
import { defaultAgents } from './chunk-J67VPST6.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
|
-
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-5JFDNAVV.js';
|
|
4
|
+
import { defaultAgents } from './chunk-J67VPST6.js';
|
|
5
5
|
import { PROVIDERS } from './chunk-7PZDPISM.js';
|
|
6
6
|
import { statSync, readFileSync } from 'fs';
|
|
7
7
|
import { join } from 'path';
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { checkStarterFiles, contextIsGoverned } from './chunk-
|
|
4
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
5
|
-
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-
|
|
6
|
-
import { withInjectedPrograms } from './chunk-
|
|
7
|
-
import { isLinkedRepository } from './chunk-
|
|
3
|
+
import { checkStarterFiles, contextIsGoverned } from './chunk-PY3KCLWJ.js';
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-7UEW7HXC.js';
|
|
5
|
+
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-6HLDZC44.js';
|
|
6
|
+
import { withInjectedPrograms } from './chunk-7K63WET7.js';
|
|
7
|
+
import { isLinkedRepository } from './chunk-DU76SWD7.js';
|
|
8
8
|
import { sanitizeTerminal } from './chunk-OCQ5FQZR.js';
|
|
9
9
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
10
|
-
import { checkFormerSkillNames } from './chunk-
|
|
11
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
12
|
-
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-
|
|
10
|
+
import { checkFormerSkillNames } from './chunk-4VNSEQBZ.js';
|
|
11
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-XFJMPO74.js';
|
|
12
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-SIISSXA6.js';
|
|
13
13
|
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-SF2TBJBP.js';
|
|
14
14
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
15
15
|
import { readStatuslineState, STATE_FRESH_MS } from './chunk-M53UNEO6.js';
|
|
16
16
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
17
|
-
import { installAgents, withSettingsText } from './chunk-
|
|
17
|
+
import { installAgents, withSettingsText } from './chunk-CJQ7KWMT.js';
|
|
18
18
|
import { cliForInstall, cliBinResolvable } from './chunk-ZHQC43NH.js';
|
|
19
19
|
import { readDeliveryRecord, readDegraded, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
20
20
|
import { deadHooksState, preparePackageManagerCommand } from './chunk-CJPTUU2E.js';
|
|
21
|
-
import { defaultAgents, legacyAgent, contextAgents } from './chunk-
|
|
21
|
+
import { defaultAgents, legacyAgent, contextAgents } from './chunk-J67VPST6.js';
|
|
22
22
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
23
|
-
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-
|
|
23
|
+
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-EWRQ37X7.js';
|
|
24
24
|
import { readFileSync, mkdirSync, writeFileSync, renameSync, existsSync, accessSync, constants, statSync } from 'fs';
|
|
25
25
|
import { sep, join, dirname, resolve, delimiter } from 'path';
|
|
26
26
|
import { execFileSync } from 'child_process';
|
|
@@ -1051,8 +1051,8 @@ function doctorExitCode(checks) {
|
|
|
1051
1051
|
|
|
1052
1052
|
// src/doctor-report.ts
|
|
1053
1053
|
async function gatherDoctorChecks(options = {}) {
|
|
1054
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1055
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1054
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-RY7QJCZP.js');
|
|
1055
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-K5477PLJ.js');
|
|
1056
1056
|
const configPath = options.configPath ?? defaultRunnerConfigPath();
|
|
1057
1057
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1058
1058
|
const hooks = (() => {
|
|
@@ -1080,7 +1080,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1080
1080
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1081
1081
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1082
1082
|
} else if (hasRunnerBlock(configPath)) {
|
|
1083
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1083
|
+
const { runnerHostChecks } = await import('./doctor-PEOXISDY.js');
|
|
1084
1084
|
const gateway = (() => {
|
|
1085
1085
|
try {
|
|
1086
1086
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1108,7 +1108,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1108
1108
|
const service = await (async () => {
|
|
1109
1109
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1110
1110
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1111
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1111
|
+
const { inspectRunnerService } = await import('./find-unit-DL6CINZ6.js');
|
|
1112
1112
|
return inspectRunnerService(configPath);
|
|
1113
1113
|
})();
|
|
1114
1114
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -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-ZU6OBLU3.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-WGC7UFRM.js';
|
|
5
5
|
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-OCQ5FQZR.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-XFJMPO74.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-HJ5MIJCQ.js';
|
|
10
|
+
import { SCRUB_ENV_VARIABLE } from './chunk-5CEGWBDI.js';
|
|
11
|
+
import { writeSyncStatus, logHookError, spoolDir } from './chunk-SIISSXA6.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-RNCCRUT5.js';
|
|
@@ -16,10 +16,10 @@ import { applyReportedCost } from './chunk-BKO6JEZI.js';
|
|
|
16
16
|
import { readLaunchSpoolState, launchStatusIsDecisive, launchedItemsBySession, launchesPath } from './chunk-4OD45RBP.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-J67VPST6.js';
|
|
20
20
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
21
21
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
22
|
-
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep } from './chunk-
|
|
22
|
+
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep } from './chunk-EWRQ37X7.js';
|
|
23
23
|
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-2VNT47DG.js';
|
|
24
24
|
import { dirname, basename, join, sep } from 'path';
|
|
25
25
|
import { statSync, readFileSync, readdirSync, mkdirSync, writeFileSync, renameSync, existsSync, rmSync } from 'fs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readCloudConfigStrict, readCloudConfig, cloudConfigPath } from './chunk-HWVMRETT.js';
|
|
4
|
-
import { signRunnerRequest, signerFor } from './chunk-
|
|
4
|
+
import { signRunnerRequest, signerFor } from './chunk-HJ5MIJCQ.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-NFZMENCY.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
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-43XRQSWJ.js';
|
|
4
|
+
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-3TRMPCCI.js';
|
|
5
5
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
6
|
-
import { runnerLabelValue } from './chunk-
|
|
7
|
-
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-
|
|
8
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-
|
|
9
|
-
import { withGitConfig, tokenHeader } from './chunk-
|
|
10
|
-
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-
|
|
6
|
+
import { runnerLabelValue } from './chunk-NDOJJGEK.js';
|
|
7
|
+
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-TVQTEICS.js';
|
|
8
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-EWDSVOX3.js';
|
|
9
|
+
import { withGitConfig, tokenHeader } from './chunk-5CEGWBDI.js';
|
|
10
|
+
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-5JFDNAVV.js';
|
|
11
11
|
import { mkdirSync, writeFileSync, existsSync, mkdtempSync, rmSync, cpSync, readFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
|
|
12
12
|
import { tmpdir } from 'os';
|
|
13
13
|
import { join } from 'path';
|
|
@@ -121,10 +121,11 @@ async function diffBetween(input) {
|
|
|
121
121
|
try {
|
|
122
122
|
mkdirSync(input.dir, { recursive: true, mode: RUNNER_DIR_MODE });
|
|
123
123
|
await git(input.dir, ["init", "--quiet"]);
|
|
124
|
-
await git(input.dir, ["fetch", "--quiet", "--no-tags", "--filter=blob:none", input.remote, input.base, input.head], CLONE_TIMEOUT_MS, credential);
|
|
124
|
+
await git(input.dir, ["fetch", "--quiet", "--no-tags", "--filter=blob:none", input.remote, input.base, input.head, `+HEAD:${DIFF_DEFAULT_REF}`], CLONE_TIMEOUT_MS, credential);
|
|
125
|
+
const from = await git(input.dir, ["merge-base", input.head, DIFF_DEFAULT_REF, input.base]);
|
|
125
126
|
await git(
|
|
126
127
|
input.dir,
|
|
127
|
-
["diff", "--no-ext-diff", "--no-textconv", "--no-color", "--binary", `--output=${input.output}`,
|
|
128
|
+
["diff", "--no-ext-diff", "--no-textconv", "--no-color", "--binary", `--output=${input.output}`, from, input.head],
|
|
128
129
|
CLONE_TIMEOUT_MS,
|
|
129
130
|
credential
|
|
130
131
|
);
|
|
@@ -134,6 +135,7 @@ async function diffBetween(input) {
|
|
|
134
135
|
return { ok: false, reason: `the diff of ${input.head.slice(0, 8)} from ${input.base.slice(0, 8)} could not be read from ${input.remote}: ${detail}` };
|
|
135
136
|
}
|
|
136
137
|
}
|
|
138
|
+
var DIFF_DEFAULT_REF = "refs/outerlayer/default-branch";
|
|
137
139
|
var CLONE_TIMEOUT_MS = 6e5;
|
|
138
140
|
async function readDefaultBranchFiles(input) {
|
|
139
141
|
const credential = input.token === void 0 ? void 0 : tokenSettings(input.remote, input.token);
|