@outerlayer/cli 0.36.0-next.20261101022001 → 0.36.0-next.20261101121137
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-XZGB4JPQ.js → build-IENNKWWC.js} +3 -3
- package/dist/{build-disk-YLQT3UHL.js → build-disk-M33Q6L22.js} +3 -3
- package/dist/build-info.json +1 -1
- package/dist/{builder-TS3QFXN4.js → builder-YNMSYR75.js} +2 -2
- package/dist/{caller-VHISEQAD.js → caller-2GU5V52U.js} +5 -5
- package/dist/{check-LUQM6DGK.js → check-G4TVQKN3.js} +21 -21
- package/dist/{chunk-7EPIOSLO.js → chunk-2ANBJ7DB.js} +1 -1
- package/dist/{chunk-XTVVKNRP.js → chunk-2QW2PLWT.js} +2 -2
- package/dist/{chunk-NRTRPGCW.js → chunk-3DMCCCVM.js} +1 -1
- package/dist/{chunk-5UBNSGK3.js → chunk-3ONYQMGD.js} +2 -2
- package/dist/{chunk-ZJ4Y2BOI.js → chunk-3YX7FHYP.js} +5 -5
- package/dist/{chunk-GU25RNKD.js → chunk-46YRS7QS.js} +2 -2
- package/dist/{chunk-LHFG5YUG.js → chunk-4W7CPTKY.js} +2 -2
- package/dist/{chunk-CVQ4YBBE.js → chunk-5DYL6FJA.js} +2 -2
- package/dist/{chunk-NIZ7FXUX.js → chunk-6CYNPWZT.js} +75 -22
- package/dist/{chunk-IP7F4CQH.js → chunk-6GA5BJTH.js} +2 -2
- package/dist/{chunk-3GFZSLSP.js → chunk-6KHQGLNT.js} +2 -2
- package/dist/{chunk-LXYWSGEW.js → chunk-A67A5SWG.js} +1 -1
- package/dist/{chunk-XZ7NIGVA.js → chunk-A7D5BMII.js} +2 -2
- package/dist/{chunk-PDQWXH3F.js → chunk-CIEX2ZKQ.js} +3 -3
- package/dist/{chunk-JPROSTGX.js → chunk-CONA2WNE.js} +1 -1
- package/dist/{chunk-6O33JZ3X.js → chunk-DZDTSDHQ.js} +1 -1
- package/dist/{chunk-IVH7WDOO.js → chunk-GQ7VVBUA.js} +4 -4
- package/dist/{chunk-SK7ZXQIV.js → chunk-H3TI7BQX.js} +64 -6
- package/dist/{chunk-RUK7QHSH.js → chunk-HGGR7Y3V.js} +1 -1
- package/dist/{chunk-6IJZL7X2.js → chunk-IM2DECLP.js} +2 -2
- package/dist/{chunk-453B2ZHX.js → chunk-K66FIV2S.js} +2 -2
- package/dist/{chunk-4NMAJYYE.js → chunk-MDFOS4OM.js} +1 -1
- package/dist/{chunk-GQVOK4ZO.js → chunk-RGU6LHPI.js} +14 -14
- package/dist/{chunk-MXWPLGO6.js → chunk-SQ6HDN7A.js} +33 -7
- package/dist/{chunk-AHEIZCCA.js → chunk-SRENPED2.js} +7 -7
- package/dist/{chunk-H3S5LJI2.js → chunk-UFRRRF64.js} +2 -2
- package/dist/{chunk-IGHAPIKZ.js → chunk-UIKUH2UQ.js} +1 -1
- package/dist/{chunk-IVY3PD7P.js → chunk-VI6Z4EJZ.js} +2 -2
- package/dist/{chunk-T3SRWWPX.js → chunk-VIJWXQMT.js} +3 -3
- package/dist/{chunk-HDTFRHY6.js → chunk-YCUUZGFF.js} +5 -5
- package/dist/{cli-I7ZLMEL6.js → cli-CMO2CMXG.js} +88 -88
- package/dist/{command-TDJDBIXU.js → command-GKVKI74I.js} +17 -17
- package/dist/{config-FF3E73ZE.js → config-4HXUXX3M.js} +4 -4
- package/dist/{connect-cmd-IRJ3MBPY.js → connect-cmd-GLB2X7YA.js} +2 -2
- package/dist/{container-start-DNGL4XJ3.js → container-start-OMF3ZUIB.js} +18 -18
- package/dist/{context-show-cmd-YQEQ5B34.js → context-show-cmd-MKQAAR7R.js} +3 -3
- package/dist/{demo-voice-cmd-QFVATHAQ.js → demo-voice-cmd-SMR3QVZA.js} +7 -7
- package/dist/{dist-2SPMAD7Z.js → dist-Y3WSK7OZ.js} +1 -1
- package/dist/{docker-6QIZVYF3.js → docker-AFJABU7U.js} +2 -2
- package/dist/{doctor-LXVJQKME.js → doctor-FEBZ3DZB.js} +18 -18
- package/dist/{emit-artifact-cmd-3YHOU4TI.js → emit-artifact-cmd-DGFH4MUK.js} +6 -6
- package/dist/{emit-criteria-cmd-NN52H53B.js → emit-criteria-cmd-B23VYUF6.js} +4 -4
- package/dist/{emit-demo-cmd-ZYMLB5R5.js → emit-demo-cmd-ELRNY5FA.js} +7 -7
- package/dist/{emit-finding-cmd-J5UZGNP4.js → emit-finding-cmd-DNFJEYQS.js} +4 -4
- package/dist/{emit-result-cmd-IWMACBFI.js → emit-result-cmd-OR5WTW4P.js} +5 -5
- package/dist/{emit-step-cmd-SRWFWEU7.js → emit-step-cmd-AAEBYW3L.js} +4 -4
- package/dist/{find-unit-EX5ETHGL.js → find-unit-4XKMNIE7.js} +6 -6
- package/dist/{findings-cmd-BWTLCXDR.js → findings-cmd-LTM62M3K.js} +4 -4
- package/dist/{governing-source-3LUGSBRW.js → governing-source-75MBT2IE.js} +5 -5
- package/dist/{host-checks-7NCEW7FR.js → host-checks-PUI32LIA.js} +16 -16
- package/dist/index.js +1 -1
- package/dist/{init-AQJEIH57.js → init-O5H4TWA7.js} +16 -16
- package/dist/{init-U4AM3APJ.js → init-Y672J4BW.js} +16 -16
- package/dist/{init-cmd-SP4YMVKT.js → init-cmd-HWAXEEOD.js} +5 -5
- package/dist/{init-update-4IQPGOA6.js → init-update-3W2TOJQV.js} +2 -2
- package/dist/{loop-NKJRLAGI.js → loop-QJGPNIT4.js} +20 -20
- package/dist/{machine-VV4LYWZQ.js → machine-YKQSW22W.js} +16 -16
- package/dist/{runner-env-LWKAYARL.js → runner-env-FK3SUT3Q.js} +6 -6
- package/dist/{runner-identity-WUAQLGRY.js → runner-identity-WYAGV6UQ.js} +2 -2
- package/dist/{runner-key-4JXOPPUJ.js → runner-key-HUOW7X7B.js} +16 -16
- package/dist/{session-sender-EINASB3R.js → session-sender-32UAV25N.js} +6 -6
- package/dist/{spec-cmd-6LT5JJKG.js → spec-cmd-TPRHZ3EV.js} +5 -5
- package/dist/{status-OADVUMST.js → status-HDJ2V5UD.js} +16 -16
- package/dist/{sync-cmd-Z6PU33GC.js → sync-cmd-AHXCXMVP.js} +5 -5
- package/dist/{update-steps-GRF3BQ5M.js → update-steps-F37GQWLJ.js} +17 -17
- package/dist/{watch-XNBXSIEI.js → watch-4EDI4CTS.js} +5 -5
- package/dist/{work-claim-cmd-2OO73LEV.js → work-claim-cmd-GFRZBX2V.js} +8 -8
- package/dist/{work-cmd-YOWM4KZU.js → work-cmd-FLKJQWGQ.js} +4 -4
- package/dist/{work-comment-cmd-7AKCM2JN.js → work-comment-cmd-3HUIIEQD.js} +5 -5
- package/dist/{work-demo-cmd-DHJDR7BB.js → work-demo-cmd-FDPDTXG6.js} +4 -4
- package/dist/{work-logs-cmd-62PZKGUU.js → work-logs-cmd-PSB44DT5.js} +4 -4
- package/dist/{work-open-pr-cmd-DMDHGKEJ.js → work-open-pr-cmd-QJW5PNT2.js} +5 -5
- package/dist/{work-pr-cmd-QGAOPNLV.js → work-pr-cmd-HMGBUHGL.js} +4 -4
- package/dist/{work-proofs-cmd-UQPQF7CK.js → work-proofs-cmd-CVDZARET.js} +5 -5
- package/dist/{work-proofs-record-SRL7DRXV.js → work-proofs-record-RCD7XSUK.js} +10 -10
- package/dist/{work-stop-cmd-NYPQKSHC.js → work-stop-cmd-YO7SBPNF.js} +4 -4
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-build/references/agent-briefs.md +6 -4
- package/skill-pack/maintained/outerlayer-evidence/SKILL.md +18 -12
- package/skill-pack/maintained/outerlayer-evidence/references/demo.md +38 -6
|
@@ -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-SRENPED2.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-VIJWXQMT.js';
|
|
8
8
|
import './chunk-IP7BIBXJ.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
9
|
+
import './chunk-4W7CPTKY.js';
|
|
10
|
+
import './chunk-CONA2WNE.js';
|
|
11
11
|
import './chunk-5H57X7YC.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-OLENS2DD.js';
|
|
28
28
|
import './chunk-7O7LJWQO.js';
|
|
29
|
-
import './chunk-
|
|
29
|
+
import './chunk-SQ6HDN7A.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-GLB2X7YA.js');
|
|
3803
|
+
const { resolveRepoIdentity } = await import('./dist-Y3WSK7OZ.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-3W2TOJQV.js');
|
|
3878
3878
|
const { fleetReadiness } = await import('./fleet-readiness-FAKMWCJV.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-HWAXEEOD.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-HWAXEEOD.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-GLB2X7YA.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-GLB2X7YA.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-AHXCXMVP.js');
|
|
4074
4074
|
try {
|
|
4075
4075
|
const result = await runSync({
|
|
4076
4076
|
url: opts.url,
|
|
@@ -4099,7 +4099,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4099
4099
|
if (invokedCommandToken(argv) === "watch") {
|
|
4100
4100
|
warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
|
|
4101
4101
|
}
|
|
4102
|
-
const { runWatch } = await import('./watch-
|
|
4102
|
+
const { runWatch } = await import('./watch-4EDI4CTS.js');
|
|
4103
4103
|
await runWatch({ once: opts.once });
|
|
4104
4104
|
});
|
|
4105
4105
|
program2.command("hook <event>", { hidden: true }).description("capture-hook fast path, installed by `init`").action(() => {
|
|
@@ -4189,7 +4189,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4189
4189
|
process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
|
|
4190
4190
|
});
|
|
4191
4191
|
program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
|
|
4192
|
-
const { runSessionSender } = await import('./session-sender-
|
|
4192
|
+
const { runSessionSender } = await import('./session-sender-32UAV25N.js');
|
|
4193
4193
|
try {
|
|
4194
4194
|
await runSessionSender();
|
|
4195
4195
|
} catch (err) {
|
|
@@ -4285,7 +4285,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
|
|
|
4285
4285
|
await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
|
|
4286
4286
|
return;
|
|
4287
4287
|
}
|
|
4288
|
-
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-
|
|
4288
|
+
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-OR5WTW4P.js');
|
|
4289
4289
|
try {
|
|
4290
4290
|
const result = await runEmitResult({
|
|
4291
4291
|
name,
|
|
@@ -4336,7 +4336,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
|
|
|
4336
4336
|
locally so it never uploads. One correction can retire several duplicates.
|
|
4337
4337
|
`
|
|
4338
4338
|
).action(async (file, opts) => {
|
|
4339
|
-
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-
|
|
4339
|
+
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-DGFH4MUK.js');
|
|
4340
4340
|
let pr;
|
|
4341
4341
|
if (opts.pr !== void 0) {
|
|
4342
4342
|
pr = parseTrackerNumber(opts.pr);
|
|
@@ -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-ELRNY5FA.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-SMR3QVZA.js');
|
|
4439
4439
|
await runDemoVoice();
|
|
4440
4440
|
});
|
|
4441
4441
|
const demoCmd = program2.command("demo").description("Record demos with the recorder this CLI carries");
|
|
@@ -4502,7 +4502,7 @@ recent events with their ids. --find <text> searches all of them.
|
|
|
4502
4502
|
item that session was launched for is used automatically.
|
|
4503
4503
|
`
|
|
4504
4504
|
).action(async (opts) => {
|
|
4505
|
-
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4505
|
+
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-DNFJEYQS.js');
|
|
4506
4506
|
try {
|
|
4507
4507
|
refuseRemovedFindingFlags(opts);
|
|
4508
4508
|
const result = await runEmitFinding({
|
|
@@ -4569,7 +4569,7 @@ the whole batch. "untimed": true records one with no time on purpose.
|
|
|
4569
4569
|
that session was launched for is used automatically.
|
|
4570
4570
|
`
|
|
4571
4571
|
).action(async (file, opts) => {
|
|
4572
|
-
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4572
|
+
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-DNFJEYQS.js');
|
|
4573
4573
|
try {
|
|
4574
4574
|
const result = await runEmitFindings({
|
|
4575
4575
|
file,
|
|
@@ -4604,7 +4604,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
|
|
|
4604
4604
|
the step, the command prints why and exits 1.
|
|
4605
4605
|
`
|
|
4606
4606
|
).action(async (name, opts) => {
|
|
4607
|
-
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-
|
|
4607
|
+
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-AAEBYW3L.js');
|
|
4608
4608
|
try {
|
|
4609
4609
|
await runEmitStep({
|
|
4610
4610
|
name,
|
|
@@ -4647,7 +4647,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
|
|
|
4647
4647
|
${cliInvocation()} emit criteria acceptance/412-login.md --item 412
|
|
4648
4648
|
`
|
|
4649
4649
|
).action(async (file, opts) => {
|
|
4650
|
-
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-
|
|
4650
|
+
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-B23VYUF6.js');
|
|
4651
4651
|
try {
|
|
4652
4652
|
const result = await runEmitCriteria({
|
|
4653
4653
|
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-FLKJQWGQ.js');
|
|
4675
4675
|
try {
|
|
4676
|
-
await action(await import('./spec-cmd-
|
|
4676
|
+
await action(await import('./spec-cmd-TPRHZ3EV.js'));
|
|
4677
4677
|
} catch (err) {
|
|
4678
4678
|
if (err instanceof WorkCommandError) {
|
|
4679
4679
|
fail(err.message);
|
|
@@ -4708,7 +4708,7 @@ Prints each problem the item covers with its id, its reports and its result.
|
|
|
4708
4708
|
session was launched for is used.
|
|
4709
4709
|
`
|
|
4710
4710
|
).action(async (opts) => {
|
|
4711
|
-
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-
|
|
4711
|
+
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-LTM62M3K.js');
|
|
4712
4712
|
try {
|
|
4713
4713
|
const result = await runFindingsShow({
|
|
4714
4714
|
item: opts.item,
|
|
@@ -4736,7 +4736,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
|
|
|
4736
4736
|
problem to replace the earlier result. A problem the item does not cover is refused.
|
|
4737
4737
|
`
|
|
4738
4738
|
).action(async (problem, opts) => {
|
|
4739
|
-
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-
|
|
4739
|
+
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-LTM62M3K.js');
|
|
4740
4740
|
try {
|
|
4741
4741
|
const result = await runFindingsResult({
|
|
4742
4742
|
problem,
|
|
@@ -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-FLKJQWGQ.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-FLKJQWGQ.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-3HUIIEQD.js');
|
|
4836
|
+
const { WorkCommandError } = await import('./work-cmd-FLKJQWGQ.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-3HUIIEQD.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-3HUIIEQD.js');
|
|
4875
|
+
const { WorkCommandError } = await import('./work-cmd-FLKJQWGQ.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-PSB44DT5.js');
|
|
4900
|
+
const { WorkCommandError } = await import('./work-cmd-FLKJQWGQ.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-YO7SBPNF.js');
|
|
4924
|
+
const { WorkCommandError } = await import('./work-cmd-FLKJQWGQ.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-FDPDTXG6.js');
|
|
4946
|
+
const { WorkCommandError } = await import('./work-cmd-FLKJQWGQ.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-FLKJQWGQ.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-FLKJQWGQ.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-CVDZARET.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-FLKJQWGQ.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-GFRZBX2V.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-GFRZBX2V.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-GFRZBX2V.js');
|
|
5102
5102
|
try {
|
|
5103
5103
|
await runWorkRelease(opts);
|
|
5104
5104
|
} catch (err) {
|
|
@@ -5125,7 +5125,7 @@ Idempotent: declaring the same pull request twice is a no-op.
|
|
|
5125
5125
|
needs your own login; an agent session or a factory key is refused.
|
|
5126
5126
|
`
|
|
5127
5127
|
).action(async (number, opts) => {
|
|
5128
|
-
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-
|
|
5128
|
+
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-HMGBUHGL.js');
|
|
5129
5129
|
try {
|
|
5130
5130
|
await runWorkPr({ ...opts, number });
|
|
5131
5131
|
} 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-QJW5PNT2.js');
|
|
5154
|
+
const { WorkCommandError } = await import('./work-cmd-FLKJQWGQ.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-4HXUXX3M.js');
|
|
5171
|
+
const { start, RunnerStartError } = await import('./loop-QJGPNIT4.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-4HXUXX3M.js');
|
|
5190
|
+
const { containerStart } = await import('./container-start-OMF3ZUIB.js');
|
|
5191
|
+
const { start, RunnerStartError } = await import('./loop-QJGPNIT4.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-4HXUXX3M.js');
|
|
5214
5214
|
const { runnerDir } = await import('./paths-XEYE7OZ2.js');
|
|
5215
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5215
|
+
const { runUpdateSteps } = await import('./update-steps-F37GQWLJ.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-4HXUXX3M.js');
|
|
5222
|
+
const { runRunnerCheck } = await import('./check-G4TVQKN3.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-4HXUXX3M.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-GKVKI74I.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-GKVKI74I.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-4HXUXX3M.js');
|
|
5320
|
+
const { uninstallServiceCommand } = await import('./command-GKVKI74I.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-4HXUXX3M.js');
|
|
5348
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-Y672J4BW.js');
|
|
5349
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-HUOW7X7B.js');
|
|
5350
|
+
const { detectMachine } = await import('./machine-YKQSW22W.js');
|
|
5351
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-O5H4TWA7.js');
|
|
5352
|
+
const { AGENT_COMMANDS, credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-FK3SUT3Q.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-GKVKI74I.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-4HXUXX3M.js');
|
|
5547
|
+
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-IENNKWWC.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-AFJABU7U.js');
|
|
5550
|
+
const { builderSpec } = await import('./builder-YNMSYR75.js');
|
|
5551
|
+
const { loadRunnerConfig } = await import('./config-4HXUXX3M.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-WYAGV6UQ.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-75MBT2IE.js');
|
|
5567
|
+
const { runnerCalls } = await import('./caller-2GU5V52U.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-4HXUXX3M.js');
|
|
5632
|
+
const { requestStop } = await import('./loop-QJGPNIT4.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-4HXUXX3M.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-QJGPNIT4.js');
|
|
5641
|
+
const { renderStatus } = await import('./status-HDJ2V5UD.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-4XKMNIE7.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-4HXUXX3M.js');
|
|
5707
|
+
const { listJobFiles } = await import('./loop-QJGPNIT4.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);
|
|
@@ -5959,7 +5959,7 @@ would get, the instruction files and the names of the skills. It warns when the
|
|
|
5959
5959
|
no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
|
|
5960
5960
|
`
|
|
5961
5961
|
).action(async (opts) => {
|
|
5962
|
-
const { runContextShow, ContextShowError } = await import('./context-show-cmd-
|
|
5962
|
+
const { runContextShow, ContextShowError } = await import('./context-show-cmd-MKQAAR7R.js');
|
|
5963
5963
|
try {
|
|
5964
5964
|
const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
|
|
5965
5965
|
process.stdout.write(result.output);
|
|
@@ -1,48 +1,48 @@
|
|
|
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-K66FIV2S.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-6CYNPWZT.js';
|
|
8
8
|
import './chunk-GDIVOYDA.js';
|
|
9
9
|
import './chunk-I3LTIAOR.js';
|
|
10
10
|
import './chunk-2PGI6RDE.js';
|
|
11
11
|
import './chunk-U553JKMO.js';
|
|
12
|
-
import './chunk-
|
|
13
|
-
import './chunk-
|
|
14
|
-
import './chunk-
|
|
12
|
+
import './chunk-3ONYQMGD.js';
|
|
13
|
+
import './chunk-2QW2PLWT.js';
|
|
14
|
+
import './chunk-6KHQGLNT.js';
|
|
15
15
|
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-3DMCCCVM.js';
|
|
20
|
+
import { unitNameProblem, DEFAULT_UNIT_NAME, checkFit, installService, uninstallService, realTaskScheduler } from './chunk-6GA5BJTH.js';
|
|
21
21
|
import './chunk-NN33FYXG.js';
|
|
22
|
-
import './chunk-
|
|
22
|
+
import './chunk-HGGR7Y3V.js';
|
|
23
23
|
import './chunk-KB5B6ZT5.js';
|
|
24
24
|
import './chunk-WAZJPDR2.js';
|
|
25
25
|
import './chunk-OGFGZQA3.js';
|
|
26
26
|
import './chunk-46OBCATR.js';
|
|
27
|
-
import './chunk-
|
|
27
|
+
import './chunk-2ANBJ7DB.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-
|
|
34
|
+
import './chunk-A67A5SWG.js';
|
|
35
|
+
import { runnerVmOf, loadRunnerConfig, builtinKind } from './chunk-UFRRRF64.js';
|
|
36
|
+
import './chunk-UIKUH2UQ.js';
|
|
37
|
+
import { parseSize, readJobFile } from './chunk-DZDTSDHQ.js';
|
|
38
38
|
import './chunk-CIUD3436.js';
|
|
39
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-VIJWXQMT.js';
|
|
43
43
|
import './chunk-IP7BIBXJ.js';
|
|
44
|
-
import './chunk-
|
|
45
|
-
import './chunk-
|
|
44
|
+
import './chunk-4W7CPTKY.js';
|
|
45
|
+
import './chunk-CONA2WNE.js';
|
|
46
46
|
import './chunk-5H57X7YC.js';
|
|
47
47
|
import './chunk-A2LHHKTT.js';
|
|
48
48
|
import './chunk-2AM6Z5BP.js';
|
|
@@ -62,7 +62,7 @@ import './chunk-FGF52V4V.js';
|
|
|
62
62
|
import './chunk-HCVLP7XA.js';
|
|
63
63
|
import './chunk-BJ3KTMDH.js';
|
|
64
64
|
import './chunk-7O7LJWQO.js';
|
|
65
|
-
import './chunk-
|
|
65
|
+
import './chunk-SQ6HDN7A.js';
|
|
66
66
|
import './chunk-OLM2TIOW.js';
|
|
67
67
|
import './chunk-CDDED64E.js';
|
|
68
68
|
import './chunk-RA3O54FC.js';
|