@outerlayer/cli 0.38.0-next.20261110212358 → 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-T2VITZUY.js +40 -0
- package/dist/{agent-subcommand-5PNHUNZZ.js → agent-subcommand-KV3JO5YD.js} +4 -4
- package/dist/{artifact-link-cmd-XOFZP7U5.js → artifact-link-cmd-L4BXSQQP.js} +2 -2
- package/dist/{bridge-RNM7OWRW.js → bridge-7MCKZXCR.js} +7 -7
- package/dist/{build-VKO7IVOQ.js → build-N2MRLYFW.js} +13 -13
- package/dist/{build-disk-M2JYJF6R.js → build-disk-IJZYZ2K5.js} +11 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-HMHJ6U7C.js → builder-ATKIRCDJ.js} +10 -10
- package/dist/caller-OWXJDYPI.js +23 -0
- package/dist/{check-3XHEVEXS.js → check-F7RN65GG.js} +55 -55
- package/dist/{chunk-2TXYQANG.js → chunk-2FUJ5PSV.js} +1 -1
- package/dist/{chunk-SBPMDO47.js → chunk-2HLMGVK6.js} +1 -1
- package/dist/{chunk-TW2V2IQ4.js → chunk-2KUFDLLY.js} +1 -1
- package/dist/{chunk-L32O52SH.js → chunk-2PRDLE4L.js} +1 -1
- package/dist/{chunk-DKDBMMX7.js → chunk-3VEPVZV4.js} +6 -6
- package/dist/{chunk-5QFFQCSY.js → chunk-4HUYH65P.js} +1 -1
- package/dist/{chunk-NE7EG3SN.js → chunk-4YAFIOIV.js} +19 -4
- package/dist/{chunk-3HJK7WTM.js → chunk-5NJ367OD.js} +137 -14
- package/dist/{chunk-2WNJ2MHD.js → chunk-64ROJ5LD.js} +1 -1
- package/dist/{chunk-C574RHGN.js → chunk-6T2X2JI6.js} +3 -3
- package/dist/{chunk-OI4ZV7MJ.js → chunk-6U3UTAWQ.js} +1 -1
- package/dist/{chunk-67BVM7JK.js → chunk-7G2HRTSG.js} +3 -3
- package/dist/{chunk-IGO766M6.js → chunk-7GYY7RHR.js} +4 -4
- package/dist/{chunk-XCTE5S2C.js → chunk-7HYXJVU6.js} +1 -1
- package/dist/{chunk-UUSSRXUJ.js → chunk-7LWASV77.js} +3 -3
- package/dist/{chunk-WH2QUYXH.js → chunk-7U43B2UB.js} +2 -2
- package/dist/{chunk-QFQ2UNZU.js → chunk-AB4GMYIH.js} +6 -6
- package/dist/{chunk-S56J4BMQ.js → chunk-ASCXEXYJ.js} +10 -10
- package/dist/{chunk-6XROZIV6.js → chunk-BY2YRJSC.js} +6 -6
- package/dist/{chunk-ITOIM3WV.js → chunk-CSFMIUYS.js} +1 -1
- package/dist/{chunk-MBPBYMHU.js → chunk-E5G6K7C4.js} +1 -1
- package/dist/{chunk-XFU37HIM.js → chunk-ECMQNH2H.js} +3 -3
- package/dist/{chunk-3GTAPQBG.js → chunk-EWGHEMEO.js} +2 -2
- package/dist/{chunk-VNHDMOZW.js → chunk-FB2UT5XA.js} +57 -32
- package/dist/{chunk-KGHYNTF6.js → chunk-FT5NDSSG.js} +7 -7
- package/dist/{chunk-MT4XF5OL.js → chunk-G2CRPYFO.js} +2 -2
- package/dist/{chunk-RBLXGO5K.js → chunk-GGKXYHT5.js} +2 -2
- package/dist/{chunk-YOAJLD2D.js → chunk-GPP5EZV7.js} +7 -7
- package/dist/{chunk-TUSIYONR.js → chunk-HWXBOHEA.js} +1 -1
- package/dist/{chunk-HMDEF3UT.js → chunk-I5C667TJ.js} +16 -16
- package/dist/{chunk-OEWSICWM.js → chunk-IB2UHXZ7.js} +8 -8
- package/dist/{chunk-F2ADK2KB.js → chunk-ICW75TS5.js} +5 -5
- package/dist/{chunk-UCUBQWJC.js → chunk-IEX5FXEU.js} +3 -3
- package/dist/{chunk-47JRSV6Y.js → chunk-J4DTF5MN.js} +1 -1
- package/dist/{chunk-MSARYPFD.js → chunk-JPAO6HRN.js} +2 -2
- package/dist/{chunk-PA6FKP5B.js → chunk-K6KUWUUT.js} +6 -6
- package/dist/{chunk-I64CTY4U.js → chunk-KGJAYD7F.js} +829 -640
- package/dist/{chunk-ENHD5PNW.js → chunk-KM2IMFAG.js} +1 -1
- package/dist/{chunk-ALCZ2SEW.js → chunk-LXREVZX7.js} +5 -5
- package/dist/{chunk-VU5PPWIQ.js → chunk-M5DYOU5G.js} +7 -7
- package/dist/{chunk-HDEYRLWK.js → chunk-MPF7CVQM.js} +1 -1
- package/dist/{chunk-L6CZTRNW.js → chunk-MRSN67FY.js} +1 -1
- package/dist/{chunk-OK4RSIB2.js → chunk-N3KGXHV4.js} +1 -1
- package/dist/{chunk-7E55P2NR.js → chunk-NAKFPE2V.js} +1 -1
- package/dist/{chunk-VQQF6MDT.js → chunk-NC6HUEMI.js} +10 -10
- package/dist/{chunk-FXVHF6RX.js → chunk-NEXKR5RR.js} +64 -13
- package/dist/{chunk-FGBBGUM4.js → chunk-NWSKP5VI.js} +4 -4
- package/dist/{chunk-5QDHJT73.js → chunk-O53PVAUY.js} +6 -5
- package/dist/{chunk-QGUCHNSQ.js → chunk-OBSWWJJ3.js} +3 -3
- package/dist/{chunk-3DY4DQOC.js → chunk-OBXRHBOM.js} +4 -4
- package/dist/{chunk-BTH6HTE5.js → chunk-OUKSF3LK.js} +5 -5
- package/dist/{chunk-6RQP5GP5.js → chunk-OVJSVC5U.js} +2 -2
- package/dist/{chunk-YO2NPS66.js → chunk-PG33WPRF.js} +1 -1
- package/dist/{chunk-E27XMQKR.js → chunk-PP7MPUX7.js} +3 -3
- package/dist/{chunk-B5Z4VA4Q.js → chunk-QHYCF36K.js} +1 -1
- package/dist/{chunk-EHPKACA7.js → chunk-QM3M7QN3.js} +1 -1
- package/dist/{chunk-IVB6A3I7.js → chunk-R35KRBTS.js} +7 -7
- package/dist/{chunk-VRWZNI6U.js → chunk-R7BS36HP.js} +1 -1
- package/dist/{chunk-I2N427GS.js → chunk-REZNW2YV.js} +8 -8
- package/dist/{chunk-735C5J6Q.js → chunk-RPIYENP2.js} +5 -5
- package/dist/{chunk-GJMLLXZJ.js → chunk-RWXLTF3K.js} +1 -1
- package/dist/{chunk-AC6DM3S3.js → chunk-T5CN56UE.js} +1 -1
- package/dist/{chunk-CXXQQST7.js → chunk-U5YHNSSI.js} +9 -9
- package/dist/{chunk-72LXVD4O.js → chunk-W2H6JURI.js} +4 -4
- package/dist/{chunk-BCQFMAGM.js → chunk-WPGGRTF4.js} +3 -3
- package/dist/{chunk-YZQYTOCR.js → chunk-XMIL73Y2.js} +1 -1
- package/dist/{chunk-25G5KXBE.js → chunk-XSVZFWZ4.js} +7 -7
- package/dist/{chunk-OWEJP5HJ.js → chunk-YB3M2TM3.js} +1 -1
- package/dist/{chunk-B4U5XI4F.js → chunk-YFMVZBLO.js} +8 -8
- package/dist/{chunk-XAR2CJFV.js → chunk-YFQIK6LZ.js} +7 -7
- package/dist/{chunk-ATQHPT3B.js → chunk-YI2XPK7A.js} +1 -1
- package/dist/{chunk-TD6DN5LU.js → chunk-ZGCIFD5Y.js} +3 -3
- package/dist/{claude-launcher-WMIUTAXY.js → claude-launcher-ZC664P33.js} +7 -7
- package/dist/{cli-PS6GSOAE.js → cli-XWXX6PJD.js} +157 -157
- package/dist/{command-XQPL75PX.js → command-D656K4AE.js} +50 -50
- package/dist/{config-ZRGYLVDX.js → config-U2OR7MQW.js} +12 -12
- package/dist/{connect-cmd-MZXTWM4R.js → connect-cmd-73BBTTU5.js} +13 -13
- package/dist/{container-start-M7SFF62T.js → container-start-JFJYC4GQ.js} +48 -48
- package/dist/{context-cleanup-Z3HZZZXW.js → context-cleanup-JPPSK7DE.js} +4 -4
- package/dist/{context-show-cmd-SCOVPVDM.js → context-show-cmd-ETWKBHXZ.js} +14 -14
- package/dist/{control-plane-launch-MWZHJ4G5.js → control-plane-launch-JOH7FS5U.js} +14 -14
- package/dist/{demo-record-cmd-4RVSWVMK.js → demo-record-cmd-GBHPIYJA.js} +8 -8
- package/dist/{demo-voice-cmd-TQP3PZE2.js → demo-voice-cmd-GUYFA2NG.js} +20 -20
- package/dist/{dist-XEPPXF4M.js → dist-5VKIP767.js} +2 -2
- package/dist/{docker-25F2KOBJ.js → docker-RC4CFNKI.js} +10 -10
- package/dist/{doctor-Z3U3ICVR.js → doctor-TW6VREAT.js} +50 -50
- package/dist/{emit-artifact-cmd-Z4SHPKFT.js → emit-artifact-cmd-CQLCPM4R.js} +19 -19
- package/dist/{emit-cmd-NHMZ4M5S.js → emit-cmd-AIAY4WTW.js} +7 -7
- package/dist/{emit-criteria-cmd-HCN3DOJM.js → emit-criteria-cmd-VM7AO3E3.js} +16 -16
- package/dist/{emit-demo-cmd-R3TIGMFX.js → emit-demo-cmd-3NSODQTO.js} +20 -20
- package/dist/{emit-finding-cmd-YXR3ZVCJ.js → emit-finding-cmd-4CRLSMOK.js} +16 -16
- package/dist/{emit-result-cmd-Z7MBE37R.js → emit-result-cmd-GM43QMCM.js} +18 -18
- package/dist/{emit-step-cmd-JOSYDSEO.js → emit-step-cmd-J7KS2QXL.js} +16 -16
- package/dist/{exec-client-SZRXXKJ5.js → exec-client-DY7673SD.js} +8 -8
- package/dist/find-unit-ZVHHFTL2.js +24 -0
- package/dist/{findings-cmd-NGFY25WZ.js → findings-cmd-25F44AB4.js} +16 -16
- package/dist/{fleet-readiness-NWIVQQ4P.js → fleet-readiness-Z4C6W7XN.js} +14 -14
- package/dist/governing-source-IURJZXUR.js +41 -0
- package/dist/{guest-init-T7QJW2AJ.js → guest-init-4B5MMXIQ.js} +9 -9
- package/dist/{hook-fast-ECQBMESE.js → hook-fast-LB3VTEIW.js} +1 -1
- package/dist/{hook-install-MBMG3G6B.js → hook-install-QQXREIMI.js} +4 -4
- package/dist/host-checks-AQTZ7IKK.js +80 -0
- package/dist/host-key-ZWMN7VIH.js +18 -0
- package/dist/{image-tag-OCVY4W5D.js → image-tag-4DKLSTO6.js} +8 -8
- package/dist/index.js +4 -4
- package/dist/init-P2PDGLTU.js +80 -0
- package/dist/{init-NRN2DQC3.js → init-XYFDIEOA.js} +46 -46
- package/dist/{init-agent-GDOZHPQH.js → init-agent-EGNFBPM5.js} +46 -46
- package/dist/{init-cmd-QJYX47LS.js → init-cmd-C2I22ZJA.js} +27 -27
- package/dist/{init-update-EUJ4264S.js → init-update-H4LSR7H4.js} +24 -24
- package/dist/{install-cmd-HWG6LJX5.js → install-cmd-BI4C3MGF.js} +10 -10
- package/dist/{layout-CGE4KWGO.js → layout-CE6QLPNH.js} +4 -4
- package/dist/{login-browser-G7WNR74C.js → login-browser-COSWHZEC.js} +2 -2
- package/dist/{logs-TKWJ4S4W.js → logs-7DD6J3M6.js} +7 -7
- package/dist/loop-KEGBBAV4.js +90 -0
- package/dist/machine-JK27TGT6.js +80 -0
- package/dist/{machine-skills-CXA57QHE.js → machine-skills-YJLPUAYZ.js} +4 -4
- package/dist/{mcp-install-cmd-6IGK65DV.js → mcp-install-cmd-VSWX5BSZ.js} +4 -4
- package/dist/{mcp-serve-cmd-DVE5XP2U.js → mcp-serve-cmd-HK2ODMHU.js} +9 -9
- package/dist/{paths-VOWYUJLZ.js → paths-EHWU5QWB.js} +7 -7
- package/dist/pending-K4A23JIC.js +18 -0
- package/dist/{pidfile-MFP6B2KV.js → pidfile-PG3L2CVV.js} +8 -8
- package/dist/{record-AWCJ3LTG.js → record-PXCRTDQU.js} +8 -8
- package/dist/{relay-YVZM5M6B.js → relay-2MJY25BV.js} +5 -5
- package/dist/{relay-protocol-MNWITORT.js → relay-protocol-VBCRA347.js} +5 -5
- package/dist/{run-cmd-MBH5Z2UL.js → run-cmd-F7ANZPSX.js} +16 -16
- package/dist/{runner-agents-L3PLYFWJ.js → runner-agents-HZ5FIFPU.js} +4 -4
- package/dist/runner-env-5AM2XYEN.js +24 -0
- package/dist/{runner-identity-E2XKIJNB.js → runner-identity-CL2KMFGC.js} +10 -10
- package/dist/{runner-key-W5M6AYY5.js → runner-key-CJ66VZE3.js} +46 -46
- package/dist/{session-sender-IS6S7PBC.js → session-sender-RSAHCLL6.js} +19 -19
- package/dist/{spec-cmd-ZLDYL4N5.js → spec-cmd-ED6DKB54.js} +17 -17
- package/dist/{starter-pack-XINCCMDN.js → starter-pack-IT2KYFWU.js} +5 -5
- package/dist/state-MV53BATE.js +18 -0
- package/dist/{status-L7R6FKWD.js → status-CZTCYZLU.js} +46 -46
- package/dist/{sync-cmd-3YZ4IB3T.js → sync-cmd-PQZD77PE.js} +18 -18
- package/dist/update-steps-DCFEKNW2.js +81 -0
- package/dist/{watch-LIIODJ5U.js → watch-FAQXAAUA.js} +18 -18
- package/dist/{work-claim-cmd-GWBWIZ43.js → work-claim-cmd-XPXHRV74.js} +22 -22
- package/dist/{work-cmd-CJWTGOU5.js → work-cmd-ME7DWBI6.js} +16 -16
- package/dist/{work-comment-cmd-RFVCNEET.js → work-comment-cmd-ZT4O56QR.js} +18 -18
- package/dist/{work-demo-cmd-Q2GKJCVL.js → work-demo-cmd-YV22MZXG.js} +16 -16
- package/dist/{work-logs-cmd-KZQBPU2J.js → work-logs-cmd-LUK7THB2.js} +16 -16
- package/dist/{work-needs-attention-cmd-L3DOYAMK.js → work-needs-attention-cmd-KTLWMBJV.js} +16 -16
- package/dist/{work-no-change-cmd-SHP25CJB.js → work-no-change-cmd-TWGW5ZOO.js} +16 -16
- package/dist/{work-open-pr-cmd-VATPLVSL.js → work-open-pr-cmd-VEM5MEUS.js} +17 -17
- package/dist/{work-pr-cmd-XBLNONT3.js → work-pr-cmd-M4G35ZIV.js} +16 -16
- package/dist/{work-proofs-cmd-7HSLB52S.js → work-proofs-cmd-7EZ4QZUR.js} +18 -18
- package/dist/{work-proofs-record-BE6UMZPH.js → work-proofs-record-AY72YKNC.js} +24 -24
- package/dist/{work-stop-cmd-BLOSL24H.js → work-stop-cmd-FX5QTUYJ.js} +16 -16
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-findings/SKILL.md +46 -41
- package/skill-pack/maintained/outerlayer-findings/references/examples.md +23 -0
- package/dist/agent-setup-GZBGCV3K.js +0 -40
- package/dist/caller-U26SATTV.js +0 -23
- package/dist/find-unit-3RHC4375.js +0 -24
- package/dist/governing-source-DNWVPRXP.js +0 -41
- package/dist/host-checks-QLGWXKOC.js +0 -80
- package/dist/host-key-6SMJUTJ2.js +0 -18
- package/dist/init-JY3XYZI6.js +0 -80
- package/dist/loop-HWYHQ374.js +0 -90
- package/dist/machine-NVXRV4BO.js +0 -80
- package/dist/pending-35ML3JE5.js +0 -18
- package/dist/runner-env-IHWYZ3B6.js +0 -24
- package/dist/state-NIA6XT7D.js +0 -18
- package/dist/update-steps-6SPAPBAB.js +0 -81
|
@@ -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, isBuiltinContainer, isBuiltinVm,
|
|
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(
|
|
@@ -2652,19 +2653,40 @@ async function startClaimedBuild(state, item, queue, data, fleet) {
|
|
|
2652
2653
|
for (const entry of parseUnreachable(data.unreachable)) {
|
|
2653
2654
|
log.line(`${tag}: ${entry.repository} is left out of this build because its GitHub App installation is suspended`);
|
|
2654
2655
|
}
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
} catch (err) {
|
|
2656
|
+
const starting = startJob(state, item, queue, claimId, itemKey, branch, identity, repositories, fleet, data.freshDisk === true, data.diskHeldElsewhere === true, data.codeReview === true);
|
|
2657
|
+
const endStranded = async (err) => {
|
|
2658
2658
|
const stranded = [...state.jobs.values()].find((active) => active.job.claimId === claimId);
|
|
2659
|
-
if (stranded === void 0)
|
|
2659
|
+
if (stranded === void 0) return false;
|
|
2660
2660
|
const reason = `provision failed: ${describeCallFailure(err)}`;
|
|
2661
2661
|
logOf(state).error(`${tag} ${reason} \xB7 ending job as failed`);
|
|
2662
2662
|
await endJob(state, stranded, "failed", { stage: "provision", reason });
|
|
2663
|
+
return true;
|
|
2664
|
+
};
|
|
2665
|
+
if (provisionsBesideOthers(state.config)) {
|
|
2666
|
+
endWhenStartFails(starting, endStranded, (line) => logOf(state).error(`${tag} ${line}`));
|
|
2667
|
+
return { kind: "started" };
|
|
2668
|
+
}
|
|
2669
|
+
try {
|
|
2670
|
+
await starting;
|
|
2671
|
+
} catch (err) {
|
|
2672
|
+
if (!await endStranded(err)) throw err;
|
|
2663
2673
|
return { kind: "started", provisionFailed: true };
|
|
2664
2674
|
}
|
|
2665
2675
|
const running = [...state.jobs.values()].some((active) => active.job.claimId === claimId);
|
|
2666
2676
|
return running ? { kind: "started" } : { kind: "started", provisionFailed: true };
|
|
2667
2677
|
}
|
|
2678
|
+
function endWhenStartFails(starting, endStranded, error) {
|
|
2679
|
+
void starting.catch(async (err) => {
|
|
2680
|
+
try {
|
|
2681
|
+
if (!await endStranded(err)) error(`unexpected error while the build started: ${describeCallFailure(err)}`);
|
|
2682
|
+
} catch (ending) {
|
|
2683
|
+
error(`could not be ended: ${describeCallFailure(ending)}`);
|
|
2684
|
+
}
|
|
2685
|
+
});
|
|
2686
|
+
}
|
|
2687
|
+
function provisionsBesideOthers(config) {
|
|
2688
|
+
return isBuiltinSandbox(config.hooks.provision);
|
|
2689
|
+
}
|
|
2668
2690
|
function claimIsAlreadyRunning(state, claimId) {
|
|
2669
2691
|
for (const active of state.jobs.values()) {
|
|
2670
2692
|
if (active.job.claimId === claimId) return true;
|
|
@@ -2684,7 +2706,7 @@ async function prepareSession(state, active, item, queue, tag) {
|
|
|
2684
2706
|
const job = active.job;
|
|
2685
2707
|
const builtin = job.microvm !== void 0 || job.container !== void 0;
|
|
2686
2708
|
const log = logOf(state);
|
|
2687
|
-
if (queue === "amend" && !builtin) {
|
|
2709
|
+
if (queue === "amend" && !builtin && job.sandbox === void 0) {
|
|
2688
2710
|
job.disk = { restored: false, reason: "build_type_cannot_restore" };
|
|
2689
2711
|
writeJobFile(join(active.dirPath, "job.json"), job);
|
|
2690
2712
|
}
|
|
@@ -2891,6 +2913,8 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
2891
2913
|
runtime: runtimeOf(state),
|
|
2892
2914
|
queue,
|
|
2893
2915
|
...queue === "run" ? {} : { workItemId: item.id },
|
|
2916
|
+
...freshDisk ? { fresh: true } : {},
|
|
2917
|
+
...diskHeldElsewhere ? { diskHeldElsewhere: true } : {},
|
|
2894
2918
|
item,
|
|
2895
2919
|
itemKey,
|
|
2896
2920
|
tokens,
|
|
@@ -2921,6 +2945,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
2921
2945
|
workdir = provisioned.workdir;
|
|
2922
2946
|
active.job.sandbox = provisioned.state;
|
|
2923
2947
|
active.job.environment = provisioned.environment;
|
|
2948
|
+
active.job.disk = provisioned.disk;
|
|
2924
2949
|
installCommitHooks(active.job, log, tag);
|
|
2925
2950
|
const hooksDelivered = await deliverSandboxHooks(runtimeOf(state), provisioned.state, dirPath);
|
|
2926
2951
|
if (!hooksDelivered.ok) {
|
|
@@ -3977,7 +4002,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
3977
4002
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
3978
4003
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
3979
4004
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
3980
|
-
return (await import('./check-
|
|
4005
|
+
return (await import('./check-F7RN65GG.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
3981
4006
|
},
|
|
3982
4007
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
3983
4008
|
log
|
|
@@ -4362,4 +4387,4 @@ function runnerProcessState(configPath) {
|
|
|
4362
4387
|
return isSameProcess(entry.pid, entry.start) ? { state: "running", pid: entry.pid } : { state: "stale", pid: entry.pid };
|
|
4363
4388
|
}
|
|
4364
4389
|
|
|
4365
|
-
export { LAPSED_REASON, RunnerStartError, applyComments, fleetKeepalive, leaseTimeLeftFor, listJobFiles, logUnusableHelper, prepareSession, probeBuild, probeCredentials, requestStop, runnerProcessState, runtimeOf, sampleUsage, start, tick, watchTick };
|
|
4390
|
+
export { LAPSED_REASON, RunnerStartError, applyComments, endWhenStartFails, fleetKeepalive, leaseTimeLeftFor, listJobFiles, logUnusableHelper, prepareSession, probeBuild, probeCredentials, provisionsBesideOthers, requestStop, runnerProcessState, runtimeOf, sampleUsage, start, tick, watchTick };
|
|
@@ -1,17 +1,17 @@
|
|
|
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
|
-
import { detectActiveSession } from './chunk-
|
|
7
|
-
import { autoConnect } from './chunk-
|
|
6
|
+
import { detectActiveSession } from './chunk-2HLMGVK6.js';
|
|
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
|
-
import { resolveRepoIdentity } from './chunk-
|
|
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-
|
|
13
|
+
import { resolveRepoIdentity } from './chunk-E5G6K7C4.js';
|
|
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';
|
|
15
15
|
import { __commonJS, __require, __toESM } from './chunk-Z5GEFMRW.js';
|
|
16
16
|
import { createHash } from 'crypto';
|
|
17
17
|
import { readFileSync, mkdtempSync, writeFileSync, statSync, rmSync, mkdirSync, existsSync, copyFileSync, accessSync, constants, realpathSync, createReadStream, createWriteStream } from 'fs';
|
|
@@ -5,8 +5,8 @@ import { CLAUDE_CODE, OPENCODE, NATIVE_AGENTS, LEGACY_AGENT, homeRelative } from
|
|
|
5
5
|
import { MAINTAINED_SKILLS } from './chunk-ATEMEVFF.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-
|
|
9
|
-
import { CODE_REVIEW_NAME, RESERVED_EMIT_NAMES, EVENT_TYPES, isHumanUserTurn, INPUT_BAND_BOUNDARIES, parseAgentSession, SCHEMA_VERSION, ARTIFACT_KINDS, ArtifactCriterionIdSchema, SPEED_MAX_LENGTH } from './chunk-
|
|
8
|
+
import { forkFor, RAW_MIRROR_SEGMENTS, WarningCollector, WARNING_CODES, isNewerThanSupported, bucketsFromTurns, costOfUsage } from './chunk-E5G6K7C4.js';
|
|
9
|
+
import { CODE_REVIEW_NAME, RESERVED_EMIT_NAMES, EVENT_TYPES, isHumanUserTurn, INPUT_BAND_BOUNDARIES, parseAgentSession, SCHEMA_VERSION, ARTIFACT_KINDS, ArtifactCriterionIdSchema, SPEED_MAX_LENGTH } from './chunk-NEXKR5RR.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';
|
|
12
12
|
import { join as join$1, dirname, sep, basename, relative, delimiter } from 'path';
|
|
@@ -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,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-
|
|
4
|
-
import { detectActiveSession } from './chunk-
|
|
5
|
-
import { sanitizeTerminal } from './chunk-
|
|
3
|
+
import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-YFMVZBLO.js';
|
|
4
|
+
import { detectActiveSession } from './chunk-2HLMGVK6.js';
|
|
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';
|
|
12
|
-
import { resolveRepoIdentity } from './chunk-
|
|
13
|
-
import { ATTACHMENT_CLIENT_ID_HEADER, ATTACHMENT_SHA256_HEADER, ATTACHMENT_FILENAME_HEADER, cleanAttachmentFilename, WORK_ITEM_ATTACHMENTS_MAX_PER_COMMENT, attachmentKind, WORK_ITEM_ATTACHMENT_MAX_BYTES, WORK_ITEM_ATTACHMENTS_MAX_TOTAL_BYTES } from './chunk-
|
|
12
|
+
import { resolveRepoIdentity } from './chunk-E5G6K7C4.js';
|
|
13
|
+
import { ATTACHMENT_CLIENT_ID_HEADER, ATTACHMENT_SHA256_HEADER, ATTACHMENT_FILENAME_HEADER, cleanAttachmentFilename, WORK_ITEM_ATTACHMENTS_MAX_PER_COMMENT, attachmentKind, WORK_ITEM_ATTACHMENT_MAX_BYTES, WORK_ITEM_ATTACHMENTS_MAX_TOTAL_BYTES } from './chunk-NEXKR5RR.js';
|
|
14
14
|
import { randomUUID, createHash } from 'crypto';
|
|
15
15
|
import { mkdirSync, statSync, readFileSync, writeFileSync } from 'fs';
|
|
16
16
|
import { resolve, extname, basename, join } from 'path';
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
4
4
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
5
5
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
6
|
-
import { legacyAgent, laptopAgents, defaultAgents, McpFileError } from './chunk-
|
|
6
|
+
import { legacyAgent, laptopAgents, defaultAgents, McpFileError } from './chunk-G2CRPYFO.js';
|
|
7
7
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
8
8
|
import { join, dirname } from 'path';
|
|
9
9
|
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { checkStarterFiles, contextIsGoverned } from './chunk-
|
|
4
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
5
|
-
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-
|
|
6
|
-
import { withInjectedPrograms } from './chunk-
|
|
7
|
-
import { isLinkedRepository } from './chunk-
|
|
8
|
-
import { sanitizeTerminal } from './chunk-
|
|
3
|
+
import { checkStarterFiles, contextIsGoverned } from './chunk-OUKSF3LK.js';
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-YFMVZBLO.js';
|
|
5
|
+
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-K6KUWUUT.js';
|
|
6
|
+
import { withInjectedPrograms } from './chunk-J4DTF5MN.js';
|
|
7
|
+
import { isLinkedRepository } from './chunk-AB4GMYIH.js';
|
|
8
|
+
import { sanitizeTerminal } from './chunk-QHYCF36K.js';
|
|
9
9
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
10
|
-
import { checkFormerSkillNames } from './chunk-
|
|
11
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
12
|
-
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-
|
|
10
|
+
import { checkFormerSkillNames } from './chunk-2KUFDLLY.js';
|
|
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';
|
|
16
16
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
17
|
-
import { installAgents, withSettingsText } from './chunk-
|
|
17
|
+
import { installAgents, withSettingsText } from './chunk-RWXLTF3K.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-G2CRPYFO.js';
|
|
22
22
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
23
|
-
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-
|
|
23
|
+
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-E5G6K7C4.js';
|
|
24
24
|
import { readFileSync, mkdirSync, writeFileSync, renameSync, existsSync, accessSync, constants, statSync } from 'fs';
|
|
25
25
|
import { sep, join, dirname, resolve, delimiter } from 'path';
|
|
26
26
|
import { execFileSync } from 'child_process';
|
|
@@ -1051,8 +1051,8 @@ function doctorExitCode(checks) {
|
|
|
1051
1051
|
|
|
1052
1052
|
// src/doctor-report.ts
|
|
1053
1053
|
async function gatherDoctorChecks(options = {}) {
|
|
1054
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1055
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1054
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-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 }));
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { runEmit } from './chunk-
|
|
4
|
-
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-
|
|
5
|
-
import { installStarterPack } from './chunk-
|
|
6
|
-
import { listWithAnd } from './chunk-
|
|
7
|
-
import { AGENTS_MD_LAYOUT, mcpFiles, declareAgentsMdLayout, linkAgentSkills, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-
|
|
3
|
+
import { runEmit } from './chunk-7GYY7RHR.js';
|
|
4
|
+
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-HWXBOHEA.js';
|
|
5
|
+
import { installStarterPack } from './chunk-OVJSVC5U.js';
|
|
6
|
+
import { listWithAnd } from './chunk-AB4GMYIH.js';
|
|
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
|
-
import { linkedAgentsPath } from './chunk-
|
|
11
|
+
import { linkedAgentsPath } from './chunk-CSFMIUYS.js';
|
|
12
12
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
13
|
-
import { generatedHeaderSource, defaultAgents, loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE, legacyAgent, laptopAgents } from './chunk-
|
|
13
|
+
import { generatedHeaderSource, defaultAgents, loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE, legacyAgent, laptopAgents } from './chunk-G2CRPYFO.js';
|
|
14
14
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
15
15
|
import { execFileSync } from 'child_process';
|
|
16
16
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_UNIT_NAME } from './chunk-
|
|
4
|
-
import { RUNNER_FILE_MODE } from './chunk-
|
|
5
|
-
import { parseRunnerEnv, withoutCredentialLines } from './chunk-
|
|
6
|
-
import { headlessNames, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialEnvPath, forwardedVariables } from './chunk-
|
|
7
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { DEFAULT_UNIT_NAME } from './chunk-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
|
+
import { defaultAgents } from './chunk-G2CRPYFO.js';
|
|
8
8
|
import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
|
|
9
9
|
import { join, dirname } from 'path';
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { defaultAgents, agentById } from './chunk-
|
|
3
|
+
import { defaultAgents, agentById } from './chunk-G2CRPYFO.js';
|
|
4
4
|
import { PROVIDERS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
5
5
|
import { join, dirname } from 'path';
|
|
6
6
|
|
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { legacyAgent, createNodeAgentIO, ADAPTER_FACTORIES } from './chunk-
|
|
3
|
+
import { legacyAgent, createNodeAgentIO, ADAPTER_FACTORIES } from './chunk-G2CRPYFO.js';
|
|
4
4
|
|
|
5
5
|
createRequire(import.meta.url);
|
|
6
6
|
|
|
@@ -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
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal } from './chunk-
|
|
4
|
-
import { isAgentsMdLayout } from './chunk-
|
|
5
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
3
|
+
import { sanitizeTerminal } from './chunk-QHYCF36K.js';
|
|
4
|
+
import { isAgentsMdLayout } from './chunk-PG33WPRF.js';
|
|
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
|
-
import { machineSkillsState, staleAgentSkills } from './chunk-
|
|
8
|
+
import { machineSkillsState, staleAgentSkills } from './chunk-NAKFPE2V.js';
|
|
9
9
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
10
|
-
import { hasSymlinkComponent } from './chunk-
|
|
11
|
-
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, AGENTS_SKILLS_BASE, defaultAgents, namesCore, MACHINE_SKILL_PATH, skillBases, isMaintainedCopy, contextAgents, loadTemplateFiles, splitRawFile } from './chunk-
|
|
10
|
+
import { hasSymlinkComponent } from './chunk-CSFMIUYS.js';
|
|
11
|
+
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, AGENTS_SKILLS_BASE, defaultAgents, namesCore, MACHINE_SKILL_PATH, skillBases, isMaintainedCopy, contextAgents, loadTemplateFiles, splitRawFile } from './chunk-G2CRPYFO.js';
|
|
12
12
|
import { MAINTAINED_SKILLS } from './chunk-ATEMEVFF.js';
|
|
13
13
|
import { execFileSync } from 'child_process';
|
|
14
14
|
import { existsSync, readFileSync, writeFileSync, realpathSync, readdirSync } from 'fs';
|