@outerlayer/cli 0.38.0-next.20261111004457 → 0.38.0-next.20261111024231
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 +8 -0
- package/dist/{agent-setup-OU7CGYSN.js → agent-setup-T2VITZUY.js} +9 -9
- package/dist/{agent-subcommand-GG4PSHYT.js → agent-subcommand-KV3JO5YD.js} +1 -1
- package/dist/{bridge-MVW5RNQD.js → bridge-7MCKZXCR.js} +4 -4
- package/dist/{build-D4Y3LBPO.js → build-N2MRLYFW.js} +10 -10
- package/dist/{build-disk-VDMWH3C3.js → build-disk-IJZYZ2K5.js} +8 -8
- package/dist/build-info.json +1 -1
- package/dist/{builder-6L5ZMXBE.js → builder-ATKIRCDJ.js} +7 -7
- package/dist/{caller-FFSXVMLB.js → caller-OWXJDYPI.js} +10 -10
- package/dist/{check-U5DOQU64.js → check-F7RN65GG.js} +40 -40
- package/dist/{chunk-IWJFARST.js → chunk-2FUJ5PSV.js} +1 -1
- package/dist/{chunk-EKV7QATX.js → chunk-2PRDLE4L.js} +1 -1
- package/dist/{chunk-IZHI643L.js → chunk-3VEPVZV4.js} +5 -5
- package/dist/{chunk-3IL6H7A4.js → chunk-4HUYH65P.js} +1 -1
- package/dist/{chunk-4S6ML2YX.js → chunk-4YAFIOIV.js} +17 -2
- package/dist/{chunk-GELUV567.js → chunk-5NJ367OD.js} +2 -2
- package/dist/{chunk-R6UNNKV3.js → chunk-64ROJ5LD.js} +1 -1
- package/dist/{chunk-5U4IKVF5.js → chunk-6T2X2JI6.js} +3 -3
- package/dist/{chunk-7ILAGC3U.js → chunk-6U3UTAWQ.js} +1 -1
- package/dist/{chunk-WVJDXOIG.js → chunk-7G2HRTSG.js} +3 -3
- package/dist/{chunk-2PYQ6BZJ.js → chunk-7HYXJVU6.js} +1 -1
- package/dist/{chunk-X7BVDOS2.js → chunk-7LWASV77.js} +3 -3
- package/dist/{chunk-MX5XVAOI.js → chunk-7U43B2UB.js} +1 -1
- package/dist/{chunk-JASHMKDN.js → chunk-AB4GMYIH.js} +1 -1
- package/dist/{chunk-NBJPY3OC.js → chunk-ASCXEXYJ.js} +5 -5
- package/dist/{chunk-UF3X5ECJ.js → chunk-BY2YRJSC.js} +2 -2
- package/dist/{chunk-U43K2JS5.js → chunk-ECMQNH2H.js} +2 -2
- package/dist/{chunk-YWQ3S3F5.js → chunk-EWGHEMEO.js} +2 -2
- package/dist/{chunk-F5ONFHHU.js → chunk-FB2UT5XA.js} +31 -27
- package/dist/{chunk-BZSGU2WC.js → chunk-FT5NDSSG.js} +4 -4
- package/dist/{chunk-MV5WJEIB.js → chunk-GGKXYHT5.js} +2 -2
- package/dist/{chunk-7NRULS6C.js → chunk-GPP5EZV7.js} +3 -3
- package/dist/{chunk-2ZPXDOCU.js → chunk-I5C667TJ.js} +9 -9
- package/dist/{chunk-QB5MU2WS.js → chunk-IB2UHXZ7.js} +2 -2
- package/dist/{chunk-EN3OWMED.js → chunk-ICW75TS5.js} +4 -4
- package/dist/{chunk-CKA4JQKR.js → chunk-IEX5FXEU.js} +2 -2
- package/dist/{chunk-OZDUVL5L.js → chunk-JPAO6HRN.js} +2 -2
- package/dist/{chunk-DDEJP7YT.js → chunk-K6KUWUUT.js} +1 -1
- package/dist/{chunk-JNEK36QK.js → chunk-KGJAYD7F.js} +1239 -1100
- package/dist/{chunk-OWBNADRQ.js → chunk-KM2IMFAG.js} +1 -1
- package/dist/{chunk-3AHABZMA.js → chunk-LXREVZX7.js} +2 -2
- package/dist/{chunk-A6CCWLUP.js → chunk-M5DYOU5G.js} +3 -3
- package/dist/{chunk-YE3KPAT5.js → chunk-MPF7CVQM.js} +1 -1
- package/dist/{chunk-W5OAKC2W.js → chunk-NC6HUEMI.js} +9 -9
- package/dist/{chunk-P5XX7VZ6.js → chunk-NWSKP5VI.js} +2 -2
- package/dist/{chunk-4JKCTCCC.js → chunk-O53PVAUY.js} +4 -4
- package/dist/{chunk-D7OVS2LL.js → chunk-OBSWWJJ3.js} +1 -1
- package/dist/{chunk-ONZNFKCH.js → chunk-OBXRHBOM.js} +2 -2
- package/dist/{chunk-JP5D37RZ.js → chunk-PP7MPUX7.js} +3 -3
- package/dist/{chunk-JPO6RJEW.js → chunk-QM3M7QN3.js} +1 -1
- package/dist/{chunk-JRM35NTG.js → chunk-R35KRBTS.js} +5 -5
- package/dist/{chunk-NIQXLC6A.js → chunk-R7BS36HP.js} +1 -1
- package/dist/{chunk-J3KW7GPE.js → chunk-REZNW2YV.js} +6 -6
- package/dist/{chunk-LNTNFSRI.js → chunk-RPIYENP2.js} +2 -2
- package/dist/{chunk-6Z5AC4ZK.js → chunk-T5CN56UE.js} +1 -1
- package/dist/{chunk-WWGXWKLT.js → chunk-U5YHNSSI.js} +5 -5
- package/dist/{chunk-DNCF3XOC.js → chunk-W2H6JURI.js} +3 -3
- package/dist/{chunk-BYWVHMBR.js → chunk-XMIL73Y2.js} +1 -1
- package/dist/{chunk-JDXYBQBZ.js → chunk-XSVZFWZ4.js} +7 -7
- package/dist/{chunk-ZNQRFRBW.js → chunk-YFMVZBLO.js} +5 -5
- package/dist/{chunk-NCPZP6PQ.js → chunk-YFQIK6LZ.js} +7 -7
- package/dist/{chunk-5TODASD5.js → chunk-YI2XPK7A.js} +1 -1
- package/dist/{chunk-RI37FFPL.js → chunk-ZGCIFD5Y.js} +2 -2
- package/dist/{claude-launcher-GNRTFQMI.js → claude-launcher-ZC664P33.js} +1 -1
- package/dist/{cli-SNHD2D6X.js → cli-XWXX6PJD.js} +130 -130
- package/dist/{command-NTKAT7KB.js → command-D656K4AE.js} +35 -35
- package/dist/{config-LUIWZESD.js → config-U2OR7MQW.js} +9 -9
- package/dist/{connect-cmd-4M4DN6GO.js → connect-cmd-73BBTTU5.js} +7 -7
- package/dist/{container-start-BVEDUA7N.js → container-start-JFJYC4GQ.js} +33 -33
- package/dist/{context-show-cmd-DAMQJOAL.js → context-show-cmd-ETWKBHXZ.js} +8 -8
- package/dist/{control-plane-launch-SD45JYKF.js → control-plane-launch-JOH7FS5U.js} +7 -7
- package/dist/{demo-record-cmd-CFOXCR42.js → demo-record-cmd-GBHPIYJA.js} +5 -5
- package/dist/{demo-voice-cmd-4YZJPUIP.js → demo-voice-cmd-GUYFA2NG.js} +13 -13
- package/dist/{docker-2DLKQOK3.js → docker-RC4CFNKI.js} +7 -7
- package/dist/{doctor-VFCDAKM4.js → doctor-TW6VREAT.js} +35 -35
- package/dist/{emit-artifact-cmd-IWZDXJBY.js → emit-artifact-cmd-CQLCPM4R.js} +12 -12
- package/dist/{emit-criteria-cmd-UVCLLYEZ.js → emit-criteria-cmd-VM7AO3E3.js} +9 -9
- package/dist/{emit-demo-cmd-BHKNT36Y.js → emit-demo-cmd-3NSODQTO.js} +13 -13
- package/dist/{emit-finding-cmd-Y3XX26B4.js → emit-finding-cmd-4CRLSMOK.js} +9 -9
- package/dist/{emit-result-cmd-TTQ3MLY4.js → emit-result-cmd-GM43QMCM.js} +11 -11
- package/dist/{emit-step-cmd-EASDIM5Q.js → emit-step-cmd-J7KS2QXL.js} +9 -9
- package/dist/{exec-client-MEIRWXLR.js → exec-client-DY7673SD.js} +5 -5
- package/dist/find-unit-ZVHHFTL2.js +24 -0
- package/dist/{findings-cmd-KQOL6NJG.js → findings-cmd-25F44AB4.js} +9 -9
- package/dist/{fleet-readiness-R2BMWLXQ.js → fleet-readiness-Z4C6W7XN.js} +7 -7
- package/dist/{governing-source-ARSS7R7L.js → governing-source-IURJZXUR.js} +11 -11
- package/dist/{guest-init-UGBFOWNC.js → guest-init-4B5MMXIQ.js} +6 -6
- package/dist/{hook-fast-DC556GE2.js → hook-fast-LB3VTEIW.js} +1 -1
- package/dist/{host-checks-UTZBDSWV.js → host-checks-AQTZ7IKK.js} +31 -31
- package/dist/{pending-COVCIH4Q.js → host-key-ZWMN7VIH.js} +5 -5
- package/dist/{image-tag-RU4RHPIT.js → image-tag-4DKLSTO6.js} +5 -5
- package/dist/index.js +4 -4
- package/dist/{init-I5HVGOQC.js → init-P2PDGLTU.js} +31 -31
- package/dist/{init-QFTRSBBT.js → init-XYFDIEOA.js} +31 -31
- package/dist/{init-agent-TKQ67BS4.js → init-agent-EGNFBPM5.js} +31 -31
- package/dist/{init-cmd-I36LJ6YC.js → init-cmd-C2I22ZJA.js} +12 -12
- package/dist/{init-update-KG7V3VJF.js → init-update-H4LSR7H4.js} +10 -10
- package/dist/{install-cmd-66Z7TY52.js → install-cmd-BI4C3MGF.js} +7 -7
- package/dist/{logs-XWMVEAUP.js → logs-7DD6J3M6.js} +4 -4
- package/dist/{loop-YCOSJRLW.js → loop-KEGBBAV4.js} +39 -39
- package/dist/{machine-BJEAYCHT.js → machine-JK27TGT6.js} +31 -31
- package/dist/{mcp-serve-cmd-M7CX4RO3.js → mcp-serve-cmd-HK2ODMHU.js} +6 -6
- package/dist/{paths-GQ66KHNT.js → paths-EHWU5QWB.js} +4 -4
- package/dist/{host-key-CTRFLP2W.js → pending-K4A23JIC.js} +5 -5
- package/dist/{pidfile-RBG6FQ7K.js → pidfile-PG3L2CVV.js} +5 -5
- package/dist/{record-6IAZ26H3.js → record-PXCRTDQU.js} +5 -5
- package/dist/{relay-VEBGGPYV.js → relay-2MJY25BV.js} +2 -2
- package/dist/{relay-protocol-2AJCUAMJ.js → relay-protocol-VBCRA347.js} +2 -2
- package/dist/{run-cmd-EJPHCENL.js → run-cmd-F7ANZPSX.js} +9 -9
- package/dist/{runner-agents-P562WZJB.js → runner-agents-HZ5FIFPU.js} +1 -1
- package/dist/{runner-env-XPZ3FPQL.js → runner-env-5AM2XYEN.js} +11 -11
- package/dist/{runner-identity-TAJAY5M5.js → runner-identity-CL2KMFGC.js} +7 -7
- package/dist/{runner-key-I3M7GEJE.js → runner-key-CJ66VZE3.js} +31 -31
- package/dist/{session-sender-OIOE4QR2.js → session-sender-RSAHCLL6.js} +12 -12
- package/dist/{spec-cmd-2J43XP3L.js → spec-cmd-ED6DKB54.js} +10 -10
- package/dist/{state-NAZKB77R.js → state-MV53BATE.js} +5 -5
- package/dist/{status-BFRDAZQP.js → status-CZTCYZLU.js} +31 -31
- package/dist/{sync-cmd-KWTFVQCR.js → sync-cmd-PQZD77PE.js} +11 -11
- package/dist/{update-steps-LINCNPGV.js → update-steps-DCFEKNW2.js} +32 -32
- package/dist/{watch-3IBFF2SQ.js → watch-FAQXAAUA.js} +11 -11
- package/dist/{work-claim-cmd-C2WFSOKE.js → work-claim-cmd-XPXHRV74.js} +15 -15
- package/dist/{work-cmd-DO2QNBKA.js → work-cmd-ME7DWBI6.js} +9 -9
- package/dist/{work-comment-cmd-P5VJHCX7.js → work-comment-cmd-ZT4O56QR.js} +11 -11
- package/dist/{work-demo-cmd-UJBZLOMQ.js → work-demo-cmd-YV22MZXG.js} +9 -9
- package/dist/{work-logs-cmd-OVE5JUMH.js → work-logs-cmd-LUK7THB2.js} +9 -9
- package/dist/{work-needs-attention-cmd-QNCOUXMT.js → work-needs-attention-cmd-KTLWMBJV.js} +9 -9
- package/dist/{work-no-change-cmd-KQSONMJX.js → work-no-change-cmd-TWGW5ZOO.js} +9 -9
- package/dist/{work-open-pr-cmd-HBE74CZU.js → work-open-pr-cmd-VEM5MEUS.js} +10 -10
- package/dist/{work-pr-cmd-62BGKUJM.js → work-pr-cmd-M4G35ZIV.js} +9 -9
- package/dist/{work-proofs-cmd-SLUFPOEN.js → work-proofs-cmd-7EZ4QZUR.js} +10 -10
- package/dist/{work-proofs-record-6KGPMUHD.js → work-proofs-record-AY72YKNC.js} +16 -16
- package/dist/{work-stop-cmd-7WEHA365.js → work-stop-cmd-FX5QTUYJ.js} +9 -9
- package/package.json +1 -1
- package/dist/find-unit-2RZ4NCXQ.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-I5C667TJ.js';
|
|
4
4
|
import './chunk-OUKSF3LK.js';
|
|
5
|
-
import { verifiedTrackerNames, TRACKERS } from './chunk-
|
|
5
|
+
import { verifiedTrackerNames, TRACKERS } from './chunk-YFMVZBLO.js';
|
|
6
6
|
import './chunk-2HLMGVK6.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
7
|
+
import './chunk-ECMQNH2H.js';
|
|
8
|
+
import './chunk-K6KUWUUT.js';
|
|
9
9
|
import './chunk-J4DTF5MN.js';
|
|
10
10
|
import './chunk-HWXBOHEA.js';
|
|
11
11
|
import './chunk-OVJSVC5U.js';
|
|
12
|
-
import './chunk-
|
|
12
|
+
import './chunk-AB4GMYIH.js';
|
|
13
13
|
import './chunk-QHYCF36K.js';
|
|
14
14
|
import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-PG33WPRF.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-2KUFDLLY.js';
|
|
19
|
-
import './chunk-
|
|
19
|
+
import './chunk-R7BS36HP.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-KM2IMFAG.js';
|
|
22
|
+
import './chunk-T5CN56UE.js';
|
|
23
|
+
import './chunk-4YAFIOIV.js';
|
|
24
|
+
import './chunk-7U43B2UB.js';
|
|
25
|
+
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-OBSWWJJ3.js';
|
|
26
26
|
import './chunk-545P7JY7.js';
|
|
27
27
|
import './chunk-SF2TBJBP.js';
|
|
28
28
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
@@ -37,7 +37,7 @@ import { cliForInstall, SettingsParseError, PORTABLE_BIN, writeSettingsText, cli
|
|
|
37
37
|
import './chunk-CSFMIUYS.js';
|
|
38
38
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
39
39
|
import { removeJournalHooks, removePreCommitGuardHook } from './chunk-CJPTUU2E.js';
|
|
40
|
-
import { headlessNames, credentialForms, runnerAgentNamed, credentialAgent, runnerAgents, orList, credentialShapes } from './chunk-
|
|
40
|
+
import { headlessNames, credentialForms, runnerAgentNamed, credentialAgent, runnerAgents, orList, credentialShapes } from './chunk-IEX5FXEU.js';
|
|
41
41
|
import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-G2CRPYFO.js';
|
|
42
42
|
import './chunk-PLVHIQJN.js';
|
|
43
43
|
import './chunk-7PZDPISM.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-73BBTTU5.js');
|
|
3821
3821
|
const { resolveRepoIdentity } = await import('./dist-5VKIP767.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-H4LSR7H4.js');
|
|
3896
|
+
const { fleetReadiness } = await import('./fleet-readiness-Z4C6W7XN.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-C2I22ZJA.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-C2I22ZJA.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-T2VITZUY.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-73BBTTU5.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-73BBTTU5.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
|
|
@@ -4092,7 +4092,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4092
4092
|
else fail(found.reason);
|
|
4093
4093
|
return;
|
|
4094
4094
|
}
|
|
4095
|
-
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-
|
|
4095
|
+
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-PQZD77PE.js');
|
|
4096
4096
|
try {
|
|
4097
4097
|
const result = await runSync({
|
|
4098
4098
|
url: opts.url,
|
|
@@ -4121,7 +4121,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4121
4121
|
if (invokedCommandToken(argv) === "watch") {
|
|
4122
4122
|
warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
|
|
4123
4123
|
}
|
|
4124
|
-
const { runWatch } = await import('./watch-
|
|
4124
|
+
const { runWatch } = await import('./watch-FAQXAAUA.js');
|
|
4125
4125
|
await runWatch({ once: opts.once });
|
|
4126
4126
|
});
|
|
4127
4127
|
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(() => {
|
|
@@ -4136,8 +4136,8 @@ code is 1: revoke the token on /profile/security.
|
|
|
4136
4136
|
});
|
|
4137
4137
|
}
|
|
4138
4138
|
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("--join-ws <port>", "also take the runner's session over a WebSocket on this port").option("--join-secret-file <path>", "the secret a WebSocket join sends first; needs --join-ws").option("--forward <port=target>", "also relay a loopback port to a destination; repeatable", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
4139
|
-
const { startRelay, startSessionRelay } = await import('./relay-
|
|
4140
|
-
const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-
|
|
4139
|
+
const { startRelay, startSessionRelay } = await import('./relay-2MJY25BV.js');
|
|
4140
|
+
const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-VBCRA347.js');
|
|
4141
4141
|
const port = Number(opts.port);
|
|
4142
4142
|
if (!Number.isInteger(port) || port < 1 || port > 65535) {
|
|
4143
4143
|
fail(opts.port === void 0 ? "--port is required" : `--port must be a port number, not ${opts.port}`);
|
|
@@ -4175,7 +4175,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4175
4175
|
await startRelay({ port, socketPath: opts.socket, forwards: forwards.map((forward) => ({ port: forward.port, socketPath: forward.spec })) });
|
|
4176
4176
|
});
|
|
4177
4177
|
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) => {
|
|
4178
|
-
const { joinRelay } = await import('./relay-
|
|
4178
|
+
const { joinRelay } = await import('./relay-2MJY25BV.js');
|
|
4179
4179
|
try {
|
|
4180
4180
|
await joinRelay({ socketPath: opts.socket, input: process.stdin, output: process.stdout });
|
|
4181
4181
|
} catch (err) {
|
|
@@ -4191,7 +4191,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4191
4191
|
}
|
|
4192
4192
|
});
|
|
4193
4193
|
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) => {
|
|
4194
|
-
const { runVmExec } = await import('./exec-client-
|
|
4194
|
+
const { runVmExec } = await import('./exec-client-DY7673SD.js');
|
|
4195
4195
|
const env = {};
|
|
4196
4196
|
for (const entry of opts.env) {
|
|
4197
4197
|
const eq = entry.indexOf("=");
|
|
@@ -4220,7 +4220,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4220
4220
|
process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
|
|
4221
4221
|
});
|
|
4222
4222
|
program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
|
|
4223
|
-
const { runSessionSender } = await import('./session-sender-
|
|
4223
|
+
const { runSessionSender } = await import('./session-sender-RSAHCLL6.js');
|
|
4224
4224
|
try {
|
|
4225
4225
|
await runSessionSender();
|
|
4226
4226
|
} catch (err) {
|
|
@@ -4228,7 +4228,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4228
4228
|
}
|
|
4229
4229
|
});
|
|
4230
4230
|
program2.command("vm-init", { hidden: true }).description("lay out a microVM build's guest; the guest helper runs it").action(async () => {
|
|
4231
|
-
const { realGuestHost, runGuestInit } = await import('./guest-init-
|
|
4231
|
+
const { realGuestHost, runGuestInit } = await import('./guest-init-4B5MMXIQ.js');
|
|
4232
4232
|
const { readFileSync: readFileSync3 } = await import('fs');
|
|
4233
4233
|
try {
|
|
4234
4234
|
runGuestInit(realGuestHost(), readFileSync3("/proc/cmdline", "utf8"));
|
|
@@ -4237,7 +4237,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4237
4237
|
}
|
|
4238
4238
|
});
|
|
4239
4239
|
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) => {
|
|
4240
|
-
const { startBridgeForward } = await import('./bridge-
|
|
4240
|
+
const { startBridgeForward } = await import('./bridge-7MCKZXCR.js');
|
|
4241
4241
|
try {
|
|
4242
4242
|
await startBridgeForward(opts);
|
|
4243
4243
|
} catch (err) {
|
|
@@ -4316,7 +4316,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
|
|
|
4316
4316
|
await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
|
|
4317
4317
|
return;
|
|
4318
4318
|
}
|
|
4319
|
-
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-
|
|
4319
|
+
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-GM43QMCM.js');
|
|
4320
4320
|
try {
|
|
4321
4321
|
const result = await runEmitResult({
|
|
4322
4322
|
name,
|
|
@@ -4368,7 +4368,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
|
|
|
4368
4368
|
locally so it never uploads. One correction can retire several duplicates.
|
|
4369
4369
|
`
|
|
4370
4370
|
).action(async (file, opts) => {
|
|
4371
|
-
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-
|
|
4371
|
+
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-CQLCPM4R.js');
|
|
4372
4372
|
let pr;
|
|
4373
4373
|
if (opts.pr !== void 0) {
|
|
4374
4374
|
pr = parseTrackerNumber(opts.pr);
|
|
@@ -4424,7 +4424,7 @@ its criterion, and the new record retires the old record. The id must be the ite
|
|
|
4424
4424
|
as \`work demo --item <n> --json\` prints it.
|
|
4425
4425
|
`
|
|
4426
4426
|
).action(async (manifest, opts) => {
|
|
4427
|
-
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-
|
|
4427
|
+
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-3NSODQTO.js');
|
|
4428
4428
|
let item;
|
|
4429
4429
|
if (opts.item !== void 0) {
|
|
4430
4430
|
item = parseTrackerNumber(opts.item);
|
|
@@ -4467,7 +4467,7 @@ as \`work demo --item <n> --json\` prints it.
|
|
|
4467
4467
|
}
|
|
4468
4468
|
});
|
|
4469
4469
|
program2.command("demo-voice", { hidden: true }).description("Speak demo lines for a recorder: JSON lines in on stdin, out on stdout").action(async () => {
|
|
4470
|
-
const { runDemoVoice } = await import('./demo-voice-cmd-
|
|
4470
|
+
const { runDemoVoice } = await import('./demo-voice-cmd-GUYFA2NG.js');
|
|
4471
4471
|
await runDemoVoice();
|
|
4472
4472
|
});
|
|
4473
4473
|
const demoCmd = program2.command("demo").description("Record demos with the recorder this CLI carries");
|
|
@@ -4485,7 +4485,7 @@ and the command prints the manifest's path for \`emit demo\`. Under \`work proof
|
|
|
4485
4485
|
to OUTERLAYER_PROOF_OUT instead. Exit 1 means the demo's test failed; its manifest is written all the same.
|
|
4486
4486
|
`
|
|
4487
4487
|
).action(async (file, opts) => {
|
|
4488
|
-
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-
|
|
4488
|
+
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-GBHPIYJA.js');
|
|
4489
4489
|
try {
|
|
4490
4490
|
const result = await runDemoRecord({
|
|
4491
4491
|
file,
|
|
@@ -4534,7 +4534,7 @@ recent events with their ids. --find <text> searches all of them.
|
|
|
4534
4534
|
item that session was launched for is used automatically.
|
|
4535
4535
|
`
|
|
4536
4536
|
).action(async (opts) => {
|
|
4537
|
-
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4537
|
+
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-4CRLSMOK.js');
|
|
4538
4538
|
try {
|
|
4539
4539
|
refuseRemovedFindingFlags(opts);
|
|
4540
4540
|
const result = await runEmitFinding({
|
|
@@ -4601,7 +4601,7 @@ the whole batch. "untimed": true records one with no time on purpose.
|
|
|
4601
4601
|
that session was launched for is used automatically.
|
|
4602
4602
|
`
|
|
4603
4603
|
).action(async (file, opts) => {
|
|
4604
|
-
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4604
|
+
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-4CRLSMOK.js');
|
|
4605
4605
|
try {
|
|
4606
4606
|
const result = await runEmitFindings({
|
|
4607
4607
|
file,
|
|
@@ -4636,7 +4636,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
|
|
|
4636
4636
|
the step, the command prints why and exits 1.
|
|
4637
4637
|
`
|
|
4638
4638
|
).action(async (name, opts) => {
|
|
4639
|
-
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-
|
|
4639
|
+
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-J7KS2QXL.js');
|
|
4640
4640
|
try {
|
|
4641
4641
|
await runEmitStep({
|
|
4642
4642
|
name,
|
|
@@ -4679,7 +4679,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
|
|
|
4679
4679
|
${cliInvocation()} emit criteria acceptance/412-login.md --item 412
|
|
4680
4680
|
`
|
|
4681
4681
|
).action(async (file, opts) => {
|
|
4682
|
-
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-
|
|
4682
|
+
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-VM7AO3E3.js');
|
|
4683
4683
|
try {
|
|
4684
4684
|
const result = await runEmitCriteria({
|
|
4685
4685
|
file,
|
|
@@ -4703,9 +4703,9 @@ function registerSpecCommands(program2) {
|
|
|
4703
4703
|
const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
|
|
4704
4704
|
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)");
|
|
4705
4705
|
const run = async (action) => {
|
|
4706
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4706
|
+
const { WorkCommandError } = await import('./work-cmd-ME7DWBI6.js');
|
|
4707
4707
|
try {
|
|
4708
|
-
await action(await import('./spec-cmd-
|
|
4708
|
+
await action(await import('./spec-cmd-ED6DKB54.js'));
|
|
4709
4709
|
} catch (err) {
|
|
4710
4710
|
if (err instanceof WorkCommandError) {
|
|
4711
4711
|
fail(err.message);
|
|
@@ -4740,7 +4740,7 @@ Prints each problem the item covers with its id, its reports and its result.
|
|
|
4740
4740
|
session was launched for is used.
|
|
4741
4741
|
`
|
|
4742
4742
|
).action(async (opts) => {
|
|
4743
|
-
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-
|
|
4743
|
+
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-25F44AB4.js');
|
|
4744
4744
|
try {
|
|
4745
4745
|
const result = await runFindingsShow({
|
|
4746
4746
|
item: opts.item,
|
|
@@ -4768,7 +4768,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
|
|
|
4768
4768
|
problem to replace the earlier result. A problem the item does not cover is refused.
|
|
4769
4769
|
`
|
|
4770
4770
|
).action(async (problem, opts) => {
|
|
4771
|
-
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-
|
|
4771
|
+
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-25F44AB4.js');
|
|
4772
4772
|
try {
|
|
4773
4773
|
const result = await runFindingsResult({
|
|
4774
4774
|
problem,
|
|
@@ -4802,8 +4802,8 @@ an issue when the daily limit leaves none, and then you stop reporting.
|
|
|
4802
4802
|
Only the agent of a scheduled run, which holds a run key, can run it.
|
|
4803
4803
|
`
|
|
4804
4804
|
).action(async (opts) => {
|
|
4805
|
-
const { runFoundIssue, RunCommandError } = await import('./run-cmd-
|
|
4806
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4805
|
+
const { runFoundIssue, RunCommandError } = await import('./run-cmd-F7ANZPSX.js');
|
|
4806
|
+
const { WorkCommandError } = await import('./work-cmd-ME7DWBI6.js');
|
|
4807
4807
|
try {
|
|
4808
4808
|
await runFoundIssue(opts);
|
|
4809
4809
|
} catch (err) {
|
|
@@ -4825,8 +4825,8 @@ Run it instead of found-issue, never after it. Only the agent of a
|
|
|
4825
4825
|
scheduled run, which holds a run key, can run it.
|
|
4826
4826
|
`
|
|
4827
4827
|
).action(async (opts) => {
|
|
4828
|
-
const { runFoundNothing, RunCommandError } = await import('./run-cmd-
|
|
4829
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4828
|
+
const { runFoundNothing, RunCommandError } = await import('./run-cmd-F7ANZPSX.js');
|
|
4829
|
+
const { WorkCommandError } = await import('./work-cmd-ME7DWBI6.js');
|
|
4830
4830
|
try {
|
|
4831
4831
|
await runFoundNothing(opts);
|
|
4832
4832
|
} catch (err) {
|
|
@@ -4858,7 +4858,7 @@ takes it, and prints the line that starts your session on it. That
|
|
|
4858
4858
|
session links itself and holds the item's lease while it works.
|
|
4859
4859
|
`
|
|
4860
4860
|
).action(async (opts) => {
|
|
4861
|
-
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-
|
|
4861
|
+
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-ME7DWBI6.js');
|
|
4862
4862
|
try {
|
|
4863
4863
|
await runWorkBuild(opts);
|
|
4864
4864
|
} catch (err) {
|
|
@@ -4881,7 +4881,7 @@ renews that session's own 20-minute lease, unless --no-lease or
|
|
|
4881
4881
|
--ended is given, or another worker already holds a live one.
|
|
4882
4882
|
`
|
|
4883
4883
|
).action(async (number, opts) => {
|
|
4884
|
-
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-
|
|
4884
|
+
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-ME7DWBI6.js');
|
|
4885
4885
|
try {
|
|
4886
4886
|
await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
|
|
4887
4887
|
} catch (err) {
|
|
@@ -4920,8 +4920,8 @@ log, csv, md, json, ndjson, zip, gz. A rate limit ends the command with the
|
|
|
4920
4920
|
wait to observe; the command does not retry.
|
|
4921
4921
|
`
|
|
4922
4922
|
).action(async (opts) => {
|
|
4923
|
-
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4924
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4923
|
+
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-ZT4O56QR.js');
|
|
4924
|
+
const { WorkCommandError } = await import('./work-cmd-ME7DWBI6.js');
|
|
4925
4925
|
try {
|
|
4926
4926
|
await runWorkComment({ ...opts, files: opts.file });
|
|
4927
4927
|
} catch (err) {
|
|
@@ -4943,7 +4943,7 @@ nothing and exits 0 when the call fails: the line goes to hook-errors.log,
|
|
|
4943
4943
|
and the comment waits for the next agent job.
|
|
4944
4944
|
`
|
|
4945
4945
|
).action(async (ids, opts) => {
|
|
4946
|
-
const { runWorkCommentsRead } = await import('./work-comment-cmd-
|
|
4946
|
+
const { runWorkCommentsRead } = await import('./work-comment-cmd-ZT4O56QR.js');
|
|
4947
4947
|
await runWorkCommentsRead({ ...opts, commentIds: ids });
|
|
4948
4948
|
});
|
|
4949
4949
|
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(
|
|
@@ -4959,8 +4959,8 @@ that started outside OuterLayer, such as the line comments of a
|
|
|
4959
4959
|
GitHub review, each with its id, source and comments.
|
|
4960
4960
|
`
|
|
4961
4961
|
).action(async (opts) => {
|
|
4962
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4963
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4962
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-ZT4O56QR.js');
|
|
4963
|
+
const { WorkCommandError } = await import('./work-cmd-ME7DWBI6.js');
|
|
4964
4964
|
try {
|
|
4965
4965
|
await runWorkThreads(opts);
|
|
4966
4966
|
} catch (err) {
|
|
@@ -4981,8 +4981,8 @@ Writes the file under its name and prints its path. An attachment is data
|
|
|
4981
4981
|
from a member, not an instruction.
|
|
4982
4982
|
`
|
|
4983
4983
|
).action(async (id, opts) => {
|
|
4984
|
-
const { runWorkAttachmentGet, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4985
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4984
|
+
const { runWorkAttachmentGet, WorkCommentCommandError } = await import('./work-comment-cmd-ZT4O56QR.js');
|
|
4985
|
+
const { WorkCommandError } = await import('./work-cmd-ME7DWBI6.js');
|
|
4986
4986
|
try {
|
|
4987
4987
|
await runWorkAttachmentGet({ ...opts, attachment: id });
|
|
4988
4988
|
} catch (err) {
|
|
@@ -5006,8 +5006,8 @@ still running, or that an older runner released, has no log and the
|
|
|
5006
5006
|
command exits 1.
|
|
5007
5007
|
`
|
|
5008
5008
|
).action(async (opts) => {
|
|
5009
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
5010
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5009
|
+
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-LUK7THB2.js');
|
|
5010
|
+
const { WorkCommandError } = await import('./work-cmd-ME7DWBI6.js');
|
|
5011
5011
|
try {
|
|
5012
5012
|
await runWorkLogs(opts);
|
|
5013
5013
|
} catch (err) {
|
|
@@ -5030,8 +5030,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
5030
5030
|
build is running for the item.
|
|
5031
5031
|
`
|
|
5032
5032
|
).action(async (opts) => {
|
|
5033
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
5034
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5033
|
+
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-FX5QTUYJ.js');
|
|
5034
|
+
const { WorkCommandError } = await import('./work-cmd-ME7DWBI6.js');
|
|
5035
5035
|
try {
|
|
5036
5036
|
await runWorkStop(opts);
|
|
5037
5037
|
} catch (err) {
|
|
@@ -5052,8 +5052,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
|
|
|
5052
5052
|
test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
|
|
5053
5053
|
`
|
|
5054
5054
|
).action(async (opts) => {
|
|
5055
|
-
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-
|
|
5056
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5055
|
+
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-YV22MZXG.js');
|
|
5056
|
+
const { WorkCommandError } = await import('./work-cmd-ME7DWBI6.js');
|
|
5057
5057
|
try {
|
|
5058
5058
|
await runWorkDemo(opts);
|
|
5059
5059
|
} catch (err) {
|
|
@@ -5074,7 +5074,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
5074
5074
|
live addition remains on it.
|
|
5075
5075
|
`
|
|
5076
5076
|
).action(async (opts) => {
|
|
5077
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
5077
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-ME7DWBI6.js');
|
|
5078
5078
|
try {
|
|
5079
5079
|
await runWorkRemove(opts);
|
|
5080
5080
|
} catch (err) {
|
|
@@ -5086,7 +5086,7 @@ live addition remains on it.
|
|
|
5086
5086
|
}
|
|
5087
5087
|
});
|
|
5088
5088
|
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) => {
|
|
5089
|
-
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-
|
|
5089
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-ME7DWBI6.js');
|
|
5090
5090
|
try {
|
|
5091
5091
|
await runWorkStatus(opts);
|
|
5092
5092
|
} catch (err) {
|
|
@@ -5144,11 +5144,11 @@ a runner build, no row is failed.
|
|
|
5144
5144
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5145
5145
|
return;
|
|
5146
5146
|
}
|
|
5147
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5147
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-7EZ4QZUR.js');
|
|
5148
5148
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5149
5149
|
});
|
|
5150
5150
|
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) => {
|
|
5151
|
-
const { runWorkList, WorkCommandError } = await import('./work-cmd-
|
|
5151
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-ME7DWBI6.js');
|
|
5152
5152
|
try {
|
|
5153
5153
|
await runWorkList(opts);
|
|
5154
5154
|
} catch (err) {
|
|
@@ -5169,7 +5169,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
5169
5169
|
it. --host is a label only.
|
|
5170
5170
|
`
|
|
5171
5171
|
).action(async (opts) => {
|
|
5172
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
5172
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-XPXHRV74.js');
|
|
5173
5173
|
try {
|
|
5174
5174
|
await runWorkClaim(opts);
|
|
5175
5175
|
} catch (err) {
|
|
@@ -5189,7 +5189,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5189
5189
|
lease has expired, or a 403 if a different key holds it.
|
|
5190
5190
|
`
|
|
5191
5191
|
).action(async (opts) => {
|
|
5192
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5192
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-XPXHRV74.js');
|
|
5193
5193
|
try {
|
|
5194
5194
|
await runWorkRenew(opts);
|
|
5195
5195
|
} catch (err) {
|
|
@@ -5221,7 +5221,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5221
5221
|
takes the lease again.
|
|
5222
5222
|
`
|
|
5223
5223
|
).action(async (opts) => {
|
|
5224
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5224
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-XPXHRV74.js');
|
|
5225
5225
|
try {
|
|
5226
5226
|
await runWorkRelease(opts);
|
|
5227
5227
|
} catch (err) {
|
|
@@ -5248,7 +5248,7 @@ Idempotent: declaring the same pull request twice is a no-op.
|
|
|
5248
5248
|
needs your own login; an agent session or a factory key is refused.
|
|
5249
5249
|
`
|
|
5250
5250
|
).action(async (number, opts) => {
|
|
5251
|
-
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-
|
|
5251
|
+
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-M4G35ZIV.js');
|
|
5252
5252
|
try {
|
|
5253
5253
|
await runWorkPr({ ...opts, number });
|
|
5254
5254
|
} catch (err) {
|
|
@@ -5273,8 +5273,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
5273
5273
|
Run it again after a change to the title or description.
|
|
5274
5274
|
`
|
|
5275
5275
|
).action(async (opts) => {
|
|
5276
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
5277
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5276
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-VEM5MEUS.js');
|
|
5277
|
+
const { WorkCommandError } = await import('./work-cmd-ME7DWBI6.js');
|
|
5278
5278
|
try {
|
|
5279
5279
|
await runWorkOpenPr(opts);
|
|
5280
5280
|
} catch (err) {
|
|
@@ -5297,8 +5297,8 @@ and OuterLayer posts the reason on the issue. Only a host build, which
|
|
|
5297
5297
|
holds an item key, can run it.
|
|
5298
5298
|
`
|
|
5299
5299
|
).action(async (opts) => {
|
|
5300
|
-
const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-
|
|
5301
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5300
|
+
const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-TWGW5ZOO.js');
|
|
5301
|
+
const { WorkCommandError } = await import('./work-cmd-ME7DWBI6.js');
|
|
5302
5302
|
try {
|
|
5303
5303
|
await runWorkNoChange(opts);
|
|
5304
5304
|
} catch (err) {
|
|
@@ -5321,8 +5321,8 @@ record that no change is needed. Only a host build, which holds an item key,
|
|
|
5321
5321
|
can run it.
|
|
5322
5322
|
`
|
|
5323
5323
|
).action(async (opts) => {
|
|
5324
|
-
const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-
|
|
5325
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5324
|
+
const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-KTLWMBJV.js');
|
|
5325
|
+
const { WorkCommandError } = await import('./work-cmd-ME7DWBI6.js');
|
|
5326
5326
|
try {
|
|
5327
5327
|
await runWorkNeedsAttention(opts);
|
|
5328
5328
|
} catch (err) {
|
|
@@ -5366,9 +5366,9 @@ function registerRunnerCommands(program2) {
|
|
|
5366
5366
|
const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
|
|
5367
5367
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5368
5368
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5369
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5370
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5371
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5369
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-U2OR7MQW.js');
|
|
5370
|
+
const { start, RunnerStartError } = await import('./loop-KEGBBAV4.js');
|
|
5371
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-PG3L2CVV.js');
|
|
5372
5372
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5373
5373
|
try {
|
|
5374
5374
|
const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
|
|
@@ -5390,10 +5390,10 @@ is optional and defaults to ${words().runnerName}. On a later start it refuses v
|
|
|
5390
5390
|
The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
5391
5391
|
`
|
|
5392
5392
|
).action(async () => {
|
|
5393
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5394
|
-
const { containerStart, containerStartExit } = await import('./container-start-
|
|
5395
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5396
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5393
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-U2OR7MQW.js');
|
|
5394
|
+
const { containerStart, containerStartExit } = await import('./container-start-JFJYC4GQ.js');
|
|
5395
|
+
const { start, RunnerStartError } = await import('./loop-KEGBBAV4.js');
|
|
5396
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-PG3L2CVV.js');
|
|
5397
5397
|
try {
|
|
5398
5398
|
const outcome = containerStartExit(await containerStart({
|
|
5399
5399
|
env: process.env,
|
|
@@ -5414,16 +5414,16 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5414
5414
|
"after",
|
|
5415
5415
|
"\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"
|
|
5416
5416
|
).action(async (opts) => {
|
|
5417
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5418
|
-
const { runnerDir } = await import('./paths-
|
|
5419
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5417
|
+
const { defaultRunnerConfigPath } = await import('./config-U2OR7MQW.js');
|
|
5418
|
+
const { runnerDir } = await import('./paths-EHWU5QWB.js');
|
|
5419
|
+
const { runUpdateSteps } = await import('./update-steps-DCFEKNW2.js');
|
|
5420
5420
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5421
5421
|
process.stdout.write(`${text}
|
|
5422
5422
|
`);
|
|
5423
5423
|
});
|
|
5424
5424
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5425
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5426
|
-
const { runRunnerCheck } = await import('./check-
|
|
5425
|
+
const { defaultRunnerConfigPath } = await import('./config-U2OR7MQW.js');
|
|
5426
|
+
const { runRunnerCheck } = await import('./check-F7RN65GG.js');
|
|
5427
5427
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5428
5428
|
const result = await runRunnerCheck(configPath);
|
|
5429
5429
|
if (!result.ok) {
|
|
@@ -5444,8 +5444,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5444
5444
|
`);
|
|
5445
5445
|
});
|
|
5446
5446
|
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) => {
|
|
5447
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5448
|
-
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-
|
|
5447
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-U2OR7MQW.js');
|
|
5448
|
+
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-BI4C3MGF.js');
|
|
5449
5449
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5450
5450
|
if (opts.service !== true) {
|
|
5451
5451
|
const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
|
|
@@ -5457,13 +5457,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5457
5457
|
}
|
|
5458
5458
|
}
|
|
5459
5459
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5460
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5460
|
+
if (buildCpusMax !== void 0 && !(await import('./command-D656K4AE.js')).cpusAreValid(buildCpusMax)) {
|
|
5461
5461
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5462
5462
|
return;
|
|
5463
5463
|
}
|
|
5464
5464
|
try {
|
|
5465
5465
|
if (opts.service === true) {
|
|
5466
|
-
const { installServiceCommand, serviceSuccessText } = await import('./command-
|
|
5466
|
+
const { installServiceCommand, serviceSuccessText } = await import('./command-D656K4AE.js');
|
|
5467
5467
|
const result2 = await installServiceCommand({
|
|
5468
5468
|
configPath,
|
|
5469
5469
|
print: opts.print,
|
|
@@ -5517,8 +5517,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5517
5517
|
fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
|
|
5518
5518
|
return;
|
|
5519
5519
|
}
|
|
5520
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5521
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5520
|
+
const { defaultRunnerConfigPath } = await import('./config-U2OR7MQW.js');
|
|
5521
|
+
const { uninstallServiceCommand } = await import('./command-D656K4AE.js');
|
|
5522
5522
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5523
5523
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5524
5524
|
`);
|
|
@@ -5548,13 +5548,13 @@ already in ${words().envFile} is used.
|
|
|
5548
5548
|
printf '%s' "$${words().variables[0]}" | ${cliInvocation()} runner init --agent ${words().runnerName} --factory <org>/<factory>
|
|
5549
5549
|
`
|
|
5550
5550
|
).action(async (opts) => {
|
|
5551
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5552
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5553
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5554
|
-
const { detectMachine } = await import('./machine-
|
|
5555
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5556
|
-
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-
|
|
5557
|
-
const { headlessNames: headlessNames2 } = await import('./runner-agents-
|
|
5551
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-U2OR7MQW.js');
|
|
5552
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-P2PDGLTU.js');
|
|
5553
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-CJ66VZE3.js');
|
|
5554
|
+
const { detectMachine } = await import('./machine-JK27TGT6.js');
|
|
5555
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-XYFDIEOA.js');
|
|
5556
|
+
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-5AM2XYEN.js');
|
|
5557
|
+
const { headlessNames: headlessNames2 } = await import('./runner-agents-HZ5FIFPU.js');
|
|
5558
5558
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5559
5559
|
if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
|
|
5560
5560
|
fail(`--agent ${opts.agent}: runner init writes commands for ${headlessNames2().join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
|
|
@@ -5566,7 +5566,7 @@ already in ${words().envFile} is used.
|
|
|
5566
5566
|
return;
|
|
5567
5567
|
}
|
|
5568
5568
|
try {
|
|
5569
|
-
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-
|
|
5569
|
+
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-EGNFBPM5.js');
|
|
5570
5570
|
agent = await initAgent({
|
|
5571
5571
|
flag: agent,
|
|
5572
5572
|
handOff: opts.configStdin === true,
|
|
@@ -5599,7 +5599,7 @@ already in ${words().envFile} is used.
|
|
|
5599
5599
|
const chunks = [];
|
|
5600
5600
|
for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
|
|
5601
5601
|
const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
|
|
5602
|
-
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-
|
|
5602
|
+
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-ZWMN7VIH.js');
|
|
5603
5603
|
const hostKey2 = await ensureHostKey2(configPath);
|
|
5604
5604
|
process.stdout.write(`host key ${hostKey2.fingerprint}
|
|
5605
5605
|
hooks: ${result2.hooks}
|
|
@@ -5654,7 +5654,7 @@ hooks: ${result2.hooks}
|
|
|
5654
5654
|
const prepared = prepareRunnerInit(configPath, { machine, agent, credential, keyFromLogin: makeKey !== void 0 });
|
|
5655
5655
|
const created = makeKey === void 0 ? void 0 : await makeKey();
|
|
5656
5656
|
const result = writeRunnerInit(prepared, created);
|
|
5657
|
-
const { ensureHostKey } = await import('./host-key-
|
|
5657
|
+
const { ensureHostKey } = await import('./host-key-ZWMN7VIH.js');
|
|
5658
5658
|
const hostKey = await ensureHostKey(configPath);
|
|
5659
5659
|
if (created !== void 0) {
|
|
5660
5660
|
process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
|
|
@@ -5674,7 +5674,7 @@ hooks: ${result2.hooks}
|
|
|
5674
5674
|
);
|
|
5675
5675
|
process.stdout.write(`${C.green}\u2713${C.reset} hooks: ${result.hooks}${result.hooks === "builtin:vm" ? " (builds run in microVMs)" : " (builds run in containers)"}
|
|
5676
5676
|
`);
|
|
5677
|
-
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-
|
|
5677
|
+
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-BI4C3MGF.js');
|
|
5678
5678
|
let installedLayout = false;
|
|
5679
5679
|
let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
|
|
5680
5680
|
try {
|
|
@@ -5706,7 +5706,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5706
5706
|
let serviceUp = false;
|
|
5707
5707
|
let restart;
|
|
5708
5708
|
if (installedLayout) {
|
|
5709
|
-
const { installServiceCommand } = await import('./command-
|
|
5709
|
+
const { installServiceCommand } = await import('./command-D656K4AE.js');
|
|
5710
5710
|
const service = await installServiceCommand({
|
|
5711
5711
|
configPath,
|
|
5712
5712
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5758,12 +5758,12 @@ image holds this CLI and a pinned ${words().agent}. Nothing runs inside the imag
|
|
|
5758
5758
|
A repository with no devcontainer file builds on the universal image the CLI pins by digest.
|
|
5759
5759
|
`
|
|
5760
5760
|
).action(async (opts) => {
|
|
5761
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5762
|
-
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-
|
|
5761
|
+
const { defaultRunnerConfigPath } = await import('./config-U2OR7MQW.js');
|
|
5762
|
+
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-N2MRLYFW.js');
|
|
5763
5763
|
const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
|
|
5764
|
-
const { createDockerHost } = await import('./docker-
|
|
5765
|
-
const { builderSpec } = await import('./builder-
|
|
5766
|
-
const { loadRunnerConfig } = await import('./config-
|
|
5764
|
+
const { createDockerHost } = await import('./docker-RC4CFNKI.js');
|
|
5765
|
+
const { builderSpec } = await import('./builder-ATKIRCDJ.js');
|
|
5766
|
+
const { loadRunnerConfig } = await import('./config-U2OR7MQW.js');
|
|
5767
5767
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5768
5768
|
const loaded = (() => {
|
|
5769
5769
|
try {
|
|
@@ -5774,12 +5774,12 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5774
5774
|
})();
|
|
5775
5775
|
const memory = loaded?.build?.memory ?? "8g";
|
|
5776
5776
|
try {
|
|
5777
|
-
const { ensureRunnerIdentity } = await import('./runner-identity-
|
|
5777
|
+
const { ensureRunnerIdentity } = await import('./runner-identity-CL2KMFGC.js');
|
|
5778
5778
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5779
5779
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5780
5780
|
});
|
|
5781
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5782
|
-
const { runnerCalls } = await import('./caller-
|
|
5781
|
+
const { imageTargetFor } = await import('./governing-source-IURJZXUR.js');
|
|
5782
|
+
const { runnerCalls } = await import('./caller-OWXJDYPI.js');
|
|
5783
5783
|
const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
|
|
5784
5784
|
if (!target.ok) {
|
|
5785
5785
|
if (opts.json) {
|
|
@@ -5843,25 +5843,25 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5843
5843
|
}
|
|
5844
5844
|
});
|
|
5845
5845
|
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) => {
|
|
5846
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5847
|
-
const { requestStop } = await import('./loop-
|
|
5846
|
+
const { defaultRunnerConfigPath } = await import('./config-U2OR7MQW.js');
|
|
5847
|
+
const { requestStop } = await import('./loop-KEGBBAV4.js');
|
|
5848
5848
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5849
|
-
const { runnerImageVersion } = await import('./image-tag-
|
|
5849
|
+
const { runnerImageVersion } = await import('./image-tag-4DKLSTO6.js');
|
|
5850
5850
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
5851
5851
|
});
|
|
5852
5852
|
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) => {
|
|
5853
|
-
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-
|
|
5854
|
-
const { jobsDir, runnerDir } = await import('./paths-
|
|
5855
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5856
|
-
const { renderStatus } = await import('./status-
|
|
5857
|
-
const { readHousekeepingRecord } = await import('./record-
|
|
5853
|
+
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-U2OR7MQW.js');
|
|
5854
|
+
const { jobsDir, runnerDir } = await import('./paths-EHWU5QWB.js');
|
|
5855
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-KEGBBAV4.js');
|
|
5856
|
+
const { renderStatus } = await import('./status-CZTCYZLU.js');
|
|
5857
|
+
const { readHousekeepingRecord } = await import('./record-PXCRTDQU.js');
|
|
5858
5858
|
const path2 = await import('path');
|
|
5859
5859
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5860
5860
|
const all = listJobFiles(configPath);
|
|
5861
5861
|
const housekeeping = readHousekeepingRecord(runnerDir(configPath));
|
|
5862
|
-
const { readPendingUpdate } = await import('./pending-
|
|
5862
|
+
const { readPendingUpdate } = await import('./pending-K4A23JIC.js');
|
|
5863
5863
|
const pendingUpdate = readPendingUpdate(runnerDir(configPath));
|
|
5864
|
-
const { readImageStatus } = await import('./image-tag-
|
|
5864
|
+
const { readImageStatus } = await import('./image-tag-4DKLSTO6.js');
|
|
5865
5865
|
const image = readImageStatus(runnerDir(configPath));
|
|
5866
5866
|
let host = "unknown";
|
|
5867
5867
|
let concurrency = 1;
|
|
@@ -5871,7 +5871,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5871
5871
|
host = config.host;
|
|
5872
5872
|
concurrency = config.concurrency;
|
|
5873
5873
|
if (config.fleet === true) {
|
|
5874
|
-
const { readFleetState } = await import('./state-
|
|
5874
|
+
const { readFleetState } = await import('./state-MV53BATE.js');
|
|
5875
5875
|
fleet = { state: readFleetState(configPath) };
|
|
5876
5876
|
}
|
|
5877
5877
|
} catch {
|
|
@@ -5879,7 +5879,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5879
5879
|
const processState = runnerProcessState(configPath);
|
|
5880
5880
|
const service = await (async () => {
|
|
5881
5881
|
if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
|
|
5882
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
5882
|
+
const { inspectRunnerService } = await import('./find-unit-ZVHHFTL2.js');
|
|
5883
5883
|
const facts = inspectRunnerService(configPath);
|
|
5884
5884
|
return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
|
|
5885
5885
|
})();
|
|
@@ -5918,9 +5918,9 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5918
5918
|
);
|
|
5919
5919
|
});
|
|
5920
5920
|
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) => {
|
|
5921
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5922
|
-
const { listJobFiles } = await import('./loop-
|
|
5923
|
-
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-
|
|
5921
|
+
const { defaultRunnerConfigPath } = await import('./config-U2OR7MQW.js');
|
|
5922
|
+
const { listJobFiles } = await import('./loop-KEGBBAV4.js');
|
|
5923
|
+
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-7DD6J3M6.js');
|
|
5924
5924
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5925
5925
|
const jobs = listJobFiles(configPath);
|
|
5926
5926
|
const selected = selectAttempt(jobs, itemArg);
|
|
@@ -6163,7 +6163,7 @@ caller from the bearer token, the gateway answers 401 without that header.
|
|
|
6163
6163
|
"after",
|
|
6164
6164
|
"\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"
|
|
6165
6165
|
).action(async (opts) => {
|
|
6166
|
-
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-
|
|
6166
|
+
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-HK2ODMHU.js');
|
|
6167
6167
|
try {
|
|
6168
6168
|
await runMcpServe({ url: opts.url, appId: opts.appId });
|
|
6169
6169
|
} catch (err) {
|
|
@@ -6184,7 +6184,7 @@ would get, the instruction files and the names of the skills. It warns when the
|
|
|
6184
6184
|
no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
|
|
6185
6185
|
`
|
|
6186
6186
|
).action(async (opts) => {
|
|
6187
|
-
const { runContextShow, ContextShowError } = await import('./context-show-cmd-
|
|
6187
|
+
const { runContextShow, ContextShowError } = await import('./context-show-cmd-ETWKBHXZ.js');
|
|
6188
6188
|
try {
|
|
6189
6189
|
const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
|
|
6190
6190
|
process.stdout.write(result.output);
|