@outerlayer/cli 0.35.0-next.20261030105600 → 0.35.0-next.20261030155846
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/dist/{agent-setup-G445QZEM.js → agent-setup-346QMQY6.js} +5 -5
- package/dist/{build-MXJK46WR.js → build-HHBTSTE4.js} +6 -6
- package/dist/{build-disk-7VCUIOYV.js → build-disk-R6OH6JL5.js} +5 -5
- package/dist/build-info.json +1 -1
- package/dist/{builder-R4IJR7FU.js → builder-DL6NSVAU.js} +4 -4
- package/dist/{caller-D5IPBPRD.js → caller-Q44OIVRR.js} +7 -7
- package/dist/{check-QDYMMOSL.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-WXUG6UAF.js → chunk-4PW2DKHE.js} +315 -27
- package/dist/{chunk-VNHBDHX7.js → chunk-7J7HRYZ3.js} +1 -1
- package/dist/{chunk-7KMTCVXQ.js → chunk-7KAWBQ7V.js} +8 -4
- package/dist/{chunk-PILW3YP4.js → chunk-7TTYUY2V.js} +1 -1
- package/dist/{chunk-ZI7JENTB.js → chunk-7Y5VW4JG.js} +1 -1
- package/dist/{chunk-RO2XIOEN.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-DFGQM24P.js → chunk-AZJCSBRV.js} +87 -28
- package/dist/{chunk-QV3QP37Q.js → chunk-BNFFQC3M.js} +7 -7
- package/dist/{chunk-CANPD2V3.js → chunk-CPIYKBQ2.js} +4 -4
- package/dist/{chunk-PBAGWT2M.js → chunk-DH6BDQM4.js} +257 -95
- package/dist/{chunk-LNFQ5NOF.js → chunk-DOYLWBJJ.js} +3 -3
- package/dist/{chunk-ZH22PFZM.js → chunk-EK2FNOCD.js} +2 -2
- package/dist/{chunk-SHPCVBT3.js → chunk-EZRAR5YG.js} +1 -1
- package/dist/{chunk-PAGH2XKJ.js → chunk-FKLGX72N.js} +6 -6
- package/dist/{chunk-EDBLOBUB.js → chunk-FW3ZQKPY.js} +4 -4
- package/dist/{chunk-VAP56OP7.js → chunk-G2HRULTO.js} +2 -2
- package/dist/{chunk-LBYP6CPV.js → chunk-GGI3J7WS.js} +103 -22
- package/dist/{chunk-TYRKGKMX.js → chunk-HTQBIXE7.js} +2 -2
- package/dist/{chunk-CPWSPEP5.js → chunk-K3Z4Y6VU.js} +3 -3
- package/dist/{chunk-QI3AZT5E.js → chunk-K5EOLRGJ.js} +3 -3
- package/dist/{chunk-LW2A24IA.js → chunk-LGV5N5DG.js} +1 -1
- package/dist/{chunk-GC4U7WQV.js → chunk-LXAYOMSX.js} +6 -6
- package/dist/{chunk-EBFU4YCI.js → chunk-MCMDEEXB.js} +3 -3
- package/dist/{receive-files-T2BIUBQL.js → chunk-NN33FYXG.js} +0 -1
- package/dist/{chunk-Z7JFM5LP.js → chunk-ODX2XCL3.js} +3 -3
- package/dist/{chunk-SOBWIJDO.js → chunk-OS73XDJ7.js} +5 -5
- package/dist/{chunk-3JMDMXJO.js → chunk-P24VR4H3.js} +2 -2
- package/dist/{chunk-6IIP4KMY.js → chunk-P4PVRDVY.js} +3 -3
- package/dist/{chunk-L5GF2A43.js → chunk-P5CXB7ZT.js} +3 -3
- package/dist/{chunk-2F43WNKI.js → chunk-RIHB3HA2.js} +3 -3
- package/dist/{chunk-FTBBADQG.js → chunk-RKDOKIIK.js} +2 -2
- package/dist/{chunk-B5HTR43X.js → chunk-RLFVKOEI.js} +3 -3
- package/dist/{chunk-TMIJHMEN.js → chunk-RS2RFWIK.js} +1 -1
- package/dist/{chunk-FQVTJ4B3.js → chunk-SEY2HTZO.js} +7 -7
- package/dist/{chunk-HXCUMPPY.js → chunk-SUVWQPOG.js} +3 -3
- package/dist/{chunk-POZ65DAI.js → chunk-USR45QSV.js} +1 -1
- package/dist/{chunk-3AYPAQNQ.js → chunk-UVQ5C3UP.js} +1 -1
- package/dist/{chunk-NQ7R5AW5.js → chunk-VQCUADLI.js} +3 -3
- package/dist/{chunk-LKUDG3CH.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-BITJMQJ2.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-IEJWJDVU.js → cli-KQUVZRRG.js} +114 -113
- package/dist/{command-HSI2RX4D.js → command-OHJUJ2WX.js} +24 -23
- package/dist/{config-ZHLG4LA4.js → config-EYFLM4WT.js} +6 -6
- package/dist/{connect-cmd-NDWWTEHW.js → connect-cmd-REJ5FEC6.js} +5 -5
- package/dist/{container-start-Z7C67PBJ.js → container-start-KG3ZLJWU.js} +27 -26
- package/dist/{context-show-cmd-HLEHQJTV.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-NZR2MAUZ.js → demo-voice-cmd-2QE7SQRC.js} +11 -11
- package/dist/{dist-RR6YVPSF.js → dist-BARPQSHD.js} +1 -1
- package/dist/{docker-GVIT4XAC.js → docker-3UKTW4GR.js} +4 -4
- package/dist/{doctor-33W5WXME.js → doctor-5HY3JA5Y.js} +24 -23
- package/dist/{emit-artifact-cmd-72V5FRE3.js → emit-artifact-cmd-26PJDTFU.js} +10 -10
- package/dist/{emit-criteria-cmd-HIE6JLCO.js → emit-criteria-cmd-6YTFXO3L.js} +7 -7
- package/dist/{emit-demo-cmd-JL4MAXVC.js → emit-demo-cmd-OQ7UDDRG.js} +11 -11
- package/dist/{emit-finding-cmd-3HZBWWP7.js → emit-finding-cmd-NO3FSRHT.js} +7 -7
- package/dist/{emit-result-cmd-YIPXXWII.js → emit-result-cmd-7MSUTXG6.js} +9 -9
- package/dist/{emit-step-cmd-QQYPX7EF.js → emit-step-cmd-7PFO7XVA.js} +7 -7
- package/dist/{find-unit-L6IH3X2U.js → find-unit-3MED6CPQ.js} +8 -8
- package/dist/{findings-cmd-CPNMM5CJ.js → findings-cmd-SWAPQUFT.js} +7 -7
- package/dist/{fleet-readiness-ZQOFJZ5B.js → fleet-readiness-5RMWZH4V.js} +4 -4
- package/dist/{governing-source-AXTXU5ZB.js → governing-source-INXQEK24.js} +9 -9
- package/dist/{hook-fast-OPHM3MRK.js → hook-fast-2KVZZRJN.js} +1 -1
- package/dist/{host-checks-PDTWZ637.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-Y5A6PZDX.js → init-52F2M54W.js} +20 -19
- package/dist/{init-EUQHMZQX.js → init-U5XUDKE7.js} +20 -19
- package/dist/{init-cmd-HLBC4DOD.js → init-cmd-WYLANAD5.js} +10 -10
- package/dist/{init-update-GFXITSTA.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-GR24EEVA.js → loop-WJBFH6XU.js} +34 -33
- package/dist/{machine-B333YLJH.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-KGX7NFHP.js → runner-env-2NVOHTRC.js} +8 -8
- package/dist/{runner-identity-UOKEHVQQ.js → runner-identity-T6YPTHOH.js} +4 -4
- package/dist/{runner-key-QR6OQ7YJ.js → runner-key-WPQGF2L7.js} +20 -19
- package/dist/{session-sender-5DTNDRJY.js → session-sender-ADHV7WZ6.js} +10 -10
- package/dist/{spec-cmd-PUZD5BBF.js → spec-cmd-OUEKA6X3.js} +8 -8
- package/dist/{state-FJPSFOID.js → state-UWIM42JH.js} +2 -2
- package/dist/{status-5KWZOEOI.js → status-2JRATV66.js} +25 -24
- package/dist/{sync-cmd-45QEXKDM.js → sync-cmd-IEPWMYWY.js} +9 -9
- package/dist/{update-steps-EP5LFXAG.js → update-steps-3SRL32IV.js} +26 -25
- package/dist/{watch-L5MUTCM2.js → watch-3K3IB443.js} +9 -9
- package/dist/{work-claim-cmd-GJ2LSVOI.js → work-claim-cmd-5ACB2ZWP.js} +13 -13
- package/dist/{work-cmd-DGRY7K5A.js → work-cmd-B6HZW26B.js} +7 -7
- package/dist/{work-comment-cmd-CLHJKFBW.js → work-comment-cmd-MBGBBR7V.js} +8 -8
- package/dist/{work-demo-cmd-6BM56RVQ.js → work-demo-cmd-RLOS55MP.js} +7 -7
- package/dist/{work-logs-cmd-GXCMJFFO.js → work-logs-cmd-VUICWCEO.js} +7 -7
- package/dist/{work-open-pr-cmd-IGUKSZGC.js → work-open-pr-cmd-CYXICEJE.js} +8 -8
- package/dist/{work-pr-cmd-BQBQORGW.js → work-pr-cmd-3HSFJO65.js} +7 -7
- package/dist/{work-proofs-cmd-PVNHUJPC.js → work-proofs-cmd-NJ4YYQ2V.js} +8 -8
- package/dist/{work-proofs-record-BYRHHFK2.js → work-proofs-record-NN7XB2QC.js} +14 -14
- package/dist/{work-stop-cmd-EEETWUSK.js → work-stop-cmd-QXZSZLEY.js} +7 -7
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-amend/SKILL.md +18 -16
- package/skill-pack/maintained/outerlayer-amend/references/check-items.md +34 -0
- 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) {
|
|
@@ -4853,13 +4853,14 @@ action flag.
|
|
|
4853
4853
|
|
|
4854
4854
|
Prints the item's general thread, then one thread per acceptance
|
|
4855
4855
|
criterion that carries proof or a comment, each with who is waiting
|
|
4856
|
-
on whom next.
|
|
4857
|
-
|
|
4858
|
-
|
|
4856
|
+
on whom next. A criterion thread starts with what each check said
|
|
4857
|
+
about the criterion, and why. Source threads follow: conversations
|
|
4858
|
+
that started outside OuterLayer, such as the line comments of a
|
|
4859
|
+
GitHub review, each with its id, source and comments.
|
|
4859
4860
|
`
|
|
4860
4861
|
).action(async (opts) => {
|
|
4861
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4862
|
-
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');
|
|
4863
4864
|
try {
|
|
4864
4865
|
await runWorkThreads(opts);
|
|
4865
4866
|
} catch (err) {
|
|
@@ -4883,8 +4884,8 @@ still running, or that an older runner released, has no log and the
|
|
|
4883
4884
|
command exits 1.
|
|
4884
4885
|
`
|
|
4885
4886
|
).action(async (opts) => {
|
|
4886
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
4887
|
-
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');
|
|
4888
4889
|
try {
|
|
4889
4890
|
await runWorkLogs(opts);
|
|
4890
4891
|
} catch (err) {
|
|
@@ -4907,8 +4908,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
4907
4908
|
build is running for the item.
|
|
4908
4909
|
`
|
|
4909
4910
|
).action(async (opts) => {
|
|
4910
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
4911
|
-
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');
|
|
4912
4913
|
try {
|
|
4913
4914
|
await runWorkStop(opts);
|
|
4914
4915
|
} catch (err) {
|
|
@@ -4929,8 +4930,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
|
|
|
4929
4930
|
test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
|
|
4930
4931
|
`
|
|
4931
4932
|
).action(async (opts) => {
|
|
4932
|
-
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-
|
|
4933
|
-
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');
|
|
4934
4935
|
try {
|
|
4935
4936
|
await runWorkDemo(opts);
|
|
4936
4937
|
} catch (err) {
|
|
@@ -4951,7 +4952,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
4951
4952
|
live addition remains on it.
|
|
4952
4953
|
`
|
|
4953
4954
|
).action(async (opts) => {
|
|
4954
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
4955
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-B6HZW26B.js');
|
|
4955
4956
|
try {
|
|
4956
4957
|
await runWorkRemove(opts);
|
|
4957
4958
|
} catch (err) {
|
|
@@ -4963,7 +4964,7 @@ live addition remains on it.
|
|
|
4963
4964
|
}
|
|
4964
4965
|
});
|
|
4965
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) => {
|
|
4966
|
-
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-
|
|
4967
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-B6HZW26B.js');
|
|
4967
4968
|
try {
|
|
4968
4969
|
await runWorkStatus(opts);
|
|
4969
4970
|
} catch (err) {
|
|
@@ -5008,11 +5009,11 @@ differs from HEAD.
|
|
|
5008
5009
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5009
5010
|
return;
|
|
5010
5011
|
}
|
|
5011
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5012
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-NJ4YYQ2V.js');
|
|
5012
5013
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5013
5014
|
});
|
|
5014
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) => {
|
|
5015
|
-
const { runWorkList, WorkCommandError } = await import('./work-cmd-
|
|
5016
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-B6HZW26B.js');
|
|
5016
5017
|
try {
|
|
5017
5018
|
await runWorkList(opts);
|
|
5018
5019
|
} catch (err) {
|
|
@@ -5033,7 +5034,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
5033
5034
|
it. --host is a label only.
|
|
5034
5035
|
`
|
|
5035
5036
|
).action(async (opts) => {
|
|
5036
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
5037
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-5ACB2ZWP.js');
|
|
5037
5038
|
try {
|
|
5038
5039
|
await runWorkClaim(opts);
|
|
5039
5040
|
} catch (err) {
|
|
@@ -5053,7 +5054,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5053
5054
|
lease has expired, or a 403 if a different key holds it.
|
|
5054
5055
|
`
|
|
5055
5056
|
).action(async (opts) => {
|
|
5056
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5057
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-5ACB2ZWP.js');
|
|
5057
5058
|
try {
|
|
5058
5059
|
await runWorkRenew(opts);
|
|
5059
5060
|
} catch (err) {
|
|
@@ -5085,7 +5086,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5085
5086
|
takes the lease again.
|
|
5086
5087
|
`
|
|
5087
5088
|
).action(async (opts) => {
|
|
5088
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5089
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-5ACB2ZWP.js');
|
|
5089
5090
|
try {
|
|
5090
5091
|
await runWorkRelease(opts);
|
|
5091
5092
|
} catch (err) {
|
|
@@ -5112,7 +5113,7 @@ Idempotent: declaring the same pull request twice is a no-op.
|
|
|
5112
5113
|
needs your own login; an agent session or a factory key is refused.
|
|
5113
5114
|
`
|
|
5114
5115
|
).action(async (number, opts) => {
|
|
5115
|
-
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-
|
|
5116
|
+
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-3HSFJO65.js');
|
|
5116
5117
|
try {
|
|
5117
5118
|
await runWorkPr({ ...opts, number });
|
|
5118
5119
|
} catch (err) {
|
|
@@ -5137,8 +5138,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
5137
5138
|
Run it again after a change to the title or description.
|
|
5138
5139
|
`
|
|
5139
5140
|
).action(async (opts) => {
|
|
5140
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
5141
|
-
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');
|
|
5142
5143
|
try {
|
|
5143
5144
|
await runWorkOpenPr(opts);
|
|
5144
5145
|
} catch (err) {
|
|
@@ -5154,9 +5155,9 @@ function registerRunnerCommands(program2) {
|
|
|
5154
5155
|
const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
|
|
5155
5156
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5156
5157
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5157
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5158
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5159
|
-
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');
|
|
5160
5161
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5161
5162
|
try {
|
|
5162
5163
|
const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
|
|
@@ -5173,10 +5174,10 @@ function registerRunnerCommands(program2) {
|
|
|
5173
5174
|
"after",
|
|
5174
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"
|
|
5175
5176
|
).action(async () => {
|
|
5176
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5177
|
-
const { containerStart } = await import('./container-start-
|
|
5178
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5179
|
-
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');
|
|
5180
5181
|
try {
|
|
5181
5182
|
const result = await containerStart({
|
|
5182
5183
|
env: process.env,
|
|
@@ -5197,16 +5198,16 @@ function registerRunnerCommands(program2) {
|
|
|
5197
5198
|
"after",
|
|
5198
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"
|
|
5199
5200
|
).action(async (opts) => {
|
|
5200
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5201
|
-
const { runnerDir } = await import('./paths-
|
|
5202
|
-
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');
|
|
5203
5204
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5204
5205
|
process.stdout.write(`${text}
|
|
5205
5206
|
`);
|
|
5206
5207
|
});
|
|
5207
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) => {
|
|
5208
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5209
|
-
const { runRunnerCheck } = await import('./check-
|
|
5209
|
+
const { defaultRunnerConfigPath } = await import('./config-EYFLM4WT.js');
|
|
5210
|
+
const { runRunnerCheck } = await import('./check-W4LSRCMV.js');
|
|
5210
5211
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5211
5212
|
const result = await runRunnerCheck(configPath);
|
|
5212
5213
|
if (!result.ok) {
|
|
@@ -5227,8 +5228,8 @@ function registerRunnerCommands(program2) {
|
|
|
5227
5228
|
`);
|
|
5228
5229
|
});
|
|
5229
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) => {
|
|
5230
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5231
|
-
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');
|
|
5232
5233
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5233
5234
|
if (opts.service !== true) {
|
|
5234
5235
|
const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
|
|
@@ -5240,13 +5241,13 @@ function registerRunnerCommands(program2) {
|
|
|
5240
5241
|
}
|
|
5241
5242
|
}
|
|
5242
5243
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5243
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5244
|
+
if (buildCpusMax !== void 0 && !(await import('./command-OHJUJ2WX.js')).cpusAreValid(buildCpusMax)) {
|
|
5244
5245
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5245
5246
|
return;
|
|
5246
5247
|
}
|
|
5247
5248
|
try {
|
|
5248
5249
|
if (opts.service === true) {
|
|
5249
|
-
const { installServiceCommand } = await import('./command-
|
|
5250
|
+
const { installServiceCommand } = await import('./command-OHJUJ2WX.js');
|
|
5250
5251
|
const result2 = await installServiceCommand({
|
|
5251
5252
|
configPath,
|
|
5252
5253
|
print: opts.print,
|
|
@@ -5303,8 +5304,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5303
5304
|
fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
|
|
5304
5305
|
return;
|
|
5305
5306
|
}
|
|
5306
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5307
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5307
|
+
const { defaultRunnerConfigPath } = await import('./config-EYFLM4WT.js');
|
|
5308
|
+
const { uninstallServiceCommand } = await import('./command-OHJUJ2WX.js');
|
|
5308
5309
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5309
5310
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5310
5311
|
`);
|
|
@@ -5331,12 +5332,12 @@ already in claude.env is used.
|
|
|
5331
5332
|
printf '%s' "$CLAUDE_CODE_OAUTH_TOKEN" | ${cliInvocation()} runner init --agent claude --factory <org>/<factory>
|
|
5332
5333
|
`
|
|
5333
5334
|
).action(async (opts) => {
|
|
5334
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5335
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5336
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5337
|
-
const { detectMachine } = await import('./machine-
|
|
5338
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5339
|
-
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');
|
|
5340
5341
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5341
5342
|
if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
|
|
5342
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.`);
|
|
@@ -5367,7 +5368,7 @@ already in claude.env is used.
|
|
|
5367
5368
|
const chunks = [];
|
|
5368
5369
|
for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
|
|
5369
5370
|
const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
|
|
5370
|
-
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-
|
|
5371
|
+
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-O4DFMOSV.js');
|
|
5371
5372
|
const hostKey2 = await ensureHostKey2(configPath);
|
|
5372
5373
|
process.stdout.write(`host key ${hostKey2.fingerprint}
|
|
5373
5374
|
hooks: ${result2.hooks}
|
|
@@ -5426,7 +5427,7 @@ hooks: ${result2.hooks}
|
|
|
5426
5427
|
const prepared = prepareRunnerInit(configPath, { machine, allowProcess, agent, credential, keyFromLogin: makeKey !== void 0 });
|
|
5427
5428
|
const created = makeKey === void 0 ? void 0 : await makeKey();
|
|
5428
5429
|
const result = writeRunnerInit(prepared, created);
|
|
5429
|
-
const { ensureHostKey } = await import('./host-key-
|
|
5430
|
+
const { ensureHostKey } = await import('./host-key-O4DFMOSV.js');
|
|
5430
5431
|
const hostKey = await ensureHostKey(configPath);
|
|
5431
5432
|
if (created !== void 0) {
|
|
5432
5433
|
process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
|
|
@@ -5454,7 +5455,7 @@ ${C.yellow}${result.note}${C.reset}
|
|
|
5454
5455
|
To isolate builds in containers instead, run ${C.yellow}${cliInvocation()} runner init --vm${C.reset}.
|
|
5455
5456
|
`);
|
|
5456
5457
|
}
|
|
5457
|
-
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-
|
|
5458
|
+
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-JKPXIOEY.js');
|
|
5458
5459
|
let installedLayout = false;
|
|
5459
5460
|
let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
|
|
5460
5461
|
try {
|
|
@@ -5486,7 +5487,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5486
5487
|
let serviceUp = false;
|
|
5487
5488
|
let restart;
|
|
5488
5489
|
if (installedLayout) {
|
|
5489
|
-
const { installServiceCommand } = await import('./command-
|
|
5490
|
+
const { installServiceCommand } = await import('./command-OHJUJ2WX.js');
|
|
5490
5491
|
const service = await installServiceCommand({
|
|
5491
5492
|
configPath,
|
|
5492
5493
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5530,12 +5531,12 @@ Next:
|
|
|
5530
5531
|
"after",
|
|
5531
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"
|
|
5532
5533
|
).action(async (opts) => {
|
|
5533
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5534
|
-
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');
|
|
5535
5536
|
const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
|
|
5536
|
-
const { createDockerHost } = await import('./docker-
|
|
5537
|
-
const { builderSpec } = await import('./builder-
|
|
5538
|
-
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');
|
|
5539
5540
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5540
5541
|
const loaded = (() => {
|
|
5541
5542
|
try {
|
|
@@ -5546,12 +5547,12 @@ Next:
|
|
|
5546
5547
|
})();
|
|
5547
5548
|
const memory = loaded?.build?.memory ?? "8g";
|
|
5548
5549
|
try {
|
|
5549
|
-
const { ensureRunnerIdentity } = await import('./runner-identity-
|
|
5550
|
+
const { ensureRunnerIdentity } = await import('./runner-identity-T6YPTHOH.js');
|
|
5550
5551
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5551
5552
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5552
5553
|
});
|
|
5553
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5554
|
-
const { runnerCalls } = await import('./caller-
|
|
5554
|
+
const { imageTargetFor } = await import('./governing-source-INXQEK24.js');
|
|
5555
|
+
const { runnerCalls } = await import('./caller-Q44OIVRR.js');
|
|
5555
5556
|
const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
|
|
5556
5557
|
if (!target.ok) {
|
|
5557
5558
|
if (opts.json) {
|
|
@@ -5615,25 +5616,25 @@ Next:
|
|
|
5615
5616
|
}
|
|
5616
5617
|
});
|
|
5617
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) => {
|
|
5618
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5619
|
-
const { requestStop } = await import('./loop-
|
|
5619
|
+
const { defaultRunnerConfigPath } = await import('./config-EYFLM4WT.js');
|
|
5620
|
+
const { requestStop } = await import('./loop-WJBFH6XU.js');
|
|
5620
5621
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5621
|
-
const { runnerImageVersion } = await import('./image-tag-
|
|
5622
|
+
const { runnerImageVersion } = await import('./image-tag-WBD57QBN.js');
|
|
5622
5623
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
5623
5624
|
});
|
|
5624
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) => {
|
|
5625
|
-
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-
|
|
5626
|
-
const { jobsDir, runnerDir } = await import('./paths-
|
|
5627
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5628
|
-
const { renderStatus } = await import('./status-
|
|
5629
|
-
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');
|
|
5630
5631
|
const path2 = await import('path');
|
|
5631
5632
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5632
5633
|
const all = listJobFiles(configPath);
|
|
5633
5634
|
const housekeeping = readHousekeepingRecord(runnerDir(configPath));
|
|
5634
|
-
const { readPendingUpdate } = await import('./pending-
|
|
5635
|
+
const { readPendingUpdate } = await import('./pending-D2NNV54J.js');
|
|
5635
5636
|
const pendingUpdate = readPendingUpdate(runnerDir(configPath));
|
|
5636
|
-
const { readImageStatus } = await import('./image-tag-
|
|
5637
|
+
const { readImageStatus } = await import('./image-tag-WBD57QBN.js');
|
|
5637
5638
|
const image = readImageStatus(runnerDir(configPath));
|
|
5638
5639
|
let host = "unknown";
|
|
5639
5640
|
let concurrency = 1;
|
|
@@ -5643,7 +5644,7 @@ Next:
|
|
|
5643
5644
|
host = config.host;
|
|
5644
5645
|
concurrency = config.concurrency;
|
|
5645
5646
|
if (config.fleet === true) {
|
|
5646
|
-
const { readFleetState } = await import('./state-
|
|
5647
|
+
const { readFleetState } = await import('./state-UWIM42JH.js');
|
|
5647
5648
|
fleet = { state: readFleetState(configPath) };
|
|
5648
5649
|
}
|
|
5649
5650
|
} catch {
|
|
@@ -5651,7 +5652,7 @@ Next:
|
|
|
5651
5652
|
const processState = runnerProcessState(configPath);
|
|
5652
5653
|
const service = await (async () => {
|
|
5653
5654
|
if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
|
|
5654
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
5655
|
+
const { inspectRunnerService } = await import('./find-unit-3MED6CPQ.js');
|
|
5655
5656
|
const facts = inspectRunnerService(configPath);
|
|
5656
5657
|
return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
|
|
5657
5658
|
})();
|
|
@@ -5690,9 +5691,9 @@ Next:
|
|
|
5690
5691
|
);
|
|
5691
5692
|
});
|
|
5692
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) => {
|
|
5693
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5694
|
-
const { listJobFiles } = await import('./loop-
|
|
5695
|
-
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');
|
|
5696
5697
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5697
5698
|
const jobs = listJobFiles(configPath);
|
|
5698
5699
|
const selected = selectAttempt(jobs, itemArg);
|
|
@@ -5925,7 +5926,7 @@ caller from the bearer token, the gateway answers 401 without that header.
|
|
|
5925
5926
|
"after",
|
|
5926
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"
|
|
5927
5928
|
).action(async (opts) => {
|
|
5928
|
-
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-
|
|
5929
|
+
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-ZINYSLY6.js');
|
|
5929
5930
|
try {
|
|
5930
5931
|
await runMcpServe({ url: opts.url, appId: opts.appId });
|
|
5931
5932
|
} catch (err) {
|
|
@@ -5946,7 +5947,7 @@ would get, the instruction files and the names of the skills. It warns when the
|
|
|
5946
5947
|
no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
|
|
5947
5948
|
`
|
|
5948
5949
|
).action(async (opts) => {
|
|
5949
|
-
const { runContextShow, ContextShowError } = await import('./context-show-cmd-
|
|
5950
|
+
const { runContextShow, ContextShowError } = await import('./context-show-cmd-XT3QP5OR.js');
|
|
5950
5951
|
try {
|
|
5951
5952
|
const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
|
|
5952
5953
|
process.stdout.write(result.output);
|