@outerlayer/cli 0.38.0-next.20261111113945 → 0.38.0-next.20261111172503
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 +10 -8
- package/dist/{agent-setup-OJETTF3R.js → agent-setup-HXEWWT6K.js} +7 -7
- package/dist/{agent-subcommand-GDVH463X.js → agent-subcommand-NZFPV3MV.js} +1 -1
- package/dist/{bridge-D3L6JK6X.js → bridge-OBIGQXDH.js} +2 -2
- package/dist/{build-CBPURIYL.js → build-4IYEB6OE.js} +7 -7
- package/dist/{build-disk-ANS4SYJ3.js → build-disk-2MOEPIZF.js} +5 -5
- package/dist/build-info.json +1 -1
- package/dist/{builder-7TYKMRTJ.js → builder-SVI2D35R.js} +4 -4
- package/dist/{caller-ZROOH73G.js → caller-PW7R46M7.js} +7 -7
- package/dist/{check-XFV3VI2N.js → check-HC7E2BFS.js} +37 -37
- package/dist/{chunk-YE6EE4RC.js → chunk-2FJYZUZE.js} +3 -3
- package/dist/{chunk-XEFOBPG3.js → chunk-33XLQIV4.js} +1 -1
- package/dist/{chunk-4GJPOZXO.js → chunk-36XB56GG.js} +2 -2
- package/dist/{chunk-UBZTPZJF.js → chunk-3YJJ2JDV.js} +1 -1
- package/dist/{chunk-YTZYFWJQ.js → chunk-3Z5KBFBB.js} +2 -2
- package/dist/{chunk-3WNKIXAJ.js → chunk-4AEOP5PD.js} +3 -3
- package/dist/{chunk-IKT2MOY6.js → chunk-4G5SYPK2.js} +1 -1
- package/dist/{chunk-S6VT3TNG.js → chunk-6BXJESQF.js} +3 -3
- package/dist/{chunk-GNJVUQYO.js → chunk-6FQSV7ZK.js} +3 -3
- package/dist/{chunk-L2VXYF66.js → chunk-7GUD2FIF.js} +1 -1
- package/dist/{chunk-2APZSZWP.js → chunk-7XORCWWZ.js} +3 -3
- package/dist/{chunk-I6PMRDHZ.js → chunk-ABRGN5OA.js} +1 -1
- package/dist/{chunk-U527OJJO.js → chunk-AJ3YUM23.js} +1 -1
- package/dist/{chunk-ZTH5HHYS.js → chunk-BIMHESZG.js} +1 -1
- package/dist/{chunk-SGZCU6L3.js → chunk-DKMSDIWM.js} +170 -82
- package/dist/{chunk-7YDMHWVK.js → chunk-DKRZZBKI.js} +3 -3
- package/dist/{chunk-OFZ5A2A5.js → chunk-DKTXQ7XQ.js} +1 -1
- package/dist/{chunk-5YJWKIIO.js → chunk-DULO2L5B.js} +1 -1
- package/dist/{chunk-ICXSMGJF.js → chunk-EQZNHUEK.js} +2 -2
- package/dist/{chunk-O67Y46CY.js → chunk-FUONFFTG.js} +5 -5
- package/dist/{chunk-XF2HRP6A.js → chunk-HNQLZ7CK.js} +1 -1
- package/dist/{chunk-TXRMWSFE.js → chunk-J345NEVJ.js} +2 -2
- package/dist/{chunk-OZWB73EH.js → chunk-KA4BMGBR.js} +2 -2
- package/dist/{chunk-O7TYQC2D.js → chunk-KFB7KFEK.js} +7 -7
- package/dist/{chunk-WTPL4B4G.js → chunk-KN5VDMVL.js} +3 -3
- package/dist/{chunk-UEAEKTK5.js → chunk-LKLP5YMH.js} +5 -5
- package/dist/{chunk-WBUOD2CU.js → chunk-LMVHXHGQ.js} +9 -9
- package/dist/{chunk-BCP3LGUV.js → chunk-LVNMKOWI.js} +1 -1
- package/dist/{chunk-LIHVAX2O.js → chunk-M2WESKWY.js} +2 -2
- package/dist/{chunk-XJJIVGJB.js → chunk-MG33BM7E.js} +2 -2
- package/dist/{chunk-HWUCTGDI.js → chunk-N3XAJZGV.js} +3 -3
- package/dist/{chunk-NIMQJTUR.js → chunk-O5ERYWXA.js} +7 -7
- package/dist/{chunk-36XCKMNB.js → chunk-OKSYYMD2.js} +2 -2
- package/dist/{chunk-JOFYKUCM.js → chunk-ONTXC6D3.js} +3 -3
- package/dist/{chunk-WL333KYF.js → chunk-OPCFOIZJ.js} +1 -1
- package/dist/{chunk-JZJNPNNW.js → chunk-QBJ7MMOT.js} +8 -8
- package/dist/{chunk-I6RBMWDV.js → chunk-QOP2CYYY.js} +5 -5
- package/dist/{chunk-ZW36EULQ.js → chunk-SIGBRVEF.js} +5 -13
- package/dist/{chunk-MJEP4EFZ.js → chunk-T6QX3S64.js} +5 -5
- package/dist/{chunk-7IV7XZ6C.js → chunk-TJ7OVPR7.js} +2 -2
- package/dist/{chunk-CEDWGLK5.js → chunk-TUH2STQV.js} +5 -5
- package/dist/{chunk-VASOYLWE.js → chunk-UHOP4IMQ.js} +1 -1
- package/dist/{chunk-DHLEYFNL.js → chunk-UKEJBA5Y.js} +1 -1
- package/dist/{chunk-QHRH3BPI.js → chunk-UWLCJZ45.js} +1 -1
- package/dist/{chunk-AABLA7NP.js → chunk-VCNY5VAF.js} +2 -2
- package/dist/{chunk-LXEXWLCW.js → chunk-VNHCN75M.js} +1 -1
- package/dist/{chunk-FAFHCIJN.js → chunk-VQ6ZKSNL.js} +1 -1
- package/dist/{chunk-PFNFXK5B.js → chunk-WV43CAGI.js} +2 -2
- package/dist/{chunk-EFIMO5HF.js → chunk-YOFYW4EE.js} +50 -36
- package/dist/{chunk-HKP33YSC.js → chunk-ZQII2ZRP.js} +1 -1
- package/dist/{claude-launcher-YYBDHFKP.js → claude-launcher-GIT7VNYK.js} +1 -1
- package/dist/{cli-KUDROKJT.js → cli-EOY2DOOD.js} +124 -124
- package/dist/{command-6EO3Z7BW.js → command-OD2UYKKQ.js} +32 -32
- package/dist/{config-6EOFYJWZ.js → config-AOOR5BPQ.js} +6 -6
- package/dist/{connect-cmd-OTYUH5EY.js → connect-cmd-FIPFU4X4.js} +5 -5
- package/dist/{container-start-B6UCYRAZ.js → container-start-NISTFOL2.js} +30 -30
- package/dist/{context-show-cmd-U7NEJRQH.js → context-show-cmd-SOUPRIUD.js} +6 -6
- package/dist/{control-plane-launch-SXAXGPCQ.js → control-plane-launch-IIHRG233.js} +5 -5
- package/dist/{demo-record-cmd-WJJWOVEV.js → demo-record-cmd-PI7QDFRP.js} +2 -2
- package/dist/{demo-voice-cmd-CDVRH7RS.js → demo-voice-cmd-JZOO3TL5.js} +11 -11
- package/dist/{docker-G46NSNAE.js → docker-6MPPSTR4.js} +4 -4
- package/dist/{doctor-6TS6Y6DI.js → doctor-OU54YSDJ.js} +32 -32
- package/dist/{emit-artifact-cmd-QET3MR7Y.js → emit-artifact-cmd-ZU7JHEYN.js} +10 -10
- package/dist/{emit-criteria-cmd-Z3NGUOQ3.js → emit-criteria-cmd-4DSDN3CZ.js} +7 -7
- package/dist/{emit-demo-cmd-VN5TLP6X.js → emit-demo-cmd-2CLCGPBS.js} +11 -11
- package/dist/{emit-finding-cmd-NN6TLRV4.js → emit-finding-cmd-GG2WT2ZN.js} +7 -7
- package/dist/{emit-result-cmd-XCU6WVMT.js → emit-result-cmd-3MUFY5ES.js} +9 -9
- package/dist/{emit-step-cmd-3B3SN2DX.js → emit-step-cmd-KHXTWZFP.js} +7 -7
- package/dist/{exec-client-55XHR4PH.js → exec-client-YQCKCZGW.js} +3 -3
- package/dist/{find-unit-RPIWIOJ2.js → find-unit-YT25OH3F.js} +8 -8
- package/dist/{findings-cmd-HDH4Y5ON.js → findings-cmd-OSJ2Y3IC.js} +7 -7
- package/dist/{fleet-readiness-3HC5JKYS.js → fleet-readiness-JE3MTT3R.js} +5 -5
- package/dist/{governing-source-B3RBMTCL.js → governing-source-FQKK5RCJ.js} +9 -9
- package/dist/{guest-init-KGFEH6IZ.js → guest-init-X2HLNETS.js} +4 -4
- package/dist/{hook-fast-BH7W6WZV.js → hook-fast-3BGU6BF2.js} +1 -1
- package/dist/{host-checks-VQ4C5U6W.js → host-checks-PIVAISJF.js} +28 -28
- package/dist/{pending-QUWRYGA3.js → host-key-KQ6JWRB4.js} +3 -3
- package/dist/{image-tag-DBU2FVYO.js → image-tag-IJKYPT6D.js} +3 -3
- package/dist/index.js +4 -4
- package/dist/{init-ZSLVVOTK.js → init-4WHNRYJK.js} +28 -28
- package/dist/{init-PNXWQIPT.js → init-CSOKCOU2.js} +28 -28
- package/dist/{init-agent-J6RUWY5O.js → init-agent-N4SCUBDT.js} +28 -28
- package/dist/{init-cmd-DX66HZ6D.js → init-cmd-7HDKDTUS.js} +10 -10
- package/dist/{init-update-GZM2FZRC.js → init-update-UFZX37SD.js} +8 -8
- package/dist/{install-cmd-L5GEWLRY.js → install-cmd-DHIVJEBO.js} +5 -5
- package/dist/{logs-JZF44C7F.js → logs-VX2SXLJH.js} +2 -2
- package/dist/{loop-IWOVUNVC.js → loop-DH7PXRWV.js} +36 -36
- package/dist/{machine-HMMOQT46.js → machine-Y3VIABUB.js} +28 -28
- package/dist/{mcp-serve-cmd-X5FNE5WG.js → mcp-serve-cmd-P34CQIBX.js} +4 -4
- package/dist/{paths-TQEUR7ET.js → paths-HV3G2EHE.js} +2 -2
- package/dist/{host-key-HQQLUWQB.js → pending-I2EJ7TMY.js} +3 -3
- package/dist/{pidfile-KOZAOHSS.js → pidfile-4ZG5I7ZR.js} +3 -3
- package/dist/{record-6TPL2BNW.js → record-3XWPD2UP.js} +3 -3
- package/dist/{run-cmd-DE6LEJ4S.js → run-cmd-R4EB4TKJ.js} +7 -7
- package/dist/{runner-env-QO43XEFB.js → runner-env-JS2WDB5L.js} +8 -8
- package/dist/{runner-identity-L4RMVVQ3.js → runner-identity-F2Z3TXJ7.js} +4 -4
- package/dist/{runner-key-JPAT3ERV.js → runner-key-DIVDANJ3.js} +28 -28
- package/dist/{session-sender-KXFNZ7QR.js → session-sender-NMZGHC65.js} +10 -10
- package/dist/{spec-cmd-B44VHKSR.js → spec-cmd-Z26RVBY6.js} +8 -8
- package/dist/{state-NBUID6K5.js → state-64OMLIN4.js} +3 -3
- package/dist/{status-MQVZT3Z4.js → status-CJSJY6XJ.js} +28 -28
- package/dist/{sync-cmd-ELGJ5MHU.js → sync-cmd-WE46ELML.js} +9 -9
- package/dist/{update-steps-MXCEJOCG.js → update-steps-QTCJF6DY.js} +29 -29
- package/dist/{watch-FJYJQXBK.js → watch-O5BOUDHZ.js} +9 -9
- package/dist/{work-claim-cmd-VRTQB3TO.js → work-claim-cmd-35CRWPQK.js} +12 -12
- package/dist/{work-cmd-EDGMD2VX.js → work-cmd-4NMKJHC5.js} +7 -7
- package/dist/{work-comment-cmd-YKGQ7WPG.js → work-comment-cmd-4FLBLGH3.js} +9 -9
- package/dist/{work-demo-cmd-GWKHJGHE.js → work-demo-cmd-ZFZLPJHZ.js} +7 -7
- package/dist/{work-logs-cmd-4RA6SF2Z.js → work-logs-cmd-2CGBAPNO.js} +7 -7
- package/dist/{work-needs-attention-cmd-SHFYBESF.js → work-needs-attention-cmd-SXZHDR4U.js} +7 -7
- package/dist/{work-no-change-cmd-AMSJX7MG.js → work-no-change-cmd-EFDSBICP.js} +7 -7
- package/dist/{work-open-pr-cmd-G5VF5AA2.js → work-open-pr-cmd-272NR4QR.js} +11 -9
- package/dist/{work-pr-cmd-CX2QSIJN.js → work-pr-cmd-OJ7ZGDKB.js} +7 -7
- package/dist/{work-proofs-cmd-5PC334U6.js → work-proofs-cmd-CZFDNMXW.js} +8 -8
- package/dist/{work-proofs-record-EHZDEFKH.js → work-proofs-record-BVFYTMES.js} +14 -14
- package/dist/{work-stop-cmd-E7OUJHBJ.js → work-stop-cmd-UHGV6AGA.js} +7 -7
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-cli/references/open-pull-request.md +4 -0
|
@@ -1,28 +1,28 @@
|
|
|
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-LMVHXHGQ.js';
|
|
4
4
|
import './chunk-MOFT7QCR.js';
|
|
5
|
-
import { verifiedTrackerNames, TRACKERS } from './chunk-
|
|
5
|
+
import { verifiedTrackerNames, TRACKERS } from './chunk-QOP2CYYY.js';
|
|
6
6
|
import './chunk-MOA4PGYL.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
7
|
+
import './chunk-VCNY5VAF.js';
|
|
8
|
+
import './chunk-UHOP4IMQ.js';
|
|
9
9
|
import './chunk-F3RBGMHL.js';
|
|
10
10
|
import './chunk-NJ6IJFKR.js';
|
|
11
11
|
import './chunk-USINHGZI.js';
|
|
12
|
-
import './chunk-
|
|
12
|
+
import './chunk-HNQLZ7CK.js';
|
|
13
13
|
import './chunk-QHYCF36K.js';
|
|
14
14
|
import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-3BEMKOFH.js';
|
|
15
15
|
import './chunk-N3KGXHV4.js';
|
|
16
16
|
import './chunk-A2LHHKTT.js';
|
|
17
17
|
import { C, warnDeprecated, API_KEY_FLAG_DEPRECATION, NO_COLOR_FLAG, stripNoColor } from './chunk-2AM6Z5BP.js';
|
|
18
18
|
import './chunk-SASWFX22.js';
|
|
19
|
-
import './chunk-
|
|
19
|
+
import './chunk-DKTXQ7XQ.js';
|
|
20
20
|
import './chunk-HWVMRETT.js';
|
|
21
|
-
import './chunk-
|
|
22
|
-
import './chunk-
|
|
23
|
-
import './chunk-
|
|
21
|
+
import './chunk-ZQII2ZRP.js';
|
|
22
|
+
import './chunk-DULO2L5B.js';
|
|
23
|
+
import './chunk-SIGBRVEF.js';
|
|
24
24
|
import './chunk-NFPJ2XC2.js';
|
|
25
|
-
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-
|
|
25
|
+
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-UKEJBA5Y.js';
|
|
26
26
|
import './chunk-545P7JY7.js';
|
|
27
27
|
import './chunk-SF2TBJBP.js';
|
|
28
28
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
@@ -3827,7 +3827,7 @@ async function installMachineSkillsForSetup() {
|
|
|
3827
3827
|
` : "";
|
|
3828
3828
|
}
|
|
3829
3829
|
async function realConnectDepsForCwd() {
|
|
3830
|
-
const { realConnectDeps } = await import('./connect-cmd-
|
|
3830
|
+
const { realConnectDeps } = await import('./connect-cmd-FIPFU4X4.js');
|
|
3831
3831
|
const { resolveRepoIdentity } = await import('./dist-JSSJSW2B.js');
|
|
3832
3832
|
return {
|
|
3833
3833
|
...realConnectDeps(),
|
|
@@ -3902,8 +3902,8 @@ build, ../outerlayer-build/SKILL.md becomes ~/.agents/skills/outerlayer-build/SK
|
|
|
3902
3902
|
what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocation() + " doctor` reports the same\nstates under Starter files.\n"
|
|
3903
3903
|
).action(async (opts) => {
|
|
3904
3904
|
if (opts.update || opts.dryRun) {
|
|
3905
|
-
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-
|
|
3906
|
-
const { fleetReadiness } = await import('./fleet-readiness-
|
|
3905
|
+
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-UFZX37SD.js');
|
|
3906
|
+
const { fleetReadiness } = await import('./fleet-readiness-JE3MTT3R.js');
|
|
3907
3907
|
const problem = updateFlagProblem(opts);
|
|
3908
3908
|
if (problem !== void 0) {
|
|
3909
3909
|
fail(problem);
|
|
@@ -3954,13 +3954,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3954
3954
|
if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
|
|
3955
3955
|
`);
|
|
3956
3956
|
}
|
|
3957
|
-
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-
|
|
3957
|
+
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-7HDKDTUS.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
|
|
3958
3958
|
if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
|
|
3959
3959
|
else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
|
|
3960
3960
|
return;
|
|
3961
3961
|
}
|
|
3962
3962
|
await installMachineSkillsForSetup();
|
|
3963
|
-
const { runInitCommand } = await import('./init-cmd-
|
|
3963
|
+
const { runInitCommand } = await import('./init-cmd-7HDKDTUS.js');
|
|
3964
3964
|
const code = await runInitCommand(
|
|
3965
3965
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3966
3966
|
{
|
|
@@ -3972,7 +3972,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3972
3972
|
return { ok, text, detail };
|
|
3973
3973
|
},
|
|
3974
3974
|
runAgentSetup: async () => {
|
|
3975
|
-
const { runAgentSetup } = await import('./agent-setup-
|
|
3975
|
+
const { runAgentSetup } = await import('./agent-setup-HXEWWT6K.js');
|
|
3976
3976
|
return runAgentSetup({ cwd: process.cwd(), skillsLink: opts.skillsLink !== false });
|
|
3977
3977
|
},
|
|
3978
3978
|
runDoctorChecks: gatherDoctorChecks,
|
|
@@ -3981,7 +3981,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3981
3981
|
shellPath: process.env.SHELL,
|
|
3982
3982
|
interactive: Boolean(process.stdin.isTTY && process.stderr.isTTY) && opts.json !== true,
|
|
3983
3983
|
ask: async () => {
|
|
3984
|
-
const { promptOnTerminal } = await import('./connect-cmd-
|
|
3984
|
+
const { promptOnTerminal } = await import('./connect-cmd-FIPFU4X4.js');
|
|
3985
3985
|
const answer = await promptOnTerminal({
|
|
3986
3986
|
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.`,
|
|
3987
3987
|
options: [
|
|
@@ -4020,7 +4020,7 @@ linked (true, false, or null when it could not be checked) and, when false,
|
|
|
4020
4020
|
linkUrl.
|
|
4021
4021
|
`
|
|
4022
4022
|
).action(async (opts) => {
|
|
4023
|
-
const { runConnectCommand } = await import('./connect-cmd-
|
|
4023
|
+
const { runConnectCommand } = await import('./connect-cmd-FIPFU4X4.js');
|
|
4024
4024
|
const code = await runConnectCommand({ factory: opts.factory, json: opts.json }, await realConnectDepsForCwd(), {
|
|
4025
4025
|
stdout: process.stdout,
|
|
4026
4026
|
stderr: process.stderr
|
|
@@ -4102,7 +4102,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4102
4102
|
else fail(found.reason);
|
|
4103
4103
|
return;
|
|
4104
4104
|
}
|
|
4105
|
-
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-
|
|
4105
|
+
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-WE46ELML.js');
|
|
4106
4106
|
try {
|
|
4107
4107
|
const result = await runSync({
|
|
4108
4108
|
url: opts.url,
|
|
@@ -4131,7 +4131,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4131
4131
|
if (invokedCommandToken(argv) === "watch") {
|
|
4132
4132
|
warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
|
|
4133
4133
|
}
|
|
4134
|
-
const { runWatch } = await import('./watch-
|
|
4134
|
+
const { runWatch } = await import('./watch-O5BOUDHZ.js');
|
|
4135
4135
|
await runWatch({ once: opts.once });
|
|
4136
4136
|
});
|
|
4137
4137
|
program2.command("hook <event>", { hidden: true }).description("capture-hook fast path, installed by `init`").option("--agent <id>", "the agent that sent the event; with none, Claude Code").action(() => {
|
|
@@ -4201,7 +4201,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4201
4201
|
}
|
|
4202
4202
|
});
|
|
4203
4203
|
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) => {
|
|
4204
|
-
const { runVmExec } = await import('./exec-client-
|
|
4204
|
+
const { runVmExec } = await import('./exec-client-YQCKCZGW.js');
|
|
4205
4205
|
const env = {};
|
|
4206
4206
|
for (const entry of opts.env) {
|
|
4207
4207
|
const eq = entry.indexOf("=");
|
|
@@ -4230,7 +4230,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4230
4230
|
process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
|
|
4231
4231
|
});
|
|
4232
4232
|
program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
|
|
4233
|
-
const { runSessionSender } = await import('./session-sender-
|
|
4233
|
+
const { runSessionSender } = await import('./session-sender-NMZGHC65.js');
|
|
4234
4234
|
try {
|
|
4235
4235
|
await runSessionSender();
|
|
4236
4236
|
} catch (err) {
|
|
@@ -4238,7 +4238,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4238
4238
|
}
|
|
4239
4239
|
});
|
|
4240
4240
|
program2.command("vm-init", { hidden: true }).description("lay out a microVM build's guest; the guest helper runs it").action(async () => {
|
|
4241
|
-
const { realGuestHost, runGuestInit } = await import('./guest-init-
|
|
4241
|
+
const { realGuestHost, runGuestInit } = await import('./guest-init-X2HLNETS.js');
|
|
4242
4242
|
const { readFileSync: readFileSync3 } = await import('fs');
|
|
4243
4243
|
try {
|
|
4244
4244
|
runGuestInit(realGuestHost(), readFileSync3("/proc/cmdline", "utf8"));
|
|
@@ -4247,7 +4247,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4247
4247
|
}
|
|
4248
4248
|
});
|
|
4249
4249
|
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) => {
|
|
4250
|
-
const { startBridgeForward } = await import('./bridge-
|
|
4250
|
+
const { startBridgeForward } = await import('./bridge-OBIGQXDH.js');
|
|
4251
4251
|
try {
|
|
4252
4252
|
await startBridgeForward(opts);
|
|
4253
4253
|
} catch (err) {
|
|
@@ -4326,7 +4326,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
|
|
|
4326
4326
|
await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
|
|
4327
4327
|
return;
|
|
4328
4328
|
}
|
|
4329
|
-
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-
|
|
4329
|
+
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-3MUFY5ES.js');
|
|
4330
4330
|
try {
|
|
4331
4331
|
const result = await runEmitResult({
|
|
4332
4332
|
name,
|
|
@@ -4378,7 +4378,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
|
|
|
4378
4378
|
locally so it never uploads. One correction can retire several duplicates.
|
|
4379
4379
|
`
|
|
4380
4380
|
).action(async (file, opts) => {
|
|
4381
|
-
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-
|
|
4381
|
+
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-ZU7JHEYN.js');
|
|
4382
4382
|
let pr;
|
|
4383
4383
|
if (opts.pr !== void 0) {
|
|
4384
4384
|
pr = parseTrackerNumber(opts.pr);
|
|
@@ -4434,7 +4434,7 @@ its criterion, and the new record retires the old record. The id must be the ite
|
|
|
4434
4434
|
as \`work demo --item <n> --json\` prints it.
|
|
4435
4435
|
`
|
|
4436
4436
|
).action(async (manifest, opts) => {
|
|
4437
|
-
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-
|
|
4437
|
+
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-2CLCGPBS.js');
|
|
4438
4438
|
let item;
|
|
4439
4439
|
if (opts.item !== void 0) {
|
|
4440
4440
|
item = parseTrackerNumber(opts.item);
|
|
@@ -4477,7 +4477,7 @@ as \`work demo --item <n> --json\` prints it.
|
|
|
4477
4477
|
}
|
|
4478
4478
|
});
|
|
4479
4479
|
program2.command("demo-voice", { hidden: true }).description("Speak demo lines for a recorder: JSON lines in on stdin, out on stdout").action(async () => {
|
|
4480
|
-
const { runDemoVoice } = await import('./demo-voice-cmd-
|
|
4480
|
+
const { runDemoVoice } = await import('./demo-voice-cmd-JZOO3TL5.js');
|
|
4481
4481
|
await runDemoVoice();
|
|
4482
4482
|
});
|
|
4483
4483
|
const demoCmd = program2.command("demo").description("Record demos with the recorder this CLI carries");
|
|
@@ -4495,7 +4495,7 @@ and the command prints the manifest's path for \`emit demo\`. Under \`work proof
|
|
|
4495
4495
|
to OUTERLAYER_PROOF_OUT instead. Exit 1 means the demo's test failed; its manifest is written all the same.
|
|
4496
4496
|
`
|
|
4497
4497
|
).action(async (file, opts) => {
|
|
4498
|
-
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-
|
|
4498
|
+
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-PI7QDFRP.js');
|
|
4499
4499
|
try {
|
|
4500
4500
|
const result = await runDemoRecord({
|
|
4501
4501
|
file,
|
|
@@ -4544,7 +4544,7 @@ recent events with their ids. --find <text> searches all of them.
|
|
|
4544
4544
|
item that session was launched for is used automatically.
|
|
4545
4545
|
`
|
|
4546
4546
|
).action(async (opts) => {
|
|
4547
|
-
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4547
|
+
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-GG2WT2ZN.js');
|
|
4548
4548
|
try {
|
|
4549
4549
|
refuseRemovedFindingFlags(opts);
|
|
4550
4550
|
const result = await runEmitFinding({
|
|
@@ -4611,7 +4611,7 @@ the whole batch. "untimed": true records one with no time on purpose.
|
|
|
4611
4611
|
that session was launched for is used automatically.
|
|
4612
4612
|
`
|
|
4613
4613
|
).action(async (file, opts) => {
|
|
4614
|
-
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4614
|
+
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-GG2WT2ZN.js');
|
|
4615
4615
|
try {
|
|
4616
4616
|
const result = await runEmitFindings({
|
|
4617
4617
|
file,
|
|
@@ -4646,7 +4646,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
|
|
|
4646
4646
|
the step, the command prints why and exits 1.
|
|
4647
4647
|
`
|
|
4648
4648
|
).action(async (name, opts) => {
|
|
4649
|
-
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-
|
|
4649
|
+
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-KHXTWZFP.js');
|
|
4650
4650
|
try {
|
|
4651
4651
|
await runEmitStep({
|
|
4652
4652
|
name,
|
|
@@ -4689,7 +4689,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
|
|
|
4689
4689
|
${cliInvocation()} emit criteria acceptance/412-login.md --item 412
|
|
4690
4690
|
`
|
|
4691
4691
|
).action(async (file, opts) => {
|
|
4692
|
-
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-
|
|
4692
|
+
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-4DSDN3CZ.js');
|
|
4693
4693
|
try {
|
|
4694
4694
|
const result = await runEmitCriteria({
|
|
4695
4695
|
file,
|
|
@@ -4713,9 +4713,9 @@ function registerSpecCommands(program2) {
|
|
|
4713
4713
|
const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
|
|
4714
4714
|
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)");
|
|
4715
4715
|
const run = async (action) => {
|
|
4716
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4716
|
+
const { WorkCommandError } = await import('./work-cmd-4NMKJHC5.js');
|
|
4717
4717
|
try {
|
|
4718
|
-
await action(await import('./spec-cmd-
|
|
4718
|
+
await action(await import('./spec-cmd-Z26RVBY6.js'));
|
|
4719
4719
|
} catch (err) {
|
|
4720
4720
|
if (err instanceof WorkCommandError) {
|
|
4721
4721
|
fail(err.message);
|
|
@@ -4750,7 +4750,7 @@ Prints each problem the item covers with its id, its reports and its result.
|
|
|
4750
4750
|
session was launched for is used.
|
|
4751
4751
|
`
|
|
4752
4752
|
).action(async (opts) => {
|
|
4753
|
-
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-
|
|
4753
|
+
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-OSJ2Y3IC.js');
|
|
4754
4754
|
try {
|
|
4755
4755
|
const result = await runFindingsShow({
|
|
4756
4756
|
item: opts.item,
|
|
@@ -4778,7 +4778,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
|
|
|
4778
4778
|
problem to replace the earlier result. A problem the item does not cover is refused.
|
|
4779
4779
|
`
|
|
4780
4780
|
).action(async (problem, opts) => {
|
|
4781
|
-
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-
|
|
4781
|
+
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-OSJ2Y3IC.js');
|
|
4782
4782
|
try {
|
|
4783
4783
|
const result = await runFindingsResult({
|
|
4784
4784
|
problem,
|
|
@@ -4812,8 +4812,8 @@ an issue when the daily limit leaves none, and then you stop reporting.
|
|
|
4812
4812
|
Only the agent of a scheduled run, which holds a run key, can run it.
|
|
4813
4813
|
`
|
|
4814
4814
|
).action(async (opts) => {
|
|
4815
|
-
const { runFoundIssue, RunCommandError } = await import('./run-cmd-
|
|
4816
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4815
|
+
const { runFoundIssue, RunCommandError } = await import('./run-cmd-R4EB4TKJ.js');
|
|
4816
|
+
const { WorkCommandError } = await import('./work-cmd-4NMKJHC5.js');
|
|
4817
4817
|
try {
|
|
4818
4818
|
await runFoundIssue(opts);
|
|
4819
4819
|
} catch (err) {
|
|
@@ -4835,8 +4835,8 @@ Run it instead of found-issue, never after it. Only the agent of a
|
|
|
4835
4835
|
scheduled run, which holds a run key, can run it.
|
|
4836
4836
|
`
|
|
4837
4837
|
).action(async (opts) => {
|
|
4838
|
-
const { runFoundNothing, RunCommandError } = await import('./run-cmd-
|
|
4839
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4838
|
+
const { runFoundNothing, RunCommandError } = await import('./run-cmd-R4EB4TKJ.js');
|
|
4839
|
+
const { WorkCommandError } = await import('./work-cmd-4NMKJHC5.js');
|
|
4840
4840
|
try {
|
|
4841
4841
|
await runFoundNothing(opts);
|
|
4842
4842
|
} catch (err) {
|
|
@@ -4868,7 +4868,7 @@ takes it, and prints the line that starts your session on it. That
|
|
|
4868
4868
|
session links itself and holds the item's lease while it works.
|
|
4869
4869
|
`
|
|
4870
4870
|
).action(async (opts) => {
|
|
4871
|
-
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-
|
|
4871
|
+
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-4NMKJHC5.js');
|
|
4872
4872
|
try {
|
|
4873
4873
|
await runWorkBuild(opts);
|
|
4874
4874
|
} catch (err) {
|
|
@@ -4891,7 +4891,7 @@ renews that session's own 20-minute lease, unless --no-lease or
|
|
|
4891
4891
|
--ended is given, or another worker already holds a live one.
|
|
4892
4892
|
`
|
|
4893
4893
|
).action(async (number, opts) => {
|
|
4894
|
-
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-
|
|
4894
|
+
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-4NMKJHC5.js');
|
|
4895
4895
|
try {
|
|
4896
4896
|
await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
|
|
4897
4897
|
} catch (err) {
|
|
@@ -4930,8 +4930,8 @@ log, csv, md, json, ndjson, zip, gz. A rate limit ends the command with the
|
|
|
4930
4930
|
wait to observe; the command does not retry.
|
|
4931
4931
|
`
|
|
4932
4932
|
).action(async (opts) => {
|
|
4933
|
-
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4934
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4933
|
+
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-4FLBLGH3.js');
|
|
4934
|
+
const { WorkCommandError } = await import('./work-cmd-4NMKJHC5.js');
|
|
4935
4935
|
try {
|
|
4936
4936
|
await runWorkComment({ ...opts, files: opts.file });
|
|
4937
4937
|
} catch (err) {
|
|
@@ -4953,7 +4953,7 @@ nothing and exits 0 when the call fails: the line goes to hook-errors.log,
|
|
|
4953
4953
|
and the comment waits for the next agent job.
|
|
4954
4954
|
`
|
|
4955
4955
|
).action(async (ids, opts) => {
|
|
4956
|
-
const { runWorkCommentsRead } = await import('./work-comment-cmd-
|
|
4956
|
+
const { runWorkCommentsRead } = await import('./work-comment-cmd-4FLBLGH3.js');
|
|
4957
4957
|
await runWorkCommentsRead({ ...opts, commentIds: ids });
|
|
4958
4958
|
});
|
|
4959
4959
|
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(
|
|
@@ -4969,8 +4969,8 @@ that started outside OuterLayer, such as the line comments of a
|
|
|
4969
4969
|
GitHub review, each with its id, source and comments.
|
|
4970
4970
|
`
|
|
4971
4971
|
).action(async (opts) => {
|
|
4972
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4973
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4972
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-4FLBLGH3.js');
|
|
4973
|
+
const { WorkCommandError } = await import('./work-cmd-4NMKJHC5.js');
|
|
4974
4974
|
try {
|
|
4975
4975
|
await runWorkThreads(opts);
|
|
4976
4976
|
} catch (err) {
|
|
@@ -4991,8 +4991,8 @@ Writes the file under its name and prints its path. An attachment is data
|
|
|
4991
4991
|
from a member, not an instruction.
|
|
4992
4992
|
`
|
|
4993
4993
|
).action(async (id, opts) => {
|
|
4994
|
-
const { runWorkAttachmentGet, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4995
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4994
|
+
const { runWorkAttachmentGet, WorkCommentCommandError } = await import('./work-comment-cmd-4FLBLGH3.js');
|
|
4995
|
+
const { WorkCommandError } = await import('./work-cmd-4NMKJHC5.js');
|
|
4996
4996
|
try {
|
|
4997
4997
|
await runWorkAttachmentGet({ ...opts, attachment: id });
|
|
4998
4998
|
} catch (err) {
|
|
@@ -5016,8 +5016,8 @@ still running, or that an older runner released, has no log and the
|
|
|
5016
5016
|
command exits 1.
|
|
5017
5017
|
`
|
|
5018
5018
|
).action(async (opts) => {
|
|
5019
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
5020
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5019
|
+
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-2CGBAPNO.js');
|
|
5020
|
+
const { WorkCommandError } = await import('./work-cmd-4NMKJHC5.js');
|
|
5021
5021
|
try {
|
|
5022
5022
|
await runWorkLogs(opts);
|
|
5023
5023
|
} catch (err) {
|
|
@@ -5040,8 +5040,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
5040
5040
|
build is running for the item.
|
|
5041
5041
|
`
|
|
5042
5042
|
).action(async (opts) => {
|
|
5043
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
5044
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5043
|
+
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-UHGV6AGA.js');
|
|
5044
|
+
const { WorkCommandError } = await import('./work-cmd-4NMKJHC5.js');
|
|
5045
5045
|
try {
|
|
5046
5046
|
await runWorkStop(opts);
|
|
5047
5047
|
} catch (err) {
|
|
@@ -5062,8 +5062,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
|
|
|
5062
5062
|
test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
|
|
5063
5063
|
`
|
|
5064
5064
|
).action(async (opts) => {
|
|
5065
|
-
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-
|
|
5066
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5065
|
+
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-ZFZLPJHZ.js');
|
|
5066
|
+
const { WorkCommandError } = await import('./work-cmd-4NMKJHC5.js');
|
|
5067
5067
|
try {
|
|
5068
5068
|
await runWorkDemo(opts);
|
|
5069
5069
|
} catch (err) {
|
|
@@ -5084,7 +5084,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
5084
5084
|
live addition remains on it.
|
|
5085
5085
|
`
|
|
5086
5086
|
).action(async (opts) => {
|
|
5087
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
5087
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-4NMKJHC5.js');
|
|
5088
5088
|
try {
|
|
5089
5089
|
await runWorkRemove(opts);
|
|
5090
5090
|
} catch (err) {
|
|
@@ -5096,7 +5096,7 @@ live addition remains on it.
|
|
|
5096
5096
|
}
|
|
5097
5097
|
});
|
|
5098
5098
|
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) => {
|
|
5099
|
-
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-
|
|
5099
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-4NMKJHC5.js');
|
|
5100
5100
|
try {
|
|
5101
5101
|
await runWorkStatus(opts);
|
|
5102
5102
|
} catch (err) {
|
|
@@ -5154,11 +5154,11 @@ a runner build, no row is failed.
|
|
|
5154
5154
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5155
5155
|
return;
|
|
5156
5156
|
}
|
|
5157
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5157
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-CZFDNMXW.js');
|
|
5158
5158
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5159
5159
|
});
|
|
5160
5160
|
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) => {
|
|
5161
|
-
const { runWorkList, WorkCommandError } = await import('./work-cmd-
|
|
5161
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-4NMKJHC5.js');
|
|
5162
5162
|
try {
|
|
5163
5163
|
await runWorkList(opts);
|
|
5164
5164
|
} catch (err) {
|
|
@@ -5179,7 +5179,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
5179
5179
|
it. --host is a label only.
|
|
5180
5180
|
`
|
|
5181
5181
|
).action(async (opts) => {
|
|
5182
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
5182
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-35CRWPQK.js');
|
|
5183
5183
|
try {
|
|
5184
5184
|
await runWorkClaim(opts);
|
|
5185
5185
|
} catch (err) {
|
|
@@ -5199,7 +5199,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5199
5199
|
lease has expired, or a 403 if a different key holds it.
|
|
5200
5200
|
`
|
|
5201
5201
|
).action(async (opts) => {
|
|
5202
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5202
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-35CRWPQK.js');
|
|
5203
5203
|
try {
|
|
5204
5204
|
await runWorkRenew(opts);
|
|
5205
5205
|
} catch (err) {
|
|
@@ -5231,7 +5231,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5231
5231
|
takes the lease again.
|
|
5232
5232
|
`
|
|
5233
5233
|
).action(async (opts) => {
|
|
5234
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5234
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-35CRWPQK.js');
|
|
5235
5235
|
try {
|
|
5236
5236
|
await runWorkRelease(opts);
|
|
5237
5237
|
} catch (err) {
|
|
@@ -5258,7 +5258,7 @@ Idempotent: declaring the same pull request twice is a no-op.
|
|
|
5258
5258
|
needs your own login; an agent session or a factory key is refused.
|
|
5259
5259
|
`
|
|
5260
5260
|
).action(async (number, opts) => {
|
|
5261
|
-
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-
|
|
5261
|
+
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-OJ7ZGDKB.js');
|
|
5262
5262
|
try {
|
|
5263
5263
|
await runWorkPr({ ...opts, number });
|
|
5264
5264
|
} catch (err) {
|
|
@@ -5283,8 +5283,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
5283
5283
|
Run it again after a change to the title or description.
|
|
5284
5284
|
`
|
|
5285
5285
|
).action(async (opts) => {
|
|
5286
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
5287
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5286
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-272NR4QR.js');
|
|
5287
|
+
const { WorkCommandError } = await import('./work-cmd-4NMKJHC5.js');
|
|
5288
5288
|
try {
|
|
5289
5289
|
await runWorkOpenPr(opts);
|
|
5290
5290
|
} catch (err) {
|
|
@@ -5307,8 +5307,8 @@ and OuterLayer posts the reason on the issue. Only a host build, which
|
|
|
5307
5307
|
holds an item key, can run it.
|
|
5308
5308
|
`
|
|
5309
5309
|
).action(async (opts) => {
|
|
5310
|
-
const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-
|
|
5311
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5310
|
+
const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-EFDSBICP.js');
|
|
5311
|
+
const { WorkCommandError } = await import('./work-cmd-4NMKJHC5.js');
|
|
5312
5312
|
try {
|
|
5313
5313
|
await runWorkNoChange(opts);
|
|
5314
5314
|
} catch (err) {
|
|
@@ -5331,8 +5331,8 @@ record that no change is needed. Only a host build, which holds an item key,
|
|
|
5331
5331
|
can run it.
|
|
5332
5332
|
`
|
|
5333
5333
|
).action(async (opts) => {
|
|
5334
|
-
const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-
|
|
5335
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5334
|
+
const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-SXZHDR4U.js');
|
|
5335
|
+
const { WorkCommandError } = await import('./work-cmd-4NMKJHC5.js');
|
|
5336
5336
|
try {
|
|
5337
5337
|
await runWorkNeedsAttention(opts);
|
|
5338
5338
|
} catch (err) {
|
|
@@ -5376,9 +5376,9 @@ function registerRunnerCommands(program2) {
|
|
|
5376
5376
|
const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
|
|
5377
5377
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5378
5378
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5379
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5380
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5381
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5379
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-AOOR5BPQ.js');
|
|
5380
|
+
const { start, RunnerStartError } = await import('./loop-DH7PXRWV.js');
|
|
5381
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-4ZG5I7ZR.js');
|
|
5382
5382
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5383
5383
|
try {
|
|
5384
5384
|
const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
|
|
@@ -5400,10 +5400,10 @@ is optional and defaults to ${words().runnerName}. On a later start it refuses v
|
|
|
5400
5400
|
The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
5401
5401
|
`
|
|
5402
5402
|
).action(async () => {
|
|
5403
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5404
|
-
const { containerStart, containerStartExit } = await import('./container-start-
|
|
5405
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5406
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5403
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-AOOR5BPQ.js');
|
|
5404
|
+
const { containerStart, containerStartExit } = await import('./container-start-NISTFOL2.js');
|
|
5405
|
+
const { start, RunnerStartError } = await import('./loop-DH7PXRWV.js');
|
|
5406
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-4ZG5I7ZR.js');
|
|
5407
5407
|
try {
|
|
5408
5408
|
const outcome = containerStartExit(await containerStart({
|
|
5409
5409
|
env: process.env,
|
|
@@ -5424,16 +5424,16 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5424
5424
|
"after",
|
|
5425
5425
|
"\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"
|
|
5426
5426
|
).action(async (opts) => {
|
|
5427
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5428
|
-
const { runnerDir } = await import('./paths-
|
|
5429
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5427
|
+
const { defaultRunnerConfigPath } = await import('./config-AOOR5BPQ.js');
|
|
5428
|
+
const { runnerDir } = await import('./paths-HV3G2EHE.js');
|
|
5429
|
+
const { runUpdateSteps } = await import('./update-steps-QTCJF6DY.js');
|
|
5430
5430
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5431
5431
|
process.stdout.write(`${text}
|
|
5432
5432
|
`);
|
|
5433
5433
|
});
|
|
5434
5434
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5435
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5436
|
-
const { runRunnerCheck } = await import('./check-
|
|
5435
|
+
const { defaultRunnerConfigPath } = await import('./config-AOOR5BPQ.js');
|
|
5436
|
+
const { runRunnerCheck } = await import('./check-HC7E2BFS.js');
|
|
5437
5437
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5438
5438
|
const result = await runRunnerCheck(configPath);
|
|
5439
5439
|
if (!result.ok) {
|
|
@@ -5454,8 +5454,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5454
5454
|
`);
|
|
5455
5455
|
});
|
|
5456
5456
|
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) => {
|
|
5457
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5458
|
-
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-
|
|
5457
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-AOOR5BPQ.js');
|
|
5458
|
+
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-DHIVJEBO.js');
|
|
5459
5459
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5460
5460
|
if (opts.service !== true) {
|
|
5461
5461
|
const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
|
|
@@ -5467,13 +5467,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5467
5467
|
}
|
|
5468
5468
|
}
|
|
5469
5469
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5470
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5470
|
+
if (buildCpusMax !== void 0 && !(await import('./command-OD2UYKKQ.js')).cpusAreValid(buildCpusMax)) {
|
|
5471
5471
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5472
5472
|
return;
|
|
5473
5473
|
}
|
|
5474
5474
|
try {
|
|
5475
5475
|
if (opts.service === true) {
|
|
5476
|
-
const { installServiceCommand, serviceSuccessText } = await import('./command-
|
|
5476
|
+
const { installServiceCommand, serviceSuccessText } = await import('./command-OD2UYKKQ.js');
|
|
5477
5477
|
const result2 = await installServiceCommand({
|
|
5478
5478
|
configPath,
|
|
5479
5479
|
print: opts.print,
|
|
@@ -5527,8 +5527,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5527
5527
|
fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
|
|
5528
5528
|
return;
|
|
5529
5529
|
}
|
|
5530
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5531
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5530
|
+
const { defaultRunnerConfigPath } = await import('./config-AOOR5BPQ.js');
|
|
5531
|
+
const { uninstallServiceCommand } = await import('./command-OD2UYKKQ.js');
|
|
5532
5532
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5533
5533
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5534
5534
|
`);
|
|
@@ -5558,12 +5558,12 @@ already in ${words().envFile} is used.
|
|
|
5558
5558
|
printf '%s' "$${words().variables[0]}" | ${cliInvocation()} runner init --agent ${words().runnerName} --factory <org>/<factory>
|
|
5559
5559
|
`
|
|
5560
5560
|
).action(async (opts) => {
|
|
5561
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5562
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5563
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5564
|
-
const { detectMachine } = await import('./machine-
|
|
5565
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5566
|
-
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-
|
|
5561
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-AOOR5BPQ.js');
|
|
5562
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-CSOKCOU2.js');
|
|
5563
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-DIVDANJ3.js');
|
|
5564
|
+
const { detectMachine } = await import('./machine-Y3VIABUB.js');
|
|
5565
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-4WHNRYJK.js');
|
|
5566
|
+
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-JS2WDB5L.js');
|
|
5567
5567
|
const { headlessNames: headlessNames2 } = await import('./runner-agents-3NUGNJD6.js');
|
|
5568
5568
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5569
5569
|
if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
|
|
@@ -5576,7 +5576,7 @@ already in ${words().envFile} is used.
|
|
|
5576
5576
|
return;
|
|
5577
5577
|
}
|
|
5578
5578
|
try {
|
|
5579
|
-
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-
|
|
5579
|
+
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-N4SCUBDT.js');
|
|
5580
5580
|
agent = await initAgent({
|
|
5581
5581
|
flag: agent,
|
|
5582
5582
|
handOff: opts.configStdin === true,
|
|
@@ -5609,7 +5609,7 @@ already in ${words().envFile} is used.
|
|
|
5609
5609
|
const chunks = [];
|
|
5610
5610
|
for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
|
|
5611
5611
|
const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
|
|
5612
|
-
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-
|
|
5612
|
+
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-KQ6JWRB4.js');
|
|
5613
5613
|
const hostKey2 = await ensureHostKey2(configPath);
|
|
5614
5614
|
process.stdout.write(`host key ${hostKey2.fingerprint}
|
|
5615
5615
|
hooks: ${result2.hooks}
|
|
@@ -5664,7 +5664,7 @@ hooks: ${result2.hooks}
|
|
|
5664
5664
|
const prepared = prepareRunnerInit(configPath, { machine, agent, credential, keyFromLogin: makeKey !== void 0 });
|
|
5665
5665
|
const created = makeKey === void 0 ? void 0 : await makeKey();
|
|
5666
5666
|
const result = writeRunnerInit(prepared, created);
|
|
5667
|
-
const { ensureHostKey } = await import('./host-key-
|
|
5667
|
+
const { ensureHostKey } = await import('./host-key-KQ6JWRB4.js');
|
|
5668
5668
|
const hostKey = await ensureHostKey(configPath);
|
|
5669
5669
|
if (created !== void 0) {
|
|
5670
5670
|
process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
|
|
@@ -5684,7 +5684,7 @@ hooks: ${result2.hooks}
|
|
|
5684
5684
|
);
|
|
5685
5685
|
process.stdout.write(`${C.green}\u2713${C.reset} hooks: ${result.hooks}${result.hooks === "builtin:vm" ? " (builds run in microVMs)" : " (builds run in containers)"}
|
|
5686
5686
|
`);
|
|
5687
|
-
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-
|
|
5687
|
+
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-DHIVJEBO.js');
|
|
5688
5688
|
let installedLayout = false;
|
|
5689
5689
|
let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
|
|
5690
5690
|
try {
|
|
@@ -5716,7 +5716,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5716
5716
|
let serviceUp = false;
|
|
5717
5717
|
let restart;
|
|
5718
5718
|
if (installedLayout) {
|
|
5719
|
-
const { installServiceCommand } = await import('./command-
|
|
5719
|
+
const { installServiceCommand } = await import('./command-OD2UYKKQ.js');
|
|
5720
5720
|
const service = await installServiceCommand({
|
|
5721
5721
|
configPath,
|
|
5722
5722
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5768,12 +5768,12 @@ image holds this CLI and a pinned ${words().agent}. Nothing runs inside the imag
|
|
|
5768
5768
|
A repository with no devcontainer file builds on the universal image the CLI pins by digest.
|
|
5769
5769
|
`
|
|
5770
5770
|
).action(async (opts) => {
|
|
5771
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5772
|
-
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-
|
|
5771
|
+
const { defaultRunnerConfigPath } = await import('./config-AOOR5BPQ.js');
|
|
5772
|
+
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-4IYEB6OE.js');
|
|
5773
5773
|
const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
|
|
5774
|
-
const { createDockerHost } = await import('./docker-
|
|
5775
|
-
const { builderSpec } = await import('./builder-
|
|
5776
|
-
const { loadRunnerConfig } = await import('./config-
|
|
5774
|
+
const { createDockerHost } = await import('./docker-6MPPSTR4.js');
|
|
5775
|
+
const { builderSpec } = await import('./builder-SVI2D35R.js');
|
|
5776
|
+
const { loadRunnerConfig } = await import('./config-AOOR5BPQ.js');
|
|
5777
5777
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5778
5778
|
const loaded = (() => {
|
|
5779
5779
|
try {
|
|
@@ -5784,12 +5784,12 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5784
5784
|
})();
|
|
5785
5785
|
const memory = loaded?.build?.memory ?? "8g";
|
|
5786
5786
|
try {
|
|
5787
|
-
const { ensureRunnerIdentity } = await import('./runner-identity-
|
|
5787
|
+
const { ensureRunnerIdentity } = await import('./runner-identity-F2Z3TXJ7.js');
|
|
5788
5788
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5789
5789
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5790
5790
|
});
|
|
5791
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5792
|
-
const { runnerCalls } = await import('./caller-
|
|
5791
|
+
const { imageTargetFor } = await import('./governing-source-FQKK5RCJ.js');
|
|
5792
|
+
const { runnerCalls } = await import('./caller-PW7R46M7.js');
|
|
5793
5793
|
const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
|
|
5794
5794
|
if (!target.ok) {
|
|
5795
5795
|
if (opts.json) {
|
|
@@ -5853,25 +5853,25 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5853
5853
|
}
|
|
5854
5854
|
});
|
|
5855
5855
|
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) => {
|
|
5856
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5857
|
-
const { requestStop } = await import('./loop-
|
|
5856
|
+
const { defaultRunnerConfigPath } = await import('./config-AOOR5BPQ.js');
|
|
5857
|
+
const { requestStop } = await import('./loop-DH7PXRWV.js');
|
|
5858
5858
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5859
|
-
const { runnerImageVersion } = await import('./image-tag-
|
|
5859
|
+
const { runnerImageVersion } = await import('./image-tag-IJKYPT6D.js');
|
|
5860
5860
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
5861
5861
|
});
|
|
5862
5862
|
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) => {
|
|
5863
|
-
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-
|
|
5864
|
-
const { jobsDir, runnerDir } = await import('./paths-
|
|
5865
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5866
|
-
const { renderStatus } = await import('./status-
|
|
5867
|
-
const { readHousekeepingRecord } = await import('./record-
|
|
5863
|
+
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-AOOR5BPQ.js');
|
|
5864
|
+
const { jobsDir, runnerDir } = await import('./paths-HV3G2EHE.js');
|
|
5865
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-DH7PXRWV.js');
|
|
5866
|
+
const { renderStatus } = await import('./status-CJSJY6XJ.js');
|
|
5867
|
+
const { readHousekeepingRecord } = await import('./record-3XWPD2UP.js');
|
|
5868
5868
|
const path2 = await import('path');
|
|
5869
5869
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5870
5870
|
const all = listJobFiles(configPath);
|
|
5871
5871
|
const housekeeping = readHousekeepingRecord(runnerDir(configPath));
|
|
5872
|
-
const { readPendingUpdate } = await import('./pending-
|
|
5872
|
+
const { readPendingUpdate } = await import('./pending-I2EJ7TMY.js');
|
|
5873
5873
|
const pendingUpdate = readPendingUpdate(runnerDir(configPath));
|
|
5874
|
-
const { readImageStatus } = await import('./image-tag-
|
|
5874
|
+
const { readImageStatus } = await import('./image-tag-IJKYPT6D.js');
|
|
5875
5875
|
const image = readImageStatus(runnerDir(configPath));
|
|
5876
5876
|
let host = "unknown";
|
|
5877
5877
|
let concurrency = 1;
|
|
@@ -5881,7 +5881,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5881
5881
|
host = config.host;
|
|
5882
5882
|
concurrency = config.concurrency;
|
|
5883
5883
|
if (config.fleet === true) {
|
|
5884
|
-
const { readFleetState } = await import('./state-
|
|
5884
|
+
const { readFleetState } = await import('./state-64OMLIN4.js');
|
|
5885
5885
|
fleet = { state: readFleetState(configPath) };
|
|
5886
5886
|
}
|
|
5887
5887
|
} catch {
|
|
@@ -5889,7 +5889,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5889
5889
|
const processState = runnerProcessState(configPath);
|
|
5890
5890
|
const service = await (async () => {
|
|
5891
5891
|
if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
|
|
5892
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
5892
|
+
const { inspectRunnerService } = await import('./find-unit-YT25OH3F.js');
|
|
5893
5893
|
const facts = inspectRunnerService(configPath);
|
|
5894
5894
|
return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
|
|
5895
5895
|
})();
|
|
@@ -5928,9 +5928,9 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5928
5928
|
);
|
|
5929
5929
|
});
|
|
5930
5930
|
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) => {
|
|
5931
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5932
|
-
const { listJobFiles } = await import('./loop-
|
|
5933
|
-
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-
|
|
5931
|
+
const { defaultRunnerConfigPath } = await import('./config-AOOR5BPQ.js');
|
|
5932
|
+
const { listJobFiles } = await import('./loop-DH7PXRWV.js');
|
|
5933
|
+
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-VX2SXLJH.js');
|
|
5934
5934
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5935
5935
|
const jobs = listJobFiles(configPath);
|
|
5936
5936
|
const selected = selectAttempt(jobs, itemArg);
|
|
@@ -6173,7 +6173,7 @@ caller from the bearer token, the gateway answers 401 without that header.
|
|
|
6173
6173
|
"after",
|
|
6174
6174
|
"\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"
|
|
6175
6175
|
).action(async (opts) => {
|
|
6176
|
-
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-
|
|
6176
|
+
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-P34CQIBX.js');
|
|
6177
6177
|
try {
|
|
6178
6178
|
await runMcpServe({ url: opts.url, appId: opts.appId });
|
|
6179
6179
|
} catch (err) {
|
|
@@ -6194,7 +6194,7 @@ would get, the instruction files and the names of the skills. It warns when the
|
|
|
6194
6194
|
no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
|
|
6195
6195
|
`
|
|
6196
6196
|
).action(async (opts) => {
|
|
6197
|
-
const { runContextShow, ContextShowError } = await import('./context-show-cmd-
|
|
6197
|
+
const { runContextShow, ContextShowError } = await import('./context-show-cmd-SOUPRIUD.js');
|
|
6198
6198
|
try {
|
|
6199
6199
|
const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
|
|
6200
6200
|
process.stdout.write(result.output);
|