@outerlayer/cli 0.39.0-next.20261113010907 → 0.39.0-next.20261113021627
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/build-info.json +1 -1
- package/dist/{check-UGHC2PHZ.js → check-MKZCEGZX.js} +6 -6
- package/dist/{chunk-C4GCCMK3.js → chunk-3HGVNB43.js} +9 -3
- package/dist/{chunk-V7OFCUUC.js → chunk-3IZ36W2Q.js} +1 -1
- package/dist/{chunk-FZSBTB26.js → chunk-7LDL72QW.js} +16 -11
- package/dist/{chunk-6LOSTSJ4.js → chunk-A677QPTA.js} +3 -3
- package/dist/{chunk-HEALR25S.js → chunk-DQA7TMSB.js} +1 -1
- package/dist/{chunk-IS4DD6LU.js → chunk-F3TPUHBQ.js} +1 -1
- package/dist/{chunk-O2IZCUOD.js → chunk-GZVKVXPM.js} +1 -1
- package/dist/{chunk-55JFNGQX.js → chunk-SYCWBLXF.js} +1 -1
- package/dist/{chunk-Q7755ZK2.js → chunk-U5VGCF6F.js} +1 -1
- package/dist/{cli-X67UVE6K.js → cli-5B6TDHBG.js} +25 -25
- package/dist/{command-TURQXL2X.js → command-3EHKALNI.js} +3 -3
- package/dist/{container-start-IWSHW2RP.js → container-start-UN3TBX37.js} +4 -4
- package/dist/{doctor-YWTAZRUU.js → doctor-5HMRGXGT.js} +4 -4
- package/dist/{host-checks-RXQSCNM7.js → host-checks-LX2ZYQAR.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/{init-VBVQVAJS.js → init-2GUULWIA.js} +2 -2
- package/dist/{init-IDVR3K2Q.js → init-5ZZBUNGQ.js} +2 -2
- package/dist/{init-agent-DXVUGHVK.js → init-agent-GFQ65VC7.js} +2 -2
- package/dist/{init-cmd-5NU35WTS.js → init-cmd-KTKYCV3H.js} +1 -1
- package/dist/{loop-5DHKVR5C.js → loop-LZI7X2FK.js} +6 -6
- package/dist/{machine-XUONIX65.js → machine-DKCKULTH.js} +2 -2
- package/dist/{runner-key-NDOHYBRP.js → runner-key-ACDZXGV3.js} +2 -2
- package/dist/{status-4ARJUTRS.js → status-WIHXEMTP.js} +2 -2
- package/dist/{update-steps-6NDRT3GD.js → update-steps-XUYGIUK4.js} +3 -3
- package/dist/{work-claim-cmd-OASH7QNC.js → work-claim-cmd-OUBS7FDG.js} +1 -1
- package/dist/{work-proofs-cmd-RHHO5K35.js → work-proofs-cmd-IK7QTWFE.js} +1 -1
- package/dist/{work-proofs-record-3UU3VWFQ.js → work-proofs-record-4SDL3XRV.js} +1 -1
- package/package.json +1 -1
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-11-
|
|
1
|
+
{"id":"2026-11-13T02:32:03.863Z","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { probeCredentials } from './chunk-
|
|
3
|
+
import { probeCredentials } from './chunk-7LDL72QW.js';
|
|
4
4
|
import './chunk-3JVYMD4G.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-SYCWBLXF.js';
|
|
6
6
|
import './chunk-E7R2GIAW.js';
|
|
7
7
|
import './chunk-HL3PZYIS.js';
|
|
8
8
|
import './chunk-JA2XIJNM.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-GZVKVXPM.js';
|
|
10
10
|
import './chunk-7XV7PAIG.js';
|
|
11
|
-
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-
|
|
11
|
+
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-3IZ36W2Q.js';
|
|
12
12
|
import './chunk-GSUVQR6U.js';
|
|
13
13
|
import { findServiceUnit } from './chunk-FPUSHYZ2.js';
|
|
14
|
-
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem, createGatewaySandboxClient, gatewayRefusalReason } from './chunk-
|
|
14
|
+
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem, createGatewaySandboxClient, gatewayRefusalReason } from './chunk-3HGVNB43.js';
|
|
15
15
|
import './chunk-KBWBPZKP.js';
|
|
16
|
-
import './chunk-
|
|
16
|
+
import './chunk-DQA7TMSB.js';
|
|
17
17
|
import './chunk-2PGI6RDE.js';
|
|
18
18
|
import './chunk-I3LTIAOR.js';
|
|
19
19
|
import './chunk-U5WMR7KJ.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems, openPullRequests, MAX_TEST_FILE_BYTES, wholeEntries } from './chunk-KBWBPZKP.js';
|
|
4
|
-
import { RUNNER_PROTOCOL } from './chunk-
|
|
4
|
+
import { RUNNER_PROTOCOL } from './chunk-DQA7TMSB.js';
|
|
5
5
|
import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
|
|
6
6
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
7
7
|
import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-U5WMR7KJ.js';
|
|
@@ -22,7 +22,7 @@ import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-Q53OXGQG
|
|
|
22
22
|
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-VQSSDICZ.js';
|
|
23
23
|
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-6YA7Q45N.js';
|
|
24
24
|
import { postJson, WorkCommandError, isSignatureRefusal, getJson } from './chunk-V4SNOE47.js';
|
|
25
|
-
import {
|
|
25
|
+
import { keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, sandboxTimeLimitMinutes, networkOf, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-PCQ4YB3I.js';
|
|
26
26
|
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-DUK6YKSG.js';
|
|
27
27
|
import { said, NETWORK_HELPER_MEMORY, firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, createDockerHost, builderSpec, childEnvironment, containerExecArgs, readDu, NETWORK_READY_FILE, withAnswerProtocol, JUDGE_TREE, MAX_REPORT_BYTES, runnerLabelValue, parseSize, readJobFileChecked, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, JUDGE_DIR, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, JUDGE_ITEMS, answerFileName, hashJudgeProgram, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, MAX_ITEMS_BYTES, JUDGE_REPORT, identityRunArgs, SAVED_STATE_LABEL } from './chunk-54OGFBBG.js';
|
|
28
28
|
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-SNI3A4RH.js';
|
|
@@ -1735,6 +1735,12 @@ function runIsolation(config) {
|
|
|
1735
1735
|
if (isBuiltinVm(config.hooks.provision) || isBuiltinSandbox(config.hooks.provision)) return "vm";
|
|
1736
1736
|
return void 0;
|
|
1737
1737
|
}
|
|
1738
|
+
function runDecision(config, agents = defaultAgents()) {
|
|
1739
|
+
const isolation = runIsolation(config);
|
|
1740
|
+
if (isolation === void 0) return { takes: false, because: "isolation" };
|
|
1741
|
+
if (runCommandOf(config, agents) === void 0) return { takes: false, because: "command" };
|
|
1742
|
+
return { takes: true, isolation };
|
|
1743
|
+
}
|
|
1738
1744
|
function claimRepos(repos) {
|
|
1739
1745
|
if (repos === void 0 || (repos.include?.length ?? 0) === 0 && (repos.exclude?.length ?? 0) === 0) return void 0;
|
|
1740
1746
|
const bare = (pattern) => pattern.replace(/^github\.com\//i, "");
|
|
@@ -14326,4 +14332,4 @@ async function runHostChecks(input) {
|
|
|
14326
14332
|
}
|
|
14327
14333
|
}
|
|
14328
14334
|
|
|
14329
|
-
export { ADOPTED_FETCH_RETRY_WINDOW_MS, ALREADY_RELEASED, AttemptLogBook, CRITERIA_CHECK, EXIT_CODE_FILE, GUEST_USAGE_INTERVAL_MS, HELPER_ENV, KIND_LABEL, LEASE_SECONDS, MAX_CHECK_ITEMS_BYTES, MICROVM_COMMAND_DIR, MIN_ENGINE_MAJOR, PLACEHOLDER_MARKER, RENEW_INTERVAL_SECONDS, RunnerInitError, SandboxGoneError, agentCredentialCheck, appendCommandLog, attemptNote, builtOf, checksIn, claimPermissionProblem, claimRun, commandItems, commandLogOffset, containerCommandExec, createContainerRuntime, createGatewaySandboxClient, createHousekeepingDocker, createLeaseChannel, currentSkillCommand, decideHostBuildSkill, deliverCommitHooks, deliverContainerHooks, deliverExecMaven, deliverJobFiles, deliverSandboxHooks, describeHookEnd, describeMachineDocker, detectMachine, ensureFirecrackerAndJailer, ensureNetworkReady, ensureTunnel, execArgv, execCommandLine, fetchManagedBuildSettings, fetchManagedClaudeKey, filesAreCopied, finishJob, foldSample, formerSkillProblem, formerSkillQueues, freeItemDisksUntil, gatewayRefusalReason, gitRemoteFor, helperFirecrackerNote, helperSocketPath, holdManagedBuildSettings, holdManagedClaudeKey, hookLimitsFor, hostCommandEnvironment, hostEnvironment, housekeepingDockerIfReachable, inSandbox, inTeardown, installTrust, isContainerTracked, isGroupAlive, isIdle, isIsolatedJob, isJudgeCheck, isMicroVmTracked, isPlaceholderCommand, isReadable, isSandboxTracked, isTimedOut, isTracked, isUnfinished, itemScope, itemTag, jobEnv, jobRecordsClaim, judgeProbe, keepGhConfigCurrent, keptCommitsLine, keptSandboxIds, keptSessionDir, leaseExpiresAtMs, leaseTimeLeftMs, lifecycleFailureReason, lifecycleSteps, listAdoptableJobs, listItemDisks, listTrackedJobs, listUnreadableJobs, listenOnBroker, makeRecorder, managedBuildSettingsFor, measureDisk, microVmArchSupported, microVmAssetsPinned, microVmCommandLine, microVmOomKills, missingPermissionFix, missingPermissionOf, modellessProblem, modellessQueues, needsAgentCredential, needsBuildSkill, needsRenew, outcomeFromExitCode, parseCpuList, permissionModeProblem, permissionModeProblems, placeholderProblem, placeholderQueues, prepareBranch, prepareResume, prepareRunnerInit, probeCommand, probeHelper, probeMicroVmCommand, probeSandboxCommand, provisionContainer, provisionEnvironment, provisionMicroVm, provisionSandbox, reachDockerStep, readConfigObject, readCpuUsec, readDefinitions, readProvisionOut, readRecords, recordsProofsOnly, recoverLostJobs, rejoinSandboxBuild, releaseLease, removeOldestUntil, renewLease, renewRun, resolveHostBuild, restartSender, restoreSessionIntoContainer, restoreSessionIntoMicroVm, restoreSessionIntoSandbox, restoreWork, retryFailedReleases, runCommand, runCommandOf, runHook, runHostChecks, runHousekeeping,
|
|
14335
|
+
export { ADOPTED_FETCH_RETRY_WINDOW_MS, ALREADY_RELEASED, AttemptLogBook, CRITERIA_CHECK, EXIT_CODE_FILE, GUEST_USAGE_INTERVAL_MS, HELPER_ENV, KIND_LABEL, LEASE_SECONDS, MAX_CHECK_ITEMS_BYTES, MICROVM_COMMAND_DIR, MIN_ENGINE_MAJOR, PLACEHOLDER_MARKER, RENEW_INTERVAL_SECONDS, RunnerInitError, SandboxGoneError, agentCredentialCheck, appendCommandLog, attemptNote, builtOf, checksIn, claimPermissionProblem, claimRun, commandItems, commandLogOffset, containerCommandExec, createContainerRuntime, createGatewaySandboxClient, createHousekeepingDocker, createLeaseChannel, currentSkillCommand, decideHostBuildSkill, deliverCommitHooks, deliverContainerHooks, deliverExecMaven, deliverJobFiles, deliverSandboxHooks, describeHookEnd, describeMachineDocker, detectMachine, ensureFirecrackerAndJailer, ensureNetworkReady, ensureTunnel, execArgv, execCommandLine, fetchManagedBuildSettings, fetchManagedClaudeKey, filesAreCopied, finishJob, foldSample, formerSkillProblem, formerSkillQueues, freeItemDisksUntil, gatewayRefusalReason, gitRemoteFor, helperFirecrackerNote, helperSocketPath, holdManagedBuildSettings, holdManagedClaudeKey, hookLimitsFor, hostCommandEnvironment, hostEnvironment, housekeepingDockerIfReachable, inSandbox, inTeardown, installTrust, isContainerTracked, isGroupAlive, isIdle, isIsolatedJob, isJudgeCheck, isMicroVmTracked, isPlaceholderCommand, isReadable, isSandboxTracked, isTimedOut, isTracked, isUnfinished, itemScope, itemTag, jobEnv, jobRecordsClaim, judgeProbe, keepGhConfigCurrent, keptCommitsLine, keptSandboxIds, keptSessionDir, leaseExpiresAtMs, leaseTimeLeftMs, lifecycleFailureReason, lifecycleSteps, listAdoptableJobs, listItemDisks, listTrackedJobs, listUnreadableJobs, listenOnBroker, makeRecorder, managedBuildSettingsFor, measureDisk, microVmArchSupported, microVmAssetsPinned, microVmCommandLine, microVmOomKills, missingPermissionFix, missingPermissionOf, modellessProblem, modellessQueues, needsAgentCredential, needsBuildSkill, needsRenew, outcomeFromExitCode, parseCpuList, permissionModeProblem, permissionModeProblems, placeholderProblem, placeholderQueues, prepareBranch, prepareResume, prepareRunnerInit, probeCommand, probeHelper, probeMicroVmCommand, probeSandboxCommand, provisionContainer, provisionEnvironment, provisionMicroVm, provisionSandbox, reachDockerStep, readConfigObject, readCpuUsec, readDefinitions, readProvisionOut, readRecords, recordsProofsOnly, recoverLostJobs, rejoinSandboxBuild, releaseLease, removeOldestUntil, renewLease, renewRun, resolveHostBuild, restartSender, restoreSessionIntoContainer, restoreSessionIntoMicroVm, restoreSessionIntoSandbox, restoreWork, retryFailedReleases, runCommand, runCommandOf, runDecision, runHook, runHostChecks, runHousekeeping, runRunnerInit, runWithSpawn, sampleGuest, savedStatesDir, scrubReason, serveLease, sessionGuestOfContainer, sessionGuestOfMicroVm, sessionGuestOfSandbox, setStage, setUpRunnerCgroup, shellQuote, startHostServices, startMicroVmCommand, startSandboxCommand, startSender, startServicesFor, stopOrphanedMicroVms, stoppedHelperReason, stripTerminalControls, supportsContainerBuilds, supportsMicroVmBuilds, sweepImageBuilders, sweepSandboxes, testProofIn, timeoutAfter, unfinishedJobs, usableCpus, vmAlive, withTunnelLog, workRestoredEnv, workdirProblem, writeGuestGhConfig, writeRunnerInit };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { placeholderQueues, placeholderProblem } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-3HGVNB43.js';
|
|
4
4
|
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-M67OA4MY.js';
|
|
5
5
|
import { getJson, WorkCommandError } from './chunk-V4SNOE47.js';
|
|
6
6
|
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-PCQ4YB3I.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
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-SYCWBLXF.js';
|
|
5
5
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
6
6
|
import { writeFleetState } from './chunk-HL3PZYIS.js';
|
|
7
7
|
import { writePendingUpdate } from './chunk-JA2XIJNM.js';
|
|
8
|
-
import { renderUpdateSteps } from './chunk-
|
|
8
|
+
import { renderUpdateSteps } from './chunk-GZVKVXPM.js';
|
|
9
9
|
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-7XV7PAIG.js';
|
|
10
|
-
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-
|
|
10
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-3IZ36W2Q.js';
|
|
11
11
|
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-GSUVQR6U.js';
|
|
12
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease,
|
|
13
|
-
import { RUNNER_PROTOCOL } from './chunk-
|
|
12
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, 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, inSandbox, listItemDisks, usableCpus, hookLimitsFor, runCommandOf, AttemptLogBook, 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, removeOldestUntil, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-3HGVNB43.js';
|
|
13
|
+
import { RUNNER_PROTOCOL } from './chunk-DQA7TMSB.js';
|
|
14
14
|
import { RUNNER_RESERVE_BYTES } from './chunk-M67OA4MY.js';
|
|
15
15
|
import { RepoFilter } from './chunk-WHGTHUQG.js';
|
|
16
16
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
@@ -447,7 +447,7 @@ function takesBody(takes) {
|
|
|
447
447
|
};
|
|
448
448
|
const include = list(takes.repos.include);
|
|
449
449
|
const exclude = list(takes.repos.exclude);
|
|
450
|
-
return { queues: takes.queues, repos: { include, exclude }, truncated };
|
|
450
|
+
return { queues: takes.queues, repos: { include, exclude }, truncated, ...takes.runs === void 0 ? {} : { runs: takes.runs } };
|
|
451
451
|
}
|
|
452
452
|
async function sendHeartbeat(args, fetchImpl) {
|
|
453
453
|
const body = {
|
|
@@ -1510,6 +1510,10 @@ function reloadConfig(state) {
|
|
|
1510
1510
|
logOf(state).error(`config re-read rejected: ${hookProblem} \xB7 keeping the last good config`);
|
|
1511
1511
|
return;
|
|
1512
1512
|
}
|
|
1513
|
+
if (state.config.sandbox?.provider !== reloaded.sandbox?.provider) {
|
|
1514
|
+
logOf(state).error("config re-read rejected: runner.sandbox.provider changed, and a runner keeps the sandbox provider it started with. Restart the runner to use this file \xB7 keeping the last good config");
|
|
1515
|
+
return;
|
|
1516
|
+
}
|
|
1513
1517
|
state.config = fitForImage(state.deps, reloaded).config;
|
|
1514
1518
|
delete state.reviseListRefusedAtMs;
|
|
1515
1519
|
const timerNote = state.pollTimerSeconds !== void 0 && state.pollTimerSeconds !== reloaded.pollSeconds ? ` \xB7 still polling every ${state.pollTimerSeconds}s until the runner restarts` : "";
|
|
@@ -1567,7 +1571,7 @@ async function sendTickHeartbeat(state, workRequest, wake2 = false) {
|
|
|
1567
1571
|
}),
|
|
1568
1572
|
// Left out unless a draining runner has builds to wait on, so the gateway stores null.
|
|
1569
1573
|
waitingItems: waitingItems.length > 0 ? waitingItems : void 0,
|
|
1570
|
-
takes: { queues: takenQueues(state), repos: { include: state.config.repos?.include, exclude: state.config.repos?.exclude } },
|
|
1574
|
+
takes: { queues: takenQueues(state), repos: { include: state.config.repos?.include, exclude: state.config.repos?.exclude }, runs: runDecision(state.config, state.deps.agents).takes },
|
|
1571
1575
|
selfUpdate: selfUpdateReport(state),
|
|
1572
1576
|
deliversComments: runnerDeliversComments(state.config)
|
|
1573
1577
|
},
|
|
@@ -2520,9 +2524,9 @@ async function runTick(state) {
|
|
|
2520
2524
|
);
|
|
2521
2525
|
}
|
|
2522
2526
|
async function tryClaimAndStartRun(state) {
|
|
2523
|
-
const
|
|
2524
|
-
if (
|
|
2525
|
-
if (
|
|
2527
|
+
const decision = runDecision(state.config, state.deps.agents);
|
|
2528
|
+
if (!decision.takes && decision.because === "isolation") return "none";
|
|
2529
|
+
if (!decision.takes) {
|
|
2526
2530
|
reportRepeating(
|
|
2527
2531
|
state,
|
|
2528
2532
|
"the run command",
|
|
@@ -2530,6 +2534,7 @@ async function tryClaimAndStartRun(state) {
|
|
|
2530
2534
|
);
|
|
2531
2535
|
return "none";
|
|
2532
2536
|
}
|
|
2537
|
+
const { isolation } = decision;
|
|
2533
2538
|
reportRepeating(state, "the run command", void 0);
|
|
2534
2539
|
const log = logOf(state);
|
|
2535
2540
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
@@ -4166,7 +4171,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
4166
4171
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
4167
4172
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
4168
4173
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
4169
|
-
return (await import('./check-
|
|
4174
|
+
return (await import('./check-MKZCEGZX.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
4170
4175
|
},
|
|
4171
4176
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
4172
4177
|
log
|
|
@@ -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-LX2ZYQAR.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-LX2ZYQAR.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-4SDL3XRV.js');
|
|
376
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
377
|
process.exitCode = result2.exitCode;
|
|
378
378
|
return;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperSocketPath } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-3HGVNB43.js';
|
|
4
4
|
import { UNIT_MARKER } from './chunk-M67OA4MY.js';
|
|
5
5
|
import { runnerDir } from './chunk-EE4SLARO.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { stripTerminalControls } from './chunk-
|
|
3
|
+
import { stripTerminalControls } from './chunk-3HGVNB43.js';
|
|
4
4
|
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-RZ7DXXOB.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { scrubReason, stripTerminalControls } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-3HGVNB43.js';
|
|
4
4
|
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-M67OA4MY.js';
|
|
5
5
|
import { RunnerAlreadyRunningError, readPidFile } from './chunk-3BR3CP5C.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
@@ -1081,7 +1081,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1081
1081
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1082
1082
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1083
1083
|
} else if (hasRunnerBlock(configPath)) {
|
|
1084
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1084
|
+
const { runnerHostChecks } = await import('./doctor-5HMRGXGT.js');
|
|
1085
1085
|
const gateway = (() => {
|
|
1086
1086
|
try {
|
|
1087
1087
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-
|
|
3
|
+
import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-U5VGCF6F.js';
|
|
4
4
|
import './chunk-OHGA3RLF.js';
|
|
5
5
|
import { verifiedTrackerNames, TRACKERS } from './chunk-V4SNOE47.js';
|
|
6
6
|
import './chunk-7YS6SFMI.js';
|
|
@@ -3954,13 +3954,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3954
3954
|
if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
|
|
3955
3955
|
`);
|
|
3956
3956
|
}
|
|
3957
|
-
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-
|
|
3957
|
+
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-KTKYCV3H.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
|
|
3958
3958
|
if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
|
|
3959
3959
|
else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
|
|
3960
3960
|
return;
|
|
3961
3961
|
}
|
|
3962
3962
|
await installMachineSkillsForSetup();
|
|
3963
|
-
const { runInitCommand } = await import('./init-cmd-
|
|
3963
|
+
const { runInitCommand } = await import('./init-cmd-KTKYCV3H.js');
|
|
3964
3964
|
const code = await runInitCommand(
|
|
3965
3965
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3966
3966
|
{
|
|
@@ -5227,7 +5227,7 @@ a runner build, no row is failed.
|
|
|
5227
5227
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5228
5228
|
return;
|
|
5229
5229
|
}
|
|
5230
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5230
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-IK7QTWFE.js');
|
|
5231
5231
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5232
5232
|
});
|
|
5233
5233
|
workCmd.command("list").description("List live work items for this factory").option("--stage <spec|build|review>", "filter by stage").option("--section <attention|waiting|flowing>", "filter by Queue section").option("--repo <owner/name>", "repository (default: the current checkout's remote)").option("--unclaimed", "only items with no live lease").option("--claimed", "only items with a live lease, held by a host or a local session").option("--startable", "only items a host can start: a build request, no open PR, no live lease").option("--needs <amend>", "only items with a thread waiting on an agent").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").action(async (opts) => {
|
|
@@ -5252,7 +5252,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
5252
5252
|
it. --host is a label only.
|
|
5253
5253
|
`
|
|
5254
5254
|
).action(async (opts) => {
|
|
5255
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
5255
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-OUBS7FDG.js');
|
|
5256
5256
|
try {
|
|
5257
5257
|
await runWorkClaim(opts);
|
|
5258
5258
|
} catch (err) {
|
|
@@ -5272,7 +5272,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5272
5272
|
lease has expired, or a 403 if a different key holds it.
|
|
5273
5273
|
`
|
|
5274
5274
|
).action(async (opts) => {
|
|
5275
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5275
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-OUBS7FDG.js');
|
|
5276
5276
|
try {
|
|
5277
5277
|
await runWorkRenew(opts);
|
|
5278
5278
|
} catch (err) {
|
|
@@ -5304,7 +5304,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5304
5304
|
takes the lease again.
|
|
5305
5305
|
`
|
|
5306
5306
|
).action(async (opts) => {
|
|
5307
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5307
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-OUBS7FDG.js');
|
|
5308
5308
|
try {
|
|
5309
5309
|
await runWorkRelease(opts);
|
|
5310
5310
|
} catch (err) {
|
|
@@ -5450,7 +5450,7 @@ function registerRunnerCommands(program2) {
|
|
|
5450
5450
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5451
5451
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5452
5452
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-EA7BDDLJ.js');
|
|
5453
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5453
|
+
const { start, RunnerStartError } = await import('./loop-LZI7X2FK.js');
|
|
5454
5454
|
const { RunnerAlreadyRunningError } = await import('./pidfile-EEXY7U2F.js');
|
|
5455
5455
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5456
5456
|
try {
|
|
@@ -5474,8 +5474,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5474
5474
|
`
|
|
5475
5475
|
).action(async () => {
|
|
5476
5476
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-EA7BDDLJ.js');
|
|
5477
|
-
const { containerStart, containerStartExit } = await import('./container-start-
|
|
5478
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5477
|
+
const { containerStart, containerStartExit } = await import('./container-start-UN3TBX37.js');
|
|
5478
|
+
const { start, RunnerStartError } = await import('./loop-LZI7X2FK.js');
|
|
5479
5479
|
const { RunnerAlreadyRunningError } = await import('./pidfile-EEXY7U2F.js');
|
|
5480
5480
|
try {
|
|
5481
5481
|
const outcome = containerStartExit(await containerStart({
|
|
@@ -5499,14 +5499,14 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5499
5499
|
).action(async (opts) => {
|
|
5500
5500
|
const { defaultRunnerConfigPath } = await import('./config-EA7BDDLJ.js');
|
|
5501
5501
|
const { runnerDir } = await import('./paths-R6LKQ7X5.js');
|
|
5502
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5502
|
+
const { runUpdateSteps } = await import('./update-steps-XUYGIUK4.js');
|
|
5503
5503
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5504
5504
|
process.stdout.write(`${text}
|
|
5505
5505
|
`);
|
|
5506
5506
|
});
|
|
5507
5507
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5508
5508
|
const { defaultRunnerConfigPath } = await import('./config-EA7BDDLJ.js');
|
|
5509
|
-
const { runRunnerCheck } = await import('./check-
|
|
5509
|
+
const { runRunnerCheck } = await import('./check-MKZCEGZX.js');
|
|
5510
5510
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5511
5511
|
const result = await runRunnerCheck(configPath);
|
|
5512
5512
|
if (!result.ok) {
|
|
@@ -5540,13 +5540,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5540
5540
|
}
|
|
5541
5541
|
}
|
|
5542
5542
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5543
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5543
|
+
if (buildCpusMax !== void 0 && !(await import('./command-3EHKALNI.js')).cpusAreValid(buildCpusMax)) {
|
|
5544
5544
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5545
5545
|
return;
|
|
5546
5546
|
}
|
|
5547
5547
|
try {
|
|
5548
5548
|
if (opts.service === true) {
|
|
5549
|
-
const { installServiceCommand, serviceSuccessText } = await import('./command-
|
|
5549
|
+
const { installServiceCommand, serviceSuccessText } = await import('./command-3EHKALNI.js');
|
|
5550
5550
|
const result2 = await installServiceCommand({
|
|
5551
5551
|
configPath,
|
|
5552
5552
|
print: opts.print,
|
|
@@ -5601,7 +5601,7 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5601
5601
|
return;
|
|
5602
5602
|
}
|
|
5603
5603
|
const { defaultRunnerConfigPath } = await import('./config-EA7BDDLJ.js');
|
|
5604
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5604
|
+
const { uninstallServiceCommand } = await import('./command-3EHKALNI.js');
|
|
5605
5605
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5606
5606
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5607
5607
|
`);
|
|
@@ -5632,10 +5632,10 @@ already in ${words().envFile} is used.
|
|
|
5632
5632
|
`
|
|
5633
5633
|
).action(async (opts) => {
|
|
5634
5634
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-EA7BDDLJ.js');
|
|
5635
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5636
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5637
|
-
const { detectMachine } = await import('./machine-
|
|
5638
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5635
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-5ZZBUNGQ.js');
|
|
5636
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-ACDZXGV3.js');
|
|
5637
|
+
const { detectMachine } = await import('./machine-DKCKULTH.js');
|
|
5638
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-2GUULWIA.js');
|
|
5639
5639
|
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-S6K6YNUJ.js');
|
|
5640
5640
|
const { headlessNames: headlessNames2 } = await import('./runner-agents-4WZYSEWM.js');
|
|
5641
5641
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -5649,7 +5649,7 @@ already in ${words().envFile} is used.
|
|
|
5649
5649
|
return;
|
|
5650
5650
|
}
|
|
5651
5651
|
try {
|
|
5652
|
-
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-
|
|
5652
|
+
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-GFQ65VC7.js');
|
|
5653
5653
|
agent = await initAgent({
|
|
5654
5654
|
flag: agent,
|
|
5655
5655
|
handOff: opts.configStdin === true,
|
|
@@ -5789,7 +5789,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5789
5789
|
let serviceUp = false;
|
|
5790
5790
|
let restart;
|
|
5791
5791
|
if (installedLayout) {
|
|
5792
|
-
const { installServiceCommand } = await import('./command-
|
|
5792
|
+
const { installServiceCommand } = await import('./command-3EHKALNI.js');
|
|
5793
5793
|
const service = await installServiceCommand({
|
|
5794
5794
|
configPath,
|
|
5795
5795
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5927,7 +5927,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5927
5927
|
});
|
|
5928
5928
|
runnerCmd.command("stop").description("Take no more work; finish running jobs, then exit").option("--config <path>", "the cloud config file naming the runner to stop").option("--now", "end running jobs immediately, with outcome stopped").action(async (opts) => {
|
|
5929
5929
|
const { defaultRunnerConfigPath } = await import('./config-EA7BDDLJ.js');
|
|
5930
|
-
const { requestStop } = await import('./loop-
|
|
5930
|
+
const { requestStop } = await import('./loop-LZI7X2FK.js');
|
|
5931
5931
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5932
5932
|
const { runnerImageVersion } = await import('./image-tag-S2735X3D.js');
|
|
5933
5933
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
@@ -5935,8 +5935,8 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5935
5935
|
runnerCmd.command("status").description("List running jobs; with --recent, finished ones too").option("--config <path>", "the cloud config file naming the runner to inspect").option("--recent", "also list finished jobs, newest first, capped at 20").option("--json", "machine-readable JSON output").action(async (opts) => {
|
|
5936
5936
|
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-EA7BDDLJ.js');
|
|
5937
5937
|
const { jobsDir, runnerDir } = await import('./paths-R6LKQ7X5.js');
|
|
5938
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5939
|
-
const { renderStatus } = await import('./status-
|
|
5938
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-LZI7X2FK.js');
|
|
5939
|
+
const { renderStatus } = await import('./status-WIHXEMTP.js');
|
|
5940
5940
|
const { readHousekeepingRecord } = await import('./record-WUWDGFWW.js');
|
|
5941
5941
|
const path2 = await import('path');
|
|
5942
5942
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -6002,7 +6002,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
6002
6002
|
});
|
|
6003
6003
|
runnerCmd.command("logs").argument("<item>", "the work item's number in the factory, or a build's claim id").description("Print the newest attempt's log for one item or claim id").option("--config <path>", "the cloud config file naming the runner to inspect").option("-f, --follow", "keep printing as the log grows").action(async (itemArg, opts) => {
|
|
6004
6004
|
const { defaultRunnerConfigPath } = await import('./config-EA7BDDLJ.js');
|
|
6005
|
-
const { listJobFiles } = await import('./loop-
|
|
6005
|
+
const { listJobFiles } = await import('./loop-LZI7X2FK.js');
|
|
6006
6006
|
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-KD2IT244.js');
|
|
6007
6007
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
6008
6008
|
const jobs = listJobFiles(configPath);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { realOwnership, accountNamed, handOver, runRunnerInstall, launcherSummary, restartNote, accountIdentity } from './chunk-6OR5HIGR.js';
|
|
4
|
-
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-
|
|
4
|
+
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-F3TPUHBQ.js';
|
|
5
5
|
import './chunk-WVHIL36W.js';
|
|
6
6
|
import { currentLink, execStartCommand } from './chunk-GSUVQR6U.js';
|
|
7
|
-
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-
|
|
7
|
+
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-3HGVNB43.js';
|
|
8
8
|
import './chunk-KBWBPZKP.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-DQA7TMSB.js';
|
|
10
10
|
import './chunk-2PGI6RDE.js';
|
|
11
11
|
import './chunk-I3LTIAOR.js';
|
|
12
12
|
import './chunk-U5WMR7KJ.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { reportFailedStart, BUILD_MEMORY_VARIABLE } from './chunk-
|
|
4
|
-
import { readOwnContainer } from './chunk-
|
|
5
|
-
import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-
|
|
3
|
+
import { reportFailedStart, BUILD_MEMORY_VARIABLE } from './chunk-SYCWBLXF.js';
|
|
4
|
+
import { readOwnContainer } from './chunk-GZVKVXPM.js';
|
|
5
|
+
import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-3HGVNB43.js';
|
|
6
6
|
import './chunk-KBWBPZKP.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-DQA7TMSB.js';
|
|
8
8
|
import './chunk-2PGI6RDE.js';
|
|
9
9
|
import './chunk-I3LTIAOR.js';
|
|
10
10
|
import './chunk-U5WMR7KJ.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-
|
|
4
|
-
import { helperBinaryFor } from './chunk-
|
|
3
|
+
import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-3IZ36W2Q.js';
|
|
4
|
+
import { helperBinaryFor } from './chunk-F3TPUHBQ.js';
|
|
5
5
|
import { launcherCheck } from './chunk-WVHIL36W.js';
|
|
6
6
|
import './chunk-GSUVQR6U.js';
|
|
7
|
-
import { needsAgentCredential, agentCredentialCheck, detectMachine, supportsContainerBuilds, describeMachineDocker, MIN_ENGINE_MAJOR, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned, helperFirecrackerNote, probeHelper, helperSocketPath, KIND_LABEL, missingPermissionOf, missingPermissionFix } from './chunk-
|
|
7
|
+
import { needsAgentCredential, agentCredentialCheck, detectMachine, supportsContainerBuilds, describeMachineDocker, MIN_ENGINE_MAJOR, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned, helperFirecrackerNote, probeHelper, helperSocketPath, KIND_LABEL, missingPermissionOf, missingPermissionFix } from './chunk-3HGVNB43.js';
|
|
8
8
|
import './chunk-KBWBPZKP.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-DQA7TMSB.js';
|
|
10
10
|
import './chunk-2PGI6RDE.js';
|
|
11
11
|
import './chunk-I3LTIAOR.js';
|
|
12
12
|
import './chunk-U5WMR7KJ.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { CRITERIA_CHECK, MAX_CHECK_ITEMS_BYTES, builtOf, checksIn, commandItems, isJudgeCheck, makeRecorder, readDefinitions, runHostChecks, testProofIn, timeoutAfter } from './chunk-
|
|
3
|
+
export { CRITERIA_CHECK, MAX_CHECK_ITEMS_BYTES, builtOf, checksIn, commandItems, isJudgeCheck, makeRecorder, readDefinitions, runHostChecks, testProofIn, timeoutAfter } from './chunk-3HGVNB43.js';
|
|
4
4
|
import './chunk-KBWBPZKP.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-DQA7TMSB.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
7
7
|
import './chunk-I3LTIAOR.js';
|
|
8
8
|
import './chunk-U5WMR7KJ.js';
|
package/dist/index.js
CHANGED
|
@@ -25,5 +25,5 @@ var { runSubcommand } = await import('./agent-subcommand-Q7A5VB4S.js');
|
|
|
25
25
|
var launcherCode = await runSubcommand(argv);
|
|
26
26
|
if (launcherCode !== void 0) process.exit(launcherCode);
|
|
27
27
|
(await import('./hook-fast-BBOPSFA6.js')).recordLinkExitFailure(argv);
|
|
28
|
-
var { runCli } = await import('./cli-
|
|
28
|
+
var { runCli } = await import('./cli-5B6TDHBG.js');
|
|
29
29
|
await runCli(process.argv);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { npmSupportsProvenance } from './chunk-E7R2GIAW.js';
|
|
4
|
-
import { RunnerInitError, readConfigObject } from './chunk-
|
|
4
|
+
import { RunnerInitError, readConfigObject } from './chunk-3HGVNB43.js';
|
|
5
5
|
import './chunk-KBWBPZKP.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-DQA7TMSB.js';
|
|
7
7
|
import './chunk-2PGI6RDE.js';
|
|
8
8
|
import './chunk-I3LTIAOR.js';
|
|
9
9
|
import './chunk-U5WMR7KJ.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { PLACEHOLDER_MARKER, RunnerInitError, isPlaceholderCommand, prepareRunnerInit, readConfigObject, runRunnerInit, writeRunnerInit } from './chunk-
|
|
3
|
+
export { PLACEHOLDER_MARKER, RunnerInitError, isPlaceholderCommand, prepareRunnerInit, readConfigObject, runRunnerInit, writeRunnerInit } from './chunk-3HGVNB43.js';
|
|
4
4
|
import './chunk-KBWBPZKP.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-DQA7TMSB.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
7
7
|
import './chunk-I3LTIAOR.js';
|
|
8
8
|
import './chunk-U5WMR7KJ.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RunnerInitError } from './chunk-
|
|
3
|
+
import { RunnerInitError } from './chunk-3HGVNB43.js';
|
|
4
4
|
import './chunk-KBWBPZKP.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-DQA7TMSB.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
7
7
|
import './chunk-I3LTIAOR.js';
|
|
8
8
|
import './chunk-U5WMR7KJ.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
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-U5VGCF6F.js';
|
|
4
4
|
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-IRFN2ZHJ.js';
|
|
5
5
|
import './chunk-OHGA3RLF.js';
|
|
6
6
|
import './chunk-V4SNOE47.js';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { LAPSED_REASON, RunnerStartError, applyComments, endWhenStartFails, fleetKeepalive, leaseTimeLeftFor, listJobFiles, logUnusableHelper, prepareSession, probeBuild, probeCredentials, provisionsBesideOthers, requestStop, runnerProcessState, runtimeOf, sampleUsage, start, tick, watchTick } from './chunk-
|
|
3
|
+
export { LAPSED_REASON, RunnerStartError, applyComments, endWhenStartFails, fleetKeepalive, leaseTimeLeftFor, listJobFiles, logUnusableHelper, prepareSession, probeBuild, probeCredentials, provisionsBesideOthers, requestStop, runnerProcessState, runtimeOf, sampleUsage, start, tick, watchTick } from './chunk-7LDL72QW.js';
|
|
4
4
|
import './chunk-3JVYMD4G.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-SYCWBLXF.js';
|
|
6
6
|
import './chunk-E7R2GIAW.js';
|
|
7
7
|
import './chunk-HL3PZYIS.js';
|
|
8
8
|
import './chunk-JA2XIJNM.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-GZVKVXPM.js';
|
|
10
10
|
import './chunk-7XV7PAIG.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-3IZ36W2Q.js';
|
|
12
12
|
import './chunk-GSUVQR6U.js';
|
|
13
|
-
import './chunk-
|
|
13
|
+
import './chunk-3HGVNB43.js';
|
|
14
14
|
import './chunk-KBWBPZKP.js';
|
|
15
|
-
import './chunk-
|
|
15
|
+
import './chunk-DQA7TMSB.js';
|
|
16
16
|
import './chunk-2PGI6RDE.js';
|
|
17
17
|
import './chunk-I3LTIAOR.js';
|
|
18
18
|
import './chunk-U5WMR7KJ.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { describeMachineDocker, detectMachine, microVmArchSupported, microVmAssetsPinned, reachDockerStep, supportsContainerBuilds, supportsMicroVmBuilds } from './chunk-
|
|
3
|
+
export { describeMachineDocker, detectMachine, microVmArchSupported, microVmAssetsPinned, reachDockerStep, supportsContainerBuilds, supportsMicroVmBuilds } from './chunk-3HGVNB43.js';
|
|
4
4
|
import './chunk-KBWBPZKP.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-DQA7TMSB.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
7
7
|
import './chunk-I3LTIAOR.js';
|
|
8
8
|
import './chunk-U5WMR7KJ.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { readConfigObject, RunnerInitError } from './chunk-
|
|
3
|
+
import { readConfigObject, RunnerInitError } from './chunk-3HGVNB43.js';
|
|
4
4
|
import './chunk-KBWBPZKP.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-DQA7TMSB.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
7
7
|
import './chunk-I3LTIAOR.js';
|
|
8
8
|
import './chunk-U5WMR7KJ.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { isReadable, LEASE_SECONDS, ALREADY_RELEASED, RENEW_INTERVAL_SECONDS } from './chunk-
|
|
3
|
+
import { isReadable, LEASE_SECONDS, ALREADY_RELEASED, RENEW_INTERVAL_SECONDS } from './chunk-3HGVNB43.js';
|
|
4
4
|
import './chunk-KBWBPZKP.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-DQA7TMSB.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
7
7
|
import './chunk-I3LTIAOR.js';
|
|
8
8
|
import './chunk-U5WMR7KJ.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { readOwnContainer, renderUpdateSteps, runUpdateSteps } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { readOwnContainer, renderUpdateSteps, runUpdateSteps } from './chunk-GZVKVXPM.js';
|
|
4
|
+
import './chunk-3HGVNB43.js';
|
|
5
5
|
import './chunk-KBWBPZKP.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-DQA7TMSB.js';
|
|
7
7
|
import './chunk-2PGI6RDE.js';
|
|
8
8
|
import './chunk-I3LTIAOR.js';
|
|
9
9
|
import './chunk-U5WMR7KJ.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_PROTOCOL } from './chunk-
|
|
3
|
+
import { RUNNER_PROTOCOL } from './chunk-DQA7TMSB.js';
|
|
4
4
|
import { resolveCredentials, WorkCommandError, parsePositiveInt, postJson, environmentFacts, findLiveItemForIssue } from './chunk-V4SNOE47.js';
|
|
5
5
|
export { WorkCommandError } from './chunk-V4SNOE47.js';
|
|
6
6
|
import './chunk-7YS6SFMI.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { classifyProofs, classifyProofsAt, otherPullRequestHeads, renderProofRow, resolveProofsItem, runWorkProofs, runWorkProofsCommand } from './chunk-
|
|
3
|
+
export { classifyProofs, classifyProofsAt, otherPullRequestHeads, renderProofRow, resolveProofsItem, runWorkProofs, runWorkProofsCommand } from './chunk-A677QPTA.js';
|
|
4
4
|
import './chunk-KBWBPZKP.js';
|
|
5
5
|
import './chunk-V4SNOE47.js';
|
|
6
6
|
import './chunk-7YS6SFMI.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { runWorkComment } from './chunk-JX6JMZDW.js';
|
|
4
|
-
import { resolveProofsItem, ownPullRequest, otherPullRequestHeads, testProofMode, classifyProofsAt, runWorkProofs, proofsCommentId, testFilesOf, freshXmlFiles, joinResults, testSelectors, kindProblem, renderProofRow, proofsCommentBody } from './chunk-
|
|
4
|
+
import { resolveProofsItem, ownPullRequest, otherPullRequestHeads, testProofMode, classifyProofsAt, runWorkProofs, proofsCommentId, testFilesOf, freshXmlFiles, joinResults, testSelectors, kindProblem, renderProofRow, proofsCommentBody } from './chunk-A677QPTA.js';
|
|
5
5
|
import { runEmitDemo, planScreenshots, chapterPassed, readStill } from './chunk-AIZH2FV3.js';
|
|
6
6
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
|
7
7
|
import { runEmitArtifact } from './chunk-D4N63AVY.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outerlayer/cli",
|
|
3
|
-
"version": "0.39.0-next.
|
|
3
|
+
"version": "0.39.0-next.20261113021627",
|
|
4
4
|
"description": "OuterLayer CLI — commands: init, claude, opencode, connect, doctor, login, logout, sync, daemon (alias: watch), emit, demo, findings, work, run, spec, runner, hooks, mcp, context. Capture and sync coding-agent sessions, and record proof of factory work.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Magu Studios, Inc.",
|