@outerlayer/cli 0.35.0-next.20261030133755 → 0.35.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 +16 -0
- package/dist/{agent-setup-G445QZEM.js → agent-setup-346QMQY6.js} +5 -5
- package/dist/{build-LWGTJ6K3.js → build-HHBTSTE4.js} +6 -6
- package/dist/{build-disk-TA5NS2BN.js → build-disk-R6OH6JL5.js} +5 -5
- package/dist/build-info.json +1 -1
- package/dist/{builder-L6N32DCZ.js → builder-DL6NSVAU.js} +4 -4
- package/dist/{caller-QHP5BZOI.js → caller-Q44OIVRR.js} +7 -7
- package/dist/{check-ULHNX42A.js → check-W4LSRCMV.js} +35 -34
- package/dist/{chunk-PPZ47OB6.js → chunk-3L7OHRDV.js} +1 -1
- package/dist/{chunk-XU5BNWX7.js → chunk-4DJZSNVT.js} +1 -1
- package/dist/{chunk-XKTZBFAR.js → chunk-4PW2DKHE.js} +315 -27
- package/dist/{chunk-VNHBDHX7.js → chunk-7J7HRYZ3.js} +1 -1
- package/dist/{chunk-LCR2GOVD.js → chunk-7KAWBQ7V.js} +3 -3
- package/dist/{chunk-PILW3YP4.js → chunk-7TTYUY2V.js} +1 -1
- package/dist/{chunk-ZI7JENTB.js → chunk-7Y5VW4JG.js} +1 -1
- package/dist/{chunk-IALIYKEB.js → chunk-ABGJ67PH.js} +10 -6
- package/dist/{chunk-7R655ODT.js → chunk-AF6DQJ5W.js} +1 -1
- package/dist/{chunk-SQGD4LYW.js → chunk-ALEUIS35.js} +1 -1
- package/dist/{chunk-ECKZ7ZMW.js → chunk-AZJCSBRV.js} +87 -28
- package/dist/{chunk-M355QZ4O.js → chunk-BNFFQC3M.js} +7 -7
- package/dist/{chunk-MULCOUAU.js → chunk-CPIYKBQ2.js} +4 -4
- package/dist/{chunk-ZC6BJ6XE.js → chunk-DH6BDQM4.js} +46 -19
- package/dist/{chunk-NOSVP4DO.js → chunk-DOYLWBJJ.js} +3 -3
- package/dist/{chunk-Z5Z5NWYF.js → chunk-EK2FNOCD.js} +2 -2
- package/dist/{chunk-SHPCVBT3.js → chunk-EZRAR5YG.js} +1 -1
- package/dist/{chunk-7YCHMJ7K.js → chunk-FKLGX72N.js} +6 -6
- package/dist/{chunk-22TSOZFT.js → chunk-FW3ZQKPY.js} +4 -4
- package/dist/{chunk-B2O6FJX7.js → chunk-G2HRULTO.js} +2 -2
- package/dist/{chunk-B2IVZ2VJ.js → chunk-GGI3J7WS.js} +103 -22
- package/dist/{chunk-54BABLHB.js → chunk-HTQBIXE7.js} +2 -2
- package/dist/{chunk-WVWWUVHW.js → chunk-K3Z4Y6VU.js} +3 -3
- package/dist/{chunk-J5MONLV2.js → chunk-K5EOLRGJ.js} +3 -3
- package/dist/{chunk-LW2A24IA.js → chunk-LGV5N5DG.js} +1 -1
- package/dist/{chunk-THF4YBBI.js → chunk-LXAYOMSX.js} +6 -6
- package/dist/{chunk-TN4OV3H7.js → chunk-MCMDEEXB.js} +3 -3
- package/dist/{receive-files-T2BIUBQL.js → chunk-NN33FYXG.js} +0 -1
- package/dist/{chunk-XQXQA446.js → chunk-ODX2XCL3.js} +3 -3
- package/dist/{chunk-7SUCHVM6.js → chunk-OS73XDJ7.js} +5 -5
- package/dist/{chunk-2RBIAXER.js → chunk-P24VR4H3.js} +2 -2
- package/dist/{chunk-NEG4C24O.js → chunk-P4PVRDVY.js} +3 -3
- package/dist/{chunk-NZF7CALU.js → chunk-P5CXB7ZT.js} +3 -3
- package/dist/{chunk-2F43WNKI.js → chunk-RIHB3HA2.js} +3 -3
- package/dist/{chunk-37NRGUIQ.js → chunk-RKDOKIIK.js} +2 -2
- package/dist/{chunk-GVYHRPJC.js → chunk-RLFVKOEI.js} +3 -3
- package/dist/{chunk-TMIJHMEN.js → chunk-RS2RFWIK.js} +1 -1
- package/dist/{chunk-ADWYXR2P.js → chunk-SEY2HTZO.js} +7 -7
- package/dist/{chunk-GCSVZGKI.js → chunk-SUVWQPOG.js} +3 -3
- package/dist/{chunk-POZ65DAI.js → chunk-USR45QSV.js} +1 -1
- package/dist/{chunk-CIPWXGGF.js → chunk-UVQ5C3UP.js} +1 -1
- package/dist/{chunk-USQ2ZUSN.js → chunk-VQCUADLI.js} +3 -3
- package/dist/{chunk-Y5N7IS4F.js → chunk-VRNAM7WM.js} +10 -10
- package/dist/{chunk-AUVJMR3P.js → chunk-WAZJPDR2.js} +1 -1
- package/dist/{chunk-YQHUCOUL.js → chunk-WT7J2627.js} +4 -1
- package/dist/{chunk-EK7MQ56V.js → chunk-WYGAQVBU.js} +1 -1
- package/dist/{chunk-RLAS77FI.js → chunk-WYJUQGCB.js} +3 -3
- package/dist/{chunk-GBMTKV5B.js → chunk-YQHEJ5SV.js} +1 -1
- package/dist/{claude-launcher-VA3OAA5V.js → claude-launcher-HREPADCN.js} +97 -9
- package/dist/{cli-STPFQSGI.js → cli-KQUVZRRG.js} +110 -110
- package/dist/{command-UZTCQJAQ.js → command-OHJUJ2WX.js} +24 -23
- package/dist/{config-GCPH6DGZ.js → config-EYFLM4WT.js} +6 -6
- package/dist/{connect-cmd-Q7GRZKSD.js → connect-cmd-REJ5FEC6.js} +5 -5
- package/dist/{container-start-JURQ4GR2.js → container-start-KG3ZLJWU.js} +27 -26
- package/dist/{context-show-cmd-44HVXXZJ.js → context-show-cmd-XT3QP5OR.js} +6 -6
- package/dist/{control-plane-launch-X2QXGPFW.js → control-plane-launch-PCGH76P5.js} +4 -4
- package/dist/{demo-voice-cmd-HA73DEBA.js → demo-voice-cmd-2QE7SQRC.js} +11 -11
- package/dist/{dist-YUHKBUBD.js → dist-BARPQSHD.js} +1 -1
- package/dist/{docker-7XBRCORA.js → docker-3UKTW4GR.js} +4 -4
- package/dist/{doctor-VNTOVFF6.js → doctor-5HY3JA5Y.js} +24 -23
- package/dist/{emit-artifact-cmd-OLWISCTW.js → emit-artifact-cmd-26PJDTFU.js} +10 -10
- package/dist/{emit-criteria-cmd-HXXNZP55.js → emit-criteria-cmd-6YTFXO3L.js} +7 -7
- package/dist/{emit-demo-cmd-WCGUGLWU.js → emit-demo-cmd-OQ7UDDRG.js} +11 -11
- package/dist/{emit-finding-cmd-EAASHBSF.js → emit-finding-cmd-NO3FSRHT.js} +7 -7
- package/dist/{emit-result-cmd-JB3YNG5V.js → emit-result-cmd-7MSUTXG6.js} +9 -9
- package/dist/{emit-step-cmd-LVOXE2LI.js → emit-step-cmd-7PFO7XVA.js} +7 -7
- package/dist/{find-unit-TP4HYWZM.js → find-unit-3MED6CPQ.js} +8 -8
- package/dist/{findings-cmd-NPRBGBWC.js → findings-cmd-SWAPQUFT.js} +7 -7
- package/dist/{fleet-readiness-ZQOFJZ5B.js → fleet-readiness-5RMWZH4V.js} +4 -4
- package/dist/{governing-source-D65HNFFP.js → governing-source-INXQEK24.js} +9 -9
- package/dist/{hook-fast-OPHM3MRK.js → hook-fast-2KVZZRJN.js} +1 -1
- package/dist/{host-checks-JHCU7PBL.js → host-checks-RCWXCCW2.js} +25 -24
- package/dist/{pending-2VIIFAP4.js → host-key-O4DFMOSV.js} +2 -2
- package/dist/{image-tag-JWATDMIZ.js → image-tag-WBD57QBN.js} +2 -2
- package/dist/index.js +4 -4
- package/dist/{init-SSTC6YY4.js → init-52F2M54W.js} +20 -19
- package/dist/{init-UYPFZV3A.js → init-U5XUDKE7.js} +20 -19
- package/dist/{init-cmd-YLS73UEJ.js → init-cmd-WYLANAD5.js} +10 -10
- package/dist/{init-update-J7AL65L3.js → init-update-Z2T5J3Z2.js} +9 -9
- package/dist/{install-cmd-ZEFBJH24.js → install-cmd-JKPXIOEY.js} +4 -4
- package/dist/{logs-3YRC7HRA.js → logs-FEITSC2V.js} +1 -1
- package/dist/{loop-XQJY3ZTX.js → loop-WJBFH6XU.js} +34 -33
- package/dist/{machine-FLZ6ZM7O.js → machine-KUUTBDAT.js} +20 -19
- package/dist/{mcp-serve-cmd-PKXIHUOX.js → mcp-serve-cmd-ZINYSLY6.js} +3 -3
- package/dist/{paths-7PC3K7C3.js → paths-XEYE7OZ2.js} +1 -1
- package/dist/{host-key-Q5DEAP3Q.js → pending-D2NNV54J.js} +2 -2
- package/dist/{pidfile-KQ2EJABZ.js → pidfile-FLFVRKVW.js} +2 -2
- package/dist/receive-files-5MBUXAE5.js +6 -0
- package/dist/{record-IHEF6C33.js → record-JMZOXD4R.js} +2 -2
- package/dist/{runner-env-2FM6I4OS.js → runner-env-2NVOHTRC.js} +8 -8
- package/dist/{runner-identity-QTGQJBBB.js → runner-identity-T6YPTHOH.js} +4 -4
- package/dist/{runner-key-6XPOLXFF.js → runner-key-WPQGF2L7.js} +20 -19
- package/dist/{session-sender-4KJOPWXH.js → session-sender-ADHV7WZ6.js} +10 -10
- package/dist/{spec-cmd-NKLZGF34.js → spec-cmd-OUEKA6X3.js} +8 -8
- package/dist/{state-FJPSFOID.js → state-UWIM42JH.js} +2 -2
- package/dist/{status-M2XPA33H.js → status-2JRATV66.js} +25 -24
- package/dist/{sync-cmd-QVHWU4VF.js → sync-cmd-IEPWMYWY.js} +9 -9
- package/dist/{update-steps-2ZLRFCHB.js → update-steps-3SRL32IV.js} +26 -25
- package/dist/{watch-J6PJHOWO.js → watch-3K3IB443.js} +9 -9
- package/dist/{work-claim-cmd-EP74CEYP.js → work-claim-cmd-5ACB2ZWP.js} +13 -13
- package/dist/{work-cmd-A3O2XIVJ.js → work-cmd-B6HZW26B.js} +7 -7
- package/dist/{work-comment-cmd-AP2ENAHC.js → work-comment-cmd-MBGBBR7V.js} +8 -8
- package/dist/{work-demo-cmd-PNZU3OOM.js → work-demo-cmd-RLOS55MP.js} +7 -7
- package/dist/{work-logs-cmd-DNOMJ6HT.js → work-logs-cmd-VUICWCEO.js} +7 -7
- package/dist/{work-open-pr-cmd-M5ON2YNB.js → work-open-pr-cmd-CYXICEJE.js} +8 -8
- package/dist/{work-pr-cmd-34FS6U3C.js → work-pr-cmd-3HSFJO65.js} +7 -7
- package/dist/{work-proofs-cmd-UFAIGZZH.js → work-proofs-cmd-NJ4YYQ2V.js} +8 -8
- package/dist/{work-proofs-record-QFK57MWS.js → work-proofs-record-NN7XB2QC.js} +14 -14
- package/dist/{work-stop-cmd-JSKWIULW.js → work-stop-cmd-QXZSZLEY.js} +7 -7
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-amend/SKILL.md +9 -7
- package/skill-pack/maintained/outerlayer-amend/references/earlier-run.md +18 -0
|
@@ -1,24 +1,24 @@
|
|
|
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-VRNAM7WM.js';
|
|
4
4
|
import './chunk-Q7ZHL6FY.js';
|
|
5
5
|
import './chunk-OHQMGLJP.js';
|
|
6
6
|
import './chunk-VQCAJUDV.js';
|
|
7
|
-
import { verifiedTrackerNames, TRACKERS } from './chunk-
|
|
7
|
+
import { verifiedTrackerNames, TRACKERS } from './chunk-FKLGX72N.js';
|
|
8
8
|
import './chunk-IP7BIBXJ.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
9
|
+
import './chunk-P5CXB7ZT.js';
|
|
10
|
+
import './chunk-HTQBIXE7.js';
|
|
11
11
|
import './chunk-6YK3SXCW.js';
|
|
12
12
|
import './chunk-A2LHHKTT.js';
|
|
13
13
|
import { C, warnDeprecated, API_KEY_FLAG_DEPRECATION, NO_COLOR_FLAG, stripNoColor } from './chunk-2AM6Z5BP.js';
|
|
14
|
-
import './chunk-
|
|
14
|
+
import './chunk-USR45QSV.js';
|
|
15
15
|
import './chunk-XSX42Q2H.js';
|
|
16
16
|
import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-TMFKZBOW.js';
|
|
17
17
|
import './chunk-AWNONB6E.js';
|
|
18
|
-
import './chunk-
|
|
18
|
+
import './chunk-YQHEJ5SV.js';
|
|
19
19
|
import './chunk-HWVMRETT.js';
|
|
20
|
-
import './chunk-
|
|
21
|
-
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-
|
|
20
|
+
import './chunk-4DJZSNVT.js';
|
|
21
|
+
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-3L7OHRDV.js';
|
|
22
22
|
import './chunk-545P7JY7.js';
|
|
23
23
|
import './chunk-YBAVN6WS.js';
|
|
24
24
|
import './chunk-BKO6JEZI.js';
|
|
@@ -26,7 +26,7 @@ import './chunk-HCVLP7XA.js';
|
|
|
26
26
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
27
27
|
import './chunk-AW4MYEIW.js';
|
|
28
28
|
import './chunk-MGF4254K.js';
|
|
29
|
-
import './chunk-
|
|
29
|
+
import './chunk-DH6BDQM4.js';
|
|
30
30
|
import './chunk-OLM2TIOW.js';
|
|
31
31
|
import './chunk-CDDED64E.js';
|
|
32
32
|
import { resolveVersion, resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
@@ -39,7 +39,7 @@ import { removeJournalHooks, removePreCommitGuardHook } from './chunk-CJPTUU2E.j
|
|
|
39
39
|
import './chunk-2PMJ7TQR.js';
|
|
40
40
|
import './chunk-N2XW4NYY.js';
|
|
41
41
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
42
|
-
import './chunk-
|
|
42
|
+
import './chunk-WT7J2627.js';
|
|
43
43
|
import './chunk-GANAOCHR.js';
|
|
44
44
|
import './chunk-MESOOLF4.js';
|
|
45
45
|
import './chunk-Z5GEFMRW.js';
|
|
@@ -3799,8 +3799,8 @@ async function installMachineSkillsForSetup() {
|
|
|
3799
3799
|
` : "";
|
|
3800
3800
|
}
|
|
3801
3801
|
async function realConnectDepsForCwd() {
|
|
3802
|
-
const { realConnectDeps } = await import('./connect-cmd-
|
|
3803
|
-
const { resolveRepoIdentity } = await import('./dist-
|
|
3802
|
+
const { realConnectDeps } = await import('./connect-cmd-REJ5FEC6.js');
|
|
3803
|
+
const { resolveRepoIdentity } = await import('./dist-BARPQSHD.js');
|
|
3804
3804
|
return {
|
|
3805
3805
|
...realConnectDeps(),
|
|
3806
3806
|
home: homeFromEnv(),
|
|
@@ -3874,8 +3874,8 @@ build, ../outerlayer-build/SKILL.md becomes ~/.agents/skills/outerlayer-build/SK
|
|
|
3874
3874
|
what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocation() + " doctor` reports the same\nstates under Starter files.\n"
|
|
3875
3875
|
).action(async (opts) => {
|
|
3876
3876
|
if (opts.update || opts.dryRun) {
|
|
3877
|
-
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-
|
|
3878
|
-
const { fleetReadiness } = await import('./fleet-readiness-
|
|
3877
|
+
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-Z2T5J3Z2.js');
|
|
3878
|
+
const { fleetReadiness } = await import('./fleet-readiness-5RMWZH4V.js');
|
|
3879
3879
|
const problem = updateFlagProblem(opts);
|
|
3880
3880
|
if (problem !== void 0) {
|
|
3881
3881
|
fail(problem);
|
|
@@ -3926,13 +3926,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3926
3926
|
if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
|
|
3927
3927
|
`);
|
|
3928
3928
|
}
|
|
3929
|
-
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-
|
|
3929
|
+
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-WYLANAD5.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
|
|
3930
3930
|
if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
|
|
3931
3931
|
else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
|
|
3932
3932
|
return;
|
|
3933
3933
|
}
|
|
3934
3934
|
await installMachineSkillsForSetup();
|
|
3935
|
-
const { runInitCommand } = await import('./init-cmd-
|
|
3935
|
+
const { runInitCommand } = await import('./init-cmd-WYLANAD5.js');
|
|
3936
3936
|
const code = await runInitCommand(
|
|
3937
3937
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3938
3938
|
{
|
|
@@ -3944,7 +3944,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3944
3944
|
return { ok, text, detail };
|
|
3945
3945
|
},
|
|
3946
3946
|
runAgentSetup: async () => {
|
|
3947
|
-
const { runAgentSetup } = await import('./agent-setup-
|
|
3947
|
+
const { runAgentSetup } = await import('./agent-setup-346QMQY6.js');
|
|
3948
3948
|
return runAgentSetup({ cwd: process.cwd(), skillsLink: opts.skillsLink !== false });
|
|
3949
3949
|
},
|
|
3950
3950
|
runDoctorChecks: gatherDoctorChecks,
|
|
@@ -3953,7 +3953,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3953
3953
|
shellPath: process.env.SHELL,
|
|
3954
3954
|
interactive: Boolean(process.stdin.isTTY && process.stderr.isTTY) && opts.json !== true,
|
|
3955
3955
|
ask: async () => {
|
|
3956
|
-
const { promptOnTerminal } = await import('./connect-cmd-
|
|
3956
|
+
const { promptOnTerminal } = await import('./connect-cmd-REJ5FEC6.js');
|
|
3957
3957
|
const answer = await promptOnTerminal({
|
|
3958
3958
|
message: `Should plain claude start Claude Code through ${cliInvocation()} claude? That is how a session in a governed repository gets its control plane. It adds one block to your zsh or bash startup file.`,
|
|
3959
3959
|
options: [
|
|
@@ -3992,7 +3992,7 @@ linked (true, false, or null when it could not be checked) and, when false,
|
|
|
3992
3992
|
linkUrl.
|
|
3993
3993
|
`
|
|
3994
3994
|
).action(async (opts) => {
|
|
3995
|
-
const { runConnectCommand } = await import('./connect-cmd-
|
|
3995
|
+
const { runConnectCommand } = await import('./connect-cmd-REJ5FEC6.js');
|
|
3996
3996
|
const code = await runConnectCommand({ factory: opts.factory, json: opts.json }, await realConnectDepsForCwd(), {
|
|
3997
3997
|
stdout: process.stdout,
|
|
3998
3998
|
stderr: process.stderr
|
|
@@ -4070,7 +4070,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4070
4070
|
else fail(found.reason);
|
|
4071
4071
|
return;
|
|
4072
4072
|
}
|
|
4073
|
-
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-
|
|
4073
|
+
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-IEPWMYWY.js');
|
|
4074
4074
|
try {
|
|
4075
4075
|
const result = await runSync({
|
|
4076
4076
|
url: opts.url,
|
|
@@ -4101,7 +4101,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4101
4101
|
if (invokedCommandToken(argv) === "watch") {
|
|
4102
4102
|
warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
|
|
4103
4103
|
}
|
|
4104
|
-
const { runWatch } = await import('./watch-
|
|
4104
|
+
const { runWatch } = await import('./watch-3K3IB443.js');
|
|
4105
4105
|
await runWatch({ once: opts.once });
|
|
4106
4106
|
});
|
|
4107
4107
|
program2.command("hook <event>", { hidden: true }).description("capture-hook fast path, installed by `init`").action(() => {
|
|
@@ -4154,7 +4154,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4154
4154
|
}
|
|
4155
4155
|
});
|
|
4156
4156
|
program2.command("receive-files", { hidden: true }).description("unpack a tar stream from standard input into a folder of a container build").requiredOption("--into <dir>", "the folder to fill: /outerlayer/job, /outerlayer/judge, or a folder beneath one").option("--replace", "empty the folder first").action(async (opts) => {
|
|
4157
|
-
const { receiveFiles } = await import('./receive-files-
|
|
4157
|
+
const { receiveFiles } = await import('./receive-files-5MBUXAE5.js');
|
|
4158
4158
|
try {
|
|
4159
4159
|
await receiveFiles(process.stdin, { into: opts.into, replace: opts.replace === true });
|
|
4160
4160
|
} catch (err) {
|
|
@@ -4191,7 +4191,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4191
4191
|
process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
|
|
4192
4192
|
});
|
|
4193
4193
|
program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
|
|
4194
|
-
const { runSessionSender } = await import('./session-sender-
|
|
4194
|
+
const { runSessionSender } = await import('./session-sender-ADHV7WZ6.js');
|
|
4195
4195
|
try {
|
|
4196
4196
|
await runSessionSender();
|
|
4197
4197
|
} catch (err) {
|
|
@@ -4287,7 +4287,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
|
|
|
4287
4287
|
await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
|
|
4288
4288
|
return;
|
|
4289
4289
|
}
|
|
4290
|
-
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-
|
|
4290
|
+
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-7MSUTXG6.js');
|
|
4291
4291
|
try {
|
|
4292
4292
|
const result = await runEmitResult({
|
|
4293
4293
|
name,
|
|
@@ -4338,7 +4338,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
|
|
|
4338
4338
|
locally so it never uploads. One correction can retire several duplicates.
|
|
4339
4339
|
`
|
|
4340
4340
|
).action(async (file, opts) => {
|
|
4341
|
-
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-
|
|
4341
|
+
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-26PJDTFU.js');
|
|
4342
4342
|
let pr;
|
|
4343
4343
|
if (opts.pr !== void 0) {
|
|
4344
4344
|
pr = parseTrackerNumber(opts.pr);
|
|
@@ -4394,7 +4394,7 @@ its criterion, and the new record retires the old record. The id must be the ite
|
|
|
4394
4394
|
as \`work demo --item <n> --json\` prints it.
|
|
4395
4395
|
`
|
|
4396
4396
|
).action(async (manifest, opts) => {
|
|
4397
|
-
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-
|
|
4397
|
+
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-OQ7UDDRG.js');
|
|
4398
4398
|
let item;
|
|
4399
4399
|
if (opts.item !== void 0) {
|
|
4400
4400
|
item = parseTrackerNumber(opts.item);
|
|
@@ -4437,7 +4437,7 @@ as \`work demo --item <n> --json\` prints it.
|
|
|
4437
4437
|
}
|
|
4438
4438
|
});
|
|
4439
4439
|
program2.command("demo-voice", { hidden: true }).description("Speak demo lines for a recorder: JSON lines in on stdin, out on stdout").action(async () => {
|
|
4440
|
-
const { runDemoVoice } = await import('./demo-voice-cmd-
|
|
4440
|
+
const { runDemoVoice } = await import('./demo-voice-cmd-2QE7SQRC.js');
|
|
4441
4441
|
await runDemoVoice();
|
|
4442
4442
|
});
|
|
4443
4443
|
const demoCmd = program2.command("demo").description("Record demos with the recorder this CLI carries");
|
|
@@ -4504,7 +4504,7 @@ recent events with their ids. --find <text> searches all of them.
|
|
|
4504
4504
|
item that session was launched for is used automatically.
|
|
4505
4505
|
`
|
|
4506
4506
|
).action(async (opts) => {
|
|
4507
|
-
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4507
|
+
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-NO3FSRHT.js');
|
|
4508
4508
|
try {
|
|
4509
4509
|
refuseRemovedFindingFlags(opts);
|
|
4510
4510
|
const result = await runEmitFinding({
|
|
@@ -4571,7 +4571,7 @@ the whole batch. "untimed": true records one with no time on purpose.
|
|
|
4571
4571
|
that session was launched for is used automatically.
|
|
4572
4572
|
`
|
|
4573
4573
|
).action(async (file, opts) => {
|
|
4574
|
-
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4574
|
+
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-NO3FSRHT.js');
|
|
4575
4575
|
try {
|
|
4576
4576
|
const result = await runEmitFindings({
|
|
4577
4577
|
file,
|
|
@@ -4606,7 +4606,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
|
|
|
4606
4606
|
the step, the command prints why and exits 1.
|
|
4607
4607
|
`
|
|
4608
4608
|
).action(async (name, opts) => {
|
|
4609
|
-
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-
|
|
4609
|
+
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-7PFO7XVA.js');
|
|
4610
4610
|
try {
|
|
4611
4611
|
await runEmitStep({
|
|
4612
4612
|
name,
|
|
@@ -4649,7 +4649,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
|
|
|
4649
4649
|
${cliInvocation()} emit criteria acceptance/412-login.md --item 412
|
|
4650
4650
|
`
|
|
4651
4651
|
).action(async (file, opts) => {
|
|
4652
|
-
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-
|
|
4652
|
+
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-6YTFXO3L.js');
|
|
4653
4653
|
try {
|
|
4654
4654
|
const result = await runEmitCriteria({
|
|
4655
4655
|
file,
|
|
@@ -4673,9 +4673,9 @@ function registerSpecCommands(program2) {
|
|
|
4673
4673
|
const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
|
|
4674
4674
|
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)");
|
|
4675
4675
|
const run = async (action) => {
|
|
4676
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4676
|
+
const { WorkCommandError } = await import('./work-cmd-B6HZW26B.js');
|
|
4677
4677
|
try {
|
|
4678
|
-
await action(await import('./spec-cmd-
|
|
4678
|
+
await action(await import('./spec-cmd-OUEKA6X3.js'));
|
|
4679
4679
|
} catch (err) {
|
|
4680
4680
|
if (err instanceof WorkCommandError) {
|
|
4681
4681
|
fail(err.message);
|
|
@@ -4710,7 +4710,7 @@ Prints each problem the item covers with its id, its reports and its result.
|
|
|
4710
4710
|
session was launched for is used.
|
|
4711
4711
|
`
|
|
4712
4712
|
).action(async (opts) => {
|
|
4713
|
-
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-
|
|
4713
|
+
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-SWAPQUFT.js');
|
|
4714
4714
|
try {
|
|
4715
4715
|
const result = await runFindingsShow({
|
|
4716
4716
|
item: opts.item,
|
|
@@ -4738,7 +4738,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
|
|
|
4738
4738
|
problem to replace the earlier result. A problem the item does not cover is refused.
|
|
4739
4739
|
`
|
|
4740
4740
|
).action(async (problem, opts) => {
|
|
4741
|
-
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-
|
|
4741
|
+
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-SWAPQUFT.js');
|
|
4742
4742
|
try {
|
|
4743
4743
|
const result = await runFindingsResult({
|
|
4744
4744
|
problem,
|
|
@@ -4780,7 +4780,7 @@ takes it, and prints the line that starts your session on it. That
|
|
|
4780
4780
|
session links itself and holds the item's lease while it works.
|
|
4781
4781
|
`
|
|
4782
4782
|
).action(async (opts) => {
|
|
4783
|
-
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-
|
|
4783
|
+
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-B6HZW26B.js');
|
|
4784
4784
|
try {
|
|
4785
4785
|
await runWorkBuild(opts);
|
|
4786
4786
|
} catch (err) {
|
|
@@ -4803,7 +4803,7 @@ renews that session's own 20-minute lease, unless --no-lease or
|
|
|
4803
4803
|
--ended is given, or another worker already holds a live one.
|
|
4804
4804
|
`
|
|
4805
4805
|
).action(async (number, opts) => {
|
|
4806
|
-
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-
|
|
4806
|
+
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-B6HZW26B.js');
|
|
4807
4807
|
try {
|
|
4808
4808
|
await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
|
|
4809
4809
|
} catch (err) {
|
|
@@ -4834,8 +4834,8 @@ thread at its source. It takes a plain answer: no --criterion and no
|
|
|
4834
4834
|
action flag.
|
|
4835
4835
|
`
|
|
4836
4836
|
).action(async (opts) => {
|
|
4837
|
-
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4838
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4837
|
+
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-MBGBBR7V.js');
|
|
4838
|
+
const { WorkCommandError } = await import('./work-cmd-B6HZW26B.js');
|
|
4839
4839
|
try {
|
|
4840
4840
|
await runWorkComment(opts);
|
|
4841
4841
|
} catch (err) {
|
|
@@ -4859,8 +4859,8 @@ that started outside OuterLayer, such as the line comments of a
|
|
|
4859
4859
|
GitHub review, each with its id, source and comments.
|
|
4860
4860
|
`
|
|
4861
4861
|
).action(async (opts) => {
|
|
4862
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4863
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4862
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-MBGBBR7V.js');
|
|
4863
|
+
const { WorkCommandError } = await import('./work-cmd-B6HZW26B.js');
|
|
4864
4864
|
try {
|
|
4865
4865
|
await runWorkThreads(opts);
|
|
4866
4866
|
} catch (err) {
|
|
@@ -4884,8 +4884,8 @@ still running, or that an older runner released, has no log and the
|
|
|
4884
4884
|
command exits 1.
|
|
4885
4885
|
`
|
|
4886
4886
|
).action(async (opts) => {
|
|
4887
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
4888
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4887
|
+
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-VUICWCEO.js');
|
|
4888
|
+
const { WorkCommandError } = await import('./work-cmd-B6HZW26B.js');
|
|
4889
4889
|
try {
|
|
4890
4890
|
await runWorkLogs(opts);
|
|
4891
4891
|
} catch (err) {
|
|
@@ -4908,8 +4908,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
4908
4908
|
build is running for the item.
|
|
4909
4909
|
`
|
|
4910
4910
|
).action(async (opts) => {
|
|
4911
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
4912
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4911
|
+
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-QXZSZLEY.js');
|
|
4912
|
+
const { WorkCommandError } = await import('./work-cmd-B6HZW26B.js');
|
|
4913
4913
|
try {
|
|
4914
4914
|
await runWorkStop(opts);
|
|
4915
4915
|
} catch (err) {
|
|
@@ -4930,8 +4930,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
|
|
|
4930
4930
|
test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
|
|
4931
4931
|
`
|
|
4932
4932
|
).action(async (opts) => {
|
|
4933
|
-
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-
|
|
4934
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4933
|
+
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-RLOS55MP.js');
|
|
4934
|
+
const { WorkCommandError } = await import('./work-cmd-B6HZW26B.js');
|
|
4935
4935
|
try {
|
|
4936
4936
|
await runWorkDemo(opts);
|
|
4937
4937
|
} catch (err) {
|
|
@@ -4952,7 +4952,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
4952
4952
|
live addition remains on it.
|
|
4953
4953
|
`
|
|
4954
4954
|
).action(async (opts) => {
|
|
4955
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
4955
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-B6HZW26B.js');
|
|
4956
4956
|
try {
|
|
4957
4957
|
await runWorkRemove(opts);
|
|
4958
4958
|
} catch (err) {
|
|
@@ -4964,7 +4964,7 @@ live addition remains on it.
|
|
|
4964
4964
|
}
|
|
4965
4965
|
});
|
|
4966
4966
|
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) => {
|
|
4967
|
-
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-
|
|
4967
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-B6HZW26B.js');
|
|
4968
4968
|
try {
|
|
4969
4969
|
await runWorkStatus(opts);
|
|
4970
4970
|
} catch (err) {
|
|
@@ -5009,11 +5009,11 @@ differs from HEAD.
|
|
|
5009
5009
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5010
5010
|
return;
|
|
5011
5011
|
}
|
|
5012
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5012
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-NJ4YYQ2V.js');
|
|
5013
5013
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5014
5014
|
});
|
|
5015
5015
|
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) => {
|
|
5016
|
-
const { runWorkList, WorkCommandError } = await import('./work-cmd-
|
|
5016
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-B6HZW26B.js');
|
|
5017
5017
|
try {
|
|
5018
5018
|
await runWorkList(opts);
|
|
5019
5019
|
} catch (err) {
|
|
@@ -5034,7 +5034,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
5034
5034
|
it. --host is a label only.
|
|
5035
5035
|
`
|
|
5036
5036
|
).action(async (opts) => {
|
|
5037
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
5037
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-5ACB2ZWP.js');
|
|
5038
5038
|
try {
|
|
5039
5039
|
await runWorkClaim(opts);
|
|
5040
5040
|
} catch (err) {
|
|
@@ -5054,7 +5054,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5054
5054
|
lease has expired, or a 403 if a different key holds it.
|
|
5055
5055
|
`
|
|
5056
5056
|
).action(async (opts) => {
|
|
5057
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5057
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-5ACB2ZWP.js');
|
|
5058
5058
|
try {
|
|
5059
5059
|
await runWorkRenew(opts);
|
|
5060
5060
|
} catch (err) {
|
|
@@ -5086,7 +5086,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5086
5086
|
takes the lease again.
|
|
5087
5087
|
`
|
|
5088
5088
|
).action(async (opts) => {
|
|
5089
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5089
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-5ACB2ZWP.js');
|
|
5090
5090
|
try {
|
|
5091
5091
|
await runWorkRelease(opts);
|
|
5092
5092
|
} catch (err) {
|
|
@@ -5113,7 +5113,7 @@ Idempotent: declaring the same pull request twice is a no-op.
|
|
|
5113
5113
|
needs your own login; an agent session or a factory key is refused.
|
|
5114
5114
|
`
|
|
5115
5115
|
).action(async (number, opts) => {
|
|
5116
|
-
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-
|
|
5116
|
+
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-3HSFJO65.js');
|
|
5117
5117
|
try {
|
|
5118
5118
|
await runWorkPr({ ...opts, number });
|
|
5119
5119
|
} catch (err) {
|
|
@@ -5138,8 +5138,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
5138
5138
|
Run it again after a change to the title or description.
|
|
5139
5139
|
`
|
|
5140
5140
|
).action(async (opts) => {
|
|
5141
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
5142
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5141
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-CYXICEJE.js');
|
|
5142
|
+
const { WorkCommandError } = await import('./work-cmd-B6HZW26B.js');
|
|
5143
5143
|
try {
|
|
5144
5144
|
await runWorkOpenPr(opts);
|
|
5145
5145
|
} catch (err) {
|
|
@@ -5155,9 +5155,9 @@ function registerRunnerCommands(program2) {
|
|
|
5155
5155
|
const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
|
|
5156
5156
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5157
5157
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5158
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5159
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5160
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5158
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-EYFLM4WT.js');
|
|
5159
|
+
const { start, RunnerStartError } = await import('./loop-WJBFH6XU.js');
|
|
5160
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-FLFVRKVW.js');
|
|
5161
5161
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5162
5162
|
try {
|
|
5163
5163
|
const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
|
|
@@ -5174,10 +5174,10 @@ function registerRunnerCommands(program2) {
|
|
|
5174
5174
|
"after",
|
|
5175
5175
|
"\nReads OUTERLAYER_URL, OUTERLAYER_APP_ID, OUTERLAYER_API_KEY, OUTERLAYER_RUNNER_NAME and one Claude credential\n(CLAUDE_CODE_OAUTH_TOKEN or ANTHROPIC_API_KEY) from the environment. OUTERLAYER_AGENT\nis optional and defaults to claude. On a later start it refuses variables that disagree with the config in the volume.\nThe image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use `runner start`.\n"
|
|
5176
5176
|
).action(async () => {
|
|
5177
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5178
|
-
const { containerStart } = await import('./container-start-
|
|
5179
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5180
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5177
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-EYFLM4WT.js');
|
|
5178
|
+
const { containerStart } = await import('./container-start-KG3ZLJWU.js');
|
|
5179
|
+
const { start, RunnerStartError } = await import('./loop-WJBFH6XU.js');
|
|
5180
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-FLFVRKVW.js');
|
|
5181
5181
|
try {
|
|
5182
5182
|
const result = await containerStart({
|
|
5183
5183
|
env: process.env,
|
|
@@ -5198,16 +5198,16 @@ function registerRunnerCommands(program2) {
|
|
|
5198
5198
|
"after",
|
|
5199
5199
|
"\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"
|
|
5200
5200
|
).action(async (opts) => {
|
|
5201
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5202
|
-
const { runnerDir } = await import('./paths-
|
|
5203
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5201
|
+
const { defaultRunnerConfigPath } = await import('./config-EYFLM4WT.js');
|
|
5202
|
+
const { runnerDir } = await import('./paths-XEYE7OZ2.js');
|
|
5203
|
+
const { runUpdateSteps } = await import('./update-steps-3SRL32IV.js');
|
|
5204
5204
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5205
5205
|
process.stdout.write(`${text}
|
|
5206
5206
|
`);
|
|
5207
5207
|
});
|
|
5208
5208
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5209
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5210
|
-
const { runRunnerCheck } = await import('./check-
|
|
5209
|
+
const { defaultRunnerConfigPath } = await import('./config-EYFLM4WT.js');
|
|
5210
|
+
const { runRunnerCheck } = await import('./check-W4LSRCMV.js');
|
|
5211
5211
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5212
5212
|
const result = await runRunnerCheck(configPath);
|
|
5213
5213
|
if (!result.ok) {
|
|
@@ -5228,8 +5228,8 @@ function registerRunnerCommands(program2) {
|
|
|
5228
5228
|
`);
|
|
5229
5229
|
});
|
|
5230
5230
|
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) => {
|
|
5231
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5232
|
-
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-
|
|
5231
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-EYFLM4WT.js');
|
|
5232
|
+
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-JKPXIOEY.js');
|
|
5233
5233
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5234
5234
|
if (opts.service !== true) {
|
|
5235
5235
|
const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
|
|
@@ -5241,13 +5241,13 @@ function registerRunnerCommands(program2) {
|
|
|
5241
5241
|
}
|
|
5242
5242
|
}
|
|
5243
5243
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5244
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5244
|
+
if (buildCpusMax !== void 0 && !(await import('./command-OHJUJ2WX.js')).cpusAreValid(buildCpusMax)) {
|
|
5245
5245
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5246
5246
|
return;
|
|
5247
5247
|
}
|
|
5248
5248
|
try {
|
|
5249
5249
|
if (opts.service === true) {
|
|
5250
|
-
const { installServiceCommand } = await import('./command-
|
|
5250
|
+
const { installServiceCommand } = await import('./command-OHJUJ2WX.js');
|
|
5251
5251
|
const result2 = await installServiceCommand({
|
|
5252
5252
|
configPath,
|
|
5253
5253
|
print: opts.print,
|
|
@@ -5304,8 +5304,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5304
5304
|
fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
|
|
5305
5305
|
return;
|
|
5306
5306
|
}
|
|
5307
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5308
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5307
|
+
const { defaultRunnerConfigPath } = await import('./config-EYFLM4WT.js');
|
|
5308
|
+
const { uninstallServiceCommand } = await import('./command-OHJUJ2WX.js');
|
|
5309
5309
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5310
5310
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5311
5311
|
`);
|
|
@@ -5332,12 +5332,12 @@ already in claude.env is used.
|
|
|
5332
5332
|
printf '%s' "$CLAUDE_CODE_OAUTH_TOKEN" | ${cliInvocation()} runner init --agent claude --factory <org>/<factory>
|
|
5333
5333
|
`
|
|
5334
5334
|
).action(async (opts) => {
|
|
5335
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5336
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5337
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5338
|
-
const { detectMachine } = await import('./machine-
|
|
5339
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5340
|
-
const { AGENT_COMMANDS, credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-
|
|
5335
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-EYFLM4WT.js');
|
|
5336
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-52F2M54W.js');
|
|
5337
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-WPQGF2L7.js');
|
|
5338
|
+
const { detectMachine } = await import('./machine-KUUTBDAT.js');
|
|
5339
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-U5XUDKE7.js');
|
|
5340
|
+
const { AGENT_COMMANDS, credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-2NVOHTRC.js');
|
|
5341
5341
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5342
5342
|
if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
|
|
5343
5343
|
fail(`--agent ${opts.agent}: runner init writes commands for ${Object.keys(AGENT_COMMANDS).join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
|
|
@@ -5368,7 +5368,7 @@ already in claude.env is used.
|
|
|
5368
5368
|
const chunks = [];
|
|
5369
5369
|
for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
|
|
5370
5370
|
const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
|
|
5371
|
-
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-
|
|
5371
|
+
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-O4DFMOSV.js');
|
|
5372
5372
|
const hostKey2 = await ensureHostKey2(configPath);
|
|
5373
5373
|
process.stdout.write(`host key ${hostKey2.fingerprint}
|
|
5374
5374
|
hooks: ${result2.hooks}
|
|
@@ -5427,7 +5427,7 @@ hooks: ${result2.hooks}
|
|
|
5427
5427
|
const prepared = prepareRunnerInit(configPath, { machine, allowProcess, agent, credential, keyFromLogin: makeKey !== void 0 });
|
|
5428
5428
|
const created = makeKey === void 0 ? void 0 : await makeKey();
|
|
5429
5429
|
const result = writeRunnerInit(prepared, created);
|
|
5430
|
-
const { ensureHostKey } = await import('./host-key-
|
|
5430
|
+
const { ensureHostKey } = await import('./host-key-O4DFMOSV.js');
|
|
5431
5431
|
const hostKey = await ensureHostKey(configPath);
|
|
5432
5432
|
if (created !== void 0) {
|
|
5433
5433
|
process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
|
|
@@ -5455,7 +5455,7 @@ ${C.yellow}${result.note}${C.reset}
|
|
|
5455
5455
|
To isolate builds in containers instead, run ${C.yellow}${cliInvocation()} runner init --vm${C.reset}.
|
|
5456
5456
|
`);
|
|
5457
5457
|
}
|
|
5458
|
-
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-
|
|
5458
|
+
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-JKPXIOEY.js');
|
|
5459
5459
|
let installedLayout = false;
|
|
5460
5460
|
let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
|
|
5461
5461
|
try {
|
|
@@ -5487,7 +5487,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5487
5487
|
let serviceUp = false;
|
|
5488
5488
|
let restart;
|
|
5489
5489
|
if (installedLayout) {
|
|
5490
|
-
const { installServiceCommand } = await import('./command-
|
|
5490
|
+
const { installServiceCommand } = await import('./command-OHJUJ2WX.js');
|
|
5491
5491
|
const service = await installServiceCommand({
|
|
5492
5492
|
configPath,
|
|
5493
5493
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5531,12 +5531,12 @@ Next:
|
|
|
5531
5531
|
"after",
|
|
5532
5532
|
"\nA repository governed by a control plane builds the control plane's image, at the commit\nthe gateway has stored for it. A repository that governs itself fetches the head of its\ndefault branch into the runner's cache. Either way it reads .devcontainer/devcontainer.json\nand builds the image with the devcontainer CLI. Settings\nthat reach the host or widen the container's privileges are ignored and listed. The\nimage holds this CLI and a pinned Claude Code. Nothing runs inside the image.\nA repository with no devcontainer file builds on the universal image the CLI pins by digest.\n"
|
|
5533
5533
|
).action(async (opts) => {
|
|
5534
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5535
|
-
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-
|
|
5534
|
+
const { defaultRunnerConfigPath } = await import('./config-EYFLM4WT.js');
|
|
5535
|
+
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-HHBTSTE4.js');
|
|
5536
5536
|
const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
|
|
5537
|
-
const { createDockerHost } = await import('./docker-
|
|
5538
|
-
const { builderSpec } = await import('./builder-
|
|
5539
|
-
const { loadRunnerConfig } = await import('./config-
|
|
5537
|
+
const { createDockerHost } = await import('./docker-3UKTW4GR.js');
|
|
5538
|
+
const { builderSpec } = await import('./builder-DL6NSVAU.js');
|
|
5539
|
+
const { loadRunnerConfig } = await import('./config-EYFLM4WT.js');
|
|
5540
5540
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5541
5541
|
const loaded = (() => {
|
|
5542
5542
|
try {
|
|
@@ -5547,12 +5547,12 @@ Next:
|
|
|
5547
5547
|
})();
|
|
5548
5548
|
const memory = loaded?.build?.memory ?? "8g";
|
|
5549
5549
|
try {
|
|
5550
|
-
const { ensureRunnerIdentity } = await import('./runner-identity-
|
|
5550
|
+
const { ensureRunnerIdentity } = await import('./runner-identity-T6YPTHOH.js');
|
|
5551
5551
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5552
5552
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5553
5553
|
});
|
|
5554
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5555
|
-
const { runnerCalls } = await import('./caller-
|
|
5554
|
+
const { imageTargetFor } = await import('./governing-source-INXQEK24.js');
|
|
5555
|
+
const { runnerCalls } = await import('./caller-Q44OIVRR.js');
|
|
5556
5556
|
const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
|
|
5557
5557
|
if (!target.ok) {
|
|
5558
5558
|
if (opts.json) {
|
|
@@ -5616,25 +5616,25 @@ Next:
|
|
|
5616
5616
|
}
|
|
5617
5617
|
});
|
|
5618
5618
|
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) => {
|
|
5619
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5620
|
-
const { requestStop } = await import('./loop-
|
|
5619
|
+
const { defaultRunnerConfigPath } = await import('./config-EYFLM4WT.js');
|
|
5620
|
+
const { requestStop } = await import('./loop-WJBFH6XU.js');
|
|
5621
5621
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5622
|
-
const { runnerImageVersion } = await import('./image-tag-
|
|
5622
|
+
const { runnerImageVersion } = await import('./image-tag-WBD57QBN.js');
|
|
5623
5623
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
5624
5624
|
});
|
|
5625
5625
|
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) => {
|
|
5626
|
-
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-
|
|
5627
|
-
const { jobsDir, runnerDir } = await import('./paths-
|
|
5628
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5629
|
-
const { renderStatus } = await import('./status-
|
|
5630
|
-
const { readHousekeepingRecord } = await import('./record-
|
|
5626
|
+
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-EYFLM4WT.js');
|
|
5627
|
+
const { jobsDir, runnerDir } = await import('./paths-XEYE7OZ2.js');
|
|
5628
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-WJBFH6XU.js');
|
|
5629
|
+
const { renderStatus } = await import('./status-2JRATV66.js');
|
|
5630
|
+
const { readHousekeepingRecord } = await import('./record-JMZOXD4R.js');
|
|
5631
5631
|
const path2 = await import('path');
|
|
5632
5632
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5633
5633
|
const all = listJobFiles(configPath);
|
|
5634
5634
|
const housekeeping = readHousekeepingRecord(runnerDir(configPath));
|
|
5635
|
-
const { readPendingUpdate } = await import('./pending-
|
|
5635
|
+
const { readPendingUpdate } = await import('./pending-D2NNV54J.js');
|
|
5636
5636
|
const pendingUpdate = readPendingUpdate(runnerDir(configPath));
|
|
5637
|
-
const { readImageStatus } = await import('./image-tag-
|
|
5637
|
+
const { readImageStatus } = await import('./image-tag-WBD57QBN.js');
|
|
5638
5638
|
const image = readImageStatus(runnerDir(configPath));
|
|
5639
5639
|
let host = "unknown";
|
|
5640
5640
|
let concurrency = 1;
|
|
@@ -5644,7 +5644,7 @@ Next:
|
|
|
5644
5644
|
host = config.host;
|
|
5645
5645
|
concurrency = config.concurrency;
|
|
5646
5646
|
if (config.fleet === true) {
|
|
5647
|
-
const { readFleetState } = await import('./state-
|
|
5647
|
+
const { readFleetState } = await import('./state-UWIM42JH.js');
|
|
5648
5648
|
fleet = { state: readFleetState(configPath) };
|
|
5649
5649
|
}
|
|
5650
5650
|
} catch {
|
|
@@ -5652,7 +5652,7 @@ Next:
|
|
|
5652
5652
|
const processState = runnerProcessState(configPath);
|
|
5653
5653
|
const service = await (async () => {
|
|
5654
5654
|
if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
|
|
5655
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
5655
|
+
const { inspectRunnerService } = await import('./find-unit-3MED6CPQ.js');
|
|
5656
5656
|
const facts = inspectRunnerService(configPath);
|
|
5657
5657
|
return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
|
|
5658
5658
|
})();
|
|
@@ -5691,9 +5691,9 @@ Next:
|
|
|
5691
5691
|
);
|
|
5692
5692
|
});
|
|
5693
5693
|
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) => {
|
|
5694
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5695
|
-
const { listJobFiles } = await import('./loop-
|
|
5696
|
-
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-
|
|
5694
|
+
const { defaultRunnerConfigPath } = await import('./config-EYFLM4WT.js');
|
|
5695
|
+
const { listJobFiles } = await import('./loop-WJBFH6XU.js');
|
|
5696
|
+
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-FEITSC2V.js');
|
|
5697
5697
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5698
5698
|
const jobs = listJobFiles(configPath);
|
|
5699
5699
|
const selected = selectAttempt(jobs, itemArg);
|
|
@@ -5926,7 +5926,7 @@ caller from the bearer token, the gateway answers 401 without that header.
|
|
|
5926
5926
|
"after",
|
|
5927
5927
|
"\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"
|
|
5928
5928
|
).action(async (opts) => {
|
|
5929
|
-
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-
|
|
5929
|
+
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-ZINYSLY6.js');
|
|
5930
5930
|
try {
|
|
5931
5931
|
await runMcpServe({ url: opts.url, appId: opts.appId });
|
|
5932
5932
|
} catch (err) {
|
|
@@ -5947,7 +5947,7 @@ would get, the instruction files and the names of the skills. It warns when the
|
|
|
5947
5947
|
no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
|
|
5948
5948
|
`
|
|
5949
5949
|
).action(async (opts) => {
|
|
5950
|
-
const { runContextShow, ContextShowError } = await import('./context-show-cmd-
|
|
5950
|
+
const { runContextShow, ContextShowError } = await import('./context-show-cmd-XT3QP5OR.js');
|
|
5951
5951
|
try {
|
|
5952
5952
|
const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
|
|
5953
5953
|
process.stdout.write(result.output);
|