@outerlayer/cli 0.38.0-next.20261112031950 → 0.38.0-next.20261112043334
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-QKTZCHTH.js → check-6JV4M2U6.js} +5 -5
- package/dist/{chunk-HPZWRS7Y.js → chunk-2PJO6QS2.js} +1 -1
- package/dist/{chunk-ZJCE7JLT.js → chunk-37WGI6GZ.js} +5 -4
- package/dist/{chunk-BHVOEE6K.js → chunk-6M3GJTGE.js} +1 -1
- package/dist/{chunk-E6XXWCOV.js → chunk-BBIFZCCB.js} +28 -12
- package/dist/{chunk-5UVZANCN.js → chunk-C5NJHYLO.js} +3 -3
- package/dist/{chunk-PSV7IEH7.js → chunk-KRYTOYH5.js} +49 -36
- package/dist/{chunk-KLB7FZHW.js → chunk-LM2MCACJ.js} +1 -1
- package/dist/{chunk-FKHOZQGJ.js → chunk-RTMIEV5N.js} +1 -1
- package/dist/{cli-DSX6UY26.js → cli-7MJFFRYI.js} +22 -22
- package/dist/{command-UDRCQY6T.js → command-XLJ75AS5.js} +2 -2
- package/dist/{container-start-LRXMZ7Q2.js → container-start-F6T3JPRM.js} +3 -3
- package/dist/{doctor-BO57MWS3.js → doctor-F7TCZO3O.js} +3 -3
- package/dist/{host-checks-IHBEPDZD.js → host-checks-VWWXDWV2.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{init-FARHFILK.js → init-OIHCYS4S.js} +1 -1
- package/dist/{init-P4YCFNYS.js → init-W4X47BR5.js} +1 -1
- package/dist/{init-agent-5AX7Z5HT.js → init-agent-QQF3VGIJ.js} +1 -1
- package/dist/{init-cmd-PQNHAYTZ.js → init-cmd-QXAL75UY.js} +1 -1
- package/dist/{loop-TXSXFPOL.js → loop-U5AUIWQG.js} +5 -5
- package/dist/{machine-2BVZ7ODY.js → machine-6DFKQ3LQ.js} +1 -1
- package/dist/{runner-key-HIU5DEO3.js → runner-key-WZXU64C7.js} +1 -1
- package/dist/{status-6KEIF6SP.js → status-QBQAN35R.js} +1 -1
- package/dist/{update-steps-Q44PC2KG.js → update-steps-QRRCMRL4.js} +2 -2
- package/dist/{work-proofs-cmd-GQM2NMNM.js → work-proofs-cmd-DSDVAM6V.js} +1 -1
- package/dist/{work-proofs-record-FFUD3Q36.js → work-proofs-record-AC5UQ2ME.js} +1 -1
- package/package.json +1 -1
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-11-
|
|
1
|
+
{"id":"2026-11-12T04:40:51.675Z","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-KRYTOYH5.js';
|
|
4
4
|
import './chunk-3JVYMD4G.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-2PJO6QS2.js';
|
|
6
6
|
import './chunk-E7R2GIAW.js';
|
|
7
7
|
import './chunk-6X2BSMRM.js';
|
|
8
8
|
import './chunk-WFYKTAXZ.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-RTMIEV5N.js';
|
|
10
10
|
import './chunk-2UCTMANO.js';
|
|
11
|
-
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-
|
|
11
|
+
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-37WGI6GZ.js';
|
|
12
12
|
import './chunk-POBH5YCG.js';
|
|
13
13
|
import { findServiceUnit } from './chunk-OAPWDSBW.js';
|
|
14
|
-
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-
|
|
14
|
+
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-BBIFZCCB.js';
|
|
15
15
|
import './chunk-722KABMV.js';
|
|
16
16
|
import './chunk-KVWFAAAQ.js';
|
|
17
17
|
import './chunk-2PGI6RDE.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { scrubReason, stripTerminalControls } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-BBIFZCCB.js';
|
|
4
4
|
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-WG5OBUIZ.js';
|
|
5
5
|
import { RunnerAlreadyRunningError, readPidFile } from './chunk-NDQC2WUJ.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 { placeholderQueues, placeholderProblem } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-BBIFZCCB.js';
|
|
4
4
|
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-WG5OBUIZ.js';
|
|
5
5
|
import { getJson, WorkCommandError } from './chunk-DNXYI22V.js';
|
|
6
6
|
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-EUHUIIGT.js';
|
|
@@ -73,10 +73,11 @@ function sliceMemoryOf(env) {
|
|
|
73
73
|
}
|
|
74
74
|
function managedProblems(facts, agents = defaultAgents()) {
|
|
75
75
|
const problems = [];
|
|
76
|
-
|
|
76
|
+
const kind = builtinKind(facts.provision);
|
|
77
|
+
if (kind === "sandbox") ; else if (kind !== "vm") {
|
|
77
78
|
problems.push({
|
|
78
79
|
condition: "jailer",
|
|
79
|
-
reason: `a managed runner needs builtin:vm hooks, and runner.hooks.provision is ${facts.provision}. Without them
|
|
80
|
+
reason: `a managed runner needs builtin:vm or builtin:sandbox hooks, and runner.hooks.provision is ${facts.provision}. Without them a build would not run in a machine of its own. Set runner.hooks.provision and runner.hooks.cleanup to builtin:vm or to builtin:sandbox`
|
|
80
81
|
});
|
|
81
82
|
} else if (facts.jailer === "usable") ; else if (facts.jailer === "unknown") {
|
|
82
83
|
problems.push({ condition: "jailer", reason: "the runner has not yet asked the root helper whether builds run under the jailer, so builds would run without the jailer until it answers" });
|
|
@@ -107,7 +108,7 @@ function managedProblems(facts, agents = defaultAgents()) {
|
|
|
107
108
|
reason: `${off.map((key) => `runner.build.egress.${key}`).join(" and ")} ${off.length === 1 ? "is" : "are"} 0, which turns ${off.length === 1 ? "that limit" : "those limits"} off. A managed runner limits how fast a build opens connections and sends bytes, because every organization on the host shares one address. Remove ${off.length === 1 ? "the key" : "the keys"} to use the default, or set a value above 0`
|
|
108
109
|
});
|
|
109
110
|
}
|
|
110
|
-
if (
|
|
111
|
+
if (kind === "vm") {
|
|
111
112
|
if (facts.imageBuild === "host") {
|
|
112
113
|
problems.push({
|
|
113
114
|
condition: "imageBuild",
|
|
@@ -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-BBIFZCCB.js';
|
|
4
4
|
import { UNIT_MARKER } from './chunk-WG5OBUIZ.js';
|
|
5
5
|
import { runnerDir } from './chunk-JIANCWJ3.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
@@ -22,7 +22,7 @@ import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-BBRXFXBB
|
|
|
22
22
|
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-NRDFBOKE.js';
|
|
23
23
|
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-SFN7K33S.js';
|
|
24
24
|
import { postJson, WorkCommandError, isSignatureRefusal, getJson } from './chunk-DNXYI22V.js';
|
|
25
|
-
import { isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed,
|
|
25
|
+
import { isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, sandboxTimeLimitMinutes, networkOf, imageBuildOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-EUHUIIGT.js';
|
|
26
26
|
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-3C23ZPWR.js';
|
|
27
27
|
import { said, firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, childEnvironment, containerExecArgs, readDu, withAnswerProtocol, JUDGE_TREE, MAX_REPORT_BYTES, runnerLabelValue, parseSize, readJobFileChecked, NETWORK_READY_FILE, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, JUDGE_DIR, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, JUDGE_ITEMS, answerFileName, hashJudgeProgram, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, MAX_ITEMS_BYTES, JUDGE_REPORT, identityRunArgs, SAVED_STATE_LABEL } from './chunk-ERG3WCEC.js';
|
|
28
28
|
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-FUZEOWF4.js';
|
|
@@ -477,6 +477,11 @@ function managedBuildSettingValuesFor(jobDir) {
|
|
|
477
477
|
const settings = held2.get(jobDir);
|
|
478
478
|
return [...new Set([...settings?.variables ?? [], ...settings?.proxied ?? []].map(({ value }) => value))];
|
|
479
479
|
}
|
|
480
|
+
function factoryVariablesOf(config, jobDir) {
|
|
481
|
+
const variables = held2.get(jobDir)?.variables;
|
|
482
|
+
if (variables !== void 0) return variables;
|
|
483
|
+
return config.managed === true ? [] : void 0;
|
|
484
|
+
}
|
|
480
485
|
function managedMachineLimits(settings) {
|
|
481
486
|
const { vcpus, memoryGiB, diskGB } = settings.machine;
|
|
482
487
|
return { cpus: vcpus, memoryBytes: Math.round(memoryGiB * GIB), diskBytes: Math.round(diskGB * GB) };
|
|
@@ -4310,6 +4315,17 @@ async function cleanupSandbox(runtime, state, keepDisk) {
|
|
|
4310
4315
|
if (failures.length > 0) throw new Error(failures.join("; "));
|
|
4311
4316
|
return kept;
|
|
4312
4317
|
}
|
|
4318
|
+
var PROXIED_IN_SANDBOX_REASON = "the factory has a proxied variable, and a sandbox build cannot use one yet. Remove the proxied variable from the factory's build settings, or build on a runner with builtin:vm hooks";
|
|
4319
|
+
function sandboxSizeFor(config, jobDir) {
|
|
4320
|
+
const settings = managedBuildSettingsFor(jobDir);
|
|
4321
|
+
if (settings === void 0) {
|
|
4322
|
+
const sized2 = sandboxSizeOf(config.build);
|
|
4323
|
+
return sized2.ok ? sized2 : { ok: false, reason: `${sized2.field} ${sized2.problem}` };
|
|
4324
|
+
}
|
|
4325
|
+
const limits2 = managedMachineLimits(settings);
|
|
4326
|
+
const sized = sandboxSizeOf({ cpus: limits2.cpus, memory: String(limits2.memoryBytes), disk: String(limits2.diskBytes) });
|
|
4327
|
+
return sized.ok ? sized : { ok: false, reason: `the factory's ${settings.machine.size} machine does not fit a sandbox: ${sized.field.replace("runner.build.", "its ")} ${sized.problem}` };
|
|
4328
|
+
}
|
|
4313
4329
|
var UNAPPLIED_IN_SANDBOX = ["image", "build", "features"];
|
|
4314
4330
|
function ignoredInSandbox(recipe, docker2) {
|
|
4315
4331
|
const { classification } = recipe;
|
|
@@ -4359,8 +4375,9 @@ async function provisionSandboxOnce(input, itemDiskFailed) {
|
|
|
4359
4375
|
const primary = primaryOf(repositories);
|
|
4360
4376
|
if (primary === void 0) return fail("the work item names no repository to clone");
|
|
4361
4377
|
const repository = primary.repository;
|
|
4362
|
-
|
|
4363
|
-
|
|
4378
|
+
if ((managedBuildSettingsFor(jobDir)?.proxied?.length ?? 0) > 0) return fail(PROXIED_IN_SANDBOX_REASON);
|
|
4379
|
+
const sized = sandboxSizeFor(config, jobDir);
|
|
4380
|
+
if (!sized.ok) return fail(sized.reason);
|
|
4364
4381
|
let sandboxClient;
|
|
4365
4382
|
try {
|
|
4366
4383
|
sandboxClient = client(runtime);
|
|
@@ -4430,7 +4447,8 @@ async function provisionSandboxOnce(input, itemDiskFailed) {
|
|
|
4430
4447
|
agents: runtime.agents,
|
|
4431
4448
|
...input.job === void 0 ? {} : { job: input.job },
|
|
4432
4449
|
containerEnv: apply.containerEnv,
|
|
4433
|
-
builtIns: true
|
|
4450
|
+
builtIns: true,
|
|
4451
|
+
factoryVariables: factoryVariablesOf(config, jobDir)
|
|
4434
4452
|
});
|
|
4435
4453
|
if (env.skippedTokenVariables.length > 0) {
|
|
4436
4454
|
log.line(`${tag} not passing ${env.skippedTokenVariables.join(", ")} from runner.build.variables into the build: its repository token comes from the runner`);
|
|
@@ -4750,7 +4768,7 @@ async function deliverSandboxHooks(runtime, state, jobDir) {
|
|
|
4750
4768
|
async function startSandboxCommand(input) {
|
|
4751
4769
|
const own = input.job.sandbox;
|
|
4752
4770
|
const runtime = await inSandbox(input.runtime, own);
|
|
4753
|
-
const exec = containerCommandExec({ job: asContainerJob(input.job), cmdline: input.cmdline, runtime, config: input.config,
|
|
4771
|
+
const exec = containerCommandExec({ job: asContainerJob(input.job), cmdline: input.cmdline, runtime, config: input.config, extraEnv: input.extraEnv, factoryVariables: factoryVariablesOf(input.config, input.jobDir) });
|
|
4754
4772
|
const started = await runtime.host.execDetached(exec);
|
|
4755
4773
|
if (started.status !== 0) {
|
|
4756
4774
|
const first = started.stderr.trim().split("\n")[0] ?? "";
|
|
@@ -4760,7 +4778,7 @@ async function startSandboxCommand(input) {
|
|
|
4760
4778
|
var SANDBOX_SENDER_LOG = "/tmp/outerlayer-session-sender.log";
|
|
4761
4779
|
async function startSandboxSender(input) {
|
|
4762
4780
|
const runtime = await inSandbox(input.runtime, input.job.sandbox);
|
|
4763
|
-
const exec = containerSenderExec({ job: asContainerJob(input.job), runtime, config: input.config });
|
|
4781
|
+
const exec = containerSenderExec({ job: asContainerJob(input.job), runtime, config: input.config, factoryVariables: factoryVariablesOf(input.config, input.jobDir) });
|
|
4764
4782
|
const started = await runtime.host.execDetached({ ...exec, argv: ["/bin/sh", "-c", `exec outerlayer session-sender >> ${SANDBOX_SENDER_LOG} 2>&1`] });
|
|
4765
4783
|
if (started.status !== 0) {
|
|
4766
4784
|
const first = started.stderr.trim().split("\n")[0] ?? "";
|
|
@@ -4880,6 +4898,7 @@ async function runCliInSandbox(input, argv, logName) {
|
|
|
4880
4898
|
const state = own.container;
|
|
4881
4899
|
if (state.stopped === true) await startSandboxContainerAgain(input.runtime, own, await rejoinOf(input.runtime, own), input.jobDir, input.log);
|
|
4882
4900
|
const env = buildEnvironment({
|
|
4901
|
+
factoryVariables: factoryVariablesOf(input.config, input.jobDir),
|
|
4883
4902
|
config: claimCalls(input.config, job),
|
|
4884
4903
|
item: job.item,
|
|
4885
4904
|
...job.queue === "run" ? { run: true } : {},
|
|
@@ -5345,11 +5364,6 @@ function builderMachineFor(config, jobDir, assets, limits2) {
|
|
|
5345
5364
|
timeLimitMinutes: config.timeLimitMinutes
|
|
5346
5365
|
};
|
|
5347
5366
|
}
|
|
5348
|
-
function factoryVariablesOf(config, jobDir) {
|
|
5349
|
-
const held3 = managedBuildSettingsFor(jobDir)?.variables;
|
|
5350
|
-
if (held3 !== void 0) return held3;
|
|
5351
|
-
return config.managed === true ? [] : void 0;
|
|
5352
|
-
}
|
|
5353
5367
|
function execEnvironment(image, given) {
|
|
5354
5368
|
const env = applyTrust(given, image);
|
|
5355
5369
|
const merged = { ...image, ...env.literals };
|
|
@@ -7605,7 +7619,7 @@ async function startSender(input) {
|
|
|
7605
7619
|
if (job.itemKey === void 0) return void 0;
|
|
7606
7620
|
if (job.sandbox !== void 0) {
|
|
7607
7621
|
try {
|
|
7608
|
-
await startSandboxSender({ config, job, runtime: deps.runtime ?? createContainerRuntime() });
|
|
7622
|
+
await startSandboxSender({ config, job, jobDir, runtime: deps.runtime ?? createContainerRuntime() });
|
|
7609
7623
|
deps.log.line(`${tag} session sender started \xB7 in sandbox ${job.sandbox.sandboxId}`);
|
|
7610
7624
|
} catch (err) {
|
|
7611
7625
|
deps.log.error(`${tag} session sender did not start: ${describeCallFailure(err)} \xB7 continuing`);
|
|
@@ -12792,6 +12806,7 @@ function shellQuote(word) {
|
|
|
12792
12806
|
function containerCommandExec(input) {
|
|
12793
12807
|
const state = input.job.container;
|
|
12794
12808
|
const built = buildEnvironment({
|
|
12809
|
+
factoryVariables: input.factoryVariables,
|
|
12795
12810
|
config: claimCalls(input.config, input.job),
|
|
12796
12811
|
item: input.job.item,
|
|
12797
12812
|
...input.job.queue === "run" ? { run: true } : {},
|
|
@@ -12822,6 +12837,7 @@ function containerCommandExec(input) {
|
|
|
12822
12837
|
function containerSenderExec(input) {
|
|
12823
12838
|
const state = input.job.container;
|
|
12824
12839
|
const env = buildEnvironment({
|
|
12840
|
+
factoryVariables: input.factoryVariables,
|
|
12825
12841
|
config: claimCalls(input.config, input.job),
|
|
12826
12842
|
item: input.job.item,
|
|
12827
12843
|
...input.job.queue === "run" ? { run: true } : {},
|
|
@@ -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-VWWXDWV2.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-VWWXDWV2.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-AC5UQ2ME.js');
|
|
376
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
377
|
process.exitCode = result2.exitCode;
|
|
378
378
|
return;
|
|
@@ -1,15 +1,15 @@
|
|
|
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-2PJO6QS2.js';
|
|
5
5
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
6
6
|
import { writeFleetState } from './chunk-6X2BSMRM.js';
|
|
7
7
|
import { writePendingUpdate } from './chunk-WFYKTAXZ.js';
|
|
8
|
-
import { renderUpdateSteps } from './chunk-
|
|
8
|
+
import { renderUpdateSteps } from './chunk-RTMIEV5N.js';
|
|
9
9
|
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-2UCTMANO.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-37WGI6GZ.js';
|
|
11
11
|
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-POBH5YCG.js';
|
|
12
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runIsolation, runCommandOf, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, 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, AttemptLogBook, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady,
|
|
12
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runIsolation, runCommandOf, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, 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, AttemptLogBook, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-BBIFZCCB.js';
|
|
13
13
|
import { RUNNER_PROTOCOL } from './chunk-KVWFAAAQ.js';
|
|
14
14
|
import { RUNNER_RESERVE_BYTES } from './chunk-WG5OBUIZ.js';
|
|
15
15
|
import { RepoFilter } from './chunk-3T7PXUHN.js';
|
|
@@ -1803,6 +1803,7 @@ function clearUpdateWait(state) {
|
|
|
1803
1803
|
}
|
|
1804
1804
|
function holdWithoutRoomForLarge(state) {
|
|
1805
1805
|
if (state.config.managed !== true) return false;
|
|
1806
|
+
if (isBuiltinSandbox(state.config.hooks.provision)) return false;
|
|
1806
1807
|
const probes = {
|
|
1807
1808
|
...realBlockedProbes(),
|
|
1808
1809
|
...state.deps.container?.hostEnv === void 0 ? {} : { env: state.deps.container.hostEnv },
|
|
@@ -3257,7 +3258,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
3257
3258
|
job.sandbox.commandLogBase = commandLogOffset(dirPath, 0);
|
|
3258
3259
|
writeJobFile(jobFilePath, job);
|
|
3259
3260
|
writeFileSync(join(dirPath, "command.log"), "", { flag: "a", mode: RUNNER_FILE_MODE });
|
|
3260
|
-
await startSandboxCommand({ job, cmdline, runtime: runtimeOf(state), config: state.config, extraEnv: commandEnv });
|
|
3261
|
+
await startSandboxCommand({ job, jobDir: dirPath, cmdline, runtime: runtimeOf(state), config: state.config, extraEnv: commandEnv });
|
|
3261
3262
|
} else if (job.microvm !== void 0) {
|
|
3262
3263
|
const runtime = runtimeOf(state);
|
|
3263
3264
|
if (job.microvm.jailed !== void 0 && (job.microvm.fdStore?.length ?? 0) > 0) {
|
|
@@ -3809,6 +3810,40 @@ async function adoptTrackedBuilds(state, jobsDirPath) {
|
|
|
3809
3810
|
void probeBuild(state, adopted);
|
|
3810
3811
|
}
|
|
3811
3812
|
}
|
|
3813
|
+
async function holdManagedAgain(state, dirPath, job, tag) {
|
|
3814
|
+
const config = state.config;
|
|
3815
|
+
const log = logOf(state);
|
|
3816
|
+
if (config.managed !== true) return void 0;
|
|
3817
|
+
const fetched = await fetchManagedClaudeKey(claimCalls(config, job), claimItem(config, job), {
|
|
3818
|
+
fetchImpl: state.deps.fetchImpl,
|
|
3819
|
+
now: state.deps.now,
|
|
3820
|
+
sleep: state.deps.sleep,
|
|
3821
|
+
windowMs: ADOPTED_FETCH_RETRY_WINDOW_MS
|
|
3822
|
+
});
|
|
3823
|
+
if (!fetched.ok) {
|
|
3824
|
+
const code = fetched.code ?? "unavailable";
|
|
3825
|
+
log.error(`${tag} the adopted build's Anthropic key could not be had: ${code}`);
|
|
3826
|
+
const cause = fetched.retryable ? "the gateway could not be reached for it" : `the gateway refused it (${code})`;
|
|
3827
|
+
return { reason: `the adopted build's Anthropic key could not be had after the runner restarted: ${cause}`, why: "the gateway did not give its Anthropic key again" };
|
|
3828
|
+
}
|
|
3829
|
+
holdManagedClaudeKey(dirPath, fetched.apiKey);
|
|
3830
|
+
const settings = await fetchManagedBuildSettings(claimCalls(config, job), claimItem(config, job), {
|
|
3831
|
+
fetchImpl: state.deps.fetchImpl,
|
|
3832
|
+
now: state.deps.now,
|
|
3833
|
+
sleep: state.deps.sleep,
|
|
3834
|
+
windowMs: ADOPTED_FETCH_RETRY_WINDOW_MS
|
|
3835
|
+
});
|
|
3836
|
+
if (!settings.ok) {
|
|
3837
|
+
const code = settings.code ?? "unavailable";
|
|
3838
|
+
log.error(`${tag} the adopted build's settings could not be had: ${code}`);
|
|
3839
|
+
const cause = settings.retryable ? "the gateway could not be reached for them" : `the gateway refused them (${code})`;
|
|
3840
|
+
return { reason: `the adopted build's settings could not be had after the runner restarted: ${cause}`, why: "the gateway did not give its settings again" };
|
|
3841
|
+
}
|
|
3842
|
+
holdManagedBuildSettings(dirPath, settings.settings);
|
|
3843
|
+
job.managedVariables = [.../* @__PURE__ */ new Set([...job.managedVariables ?? [], ...[...settings.settings.variables, ...settings.settings.proxied ?? []].map(({ name }) => name)])];
|
|
3844
|
+
writeJobFile(join(dirPath, "job.json"), job);
|
|
3845
|
+
return void 0;
|
|
3846
|
+
}
|
|
3812
3847
|
function sandboxAwayReason(found, sandboxId) {
|
|
3813
3848
|
return found === "gone" ? new SandboxGoneError(sandboxId).message : CONTAINER_STOPPED_REASON;
|
|
3814
3849
|
}
|
|
@@ -3822,6 +3857,12 @@ async function adoptTrackedSandboxes(state, jobsDirPath) {
|
|
|
3822
3857
|
const own = job.sandbox;
|
|
3823
3858
|
const tag = itemTag(job);
|
|
3824
3859
|
const adopted = { job, dirPath, lastRenewAtMs: 0, cmd: null, cpuSample: null, ending: false };
|
|
3860
|
+
const unheld = await holdManagedAgain(state, dirPath, job, tag);
|
|
3861
|
+
if (unheld !== void 0) {
|
|
3862
|
+
const finished = await finishJob(job, dirPath, "interrupted", state.config, finishDepsOf(state), { reason: unheld.reason });
|
|
3863
|
+
log.line(`recovered job ${finished.queue} ${itemTag(finished)} (claim ${shortClaim(finished.claimId)}) as interrupted: ${unheld.why}`);
|
|
3864
|
+
continue;
|
|
3865
|
+
}
|
|
3825
3866
|
const tokens = buildTokensFor(state, adopted);
|
|
3826
3867
|
runtime.credentials.set(dirPath, tokens);
|
|
3827
3868
|
let found;
|
|
@@ -3881,36 +3922,8 @@ async function rejoinMicroVmBuild(state, adopted) {
|
|
|
3881
3922
|
const fd = inherited.get(fdName(microvm.buildId, socket.replace(/\.sock$/, "")));
|
|
3882
3923
|
return fd === void 0 ? void 0 : (server) => runtime.vm.fdStore.listenOn(server, fd);
|
|
3883
3924
|
};
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
fetchImpl: state.deps.fetchImpl,
|
|
3887
|
-
now: state.deps.now,
|
|
3888
|
-
sleep: state.deps.sleep,
|
|
3889
|
-
windowMs: ADOPTED_FETCH_RETRY_WINDOW_MS
|
|
3890
|
-
});
|
|
3891
|
-
if (!fetched.ok) {
|
|
3892
|
-
const code = fetched.code ?? "unavailable";
|
|
3893
|
-
log.error(`${tag} the adopted build's Anthropic key could not be had: ${code}`);
|
|
3894
|
-
const cause = fetched.retryable ? "the gateway could not be reached for it" : `the gateway refused it (${code})`;
|
|
3895
|
-
return { reason: `the adopted build's Anthropic key could not be had after the runner restarted: ${cause}`, why: "the gateway did not give its Anthropic key again" };
|
|
3896
|
-
}
|
|
3897
|
-
holdManagedClaudeKey(dirPath, fetched.apiKey);
|
|
3898
|
-
const settings = await fetchManagedBuildSettings(claimCalls(config, job), claimItem(config, job), {
|
|
3899
|
-
fetchImpl: state.deps.fetchImpl,
|
|
3900
|
-
now: state.deps.now,
|
|
3901
|
-
sleep: state.deps.sleep,
|
|
3902
|
-
windowMs: ADOPTED_FETCH_RETRY_WINDOW_MS
|
|
3903
|
-
});
|
|
3904
|
-
if (!settings.ok) {
|
|
3905
|
-
const code = settings.code ?? "unavailable";
|
|
3906
|
-
log.error(`${tag} the adopted build's settings could not be had: ${code}`);
|
|
3907
|
-
const cause = settings.retryable ? "the gateway could not be reached for them" : `the gateway refused them (${code})`;
|
|
3908
|
-
return { reason: `the adopted build's settings could not be had after the runner restarted: ${cause}`, why: "the gateway did not give its settings again" };
|
|
3909
|
-
}
|
|
3910
|
-
holdManagedBuildSettings(dirPath, settings.settings);
|
|
3911
|
-
job.managedVariables = [.../* @__PURE__ */ new Set([...job.managedVariables ?? [], ...[...settings.settings.variables, ...settings.settings.proxied ?? []].map(({ name }) => name)])];
|
|
3912
|
-
writeJobFile(join(dirPath, "job.json"), job);
|
|
3913
|
-
}
|
|
3925
|
+
const unheld = await holdManagedAgain(state, dirPath, job, tag);
|
|
3926
|
+
if (unheld !== void 0) return unheld;
|
|
3914
3927
|
const tokens = buildTokensFor(state, adopted);
|
|
3915
3928
|
runtime.credentials.set(dirPath, tokens);
|
|
3916
3929
|
let servicesServed = false;
|
|
@@ -4114,7 +4127,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
4114
4127
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
4115
4128
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
4116
4129
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
4117
|
-
return (await import('./check-
|
|
4130
|
+
return (await import('./check-6JV4M2U6.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
4118
4131
|
},
|
|
4119
4132
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
4120
4133
|
log
|
|
@@ -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-F7TCZO3O.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 { stripTerminalControls } from './chunk-
|
|
3
|
+
import { stripTerminalControls } from './chunk-BBIFZCCB.js';
|
|
4
4
|
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-UXARYJQ4.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { 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-LM2MCACJ.js';
|
|
4
4
|
import './chunk-4T2NBVC4.js';
|
|
5
5
|
import { verifiedTrackerNames, TRACKERS } from './chunk-DNXYI22V.js';
|
|
6
6
|
import './chunk-2VJVPP5Y.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-QXAL75UY.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-QXAL75UY.js');
|
|
3964
3964
|
const code = await runInitCommand(
|
|
3965
3965
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3966
3966
|
{
|
|
@@ -5164,7 +5164,7 @@ a runner build, no row is failed.
|
|
|
5164
5164
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5165
5165
|
return;
|
|
5166
5166
|
}
|
|
5167
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5167
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-DSDVAM6V.js');
|
|
5168
5168
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5169
5169
|
});
|
|
5170
5170
|
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) => {
|
|
@@ -5387,7 +5387,7 @@ function registerRunnerCommands(program2) {
|
|
|
5387
5387
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5388
5388
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5389
5389
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-5KMNGNK5.js');
|
|
5390
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5390
|
+
const { start, RunnerStartError } = await import('./loop-U5AUIWQG.js');
|
|
5391
5391
|
const { RunnerAlreadyRunningError } = await import('./pidfile-VET4I455.js');
|
|
5392
5392
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5393
5393
|
try {
|
|
@@ -5411,8 +5411,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5411
5411
|
`
|
|
5412
5412
|
).action(async () => {
|
|
5413
5413
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-5KMNGNK5.js');
|
|
5414
|
-
const { containerStart, containerStartExit } = await import('./container-start-
|
|
5415
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5414
|
+
const { containerStart, containerStartExit } = await import('./container-start-F6T3JPRM.js');
|
|
5415
|
+
const { start, RunnerStartError } = await import('./loop-U5AUIWQG.js');
|
|
5416
5416
|
const { RunnerAlreadyRunningError } = await import('./pidfile-VET4I455.js');
|
|
5417
5417
|
try {
|
|
5418
5418
|
const outcome = containerStartExit(await containerStart({
|
|
@@ -5436,14 +5436,14 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5436
5436
|
).action(async (opts) => {
|
|
5437
5437
|
const { defaultRunnerConfigPath } = await import('./config-5KMNGNK5.js');
|
|
5438
5438
|
const { runnerDir } = await import('./paths-IB5XFML7.js');
|
|
5439
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5439
|
+
const { runUpdateSteps } = await import('./update-steps-QRRCMRL4.js');
|
|
5440
5440
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5441
5441
|
process.stdout.write(`${text}
|
|
5442
5442
|
`);
|
|
5443
5443
|
});
|
|
5444
5444
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5445
5445
|
const { defaultRunnerConfigPath } = await import('./config-5KMNGNK5.js');
|
|
5446
|
-
const { runRunnerCheck } = await import('./check-
|
|
5446
|
+
const { runRunnerCheck } = await import('./check-6JV4M2U6.js');
|
|
5447
5447
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5448
5448
|
const result = await runRunnerCheck(configPath);
|
|
5449
5449
|
if (!result.ok) {
|
|
@@ -5477,13 +5477,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5477
5477
|
}
|
|
5478
5478
|
}
|
|
5479
5479
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5480
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5480
|
+
if (buildCpusMax !== void 0 && !(await import('./command-XLJ75AS5.js')).cpusAreValid(buildCpusMax)) {
|
|
5481
5481
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5482
5482
|
return;
|
|
5483
5483
|
}
|
|
5484
5484
|
try {
|
|
5485
5485
|
if (opts.service === true) {
|
|
5486
|
-
const { installServiceCommand, serviceSuccessText } = await import('./command-
|
|
5486
|
+
const { installServiceCommand, serviceSuccessText } = await import('./command-XLJ75AS5.js');
|
|
5487
5487
|
const result2 = await installServiceCommand({
|
|
5488
5488
|
configPath,
|
|
5489
5489
|
print: opts.print,
|
|
@@ -5538,7 +5538,7 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5538
5538
|
return;
|
|
5539
5539
|
}
|
|
5540
5540
|
const { defaultRunnerConfigPath } = await import('./config-5KMNGNK5.js');
|
|
5541
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5541
|
+
const { uninstallServiceCommand } = await import('./command-XLJ75AS5.js');
|
|
5542
5542
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5543
5543
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5544
5544
|
`);
|
|
@@ -5569,10 +5569,10 @@ already in ${words().envFile} is used.
|
|
|
5569
5569
|
`
|
|
5570
5570
|
).action(async (opts) => {
|
|
5571
5571
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-5KMNGNK5.js');
|
|
5572
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5573
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5574
|
-
const { detectMachine } = await import('./machine-
|
|
5575
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5572
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-OIHCYS4S.js');
|
|
5573
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-WZXU64C7.js');
|
|
5574
|
+
const { detectMachine } = await import('./machine-6DFKQ3LQ.js');
|
|
5575
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-W4X47BR5.js');
|
|
5576
5576
|
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-3QPJQ2H2.js');
|
|
5577
5577
|
const { headlessNames: headlessNames2 } = await import('./runner-agents-OTYZ73WU.js');
|
|
5578
5578
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -5586,7 +5586,7 @@ already in ${words().envFile} is used.
|
|
|
5586
5586
|
return;
|
|
5587
5587
|
}
|
|
5588
5588
|
try {
|
|
5589
|
-
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-
|
|
5589
|
+
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-QQF3VGIJ.js');
|
|
5590
5590
|
agent = await initAgent({
|
|
5591
5591
|
flag: agent,
|
|
5592
5592
|
handOff: opts.configStdin === true,
|
|
@@ -5726,7 +5726,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5726
5726
|
let serviceUp = false;
|
|
5727
5727
|
let restart;
|
|
5728
5728
|
if (installedLayout) {
|
|
5729
|
-
const { installServiceCommand } = await import('./command-
|
|
5729
|
+
const { installServiceCommand } = await import('./command-XLJ75AS5.js');
|
|
5730
5730
|
const service = await installServiceCommand({
|
|
5731
5731
|
configPath,
|
|
5732
5732
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5864,7 +5864,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5864
5864
|
});
|
|
5865
5865
|
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) => {
|
|
5866
5866
|
const { defaultRunnerConfigPath } = await import('./config-5KMNGNK5.js');
|
|
5867
|
-
const { requestStop } = await import('./loop-
|
|
5867
|
+
const { requestStop } = await import('./loop-U5AUIWQG.js');
|
|
5868
5868
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5869
5869
|
const { runnerImageVersion } = await import('./image-tag-H5CZTC42.js');
|
|
5870
5870
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
@@ -5872,8 +5872,8 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5872
5872
|
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) => {
|
|
5873
5873
|
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-5KMNGNK5.js');
|
|
5874
5874
|
const { jobsDir, runnerDir } = await import('./paths-IB5XFML7.js');
|
|
5875
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5876
|
-
const { renderStatus } = await import('./status-
|
|
5875
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-U5AUIWQG.js');
|
|
5876
|
+
const { renderStatus } = await import('./status-QBQAN35R.js');
|
|
5877
5877
|
const { readHousekeepingRecord } = await import('./record-3V3HQRGY.js');
|
|
5878
5878
|
const path2 = await import('path');
|
|
5879
5879
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -5939,7 +5939,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5939
5939
|
});
|
|
5940
5940
|
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) => {
|
|
5941
5941
|
const { defaultRunnerConfigPath } = await import('./config-5KMNGNK5.js');
|
|
5942
|
-
const { listJobFiles } = await import('./loop-
|
|
5942
|
+
const { listJobFiles } = await import('./loop-U5AUIWQG.js');
|
|
5943
5943
|
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-ZEXFSBVF.js');
|
|
5944
5944
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5945
5945
|
const jobs = listJobFiles(configPath);
|
|
@@ -1,10 +1,10 @@
|
|
|
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-5NK2KKG6.js';
|
|
4
|
-
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-
|
|
4
|
+
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-6M3GJTGE.js';
|
|
5
5
|
import './chunk-ZH5YLKO6.js';
|
|
6
6
|
import { currentLink, execStartCommand } from './chunk-POBH5YCG.js';
|
|
7
|
-
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-
|
|
7
|
+
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-BBIFZCCB.js';
|
|
8
8
|
import './chunk-722KABMV.js';
|
|
9
9
|
import './chunk-KVWFAAAQ.js';
|
|
10
10
|
import './chunk-2PGI6RDE.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-2PJO6QS2.js';
|
|
4
|
+
import { readOwnContainer } from './chunk-RTMIEV5N.js';
|
|
5
|
+
import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-BBIFZCCB.js';
|
|
6
6
|
import './chunk-722KABMV.js';
|
|
7
7
|
import './chunk-KVWFAAAQ.js';
|
|
8
8
|
import './chunk-2PGI6RDE.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperBinaryFor } from './chunk-
|
|
3
|
+
import { helperBinaryFor } from './chunk-6M3GJTGE.js';
|
|
4
4
|
import { launcherCheck } from './chunk-ZH5YLKO6.js';
|
|
5
|
-
import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-
|
|
5
|
+
import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-37WGI6GZ.js';
|
|
6
6
|
import './chunk-POBH5YCG.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-BBIFZCCB.js';
|
|
8
8
|
import './chunk-722KABMV.js';
|
|
9
9
|
import './chunk-KVWFAAAQ.js';
|
|
10
10
|
import './chunk-2PGI6RDE.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
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-BBIFZCCB.js';
|
|
4
4
|
import './chunk-722KABMV.js';
|
|
5
5
|
import './chunk-KVWFAAAQ.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
package/dist/index.js
CHANGED
|
@@ -25,5 +25,5 @@ var { runSubcommand } = await import('./agent-subcommand-VDN4AFAJ.js');
|
|
|
25
25
|
var launcherCode = await runSubcommand(argv);
|
|
26
26
|
if (launcherCode !== void 0) process.exit(launcherCode);
|
|
27
27
|
(await import('./hook-fast-JZKCKSXB.js')).recordLinkExitFailure(argv);
|
|
28
|
-
var { runCli } = await import('./cli-
|
|
28
|
+
var { runCli } = await import('./cli-7MJFFRYI.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, isPlaceholderCommand, prepareRunnerInit, readConfigObject, runRunnerInit, writeRunnerInit } from './chunk-
|
|
3
|
+
export { PLACEHOLDER_MARKER, RunnerInitError, isPlaceholderCommand, prepareRunnerInit, readConfigObject, runRunnerInit, writeRunnerInit } from './chunk-BBIFZCCB.js';
|
|
4
4
|
import './chunk-722KABMV.js';
|
|
5
5
|
import './chunk-KVWFAAAQ.js';
|
|
6
6
|
import './chunk-2PGI6RDE.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-BBIFZCCB.js';
|
|
5
5
|
import './chunk-722KABMV.js';
|
|
6
6
|
import './chunk-KVWFAAAQ.js';
|
|
7
7
|
import './chunk-2PGI6RDE.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-BBIFZCCB.js';
|
|
4
4
|
import './chunk-722KABMV.js';
|
|
5
5
|
import './chunk-KVWFAAAQ.js';
|
|
6
6
|
import './chunk-2PGI6RDE.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-LM2MCACJ.js';
|
|
4
4
|
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-IRFN2ZHJ.js';
|
|
5
5
|
import './chunk-4T2NBVC4.js';
|
|
6
6
|
import './chunk-DNXYI22V.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-KRYTOYH5.js';
|
|
4
4
|
import './chunk-3JVYMD4G.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-2PJO6QS2.js';
|
|
6
6
|
import './chunk-E7R2GIAW.js';
|
|
7
7
|
import './chunk-6X2BSMRM.js';
|
|
8
8
|
import './chunk-WFYKTAXZ.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-RTMIEV5N.js';
|
|
10
10
|
import './chunk-2UCTMANO.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-37WGI6GZ.js';
|
|
12
12
|
import './chunk-POBH5YCG.js';
|
|
13
|
-
import './chunk-
|
|
13
|
+
import './chunk-BBIFZCCB.js';
|
|
14
14
|
import './chunk-722KABMV.js';
|
|
15
15
|
import './chunk-KVWFAAAQ.js';
|
|
16
16
|
import './chunk-2PGI6RDE.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-BBIFZCCB.js';
|
|
4
4
|
import './chunk-722KABMV.js';
|
|
5
5
|
import './chunk-KVWFAAAQ.js';
|
|
6
6
|
import './chunk-2PGI6RDE.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-BBIFZCCB.js';
|
|
4
4
|
import './chunk-722KABMV.js';
|
|
5
5
|
import './chunk-KVWFAAAQ.js';
|
|
6
6
|
import './chunk-2PGI6RDE.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-BBIFZCCB.js';
|
|
4
4
|
import './chunk-722KABMV.js';
|
|
5
5
|
import './chunk-KVWFAAAQ.js';
|
|
6
6
|
import './chunk-2PGI6RDE.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-RTMIEV5N.js';
|
|
4
|
+
import './chunk-BBIFZCCB.js';
|
|
5
5
|
import './chunk-722KABMV.js';
|
|
6
6
|
import './chunk-KVWFAAAQ.js';
|
|
7
7
|
import './chunk-2PGI6RDE.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-C5NJHYLO.js';
|
|
4
4
|
import './chunk-722KABMV.js';
|
|
5
5
|
import './chunk-DNXYI22V.js';
|
|
6
6
|
import './chunk-2VJVPP5Y.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { runWorkComment } from './chunk-LSU3LXDM.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-C5NJHYLO.js';
|
|
5
5
|
import { runEmitDemo, planScreenshots, chapterPassed, readStill } from './chunk-IGBPPM7F.js';
|
|
6
6
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
|
7
7
|
import { runEmitArtifact } from './chunk-YZVNZWKD.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outerlayer/cli",
|
|
3
|
-
"version": "0.38.0-next.
|
|
3
|
+
"version": "0.38.0-next.20261112043334",
|
|
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.",
|