@outerlayer/cli 0.35.0-next.20261030155846 → 0.36.0-next.20261030181337
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/README.md +10 -1
- package/dist/{agent-setup-346QMQY6.js → agent-setup-RZE6O737.js} +10 -10
- package/dist/{artifact-link-cmd-H3KVDGP3.js → artifact-link-cmd-DLKYKNWF.js} +2 -2
- package/dist/{build-HHBTSTE4.js → build-GVNOXEDV.js} +4 -4
- package/dist/{build-disk-R6OH6JL5.js → build-disk-H5VDB4G2.js} +4 -4
- package/dist/build-info.json +1 -1
- package/dist/{builder-DL6NSVAU.js → builder-QW6N3XBA.js} +3 -3
- package/dist/{caller-Q44OIVRR.js → caller-TUO3VAKG.js} +6 -6
- package/dist/{check-W4LSRCMV.js → check-BG6MXUPH.js} +36 -36
- package/dist/{chunk-RS2RFWIK.js → chunk-3LCXSD26.js} +1 -1
- package/dist/{chunk-FW3ZQKPY.js → chunk-3XIAGOPV.js} +4 -4
- package/dist/{chunk-VQCUADLI.js → chunk-4A7GNO4U.js} +1 -1
- package/dist/{chunk-YC5KTX7D.js → chunk-5TJQBHKO.js} +4 -4
- package/dist/{chunk-GGI3J7WS.js → chunk-5YH25STT.js} +17 -17
- package/dist/{chunk-WYJUQGCB.js → chunk-6KLNELLP.js} +3 -3
- package/dist/{chunk-K3Z4Y6VU.js → chunk-7ABJKQAQ.js} +2 -2
- package/dist/{chunk-MGF4254K.js → chunk-7GX4X25F.js} +1 -1
- package/dist/{chunk-DH6BDQM4.js → chunk-7K7TGHDF.js} +1 -1
- package/dist/{chunk-USR45QSV.js → chunk-A2QQGMQ7.js} +6 -6
- package/dist/{chunk-2PMJ7TQR.js → chunk-AILO7SNG.js} +1 -1
- package/dist/{chunk-SUVWQPOG.js → chunk-BBUIVGIR.js} +3 -3
- package/dist/{chunk-SUVS7A7X.js → chunk-BIAXDR3K.js} +4 -4
- package/dist/{chunk-ODX2XCL3.js → chunk-BR2WJ6BX.js} +2 -2
- package/dist/{chunk-AWNONB6E.js → chunk-D3H37WUD.js} +2 -2
- package/dist/{chunk-6YK3SXCW.js → chunk-D4BIUQPA.js} +1 -1
- package/dist/{chunk-AZJCSBRV.js → chunk-DQSCVQIO.js} +121 -18
- package/dist/{chunk-BNFFQC3M.js → chunk-DU6UKYXJ.js} +4 -4
- package/dist/{chunk-AW4MYEIW.js → chunk-EA57H6AT.js} +1 -1
- package/dist/{chunk-HTQBIXE7.js → chunk-FCJWPFDS.js} +4 -4
- package/dist/{chunk-WYGAQVBU.js → chunk-GGNG6CVE.js} +3 -3
- package/dist/{chunk-RKDOKIIK.js → chunk-HSSECQOA.js} +7 -2
- package/dist/{chunk-LXAYOMSX.js → chunk-HXOMZZC3.js} +8 -8
- package/dist/{chunk-7KAWBQ7V.js → chunk-IZVBCDSH.js} +16 -4
- package/dist/{chunk-P4PVRDVY.js → chunk-JII4O3EZ.js} +3 -3
- package/dist/{chunk-OS73XDJ7.js → chunk-KSMN2FUF.js} +2 -2
- package/dist/{chunk-SEY2HTZO.js → chunk-LOI3ESFV.js} +6 -6
- package/dist/{chunk-MCMDEEXB.js → chunk-MJEUD4PD.js} +4 -4
- package/dist/{chunk-3L7OHRDV.js → chunk-O3OREOCP.js} +132 -3
- package/dist/{chunk-VRNAM7WM.js → chunk-O6V6T6HD.js} +12 -12
- package/dist/{chunk-K5EOLRGJ.js → chunk-OFOEDDN6.js} +2 -2
- package/dist/{chunk-GWXHRG2N.js → chunk-OJ2KWQPQ.js} +1 -1
- package/dist/{chunk-4PW2DKHE.js → chunk-OSQEG4HG.js} +15 -14
- package/dist/{chunk-VQCAJUDV.js → chunk-OUMMLC45.js} +2 -2
- package/dist/{chunk-DOYLWBJJ.js → chunk-QH6RZLDV.js} +1 -1
- package/dist/{chunk-G2HRULTO.js → chunk-QLWEXEEA.js} +1 -1
- package/dist/{chunk-N2XW4NYY.js → chunk-QZSA5R3L.js} +3 -1
- package/dist/{chunk-P24VR4H3.js → chunk-RUML4JVG.js} +1 -1
- package/dist/{chunk-EK2FNOCD.js → chunk-TGVIFTKI.js} +1 -1
- package/dist/{chunk-FKLGX72N.js → chunk-UCRCIRQQ.js} +5 -5
- package/dist/{chunk-Q7ZHL6FY.js → chunk-UHD5ZR46.js} +4 -4
- package/dist/{chunk-UVQ5C3UP.js → chunk-VOURWC2H.js} +1 -1
- package/dist/{chunk-TMFKZBOW.js → chunk-WNM5GXJ3.js} +2 -2
- package/dist/{chunk-ABGJ67PH.js → chunk-WXR6AVZ7.js} +5 -5
- package/dist/{chunk-CPIYKBQ2.js → chunk-XHDJ75TC.js} +5 -5
- package/dist/{chunk-XSX42Q2H.js → chunk-YQDXFFOK.js} +1 -1
- package/dist/{chunk-7TTYUY2V.js → chunk-YTNZ237E.js} +7 -7
- package/dist/{chunk-P5CXB7ZT.js → chunk-YZXI37NW.js} +2 -2
- package/dist/{chunk-RLFVKOEI.js → chunk-Z25Y26JP.js} +2 -2
- package/dist/{claude-launcher-HREPADCN.js → claude-launcher-FK5ZQWXC.js} +5 -5
- package/dist/{cli-KQUVZRRG.js → cli-J2G5CEGC.js} +125 -111
- package/dist/{command-OHJUJ2WX.js → command-AYXNOGIU.js} +22 -22
- package/dist/{config-EYFLM4WT.js → config-NVGVPL3L.js} +5 -5
- package/dist/{connect-cmd-REJ5FEC6.js → connect-cmd-KO2TIY6J.js} +8 -8
- package/dist/{container-start-KG3ZLJWU.js → container-start-S6XLY7QF.js} +32 -32
- package/dist/{context-cleanup-KIWINRKM.js → context-cleanup-2MTGLUYS.js} +3 -3
- package/dist/{context-show-cmd-XT3QP5OR.js → context-show-cmd-XLER7QAI.js} +9 -9
- package/dist/{control-plane-launch-PCGH76P5.js → control-plane-launch-RUJOCYEI.js} +6 -6
- package/dist/{demo-voice-cmd-2QE7SQRC.js → demo-voice-cmd-GLN5QZJP.js} +14 -14
- package/dist/{dist-BARPQSHD.js → dist-4Q4Y6YJL.js} +2 -2
- package/dist/{docker-3UKTW4GR.js → docker-3AZ3ZFLA.js} +3 -3
- package/dist/{doctor-5HY3JA5Y.js → doctor-TLIRZM2C.js} +23 -23
- package/dist/{emit-artifact-cmd-26PJDTFU.js → emit-artifact-cmd-CNC5CPKI.js} +13 -13
- package/dist/{emit-cmd-ZHYBT2F6.js → emit-cmd-6NZOT5DS.js} +6 -6
- package/dist/{emit-criteria-cmd-6YTFXO3L.js → emit-criteria-cmd-BNXWF46E.js} +10 -10
- package/dist/{emit-demo-cmd-OQ7UDDRG.js → emit-demo-cmd-UXTH6XBO.js} +14 -14
- package/dist/{emit-finding-cmd-NO3FSRHT.js → emit-finding-cmd-5HZE7W6C.js} +10 -10
- package/dist/{emit-result-cmd-7MSUTXG6.js → emit-result-cmd-KAEWXQIH.js} +12 -12
- package/dist/{emit-step-cmd-7PFO7XVA.js → emit-step-cmd-HSKB3SNR.js} +10 -10
- package/dist/{find-unit-3MED6CPQ.js → find-unit-CNYGB5AN.js} +7 -7
- package/dist/{findings-cmd-SWAPQUFT.js → findings-cmd-2OQMIVHA.js} +10 -10
- package/dist/{fleet-readiness-5RMWZH4V.js → fleet-readiness-PCQSCHQ5.js} +8 -8
- package/dist/{governing-source-INXQEK24.js → governing-source-7XCL3AYM.js} +13 -13
- package/dist/{hook-fast-2KVZZRJN.js → hook-fast-EMZVAUJ5.js} +1 -1
- package/dist/{host-checks-RCWXCCW2.js → host-checks-GYAJF5C5.js} +30 -30
- package/dist/index.js +4 -4
- package/dist/{init-52F2M54W.js → init-HEZDVJPU.js} +21 -21
- package/dist/{init-U5XUDKE7.js → init-OOYCYL2C.js} +21 -21
- package/dist/{init-cmd-WYLANAD5.js → init-cmd-4PVOILZD.js} +18 -18
- package/dist/{init-update-Z2T5J3Z2.js → init-update-QMSQEZQU.js} +17 -17
- package/dist/{layout-2YSKJHPC.js → layout-YJ2RD5H2.js} +4 -4
- package/dist/{login-browser-S6PLZCKK.js → login-browser-TWUHD2DS.js} +2 -2
- package/dist/{loop-WJBFH6XU.js → loop-4LW6GUXH.js} +35 -35
- package/dist/{machine-KUUTBDAT.js → machine-23Y2EHH7.js} +21 -21
- package/dist/{machine-skills-YXN3TMJ5.js → machine-skills-FWIZV5HO.js} +4 -4
- package/dist/{runner-env-2NVOHTRC.js → runner-env-IDGTVTYW.js} +7 -7
- package/dist/{runner-identity-T6YPTHOH.js → runner-identity-RJYVFQ5K.js} +3 -3
- package/dist/{runner-key-WPQGF2L7.js → runner-key-BKMFJ7RA.js} +21 -21
- package/dist/{session-sender-ADHV7WZ6.js → session-sender-QDZWNAY7.js} +13 -13
- package/dist/{spec-cmd-OUEKA6X3.js → spec-cmd-OYQEUAMI.js} +11 -11
- package/dist/{starter-pack-3ERHTBBJ.js → starter-pack-6FOYP6DY.js} +5 -5
- package/dist/{status-2JRATV66.js → status-WSQEUBOE.js} +30 -30
- package/dist/{sync-cmd-IEPWMYWY.js → sync-cmd-MNXFOIHW.js} +12 -12
- package/dist/{update-steps-3SRL32IV.js → update-steps-RHCWDCGL.js} +31 -31
- package/dist/{watch-3K3IB443.js → watch-E7RGSZF6.js} +12 -12
- package/dist/{work-claim-cmd-5ACB2ZWP.js → work-claim-cmd-HX7DGFY3.js} +16 -16
- package/dist/{work-cmd-B6HZW26B.js → work-cmd-IEC6XKC6.js} +10 -10
- package/dist/work-comment-cmd-X65LS27O.js +36 -0
- package/dist/{work-demo-cmd-RLOS55MP.js → work-demo-cmd-D7WGXJOC.js} +10 -10
- package/dist/{work-logs-cmd-VUICWCEO.js → work-logs-cmd-FQH2UVMI.js} +10 -10
- package/dist/{work-open-pr-cmd-CYXICEJE.js → work-open-pr-cmd-EFAFERSF.js} +11 -11
- package/dist/{work-pr-cmd-3HSFJO65.js → work-pr-cmd-E55GPZKO.js} +10 -10
- package/dist/{work-proofs-cmd-NJ4YYQ2V.js → work-proofs-cmd-RKUGC2ML.js} +12 -12
- package/dist/{work-proofs-record-NN7XB2QC.js → work-proofs-record-VGCV4TWY.js} +18 -18
- package/dist/{work-stop-cmd-QXZSZLEY.js → work-stop-cmd-ANPTSTYS.js} +10 -10
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-amend/SKILL.md +5 -4
- package/skill-pack/maintained/outerlayer-amend/references/threads.md +14 -1
- package/skill-pack/maintained/outerlayer-build/SKILL.md +4 -0
- package/dist/work-comment-cmd-MBGBBR7V.js +0 -32
|
@@ -1,43 +1,43 @@
|
|
|
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-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-O6V6T6HD.js';
|
|
4
|
+
import './chunk-UHD5ZR46.js';
|
|
5
5
|
import './chunk-OHQMGLJP.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import { verifiedTrackerNames, TRACKERS } from './chunk-
|
|
6
|
+
import './chunk-OUMMLC45.js';
|
|
7
|
+
import { verifiedTrackerNames, TRACKERS } from './chunk-UCRCIRQQ.js';
|
|
8
8
|
import './chunk-IP7BIBXJ.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
9
|
+
import './chunk-YZXI37NW.js';
|
|
10
|
+
import './chunk-FCJWPFDS.js';
|
|
11
|
+
import './chunk-D4BIUQPA.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-
|
|
15
|
-
import './chunk-
|
|
16
|
-
import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-
|
|
17
|
-
import './chunk-
|
|
14
|
+
import './chunk-A2QQGMQ7.js';
|
|
15
|
+
import './chunk-YQDXFFOK.js';
|
|
16
|
+
import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-WNM5GXJ3.js';
|
|
17
|
+
import './chunk-D3H37WUD.js';
|
|
18
18
|
import './chunk-YQHEJ5SV.js';
|
|
19
19
|
import './chunk-HWVMRETT.js';
|
|
20
20
|
import './chunk-4DJZSNVT.js';
|
|
21
|
-
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-
|
|
21
|
+
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-O3OREOCP.js';
|
|
22
22
|
import './chunk-545P7JY7.js';
|
|
23
23
|
import './chunk-YBAVN6WS.js';
|
|
24
24
|
import './chunk-BKO6JEZI.js';
|
|
25
25
|
import './chunk-HCVLP7XA.js';
|
|
26
26
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
27
|
-
import './chunk-
|
|
28
|
-
import './chunk-
|
|
29
|
-
import './chunk-
|
|
27
|
+
import './chunk-EA57H6AT.js';
|
|
28
|
+
import './chunk-7GX4X25F.js';
|
|
29
|
+
import './chunk-7K7TGHDF.js';
|
|
30
30
|
import './chunk-OLM2TIOW.js';
|
|
31
31
|
import './chunk-CDDED64E.js';
|
|
32
32
|
import { resolveVersion, resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
33
33
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
34
34
|
import { cliInvocation, packageRunnerOf } from './chunk-FZKNTIOJ.js';
|
|
35
35
|
import { settingsPath, readSettings, SettingsParseError, listHookCandidates, PORTABLE_BIN, wrapHooks, writeSettings, unwrapHooks, REGISTERED_EVENTS, removeHooks, removeStatusline, cliBinResolvable, mergeHooks, repointWrappedHooks, AUTO_WRAP_EVENTS, mergeStatusline } from './chunk-KYDEBGJG.js';
|
|
36
|
-
import './chunk-
|
|
36
|
+
import './chunk-OJ2KWQPQ.js';
|
|
37
37
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
38
38
|
import { removeJournalHooks, removePreCommitGuardHook } from './chunk-CJPTUU2E.js';
|
|
39
|
-
import './chunk-
|
|
40
|
-
import './chunk-
|
|
39
|
+
import './chunk-AILO7SNG.js';
|
|
40
|
+
import './chunk-QZSA5R3L.js';
|
|
41
41
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
42
42
|
import './chunk-WT7J2627.js';
|
|
43
43
|
import './chunk-GANAOCHR.js';
|
|
@@ -3658,14 +3658,14 @@ function apiKeyOption() {
|
|
|
3658
3658
|
return new Option("--api-key <key>", `deprecated: use \`${cliInvocation()} login\` or OUTERLAYER_API_KEY`).hideHelp();
|
|
3659
3659
|
}
|
|
3660
3660
|
async function installStarterPackInRepo() {
|
|
3661
|
-
const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-
|
|
3661
|
+
const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-6FOYP6DY.js');
|
|
3662
3662
|
const cwd = process.cwd();
|
|
3663
3663
|
let repoRoot = cwd;
|
|
3664
3664
|
try {
|
|
3665
3665
|
repoRoot = execFileSync("git", ["rev-parse", "--show-toplevel"], { cwd, encoding: "utf8", stdio: ["ignore", "pipe", "ignore"] }).trim() || cwd;
|
|
3666
3666
|
} catch {
|
|
3667
3667
|
}
|
|
3668
|
-
const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-
|
|
3668
|
+
const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-YJ2RD5H2.js');
|
|
3669
3669
|
const fresh = !isAgentsMdLayout(repoRoot) && !existsSync(join(repoRoot, ".outerlayer/skills")) && !existsSync(join(repoRoot, ".outerlayer/AGENTS.md"));
|
|
3670
3670
|
const result = installStarterPack({ repoRoot, base: fresh ? ".agents/skills" : skillsBaseFor(repoRoot) });
|
|
3671
3671
|
if (fresh) declareAgentsMdLayout(repoRoot);
|
|
@@ -3791,7 +3791,7 @@ ${starter.output}`),
|
|
|
3791
3791
|
}
|
|
3792
3792
|
}
|
|
3793
3793
|
async function installMachineSkillsForSetup() {
|
|
3794
|
-
const { setupMachineSkills } = await import('./machine-skills-
|
|
3794
|
+
const { setupMachineSkills } = await import('./machine-skills-FWIZV5HO.js');
|
|
3795
3795
|
const result = setupMachineSkills(homeFromEnv());
|
|
3796
3796
|
for (const failure of result.failures) process.stderr.write(`${C.yellow}!${C.reset} Could not write a maintained skill: ${failure}
|
|
3797
3797
|
`);
|
|
@@ -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-KO2TIY6J.js');
|
|
3803
|
+
const { resolveRepoIdentity } = await import('./dist-4Q4Y6YJL.js');
|
|
3804
3804
|
return {
|
|
3805
3805
|
...realConnectDeps(),
|
|
3806
3806
|
home: homeFromEnv(),
|
|
@@ -3817,7 +3817,7 @@ function buildProgram(argv = process.argv) {
|
|
|
3817
3817
|
const program2 = new Command();
|
|
3818
3818
|
program2.name(cliInvocation()).description("OuterLayer \u2014 see what your coding agents actually do").enablePositionalOptions().version(resolveVersion()).hook("preAction", async (_root, command) => {
|
|
3819
3819
|
if (command.opts().apiKey !== void 0) warnDeprecated(API_KEY_FLAG_DEPRECATION);
|
|
3820
|
-
const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-
|
|
3820
|
+
const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-FWIZV5HO.js');
|
|
3821
3821
|
const names = [];
|
|
3822
3822
|
for (let at = command; at?.parent; at = at.parent) names.push(at.name());
|
|
3823
3823
|
if (!machineRefreshSkipped(names, command._hidden === true, argv)) refreshMachineSkills(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-QMSQEZQU.js');
|
|
3878
|
+
const { fleetReadiness } = await import('./fleet-readiness-PCQSCHQ5.js');
|
|
3879
3879
|
const problem = updateFlagProblem(opts);
|
|
3880
3880
|
if (problem !== void 0) {
|
|
3881
3881
|
fail(problem);
|
|
@@ -3892,7 +3892,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3892
3892
|
}
|
|
3893
3893
|
let starterTemplate;
|
|
3894
3894
|
if (opts.template !== void 0) {
|
|
3895
|
-
const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-
|
|
3895
|
+
const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-6FOYP6DY.js');
|
|
3896
3896
|
try {
|
|
3897
3897
|
assertKnownTemplate(opts.template);
|
|
3898
3898
|
} catch (err) {
|
|
@@ -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-4PVOILZD.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-4PVOILZD.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-RZE6O737.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-KO2TIY6J.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-KO2TIY6J.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
|
|
@@ -4031,7 +4031,7 @@ Every later command reads the saved file, so none of them needs a key on
|
|
|
4031
4031
|
its command line. A saved key is checked for real on the first \`sync\`.
|
|
4032
4032
|
`
|
|
4033
4033
|
).action(async (opts) => {
|
|
4034
|
-
const { runLoginCommand, realLoginDeps } = await import('./login-browser-
|
|
4034
|
+
const { runLoginCommand, realLoginDeps } = await import('./login-browser-TWUHD2DS.js');
|
|
4035
4035
|
const code = await runLoginCommand(
|
|
4036
4036
|
{
|
|
4037
4037
|
browser: opts.browser !== false,
|
|
@@ -4064,13 +4064,13 @@ code is 1: revoke the token on /profile/security.
|
|
|
4064
4064
|
"\nIncremental: only sessions newer than the last checkpoint ship. The tier\nis applied on this machine before anything leaves it; `--dry-run` prints\nexactly what would. The hook-triggered background sync runs `--quiet`.\nExit 2 means the server rejected at least one session.\n"
|
|
4065
4065
|
).action(async (opts) => {
|
|
4066
4066
|
if (opts.link !== void 0) {
|
|
4067
|
-
const { lookupArtifactLink } = await import('./artifact-link-cmd-
|
|
4067
|
+
const { lookupArtifactLink } = await import('./artifact-link-cmd-DLKYKNWF.js');
|
|
4068
4068
|
const found = lookupArtifactLink(opts.link);
|
|
4069
4069
|
if (found.ok) process.stdout.write(found.url + "\n");
|
|
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-MNXFOIHW.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-E7RGSZF6.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(() => {
|
|
@@ -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-QDZWNAY7.js');
|
|
4195
4195
|
try {
|
|
4196
4196
|
await runSessionSender();
|
|
4197
4197
|
} catch (err) {
|
|
@@ -4234,7 +4234,7 @@ async function runCli(processArgv) {
|
|
|
4234
4234
|
await buildProgram(argv).parseAsync(argv);
|
|
4235
4235
|
}
|
|
4236
4236
|
async function compileContext(opts) {
|
|
4237
|
-
const { runEmit, EmitError } = await import('./emit-cmd-
|
|
4237
|
+
const { runEmit, EmitError } = await import('./emit-cmd-6NZOT5DS.js');
|
|
4238
4238
|
try {
|
|
4239
4239
|
const result = runEmit({ cwd: opts.dir, check: opts.check, json: opts.json });
|
|
4240
4240
|
if (result.exitCode !== 0) process.exitCode = result.exitCode;
|
|
@@ -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-KAEWXQIH.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-CNC5CPKI.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-UXTH6XBO.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-GLN5QZJP.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-5HZE7W6C.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-5HZE7W6C.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-HSKB3SNR.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-BNXWF46E.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-IEC6XKC6.js');
|
|
4677
4677
|
try {
|
|
4678
|
-
await action(await import('./spec-cmd-
|
|
4678
|
+
await action(await import('./spec-cmd-OYQEUAMI.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-2OQMIVHA.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-2OQMIVHA.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-IEC6XKC6.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-IEC6XKC6.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-X65LS27O.js');
|
|
4838
|
+
const { WorkCommandError } = await import('./work-cmd-IEC6XKC6.js');
|
|
4839
4839
|
try {
|
|
4840
4840
|
await runWorkComment(opts);
|
|
4841
4841
|
} catch (err) {
|
|
@@ -4846,6 +4846,20 @@ action flag.
|
|
|
4846
4846
|
throw err;
|
|
4847
4847
|
}
|
|
4848
4848
|
});
|
|
4849
|
+
workCmd.command("comments-read").description("Record which comments the running agent read (the build's hooks run this)").argument("<ids...>", "the ids of the comments the agent read").requiredOption("--item <number>", "the item's number inside this factory").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").addHelpText(
|
|
4850
|
+
"after",
|
|
4851
|
+
`
|
|
4852
|
+
${cliInvocation()} work comments-read --item 7 3f2a1c9d-0000-4000-8000-000000000000
|
|
4853
|
+
|
|
4854
|
+
A build's hooks start this command after they hand a member's comment to
|
|
4855
|
+
the agent. It records the read with the build's item key. It prints
|
|
4856
|
+
nothing and exits 0 when the call fails: the line goes to hook-errors.log,
|
|
4857
|
+
and the comment waits for the next agent job.
|
|
4858
|
+
`
|
|
4859
|
+
).action(async (ids, opts) => {
|
|
4860
|
+
const { runWorkCommentsRead } = await import('./work-comment-cmd-X65LS27O.js');
|
|
4861
|
+
await runWorkCommentsRead({ ...opts, commentIds: ids });
|
|
4862
|
+
});
|
|
4849
4863
|
workCmd.command("threads").description("Read a work item's general thread, its criterion threads and its source threads").requiredOption("--item <number>", "the item's number inside this factory").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").addHelpText(
|
|
4850
4864
|
"after",
|
|
4851
4865
|
`
|
|
@@ -4859,8 +4873,8 @@ that started outside OuterLayer, such as the line comments of a
|
|
|
4859
4873
|
GitHub review, each with its id, source and comments.
|
|
4860
4874
|
`
|
|
4861
4875
|
).action(async (opts) => {
|
|
4862
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4863
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4876
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-X65LS27O.js');
|
|
4877
|
+
const { WorkCommandError } = await import('./work-cmd-IEC6XKC6.js');
|
|
4864
4878
|
try {
|
|
4865
4879
|
await runWorkThreads(opts);
|
|
4866
4880
|
} catch (err) {
|
|
@@ -4884,8 +4898,8 @@ still running, or that an older runner released, has no log and the
|
|
|
4884
4898
|
command exits 1.
|
|
4885
4899
|
`
|
|
4886
4900
|
).action(async (opts) => {
|
|
4887
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
4888
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4901
|
+
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-FQH2UVMI.js');
|
|
4902
|
+
const { WorkCommandError } = await import('./work-cmd-IEC6XKC6.js');
|
|
4889
4903
|
try {
|
|
4890
4904
|
await runWorkLogs(opts);
|
|
4891
4905
|
} catch (err) {
|
|
@@ -4908,8 +4922,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
4908
4922
|
build is running for the item.
|
|
4909
4923
|
`
|
|
4910
4924
|
).action(async (opts) => {
|
|
4911
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
4912
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4925
|
+
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-ANPTSTYS.js');
|
|
4926
|
+
const { WorkCommandError } = await import('./work-cmd-IEC6XKC6.js');
|
|
4913
4927
|
try {
|
|
4914
4928
|
await runWorkStop(opts);
|
|
4915
4929
|
} catch (err) {
|
|
@@ -4930,8 +4944,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
|
|
|
4930
4944
|
test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
|
|
4931
4945
|
`
|
|
4932
4946
|
).action(async (opts) => {
|
|
4933
|
-
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-
|
|
4934
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4947
|
+
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-D7WGXJOC.js');
|
|
4948
|
+
const { WorkCommandError } = await import('./work-cmd-IEC6XKC6.js');
|
|
4935
4949
|
try {
|
|
4936
4950
|
await runWorkDemo(opts);
|
|
4937
4951
|
} catch (err) {
|
|
@@ -4952,7 +4966,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
4952
4966
|
live addition remains on it.
|
|
4953
4967
|
`
|
|
4954
4968
|
).action(async (opts) => {
|
|
4955
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
4969
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-IEC6XKC6.js');
|
|
4956
4970
|
try {
|
|
4957
4971
|
await runWorkRemove(opts);
|
|
4958
4972
|
} catch (err) {
|
|
@@ -4964,7 +4978,7 @@ live addition remains on it.
|
|
|
4964
4978
|
}
|
|
4965
4979
|
});
|
|
4966
4980
|
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-
|
|
4981
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-IEC6XKC6.js');
|
|
4968
4982
|
try {
|
|
4969
4983
|
await runWorkStatus(opts);
|
|
4970
4984
|
} catch (err) {
|
|
@@ -5009,11 +5023,11 @@ differs from HEAD.
|
|
|
5009
5023
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5010
5024
|
return;
|
|
5011
5025
|
}
|
|
5012
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5026
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-RKUGC2ML.js');
|
|
5013
5027
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5014
5028
|
});
|
|
5015
5029
|
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-
|
|
5030
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-IEC6XKC6.js');
|
|
5017
5031
|
try {
|
|
5018
5032
|
await runWorkList(opts);
|
|
5019
5033
|
} catch (err) {
|
|
@@ -5034,7 +5048,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
5034
5048
|
it. --host is a label only.
|
|
5035
5049
|
`
|
|
5036
5050
|
).action(async (opts) => {
|
|
5037
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
5051
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-HX7DGFY3.js');
|
|
5038
5052
|
try {
|
|
5039
5053
|
await runWorkClaim(opts);
|
|
5040
5054
|
} catch (err) {
|
|
@@ -5054,7 +5068,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5054
5068
|
lease has expired, or a 403 if a different key holds it.
|
|
5055
5069
|
`
|
|
5056
5070
|
).action(async (opts) => {
|
|
5057
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5071
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-HX7DGFY3.js');
|
|
5058
5072
|
try {
|
|
5059
5073
|
await runWorkRenew(opts);
|
|
5060
5074
|
} catch (err) {
|
|
@@ -5086,7 +5100,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5086
5100
|
takes the lease again.
|
|
5087
5101
|
`
|
|
5088
5102
|
).action(async (opts) => {
|
|
5089
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5103
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-HX7DGFY3.js');
|
|
5090
5104
|
try {
|
|
5091
5105
|
await runWorkRelease(opts);
|
|
5092
5106
|
} catch (err) {
|
|
@@ -5113,7 +5127,7 @@ Idempotent: declaring the same pull request twice is a no-op.
|
|
|
5113
5127
|
needs your own login; an agent session or a factory key is refused.
|
|
5114
5128
|
`
|
|
5115
5129
|
).action(async (number, opts) => {
|
|
5116
|
-
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-
|
|
5130
|
+
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-E55GPZKO.js');
|
|
5117
5131
|
try {
|
|
5118
5132
|
await runWorkPr({ ...opts, number });
|
|
5119
5133
|
} catch (err) {
|
|
@@ -5138,8 +5152,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
5138
5152
|
Run it again after a change to the title or description.
|
|
5139
5153
|
`
|
|
5140
5154
|
).action(async (opts) => {
|
|
5141
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
5142
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5155
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-EFAFERSF.js');
|
|
5156
|
+
const { WorkCommandError } = await import('./work-cmd-IEC6XKC6.js');
|
|
5143
5157
|
try {
|
|
5144
5158
|
await runWorkOpenPr(opts);
|
|
5145
5159
|
} catch (err) {
|
|
@@ -5155,8 +5169,8 @@ function registerRunnerCommands(program2) {
|
|
|
5155
5169
|
const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
|
|
5156
5170
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5157
5171
|
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-
|
|
5172
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-NVGVPL3L.js');
|
|
5173
|
+
const { start, RunnerStartError } = await import('./loop-4LW6GUXH.js');
|
|
5160
5174
|
const { RunnerAlreadyRunningError } = await import('./pidfile-FLFVRKVW.js');
|
|
5161
5175
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5162
5176
|
try {
|
|
@@ -5174,9 +5188,9 @@ function registerRunnerCommands(program2) {
|
|
|
5174
5188
|
"after",
|
|
5175
5189
|
"\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
5190
|
).action(async () => {
|
|
5177
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5178
|
-
const { containerStart } = await import('./container-start-
|
|
5179
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5191
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-NVGVPL3L.js');
|
|
5192
|
+
const { containerStart } = await import('./container-start-S6XLY7QF.js');
|
|
5193
|
+
const { start, RunnerStartError } = await import('./loop-4LW6GUXH.js');
|
|
5180
5194
|
const { RunnerAlreadyRunningError } = await import('./pidfile-FLFVRKVW.js');
|
|
5181
5195
|
try {
|
|
5182
5196
|
const result = await containerStart({
|
|
@@ -5198,16 +5212,16 @@ function registerRunnerCommands(program2) {
|
|
|
5198
5212
|
"after",
|
|
5199
5213
|
"\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
5214
|
).action(async (opts) => {
|
|
5201
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5215
|
+
const { defaultRunnerConfigPath } = await import('./config-NVGVPL3L.js');
|
|
5202
5216
|
const { runnerDir } = await import('./paths-XEYE7OZ2.js');
|
|
5203
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5217
|
+
const { runUpdateSteps } = await import('./update-steps-RHCWDCGL.js');
|
|
5204
5218
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5205
5219
|
process.stdout.write(`${text}
|
|
5206
5220
|
`);
|
|
5207
5221
|
});
|
|
5208
5222
|
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-
|
|
5223
|
+
const { defaultRunnerConfigPath } = await import('./config-NVGVPL3L.js');
|
|
5224
|
+
const { runRunnerCheck } = await import('./check-BG6MXUPH.js');
|
|
5211
5225
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5212
5226
|
const result = await runRunnerCheck(configPath);
|
|
5213
5227
|
if (!result.ok) {
|
|
@@ -5228,7 +5242,7 @@ function registerRunnerCommands(program2) {
|
|
|
5228
5242
|
`);
|
|
5229
5243
|
});
|
|
5230
5244
|
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-
|
|
5245
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-NVGVPL3L.js');
|
|
5232
5246
|
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-JKPXIOEY.js');
|
|
5233
5247
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5234
5248
|
if (opts.service !== true) {
|
|
@@ -5241,13 +5255,13 @@ function registerRunnerCommands(program2) {
|
|
|
5241
5255
|
}
|
|
5242
5256
|
}
|
|
5243
5257
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5244
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5258
|
+
if (buildCpusMax !== void 0 && !(await import('./command-AYXNOGIU.js')).cpusAreValid(buildCpusMax)) {
|
|
5245
5259
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5246
5260
|
return;
|
|
5247
5261
|
}
|
|
5248
5262
|
try {
|
|
5249
5263
|
if (opts.service === true) {
|
|
5250
|
-
const { installServiceCommand } = await import('./command-
|
|
5264
|
+
const { installServiceCommand } = await import('./command-AYXNOGIU.js');
|
|
5251
5265
|
const result2 = await installServiceCommand({
|
|
5252
5266
|
configPath,
|
|
5253
5267
|
print: opts.print,
|
|
@@ -5304,8 +5318,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5304
5318
|
fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
|
|
5305
5319
|
return;
|
|
5306
5320
|
}
|
|
5307
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5308
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5321
|
+
const { defaultRunnerConfigPath } = await import('./config-NVGVPL3L.js');
|
|
5322
|
+
const { uninstallServiceCommand } = await import('./command-AYXNOGIU.js');
|
|
5309
5323
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5310
5324
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5311
5325
|
`);
|
|
@@ -5332,12 +5346,12 @@ already in claude.env is used.
|
|
|
5332
5346
|
printf '%s' "$CLAUDE_CODE_OAUTH_TOKEN" | ${cliInvocation()} runner init --agent claude --factory <org>/<factory>
|
|
5333
5347
|
`
|
|
5334
5348
|
).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-
|
|
5349
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-NVGVPL3L.js');
|
|
5350
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-HEZDVJPU.js');
|
|
5351
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-BKMFJ7RA.js');
|
|
5352
|
+
const { detectMachine } = await import('./machine-23Y2EHH7.js');
|
|
5353
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-OOYCYL2C.js');
|
|
5354
|
+
const { AGENT_COMMANDS, credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-IDGTVTYW.js');
|
|
5341
5355
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5342
5356
|
if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
|
|
5343
5357
|
fail(`--agent ${opts.agent}: runner init writes commands for ${Object.keys(AGENT_COMMANDS).join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
|
|
@@ -5351,7 +5365,7 @@ already in claude.env is used.
|
|
|
5351
5365
|
try {
|
|
5352
5366
|
let credential;
|
|
5353
5367
|
if (agent !== void 0) {
|
|
5354
|
-
const { readPipedKey } = await import('./login-browser-
|
|
5368
|
+
const { readPipedKey } = await import('./login-browser-TWUHD2DS.js');
|
|
5355
5369
|
credential = credentialFromStdin(
|
|
5356
5370
|
await readPipedKey(process.stdin, {
|
|
5357
5371
|
onWaiting: () => process.stderr.write(`runner init is waiting for Claude's credential on stdin; close stdin to use the one already in claude.env
|
|
@@ -5487,7 +5501,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5487
5501
|
let serviceUp = false;
|
|
5488
5502
|
let restart;
|
|
5489
5503
|
if (installedLayout) {
|
|
5490
|
-
const { installServiceCommand } = await import('./command-
|
|
5504
|
+
const { installServiceCommand } = await import('./command-AYXNOGIU.js');
|
|
5491
5505
|
const service = await installServiceCommand({
|
|
5492
5506
|
configPath,
|
|
5493
5507
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5531,12 +5545,12 @@ Next:
|
|
|
5531
5545
|
"after",
|
|
5532
5546
|
"\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
5547
|
).action(async (opts) => {
|
|
5534
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5535
|
-
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-
|
|
5548
|
+
const { defaultRunnerConfigPath } = await import('./config-NVGVPL3L.js');
|
|
5549
|
+
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-GVNOXEDV.js');
|
|
5536
5550
|
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-
|
|
5551
|
+
const { createDockerHost } = await import('./docker-3AZ3ZFLA.js');
|
|
5552
|
+
const { builderSpec } = await import('./builder-QW6N3XBA.js');
|
|
5553
|
+
const { loadRunnerConfig } = await import('./config-NVGVPL3L.js');
|
|
5540
5554
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5541
5555
|
const loaded = (() => {
|
|
5542
5556
|
try {
|
|
@@ -5547,12 +5561,12 @@ Next:
|
|
|
5547
5561
|
})();
|
|
5548
5562
|
const memory = loaded?.build?.memory ?? "8g";
|
|
5549
5563
|
try {
|
|
5550
|
-
const { ensureRunnerIdentity } = await import('./runner-identity-
|
|
5564
|
+
const { ensureRunnerIdentity } = await import('./runner-identity-RJYVFQ5K.js');
|
|
5551
5565
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5552
5566
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5553
5567
|
});
|
|
5554
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5555
|
-
const { runnerCalls } = await import('./caller-
|
|
5568
|
+
const { imageTargetFor } = await import('./governing-source-7XCL3AYM.js');
|
|
5569
|
+
const { runnerCalls } = await import('./caller-TUO3VAKG.js');
|
|
5556
5570
|
const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
|
|
5557
5571
|
if (!target.ok) {
|
|
5558
5572
|
if (opts.json) {
|
|
@@ -5616,17 +5630,17 @@ Next:
|
|
|
5616
5630
|
}
|
|
5617
5631
|
});
|
|
5618
5632
|
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-
|
|
5633
|
+
const { defaultRunnerConfigPath } = await import('./config-NVGVPL3L.js');
|
|
5634
|
+
const { requestStop } = await import('./loop-4LW6GUXH.js');
|
|
5621
5635
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5622
5636
|
const { runnerImageVersion } = await import('./image-tag-WBD57QBN.js');
|
|
5623
5637
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
5624
5638
|
});
|
|
5625
5639
|
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-
|
|
5640
|
+
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-NVGVPL3L.js');
|
|
5627
5641
|
const { jobsDir, runnerDir } = await import('./paths-XEYE7OZ2.js');
|
|
5628
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5629
|
-
const { renderStatus } = await import('./status-
|
|
5642
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-4LW6GUXH.js');
|
|
5643
|
+
const { renderStatus } = await import('./status-WSQEUBOE.js');
|
|
5630
5644
|
const { readHousekeepingRecord } = await import('./record-JMZOXD4R.js');
|
|
5631
5645
|
const path2 = await import('path');
|
|
5632
5646
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -5652,7 +5666,7 @@ Next:
|
|
|
5652
5666
|
const processState = runnerProcessState(configPath);
|
|
5653
5667
|
const service = await (async () => {
|
|
5654
5668
|
if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
|
|
5655
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
5669
|
+
const { inspectRunnerService } = await import('./find-unit-CNYGB5AN.js');
|
|
5656
5670
|
const facts = inspectRunnerService(configPath);
|
|
5657
5671
|
return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
|
|
5658
5672
|
})();
|
|
@@ -5691,8 +5705,8 @@ Next:
|
|
|
5691
5705
|
);
|
|
5692
5706
|
});
|
|
5693
5707
|
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-
|
|
5708
|
+
const { defaultRunnerConfigPath } = await import('./config-NVGVPL3L.js');
|
|
5709
|
+
const { listJobFiles } = await import('./loop-4LW6GUXH.js');
|
|
5696
5710
|
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-FEITSC2V.js');
|
|
5697
5711
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5698
5712
|
const jobs = listJobFiles(configPath);
|
|
@@ -5947,7 +5961,7 @@ would get, the instruction files and the names of the skills. It warns when the
|
|
|
5947
5961
|
no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
|
|
5948
5962
|
`
|
|
5949
5963
|
).action(async (opts) => {
|
|
5950
|
-
const { runContextShow, ContextShowError } = await import('./context-show-cmd-
|
|
5964
|
+
const { runContextShow, ContextShowError } = await import('./context-show-cmd-XLER7QAI.js');
|
|
5951
5965
|
try {
|
|
5952
5966
|
const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
|
|
5953
5967
|
process.stdout.write(result.output);
|