@outerlayer/cli 0.36.0-next.20261031112440 → 0.36.0-next.20261031231928
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-KM6UILOZ.js → build-XZGB4JPQ.js} +5 -5
- package/dist/{build-disk-GCEB5EJC.js → build-disk-YLQT3UHL.js} +4 -4
- package/dist/build-info.json +1 -1
- package/dist/{builder-NRPJGNXU.js → builder-TS3QFXN4.js} +3 -3
- package/dist/{caller-XHNAY4E2.js → caller-VHISEQAD.js} +6 -6
- package/dist/{check-MENIW2MN.js → check-LUQM6DGK.js} +19 -19
- package/dist/{chunk-FRDYAKH3.js → chunk-453B2ZHX.js} +2 -2
- package/dist/{chunk-4PH4DVV4.js → chunk-46OBCATR.js} +4 -0
- package/dist/{chunk-MMDGO77D.js → chunk-4NMAJYYE.js} +1 -1
- package/dist/{chunk-PJZKKFQO.js → chunk-6O33JZ3X.js} +2 -2
- package/dist/{chunk-LZ7PAU55.js → chunk-7EPIOSLO.js} +1 -1
- package/dist/{chunk-6T2JWCSZ.js → chunk-AHEIZCCA.js} +5 -5
- package/dist/{chunk-TV5ITSVY.js → chunk-CIUD3436.js} +1 -1
- package/dist/{chunk-VJYNMGCE.js → chunk-CVQ4YBBE.js} +2 -2
- package/dist/{chunk-K2YG2HZN.js → chunk-GQVOK4ZO.js} +13 -13
- package/dist/{chunk-3QLHEGXK.js → chunk-H3S5LJI2.js} +3 -3
- package/dist/{chunk-4AMSCAHT.js → chunk-HDTFRHY6.js} +6 -6
- package/dist/{chunk-AVJWMOEY.js → chunk-IGHAPIKZ.js} +1 -1
- package/dist/{chunk-MVSC7GCE.js → chunk-IP7F4CQH.js} +2 -2
- package/dist/{chunk-OPF6OJAT.js → chunk-IVH7WDOO.js} +4 -4
- package/dist/{chunk-H3MLZ4EA.js → chunk-KB5B6ZT5.js} +1 -1
- package/dist/{chunk-3YRJUX6J.js → chunk-LXYWSGEW.js} +1 -1
- package/dist/{chunk-25GQP6NR.js → chunk-NIZ7FXUX.js} +288 -112
- package/dist/{chunk-34YFGWHR.js → chunk-NRTRPGCW.js} +1 -1
- package/dist/{chunk-7SO2VHTQ.js → chunk-OUPQTA7N.js} +2 -2
- package/dist/{chunk-LESWXCKZ.js → chunk-RUK7QHSH.js} +4 -4
- package/dist/{chunk-5AJZGYWC.js → chunk-SK7ZXQIV.js} +1 -1
- package/dist/{chunk-S6OD32NC.js → chunk-T3SRWWPX.js} +1 -0
- package/dist/{chunk-VG2NIWR4.js → chunk-XZ7NIGVA.js} +1 -1
- package/dist/{chunk-BFF6AJXM.js → chunk-ZJ4Y2BOI.js} +4 -4
- package/dist/{cli-TAFO3WOQ.js → cli-I7ZLMEL6.js} +69 -69
- package/dist/{command-TRSFSBT5.js → command-TDJDBIXU.js} +15 -15
- package/dist/{config-YCQV3OQK.js → config-FF3E73ZE.js} +5 -5
- package/dist/{container-start-UY2YVY3L.js → container-start-DNGL4XJ3.js} +16 -16
- package/dist/{demo-record-cmd-NUGDPXWS.js → demo-record-cmd-Y57UWBCX.js} +3 -3
- package/dist/{demo-voice-cmd-QAH7KPVO.js → demo-voice-cmd-QFVATHAQ.js} +2 -2
- package/dist/{docker-2247NBIK.js → docker-6QIZVYF3.js} +3 -3
- package/dist/{doctor-VVFPHFS4.js → doctor-LXVJQKME.js} +16 -16
- package/dist/{emit-demo-cmd-V7CP333I.js → emit-demo-cmd-ZYMLB5R5.js} +2 -2
- package/dist/{exec-client-UHL7WPDO.js → exec-client-FGGPQSYQ.js} +1 -1
- package/dist/{find-unit-FEYD4IHC.js → find-unit-EX5ETHGL.js} +7 -7
- package/dist/{governing-source-6ANJ4HQI.js → governing-source-3LUGSBRW.js} +2 -2
- package/dist/{host-checks-TX22YEFD.js → host-checks-7NCEW7FR.js} +14 -14
- package/dist/index.js +1 -1
- package/dist/{init-36AY3ZQZ.js → init-AQJEIH57.js} +14 -14
- package/dist/{init-IYL3YXEM.js → init-U4AM3APJ.js} +14 -14
- package/dist/{init-cmd-JK2OGQU5.js → init-cmd-SP4YMVKT.js} +2 -2
- package/dist/{loop-U72FDFQR.js → loop-NKJRLAGI.js} +18 -18
- package/dist/{machine-S2TYJJPP.js → machine-VV4LYWZQ.js} +14 -14
- package/dist/{runner-env-OPRWKIKI.js → runner-env-LWKAYARL.js} +7 -7
- package/dist/{runner-identity-OY75LG6G.js → runner-identity-WUAQLGRY.js} +3 -3
- package/dist/{runner-key-6WN67PRU.js → runner-key-4JXOPPUJ.js} +14 -14
- package/dist/{spec-cmd-253AGRFF.js → spec-cmd-6LT5JJKG.js} +1 -1
- package/dist/{status-WCQG6SX4.js → status-OADVUMST.js} +14 -14
- package/dist/{update-steps-BOKCWGQ6.js → update-steps-GRF3BQ5M.js} +15 -15
- package/dist/{work-claim-cmd-2A6D5EYO.js → work-claim-cmd-2OO73LEV.js} +7 -7
- package/dist/{work-cmd-JZUBXXJN.js → work-cmd-YOWM4KZU.js} +1 -1
- package/dist/{work-comment-cmd-L4R6ZXLO.js → work-comment-cmd-7AKCM2JN.js} +2 -2
- package/dist/{work-demo-cmd-YNPN2PHQ.js → work-demo-cmd-DHJDR7BB.js} +1 -1
- package/dist/{work-logs-cmd-CSQJB5MD.js → work-logs-cmd-62PZKGUU.js} +1 -1
- package/dist/{work-open-pr-cmd-Y7YNI2PF.js → work-open-pr-cmd-DMDHGKEJ.js} +1 -1
- package/dist/{work-proofs-cmd-RPVVD2SC.js → work-proofs-cmd-UQPQF7CK.js} +2 -2
- package/dist/{work-proofs-record-ULCY5QEP.js → work-proofs-record-SRL7DRXV.js} +5 -5
- package/dist/{work-stop-cmd-LF4OTNPL.js → work-stop-cmd-NYPQKSHC.js} +1 -1
- package/package.json +1 -1
|
@@ -206,6 +206,7 @@ async function sendJsonBefore(method, url, path, apiKey, appId, body, fetchImpl,
|
|
|
206
206
|
...deadline ? { signal: deadline.signal } : {}
|
|
207
207
|
});
|
|
208
208
|
} catch (err) {
|
|
209
|
+
if (deadline?.signal.aborted) throw new WorkCommandError(`${endpoint} did not answer within ${deadline.ms}ms`, true);
|
|
209
210
|
throw new WorkCommandError(`network error reaching ${endpoint}: ${String(err)}`, true);
|
|
210
211
|
}
|
|
211
212
|
if (response.status === 401) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveCredentials, postJson, getJson } from './chunk-
|
|
3
|
+
import { resolveCredentials, postJson, getJson } from './chunk-T3SRWWPX.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
6
|
import { sanitizeTerminal } from './chunk-3PQTOKML.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { criteriaOf, loadCitationFinder, hostItemsOf, criterionInputs, NO_CITING_TEST_REASON, NO_TEST_FILES_REASON, NO_VERDICT_REASON, isFoundInReason, uncitedIds, planCriteria, pickSearchable, IdScan, testFileMatcher, foundInReason, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, groupBySize } from './chunk-GDIVOYDA.js';
|
|
4
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-T3SRWWPX.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
6
|
import { sanitizeTerminal } from './chunk-3PQTOKML.js';
|
|
7
7
|
import { defaultFetch } from './chunk-YQHEJ5SV.js';
|
|
@@ -217,14 +217,14 @@ function governingDir(cwd) {
|
|
|
217
217
|
async function testProofMode(cwd) {
|
|
218
218
|
const dir = governingDir(cwd);
|
|
219
219
|
if (dir === void 0) return "any";
|
|
220
|
-
const { testProofIn } = await import('./host-checks-
|
|
220
|
+
const { testProofIn } = await import('./host-checks-7NCEW7FR.js');
|
|
221
221
|
return testProofIn(dir);
|
|
222
222
|
}
|
|
223
223
|
async function judgeCheckName(cwd) {
|
|
224
224
|
const dir = governingDir(cwd);
|
|
225
225
|
if (dir === void 0) return {};
|
|
226
226
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
227
|
-
const { checksIn, isJudgeCheck } = await import('./host-checks-
|
|
227
|
+
const { checksIn, isJudgeCheck } = await import('./host-checks-7NCEW7FR.js');
|
|
228
228
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
229
229
|
const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
|
|
230
230
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -369,7 +369,7 @@ async function runWorkProofs(opts) {
|
|
|
369
369
|
async function runWorkProofsCommand(opts) {
|
|
370
370
|
try {
|
|
371
371
|
if (opts.record) {
|
|
372
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
372
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-SRL7DRXV.js');
|
|
373
373
|
const result2 = await runWorkProofsRecord(opts);
|
|
374
374
|
process.exitCode = result2.exitCode;
|
|
375
375
|
return;
|
|
@@ -1,10 +1,10 @@
|
|
|
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-AHEIZCCA.js';
|
|
4
4
|
import './chunk-U553JKMO.js';
|
|
5
5
|
import './chunk-OHQMGLJP.js';
|
|
6
6
|
import './chunk-3SQZ5LIK.js';
|
|
7
|
-
import { verifiedTrackerNames, TRACKERS } from './chunk-
|
|
7
|
+
import { verifiedTrackerNames, TRACKERS } from './chunk-T3SRWWPX.js';
|
|
8
8
|
import './chunk-IP7BIBXJ.js';
|
|
9
9
|
import './chunk-LHFG5YUG.js';
|
|
10
10
|
import './chunk-JPROSTGX.js';
|
|
@@ -3926,13 +3926,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3926
3926
|
if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
|
|
3927
3927
|
`);
|
|
3928
3928
|
}
|
|
3929
|
-
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-
|
|
3929
|
+
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-SP4YMVKT.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
|
|
3930
3930
|
if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
|
|
3931
3931
|
else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
|
|
3932
3932
|
return;
|
|
3933
3933
|
}
|
|
3934
3934
|
await installMachineSkillsForSetup();
|
|
3935
|
-
const { runInitCommand } = await import('./init-cmd-
|
|
3935
|
+
const { runInitCommand } = await import('./init-cmd-SP4YMVKT.js');
|
|
3936
3936
|
const code = await runInitCommand(
|
|
3937
3937
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3938
3938
|
{
|
|
@@ -4160,7 +4160,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4160
4160
|
}
|
|
4161
4161
|
});
|
|
4162
4162
|
program2.command("vm-exec", { hidden: true }).description("run a command in a microVM build's guest through its exec agent").requiredOption("--socket <path>", "the Unix socket Firecracker serves the build's vsock device on").option("--user <user>", "the user to run as", "").option("--cwd <dir>", "the working directory", "/").option("--env <NAME=value>", "an environment value the command line carries; repeatable", (value, previous) => [...previous, value], []).option("--pass <NAME>", "an environment variable whose value is read from this process; repeatable", (value, previous) => [...previous, value], []).argument("<argv...>", "the command and its arguments").action(async (argv2, opts) => {
|
|
4163
|
-
const { runVmExec } = await import('./exec-client-
|
|
4163
|
+
const { runVmExec } = await import('./exec-client-FGGPQSYQ.js');
|
|
4164
4164
|
const env = {};
|
|
4165
4165
|
for (const entry of opts.env) {
|
|
4166
4166
|
const eq = entry.indexOf("=");
|
|
@@ -4392,7 +4392,7 @@ its criterion, and the new record retires the old record. The id must be the ite
|
|
|
4392
4392
|
as \`work demo --item <n> --json\` prints it.
|
|
4393
4393
|
`
|
|
4394
4394
|
).action(async (manifest, opts) => {
|
|
4395
|
-
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-
|
|
4395
|
+
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-ZYMLB5R5.js');
|
|
4396
4396
|
let item;
|
|
4397
4397
|
if (opts.item !== void 0) {
|
|
4398
4398
|
item = parseTrackerNumber(opts.item);
|
|
@@ -4435,7 +4435,7 @@ as \`work demo --item <n> --json\` prints it.
|
|
|
4435
4435
|
}
|
|
4436
4436
|
});
|
|
4437
4437
|
program2.command("demo-voice", { hidden: true }).description("Speak demo lines for a recorder: JSON lines in on stdin, out on stdout").action(async () => {
|
|
4438
|
-
const { runDemoVoice } = await import('./demo-voice-cmd-
|
|
4438
|
+
const { runDemoVoice } = await import('./demo-voice-cmd-QFVATHAQ.js');
|
|
4439
4439
|
await runDemoVoice();
|
|
4440
4440
|
});
|
|
4441
4441
|
const demoCmd = program2.command("demo").description("Record demos with the recorder this CLI carries");
|
|
@@ -4453,7 +4453,7 @@ and the command prints the manifest's path for \`emit demo\`. Under \`work proof
|
|
|
4453
4453
|
to OUTERLAYER_PROOF_OUT instead. Exit 1 means the demo's test failed; its manifest is written all the same.
|
|
4454
4454
|
`
|
|
4455
4455
|
).action(async (file, opts) => {
|
|
4456
|
-
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-
|
|
4456
|
+
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-Y57UWBCX.js');
|
|
4457
4457
|
try {
|
|
4458
4458
|
const result = await runDemoRecord({
|
|
4459
4459
|
file,
|
|
@@ -4671,9 +4671,9 @@ function registerSpecCommands(program2) {
|
|
|
4671
4671
|
const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
|
|
4672
4672
|
const credentialOptions = (command) => command.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)");
|
|
4673
4673
|
const run = async (action) => {
|
|
4674
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4674
|
+
const { WorkCommandError } = await import('./work-cmd-YOWM4KZU.js');
|
|
4675
4675
|
try {
|
|
4676
|
-
await action(await import('./spec-cmd-
|
|
4676
|
+
await action(await import('./spec-cmd-6LT5JJKG.js'));
|
|
4677
4677
|
} catch (err) {
|
|
4678
4678
|
if (err instanceof WorkCommandError) {
|
|
4679
4679
|
fail(err.message);
|
|
@@ -4778,7 +4778,7 @@ takes it, and prints the line that starts your session on it. That
|
|
|
4778
4778
|
session links itself and holds the item's lease while it works.
|
|
4779
4779
|
`
|
|
4780
4780
|
).action(async (opts) => {
|
|
4781
|
-
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-
|
|
4781
|
+
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-YOWM4KZU.js');
|
|
4782
4782
|
try {
|
|
4783
4783
|
await runWorkBuild(opts);
|
|
4784
4784
|
} catch (err) {
|
|
@@ -4801,7 +4801,7 @@ renews that session's own 20-minute lease, unless --no-lease or
|
|
|
4801
4801
|
--ended is given, or another worker already holds a live one.
|
|
4802
4802
|
`
|
|
4803
4803
|
).action(async (number, opts) => {
|
|
4804
|
-
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-
|
|
4804
|
+
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-YOWM4KZU.js');
|
|
4805
4805
|
try {
|
|
4806
4806
|
await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
|
|
4807
4807
|
} catch (err) {
|
|
@@ -4832,8 +4832,8 @@ thread at its source. It takes a plain answer: no --criterion and no
|
|
|
4832
4832
|
action flag.
|
|
4833
4833
|
`
|
|
4834
4834
|
).action(async (opts) => {
|
|
4835
|
-
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4836
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4835
|
+
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-7AKCM2JN.js');
|
|
4836
|
+
const { WorkCommandError } = await import('./work-cmd-YOWM4KZU.js');
|
|
4837
4837
|
try {
|
|
4838
4838
|
await runWorkComment(opts);
|
|
4839
4839
|
} catch (err) {
|
|
@@ -4855,7 +4855,7 @@ nothing and exits 0 when the call fails: the line goes to hook-errors.log,
|
|
|
4855
4855
|
and the comment waits for the next agent job.
|
|
4856
4856
|
`
|
|
4857
4857
|
).action(async (ids, opts) => {
|
|
4858
|
-
const { runWorkCommentsRead } = await import('./work-comment-cmd-
|
|
4858
|
+
const { runWorkCommentsRead } = await import('./work-comment-cmd-7AKCM2JN.js');
|
|
4859
4859
|
await runWorkCommentsRead({ ...opts, commentIds: ids });
|
|
4860
4860
|
});
|
|
4861
4861
|
workCmd.command("threads").description("Read a work item's general thread, its criterion threads and its source threads").requiredOption("--item <number>", "the item's number inside this factory").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)").addHelpText(
|
|
@@ -4871,8 +4871,8 @@ that started outside OuterLayer, such as the line comments of a
|
|
|
4871
4871
|
GitHub review, each with its id, source and comments.
|
|
4872
4872
|
`
|
|
4873
4873
|
).action(async (opts) => {
|
|
4874
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4875
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4874
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-7AKCM2JN.js');
|
|
4875
|
+
const { WorkCommandError } = await import('./work-cmd-YOWM4KZU.js');
|
|
4876
4876
|
try {
|
|
4877
4877
|
await runWorkThreads(opts);
|
|
4878
4878
|
} catch (err) {
|
|
@@ -4896,8 +4896,8 @@ still running, or that an older runner released, has no log and the
|
|
|
4896
4896
|
command exits 1.
|
|
4897
4897
|
`
|
|
4898
4898
|
).action(async (opts) => {
|
|
4899
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
4900
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4899
|
+
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-62PZKGUU.js');
|
|
4900
|
+
const { WorkCommandError } = await import('./work-cmd-YOWM4KZU.js');
|
|
4901
4901
|
try {
|
|
4902
4902
|
await runWorkLogs(opts);
|
|
4903
4903
|
} catch (err) {
|
|
@@ -4920,8 +4920,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
4920
4920
|
build is running for the item.
|
|
4921
4921
|
`
|
|
4922
4922
|
).action(async (opts) => {
|
|
4923
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
4924
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4923
|
+
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-NYPQKSHC.js');
|
|
4924
|
+
const { WorkCommandError } = await import('./work-cmd-YOWM4KZU.js');
|
|
4925
4925
|
try {
|
|
4926
4926
|
await runWorkStop(opts);
|
|
4927
4927
|
} catch (err) {
|
|
@@ -4942,8 +4942,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
|
|
|
4942
4942
|
test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
|
|
4943
4943
|
`
|
|
4944
4944
|
).action(async (opts) => {
|
|
4945
|
-
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-
|
|
4946
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4945
|
+
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-DHJDR7BB.js');
|
|
4946
|
+
const { WorkCommandError } = await import('./work-cmd-YOWM4KZU.js');
|
|
4947
4947
|
try {
|
|
4948
4948
|
await runWorkDemo(opts);
|
|
4949
4949
|
} catch (err) {
|
|
@@ -4964,7 +4964,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
4964
4964
|
live addition remains on it.
|
|
4965
4965
|
`
|
|
4966
4966
|
).action(async (opts) => {
|
|
4967
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
4967
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-YOWM4KZU.js');
|
|
4968
4968
|
try {
|
|
4969
4969
|
await runWorkRemove(opts);
|
|
4970
4970
|
} catch (err) {
|
|
@@ -4976,7 +4976,7 @@ live addition remains on it.
|
|
|
4976
4976
|
}
|
|
4977
4977
|
});
|
|
4978
4978
|
workCmd.command("status").description("Show one item's stage, gate ledger, and additions").option("--item <number>", "the item's number inside this factory").option("--issue <number>", "issue number, or a Linear/Jira key like ENG-123").option(TRACKER_OPTION_FLAG, "tracker for a keyed --issue, when both hold the key").option("--repo <owner/name>", "repository for an issue number (default: the checkout's remote)").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) => {
|
|
4979
|
-
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-
|
|
4979
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-YOWM4KZU.js');
|
|
4980
4980
|
try {
|
|
4981
4981
|
await runWorkStatus(opts);
|
|
4982
4982
|
} catch (err) {
|
|
@@ -5021,11 +5021,11 @@ differs from HEAD.
|
|
|
5021
5021
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5022
5022
|
return;
|
|
5023
5023
|
}
|
|
5024
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5024
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-UQPQF7CK.js');
|
|
5025
5025
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5026
5026
|
});
|
|
5027
5027
|
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) => {
|
|
5028
|
-
const { runWorkList, WorkCommandError } = await import('./work-cmd-
|
|
5028
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-YOWM4KZU.js');
|
|
5029
5029
|
try {
|
|
5030
5030
|
await runWorkList(opts);
|
|
5031
5031
|
} catch (err) {
|
|
@@ -5046,7 +5046,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
5046
5046
|
it. --host is a label only.
|
|
5047
5047
|
`
|
|
5048
5048
|
).action(async (opts) => {
|
|
5049
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
5049
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-2OO73LEV.js');
|
|
5050
5050
|
try {
|
|
5051
5051
|
await runWorkClaim(opts);
|
|
5052
5052
|
} catch (err) {
|
|
@@ -5066,7 +5066,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5066
5066
|
lease has expired, or a 403 if a different key holds it.
|
|
5067
5067
|
`
|
|
5068
5068
|
).action(async (opts) => {
|
|
5069
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5069
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-2OO73LEV.js');
|
|
5070
5070
|
try {
|
|
5071
5071
|
await runWorkRenew(opts);
|
|
5072
5072
|
} catch (err) {
|
|
@@ -5098,7 +5098,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5098
5098
|
takes the lease again.
|
|
5099
5099
|
`
|
|
5100
5100
|
).action(async (opts) => {
|
|
5101
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5101
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-2OO73LEV.js');
|
|
5102
5102
|
try {
|
|
5103
5103
|
await runWorkRelease(opts);
|
|
5104
5104
|
} catch (err) {
|
|
@@ -5150,8 +5150,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
5150
5150
|
Run it again after a change to the title or description.
|
|
5151
5151
|
`
|
|
5152
5152
|
).action(async (opts) => {
|
|
5153
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
5154
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5153
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-DMDHGKEJ.js');
|
|
5154
|
+
const { WorkCommandError } = await import('./work-cmd-YOWM4KZU.js');
|
|
5155
5155
|
try {
|
|
5156
5156
|
await runWorkOpenPr(opts);
|
|
5157
5157
|
} catch (err) {
|
|
@@ -5167,8 +5167,8 @@ function registerRunnerCommands(program2) {
|
|
|
5167
5167
|
const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
|
|
5168
5168
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5169
5169
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5170
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5171
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5170
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-FF3E73ZE.js');
|
|
5171
|
+
const { start, RunnerStartError } = await import('./loop-NKJRLAGI.js');
|
|
5172
5172
|
const { RunnerAlreadyRunningError } = await import('./pidfile-FLFVRKVW.js');
|
|
5173
5173
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5174
5174
|
try {
|
|
@@ -5186,9 +5186,9 @@ function registerRunnerCommands(program2) {
|
|
|
5186
5186
|
"after",
|
|
5187
5187
|
"\nReads OUTERLAYER_URL, OUTERLAYER_APP_ID, OUTERLAYER_API_KEY, OUTERLAYER_RUNNER_NAME and one Claude credential\n(CLAUDE_CODE_OAUTH_TOKEN or ANTHROPIC_API_KEY) from the environment. OUTERLAYER_AGENT\nis optional and defaults to claude. On a later start it refuses variables that disagree with the config in the volume.\nThe image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use `runner start`.\n"
|
|
5188
5188
|
).action(async () => {
|
|
5189
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5190
|
-
const { containerStart } = await import('./container-start-
|
|
5191
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5189
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-FF3E73ZE.js');
|
|
5190
|
+
const { containerStart } = await import('./container-start-DNGL4XJ3.js');
|
|
5191
|
+
const { start, RunnerStartError } = await import('./loop-NKJRLAGI.js');
|
|
5192
5192
|
const { RunnerAlreadyRunningError } = await import('./pidfile-FLFVRKVW.js');
|
|
5193
5193
|
try {
|
|
5194
5194
|
const result = await containerStart({
|
|
@@ -5210,16 +5210,16 @@ function registerRunnerCommands(program2) {
|
|
|
5210
5210
|
"after",
|
|
5211
5211
|
"\nIn the runner image, run it with `docker exec <container> outerlayer runner update-steps`. It reads the\ncontainer with `docker inspect` and changes nothing. The steps rename the old container and never remove it\nbefore the new one runs. They name the container's variables and never print a value.\n"
|
|
5212
5212
|
).action(async (opts) => {
|
|
5213
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5213
|
+
const { defaultRunnerConfigPath } = await import('./config-FF3E73ZE.js');
|
|
5214
5214
|
const { runnerDir } = await import('./paths-XEYE7OZ2.js');
|
|
5215
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5215
|
+
const { runUpdateSteps } = await import('./update-steps-GRF3BQ5M.js');
|
|
5216
5216
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5217
5217
|
process.stdout.write(`${text}
|
|
5218
5218
|
`);
|
|
5219
5219
|
});
|
|
5220
5220
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5221
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5222
|
-
const { runRunnerCheck } = await import('./check-
|
|
5221
|
+
const { defaultRunnerConfigPath } = await import('./config-FF3E73ZE.js');
|
|
5222
|
+
const { runRunnerCheck } = await import('./check-LUQM6DGK.js');
|
|
5223
5223
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5224
5224
|
const result = await runRunnerCheck(configPath);
|
|
5225
5225
|
if (!result.ok) {
|
|
@@ -5240,7 +5240,7 @@ function registerRunnerCommands(program2) {
|
|
|
5240
5240
|
`);
|
|
5241
5241
|
});
|
|
5242
5242
|
runnerCmd.command("install").description("Put this CLI in the runner's install layout; --service adds its service").option("--config <path>", configOption).option("--service", "set up the service that keeps the runner running").option("--print", "with --service, print the unit and set up nothing").option("--user <account>", "with --service, the account the service runs as").option("--replace", "replace a unit or launcher file this command did not write").option("--allow-downgrade", "install this CLI even when it is older than the version the runner runs").option("--unit-name <name>", "with --service, the unit's name, to run a second runner beside the first").option("--build-memory-max <size>", "with --service, memory all builds may use together, such as 16g").option("--build-cpus-max <n>", "with --service, CPUs all builds may use together, such as 4").action(async (opts) => {
|
|
5243
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5243
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-FF3E73ZE.js');
|
|
5244
5244
|
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-JKPXIOEY.js');
|
|
5245
5245
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5246
5246
|
if (opts.service !== true) {
|
|
@@ -5253,13 +5253,13 @@ function registerRunnerCommands(program2) {
|
|
|
5253
5253
|
}
|
|
5254
5254
|
}
|
|
5255
5255
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5256
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5256
|
+
if (buildCpusMax !== void 0 && !(await import('./command-TDJDBIXU.js')).cpusAreValid(buildCpusMax)) {
|
|
5257
5257
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5258
5258
|
return;
|
|
5259
5259
|
}
|
|
5260
5260
|
try {
|
|
5261
5261
|
if (opts.service === true) {
|
|
5262
|
-
const { installServiceCommand } = await import('./command-
|
|
5262
|
+
const { installServiceCommand } = await import('./command-TDJDBIXU.js');
|
|
5263
5263
|
const result2 = await installServiceCommand({
|
|
5264
5264
|
configPath,
|
|
5265
5265
|
print: opts.print,
|
|
@@ -5316,8 +5316,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5316
5316
|
fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
|
|
5317
5317
|
return;
|
|
5318
5318
|
}
|
|
5319
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5320
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5319
|
+
const { defaultRunnerConfigPath } = await import('./config-FF3E73ZE.js');
|
|
5320
|
+
const { uninstallServiceCommand } = await import('./command-TDJDBIXU.js');
|
|
5321
5321
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5322
5322
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5323
5323
|
`);
|
|
@@ -5344,12 +5344,12 @@ already in claude.env is used.
|
|
|
5344
5344
|
printf '%s' "$CLAUDE_CODE_OAUTH_TOKEN" | ${cliInvocation()} runner init --agent claude --factory <org>/<factory>
|
|
5345
5345
|
`
|
|
5346
5346
|
).action(async (opts) => {
|
|
5347
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5348
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5349
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5350
|
-
const { detectMachine } = await import('./machine-
|
|
5351
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5352
|
-
const { AGENT_COMMANDS, credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-
|
|
5347
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-FF3E73ZE.js');
|
|
5348
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-U4AM3APJ.js');
|
|
5349
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-4JXOPPUJ.js');
|
|
5350
|
+
const { detectMachine } = await import('./machine-VV4LYWZQ.js');
|
|
5351
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-AQJEIH57.js');
|
|
5352
|
+
const { AGENT_COMMANDS, credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-LWKAYARL.js');
|
|
5353
5353
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5354
5354
|
if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
|
|
5355
5355
|
fail(`--agent ${opts.agent}: runner init writes commands for ${Object.keys(AGENT_COMMANDS).join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
|
|
@@ -5499,7 +5499,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5499
5499
|
let serviceUp = false;
|
|
5500
5500
|
let restart;
|
|
5501
5501
|
if (installedLayout) {
|
|
5502
|
-
const { installServiceCommand } = await import('./command-
|
|
5502
|
+
const { installServiceCommand } = await import('./command-TDJDBIXU.js');
|
|
5503
5503
|
const service = await installServiceCommand({
|
|
5504
5504
|
configPath,
|
|
5505
5505
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5543,12 +5543,12 @@ Next:
|
|
|
5543
5543
|
"after",
|
|
5544
5544
|
"\nA repository governed by a control plane builds the control plane's image, at the commit\nthe gateway has stored for it. A repository that governs itself fetches the head of its\ndefault branch into the runner's cache. Either way it reads .devcontainer/devcontainer.json\nand builds the image with the devcontainer CLI. Settings\nthat reach the host or widen the container's privileges are ignored and listed. The\nimage holds this CLI and a pinned Claude Code. Nothing runs inside the image.\nA repository with no devcontainer file builds on the universal image the CLI pins by digest.\n"
|
|
5545
5545
|
).action(async (opts) => {
|
|
5546
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5547
|
-
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-
|
|
5546
|
+
const { defaultRunnerConfigPath } = await import('./config-FF3E73ZE.js');
|
|
5547
|
+
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-XZGB4JPQ.js');
|
|
5548
5548
|
const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
|
|
5549
|
-
const { createDockerHost } = await import('./docker-
|
|
5550
|
-
const { builderSpec } = await import('./builder-
|
|
5551
|
-
const { loadRunnerConfig } = await import('./config-
|
|
5549
|
+
const { createDockerHost } = await import('./docker-6QIZVYF3.js');
|
|
5550
|
+
const { builderSpec } = await import('./builder-TS3QFXN4.js');
|
|
5551
|
+
const { loadRunnerConfig } = await import('./config-FF3E73ZE.js');
|
|
5552
5552
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5553
5553
|
const loaded = (() => {
|
|
5554
5554
|
try {
|
|
@@ -5559,12 +5559,12 @@ Next:
|
|
|
5559
5559
|
})();
|
|
5560
5560
|
const memory = loaded?.build?.memory ?? "8g";
|
|
5561
5561
|
try {
|
|
5562
|
-
const { ensureRunnerIdentity } = await import('./runner-identity-
|
|
5562
|
+
const { ensureRunnerIdentity } = await import('./runner-identity-WUAQLGRY.js');
|
|
5563
5563
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5564
5564
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5565
5565
|
});
|
|
5566
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5567
|
-
const { runnerCalls } = await import('./caller-
|
|
5566
|
+
const { imageTargetFor } = await import('./governing-source-3LUGSBRW.js');
|
|
5567
|
+
const { runnerCalls } = await import('./caller-VHISEQAD.js');
|
|
5568
5568
|
const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
|
|
5569
5569
|
if (!target.ok) {
|
|
5570
5570
|
if (opts.json) {
|
|
@@ -5628,17 +5628,17 @@ Next:
|
|
|
5628
5628
|
}
|
|
5629
5629
|
});
|
|
5630
5630
|
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) => {
|
|
5631
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5632
|
-
const { requestStop } = await import('./loop-
|
|
5631
|
+
const { defaultRunnerConfigPath } = await import('./config-FF3E73ZE.js');
|
|
5632
|
+
const { requestStop } = await import('./loop-NKJRLAGI.js');
|
|
5633
5633
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5634
5634
|
const { runnerImageVersion } = await import('./image-tag-WBD57QBN.js');
|
|
5635
5635
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
5636
5636
|
});
|
|
5637
5637
|
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) => {
|
|
5638
|
-
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-
|
|
5638
|
+
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-FF3E73ZE.js');
|
|
5639
5639
|
const { jobsDir, runnerDir } = await import('./paths-XEYE7OZ2.js');
|
|
5640
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5641
|
-
const { renderStatus } = await import('./status-
|
|
5640
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-NKJRLAGI.js');
|
|
5641
|
+
const { renderStatus } = await import('./status-OADVUMST.js');
|
|
5642
5642
|
const { readHousekeepingRecord } = await import('./record-JMZOXD4R.js');
|
|
5643
5643
|
const path2 = await import('path');
|
|
5644
5644
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -5664,7 +5664,7 @@ Next:
|
|
|
5664
5664
|
const processState = runnerProcessState(configPath);
|
|
5665
5665
|
const service = await (async () => {
|
|
5666
5666
|
if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
|
|
5667
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
5667
|
+
const { inspectRunnerService } = await import('./find-unit-EX5ETHGL.js');
|
|
5668
5668
|
const facts = inspectRunnerService(configPath);
|
|
5669
5669
|
return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
|
|
5670
5670
|
})();
|
|
@@ -5703,8 +5703,8 @@ Next:
|
|
|
5703
5703
|
);
|
|
5704
5704
|
});
|
|
5705
5705
|
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) => {
|
|
5706
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5707
|
-
const { listJobFiles } = await import('./loop-
|
|
5706
|
+
const { defaultRunnerConfigPath } = await import('./config-FF3E73ZE.js');
|
|
5707
|
+
const { listJobFiles } = await import('./loop-NKJRLAGI.js');
|
|
5708
5708
|
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-FEITSC2V.js');
|
|
5709
5709
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5710
5710
|
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-RIHB3HA2.js';
|
|
4
|
-
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-
|
|
4
|
+
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-453B2ZHX.js';
|
|
5
5
|
import './chunk-7J7HRYZ3.js';
|
|
6
6
|
import { currentLink, execStartCommand } from './chunk-AF6DQJ5W.js';
|
|
7
|
-
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-
|
|
7
|
+
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-NIZ7FXUX.js';
|
|
8
8
|
import './chunk-GDIVOYDA.js';
|
|
9
9
|
import './chunk-I3LTIAOR.js';
|
|
10
10
|
import './chunk-2PGI6RDE.js';
|
|
@@ -16,30 +16,30 @@ import './chunk-AAGU5FJF.js';
|
|
|
16
16
|
import './chunk-ZVB57WI6.js';
|
|
17
17
|
import './chunk-ALEUIS35.js';
|
|
18
18
|
import './chunk-TQMI335S.js';
|
|
19
|
-
import './chunk-
|
|
20
|
-
import { unitNameProblem, DEFAULT_UNIT_NAME, checkFit, installService, uninstallService, realTaskScheduler } from './chunk-
|
|
19
|
+
import './chunk-NRTRPGCW.js';
|
|
20
|
+
import { unitNameProblem, DEFAULT_UNIT_NAME, checkFit, installService, uninstallService, realTaskScheduler } from './chunk-IP7F4CQH.js';
|
|
21
21
|
import './chunk-NN33FYXG.js';
|
|
22
|
-
import './chunk-
|
|
23
|
-
import './chunk-
|
|
22
|
+
import './chunk-RUK7QHSH.js';
|
|
23
|
+
import './chunk-KB5B6ZT5.js';
|
|
24
24
|
import './chunk-WAZJPDR2.js';
|
|
25
25
|
import './chunk-OGFGZQA3.js';
|
|
26
|
-
import './chunk-
|
|
27
|
-
import './chunk-
|
|
26
|
+
import './chunk-46OBCATR.js';
|
|
27
|
+
import './chunk-7EPIOSLO.js';
|
|
28
28
|
import './chunk-55PYF6S2.js';
|
|
29
29
|
import './chunk-JBJTC3UU.js';
|
|
30
30
|
import './chunk-UZGQT6OF.js';
|
|
31
31
|
import './chunk-MKSZHT6S.js';
|
|
32
32
|
import { realLima } from './chunk-77MM5RYD.js';
|
|
33
33
|
import { writeLaunchAgent, launchAgentPath } from './chunk-LF6MLJCY.js';
|
|
34
|
-
import './chunk-
|
|
35
|
-
import { runnerVmOf, loadRunnerConfig, builtinKind } from './chunk-
|
|
36
|
-
import './chunk-
|
|
37
|
-
import { parseSize, readJobFile } from './chunk-
|
|
38
|
-
import './chunk-
|
|
39
|
-
import { HOST_HELPER_ASSETS_VERSION, builderDiskPinned, hostHelperSupportsSlice, HOST_HELPER_SLICE_SINCE, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, FIRECRACKER_BINARY_SHA256, JAILER_BINARY_SHA256, HOST_HELPER_SHA256, HOST_HELPER_BASE_URL, hostHelperPinned } from './chunk-
|
|
34
|
+
import './chunk-LXYWSGEW.js';
|
|
35
|
+
import { runnerVmOf, loadRunnerConfig, builtinKind } from './chunk-H3S5LJI2.js';
|
|
36
|
+
import './chunk-IGHAPIKZ.js';
|
|
37
|
+
import { parseSize, readJobFile } from './chunk-6O33JZ3X.js';
|
|
38
|
+
import './chunk-CIUD3436.js';
|
|
39
|
+
import { HOST_HELPER_ASSETS_VERSION, builderDiskPinned, hostHelperSupportsSlice, HOST_HELPER_SLICE_SINCE, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, FIRECRACKER_BINARY_SHA256, JAILER_BINARY_SHA256, HOST_HELPER_SHA256, HOST_HELPER_BASE_URL, hostHelperPinned } from './chunk-OUPQTA7N.js';
|
|
40
40
|
import './chunk-OHQMGLJP.js';
|
|
41
41
|
import './chunk-3SQZ5LIK.js';
|
|
42
|
-
import './chunk-
|
|
42
|
+
import './chunk-T3SRWWPX.js';
|
|
43
43
|
import './chunk-IP7BIBXJ.js';
|
|
44
44
|
import './chunk-LHFG5YUG.js';
|
|
45
45
|
import './chunk-JPROSTGX.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_SETUP_MINUTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, RunnerConfigError, builtinKind, checkHooks, defaultRunnerConfigPath, hasRunnerBlock, imageBuildOf, isBuiltinContainer, isBuiltinProcess, isBuiltinVm, keepsHostBuilder, keyRunnerFactory, loadRunnerConfig, optionalEgress, resolveBuild, resolveHousekeeping, runnerCredentialProblem, runnerVmOf } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
3
|
+
export { DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_SETUP_MINUTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, RunnerConfigError, builtinKind, checkHooks, defaultRunnerConfigPath, hasRunnerBlock, imageBuildOf, isBuiltinContainer, isBuiltinProcess, isBuiltinVm, keepsHostBuilder, keyRunnerFactory, loadRunnerConfig, optionalEgress, resolveBuild, resolveHousekeeping, runnerCredentialProblem, runnerVmOf } from './chunk-H3S5LJI2.js';
|
|
4
|
+
import './chunk-IGHAPIKZ.js';
|
|
5
|
+
import './chunk-6O33JZ3X.js';
|
|
6
|
+
import './chunk-CIUD3436.js';
|
|
7
|
+
import './chunk-OUPQTA7N.js';
|
|
8
8
|
import './chunk-4DJZSNVT.js';
|
|
9
9
|
import './chunk-MXWPLGO6.js';
|
|
10
10
|
import './chunk-VUG4IZ7H.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-IVH7WDOO.js';
|
|
4
|
+
import { readOwnContainer } from './chunk-CVQ4YBBE.js';
|
|
5
|
+
import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-NIZ7FXUX.js';
|
|
6
6
|
import './chunk-GDIVOYDA.js';
|
|
7
7
|
import './chunk-I3LTIAOR.js';
|
|
8
8
|
import './chunk-2PGI6RDE.js';
|
|
@@ -14,28 +14,28 @@ import './chunk-AAGU5FJF.js';
|
|
|
14
14
|
import './chunk-ZVB57WI6.js';
|
|
15
15
|
import { runnerImageVersion, IMAGE_VERSION_VARIABLE } from './chunk-ALEUIS35.js';
|
|
16
16
|
import './chunk-TQMI335S.js';
|
|
17
|
-
import { isAgentName, AGENT_COMMANDS } from './chunk-
|
|
18
|
-
import './chunk-
|
|
17
|
+
import { isAgentName, AGENT_COMMANDS } from './chunk-NRTRPGCW.js';
|
|
18
|
+
import './chunk-IP7F4CQH.js';
|
|
19
19
|
import './chunk-NN33FYXG.js';
|
|
20
|
-
import './chunk-
|
|
21
|
-
import './chunk-
|
|
20
|
+
import './chunk-RUK7QHSH.js';
|
|
21
|
+
import './chunk-KB5B6ZT5.js';
|
|
22
22
|
import './chunk-WAZJPDR2.js';
|
|
23
23
|
import './chunk-OGFGZQA3.js';
|
|
24
|
-
import './chunk-
|
|
25
|
-
import './chunk-
|
|
24
|
+
import './chunk-46OBCATR.js';
|
|
25
|
+
import './chunk-7EPIOSLO.js';
|
|
26
26
|
import './chunk-55PYF6S2.js';
|
|
27
27
|
import './chunk-JBJTC3UU.js';
|
|
28
28
|
import './chunk-UZGQT6OF.js';
|
|
29
29
|
import './chunk-MKSZHT6S.js';
|
|
30
|
-
import './chunk-
|
|
31
|
-
import './chunk-
|
|
32
|
-
import './chunk-
|
|
33
|
-
import { parseSize } from './chunk-
|
|
34
|
-
import './chunk-
|
|
35
|
-
import './chunk-
|
|
30
|
+
import './chunk-LXYWSGEW.js';
|
|
31
|
+
import './chunk-H3S5LJI2.js';
|
|
32
|
+
import './chunk-IGHAPIKZ.js';
|
|
33
|
+
import { parseSize } from './chunk-6O33JZ3X.js';
|
|
34
|
+
import './chunk-CIUD3436.js';
|
|
35
|
+
import './chunk-OUPQTA7N.js';
|
|
36
36
|
import './chunk-OHQMGLJP.js';
|
|
37
37
|
import './chunk-3SQZ5LIK.js';
|
|
38
|
-
import './chunk-
|
|
38
|
+
import './chunk-T3SRWWPX.js';
|
|
39
39
|
import './chunk-IP7BIBXJ.js';
|
|
40
40
|
import './chunk-LHFG5YUG.js';
|
|
41
41
|
import './chunk-JPROSTGX.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { IMAGE_BROWSER } from './chunk-
|
|
4
|
-
import { buildRootFromDist } from './chunk-
|
|
5
|
-
import './chunk-
|
|
3
|
+
import { IMAGE_BROWSER } from './chunk-KB5B6ZT5.js';
|
|
4
|
+
import { buildRootFromDist } from './chunk-CIUD3436.js';
|
|
5
|
+
import './chunk-OUPQTA7N.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
7
|
import './chunk-FZKNTIOJ.js';
|
|
8
8
|
import './chunk-352DHUTP.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { realSpeaker } from './chunk-
|
|
3
|
+
import { realSpeaker } from './chunk-SK7ZXQIV.js';
|
|
4
4
|
import './chunk-ER6KQCVJ.js';
|
|
5
5
|
import './chunk-PDQWXH3F.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
7
7
|
import './chunk-XTVVKNRP.js';
|
|
8
8
|
import './chunk-3GFZSLSP.js';
|
|
9
9
|
import './chunk-AAGU5FJF.js';
|
|
10
|
-
import './chunk-
|
|
10
|
+
import './chunk-OUPQTA7N.js';
|
|
11
11
|
import './chunk-IP7BIBXJ.js';
|
|
12
12
|
import './chunk-LHFG5YUG.js';
|
|
13
13
|
import './chunk-JPROSTGX.js';
|