@outerlayer/cli 0.36.0-next.20261102211600 → 0.36.0-next.20261102223926
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 +4 -13
- package/dist/agent-setup-WNS62XAG.js +39 -0
- package/dist/{agent-subcommand-3VJ6PKAT.js → agent-subcommand-SG5KMT5Y.js} +5 -5
- package/dist/{bridge-RECR25EL.js → bridge-MBQ7MYJ2.js} +7 -7
- package/dist/{build-NIKF353A.js → build-ISO6RWQE.js} +13 -13
- package/dist/{build-disk-GKLJQNYQ.js → build-disk-N3G3OA6N.js} +11 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-THQ62YNF.js → builder-2DKMYCQ2.js} +10 -10
- package/dist/caller-62I4EDQG.js +22 -0
- package/dist/{check-WODTIKPR.js → check-QQORDMW6.js} +55 -55
- package/dist/{chunk-MDP3QN7U.js → chunk-22WUYT5N.js} +6 -6
- package/dist/{chunk-UQ2YFDGP.js → chunk-2KQCJ4ZX.js} +5 -5
- package/dist/{chunk-MSEDA6A2.js → chunk-344VHG5Q.js} +2 -2
- package/dist/{chunk-4UADHJ6P.js → chunk-3JCXQEMI.js} +10 -21
- package/dist/{chunk-GQ4GMFHO.js → chunk-3LWOXRC4.js} +8 -8
- package/dist/{chunk-D2SEASHI.js → chunk-3YHFHC4O.js} +4 -4
- package/dist/{chunk-NAQWMYQ2.js → chunk-43BQAGBO.js} +1 -1
- package/dist/{chunk-SFPDEBBO.js → chunk-4UUUUIDG.js} +5 -5
- package/dist/{chunk-ZSHBICCL.js → chunk-56GSMSEY.js} +9 -9
- package/dist/{chunk-HHD5P4TU.js → chunk-5BRB4L7T.js} +8 -8
- package/dist/{chunk-G3BUOMCF.js → chunk-5CWUKWYF.js} +1 -1
- package/dist/{chunk-7AVQ67PS.js → chunk-5EFNRORU.js} +1 -1
- package/dist/{chunk-QU4FBCRH.js → chunk-5T3RSWK4.js} +8 -8
- package/dist/{chunk-KG5BQFSO.js → chunk-7EMXDWOU.js} +1 -1
- package/dist/{chunk-66UG5SL4.js → chunk-A27QJ6WP.js} +3 -3
- package/dist/{chunk-DLHOKPNF.js → chunk-ABA75YR7.js} +1 -1
- package/dist/{chunk-OQZ2B5AN.js → chunk-B26FXORG.js} +1 -1
- package/dist/{chunk-V7ZAPEVS.js → chunk-BAVQLJQO.js} +1 -1
- package/dist/{chunk-U37FB7ER.js → chunk-BNNCWOZL.js} +2 -2
- package/dist/{chunk-S3GZ74UE.js → chunk-C2KAQ7HD.js} +4 -4
- package/dist/{chunk-32GBZ7HD.js → chunk-CKGF47B3.js} +3 -3
- package/dist/{chunk-3FZVQRTC.js → chunk-DDYBRCPN.js} +4 -4
- package/dist/{chunk-LTAMZ36E.js → chunk-DYWCQCVK.js} +1 -1
- package/dist/{chunk-6IDMWODX.js → chunk-E5CXH5JX.js} +4 -4
- package/dist/{chunk-Z4ASKZKN.js → chunk-EDSUB2EJ.js} +1 -1
- package/dist/{chunk-HOHY6ORJ.js → chunk-F677QPWA.js} +1 -1
- package/dist/{chunk-M7AIU22N.js → chunk-FINJC6BS.js} +1 -1
- package/dist/{chunk-VNXITMKE.js → chunk-FIXHPPBW.js} +1 -1
- package/dist/{chunk-VK4MMRYC.js → chunk-FWF3NUSQ.js} +1 -1
- package/dist/{chunk-P7W7SXX7.js → chunk-GABBBYMY.js} +5 -12
- package/dist/{chunk-2QXA7T6F.js → chunk-GKLUGOTT.js} +1 -1
- package/dist/{chunk-L6GYPZEV.js → chunk-GKZCKNFA.js} +3 -3
- package/dist/{chunk-REXQKAY7.js → chunk-GNJS2LJK.js} +1 -1
- package/dist/{chunk-ZPFBNCXW.js → chunk-GRAZZMKU.js} +8 -8
- package/dist/{chunk-LJNFUD3U.js → chunk-GUMNDY3O.js} +6 -6
- package/dist/{chunk-FB7HGLRK.js → chunk-GVJJOWMM.js} +3 -3
- package/dist/{chunk-JFPDRFAR.js → chunk-H6SIRL2K.js} +3 -3
- package/dist/{chunk-KTL7GFQ3.js → chunk-HFGG3HOB.js} +1 -1
- package/dist/{chunk-MZQAYZY4.js → chunk-HUL4RATO.js} +28 -60
- package/dist/{chunk-YPVJ46Y3.js → chunk-IBWQE36F.js} +2 -2
- package/dist/{chunk-UKQCIZ3R.js → chunk-ITVAB4OR.js} +1 -1
- package/dist/{chunk-I6GHP6U7.js → chunk-IW2UMW4Y.js} +1 -1
- package/dist/{chunk-FH4CX3CS.js → chunk-J7FM4QZ5.js} +3 -3
- package/dist/{chunk-2ICED253.js → chunk-JH7UBGIJ.js} +4 -4
- package/dist/{chunk-4K3VEJEE.js → chunk-KGK4C22H.js} +7 -7
- package/dist/{chunk-HKJCNBUB.js → chunk-KKX2VW4B.js} +1 -1
- package/dist/{chunk-TOP4K2T6.js → chunk-KWXWZ7JQ.js} +9 -4
- package/dist/{chunk-NJMJHUJL.js → chunk-L6B2SMPU.js} +15 -15
- package/dist/{chunk-BF7P3J2H.js → chunk-LBMQKDUC.js} +3 -3
- package/dist/{chunk-PLB2IBJV.js → chunk-LYVS6JEX.js} +1 -1
- package/dist/{chunk-L6OJH3E5.js → chunk-M25TPKKB.js} +6 -6
- package/dist/{chunk-UJD3DINB.js → chunk-MFN4Z2N3.js} +6 -6
- package/dist/{chunk-STNWA5ZZ.js → chunk-MLLPG72T.js} +2 -2
- package/dist/{chunk-IEFSDAVW.js → chunk-MWSJVJHL.js} +1 -1
- package/dist/{chunk-OATJFN2P.js → chunk-NPJAFEK4.js} +7 -7
- package/dist/{chunk-DUGZCKCF.js → chunk-OUDR4BEV.js} +17 -17
- package/dist/{chunk-V6V3NN5G.js → chunk-QAO6P5NP.js} +1 -1
- package/dist/{chunk-5QMSZFA2.js → chunk-S2ZFRY23.js} +4 -4
- package/dist/{chunk-XCXBR74S.js → chunk-SDH744XP.js} +47 -154
- package/dist/{chunk-IBFBBUBJ.js → chunk-SDOEB5QE.js} +3 -3
- package/dist/{chunk-44B523ZQ.js → chunk-THMQU4CA.js} +5 -5
- package/dist/{chunk-HYDNEYVD.js → chunk-TYXVPSPB.js} +5 -5
- package/dist/{chunk-77MUGWQT.js → chunk-UQMI3XZI.js} +1 -1
- package/dist/{chunk-TI32Q3VB.js → chunk-V5KFO6SC.js} +1 -1
- package/dist/{chunk-X4QHDRXT.js → chunk-VRJ2FXSJ.js} +1 -1
- package/dist/{chunk-MFLIYXNY.js → chunk-W5B54UAB.js} +1 -1
- package/dist/{chunk-IJC4JL6B.js → chunk-WANAUPPY.js} +5 -5
- package/dist/{chunk-ZFDUXKTM.js → chunk-XBEVX744.js} +4 -4
- package/dist/{chunk-PJ3KUE3L.js → chunk-XRSEFPY7.js} +4 -4
- package/dist/{chunk-H5QZSOBB.js → chunk-Y3DTF2J5.js} +1 -1
- package/dist/{chunk-KIY2AUHY.js → chunk-YIMI43YP.js} +1 -1
- package/dist/{chunk-FCMEWS3G.js → chunk-YMSKRXMG.js} +5 -5
- package/dist/{chunk-ZM2SKQJD.js → chunk-Z35X73J2.js} +2 -2
- package/dist/{chunk-3PDRASIP.js → chunk-ZPUXJ7GV.js} +9 -9
- package/dist/{claude-launcher-Z6WBFSRK.js → claude-launcher-S45KAQGQ.js} +9 -9
- package/dist/{cli-KBXHOMUN.js → cli-SMBLKJA4.js} +147 -159
- package/dist/{command-FPLHTT7R.js → command-V5IM36IU.js} +50 -50
- package/dist/config-VSZZEUXH.js +21 -0
- package/dist/{connect-cmd-ZG7BPIXQ.js → connect-cmd-DQE5L2LD.js} +11 -11
- package/dist/{container-start-3NWIL4A3.js → container-start-DTXIK2AP.js} +48 -48
- package/dist/{context-cleanup-ZKAL6X5I.js → context-cleanup-N7NAZQOA.js} +5 -5
- package/dist/{context-show-cmd-AM46ZKCT.js → context-show-cmd-RCLG72YM.js} +12 -12
- package/dist/{control-plane-launch-HW2Y53YI.js → control-plane-launch-ZFSKDTUQ.js} +15 -15
- package/dist/{demo-record-cmd-T4227FWF.js → demo-record-cmd-BTXIKP35.js} +8 -8
- package/dist/{demo-voice-cmd-YSESUTE5.js → demo-voice-cmd-ELJYTI3R.js} +20 -20
- package/dist/{dist-64LM4JF4.js → dist-AIMCXBLZ.js} +1 -1
- package/dist/{docker-JC6S6KH3.js → docker-TFAUOK56.js} +10 -10
- package/dist/{doctor-U3MU6GP5.js → doctor-3NCMD4WE.js} +51 -77
- package/dist/{emit-artifact-cmd-J643XZ46.js → emit-artifact-cmd-XH4BYFDF.js} +19 -19
- package/dist/{emit-cmd-PTOSSDQK.js → emit-cmd-BXGAW6U5.js} +8 -8
- package/dist/{emit-criteria-cmd-BARZ3MBZ.js → emit-criteria-cmd-ULLSSOJX.js} +14 -14
- package/dist/{emit-demo-cmd-OAC6RTSK.js → emit-demo-cmd-AUHTLXDO.js} +20 -20
- package/dist/{emit-finding-cmd-BUTFI2GD.js → emit-finding-cmd-PBCVV25I.js} +14 -14
- package/dist/{emit-result-cmd-4E4KX3QZ.js → emit-result-cmd-VEOIKPSY.js} +18 -18
- package/dist/{emit-step-cmd-7CAJHMEQ.js → emit-step-cmd-QEKPM4NG.js} +14 -14
- package/dist/{exec-client-G6B7G3IN.js → exec-client-MKD7HYWY.js} +8 -8
- package/dist/find-unit-TQZWEQEM.js +23 -0
- package/dist/{findings-cmd-N66FJR3J.js → findings-cmd-VIMAQEDQ.js} +14 -14
- package/dist/{fleet-readiness-KFTMEUAI.js → fleet-readiness-AJJSZUSF.js} +14 -14
- package/dist/{governing-source-TO6RRWYS.js → governing-source-PHENIFHB.js} +20 -20
- package/dist/{guest-init-J3TELWJG.js → guest-init-JVYQITF4.js} +9 -9
- package/dist/{hook-fast-Y4LO3YE7.js → hook-fast-XA4VOM65.js} +4 -4
- package/dist/{hook-install-DOEXRPO5.js → hook-install-X7CLPCXE.js} +5 -5
- package/dist/{hook-wrap-fast-L5PCBVNI.js → hook-wrap-fast-DHAKXDLA.js} +3 -3
- package/dist/host-checks-6TNHLTDH.js +78 -0
- package/dist/{host-key-EOTN4362.js → host-key-C4X3NG6S.js} +8 -8
- package/dist/{image-tag-VHP22FMX.js → image-tag-RRCWKD3C.js} +8 -8
- package/dist/index.js +6 -6
- package/dist/init-6ZK7BHCV.js +78 -0
- package/dist/{init-B575TM3R.js → init-PVAH4Q5X.js} +46 -47
- package/dist/{init-cmd-5Q2ICZBK.js → init-cmd-N6NZ4ODA.js} +28 -28
- package/dist/{init-update-AJF4YJ6I.js → init-update-BJBC7IJZ.js} +23 -23
- package/dist/{install-cmd-GO3D5F6X.js → install-cmd-65X2KS64.js} +10 -10
- package/dist/{layout-KSD373US.js → layout-ZAPTYCYJ.js} +5 -5
- package/dist/{logs-QV3LNNUJ.js → logs-L4HMHZT6.js} +7 -7
- package/dist/loop-V4UQ5NNI.js +89 -0
- package/dist/machine-VLNJK2DW.js +78 -0
- package/dist/{machine-skills-IMGN27M7.js → machine-skills-U3S3BBRK.js} +5 -5
- package/dist/{mcp-install-cmd-25PA5RAI.js → mcp-install-cmd-X7VITHEI.js} +5 -5
- package/dist/{mcp-serve-cmd-7USDWMS4.js → mcp-serve-cmd-4GBD2OZC.js} +9 -9
- package/dist/{paths-L3SEA2QQ.js → paths-UDFO5EFD.js} +7 -7
- package/dist/pending-LNM7KSZM.js +17 -0
- package/dist/{pidfile-ROXIFSGN.js → pidfile-WYSNC64S.js} +8 -8
- package/dist/{record-7OMLXGTG.js → record-VG2ABYEC.js} +8 -8
- package/dist/{relay-663SG53Q.js → relay-2BMPGHLH.js} +5 -5
- package/dist/{relay-protocol-4V3F6HSZ.js → relay-protocol-WGS2EQ6I.js} +5 -5
- package/dist/runner-env-PYVXH7U5.js +23 -0
- package/dist/{runner-identity-QBFVMEXN.js → runner-identity-NWIUB2A2.js} +10 -10
- package/dist/{runner-key-SUZKSV54.js → runner-key-3ICZFYUM.js} +46 -46
- package/dist/{session-sender-RI5VITPP.js → session-sender-RDE25PUH.js} +19 -19
- package/dist/{shell-function-D2T55XFG.js → shell-function-ISCWP65F.js} +2 -2
- package/dist/{spec-cmd-IPFZNBCZ.js → spec-cmd-DTET4YTT.js} +15 -15
- package/dist/{starter-pack-OLH6O4YX.js → starter-pack-YFMSDTPX.js} +6 -6
- package/dist/state-E4G3GCQ7.js +17 -0
- package/dist/{status-KSO5RNWL.js → status-6ZHICKFP.js} +46 -46
- package/dist/{statusline-fast-36U3TOCL.js → statusline-fast-SHKBTYUX.js} +3 -3
- package/dist/{sync-cmd-DML4SI6Y.js → sync-cmd-OBJBXQWX.js} +18 -18
- package/dist/update-steps-CD4MEF6H.js +79 -0
- package/dist/{watch-X3AKYTTF.js → watch-WU3ITNFP.js} +18 -18
- package/dist/{work-claim-cmd-SIHUKNW4.js → work-claim-cmd-RZBD2TF5.js} +20 -20
- package/dist/{work-cmd-Z2JX53KE.js → work-cmd-IEG6HIZD.js} +14 -14
- package/dist/{work-comment-cmd-D2OQTFBW.js → work-comment-cmd-G2USKDQG.js} +17 -17
- package/dist/{work-demo-cmd-Z2PRJSY3.js → work-demo-cmd-EJ2EGBFB.js} +14 -14
- package/dist/{work-logs-cmd-4UICP6PY.js → work-logs-cmd-C2GMH5OD.js} +14 -14
- package/dist/{work-open-pr-cmd-BZOYVVM6.js → work-open-pr-cmd-OHF6JTW2.js} +15 -15
- package/dist/{work-pr-cmd-6PQLQD66.js → work-pr-cmd-VNTWQBMV.js} +14 -14
- package/dist/{work-proofs-cmd-SWESTSKA.js → work-proofs-cmd-YOJ3CSW2.js} +16 -16
- package/dist/{work-proofs-record-55B24QNH.js → work-proofs-record-FR44SMQS.js} +24 -24
- package/dist/{work-stop-cmd-6JXCQ277.js → work-stop-cmd-M44MBUK7.js} +14 -14
- package/package.json +1 -1
- package/dist/agent-setup-OYOTPYAR.js +0 -39
- package/dist/caller-6EKJ6C43.js +0 -22
- package/dist/config-RKV7FRY5.js +0 -21
- package/dist/find-unit-MX6XITYC.js +0 -23
- package/dist/host-checks-AGWZAK4R.js +0 -78
- package/dist/init-LADDJ3MR.js +0 -78
- package/dist/loop-5CEZVTIU.js +0 -89
- package/dist/machine-CSH5K23R.js +0 -78
- package/dist/pending-3EMMPNC7.js +0 -17
- package/dist/runner-env-YMBCAQXO.js +0 -23
- package/dist/state-ZWCWEDKQ.js +0 -17
- package/dist/update-steps-OVKM7RAH.js +0 -79
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { writePendingUpdate } from './chunk-
|
|
4
|
-
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-
|
|
3
|
+
import { writePendingUpdate } from './chunk-LYVS6JEX.js';
|
|
4
|
+
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-ABA75YR7.js';
|
|
5
5
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
6
6
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
7
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
8
|
-
import { renderUpdateSteps } from './chunk-
|
|
7
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-NPJAFEK4.js';
|
|
8
|
+
import { renderUpdateSteps } from './chunk-H6SIRL2K.js';
|
|
9
9
|
import { RUNNER_PROTOCOL } from './chunk-PN4LWT5F.js';
|
|
10
|
-
import { writeFleetState } from './chunk-
|
|
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, provisionMicroVm, deliverCommitHooks,
|
|
14
|
-
import { RUNNER_RESERVE_BYTES } from './chunk-
|
|
15
|
-
import { RepoFilter } from './chunk-
|
|
10
|
+
import { writeFleetState } from './chunk-Y3DTF2J5.js';
|
|
11
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-5BRB4L7T.js';
|
|
12
|
+
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-W5B54UAB.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, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } from './chunk-SDH744XP.js';
|
|
14
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-WANAUPPY.js';
|
|
15
|
+
import { RepoFilter } from './chunk-56GSMSEY.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-UQMI3XZI.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-MLLPG72T.js';
|
|
20
|
+
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-FWF3NUSQ.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 { keyRunnerFactory, isBuiltinContainer, isBuiltinVm,
|
|
24
|
-
import { allocatedBytes, freeBytes, formatBytes } from './chunk-
|
|
25
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-
|
|
26
|
-
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-
|
|
27
|
-
import { loadHostKey, ensureHostKey, signerFor } from './chunk-
|
|
28
|
-
import { RUNNER_DIR_MODE, runnerDir, buildDir, attemptStamp, jobDir, RUNNER_FILE_MODE, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-
|
|
29
|
-
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf,
|
|
30
|
-
import { COMMAND_LOST_REASON, takeAgentCredentials, runnerAgents, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-
|
|
22
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-3LWOXRC4.js';
|
|
23
|
+
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-L6B2SMPU.js';
|
|
24
|
+
import { allocatedBytes, freeBytes, formatBytes } from './chunk-IBWQE36F.js';
|
|
25
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-GRAZZMKU.js';
|
|
26
|
+
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-5T3RSWK4.js';
|
|
27
|
+
import { loadHostKey, ensureHostKey, signerFor } from './chunk-IW2UMW4Y.js';
|
|
28
|
+
import { RUNNER_DIR_MODE, runnerDir, buildDir, attemptStamp, jobDir, RUNNER_FILE_MODE, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-GKLUGOTT.js';
|
|
29
|
+
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-GABBBYMY.js';
|
|
30
|
+
import { COMMAND_LOST_REASON, takeAgentCredentials, runnerAgents, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-S2ZFRY23.js';
|
|
31
31
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
32
32
|
import { mkdirSync, existsSync, chmodSync, writeFileSync, renameSync, statSync, readdirSync, readFileSync, rmSync, closeSync } from 'fs';
|
|
33
33
|
import { join, dirname } from 'path';
|
|
@@ -2204,7 +2204,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
2204
2204
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
2205
2205
|
);
|
|
2206
2206
|
async function tryClaimAndStart(state, item, queue) {
|
|
2207
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
2207
|
+
const { postJson: postJson2 } = await import('./work-cmd-IEG6HIZD.js');
|
|
2208
2208
|
const log = logOf(state);
|
|
2209
2209
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
2210
2210
|
const claim = await retrySend(
|
|
@@ -2506,7 +2506,6 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
2506
2506
|
setStage(job, dirPath, "provision");
|
|
2507
2507
|
log.line(`${tag} provision started`);
|
|
2508
2508
|
const provisionStartedMs = nowOf(state).getTime();
|
|
2509
|
-
const processMode = isBuiltinProcess(state.config.hooks.provision);
|
|
2510
2509
|
const requireBuildSkill = needsBuildSkill(queue, state.config.commands[queue]);
|
|
2511
2510
|
const cliVersion = state.deps.cliVersion ?? resolveVersion();
|
|
2512
2511
|
let workdir;
|
|
@@ -2603,37 +2602,6 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
2603
2602
|
log.error(`${tag} could not write the commit hooks into the microVM: ${describeCallFailure(err)} \xB7 continuing without a co-author line`);
|
|
2604
2603
|
}
|
|
2605
2604
|
}
|
|
2606
|
-
} else if (processMode) {
|
|
2607
|
-
active.job.environment = sharedUserEnvironment(cliVersion);
|
|
2608
|
-
writeJobFile(jobFilePath, active.job);
|
|
2609
|
-
const provisioned = await provisionProcess({
|
|
2610
|
-
config: state.config,
|
|
2611
|
-
runtime: runtimeOf(state),
|
|
2612
|
-
item,
|
|
2613
|
-
repository: primary?.repository,
|
|
2614
|
-
itemKey,
|
|
2615
|
-
jobDir: dirPath,
|
|
2616
|
-
cliVersion,
|
|
2617
|
-
log,
|
|
2618
|
-
save: (build, environment) => {
|
|
2619
|
-
active.job.build = build;
|
|
2620
|
-
active.job.environment = environment;
|
|
2621
|
-
writeJobFile(jobFilePath, active.job);
|
|
2622
|
-
},
|
|
2623
|
-
aborted: () => active.ending
|
|
2624
|
-
}).catch((err) => ({ ok: false, reason: `provision failed: ${describeCallFailure(err)}` }));
|
|
2625
|
-
const provisionTook = formatDuration(nowOf(state).getTime() - provisionStartedMs);
|
|
2626
|
-
if (active.ending) return;
|
|
2627
|
-
if (!provisioned.ok) {
|
|
2628
|
-
log.error(`${tag} provision failed (${provisionTook}): ${provisioned.reason} \xB7 ending job as failed`);
|
|
2629
|
-
await endJob(state, active, "failed", { stage: "provision", reason: provisioned.reason });
|
|
2630
|
-
return;
|
|
2631
|
-
}
|
|
2632
|
-
log.line(`${tag} provision ok (${provisionTook}) \xB7 workdir ${relativeToRunner(runnerRoot, provisioned.workdir)}`);
|
|
2633
|
-
workdir = provisioned.workdir;
|
|
2634
|
-
active.job.build = provisioned.state;
|
|
2635
|
-
active.job.environment = provisioned.environment;
|
|
2636
|
-
installCommitHooks(active.job, log, tag);
|
|
2637
2605
|
} else {
|
|
2638
2606
|
const runtime = runtimeOf(state);
|
|
2639
2607
|
const build = await startHostBuild(state, active, primary?.repository);
|
|
@@ -2733,7 +2701,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
2733
2701
|
if (active.ending) return;
|
|
2734
2702
|
writeJobFile(jobFilePath, active.job);
|
|
2735
2703
|
if (named.exec !== void 0 && named.recipe !== void 0) {
|
|
2736
|
-
const lifecycleEnv = hostCommandEnvironment(jobEnv(claimCalls(state.config, active.job), item.number, itemKey, dirPath, process.env, branch, identity?.author, spoolHomeFor(state.config, active.job)), build.state, state.config, void 0, noteOnce
|
|
2704
|
+
const lifecycleEnv = hostCommandEnvironment(jobEnv(claimCalls(state.config, active.job), item.number, itemKey, dirPath, process.env, branch, identity?.author, spoolHomeFor(state.config, active.job)), build.state, state.config, void 0, noteOnce);
|
|
2737
2705
|
for (const step of lifecycleSteps(named.recipe.apply.lifecycle)) {
|
|
2738
2706
|
if (active.ending) return;
|
|
2739
2707
|
log.line(`${tag} lifecycle ${step.name} (${step.source})`);
|
|
@@ -2831,7 +2799,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
2831
2799
|
}
|
|
2832
2800
|
} else {
|
|
2833
2801
|
const build = job.build;
|
|
2834
|
-
const commandEnv = hostCommandEnvironment(jobEnv(claimCalls(state.config, active.job), item.number, itemKey, dirPath, process.env, branch, identity?.author, spoolHomeFor(state.config, active.job)), build, state.config, identity?.hooksPath, noteOnce
|
|
2802
|
+
const commandEnv = hostCommandEnvironment(jobEnv(claimCalls(state.config, active.job), item.number, itemKey, dirPath, process.env, branch, identity?.author, spoolHomeFor(state.config, active.job)), build, state.config, identity?.hooksPath, noteOnce);
|
|
2835
2803
|
running = build.exec === void 0 ? runCommand(cmdline, commandEnv, workdir, join(dirPath, "command.log"), state.deps.spawnFn) : runCommand(execCommandLine(build.exec, workdir, cmdline), commandEnv, dirPath, join(dirPath, "command.log"), state.deps.spawnFn);
|
|
2836
2804
|
}
|
|
2837
2805
|
} catch (err) {
|
|
@@ -2971,7 +2939,7 @@ async function startHostBuild(state, active, repository) {
|
|
|
2971
2939
|
const runtime = runtimeOf(state);
|
|
2972
2940
|
let failed2;
|
|
2973
2941
|
try {
|
|
2974
|
-
await startHostServices({ runtime, config: state.config, build, jobDir: active.dirPath,
|
|
2942
|
+
await startHostServices({ runtime, config: state.config, build, jobDir: active.dirPath, routeLog: (line) => logOf(state).line(`${itemTag(active.job)} ${line}`) });
|
|
2975
2943
|
} catch (err) {
|
|
2976
2944
|
failed2 = describeCallFailure(err);
|
|
2977
2945
|
logOf(state).error(`${itemTag(active.job)} the tunnel and destination servers could not start: ${failed2} \xB7 continuing`);
|
|
@@ -3586,7 +3554,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
3586
3554
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
3587
3555
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
3588
3556
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
3589
|
-
return (await import('./check-
|
|
3557
|
+
return (await import('./check-QQORDMW6.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
3590
3558
|
},
|
|
3591
3559
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
3592
3560
|
log
|
|
@@ -3699,7 +3667,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
3699
3667
|
attemptLogs.open(job.item, dirPath, itemScope(job));
|
|
3700
3668
|
if (job.container !== void 0) await rejoinContainerBuild(state, adopted);
|
|
3701
3669
|
if (job.build !== void 0 && !runtimeOf(state).tunnels.has(job.build.buildId)) {
|
|
3702
|
-
await startHostServices({ runtime: runtimeOf(state), config, build: job.build, jobDir: dirPath
|
|
3670
|
+
await startHostServices({ runtime: runtimeOf(state), config, build: job.build, jobDir: dirPath }).catch((err) => {
|
|
3703
3671
|
logOf(state).error(`the tunnel of ${itemTag(job)} could not start again: ${describeCallFailure(err)}`);
|
|
3704
3672
|
});
|
|
3705
3673
|
}
|
|
@@ -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-GRAZZMKU.js';
|
|
4
|
+
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-GKLUGOTT.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 { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-
|
|
3
|
+
import { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-S2ZFRY23.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 { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-GKLUGOTT.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-
|
|
4
|
-
import { currentVersion, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-
|
|
3
|
+
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-5EFNRORU.js';
|
|
4
|
+
import { currentVersion, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-W5B54UAB.js';
|
|
5
5
|
import { compareVersions } from './chunk-TQMI335S.js';
|
|
6
|
-
import { runnerDir, RUNNER_DIR_MODE } from './chunk-
|
|
6
|
+
import { runnerDir, RUNNER_DIR_MODE } from './chunk-GKLUGOTT.js';
|
|
7
7
|
import { lchownSync, lstatSync, realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync, readdirSync } from 'fs';
|
|
8
8
|
import { dirname, sep, join } from 'path';
|
|
9
9
|
import { spawnSync } from 'child_process';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-WGC7UFRM.js';
|
|
4
|
-
import { detectActiveSession } from './chunk-
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
4
|
+
import { detectActiveSession } from './chunk-QAO6P5NP.js';
|
|
5
|
+
import { autoConnect } from './chunk-GVJJOWMM.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-43BQAGBO.js';
|
|
8
8
|
import { launchedItemForSession } from './chunk-4OD45RBP.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
11
|
-
import { resolveRepoIdentity } from './chunk-
|
|
11
|
+
import { resolveRepoIdentity } from './chunk-FINJC6BS.js';
|
|
12
12
|
import { CriteriaListSchema } from './chunk-WUKLQWGY.js';
|
|
13
13
|
import { readFileSync } from 'fs';
|
|
14
14
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { criteriaOf, loadCitationFinder, hostItemsOf, criterionInputs, NO_CITING_TEST_REASON, NO_TEST_FILES_REASON, NO_VERDICT_REASON, isFoundInReason, uncitedIds, planCriteria, pickSearchable, IdScan, testFileMatcher, foundInReason, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, groupBySize } from './chunk-
|
|
4
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
3
|
+
import { criteriaOf, loadCitationFinder, hostItemsOf, criterionInputs, NO_CITING_TEST_REASON, NO_TEST_FILES_REASON, NO_VERDICT_REASON, isFoundInReason, uncitedIds, planCriteria, pickSearchable, IdScan, testFileMatcher, foundInReason, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, groupBySize } from './chunk-VRJ2FXSJ.js';
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-5T3RSWK4.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-43BQAGBO.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 { resolveRepoIdentity } from './chunk-
|
|
11
|
+
import { resolveRepoIdentity } from './chunk-FINJC6BS.js';
|
|
12
12
|
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH } from './chunk-WUKLQWGY.js';
|
|
13
13
|
import { createHash } from 'crypto';
|
|
14
14
|
import { spawnSync } from 'child_process';
|
|
@@ -217,14 +217,14 @@ function governingDir(cwd) {
|
|
|
217
217
|
async function testProofMode(cwd) {
|
|
218
218
|
const dir = governingDir(cwd);
|
|
219
219
|
if (dir === void 0) return "any";
|
|
220
|
-
const { testProofIn } = await import('./host-checks-
|
|
220
|
+
const { testProofIn } = await import('./host-checks-6TNHLTDH.js');
|
|
221
221
|
return testProofIn(dir);
|
|
222
222
|
}
|
|
223
223
|
async function judgeCheckName(cwd) {
|
|
224
224
|
const dir = governingDir(cwd);
|
|
225
225
|
if (dir === void 0) return {};
|
|
226
226
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
227
|
-
const { checksIn, isJudgeCheck } = await import('./host-checks-
|
|
227
|
+
const { checksIn, isJudgeCheck } = await import('./host-checks-6TNHLTDH.js');
|
|
228
228
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
229
229
|
const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
|
|
230
230
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -369,7 +369,7 @@ async function runWorkProofs(opts) {
|
|
|
369
369
|
async function runWorkProofsCommand(opts) {
|
|
370
370
|
try {
|
|
371
371
|
if (opts.record) {
|
|
372
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
372
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-FR44SMQS.js');
|
|
373
373
|
const result2 = await runWorkProofsRecord(opts);
|
|
374
374
|
process.exitCode = result2.exitCode;
|
|
375
375
|
return;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
3
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-5CWUKWYF.js';
|
|
4
4
|
import { existsSync, readFileSync, writeFileSync } from 'fs';
|
|
5
5
|
import { join, basename } from 'path';
|
|
6
6
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { CLAUDE_CODE_HOOKS } from './chunk-
|
|
4
|
-
import { CLAUDE_CODE, NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
3
|
+
import { CLAUDE_CODE_HOOKS } from './chunk-7EMXDWOU.js';
|
|
4
|
+
import { CLAUDE_CODE, NATIVE_AGENTS, LEGACY_AGENT } from './chunk-5CWUKWYF.js';
|
|
5
5
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
6
6
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
|
-
import { forkFor, RAW_MIRROR_SEGMENTS, WarningCollector, WARNING_CODES, isNewerThanSupported, bucketsFromTurns, costOfUsage } from './chunk-
|
|
8
|
+
import { forkFor, RAW_MIRROR_SEGMENTS, WarningCollector, WARNING_CODES, isNewerThanSupported, bucketsFromTurns, costOfUsage } from './chunk-FINJC6BS.js';
|
|
9
9
|
import { RESERVED_EMIT_NAMES, EVENT_TYPES, isHumanUserTurn, INPUT_BAND_BOUNDARIES, parseAgentSession, SCHEMA_VERSION, ARTIFACT_KINDS, ArtifactCriterionIdSchema, SPEED_MAX_LENGTH } from './chunk-WUKLQWGY.js';
|
|
10
10
|
import { __commonJS, __require, __toESM } from './chunk-Z5GEFMRW.js';
|
|
11
11
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, readdirSync, rmSync, renameSync, realpathSync, readlinkSync, symlinkSync, copyFileSync, statSync, accessSync, constants, lstatSync } from 'fs';
|
|
@@ -8684,7 +8684,12 @@ var KNOWN_UNMAPPED = /* @__PURE__ */ new Set([
|
|
|
8684
8684
|
"result",
|
|
8685
8685
|
"frame-link",
|
|
8686
8686
|
"diff-summary",
|
|
8687
|
-
"agent-name"
|
|
8687
|
+
"agent-name",
|
|
8688
|
+
"atis-latch",
|
|
8689
|
+
"artifact-comment-monitor",
|
|
8690
|
+
"cost-state",
|
|
8691
|
+
"api-request-shape",
|
|
8692
|
+
"fork-context-ref"
|
|
8688
8693
|
]);
|
|
8689
8694
|
function parseTranscript(content, opts, sha256) {
|
|
8690
8695
|
const warnings = new WarningCollector();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
5
|
-
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-
|
|
6
|
-
import { builderDiskPinned } from './chunk-
|
|
3
|
+
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-IBWQE36F.js';
|
|
4
|
+
import { parseSize } from './chunk-GRAZZMKU.js';
|
|
5
|
+
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-GABBBYMY.js';
|
|
6
|
+
import { builderDiskPinned } from './chunk-S2ZFRY23.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
8
|
import { existsSync, statSync, accessSync, constants, readFileSync } from 'fs';
|
|
9
9
|
import { hostname } from 'os';
|
|
@@ -98,19 +98,16 @@ function hostAllowed(host, allowHosts) {
|
|
|
98
98
|
|
|
99
99
|
// src/runner/config.ts
|
|
100
100
|
var BUILTIN_CONTAINER = "builtin:container";
|
|
101
|
-
var
|
|
101
|
+
var PROCESS_HOOK = "builtin:process";
|
|
102
102
|
var BUILTIN_VM = "builtin:vm";
|
|
103
103
|
function isBuiltinContainer(hook) {
|
|
104
104
|
return hook === BUILTIN_CONTAINER;
|
|
105
105
|
}
|
|
106
|
-
function isBuiltinProcess(hook) {
|
|
107
|
-
return hook === BUILTIN_PROCESS;
|
|
108
|
-
}
|
|
109
106
|
function isBuiltinVm(hook) {
|
|
110
107
|
return hook === BUILTIN_VM;
|
|
111
108
|
}
|
|
112
109
|
function builtinKind(hook) {
|
|
113
|
-
return isBuiltinContainer(hook) ? "container" :
|
|
110
|
+
return isBuiltinContainer(hook) ? "container" : isBuiltinVm(hook) ? "vm" : "own";
|
|
114
111
|
}
|
|
115
112
|
function runnerDeliversComments(config) {
|
|
116
113
|
if (config.deliverComments === false) return false;
|
|
@@ -276,7 +273,7 @@ function checkHooks(config, env = process.env) {
|
|
|
276
273
|
];
|
|
277
274
|
for (const [key, path] of named) {
|
|
278
275
|
if (path === void 0) continue;
|
|
279
|
-
if (isBuiltinContainer(path) ||
|
|
276
|
+
if (isBuiltinContainer(path) || isBuiltinVm(path)) continue;
|
|
280
277
|
if (path.includes("$") || path.startsWith("~")) {
|
|
281
278
|
return `${key}: ${path} \u2014 hooks are executable paths, not shell lines; $HOME and ~ are not expanded`;
|
|
282
279
|
}
|
|
@@ -423,14 +420,17 @@ function checkBuiltinHooks(configPath, hooks) {
|
|
|
423
420
|
const value = hooks[key];
|
|
424
421
|
if (value === void 0 || !value.startsWith("builtin:")) continue;
|
|
425
422
|
if (key === "report") fail(configPath, "runner.hooks.report", `cannot be ${value}: the report hook stays an executable`);
|
|
426
|
-
if (
|
|
427
|
-
fail(configPath, `runner.hooks.${key}`, `
|
|
423
|
+
if (value === PROCESS_HOOK) {
|
|
424
|
+
fail(configPath, `runner.hooks.${key}`, `is ${PROCESS_HOOK}, which is not supported: builds run isolated. Set both hooks to ${BUILTIN_CONTAINER} or ${BUILTIN_VM}, or remove the runner block and run \`outerlayer runner init\` again`);
|
|
425
|
+
}
|
|
426
|
+
if (!isBuiltinContainer(value) && !isBuiltinVm(value)) {
|
|
427
|
+
fail(configPath, `runner.hooks.${key}`, `names an unknown built-in hook "${value}"; the ones that exist are ${BUILTIN_CONTAINER} and ${BUILTIN_VM}`);
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
430
|
const provision = hooks.provision;
|
|
431
431
|
const cleanup = hooks.cleanup;
|
|
432
|
-
if (isBuiltinContainer(provision) !== isBuiltinContainer(cleanup) ||
|
|
433
|
-
fail(configPath, "runner.hooks", `provision and cleanup must both be ${BUILTIN_CONTAINER}, both be ${
|
|
432
|
+
if (isBuiltinContainer(provision) !== isBuiltinContainer(cleanup) || isBuiltinVm(provision) !== isBuiltinVm(cleanup)) {
|
|
433
|
+
fail(configPath, "runner.hooks", `provision and cleanup must both be ${BUILTIN_CONTAINER}, both be ${BUILTIN_VM}, or neither`);
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
436
|
function resolveHousekeeping(configPath, block, buildDisk) {
|
|
@@ -608,4 +608,4 @@ function egressLimitsOf(config) {
|
|
|
608
608
|
return resolveEgress(config.build?.egress, config.managed === true);
|
|
609
609
|
}
|
|
610
610
|
|
|
611
|
-
export { DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_SETUP_MINUTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, DEFAULT_WORKSPACE_KEEP_DAYS, EGRESS_SWITCHABLE_KEYS, MAX_ALLOW_HOSTS, RunnerConfigError, allowHostProblem, builtinKind, checkHooks, defaultRunnerConfigPath, egressSummary, emptyEgressCounts, hasRunnerBlock, hostAllowed, imageBuildOf, isBuiltinContainer,
|
|
611
|
+
export { DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_SETUP_MINUTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, DEFAULT_WORKSPACE_KEEP_DAYS, EGRESS_SWITCHABLE_KEYS, MAX_ALLOW_HOSTS, RunnerConfigError, allowHostProblem, builtinKind, checkHooks, defaultRunnerConfigPath, egressSummary, emptyEgressCounts, hasRunnerBlock, hostAllowed, imageBuildOf, isBuiltinContainer, isBuiltinVm, keepsHostBuilder, keyRunnerFactory, loadRunnerConfig, optionalEgress, resolveBuild, resolveHousekeeping, runnerCredentialProblem, runnerDeliversComments, runnerVmOf, systemClock };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { PROXY_WARNING_FLAG } from './chunk-
|
|
4
|
-
import { buildAgent, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, RELAY_ID, RELAY_USER, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-
|
|
5
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { PROXY_WARNING_FLAG } from './chunk-GABBBYMY.js';
|
|
4
|
+
import { buildAgent, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, RELAY_ID, RELAY_USER, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-S2ZFRY23.js';
|
|
5
|
+
import { defaultAgents } from './chunk-KWXWZ7JQ.js';
|
|
6
6
|
|
|
7
7
|
createRequire(import.meta.url);
|
|
8
8
|
|
|
@@ -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-GKLUGOTT.js';
|
|
4
4
|
import { readFileSync, existsSync, rmSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
|
4
|
-
import { runEmitArtifact } from './chunk-
|
|
4
|
+
import { runEmitArtifact } from './chunk-MFN4Z2N3.js';
|
|
5
5
|
import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
|
|
6
|
-
import { detectActiveSession } from './chunk-
|
|
7
|
-
import { autoConnect } from './chunk-
|
|
6
|
+
import { detectActiveSession } from './chunk-QAO6P5NP.js';
|
|
7
|
+
import { autoConnect } from './chunk-GVJJOWMM.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
9
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-43BQAGBO.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-4OD45RBP.js';
|
|
11
|
-
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-
|
|
11
|
+
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-S2ZFRY23.js';
|
|
12
12
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
13
|
-
import { resolveRepoIdentity } from './chunk-
|
|
13
|
+
import { resolveRepoIdentity } from './chunk-FINJC6BS.js';
|
|
14
14
|
import { ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, DEMO_RECORD_MEDIA_TYPE, ARTIFACT_MAX_REPLACES_TARGETS, DEMO_MANIFEST_LATEST_VERSION, DemoManifestSchema, ARTIFACT_KINDS } from './chunk-WUKLQWGY.js';
|
|
15
15
|
import { __commonJS, __require, __toESM } from './chunk-Z5GEFMRW.js';
|
|
16
16
|
import { createHash } from 'crypto';
|
|
@@ -1,17 +1,17 @@
|
|
|
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-56GSMSEY.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-WGC7UFRM.js';
|
|
5
|
-
import { detectActiveSession } from './chunk-
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { detectActiveSession } from './chunk-QAO6P5NP.js';
|
|
6
|
+
import { autoConnect } from './chunk-GVJJOWMM.js';
|
|
7
7
|
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-F3T5QJ24.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-43BQAGBO.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
12
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
12
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-5CWUKWYF.js';
|
|
13
13
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
-
import { resolveRepoIdentity } from './chunk-
|
|
14
|
+
import { resolveRepoIdentity } from './chunk-FINJC6BS.js';
|
|
15
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-WUKLQWGY.js';
|
|
16
16
|
import { createHash, randomUUID } from 'crypto';
|
|
17
17
|
import { statSync, readFileSync, mkdirSync, existsSync, writeFileSync, renameSync, unlinkSync } from 'fs';
|
|
@@ -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-L6B2SMPU.js';
|
|
4
|
+
import { orgHomeDir } from './chunk-GKLUGOTT.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { scrubReason, stripTerminalControls } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
5
|
-
import { RunnerAlreadyRunningError, readPidFile } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-SDH744XP.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-WANAUPPY.js';
|
|
5
|
+
import { RunnerAlreadyRunningError, readPidFile } from './chunk-FWF3NUSQ.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
7
|
-
import { keyRunnerFactory } from './chunk-
|
|
8
|
-
import { isSignatureRefusal, postJson } from './chunk-
|
|
9
|
-
import { signerFor } from './chunk-
|
|
10
|
-
import { pidFilePath } from './chunk-
|
|
7
|
+
import { keyRunnerFactory } from './chunk-L6B2SMPU.js';
|
|
8
|
+
import { isSignatureRefusal, postJson } from './chunk-5T3RSWK4.js';
|
|
9
|
+
import { signerFor } from './chunk-IW2UMW4Y.js';
|
|
10
|
+
import { pidFilePath } from './chunk-GKLUGOTT.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|
|
12
12
|
|
|
13
13
|
createRequire(import.meta.url);
|
|
@@ -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 { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-
|
|
5
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
6
|
-
import { isLinkedRepository } from './chunk-
|
|
3
|
+
import { checkStarterFiles, contextIsGoverned } from './chunk-2KQCJ4ZX.js';
|
|
4
|
+
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-22WUYT5N.js';
|
|
5
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-5T3RSWK4.js';
|
|
6
|
+
import { isLinkedRepository } from './chunk-3YHFHC4O.js';
|
|
7
7
|
import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { checkFormerSkillNames } from './chunk-
|
|
10
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
11
|
-
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-
|
|
12
|
-
import { readStatuslineState, STATE_FRESH_MS } from './chunk-
|
|
13
|
-
import { withInjectedPrograms } from './chunk-
|
|
14
|
-
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-
|
|
9
|
+
import { checkFormerSkillNames } from './chunk-YIMI43YP.js';
|
|
10
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-43BQAGBO.js';
|
|
11
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-GUMNDY3O.js';
|
|
12
|
+
import { readStatuslineState, STATE_FRESH_MS } from './chunk-DYWCQCVK.js';
|
|
13
|
+
import { withInjectedPrograms } from './chunk-HFGG3HOB.js';
|
|
14
|
+
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-MWSJVJHL.js';
|
|
15
15
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
16
16
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
17
|
-
import { installAgents, withSettingsText } from './chunk-
|
|
17
|
+
import { installAgents, withSettingsText } from './chunk-V5KFO6SC.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-KWXWZ7JQ.js';
|
|
22
22
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
23
|
-
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-
|
|
23
|
+
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-FINJC6BS.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';
|
|
@@ -1050,8 +1050,8 @@ function doctorExitCode(checks) {
|
|
|
1050
1050
|
|
|
1051
1051
|
// src/doctor-report.ts
|
|
1052
1052
|
async function gatherDoctorChecks() {
|
|
1053
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1054
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1053
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-N3G3OA6N.js');
|
|
1054
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-VSZZEUXH.js');
|
|
1055
1055
|
const configPath = defaultRunnerConfigPath();
|
|
1056
1056
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1057
1057
|
const hooks = (() => {
|
|
@@ -1079,7 +1079,7 @@ async function gatherDoctorChecks() {
|
|
|
1079
1079
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1080
1080
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1081
1081
|
} else if (hasRunnerBlock(configPath)) {
|
|
1082
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1082
|
+
const { runnerHostChecks } = await import('./doctor-3NCMD4WE.js');
|
|
1083
1083
|
const gateway = (() => {
|
|
1084
1084
|
try {
|
|
1085
1085
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1107,7 +1107,7 @@ async function gatherDoctorChecks() {
|
|
|
1107
1107
|
const service = await (async () => {
|
|
1108
1108
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1109
1109
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1110
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1110
|
+
const { inspectRunnerService } = await import('./find-unit-TQZWEQEM.js');
|
|
1111
1111
|
return inspectRunnerService(configPath);
|
|
1112
1112
|
})();
|
|
1113
1113
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { defaultAgents } from './chunk-KWXWZ7JQ.js';
|
|
4
4
|
import { openSync, fstatSync, readSync, closeSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { defaultAgents, agentById } from './chunk-
|
|
4
|
-
import { PROVIDERS, LEGACY_AGENT } from './chunk-
|
|
3
|
+
import { defaultAgents, agentById } from './chunk-KWXWZ7JQ.js';
|
|
4
|
+
import { PROVIDERS, LEGACY_AGENT } from './chunk-5CWUKWYF.js';
|
|
5
5
|
import { statSync, readFileSync } from 'fs';
|
|
6
6
|
import { join, dirname } from 'path';
|
|
7
7
|
import { spawn, spawnSync } from 'child_process';
|
|
@@ -479,7 +479,7 @@ function holdAgentCredentials(env = process.env, agents = defaultAgents()) {
|
|
|
479
479
|
return first === void 0 ? void 0 : heldCopies.get(first.descriptor.id);
|
|
480
480
|
}
|
|
481
481
|
function takeAgentCredentials(env, hooks, agents = defaultAgents()) {
|
|
482
|
-
return /^builtin:(container|
|
|
482
|
+
return /^builtin:(container|vm)$/.test(hooks.provision) ? holdAgentCredentials(env, agents) : void 0;
|
|
483
483
|
}
|
|
484
484
|
function removedAgentCredentialValues() {
|
|
485
485
|
return [...removedValues];
|
|
@@ -641,7 +641,7 @@ var UNKNOWN_TRANSPORT_REASON = "the runner cannot tell how this build reaches it
|
|
|
641
641
|
var COMMAND_LOST_REASON = "the build's command ended without recording an exit code";
|
|
642
642
|
var CONTAINER_STOPPED_REASON = "the build's container stopped while no runner was managing it";
|
|
643
643
|
var UNKNOWN_TRACKING_REASON = "the runner cannot tell how this build is tracked";
|
|
644
|
-
var DOCKER_DESKTOP_REASON = "Docker Desktop is accepted only for a runner in the runner image, so container builds here need Docker Engine: install it (on Windows, inside WSL2), run the runner image
|
|
644
|
+
var DOCKER_DESKTOP_REASON = "Docker Desktop is accepted only for a runner in the runner image, so container builds here need Docker Engine: install it (on Windows, inside WSL2), or run the runner image";
|
|
645
645
|
var RUNNER_WORDED_REASONS = /* @__PURE__ */ new Set([
|
|
646
646
|
MALFORMED_REASON,
|
|
647
647
|
UNKNOWN_TRANSPORT_REASON,
|