@outerlayer/cli 0.38.0-next.20261106190200 → 0.38.0-next.20261107023135
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 +6 -4
- package/dist/agent-setup-IJNDJ4XL.js +40 -0
- package/dist/{agent-subcommand-PSI3BAXM.js → agent-subcommand-XECZFIAS.js} +4 -4
- package/dist/{artifact-link-cmd-QP6VO7AJ.js → artifact-link-cmd-F6M2BDT7.js} +2 -2
- package/dist/{bridge-3WAVT5SX.js → bridge-LDKKFAHH.js} +7 -7
- package/dist/{build-4KG7H2XK.js → build-PTFRHSXI.js} +13 -13
- package/dist/{build-disk-GGGJ237B.js → build-disk-EO2VG3MF.js} +11 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-HV7PUSZZ.js → builder-LCIBBOWQ.js} +10 -10
- package/dist/caller-Y3RGYXHU.js +23 -0
- package/dist/{check-LENGOFUF.js → check-U2CFIW42.js} +56 -56
- package/dist/{chunk-2MA2KWHN.js → chunk-2IVRTP6M.js} +1 -1
- package/dist/{chunk-NEEMG462.js → chunk-2KL345FW.js} +1 -1
- package/dist/{chunk-YXXJBHHF.js → chunk-2VNT47DG.js} +10 -2
- package/dist/{chunk-2VN36ZPA.js → chunk-3HEBSWNE.js} +1 -1
- package/dist/{chunk-ZYQT6Q5R.js → chunk-3RFREMDQ.js} +148 -77
- package/dist/{chunk-ZGN3NOVS.js → chunk-3UKDQNFF.js} +1 -1
- package/dist/{chunk-ANFGBAWY.js → chunk-6AKP3FBS.js} +5 -5
- package/dist/{chunk-KMUERD5F.js → chunk-6IXZHORY.js} +4 -4
- package/dist/{chunk-UF3YTRGU.js → chunk-6Y4ZE74I.js} +4 -4
- package/dist/{chunk-G2ITKUX4.js → chunk-7GQE5D72.js} +1 -1
- package/dist/{chunk-3KVYSJAL.js → chunk-7VVTZNUP.js} +6 -6
- package/dist/{chunk-6ZSUJ3ES.js → chunk-ABPIZHXI.js} +3 -3
- package/dist/{chunk-27P5FSZT.js → chunk-B7CAUXSV.js} +6 -6
- package/dist/{chunk-76Y35TWH.js → chunk-BEQYO2VO.js} +1 -1
- package/dist/{chunk-GM3H4ZHG.js → chunk-BJYX3PMU.js} +1 -1
- package/dist/{chunk-HTQFAHXD.js → chunk-BU25W7GF.js} +2 -2
- package/dist/{chunk-MCLSXTLY.js → chunk-C3P637LO.js} +1 -1
- package/dist/{chunk-6744TXEY.js → chunk-DDPCKTVN.js} +7 -7
- package/dist/{chunk-U4ZHNHCF.js → chunk-DRUM7NWK.js} +1 -1
- package/dist/{chunk-M4JFGNG7.js → chunk-EOXQCUFJ.js} +2 -2
- package/dist/{chunk-TDBP62O2.js → chunk-FPEZB7CD.js} +7 -7
- package/dist/{chunk-USJVENIV.js → chunk-FPPBL7ZC.js} +1 -1
- package/dist/{chunk-TOVSIUEJ.js → chunk-FSQDS7A6.js} +1 -1
- package/dist/{chunk-CFTSVW7W.js → chunk-FSYEDSSA.js} +1 -1
- package/dist/{chunk-6BPCEGJL.js → chunk-FZD6GIW5.js} +9 -9
- package/dist/{chunk-IOURL3LH.js → chunk-G3NMES6L.js} +10 -10
- package/dist/{chunk-NMCRJ7NZ.js → chunk-HCIOUSUX.js} +2 -3
- package/dist/{chunk-JKYCEXZX.js → chunk-ICKFR2DB.js} +7 -7
- package/dist/{chunk-RFBJKK2L.js → chunk-IQHREL5T.js} +8 -8
- package/dist/{chunk-RDPLNQFI.js → chunk-KM77NSXE.js} +16 -16
- package/dist/{chunk-VRSUCU2N.js → chunk-LPTMKPCD.js} +1 -1
- package/dist/{chunk-7ATHSAAT.js → chunk-LQEI4HZF.js} +1 -1
- package/dist/{chunk-5MWE5IOO.js → chunk-LYBHKNEG.js} +1 -1
- package/dist/{chunk-YZ5M7S7U.js → chunk-LYORNXIT.js} +1 -1
- package/dist/{chunk-OVHBDADU.js → chunk-MLM4BYK2.js} +1 -1
- package/dist/{chunk-DF6ZHOIA.js → chunk-MXSQINKG.js} +7 -7
- package/dist/{chunk-BEKYNGLH.js → chunk-NDLWXIVK.js} +1 -1
- package/dist/{chunk-T7KETYNW.js → chunk-NOBB3LEO.js} +1 -1
- package/dist/{chunk-OMCDOJO2.js → chunk-O3TOA2KE.js} +3 -3
- package/dist/{chunk-XDVLF6OT.js → chunk-OAOZDJYT.js} +3 -3
- package/dist/{chunk-IXB2IIEW.js → chunk-OCQ5FQZR.js} +1 -1
- package/dist/{chunk-GM4TY5H2.js → chunk-OO33S4AF.js} +7 -5
- package/dist/{chunk-ML3O3A3Q.js → chunk-OSHKKESX.js} +77 -8
- package/dist/{chunk-TDUBZ4FR.js → chunk-PJNOTSB5.js} +1 -1
- package/dist/{chunk-FBBI6K7D.js → chunk-PVLDVUNJ.js} +2 -2
- package/dist/{chunk-G2EWER4K.js → chunk-QF6US5YN.js} +2 -2
- package/dist/{chunk-FCU7WSCV.js → chunk-QHT6PIFP.js} +4 -4
- package/dist/{chunk-JW25JVK4.js → chunk-QQSXVGVH.js} +6 -6
- package/dist/{chunk-TMYBADTM.js → chunk-QZAZPRDW.js} +5 -5
- package/dist/{chunk-JKQAOSSX.js → chunk-RWNVQSGX.js} +3 -3
- package/dist/{chunk-4PH3KXDP.js → chunk-RZXP427Z.js} +1 -1
- package/dist/{chunk-LRE4QIMD.js → chunk-SDUCKX46.js} +9 -9
- package/dist/{chunk-NTRXOTO7.js → chunk-SEAVWMW2.js} +6 -6
- package/dist/{chunk-SUMXGPSG.js → chunk-SOB4KVRZ.js} +6 -6
- package/dist/{chunk-E2ZWGLNZ.js → chunk-SYENSVOK.js} +3 -3
- package/dist/{chunk-VOSC32UF.js → chunk-SZQKS4QK.js} +6 -6
- package/dist/{chunk-QHOC32DP.js → chunk-TMQKDFKO.js} +10 -10
- package/dist/{chunk-5QBTW367.js → chunk-TWWAV67F.js} +5 -5
- package/dist/{chunk-ZOWUJUSF.js → chunk-V43NFQE3.js} +1 -1
- package/dist/{chunk-5BDYRHZZ.js → chunk-VLAVNWM4.js} +7 -7
- package/dist/{chunk-7KF36CVC.js → chunk-VYAFSV43.js} +1 -1
- package/dist/{chunk-GQEVQIS6.js → chunk-VZGTPITG.js} +1 -1
- package/dist/{chunk-LFBQL4AP.js → chunk-WCBLLIPD.js} +5 -5
- package/dist/{chunk-TFBNHDPT.js → chunk-WCQJNDQC.js} +4 -4
- package/dist/{chunk-YSIVKYLW.js → chunk-WDJPGE6K.js} +4 -4
- package/dist/{chunk-677TCNML.js → chunk-WX7XACEU.js} +1 -1
- package/dist/{chunk-H2L5NB5U.js → chunk-X25VXXCF.js} +1 -1
- package/dist/{chunk-A24MNKYN.js → chunk-X32HZMMA.js} +4 -4
- package/dist/{chunk-7B4A6PBC.js → chunk-XGPFDFDU.js} +3 -3
- package/dist/{chunk-ZPCUXCQX.js → chunk-XKJZHY4J.js} +1 -1
- package/dist/{chunk-3E65OLJ4.js → chunk-YFARFA4Y.js} +3 -3
- package/dist/{chunk-F2PTLH3J.js → chunk-YRCFINIR.js} +29 -28
- package/dist/{chunk-YL6GWLK5.js → chunk-YSCRMX2T.js} +8 -8
- package/dist/{claude-launcher-G73I5AGW.js → claude-launcher-62NZAUKT.js} +7 -7
- package/dist/{cli-5SILU2LX.js → cli-UWN7LDID.js} +171 -147
- package/dist/{command-DBBEP7VM.js → command-WVYT7OZA.js} +50 -50
- package/dist/{config-KOSTQZXG.js → config-4YPIDOHH.js} +12 -12
- package/dist/{connect-cmd-UNBJYFYM.js → connect-cmd-GAWR7QSH.js} +13 -13
- package/dist/{container-start-AAOLPVAH.js → container-start-ZMIAMEQC.js} +48 -48
- package/dist/{context-cleanup-MKVMFRNR.js → context-cleanup-L3ZKG6EU.js} +4 -4
- package/dist/{context-show-cmd-P3LBILMP.js → context-show-cmd-YJ4IJ2WI.js} +14 -14
- package/dist/{control-plane-launch-2GOJKA53.js → control-plane-launch-GOKEVTPX.js} +14 -14
- package/dist/{demo-record-cmd-BPINCNYS.js → demo-record-cmd-AZSEQXO4.js} +8 -8
- package/dist/{demo-voice-cmd-HBK3TWM5.js → demo-voice-cmd-KHEMTR5T.js} +20 -20
- package/dist/{dist-MUOHO52Q.js → dist-RMEOTTVL.js} +2 -2
- package/dist/{docker-NUPVSMVQ.js → docker-QMKIWXHF.js} +10 -10
- package/dist/{doctor-GHRSOZLB.js → doctor-VCAXH6RM.js} +50 -50
- package/dist/{emit-artifact-cmd-CULA5AM4.js → emit-artifact-cmd-72QEOEJH.js} +19 -19
- package/dist/{emit-cmd-746N7PYR.js → emit-cmd-X5F5HUTQ.js} +7 -7
- package/dist/{emit-criteria-cmd-NY4RPUPD.js → emit-criteria-cmd-HTHETRH6.js} +16 -16
- package/dist/{emit-demo-cmd-MYXTGMJI.js → emit-demo-cmd-LFYJURFC.js} +20 -20
- package/dist/{emit-finding-cmd-ZGGMPQFT.js → emit-finding-cmd-GFWCMJFY.js} +16 -16
- package/dist/{emit-result-cmd-GNEQHIIZ.js → emit-result-cmd-FTWLKM6G.js} +18 -18
- package/dist/{emit-step-cmd-NYCJ3XFQ.js → emit-step-cmd-J4L2OAWE.js} +16 -16
- package/dist/{exec-client-QHB62OZ6.js → exec-client-YQH4ZSRM.js} +8 -8
- package/dist/find-unit-F3Q54LLR.js +24 -0
- package/dist/{findings-cmd-ZINCPCAB.js → findings-cmd-VFE7VINC.js} +16 -16
- package/dist/{fleet-readiness-FZCSJ7FY.js → fleet-readiness-FGQPCFSP.js} +14 -14
- package/dist/{governing-source-CQML5N2D.js → governing-source-NMZSHEHR.js} +21 -21
- package/dist/{guest-init-C6FWJVAQ.js → guest-init-DPZAVCWH.js} +9 -9
- package/dist/{hook-fast-6IOLZ45F.js → hook-fast-3VMKCCUO.js} +1 -1
- package/dist/{hook-install-VL4CEO4S.js → hook-install-TTF6LASI.js} +4 -4
- package/dist/host-checks-5SPBYP6O.js +79 -0
- package/dist/host-key-QZWN6ECO.js +18 -0
- package/dist/{image-tag-IBAYH5XH.js → image-tag-5TZ7MF5H.js} +8 -8
- package/dist/index.js +4 -4
- package/dist/{init-EIQFBAZI.js → init-RUAPRUFX.js} +46 -46
- package/dist/init-TFGPUVUU.js +79 -0
- package/dist/{init-agent-7UQZFG5E.js → init-agent-TT25322F.js} +46 -46
- package/dist/{init-cmd-TNJXWFQU.js → init-cmd-6A3PHOXB.js} +27 -27
- package/dist/{init-update-KJWMEKR3.js → init-update-JLOPXC5U.js} +24 -24
- package/dist/{install-cmd-UXH2LGVA.js → install-cmd-JDA4CNYW.js} +10 -10
- package/dist/{layout-YVTZDKVU.js → layout-AKKICGLZ.js} +4 -4
- package/dist/{login-browser-I6CWBA7K.js → login-browser-VNPN4FVO.js} +2 -2
- package/dist/{logs-22Y7QG42.js → logs-WPNNAY5E.js} +7 -7
- package/dist/loop-2SYWWJHW.js +90 -0
- package/dist/machine-GD2UAX6F.js +79 -0
- package/dist/{machine-skills-6PJOJU5J.js → machine-skills-GGLBQANZ.js} +4 -4
- package/dist/{mcp-install-cmd-LJ7AYDDT.js → mcp-install-cmd-3NHDPAML.js} +4 -4
- package/dist/{mcp-serve-cmd-34LDKQSR.js → mcp-serve-cmd-CLVZFL37.js} +9 -9
- package/dist/{paths-2KOZGV5U.js → paths-PSLRVOVY.js} +7 -7
- package/dist/pending-GWDAXQSA.js +18 -0
- package/dist/{pidfile-FQBXIHX7.js → pidfile-5E4YPCTC.js} +8 -8
- package/dist/{record-7ENQ7Y5M.js → record-7ZMZA5QE.js} +8 -8
- package/dist/{relay-JLU7RTFS.js → relay-UUIHK5TY.js} +5 -5
- package/dist/{relay-protocol-AEIZCA3K.js → relay-protocol-MQVXSFN4.js} +5 -5
- package/dist/{runner-agents-I5YLJY7G.js → runner-agents-M5CMF2ZA.js} +4 -4
- package/dist/runner-env-3S64BNCU.js +24 -0
- package/dist/{runner-identity-MW53HCYG.js → runner-identity-3GMF6FKI.js} +10 -10
- package/dist/{runner-key-GERK5EV3.js → runner-key-KZGNIOHI.js} +46 -46
- package/dist/{session-sender-65X5PR7Q.js → session-sender-M325MH5U.js} +19 -19
- package/dist/{spec-cmd-3TNVJBN7.js → spec-cmd-QIVFOHR4.js} +17 -17
- package/dist/{starter-pack-PLSMFXBU.js → starter-pack-P5BRWSAP.js} +5 -5
- package/dist/state-5H5LGYWN.js +18 -0
- package/dist/{status-KGSQF55G.js → status-QQZT6HHZ.js} +46 -46
- package/dist/{sync-cmd-FNATZ5VL.js → sync-cmd-JHFRUMM5.js} +18 -18
- package/dist/update-steps-KDMOFCVB.js +80 -0
- package/dist/{watch-FEBBRV22.js → watch-TVHFOLVK.js} +18 -18
- package/dist/{work-claim-cmd-2EPUH3KT.js → work-claim-cmd-LTIAXIWH.js} +23 -23
- package/dist/{work-cmd-V5A3MDXV.js → work-cmd-VC353JLU.js} +16 -16
- package/dist/{work-comment-cmd-PUE47SUV.js → work-comment-cmd-SRQXRRJT.js} +18 -18
- package/dist/{work-demo-cmd-7Q3KW2OO.js → work-demo-cmd-INUFIHU4.js} +16 -16
- package/dist/{work-logs-cmd-SQBJX6MC.js → work-logs-cmd-TMJC7RRS.js} +16 -16
- package/dist/work-no-change-cmd-7NI4FKCC.js +85 -0
- package/dist/{work-open-pr-cmd-PNDF2CR5.js → work-open-pr-cmd-O6XW2YGD.js} +17 -17
- package/dist/{work-pr-cmd-U7WL7KYE.js → work-pr-cmd-QSE3BH3Z.js} +16 -16
- package/dist/{work-proofs-cmd-YHOM2NIH.js → work-proofs-cmd-MHSLSBDV.js} +18 -18
- package/dist/{work-proofs-record-CYIZ2RDH.js → work-proofs-record-FU2Y6FBF.js} +24 -24
- package/dist/{work-stop-cmd-ENRSBWFT.js → work-stop-cmd-J77H7RLL.js} +16 -16
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-build/SKILL.md +20 -6
- package/skill-pack/maintained/outerlayer-build/references/code-review-judge.md +80 -0
- package/skill-pack/maintained/outerlayer-build/references/release.md +0 -15
- package/skill-pack/maintained/outerlayer-build/references/review-loop.md +1 -3
- package/skill-pack/maintained/outerlayer-evidence/SKILL.md +3 -7
- package/dist/agent-setup-RO2DJUF3.js +0 -40
- package/dist/caller-3P3AEY7W.js +0 -23
- package/dist/find-unit-UVS2FM7E.js +0 -24
- package/dist/host-checks-HPCMZ7XT.js +0 -79
- package/dist/host-key-5APXLMY2.js +0 -18
- package/dist/init-YD4MNH5U.js +0 -79
- package/dist/loop-SVE6TL6G.js +0 -90
- package/dist/machine-RQIO5VRG.js +0 -79
- package/dist/pending-RYWBDJCE.js +0 -18
- package/dist/runner-env-GXY2VMNH.js +0 -24
- package/dist/state-EKXXOPA5.js +0 -18
- package/dist/update-steps-3LOJ377U.js +0 -80
- package/skill-pack/validators/code-review.yaml +0 -30
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-
|
|
4
|
-
import { currentVersion, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-
|
|
3
|
+
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-3UKDQNFF.js';
|
|
4
|
+
import { currentVersion, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-LYBHKNEG.js';
|
|
5
5
|
import { compareVersions } from './chunk-TQMI335S.js';
|
|
6
|
-
import { runnerDir, RUNNER_DIR_MODE } from './chunk-
|
|
6
|
+
import { runnerDir, RUNNER_DIR_MODE } from './chunk-LYORNXIT.js';
|
|
7
7
|
import { lchownSync, lstatSync, realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync, readdirSync } from 'fs';
|
|
8
8
|
import { dirname, sep, join } from 'path';
|
|
9
9
|
import { spawnSync } from 'child_process';
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-FPEZB7CD.js';
|
|
4
|
+
import { writeFleetState } from './chunk-WX7XACEU.js';
|
|
5
|
+
import { writePendingUpdate } from './chunk-FPPBL7ZC.js';
|
|
6
|
+
import { renderUpdateSteps } from './chunk-ABPIZHXI.js';
|
|
7
|
+
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-NDLWXIVK.js';
|
|
6
8
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
7
9
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { RUNNER_RESERVE_BYTES } from './chunk-VOSC32UF.js';
|
|
15
|
-
import { RepoFilter } from './chunk-LRE4QIMD.js';
|
|
10
|
+
import { RUNNER_PROTOCOL } from './chunk-MLM4BYK2.js';
|
|
11
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-G3NMES6L.js';
|
|
12
|
+
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-LYBHKNEG.js';
|
|
13
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, releaseLease, LEASE_SECONDS, itemTag, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, listItemDisks, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } from './chunk-3RFREMDQ.js';
|
|
14
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-SZQKS4QK.js';
|
|
15
|
+
import { RepoFilter } from './chunk-SDUCKX46.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-BEQYO2VO.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-PVLDVUNJ.js';
|
|
20
|
+
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-VYAFSV43.js';
|
|
21
21
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
22
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-
|
|
23
|
-
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-
|
|
24
|
-
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-
|
|
25
|
-
import { allocatedBytes, freeBytes, formatBytes } from './chunk-
|
|
26
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-
|
|
27
|
-
import { loadHostKey, ensureHostKey, signerFor } from './chunk-
|
|
28
|
-
import { RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-
|
|
29
|
-
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-
|
|
30
|
-
import { jobCredentialProblem, COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-
|
|
31
|
-
import { jobAgent, jobCommandEnv, runnerAgents } from './chunk-
|
|
22
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-ICKFR2DB.js';
|
|
23
|
+
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-IQHREL5T.js';
|
|
24
|
+
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-6Y4ZE74I.js';
|
|
25
|
+
import { allocatedBytes, freeBytes, formatBytes } from './chunk-QF6US5YN.js';
|
|
26
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-FZD6GIW5.js';
|
|
27
|
+
import { loadHostKey, ensureHostKey, signerFor } from './chunk-FSQDS7A6.js';
|
|
28
|
+
import { RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-LYORNXIT.js';
|
|
29
|
+
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-QHT6PIFP.js';
|
|
30
|
+
import { jobCredentialProblem, COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-BU25W7GF.js';
|
|
31
|
+
import { jobAgent, jobCommandEnv, runnerAgents } from './chunk-PJNOTSB5.js';
|
|
32
32
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
33
33
|
import { mkdirSync, existsSync, writeFileSync, chmodSync, renameSync, statSync, readdirSync, readFileSync, rmSync, closeSync } from 'fs';
|
|
34
34
|
import { join, dirname } from 'path';
|
|
@@ -2323,7 +2323,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
2323
2323
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
2324
2324
|
);
|
|
2325
2325
|
async function tryClaimAndStart(state, item, queue) {
|
|
2326
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
2326
|
+
const { postJson: postJson2 } = await import('./work-cmd-VC353JLU.js');
|
|
2327
2327
|
const log = logOf(state);
|
|
2328
2328
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
2329
2329
|
const claim = await retrySend(
|
|
@@ -2461,7 +2461,7 @@ async function startClaimedBuild(state, item, queue, data, fleet) {
|
|
|
2461
2461
|
log.line(`${tag}: ${entry.repository} is left out of this build because its GitHub App installation is suspended`);
|
|
2462
2462
|
}
|
|
2463
2463
|
try {
|
|
2464
|
-
await startJob(state, item, queue, claimId, itemKey, branch, identity, repositories, fleet, data.freshDisk === true, data.diskHeldElsewhere === true);
|
|
2464
|
+
await startJob(state, item, queue, claimId, itemKey, branch, identity, repositories, fleet, data.freshDisk === true, data.diskHeldElsewhere === true, data.codeReview === true);
|
|
2465
2465
|
} catch (err) {
|
|
2466
2466
|
const stranded = [...state.jobs.values()].find((active) => active.job.claimId === claimId);
|
|
2467
2467
|
if (stranded === void 0) throw err;
|
|
@@ -2519,7 +2519,7 @@ async function prepareSession(state, active, item, queue, tag) {
|
|
|
2519
2519
|
return void 0;
|
|
2520
2520
|
}
|
|
2521
2521
|
}
|
|
2522
|
-
async function startJob(state, item, queue, claimId, itemKey, branch, identity, claimed, fleet, freshDisk, diskHeldElsewhere) {
|
|
2522
|
+
async function startJob(state, item, queue, claimId, itemKey, branch, identity, claimed, fleet, freshDisk, diskHeldElsewhere, codeReview) {
|
|
2523
2523
|
const log = logOf(state);
|
|
2524
2524
|
const startedAt = nowOf(state);
|
|
2525
2525
|
const repositories = repositoriesOf({ repositories: claimed, repository: item.specRepository, branch });
|
|
@@ -2541,6 +2541,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
2541
2541
|
workItemId: item.id,
|
|
2542
2542
|
...freshDisk ? { freshDisk: true } : {},
|
|
2543
2543
|
...diskHeldElsewhere ? { diskHeldElsewhere: true } : {},
|
|
2544
|
+
...codeReview === true ? { codeReview: true } : {},
|
|
2544
2545
|
...fleet === void 0 ? {} : { appId: fleet.appId, organizationId: fleet.organizationId, size: fleet.size },
|
|
2545
2546
|
...primary === void 0 ? {} : { repository: primary.repository, repositories },
|
|
2546
2547
|
...jobAgentId === void 0 ? {} : { agent: jobAgentId },
|
|
@@ -3765,7 +3766,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
3765
3766
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
3766
3767
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
3767
3768
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
3768
|
-
return (await import('./check-
|
|
3769
|
+
return (await import('./check-U2CFIW42.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
3769
3770
|
},
|
|
3770
3771
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
3771
3772
|
log
|
|
@@ -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-X32HZMMA.js';
|
|
4
|
+
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-3HEBSWNE.js';
|
|
5
|
+
import { installStarterPack } from './chunk-HCIOUSUX.js';
|
|
6
|
+
import { listWithAnd } from './chunk-7VVTZNUP.js';
|
|
7
|
+
import { AGENTS_MD_LAYOUT, mcpFiles, declareAgentsMdLayout, linkAgentSkills, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-FSYEDSSA.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGitCommonDir, defaultGitRunner } from './chunk-
|
|
9
|
+
import { resolveGitCommonDir, defaultGitRunner } from './chunk-QZAZPRDW.js';
|
|
10
10
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
11
|
-
import { linkedAgentsPath } from './chunk-
|
|
11
|
+
import { linkedAgentsPath } from './chunk-LPTMKPCD.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-OO33S4AF.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,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { withInjectedPrograms } from './chunk-
|
|
4
|
-
import { sharedSkillNames } from './chunk-
|
|
3
|
+
import { withInjectedPrograms } from './chunk-DRUM7NWK.js';
|
|
4
|
+
import { sharedSkillNames } from './chunk-BJYX3PMU.js';
|
|
5
5
|
import { GOVERNANCE_VARIABLE, versionAtLeast, CONTROL_PLANE_DIR_VARIABLE } from './chunk-SF2TBJBP.js';
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
|
-
import { setupMachineSkills } from './chunk-
|
|
8
|
-
import { defaultAgents, agentById, legacyAgent } from './chunk-
|
|
7
|
+
import { setupMachineSkills } from './chunk-V43NFQE3.js';
|
|
8
|
+
import { defaultAgents, agentById, legacyAgent } from './chunk-OO33S4AF.js';
|
|
9
9
|
import './chunk-PLVHIQJN.js';
|
|
10
10
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
11
11
|
import './chunk-CDDED64E.js';
|
|
12
12
|
import './chunk-RA3O54FC.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
14
|
+
import './chunk-X25VXXCF.js';
|
|
15
|
+
import './chunk-2VNT47DG.js';
|
|
16
16
|
import './chunk-Z5GEFMRW.js';
|
|
17
17
|
import { spawn, execFileSync } from 'child_process';
|
|
18
18
|
import { existsSync, readdirSync, lstatSync, readFileSync, writeFileSync, rmSync, mkdirSync, realpathSync, symlinkSync, renameSync, readlinkSync, statSync } from 'fs';
|
|
@@ -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-GOKEVTPX.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);
|