@outerlayer/cli 0.36.0-next.20261103181718 → 0.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -0
- package/dist/{agent-setup-WV4Y2HGG.js → agent-setup-X7AYIYU2.js} +9 -9
- package/dist/{agent-subcommand-RQCLWP3A.js → agent-subcommand-54OWGFVV.js} +1 -1
- package/dist/{bridge-NFSJ4IBQ.js → bridge-QJNA3KV6.js} +4 -4
- package/dist/{build-RGO3EWJD.js → build-4R4PUGPT.js} +10 -10
- package/dist/{build-disk-NYYBJGBH.js → build-disk-LYHGWH4G.js} +8 -8
- package/dist/build-info.json +1 -1
- package/dist/{builder-HT3CV5ZZ.js → builder-ER6LUZBQ.js} +7 -7
- package/dist/{caller-D4ZZWA6I.js → caller-PCOQRDGJ.js} +10 -10
- package/dist/{check-4T4FDFLZ.js → check-27MDV3T5.js} +40 -40
- package/dist/{chunk-GTJLKBN7.js → chunk-2BTDFRRQ.js} +6 -6
- package/dist/{chunk-QN4ABLRK.js → chunk-2HOSCIV6.js} +1 -1
- package/dist/{chunk-CLFP2ZTG.js → chunk-2I654QYW.js} +2 -2
- package/dist/{chunk-4S564XTG.js → chunk-45AYMLMT.js} +1 -1
- package/dist/{chunk-2P532NZM.js → chunk-4HMOBW7H.js} +5 -5
- package/dist/{chunk-EZI2BLP6.js → chunk-4KYPJE3D.js} +3 -3
- package/dist/{chunk-NFYXRAEV.js → chunk-4YLF777T.js} +1 -1
- package/dist/{chunk-QLZXFKGO.js → chunk-5MN6VZZH.js} +3 -3
- package/dist/{chunk-7A2OPME2.js → chunk-6HMA3FIE.js} +2 -2
- package/dist/{chunk-CTBQN5KQ.js → chunk-6LPBK4XU.js} +5 -5
- package/dist/{chunk-POTMAJPJ.js → chunk-7HDI5CGG.js} +2 -2
- package/dist/{chunk-PL2AGLJF.js → chunk-7TZP5JBS.js} +2 -2
- package/dist/{chunk-F2UM3NDF.js → chunk-7V4ZEB2R.js} +4 -4
- package/dist/{chunk-J3SICPA2.js → chunk-AZXFZGHQ.js} +1 -1
- package/dist/{chunk-22JLORO6.js → chunk-B5BLIHJZ.js} +2 -2
- package/dist/{chunk-UD6I7QJJ.js → chunk-BOUW2CV6.js} +2 -2
- package/dist/{chunk-IRJ6EGQT.js → chunk-C4OYAXLQ.js} +7 -7
- package/dist/{chunk-RGSQHTO4.js → chunk-COPXXXNB.js} +2 -2
- package/dist/{chunk-ZKJGZQ63.js → chunk-D7TMGSZN.js} +3 -3
- package/dist/{chunk-HBYFB3LK.js → chunk-DDOD4YOQ.js} +1 -1
- package/dist/{chunk-RY5QFTXJ.js → chunk-DE64NSOH.js} +5 -5
- package/dist/{chunk-CMZTCXCA.js → chunk-DSZKDLFU.js} +1 -1
- package/dist/{chunk-DIL7U77P.js → chunk-EKDQDOSS.js} +1 -1
- package/dist/{chunk-AWPGPPXP.js → chunk-ENWGIREE.js} +4 -4
- package/dist/{chunk-WGLYAMVK.js → chunk-FDRQZALU.js} +1 -1
- package/dist/{chunk-WSZZKMXF.js → chunk-GAPNTRA5.js} +1 -1
- package/dist/{chunk-WTKCAALP.js → chunk-GNLAORSW.js} +3 -3
- package/dist/{chunk-UVKPDGLM.js → chunk-H5CWIV56.js} +5 -5
- package/dist/{chunk-ORBQ4QR7.js → chunk-IADJEW5P.js} +4 -4
- package/dist/{chunk-SWUPSLNV.js → chunk-K3GWZRRK.js} +7 -7
- package/dist/{chunk-WZ5YJJMP.js → chunk-KJ424QKG.js} +5 -5
- package/dist/{chunk-H4H3KK25.js → chunk-KQDTORGF.js} +1 -1
- package/dist/{chunk-SIVZITLG.js → chunk-KRTIYEJI.js} +1 -1
- package/dist/{chunk-KYDKOYZD.js → chunk-LIJMW36Q.js} +26 -27
- package/dist/{chunk-K52TGQLV.js → chunk-MLO33RMW.js} +9 -9
- package/dist/{chunk-CFHM562L.js → chunk-NDIV6GDC.js} +5 -3
- package/dist/{chunk-UT4SX57J.js → chunk-OHOATH4S.js} +3 -3
- package/dist/{chunk-YVRJDMDL.js → chunk-PCWNDYQO.js} +8 -8
- package/dist/{chunk-5HMIMWRD.js → chunk-PJ5GYGC6.js} +1 -1
- package/dist/{chunk-3JYR5R57.js → chunk-PUEIXGZ4.js} +1 -1
- package/dist/{chunk-63KUYXOH.js → chunk-PYPHE6FZ.js} +1 -1
- package/dist/{chunk-C6LAXUC7.js → chunk-QBDQ64QF.js} +2 -2
- package/dist/{chunk-63T2OTPO.js → chunk-QGUOCNQA.js} +2 -2
- package/dist/{chunk-2VWYPY62.js → chunk-R2DEJ5Q6.js} +3 -3
- package/dist/{chunk-PTHBJDWK.js → chunk-SRNHGJAV.js} +2 -2
- package/dist/{chunk-IKAGRGLY.js → chunk-T4J5VR7B.js} +1 -1
- package/dist/{chunk-R4LXONKC.js → chunk-UYXX33HA.js} +3 -3
- package/dist/{chunk-7WZNTLNB.js → chunk-W3ZKWZ6G.js} +1 -1
- package/dist/{chunk-SR6SXYM4.js → chunk-WRNDC7H7.js} +2 -2
- package/dist/{chunk-X2B7ILTH.js → chunk-WVZ6EKJ3.js} +2 -2
- package/dist/{chunk-6BGE2CZB.js → chunk-X7PK7QRY.js} +2 -2
- package/dist/{chunk-V227E7UX.js → chunk-XLCAYPLV.js} +1 -1
- package/dist/{chunk-XKM7KCUJ.js → chunk-Z27IIHHE.js} +28 -27
- package/dist/{claude-launcher-KQHWKYRL.js → claude-launcher-WJ5CVLJR.js} +1 -1
- package/dist/{cli-BM7CAJFW.js → cli-RCLYJFIL.js} +119 -119
- package/dist/{command-ZIVI5DQK.js → command-XGIJADGX.js} +35 -35
- package/dist/{config-W4OY2JNP.js → config-VHJI645L.js} +9 -9
- package/dist/{connect-cmd-2O2GGNAY.js → connect-cmd-CQNECBHI.js} +7 -7
- package/dist/{container-start-CRUUG57V.js → container-start-S5EL4HIH.js} +33 -33
- package/dist/{context-show-cmd-LAK6CYZT.js → context-show-cmd-XODQYX7H.js} +8 -8
- package/dist/{control-plane-launch-N7FFBGPD.js → control-plane-launch-KIJABWN4.js} +7 -7
- package/dist/{demo-record-cmd-335YZIXU.js → demo-record-cmd-QVK4YUIV.js} +5 -5
- package/dist/{demo-voice-cmd-LVODULO2.js → demo-voice-cmd-4BOI7UDQ.js} +13 -13
- package/dist/{docker-WDMFRVOX.js → docker-BP7AD65K.js} +7 -7
- package/dist/{doctor-3HKOYZTJ.js → doctor-TZIHEPIW.js} +35 -35
- package/dist/{emit-artifact-cmd-MLIPSYXP.js → emit-artifact-cmd-EGFKK4KF.js} +12 -12
- package/dist/{emit-criteria-cmd-JYG5LJEQ.js → emit-criteria-cmd-L2YRIRCQ.js} +9 -9
- package/dist/{emit-demo-cmd-LKB4OHJD.js → emit-demo-cmd-QHKUH4Y3.js} +13 -13
- package/dist/{emit-finding-cmd-YNLZSJEC.js → emit-finding-cmd-DCEGWYY4.js} +9 -9
- package/dist/{emit-result-cmd-EYEFXWVS.js → emit-result-cmd-WGBZUASN.js} +11 -11
- package/dist/{emit-step-cmd-YF5CGZ2H.js → emit-step-cmd-TFKMQZHD.js} +9 -9
- package/dist/{exec-client-T7XWSBJ3.js → exec-client-GW5ZI74B.js} +5 -5
- package/dist/find-unit-L2JIUL4D.js +24 -0
- package/dist/{findings-cmd-KBV2GQXJ.js → findings-cmd-QO7OMGM6.js} +9 -9
- package/dist/{fleet-readiness-JG3YAKT7.js → fleet-readiness-ZF4UUANH.js} +7 -7
- package/dist/{governing-source-VCD5NPMW.js → governing-source-JYK3VK23.js} +11 -11
- package/dist/{guest-init-SG5RDE4K.js → guest-init-FPRVOOK5.js} +6 -6
- package/dist/{hook-fast-QLCXXFMZ.js → hook-fast-WLRNPF5S.js} +1 -1
- package/dist/{host-checks-LQTHW3DN.js → host-checks-FEYDTZKZ.js} +31 -31
- package/dist/{pending-JOEXUNDC.js → host-key-WG4KPVLI.js} +5 -5
- package/dist/{image-tag-77FWBIYC.js → image-tag-GZW7HJBN.js} +5 -5
- package/dist/index.js +4 -4
- package/dist/{init-UFQQUI4Z.js → init-6FLEEVZY.js} +31 -31
- package/dist/{init-O33TLGUI.js → init-RSKNY7WL.js} +31 -31
- package/dist/{init-cmd-GCHZK7YQ.js → init-cmd-UD6QSHH2.js} +12 -12
- package/dist/{init-update-ZSTDH75N.js → init-update-N3WBXLGD.js} +10 -10
- package/dist/{install-cmd-BRURSBEH.js → install-cmd-GJNKXZN2.js} +7 -7
- package/dist/{logs-TRW3A55Z.js → logs-IMTZ733E.js} +4 -4
- package/dist/{loop-QHQTM25C.js → loop-VCH4UOQ4.js} +39 -39
- package/dist/{machine-VFZAHR6N.js → machine-ZU7XA2IC.js} +31 -31
- package/dist/{mcp-serve-cmd-JVLROUUU.js → mcp-serve-cmd-27QGBQGR.js} +6 -6
- package/dist/{paths-AOUMCMP3.js → paths-HV5GP5OV.js} +4 -4
- package/dist/{host-key-UEHE5JSK.js → pending-4PZIZNR5.js} +5 -5
- package/dist/{pidfile-5LPBPEGE.js → pidfile-P4DJ2C7S.js} +5 -5
- package/dist/{record-4RLFKQMG.js → record-UOVUKWPV.js} +5 -5
- package/dist/{relay-IYJ7JJLG.js → relay-JMCC6IJ4.js} +2 -2
- package/dist/{relay-protocol-MPZHNZYJ.js → relay-protocol-RR5JOWOO.js} +2 -2
- package/dist/{runner-agents-MWBL6LA7.js → runner-agents-RO4TU5N4.js} +1 -1
- package/dist/{runner-env-YTX4BAXF.js → runner-env-XX2NZOEJ.js} +11 -11
- package/dist/{runner-identity-4LMITADJ.js → runner-identity-HHW4UKYE.js} +7 -7
- package/dist/{runner-key-QTQRIW4N.js → runner-key-FNNAF36Q.js} +31 -31
- package/dist/{session-sender-YAM3GNFD.js → session-sender-4FS2GKAY.js} +12 -12
- package/dist/{spec-cmd-VE4XIZ6Z.js → spec-cmd-AAVXNWTV.js} +10 -10
- package/dist/{state-GBESQ6UB.js → state-IASJSAJV.js} +5 -5
- package/dist/{status-SNQVVDRU.js → status-FQ5AIDWL.js} +31 -31
- package/dist/{sync-cmd-BXV3EVTU.js → sync-cmd-K3V4D54W.js} +11 -11
- package/dist/{update-steps-ZR4RQB7J.js → update-steps-TR2A4Z6Q.js} +32 -32
- package/dist/{watch-FKHHEV3X.js → watch-SAMIKKQC.js} +11 -11
- package/dist/{work-claim-cmd-IVG4A3IZ.js → work-claim-cmd-PBW4QDJH.js} +15 -15
- package/dist/{work-cmd-HSMQMQDL.js → work-cmd-L23VUS4H.js} +9 -9
- package/dist/{work-comment-cmd-OHGGZASQ.js → work-comment-cmd-DRBGJAUD.js} +11 -11
- package/dist/{work-demo-cmd-TMMHK72J.js → work-demo-cmd-HT72ZB6K.js} +9 -9
- package/dist/{work-logs-cmd-GQCUPUKG.js → work-logs-cmd-VSWZHEUJ.js} +9 -9
- package/dist/{work-open-pr-cmd-XVXOXNIL.js → work-open-pr-cmd-DOMZJJC3.js} +10 -10
- package/dist/{work-pr-cmd-E75ZUOAD.js → work-pr-cmd-FC3AJ67Y.js} +9 -9
- package/dist/{work-proofs-cmd-LDMQ37OH.js → work-proofs-cmd-NINHCBZW.js} +10 -10
- package/dist/{work-proofs-record-VJG27HMI.js → work-proofs-record-7XH374TO.js} +16 -16
- package/dist/{work-stop-cmd-JSFV7AL2.js → work-stop-cmd-J5DXU4BV.js} +9 -9
- package/package.json +1 -1
- package/dist/find-unit-X5LYKUQX.js +0 -24
|
@@ -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-MLO33RMW.js';
|
|
4
4
|
import './chunk-OM3XGJBY.js';
|
|
5
|
-
import { verifiedTrackerNames, TRACKERS } from './chunk-
|
|
5
|
+
import { verifiedTrackerNames, TRACKERS } from './chunk-DE64NSOH.js';
|
|
6
6
|
import './chunk-NE2A2ZIY.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
7
|
+
import './chunk-WVZ6EKJ3.js';
|
|
8
|
+
import './chunk-KRTIYEJI.js';
|
|
9
9
|
import './chunk-T3MVV6LG.js';
|
|
10
10
|
import './chunk-I5EZW66W.js';
|
|
11
11
|
import './chunk-S7YLAN2P.js';
|
|
12
|
-
import './chunk-
|
|
12
|
+
import './chunk-45AYMLMT.js';
|
|
13
13
|
import './chunk-F3T5QJ24.js';
|
|
14
14
|
import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-7HRNYPL3.js';
|
|
15
15
|
import './chunk-A6RI6KTI.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-IM4VUDKW.js';
|
|
19
|
-
import './chunk-
|
|
19
|
+
import './chunk-4YLF777T.js';
|
|
20
20
|
import './chunk-HWVMRETT.js';
|
|
21
|
-
import './chunk-
|
|
22
|
-
import './chunk-
|
|
23
|
-
import './chunk-
|
|
24
|
-
import './chunk-
|
|
25
|
-
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-
|
|
21
|
+
import './chunk-EKDQDOSS.js';
|
|
22
|
+
import './chunk-PYPHE6FZ.js';
|
|
23
|
+
import './chunk-B5BLIHJZ.js';
|
|
24
|
+
import './chunk-DDOD4YOQ.js';
|
|
25
|
+
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-PJ5GYGC6.js';
|
|
26
26
|
import './chunk-545P7JY7.js';
|
|
27
27
|
import './chunk-OV4XTV5M.js';
|
|
28
28
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
@@ -37,7 +37,7 @@ import { cliForInstall, SettingsParseError, PORTABLE_BIN, writeSettingsText, cli
|
|
|
37
37
|
import './chunk-W72X24TZ.js';
|
|
38
38
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
39
39
|
import { removeJournalHooks, removePreCommitGuardHook } from './chunk-CJPTUU2E.js';
|
|
40
|
-
import { credentialAgent, credentialForms, credentialShapes } from './chunk-
|
|
40
|
+
import { credentialAgent, credentialForms, credentialShapes } from './chunk-NDIV6GDC.js';
|
|
41
41
|
import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-E6ESLX5E.js';
|
|
42
42
|
import './chunk-WWTZLRPH.js';
|
|
43
43
|
import './chunk-QJKW4MKH.js';
|
|
@@ -3817,7 +3817,7 @@ async function installMachineSkillsForSetup() {
|
|
|
3817
3817
|
` : "";
|
|
3818
3818
|
}
|
|
3819
3819
|
async function realConnectDepsForCwd() {
|
|
3820
|
-
const { realConnectDeps } = await import('./connect-cmd-
|
|
3820
|
+
const { realConnectDeps } = await import('./connect-cmd-CQNECBHI.js');
|
|
3821
3821
|
const { resolveRepoIdentity } = await import('./dist-LOBYZWOU.js');
|
|
3822
3822
|
return {
|
|
3823
3823
|
...realConnectDeps(),
|
|
@@ -3892,8 +3892,8 @@ build, ../outerlayer-build/SKILL.md becomes ~/.agents/skills/outerlayer-build/SK
|
|
|
3892
3892
|
what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocation() + " doctor` reports the same\nstates under Starter files.\n"
|
|
3893
3893
|
).action(async (opts) => {
|
|
3894
3894
|
if (opts.update || opts.dryRun) {
|
|
3895
|
-
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-
|
|
3896
|
-
const { fleetReadiness } = await import('./fleet-readiness-
|
|
3895
|
+
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-N3WBXLGD.js');
|
|
3896
|
+
const { fleetReadiness } = await import('./fleet-readiness-ZF4UUANH.js');
|
|
3897
3897
|
const problem = updateFlagProblem(opts);
|
|
3898
3898
|
if (problem !== void 0) {
|
|
3899
3899
|
fail(problem);
|
|
@@ -3944,13 +3944,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3944
3944
|
if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
|
|
3945
3945
|
`);
|
|
3946
3946
|
}
|
|
3947
|
-
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-
|
|
3947
|
+
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-UD6QSHH2.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
|
|
3948
3948
|
if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
|
|
3949
3949
|
else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
|
|
3950
3950
|
return;
|
|
3951
3951
|
}
|
|
3952
3952
|
await installMachineSkillsForSetup();
|
|
3953
|
-
const { runInitCommand } = await import('./init-cmd-
|
|
3953
|
+
const { runInitCommand } = await import('./init-cmd-UD6QSHH2.js');
|
|
3954
3954
|
const code = await runInitCommand(
|
|
3955
3955
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3956
3956
|
{
|
|
@@ -3962,7 +3962,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3962
3962
|
return { ok, text, detail };
|
|
3963
3963
|
},
|
|
3964
3964
|
runAgentSetup: async () => {
|
|
3965
|
-
const { runAgentSetup } = await import('./agent-setup-
|
|
3965
|
+
const { runAgentSetup } = await import('./agent-setup-X7AYIYU2.js');
|
|
3966
3966
|
return runAgentSetup({ cwd: process.cwd(), skillsLink: opts.skillsLink !== false });
|
|
3967
3967
|
},
|
|
3968
3968
|
runDoctorChecks: gatherDoctorChecks,
|
|
@@ -3971,7 +3971,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3971
3971
|
shellPath: process.env.SHELL,
|
|
3972
3972
|
interactive: Boolean(process.stdin.isTTY && process.stderr.isTTY) && opts.json !== true,
|
|
3973
3973
|
ask: async () => {
|
|
3974
|
-
const { promptOnTerminal } = await import('./connect-cmd-
|
|
3974
|
+
const { promptOnTerminal } = await import('./connect-cmd-CQNECBHI.js');
|
|
3975
3975
|
const answer = await promptOnTerminal({
|
|
3976
3976
|
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.`,
|
|
3977
3977
|
options: [
|
|
@@ -4010,7 +4010,7 @@ linked (true, false, or null when it could not be checked) and, when false,
|
|
|
4010
4010
|
linkUrl.
|
|
4011
4011
|
`
|
|
4012
4012
|
).action(async (opts) => {
|
|
4013
|
-
const { runConnectCommand } = await import('./connect-cmd-
|
|
4013
|
+
const { runConnectCommand } = await import('./connect-cmd-CQNECBHI.js');
|
|
4014
4014
|
const code = await runConnectCommand({ factory: opts.factory, json: opts.json }, await realConnectDepsForCwd(), {
|
|
4015
4015
|
stdout: process.stdout,
|
|
4016
4016
|
stderr: process.stderr
|
|
@@ -4088,7 +4088,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4088
4088
|
else fail(found.reason);
|
|
4089
4089
|
return;
|
|
4090
4090
|
}
|
|
4091
|
-
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-
|
|
4091
|
+
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-K3V4D54W.js');
|
|
4092
4092
|
try {
|
|
4093
4093
|
const result = await runSync({
|
|
4094
4094
|
url: opts.url,
|
|
@@ -4117,7 +4117,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4117
4117
|
if (invokedCommandToken(argv) === "watch") {
|
|
4118
4118
|
warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
|
|
4119
4119
|
}
|
|
4120
|
-
const { runWatch } = await import('./watch-
|
|
4120
|
+
const { runWatch } = await import('./watch-SAMIKKQC.js');
|
|
4121
4121
|
await runWatch({ once: opts.once });
|
|
4122
4122
|
});
|
|
4123
4123
|
program2.command("hook <event>", { hidden: true }).description("capture-hook fast path, installed by `init`").action(() => {
|
|
@@ -4132,8 +4132,8 @@ code is 1: revoke the token on /profile/security.
|
|
|
4132
4132
|
});
|
|
4133
4133
|
}
|
|
4134
4134
|
const brokerRelay = program2.command("broker-relay", { hidden: true }).description("relay a build's loopback connections to the runner's tunnel and destinations").enablePositionalOptions().option("--port <port>", "the loopback port to listen on").option("--socket <path>", "the runner's tunnel socket").option("--join <path>", "the socket the runner's joining process connects to").option("--lease-watchdog", "exit when the runner's lease expiry passes; needs --join").option("--forward <port=target>", "also relay a loopback port to a destination; repeatable", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
4135
|
-
const { startRelay, startSessionRelay } = await import('./relay-
|
|
4136
|
-
const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-
|
|
4135
|
+
const { startRelay, startSessionRelay } = await import('./relay-JMCC6IJ4.js');
|
|
4136
|
+
const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-RR5JOWOO.js');
|
|
4137
4137
|
const port = Number(opts.port);
|
|
4138
4138
|
if (!Number.isInteger(port) || port < 1 || port > 65535) {
|
|
4139
4139
|
fail(opts.port === void 0 ? "--port is required" : `--port must be a port number, not ${opts.port}`);
|
|
@@ -4165,7 +4165,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4165
4165
|
await startRelay({ port, socketPath: opts.socket, forwards: forwards.map((forward) => ({ port: forward.port, socketPath: forward.spec })) });
|
|
4166
4166
|
});
|
|
4167
4167
|
brokerRelay.command("join").description("carry the runner's session to the relay over standard input and output").option("--socket <path>", "the relay's joining socket", "/run/outerlayer-relay/join.sock").action(async (opts) => {
|
|
4168
|
-
const { joinRelay } = await import('./relay-
|
|
4168
|
+
const { joinRelay } = await import('./relay-JMCC6IJ4.js');
|
|
4169
4169
|
try {
|
|
4170
4170
|
await joinRelay({ socketPath: opts.socket, input: process.stdin, output: process.stdout });
|
|
4171
4171
|
} catch (err) {
|
|
@@ -4181,7 +4181,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4181
4181
|
}
|
|
4182
4182
|
});
|
|
4183
4183
|
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) => {
|
|
4184
|
-
const { runVmExec } = await import('./exec-client-
|
|
4184
|
+
const { runVmExec } = await import('./exec-client-GW5ZI74B.js');
|
|
4185
4185
|
const env = {};
|
|
4186
4186
|
for (const entry of opts.env) {
|
|
4187
4187
|
const eq = entry.indexOf("=");
|
|
@@ -4210,7 +4210,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4210
4210
|
process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
|
|
4211
4211
|
});
|
|
4212
4212
|
program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
|
|
4213
|
-
const { runSessionSender } = await import('./session-sender-
|
|
4213
|
+
const { runSessionSender } = await import('./session-sender-4FS2GKAY.js');
|
|
4214
4214
|
try {
|
|
4215
4215
|
await runSessionSender();
|
|
4216
4216
|
} catch (err) {
|
|
@@ -4218,7 +4218,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4218
4218
|
}
|
|
4219
4219
|
});
|
|
4220
4220
|
program2.command("vm-init", { hidden: true }).description("lay out a microVM build's guest; the guest helper runs it").action(async () => {
|
|
4221
|
-
const { realGuestHost, runGuestInit } = await import('./guest-init-
|
|
4221
|
+
const { realGuestHost, runGuestInit } = await import('./guest-init-FPRVOOK5.js');
|
|
4222
4222
|
const { readFileSync: readFileSync3 } = await import('fs');
|
|
4223
4223
|
try {
|
|
4224
4224
|
runGuestInit(realGuestHost(), readFileSync3("/proc/cmdline", "utf8"));
|
|
@@ -4227,7 +4227,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4227
4227
|
}
|
|
4228
4228
|
});
|
|
4229
4229
|
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) => {
|
|
4230
|
-
const { startBridgeForward } = await import('./bridge-
|
|
4230
|
+
const { startBridgeForward } = await import('./bridge-QJNA3KV6.js');
|
|
4231
4231
|
try {
|
|
4232
4232
|
await startBridgeForward(opts);
|
|
4233
4233
|
} catch (err) {
|
|
@@ -4306,7 +4306,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
|
|
|
4306
4306
|
await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
|
|
4307
4307
|
return;
|
|
4308
4308
|
}
|
|
4309
|
-
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-
|
|
4309
|
+
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-WGBZUASN.js');
|
|
4310
4310
|
try {
|
|
4311
4311
|
const result = await runEmitResult({
|
|
4312
4312
|
name,
|
|
@@ -4357,7 +4357,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
|
|
|
4357
4357
|
locally so it never uploads. One correction can retire several duplicates.
|
|
4358
4358
|
`
|
|
4359
4359
|
).action(async (file, opts) => {
|
|
4360
|
-
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-
|
|
4360
|
+
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-EGFKK4KF.js');
|
|
4361
4361
|
let pr;
|
|
4362
4362
|
if (opts.pr !== void 0) {
|
|
4363
4363
|
pr = parseTrackerNumber(opts.pr);
|
|
@@ -4413,7 +4413,7 @@ its criterion, and the new record retires the old record. The id must be the ite
|
|
|
4413
4413
|
as \`work demo --item <n> --json\` prints it.
|
|
4414
4414
|
`
|
|
4415
4415
|
).action(async (manifest, opts) => {
|
|
4416
|
-
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-
|
|
4416
|
+
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-QHKUH4Y3.js');
|
|
4417
4417
|
let item;
|
|
4418
4418
|
if (opts.item !== void 0) {
|
|
4419
4419
|
item = parseTrackerNumber(opts.item);
|
|
@@ -4456,7 +4456,7 @@ as \`work demo --item <n> --json\` prints it.
|
|
|
4456
4456
|
}
|
|
4457
4457
|
});
|
|
4458
4458
|
program2.command("demo-voice", { hidden: true }).description("Speak demo lines for a recorder: JSON lines in on stdin, out on stdout").action(async () => {
|
|
4459
|
-
const { runDemoVoice } = await import('./demo-voice-cmd-
|
|
4459
|
+
const { runDemoVoice } = await import('./demo-voice-cmd-4BOI7UDQ.js');
|
|
4460
4460
|
await runDemoVoice();
|
|
4461
4461
|
});
|
|
4462
4462
|
const demoCmd = program2.command("demo").description("Record demos with the recorder this CLI carries");
|
|
@@ -4474,7 +4474,7 @@ and the command prints the manifest's path for \`emit demo\`. Under \`work proof
|
|
|
4474
4474
|
to OUTERLAYER_PROOF_OUT instead. Exit 1 means the demo's test failed; its manifest is written all the same.
|
|
4475
4475
|
`
|
|
4476
4476
|
).action(async (file, opts) => {
|
|
4477
|
-
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-
|
|
4477
|
+
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-QVK4YUIV.js');
|
|
4478
4478
|
try {
|
|
4479
4479
|
const result = await runDemoRecord({
|
|
4480
4480
|
file,
|
|
@@ -4523,7 +4523,7 @@ recent events with their ids. --find <text> searches all of them.
|
|
|
4523
4523
|
item that session was launched for is used automatically.
|
|
4524
4524
|
`
|
|
4525
4525
|
).action(async (opts) => {
|
|
4526
|
-
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4526
|
+
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-DCEGWYY4.js');
|
|
4527
4527
|
try {
|
|
4528
4528
|
refuseRemovedFindingFlags(opts);
|
|
4529
4529
|
const result = await runEmitFinding({
|
|
@@ -4590,7 +4590,7 @@ the whole batch. "untimed": true records one with no time on purpose.
|
|
|
4590
4590
|
that session was launched for is used automatically.
|
|
4591
4591
|
`
|
|
4592
4592
|
).action(async (file, opts) => {
|
|
4593
|
-
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4593
|
+
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-DCEGWYY4.js');
|
|
4594
4594
|
try {
|
|
4595
4595
|
const result = await runEmitFindings({
|
|
4596
4596
|
file,
|
|
@@ -4625,7 +4625,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
|
|
|
4625
4625
|
the step, the command prints why and exits 1.
|
|
4626
4626
|
`
|
|
4627
4627
|
).action(async (name, opts) => {
|
|
4628
|
-
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-
|
|
4628
|
+
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-TFKMQZHD.js');
|
|
4629
4629
|
try {
|
|
4630
4630
|
await runEmitStep({
|
|
4631
4631
|
name,
|
|
@@ -4668,7 +4668,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
|
|
|
4668
4668
|
${cliInvocation()} emit criteria acceptance/412-login.md --item 412
|
|
4669
4669
|
`
|
|
4670
4670
|
).action(async (file, opts) => {
|
|
4671
|
-
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-
|
|
4671
|
+
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-L2YRIRCQ.js');
|
|
4672
4672
|
try {
|
|
4673
4673
|
const result = await runEmitCriteria({
|
|
4674
4674
|
file,
|
|
@@ -4692,9 +4692,9 @@ function registerSpecCommands(program2) {
|
|
|
4692
4692
|
const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
|
|
4693
4693
|
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)");
|
|
4694
4694
|
const run = async (action) => {
|
|
4695
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4695
|
+
const { WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
|
|
4696
4696
|
try {
|
|
4697
|
-
await action(await import('./spec-cmd-
|
|
4697
|
+
await action(await import('./spec-cmd-AAVXNWTV.js'));
|
|
4698
4698
|
} catch (err) {
|
|
4699
4699
|
if (err instanceof WorkCommandError) {
|
|
4700
4700
|
fail(err.message);
|
|
@@ -4729,7 +4729,7 @@ Prints each problem the item covers with its id, its reports and its result.
|
|
|
4729
4729
|
session was launched for is used.
|
|
4730
4730
|
`
|
|
4731
4731
|
).action(async (opts) => {
|
|
4732
|
-
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-
|
|
4732
|
+
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-QO7OMGM6.js');
|
|
4733
4733
|
try {
|
|
4734
4734
|
const result = await runFindingsShow({
|
|
4735
4735
|
item: opts.item,
|
|
@@ -4757,7 +4757,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
|
|
|
4757
4757
|
problem to replace the earlier result. A problem the item does not cover is refused.
|
|
4758
4758
|
`
|
|
4759
4759
|
).action(async (problem, opts) => {
|
|
4760
|
-
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-
|
|
4760
|
+
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-QO7OMGM6.js');
|
|
4761
4761
|
try {
|
|
4762
4762
|
const result = await runFindingsResult({
|
|
4763
4763
|
problem,
|
|
@@ -4800,7 +4800,7 @@ takes it, and prints the line that starts your session on it. That
|
|
|
4800
4800
|
session links itself and holds the item's lease while it works.
|
|
4801
4801
|
`
|
|
4802
4802
|
).action(async (opts) => {
|
|
4803
|
-
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-
|
|
4803
|
+
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
|
|
4804
4804
|
try {
|
|
4805
4805
|
await runWorkBuild(opts);
|
|
4806
4806
|
} catch (err) {
|
|
@@ -4823,7 +4823,7 @@ renews that session's own 20-minute lease, unless --no-lease or
|
|
|
4823
4823
|
--ended is given, or another worker already holds a live one.
|
|
4824
4824
|
`
|
|
4825
4825
|
).action(async (number, opts) => {
|
|
4826
|
-
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-
|
|
4826
|
+
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
|
|
4827
4827
|
try {
|
|
4828
4828
|
await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
|
|
4829
4829
|
} catch (err) {
|
|
@@ -4854,8 +4854,8 @@ thread at its source. It takes a plain answer: no --criterion and no
|
|
|
4854
4854
|
action flag.
|
|
4855
4855
|
`
|
|
4856
4856
|
).action(async (opts) => {
|
|
4857
|
-
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4858
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4857
|
+
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-DRBGJAUD.js');
|
|
4858
|
+
const { WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
|
|
4859
4859
|
try {
|
|
4860
4860
|
await runWorkComment(opts);
|
|
4861
4861
|
} catch (err) {
|
|
@@ -4877,7 +4877,7 @@ nothing and exits 0 when the call fails: the line goes to hook-errors.log,
|
|
|
4877
4877
|
and the comment waits for the next agent job.
|
|
4878
4878
|
`
|
|
4879
4879
|
).action(async (ids, opts) => {
|
|
4880
|
-
const { runWorkCommentsRead } = await import('./work-comment-cmd-
|
|
4880
|
+
const { runWorkCommentsRead } = await import('./work-comment-cmd-DRBGJAUD.js');
|
|
4881
4881
|
await runWorkCommentsRead({ ...opts, commentIds: ids });
|
|
4882
4882
|
});
|
|
4883
4883
|
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(
|
|
@@ -4893,8 +4893,8 @@ that started outside OuterLayer, such as the line comments of a
|
|
|
4893
4893
|
GitHub review, each with its id, source and comments.
|
|
4894
4894
|
`
|
|
4895
4895
|
).action(async (opts) => {
|
|
4896
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4897
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4896
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-DRBGJAUD.js');
|
|
4897
|
+
const { WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
|
|
4898
4898
|
try {
|
|
4899
4899
|
await runWorkThreads(opts);
|
|
4900
4900
|
} catch (err) {
|
|
@@ -4918,8 +4918,8 @@ still running, or that an older runner released, has no log and the
|
|
|
4918
4918
|
command exits 1.
|
|
4919
4919
|
`
|
|
4920
4920
|
).action(async (opts) => {
|
|
4921
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
4922
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4921
|
+
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-VSWZHEUJ.js');
|
|
4922
|
+
const { WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
|
|
4923
4923
|
try {
|
|
4924
4924
|
await runWorkLogs(opts);
|
|
4925
4925
|
} catch (err) {
|
|
@@ -4942,8 +4942,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
4942
4942
|
build is running for the item.
|
|
4943
4943
|
`
|
|
4944
4944
|
).action(async (opts) => {
|
|
4945
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
4946
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4945
|
+
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-J5DXU4BV.js');
|
|
4946
|
+
const { WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
|
|
4947
4947
|
try {
|
|
4948
4948
|
await runWorkStop(opts);
|
|
4949
4949
|
} catch (err) {
|
|
@@ -4964,8 +4964,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
|
|
|
4964
4964
|
test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
|
|
4965
4965
|
`
|
|
4966
4966
|
).action(async (opts) => {
|
|
4967
|
-
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-
|
|
4968
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4967
|
+
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-HT72ZB6K.js');
|
|
4968
|
+
const { WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
|
|
4969
4969
|
try {
|
|
4970
4970
|
await runWorkDemo(opts);
|
|
4971
4971
|
} catch (err) {
|
|
@@ -4986,7 +4986,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
4986
4986
|
live addition remains on it.
|
|
4987
4987
|
`
|
|
4988
4988
|
).action(async (opts) => {
|
|
4989
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
4989
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
|
|
4990
4990
|
try {
|
|
4991
4991
|
await runWorkRemove(opts);
|
|
4992
4992
|
} catch (err) {
|
|
@@ -4998,7 +4998,7 @@ live addition remains on it.
|
|
|
4998
4998
|
}
|
|
4999
4999
|
});
|
|
5000
5000
|
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) => {
|
|
5001
|
-
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-
|
|
5001
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
|
|
5002
5002
|
try {
|
|
5003
5003
|
await runWorkStatus(opts);
|
|
5004
5004
|
} catch (err) {
|
|
@@ -5043,11 +5043,11 @@ differs from HEAD.
|
|
|
5043
5043
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5044
5044
|
return;
|
|
5045
5045
|
}
|
|
5046
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5046
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-NINHCBZW.js');
|
|
5047
5047
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5048
5048
|
});
|
|
5049
5049
|
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) => {
|
|
5050
|
-
const { runWorkList, WorkCommandError } = await import('./work-cmd-
|
|
5050
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
|
|
5051
5051
|
try {
|
|
5052
5052
|
await runWorkList(opts);
|
|
5053
5053
|
} catch (err) {
|
|
@@ -5068,7 +5068,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
5068
5068
|
it. --host is a label only.
|
|
5069
5069
|
`
|
|
5070
5070
|
).action(async (opts) => {
|
|
5071
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
5071
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-PBW4QDJH.js');
|
|
5072
5072
|
try {
|
|
5073
5073
|
await runWorkClaim(opts);
|
|
5074
5074
|
} catch (err) {
|
|
@@ -5088,7 +5088,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5088
5088
|
lease has expired, or a 403 if a different key holds it.
|
|
5089
5089
|
`
|
|
5090
5090
|
).action(async (opts) => {
|
|
5091
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5091
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-PBW4QDJH.js');
|
|
5092
5092
|
try {
|
|
5093
5093
|
await runWorkRenew(opts);
|
|
5094
5094
|
} catch (err) {
|
|
@@ -5120,7 +5120,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5120
5120
|
takes the lease again.
|
|
5121
5121
|
`
|
|
5122
5122
|
).action(async (opts) => {
|
|
5123
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5123
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-PBW4QDJH.js');
|
|
5124
5124
|
try {
|
|
5125
5125
|
await runWorkRelease(opts);
|
|
5126
5126
|
} catch (err) {
|
|
@@ -5147,7 +5147,7 @@ Idempotent: declaring the same pull request twice is a no-op.
|
|
|
5147
5147
|
needs your own login; an agent session or a factory key is refused.
|
|
5148
5148
|
`
|
|
5149
5149
|
).action(async (number, opts) => {
|
|
5150
|
-
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-
|
|
5150
|
+
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-FC3AJ67Y.js');
|
|
5151
5151
|
try {
|
|
5152
5152
|
await runWorkPr({ ...opts, number });
|
|
5153
5153
|
} catch (err) {
|
|
@@ -5172,8 +5172,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
5172
5172
|
Run it again after a change to the title or description.
|
|
5173
5173
|
`
|
|
5174
5174
|
).action(async (opts) => {
|
|
5175
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
5176
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5175
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-DOMZJJC3.js');
|
|
5176
|
+
const { WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
|
|
5177
5177
|
try {
|
|
5178
5178
|
await runWorkOpenPr(opts);
|
|
5179
5179
|
} catch (err) {
|
|
@@ -5205,9 +5205,9 @@ function registerRunnerCommands(program2) {
|
|
|
5205
5205
|
const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
|
|
5206
5206
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5207
5207
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5208
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5209
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5210
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5208
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-VHJI645L.js');
|
|
5209
|
+
const { start, RunnerStartError } = await import('./loop-VCH4UOQ4.js');
|
|
5210
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-P4DJ2C7S.js');
|
|
5211
5211
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5212
5212
|
try {
|
|
5213
5213
|
const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
|
|
@@ -5229,10 +5229,10 @@ is optional and defaults to ${words().runnerName}. On a later start it refuses v
|
|
|
5229
5229
|
The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
5230
5230
|
`
|
|
5231
5231
|
).action(async () => {
|
|
5232
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5233
|
-
const { containerStart, containerStartExit } = await import('./container-start-
|
|
5234
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5235
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5232
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-VHJI645L.js');
|
|
5233
|
+
const { containerStart, containerStartExit } = await import('./container-start-S5EL4HIH.js');
|
|
5234
|
+
const { start, RunnerStartError } = await import('./loop-VCH4UOQ4.js');
|
|
5235
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-P4DJ2C7S.js');
|
|
5236
5236
|
try {
|
|
5237
5237
|
const outcome = containerStartExit(await containerStart({
|
|
5238
5238
|
env: process.env,
|
|
@@ -5253,16 +5253,16 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5253
5253
|
"after",
|
|
5254
5254
|
"\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"
|
|
5255
5255
|
).action(async (opts) => {
|
|
5256
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5257
|
-
const { runnerDir } = await import('./paths-
|
|
5258
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5256
|
+
const { defaultRunnerConfigPath } = await import('./config-VHJI645L.js');
|
|
5257
|
+
const { runnerDir } = await import('./paths-HV5GP5OV.js');
|
|
5258
|
+
const { runUpdateSteps } = await import('./update-steps-TR2A4Z6Q.js');
|
|
5259
5259
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5260
5260
|
process.stdout.write(`${text}
|
|
5261
5261
|
`);
|
|
5262
5262
|
});
|
|
5263
5263
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5264
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5265
|
-
const { runRunnerCheck } = await import('./check-
|
|
5264
|
+
const { defaultRunnerConfigPath } = await import('./config-VHJI645L.js');
|
|
5265
|
+
const { runRunnerCheck } = await import('./check-27MDV3T5.js');
|
|
5266
5266
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5267
5267
|
const result = await runRunnerCheck(configPath);
|
|
5268
5268
|
if (!result.ok) {
|
|
@@ -5283,8 +5283,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5283
5283
|
`);
|
|
5284
5284
|
});
|
|
5285
5285
|
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) => {
|
|
5286
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5287
|
-
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-
|
|
5286
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-VHJI645L.js');
|
|
5287
|
+
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-GJNKXZN2.js');
|
|
5288
5288
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5289
5289
|
if (opts.service !== true) {
|
|
5290
5290
|
const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
|
|
@@ -5296,13 +5296,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5296
5296
|
}
|
|
5297
5297
|
}
|
|
5298
5298
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5299
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5299
|
+
if (buildCpusMax !== void 0 && !(await import('./command-XGIJADGX.js')).cpusAreValid(buildCpusMax)) {
|
|
5300
5300
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5301
5301
|
return;
|
|
5302
5302
|
}
|
|
5303
5303
|
try {
|
|
5304
5304
|
if (opts.service === true) {
|
|
5305
|
-
const { installServiceCommand } = await import('./command-
|
|
5305
|
+
const { installServiceCommand } = await import('./command-XGIJADGX.js');
|
|
5306
5306
|
const result2 = await installServiceCommand({
|
|
5307
5307
|
configPath,
|
|
5308
5308
|
print: opts.print,
|
|
@@ -5359,8 +5359,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5359
5359
|
fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
|
|
5360
5360
|
return;
|
|
5361
5361
|
}
|
|
5362
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5363
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5362
|
+
const { defaultRunnerConfigPath } = await import('./config-VHJI645L.js');
|
|
5363
|
+
const { uninstallServiceCommand } = await import('./command-XGIJADGX.js');
|
|
5364
5364
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5365
5365
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5366
5366
|
`);
|
|
@@ -5387,13 +5387,13 @@ already in ${words().envFile} is used.
|
|
|
5387
5387
|
printf '%s' "$${words().variables[0]}" | ${cliInvocation()} runner init --agent ${words().runnerName} --factory <org>/<factory>
|
|
5388
5388
|
`
|
|
5389
5389
|
).action(async (opts) => {
|
|
5390
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5391
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5392
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5393
|
-
const { detectMachine } = await import('./machine-
|
|
5394
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5395
|
-
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-
|
|
5396
|
-
const { headlessNames } = await import('./runner-agents-
|
|
5390
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-VHJI645L.js');
|
|
5391
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-6FLEEVZY.js');
|
|
5392
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-FNNAF36Q.js');
|
|
5393
|
+
const { detectMachine } = await import('./machine-ZU7XA2IC.js');
|
|
5394
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-RSKNY7WL.js');
|
|
5395
|
+
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-XX2NZOEJ.js');
|
|
5396
|
+
const { headlessNames } = await import('./runner-agents-RO4TU5N4.js');
|
|
5397
5397
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5398
5398
|
if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
|
|
5399
5399
|
fail(`--agent ${opts.agent}: runner init writes commands for ${headlessNames().join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
|
|
@@ -5424,7 +5424,7 @@ already in ${words().envFile} is used.
|
|
|
5424
5424
|
const chunks = [];
|
|
5425
5425
|
for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
|
|
5426
5426
|
const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
|
|
5427
|
-
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-
|
|
5427
|
+
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-WG4KPVLI.js');
|
|
5428
5428
|
const hostKey2 = await ensureHostKey2(configPath);
|
|
5429
5429
|
process.stdout.write(`host key ${hostKey2.fingerprint}
|
|
5430
5430
|
hooks: ${result2.hooks}
|
|
@@ -5479,7 +5479,7 @@ hooks: ${result2.hooks}
|
|
|
5479
5479
|
const prepared = prepareRunnerInit(configPath, { machine, agent, credential, keyFromLogin: makeKey !== void 0 });
|
|
5480
5480
|
const created = makeKey === void 0 ? void 0 : await makeKey();
|
|
5481
5481
|
const result = writeRunnerInit(prepared, created);
|
|
5482
|
-
const { ensureHostKey } = await import('./host-key-
|
|
5482
|
+
const { ensureHostKey } = await import('./host-key-WG4KPVLI.js');
|
|
5483
5483
|
const hostKey = await ensureHostKey(configPath);
|
|
5484
5484
|
if (created !== void 0) {
|
|
5485
5485
|
process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
|
|
@@ -5499,7 +5499,7 @@ hooks: ${result2.hooks}
|
|
|
5499
5499
|
);
|
|
5500
5500
|
process.stdout.write(`${C.green}\u2713${C.reset} hooks: ${result.hooks}${result.hooks === "builtin:vm" ? " (builds run in microVMs)" : " (builds run in containers)"}
|
|
5501
5501
|
`);
|
|
5502
|
-
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-
|
|
5502
|
+
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-GJNKXZN2.js');
|
|
5503
5503
|
let installedLayout = false;
|
|
5504
5504
|
let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
|
|
5505
5505
|
try {
|
|
@@ -5531,7 +5531,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5531
5531
|
let serviceUp = false;
|
|
5532
5532
|
let restart;
|
|
5533
5533
|
if (installedLayout) {
|
|
5534
|
-
const { installServiceCommand } = await import('./command-
|
|
5534
|
+
const { installServiceCommand } = await import('./command-XGIJADGX.js');
|
|
5535
5535
|
const service = await installServiceCommand({
|
|
5536
5536
|
configPath,
|
|
5537
5537
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5583,12 +5583,12 @@ image holds this CLI and a pinned ${words().agent}. Nothing runs inside the imag
|
|
|
5583
5583
|
A repository with no devcontainer file builds on the universal image the CLI pins by digest.
|
|
5584
5584
|
`
|
|
5585
5585
|
).action(async (opts) => {
|
|
5586
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5587
|
-
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-
|
|
5586
|
+
const { defaultRunnerConfigPath } = await import('./config-VHJI645L.js');
|
|
5587
|
+
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-4R4PUGPT.js');
|
|
5588
5588
|
const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
|
|
5589
|
-
const { createDockerHost } = await import('./docker-
|
|
5590
|
-
const { builderSpec } = await import('./builder-
|
|
5591
|
-
const { loadRunnerConfig } = await import('./config-
|
|
5589
|
+
const { createDockerHost } = await import('./docker-BP7AD65K.js');
|
|
5590
|
+
const { builderSpec } = await import('./builder-ER6LUZBQ.js');
|
|
5591
|
+
const { loadRunnerConfig } = await import('./config-VHJI645L.js');
|
|
5592
5592
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5593
5593
|
const loaded = (() => {
|
|
5594
5594
|
try {
|
|
@@ -5599,12 +5599,12 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5599
5599
|
})();
|
|
5600
5600
|
const memory = loaded?.build?.memory ?? "8g";
|
|
5601
5601
|
try {
|
|
5602
|
-
const { ensureRunnerIdentity } = await import('./runner-identity-
|
|
5602
|
+
const { ensureRunnerIdentity } = await import('./runner-identity-HHW4UKYE.js');
|
|
5603
5603
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5604
5604
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5605
5605
|
});
|
|
5606
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5607
|
-
const { runnerCalls } = await import('./caller-
|
|
5606
|
+
const { imageTargetFor } = await import('./governing-source-JYK3VK23.js');
|
|
5607
|
+
const { runnerCalls } = await import('./caller-PCOQRDGJ.js');
|
|
5608
5608
|
const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
|
|
5609
5609
|
if (!target.ok) {
|
|
5610
5610
|
if (opts.json) {
|
|
@@ -5668,25 +5668,25 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5668
5668
|
}
|
|
5669
5669
|
});
|
|
5670
5670
|
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) => {
|
|
5671
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5672
|
-
const { requestStop } = await import('./loop-
|
|
5671
|
+
const { defaultRunnerConfigPath } = await import('./config-VHJI645L.js');
|
|
5672
|
+
const { requestStop } = await import('./loop-VCH4UOQ4.js');
|
|
5673
5673
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5674
|
-
const { runnerImageVersion } = await import('./image-tag-
|
|
5674
|
+
const { runnerImageVersion } = await import('./image-tag-GZW7HJBN.js');
|
|
5675
5675
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
5676
5676
|
});
|
|
5677
5677
|
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) => {
|
|
5678
|
-
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-
|
|
5679
|
-
const { jobsDir, runnerDir } = await import('./paths-
|
|
5680
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5681
|
-
const { renderStatus } = await import('./status-
|
|
5682
|
-
const { readHousekeepingRecord } = await import('./record-
|
|
5678
|
+
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-VHJI645L.js');
|
|
5679
|
+
const { jobsDir, runnerDir } = await import('./paths-HV5GP5OV.js');
|
|
5680
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-VCH4UOQ4.js');
|
|
5681
|
+
const { renderStatus } = await import('./status-FQ5AIDWL.js');
|
|
5682
|
+
const { readHousekeepingRecord } = await import('./record-UOVUKWPV.js');
|
|
5683
5683
|
const path2 = await import('path');
|
|
5684
5684
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5685
5685
|
const all = listJobFiles(configPath);
|
|
5686
5686
|
const housekeeping = readHousekeepingRecord(runnerDir(configPath));
|
|
5687
|
-
const { readPendingUpdate } = await import('./pending-
|
|
5687
|
+
const { readPendingUpdate } = await import('./pending-4PZIZNR5.js');
|
|
5688
5688
|
const pendingUpdate = readPendingUpdate(runnerDir(configPath));
|
|
5689
|
-
const { readImageStatus } = await import('./image-tag-
|
|
5689
|
+
const { readImageStatus } = await import('./image-tag-GZW7HJBN.js');
|
|
5690
5690
|
const image = readImageStatus(runnerDir(configPath));
|
|
5691
5691
|
let host = "unknown";
|
|
5692
5692
|
let concurrency = 1;
|
|
@@ -5696,7 +5696,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5696
5696
|
host = config.host;
|
|
5697
5697
|
concurrency = config.concurrency;
|
|
5698
5698
|
if (config.fleet === true) {
|
|
5699
|
-
const { readFleetState } = await import('./state-
|
|
5699
|
+
const { readFleetState } = await import('./state-IASJSAJV.js');
|
|
5700
5700
|
fleet = { state: readFleetState(configPath) };
|
|
5701
5701
|
}
|
|
5702
5702
|
} catch {
|
|
@@ -5704,7 +5704,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5704
5704
|
const processState = runnerProcessState(configPath);
|
|
5705
5705
|
const service = await (async () => {
|
|
5706
5706
|
if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
|
|
5707
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
5707
|
+
const { inspectRunnerService } = await import('./find-unit-L2JIUL4D.js');
|
|
5708
5708
|
const facts = inspectRunnerService(configPath);
|
|
5709
5709
|
return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
|
|
5710
5710
|
})();
|
|
@@ -5743,9 +5743,9 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5743
5743
|
);
|
|
5744
5744
|
});
|
|
5745
5745
|
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) => {
|
|
5746
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5747
|
-
const { listJobFiles } = await import('./loop-
|
|
5748
|
-
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-
|
|
5746
|
+
const { defaultRunnerConfigPath } = await import('./config-VHJI645L.js');
|
|
5747
|
+
const { listJobFiles } = await import('./loop-VCH4UOQ4.js');
|
|
5748
|
+
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-IMTZ733E.js');
|
|
5749
5749
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5750
5750
|
const jobs = listJobFiles(configPath);
|
|
5751
5751
|
const selected = selectAttempt(jobs, itemArg);
|
|
@@ -5988,7 +5988,7 @@ caller from the bearer token, the gateway answers 401 without that header.
|
|
|
5988
5988
|
"after",
|
|
5989
5989
|
"\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"
|
|
5990
5990
|
).action(async (opts) => {
|
|
5991
|
-
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-
|
|
5991
|
+
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-27QGBQGR.js');
|
|
5992
5992
|
try {
|
|
5993
5993
|
await runMcpServe({ url: opts.url, appId: opts.appId });
|
|
5994
5994
|
} catch (err) {
|
|
@@ -6009,7 +6009,7 @@ would get, the instruction files and the names of the skills. It warns when the
|
|
|
6009
6009
|
no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
|
|
6010
6010
|
`
|
|
6011
6011
|
).action(async (opts) => {
|
|
6012
|
-
const { runContextShow, ContextShowError } = await import('./context-show-cmd-
|
|
6012
|
+
const { runContextShow, ContextShowError } = await import('./context-show-cmd-XODQYX7H.js');
|
|
6013
6013
|
try {
|
|
6014
6014
|
const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
|
|
6015
6015
|
process.stdout.write(result.output);
|