@outerlayer/cli 0.41.0-next.20261118010146 → 0.41.0-next.20261118011624
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/dist/{agent-credential-JN5VDRUX.js → agent-credential-WCHRKI5G.js} +2 -2
- package/dist/{agent-setup-7A66WE3X.js → agent-setup-ISSLHGJC.js} +10 -10
- package/dist/{agent-subcommand-AE42NSHC.js → agent-subcommand-5N44GBJ7.js} +1 -1
- package/dist/{bridge-PJTQ3XHE.js → bridge-5VAASNNJ.js} +5 -5
- package/dist/{build-IY6V7WPQ.js → build-PF4W2ASA.js} +11 -11
- package/dist/{build-disk-NUH6XJI5.js → build-disk-MSTWSDIT.js} +9 -9
- package/dist/build-info.json +1 -1
- package/dist/{builder-2VPG6AQO.js → builder-5PJVNQYN.js} +8 -8
- package/dist/{caller-NFJUALRD.js → caller-XLTD6RGV.js} +11 -11
- package/dist/{check-XEFPJ5QV.js → check-CXBD4VRL.js} +43 -41
- package/dist/{chunk-NPVIEJX6.js → chunk-2E5YBULG.js} +1 -1
- package/dist/{chunk-QFGKTIPS.js → chunk-3ZBBHCAW.js} +3 -3
- package/dist/{chunk-Y5IJTSFC.js → chunk-475AL6JE.js} +2 -2
- package/dist/{chunk-H6V5NFPW.js → chunk-4Y4MZCAV.js} +5 -5
- package/dist/{chunk-D5TZYUGZ.js → chunk-53GNEMTP.js} +1 -1
- package/dist/{chunk-UYIWLYLX.js → chunk-55XGYVWE.js} +2 -2
- package/dist/{chunk-UU762HQX.js → chunk-5DEHVQCK.js} +6 -6
- package/dist/{chunk-H2NTP6OM.js → chunk-5NKVS3UO.js} +1 -1
- package/dist/{chunk-GVGHEQCU.js → chunk-5OI5KRAS.js} +2 -2
- package/dist/{chunk-JMSMNKCK.js → chunk-67IEAQPG.js} +1 -1
- package/dist/{chunk-TVU7AL2Z.js → chunk-6JP7F7VC.js} +2 -2
- package/dist/{chunk-PTZF6MC5.js → chunk-6ZZHVNXE.js} +2 -2
- package/dist/{chunk-NEOM73RW.js → chunk-7CNODON3.js} +1 -1
- package/dist/{chunk-MYFC3HKP.js → chunk-7RGKY7N5.js} +6 -6
- package/dist/{chunk-ARJLRXR6.js → chunk-AL3U2CW7.js} +30 -28
- package/dist/{chunk-W2BADNEW.js → chunk-BCJXDQEM.js} +3 -3
- package/dist/{chunk-W7P5QFRN.js → chunk-BJJ5ULJS.js} +4 -4
- package/dist/{chunk-6SYVSIGA.js → chunk-BRLSGY57.js} +1 -1
- package/dist/{chunk-3RXLDGWE.js → chunk-BTJEBFAO.js} +3 -3
- package/dist/{chunk-D5YKSWK3.js → chunk-CA3M6T4Z.js} +3 -3
- package/dist/{chunk-FD42O5SH.js → chunk-CDCO3HGT.js} +3 -3
- package/dist/{chunk-SR4532T7.js → chunk-CII3Z3YJ.js} +4 -4
- package/dist/{chunk-MKSCYAZU.js → chunk-CVG52UWM.js} +10 -10
- package/dist/{chunk-B2WCKRMW.js → chunk-FG25LDVH.js} +1 -1
- package/dist/{chunk-SDOM7OMG.js → chunk-FZCKTV7H.js} +5 -5
- package/dist/{chunk-YPA5KKVR.js → chunk-G3CS5PQP.js} +2 -2
- package/dist/{chunk-DXZ6QBUJ.js → chunk-GS5QF27G.js} +1 -1
- package/dist/{chunk-RSRFNL64.js → chunk-HIJWCAGE.js} +4 -4
- package/dist/{chunk-XCAPYFJ3.js → chunk-ICU76D7N.js} +2 -2
- package/dist/{chunk-FRLGVHJP.js → chunk-JR3R4R3R.js} +1 -1
- package/dist/{chunk-4I3SN7WG.js → chunk-JR6KYUIA.js} +2 -2
- package/dist/{chunk-QPC6OKD2.js → chunk-K7KKKOHO.js} +5 -5
- package/dist/{chunk-YLDHHHBJ.js → chunk-KJKMGZCS.js} +5 -5
- package/dist/{chunk-CUMLCXFI.js → chunk-M5SLRRBU.js} +2 -2
- package/dist/{chunk-WOQOZCZZ.js → chunk-M62TIWXX.js} +2 -2
- package/dist/{chunk-JYSJOUJE.js → chunk-MAWDHLEA.js} +7 -7
- package/dist/{chunk-YP6FUS5X.js → chunk-MDEMVCGR.js} +30 -24
- package/dist/{chunk-JD5VDXQO.js → chunk-MNN45CQ2.js} +2 -2
- package/dist/{chunk-QS2O5G64.js → chunk-MSDGVITJ.js} +48 -10
- package/dist/{chunk-QHGVLLOJ.js → chunk-MZJFHQJI.js} +1 -1
- package/dist/{chunk-WRIQGJKT.js → chunk-NI46LQRD.js} +2 -2
- package/dist/{chunk-YNZVC7XT.js → chunk-OGY3XBHB.js} +2 -2
- package/dist/{chunk-6USAAMGR.js → chunk-OZZCRYJI.js} +7 -7
- package/dist/{chunk-M4YTSRJI.js → chunk-PZNXFA4N.js} +1 -1
- package/dist/{chunk-D47Z2Z7F.js → chunk-RCJ3D5DA.js} +1 -1
- package/dist/{chunk-3HH2AQKF.js → chunk-RYVOUBUT.js} +1 -1
- package/dist/{chunk-EVAK6FAS.js → chunk-SANXMMBW.js} +1 -1
- package/dist/{chunk-BPZ23EMS.js → chunk-SLM6EVQN.js} +1 -1
- package/dist/{chunk-EYD5HOQ7.js → chunk-SRTJZV7P.js} +1 -1
- package/dist/{chunk-VZT5SLZJ.js → chunk-SXFHQ4Q4.js} +3 -3
- package/dist/{chunk-2X3FX53G.js → chunk-TKFMESAI.js} +3 -3
- package/dist/{chunk-I6G5CO3K.js → chunk-VKAQSJZN.js} +1 -1
- package/dist/{chunk-DJCSAWBV.js → chunk-VWVXEJDK.js} +2 -2
- package/dist/{chunk-M6I3CVUJ.js → chunk-X623IDTM.js} +21 -10
- package/dist/{chunk-DFTA22YA.js → chunk-XBFVL7PB.js} +4 -4
- package/dist/{chunk-GAHP2AI3.js → chunk-Y26BNEMO.js} +2 -2
- package/dist/{claude-launcher-HNE36BKE.js → claude-launcher-FG7INEGW.js} +1 -1
- package/dist/{cli-NV77HUIC.js → cli-MADWWBN4.js} +144 -144
- package/dist/{command-GUK5MRNN.js → command-CLWR3FUL.js} +37 -37
- package/dist/{config-6GDB7WSI.js → config-VVEK5PI7.js} +10 -10
- package/dist/{connect-cmd-SXSWOHVT.js → connect-cmd-27EZXSQD.js} +8 -8
- package/dist/{container-start-IHBVFJVA.js → container-start-GIBWJIUU.js} +34 -34
- package/dist/{context-show-cmd-ZWOTXOXV.js → context-show-cmd-XGWEED7L.js} +9 -9
- package/dist/{control-plane-launch-BPJQYN6J.js → control-plane-launch-BEN5IP6V.js} +8 -8
- package/dist/{demo-record-cmd-4H2J2N3X.js → demo-record-cmd-SLC5BB4F.js} +6 -6
- package/dist/{demo-voice-cmd-VIOM4SF5.js → demo-voice-cmd-DEBELV5H.js} +14 -14
- package/dist/{docker-NOVLMJ63.js → docker-V7LPG7UC.js} +8 -8
- package/dist/{doctor-XE4WJ3EG.js → doctor-C6N55URV.js} +36 -36
- package/dist/{emit-artifact-cmd-HUAKLOH4.js → emit-artifact-cmd-LR5CDALJ.js} +13 -13
- package/dist/{emit-criteria-cmd-7LKPQRFE.js → emit-criteria-cmd-QXOWR62U.js} +10 -10
- package/dist/{emit-demo-cmd-7TW5Y3MN.js → emit-demo-cmd-IBGCUSYL.js} +14 -14
- package/dist/{emit-finding-cmd-T3JBAGS2.js → emit-finding-cmd-QHJBPJPW.js} +10 -10
- package/dist/{emit-result-cmd-ILRQ6OIL.js → emit-result-cmd-XOISZCY3.js} +12 -12
- package/dist/{emit-step-cmd-4ISFOYRC.js → emit-step-cmd-2GPRJQNX.js} +10 -10
- package/dist/{exec-client-UJKPJRNK.js → exec-client-VGSMXNKS.js} +6 -6
- package/dist/{find-unit-BSJIDCK6.js → find-unit-7VMZPXFC.js} +11 -11
- package/dist/{findings-cmd-37RCXQK2.js → findings-cmd-YUWS5J7S.js} +10 -10
- package/dist/{fleet-readiness-IVFQSHPL.js → fleet-readiness-IOHYJY4W.js} +8 -8
- package/dist/{governing-source-RXJBJHN7.js → governing-source-KJNPV7BE.js} +12 -12
- package/dist/{guest-init-EXKSBS7A.js → guest-init-R7X5CUNQ.js} +7 -7
- package/dist/{hook-fast-BSH6IHRN.js → hook-fast-4U5KN5DQ.js} +1 -1
- package/dist/{host-checks-ZSZAWHID.js → host-checks-G656HX6E.js} +32 -32
- package/dist/{host-key-7WPFECOD.js → host-key-6MP2WQDQ.js} +6 -6
- package/dist/{image-tag-GLR3OAO3.js → image-tag-DQZQLNUN.js} +6 -6
- package/dist/index.js +4 -4
- package/dist/{init-PXP2NCIG.js → init-KMLACOSW.js} +32 -32
- package/dist/{init-EGSEHSNO.js → init-PY4NIYW4.js} +32 -32
- package/dist/{init-agent-WWHNWKLZ.js → init-agent-NZGNDNBY.js} +32 -32
- package/dist/{init-cmd-R75FE7AC.js → init-cmd-6NJQQVR5.js} +14 -14
- package/dist/{init-update-FAFXM2YE.js → init-update-AZOTPBI7.js} +11 -11
- package/dist/{install-cmd-CQOUTGDI.js → install-cmd-S5VFI7NR.js} +13 -13
- package/dist/{launch-agent-IGPMAMP3.js → launch-agent-AXF2ED2A.js} +13 -13
- package/dist/{logs-RVPQEAYN.js → logs-GWNZVEWX.js} +5 -5
- package/dist/{loop-YHRUH5FT.js → loop-GGADN4X4.js} +40 -40
- package/dist/{machine-PDG5O7CC.js → machine-7VMKOIFB.js} +32 -32
- package/dist/{mcp-serve-cmd-UT3YCM5P.js → mcp-serve-cmd-7ST4TEEZ.js} +7 -7
- package/dist/{paths-72CWJPND.js → paths-2QQQW7UU.js} +5 -5
- package/dist/{pending-ES4EF46B.js → pending-MIZOCMQO.js} +6 -6
- package/dist/{pidfile-WI6SE35U.js → pidfile-US23B2SQ.js} +6 -6
- package/dist/{record-KX763L6R.js → record-LCEWXDKS.js} +6 -6
- package/dist/{relay-ZZWAUA6P.js → relay-MHWMGCTK.js} +3 -3
- package/dist/{relay-protocol-4GCTOIT4.js → relay-protocol-FHGPRNPT.js} +3 -3
- package/dist/{run-cmd-SCXMROKB.js → run-cmd-BH7M2GHA.js} +10 -10
- package/dist/runner-agents-2JTYE3RL.js +15 -0
- package/dist/{runner-env-C7WRAXKE.js → runner-env-PU6WIRCC.js} +12 -12
- package/dist/{runner-identity-UIGOYBCF.js → runner-identity-F727CIPY.js} +8 -8
- package/dist/{runner-key-R5HHVY2P.js → runner-key-ML6NMQC4.js} +32 -32
- package/dist/{session-sender-A46R3S66.js → session-sender-GRHNLJ54.js} +13 -13
- package/dist/{setup-cmd-JAXSLBJY.js → setup-cmd-LOXZNIRO.js} +9 -9
- package/dist/{setup-wiring-SOIFFGA2.js → setup-wiring-CBRAMTHM.js} +36 -36
- package/dist/{spec-cmd-C4KSLTAD.js → spec-cmd-UH6RGIST.js} +11 -11
- package/dist/{state-TCZAKBBZ.js → state-L67V6AML.js} +6 -6
- package/dist/{status-OIYTNHPK.js → status-NWHPZ64N.js} +32 -32
- package/dist/{sync-cmd-ZYTJMWET.js → sync-cmd-QK6IQF3F.js} +12 -12
- package/dist/{update-steps-C5VUAFC5.js → update-steps-6SKUQISL.js} +33 -33
- package/dist/{watch-VCKWAILU.js → watch-OQKMLLTU.js} +12 -12
- package/dist/{work-claim-cmd-TIO6T5KJ.js → work-claim-cmd-KHEY7QBX.js} +16 -16
- package/dist/{work-cmd-7KOXRPOJ.js → work-cmd-KXMF42BU.js} +10 -10
- package/dist/{work-comment-cmd-EDXP3K7B.js → work-comment-cmd-4QEJW4UR.js} +12 -12
- package/dist/{work-demo-cmd-OYZTKNCG.js → work-demo-cmd-UNJ77ILF.js} +10 -10
- package/dist/{work-logs-cmd-P3QS5AFY.js → work-logs-cmd-HI4P3EGH.js} +10 -10
- package/dist/{work-mock-cmd-3QEXWV43.js → work-mock-cmd-RN6A5FDA.js} +10 -10
- package/dist/{work-needs-attention-cmd-ZTQB2DXB.js → work-needs-attention-cmd-TUINWEIT.js} +10 -10
- package/dist/{work-no-change-cmd-FGHOOPLY.js → work-no-change-cmd-2ASMVDHL.js} +10 -10
- package/dist/{work-open-pr-cmd-WFIPFVQR.js → work-open-pr-cmd-C5VYFOHW.js} +11 -11
- package/dist/{work-pr-cmd-262GWNKI.js → work-pr-cmd-ICYDMFTL.js} +10 -10
- package/dist/{work-proofs-cmd-XPQGYBKY.js → work-proofs-cmd-HY7UNTZV.js} +11 -11
- package/dist/{work-proofs-record-N3II3BAE.js → work-proofs-record-4M5JAUGQ.js} +17 -17
- package/dist/{work-stop-cmd-CBRWKR4Q.js → work-stop-cmd-K2SHFPWB.js} +10 -10
- package/package.json +1 -1
- package/dist/runner-agents-QS3IX55G.js +0 -15
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { writePendingUpdate } from './chunk-
|
|
4
|
-
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-
|
|
3
|
+
import { writePendingUpdate } from './chunk-BRLSGY57.js';
|
|
4
|
+
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-67IEAQPG.js';
|
|
5
5
|
import { decideInstalledSwitch } from './chunk-TXKHD4Q6.js';
|
|
6
6
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
7
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
8
|
-
import { renderUpdateSteps } from './chunk-
|
|
9
|
-
import { writeFleetState } from './chunk-
|
|
10
|
-
import { fleetConfigProblem, realBlockedProbes, checkBlockedWithSlots, askFleetMachine } from './chunk-
|
|
11
|
-
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-
|
|
12
|
-
import { leaseTimeLeftMs, createContainerRuntime, heldSandboxClaimsOf, unfinishedJobs, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, noteMissingCredential, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, withJobTimeLimit, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, runCommandFor, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, commandEndReasonOf, holdManagedKey, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, SandboxContainerStoppedError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, jobTimeLimitMinutes, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, hookLimitsFor, runCommandOf, AttemptLogBook, fetchManagedModelKey, environmentFor, builtOf, judgeCredential, missingJudgeCredential, reviewFiles, readWorkItem, issueText, storedProblemsText, territories, territoryBrief, dropNonProblems, mergeAnswers, carriedProblems, unreviewedItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, holdsHostDisk, removeOldestUntil, treeFileText, scrubReason, superviseRuns, NO_LOG, timeoutAfter, unreviewedFiles, markdownSection, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-
|
|
7
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-MAWDHLEA.js';
|
|
8
|
+
import { renderUpdateSteps } from './chunk-BCJXDQEM.js';
|
|
9
|
+
import { writeFleetState } from './chunk-GS5QF27G.js';
|
|
10
|
+
import { fleetConfigProblem, realBlockedProbes, checkBlockedWithSlots, askFleetMachine } from './chunk-X623IDTM.js';
|
|
11
|
+
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-PZNXFA4N.js';
|
|
12
|
+
import { leaseTimeLeftMs, createContainerRuntime, heldSandboxClaimsOf, unfinishedJobs, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, noteMissingCredential, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, withJobTimeLimit, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, runCommandFor, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, commandEndReasonOf, holdManagedKey, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, SandboxContainerStoppedError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, jobTimeLimitMinutes, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, hookLimitsFor, runCommandOf, AttemptLogBook, fetchManagedModelKey, environmentFor, builtOf, judgeCredential, missingJudgeCredential, reviewFiles, readWorkItem, issueText, storedProblemsText, territories, territoryBrief, dropNonProblems, mergeAnswers, carriedProblems, unreviewedItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, holdsHostDisk, removeOldestUntil, treeFileText, scrubReason, superviseRuns, NO_LOG, timeoutAfter, unreviewedFiles, markdownSection, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-MDEMVCGR.js';
|
|
13
13
|
import { criteriaOf, diffLines, loadCitationFinder, wholeItems, itemsSentence, oneLineReason, treePath, parseJudgeAnswer, wholeEntries, lineInDiff } from './chunk-ZFTAOXJE.js';
|
|
14
14
|
import { RUNNER_PROTOCOL } from './chunk-QDJBEQCE.js';
|
|
15
|
-
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-
|
|
15
|
+
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-RYVOUBUT.js';
|
|
16
16
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
17
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock, readGovernedFiles } from './chunk-
|
|
18
|
-
import { RepoFilter } from './chunk-
|
|
17
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock, readGovernedFiles } from './chunk-7RGKY7N5.js';
|
|
18
|
+
import { RepoFilter } from './chunk-K7KKKOHO.js';
|
|
19
19
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-B4XB5QFD.js';
|
|
20
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, itemCalls, configForJob } from './chunk-
|
|
21
|
-
import { fetchCommit, readBranchHead, diffBetween, readDefaultBranchFiles } from './chunk-
|
|
22
|
-
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-
|
|
20
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, itemCalls, configForJob } from './chunk-475AL6JE.js';
|
|
21
|
+
import { fetchCommit, readBranchHead, diffBetween, readDefaultBranchFiles } from './chunk-OZZCRYJI.js';
|
|
22
|
+
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-2E5YBULG.js';
|
|
23
23
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
24
|
-
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-
|
|
25
|
-
import { keyRunnerFactory, readsOnly, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_CHECK_TIME_LIMIT_MINUTES, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-
|
|
26
|
-
import { formatBytes, freeBytes } from './chunk-
|
|
27
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, judgeProgram, JUDGE_TREE, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, JUDGE_DIR, judgeCommand, JUDGE_MAX_TURNS } from './chunk-
|
|
28
|
-
import { loadHostKey, ensureHostKey, signerFor } from './chunk-
|
|
29
|
-
import { jobsDir, RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, pidFilePath, storeScopes } from './chunk-
|
|
30
|
-
import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT, WORK_DIR } from './chunk-
|
|
31
|
-
import { COMMAND_LOST_REASON, AGENT_CREDENTIAL_MISSING, CONTAINER_STOPPED_REASON } from './chunk-
|
|
32
|
-
import { reportedAgents, jobCredentialProblem, takeAgentCredentials, heldAgentCredential, currentAgentCredential, fdName } from './chunk-
|
|
33
|
-
import { cleanAttachmentName } from './chunk-
|
|
34
|
-
import { jobAgentIdFor, commandAgentId, jobAgent, judgeAgent, commandForJob, withJobModel, jobCommandEnv, jobKeyProviders, agentsToHold, runnerAgents, listedAgents } from './chunk-
|
|
24
|
+
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-KJKMGZCS.js';
|
|
25
|
+
import { keyRunnerFactory, readsOnly, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_CHECK_TIME_LIMIT_MINUTES, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-CII3Z3YJ.js';
|
|
26
|
+
import { formatBytes, freeBytes } from './chunk-MNN45CQ2.js';
|
|
27
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, judgeProgram, JUDGE_TREE, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, JUDGE_DIR, judgeCommand, JUDGE_MAX_TURNS } from './chunk-5DEHVQCK.js';
|
|
28
|
+
import { loadHostKey, ensureHostKey, signerFor } from './chunk-VKAQSJZN.js';
|
|
29
|
+
import { jobsDir, RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, pidFilePath, storeScopes } from './chunk-53GNEMTP.js';
|
|
30
|
+
import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT, WORK_DIR } from './chunk-NI46LQRD.js';
|
|
31
|
+
import { COMMAND_LOST_REASON, AGENT_CREDENTIAL_MISSING, CONTAINER_STOPPED_REASON } from './chunk-Y26BNEMO.js';
|
|
32
|
+
import { reportedAgents, jobCredentialProblem, takeAgentCredentials, heldAgentCredential, currentAgentCredential, fdName } from './chunk-RCJ3D5DA.js';
|
|
33
|
+
import { cleanAttachmentName } from './chunk-SANXMMBW.js';
|
|
34
|
+
import { jobAgentIdFor, commandAgentId, jobAgent, judgeAgent, commandForJob, withJobModel, jobCommandEnv, jobKeyProviders, agentsToHold, runnerAgents, listedAgents } from './chunk-MSDGVITJ.js';
|
|
35
35
|
import { defaultAgents, resolvePackRoot } from './chunk-XMJNIIPM.js';
|
|
36
36
|
import { isModelId, PROVIDERS } from './chunk-Q7Z6ELTL.js';
|
|
37
37
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
@@ -1604,7 +1604,7 @@ function chooseTeamRules(files, at) {
|
|
|
1604
1604
|
const source = { ...at, path };
|
|
1605
1605
|
if (Buffer.byteLength(text2, "utf8") > TEAM_RULES_MAX_BYTES) return { status: "too_large", source };
|
|
1606
1606
|
const rules = parseTeamRules(text2);
|
|
1607
|
-
return rules === void 0 ? { status: "
|
|
1607
|
+
return rules === void 0 ? { status: "empty", source } : { status: "used", source, rules, text: text2 };
|
|
1608
1608
|
}
|
|
1609
1609
|
function teamRulesSection(rules) {
|
|
1610
1610
|
const parts = [
|
|
@@ -1646,6 +1646,8 @@ function teamRulesLogLine(read) {
|
|
|
1646
1646
|
return `the team's review rules come from ${read.source.path} in ${read.source.repository}@${read.source.commit.slice(0, 7)}`;
|
|
1647
1647
|
case "none":
|
|
1648
1648
|
return `no review skill was found in ${read.repository}@${read.commit.slice(0, 7)} (looked for ${TEAM_RULES_PATHS.join(" and ")}), so the review runs with the built-in rules alone`;
|
|
1649
|
+
case "empty":
|
|
1650
|
+
return `${read.source.path} in ${read.source.repository}@${read.source.commit.slice(0, 7)} holds no rule under "${ALSO_HEADING}" or "${NEVER_HEADING}", so the review runs with the built-in rules alone`;
|
|
1649
1651
|
case "too_large":
|
|
1650
1652
|
return `${read.source.path} in ${read.source.repository}@${read.source.commit.slice(0, 7)} is larger than ${TEAM_RULES_MAX_BYTES / 1024} KiB, so the team's review rules are not used`;
|
|
1651
1653
|
case "unreadable":
|
|
@@ -3387,7 +3389,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
3387
3389
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
3388
3390
|
);
|
|
3389
3391
|
async function tryClaimAndStart(state, item, queue) {
|
|
3390
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
3392
|
+
const { postJson: postJson2 } = await import('./work-cmd-KXMF42BU.js');
|
|
3391
3393
|
const log = logOf(state);
|
|
3392
3394
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
3393
3395
|
const claim = await retrySend(
|
|
@@ -5090,7 +5092,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
5090
5092
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
5091
5093
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
5092
5094
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
5093
|
-
return (await import('./check-
|
|
5095
|
+
return (await import('./check-CXBD4VRL.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
5094
5096
|
},
|
|
5095
5097
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
5096
5098
|
log
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { stripTerminalControls } from './chunk-
|
|
4
|
-
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-
|
|
3
|
+
import { stripTerminalControls } from './chunk-MDEMVCGR.js';
|
|
4
|
+
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-RYVOUBUT.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
|
|
7
7
|
createRequire(import.meta.url);
|
|
@@ -55,7 +55,7 @@ function envNamesOf(row, imageEnv) {
|
|
|
55
55
|
return [...new Set(names)].sort();
|
|
56
56
|
}
|
|
57
57
|
async function readOwnContainer(deps = {}) {
|
|
58
|
-
const run = deps.run ?? (await import('./docker-
|
|
58
|
+
const run = deps.run ?? (await import('./docker-V7LPG7UC.js')).spawnRun;
|
|
59
59
|
const ids = candidateIds(deps.env ?? process.env, deps.readFile ?? ((path) => readFileSync(path, "utf8")));
|
|
60
60
|
if (ids.length === 0) return { ok: false, reason: "the runner cannot tell which container it runs in: HOSTNAME is empty and /proc/self/mountinfo names none" };
|
|
61
61
|
let problem = "";
|
|
@@ -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-CA3M6T4Z.js';
|
|
5
5
|
import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
|
|
6
6
|
import { detectActiveSession } from './chunk-26RXLXEX.js';
|
|
7
|
-
import { autoConnect } from './chunk-
|
|
7
|
+
import { autoConnect } from './chunk-JR6KYUIA.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
9
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-JR3R4R3R.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-MSDGVITJ.js';
|
|
12
12
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
13
13
|
import { resolveRepoIdentity } from './chunk-KTZOD7A3.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-37WA2LQC.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-53GNEMTP.js';
|
|
4
4
|
import { readFileSync, existsSync, rmSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -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-KJKMGZCS.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-26RXLXEX.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-WNFITHNX.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
8
|
-
import { logHookError } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-JR3R4R3R.js';
|
|
8
|
+
import { logHookError } from './chunk-SANXMMBW.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,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-
|
|
3
|
+
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-K7KKKOHO.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
5
5
|
import { detectActiveSession } from './chunk-26RXLXEX.js';
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
6
|
+
import { autoConnect } from './chunk-JR6KYUIA.js';
|
|
7
7
|
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-WNFITHNX.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-JR3R4R3R.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
12
12
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-Q7Z6ELTL.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { PROXY_WARNING_FLAG } from './chunk-
|
|
4
|
-
import { RELAY_ID, RELAY_USER } from './chunk-
|
|
5
|
-
import { imageInstalls, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-
|
|
3
|
+
import { PROXY_WARNING_FLAG } from './chunk-NI46LQRD.js';
|
|
4
|
+
import { RELAY_ID, RELAY_USER } from './chunk-Y26BNEMO.js';
|
|
5
|
+
import { imageInstalls, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-MSDGVITJ.js';
|
|
6
6
|
import { defaultAgents } from './chunk-XMJNIIPM.js';
|
|
7
7
|
|
|
8
8
|
createRequire(import.meta.url);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
5
|
-
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-
|
|
6
|
-
import { builderDiskPinned, agentIdOfCommand, defaultCommandFor, headlessAgentIds } from './chunk-
|
|
3
|
+
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-MNN45CQ2.js';
|
|
4
|
+
import { parseSize } from './chunk-5DEHVQCK.js';
|
|
5
|
+
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-NI46LQRD.js';
|
|
6
|
+
import { builderDiskPinned, agentIdOfCommand, defaultCommandFor, headlessAgentIds } from './chunk-MSDGVITJ.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
8
|
import { existsSync, statSync, accessSync, constants, readFileSync } from 'fs';
|
|
9
9
|
import { hostname } from 'os';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { checkStarterFiles, contextIsGoverned } from './chunk-FMOGX7RR.js';
|
|
4
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
5
|
-
import { isLinkedRepository } from './chunk-
|
|
6
|
-
import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-KJKMGZCS.js';
|
|
5
|
+
import { isLinkedRepository } from './chunk-FG25LDVH.js';
|
|
6
|
+
import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-SLM6EVQN.js';
|
|
7
7
|
import { sanitizeTerminal } from './chunk-WNFITHNX.js';
|
|
8
8
|
import { withInjectedPrograms } from './chunk-2RUTYYYA.js';
|
|
9
9
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
10
10
|
import { checkFormerSkillNames } from './chunk-4RPDWURG.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-JR3R4R3R.js';
|
|
12
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-SANXMMBW.js';
|
|
13
13
|
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-DJK3IK6K.js';
|
|
14
14
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
15
15
|
import { readStatuslineState, STATE_FRESH_MS } from './chunk-B3ZKYFBI.js';
|
|
@@ -1094,9 +1094,9 @@ function doctorExitCode(checks) {
|
|
|
1094
1094
|
|
|
1095
1095
|
// src/doctor-report.ts
|
|
1096
1096
|
async function gatherDoctorChecks(options = {}) {
|
|
1097
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1098
|
-
const { listedAgents } = await import('./runner-agents-
|
|
1099
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1097
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-MSTWSDIT.js');
|
|
1098
|
+
const { listedAgents } = await import('./runner-agents-2JTYE3RL.js');
|
|
1099
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-VVEK5PI7.js');
|
|
1100
1100
|
const configPath = options.configPath ?? defaultRunnerConfigPath();
|
|
1101
1101
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1102
1102
|
const hooks = (() => {
|
|
@@ -1124,7 +1124,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1124
1124
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1125
1125
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1126
1126
|
} else if (hasRunnerBlock(configPath)) {
|
|
1127
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1127
|
+
const { runnerHostChecks } = await import('./doctor-C6N55URV.js');
|
|
1128
1128
|
const gateway = (() => {
|
|
1129
1129
|
try {
|
|
1130
1130
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1153,7 +1153,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1153
1153
|
const service = await (async () => {
|
|
1154
1154
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1155
1155
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1156
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1156
|
+
const { inspectRunnerService } = await import('./find-unit-7VMZPXFC.js');
|
|
1157
1157
|
return inspectRunnerService(configPath);
|
|
1158
1158
|
})();
|
|
1159
1159
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { sanitizeTerminal } from './chunk-WNFITHNX.js';
|
|
4
4
|
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-4SMKP5QI.js';
|
|
5
5
|
import { DEFAULT_DASHBOARD } from './chunk-XDAMSCJG.js';
|
|
6
|
-
import { cliFetch, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { cliFetch, resolveGatewayCredentials } from './chunk-JR3R4R3R.js';
|
|
7
7
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
8
8
|
import { findGitDirs, writeRepoConnection, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
9
9
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-ZFTAOXJE.js';
|
|
4
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-KJKMGZCS.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-WNFITHNX.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-JR3R4R3R.js';
|
|
8
8
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { readDeliveryRecord } from './chunk-YQR6E6OV.js';
|
|
@@ -129,14 +129,14 @@ function governingDir(cwd) {
|
|
|
129
129
|
async function testProofMode(cwd) {
|
|
130
130
|
const dir = governingDir(cwd);
|
|
131
131
|
if (dir === void 0) return "any";
|
|
132
|
-
const { testProofIn } = await import('./host-checks-
|
|
132
|
+
const { testProofIn } = await import('./host-checks-G656HX6E.js');
|
|
133
133
|
return testProofIn(dir);
|
|
134
134
|
}
|
|
135
135
|
async function judgeCheckName(cwd) {
|
|
136
136
|
const dir = governingDir(cwd);
|
|
137
137
|
if (dir === void 0) return {};
|
|
138
138
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
139
|
-
const { checksIn, isJudgeCheck } = await import('./host-checks-
|
|
139
|
+
const { checksIn, isJudgeCheck } = await import('./host-checks-G656HX6E.js');
|
|
140
140
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
141
141
|
const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
|
|
142
142
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -372,7 +372,7 @@ async function runWorkProofs(opts) {
|
|
|
372
372
|
async function runWorkProofsCommand(opts) {
|
|
373
373
|
try {
|
|
374
374
|
if (opts.record || opts.check) {
|
|
375
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
375
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-4M5JAUGQ.js');
|
|
376
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
377
|
process.exitCode = result2.exitCode;
|
|
378
378
|
return;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-
|
|
3
|
+
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-CVG52UWM.js';
|
|
4
4
|
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-23YVVYQC.js';
|
|
5
|
-
import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-
|
|
5
|
+
import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-FG25LDVH.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
8
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-Q7Z6ELTL.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-53GNEMTP.js';
|
|
4
4
|
import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
|
|
5
5
|
import { dirname, join } from 'path';
|
|
6
6
|
|
|
@@ -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 { isHeadlessAgent, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialNames, forwardedVariables } from './chunk-
|
|
3
|
+
import { DEFAULT_UNIT_NAME } from './chunk-4Y4MZCAV.js';
|
|
4
|
+
import { RUNNER_FILE_MODE } from './chunk-53GNEMTP.js';
|
|
5
|
+
import { parseRunnerEnv, withoutCredentialLines } from './chunk-RCJ3D5DA.js';
|
|
6
|
+
import { isHeadlessAgent, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialNames, forwardedVariables } from './chunk-MSDGVITJ.js';
|
|
7
7
|
import { defaultAgents } from './chunk-XMJNIIPM.js';
|
|
8
8
|
import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
|
|
9
9
|
import { join, dirname, basename } from 'path';
|
|
@@ -3,8 +3,8 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { RemovedTargetError, removedTargetError } from './chunk-ATXTGXGK.js';
|
|
4
4
|
import { removeRetiredSkills } from './chunk-4RPDWURG.js';
|
|
5
5
|
import { removeLeftoverGitLocks } from './chunk-A2WPWZJA.js';
|
|
6
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
7
|
-
import { withTokenHeader } from './chunk-
|
|
6
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-JR3R4R3R.js';
|
|
7
|
+
import { withTokenHeader } from './chunk-NI46LQRD.js';
|
|
8
8
|
import { appendContextProvenance } from './chunk-545P7JY7.js';
|
|
9
9
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
10
10
|
import { writeDegraded, writeSourceCache, SOURCE_CACHE_TTL_RETRY_MS, writeContextManifest, SOURCE_CACHE_TTL_SUCCESS_MS, readSourceCache, isSourceCacheFresh, clearDegraded } from './chunk-YQR6E6OV.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readCloudConfigStrict, readCloudConfig, cloudConfigPath } from './chunk-HWVMRETT.js';
|
|
4
|
-
import { signRunnerRequest, signerFor } from './chunk-
|
|
4
|
+
import { signRunnerRequest, signerFor } from './chunk-VKAQSJZN.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-Z7J7JWGF.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-
|
|
4
|
-
import { resolveGatewayCredentials } from './chunk-
|
|
3
|
+
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-FG25LDVH.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-JR3R4R3R.js';
|
|
5
5
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
6
6
|
import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { uploadSpooledSteps } from './chunk-
|
|
3
|
+
import { uploadSpooledSteps } from './chunk-6ZZHVNXE.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-C2PZOLN7.js';
|
|
5
5
|
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-WNFITHNX.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-JR3R4R3R.js';
|
|
8
8
|
import { readCloudConfig, cloudConfigPath, writeCloudConfig } from './chunk-HWVMRETT.js';
|
|
9
|
-
import { signerFor, signRunnerRequest } from './chunk-
|
|
10
|
-
import { SCRUB_ENV_VARIABLE } from './chunk-
|
|
11
|
-
import { writeSyncStatus, logHookError, spoolDir } from './chunk-
|
|
9
|
+
import { signerFor, signRunnerRequest } from './chunk-VKAQSJZN.js';
|
|
10
|
+
import { SCRUB_ENV_VARIABLE } from './chunk-NI46LQRD.js';
|
|
11
|
+
import { writeSyncStatus, logHookError, spoolDir } from './chunk-SANXMMBW.js';
|
|
12
12
|
import { readLatestProvenanceForSession, readContextProvenance } from './chunk-545P7JY7.js';
|
|
13
13
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
14
14
|
import { hookExecSpoolPath } from './chunk-TLCTOEU5.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { detectActiveSession } from './chunk-26RXLXEX.js';
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
5
|
-
import { workPageUrl } from './chunk-
|
|
4
|
+
import { autoConnect } from './chunk-JR6KYUIA.js';
|
|
5
|
+
import { workPageUrl } from './chunk-FG25LDVH.js';
|
|
6
6
|
import { sanitizeTerminal } from './chunk-WNFITHNX.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-
|
|
9
|
-
import { signRunnerRequest } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-JR3R4R3R.js';
|
|
9
|
+
import { signRunnerRequest } from './chunk-VKAQSJZN.js';
|
|
10
10
|
import { readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
11
11
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
12
|
import { NATIVE_AGENTS, LEGACY_AGENT, isRunnerAgent, runnerAgentIds, isModelId, MODEL_ID_RULE, agentLabel } from './chunk-Q7Z6ELTL.js';
|
|
@@ -586,7 +586,7 @@ async function runWorkLinkSession(opts) {
|
|
|
586
586
|
return await linkSession(opts);
|
|
587
587
|
} catch (err) {
|
|
588
588
|
if (opts.logFailures) {
|
|
589
|
-
const { logHookError } = await import('./hook-fast-
|
|
589
|
+
const { logHookError } = await import('./hook-fast-4U5KN5DQ.js');
|
|
590
590
|
const reason = err instanceof Error ? err.message : String(err);
|
|
591
591
|
logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
|
|
592
592
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { linkedBranches, setupCommitPaths, commitCommandsFor, ownerAndName } from './chunk-
|
|
4
|
-
import { resolveGatewayCredentials } from './chunk-
|
|
3
|
+
import { linkedBranches, setupCommitPaths, commitCommandsFor, ownerAndName } from './chunk-FG25LDVH.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-JR3R4R3R.js';
|
|
5
5
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { execFileSync } from 'child_process';
|
|
7
7
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-
|
|
4
|
-
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-
|
|
3
|
+
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-NI46LQRD.js';
|
|
4
|
+
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-Y26BNEMO.js';
|
|
5
5
|
import { defaultAgents } from './chunk-XMJNIIPM.js';
|
|
6
6
|
import { PROVIDERS } from './chunk-Q7Z6ELTL.js';
|
|
7
7
|
import { symlinkSync, unlinkSync } from 'fs';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { scrubReason, stripTerminalControls } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
5
|
-
import { RunnerAlreadyRunningError, readPidFile } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-MDEMVCGR.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-4Y4MZCAV.js';
|
|
5
|
+
import { RunnerAlreadyRunningError, readPidFile } from './chunk-2E5YBULG.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
7
|
-
import { isSignatureRefusal, postJson } from './chunk-
|
|
8
|
-
import { keyRunnerFactory } from './chunk-
|
|
9
|
-
import { signerFor } from './chunk-
|
|
10
|
-
import { pidFilePath } from './chunk-
|
|
7
|
+
import { isSignatureRefusal, postJson } from './chunk-KJKMGZCS.js';
|
|
8
|
+
import { keyRunnerFactory } from './chunk-CII3Z3YJ.js';
|
|
9
|
+
import { signerFor } from './chunk-VKAQSJZN.js';
|
|
10
|
+
import { pidFilePath } from './chunk-53GNEMTP.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|
|
12
12
|
|
|
13
13
|
createRequire(import.meta.url);
|