@outerlayer/cli 0.40.0-next.20261116030824 → 0.40.0-next.20261116030912
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-APZ57YHI.js → check-GR2WNESK.js} +5 -5
- package/dist/{chunk-IIMASDNH.js → chunk-5YEWBLLX.js} +1 -1
- package/dist/{chunk-5XQAADM3.js → chunk-CG7326ET.js} +3 -3
- package/dist/{chunk-RGG4J24Z.js → chunk-D7S7PQT5.js} +1 -1
- package/dist/{chunk-HG7RVRAY.js → chunk-LFAJCUDD.js} +46 -11
- package/dist/{chunk-53CDP7AH.js → chunk-RNZQWJSI.js} +1 -1
- package/dist/{chunk-DGCF5LVP.js → chunk-S3ZX2GTO.js} +1 -1
- package/dist/{chunk-E54LIYIR.js → chunk-U5PIM7JH.js} +16 -15
- package/dist/{chunk-LFYNOKS5.js → chunk-WEUBA44W.js} +1 -1
- package/dist/{chunk-L7GUBTCP.js → chunk-ZJ2PTV3I.js} +1 -1
- package/dist/{cli-EUICZJBA.js → cli-CNZMK32P.js} +24 -24
- package/dist/{command-PBWQFU4B.js → command-DFRKPEN7.js} +2 -2
- package/dist/{container-start-6INDSNAE.js → container-start-6CECWERV.js} +3 -3
- package/dist/{doctor-KQ7J5GPF.js → doctor-2PHGAJBZ.js} +3 -3
- package/dist/{host-checks-34OYY7KX.js → host-checks-CVNA5FU6.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{init-RNXF64MR.js → init-6CJYRUWL.js} +1 -1
- package/dist/{init-BIQTMVLH.js → init-N4GNHORE.js} +1 -1
- package/dist/{init-agent-E3PLU6R4.js → init-agent-6K26WOFF.js} +1 -1
- package/dist/{init-cmd-DAZPTELN.js → init-cmd-GPESZN5W.js} +2 -2
- package/dist/{loop-PE7QDWJA.js → loop-ZEQTRVB5.js} +5 -5
- package/dist/{machine-G3I6CXMA.js → machine-Y4DDIC7H.js} +1 -1
- package/dist/{runner-key-PAF6N4RJ.js → runner-key-C7IELBJA.js} +1 -1
- package/dist/{setup-wiring-65IDNFAW.js → setup-wiring-4GXHD73A.js} +3 -3
- package/dist/{status-6IF7APSQ.js → status-WJ5W32DG.js} +1 -1
- package/dist/{update-steps-GERKPJ5C.js → update-steps-DF275KW3.js} +2 -2
- package/dist/{work-proofs-cmd-WZHU6KBF.js → work-proofs-cmd-RE7JFHXA.js} +1 -1
- package/dist/{work-proofs-record-FMFNCZZV.js → work-proofs-record-R2V7AW6S.js} +1 -1
- package/package.json +1 -1
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-11-16T03:
|
|
1
|
+
{"id":"2026-11-16T03:32:16.497Z","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-U5PIM7JH.js';
|
|
4
4
|
import './chunk-UTSBE4MP.js';
|
|
5
5
|
import './chunk-E7R2GIAW.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
6
|
+
import './chunk-WEUBA44W.js';
|
|
7
|
+
import './chunk-5YEWBLLX.js';
|
|
8
8
|
import './chunk-TXKHD4Q6.js';
|
|
9
9
|
import './chunk-Y6FI3HCQ.js';
|
|
10
10
|
import './chunk-XOKGCNSG.js';
|
|
11
|
-
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-
|
|
11
|
+
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-D7S7PQT5.js';
|
|
12
12
|
import './chunk-PT3DOY6P.js';
|
|
13
13
|
import { findServiceUnit } from './chunk-WMXJ3XBP.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-LFAJCUDD.js';
|
|
15
15
|
import './chunk-JXZ3LIHN.js';
|
|
16
16
|
import './chunk-PG4UW6QW.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 { stripTerminalControls } from './chunk-
|
|
3
|
+
import { stripTerminalControls } from './chunk-LFAJCUDD.js';
|
|
4
4
|
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-RIITHK4F.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -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-CVNA5FU6.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-CVNA5FU6.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-R2V7AW6S.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 { placeholderQueues, placeholderProblem } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-LFAJCUDD.js';
|
|
4
4
|
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-RRRW2M4B.js';
|
|
5
5
|
import { getJson, WorkCommandError } from './chunk-BAPRSDUR.js';
|
|
6
6
|
import { isBuiltinVm, isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-PIXDSHVH.js';
|
|
@@ -4402,7 +4402,8 @@ function sandboxHost(client2, sandbox, options = {}) {
|
|
|
4402
4402
|
}
|
|
4403
4403
|
|
|
4404
4404
|
// src/runner/sandbox/hooks.ts
|
|
4405
|
-
var SANDBOX_DIR = "/
|
|
4405
|
+
var SANDBOX_DIR = "/var/lib/ol-runner";
|
|
4406
|
+
var OLD_SANDBOX_DIR = "/tmp/ol";
|
|
4406
4407
|
var CLI_DIR = `${SANDBOX_DIR}/dist`;
|
|
4407
4408
|
var SKILL_PACK_DIR = `${SANDBOX_DIR}/skill-pack`;
|
|
4408
4409
|
var SECRET_FILE = `${SANDBOX_DIR}/join-secret`;
|
|
@@ -4490,6 +4491,13 @@ var SandboxGoneError = class extends Error {
|
|
|
4490
4491
|
this.name = "SandboxGoneError";
|
|
4491
4492
|
}
|
|
4492
4493
|
};
|
|
4494
|
+
var SandboxContainerStoppedError = class extends Error {
|
|
4495
|
+
constructor(container) {
|
|
4496
|
+
super(`the build's container ${container} stopped in its sandbox: the sandbox restarted or its Docker stopped the container`);
|
|
4497
|
+
this.name = "SandboxContainerStoppedError";
|
|
4498
|
+
}
|
|
4499
|
+
};
|
|
4500
|
+
var CONTAINER_NOT_RUNNING = /is not running|no such container/i;
|
|
4493
4501
|
async function inSandbox(runtime, state) {
|
|
4494
4502
|
const sandbox = await sandboxOfBuild(runtime, state);
|
|
4495
4503
|
if (sandbox === void 0) throw new SandboxGoneError(state.sandboxId);
|
|
@@ -4653,7 +4661,7 @@ async function keepSandboxDisk(runtime, state, kept) {
|
|
|
4653
4661
|
if (emptied.status !== 0) throw new Error(`the build's command state was not removed from the volume (exit ${emptied.status})${said(emptied.stderr)}`);
|
|
4654
4662
|
const unmounted = await client(runtime).command(sandbox, `if mountpoint -q ${HOST_BUILD_DIR}; then sudo umount ${HOST_BUILD_DIR}; fi`);
|
|
4655
4663
|
if (unmounted.exitCode !== 0) throw new Error(`${HOST_BUILD_DIR} was not unmounted in the sandbox (exit ${unmounted.exitCode ?? "none"})${said(unmounted.stderr)}`);
|
|
4656
|
-
const cleared = await client(runtime).command(sandbox, `sudo rm -rf ${SANDBOX_DIR} ${SANDBOX_RUN_DIR}`);
|
|
4664
|
+
const cleared = await client(runtime).command(sandbox, `sudo rm -rf ${SANDBOX_DIR} ${OLD_SANDBOX_DIR} ${SANDBOX_RUN_DIR}`);
|
|
4657
4665
|
if (cleared.exitCode !== 0) throw new Error(`the runner's files were not removed from the sandbox (exit ${cleared.exitCode ?? "none"})${said(cleared.stderr)}`);
|
|
4658
4666
|
await kept.keep();
|
|
4659
4667
|
}
|
|
@@ -5004,7 +5012,8 @@ async function provisionSandboxOnce(input, itemDiskFailed) {
|
|
|
5004
5012
|
const packDir = join(runtime.cliBuild().distDir, "..", "skill-pack");
|
|
5005
5013
|
const skillPack = existsSync(packDir) ? packDir : void 0;
|
|
5006
5014
|
try {
|
|
5007
|
-
await sandboxClient.command(sandbox, `mkdir -p ${CLI_DIR}`);
|
|
5015
|
+
const made = await sandboxClient.command(sandbox, `sudo mkdir -p ${CLI_DIR} && sudo chown -R "$(id -u):$(id -g)" ${SANDBOX_DIR}`);
|
|
5016
|
+
if (made.exitCode !== 0) return bail(`making ${SANDBOX_DIR} in the sandbox failed (exit ${made.exitCode ?? "none"})${said(made.stderr)}`);
|
|
5008
5017
|
await sandboxClient.upload(sandbox, `${SANDBOX_DIR}/dist.tgz`, gzipSync(packFolder(runtime.cliBuild().distDir)));
|
|
5009
5018
|
if (skillPack !== void 0) {
|
|
5010
5019
|
await sandboxClient.upload(sandbox, `${SANDBOX_DIR}/skill-pack.tgz`, gzipSync(packFolder(skillPack)));
|
|
@@ -5137,7 +5146,7 @@ async function provisionSandboxOnce(input, itemDiskFailed) {
|
|
|
5137
5146
|
function asContainerJob(job) {
|
|
5138
5147
|
return { ...job, container: job.sandbox.container };
|
|
5139
5148
|
}
|
|
5140
|
-
var READ_SECRET_LINE = `sudo cat ${SECRET_FILE} | base64 | tr -d '\\n'`;
|
|
5149
|
+
var READ_SECRET_LINE = `{ sudo cat ${SECRET_FILE} 2>/dev/null || sudo cat ${OLD_SANDBOX_DIR}/join-secret; } | base64 | tr -d '\\n'`;
|
|
5141
5150
|
async function rejoinSandboxBuild(input) {
|
|
5142
5151
|
const { runtime, own, log } = input;
|
|
5143
5152
|
const state = own.container;
|
|
@@ -5186,15 +5195,21 @@ async function rejoinOf(runtime, own) {
|
|
|
5186
5195
|
if (sandbox === void 0) throw new SandboxGoneError(own.sandboxId);
|
|
5187
5196
|
return { sandbox, sandboxed: runtimeInSandbox(runtime, sandbox), streams: services.streams, joinSecret };
|
|
5188
5197
|
}
|
|
5189
|
-
async function
|
|
5198
|
+
async function startBuildSupportAgain(runtime, own, sandbox, sandboxed) {
|
|
5190
5199
|
const state = own.container;
|
|
5191
|
-
const
|
|
5200
|
+
const remounted = await client(runtime).command(sandbox, `if [ -d ${HOST_BUILD_DIR} ]; then ${hostMountLine(state.volume)}; fi`);
|
|
5201
|
+
if (remounted.exitCode !== 0) throw new Error(`mounting the build's volume at ${HOST_BUILD_DIR} in the sandbox again failed (exit ${remounted.exitCode ?? "none"})${said(remounted.stderr)}`);
|
|
5192
5202
|
const notReady = await ensureNetworkReady(sandboxed, state);
|
|
5193
5203
|
if (notReady !== void 0) throw new Error(notReady);
|
|
5194
5204
|
if (state.network !== void 0) {
|
|
5195
5205
|
const forwarding = await sandboxed.host.start(joinForwarderName(state.container));
|
|
5196
5206
|
if (forwarding.status !== 0) throw new Error(`the build's join forwarder could not be started again (exit ${forwarding.status})`);
|
|
5197
5207
|
}
|
|
5208
|
+
}
|
|
5209
|
+
async function startSandboxContainerAgain(runtime, own, rejoin, jobDir, log) {
|
|
5210
|
+
const state = own.container;
|
|
5211
|
+
const { sandbox, sandboxed } = rejoin;
|
|
5212
|
+
await startBuildSupportAgain(runtime, own, sandbox, sandboxed);
|
|
5198
5213
|
const started = await sandboxed.host.start(state.container);
|
|
5199
5214
|
if (started.status !== 0) throw new Error(`the build's container could not be started again (exit ${started.status})`);
|
|
5200
5215
|
if (!await waitForRelay(sandboxed, state.container)) throw new Error("the relay in the build's container did not start again");
|
|
@@ -5271,9 +5286,14 @@ async function probeSandboxCommand(runtime, state, offset) {
|
|
|
5271
5286
|
{ container: state.container.container, user: state.container.agentUser ?? ADDED_USER, env: NO_ENV, argv: probeArgvOf(offset) },
|
|
5272
5287
|
{ timeoutMs: 6e4 }
|
|
5273
5288
|
);
|
|
5274
|
-
|
|
5289
|
+
if (result.status === 0) return parseProbe(result.stdout);
|
|
5290
|
+
if (CONTAINER_NOT_RUNNING.test(result.stderr)) {
|
|
5291
|
+
state.container.stopped = true;
|
|
5292
|
+
throw new SandboxContainerStoppedError(state.container.container);
|
|
5293
|
+
}
|
|
5294
|
+
return void 0;
|
|
5275
5295
|
} catch (err) {
|
|
5276
|
-
if (err instanceof SandboxError && err.status === 404) throw await goneReason(runtime, state) ?? new SandboxGoneError(state.sandboxId);
|
|
5296
|
+
if (err instanceof SandboxError && (err.status === 404 || err.status === 410)) throw await goneReason(runtime, state) ?? new SandboxGoneError(state.sandboxId);
|
|
5277
5297
|
if (err instanceof SandboxError) return void 0;
|
|
5278
5298
|
throw err;
|
|
5279
5299
|
}
|
|
@@ -5288,7 +5308,13 @@ async function endSandboxCommand(runtime, state, jobDir, warn) {
|
|
|
5288
5308
|
const sandboxed = await inSandbox(runtime, state);
|
|
5289
5309
|
for (let reads = 0; reads < MAX_TAIL_READS2; reads++) {
|
|
5290
5310
|
const offset = commandLogOffset(jobDir, state.commandLogBase);
|
|
5291
|
-
|
|
5311
|
+
let probe;
|
|
5312
|
+
try {
|
|
5313
|
+
probe = await probeSandboxCommand(runtime, state, offset);
|
|
5314
|
+
} catch (err) {
|
|
5315
|
+
if (err instanceof SandboxContainerStoppedError) break;
|
|
5316
|
+
throw err;
|
|
5317
|
+
}
|
|
5292
5318
|
if (probe === void 0) break;
|
|
5293
5319
|
appendCommandLog(jobDir, probe.bytes);
|
|
5294
5320
|
if (probe.bytes.length === 0 || offset + probe.bytes.length >= probe.size) break;
|
|
@@ -5336,8 +5362,11 @@ async function restoreSessionIntoSandbox(runtime, own, keptDir, meta, job) {
|
|
|
5336
5362
|
}
|
|
5337
5363
|
async function ensureSandboxContainerRunning(runtime, own) {
|
|
5338
5364
|
try {
|
|
5339
|
-
const
|
|
5365
|
+
const sandbox = await sandboxOfBuild(runtime, own);
|
|
5366
|
+
if (sandbox === void 0) throw new SandboxGoneError(own.sandboxId);
|
|
5367
|
+
const sandboxed = runtimeInSandbox(runtime, sandbox);
|
|
5340
5368
|
if (own.container.stopped !== true) return void 0;
|
|
5369
|
+
await startBuildSupportAgain(runtime, own, sandbox, sandboxed);
|
|
5341
5370
|
const started = await sandboxed.host.start(own.container.container);
|
|
5342
5371
|
return started.status === 0 ? void 0 : `the build's container could not be started again (exit ${started.status})`;
|
|
5343
5372
|
} catch (err) {
|
|
@@ -9783,6 +9812,12 @@ async function stopProcessGroup(pid, opts = {}) {
|
|
|
9783
9812
|
}
|
|
9784
9813
|
}
|
|
9785
9814
|
}
|
|
9815
|
+
function jobTimeLimitMinutes(job, config) {
|
|
9816
|
+
return job.timeLimitMinutes ?? config.timeLimitMinutes;
|
|
9817
|
+
}
|
|
9818
|
+
function withJobTimeLimit(config, job) {
|
|
9819
|
+
return { ...config, timeLimitMinutes: jobTimeLimitMinutes(job, config) };
|
|
9820
|
+
}
|
|
9786
9821
|
function isTimedOut(startedAtMs, nowMs, timeLimitMinutes) {
|
|
9787
9822
|
return nowMs - startedAtMs > timeLimitMinutes * 6e4;
|
|
9788
9823
|
}
|
|
@@ -14080,4 +14115,4 @@ async function runHostChecks(input) {
|
|
|
14080
14115
|
}
|
|
14081
14116
|
}
|
|
14082
14117
|
|
|
14083
|
-
export { ADOPTED_FETCH_RETRY_WINDOW_MS, ALREADY_RELEASED, AttemptLogBook, EXIT_CODE_FILE, GUEST_USAGE_INTERVAL_MS, HELPER_ENV, KIND_LABEL, LEASE_SECONDS, MAX_CHECK_ITEMS_BYTES, MICROVM_COMMAND_DIR, MIN_ENGINE_MAJOR, PLACEHOLDER_MARKER, RENEW_INTERVAL_SECONDS, RunnerInitError, SANDBOX_MACHINES, SandboxGoneError, agentCredentialCheck, appendCommandLog, attemptNote, builtOf, checksIn, claimPermissionProblem, claimRun, commandItems, commandLogOffset, containerCommandExec, createContainerRuntime, createGatewaySandboxClient, createHousekeepingDocker, createLeaseChannel, currentSkillCommand, decideHostBuildSkill, deliverCommitHooks, deliverContainerHooks, deliverExecMaven, deliverJobFiles, deliverSandboxHooks, describeHookEnd, describeMachineDocker, detectMachine, ensureFirecrackerAndJailer, ensureNetworkReady, ensureTunnel, environmentFor, execArgv, execCommandLine, fetchManagedBuildSettings, fetchManagedClaudeKey, filesAreCopied, finishJob, foldSample, formerSkillProblem, formerSkillQueues, freeItemDisksUntil, gatewayRefusalReason, gitRemoteFor, helperFirecrackerNote, helperSocketPath, holdManagedBuildSettings, holdManagedClaudeKey, hookLimitsFor, hostCommandEnvironment, hostEnvironment, housekeepingDockerIfReachable, inSandbox, inTeardown, installTrust, isContainerTracked, isGroupAlive, isIdle, isIsolatedJob, isJudgeCheck, isMicroVmTracked, isPlaceholderCommand, isReadable, isSandboxTracked, isTimedOut, isTracked, isUnfinished, itemScope, itemTag, jobEnv, jobRecordsClaim, judgeCredential, judgeProbe, keepGhConfigCurrent, keptCommitsLine, keptSandboxIds, keptSessionDir, leaseExpiresAtMs, leaseTimeLeftMs, lifecycleFailureReason, lifecycleSteps, listAdoptableJobs, listItemDisks, listTrackedJobs, listUnreadableJobs, listenOnBroker, makeRecorder, managedBuildSettingsFor, measureDisk, microVmArchSupported, microVmAssetsPinned, microVmCommandLine, microVmOomKills, missingPermissionFix, missingPermissionOf, modellessProblem, modellessQueues, nativeWindowsSandboxRefusal, needsAgentCredential, needsBuildSkill, needsRenew, outcomeFromExitCode, parseCpuList, permissionModeProblem, permissionModeProblems, placeholderProblem, placeholderQueues, prepareBranch, prepareResume, prepareRunnerInit, probeCommand, probeHelper, probeMicroVmCommand, probeSandboxCommand, provisionContainer, provisionEnvironment, provisionMicroVm, provisionSandbox, reachDockerStep, readConfigObject, readCpuUsec, readDefinitions, readProvisionOut, readRecords, readWorkItem, recordsProofsOnly, recoverLostJobs, rejoinSandboxBuild, releaseLease, removeOldestUntil, removeRunnerBlock, renewLease, renewRun, resolveHostBuild, restartSender, restoreSessionIntoContainer, restoreSessionIntoMicroVm, restoreSessionIntoSandbox, restoreWork, retryFailedReleases, runCommand, runCommandOf, runDecision, runHook, runHostChecks, runHousekeeping, runRunnerInit, runWithSpawn, sampleGuest, savedStatesDir, scrubReason, serveLease, sessionGuestOfContainer, sessionGuestOfMicroVm, sessionGuestOfSandbox, setStage, setUpRunnerCgroup, shellQuote, startHostServices, startMicroVmCommand, startSandboxCommand, startSender, startServicesFor, stopOrphanedMicroVms, stoppedHelperReason, stripTerminalControls, supportsContainerBuilds, supportsMicroVmBuilds, sweepImageBuilders, sweepSandboxes, testProofIn, timeoutAfter, treeFileText, unfinishedJobs, usableCpus, vmAlive, withTunnelLog, workRestoredEnv, workdirProblem, writeGuestGhConfig, writeRunnerInit };
|
|
14118
|
+
export { ADOPTED_FETCH_RETRY_WINDOW_MS, ALREADY_RELEASED, AttemptLogBook, EXIT_CODE_FILE, GUEST_USAGE_INTERVAL_MS, HELPER_ENV, KIND_LABEL, LEASE_SECONDS, MAX_CHECK_ITEMS_BYTES, MICROVM_COMMAND_DIR, MIN_ENGINE_MAJOR, PLACEHOLDER_MARKER, RENEW_INTERVAL_SECONDS, RunnerInitError, SANDBOX_MACHINES, SandboxContainerStoppedError, SandboxGoneError, agentCredentialCheck, appendCommandLog, attemptNote, builtOf, checksIn, claimPermissionProblem, claimRun, commandItems, commandLogOffset, containerCommandExec, createContainerRuntime, createGatewaySandboxClient, createHousekeepingDocker, createLeaseChannel, currentSkillCommand, decideHostBuildSkill, deliverCommitHooks, deliverContainerHooks, deliverExecMaven, deliverJobFiles, deliverSandboxHooks, describeHookEnd, describeMachineDocker, detectMachine, ensureFirecrackerAndJailer, ensureNetworkReady, ensureTunnel, environmentFor, execArgv, execCommandLine, fetchManagedBuildSettings, fetchManagedClaudeKey, filesAreCopied, finishJob, foldSample, formerSkillProblem, formerSkillQueues, freeItemDisksUntil, gatewayRefusalReason, gitRemoteFor, helperFirecrackerNote, helperSocketPath, holdManagedBuildSettings, holdManagedClaudeKey, hookLimitsFor, hostCommandEnvironment, hostEnvironment, housekeepingDockerIfReachable, inSandbox, inTeardown, installTrust, isContainerTracked, isGroupAlive, isIdle, isIsolatedJob, isJudgeCheck, isMicroVmTracked, isPlaceholderCommand, isReadable, isSandboxTracked, isTimedOut, isTracked, isUnfinished, itemScope, itemTag, jobEnv, jobRecordsClaim, jobTimeLimitMinutes, judgeCredential, judgeProbe, keepGhConfigCurrent, keptCommitsLine, keptSandboxIds, keptSessionDir, leaseExpiresAtMs, leaseTimeLeftMs, lifecycleFailureReason, lifecycleSteps, listAdoptableJobs, listItemDisks, listTrackedJobs, listUnreadableJobs, listenOnBroker, makeRecorder, managedBuildSettingsFor, measureDisk, microVmArchSupported, microVmAssetsPinned, microVmCommandLine, microVmOomKills, missingPermissionFix, missingPermissionOf, modellessProblem, modellessQueues, nativeWindowsSandboxRefusal, needsAgentCredential, needsBuildSkill, needsRenew, outcomeFromExitCode, parseCpuList, permissionModeProblem, permissionModeProblems, placeholderProblem, placeholderQueues, prepareBranch, prepareResume, prepareRunnerInit, probeCommand, probeHelper, probeMicroVmCommand, probeSandboxCommand, provisionContainer, provisionEnvironment, provisionMicroVm, provisionSandbox, reachDockerStep, readConfigObject, readCpuUsec, readDefinitions, readProvisionOut, readRecords, readWorkItem, recordsProofsOnly, recoverLostJobs, rejoinSandboxBuild, releaseLease, removeOldestUntil, removeRunnerBlock, renewLease, renewRun, resolveHostBuild, restartSender, restoreSessionIntoContainer, restoreSessionIntoMicroVm, restoreSessionIntoSandbox, restoreWork, retryFailedReleases, runCommand, runCommandOf, runDecision, runHook, runHostChecks, runHousekeeping, runRunnerInit, runWithSpawn, sampleGuest, savedStatesDir, scrubReason, serveLease, sessionGuestOfContainer, sessionGuestOfMicroVm, sessionGuestOfSandbox, setStage, setUpRunnerCgroup, shellQuote, startHostServices, startMicroVmCommand, startSandboxCommand, startSender, startServicesFor, stopOrphanedMicroVms, stoppedHelperReason, stripTerminalControls, supportsContainerBuilds, supportsMicroVmBuilds, sweepImageBuilders, sweepSandboxes, testProofIn, timeoutAfter, treeFileText, unfinishedJobs, usableCpus, vmAlive, withJobTimeLimit, withTunnelLog, workRestoredEnv, workdirProblem, writeGuestGhConfig, writeRunnerInit };
|
|
@@ -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-S3ZX2GTO.js';
|
|
4
4
|
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-IRFN2ZHJ.js';
|
|
5
5
|
import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-IQWBUZ75.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.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-2PHGAJBZ.js');
|
|
1126
1126
|
const gateway = (() => {
|
|
1127
1127
|
try {
|
|
1128
1128
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-UTSBE4MP.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-WEUBA44W.js';
|
|
6
|
+
import { renderUpdateSteps } from './chunk-5YEWBLLX.js';
|
|
7
7
|
import { decideInstalledSwitch } from './chunk-TXKHD4Q6.js';
|
|
8
8
|
import { writeFleetState } from './chunk-Y6FI3HCQ.js';
|
|
9
9
|
import { writePendingUpdate } from './chunk-XOKGCNSG.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-D7S7PQT5.js';
|
|
11
11
|
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-PT3DOY6P.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, 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-LFAJCUDD.js';
|
|
13
13
|
import { RUNNER_PROTOCOL } from './chunk-JXZ3LIHN.js';
|
|
14
14
|
import { criteriaOf, loadCitationFinder, wholeItems, itemsSentence, oneLineReason, wholeEntries, parseJudgeAnswer } from './chunk-PG4UW6QW.js';
|
|
15
15
|
import { RUNNER_RESERVE_BYTES } from './chunk-RRRW2M4B.js';
|
|
@@ -3476,7 +3476,8 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
3476
3476
|
...fleet === void 0 ? {} : { appId: fleet.appId, organizationId: fleet.organizationId, size: fleet.size },
|
|
3477
3477
|
...primary === void 0 ? {} : { repository: primary.repository, repositories },
|
|
3478
3478
|
...jobAgentId === void 0 ? {} : { agent: jobAgentId },
|
|
3479
|
-
startedAt: startedAt.toISOString()
|
|
3479
|
+
startedAt: startedAt.toISOString(),
|
|
3480
|
+
timeLimitMinutes: state.config.timeLimitMinutes
|
|
3480
3481
|
};
|
|
3481
3482
|
writeJobFile(jobFilePath, job);
|
|
3482
3483
|
const active = {
|
|
@@ -3492,7 +3493,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
3492
3493
|
const claimLine = `claimed ${queue} ${itemTag(job)} ${item.trackerKey} (claim ${shortClaim(claimId)}) \u2192 ${relativeToRunner(runnerRoot, dirPath)}`;
|
|
3493
3494
|
log.line(claimLine);
|
|
3494
3495
|
attemptLogsOf(state).note(item.number, claimLine, itemScope(job));
|
|
3495
|
-
const hookLimits = () => hookLimitsFor(state.config, startedAt.getTime(), state.deps.now);
|
|
3496
|
+
const hookLimits = () => hookLimitsFor(withJobTimeLimit(state.config, job), startedAt.getTime(), state.deps.now);
|
|
3496
3497
|
const tag = itemTag(job);
|
|
3497
3498
|
const noteOnce = attemptNote(log, tag);
|
|
3498
3499
|
const containerMode = isBuiltinContainer(state.config.hooks.provision);
|
|
@@ -3580,7 +3581,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
3580
3581
|
let cgroup;
|
|
3581
3582
|
if (containerMode) {
|
|
3582
3583
|
const provisioned = await provisionContainer({
|
|
3583
|
-
config: claimCalls(state.config, active.job),
|
|
3584
|
+
config: claimCalls(withJobTimeLimit(state.config, active.job), active.job),
|
|
3584
3585
|
...active.job.organizationId === void 0 ? {} : { organizationId: active.job.organizationId, claimId: active.job.claimId },
|
|
3585
3586
|
runtime: runtimeOf(state),
|
|
3586
3587
|
queue,
|
|
@@ -3601,7 +3602,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
3601
3602
|
writeJobFile(jobFilePath, active.job);
|
|
3602
3603
|
},
|
|
3603
3604
|
aborted: () => active.ending,
|
|
3604
|
-
deadlineMs:
|
|
3605
|
+
deadlineMs: hookLimits().endBy,
|
|
3605
3606
|
fetchImpl: state.deps.fetchImpl,
|
|
3606
3607
|
now: state.deps.now,
|
|
3607
3608
|
leaseExpiryMs: () => leaseExpiresAtMs(active.job),
|
|
@@ -3627,7 +3628,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
3627
3628
|
}
|
|
3628
3629
|
} else if (sandboxMode) {
|
|
3629
3630
|
const provisioned = await provisionSandbox({
|
|
3630
|
-
config: claimCalls(state.config, active.job),
|
|
3631
|
+
config: claimCalls(withJobTimeLimit(state.config, active.job), active.job),
|
|
3631
3632
|
...active.job.organizationId === void 0 ? {} : { organizationId: active.job.organizationId, claimId: active.job.claimId },
|
|
3632
3633
|
runtime: runtimeOf(state),
|
|
3633
3634
|
queue,
|
|
@@ -3679,7 +3680,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
3679
3680
|
}
|
|
3680
3681
|
} else if (vmMode) {
|
|
3681
3682
|
const provisioned = await provisionMicroVm({
|
|
3682
|
-
config: claimCalls(state.config, active.job),
|
|
3683
|
+
config: claimCalls(withJobTimeLimit(state.config, active.job), active.job),
|
|
3683
3684
|
...active.job.organizationId === void 0 ? {} : { organizationId: active.job.organizationId, claimId: active.job.claimId },
|
|
3684
3685
|
runtime: runtimeOf(state),
|
|
3685
3686
|
queue,
|
|
@@ -3700,7 +3701,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
3700
3701
|
writeJobFile(jobFilePath, active.job);
|
|
3701
3702
|
},
|
|
3702
3703
|
aborted: () => active.ending,
|
|
3703
|
-
deadlineMs:
|
|
3704
|
+
deadlineMs: hookLimits().endBy,
|
|
3704
3705
|
fetchImpl: state.deps.fetchImpl,
|
|
3705
3706
|
now: state.deps.now,
|
|
3706
3707
|
leaseTimeLeftMs: leaseTimeLeftFor(state, active),
|
|
@@ -4323,7 +4324,7 @@ async function probeBuild(state, active) {
|
|
|
4323
4324
|
return;
|
|
4324
4325
|
}
|
|
4325
4326
|
} catch (err) {
|
|
4326
|
-
if (err instanceof SandboxGoneError) {
|
|
4327
|
+
if (err instanceof SandboxGoneError || err instanceof SandboxContainerStoppedError) {
|
|
4327
4328
|
log.error(`${tag} ${err.message} \xB7 ending job as interrupted`);
|
|
4328
4329
|
void endJob(state, active, "interrupted", { stage: "command", reason: err.message });
|
|
4329
4330
|
} else {
|
|
@@ -4392,9 +4393,9 @@ async function watchTick(state, active, nowMs, logMtimeMs) {
|
|
|
4392
4393
|
await endJob(state, active, "failed", { stage: started ? "command" : "provision", reason: unreachable });
|
|
4393
4394
|
return;
|
|
4394
4395
|
}
|
|
4395
|
-
const limitMinutes = active.job.run === void 0 ? state.config
|
|
4396
|
+
const limitMinutes = active.job.run === void 0 ? jobTimeLimitMinutes(active.job, state.config) : active.job.run.timeLimitSeconds / 60;
|
|
4396
4397
|
if (isTimedOut(new Date(active.job.startedAt).getTime(), nowMs, limitMinutes)) {
|
|
4397
|
-
log.line(`${tag} past the ${active.job.run === void 0 ? `${
|
|
4398
|
+
log.line(`${tag} past the ${active.job.run === void 0 ? `${limitMinutes}m` : `${active.job.run.timeLimitSeconds}s`} time limit \xB7 ending job as timed_out`);
|
|
4398
4399
|
await endJob(state, active, "timed_out");
|
|
4399
4400
|
return;
|
|
4400
4401
|
}
|
|
@@ -4824,7 +4825,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
4824
4825
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
4825
4826
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
4826
4827
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
4827
|
-
return (await import('./check-
|
|
4828
|
+
return (await import('./check-GR2WNESK.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
4828
4829
|
},
|
|
4829
4830
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
4830
4831
|
log
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { scrubReason, stripTerminalControls } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-LFAJCUDD.js';
|
|
4
4
|
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-RRRW2M4B.js';
|
|
5
5
|
import { RunnerAlreadyRunningError, readPidFile } from './chunk-MGN525G6.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-LFAJCUDD.js';
|
|
4
4
|
import { UNIT_MARKER } from './chunk-RRRW2M4B.js';
|
|
5
5
|
import { runnerDir } from './chunk-DYV2OC4S.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 { 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-S3ZX2GTO.js';
|
|
4
4
|
import './chunk-R3RALX7H.js';
|
|
5
5
|
import { verifiedTrackerNames, TRACKERS } from './chunk-BAPRSDUR.js';
|
|
6
6
|
import './chunk-IKGAVS5X.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-GPESZN5W.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-GPESZN5W.js');
|
|
3964
3964
|
const code = await runInitCommand(
|
|
3965
3965
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3966
3966
|
{
|
|
@@ -4018,7 +4018,7 @@ not have, and prints the commit commands instead.
|
|
|
4018
4018
|
`
|
|
4019
4019
|
).action(async (opts) => {
|
|
4020
4020
|
const { runSetupCommand } = await import('./setup-cmd-PQTTUAXH.js');
|
|
4021
|
-
const { realSetupDeps } = await import('./setup-wiring-
|
|
4021
|
+
const { realSetupDeps } = await import('./setup-wiring-4GXHD73A.js');
|
|
4022
4022
|
const cliBin = resolveCliBin();
|
|
4023
4023
|
const agentWords = runnerHelpWords();
|
|
4024
4024
|
const code = await runSetupCommand(
|
|
@@ -5291,7 +5291,7 @@ a runner build, no row is failed.
|
|
|
5291
5291
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5292
5292
|
return;
|
|
5293
5293
|
}
|
|
5294
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5294
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-RE7JFHXA.js');
|
|
5295
5295
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5296
5296
|
});
|
|
5297
5297
|
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 +5514,7 @@ function registerRunnerCommands(program2) {
|
|
|
5514
5514
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5515
5515
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5516
5516
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-TGFG7IID.js');
|
|
5517
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5517
|
+
const { start, RunnerStartError } = await import('./loop-ZEQTRVB5.js');
|
|
5518
5518
|
const { RunnerAlreadyRunningError } = await import('./pidfile-AOQMDBSW.js');
|
|
5519
5519
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5520
5520
|
try {
|
|
@@ -5538,8 +5538,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5538
5538
|
`
|
|
5539
5539
|
).action(async () => {
|
|
5540
5540
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-TGFG7IID.js');
|
|
5541
|
-
const { containerStart, containerStartExit } = await import('./container-start-
|
|
5542
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5541
|
+
const { containerStart, containerStartExit } = await import('./container-start-6CECWERV.js');
|
|
5542
|
+
const { start, RunnerStartError } = await import('./loop-ZEQTRVB5.js');
|
|
5543
5543
|
const { RunnerAlreadyRunningError } = await import('./pidfile-AOQMDBSW.js');
|
|
5544
5544
|
try {
|
|
5545
5545
|
const outcome = containerStartExit(await containerStart({
|
|
@@ -5563,14 +5563,14 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5563
5563
|
).action(async (opts) => {
|
|
5564
5564
|
const { defaultRunnerConfigPath } = await import('./config-TGFG7IID.js');
|
|
5565
5565
|
const { runnerDir } = await import('./paths-GUVGFCBQ.js');
|
|
5566
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5566
|
+
const { runUpdateSteps } = await import('./update-steps-DF275KW3.js');
|
|
5567
5567
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5568
5568
|
process.stdout.write(`${text}
|
|
5569
5569
|
`);
|
|
5570
5570
|
});
|
|
5571
5571
|
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
5572
|
const { defaultRunnerConfigPath } = await import('./config-TGFG7IID.js');
|
|
5573
|
-
const { runRunnerCheck } = await import('./check-
|
|
5573
|
+
const { runRunnerCheck } = await import('./check-GR2WNESK.js');
|
|
5574
5574
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5575
5575
|
const result = await runRunnerCheck(configPath);
|
|
5576
5576
|
if (!result.ok) {
|
|
@@ -5604,13 +5604,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5604
5604
|
}
|
|
5605
5605
|
}
|
|
5606
5606
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5607
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5607
|
+
if (buildCpusMax !== void 0 && !(await import('./command-DFRKPEN7.js')).cpusAreValid(buildCpusMax)) {
|
|
5608
5608
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5609
5609
|
return;
|
|
5610
5610
|
}
|
|
5611
5611
|
try {
|
|
5612
5612
|
if (opts.service === true) {
|
|
5613
|
-
const { installServiceCommand, serviceSuccessText } = await import('./command-
|
|
5613
|
+
const { installServiceCommand, serviceSuccessText } = await import('./command-DFRKPEN7.js');
|
|
5614
5614
|
const result2 = await installServiceCommand({
|
|
5615
5615
|
configPath,
|
|
5616
5616
|
print: opts.print,
|
|
@@ -5665,7 +5665,7 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5665
5665
|
return;
|
|
5666
5666
|
}
|
|
5667
5667
|
const { defaultRunnerConfigPath } = await import('./config-TGFG7IID.js');
|
|
5668
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5668
|
+
const { uninstallServiceCommand } = await import('./command-DFRKPEN7.js');
|
|
5669
5669
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5670
5670
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5671
5671
|
`);
|
|
@@ -5696,11 +5696,11 @@ already in ${words().envFile} is used.
|
|
|
5696
5696
|
`
|
|
5697
5697
|
).action(async (opts) => {
|
|
5698
5698
|
const { defaultRunnerConfigPath, loadRunnerConfig, RunnerConfigError } = await import('./config-TGFG7IID.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-
|
|
5699
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit, removeRunnerBlock, nativeWindowsSandboxRefusal, SANDBOX_MACHINES } = await import('./init-6CJYRUWL.js');
|
|
5700
|
+
const { askManagedSandboxes } = await import('./check-GR2WNESK.js');
|
|
5701
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-C7IELBJA.js');
|
|
5702
|
+
const { detectMachine } = await import('./machine-Y4DDIC7H.js');
|
|
5703
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-N4GNHORE.js');
|
|
5704
5704
|
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-TJE5WGPK.js');
|
|
5705
5705
|
const { headlessNames: headlessNames2 } = await import('./runner-agents-O7G6HTWI.js');
|
|
5706
5706
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -5736,7 +5736,7 @@ already in ${words().envFile} is used.
|
|
|
5736
5736
|
return;
|
|
5737
5737
|
}
|
|
5738
5738
|
try {
|
|
5739
|
-
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-
|
|
5739
|
+
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-6K26WOFF.js');
|
|
5740
5740
|
agent = await initAgent({
|
|
5741
5741
|
flag: agent,
|
|
5742
5742
|
handOff: opts.configStdin === true,
|
|
@@ -5894,7 +5894,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5894
5894
|
let serviceUp = false;
|
|
5895
5895
|
let restart;
|
|
5896
5896
|
if (installedLayout) {
|
|
5897
|
-
const { installServiceCommand } = await import('./command-
|
|
5897
|
+
const { installServiceCommand } = await import('./command-DFRKPEN7.js');
|
|
5898
5898
|
const service = await installServiceCommand({
|
|
5899
5899
|
configPath,
|
|
5900
5900
|
entryPath: process.argv[1] ?? "",
|
|
@@ -6034,7 +6034,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
6034
6034
|
});
|
|
6035
6035
|
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
6036
|
const { defaultRunnerConfigPath } = await import('./config-TGFG7IID.js');
|
|
6037
|
-
const { requestStop } = await import('./loop-
|
|
6037
|
+
const { requestStop } = await import('./loop-ZEQTRVB5.js');
|
|
6038
6038
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
6039
6039
|
const { runnerImageVersion } = await import('./image-tag-SNXCNAGF.js');
|
|
6040
6040
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
@@ -6042,8 +6042,8 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
6042
6042
|
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
6043
|
const { builtinKind, defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-TGFG7IID.js');
|
|
6044
6044
|
const { jobsDir, runnerDir } = await import('./paths-GUVGFCBQ.js');
|
|
6045
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
6046
|
-
const { renderStatus } = await import('./status-
|
|
6045
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-ZEQTRVB5.js');
|
|
6046
|
+
const { renderStatus } = await import('./status-WJ5W32DG.js');
|
|
6047
6047
|
const { readHousekeepingRecord } = await import('./record-2RQWFYJ4.js');
|
|
6048
6048
|
const path2 = await import('path');
|
|
6049
6049
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -6116,7 +6116,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
6116
6116
|
});
|
|
6117
6117
|
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
6118
|
const { defaultRunnerConfigPath } = await import('./config-TGFG7IID.js');
|
|
6119
|
-
const { listJobFiles } = await import('./loop-
|
|
6119
|
+
const { listJobFiles } = await import('./loop-ZEQTRVB5.js');
|
|
6120
6120
|
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-N7TOXQWL.js');
|
|
6121
6121
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
6122
6122
|
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-2Q5OMKDK.js';
|
|
5
5
|
import { installSandboxAgent, uninstallSandboxAgent } from './chunk-PSKNTGC3.js';
|
|
6
6
|
import './chunk-TXKHD4Q6.js';
|
|
7
|
-
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-
|
|
7
|
+
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-ZJ2PTV3I.js';
|
|
8
8
|
import './chunk-BMMSIGV4.js';
|
|
9
9
|
import { currentLink, execStartCommand } from './chunk-PT3DOY6P.js';
|
|
10
|
-
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-
|
|
10
|
+
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-LFAJCUDD.js';
|
|
11
11
|
import './chunk-JXZ3LIHN.js';
|
|
12
12
|
import './chunk-PG4UW6QW.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-WEUBA44W.js';
|
|
4
|
+
import { readOwnContainer } from './chunk-5YEWBLLX.js';
|
|
5
|
+
import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-LFAJCUDD.js';
|
|
6
6
|
import './chunk-JXZ3LIHN.js';
|
|
7
7
|
import './chunk-PG4UW6QW.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-ZJ2PTV3I.js';
|
|
4
|
+
import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-D7S7PQT5.js';
|
|
5
5
|
import { launcherCheck } from './chunk-BMMSIGV4.js';
|
|
6
6
|
import './chunk-PT3DOY6P.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-LFAJCUDD.js';
|
|
8
8
|
import './chunk-JXZ3LIHN.js';
|
|
9
9
|
import './chunk-PG4UW6QW.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-LFAJCUDD.js';
|
|
4
4
|
import './chunk-JXZ3LIHN.js';
|
|
5
5
|
import './chunk-PG4UW6QW.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
package/dist/index.js
CHANGED
|
@@ -25,5 +25,5 @@ var { runSubcommand } = await import('./agent-subcommand-BIZMU7EZ.js');
|
|
|
25
25
|
var launcherCode = await runSubcommand(argv);
|
|
26
26
|
if (launcherCode !== void 0) process.exit(launcherCode);
|
|
27
27
|
(await import('./hook-fast-E2JV656K.js')).recordLinkExitFailure(argv);
|
|
28
|
-
var { runCli } = await import('./cli-
|
|
28
|
+
var { runCli } = await import('./cli-CNZMK32P.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-LFAJCUDD.js';
|
|
4
4
|
import './chunk-JXZ3LIHN.js';
|
|
5
5
|
import './chunk-PG4UW6QW.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-LFAJCUDD.js';
|
|
5
5
|
import './chunk-JXZ3LIHN.js';
|
|
6
6
|
import './chunk-PG4UW6QW.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-LFAJCUDD.js';
|
|
4
4
|
import './chunk-JXZ3LIHN.js';
|
|
5
5
|
import './chunk-PG4UW6QW.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-RNZQWJSI.js';
|
|
4
|
+
import './chunk-S3ZX2GTO.js';
|
|
5
5
|
import './chunk-IRFN2ZHJ.js';
|
|
6
6
|
import './chunk-R3RALX7H.js';
|
|
7
7
|
import './chunk-BAPRSDUR.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-U5PIM7JH.js';
|
|
4
4
|
import './chunk-UTSBE4MP.js';
|
|
5
5
|
import './chunk-E7R2GIAW.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
6
|
+
import './chunk-WEUBA44W.js';
|
|
7
|
+
import './chunk-5YEWBLLX.js';
|
|
8
8
|
import './chunk-TXKHD4Q6.js';
|
|
9
9
|
import './chunk-Y6FI3HCQ.js';
|
|
10
10
|
import './chunk-XOKGCNSG.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-D7S7PQT5.js';
|
|
12
12
|
import './chunk-PT3DOY6P.js';
|
|
13
|
-
import './chunk-
|
|
13
|
+
import './chunk-LFAJCUDD.js';
|
|
14
14
|
import './chunk-JXZ3LIHN.js';
|
|
15
15
|
import './chunk-PG4UW6QW.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-LFAJCUDD.js';
|
|
4
4
|
import './chunk-JXZ3LIHN.js';
|
|
5
5
|
import './chunk-PG4UW6QW.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-LFAJCUDD.js';
|
|
4
4
|
import './chunk-JXZ3LIHN.js';
|
|
5
5
|
import './chunk-PG4UW6QW.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-RNZQWJSI.js';
|
|
4
|
+
import './chunk-S3ZX2GTO.js';
|
|
5
5
|
import './chunk-IRFN2ZHJ.js';
|
|
6
6
|
import { currentBranch, openSetupPullRequest, setupPullRequestUrl, setupBranchPushed, setupMerged, setupBaseBranch, markSetupInstalled, setupInstalled } from './chunk-SYFVCV2V.js';
|
|
7
|
-
import { detectMachine, supportsMicroVmBuilds, supportsContainerBuilds, reachDockerStep, describeMachineDocker } from './chunk-
|
|
7
|
+
import { detectMachine, supportsMicroVmBuilds, supportsContainerBuilds, reachDockerStep, describeMachineDocker } from './chunk-LFAJCUDD.js';
|
|
8
8
|
import './chunk-JXZ3LIHN.js';
|
|
9
9
|
import './chunk-PG4UW6QW.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-LFAJCUDD.js';
|
|
4
4
|
import './chunk-JXZ3LIHN.js';
|
|
5
5
|
import './chunk-PG4UW6QW.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-5YEWBLLX.js';
|
|
4
|
+
import './chunk-LFAJCUDD.js';
|
|
5
5
|
import './chunk-JXZ3LIHN.js';
|
|
6
6
|
import './chunk-PG4UW6QW.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-CG7326ET.js';
|
|
4
4
|
import './chunk-PG4UW6QW.js';
|
|
5
5
|
import './chunk-BAPRSDUR.js';
|
|
6
6
|
import './chunk-IKGAVS5X.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-CG7326ET.js';
|
|
4
4
|
import { runWorkComment } from './chunk-YYSW7OKI.js';
|
|
5
5
|
import { runEmitDemo, planScreenshots, chapterPassed, readStill } from './chunk-4SAXGCD2.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.20261116030912",
|
|
4
4
|
"description": "OuterLayer CLI — commands: setup, 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.",
|