@outerlayer/cli 0.36.0-next.20261103181718 → 0.36.0
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/CHANGELOG.md +35 -0
- package/dist/{agent-setup-WV4Y2HGG.js → agent-setup-X7AYIYU2.js} +9 -9
- package/dist/{agent-subcommand-RQCLWP3A.js → agent-subcommand-54OWGFVV.js} +1 -1
- package/dist/{bridge-NFSJ4IBQ.js → bridge-QJNA3KV6.js} +4 -4
- package/dist/{build-RGO3EWJD.js → build-4R4PUGPT.js} +10 -10
- package/dist/{build-disk-NYYBJGBH.js → build-disk-LYHGWH4G.js} +8 -8
- package/dist/build-info.json +1 -1
- package/dist/{builder-HT3CV5ZZ.js → builder-ER6LUZBQ.js} +7 -7
- package/dist/{caller-D4ZZWA6I.js → caller-PCOQRDGJ.js} +10 -10
- package/dist/{check-4T4FDFLZ.js → check-27MDV3T5.js} +40 -40
- package/dist/{chunk-GTJLKBN7.js → chunk-2BTDFRRQ.js} +6 -6
- package/dist/{chunk-QN4ABLRK.js → chunk-2HOSCIV6.js} +1 -1
- package/dist/{chunk-CLFP2ZTG.js → chunk-2I654QYW.js} +2 -2
- package/dist/{chunk-4S564XTG.js → chunk-45AYMLMT.js} +1 -1
- package/dist/{chunk-2P532NZM.js → chunk-4HMOBW7H.js} +5 -5
- package/dist/{chunk-EZI2BLP6.js → chunk-4KYPJE3D.js} +3 -3
- package/dist/{chunk-NFYXRAEV.js → chunk-4YLF777T.js} +1 -1
- package/dist/{chunk-QLZXFKGO.js → chunk-5MN6VZZH.js} +3 -3
- package/dist/{chunk-7A2OPME2.js → chunk-6HMA3FIE.js} +2 -2
- package/dist/{chunk-CTBQN5KQ.js → chunk-6LPBK4XU.js} +5 -5
- package/dist/{chunk-POTMAJPJ.js → chunk-7HDI5CGG.js} +2 -2
- package/dist/{chunk-PL2AGLJF.js → chunk-7TZP5JBS.js} +2 -2
- package/dist/{chunk-F2UM3NDF.js → chunk-7V4ZEB2R.js} +4 -4
- package/dist/{chunk-J3SICPA2.js → chunk-AZXFZGHQ.js} +1 -1
- package/dist/{chunk-22JLORO6.js → chunk-B5BLIHJZ.js} +2 -2
- package/dist/{chunk-UD6I7QJJ.js → chunk-BOUW2CV6.js} +2 -2
- package/dist/{chunk-IRJ6EGQT.js → chunk-C4OYAXLQ.js} +7 -7
- package/dist/{chunk-RGSQHTO4.js → chunk-COPXXXNB.js} +2 -2
- package/dist/{chunk-ZKJGZQ63.js → chunk-D7TMGSZN.js} +3 -3
- package/dist/{chunk-HBYFB3LK.js → chunk-DDOD4YOQ.js} +1 -1
- package/dist/{chunk-RY5QFTXJ.js → chunk-DE64NSOH.js} +5 -5
- package/dist/{chunk-CMZTCXCA.js → chunk-DSZKDLFU.js} +1 -1
- package/dist/{chunk-DIL7U77P.js → chunk-EKDQDOSS.js} +1 -1
- package/dist/{chunk-AWPGPPXP.js → chunk-ENWGIREE.js} +4 -4
- package/dist/{chunk-WGLYAMVK.js → chunk-FDRQZALU.js} +1 -1
- package/dist/{chunk-WSZZKMXF.js → chunk-GAPNTRA5.js} +1 -1
- package/dist/{chunk-WTKCAALP.js → chunk-GNLAORSW.js} +3 -3
- package/dist/{chunk-UVKPDGLM.js → chunk-H5CWIV56.js} +5 -5
- package/dist/{chunk-ORBQ4QR7.js → chunk-IADJEW5P.js} +4 -4
- package/dist/{chunk-SWUPSLNV.js → chunk-K3GWZRRK.js} +7 -7
- package/dist/{chunk-WZ5YJJMP.js → chunk-KJ424QKG.js} +5 -5
- package/dist/{chunk-H4H3KK25.js → chunk-KQDTORGF.js} +1 -1
- package/dist/{chunk-SIVZITLG.js → chunk-KRTIYEJI.js} +1 -1
- package/dist/{chunk-KYDKOYZD.js → chunk-LIJMW36Q.js} +26 -27
- package/dist/{chunk-K52TGQLV.js → chunk-MLO33RMW.js} +9 -9
- package/dist/{chunk-CFHM562L.js → chunk-NDIV6GDC.js} +5 -3
- package/dist/{chunk-UT4SX57J.js → chunk-OHOATH4S.js} +3 -3
- package/dist/{chunk-YVRJDMDL.js → chunk-PCWNDYQO.js} +8 -8
- package/dist/{chunk-5HMIMWRD.js → chunk-PJ5GYGC6.js} +1 -1
- package/dist/{chunk-3JYR5R57.js → chunk-PUEIXGZ4.js} +1 -1
- package/dist/{chunk-63KUYXOH.js → chunk-PYPHE6FZ.js} +1 -1
- package/dist/{chunk-C6LAXUC7.js → chunk-QBDQ64QF.js} +2 -2
- package/dist/{chunk-63T2OTPO.js → chunk-QGUOCNQA.js} +2 -2
- package/dist/{chunk-2VWYPY62.js → chunk-R2DEJ5Q6.js} +3 -3
- package/dist/{chunk-PTHBJDWK.js → chunk-SRNHGJAV.js} +2 -2
- package/dist/{chunk-IKAGRGLY.js → chunk-T4J5VR7B.js} +1 -1
- package/dist/{chunk-R4LXONKC.js → chunk-UYXX33HA.js} +3 -3
- package/dist/{chunk-7WZNTLNB.js → chunk-W3ZKWZ6G.js} +1 -1
- package/dist/{chunk-SR6SXYM4.js → chunk-WRNDC7H7.js} +2 -2
- package/dist/{chunk-X2B7ILTH.js → chunk-WVZ6EKJ3.js} +2 -2
- package/dist/{chunk-6BGE2CZB.js → chunk-X7PK7QRY.js} +2 -2
- package/dist/{chunk-V227E7UX.js → chunk-XLCAYPLV.js} +1 -1
- package/dist/{chunk-XKM7KCUJ.js → chunk-Z27IIHHE.js} +28 -27
- package/dist/{claude-launcher-KQHWKYRL.js → claude-launcher-WJ5CVLJR.js} +1 -1
- package/dist/{cli-BM7CAJFW.js → cli-RCLYJFIL.js} +119 -119
- package/dist/{command-ZIVI5DQK.js → command-XGIJADGX.js} +35 -35
- package/dist/{config-W4OY2JNP.js → config-VHJI645L.js} +9 -9
- package/dist/{connect-cmd-2O2GGNAY.js → connect-cmd-CQNECBHI.js} +7 -7
- package/dist/{container-start-CRUUG57V.js → container-start-S5EL4HIH.js} +33 -33
- package/dist/{context-show-cmd-LAK6CYZT.js → context-show-cmd-XODQYX7H.js} +8 -8
- package/dist/{control-plane-launch-N7FFBGPD.js → control-plane-launch-KIJABWN4.js} +7 -7
- package/dist/{demo-record-cmd-335YZIXU.js → demo-record-cmd-QVK4YUIV.js} +5 -5
- package/dist/{demo-voice-cmd-LVODULO2.js → demo-voice-cmd-4BOI7UDQ.js} +13 -13
- package/dist/{docker-WDMFRVOX.js → docker-BP7AD65K.js} +7 -7
- package/dist/{doctor-3HKOYZTJ.js → doctor-TZIHEPIW.js} +35 -35
- package/dist/{emit-artifact-cmd-MLIPSYXP.js → emit-artifact-cmd-EGFKK4KF.js} +12 -12
- package/dist/{emit-criteria-cmd-JYG5LJEQ.js → emit-criteria-cmd-L2YRIRCQ.js} +9 -9
- package/dist/{emit-demo-cmd-LKB4OHJD.js → emit-demo-cmd-QHKUH4Y3.js} +13 -13
- package/dist/{emit-finding-cmd-YNLZSJEC.js → emit-finding-cmd-DCEGWYY4.js} +9 -9
- package/dist/{emit-result-cmd-EYEFXWVS.js → emit-result-cmd-WGBZUASN.js} +11 -11
- package/dist/{emit-step-cmd-YF5CGZ2H.js → emit-step-cmd-TFKMQZHD.js} +9 -9
- package/dist/{exec-client-T7XWSBJ3.js → exec-client-GW5ZI74B.js} +5 -5
- package/dist/find-unit-L2JIUL4D.js +24 -0
- package/dist/{findings-cmd-KBV2GQXJ.js → findings-cmd-QO7OMGM6.js} +9 -9
- package/dist/{fleet-readiness-JG3YAKT7.js → fleet-readiness-ZF4UUANH.js} +7 -7
- package/dist/{governing-source-VCD5NPMW.js → governing-source-JYK3VK23.js} +11 -11
- package/dist/{guest-init-SG5RDE4K.js → guest-init-FPRVOOK5.js} +6 -6
- package/dist/{hook-fast-QLCXXFMZ.js → hook-fast-WLRNPF5S.js} +1 -1
- package/dist/{host-checks-LQTHW3DN.js → host-checks-FEYDTZKZ.js} +31 -31
- package/dist/{pending-JOEXUNDC.js → host-key-WG4KPVLI.js} +5 -5
- package/dist/{image-tag-77FWBIYC.js → image-tag-GZW7HJBN.js} +5 -5
- package/dist/index.js +4 -4
- package/dist/{init-UFQQUI4Z.js → init-6FLEEVZY.js} +31 -31
- package/dist/{init-O33TLGUI.js → init-RSKNY7WL.js} +31 -31
- package/dist/{init-cmd-GCHZK7YQ.js → init-cmd-UD6QSHH2.js} +12 -12
- package/dist/{init-update-ZSTDH75N.js → init-update-N3WBXLGD.js} +10 -10
- package/dist/{install-cmd-BRURSBEH.js → install-cmd-GJNKXZN2.js} +7 -7
- package/dist/{logs-TRW3A55Z.js → logs-IMTZ733E.js} +4 -4
- package/dist/{loop-QHQTM25C.js → loop-VCH4UOQ4.js} +39 -39
- package/dist/{machine-VFZAHR6N.js → machine-ZU7XA2IC.js} +31 -31
- package/dist/{mcp-serve-cmd-JVLROUUU.js → mcp-serve-cmd-27QGBQGR.js} +6 -6
- package/dist/{paths-AOUMCMP3.js → paths-HV5GP5OV.js} +4 -4
- package/dist/{host-key-UEHE5JSK.js → pending-4PZIZNR5.js} +5 -5
- package/dist/{pidfile-5LPBPEGE.js → pidfile-P4DJ2C7S.js} +5 -5
- package/dist/{record-4RLFKQMG.js → record-UOVUKWPV.js} +5 -5
- package/dist/{relay-IYJ7JJLG.js → relay-JMCC6IJ4.js} +2 -2
- package/dist/{relay-protocol-MPZHNZYJ.js → relay-protocol-RR5JOWOO.js} +2 -2
- package/dist/{runner-agents-MWBL6LA7.js → runner-agents-RO4TU5N4.js} +1 -1
- package/dist/{runner-env-YTX4BAXF.js → runner-env-XX2NZOEJ.js} +11 -11
- package/dist/{runner-identity-4LMITADJ.js → runner-identity-HHW4UKYE.js} +7 -7
- package/dist/{runner-key-QTQRIW4N.js → runner-key-FNNAF36Q.js} +31 -31
- package/dist/{session-sender-YAM3GNFD.js → session-sender-4FS2GKAY.js} +12 -12
- package/dist/{spec-cmd-VE4XIZ6Z.js → spec-cmd-AAVXNWTV.js} +10 -10
- package/dist/{state-GBESQ6UB.js → state-IASJSAJV.js} +5 -5
- package/dist/{status-SNQVVDRU.js → status-FQ5AIDWL.js} +31 -31
- package/dist/{sync-cmd-BXV3EVTU.js → sync-cmd-K3V4D54W.js} +11 -11
- package/dist/{update-steps-ZR4RQB7J.js → update-steps-TR2A4Z6Q.js} +32 -32
- package/dist/{watch-FKHHEV3X.js → watch-SAMIKKQC.js} +11 -11
- package/dist/{work-claim-cmd-IVG4A3IZ.js → work-claim-cmd-PBW4QDJH.js} +15 -15
- package/dist/{work-cmd-HSMQMQDL.js → work-cmd-L23VUS4H.js} +9 -9
- package/dist/{work-comment-cmd-OHGGZASQ.js → work-comment-cmd-DRBGJAUD.js} +11 -11
- package/dist/{work-demo-cmd-TMMHK72J.js → work-demo-cmd-HT72ZB6K.js} +9 -9
- package/dist/{work-logs-cmd-GQCUPUKG.js → work-logs-cmd-VSWZHEUJ.js} +9 -9
- package/dist/{work-open-pr-cmd-XVXOXNIL.js → work-open-pr-cmd-DOMZJJC3.js} +10 -10
- package/dist/{work-pr-cmd-E75ZUOAD.js → work-pr-cmd-FC3AJ67Y.js} +9 -9
- package/dist/{work-proofs-cmd-LDMQ37OH.js → work-proofs-cmd-NINHCBZW.js} +10 -10
- package/dist/{work-proofs-record-VJG27HMI.js → work-proofs-record-7XH374TO.js} +16 -16
- package/dist/{work-stop-cmd-JSFV7AL2.js → work-stop-cmd-J5DXU4BV.js} +9 -9
- package/package.json +1 -1
- package/dist/find-unit-X5LYKUQX.js +0 -24
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { writeFleetState } from './chunk-
|
|
4
|
-
import { writePendingUpdate } from './chunk-
|
|
5
|
-
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-
|
|
3
|
+
import { writeFleetState } from './chunk-GAPNTRA5.js';
|
|
4
|
+
import { writePendingUpdate } from './chunk-PUEIXGZ4.js';
|
|
5
|
+
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-FDRQZALU.js';
|
|
6
6
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
7
7
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
8
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
9
|
-
import { renderUpdateSteps } from './chunk-
|
|
8
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-C4OYAXLQ.js';
|
|
9
|
+
import { renderUpdateSteps } from './chunk-D7TMGSZN.js';
|
|
10
10
|
import { RUNNER_PROTOCOL } from './chunk-IDYLPN4X.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, 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-
|
|
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-PCWNDYQO.js';
|
|
12
|
+
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-W3ZKWZ6G.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-LIJMW36Q.js';
|
|
14
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-KJ424QKG.js';
|
|
15
|
+
import { RepoFilter } from './chunk-4HMOBW7H.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-T4J5VR7B.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-7TZP5JBS.js';
|
|
20
|
+
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-KQDTORGF.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, 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, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } 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, JOB_MOUNT } from './chunk-
|
|
30
|
-
import { COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-
|
|
31
|
-
import { jobCommandEnv, runnerAgents } from './chunk-
|
|
22
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-H5CWIV56.js';
|
|
23
|
+
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-DE64NSOH.js';
|
|
24
|
+
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-7V4ZEB2R.js';
|
|
25
|
+
import { allocatedBytes, freeBytes, formatBytes } from './chunk-BOUW2CV6.js';
|
|
26
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-2BTDFRRQ.js';
|
|
27
|
+
import { loadHostKey, ensureHostKey, signerFor } from './chunk-EKDQDOSS.js';
|
|
28
|
+
import { RUNNER_DIR_MODE, runnerDir, buildDir, attemptStamp, jobDir, RUNNER_FILE_MODE, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-PYPHE6FZ.js';
|
|
29
|
+
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-B5BLIHJZ.js';
|
|
30
|
+
import { COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-DDOD4YOQ.js';
|
|
31
|
+
import { jobCommandEnv, runnerAgents } from './chunk-NDIV6GDC.js';
|
|
32
32
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
33
33
|
import { mkdirSync, existsSync, chmodSync, writeFileSync, renameSync, statSync, readdirSync, readFileSync, rmSync, closeSync } from 'fs';
|
|
34
34
|
import { join, dirname } from 'path';
|
|
@@ -2205,7 +2205,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
2205
2205
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
2206
2206
|
);
|
|
2207
2207
|
async function tryClaimAndStart(state, item, queue) {
|
|
2208
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
2208
|
+
const { postJson: postJson2 } = await import('./work-cmd-L23VUS4H.js');
|
|
2209
2209
|
const log = logOf(state);
|
|
2210
2210
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
2211
2211
|
const claim = await retrySend(
|
|
@@ -2803,8 +2803,9 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
2803
2803
|
}
|
|
2804
2804
|
} else {
|
|
2805
2805
|
const build = job.build;
|
|
2806
|
-
const
|
|
2807
|
-
|
|
2806
|
+
const hostEnv = 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);
|
|
2807
|
+
const agentEnv = { ...commandEnv, ...hostEnv };
|
|
2808
|
+
running = build.exec === void 0 ? runCommand(cmdline, agentEnv, workdir, join(dirPath, "command.log"), state.deps.spawnFn) : runCommand(execCommandLine(build.exec, workdir, cmdline), agentEnv, dirPath, join(dirPath, "command.log"), state.deps.spawnFn);
|
|
2808
2809
|
}
|
|
2809
2810
|
} catch (err) {
|
|
2810
2811
|
log.error(`${tag} command could not start: ${describeCallFailure(err)} \xB7 ending job as failed`);
|
|
@@ -3558,7 +3559,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
3558
3559
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
3559
3560
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
3560
3561
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
3561
|
-
return (await import('./check-
|
|
3562
|
+
return (await import('./check-27MDV3T5.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
3562
3563
|
},
|
|
3563
3564
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
3564
3565
|
log
|
|
@@ -325,7 +325,7 @@ async function runAgentLauncher(agentId, args, deps = {}) {
|
|
|
325
325
|
return 1;
|
|
326
326
|
}
|
|
327
327
|
} else {
|
|
328
|
-
const { resolveLaunchPlane } = await import('./control-plane-launch-
|
|
328
|
+
const { resolveLaunchPlane } = await import('./control-plane-launch-KIJABWN4.js');
|
|
329
329
|
const plane = env[GOVERNANCE_VARIABLE] === "self" ? { kind: "none" } : await resolveLaunchPlane({ cwd, env, home, fetchImpl: deps.fetchImpl, stderr });
|
|
330
330
|
if (plane.kind === "none") {
|
|
331
331
|
const own2 = ownSkillsDirFor(prefix, cwd, home, /* @__PURE__ */ new Set(), stderr);
|