@outerlayer/cli 0.34.0-next.20261024231715 → 0.34.0-next.20261025133402
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/README.md +6 -0
- package/dist/{agent-setup-HEJM3D3V.js → agent-setup-UXUWLV7O.js} +6 -6
- package/dist/{bridge-NBCXFTT4.js → bridge-OWCSVCXL.js} +2 -2
- package/dist/{build-LSU25G3M.js → build-4HFDZTUX.js} +4 -4
- package/dist/{build-disk-LEZ6LAM3.js → build-disk-5ZQHYBO3.js} +6 -6
- package/dist/build-info.json +1 -1
- package/dist/{builder-I32JOQII.js → builder-54GLXGFV.js} +5 -5
- package/dist/{check-OOUGS65D.js → check-4TQZZOIQ.js} +37 -37
- package/dist/{chunk-L26V6ILJ.js → chunk-2RBIW2PD.js} +1 -1
- package/dist/{chunk-MZBQTVFG.js → chunk-36T6W5RA.js} +1 -1
- package/dist/{chunk-6NUPXDAA.js → chunk-3M6UYJSR.js} +3 -3
- package/dist/{chunk-ZVLSYWDF.js → chunk-3NFZN7H6.js} +3 -3
- package/dist/{chunk-272AKVRP.js → chunk-3RAAYBSG.js} +1 -1
- package/dist/{chunk-3CKMB2UK.js → chunk-4XYC2663.js} +3 -3
- package/dist/{chunk-GH246BGV.js → chunk-56ZHWIR2.js} +1 -1
- package/dist/{chunk-6LBSAW6I.js → chunk-75KZUBHD.js} +1 -1
- package/dist/{chunk-AMEM2ZLL.js → chunk-AABYHGVO.js} +4 -4
- package/dist/{chunk-6ZFY2L2T.js → chunk-AJYZNISW.js} +416 -20
- package/dist/{chunk-62LXQM7U.js → chunk-AVLLJW5D.js} +5 -5
- package/dist/{chunk-FVKH3PMV.js → chunk-BTG5NZHN.js} +4 -4
- package/dist/{chunk-QDVGOMSC.js → chunk-BUF6DSSM.js} +3 -3
- package/dist/{chunk-ZW6L275N.js → chunk-CCISO7EQ.js} +10 -10
- package/dist/{chunk-65AKMFBH.js → chunk-CXQCBAKO.js} +1 -1
- package/dist/{chunk-NBZ7XBT6.js → chunk-DUPM5LVJ.js} +1 -1
- package/dist/{chunk-5HZGLLNW.js → chunk-E34FRRSW.js} +4 -4
- package/dist/{chunk-F5UL23I2.js → chunk-ENFBYN4A.js} +1 -1
- package/dist/{chunk-2JB4GD34.js → chunk-EZ7L5IZU.js} +3 -3
- package/dist/{chunk-HVRQQOMH.js → chunk-HAEDLXHA.js} +3 -3
- package/dist/{chunk-5THSC6BD.js → chunk-IHY457PB.js} +1 -1
- package/dist/{chunk-Z4KWHSO4.js → chunk-IW6Z337K.js} +6 -6
- package/dist/{chunk-Z5IW4DHH.js → chunk-J246WRLZ.js} +1 -1
- package/dist/{chunk-5QBUX5YZ.js → chunk-JEOPIRUR.js} +1 -1
- package/dist/{chunk-TDAQHYM4.js → chunk-JZD2NTRH.js} +3 -3
- package/dist/{chunk-XFFUXXI4.js → chunk-KDLQGTN6.js} +3 -3
- package/dist/{chunk-QMWUPRYQ.js → chunk-LMICI7AY.js} +3 -3
- package/dist/{chunk-43I7PXDP.js → chunk-MPDLZCXM.js} +4 -4
- package/dist/{chunk-PA6CK6WQ.js → chunk-N7LAEN3T.js} +1 -1
- package/dist/{chunk-57L2YAJA.js → chunk-NW5PDZYA.js} +1 -1
- package/dist/{chunk-3IH6K7KG.js → chunk-O5G6VQGZ.js} +4 -4
- package/dist/{chunk-DA3PLB5N.js → chunk-PAK5P2ND.js} +1 -1
- package/dist/{chunk-YEVPRO7L.js → chunk-POGPX7LI.js} +71 -36
- package/dist/{chunk-K5Q6T7SE.js → chunk-PSXVAOEB.js} +3 -3
- package/dist/{chunk-O6DYCIVW.js → chunk-QOUR4CQ7.js} +2 -2
- package/dist/{chunk-ACRRO3MB.js → chunk-RNVBSRZZ.js} +21 -20
- package/dist/{chunk-7WM7K2DY.js → chunk-SMMNU65K.js} +28 -15
- package/dist/{chunk-DXJTBU7A.js → chunk-T7N3BAOO.js} +3 -3
- package/dist/{chunk-6RKD7YZ6.js → chunk-TVGLNHEB.js} +1 -1
- package/dist/{chunk-EN3YWO7Q.js → chunk-TVOZOOIW.js} +3 -3
- package/dist/{chunk-ZYKFYNES.js → chunk-UC2DKBMS.js} +2 -2
- package/dist/{chunk-YGSY2NWU.js → chunk-WIK5KUGK.js} +5 -5
- package/dist/{chunk-EE2ZZGQV.js → chunk-XA6PGME5.js} +2 -2
- package/dist/{chunk-SOI6K5DY.js → chunk-XLJLR7EK.js} +1 -1
- package/dist/{chunk-BALIE3BA.js → chunk-YOBQIXX6.js} +10 -6
- package/dist/{chunk-E4ASIOVL.js → chunk-Z76GVJGQ.js} +3 -3
- package/dist/{chunk-YIBFGAYI.js → chunk-ZV2JJPDS.js} +6 -6
- package/dist/{chunk-4Y54SQXH.js → chunk-ZWLEUSJW.js} +70 -25
- package/dist/{claude-launcher-MORG66PJ.js → claude-launcher-JEB5BN7Q.js} +1 -1
- package/dist/{cli-XI7RUSC5.js → cli-DY3EGPUB.js} +109 -109
- package/dist/{command-BJSHY6OB.js → command-ZAXYAZCI.js} +24 -24
- package/dist/{config-WRHQDGVI.js → config-UN3X6AP2.js} +7 -7
- package/dist/{connect-cmd-YAUOCX4X.js → connect-cmd-TWM4FEKD.js} +6 -6
- package/dist/{container-start-QADK3YGL.js → container-start-JUNBJ7MU.js} +30 -30
- package/dist/{context-show-cmd-VHY3OBIA.js → context-show-cmd-K5LRMDEO.js} +7 -7
- package/dist/{control-plane-launch-QSBWTA2V.js → control-plane-launch-LHOV2FPA.js} +5 -5
- package/dist/{dist-ZAHCXYSG.js → dist-QGN5R4Y2.js} +1 -1
- package/dist/{docker-DJ73SZRC.js → docker-YZKRM7IP.js} +5 -5
- package/dist/{doctor-UR76MCGI.js → doctor-YOAF7QPL.js} +26 -26
- package/dist/{emit-artifact-cmd-DP2EQ54N.js → emit-artifact-cmd-SCF2FKKS.js} +11 -11
- package/dist/{emit-criteria-cmd-TTFBN6RK.js → emit-criteria-cmd-B6CKUWTW.js} +8 -8
- package/dist/{emit-demo-cmd-Z7YGLEBJ.js → emit-demo-cmd-BNWRETMJ.js} +12 -12
- package/dist/{emit-finding-cmd-IQRD3J2X.js → emit-finding-cmd-TPSHNZNE.js} +8 -8
- package/dist/{emit-result-cmd-GIWB6UHH.js → emit-result-cmd-J5DXIC2Q.js} +10 -10
- package/dist/{emit-step-cmd-PU5TTU6C.js → emit-step-cmd-NPH46KAO.js} +8 -8
- package/dist/{exec-client-7PT4W7JR.js → exec-client-ANW4KGMN.js} +3 -3
- package/dist/{findings-cmd-7J5SHCUO.js → findings-cmd-4FJDCFL3.js} +8 -8
- package/dist/{fleet-readiness-G63D76EX.js → fleet-readiness-OK6534T6.js} +5 -5
- package/dist/{governing-source-DLESDP6T.js → governing-source-GNKTNM32.js} +10 -10
- package/dist/{guest-init-J3F3AEEY.js → guest-init-C6M7YT3U.js} +4 -4
- package/dist/{hook-fast-VQXRDS6E.js → hook-fast-LVTJWAG3.js} +1 -1
- package/dist/{pending-5HZACM2V.js → host-key-DUGGHAGR.js} +3 -3
- package/dist/{image-tag-ADSLWXBA.js → image-tag-53DJPMSZ.js} +3 -3
- package/dist/index.js +4 -4
- package/dist/{init-67R7LO4C.js → init-JGYMAOD5.js} +21 -21
- package/dist/{init-KSXU4PA7.js → init-RAJKTSPJ.js} +21 -21
- package/dist/{init-cmd-MNOVMADM.js → init-cmd-IB3KTYCV.js} +11 -11
- package/dist/{init-update-6KEXRCJH.js → init-update-VPWSWDY7.js} +9 -9
- package/dist/{install-OCBERTPQ.js → install-QJWJFIWB.js} +8 -8
- package/dist/{install-cmd-FV7IZ7XF.js → install-cmd-NP7GULCD.js} +5 -5
- package/dist/{logs-HI46FO6Z.js → logs-V6AES5FE.js} +2 -2
- package/dist/{loop-KUEOPBKX.js → loop-ZGDZMVFN.js} +36 -36
- package/dist/{machine-EQEAPT76.js → machine-LJ3VMGS3.js} +21 -21
- package/dist/{mcp-serve-cmd-7ABBV2QE.js → mcp-serve-cmd-DHGCAMJS.js} +4 -4
- package/dist/{paths-7HVTDE6J.js → paths-DMKAJVA5.js} +2 -2
- package/dist/{host-key-UERIQRE6.js → pending-B55JZFOV.js} +3 -3
- package/dist/{pidfile-5UDLYPMC.js → pidfile-XCTXBGA3.js} +3 -3
- package/dist/{record-PPZEXAVA.js → record-RQLGRYWG.js} +3 -3
- package/dist/{runner-env-L7OPH3O3.js → runner-env-AUG2OIP4.js} +9 -9
- package/dist/{runner-identity-VASV2AEQ.js → runner-identity-BQA4SBU6.js} +5 -5
- package/dist/{runner-key-ML7R33HF.js → runner-key-ZIF7M7YN.js} +21 -21
- package/dist/{session-sender-A43GZQ7T.js → session-sender-VQ4LHJ5K.js} +11 -11
- package/dist/{spec-cmd-VVUJZSG2.js → spec-cmd-PXM4FJ2O.js} +9 -9
- package/dist/{status-4G6K7I2C.js → status-27EFD2WE.js} +28 -28
- package/dist/{sync-cmd-ZEC65ABJ.js → sync-cmd-VAV7TR2A.js} +10 -10
- package/dist/{update-steps-XLO7734I.js → update-steps-7YLAFW3E.js} +29 -29
- package/dist/{watch-QB4AMWR3.js → watch-42XJSTTB.js} +10 -10
- package/dist/{work-claim-cmd-6W3GBHRS.js → work-claim-cmd-HSG4OHFI.js} +14 -14
- package/dist/{work-cmd-LTZXOPPN.js → work-cmd-KCBU3RSD.js} +8 -8
- package/dist/{work-comment-cmd-LDZBUO6M.js → work-comment-cmd-QIP2OUJC.js} +9 -9
- package/dist/{work-demo-cmd-77LISWQ3.js → work-demo-cmd-6IKAG6ES.js} +8 -8
- package/dist/{work-logs-cmd-FK7HE7PC.js → work-logs-cmd-RMKJA4AI.js} +8 -8
- package/dist/{work-open-pr-cmd-WVONEHZL.js → work-open-pr-cmd-IAVLUUWW.js} +9 -9
- package/dist/{work-pr-cmd-6IPXWJEH.js → work-pr-cmd-3U7SVQII.js} +8 -8
- package/dist/{work-proofs-cmd-TGIAP5IO.js → work-proofs-cmd-6ZY6ZNNE.js} +9 -9
- package/dist/{work-proofs-record-XPAU7N57.js → work-proofs-record-54GBEUJP.js} +15 -15
- package/dist/{work-stop-cmd-UJ45EV3A.js → work-stop-cmd-LH5XY4YL.js} +8 -8
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-build/SKILL.md +11 -8
- package/skill-pack/shipped.json +2 -0
- package/skill-pack/template/spec/SKILL.md +3 -1
- package/skill-pack/template/writing-specs/SKILL.md +4 -3
|
@@ -1,27 +1,27 @@
|
|
|
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-CCISO7EQ.js';
|
|
4
4
|
import './chunk-AP2K4LPI.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-3RAAYBSG.js';
|
|
6
6
|
import './chunk-KT4CN6OU.js';
|
|
7
7
|
import './chunk-4P6QGMPN.js';
|
|
8
|
-
import { verifiedTrackerNames, TRACKERS } from './chunk-
|
|
8
|
+
import { verifiedTrackerNames, TRACKERS } from './chunk-IW6Z337K.js';
|
|
9
9
|
import './chunk-IP7BIBXJ.js';
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
10
|
+
import './chunk-3M6UYJSR.js';
|
|
11
|
+
import './chunk-XA6PGME5.js';
|
|
12
12
|
import './chunk-MECW77XP.js';
|
|
13
|
-
import './chunk-
|
|
13
|
+
import './chunk-AJYZNISW.js';
|
|
14
14
|
import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-NKOM4JKY.js';
|
|
15
15
|
import './chunk-Y5YCX6AL.js';
|
|
16
16
|
import './chunk-G2JWZDFA.js';
|
|
17
17
|
import { C, warnDeprecated, API_KEY_FLAG_DEPRECATION, NO_COLOR_FLAG, stripNoColor } from './chunk-ANPNT6PM.js';
|
|
18
18
|
import './chunk-JWNH4ZTF.js';
|
|
19
|
-
import './chunk-
|
|
19
|
+
import './chunk-TVGLNHEB.js';
|
|
20
20
|
import './chunk-PJDQPF5N.js';
|
|
21
|
-
import './chunk-
|
|
22
|
-
import './chunk-
|
|
23
|
-
import './chunk-
|
|
24
|
-
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-
|
|
21
|
+
import './chunk-XLJLR7EK.js';
|
|
22
|
+
import './chunk-N7LAEN3T.js';
|
|
23
|
+
import './chunk-YOBQIXX6.js';
|
|
24
|
+
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-CXQCBAKO.js';
|
|
25
25
|
import './chunk-ZJSNLVCE.js';
|
|
26
26
|
import './chunk-I7RZHMXW.js';
|
|
27
27
|
import './chunk-BKO6JEZI.js';
|
|
@@ -3800,8 +3800,8 @@ async function installMachineSkillsForSetup() {
|
|
|
3800
3800
|
` : "";
|
|
3801
3801
|
}
|
|
3802
3802
|
async function realConnectDepsForCwd() {
|
|
3803
|
-
const { realConnectDeps } = await import('./connect-cmd-
|
|
3804
|
-
const { resolveRepoIdentity } = await import('./dist-
|
|
3803
|
+
const { realConnectDeps } = await import('./connect-cmd-TWM4FEKD.js');
|
|
3804
|
+
const { resolveRepoIdentity } = await import('./dist-QGN5R4Y2.js');
|
|
3805
3805
|
return {
|
|
3806
3806
|
...realConnectDeps(),
|
|
3807
3807
|
home: homeFromEnv(),
|
|
@@ -3875,8 +3875,8 @@ build, ../outerlayer-build/SKILL.md becomes ~/.agents/skills/outerlayer-build/SK
|
|
|
3875
3875
|
what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocation() + " doctor` reports the same\nstates under Starter files.\n"
|
|
3876
3876
|
).action(async (opts) => {
|
|
3877
3877
|
if (opts.update || opts.dryRun) {
|
|
3878
|
-
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-
|
|
3879
|
-
const { fleetReadiness } = await import('./fleet-readiness-
|
|
3878
|
+
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-VPWSWDY7.js');
|
|
3879
|
+
const { fleetReadiness } = await import('./fleet-readiness-OK6534T6.js');
|
|
3880
3880
|
const problem = updateFlagProblem(opts);
|
|
3881
3881
|
if (problem !== void 0) {
|
|
3882
3882
|
fail(problem);
|
|
@@ -3927,13 +3927,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3927
3927
|
if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
|
|
3928
3928
|
`);
|
|
3929
3929
|
}
|
|
3930
|
-
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-
|
|
3930
|
+
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-IB3KTYCV.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
|
|
3931
3931
|
if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
|
|
3932
3932
|
else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
|
|
3933
3933
|
return;
|
|
3934
3934
|
}
|
|
3935
3935
|
await installMachineSkillsForSetup();
|
|
3936
|
-
const { runInitCommand } = await import('./init-cmd-
|
|
3936
|
+
const { runInitCommand } = await import('./init-cmd-IB3KTYCV.js');
|
|
3937
3937
|
const code = await runInitCommand(
|
|
3938
3938
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3939
3939
|
{
|
|
@@ -3945,7 +3945,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3945
3945
|
return { ok, text, detail };
|
|
3946
3946
|
},
|
|
3947
3947
|
runAgentSetup: async () => {
|
|
3948
|
-
const { runAgentSetup } = await import('./agent-setup-
|
|
3948
|
+
const { runAgentSetup } = await import('./agent-setup-UXUWLV7O.js');
|
|
3949
3949
|
return runAgentSetup({ cwd: process.cwd(), skillsLink: opts.skillsLink !== false });
|
|
3950
3950
|
},
|
|
3951
3951
|
runDoctorChecks: gatherDoctorChecks,
|
|
@@ -3954,7 +3954,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3954
3954
|
shellPath: process.env.SHELL,
|
|
3955
3955
|
interactive: Boolean(process.stdin.isTTY && process.stderr.isTTY) && opts.json !== true,
|
|
3956
3956
|
ask: async () => {
|
|
3957
|
-
const { promptOnTerminal } = await import('./connect-cmd-
|
|
3957
|
+
const { promptOnTerminal } = await import('./connect-cmd-TWM4FEKD.js');
|
|
3958
3958
|
const answer = await promptOnTerminal({
|
|
3959
3959
|
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.`,
|
|
3960
3960
|
options: [
|
|
@@ -3993,7 +3993,7 @@ linked (true, false, or null when it could not be checked) and, when false,
|
|
|
3993
3993
|
linkUrl.
|
|
3994
3994
|
`
|
|
3995
3995
|
).action(async (opts) => {
|
|
3996
|
-
const { runConnectCommand } = await import('./connect-cmd-
|
|
3996
|
+
const { runConnectCommand } = await import('./connect-cmd-TWM4FEKD.js');
|
|
3997
3997
|
const code = await runConnectCommand({ factory: opts.factory, json: opts.json }, await realConnectDepsForCwd(), {
|
|
3998
3998
|
stdout: process.stdout,
|
|
3999
3999
|
stderr: process.stderr
|
|
@@ -4071,7 +4071,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4071
4071
|
else fail(found.reason);
|
|
4072
4072
|
return;
|
|
4073
4073
|
}
|
|
4074
|
-
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-
|
|
4074
|
+
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-VAV7TR2A.js');
|
|
4075
4075
|
try {
|
|
4076
4076
|
const result = await runSync({
|
|
4077
4077
|
url: opts.url,
|
|
@@ -4102,7 +4102,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4102
4102
|
if (invokedCommandToken(argv) === "watch") {
|
|
4103
4103
|
warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
|
|
4104
4104
|
}
|
|
4105
|
-
const { runWatch } = await import('./watch-
|
|
4105
|
+
const { runWatch } = await import('./watch-42XJSTTB.js');
|
|
4106
4106
|
await runWatch({ once: opts.once });
|
|
4107
4107
|
});
|
|
4108
4108
|
program2.command("hook <event>", { hidden: true }).description("capture-hook fast path, installed by `init`").action(() => {
|
|
@@ -4163,7 +4163,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4163
4163
|
}
|
|
4164
4164
|
});
|
|
4165
4165
|
program2.command("vm-exec", { hidden: true }).description("run a command in a microVM build's guest through its exec agent").requiredOption("--socket <path>", "the Unix socket Firecracker serves the build's vsock device on").option("--user <user>", "the user to run as", "").option("--cwd <dir>", "the working directory", "/").option("--env <NAME=value>", "an environment value the command line carries; repeatable", (value, previous) => [...previous, value], []).option("--pass <NAME>", "an environment variable whose value is read from this process; repeatable", (value, previous) => [...previous, value], []).argument("<argv...>", "the command and its arguments").action(async (argv2, opts) => {
|
|
4166
|
-
const { runVmExec } = await import('./exec-client-
|
|
4166
|
+
const { runVmExec } = await import('./exec-client-ANW4KGMN.js');
|
|
4167
4167
|
const env = {};
|
|
4168
4168
|
for (const entry of opts.env) {
|
|
4169
4169
|
const eq = entry.indexOf("=");
|
|
@@ -4192,7 +4192,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4192
4192
|
process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
|
|
4193
4193
|
});
|
|
4194
4194
|
program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
|
|
4195
|
-
const { runSessionSender } = await import('./session-sender-
|
|
4195
|
+
const { runSessionSender } = await import('./session-sender-VQ4LHJ5K.js');
|
|
4196
4196
|
try {
|
|
4197
4197
|
await runSessionSender();
|
|
4198
4198
|
} catch (err) {
|
|
@@ -4200,7 +4200,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4200
4200
|
}
|
|
4201
4201
|
});
|
|
4202
4202
|
program2.command("vm-init", { hidden: true }).description("lay out a microVM build's guest; the guest helper runs it").action(async () => {
|
|
4203
|
-
const { realGuestHost, runGuestInit } = await import('./guest-init-
|
|
4203
|
+
const { realGuestHost, runGuestInit } = await import('./guest-init-C6M7YT3U.js');
|
|
4204
4204
|
const { readFileSync: readFileSync3 } = await import('fs');
|
|
4205
4205
|
try {
|
|
4206
4206
|
runGuestInit(realGuestHost(), readFileSync3("/proc/cmdline", "utf8"));
|
|
@@ -4209,7 +4209,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4209
4209
|
}
|
|
4210
4210
|
});
|
|
4211
4211
|
program2.command("vm-forward", { hidden: true }).description("pipe a guest port to another; vm-init runs it").requiredOption("--listen <host:port>", "the address to listen on").requiredOption("--to <host:port>", "the address to pipe each connection to").action(async (opts) => {
|
|
4212
|
-
const { startBridgeForward } = await import('./bridge-
|
|
4212
|
+
const { startBridgeForward } = await import('./bridge-OWCSVCXL.js');
|
|
4213
4213
|
try {
|
|
4214
4214
|
await startBridgeForward(opts);
|
|
4215
4215
|
} catch (err) {
|
|
@@ -4288,7 +4288,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
|
|
|
4288
4288
|
await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
|
|
4289
4289
|
return;
|
|
4290
4290
|
}
|
|
4291
|
-
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-
|
|
4291
|
+
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-J5DXIC2Q.js');
|
|
4292
4292
|
try {
|
|
4293
4293
|
const result = await runEmitResult({
|
|
4294
4294
|
name,
|
|
@@ -4339,7 +4339,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
|
|
|
4339
4339
|
locally so it never uploads. One correction can retire several duplicates.
|
|
4340
4340
|
`
|
|
4341
4341
|
).action(async (file, opts) => {
|
|
4342
|
-
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-
|
|
4342
|
+
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-SCF2FKKS.js');
|
|
4343
4343
|
let pr;
|
|
4344
4344
|
if (opts.pr !== void 0) {
|
|
4345
4345
|
pr = parseTrackerNumber(opts.pr);
|
|
@@ -4395,7 +4395,7 @@ its criterion, and the new record retires the old record. The id must be the ite
|
|
|
4395
4395
|
as \`work demo --item <n> --json\` prints it.
|
|
4396
4396
|
`
|
|
4397
4397
|
).action(async (manifest, opts) => {
|
|
4398
|
-
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-
|
|
4398
|
+
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-BNWRETMJ.js');
|
|
4399
4399
|
let item;
|
|
4400
4400
|
if (opts.item !== void 0) {
|
|
4401
4401
|
item = parseTrackerNumber(opts.item);
|
|
@@ -4465,7 +4465,7 @@ recent events with their ids. --find <text> searches all of them.
|
|
|
4465
4465
|
item that session was launched for is used automatically.
|
|
4466
4466
|
`
|
|
4467
4467
|
).action(async (opts) => {
|
|
4468
|
-
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4468
|
+
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-TPSHNZNE.js');
|
|
4469
4469
|
try {
|
|
4470
4470
|
refuseRemovedFindingFlags(opts);
|
|
4471
4471
|
const result = await runEmitFinding({
|
|
@@ -4532,7 +4532,7 @@ the whole batch. "untimed": true records one with no time on purpose.
|
|
|
4532
4532
|
that session was launched for is used automatically.
|
|
4533
4533
|
`
|
|
4534
4534
|
).action(async (file, opts) => {
|
|
4535
|
-
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4535
|
+
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-TPSHNZNE.js');
|
|
4536
4536
|
try {
|
|
4537
4537
|
const result = await runEmitFindings({
|
|
4538
4538
|
file,
|
|
@@ -4567,7 +4567,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
|
|
|
4567
4567
|
the step, the command prints why and exits 1.
|
|
4568
4568
|
`
|
|
4569
4569
|
).action(async (name, opts) => {
|
|
4570
|
-
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-
|
|
4570
|
+
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-NPH46KAO.js');
|
|
4571
4571
|
try {
|
|
4572
4572
|
await runEmitStep({
|
|
4573
4573
|
name,
|
|
@@ -4610,7 +4610,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
|
|
|
4610
4610
|
${cliInvocation()} emit criteria acceptance/412-login.md --item 412
|
|
4611
4611
|
`
|
|
4612
4612
|
).action(async (file, opts) => {
|
|
4613
|
-
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-
|
|
4613
|
+
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-B6CKUWTW.js');
|
|
4614
4614
|
try {
|
|
4615
4615
|
const result = await runEmitCriteria({
|
|
4616
4616
|
file,
|
|
@@ -4634,9 +4634,9 @@ function registerSpecCommands(program2) {
|
|
|
4634
4634
|
const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
|
|
4635
4635
|
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)");
|
|
4636
4636
|
const run = async (action) => {
|
|
4637
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4637
|
+
const { WorkCommandError } = await import('./work-cmd-KCBU3RSD.js');
|
|
4638
4638
|
try {
|
|
4639
|
-
await action(await import('./spec-cmd-
|
|
4639
|
+
await action(await import('./spec-cmd-PXM4FJ2O.js'));
|
|
4640
4640
|
} catch (err) {
|
|
4641
4641
|
if (err instanceof WorkCommandError) {
|
|
4642
4642
|
fail(err.message);
|
|
@@ -4671,7 +4671,7 @@ Prints each problem the item covers with its id, its reports and its result.
|
|
|
4671
4671
|
session was launched for is used.
|
|
4672
4672
|
`
|
|
4673
4673
|
).action(async (opts) => {
|
|
4674
|
-
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-
|
|
4674
|
+
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-4FJDCFL3.js');
|
|
4675
4675
|
try {
|
|
4676
4676
|
const result = await runFindingsShow({
|
|
4677
4677
|
item: opts.item,
|
|
@@ -4699,7 +4699,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
|
|
|
4699
4699
|
problem to replace the earlier result. A problem the item does not cover is refused.
|
|
4700
4700
|
`
|
|
4701
4701
|
).action(async (problem, opts) => {
|
|
4702
|
-
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-
|
|
4702
|
+
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-4FJDCFL3.js');
|
|
4703
4703
|
try {
|
|
4704
4704
|
const result = await runFindingsResult({
|
|
4705
4705
|
problem,
|
|
@@ -4740,7 +4740,7 @@ takes it, and prints the line that starts your session on it. That
|
|
|
4740
4740
|
session links itself and holds the item's lease while it works.
|
|
4741
4741
|
`
|
|
4742
4742
|
).action(async (opts) => {
|
|
4743
|
-
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-
|
|
4743
|
+
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-KCBU3RSD.js');
|
|
4744
4744
|
try {
|
|
4745
4745
|
await runWorkBuild(opts);
|
|
4746
4746
|
} catch (err) {
|
|
@@ -4763,7 +4763,7 @@ renews that session's own 20-minute lease, unless --no-lease or
|
|
|
4763
4763
|
--ended is given, or another worker already holds a live one.
|
|
4764
4764
|
`
|
|
4765
4765
|
).action(async (number, opts) => {
|
|
4766
|
-
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-
|
|
4766
|
+
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-KCBU3RSD.js');
|
|
4767
4767
|
try {
|
|
4768
4768
|
await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
|
|
4769
4769
|
} catch (err) {
|
|
@@ -4787,8 +4787,8 @@ criterion's new proof; --ready hands the thread back to a person. At
|
|
|
4787
4787
|
most one action flag may be given.
|
|
4788
4788
|
`
|
|
4789
4789
|
).action(async (opts) => {
|
|
4790
|
-
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4791
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4790
|
+
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-QIP2OUJC.js');
|
|
4791
|
+
const { WorkCommandError } = await import('./work-cmd-KCBU3RSD.js');
|
|
4792
4792
|
try {
|
|
4793
4793
|
await runWorkComment(opts);
|
|
4794
4794
|
} catch (err) {
|
|
@@ -4809,8 +4809,8 @@ criterion that carries proof or a comment, each with who is waiting
|
|
|
4809
4809
|
on whom next.
|
|
4810
4810
|
`
|
|
4811
4811
|
).action(async (opts) => {
|
|
4812
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4813
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4812
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-QIP2OUJC.js');
|
|
4813
|
+
const { WorkCommandError } = await import('./work-cmd-KCBU3RSD.js');
|
|
4814
4814
|
try {
|
|
4815
4815
|
await runWorkThreads(opts);
|
|
4816
4816
|
} catch (err) {
|
|
@@ -4834,8 +4834,8 @@ still running, or that an older runner released, has no log and the
|
|
|
4834
4834
|
command exits 1.
|
|
4835
4835
|
`
|
|
4836
4836
|
).action(async (opts) => {
|
|
4837
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
4838
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4837
|
+
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-RMKJA4AI.js');
|
|
4838
|
+
const { WorkCommandError } = await import('./work-cmd-KCBU3RSD.js');
|
|
4839
4839
|
try {
|
|
4840
4840
|
await runWorkLogs(opts);
|
|
4841
4841
|
} catch (err) {
|
|
@@ -4858,8 +4858,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
4858
4858
|
build is running for the item.
|
|
4859
4859
|
`
|
|
4860
4860
|
).action(async (opts) => {
|
|
4861
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
4862
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4861
|
+
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-LH5XY4YL.js');
|
|
4862
|
+
const { WorkCommandError } = await import('./work-cmd-KCBU3RSD.js');
|
|
4863
4863
|
try {
|
|
4864
4864
|
await runWorkStop(opts);
|
|
4865
4865
|
} catch (err) {
|
|
@@ -4880,8 +4880,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
|
|
|
4880
4880
|
test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
|
|
4881
4881
|
`
|
|
4882
4882
|
).action(async (opts) => {
|
|
4883
|
-
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-
|
|
4884
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4883
|
+
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-6IKAG6ES.js');
|
|
4884
|
+
const { WorkCommandError } = await import('./work-cmd-KCBU3RSD.js');
|
|
4885
4885
|
try {
|
|
4886
4886
|
await runWorkDemo(opts);
|
|
4887
4887
|
} catch (err) {
|
|
@@ -4902,7 +4902,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
4902
4902
|
live addition remains on it.
|
|
4903
4903
|
`
|
|
4904
4904
|
).action(async (opts) => {
|
|
4905
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
4905
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-KCBU3RSD.js');
|
|
4906
4906
|
try {
|
|
4907
4907
|
await runWorkRemove(opts);
|
|
4908
4908
|
} catch (err) {
|
|
@@ -4914,7 +4914,7 @@ live addition remains on it.
|
|
|
4914
4914
|
}
|
|
4915
4915
|
});
|
|
4916
4916
|
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) => {
|
|
4917
|
-
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-
|
|
4917
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-KCBU3RSD.js');
|
|
4918
4918
|
try {
|
|
4919
4919
|
await runWorkStatus(opts);
|
|
4920
4920
|
} catch (err) {
|
|
@@ -4958,11 +4958,11 @@ differs from HEAD.
|
|
|
4958
4958
|
fail(trackerNumberError("--pr", opts.pr));
|
|
4959
4959
|
return;
|
|
4960
4960
|
}
|
|
4961
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
4961
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-6ZY6ZNNE.js');
|
|
4962
4962
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
4963
4963
|
});
|
|
4964
4964
|
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) => {
|
|
4965
|
-
const { runWorkList, WorkCommandError } = await import('./work-cmd-
|
|
4965
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-KCBU3RSD.js');
|
|
4966
4966
|
try {
|
|
4967
4967
|
await runWorkList(opts);
|
|
4968
4968
|
} catch (err) {
|
|
@@ -4983,7 +4983,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
4983
4983
|
it. --host is a label only.
|
|
4984
4984
|
`
|
|
4985
4985
|
).action(async (opts) => {
|
|
4986
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
4986
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-HSG4OHFI.js');
|
|
4987
4987
|
try {
|
|
4988
4988
|
await runWorkClaim(opts);
|
|
4989
4989
|
} catch (err) {
|
|
@@ -5003,7 +5003,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5003
5003
|
lease has expired, or a 403 if a different key holds it.
|
|
5004
5004
|
`
|
|
5005
5005
|
).action(async (opts) => {
|
|
5006
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5006
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-HSG4OHFI.js');
|
|
5007
5007
|
try {
|
|
5008
5008
|
await runWorkRenew(opts);
|
|
5009
5009
|
} catch (err) {
|
|
@@ -5035,7 +5035,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5035
5035
|
takes the lease again.
|
|
5036
5036
|
`
|
|
5037
5037
|
).action(async (opts) => {
|
|
5038
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5038
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-HSG4OHFI.js');
|
|
5039
5039
|
try {
|
|
5040
5040
|
await runWorkRelease(opts);
|
|
5041
5041
|
} catch (err) {
|
|
@@ -5062,7 +5062,7 @@ Idempotent: declaring the same pull request twice is a no-op.
|
|
|
5062
5062
|
needs your own login; an agent session or a factory key is refused.
|
|
5063
5063
|
`
|
|
5064
5064
|
).action(async (number, opts) => {
|
|
5065
|
-
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-
|
|
5065
|
+
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-3U7SVQII.js');
|
|
5066
5066
|
try {
|
|
5067
5067
|
await runWorkPr({ ...opts, number });
|
|
5068
5068
|
} catch (err) {
|
|
@@ -5087,8 +5087,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
5087
5087
|
Run it again after a change to the title or description.
|
|
5088
5088
|
`
|
|
5089
5089
|
).action(async (opts) => {
|
|
5090
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
5091
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5090
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-IAVLUUWW.js');
|
|
5091
|
+
const { WorkCommandError } = await import('./work-cmd-KCBU3RSD.js');
|
|
5092
5092
|
try {
|
|
5093
5093
|
await runWorkOpenPr(opts);
|
|
5094
5094
|
} catch (err) {
|
|
@@ -5104,9 +5104,9 @@ function registerRunnerCommands(program2) {
|
|
|
5104
5104
|
const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
|
|
5105
5105
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5106
5106
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5107
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5108
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5109
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5107
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-UN3X6AP2.js');
|
|
5108
|
+
const { start, RunnerStartError } = await import('./loop-ZGDZMVFN.js');
|
|
5109
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-XCTXBGA3.js');
|
|
5110
5110
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5111
5111
|
try {
|
|
5112
5112
|
const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
|
|
@@ -5123,10 +5123,10 @@ function registerRunnerCommands(program2) {
|
|
|
5123
5123
|
"after",
|
|
5124
5124
|
"\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"
|
|
5125
5125
|
).action(async () => {
|
|
5126
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5127
|
-
const { containerStart } = await import('./container-start-
|
|
5128
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5129
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5126
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-UN3X6AP2.js');
|
|
5127
|
+
const { containerStart } = await import('./container-start-JUNBJ7MU.js');
|
|
5128
|
+
const { start, RunnerStartError } = await import('./loop-ZGDZMVFN.js');
|
|
5129
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-XCTXBGA3.js');
|
|
5130
5130
|
try {
|
|
5131
5131
|
const result = await containerStart({
|
|
5132
5132
|
env: process.env,
|
|
@@ -5147,16 +5147,16 @@ function registerRunnerCommands(program2) {
|
|
|
5147
5147
|
"after",
|
|
5148
5148
|
"\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"
|
|
5149
5149
|
).action(async (opts) => {
|
|
5150
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5151
|
-
const { runnerDir } = await import('./paths-
|
|
5152
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5150
|
+
const { defaultRunnerConfigPath } = await import('./config-UN3X6AP2.js');
|
|
5151
|
+
const { runnerDir } = await import('./paths-DMKAJVA5.js');
|
|
5152
|
+
const { runUpdateSteps } = await import('./update-steps-7YLAFW3E.js');
|
|
5153
5153
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5154
5154
|
process.stdout.write(`${text}
|
|
5155
5155
|
`);
|
|
5156
5156
|
});
|
|
5157
5157
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5158
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5159
|
-
const { runRunnerCheck } = await import('./check-
|
|
5158
|
+
const { defaultRunnerConfigPath } = await import('./config-UN3X6AP2.js');
|
|
5159
|
+
const { runRunnerCheck } = await import('./check-4TQZZOIQ.js');
|
|
5160
5160
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5161
5161
|
const result = await runRunnerCheck(configPath);
|
|
5162
5162
|
if (!result.ok) {
|
|
@@ -5177,8 +5177,8 @@ function registerRunnerCommands(program2) {
|
|
|
5177
5177
|
`);
|
|
5178
5178
|
});
|
|
5179
5179
|
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").action(async (opts) => {
|
|
5180
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5181
|
-
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-
|
|
5180
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-UN3X6AP2.js');
|
|
5181
|
+
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-NP7GULCD.js');
|
|
5182
5182
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5183
5183
|
if (opts.service !== true) {
|
|
5184
5184
|
for (const flag of ["print", "user", "unitName"]) {
|
|
@@ -5190,7 +5190,7 @@ function registerRunnerCommands(program2) {
|
|
|
5190
5190
|
}
|
|
5191
5191
|
try {
|
|
5192
5192
|
if (opts.service === true) {
|
|
5193
|
-
const { installServiceCommand } = await import('./command-
|
|
5193
|
+
const { installServiceCommand } = await import('./command-ZAXYAZCI.js');
|
|
5194
5194
|
const result2 = await installServiceCommand({
|
|
5195
5195
|
configPath,
|
|
5196
5196
|
print: opts.print,
|
|
@@ -5245,8 +5245,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5245
5245
|
fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
|
|
5246
5246
|
return;
|
|
5247
5247
|
}
|
|
5248
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5249
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5248
|
+
const { defaultRunnerConfigPath } = await import('./config-UN3X6AP2.js');
|
|
5249
|
+
const { uninstallServiceCommand } = await import('./command-ZAXYAZCI.js');
|
|
5250
5250
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5251
5251
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5252
5252
|
`);
|
|
@@ -5273,12 +5273,12 @@ already in claude.env is used.
|
|
|
5273
5273
|
printf '%s' "$CLAUDE_CODE_OAUTH_TOKEN" | ${cliInvocation()} runner init --agent claude --factory <org>/<factory>
|
|
5274
5274
|
`
|
|
5275
5275
|
).action(async (opts) => {
|
|
5276
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5277
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5278
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5279
|
-
const { detectMachine } = await import('./machine-
|
|
5280
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5281
|
-
const { AGENT_COMMANDS, credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-
|
|
5276
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-UN3X6AP2.js');
|
|
5277
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-JGYMAOD5.js');
|
|
5278
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-ZIF7M7YN.js');
|
|
5279
|
+
const { detectMachine } = await import('./machine-LJ3VMGS3.js');
|
|
5280
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-RAJKTSPJ.js');
|
|
5281
|
+
const { AGENT_COMMANDS, credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-AUG2OIP4.js');
|
|
5282
5282
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5283
5283
|
if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
|
|
5284
5284
|
fail(`--agent ${opts.agent}: runner init writes commands for ${Object.keys(AGENT_COMMANDS).join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
|
|
@@ -5309,7 +5309,7 @@ already in claude.env is used.
|
|
|
5309
5309
|
const chunks = [];
|
|
5310
5310
|
for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
|
|
5311
5311
|
const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
|
|
5312
|
-
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-
|
|
5312
|
+
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-DUGGHAGR.js');
|
|
5313
5313
|
const hostKey2 = await ensureHostKey2(configPath);
|
|
5314
5314
|
process.stdout.write(`host key ${hostKey2.fingerprint}
|
|
5315
5315
|
hooks: ${result2.hooks}
|
|
@@ -5368,7 +5368,7 @@ hooks: ${result2.hooks}
|
|
|
5368
5368
|
const prepared = prepareRunnerInit(configPath, { machine, allowProcess, agent, credential, keyFromLogin: makeKey !== void 0 });
|
|
5369
5369
|
const created = makeKey === void 0 ? void 0 : await makeKey();
|
|
5370
5370
|
const result = writeRunnerInit(prepared, created);
|
|
5371
|
-
const { ensureHostKey } = await import('./host-key-
|
|
5371
|
+
const { ensureHostKey } = await import('./host-key-DUGGHAGR.js');
|
|
5372
5372
|
const hostKey = await ensureHostKey(configPath);
|
|
5373
5373
|
if (created !== void 0) {
|
|
5374
5374
|
process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
|
|
@@ -5396,7 +5396,7 @@ ${C.yellow}${result.note}${C.reset}
|
|
|
5396
5396
|
To isolate builds in containers instead, run ${C.yellow}${cliInvocation()} runner init --vm${C.reset}.
|
|
5397
5397
|
`);
|
|
5398
5398
|
}
|
|
5399
|
-
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-
|
|
5399
|
+
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-NP7GULCD.js');
|
|
5400
5400
|
let installedLayout = false;
|
|
5401
5401
|
let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
|
|
5402
5402
|
try {
|
|
@@ -5428,7 +5428,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5428
5428
|
let serviceUp = false;
|
|
5429
5429
|
let restart;
|
|
5430
5430
|
if (installedLayout) {
|
|
5431
|
-
const { installServiceCommand } = await import('./command-
|
|
5431
|
+
const { installServiceCommand } = await import('./command-ZAXYAZCI.js');
|
|
5432
5432
|
const service = await installServiceCommand({
|
|
5433
5433
|
configPath,
|
|
5434
5434
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5472,12 +5472,12 @@ Next:
|
|
|
5472
5472
|
"after",
|
|
5473
5473
|
"\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.\n"
|
|
5474
5474
|
).action(async (opts) => {
|
|
5475
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5476
|
-
const { buildRepositoryImage, RecipeError } = await import('./build-
|
|
5475
|
+
const { defaultRunnerConfigPath } = await import('./config-UN3X6AP2.js');
|
|
5476
|
+
const { buildRepositoryImage, RecipeError } = await import('./build-4HFDZTUX.js');
|
|
5477
5477
|
const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
|
|
5478
|
-
const { createDockerHost } = await import('./docker-
|
|
5479
|
-
const { builderSpec } = await import('./builder-
|
|
5480
|
-
const { loadRunnerConfig } = await import('./config-
|
|
5478
|
+
const { createDockerHost } = await import('./docker-YZKRM7IP.js');
|
|
5479
|
+
const { builderSpec } = await import('./builder-54GLXGFV.js');
|
|
5480
|
+
const { loadRunnerConfig } = await import('./config-UN3X6AP2.js');
|
|
5481
5481
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5482
5482
|
const loaded = (() => {
|
|
5483
5483
|
try {
|
|
@@ -5488,11 +5488,11 @@ Next:
|
|
|
5488
5488
|
})();
|
|
5489
5489
|
const memory = loaded?.build?.memory ?? "8g";
|
|
5490
5490
|
try {
|
|
5491
|
-
const { ensureRunnerIdentity } = await import('./runner-identity-
|
|
5491
|
+
const { ensureRunnerIdentity } = await import('./runner-identity-BQA4SBU6.js');
|
|
5492
5492
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5493
5493
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5494
5494
|
});
|
|
5495
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5495
|
+
const { imageTargetFor } = await import('./governing-source-GNKTNM32.js');
|
|
5496
5496
|
const target = await imageTargetFor({ config: loaded, repository: opts.repository, fetchImpl: fetch });
|
|
5497
5497
|
if (!target.ok) {
|
|
5498
5498
|
if (opts.json) {
|
|
@@ -5555,25 +5555,25 @@ Next:
|
|
|
5555
5555
|
}
|
|
5556
5556
|
});
|
|
5557
5557
|
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) => {
|
|
5558
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5559
|
-
const { requestStop } = await import('./loop-
|
|
5558
|
+
const { defaultRunnerConfigPath } = await import('./config-UN3X6AP2.js');
|
|
5559
|
+
const { requestStop } = await import('./loop-ZGDZMVFN.js');
|
|
5560
5560
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5561
|
-
const { runnerImageVersion } = await import('./image-tag-
|
|
5561
|
+
const { runnerImageVersion } = await import('./image-tag-53DJPMSZ.js');
|
|
5562
5562
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
5563
5563
|
});
|
|
5564
5564
|
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) => {
|
|
5565
|
-
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-
|
|
5566
|
-
const { jobsDir, runnerDir } = await import('./paths-
|
|
5567
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5568
|
-
const { renderStatus } = await import('./status-
|
|
5569
|
-
const { readHousekeepingRecord } = await import('./record-
|
|
5565
|
+
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-UN3X6AP2.js');
|
|
5566
|
+
const { jobsDir, runnerDir } = await import('./paths-DMKAJVA5.js');
|
|
5567
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-ZGDZMVFN.js');
|
|
5568
|
+
const { renderStatus } = await import('./status-27EFD2WE.js');
|
|
5569
|
+
const { readHousekeepingRecord } = await import('./record-RQLGRYWG.js');
|
|
5570
5570
|
const path2 = await import('path');
|
|
5571
5571
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5572
5572
|
const all = listJobFiles(configPath);
|
|
5573
5573
|
const housekeeping = readHousekeepingRecord(runnerDir(configPath));
|
|
5574
|
-
const { readPendingUpdate } = await import('./pending-
|
|
5574
|
+
const { readPendingUpdate } = await import('./pending-B55JZFOV.js');
|
|
5575
5575
|
const pendingUpdate = readPendingUpdate(runnerDir(configPath));
|
|
5576
|
-
const { readImageStatus } = await import('./image-tag-
|
|
5576
|
+
const { readImageStatus } = await import('./image-tag-53DJPMSZ.js');
|
|
5577
5577
|
const image = readImageStatus(runnerDir(configPath));
|
|
5578
5578
|
let host = "unknown";
|
|
5579
5579
|
let concurrency = 1;
|
|
@@ -5587,7 +5587,7 @@ Next:
|
|
|
5587
5587
|
const service = await (async () => {
|
|
5588
5588
|
if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
|
|
5589
5589
|
const { inspectService, realInspectProbes } = await import('./inspect-DNLXTXLA.js');
|
|
5590
|
-
const { DEFAULT_UNIT_NAME } = await import('./install-
|
|
5590
|
+
const { DEFAULT_UNIT_NAME } = await import('./install-QJWJFIWB.js');
|
|
5591
5591
|
const facts = inspectService(DEFAULT_UNIT_NAME, path2.dirname(configPath), realInspectProbes());
|
|
5592
5592
|
return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
|
|
5593
5593
|
})();
|
|
@@ -5624,9 +5624,9 @@ Next:
|
|
|
5624
5624
|
);
|
|
5625
5625
|
});
|
|
5626
5626
|
runnerCmd.command("logs").argument("<item>", "the work item's number in the factory").description("Print the newest attempt's log for one item").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) => {
|
|
5627
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5628
|
-
const { listJobFiles } = await import('./loop-
|
|
5629
|
-
const { newestAttempt, logPathFor, tail, RunnerLogsError } = await import('./logs-
|
|
5627
|
+
const { defaultRunnerConfigPath } = await import('./config-UN3X6AP2.js');
|
|
5628
|
+
const { listJobFiles } = await import('./loop-ZGDZMVFN.js');
|
|
5629
|
+
const { newestAttempt, logPathFor, tail, RunnerLogsError } = await import('./logs-V6AES5FE.js');
|
|
5630
5630
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5631
5631
|
const item = parseTrackerNumber(itemArg);
|
|
5632
5632
|
if (item === void 0) {
|
|
@@ -5857,7 +5857,7 @@ caller from the bearer token, the gateway answers 401 without that header.
|
|
|
5857
5857
|
"after",
|
|
5858
5858
|
"\nWhat the stdio .mcp.json entry spawns. Reads newline-delimited JSON-RPC 2.0 on\nstdin and writes responses on stdout. The API key comes from OUTERLAYER_API_KEY\nor ~/.outerlayer/config.json at start-up; with neither the command exits 1 and\nprints why, which the MCP client shows as the connect error.\n"
|
|
5859
5859
|
).action(async (opts) => {
|
|
5860
|
-
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-
|
|
5860
|
+
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-DHGCAMJS.js');
|
|
5861
5861
|
try {
|
|
5862
5862
|
await runMcpServe({ url: opts.url, appId: opts.appId });
|
|
5863
5863
|
} catch (err) {
|
|
@@ -5878,7 +5878,7 @@ would get, the instruction files and the names of the skills. It warns when the
|
|
|
5878
5878
|
no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
|
|
5879
5879
|
`
|
|
5880
5880
|
).action(async (opts) => {
|
|
5881
|
-
const { runContextShow, ContextShowError } = await import('./context-show-cmd-
|
|
5881
|
+
const { runContextShow, ContextShowError } = await import('./context-show-cmd-K5LRMDEO.js');
|
|
5882
5882
|
try {
|
|
5883
5883
|
const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
|
|
5884
5884
|
process.stdout.write(result.output);
|