@outerlayer/cli 0.39.1-next.20261114021217 → 0.39.1-next.20261114132104
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-HAXCODAJ.js → check-YW2DEL4Z.js} +6 -6
- package/dist/{chunk-CZIX52ZD.js → chunk-5JQT6YBA.js} +52 -15
- package/dist/{chunk-FFQK6HV7.js → chunk-B2QA7GQS.js} +1 -1
- package/dist/{chunk-XEAVCYZD.js → chunk-F5R4EFSS.js} +1 -1
- package/dist/{chunk-UHCPBQ55.js → chunk-OCVQAHQD.js} +1 -1
- package/dist/{chunk-OV2KGWTA.js → chunk-P4OE5G2Z.js} +1 -1
- package/dist/{chunk-545JF74J.js → chunk-SNPBJKBB.js} +1 -1
- package/dist/{chunk-KVCYB6TG.js → chunk-UYUBKWBN.js} +1 -1
- package/dist/{chunk-A3PZSB4V.js → chunk-W4JOSQC2.js} +3 -3
- package/dist/{chunk-RWYVSNLD.js → chunk-WDSMYCA3.js} +6 -6
- package/dist/{cli-JBP54LLM.js → cli-2JU2HGLY.js} +25 -25
- package/dist/{command-BZGBS6GR.js → command-TIYDTC2W.js} +3 -3
- package/dist/{container-start-GBHOTHWI.js → container-start-ZUHNEZS2.js} +4 -4
- package/dist/{doctor-DPERYSSE.js → doctor-HHY2VFOL.js} +4 -4
- package/dist/{host-checks-2FC6TSRG.js → host-checks-LAZYTGS6.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/{init-6S432XRB.js → init-C6RKGGRI.js} +2 -2
- package/dist/{init-3ITKSYCH.js → init-RCNKULZN.js} +2 -2
- package/dist/{init-agent-L56BR6ST.js → init-agent-3XNIUZZN.js} +2 -2
- package/dist/{init-cmd-DWW2QRNB.js → init-cmd-7A5LUSDS.js} +1 -1
- package/dist/{loop-LGBFEKRI.js → loop-M6LVNF4F.js} +6 -6
- package/dist/{machine-2ZEQI4UT.js → machine-UI3W5FHH.js} +2 -2
- package/dist/{runner-key-CC2I5FAY.js → runner-key-2XX4ECM7.js} +2 -2
- package/dist/{status-ZTRVBMPG.js → status-LVDYSTT3.js} +2 -2
- package/dist/{update-steps-GNV6BCGG.js → update-steps-QM7FVAYZ.js} +3 -3
- package/dist/{work-claim-cmd-2B5LEL7Y.js → work-claim-cmd-MJJ4CAKU.js} +1 -1
- package/dist/{work-proofs-cmd-EMFR75F4.js → work-proofs-cmd-EDPUXBGS.js} +1 -1
- package/dist/{work-proofs-record-46IGFLET.js → work-proofs-record-2EE6SKGM.js} +1 -1
- package/package.json +1 -1
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-11-
|
|
1
|
+
{"id":"2026-11-14T13:28:26.263Z","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-WDSMYCA3.js';
|
|
4
4
|
import './chunk-3JVYMD4G.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-B2QA7GQS.js';
|
|
6
6
|
import './chunk-E7R2GIAW.js';
|
|
7
7
|
import './chunk-KWR72UJ2.js';
|
|
8
8
|
import './chunk-UUPXJP2E.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-P4OE5G2Z.js';
|
|
10
10
|
import './chunk-KYQMP53T.js';
|
|
11
|
-
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-
|
|
11
|
+
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-UYUBKWBN.js';
|
|
12
12
|
import './chunk-WGGUOPM4.js';
|
|
13
13
|
import { findServiceUnit } from './chunk-CIRTX52G.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-5JQT6YBA.js';
|
|
15
15
|
import './chunk-IEPKZPTP.js';
|
|
16
|
-
import './chunk-
|
|
16
|
+
import './chunk-OCVQAHQD.js';
|
|
17
17
|
import './chunk-2PGI6RDE.js';
|
|
18
18
|
import './chunk-I3LTIAOR.js';
|
|
19
19
|
import './chunk-QJIRCYAI.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { MAX_TEST_FILE_BYTES, itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems } from './chunk-IEPKZPTP.js';
|
|
4
|
-
import { RUNNER_PROTOCOL } from './chunk-
|
|
4
|
+
import { RUNNER_PROTOCOL } from './chunk-OCVQAHQD.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-QJIRCYAI.js';
|
|
@@ -1486,7 +1486,7 @@ function createGatewaySandboxClient(opts) {
|
|
|
1486
1486
|
async create(input) {
|
|
1487
1487
|
if (input.workItem === void 0) throw new SandboxError("the build names no work item, and OuterLayer makes a sandbox only for the claim on one", 0);
|
|
1488
1488
|
return sandboxOf(
|
|
1489
|
-
await post(claimed(input.workItem), { machine: opts.machine?.() ?? "small", idleMinutes: input.idleMinutes, timeLimitMinutes: input.timeLimitMinutes, metadata: input.metadata })
|
|
1489
|
+
await post(claimed(input.workItem), { machine: opts.machine?.() ?? "small", waits: true, idleMinutes: input.idleMinutes, timeLimitMinutes: input.timeLimitMinutes, metadata: input.metadata })
|
|
1490
1490
|
);
|
|
1491
1491
|
},
|
|
1492
1492
|
async get(id) {
|
|
@@ -4166,30 +4166,45 @@ function waited(ms) {
|
|
|
4166
4166
|
const seconds = Math.round(ms / 1e3);
|
|
4167
4167
|
return seconds < 60 ? `${seconds}s` : `${Math.floor(seconds / 60)}m ${seconds % 60}s`;
|
|
4168
4168
|
}
|
|
4169
|
-
|
|
4170
|
-
|
|
4169
|
+
function hasStarted(state) {
|
|
4170
|
+
return state !== "starting" && state !== "" && state !== "ended";
|
|
4171
|
+
}
|
|
4172
|
+
async function awaitStartById(input) {
|
|
4173
|
+
const { client: client2, log, id } = input;
|
|
4171
4174
|
const waitMs2 = input.waitMs ?? SLOW_START_WAIT_MS;
|
|
4172
|
-
|
|
4173
|
-
const found = listed.find((sandbox) => sandbox.state !== "ended" && sandbox.metadata[RUNNER_METADATA] === input.runnerId && sandbox.metadata[BUILD_METADATA] === input.buildId);
|
|
4174
|
-
if (found === void 0) return { kind: "none" };
|
|
4175
|
-
log(`the provider did not answer in time, and it is still starting sandbox ${found.id} \xB7 waiting up to ${waited(waitMs2)} for it`);
|
|
4175
|
+
log(input.announce(waited(waitMs2)));
|
|
4176
4176
|
for (let waitedMs = 0; ; waitedMs += SLOW_START_ASK_MS) {
|
|
4177
|
-
if (input.aborted()) return { kind: "aborted", id
|
|
4177
|
+
if (input.aborted()) return { kind: "aborted", id };
|
|
4178
4178
|
let now;
|
|
4179
4179
|
try {
|
|
4180
|
-
now = await client2.get(
|
|
4180
|
+
now = await client2.get(id);
|
|
4181
4181
|
} catch (err) {
|
|
4182
|
-
if (err instanceof SandboxError && err.status === 404) return { kind: "ended", id
|
|
4182
|
+
if (err instanceof SandboxError && err.status === 404) return { kind: "ended", id };
|
|
4183
4183
|
}
|
|
4184
|
-
if (now !== void 0 && now.state === "ended") return { kind: "ended", id
|
|
4185
|
-
if (now !== void 0 && now.state
|
|
4186
|
-
log(`sandbox ${
|
|
4184
|
+
if (now !== void 0 && now.state === "ended") return { kind: "ended", id, ...typeof now.endedReason === "string" ? { reason: now.endedReason } : {} };
|
|
4185
|
+
if (now !== void 0 && hasStarted(now.state)) {
|
|
4186
|
+
log(`sandbox ${id} started after ${waited(waitedMs)} of waiting`);
|
|
4187
4187
|
return { kind: "started", sandbox: now, waitedMs };
|
|
4188
4188
|
}
|
|
4189
|
-
if (waitedMs >= waitMs2) return { kind: "timed_out", id
|
|
4189
|
+
if (waitedMs >= waitMs2) return { kind: "timed_out", id, waitedMs };
|
|
4190
4190
|
await input.sleep(SLOW_START_ASK_MS);
|
|
4191
4191
|
}
|
|
4192
4192
|
}
|
|
4193
|
+
async function awaitSlowStart(input) {
|
|
4194
|
+
const { client: client2 } = input;
|
|
4195
|
+
const listed = await client2.list();
|
|
4196
|
+
const found = listed.find((sandbox) => sandbox.state !== "ended" && sandbox.metadata[RUNNER_METADATA] === input.runnerId && sandbox.metadata[BUILD_METADATA] === input.buildId);
|
|
4197
|
+
if (found === void 0) return { kind: "none" };
|
|
4198
|
+
return awaitStartById({
|
|
4199
|
+
client: client2,
|
|
4200
|
+
id: found.id,
|
|
4201
|
+
sleep: input.sleep,
|
|
4202
|
+
aborted: input.aborted,
|
|
4203
|
+
log: input.log,
|
|
4204
|
+
...input.waitMs === void 0 ? {} : { waitMs: input.waitMs },
|
|
4205
|
+
announce: (limit) => `the provider did not answer in time, and it is still starting sandbox ${found.id} \xB7 waiting up to ${limit} for it`
|
|
4206
|
+
});
|
|
4207
|
+
}
|
|
4193
4208
|
var BUFFER_HIGH_WATER = 1024 * 1024;
|
|
4194
4209
|
var DRAIN_POLL_MS = 5;
|
|
4195
4210
|
var OPEN_TIMEOUT_MS = 3e4;
|
|
@@ -4908,6 +4923,28 @@ async function provisionSandboxOnce(input, itemDiskFailed) {
|
|
|
4908
4923
|
}
|
|
4909
4924
|
sandbox = late.sandbox;
|
|
4910
4925
|
}
|
|
4926
|
+
if (resumed === void 0 && !hasStarted(sandbox.state)) {
|
|
4927
|
+
const started2 = await awaitStartById({
|
|
4928
|
+
client: sandboxClient,
|
|
4929
|
+
id: sandbox.id,
|
|
4930
|
+
sleep: runtime.sandbox.sleep,
|
|
4931
|
+
aborted: input.aborted,
|
|
4932
|
+
log: (line2) => log.line(`${tag} ${line2}`),
|
|
4933
|
+
announce: (limit) => `sandbox ${sandbox.id} is still starting \xB7 waiting up to ${limit} for it`
|
|
4934
|
+
});
|
|
4935
|
+
if (started2.kind === "started") {
|
|
4936
|
+
sandbox = started2.sandbox;
|
|
4937
|
+
} else {
|
|
4938
|
+
runtime.sandbox.creating.delete(buildId);
|
|
4939
|
+
try {
|
|
4940
|
+
await sandboxClient.end(sandbox.id);
|
|
4941
|
+
} catch (err) {
|
|
4942
|
+
log.error(`${tag} could not end sandbox ${sandbox.id}: ${describeCallFailure(err)} \xB7 the next sweep ends it`);
|
|
4943
|
+
}
|
|
4944
|
+
if (started2.kind === "aborted") return bail("", true);
|
|
4945
|
+
return bail(slowStartReason(started2) ?? `sandbox ${sandbox.id} did not start`);
|
|
4946
|
+
}
|
|
4947
|
+
}
|
|
4911
4948
|
runtime.sandbox.sandboxes.set(buildId, sandbox);
|
|
4912
4949
|
state.sandboxId = sandbox.id;
|
|
4913
4950
|
state.dataPlaneUrl = sandbox.dataPlaneUrl;
|
|
@@ -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-5JQT6YBA.js';
|
|
4
4
|
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-GZYTJS44.js';
|
|
5
5
|
import { RunnerAlreadyRunningError, readPidFile } from './chunk-LS2OOIEJ.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-5JQT6YBA.js';
|
|
4
4
|
import { UNIT_MARKER } from './chunk-GZYTJS44.js';
|
|
5
5
|
import { runnerDir } from './chunk-3TDS4OUB.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-5JQT6YBA.js';
|
|
4
4
|
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-JPVK3EZ4.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -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-HHY2VFOL.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 { placeholderQueues, placeholderProblem } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-5JQT6YBA.js';
|
|
4
4
|
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-GZYTJS44.js';
|
|
5
5
|
import { getJson, WorkCommandError } from './chunk-ID26SYRA.js';
|
|
6
6
|
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-P7YUPG7W.js';
|
|
@@ -129,14 +129,14 @@ function governingDir(cwd) {
|
|
|
129
129
|
async function testProofMode(cwd) {
|
|
130
130
|
const dir = governingDir(cwd);
|
|
131
131
|
if (dir === void 0) return "any";
|
|
132
|
-
const { testProofIn } = await import('./host-checks-
|
|
132
|
+
const { testProofIn } = await import('./host-checks-LAZYTGS6.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-LAZYTGS6.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-2EE6SKGM.js');
|
|
376
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
377
|
process.exitCode = result2.exitCode;
|
|
378
378
|
return;
|
|
@@ -1,17 +1,17 @@
|
|
|
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-B2QA7GQS.js';
|
|
5
5
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
6
6
|
import { writeFleetState } from './chunk-KWR72UJ2.js';
|
|
7
7
|
import { writePendingUpdate } from './chunk-UUPXJP2E.js';
|
|
8
|
-
import { renderUpdateSteps } from './chunk-
|
|
8
|
+
import { renderUpdateSteps } from './chunk-P4OE5G2Z.js';
|
|
9
9
|
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-KYQMP53T.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-UYUBKWBN.js';
|
|
11
11
|
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-WGGUOPM4.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, 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, 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, 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, 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-5JQT6YBA.js';
|
|
13
13
|
import { criteriaOf, loadCitationFinder, wholeItems, itemsSentence, oneLineReason, wholeEntries, parseJudgeAnswer } from './chunk-IEPKZPTP.js';
|
|
14
|
-
import { RUNNER_PROTOCOL } from './chunk-
|
|
14
|
+
import { RUNNER_PROTOCOL } from './chunk-OCVQAHQD.js';
|
|
15
15
|
import { RUNNER_RESERVE_BYTES } from './chunk-GZYTJS44.js';
|
|
16
16
|
import { RepoFilter } from './chunk-CPBS6UXI.js';
|
|
17
17
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
@@ -4735,7 +4735,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
4735
4735
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
4736
4736
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
4737
4737
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
4738
|
-
return (await import('./check-
|
|
4738
|
+
return (await import('./check-YW2DEL4Z.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
4739
4739
|
},
|
|
4740
4740
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
4741
4741
|
log
|
|
@@ -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-SNPBJKBB.js';
|
|
4
4
|
import './chunk-RFWX5IAJ.js';
|
|
5
5
|
import { verifiedTrackerNames, TRACKERS } from './chunk-ID26SYRA.js';
|
|
6
6
|
import './chunk-4M7N6DKZ.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-7A5LUSDS.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-7A5LUSDS.js');
|
|
3964
3964
|
const code = await runInitCommand(
|
|
3965
3965
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3966
3966
|
{
|
|
@@ -5250,7 +5250,7 @@ a runner build, no row is failed.
|
|
|
5250
5250
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5251
5251
|
return;
|
|
5252
5252
|
}
|
|
5253
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5253
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-EDPUXBGS.js');
|
|
5254
5254
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5255
5255
|
});
|
|
5256
5256
|
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) => {
|
|
@@ -5275,7 +5275,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
5275
5275
|
it. --host is a label only.
|
|
5276
5276
|
`
|
|
5277
5277
|
).action(async (opts) => {
|
|
5278
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
5278
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-MJJ4CAKU.js');
|
|
5279
5279
|
try {
|
|
5280
5280
|
await runWorkClaim(opts);
|
|
5281
5281
|
} catch (err) {
|
|
@@ -5295,7 +5295,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5295
5295
|
lease has expired, or a 403 if a different key holds it.
|
|
5296
5296
|
`
|
|
5297
5297
|
).action(async (opts) => {
|
|
5298
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5298
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-MJJ4CAKU.js');
|
|
5299
5299
|
try {
|
|
5300
5300
|
await runWorkRenew(opts);
|
|
5301
5301
|
} catch (err) {
|
|
@@ -5327,7 +5327,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5327
5327
|
takes the lease again.
|
|
5328
5328
|
`
|
|
5329
5329
|
).action(async (opts) => {
|
|
5330
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5330
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-MJJ4CAKU.js');
|
|
5331
5331
|
try {
|
|
5332
5332
|
await runWorkRelease(opts);
|
|
5333
5333
|
} catch (err) {
|
|
@@ -5473,7 +5473,7 @@ function registerRunnerCommands(program2) {
|
|
|
5473
5473
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5474
5474
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5475
5475
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-LEIZOHEQ.js');
|
|
5476
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5476
|
+
const { start, RunnerStartError } = await import('./loop-M6LVNF4F.js');
|
|
5477
5477
|
const { RunnerAlreadyRunningError } = await import('./pidfile-SLFI7T4A.js');
|
|
5478
5478
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5479
5479
|
try {
|
|
@@ -5497,8 +5497,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5497
5497
|
`
|
|
5498
5498
|
).action(async () => {
|
|
5499
5499
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-LEIZOHEQ.js');
|
|
5500
|
-
const { containerStart, containerStartExit } = await import('./container-start-
|
|
5501
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5500
|
+
const { containerStart, containerStartExit } = await import('./container-start-ZUHNEZS2.js');
|
|
5501
|
+
const { start, RunnerStartError } = await import('./loop-M6LVNF4F.js');
|
|
5502
5502
|
const { RunnerAlreadyRunningError } = await import('./pidfile-SLFI7T4A.js');
|
|
5503
5503
|
try {
|
|
5504
5504
|
const outcome = containerStartExit(await containerStart({
|
|
@@ -5522,14 +5522,14 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5522
5522
|
).action(async (opts) => {
|
|
5523
5523
|
const { defaultRunnerConfigPath } = await import('./config-LEIZOHEQ.js');
|
|
5524
5524
|
const { runnerDir } = await import('./paths-KMGPIRVG.js');
|
|
5525
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5525
|
+
const { runUpdateSteps } = await import('./update-steps-QM7FVAYZ.js');
|
|
5526
5526
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5527
5527
|
process.stdout.write(`${text}
|
|
5528
5528
|
`);
|
|
5529
5529
|
});
|
|
5530
5530
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5531
5531
|
const { defaultRunnerConfigPath } = await import('./config-LEIZOHEQ.js');
|
|
5532
|
-
const { runRunnerCheck } = await import('./check-
|
|
5532
|
+
const { runRunnerCheck } = await import('./check-YW2DEL4Z.js');
|
|
5533
5533
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5534
5534
|
const result = await runRunnerCheck(configPath);
|
|
5535
5535
|
if (!result.ok) {
|
|
@@ -5563,13 +5563,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5563
5563
|
}
|
|
5564
5564
|
}
|
|
5565
5565
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5566
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5566
|
+
if (buildCpusMax !== void 0 && !(await import('./command-TIYDTC2W.js')).cpusAreValid(buildCpusMax)) {
|
|
5567
5567
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5568
5568
|
return;
|
|
5569
5569
|
}
|
|
5570
5570
|
try {
|
|
5571
5571
|
if (opts.service === true) {
|
|
5572
|
-
const { installServiceCommand, serviceSuccessText } = await import('./command-
|
|
5572
|
+
const { installServiceCommand, serviceSuccessText } = await import('./command-TIYDTC2W.js');
|
|
5573
5573
|
const result2 = await installServiceCommand({
|
|
5574
5574
|
configPath,
|
|
5575
5575
|
print: opts.print,
|
|
@@ -5624,7 +5624,7 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5624
5624
|
return;
|
|
5625
5625
|
}
|
|
5626
5626
|
const { defaultRunnerConfigPath } = await import('./config-LEIZOHEQ.js');
|
|
5627
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5627
|
+
const { uninstallServiceCommand } = await import('./command-TIYDTC2W.js');
|
|
5628
5628
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5629
5629
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5630
5630
|
`);
|
|
@@ -5655,10 +5655,10 @@ already in ${words().envFile} is used.
|
|
|
5655
5655
|
`
|
|
5656
5656
|
).action(async (opts) => {
|
|
5657
5657
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-LEIZOHEQ.js');
|
|
5658
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5659
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5660
|
-
const { detectMachine } = await import('./machine-
|
|
5661
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5658
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-C6RKGGRI.js');
|
|
5659
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-2XX4ECM7.js');
|
|
5660
|
+
const { detectMachine } = await import('./machine-UI3W5FHH.js');
|
|
5661
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-RCNKULZN.js');
|
|
5662
5662
|
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-Y346HR2C.js');
|
|
5663
5663
|
const { headlessNames: headlessNames2 } = await import('./runner-agents-4FE5CFVN.js');
|
|
5664
5664
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -5672,7 +5672,7 @@ already in ${words().envFile} is used.
|
|
|
5672
5672
|
return;
|
|
5673
5673
|
}
|
|
5674
5674
|
try {
|
|
5675
|
-
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-
|
|
5675
|
+
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-3XNIUZZN.js');
|
|
5676
5676
|
agent = await initAgent({
|
|
5677
5677
|
flag: agent,
|
|
5678
5678
|
handOff: opts.configStdin === true,
|
|
@@ -5812,7 +5812,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5812
5812
|
let serviceUp = false;
|
|
5813
5813
|
let restart;
|
|
5814
5814
|
if (installedLayout) {
|
|
5815
|
-
const { installServiceCommand } = await import('./command-
|
|
5815
|
+
const { installServiceCommand } = await import('./command-TIYDTC2W.js');
|
|
5816
5816
|
const service = await installServiceCommand({
|
|
5817
5817
|
configPath,
|
|
5818
5818
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5950,7 +5950,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5950
5950
|
});
|
|
5951
5951
|
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) => {
|
|
5952
5952
|
const { defaultRunnerConfigPath } = await import('./config-LEIZOHEQ.js');
|
|
5953
|
-
const { requestStop } = await import('./loop-
|
|
5953
|
+
const { requestStop } = await import('./loop-M6LVNF4F.js');
|
|
5954
5954
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5955
5955
|
const { runnerImageVersion } = await import('./image-tag-YEKFPWEQ.js');
|
|
5956
5956
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
@@ -5958,8 +5958,8 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5958
5958
|
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) => {
|
|
5959
5959
|
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-LEIZOHEQ.js');
|
|
5960
5960
|
const { jobsDir, runnerDir } = await import('./paths-KMGPIRVG.js');
|
|
5961
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5962
|
-
const { renderStatus } = await import('./status-
|
|
5961
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-M6LVNF4F.js');
|
|
5962
|
+
const { renderStatus } = await import('./status-LVDYSTT3.js');
|
|
5963
5963
|
const { readHousekeepingRecord } = await import('./record-XQU6LBZK.js');
|
|
5964
5964
|
const path2 = await import('path');
|
|
5965
5965
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -6025,7 +6025,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
6025
6025
|
});
|
|
6026
6026
|
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) => {
|
|
6027
6027
|
const { defaultRunnerConfigPath } = await import('./config-LEIZOHEQ.js');
|
|
6028
|
-
const { listJobFiles } = await import('./loop-
|
|
6028
|
+
const { listJobFiles } = await import('./loop-M6LVNF4F.js');
|
|
6029
6029
|
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-AQGSSKF5.js');
|
|
6030
6030
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
6031
6031
|
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-6DS3O66K.js';
|
|
4
|
-
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-
|
|
4
|
+
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-F5R4EFSS.js';
|
|
5
5
|
import './chunk-Y4A7CJOK.js';
|
|
6
6
|
import { currentLink, execStartCommand } from './chunk-WGGUOPM4.js';
|
|
7
|
-
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-
|
|
7
|
+
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-5JQT6YBA.js';
|
|
8
8
|
import './chunk-IEPKZPTP.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-OCVQAHQD.js';
|
|
10
10
|
import './chunk-2PGI6RDE.js';
|
|
11
11
|
import './chunk-I3LTIAOR.js';
|
|
12
12
|
import './chunk-QJIRCYAI.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-B2QA7GQS.js';
|
|
4
|
+
import { readOwnContainer } from './chunk-P4OE5G2Z.js';
|
|
5
|
+
import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-5JQT6YBA.js';
|
|
6
6
|
import './chunk-IEPKZPTP.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-OCVQAHQD.js';
|
|
8
8
|
import './chunk-2PGI6RDE.js';
|
|
9
9
|
import './chunk-I3LTIAOR.js';
|
|
10
10
|
import './chunk-QJIRCYAI.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-UYUBKWBN.js';
|
|
4
|
+
import { helperBinaryFor } from './chunk-F5R4EFSS.js';
|
|
5
5
|
import { launcherCheck } from './chunk-Y4A7CJOK.js';
|
|
6
6
|
import './chunk-WGGUOPM4.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-5JQT6YBA.js';
|
|
8
8
|
import './chunk-IEPKZPTP.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-OCVQAHQD.js';
|
|
10
10
|
import './chunk-2PGI6RDE.js';
|
|
11
11
|
import './chunk-I3LTIAOR.js';
|
|
12
12
|
import './chunk-QJIRCYAI.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-5JQT6YBA.js';
|
|
4
4
|
import './chunk-IEPKZPTP.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-OCVQAHQD.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
7
7
|
import './chunk-I3LTIAOR.js';
|
|
8
8
|
import './chunk-QJIRCYAI.js';
|
package/dist/index.js
CHANGED
|
@@ -25,5 +25,5 @@ var { runSubcommand } = await import('./agent-subcommand-HXVMNMZZ.js');
|
|
|
25
25
|
var launcherCode = await runSubcommand(argv);
|
|
26
26
|
if (launcherCode !== void 0) process.exit(launcherCode);
|
|
27
27
|
(await import('./hook-fast-QN2SY24M.js')).recordLinkExitFailure(argv);
|
|
28
|
-
var { runCli } = await import('./cli-
|
|
28
|
+
var { runCli } = await import('./cli-2JU2HGLY.js');
|
|
29
29
|
await runCli(process.argv);
|
|
@@ -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-5JQT6YBA.js';
|
|
4
4
|
import './chunk-IEPKZPTP.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-OCVQAHQD.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
7
7
|
import './chunk-I3LTIAOR.js';
|
|
8
8
|
import './chunk-QJIRCYAI.js';
|
|
@@ -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-5JQT6YBA.js';
|
|
5
5
|
import './chunk-IEPKZPTP.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-OCVQAHQD.js';
|
|
7
7
|
import './chunk-2PGI6RDE.js';
|
|
8
8
|
import './chunk-I3LTIAOR.js';
|
|
9
9
|
import './chunk-QJIRCYAI.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-5JQT6YBA.js';
|
|
4
4
|
import './chunk-IEPKZPTP.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-OCVQAHQD.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
7
7
|
import './chunk-I3LTIAOR.js';
|
|
8
8
|
import './chunk-QJIRCYAI.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-SNPBJKBB.js';
|
|
4
4
|
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-IRFN2ZHJ.js';
|
|
5
5
|
import './chunk-RFWX5IAJ.js';
|
|
6
6
|
import './chunk-ID26SYRA.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-WDSMYCA3.js';
|
|
4
4
|
import './chunk-3JVYMD4G.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-B2QA7GQS.js';
|
|
6
6
|
import './chunk-E7R2GIAW.js';
|
|
7
7
|
import './chunk-KWR72UJ2.js';
|
|
8
8
|
import './chunk-UUPXJP2E.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-P4OE5G2Z.js';
|
|
10
10
|
import './chunk-KYQMP53T.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-UYUBKWBN.js';
|
|
12
12
|
import './chunk-WGGUOPM4.js';
|
|
13
|
-
import './chunk-
|
|
13
|
+
import './chunk-5JQT6YBA.js';
|
|
14
14
|
import './chunk-IEPKZPTP.js';
|
|
15
|
-
import './chunk-
|
|
15
|
+
import './chunk-OCVQAHQD.js';
|
|
16
16
|
import './chunk-2PGI6RDE.js';
|
|
17
17
|
import './chunk-I3LTIAOR.js';
|
|
18
18
|
import './chunk-QJIRCYAI.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-5JQT6YBA.js';
|
|
4
4
|
import './chunk-IEPKZPTP.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-OCVQAHQD.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
7
7
|
import './chunk-I3LTIAOR.js';
|
|
8
8
|
import './chunk-QJIRCYAI.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-5JQT6YBA.js';
|
|
4
4
|
import './chunk-IEPKZPTP.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-OCVQAHQD.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
7
7
|
import './chunk-I3LTIAOR.js';
|
|
8
8
|
import './chunk-QJIRCYAI.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-5JQT6YBA.js';
|
|
4
4
|
import './chunk-IEPKZPTP.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-OCVQAHQD.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
7
7
|
import './chunk-I3LTIAOR.js';
|
|
8
8
|
import './chunk-QJIRCYAI.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-P4OE5G2Z.js';
|
|
4
|
+
import './chunk-5JQT6YBA.js';
|
|
5
5
|
import './chunk-IEPKZPTP.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-OCVQAHQD.js';
|
|
7
7
|
import './chunk-2PGI6RDE.js';
|
|
8
8
|
import './chunk-I3LTIAOR.js';
|
|
9
9
|
import './chunk-QJIRCYAI.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-OCVQAHQD.js';
|
|
4
4
|
import { resolveCredentials, WorkCommandError, parsePositiveInt, postJson, environmentFacts, findLiveItemForIssue } from './chunk-ID26SYRA.js';
|
|
5
5
|
export { WorkCommandError } from './chunk-ID26SYRA.js';
|
|
6
6
|
import './chunk-4M7N6DKZ.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-W4JOSQC2.js';
|
|
4
4
|
import './chunk-IEPKZPTP.js';
|
|
5
5
|
import './chunk-ID26SYRA.js';
|
|
6
6
|
import './chunk-4M7N6DKZ.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { runWorkComment } from './chunk-E6PHUS7E.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-W4JOSQC2.js';
|
|
5
5
|
import { runEmitDemo, planScreenshots, chapterPassed, readStill } from './chunk-4HKR27ND.js';
|
|
6
6
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
|
7
7
|
import { runEmitArtifact } from './chunk-DIK6S4JP.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outerlayer/cli",
|
|
3
|
-
"version": "0.39.1-next.
|
|
3
|
+
"version": "0.39.1-next.20261114132104",
|
|
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.",
|