@outerlayer/cli 0.38.0-next.20261109050624 → 0.38.0-next.20261109134838
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-RU2T7GJ2.js → check-Z25NGNZY.js} +6 -6
- package/dist/{chunk-7QKJPKRM.js → chunk-2OHSKVZG.js} +1 -1
- package/dist/{chunk-X5GLJBFF.js → chunk-2WQG2WLR.js} +1 -1
- package/dist/{chunk-MGXJYE46.js → chunk-CKN6NS7D.js} +1 -1
- package/dist/{chunk-6KJJFB2O.js → chunk-ELTELKNV.js} +1 -1
- package/dist/{chunk-P3XOWM2M.js → chunk-KF4IV2ET.js} +4 -4
- package/dist/chunk-LIH6CIVB.js +2642 -0
- package/dist/{chunk-QII22EL3.js → chunk-UIPZEJSC.js} +5 -5
- package/dist/{chunk-X6XX2FN3.js → chunk-YEE42T22.js} +1 -1
- package/dist/{chunk-N64LM7NE.js → chunk-ZK552E7A.js} +1 -1
- package/dist/{cli-TGO6LJEN.js → cli-WSTTVQYE.js} +22 -22
- package/dist/{command-TBYR6SK7.js → command-YTVFIEDS.js} +3 -3
- package/dist/{container-start-YITTVC26.js → container-start-B4GC6QH4.js} +4 -4
- package/dist/{doctor-IRZXVEZF.js → doctor-32ODPZE2.js} +4 -4
- package/dist/{host-checks-C2MONL6B.js → host-checks-JVFVCWIF.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/{init-DCYSVPJY.js → init-JR2KKJZ2.js} +2 -2
- package/dist/{init-NJVNTGM5.js → init-WRA2KJKD.js} +2 -2
- package/dist/{init-agent-MT373WHV.js → init-agent-UBGGM5K6.js} +2 -2
- package/dist/{init-cmd-NYXZHDL6.js → init-cmd-OIWNFYIA.js} +1 -1
- package/dist/{loop-K6O4FFHW.js → loop-Q33AQ2UD.js} +6 -6
- package/dist/{machine-BAZI76P6.js → machine-LANNWRZS.js} +2 -2
- package/dist/{runner-key-USXAW7FQ.js → runner-key-LYEB7RTM.js} +2 -2
- package/dist/{status-HDRLAXKO.js → status-XTL6X4EU.js} +2 -2
- package/dist/{update-steps-GYDNVZNA.js → update-steps-G2XJ43PU.js} +3 -3
- package/dist/{work-proofs-cmd-GIWQG3BF.js → work-proofs-cmd-7JOEX2VA.js} +2 -2
- package/dist/{work-proofs-record-4Y6EFNKY.js → work-proofs-record-6BM436H2.js} +2 -2
- package/package.json +3 -3
- package/dist/chunk-HQMSXIDX.js +0 -2185
|
@@ -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-YEE42T22.js';
|
|
5
5
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
6
6
|
import { writeFleetState } from './chunk-DX27B42J.js';
|
|
7
7
|
import { writePendingUpdate } from './chunk-4EQQS3VJ.js';
|
|
8
|
-
import { renderUpdateSteps } from './chunk-
|
|
8
|
+
import { renderUpdateSteps } from './chunk-CKN6NS7D.js';
|
|
9
9
|
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-MMSFADKC.js';
|
|
10
10
|
import { RUNNER_PROTOCOL } from './chunk-MLM4BYK2.js';
|
|
11
|
-
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-
|
|
11
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-2OHSKVZG.js';
|
|
12
12
|
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-X45WDWSV.js';
|
|
13
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, releaseLease, LEASE_SECONDS, itemTag, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, listItemDisks, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } from './chunk-
|
|
13
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, releaseLease, LEASE_SECONDS, itemTag, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, listItemDisks, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } from './chunk-ZK552E7A.js';
|
|
14
14
|
import { RUNNER_RESERVE_BYTES } from './chunk-4K2EMRJP.js';
|
|
15
15
|
import { RepoFilter } from './chunk-4LUHKCDO.js';
|
|
16
16
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
@@ -3772,7 +3772,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
3772
3772
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
3773
3773
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
3774
3774
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
3775
|
-
return (await import('./check-
|
|
3775
|
+
return (await import('./check-Z25NGNZY.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
3776
3776
|
},
|
|
3777
3777
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
3778
3778
|
log
|
|
@@ -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-ZK552E7A.js';
|
|
4
4
|
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-4K2EMRJP.js';
|
|
5
5
|
import { RunnerAlreadyRunningError, readPidFile } from './chunk-DEWD22FA.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems, openPullRequests, MAX_TEST_FILE_BYTES } from './chunk-
|
|
3
|
+
import { itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems, openPullRequests, MAX_TEST_FILE_BYTES } from './chunk-LIH6CIVB.js';
|
|
4
4
|
import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
|
|
5
5
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
6
6
|
import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-EGKYININ.js';
|
|
@@ -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-2WQG2WLR.js';
|
|
4
4
|
import './chunk-LIMJRKIU.js';
|
|
5
5
|
import { verifiedTrackerNames, TRACKERS } from './chunk-7TM2E4RI.js';
|
|
6
6
|
import './chunk-KIYP5TML.js';
|
|
@@ -3944,13 +3944,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3944
3944
|
if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
|
|
3945
3945
|
`);
|
|
3946
3946
|
}
|
|
3947
|
-
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-
|
|
3947
|
+
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-OIWNFYIA.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
|
|
3948
3948
|
if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
|
|
3949
3949
|
else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
|
|
3950
3950
|
return;
|
|
3951
3951
|
}
|
|
3952
3952
|
await installMachineSkillsForSetup();
|
|
3953
|
-
const { runInitCommand } = await import('./init-cmd-
|
|
3953
|
+
const { runInitCommand } = await import('./init-cmd-OIWNFYIA.js');
|
|
3954
3954
|
const code = await runInitCommand(
|
|
3955
3955
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3956
3956
|
{
|
|
@@ -5057,7 +5057,7 @@ stops at once if a tracked file differs from HEAD.
|
|
|
5057
5057
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5058
5058
|
return;
|
|
5059
5059
|
}
|
|
5060
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5060
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-7JOEX2VA.js');
|
|
5061
5061
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5062
5062
|
});
|
|
5063
5063
|
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) => {
|
|
@@ -5280,7 +5280,7 @@ function registerRunnerCommands(program2) {
|
|
|
5280
5280
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5281
5281
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5282
5282
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-O2LJAZJZ.js');
|
|
5283
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5283
|
+
const { start, RunnerStartError } = await import('./loop-Q33AQ2UD.js');
|
|
5284
5284
|
const { RunnerAlreadyRunningError } = await import('./pidfile-TTIUEDXW.js');
|
|
5285
5285
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5286
5286
|
try {
|
|
@@ -5304,8 +5304,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5304
5304
|
`
|
|
5305
5305
|
).action(async () => {
|
|
5306
5306
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-O2LJAZJZ.js');
|
|
5307
|
-
const { containerStart, containerStartExit } = await import('./container-start-
|
|
5308
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5307
|
+
const { containerStart, containerStartExit } = await import('./container-start-B4GC6QH4.js');
|
|
5308
|
+
const { start, RunnerStartError } = await import('./loop-Q33AQ2UD.js');
|
|
5309
5309
|
const { RunnerAlreadyRunningError } = await import('./pidfile-TTIUEDXW.js');
|
|
5310
5310
|
try {
|
|
5311
5311
|
const outcome = containerStartExit(await containerStart({
|
|
@@ -5329,14 +5329,14 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5329
5329
|
).action(async (opts) => {
|
|
5330
5330
|
const { defaultRunnerConfigPath } = await import('./config-O2LJAZJZ.js');
|
|
5331
5331
|
const { runnerDir } = await import('./paths-CSZZQK3X.js');
|
|
5332
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5332
|
+
const { runUpdateSteps } = await import('./update-steps-G2XJ43PU.js');
|
|
5333
5333
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5334
5334
|
process.stdout.write(`${text}
|
|
5335
5335
|
`);
|
|
5336
5336
|
});
|
|
5337
5337
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5338
5338
|
const { defaultRunnerConfigPath } = await import('./config-O2LJAZJZ.js');
|
|
5339
|
-
const { runRunnerCheck } = await import('./check-
|
|
5339
|
+
const { runRunnerCheck } = await import('./check-Z25NGNZY.js');
|
|
5340
5340
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5341
5341
|
const result = await runRunnerCheck(configPath);
|
|
5342
5342
|
if (!result.ok) {
|
|
@@ -5370,13 +5370,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5370
5370
|
}
|
|
5371
5371
|
}
|
|
5372
5372
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5373
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5373
|
+
if (buildCpusMax !== void 0 && !(await import('./command-YTVFIEDS.js')).cpusAreValid(buildCpusMax)) {
|
|
5374
5374
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5375
5375
|
return;
|
|
5376
5376
|
}
|
|
5377
5377
|
try {
|
|
5378
5378
|
if (opts.service === true) {
|
|
5379
|
-
const { installServiceCommand, serviceSuccessText } = await import('./command-
|
|
5379
|
+
const { installServiceCommand, serviceSuccessText } = await import('./command-YTVFIEDS.js');
|
|
5380
5380
|
const result2 = await installServiceCommand({
|
|
5381
5381
|
configPath,
|
|
5382
5382
|
print: opts.print,
|
|
@@ -5431,7 +5431,7 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5431
5431
|
return;
|
|
5432
5432
|
}
|
|
5433
5433
|
const { defaultRunnerConfigPath } = await import('./config-O2LJAZJZ.js');
|
|
5434
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5434
|
+
const { uninstallServiceCommand } = await import('./command-YTVFIEDS.js');
|
|
5435
5435
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5436
5436
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5437
5437
|
`);
|
|
@@ -5462,10 +5462,10 @@ already in ${words().envFile} is used.
|
|
|
5462
5462
|
`
|
|
5463
5463
|
).action(async (opts) => {
|
|
5464
5464
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-O2LJAZJZ.js');
|
|
5465
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5466
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5467
|
-
const { detectMachine } = await import('./machine-
|
|
5468
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5465
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-JR2KKJZ2.js');
|
|
5466
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-LYEB7RTM.js');
|
|
5467
|
+
const { detectMachine } = await import('./machine-LANNWRZS.js');
|
|
5468
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-WRA2KJKD.js');
|
|
5469
5469
|
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-RGYTHURZ.js');
|
|
5470
5470
|
const { headlessNames: headlessNames2 } = await import('./runner-agents-32J743FJ.js');
|
|
5471
5471
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -5479,7 +5479,7 @@ already in ${words().envFile} is used.
|
|
|
5479
5479
|
return;
|
|
5480
5480
|
}
|
|
5481
5481
|
try {
|
|
5482
|
-
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-
|
|
5482
|
+
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-UBGGM5K6.js');
|
|
5483
5483
|
agent = await initAgent({
|
|
5484
5484
|
flag: agent,
|
|
5485
5485
|
handOff: opts.configStdin === true,
|
|
@@ -5619,7 +5619,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5619
5619
|
let serviceUp = false;
|
|
5620
5620
|
let restart;
|
|
5621
5621
|
if (installedLayout) {
|
|
5622
|
-
const { installServiceCommand } = await import('./command-
|
|
5622
|
+
const { installServiceCommand } = await import('./command-YTVFIEDS.js');
|
|
5623
5623
|
const service = await installServiceCommand({
|
|
5624
5624
|
configPath,
|
|
5625
5625
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5757,7 +5757,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5757
5757
|
});
|
|
5758
5758
|
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) => {
|
|
5759
5759
|
const { defaultRunnerConfigPath } = await import('./config-O2LJAZJZ.js');
|
|
5760
|
-
const { requestStop } = await import('./loop-
|
|
5760
|
+
const { requestStop } = await import('./loop-Q33AQ2UD.js');
|
|
5761
5761
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5762
5762
|
const { runnerImageVersion } = await import('./image-tag-EX2R462S.js');
|
|
5763
5763
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
@@ -5765,8 +5765,8 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5765
5765
|
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) => {
|
|
5766
5766
|
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-O2LJAZJZ.js');
|
|
5767
5767
|
const { jobsDir, runnerDir } = await import('./paths-CSZZQK3X.js');
|
|
5768
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5769
|
-
const { renderStatus } = await import('./status-
|
|
5768
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-Q33AQ2UD.js');
|
|
5769
|
+
const { renderStatus } = await import('./status-XTL6X4EU.js');
|
|
5770
5770
|
const { readHousekeepingRecord } = await import('./record-U7DU6IVT.js');
|
|
5771
5771
|
const path2 = await import('path');
|
|
5772
5772
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -5832,7 +5832,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5832
5832
|
});
|
|
5833
5833
|
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) => {
|
|
5834
5834
|
const { defaultRunnerConfigPath } = await import('./config-O2LJAZJZ.js');
|
|
5835
|
-
const { listJobFiles } = await import('./loop-
|
|
5835
|
+
const { listJobFiles } = await import('./loop-Q33AQ2UD.js');
|
|
5836
5836
|
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-BWGJ2BVT.js');
|
|
5837
5837
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5838
5838
|
const jobs = listJobFiles(configPath);
|
|
@@ -1,11 +1,11 @@
|
|
|
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-IG5ZZG7R.js';
|
|
4
|
-
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-
|
|
4
|
+
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-ELTELKNV.js';
|
|
5
5
|
import './chunk-RMXRQ3OC.js';
|
|
6
6
|
import { currentLink, execStartCommand } from './chunk-X45WDWSV.js';
|
|
7
|
-
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-
|
|
8
|
-
import './chunk-
|
|
7
|
+
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-ZK552E7A.js';
|
|
8
|
+
import './chunk-LIH6CIVB.js';
|
|
9
9
|
import './chunk-2PGI6RDE.js';
|
|
10
10
|
import './chunk-I3LTIAOR.js';
|
|
11
11
|
import './chunk-EGKYININ.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
6
|
-
import './chunk-
|
|
3
|
+
import { reportFailedStart, BUILD_MEMORY_VARIABLE } from './chunk-YEE42T22.js';
|
|
4
|
+
import { readOwnContainer } from './chunk-CKN6NS7D.js';
|
|
5
|
+
import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-ZK552E7A.js';
|
|
6
|
+
import './chunk-LIH6CIVB.js';
|
|
7
7
|
import './chunk-2PGI6RDE.js';
|
|
8
8
|
import './chunk-I3LTIAOR.js';
|
|
9
9
|
import './chunk-EGKYININ.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperBinaryFor } from './chunk-
|
|
3
|
+
import { helperBinaryFor } from './chunk-ELTELKNV.js';
|
|
4
4
|
import { launcherCheck } from './chunk-RMXRQ3OC.js';
|
|
5
|
-
import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-
|
|
5
|
+
import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-2OHSKVZG.js';
|
|
6
6
|
import './chunk-X45WDWSV.js';
|
|
7
|
-
import { needsAgentCredential, agentCredentialCheck, detectMachine, supportsContainerBuilds, describeMachineDocker, MIN_ENGINE_MAJOR, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned, helperFirecrackerNote, probeHelper, helperSocketPath, KIND_LABEL, missingPermissionOf, missingPermissionFix } from './chunk-
|
|
8
|
-
import './chunk-
|
|
7
|
+
import { needsAgentCredential, agentCredentialCheck, detectMachine, supportsContainerBuilds, describeMachineDocker, MIN_ENGINE_MAJOR, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned, helperFirecrackerNote, probeHelper, helperSocketPath, KIND_LABEL, missingPermissionOf, missingPermissionFix } from './chunk-ZK552E7A.js';
|
|
8
|
+
import './chunk-LIH6CIVB.js';
|
|
9
9
|
import './chunk-2PGI6RDE.js';
|
|
10
10
|
import './chunk-I3LTIAOR.js';
|
|
11
11
|
import './chunk-EGKYININ.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { CRITERIA_CHECK, MAX_CHECK_ITEMS_BYTES, checksIn, commandItems, isJudgeCheck, makeRecorder, readDefinitions, runHostChecks, testProofIn, timeoutAfter } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { CRITERIA_CHECK, MAX_CHECK_ITEMS_BYTES, checksIn, commandItems, isJudgeCheck, makeRecorder, readDefinitions, runHostChecks, testProofIn, timeoutAfter } from './chunk-ZK552E7A.js';
|
|
4
|
+
import './chunk-LIH6CIVB.js';
|
|
5
5
|
import './chunk-2PGI6RDE.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
7
7
|
import './chunk-EGKYININ.js';
|
package/dist/index.js
CHANGED
|
@@ -25,5 +25,5 @@ var { runSubcommand } = await import('./agent-subcommand-DCOPM2NX.js');
|
|
|
25
25
|
var launcherCode = await runSubcommand(argv);
|
|
26
26
|
if (launcherCode !== void 0) process.exit(launcherCode);
|
|
27
27
|
(await import('./hook-fast-2ENS5AKU.js')).recordLinkExitFailure(argv);
|
|
28
|
-
var { runCli } = await import('./cli-
|
|
28
|
+
var { runCli } = await import('./cli-WSTTVQYE.js');
|
|
29
29
|
await runCli(process.argv);
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { PLACEHOLDER_MARKER, RunnerInitError, isPlaceholderCommand, prepareRunnerInit, readConfigObject, runRunnerInit, writeRunnerInit } from './chunk-ZK552E7A.js';
|
|
4
|
+
import './chunk-LIH6CIVB.js';
|
|
5
5
|
import './chunk-2PGI6RDE.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
7
7
|
import './chunk-EGKYININ.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
5
|
-
import './chunk-
|
|
4
|
+
import { RunnerInitError, readConfigObject } from './chunk-ZK552E7A.js';
|
|
5
|
+
import './chunk-LIH6CIVB.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
7
7
|
import './chunk-I3LTIAOR.js';
|
|
8
8
|
import './chunk-EGKYININ.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RunnerInitError } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import { RunnerInitError } from './chunk-ZK552E7A.js';
|
|
4
|
+
import './chunk-LIH6CIVB.js';
|
|
5
5
|
import './chunk-2PGI6RDE.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
7
7
|
import './chunk-EGKYININ.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-2WQG2WLR.js';
|
|
4
4
|
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-IRFN2ZHJ.js';
|
|
5
5
|
import './chunk-LIMJRKIU.js';
|
|
6
6
|
import './chunk-7TM2E4RI.js';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { LAPSED_REASON, RunnerStartError, fleetKeepalive, leaseTimeLeftFor, listJobFiles, logUnusableHelper, prepareSession, probeBuild, probeCredentials, requestStop, runnerProcessState, runtimeOf, sampleUsage, start, tick, watchTick } from './chunk-
|
|
3
|
+
export { LAPSED_REASON, RunnerStartError, fleetKeepalive, leaseTimeLeftFor, listJobFiles, logUnusableHelper, prepareSession, probeBuild, probeCredentials, requestStop, runnerProcessState, runtimeOf, sampleUsage, start, tick, watchTick } from './chunk-UIPZEJSC.js';
|
|
4
4
|
import './chunk-3JVYMD4G.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-YEE42T22.js';
|
|
6
6
|
import './chunk-E7R2GIAW.js';
|
|
7
7
|
import './chunk-DX27B42J.js';
|
|
8
8
|
import './chunk-4EQQS3VJ.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-CKN6NS7D.js';
|
|
10
10
|
import './chunk-MMSFADKC.js';
|
|
11
11
|
import './chunk-MLM4BYK2.js';
|
|
12
|
-
import './chunk-
|
|
12
|
+
import './chunk-2OHSKVZG.js';
|
|
13
13
|
import './chunk-X45WDWSV.js';
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
14
|
+
import './chunk-ZK552E7A.js';
|
|
15
|
+
import './chunk-LIH6CIVB.js';
|
|
16
16
|
import './chunk-2PGI6RDE.js';
|
|
17
17
|
import './chunk-I3LTIAOR.js';
|
|
18
18
|
import './chunk-EGKYININ.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { describeMachineDocker, detectMachine, microVmArchSupported, microVmAssetsPinned, reachDockerStep, supportsContainerBuilds, supportsMicroVmBuilds } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { describeMachineDocker, detectMachine, microVmArchSupported, microVmAssetsPinned, reachDockerStep, supportsContainerBuilds, supportsMicroVmBuilds } from './chunk-ZK552E7A.js';
|
|
4
|
+
import './chunk-LIH6CIVB.js';
|
|
5
5
|
import './chunk-2PGI6RDE.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
7
7
|
import './chunk-EGKYININ.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { readConfigObject, RunnerInitError } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import { readConfigObject, RunnerInitError } from './chunk-ZK552E7A.js';
|
|
4
|
+
import './chunk-LIH6CIVB.js';
|
|
5
5
|
import './chunk-2PGI6RDE.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
7
7
|
import './chunk-EGKYININ.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import { isReadable, LEASE_SECONDS, ALREADY_RELEASED, RENEW_INTERVAL_SECONDS } from './chunk-ZK552E7A.js';
|
|
4
|
+
import './chunk-LIH6CIVB.js';
|
|
5
5
|
import './chunk-2PGI6RDE.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
7
7
|
import './chunk-EGKYININ.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { readOwnContainer, renderUpdateSteps, runUpdateSteps } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
3
|
+
export { readOwnContainer, renderUpdateSteps, runUpdateSteps } from './chunk-CKN6NS7D.js';
|
|
4
|
+
import './chunk-ZK552E7A.js';
|
|
5
|
+
import './chunk-LIH6CIVB.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
7
7
|
import './chunk-I3LTIAOR.js';
|
|
8
8
|
import './chunk-EGKYININ.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { classifyProofs, classifyProofsAt, otherPullRequestHeads, resolveProofsItem, runWorkProofs, runWorkProofsCommand } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { classifyProofs, classifyProofsAt, otherPullRequestHeads, resolveProofsItem, runWorkProofs, runWorkProofsCommand } from './chunk-KF4IV2ET.js';
|
|
4
|
+
import './chunk-LIH6CIVB.js';
|
|
5
5
|
import './chunk-7TM2E4RI.js';
|
|
6
6
|
import './chunk-KIYP5TML.js';
|
|
7
7
|
import './chunk-BDTFO5S7.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveProofsItem, ownPullRequest, otherPullRequestHeads, testProofMode, classifyProofsAt, runWorkProofs, proofsCommentId, testFilesOf, freshXmlFiles, joinResults, testSelectors, kindProblem, proofsCommentBody } from './chunk-
|
|
3
|
+
import { resolveProofsItem, ownPullRequest, otherPullRequestHeads, testProofMode, classifyProofsAt, runWorkProofs, proofsCommentId, testFilesOf, freshXmlFiles, joinResults, testSelectors, kindProblem, proofsCommentBody } from './chunk-KF4IV2ET.js';
|
|
4
4
|
import { runEmitDemo } from './chunk-OYBBYENC.js';
|
|
5
5
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
|
6
6
|
import { runWorkComment } from './chunk-UNA4YIHE.js';
|
|
7
7
|
import { runEmitArtifact } from './chunk-B3ILHK4Q.js';
|
|
8
|
-
import { runnerMatcher } from './chunk-
|
|
8
|
+
import { runnerMatcher } from './chunk-LIH6CIVB.js';
|
|
9
9
|
import './chunk-2PGI6RDE.js';
|
|
10
10
|
import { runSync } from './chunk-4LUHKCDO.js';
|
|
11
11
|
import './chunk-T63WTVGY.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outerlayer/cli",
|
|
3
|
-
"version": "0.38.0-next.
|
|
3
|
+
"version": "0.38.0-next.20261109134838",
|
|
4
4
|
"description": "OuterLayer CLI — commands: init, claude, opencode, connect, doctor, login, logout, sync, daemon (alias: watch), emit, demo, findings, work, 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.",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@types/pngjs": "^6.0.5",
|
|
60
60
|
"commander": "^15.0.0",
|
|
61
61
|
"http-message-sig": "0.3.0",
|
|
62
|
-
"minimatch": "^
|
|
62
|
+
"minimatch": "^11.0.4",
|
|
63
63
|
"pngjs": "^7.0.0",
|
|
64
64
|
"structured-headers": "2.1.1",
|
|
65
65
|
"tsup": "^9.0.0",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"node": ">=22"
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@devcontainers/cli": "0.
|
|
74
|
+
"@devcontainers/cli": "0.90.0",
|
|
75
75
|
"@playwright/test": "1.64.1"
|
|
76
76
|
}
|
|
77
77
|
}
|