@outerlayer/cli 0.34.0-next.20261029100627 → 0.34.0
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/CHANGELOG.md +48 -0
- package/dist/{build-ZWUKJL5I.js → build-WC5EBFL3.js} +3 -3
- package/dist/{build-disk-BF56FZBB.js → build-disk-RARJJXLL.js} +3 -3
- package/dist/build-info.json +1 -1
- package/dist/{builder-PDLGG4DQ.js → builder-IIFXZVGN.js} +2 -2
- package/dist/{caller-LJDOBQTM.js → caller-VWXDLYPU.js} +5 -5
- package/dist/{check-ZGD773U7.js → check-FYYNT3UP.js} +22 -22
- package/dist/{chunk-W74HQLLZ.js → chunk-25SWTFPA.js} +2 -2
- package/dist/{chunk-6WVUXK3M.js → chunk-2MTBQRCI.js} +6 -6
- package/dist/{chunk-4ZJI3IG2.js → chunk-32IASBQV.js} +4 -4
- package/dist/{chunk-7CIU64OH.js → chunk-3NPVOVWY.js} +2 -2
- package/dist/{chunk-O7CGRDRQ.js → chunk-4CGEAKOR.js} +2 -2
- package/dist/{chunk-URKE5WTV.js → chunk-5DVJQC76.js} +3 -3
- package/dist/{chunk-ZO4ZOPYX.js → chunk-7K6MTRN2.js} +27 -16
- package/dist/{chunk-BETYII72.js → chunk-7NARODRP.js} +1 -1
- package/dist/{chunk-BGADM7E5.js → chunk-7SFE6CFO.js} +7 -7
- package/dist/{chunk-E2NZMEVD.js → chunk-AYMOVIT2.js} +14 -14
- package/dist/{chunk-YBP22LDO.js → chunk-AZLWIUIF.js} +2 -2
- package/dist/{chunk-3EEJGQEJ.js → chunk-CZA37XBG.js} +3 -3
- package/dist/{chunk-2I6VHGJA.js → chunk-DVXUUCOF.js} +1 -1
- package/dist/{chunk-IUPYSGCP.js → chunk-DY2HAYJL.js} +2 -2
- package/dist/{chunk-JFALOM5G.js → chunk-FYVIHKCH.js} +2 -2
- package/dist/{chunk-TV2OQUWE.js → chunk-H25XK3DY.js} +475 -94
- package/dist/{chunk-HERRKKES.js → chunk-H467HI5U.js} +1 -1
- package/dist/{chunk-DPXJ5RJU.js → chunk-HNA33MLR.js} +2 -2
- package/dist/{chunk-5XV27STP.js → chunk-IP3HLHWO.js} +1 -1
- package/dist/{chunk-LGCXRKIG.js → chunk-JBUFM5JN.js} +2 -2
- package/dist/{chunk-WN45SWHR.js → chunk-M4MSA6I4.js} +1 -1
- package/dist/{chunk-JJ7YQWYS.js → chunk-NB44HOTO.js} +2 -2
- package/dist/{chunk-JQOET7TF.js → chunk-NZDM6KJ2.js} +3 -3
- package/dist/{chunk-FAA2URUR.js → chunk-PHETCXGP.js} +1 -1
- package/dist/{chunk-UGPJIKN4.js → chunk-QZQ2UTPE.js} +2 -2
- package/dist/{chunk-AVHPSB65.js → chunk-RWQLBHU3.js} +1 -1
- package/dist/{chunk-MCK4XMV5.js → chunk-SIF536BT.js} +1 -1
- package/dist/{chunk-CNN7JBVU.js → chunk-SVDO6ZQA.js} +5 -5
- package/dist/{chunk-AGMR4IQE.js → chunk-TJ755TTP.js} +2 -2
- package/dist/{chunk-DM4TDEYF.js → chunk-UX7BQX4C.js} +11 -11
- package/dist/{cli-TCDMN5CR.js → cli-VLQZS3BV.js} +87 -87
- package/dist/{command-WP6ZOCWH.js → command-Y2HFOL33.js} +13 -13
- package/dist/{config-SGSBDXW2.js → config-YI5R4K77.js} +4 -4
- package/dist/{connect-cmd-APZN6F6N.js → connect-cmd-NHRK6Y4L.js} +2 -2
- package/dist/{container-start-3RUFM2G2.js → container-start-W3BDQAQE.js} +19 -19
- package/dist/{context-show-cmd-OWREGUJL.js → context-show-cmd-OLJEKW2G.js} +3 -3
- package/dist/{demo-voice-cmd-7FHRYSCX.js → demo-voice-cmd-W47GNKN6.js} +7 -7
- package/dist/{dist-Z6WP743R.js → dist-ZDKMTBJU.js} +1 -1
- package/dist/{docker-UYJ2BXB2.js → docker-36W7PA5I.js} +2 -2
- package/dist/{doctor-GS6VC336.js → doctor-YAPSQYAC.js} +14 -14
- package/dist/{emit-artifact-cmd-NFAASCXW.js → emit-artifact-cmd-72TRW3OL.js} +6 -6
- package/dist/{emit-criteria-cmd-TX4LKO5X.js → emit-criteria-cmd-TLO4L3FN.js} +4 -4
- package/dist/{emit-demo-cmd-4PVJYO5S.js → emit-demo-cmd-PISZZ6TE.js} +7 -7
- package/dist/{emit-finding-cmd-LO2AKL4P.js → emit-finding-cmd-MRXMDOQY.js} +4 -4
- package/dist/{emit-result-cmd-7PL4HNXL.js → emit-result-cmd-UHX7OTY2.js} +5 -5
- package/dist/{emit-step-cmd-RZT6VK5U.js → emit-step-cmd-TL73HPJY.js} +4 -4
- package/dist/{find-unit-XGGULXYG.js → find-unit-LIJR6HXI.js} +6 -6
- package/dist/{findings-cmd-MEU7GDRC.js → findings-cmd-WPHPYWZJ.js} +4 -4
- package/dist/{governing-source-6DH2NLPE.js → governing-source-HAJVYDYG.js} +5 -5
- package/dist/{host-checks-5MJC6PH7.js → host-checks-IAF6DYWU.js} +17 -17
- package/dist/index.js +1 -1
- package/dist/{init-PVDEFMUR.js → init-4MUFI7Q7.js} +13 -13
- package/dist/{init-ZTQMCBGK.js → init-HTX7R3O6.js} +13 -13
- package/dist/{init-cmd-NHZUAKHE.js → init-cmd-Q337RMX5.js} +5 -5
- package/dist/{init-update-5PTU5IE6.js → init-update-7F5WWVWX.js} +2 -2
- package/dist/{loop-ZN7G2TXF.js → loop-XZH3TA5Z.js} +21 -21
- package/dist/{machine-AMVFNL36.js → machine-L4U73LZN.js} +13 -13
- package/dist/{runner-env-FBK4LTZZ.js → runner-env-P7BHDTKU.js} +6 -6
- package/dist/{runner-identity-YBOC7QII.js → runner-identity-BQEM2OHY.js} +2 -2
- package/dist/{runner-key-OLETR57F.js → runner-key-MNVNR6UM.js} +13 -13
- package/dist/{session-sender-GJEVFQVN.js → session-sender-HPJWCUVZ.js} +6 -6
- package/dist/{spec-cmd-BRTO5J2C.js → spec-cmd-NPZ2H3ZN.js} +5 -5
- package/dist/{status-YKHTXJ2A.js → status-G4EL4ZCI.js} +17 -17
- package/dist/{sync-cmd-EO4TP2K7.js → sync-cmd-AFB3TGYH.js} +5 -5
- package/dist/{update-steps-DKSSL2IE.js → update-steps-N6U2OWK6.js} +18 -18
- package/dist/{watch-EG6MYI3O.js → watch-O6ZO5HBT.js} +5 -5
- package/dist/{work-claim-cmd-BA57U5QT.js → work-claim-cmd-CN5FR3G4.js} +8 -8
- package/dist/{work-cmd-PKEAVXJC.js → work-cmd-EHDLH3CJ.js} +4 -4
- package/dist/{work-comment-cmd-7IEOLOOK.js → work-comment-cmd-YPNDPDHP.js} +5 -5
- package/dist/{work-demo-cmd-GKMBBMMM.js → work-demo-cmd-TM47UETD.js} +4 -4
- package/dist/{work-logs-cmd-44ZOKO5E.js → work-logs-cmd-4PCBHRM2.js} +4 -4
- package/dist/{work-open-pr-cmd-YYQLQ7DN.js → work-open-pr-cmd-ESLHVNO5.js} +5 -5
- package/dist/{work-pr-cmd-ILCIO22W.js → work-pr-cmd-N63H6OJM.js} +4 -4
- package/dist/{work-proofs-cmd-AWN5CKL7.js → work-proofs-cmd-U6XFQ34N.js} +5 -5
- package/dist/{work-proofs-record-Y7W4PBM2.js → work-proofs-record-YYRYIYMQ.js} +10 -10
- package/dist/{work-stop-cmd-5VPW7HOZ.js → work-stop-cmd-RB64IM3K.js} +4 -4
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
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-7SFE6CFO.js';
|
|
4
4
|
import './chunk-WJTIU2A5.js';
|
|
5
5
|
import './chunk-OHQMGLJP.js';
|
|
6
6
|
import './chunk-XGSJNXH2.js';
|
|
7
|
-
import { verifiedTrackerNames, TRACKERS } from './chunk-
|
|
7
|
+
import { verifiedTrackerNames, TRACKERS } from './chunk-NZDM6KJ2.js';
|
|
8
8
|
import './chunk-IP7BIBXJ.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
9
|
+
import './chunk-QZQ2UTPE.js';
|
|
10
|
+
import './chunk-RWQLBHU3.js';
|
|
11
11
|
import './chunk-ZI2E4YMY.js';
|
|
12
12
|
import './chunk-A2LHHKTT.js';
|
|
13
13
|
import { C, warnDeprecated, API_KEY_FLAG_DEPRECATION, NO_COLOR_FLAG, stripNoColor } from './chunk-2AM6Z5BP.js';
|
|
@@ -26,7 +26,7 @@ import './chunk-HCVLP7XA.js';
|
|
|
26
26
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
27
27
|
import './chunk-QM3HMXMU.js';
|
|
28
28
|
import './chunk-UPRZREBO.js';
|
|
29
|
-
import './chunk-
|
|
29
|
+
import './chunk-H25XK3DY.js';
|
|
30
30
|
import './chunk-OLM2TIOW.js';
|
|
31
31
|
import './chunk-CDDED64E.js';
|
|
32
32
|
import { resolveVersion, resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
@@ -3799,8 +3799,8 @@ async function installMachineSkillsForSetup() {
|
|
|
3799
3799
|
` : "";
|
|
3800
3800
|
}
|
|
3801
3801
|
async function realConnectDepsForCwd() {
|
|
3802
|
-
const { realConnectDeps } = await import('./connect-cmd-
|
|
3803
|
-
const { resolveRepoIdentity } = await import('./dist-
|
|
3802
|
+
const { realConnectDeps } = await import('./connect-cmd-NHRK6Y4L.js');
|
|
3803
|
+
const { resolveRepoIdentity } = await import('./dist-ZDKMTBJU.js');
|
|
3804
3804
|
return {
|
|
3805
3805
|
...realConnectDeps(),
|
|
3806
3806
|
home: homeFromEnv(),
|
|
@@ -3874,7 +3874,7 @@ build, ../outerlayer-build/SKILL.md becomes ~/.agents/skills/outerlayer-build/SK
|
|
|
3874
3874
|
what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocation() + " doctor` reports the same\nstates under Starter files.\n"
|
|
3875
3875
|
).action(async (opts) => {
|
|
3876
3876
|
if (opts.update || opts.dryRun) {
|
|
3877
|
-
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-
|
|
3877
|
+
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-7F5WWVWX.js');
|
|
3878
3878
|
const { fleetReadiness } = await import('./fleet-readiness-4RNICYSP.js');
|
|
3879
3879
|
const problem = updateFlagProblem(opts);
|
|
3880
3880
|
if (problem !== void 0) {
|
|
@@ -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-Q337RMX5.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-Q337RMX5.js');
|
|
3936
3936
|
const code = await runInitCommand(
|
|
3937
3937
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3938
3938
|
{
|
|
@@ -3953,7 +3953,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3953
3953
|
shellPath: process.env.SHELL,
|
|
3954
3954
|
interactive: Boolean(process.stdin.isTTY && process.stderr.isTTY) && opts.json !== true,
|
|
3955
3955
|
ask: async () => {
|
|
3956
|
-
const { promptOnTerminal } = await import('./connect-cmd-
|
|
3956
|
+
const { promptOnTerminal } = await import('./connect-cmd-NHRK6Y4L.js');
|
|
3957
3957
|
const answer = await promptOnTerminal({
|
|
3958
3958
|
message: `Should plain claude start Claude Code through ${cliInvocation()} claude? That is how a session in a governed repository gets its control plane. It adds one block to your zsh or bash startup file.`,
|
|
3959
3959
|
options: [
|
|
@@ -3992,7 +3992,7 @@ linked (true, false, or null when it could not be checked) and, when false,
|
|
|
3992
3992
|
linkUrl.
|
|
3993
3993
|
`
|
|
3994
3994
|
).action(async (opts) => {
|
|
3995
|
-
const { runConnectCommand } = await import('./connect-cmd-
|
|
3995
|
+
const { runConnectCommand } = await import('./connect-cmd-NHRK6Y4L.js');
|
|
3996
3996
|
const code = await runConnectCommand({ factory: opts.factory, json: opts.json }, await realConnectDepsForCwd(), {
|
|
3997
3997
|
stdout: process.stdout,
|
|
3998
3998
|
stderr: process.stderr
|
|
@@ -4070,7 +4070,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4070
4070
|
else fail(found.reason);
|
|
4071
4071
|
return;
|
|
4072
4072
|
}
|
|
4073
|
-
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-
|
|
4073
|
+
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-AFB3TGYH.js');
|
|
4074
4074
|
try {
|
|
4075
4075
|
const result = await runSync({
|
|
4076
4076
|
url: opts.url,
|
|
@@ -4101,7 +4101,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4101
4101
|
if (invokedCommandToken(argv) === "watch") {
|
|
4102
4102
|
warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
|
|
4103
4103
|
}
|
|
4104
|
-
const { runWatch } = await import('./watch-
|
|
4104
|
+
const { runWatch } = await import('./watch-O6ZO5HBT.js');
|
|
4105
4105
|
await runWatch({ once: opts.once });
|
|
4106
4106
|
});
|
|
4107
4107
|
program2.command("hook <event>", { hidden: true }).description("capture-hook fast path, installed by `init`").action(() => {
|
|
@@ -4191,7 +4191,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4191
4191
|
process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
|
|
4192
4192
|
});
|
|
4193
4193
|
program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
|
|
4194
|
-
const { runSessionSender } = await import('./session-sender-
|
|
4194
|
+
const { runSessionSender } = await import('./session-sender-HPJWCUVZ.js');
|
|
4195
4195
|
try {
|
|
4196
4196
|
await runSessionSender();
|
|
4197
4197
|
} catch (err) {
|
|
@@ -4287,7 +4287,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
|
|
|
4287
4287
|
await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
|
|
4288
4288
|
return;
|
|
4289
4289
|
}
|
|
4290
|
-
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-
|
|
4290
|
+
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-UHX7OTY2.js');
|
|
4291
4291
|
try {
|
|
4292
4292
|
const result = await runEmitResult({
|
|
4293
4293
|
name,
|
|
@@ -4338,7 +4338,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
|
|
|
4338
4338
|
locally so it never uploads. One correction can retire several duplicates.
|
|
4339
4339
|
`
|
|
4340
4340
|
).action(async (file, opts) => {
|
|
4341
|
-
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-
|
|
4341
|
+
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-72TRW3OL.js');
|
|
4342
4342
|
let pr;
|
|
4343
4343
|
if (opts.pr !== void 0) {
|
|
4344
4344
|
pr = parseTrackerNumber(opts.pr);
|
|
@@ -4394,7 +4394,7 @@ its criterion, and the new record retires the old record. The id must be the ite
|
|
|
4394
4394
|
as \`work demo --item <n> --json\` prints it.
|
|
4395
4395
|
`
|
|
4396
4396
|
).action(async (manifest, opts) => {
|
|
4397
|
-
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-
|
|
4397
|
+
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-PISZZ6TE.js');
|
|
4398
4398
|
let item;
|
|
4399
4399
|
if (opts.item !== void 0) {
|
|
4400
4400
|
item = parseTrackerNumber(opts.item);
|
|
@@ -4437,7 +4437,7 @@ as \`work demo --item <n> --json\` prints it.
|
|
|
4437
4437
|
}
|
|
4438
4438
|
});
|
|
4439
4439
|
program2.command("demo-voice", { hidden: true }).description("Speak demo lines for a recorder: JSON lines in on stdin, out on stdout").action(async () => {
|
|
4440
|
-
const { runDemoVoice } = await import('./demo-voice-cmd-
|
|
4440
|
+
const { runDemoVoice } = await import('./demo-voice-cmd-W47GNKN6.js');
|
|
4441
4441
|
await runDemoVoice();
|
|
4442
4442
|
});
|
|
4443
4443
|
const demoCmd = program2.command("demo").description("Record demos with the recorder this CLI carries");
|
|
@@ -4504,7 +4504,7 @@ recent events with their ids. --find <text> searches all of them.
|
|
|
4504
4504
|
item that session was launched for is used automatically.
|
|
4505
4505
|
`
|
|
4506
4506
|
).action(async (opts) => {
|
|
4507
|
-
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4507
|
+
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-MRXMDOQY.js');
|
|
4508
4508
|
try {
|
|
4509
4509
|
refuseRemovedFindingFlags(opts);
|
|
4510
4510
|
const result = await runEmitFinding({
|
|
@@ -4571,7 +4571,7 @@ the whole batch. "untimed": true records one with no time on purpose.
|
|
|
4571
4571
|
that session was launched for is used automatically.
|
|
4572
4572
|
`
|
|
4573
4573
|
).action(async (file, opts) => {
|
|
4574
|
-
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4574
|
+
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-MRXMDOQY.js');
|
|
4575
4575
|
try {
|
|
4576
4576
|
const result = await runEmitFindings({
|
|
4577
4577
|
file,
|
|
@@ -4606,7 +4606,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
|
|
|
4606
4606
|
the step, the command prints why and exits 1.
|
|
4607
4607
|
`
|
|
4608
4608
|
).action(async (name, opts) => {
|
|
4609
|
-
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-
|
|
4609
|
+
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-TL73HPJY.js');
|
|
4610
4610
|
try {
|
|
4611
4611
|
await runEmitStep({
|
|
4612
4612
|
name,
|
|
@@ -4649,7 +4649,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
|
|
|
4649
4649
|
${cliInvocation()} emit criteria acceptance/412-login.md --item 412
|
|
4650
4650
|
`
|
|
4651
4651
|
).action(async (file, opts) => {
|
|
4652
|
-
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-
|
|
4652
|
+
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-TLO4L3FN.js');
|
|
4653
4653
|
try {
|
|
4654
4654
|
const result = await runEmitCriteria({
|
|
4655
4655
|
file,
|
|
@@ -4673,9 +4673,9 @@ function registerSpecCommands(program2) {
|
|
|
4673
4673
|
const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
|
|
4674
4674
|
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)");
|
|
4675
4675
|
const run = async (action) => {
|
|
4676
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4676
|
+
const { WorkCommandError } = await import('./work-cmd-EHDLH3CJ.js');
|
|
4677
4677
|
try {
|
|
4678
|
-
await action(await import('./spec-cmd-
|
|
4678
|
+
await action(await import('./spec-cmd-NPZ2H3ZN.js'));
|
|
4679
4679
|
} catch (err) {
|
|
4680
4680
|
if (err instanceof WorkCommandError) {
|
|
4681
4681
|
fail(err.message);
|
|
@@ -4710,7 +4710,7 @@ Prints each problem the item covers with its id, its reports and its result.
|
|
|
4710
4710
|
session was launched for is used.
|
|
4711
4711
|
`
|
|
4712
4712
|
).action(async (opts) => {
|
|
4713
|
-
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-
|
|
4713
|
+
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-WPHPYWZJ.js');
|
|
4714
4714
|
try {
|
|
4715
4715
|
const result = await runFindingsShow({
|
|
4716
4716
|
item: opts.item,
|
|
@@ -4738,7 +4738,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
|
|
|
4738
4738
|
problem to replace the earlier result. A problem the item does not cover is refused.
|
|
4739
4739
|
`
|
|
4740
4740
|
).action(async (problem, opts) => {
|
|
4741
|
-
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-
|
|
4741
|
+
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-WPHPYWZJ.js');
|
|
4742
4742
|
try {
|
|
4743
4743
|
const result = await runFindingsResult({
|
|
4744
4744
|
problem,
|
|
@@ -4780,7 +4780,7 @@ takes it, and prints the line that starts your session on it. That
|
|
|
4780
4780
|
session links itself and holds the item's lease while it works.
|
|
4781
4781
|
`
|
|
4782
4782
|
).action(async (opts) => {
|
|
4783
|
-
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-
|
|
4783
|
+
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-EHDLH3CJ.js');
|
|
4784
4784
|
try {
|
|
4785
4785
|
await runWorkBuild(opts);
|
|
4786
4786
|
} catch (err) {
|
|
@@ -4803,7 +4803,7 @@ renews that session's own 20-minute lease, unless --no-lease or
|
|
|
4803
4803
|
--ended is given, or another worker already holds a live one.
|
|
4804
4804
|
`
|
|
4805
4805
|
).action(async (number, opts) => {
|
|
4806
|
-
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-
|
|
4806
|
+
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-EHDLH3CJ.js');
|
|
4807
4807
|
try {
|
|
4808
4808
|
await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
|
|
4809
4809
|
} catch (err) {
|
|
@@ -4827,8 +4827,8 @@ criterion's new proof; --ready hands the thread back to a person. At
|
|
|
4827
4827
|
most one action flag may be given.
|
|
4828
4828
|
`
|
|
4829
4829
|
).action(async (opts) => {
|
|
4830
|
-
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4831
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4830
|
+
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-YPNDPDHP.js');
|
|
4831
|
+
const { WorkCommandError } = await import('./work-cmd-EHDLH3CJ.js');
|
|
4832
4832
|
try {
|
|
4833
4833
|
await runWorkComment(opts);
|
|
4834
4834
|
} catch (err) {
|
|
@@ -4849,8 +4849,8 @@ criterion that carries proof or a comment, each with who is waiting
|
|
|
4849
4849
|
on whom next.
|
|
4850
4850
|
`
|
|
4851
4851
|
).action(async (opts) => {
|
|
4852
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4853
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4852
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-YPNDPDHP.js');
|
|
4853
|
+
const { WorkCommandError } = await import('./work-cmd-EHDLH3CJ.js');
|
|
4854
4854
|
try {
|
|
4855
4855
|
await runWorkThreads(opts);
|
|
4856
4856
|
} catch (err) {
|
|
@@ -4874,8 +4874,8 @@ still running, or that an older runner released, has no log and the
|
|
|
4874
4874
|
command exits 1.
|
|
4875
4875
|
`
|
|
4876
4876
|
).action(async (opts) => {
|
|
4877
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
4878
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4877
|
+
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-4PCBHRM2.js');
|
|
4878
|
+
const { WorkCommandError } = await import('./work-cmd-EHDLH3CJ.js');
|
|
4879
4879
|
try {
|
|
4880
4880
|
await runWorkLogs(opts);
|
|
4881
4881
|
} catch (err) {
|
|
@@ -4898,8 +4898,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
4898
4898
|
build is running for the item.
|
|
4899
4899
|
`
|
|
4900
4900
|
).action(async (opts) => {
|
|
4901
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
4902
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4901
|
+
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-RB64IM3K.js');
|
|
4902
|
+
const { WorkCommandError } = await import('./work-cmd-EHDLH3CJ.js');
|
|
4903
4903
|
try {
|
|
4904
4904
|
await runWorkStop(opts);
|
|
4905
4905
|
} catch (err) {
|
|
@@ -4920,8 +4920,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
|
|
|
4920
4920
|
test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
|
|
4921
4921
|
`
|
|
4922
4922
|
).action(async (opts) => {
|
|
4923
|
-
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-
|
|
4924
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4923
|
+
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-TM47UETD.js');
|
|
4924
|
+
const { WorkCommandError } = await import('./work-cmd-EHDLH3CJ.js');
|
|
4925
4925
|
try {
|
|
4926
4926
|
await runWorkDemo(opts);
|
|
4927
4927
|
} catch (err) {
|
|
@@ -4942,7 +4942,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
4942
4942
|
live addition remains on it.
|
|
4943
4943
|
`
|
|
4944
4944
|
).action(async (opts) => {
|
|
4945
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
4945
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-EHDLH3CJ.js');
|
|
4946
4946
|
try {
|
|
4947
4947
|
await runWorkRemove(opts);
|
|
4948
4948
|
} catch (err) {
|
|
@@ -4954,7 +4954,7 @@ live addition remains on it.
|
|
|
4954
4954
|
}
|
|
4955
4955
|
});
|
|
4956
4956
|
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) => {
|
|
4957
|
-
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-
|
|
4957
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-EHDLH3CJ.js');
|
|
4958
4958
|
try {
|
|
4959
4959
|
await runWorkStatus(opts);
|
|
4960
4960
|
} catch (err) {
|
|
@@ -4999,11 +4999,11 @@ differs from HEAD.
|
|
|
4999
4999
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5000
5000
|
return;
|
|
5001
5001
|
}
|
|
5002
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5002
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-U6XFQ34N.js');
|
|
5003
5003
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5004
5004
|
});
|
|
5005
5005
|
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) => {
|
|
5006
|
-
const { runWorkList, WorkCommandError } = await import('./work-cmd-
|
|
5006
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-EHDLH3CJ.js');
|
|
5007
5007
|
try {
|
|
5008
5008
|
await runWorkList(opts);
|
|
5009
5009
|
} catch (err) {
|
|
@@ -5024,7 +5024,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
5024
5024
|
it. --host is a label only.
|
|
5025
5025
|
`
|
|
5026
5026
|
).action(async (opts) => {
|
|
5027
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
5027
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-CN5FR3G4.js');
|
|
5028
5028
|
try {
|
|
5029
5029
|
await runWorkClaim(opts);
|
|
5030
5030
|
} catch (err) {
|
|
@@ -5044,7 +5044,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5044
5044
|
lease has expired, or a 403 if a different key holds it.
|
|
5045
5045
|
`
|
|
5046
5046
|
).action(async (opts) => {
|
|
5047
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5047
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-CN5FR3G4.js');
|
|
5048
5048
|
try {
|
|
5049
5049
|
await runWorkRenew(opts);
|
|
5050
5050
|
} catch (err) {
|
|
@@ -5076,7 +5076,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5076
5076
|
takes the lease again.
|
|
5077
5077
|
`
|
|
5078
5078
|
).action(async (opts) => {
|
|
5079
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5079
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-CN5FR3G4.js');
|
|
5080
5080
|
try {
|
|
5081
5081
|
await runWorkRelease(opts);
|
|
5082
5082
|
} catch (err) {
|
|
@@ -5103,7 +5103,7 @@ Idempotent: declaring the same pull request twice is a no-op.
|
|
|
5103
5103
|
needs your own login; an agent session or a factory key is refused.
|
|
5104
5104
|
`
|
|
5105
5105
|
).action(async (number, opts) => {
|
|
5106
|
-
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-
|
|
5106
|
+
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-N63H6OJM.js');
|
|
5107
5107
|
try {
|
|
5108
5108
|
await runWorkPr({ ...opts, number });
|
|
5109
5109
|
} catch (err) {
|
|
@@ -5128,8 +5128,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
5128
5128
|
Run it again after a change to the title or description.
|
|
5129
5129
|
`
|
|
5130
5130
|
).action(async (opts) => {
|
|
5131
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
5132
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5131
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-ESLHVNO5.js');
|
|
5132
|
+
const { WorkCommandError } = await import('./work-cmd-EHDLH3CJ.js');
|
|
5133
5133
|
try {
|
|
5134
5134
|
await runWorkOpenPr(opts);
|
|
5135
5135
|
} catch (err) {
|
|
@@ -5145,8 +5145,8 @@ function registerRunnerCommands(program2) {
|
|
|
5145
5145
|
const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
|
|
5146
5146
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5147
5147
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5148
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5149
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5148
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-YI5R4K77.js');
|
|
5149
|
+
const { start, RunnerStartError } = await import('./loop-XZH3TA5Z.js');
|
|
5150
5150
|
const { RunnerAlreadyRunningError } = await import('./pidfile-KQ2EJABZ.js');
|
|
5151
5151
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5152
5152
|
try {
|
|
@@ -5164,9 +5164,9 @@ function registerRunnerCommands(program2) {
|
|
|
5164
5164
|
"after",
|
|
5165
5165
|
"\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"
|
|
5166
5166
|
).action(async () => {
|
|
5167
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5168
|
-
const { containerStart } = await import('./container-start-
|
|
5169
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5167
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-YI5R4K77.js');
|
|
5168
|
+
const { containerStart } = await import('./container-start-W3BDQAQE.js');
|
|
5169
|
+
const { start, RunnerStartError } = await import('./loop-XZH3TA5Z.js');
|
|
5170
5170
|
const { RunnerAlreadyRunningError } = await import('./pidfile-KQ2EJABZ.js');
|
|
5171
5171
|
try {
|
|
5172
5172
|
const result = await containerStart({
|
|
@@ -5188,16 +5188,16 @@ function registerRunnerCommands(program2) {
|
|
|
5188
5188
|
"after",
|
|
5189
5189
|
"\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"
|
|
5190
5190
|
).action(async (opts) => {
|
|
5191
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5191
|
+
const { defaultRunnerConfigPath } = await import('./config-YI5R4K77.js');
|
|
5192
5192
|
const { runnerDir } = await import('./paths-7PC3K7C3.js');
|
|
5193
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5193
|
+
const { runUpdateSteps } = await import('./update-steps-N6U2OWK6.js');
|
|
5194
5194
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5195
5195
|
process.stdout.write(`${text}
|
|
5196
5196
|
`);
|
|
5197
5197
|
});
|
|
5198
5198
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5199
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5200
|
-
const { runRunnerCheck } = await import('./check-
|
|
5199
|
+
const { defaultRunnerConfigPath } = await import('./config-YI5R4K77.js');
|
|
5200
|
+
const { runRunnerCheck } = await import('./check-FYYNT3UP.js');
|
|
5201
5201
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5202
5202
|
const result = await runRunnerCheck(configPath);
|
|
5203
5203
|
if (!result.ok) {
|
|
@@ -5218,7 +5218,7 @@ function registerRunnerCommands(program2) {
|
|
|
5218
5218
|
`);
|
|
5219
5219
|
});
|
|
5220
5220
|
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) => {
|
|
5221
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5221
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-YI5R4K77.js');
|
|
5222
5222
|
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-ZEFBJH24.js');
|
|
5223
5223
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5224
5224
|
if (opts.service !== true) {
|
|
@@ -5231,13 +5231,13 @@ function registerRunnerCommands(program2) {
|
|
|
5231
5231
|
}
|
|
5232
5232
|
}
|
|
5233
5233
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5234
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5234
|
+
if (buildCpusMax !== void 0 && !(await import('./command-Y2HFOL33.js')).cpusAreValid(buildCpusMax)) {
|
|
5235
5235
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5236
5236
|
return;
|
|
5237
5237
|
}
|
|
5238
5238
|
try {
|
|
5239
5239
|
if (opts.service === true) {
|
|
5240
|
-
const { installServiceCommand } = await import('./command-
|
|
5240
|
+
const { installServiceCommand } = await import('./command-Y2HFOL33.js');
|
|
5241
5241
|
const result2 = await installServiceCommand({
|
|
5242
5242
|
configPath,
|
|
5243
5243
|
print: opts.print,
|
|
@@ -5294,8 +5294,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5294
5294
|
fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
|
|
5295
5295
|
return;
|
|
5296
5296
|
}
|
|
5297
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5298
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5297
|
+
const { defaultRunnerConfigPath } = await import('./config-YI5R4K77.js');
|
|
5298
|
+
const { uninstallServiceCommand } = await import('./command-Y2HFOL33.js');
|
|
5299
5299
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5300
5300
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5301
5301
|
`);
|
|
@@ -5322,12 +5322,12 @@ already in claude.env is used.
|
|
|
5322
5322
|
printf '%s' "$CLAUDE_CODE_OAUTH_TOKEN" | ${cliInvocation()} runner init --agent claude --factory <org>/<factory>
|
|
5323
5323
|
`
|
|
5324
5324
|
).action(async (opts) => {
|
|
5325
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5326
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5327
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5328
|
-
const { detectMachine } = await import('./machine-
|
|
5329
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5330
|
-
const { AGENT_COMMANDS, credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-
|
|
5325
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-YI5R4K77.js');
|
|
5326
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-HTX7R3O6.js');
|
|
5327
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-MNVNR6UM.js');
|
|
5328
|
+
const { detectMachine } = await import('./machine-L4U73LZN.js');
|
|
5329
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-4MUFI7Q7.js');
|
|
5330
|
+
const { AGENT_COMMANDS, credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-P7BHDTKU.js');
|
|
5331
5331
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5332
5332
|
if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
|
|
5333
5333
|
fail(`--agent ${opts.agent}: runner init writes commands for ${Object.keys(AGENT_COMMANDS).join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
|
|
@@ -5477,7 +5477,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5477
5477
|
let serviceUp = false;
|
|
5478
5478
|
let restart;
|
|
5479
5479
|
if (installedLayout) {
|
|
5480
|
-
const { installServiceCommand } = await import('./command-
|
|
5480
|
+
const { installServiceCommand } = await import('./command-Y2HFOL33.js');
|
|
5481
5481
|
const service = await installServiceCommand({
|
|
5482
5482
|
configPath,
|
|
5483
5483
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5521,12 +5521,12 @@ Next:
|
|
|
5521
5521
|
"after",
|
|
5522
5522
|
"\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"
|
|
5523
5523
|
).action(async (opts) => {
|
|
5524
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5525
|
-
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-
|
|
5524
|
+
const { defaultRunnerConfigPath } = await import('./config-YI5R4K77.js');
|
|
5525
|
+
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-WC5EBFL3.js');
|
|
5526
5526
|
const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
|
|
5527
|
-
const { createDockerHost } = await import('./docker-
|
|
5528
|
-
const { builderSpec } = await import('./builder-
|
|
5529
|
-
const { loadRunnerConfig } = await import('./config-
|
|
5527
|
+
const { createDockerHost } = await import('./docker-36W7PA5I.js');
|
|
5528
|
+
const { builderSpec } = await import('./builder-IIFXZVGN.js');
|
|
5529
|
+
const { loadRunnerConfig } = await import('./config-YI5R4K77.js');
|
|
5530
5530
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5531
5531
|
const loaded = (() => {
|
|
5532
5532
|
try {
|
|
@@ -5537,12 +5537,12 @@ Next:
|
|
|
5537
5537
|
})();
|
|
5538
5538
|
const memory = loaded?.build?.memory ?? "8g";
|
|
5539
5539
|
try {
|
|
5540
|
-
const { ensureRunnerIdentity } = await import('./runner-identity-
|
|
5540
|
+
const { ensureRunnerIdentity } = await import('./runner-identity-BQEM2OHY.js');
|
|
5541
5541
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5542
5542
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5543
5543
|
});
|
|
5544
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5545
|
-
const { runnerCalls } = await import('./caller-
|
|
5544
|
+
const { imageTargetFor } = await import('./governing-source-HAJVYDYG.js');
|
|
5545
|
+
const { runnerCalls } = await import('./caller-VWXDLYPU.js');
|
|
5546
5546
|
const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
|
|
5547
5547
|
if (!target.ok) {
|
|
5548
5548
|
if (opts.json) {
|
|
@@ -5606,17 +5606,17 @@ Next:
|
|
|
5606
5606
|
}
|
|
5607
5607
|
});
|
|
5608
5608
|
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) => {
|
|
5609
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5610
|
-
const { requestStop } = await import('./loop-
|
|
5609
|
+
const { defaultRunnerConfigPath } = await import('./config-YI5R4K77.js');
|
|
5610
|
+
const { requestStop } = await import('./loop-XZH3TA5Z.js');
|
|
5611
5611
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5612
5612
|
const { runnerImageVersion } = await import('./image-tag-JWATDMIZ.js');
|
|
5613
5613
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
5614
5614
|
});
|
|
5615
5615
|
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) => {
|
|
5616
|
-
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-
|
|
5616
|
+
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-YI5R4K77.js');
|
|
5617
5617
|
const { jobsDir, runnerDir } = await import('./paths-7PC3K7C3.js');
|
|
5618
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5619
|
-
const { renderStatus } = await import('./status-
|
|
5618
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-XZH3TA5Z.js');
|
|
5619
|
+
const { renderStatus } = await import('./status-G4EL4ZCI.js');
|
|
5620
5620
|
const { readHousekeepingRecord } = await import('./record-IHEF6C33.js');
|
|
5621
5621
|
const path2 = await import('path');
|
|
5622
5622
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -5642,7 +5642,7 @@ Next:
|
|
|
5642
5642
|
const processState = runnerProcessState(configPath);
|
|
5643
5643
|
const service = await (async () => {
|
|
5644
5644
|
if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
|
|
5645
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
5645
|
+
const { inspectRunnerService } = await import('./find-unit-LIJR6HXI.js');
|
|
5646
5646
|
const facts = inspectRunnerService(configPath);
|
|
5647
5647
|
return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
|
|
5648
5648
|
})();
|
|
@@ -5681,8 +5681,8 @@ Next:
|
|
|
5681
5681
|
);
|
|
5682
5682
|
});
|
|
5683
5683
|
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) => {
|
|
5684
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5685
|
-
const { listJobFiles } = await import('./loop-
|
|
5684
|
+
const { defaultRunnerConfigPath } = await import('./config-YI5R4K77.js');
|
|
5685
|
+
const { listJobFiles } = await import('./loop-XZH3TA5Z.js');
|
|
5686
5686
|
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-3YRC7HRA.js');
|
|
5687
5687
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5688
5688
|
const jobs = listJobFiles(configPath);
|
|
@@ -5937,7 +5937,7 @@ would get, the instruction files and the names of the skills. It warns when the
|
|
|
5937
5937
|
no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
|
|
5938
5938
|
`
|
|
5939
5939
|
).action(async (opts) => {
|
|
5940
|
-
const { runContextShow, ContextShowError } = await import('./context-show-cmd-
|
|
5940
|
+
const { runContextShow, ContextShowError } = await import('./context-show-cmd-OLJEKW2G.js');
|
|
5941
5941
|
try {
|
|
5942
5942
|
const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
|
|
5943
5943
|
process.stdout.write(result.output);
|
|
@@ -3,32 +3,32 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { realOwnership, accountNamed, handOver, runRunnerInstall, launcherSummary, restartNote, accountIdentity } from './chunk-2F43WNKI.js';
|
|
4
4
|
import './chunk-VNHBDHX7.js';
|
|
5
5
|
import { currentLink, execStartCommand } from './chunk-7R655ODT.js';
|
|
6
|
-
import { detectMachine, helperSocketPath, ensureFirecrackerAndJailer } from './chunk-
|
|
6
|
+
import { detectMachine, helperSocketPath, ensureFirecrackerAndJailer } from './chunk-7K6MTRN2.js';
|
|
7
7
|
import './chunk-2PGI6RDE.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-IP3HLHWO.js';
|
|
9
9
|
import './chunk-F26I6GKL.js';
|
|
10
10
|
import './chunk-AUVJMR3P.js';
|
|
11
11
|
import './chunk-JBJTC3UU.js';
|
|
12
12
|
import './chunk-OGFGZQA3.js';
|
|
13
13
|
import './chunk-4PH4DVV4.js';
|
|
14
14
|
import './chunk-UZGQT6OF.js';
|
|
15
|
-
import './chunk-
|
|
15
|
+
import './chunk-H467HI5U.js';
|
|
16
16
|
import './chunk-SQGD4LYW.js';
|
|
17
17
|
import './chunk-TQMI335S.js';
|
|
18
|
-
import './chunk-
|
|
19
|
-
import { unitNameProblem, DEFAULT_UNIT_NAME, checkFit, installService, uninstallService, realTaskScheduler, UNIT_MARKER } from './chunk-
|
|
18
|
+
import './chunk-SIF536BT.js';
|
|
19
|
+
import { unitNameProblem, DEFAULT_UNIT_NAME, checkFit, installService, uninstallService, realTaskScheduler, UNIT_MARKER } from './chunk-JBUFM5JN.js';
|
|
20
20
|
import { realLima } from './chunk-77MM5RYD.js';
|
|
21
21
|
import { writeLaunchAgent, launchAgentPath } from './chunk-LF6MLJCY.js';
|
|
22
|
-
import './chunk-
|
|
23
|
-
import { runnerVmOf, loadRunnerConfig, builtinKind } from './chunk-
|
|
24
|
-
import './chunk-
|
|
25
|
-
import { parseSize, readJobFile } from './chunk-
|
|
22
|
+
import './chunk-7NARODRP.js';
|
|
23
|
+
import { runnerVmOf, loadRunnerConfig, builtinKind } from './chunk-HNA33MLR.js';
|
|
24
|
+
import './chunk-PHETCXGP.js';
|
|
25
|
+
import { parseSize, readJobFile } from './chunk-DVXUUCOF.js';
|
|
26
26
|
import './chunk-NGT2CCGM.js';
|
|
27
27
|
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-PZN4L2DN.js';
|
|
28
|
-
import './chunk-
|
|
28
|
+
import './chunk-NZDM6KJ2.js';
|
|
29
29
|
import './chunk-IP7BIBXJ.js';
|
|
30
|
-
import './chunk-
|
|
31
|
-
import './chunk-
|
|
30
|
+
import './chunk-QZQ2UTPE.js';
|
|
31
|
+
import './chunk-RWQLBHU3.js';
|
|
32
32
|
import './chunk-ZI2E4YMY.js';
|
|
33
33
|
import './chunk-A2LHHKTT.js';
|
|
34
34
|
import './chunk-2AM6Z5BP.js';
|
|
@@ -44,7 +44,7 @@ import './chunk-FGF52V4V.js';
|
|
|
44
44
|
import './chunk-HCVLP7XA.js';
|
|
45
45
|
import './chunk-BJ3KTMDH.js';
|
|
46
46
|
import './chunk-UPRZREBO.js';
|
|
47
|
-
import './chunk-
|
|
47
|
+
import './chunk-H25XK3DY.js';
|
|
48
48
|
import './chunk-OLM2TIOW.js';
|
|
49
49
|
import './chunk-CDDED64E.js';
|
|
50
50
|
import './chunk-RA3O54FC.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
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-
|
|
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-HNA33MLR.js';
|
|
4
|
+
import './chunk-PHETCXGP.js';
|
|
5
|
+
import './chunk-DVXUUCOF.js';
|
|
6
6
|
import './chunk-NGT2CCGM.js';
|
|
7
7
|
import './chunk-PZN4L2DN.js';
|
|
8
8
|
import './chunk-XU5BNWX7.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-H25XK3DY.js';
|
|
10
10
|
import './chunk-YTTESG7K.js';
|
|
11
11
|
import './chunk-352DHUTP.js';
|
|
12
12
|
import './chunk-YQHUCOUL.js';
|