@outerlayer/cli 0.38.0-next.20261111004457 → 0.38.0-next.20261111024231
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 +8 -0
- package/dist/{agent-setup-OU7CGYSN.js → agent-setup-T2VITZUY.js} +9 -9
- package/dist/{agent-subcommand-GG4PSHYT.js → agent-subcommand-KV3JO5YD.js} +1 -1
- package/dist/{bridge-MVW5RNQD.js → bridge-7MCKZXCR.js} +4 -4
- package/dist/{build-D4Y3LBPO.js → build-N2MRLYFW.js} +10 -10
- package/dist/{build-disk-VDMWH3C3.js → build-disk-IJZYZ2K5.js} +8 -8
- package/dist/build-info.json +1 -1
- package/dist/{builder-6L5ZMXBE.js → builder-ATKIRCDJ.js} +7 -7
- package/dist/{caller-FFSXVMLB.js → caller-OWXJDYPI.js} +10 -10
- package/dist/{check-U5DOQU64.js → check-F7RN65GG.js} +40 -40
- package/dist/{chunk-IWJFARST.js → chunk-2FUJ5PSV.js} +1 -1
- package/dist/{chunk-EKV7QATX.js → chunk-2PRDLE4L.js} +1 -1
- package/dist/{chunk-IZHI643L.js → chunk-3VEPVZV4.js} +5 -5
- package/dist/{chunk-3IL6H7A4.js → chunk-4HUYH65P.js} +1 -1
- package/dist/{chunk-4S6ML2YX.js → chunk-4YAFIOIV.js} +17 -2
- package/dist/{chunk-GELUV567.js → chunk-5NJ367OD.js} +2 -2
- package/dist/{chunk-R6UNNKV3.js → chunk-64ROJ5LD.js} +1 -1
- package/dist/{chunk-5U4IKVF5.js → chunk-6T2X2JI6.js} +3 -3
- package/dist/{chunk-7ILAGC3U.js → chunk-6U3UTAWQ.js} +1 -1
- package/dist/{chunk-WVJDXOIG.js → chunk-7G2HRTSG.js} +3 -3
- package/dist/{chunk-2PYQ6BZJ.js → chunk-7HYXJVU6.js} +1 -1
- package/dist/{chunk-X7BVDOS2.js → chunk-7LWASV77.js} +3 -3
- package/dist/{chunk-MX5XVAOI.js → chunk-7U43B2UB.js} +1 -1
- package/dist/{chunk-JASHMKDN.js → chunk-AB4GMYIH.js} +1 -1
- package/dist/{chunk-NBJPY3OC.js → chunk-ASCXEXYJ.js} +5 -5
- package/dist/{chunk-UF3X5ECJ.js → chunk-BY2YRJSC.js} +2 -2
- package/dist/{chunk-U43K2JS5.js → chunk-ECMQNH2H.js} +2 -2
- package/dist/{chunk-YWQ3S3F5.js → chunk-EWGHEMEO.js} +2 -2
- package/dist/{chunk-F5ONFHHU.js → chunk-FB2UT5XA.js} +31 -27
- package/dist/{chunk-BZSGU2WC.js → chunk-FT5NDSSG.js} +4 -4
- package/dist/{chunk-MV5WJEIB.js → chunk-GGKXYHT5.js} +2 -2
- package/dist/{chunk-7NRULS6C.js → chunk-GPP5EZV7.js} +3 -3
- package/dist/{chunk-2ZPXDOCU.js → chunk-I5C667TJ.js} +9 -9
- package/dist/{chunk-QB5MU2WS.js → chunk-IB2UHXZ7.js} +2 -2
- package/dist/{chunk-EN3OWMED.js → chunk-ICW75TS5.js} +4 -4
- package/dist/{chunk-CKA4JQKR.js → chunk-IEX5FXEU.js} +2 -2
- package/dist/{chunk-OZDUVL5L.js → chunk-JPAO6HRN.js} +2 -2
- package/dist/{chunk-DDEJP7YT.js → chunk-K6KUWUUT.js} +1 -1
- package/dist/{chunk-JNEK36QK.js → chunk-KGJAYD7F.js} +1239 -1100
- package/dist/{chunk-OWBNADRQ.js → chunk-KM2IMFAG.js} +1 -1
- package/dist/{chunk-3AHABZMA.js → chunk-LXREVZX7.js} +2 -2
- package/dist/{chunk-A6CCWLUP.js → chunk-M5DYOU5G.js} +3 -3
- package/dist/{chunk-YE3KPAT5.js → chunk-MPF7CVQM.js} +1 -1
- package/dist/{chunk-W5OAKC2W.js → chunk-NC6HUEMI.js} +9 -9
- package/dist/{chunk-P5XX7VZ6.js → chunk-NWSKP5VI.js} +2 -2
- package/dist/{chunk-4JKCTCCC.js → chunk-O53PVAUY.js} +4 -4
- package/dist/{chunk-D7OVS2LL.js → chunk-OBSWWJJ3.js} +1 -1
- package/dist/{chunk-ONZNFKCH.js → chunk-OBXRHBOM.js} +2 -2
- package/dist/{chunk-JP5D37RZ.js → chunk-PP7MPUX7.js} +3 -3
- package/dist/{chunk-JPO6RJEW.js → chunk-QM3M7QN3.js} +1 -1
- package/dist/{chunk-JRM35NTG.js → chunk-R35KRBTS.js} +5 -5
- package/dist/{chunk-NIQXLC6A.js → chunk-R7BS36HP.js} +1 -1
- package/dist/{chunk-J3KW7GPE.js → chunk-REZNW2YV.js} +6 -6
- package/dist/{chunk-LNTNFSRI.js → chunk-RPIYENP2.js} +2 -2
- package/dist/{chunk-6Z5AC4ZK.js → chunk-T5CN56UE.js} +1 -1
- package/dist/{chunk-WWGXWKLT.js → chunk-U5YHNSSI.js} +5 -5
- package/dist/{chunk-DNCF3XOC.js → chunk-W2H6JURI.js} +3 -3
- package/dist/{chunk-BYWVHMBR.js → chunk-XMIL73Y2.js} +1 -1
- package/dist/{chunk-JDXYBQBZ.js → chunk-XSVZFWZ4.js} +7 -7
- package/dist/{chunk-ZNQRFRBW.js → chunk-YFMVZBLO.js} +5 -5
- package/dist/{chunk-NCPZP6PQ.js → chunk-YFQIK6LZ.js} +7 -7
- package/dist/{chunk-5TODASD5.js → chunk-YI2XPK7A.js} +1 -1
- package/dist/{chunk-RI37FFPL.js → chunk-ZGCIFD5Y.js} +2 -2
- package/dist/{claude-launcher-GNRTFQMI.js → claude-launcher-ZC664P33.js} +1 -1
- package/dist/{cli-SNHD2D6X.js → cli-XWXX6PJD.js} +130 -130
- package/dist/{command-NTKAT7KB.js → command-D656K4AE.js} +35 -35
- package/dist/{config-LUIWZESD.js → config-U2OR7MQW.js} +9 -9
- package/dist/{connect-cmd-4M4DN6GO.js → connect-cmd-73BBTTU5.js} +7 -7
- package/dist/{container-start-BVEDUA7N.js → container-start-JFJYC4GQ.js} +33 -33
- package/dist/{context-show-cmd-DAMQJOAL.js → context-show-cmd-ETWKBHXZ.js} +8 -8
- package/dist/{control-plane-launch-SD45JYKF.js → control-plane-launch-JOH7FS5U.js} +7 -7
- package/dist/{demo-record-cmd-CFOXCR42.js → demo-record-cmd-GBHPIYJA.js} +5 -5
- package/dist/{demo-voice-cmd-4YZJPUIP.js → demo-voice-cmd-GUYFA2NG.js} +13 -13
- package/dist/{docker-2DLKQOK3.js → docker-RC4CFNKI.js} +7 -7
- package/dist/{doctor-VFCDAKM4.js → doctor-TW6VREAT.js} +35 -35
- package/dist/{emit-artifact-cmd-IWZDXJBY.js → emit-artifact-cmd-CQLCPM4R.js} +12 -12
- package/dist/{emit-criteria-cmd-UVCLLYEZ.js → emit-criteria-cmd-VM7AO3E3.js} +9 -9
- package/dist/{emit-demo-cmd-BHKNT36Y.js → emit-demo-cmd-3NSODQTO.js} +13 -13
- package/dist/{emit-finding-cmd-Y3XX26B4.js → emit-finding-cmd-4CRLSMOK.js} +9 -9
- package/dist/{emit-result-cmd-TTQ3MLY4.js → emit-result-cmd-GM43QMCM.js} +11 -11
- package/dist/{emit-step-cmd-EASDIM5Q.js → emit-step-cmd-J7KS2QXL.js} +9 -9
- package/dist/{exec-client-MEIRWXLR.js → exec-client-DY7673SD.js} +5 -5
- package/dist/find-unit-ZVHHFTL2.js +24 -0
- package/dist/{findings-cmd-KQOL6NJG.js → findings-cmd-25F44AB4.js} +9 -9
- package/dist/{fleet-readiness-R2BMWLXQ.js → fleet-readiness-Z4C6W7XN.js} +7 -7
- package/dist/{governing-source-ARSS7R7L.js → governing-source-IURJZXUR.js} +11 -11
- package/dist/{guest-init-UGBFOWNC.js → guest-init-4B5MMXIQ.js} +6 -6
- package/dist/{hook-fast-DC556GE2.js → hook-fast-LB3VTEIW.js} +1 -1
- package/dist/{host-checks-UTZBDSWV.js → host-checks-AQTZ7IKK.js} +31 -31
- package/dist/{pending-COVCIH4Q.js → host-key-ZWMN7VIH.js} +5 -5
- package/dist/{image-tag-RU4RHPIT.js → image-tag-4DKLSTO6.js} +5 -5
- package/dist/index.js +4 -4
- package/dist/{init-I5HVGOQC.js → init-P2PDGLTU.js} +31 -31
- package/dist/{init-QFTRSBBT.js → init-XYFDIEOA.js} +31 -31
- package/dist/{init-agent-TKQ67BS4.js → init-agent-EGNFBPM5.js} +31 -31
- package/dist/{init-cmd-I36LJ6YC.js → init-cmd-C2I22ZJA.js} +12 -12
- package/dist/{init-update-KG7V3VJF.js → init-update-H4LSR7H4.js} +10 -10
- package/dist/{install-cmd-66Z7TY52.js → install-cmd-BI4C3MGF.js} +7 -7
- package/dist/{logs-XWMVEAUP.js → logs-7DD6J3M6.js} +4 -4
- package/dist/{loop-YCOSJRLW.js → loop-KEGBBAV4.js} +39 -39
- package/dist/{machine-BJEAYCHT.js → machine-JK27TGT6.js} +31 -31
- package/dist/{mcp-serve-cmd-M7CX4RO3.js → mcp-serve-cmd-HK2ODMHU.js} +6 -6
- package/dist/{paths-GQ66KHNT.js → paths-EHWU5QWB.js} +4 -4
- package/dist/{host-key-CTRFLP2W.js → pending-K4A23JIC.js} +5 -5
- package/dist/{pidfile-RBG6FQ7K.js → pidfile-PG3L2CVV.js} +5 -5
- package/dist/{record-6IAZ26H3.js → record-PXCRTDQU.js} +5 -5
- package/dist/{relay-VEBGGPYV.js → relay-2MJY25BV.js} +2 -2
- package/dist/{relay-protocol-2AJCUAMJ.js → relay-protocol-VBCRA347.js} +2 -2
- package/dist/{run-cmd-EJPHCENL.js → run-cmd-F7ANZPSX.js} +9 -9
- package/dist/{runner-agents-P562WZJB.js → runner-agents-HZ5FIFPU.js} +1 -1
- package/dist/{runner-env-XPZ3FPQL.js → runner-env-5AM2XYEN.js} +11 -11
- package/dist/{runner-identity-TAJAY5M5.js → runner-identity-CL2KMFGC.js} +7 -7
- package/dist/{runner-key-I3M7GEJE.js → runner-key-CJ66VZE3.js} +31 -31
- package/dist/{session-sender-OIOE4QR2.js → session-sender-RSAHCLL6.js} +12 -12
- package/dist/{spec-cmd-2J43XP3L.js → spec-cmd-ED6DKB54.js} +10 -10
- package/dist/{state-NAZKB77R.js → state-MV53BATE.js} +5 -5
- package/dist/{status-BFRDAZQP.js → status-CZTCYZLU.js} +31 -31
- package/dist/{sync-cmd-KWTFVQCR.js → sync-cmd-PQZD77PE.js} +11 -11
- package/dist/{update-steps-LINCNPGV.js → update-steps-DCFEKNW2.js} +32 -32
- package/dist/{watch-3IBFF2SQ.js → watch-FAQXAAUA.js} +11 -11
- package/dist/{work-claim-cmd-C2WFSOKE.js → work-claim-cmd-XPXHRV74.js} +15 -15
- package/dist/{work-cmd-DO2QNBKA.js → work-cmd-ME7DWBI6.js} +9 -9
- package/dist/{work-comment-cmd-P5VJHCX7.js → work-comment-cmd-ZT4O56QR.js} +11 -11
- package/dist/{work-demo-cmd-UJBZLOMQ.js → work-demo-cmd-YV22MZXG.js} +9 -9
- package/dist/{work-logs-cmd-OVE5JUMH.js → work-logs-cmd-LUK7THB2.js} +9 -9
- package/dist/{work-needs-attention-cmd-QNCOUXMT.js → work-needs-attention-cmd-KTLWMBJV.js} +9 -9
- package/dist/{work-no-change-cmd-KQSONMJX.js → work-no-change-cmd-TWGW5ZOO.js} +9 -9
- package/dist/{work-open-pr-cmd-HBE74CZU.js → work-open-pr-cmd-VEM5MEUS.js} +10 -10
- package/dist/{work-pr-cmd-62BGKUJM.js → work-pr-cmd-M4G35ZIV.js} +9 -9
- package/dist/{work-proofs-cmd-SLUFPOEN.js → work-proofs-cmd-7EZ4QZUR.js} +10 -10
- package/dist/{work-proofs-record-6KGPMUHD.js → work-proofs-record-AY72YKNC.js} +16 -16
- package/dist/{work-stop-cmd-7WEHA365.js → work-stop-cmd-FX5QTUYJ.js} +9 -9
- package/package.json +1 -1
- package/dist/find-unit-2RZ4NCXQ.js +0 -24
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
4
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
4
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-XSVZFWZ4.js';
|
|
5
5
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
6
|
-
import { writeFleetState } from './chunk-
|
|
7
|
-
import { writePendingUpdate } from './chunk-
|
|
8
|
-
import { renderUpdateSteps } from './chunk-
|
|
9
|
-
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-
|
|
10
|
-
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-
|
|
11
|
-
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-
|
|
12
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runIsolation, runCommandOf, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, recordsProofsOnly, 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, vmAlive, filesAreCopied, listItemDisks, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, deliverJobFiles, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, inTeardown } from './chunk-
|
|
6
|
+
import { writeFleetState } from './chunk-QM3M7QN3.js';
|
|
7
|
+
import { writePendingUpdate } from './chunk-MPF7CVQM.js';
|
|
8
|
+
import { renderUpdateSteps } from './chunk-7G2HRTSG.js';
|
|
9
|
+
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-XMIL73Y2.js';
|
|
10
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-NC6HUEMI.js';
|
|
11
|
+
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-4HUYH65P.js';
|
|
12
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runIsolation, runCommandOf, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, recordsProofsOnly, 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, vmAlive, filesAreCopied, listItemDisks, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, deliverJobFiles, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, inTeardown } from './chunk-KGJAYD7F.js';
|
|
13
13
|
import { RUNNER_PROTOCOL } from './chunk-6XMC6R4W.js';
|
|
14
|
-
import { RUNNER_RESERVE_BYTES } from './chunk-
|
|
15
|
-
import { RepoFilter } from './chunk-
|
|
14
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-3VEPVZV4.js';
|
|
15
|
+
import { RepoFilter } from './chunk-U5YHNSSI.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-64ROJ5LD.js';
|
|
18
18
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
19
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, configForJob } from './chunk-
|
|
20
|
-
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-
|
|
19
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, configForJob } from './chunk-JPAO6HRN.js';
|
|
20
|
+
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-6U3UTAWQ.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, getBytes } from './chunk-
|
|
24
|
-
import { keyRunnerFactory, isBuiltinSandbox, 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, 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 { cleanAttachmentName } from './chunk-
|
|
32
|
-
import { jobAgent, jobCommandEnv, runnerAgents } from './chunk-
|
|
22
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-R35KRBTS.js';
|
|
23
|
+
import { isSignatureRefusal, WorkCommandError, getJson, postJson, getBytes } from './chunk-YFMVZBLO.js';
|
|
24
|
+
import { keyRunnerFactory, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-O53PVAUY.js';
|
|
25
|
+
import { allocatedBytes, freeBytes, formatBytes } from './chunk-GGKXYHT5.js';
|
|
26
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-REZNW2YV.js';
|
|
27
|
+
import { loadHostKey, ensureHostKey, signerFor } from './chunk-KM2IMFAG.js';
|
|
28
|
+
import { RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-T5CN56UE.js';
|
|
29
|
+
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-4YAFIOIV.js';
|
|
30
|
+
import { jobCredentialProblem, COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-7U43B2UB.js';
|
|
31
|
+
import { cleanAttachmentName } from './chunk-OBSWWJJ3.js';
|
|
32
|
+
import { jobAgent, jobCommandEnv, runnerAgents } from './chunk-IEX5FXEU.js';
|
|
33
33
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
34
34
|
import { mkdirSync, existsSync, writeFileSync, chmodSync, renameSync, statSync, readdirSync, readFileSync, rmSync, closeSync } from 'fs';
|
|
35
35
|
import { join, dirname } from 'path';
|
|
@@ -2353,6 +2353,7 @@ async function housekeepingPass(state) {
|
|
|
2353
2353
|
itemStates: (ids) => askItemStates(state.config, state.deps.fetchImpl, ids),
|
|
2354
2354
|
removeHostBuilder: !own && !hostBuilder,
|
|
2355
2355
|
docker,
|
|
2356
|
+
...own ? { removeSnapshot: (name) => runtimeOf(state).sandbox.client().removeSnapshot(name) } : {},
|
|
2356
2357
|
now: state.deps.now ?? (() => /* @__PURE__ */ new Date()),
|
|
2357
2358
|
log: logOf(state)
|
|
2358
2359
|
});
|
|
@@ -2515,7 +2516,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
2515
2516
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
2516
2517
|
);
|
|
2517
2518
|
async function tryClaimAndStart(state, item, queue) {
|
|
2518
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
2519
|
+
const { postJson: postJson2 } = await import('./work-cmd-ME7DWBI6.js');
|
|
2519
2520
|
const log = logOf(state);
|
|
2520
2521
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
2521
2522
|
const claim = await retrySend(
|
|
@@ -2705,7 +2706,7 @@ async function prepareSession(state, active, item, queue, tag) {
|
|
|
2705
2706
|
const job = active.job;
|
|
2706
2707
|
const builtin = job.microvm !== void 0 || job.container !== void 0;
|
|
2707
2708
|
const log = logOf(state);
|
|
2708
|
-
if (queue === "amend" && !builtin) {
|
|
2709
|
+
if (queue === "amend" && !builtin && job.sandbox === void 0) {
|
|
2709
2710
|
job.disk = { restored: false, reason: "build_type_cannot_restore" };
|
|
2710
2711
|
writeJobFile(join(active.dirPath, "job.json"), job);
|
|
2711
2712
|
}
|
|
@@ -2912,6 +2913,8 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
2912
2913
|
runtime: runtimeOf(state),
|
|
2913
2914
|
queue,
|
|
2914
2915
|
...queue === "run" ? {} : { workItemId: item.id },
|
|
2916
|
+
...freshDisk ? { fresh: true } : {},
|
|
2917
|
+
...diskHeldElsewhere ? { diskHeldElsewhere: true } : {},
|
|
2915
2918
|
item,
|
|
2916
2919
|
itemKey,
|
|
2917
2920
|
tokens,
|
|
@@ -2942,6 +2945,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
2942
2945
|
workdir = provisioned.workdir;
|
|
2943
2946
|
active.job.sandbox = provisioned.state;
|
|
2944
2947
|
active.job.environment = provisioned.environment;
|
|
2948
|
+
active.job.disk = provisioned.disk;
|
|
2945
2949
|
installCommitHooks(active.job, log, tag);
|
|
2946
2950
|
const hooksDelivered = await deliverSandboxHooks(runtimeOf(state), provisioned.state, dirPath);
|
|
2947
2951
|
if (!hooksDelivered.ok) {
|
|
@@ -3998,7 +4002,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
3998
4002
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
3999
4003
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
4000
4004
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
4001
|
-
return (await import('./check-
|
|
4005
|
+
return (await import('./check-F7RN65GG.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
4002
4006
|
},
|
|
4003
4007
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
4004
4008
|
log
|
|
@@ -1,14 +1,14 @@
|
|
|
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-M5DYOU5G.js';
|
|
5
5
|
import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
|
|
6
6
|
import { detectActiveSession } from './chunk-2HLMGVK6.js';
|
|
7
|
-
import { autoConnect } from './chunk-
|
|
7
|
+
import { autoConnect } from './chunk-ECMQNH2H.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
9
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-R7BS36HP.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
11
|
-
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-
|
|
11
|
+
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-IEX5FXEU.js';
|
|
12
12
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
13
13
|
import { resolveRepoIdentity } from './chunk-E5G6K7C4.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-NEXKR5RR.js';
|
|
@@ -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-REZNW2YV.js';
|
|
4
|
+
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-T5CN56UE.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,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-
|
|
3
|
+
import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-YFMVZBLO.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-2HLMGVK6.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-QHYCF36K.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
8
|
-
import { logHookError } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-R7BS36HP.js';
|
|
8
|
+
import { logHookError } from './chunk-OBSWWJJ3.js';
|
|
9
9
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { checkStarterFiles, contextIsGoverned } from './chunk-OUKSF3LK.js';
|
|
4
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
5
|
-
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-YFMVZBLO.js';
|
|
5
|
+
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-K6KUWUUT.js';
|
|
6
6
|
import { withInjectedPrograms } from './chunk-J4DTF5MN.js';
|
|
7
|
-
import { isLinkedRepository } from './chunk-
|
|
7
|
+
import { isLinkedRepository } from './chunk-AB4GMYIH.js';
|
|
8
8
|
import { sanitizeTerminal } from './chunk-QHYCF36K.js';
|
|
9
9
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
10
10
|
import { checkFormerSkillNames } from './chunk-2KUFDLLY.js';
|
|
11
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
12
|
-
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-
|
|
11
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-R7BS36HP.js';
|
|
12
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-OBSWWJJ3.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';
|
|
@@ -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-IJZYZ2K5.js');
|
|
1055
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-U2OR7MQW.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-TW6VREAT.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-ZVHHFTL2.js');
|
|
1112
1112
|
return inspectRunnerService(configPath);
|
|
1113
1113
|
})();
|
|
1114
1114
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -3,10 +3,10 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { runEmit } from './chunk-7GYY7RHR.js';
|
|
4
4
|
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-HWXBOHEA.js';
|
|
5
5
|
import { installStarterPack } from './chunk-OVJSVC5U.js';
|
|
6
|
-
import { listWithAnd } from './chunk-
|
|
6
|
+
import { listWithAnd } from './chunk-AB4GMYIH.js';
|
|
7
7
|
import { AGENTS_MD_LAYOUT, mcpFiles, declareAgentsMdLayout, linkAgentSkills, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-PG33WPRF.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGitCommonDir, defaultGitRunner } from './chunk-
|
|
9
|
+
import { resolveGitCommonDir, defaultGitRunner } from './chunk-LXREVZX7.js';
|
|
10
10
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
11
11
|
import { linkedAgentsPath } from './chunk-CSFMIUYS.js';
|
|
12
12
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
3
|
+
import { DEFAULT_UNIT_NAME } from './chunk-3VEPVZV4.js';
|
|
4
|
+
import { RUNNER_FILE_MODE } from './chunk-T5CN56UE.js';
|
|
5
|
+
import { parseRunnerEnv, withoutCredentialLines } from './chunk-7U43B2UB.js';
|
|
6
|
+
import { headlessNames, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialEnvPath, forwardedVariables } from './chunk-IEX5FXEU.js';
|
|
7
7
|
import { defaultAgents } from './chunk-G2CRPYFO.js';
|
|
8
8
|
import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
|
|
9
9
|
import { join, dirname } from 'path';
|
|
@@ -139,8 +139,8 @@ var PLAYWRIGHT_FFMPEG = {
|
|
|
139
139
|
};
|
|
140
140
|
var MEDIA_PINS = `${VOICE_PACK_VERSION}+${FFMPEG_BUILD_TAG}+${HEADLESS_SHELL_VERSION}+${PLAYWRIGHT_FFMPEG_REVISION}`;
|
|
141
141
|
var UNIVERSAL_IMAGE_REPOSITORY = "ghcr.io/outerlayerai/universal";
|
|
142
|
-
var UNIVERSAL_IMAGE_SOURCE = "src-
|
|
143
|
-
var UNIVERSAL_IMAGE_DIGEST = "sha256:
|
|
142
|
+
var UNIVERSAL_IMAGE_SOURCE = "src-a32a6ce350ceefbbd980605dbf834278341ef751a233a0728b0e99f85f2ce038";
|
|
143
|
+
var UNIVERSAL_IMAGE_DIGEST = "sha256:b5d20b7e7c23bf6b4a702e9f0ca1420cecffe46df3abc9013dba916447cfb6ad";
|
|
144
144
|
var UNIVERSAL_IMAGE = `${UNIVERSAL_IMAGE_REPOSITORY}:${UNIVERSAL_IMAGE_SOURCE}@${UNIVERSAL_IMAGE_DIGEST}`;
|
|
145
145
|
function universalImagePinned(digest = UNIVERSAL_IMAGE_DIGEST) {
|
|
146
146
|
return digest !== `sha256:${"0".repeat(64)}`;
|
|
@@ -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-O53PVAUY.js';
|
|
4
|
+
import { orgHomeDir } from './chunk-T5CN56UE.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-QHYCF36K.js';
|
|
4
4
|
import { isAgentsMdLayout } from './chunk-PG33WPRF.js';
|
|
5
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
5
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-R7BS36HP.js';
|
|
6
6
|
import { versionAtLeast } from './chunk-SF2TBJBP.js';
|
|
7
7
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
8
8
|
import { machineSkillsState, staleAgentSkills } from './chunk-NAKFPE2V.js';
|