@outerlayer/cli 0.40.0-next.20261116135746 → 0.40.0-next.20261116150436
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-7ZXMFO5K.js → check-TEABORIU.js} +5 -5
- package/dist/{chunk-UBSNF6VG.js → chunk-54J6P6BH.js} +1 -1
- package/dist/{chunk-DWZWXWZP.js → chunk-5KM5STHU.js} +1 -1
- package/dist/{chunk-3C2NLRL3.js → chunk-6ZHZXUFW.js} +1 -1
- package/dist/{chunk-MI2XJJTC.js → chunk-GNQF6XLZ.js} +5 -5
- package/dist/{chunk-K5CV7Y7U.js → chunk-JOED4C6S.js} +1 -1
- package/dist/{chunk-7FE6NARL.js → chunk-LUDRPWCQ.js} +1 -1
- package/dist/{chunk-FKIZCJOQ.js → chunk-XDVNW7TR.js} +3 -3
- package/dist/{chunk-ZSGCCX5U.js → chunk-XJVLKMQS.js} +1 -1
- package/dist/{chunk-4UDSLKAQ.js → chunk-YW35ZKUI.js} +6 -1
- package/dist/{cli-OAJGSXFK.js → cli-6ZKRVTHP.js} +38 -34
- package/dist/{command-TVXXAAXE.js → command-GUYK5W3K.js} +2 -2
- package/dist/{container-start-VHUXUJY4.js → container-start-OP4KPMQD.js} +3 -3
- package/dist/{doctor-VA2UFJFP.js → doctor-NP25CNXL.js} +3 -3
- package/dist/{host-checks-C2GDXJPJ.js → host-checks-5QZYFP37.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{init-4ERBO6N5.js → init-FP3RUUA5.js} +1 -1
- package/dist/{init-SCINBONF.js → init-IXL4YFO3.js} +1 -1
- package/dist/{init-agent-6UGX75WR.js → init-agent-ZUTFIH6K.js} +1 -1
- package/dist/{init-cmd-MXQZ4PRU.js → init-cmd-CXIVHTCB.js} +2 -2
- package/dist/{loop-DE37FAAT.js → loop-GFVQWJZ3.js} +5 -5
- package/dist/{machine-4JUM7RCO.js → machine-OTZR4ZMD.js} +1 -1
- package/dist/{runner-key-ZTHDMU44.js → runner-key-UK6POYN4.js} +1 -1
- package/dist/{setup-wiring-Z7WTN6R6.js → setup-wiring-W4LVR7LO.js} +3 -3
- package/dist/{status-CA5UYVDR.js → status-EXAXEXJ7.js} +1 -1
- package/dist/{update-steps-E4R6PAT3.js → update-steps-K2TLHXOV.js} +2 -2
- package/dist/{work-proofs-cmd-OFJ442KJ.js → work-proofs-cmd-IBJ4EUN3.js} +1 -1
- package/dist/{work-proofs-record-7JY3GSP2.js → work-proofs-record-QJB44PQV.js} +1 -1
- package/package.json +1 -1
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-11-
|
|
1
|
+
{"id":"2026-11-16T15:13:18.590Z","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { probeCredentials } from './chunk-
|
|
3
|
+
import { probeCredentials } from './chunk-GNQF6XLZ.js';
|
|
4
4
|
import './chunk-7MVTX74D.js';
|
|
5
5
|
import './chunk-E7R2GIAW.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
6
|
+
import './chunk-5KM5STHU.js';
|
|
7
|
+
import './chunk-XJVLKMQS.js';
|
|
8
8
|
import './chunk-TXKHD4Q6.js';
|
|
9
9
|
import './chunk-5XAV7LGB.js';
|
|
10
10
|
import './chunk-H32FCHB5.js';
|
|
11
|
-
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-
|
|
11
|
+
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-JOED4C6S.js';
|
|
12
12
|
import './chunk-ETXP6DPT.js';
|
|
13
13
|
import { findServiceUnit } from './chunk-VCPR7TRU.js';
|
|
14
|
-
import { createGatewaySandboxClient, gatewayRefusalReason, placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-
|
|
14
|
+
import { createGatewaySandboxClient, gatewayRefusalReason, placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-YW35ZKUI.js';
|
|
15
15
|
import './chunk-JXZ3LIHN.js';
|
|
16
16
|
import './chunk-J74SL6JI.js';
|
|
17
17
|
import './chunk-I3LTIAOR.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-LUDRPWCQ.js';
|
|
4
4
|
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-4KCWAP5L.js';
|
|
5
5
|
import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-RZRR2IUL.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
@@ -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-YW35ZKUI.js';
|
|
4
4
|
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-3BA7WFT5.js';
|
|
5
5
|
import { RunnerAlreadyRunningError, readPidFile } from './chunk-LAMPJU6V.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 { helperSocketPath } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-YW35ZKUI.js';
|
|
4
4
|
import { UNIT_MARKER } from './chunk-3BA7WFT5.js';
|
|
5
5
|
import { runnerDir } from './chunk-QZ3QG4FE.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-7MVTX74D.js';
|
|
4
4
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
5
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
6
|
-
import { renderUpdateSteps } from './chunk-
|
|
5
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-5KM5STHU.js';
|
|
6
|
+
import { renderUpdateSteps } from './chunk-XJVLKMQS.js';
|
|
7
7
|
import { decideInstalledSwitch } from './chunk-TXKHD4Q6.js';
|
|
8
8
|
import { writeFleetState } from './chunk-5XAV7LGB.js';
|
|
9
9
|
import { writePendingUpdate } from './chunk-H32FCHB5.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-JOED4C6S.js';
|
|
11
11
|
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-ETXP6DPT.js';
|
|
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, withJobTimeLimit, 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, SandboxContainerStoppedError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, jobTimeLimitMinutes, 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, environmentFor, builtOf, judgeCredential, readWorkItem, 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, removeOldestUntil, treeFileText, timeoutAfter, scrubReason, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } 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, withJobTimeLimit, 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, SandboxContainerStoppedError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, jobTimeLimitMinutes, 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, environmentFor, builtOf, judgeCredential, readWorkItem, 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, removeOldestUntil, treeFileText, timeoutAfter, scrubReason, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-YW35ZKUI.js';
|
|
13
13
|
import { RUNNER_PROTOCOL } from './chunk-JXZ3LIHN.js';
|
|
14
14
|
import { criteriaOf, loadCitationFinder, wholeItems, itemsSentence, oneLineReason, wholeEntries, parseJudgeAnswer } from './chunk-J74SL6JI.js';
|
|
15
15
|
import { RUNNER_RESERVE_BYTES } from './chunk-3BA7WFT5.js';
|
|
@@ -4827,7 +4827,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
4827
4827
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
4828
4828
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
4829
4829
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
4830
|
-
return (await import('./check-
|
|
4830
|
+
return (await import('./check-TEABORIU.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
4831
4831
|
},
|
|
4832
4832
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
4833
4833
|
log
|
|
@@ -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-YW35ZKUI.js';
|
|
4
4
|
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-3BA7WFT5.js';
|
|
5
5
|
import { getJson, WorkCommandError } from './chunk-XJTA4GJE.js';
|
|
6
6
|
import { isBuiltinVm, isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-EY5PK33O.js';
|
|
@@ -1122,7 +1122,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1122
1122
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1123
1123
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1124
1124
|
} else if (hasRunnerBlock(configPath)) {
|
|
1125
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1125
|
+
const { runnerHostChecks } = await import('./doctor-NP25CNXL.js');
|
|
1126
1126
|
const gateway = (() => {
|
|
1127
1127
|
try {
|
|
1128
1128
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -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-5QZYFP37.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-5QZYFP37.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-QJB44PQV.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 { stripTerminalControls } from './chunk-
|
|
3
|
+
import { stripTerminalControls } from './chunk-YW35ZKUI.js';
|
|
4
4
|
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-ZX6NQ4TE.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -4406,6 +4406,7 @@ var SANDBOX_DIR = "/var/lib/ol-runner";
|
|
|
4406
4406
|
var OLD_SANDBOX_DIR = "/tmp/ol";
|
|
4407
4407
|
var CLI_DIR = `${SANDBOX_DIR}/dist`;
|
|
4408
4408
|
var SKILL_PACK_DIR = `${SANDBOX_DIR}/skill-pack`;
|
|
4409
|
+
var PACKAGE_FILE = `${SANDBOX_DIR}/package.json`;
|
|
4409
4410
|
var SECRET_FILE = `${SANDBOX_DIR}/join-secret`;
|
|
4410
4411
|
var CONTAINER_SECRET_FILE = "/run/outerlayer-relay/join-secret";
|
|
4411
4412
|
var JOIN_WS_PORT = 7077;
|
|
@@ -4581,6 +4582,7 @@ function sandboxRunArgs(args, opts = {}) {
|
|
|
4581
4582
|
"--mount",
|
|
4582
4583
|
`type=bind,src=${CLI_DIR},dst=/opt/outerlayer/cli/dist,readonly`,
|
|
4583
4584
|
...opts.skillPack === true ? ["--mount", `type=bind,src=${SKILL_PACK_DIR},dst=/opt/outerlayer/cli/skill-pack,readonly`] : [],
|
|
4585
|
+
...opts.packageFile === true ? ["--mount", `type=bind,src=${PACKAGE_FILE},dst=/opt/outerlayer/cli/package.json,readonly`] : [],
|
|
4584
4586
|
"--mount",
|
|
4585
4587
|
`type=bind,src=${SECRET_FILE},dst=${CONTAINER_SECRET_FILE},readonly`,
|
|
4586
4588
|
...opts.joined === true ? ["--mount", `type=bind,src=${JOIN_DIR},dst=${CONTAINER_JOIN_DIR}`] : [],
|
|
@@ -5011,6 +5013,8 @@ async function provisionSandboxOnce(input, itemDiskFailed) {
|
|
|
5011
5013
|
runtime.sandbox.joinSecrets.set(buildId, joinSecret);
|
|
5012
5014
|
const packDir = join(runtime.cliBuild().distDir, "..", "skill-pack");
|
|
5013
5015
|
const skillPack = existsSync(packDir) ? packDir : void 0;
|
|
5016
|
+
const packagePath = join(runtime.cliBuild().distDir, "..", "package.json");
|
|
5017
|
+
const packageFile = existsSync(packagePath) ? packagePath : void 0;
|
|
5014
5018
|
try {
|
|
5015
5019
|
const made = await sandboxClient.command(sandbox, `sudo mkdir -p ${CLI_DIR} && sudo chown -R "$(id -u):$(id -g)" ${SANDBOX_DIR}`);
|
|
5016
5020
|
if (made.exitCode !== 0) return bail(`making ${SANDBOX_DIR} in the sandbox failed (exit ${made.exitCode ?? "none"})${said(made.stderr)}`);
|
|
@@ -5020,6 +5024,7 @@ async function provisionSandboxOnce(input, itemDiskFailed) {
|
|
|
5020
5024
|
const placed = await sandboxClient.command(sandbox, `mkdir -p ${SKILL_PACK_DIR} && tar xzf ${SANDBOX_DIR}/skill-pack.tgz -C ${SKILL_PACK_DIR} && rm -f ${SANDBOX_DIR}/skill-pack.tgz`);
|
|
5021
5025
|
if (placed.exitCode !== 0) return bail(`putting the skill pack in the sandbox failed (exit ${placed.exitCode ?? "none"})${said(placed.stderr)}`);
|
|
5022
5026
|
}
|
|
5027
|
+
if (packageFile !== void 0) await sandboxClient.upload(sandbox, PACKAGE_FILE, readFileSync(packageFile));
|
|
5023
5028
|
await sandboxClient.upload(sandbox, SECRET_FILE, joinSecret);
|
|
5024
5029
|
const unpacked = await sandboxClient.command(sandbox, `tar xzf ${SANDBOX_DIR}/dist.tgz -C ${CLI_DIR} && rm -f ${SANDBOX_DIR}/dist.tgz && sudo chown 60100:60100 ${SECRET_FILE} && sudo chmod 400 ${SECRET_FILE}`);
|
|
5025
5030
|
if (unpacked.exitCode !== 0) return bail(`putting the CLI in the sandbox failed (exit ${unpacked.exitCode ?? "none"})${said(unpacked.stderr)}`);
|
|
@@ -5071,7 +5076,7 @@ async function provisionSandboxOnce(input, itemDiskFailed) {
|
|
|
5071
5076
|
if ("none" in network) log.line(`${tag} ${noHelperLine(network.none)}`);
|
|
5072
5077
|
else containerState.network = network.helper;
|
|
5073
5078
|
const runArgs = containerRunArgs({ ...runInput, home: containerState.home, network: containerState.network }, runtime.agents);
|
|
5074
|
-
const started = await host.run(sandboxRunArgs(runArgs, { skillPack: skillPack !== void 0, dockerGroup, joined: containerState.network !== void 0 }), { logPath });
|
|
5079
|
+
const started = await host.run(sandboxRunArgs(runArgs, { skillPack: skillPack !== void 0, packageFile: packageFile !== void 0, dockerGroup, joined: containerState.network !== void 0 }), { logPath });
|
|
5075
5080
|
if (started.status !== 0) return dockerFailed("starting the build's container", started);
|
|
5076
5081
|
joinRelay(runtime, sandbox, { buildId, container }, services.streams, joinSecret, (line2) => log.line(`${tag} ${line2}`));
|
|
5077
5082
|
if (input.aborted()) return bail("", true);
|
|
@@ -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-LUDRPWCQ.js';
|
|
4
4
|
import './chunk-UU3A53VB.js';
|
|
5
5
|
import { verifiedTrackerNames, TRACKERS } from './chunk-XJTA4GJE.js';
|
|
6
6
|
import './chunk-A7M4QXVX.js';
|
|
@@ -274,11 +274,11 @@ var Help = class {
|
|
|
274
274
|
visibleOptions.push(helpOption);
|
|
275
275
|
} else if (helpOption.long && !removeLong) {
|
|
276
276
|
visibleOptions.push(
|
|
277
|
-
cmd.createOption(helpOption.long, helpOption.description)
|
|
277
|
+
cmd.createOption(helpOption.long, helpOption.description).helpGroup(helpOption.helpGroupHeading)
|
|
278
278
|
);
|
|
279
279
|
} else if (helpOption.short && !removeShort) {
|
|
280
280
|
visibleOptions.push(
|
|
281
|
-
cmd.createOption(helpOption.short, helpOption.description)
|
|
281
|
+
cmd.createOption(helpOption.short, helpOption.description).helpGroup(helpOption.helpGroupHeading)
|
|
282
282
|
);
|
|
283
283
|
}
|
|
284
284
|
}
|
|
@@ -810,7 +810,7 @@ var Option = class {
|
|
|
810
810
|
this.description = description || "";
|
|
811
811
|
this.required = flags.includes("<");
|
|
812
812
|
this.optional = flags.includes("[");
|
|
813
|
-
this.variadic = /\
|
|
813
|
+
this.variadic = /\p{ID_Continue}\.\.\.[>\]]$/u.test(flags);
|
|
814
814
|
this.mandatory = false;
|
|
815
815
|
const optionFlags = splitOptionFlags(flags);
|
|
816
816
|
this.short = optionFlags.shortFlag;
|
|
@@ -1992,7 +1992,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
1992
1992
|
getOptionValueSourceWithGlobals(key) {
|
|
1993
1993
|
let source;
|
|
1994
1994
|
this._getCommandAndAncestors().forEach((cmd) => {
|
|
1995
|
-
if (cmd.
|
|
1995
|
+
if (Object.hasOwn(cmd._optionValueSources, key)) {
|
|
1996
1996
|
source = cmd.getOptionValueSource(key);
|
|
1997
1997
|
}
|
|
1998
1998
|
});
|
|
@@ -2635,7 +2635,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
2635
2635
|
return arg.length > 1 && arg[0] === "-";
|
|
2636
2636
|
}
|
|
2637
2637
|
const negativeNumberArg = (arg) => {
|
|
2638
|
-
if (!/^-(\d+|\d*\.\d+)(
|
|
2638
|
+
if (!/^-(\d+|\d*\.\d+)([eE][+-]?\d+)?$/.test(arg)) return false;
|
|
2639
2639
|
return !this._getCommandAndAncestors().some(
|
|
2640
2640
|
(cmd) => cmd.options.map((opt) => opt.short).some((short) => /^-\d$/.test(short))
|
|
2641
2641
|
);
|
|
@@ -3083,7 +3083,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
3083
3083
|
* (This does not override a group set directly on the subcommand using .helpGroup().)
|
|
3084
3084
|
*
|
|
3085
3085
|
* @example
|
|
3086
|
-
* program.commandsGroup('Development Commands:);
|
|
3086
|
+
* program.commandsGroup('Development Commands:');
|
|
3087
3087
|
* program.command('watch')...
|
|
3088
3088
|
* program.command('lint')...
|
|
3089
3089
|
* ...
|
|
@@ -3254,7 +3254,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
3254
3254
|
* Pass in false to disable the built-in help option.
|
|
3255
3255
|
*
|
|
3256
3256
|
* @example
|
|
3257
|
-
* program.helpOption('-?, --help' 'show help'); // customise
|
|
3257
|
+
* program.helpOption('-?, --help', 'show help'); // customise
|
|
3258
3258
|
* program.helpOption(false); // disable
|
|
3259
3259
|
*
|
|
3260
3260
|
* @param {(string | boolean)} flags
|
|
@@ -3383,16 +3383,20 @@ function incrementNodeInspectorPort(args) {
|
|
|
3383
3383
|
let debugHost = "127.0.0.1";
|
|
3384
3384
|
let debugPort = "9229";
|
|
3385
3385
|
let match;
|
|
3386
|
-
if ((match = arg.match(/^(--inspect(-brk)?)$/)) !== null) {
|
|
3386
|
+
if ((match = arg.match(/^(--inspect(-brk|-wait)?)$/)) !== null) {
|
|
3387
3387
|
debugOption = match[1];
|
|
3388
|
-
} else if ((match = arg.match(
|
|
3388
|
+
} else if ((match = arg.match(
|
|
3389
|
+
/^(--inspect(-brk|-port|-wait)?)=(\[[^\]]+\]|[^:]+)$/
|
|
3390
|
+
)) !== null) {
|
|
3389
3391
|
debugOption = match[1];
|
|
3390
3392
|
if (/^\d+$/.test(match[3])) {
|
|
3391
3393
|
debugPort = match[3];
|
|
3392
3394
|
} else {
|
|
3393
3395
|
debugHost = match[3];
|
|
3394
3396
|
}
|
|
3395
|
-
} else if ((match = arg.match(
|
|
3397
|
+
} else if ((match = arg.match(
|
|
3398
|
+
/^(--inspect(-brk|-port|-wait)?)=(\[[^\]]+\]|[^:]+):(\d+)$/
|
|
3399
|
+
)) !== null) {
|
|
3396
3400
|
debugOption = match[1];
|
|
3397
3401
|
debugHost = match[3];
|
|
3398
3402
|
debugPort = match[4];
|
|
@@ -3954,13 +3958,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3954
3958
|
if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
|
|
3955
3959
|
`);
|
|
3956
3960
|
}
|
|
3957
|
-
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-
|
|
3961
|
+
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-CXIVHTCB.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
|
|
3958
3962
|
if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
|
|
3959
3963
|
else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
|
|
3960
3964
|
return;
|
|
3961
3965
|
}
|
|
3962
3966
|
await installMachineSkillsForSetup();
|
|
3963
|
-
const { runInitCommand } = await import('./init-cmd-
|
|
3967
|
+
const { runInitCommand } = await import('./init-cmd-CXIVHTCB.js');
|
|
3964
3968
|
const code = await runInitCommand(
|
|
3965
3969
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3966
3970
|
{
|
|
@@ -4018,7 +4022,7 @@ not have, and prints the commit commands instead.
|
|
|
4018
4022
|
`
|
|
4019
4023
|
).action(async (opts) => {
|
|
4020
4024
|
const { runSetupCommand } = await import('./setup-cmd-YE6FV6GI.js');
|
|
4021
|
-
const { realSetupDeps } = await import('./setup-wiring-
|
|
4025
|
+
const { realSetupDeps } = await import('./setup-wiring-W4LVR7LO.js');
|
|
4022
4026
|
const cliBin = resolveCliBin();
|
|
4023
4027
|
const agentWords = runnerHelpWords();
|
|
4024
4028
|
const code = await runSetupCommand(
|
|
@@ -5291,7 +5295,7 @@ a runner build, no row is failed.
|
|
|
5291
5295
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5292
5296
|
return;
|
|
5293
5297
|
}
|
|
5294
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5298
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-IBJ4EUN3.js');
|
|
5295
5299
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5296
5300
|
});
|
|
5297
5301
|
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) => {
|
|
@@ -5514,7 +5518,7 @@ function registerRunnerCommands(program2) {
|
|
|
5514
5518
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5515
5519
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5516
5520
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-XZL5SJFQ.js');
|
|
5517
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5521
|
+
const { start, RunnerStartError } = await import('./loop-GFVQWJZ3.js');
|
|
5518
5522
|
const { RunnerAlreadyRunningError } = await import('./pidfile-PN5VYXTM.js');
|
|
5519
5523
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5520
5524
|
try {
|
|
@@ -5538,8 +5542,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5538
5542
|
`
|
|
5539
5543
|
).action(async () => {
|
|
5540
5544
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-XZL5SJFQ.js');
|
|
5541
|
-
const { containerStart, containerStartExit } = await import('./container-start-
|
|
5542
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5545
|
+
const { containerStart, containerStartExit } = await import('./container-start-OP4KPMQD.js');
|
|
5546
|
+
const { start, RunnerStartError } = await import('./loop-GFVQWJZ3.js');
|
|
5543
5547
|
const { RunnerAlreadyRunningError } = await import('./pidfile-PN5VYXTM.js');
|
|
5544
5548
|
try {
|
|
5545
5549
|
const outcome = containerStartExit(await containerStart({
|
|
@@ -5563,14 +5567,14 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5563
5567
|
).action(async (opts) => {
|
|
5564
5568
|
const { defaultRunnerConfigPath } = await import('./config-XZL5SJFQ.js');
|
|
5565
5569
|
const { runnerDir } = await import('./paths-OYHBXFV4.js');
|
|
5566
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5570
|
+
const { runUpdateSteps } = await import('./update-steps-K2TLHXOV.js');
|
|
5567
5571
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5568
5572
|
process.stdout.write(`${text}
|
|
5569
5573
|
`);
|
|
5570
5574
|
});
|
|
5571
5575
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5572
5576
|
const { defaultRunnerConfigPath } = await import('./config-XZL5SJFQ.js');
|
|
5573
|
-
const { runRunnerCheck } = await import('./check-
|
|
5577
|
+
const { runRunnerCheck } = await import('./check-TEABORIU.js');
|
|
5574
5578
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5575
5579
|
const result = await runRunnerCheck(configPath);
|
|
5576
5580
|
if (!result.ok) {
|
|
@@ -5604,13 +5608,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5604
5608
|
}
|
|
5605
5609
|
}
|
|
5606
5610
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5607
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5611
|
+
if (buildCpusMax !== void 0 && !(await import('./command-GUYK5W3K.js')).cpusAreValid(buildCpusMax)) {
|
|
5608
5612
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5609
5613
|
return;
|
|
5610
5614
|
}
|
|
5611
5615
|
try {
|
|
5612
5616
|
if (opts.service === true) {
|
|
5613
|
-
const { installServiceCommand, serviceSuccessText } = await import('./command-
|
|
5617
|
+
const { installServiceCommand, serviceSuccessText } = await import('./command-GUYK5W3K.js');
|
|
5614
5618
|
const result2 = await installServiceCommand({
|
|
5615
5619
|
configPath,
|
|
5616
5620
|
print: opts.print,
|
|
@@ -5665,7 +5669,7 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5665
5669
|
return;
|
|
5666
5670
|
}
|
|
5667
5671
|
const { defaultRunnerConfigPath } = await import('./config-XZL5SJFQ.js');
|
|
5668
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5672
|
+
const { uninstallServiceCommand } = await import('./command-GUYK5W3K.js');
|
|
5669
5673
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5670
5674
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5671
5675
|
`);
|
|
@@ -5696,11 +5700,11 @@ already in ${words().envFile} is used.
|
|
|
5696
5700
|
`
|
|
5697
5701
|
).action(async (opts) => {
|
|
5698
5702
|
const { defaultRunnerConfigPath, loadRunnerConfig, RunnerConfigError } = await import('./config-XZL5SJFQ.js');
|
|
5699
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit, removeRunnerBlock, nativeWindowsSandboxRefusal, SANDBOX_MACHINES } = await import('./init-
|
|
5700
|
-
const { askManagedSandboxes } = await import('./check-
|
|
5701
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5702
|
-
const { detectMachine } = await import('./machine-
|
|
5703
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5703
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit, removeRunnerBlock, nativeWindowsSandboxRefusal, SANDBOX_MACHINES } = await import('./init-FP3RUUA5.js');
|
|
5704
|
+
const { askManagedSandboxes } = await import('./check-TEABORIU.js');
|
|
5705
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-UK6POYN4.js');
|
|
5706
|
+
const { detectMachine } = await import('./machine-OTZR4ZMD.js');
|
|
5707
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-IXL4YFO3.js');
|
|
5704
5708
|
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-PS42B5IJ.js');
|
|
5705
5709
|
const { headlessNames: headlessNames2 } = await import('./runner-agents-6LXWGCI5.js');
|
|
5706
5710
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -5736,7 +5740,7 @@ already in ${words().envFile} is used.
|
|
|
5736
5740
|
return;
|
|
5737
5741
|
}
|
|
5738
5742
|
try {
|
|
5739
|
-
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-
|
|
5743
|
+
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-ZUTFIH6K.js');
|
|
5740
5744
|
agent = await initAgent({
|
|
5741
5745
|
flag: agent,
|
|
5742
5746
|
handOff: opts.configStdin === true,
|
|
@@ -5894,7 +5898,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5894
5898
|
let serviceUp = false;
|
|
5895
5899
|
let restart;
|
|
5896
5900
|
if (installedLayout) {
|
|
5897
|
-
const { installServiceCommand } = await import('./command-
|
|
5901
|
+
const { installServiceCommand } = await import('./command-GUYK5W3K.js');
|
|
5898
5902
|
const service = await installServiceCommand({
|
|
5899
5903
|
configPath,
|
|
5900
5904
|
entryPath: process.argv[1] ?? "",
|
|
@@ -6034,7 +6038,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
6034
6038
|
});
|
|
6035
6039
|
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) => {
|
|
6036
6040
|
const { defaultRunnerConfigPath } = await import('./config-XZL5SJFQ.js');
|
|
6037
|
-
const { requestStop } = await import('./loop-
|
|
6041
|
+
const { requestStop } = await import('./loop-GFVQWJZ3.js');
|
|
6038
6042
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
6039
6043
|
const { runnerImageVersion } = await import('./image-tag-DTTH4Z6T.js');
|
|
6040
6044
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
@@ -6042,8 +6046,8 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
6042
6046
|
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) => {
|
|
6043
6047
|
const { builtinKind, defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-XZL5SJFQ.js');
|
|
6044
6048
|
const { jobsDir, runnerDir } = await import('./paths-OYHBXFV4.js');
|
|
6045
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
6046
|
-
const { renderStatus } = await import('./status-
|
|
6049
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-GFVQWJZ3.js');
|
|
6050
|
+
const { renderStatus } = await import('./status-EXAXEXJ7.js');
|
|
6047
6051
|
const { readHousekeepingRecord } = await import('./record-H5TSGSHS.js');
|
|
6048
6052
|
const path2 = await import('path');
|
|
6049
6053
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -6116,7 +6120,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
6116
6120
|
});
|
|
6117
6121
|
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) => {
|
|
6118
6122
|
const { defaultRunnerConfigPath } = await import('./config-XZL5SJFQ.js');
|
|
6119
|
-
const { listJobFiles } = await import('./loop-
|
|
6123
|
+
const { listJobFiles } = await import('./loop-GFVQWJZ3.js');
|
|
6120
6124
|
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-I4VXXTV5.js');
|
|
6121
6125
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
6122
6126
|
const jobs = listJobFiles(configPath);
|
|
@@ -4,10 +4,10 @@ import { realLaunchAgentHost } from './chunk-3FCYURWW.js';
|
|
|
4
4
|
import { realOwnership, accountNamed, handOver, runRunnerInstall, launcherSummary, restartNote, accountIdentity } from './chunk-TT6C65II.js';
|
|
5
5
|
import { installSandboxAgent, uninstallSandboxAgent } from './chunk-UEK65YH6.js';
|
|
6
6
|
import './chunk-TXKHD4Q6.js';
|
|
7
|
-
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-
|
|
7
|
+
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-6ZHZXUFW.js';
|
|
8
8
|
import './chunk-C5TJZMYS.js';
|
|
9
9
|
import { currentLink, execStartCommand } from './chunk-ETXP6DPT.js';
|
|
10
|
-
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-
|
|
10
|
+
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-YW35ZKUI.js';
|
|
11
11
|
import './chunk-JXZ3LIHN.js';
|
|
12
12
|
import './chunk-J74SL6JI.js';
|
|
13
13
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
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-5KM5STHU.js';
|
|
4
|
+
import { readOwnContainer } from './chunk-XJVLKMQS.js';
|
|
5
|
+
import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-YW35ZKUI.js';
|
|
6
6
|
import './chunk-JXZ3LIHN.js';
|
|
7
7
|
import './chunk-J74SL6JI.js';
|
|
8
8
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperBinaryFor } from './chunk-
|
|
4
|
-
import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-
|
|
3
|
+
import { helperBinaryFor } from './chunk-6ZHZXUFW.js';
|
|
4
|
+
import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-JOED4C6S.js';
|
|
5
5
|
import { launcherCheck } from './chunk-C5TJZMYS.js';
|
|
6
6
|
import './chunk-ETXP6DPT.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-YW35ZKUI.js';
|
|
8
8
|
import './chunk-JXZ3LIHN.js';
|
|
9
9
|
import './chunk-J74SL6JI.js';
|
|
10
10
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { MAX_CHECK_ITEMS_BYTES, builtOf, checksIn, commandItems, isJudgeCheck, makeRecorder, readDefinitions, runHostChecks, testProofIn, timeoutAfter } from './chunk-
|
|
3
|
+
export { MAX_CHECK_ITEMS_BYTES, builtOf, checksIn, commandItems, isJudgeCheck, makeRecorder, readDefinitions, runHostChecks, testProofIn, timeoutAfter } from './chunk-YW35ZKUI.js';
|
|
4
4
|
import './chunk-JXZ3LIHN.js';
|
|
5
5
|
import './chunk-J74SL6JI.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
package/dist/index.js
CHANGED
|
@@ -25,5 +25,5 @@ var { runSubcommand } = await import('./agent-subcommand-627NTYCT.js');
|
|
|
25
25
|
var launcherCode = await runSubcommand(argv);
|
|
26
26
|
if (launcherCode !== void 0) process.exit(launcherCode);
|
|
27
27
|
(await import('./hook-fast-TBCK3I4E.js')).recordLinkExitFailure(argv);
|
|
28
|
-
var { runCli } = await import('./cli-
|
|
28
|
+
var { runCli } = await import('./cli-6ZKRVTHP.js');
|
|
29
29
|
await runCli(process.argv);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { PLACEHOLDER_MARKER, RunnerInitError, SANDBOX_MACHINES, isPlaceholderCommand, nativeWindowsSandboxRefusal, prepareRunnerInit, readConfigObject, removeRunnerBlock, runRunnerInit, writeRunnerInit } from './chunk-
|
|
3
|
+
export { PLACEHOLDER_MARKER, RunnerInitError, SANDBOX_MACHINES, isPlaceholderCommand, nativeWindowsSandboxRefusal, prepareRunnerInit, readConfigObject, removeRunnerBlock, runRunnerInit, writeRunnerInit } from './chunk-YW35ZKUI.js';
|
|
4
4
|
import './chunk-JXZ3LIHN.js';
|
|
5
5
|
import './chunk-J74SL6JI.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
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-YW35ZKUI.js';
|
|
5
5
|
import './chunk-JXZ3LIHN.js';
|
|
6
6
|
import './chunk-J74SL6JI.js';
|
|
7
7
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RunnerInitError } from './chunk-
|
|
3
|
+
import { RunnerInitError } from './chunk-YW35ZKUI.js';
|
|
4
4
|
import './chunk-JXZ3LIHN.js';
|
|
5
5
|
import './chunk-J74SL6JI.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { applyShellFunctionFlag, runInitCommand } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { applyShellFunctionFlag, runInitCommand } from './chunk-54J6P6BH.js';
|
|
4
|
+
import './chunk-LUDRPWCQ.js';
|
|
5
5
|
import './chunk-4KCWAP5L.js';
|
|
6
6
|
import './chunk-UU3A53VB.js';
|
|
7
7
|
import './chunk-XJTA4GJE.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
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-GNQF6XLZ.js';
|
|
4
4
|
import './chunk-7MVTX74D.js';
|
|
5
5
|
import './chunk-E7R2GIAW.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
6
|
+
import './chunk-5KM5STHU.js';
|
|
7
|
+
import './chunk-XJVLKMQS.js';
|
|
8
8
|
import './chunk-TXKHD4Q6.js';
|
|
9
9
|
import './chunk-5XAV7LGB.js';
|
|
10
10
|
import './chunk-H32FCHB5.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-JOED4C6S.js';
|
|
12
12
|
import './chunk-ETXP6DPT.js';
|
|
13
|
-
import './chunk-
|
|
13
|
+
import './chunk-YW35ZKUI.js';
|
|
14
14
|
import './chunk-JXZ3LIHN.js';
|
|
15
15
|
import './chunk-J74SL6JI.js';
|
|
16
16
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
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-YW35ZKUI.js';
|
|
4
4
|
import './chunk-JXZ3LIHN.js';
|
|
5
5
|
import './chunk-J74SL6JI.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
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-YW35ZKUI.js';
|
|
4
4
|
import './chunk-JXZ3LIHN.js';
|
|
5
5
|
import './chunk-J74SL6JI.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { runInitCommand } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import { runInitCommand } from './chunk-54J6P6BH.js';
|
|
4
|
+
import './chunk-LUDRPWCQ.js';
|
|
5
5
|
import './chunk-4KCWAP5L.js';
|
|
6
6
|
import { currentBranch, openSetupPullRequest, setupPullRequestUrl, setupBranchPushed, setupMerged, setupBaseBranch, markSetupInstalled, setupInstalled } from './chunk-SVJKVEUF.js';
|
|
7
|
-
import { detectMachine, supportsMicroVmBuilds, supportsContainerBuilds, reachDockerStep, describeMachineDocker } from './chunk-
|
|
7
|
+
import { detectMachine, supportsMicroVmBuilds, supportsContainerBuilds, reachDockerStep, describeMachineDocker } from './chunk-YW35ZKUI.js';
|
|
8
8
|
import './chunk-JXZ3LIHN.js';
|
|
9
9
|
import './chunk-J74SL6JI.js';
|
|
10
10
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
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-YW35ZKUI.js';
|
|
4
4
|
import './chunk-JXZ3LIHN.js';
|
|
5
5
|
import './chunk-J74SL6JI.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
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-XJVLKMQS.js';
|
|
4
|
+
import './chunk-YW35ZKUI.js';
|
|
5
5
|
import './chunk-JXZ3LIHN.js';
|
|
6
6
|
import './chunk-J74SL6JI.js';
|
|
7
7
|
import './chunk-I3LTIAOR.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-XDVNW7TR.js';
|
|
4
4
|
import './chunk-J74SL6JI.js';
|
|
5
5
|
import './chunk-XJTA4GJE.js';
|
|
6
6
|
import './chunk-A7M4QXVX.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
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, renderProofRow, proofsCommentBody } from './chunk-
|
|
3
|
+
import { resolveProofsItem, ownPullRequest, otherPullRequestHeads, testProofMode, classifyProofsAt, runWorkProofs, proofsCommentId, testFilesOf, freshXmlFiles, joinResults, testSelectors, kindProblem, renderProofRow, proofsCommentBody } from './chunk-XDVNW7TR.js';
|
|
4
4
|
import { runWorkComment } from './chunk-DQ77PKPL.js';
|
|
5
5
|
import { runEmitDemo, planScreenshots, chapterPassed, readStill } from './chunk-U7CJ6EPP.js';
|
|
6
6
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outerlayer/cli",
|
|
3
|
-
"version": "0.40.0-next.
|
|
3
|
+
"version": "0.40.0-next.20261116150436",
|
|
4
4
|
"description": "OuterLayer CLI — commands: setup, init, claude, opencode, codex, 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.",
|