@outerlayer/cli 0.38.0-next.20261107201723 → 0.38.0-next.20261108173145
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-J2C7PISK.js → agent-setup-PYMUWCRP.js} +18 -18
- package/dist/{agent-subcommand-YCRAD3QN.js → agent-subcommand-OCMCCFSB.js} +3 -3
- package/dist/{bridge-OCOPEDMR.js → bridge-YLEFQNIS.js} +6 -6
- package/dist/{build-MTMSLEOI.js → build-KLJ77WKQ.js} +12 -12
- package/dist/{build-disk-RY7QJCZP.js → build-disk-3L3SLREW.js} +10 -10
- package/dist/build-info.json +1 -1
- package/dist/{builder-P2D7PTXH.js → builder-XKYFIIFR.js} +9 -9
- package/dist/caller-SYFUJ4MP.js +23 -0
- package/dist/{check-YPDK7KPQ.js → check-QJZBJSEI.js} +52 -52
- package/dist/{chunk-DZPG7FOP.js → chunk-2DLAG5WR.js} +3 -3
- package/dist/{chunk-43XRQSWJ.js → chunk-2OD5IXRW.js} +4 -4
- package/dist/{chunk-5JFDNAVV.js → chunk-2Z7JU2LO.js} +1 -1
- package/dist/{chunk-7K63WET7.js → chunk-357XJHAI.js} +1 -1
- package/dist/{chunk-M6LQSXFY.js → chunk-3BMUYCRC.js} +1 -1
- package/dist/{chunk-QS35NUBD.js → chunk-4JU3ICKR.js} +4 -4
- package/dist/{chunk-Z7R5E2HV.js → chunk-4K6FPM2H.js} +4 -4
- package/dist/{chunk-M6OBO45P.js → chunk-4TP5PS75.js} +3 -3
- package/dist/{chunk-HYUO2OKW.js → chunk-6QKXP6FD.js} +1 -1
- package/dist/{chunk-DU76SWD7.js → chunk-7NQWXGC5.js} +4 -4
- package/dist/{chunk-66SD3GOA.js → chunk-7V2LUZA4.js} +5 -5
- package/dist/{chunk-LOEZWI7V.js → chunk-A6PS34NT.js} +7 -7
- package/dist/{chunk-YZKIVSIQ.js → chunk-ACPZJKSY.js} +5 -5
- package/dist/{chunk-EWDSVOX3.js → chunk-AI25ZRE3.js} +1 -1
- package/dist/{chunk-JBEGQDZH.js → chunk-ANDCQGUH.js} +2 -2
- package/dist/{chunk-J67VPST6.js → chunk-AOPMNZT5.js} +1 -1
- package/dist/{chunk-WINAPU5N.js → chunk-AORHEIAY.js} +25 -25
- package/dist/{chunk-7G5JZ4TH.js → chunk-CLTLDVGO.js} +1 -1
- package/dist/{chunk-3TRMPCCI.js → chunk-D4MF3VYW.js} +1 -1
- package/dist/{chunk-V3X5VM6A.js → chunk-DZIOUCMI.js} +2 -2
- package/dist/{chunk-T66LOXZB.js → chunk-EDQFP6WC.js} +1 -1
- package/dist/{chunk-PWVYGW2V.js → chunk-EMZHIR3I.js} +1 -1
- package/dist/{chunk-4VNSEQBZ.js → chunk-EVJCOO4S.js} +1 -1
- package/dist/{chunk-6XV37GYV.js → chunk-G6HGC7JH.js} +3 -3
- package/dist/{chunk-TZUHKFC6.js → chunk-ISNZJI45.js} +1 -1
- package/dist/{chunk-ZU6OBLU3.js → chunk-J56NXZPC.js} +4 -4
- package/dist/{chunk-EWRQ37X7.js → chunk-JZF5AA6N.js} +122 -17
- package/dist/{chunk-EEQECBHQ.js → chunk-KJA6Z3WV.js} +7 -7
- package/dist/{chunk-LC6UAHZ5.js → chunk-KLKMBHN4.js} +8 -8
- package/dist/{chunk-TDN3432V.js → chunk-KUVKEP7N.js} +1 -1
- package/dist/{chunk-FWIG3OAH.js → chunk-L2D465QT.js} +1 -1
- package/dist/{chunk-QQRWK5EX.js → chunk-LCZO4Y7A.js} +2 -2
- package/dist/{chunk-JUDCVMBV.js → chunk-LKSDYSAN.js} +5 -5
- package/dist/{chunk-VU4VSS7R.js → chunk-MI4IPK47.js} +10 -10
- package/dist/{chunk-KCHOHMSX.js → chunk-MKGLYKVW.js} +3 -3
- package/dist/{chunk-AZDDIZDE.js → chunk-MNWQT63C.js} +4 -4
- package/dist/{chunk-NDOJJGEK.js → chunk-N36RPTGJ.js} +8 -8
- package/dist/{chunk-6HLDZC44.js → chunk-N5PVMTR5.js} +5 -5
- package/dist/{chunk-44RGEXYN.js → chunk-N7ILSHWT.js} +3 -3
- package/dist/{chunk-HJ5MIJCQ.js → chunk-NAJYLQH3.js} +1 -1
- package/dist/{chunk-TVQTEICS.js → chunk-OZOLXCLE.js} +1 -1
- package/dist/{chunk-GRDJ3PIY.js → chunk-PAAJQSGI.js} +15 -15
- package/dist/{chunk-4VL4HT6D.js → chunk-PCJYDS7C.js} +1 -1
- package/dist/{chunk-BSP2BRL6.js → chunk-PT7JH3LM.js} +4 -4
- package/dist/{chunk-SIISSXA6.js → chunk-Q4FE47JA.js} +3 -3
- package/dist/{chunk-PY3KCLWJ.js → chunk-R7XFHG67.js} +5 -5
- package/dist/{chunk-CJQ7KWMT.js → chunk-RUBFKBGT.js} +1 -1
- package/dist/{chunk-TCIZ3VKP.js → chunk-SELIZ5DP.js} +1 -1
- package/dist/{chunk-ILMPYP3K.js → chunk-SLLLDS3C.js} +5 -5
- package/dist/{chunk-EUMGKMIV.js → chunk-SPGMETJ6.js} +6 -6
- package/dist/{chunk-63SCDN4P.js → chunk-SQILPZYC.js} +1 -1
- package/dist/{chunk-XFJMPO74.js → chunk-TUA57BFL.js} +1 -1
- package/dist/{chunk-7IRSSEMO.js → chunk-UILU5DEI.js} +1 -1
- package/dist/{chunk-XZP72AOD.js → chunk-UKYKWVZM.js} +7 -7
- package/dist/{chunk-TCI4V7QP.js → chunk-ULHJZ4HQ.js} +2 -2
- package/dist/{chunk-5XZC3UIR.js → chunk-UMEGPDPT.js} +1 -1
- package/dist/{chunk-XAYMVIQY.js → chunk-VUNNIYLD.js} +7 -7
- package/dist/{chunk-ENRSJPIS.js → chunk-WTUZDY5N.js} +4 -4
- package/dist/{chunk-ZFWP52L6.js → chunk-X6GNGB54.js} +2 -2
- package/dist/{chunk-7UEW7HXC.js → chunk-XGFXQRIO.js} +7 -7
- package/dist/{chunk-7NXDDSJI.js → chunk-XGY5XNTJ.js} +6 -6
- package/dist/{chunk-OGG5VWEZ.js → chunk-XJE67R7O.js} +1 -1
- package/dist/{chunk-Y2P3FT6G.js → chunk-XMW4DMHT.js} +8 -8
- package/dist/{chunk-NQ2NJLAL.js → chunk-Y4IY7NI2.js} +1 -1
- package/dist/{chunk-7XKAPGFQ.js → chunk-YPWMV3CQ.js} +1 -1
- package/dist/{chunk-RX24HRUS.js → chunk-YQ5NN522.js} +3 -3
- package/dist/{chunk-5CEGWBDI.js → chunk-ZACEJPSM.js} +4 -4
- package/dist/{chunk-Z6YIYLPX.js → chunk-ZFQ4XHLK.js} +5 -5
- package/dist/{chunk-GVDNSUP6.js → chunk-ZN3QHFYG.js} +27 -27
- package/dist/{claude-launcher-NTEWAXO7.js → claude-launcher-A2PB52O6.js} +6 -6
- package/dist/{cli-SOWJUTJL.js → cli-AKHLAZ2E.js} +144 -144
- package/dist/{command-QAYS7NQK.js → command-N2GCUMGT.js} +47 -47
- package/dist/{config-K5477PLJ.js → config-P6MQT7CU.js} +11 -11
- package/dist/{connect-cmd-NE75AUDR.js → connect-cmd-AECCKAP5.js} +10 -10
- package/dist/{container-start-KWBBXTWK.js → container-start-ZMDCAYED.js} +45 -45
- package/dist/{context-cleanup-FHYZICVI.js → context-cleanup-YMDLQ3PL.js} +3 -3
- package/dist/{context-show-cmd-53IEEMK4.js → context-show-cmd-KRWENGTR.js} +11 -11
- package/dist/{control-plane-launch-7GN73PIO.js → control-plane-launch-YRDBVQHE.js} +13 -13
- package/dist/{demo-record-cmd-AUL3OZMX.js → demo-record-cmd-J5XQAPMI.js} +7 -7
- package/dist/{demo-voice-cmd-DAP7MSYJ.js → demo-voice-cmd-VTRAXIFJ.js} +17 -17
- package/dist/{dist-B6QSEYVP.js → dist-MONMYZQI.js} +1 -1
- package/dist/{docker-6KNTLZCA.js → docker-54RFCNP4.js} +9 -9
- package/dist/{doctor-37TRXSNU.js → doctor-7BHA2MNM.js} +47 -47
- package/dist/{emit-artifact-cmd-2J3TQ652.js → emit-artifact-cmd-LNJHMF5X.js} +16 -16
- package/dist/{emit-cmd-2BYJIBRM.js → emit-cmd-Y2Y5CL3A.js} +6 -6
- package/dist/{emit-criteria-cmd-CNROEUA7.js → emit-criteria-cmd-7OTT6XYU.js} +13 -13
- package/dist/{emit-demo-cmd-TAVPUXNS.js → emit-demo-cmd-YPHFID3H.js} +17 -17
- package/dist/{emit-finding-cmd-T6UJLB74.js → emit-finding-cmd-XAAK2CGC.js} +13 -13
- package/dist/{emit-result-cmd-7P2VE2KQ.js → emit-result-cmd-BWUD4ROC.js} +15 -15
- package/dist/{emit-step-cmd-H65D6IPI.js → emit-step-cmd-GOUUJSSN.js} +13 -13
- package/dist/{exec-client-KCAOA7TU.js → exec-client-GIV4BDKO.js} +7 -7
- package/dist/find-unit-Y3WVYANJ.js +24 -0
- package/dist/{findings-cmd-73PY2SZK.js → findings-cmd-ZNZMNBCT.js} +13 -13
- package/dist/{fleet-readiness-DFXMIKTG.js → fleet-readiness-MKOTLDJM.js} +12 -12
- package/dist/{governing-source-2SXXRBDL.js → governing-source-KMQOZB7H.js} +18 -18
- package/dist/{guest-init-MGPZH5BA.js → guest-init-RDO2IE5C.js} +8 -8
- package/dist/{hook-fast-B4SR6P4L.js → hook-fast-IKXTT3OX.js} +1 -1
- package/dist/{hook-install-VRQNP45Z.js → hook-install-FUZ2Z3L4.js} +3 -3
- package/dist/host-checks-BIGATZFK.js +79 -0
- package/dist/{host-key-KIZM3HYT.js → host-key-GSXTEJA5.js} +7 -7
- package/dist/{image-tag-2WKQHVAX.js → image-tag-SJN4JJFB.js} +7 -7
- package/dist/index.js +4 -4
- package/dist/{init-GPGEXBDK.js → init-4E532UXE.js} +43 -43
- package/dist/init-LIX2CH7R.js +79 -0
- package/dist/{init-agent-W774Y5K7.js → init-agent-BQKYIMOG.js} +43 -43
- package/dist/{init-cmd-K6XA3YVH.js → init-cmd-O6AXPL6V.js} +24 -24
- package/dist/{init-update-NPS5FCL3.js → init-update-BEE32DYS.js} +21 -21
- package/dist/{install-cmd-VUHT3VRQ.js → install-cmd-Y33MOS4U.js} +9 -9
- package/dist/{layout-LUNPQEUV.js → layout-VTYYGLBF.js} +3 -3
- package/dist/{logs-HOMZHA2J.js → logs-D6VDVMWB.js} +6 -6
- package/dist/loop-DCQM2ASM.js +90 -0
- package/dist/machine-JHJNESJD.js +79 -0
- package/dist/{machine-skills-775ZQVO6.js → machine-skills-BXKXRG6F.js} +3 -3
- package/dist/{mcp-install-cmd-ULHE6OSG.js → mcp-install-cmd-DAU25PTN.js} +3 -3
- package/dist/{mcp-serve-cmd-Y4BJLFGW.js → mcp-serve-cmd-WI2TVERC.js} +8 -8
- package/dist/{paths-JK5BDRCA.js → paths-XSZV6RIP.js} +6 -6
- package/dist/pending-DZI33SGU.js +18 -0
- package/dist/{pidfile-5L3BHW44.js → pidfile-ZXYUJUD2.js} +7 -7
- package/dist/{record-4CSZUOA5.js → record-KTFMHAAJ.js} +7 -7
- package/dist/{relay-XWNOQOER.js → relay-LE7ORFOR.js} +4 -4
- package/dist/{relay-protocol-IZ3TCHPP.js → relay-protocol-MJKBXBGB.js} +4 -4
- package/dist/{runner-agents-MMDKTRAS.js → runner-agents-SVCAGQHJ.js} +3 -3
- package/dist/{runner-env-ORVI32Q5.js → runner-env-Q6OGDJAI.js} +13 -13
- package/dist/{runner-identity-ODXVKSHY.js → runner-identity-NEIPECZQ.js} +9 -9
- package/dist/{runner-key-TLJ5TEPF.js → runner-key-2Y7CCC47.js} +43 -43
- package/dist/{session-sender-WHVEJ2NF.js → session-sender-JF4UZHMV.js} +16 -16
- package/dist/{spec-cmd-L3SW3H5X.js → spec-cmd-76WIDFVM.js} +14 -14
- package/dist/{starter-pack-7ZXZ3HTU.js → starter-pack-HNBEDTIH.js} +4 -4
- package/dist/{state-PX6MYPNS.js → state-REW53DKI.js} +7 -7
- package/dist/{status-Z67DMNTP.js → status-X5HHMQJT.js} +43 -43
- package/dist/{sync-cmd-TQ3BD33X.js → sync-cmd-2PU64AZ3.js} +15 -15
- package/dist/update-steps-4EEACZAD.js +80 -0
- package/dist/{watch-LPZSKT3Y.js → watch-6C4G5JOF.js} +15 -15
- package/dist/{work-claim-cmd-FE4ODVDB.js → work-claim-cmd-YYUNJGFI.js} +19 -19
- package/dist/{work-cmd-QLCNL3HL.js → work-cmd-4CK4W3N5.js} +13 -13
- package/dist/{work-comment-cmd-MDZNZZKD.js → work-comment-cmd-C52THEHZ.js} +15 -15
- package/dist/{work-demo-cmd-TZBULOWF.js → work-demo-cmd-MJQ6USSW.js} +13 -13
- package/dist/{work-logs-cmd-CBORQ32A.js → work-logs-cmd-UYJZBCLC.js} +13 -13
- package/dist/{work-needs-attention-cmd-LUEQZL5I.js → work-needs-attention-cmd-HEVZ5RHU.js} +13 -13
- package/dist/{work-no-change-cmd-F3PJIXYP.js → work-no-change-cmd-LFMIGD2R.js} +13 -13
- package/dist/{work-open-pr-cmd-ZS3K4IJE.js → work-open-pr-cmd-XSGPLXZA.js} +14 -14
- package/dist/{work-pr-cmd-DUIN47NH.js → work-pr-cmd-YCBNEEI3.js} +13 -13
- package/dist/{work-proofs-cmd-RTJQ7EJH.js → work-proofs-cmd-HYVXSWM7.js} +15 -15
- package/dist/{work-proofs-record-6OSVH4BS.js → work-proofs-record-76PL2Y2Y.js} +21 -21
- package/dist/{work-stop-cmd-6EMQJ4OJ.js → work-stop-cmd-IMFJIH6B.js} +13 -13
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-amend/SKILL.md +3 -3
- package/skill-pack/maintained/outerlayer-build/SKILL.md +2 -3
- package/dist/caller-BJPVYCSM.js +0 -23
- package/dist/find-unit-DL6CINZ6.js +0 -24
- package/dist/host-checks-PPFAN2OO.js +0 -79
- package/dist/init-LXVIFOLL.js +0 -79
- package/dist/loop-3QPUE7VG.js +0 -90
- package/dist/machine-4M2HLTSH.js +0 -79
- package/dist/pending-VFF4H3QR.js +0 -18
- package/dist/update-steps-IE255NF7.js +0 -80
|
@@ -1,50 +1,50 @@
|
|
|
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-
|
|
5
|
-
import { verifiedTrackerNames, TRACKERS } from './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
3
|
+
import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-PAAJQSGI.js';
|
|
4
|
+
import './chunk-R7XFHG67.js';
|
|
5
|
+
import { verifiedTrackerNames, TRACKERS } from './chunk-XGFXQRIO.js';
|
|
6
|
+
import './chunk-PCJYDS7C.js';
|
|
7
|
+
import './chunk-MKGLYKVW.js';
|
|
8
|
+
import './chunk-N5PVMTR5.js';
|
|
9
|
+
import './chunk-357XJHAI.js';
|
|
10
|
+
import './chunk-UMEGPDPT.js';
|
|
11
|
+
import './chunk-LCZO4Y7A.js';
|
|
12
|
+
import './chunk-7NQWXGC5.js';
|
|
13
13
|
import './chunk-OCQ5FQZR.js';
|
|
14
|
-
import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-
|
|
14
|
+
import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-Y4IY7NI2.js';
|
|
15
15
|
import './chunk-2KL345FW.js';
|
|
16
16
|
import './chunk-A2LHHKTT.js';
|
|
17
17
|
import { C, warnDeprecated, API_KEY_FLAG_DEPRECATION, NO_COLOR_FLAG, stripNoColor } from './chunk-2AM6Z5BP.js';
|
|
18
|
-
import './chunk-
|
|
19
|
-
import './chunk-
|
|
18
|
+
import './chunk-EVJCOO4S.js';
|
|
19
|
+
import './chunk-TUA57BFL.js';
|
|
20
20
|
import './chunk-HWVMRETT.js';
|
|
21
|
-
import './chunk-
|
|
22
|
-
import './chunk-
|
|
23
|
-
import './chunk-
|
|
24
|
-
import './chunk-
|
|
25
|
-
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-
|
|
21
|
+
import './chunk-NAJYLQH3.js';
|
|
22
|
+
import './chunk-AI25ZRE3.js';
|
|
23
|
+
import './chunk-ZACEJPSM.js';
|
|
24
|
+
import './chunk-DZIOUCMI.js';
|
|
25
|
+
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-Q4FE47JA.js';
|
|
26
26
|
import './chunk-545P7JY7.js';
|
|
27
27
|
import './chunk-SF2TBJBP.js';
|
|
28
28
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
29
29
|
import './chunk-M53UNEO6.js';
|
|
30
30
|
import './chunk-BKO6JEZI.js';
|
|
31
|
-
import './chunk-
|
|
31
|
+
import './chunk-CLTLDVGO.js';
|
|
32
32
|
import './chunk-NFZMENCY.js';
|
|
33
33
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
34
34
|
import { cliInvocation, packageRunnerOf } from './chunk-FZKNTIOJ.js';
|
|
35
|
-
import { installAgents, settingsFileOf, withSettingsText } from './chunk-
|
|
35
|
+
import { installAgents, settingsFileOf, withSettingsText } from './chunk-RUBFKBGT.js';
|
|
36
36
|
import { cliForInstall, SettingsParseError, PORTABLE_BIN, writeSettingsText, cliBinResolvable } from './chunk-ZHQC43NH.js';
|
|
37
|
-
import './chunk-
|
|
37
|
+
import './chunk-SQILPZYC.js';
|
|
38
38
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
39
39
|
import { removeJournalHooks, removePreCommitGuardHook } from './chunk-CJPTUU2E.js';
|
|
40
|
-
import { headlessNames, credentialForms, runnerAgentNamed, credentialAgent, runnerAgents, orList, credentialShapes } from './chunk-
|
|
41
|
-
import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-
|
|
40
|
+
import { headlessNames, credentialForms, runnerAgentNamed, credentialAgent, runnerAgents, orList, credentialShapes } from './chunk-2Z7JU2LO.js';
|
|
41
|
+
import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-AOPMNZT5.js';
|
|
42
42
|
import './chunk-PLVHIQJN.js';
|
|
43
43
|
import './chunk-7PZDPISM.js';
|
|
44
44
|
import './chunk-CDDED64E.js';
|
|
45
45
|
import { resolveVersion, resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
46
46
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
47
|
-
import './chunk-
|
|
47
|
+
import './chunk-JZF5AA6N.js';
|
|
48
48
|
import './chunk-2VNT47DG.js';
|
|
49
49
|
import './chunk-Z5GEFMRW.js';
|
|
50
50
|
import { EventEmitter } from 'events';
|
|
@@ -3659,14 +3659,14 @@ function apiKeyOption() {
|
|
|
3659
3659
|
return new Option("--api-key <key>", `deprecated: use \`${cliInvocation()} login\` or OUTERLAYER_API_KEY`).hideHelp();
|
|
3660
3660
|
}
|
|
3661
3661
|
async function installStarterPackInRepo() {
|
|
3662
|
-
const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-
|
|
3662
|
+
const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-HNBEDTIH.js');
|
|
3663
3663
|
const cwd = process.cwd();
|
|
3664
3664
|
let repoRoot = cwd;
|
|
3665
3665
|
try {
|
|
3666
3666
|
repoRoot = execFileSync("git", ["rev-parse", "--show-toplevel"], { cwd, encoding: "utf8", stdio: ["ignore", "pipe", "ignore"] }).trim() || cwd;
|
|
3667
3667
|
} catch {
|
|
3668
3668
|
}
|
|
3669
|
-
const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-
|
|
3669
|
+
const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-VTYYGLBF.js');
|
|
3670
3670
|
const fresh = !isAgentsMdLayout(repoRoot) && !existsSync(join(repoRoot, ".outerlayer/skills")) && !existsSync(join(repoRoot, ".outerlayer/AGENTS.md"));
|
|
3671
3671
|
const result = installStarterPack({ repoRoot, base: fresh ? ".agents/skills" : skillsBaseFor(repoRoot) });
|
|
3672
3672
|
if (fresh) declareAgentsMdLayout(repoRoot);
|
|
@@ -3809,7 +3809,7 @@ ${starter.output}`),
|
|
|
3809
3809
|
}
|
|
3810
3810
|
}
|
|
3811
3811
|
async function installMachineSkillsForSetup() {
|
|
3812
|
-
const { setupMachineSkills } = await import('./machine-skills-
|
|
3812
|
+
const { setupMachineSkills } = await import('./machine-skills-BXKXRG6F.js');
|
|
3813
3813
|
const result = setupMachineSkills(homeFromEnv());
|
|
3814
3814
|
for (const failure of result.failures) process.stderr.write(`${C.yellow}!${C.reset} Could not write a maintained skill: ${failure}
|
|
3815
3815
|
`);
|
|
@@ -3817,8 +3817,8 @@ async function installMachineSkillsForSetup() {
|
|
|
3817
3817
|
` : "";
|
|
3818
3818
|
}
|
|
3819
3819
|
async function realConnectDepsForCwd() {
|
|
3820
|
-
const { realConnectDeps } = await import('./connect-cmd-
|
|
3821
|
-
const { resolveRepoIdentity } = await import('./dist-
|
|
3820
|
+
const { realConnectDeps } = await import('./connect-cmd-AECCKAP5.js');
|
|
3821
|
+
const { resolveRepoIdentity } = await import('./dist-MONMYZQI.js');
|
|
3822
3822
|
return {
|
|
3823
3823
|
...realConnectDeps(),
|
|
3824
3824
|
home: homeFromEnv(),
|
|
@@ -3835,7 +3835,7 @@ function buildProgram(argv = process.argv) {
|
|
|
3835
3835
|
const program2 = new Command();
|
|
3836
3836
|
program2.name(cliInvocation()).description("OuterLayer \u2014 see what your coding agents actually do").enablePositionalOptions().version(resolveVersion()).hook("preAction", async (_root, command) => {
|
|
3837
3837
|
if (command.opts().apiKey !== void 0) warnDeprecated(API_KEY_FLAG_DEPRECATION);
|
|
3838
|
-
const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-
|
|
3838
|
+
const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-BXKXRG6F.js');
|
|
3839
3839
|
const names = [];
|
|
3840
3840
|
for (let at = command; at?.parent; at = at.parent) names.push(at.name());
|
|
3841
3841
|
if (!machineRefreshSkipped(names, command._hidden === true, argv)) refreshMachineSkills(homeFromEnv());
|
|
@@ -3892,8 +3892,8 @@ build, ../outerlayer-build/SKILL.md becomes ~/.agents/skills/outerlayer-build/SK
|
|
|
3892
3892
|
what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocation() + " doctor` reports the same\nstates under Starter files.\n"
|
|
3893
3893
|
).action(async (opts) => {
|
|
3894
3894
|
if (opts.update || opts.dryRun) {
|
|
3895
|
-
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-
|
|
3896
|
-
const { fleetReadiness } = await import('./fleet-readiness-
|
|
3895
|
+
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-BEE32DYS.js');
|
|
3896
|
+
const { fleetReadiness } = await import('./fleet-readiness-MKOTLDJM.js');
|
|
3897
3897
|
const problem = updateFlagProblem(opts);
|
|
3898
3898
|
if (problem !== void 0) {
|
|
3899
3899
|
fail(problem);
|
|
@@ -3910,7 +3910,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3910
3910
|
}
|
|
3911
3911
|
let starterTemplate;
|
|
3912
3912
|
if (opts.template !== void 0) {
|
|
3913
|
-
const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-
|
|
3913
|
+
const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-HNBEDTIH.js');
|
|
3914
3914
|
try {
|
|
3915
3915
|
assertKnownTemplate(opts.template);
|
|
3916
3916
|
} catch (err) {
|
|
@@ -3944,13 +3944,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3944
3944
|
if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
|
|
3945
3945
|
`);
|
|
3946
3946
|
}
|
|
3947
|
-
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-
|
|
3947
|
+
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-O6AXPL6V.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
|
|
3948
3948
|
if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
|
|
3949
3949
|
else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
|
|
3950
3950
|
return;
|
|
3951
3951
|
}
|
|
3952
3952
|
await installMachineSkillsForSetup();
|
|
3953
|
-
const { runInitCommand } = await import('./init-cmd-
|
|
3953
|
+
const { runInitCommand } = await import('./init-cmd-O6AXPL6V.js');
|
|
3954
3954
|
const code = await runInitCommand(
|
|
3955
3955
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3956
3956
|
{
|
|
@@ -3962,7 +3962,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3962
3962
|
return { ok, text, detail };
|
|
3963
3963
|
},
|
|
3964
3964
|
runAgentSetup: async () => {
|
|
3965
|
-
const { runAgentSetup } = await import('./agent-setup-
|
|
3965
|
+
const { runAgentSetup } = await import('./agent-setup-PYMUWCRP.js');
|
|
3966
3966
|
return runAgentSetup({ cwd: process.cwd(), skillsLink: opts.skillsLink !== false });
|
|
3967
3967
|
},
|
|
3968
3968
|
runDoctorChecks: gatherDoctorChecks,
|
|
@@ -3971,7 +3971,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3971
3971
|
shellPath: process.env.SHELL,
|
|
3972
3972
|
interactive: Boolean(process.stdin.isTTY && process.stderr.isTTY) && opts.json !== true,
|
|
3973
3973
|
ask: async () => {
|
|
3974
|
-
const { promptOnTerminal } = await import('./connect-cmd-
|
|
3974
|
+
const { promptOnTerminal } = await import('./connect-cmd-AECCKAP5.js');
|
|
3975
3975
|
const answer = await promptOnTerminal({
|
|
3976
3976
|
message: `Should plain claude start Claude Code through ${cliInvocation()} claude? That is how a session in a governed repository gets its control plane. It adds one block to your zsh or bash startup file.`,
|
|
3977
3977
|
options: [
|
|
@@ -4010,7 +4010,7 @@ linked (true, false, or null when it could not be checked) and, when false,
|
|
|
4010
4010
|
linkUrl.
|
|
4011
4011
|
`
|
|
4012
4012
|
).action(async (opts) => {
|
|
4013
|
-
const { runConnectCommand } = await import('./connect-cmd-
|
|
4013
|
+
const { runConnectCommand } = await import('./connect-cmd-AECCKAP5.js');
|
|
4014
4014
|
const code = await runConnectCommand({ factory: opts.factory, json: opts.json }, await realConnectDepsForCwd(), {
|
|
4015
4015
|
stdout: process.stdout,
|
|
4016
4016
|
stderr: process.stderr
|
|
@@ -4092,7 +4092,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4092
4092
|
else fail(found.reason);
|
|
4093
4093
|
return;
|
|
4094
4094
|
}
|
|
4095
|
-
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-
|
|
4095
|
+
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-2PU64AZ3.js');
|
|
4096
4096
|
try {
|
|
4097
4097
|
const result = await runSync({
|
|
4098
4098
|
url: opts.url,
|
|
@@ -4121,7 +4121,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4121
4121
|
if (invokedCommandToken(argv) === "watch") {
|
|
4122
4122
|
warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
|
|
4123
4123
|
}
|
|
4124
|
-
const { runWatch } = await import('./watch-
|
|
4124
|
+
const { runWatch } = await import('./watch-6C4G5JOF.js');
|
|
4125
4125
|
await runWatch({ once: opts.once });
|
|
4126
4126
|
});
|
|
4127
4127
|
program2.command("hook <event>", { hidden: true }).description("capture-hook fast path, installed by `init`").option("--agent <id>", "the agent that sent the event; with none, Claude Code").action(() => {
|
|
@@ -4136,8 +4136,8 @@ code is 1: revoke the token on /profile/security.
|
|
|
4136
4136
|
});
|
|
4137
4137
|
}
|
|
4138
4138
|
const brokerRelay = program2.command("broker-relay", { hidden: true }).description("relay a build's loopback connections to the runner's tunnel and destinations").enablePositionalOptions().option("--port <port>", "the loopback port to listen on").option("--socket <path>", "the runner's tunnel socket").option("--join <path>", "the socket the runner's joining process connects to").option("--lease-watchdog", "exit when the runner's lease expiry passes; needs --join").option("--join-ws <port>", "also take the runner's session over a WebSocket on this port").option("--join-secret-file <path>", "the secret a WebSocket join sends first; needs --join-ws").option("--forward <port=target>", "also relay a loopback port to a destination; repeatable", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
4139
|
-
const { startRelay, startSessionRelay } = await import('./relay-
|
|
4140
|
-
const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-
|
|
4139
|
+
const { startRelay, startSessionRelay } = await import('./relay-LE7ORFOR.js');
|
|
4140
|
+
const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-MJKBXBGB.js');
|
|
4141
4141
|
const port = Number(opts.port);
|
|
4142
4142
|
if (!Number.isInteger(port) || port < 1 || port > 65535) {
|
|
4143
4143
|
fail(opts.port === void 0 ? "--port is required" : `--port must be a port number, not ${opts.port}`);
|
|
@@ -4175,7 +4175,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4175
4175
|
await startRelay({ port, socketPath: opts.socket, forwards: forwards.map((forward) => ({ port: forward.port, socketPath: forward.spec })) });
|
|
4176
4176
|
});
|
|
4177
4177
|
brokerRelay.command("join").description("carry the runner's session to the relay over standard input and output").option("--socket <path>", "the relay's joining socket", "/run/outerlayer-relay/join.sock").action(async (opts) => {
|
|
4178
|
-
const { joinRelay } = await import('./relay-
|
|
4178
|
+
const { joinRelay } = await import('./relay-LE7ORFOR.js');
|
|
4179
4179
|
try {
|
|
4180
4180
|
await joinRelay({ socketPath: opts.socket, input: process.stdin, output: process.stdout });
|
|
4181
4181
|
} catch (err) {
|
|
@@ -4191,7 +4191,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4191
4191
|
}
|
|
4192
4192
|
});
|
|
4193
4193
|
program2.command("vm-exec", { hidden: true }).description("run a command in a microVM build's guest through its exec agent").requiredOption("--socket <path>", "the Unix socket Firecracker serves the build's vsock device on").option("--user <user>", "the user to run as", "").option("--cwd <dir>", "the working directory", "/").option("--env <NAME=value>", "an environment value the command line carries; repeatable", (value, previous) => [...previous, value], []).option("--pass <NAME>", "an environment variable whose value is read from this process; repeatable", (value, previous) => [...previous, value], []).argument("<argv...>", "the command and its arguments").action(async (argv2, opts) => {
|
|
4194
|
-
const { runVmExec } = await import('./exec-client-
|
|
4194
|
+
const { runVmExec } = await import('./exec-client-GIV4BDKO.js');
|
|
4195
4195
|
const env = {};
|
|
4196
4196
|
for (const entry of opts.env) {
|
|
4197
4197
|
const eq = entry.indexOf("=");
|
|
@@ -4220,7 +4220,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4220
4220
|
process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
|
|
4221
4221
|
});
|
|
4222
4222
|
program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
|
|
4223
|
-
const { runSessionSender } = await import('./session-sender-
|
|
4223
|
+
const { runSessionSender } = await import('./session-sender-JF4UZHMV.js');
|
|
4224
4224
|
try {
|
|
4225
4225
|
await runSessionSender();
|
|
4226
4226
|
} catch (err) {
|
|
@@ -4228,7 +4228,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4228
4228
|
}
|
|
4229
4229
|
});
|
|
4230
4230
|
program2.command("vm-init", { hidden: true }).description("lay out a microVM build's guest; the guest helper runs it").action(async () => {
|
|
4231
|
-
const { realGuestHost, runGuestInit } = await import('./guest-init-
|
|
4231
|
+
const { realGuestHost, runGuestInit } = await import('./guest-init-RDO2IE5C.js');
|
|
4232
4232
|
const { readFileSync: readFileSync3 } = await import('fs');
|
|
4233
4233
|
try {
|
|
4234
4234
|
runGuestInit(realGuestHost(), readFileSync3("/proc/cmdline", "utf8"));
|
|
@@ -4237,7 +4237,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4237
4237
|
}
|
|
4238
4238
|
});
|
|
4239
4239
|
program2.command("vm-forward", { hidden: true }).description("pipe a guest port to another; vm-init runs it").requiredOption("--listen <host:port>", "the address to listen on").requiredOption("--to <host:port>", "the address to pipe each connection to").action(async (opts) => {
|
|
4240
|
-
const { startBridgeForward } = await import('./bridge-
|
|
4240
|
+
const { startBridgeForward } = await import('./bridge-YLEFQNIS.js');
|
|
4241
4241
|
try {
|
|
4242
4242
|
await startBridgeForward(opts);
|
|
4243
4243
|
} catch (err) {
|
|
@@ -4263,7 +4263,7 @@ async function runCli(processArgv) {
|
|
|
4263
4263
|
await buildProgram(argv).parseAsync(argv);
|
|
4264
4264
|
}
|
|
4265
4265
|
async function compileContext(opts) {
|
|
4266
|
-
const { runEmit, EmitError } = await import('./emit-cmd-
|
|
4266
|
+
const { runEmit, EmitError } = await import('./emit-cmd-Y2Y5CL3A.js');
|
|
4267
4267
|
try {
|
|
4268
4268
|
const result = runEmit({ cwd: opts.dir, check: opts.check, json: opts.json });
|
|
4269
4269
|
if (result.exitCode !== 0) process.exitCode = result.exitCode;
|
|
@@ -4316,7 +4316,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
|
|
|
4316
4316
|
await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
|
|
4317
4317
|
return;
|
|
4318
4318
|
}
|
|
4319
|
-
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-
|
|
4319
|
+
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-BWUD4ROC.js');
|
|
4320
4320
|
try {
|
|
4321
4321
|
const result = await runEmitResult({
|
|
4322
4322
|
name,
|
|
@@ -4368,7 +4368,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
|
|
|
4368
4368
|
locally so it never uploads. One correction can retire several duplicates.
|
|
4369
4369
|
`
|
|
4370
4370
|
).action(async (file, opts) => {
|
|
4371
|
-
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-
|
|
4371
|
+
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-LNJHMF5X.js');
|
|
4372
4372
|
let pr;
|
|
4373
4373
|
if (opts.pr !== void 0) {
|
|
4374
4374
|
pr = parseTrackerNumber(opts.pr);
|
|
@@ -4424,7 +4424,7 @@ its criterion, and the new record retires the old record. The id must be the ite
|
|
|
4424
4424
|
as \`work demo --item <n> --json\` prints it.
|
|
4425
4425
|
`
|
|
4426
4426
|
).action(async (manifest, opts) => {
|
|
4427
|
-
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-
|
|
4427
|
+
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-YPHFID3H.js');
|
|
4428
4428
|
let item;
|
|
4429
4429
|
if (opts.item !== void 0) {
|
|
4430
4430
|
item = parseTrackerNumber(opts.item);
|
|
@@ -4467,7 +4467,7 @@ as \`work demo --item <n> --json\` prints it.
|
|
|
4467
4467
|
}
|
|
4468
4468
|
});
|
|
4469
4469
|
program2.command("demo-voice", { hidden: true }).description("Speak demo lines for a recorder: JSON lines in on stdin, out on stdout").action(async () => {
|
|
4470
|
-
const { runDemoVoice } = await import('./demo-voice-cmd-
|
|
4470
|
+
const { runDemoVoice } = await import('./demo-voice-cmd-VTRAXIFJ.js');
|
|
4471
4471
|
await runDemoVoice();
|
|
4472
4472
|
});
|
|
4473
4473
|
const demoCmd = program2.command("demo").description("Record demos with the recorder this CLI carries");
|
|
@@ -4485,7 +4485,7 @@ and the command prints the manifest's path for \`emit demo\`. Under \`work proof
|
|
|
4485
4485
|
to OUTERLAYER_PROOF_OUT instead. Exit 1 means the demo's test failed; its manifest is written all the same.
|
|
4486
4486
|
`
|
|
4487
4487
|
).action(async (file, opts) => {
|
|
4488
|
-
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-
|
|
4488
|
+
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-J5XQAPMI.js');
|
|
4489
4489
|
try {
|
|
4490
4490
|
const result = await runDemoRecord({
|
|
4491
4491
|
file,
|
|
@@ -4534,7 +4534,7 @@ recent events with their ids. --find <text> searches all of them.
|
|
|
4534
4534
|
item that session was launched for is used automatically.
|
|
4535
4535
|
`
|
|
4536
4536
|
).action(async (opts) => {
|
|
4537
|
-
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4537
|
+
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-XAAK2CGC.js');
|
|
4538
4538
|
try {
|
|
4539
4539
|
refuseRemovedFindingFlags(opts);
|
|
4540
4540
|
const result = await runEmitFinding({
|
|
@@ -4601,7 +4601,7 @@ the whole batch. "untimed": true records one with no time on purpose.
|
|
|
4601
4601
|
that session was launched for is used automatically.
|
|
4602
4602
|
`
|
|
4603
4603
|
).action(async (file, opts) => {
|
|
4604
|
-
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4604
|
+
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-XAAK2CGC.js');
|
|
4605
4605
|
try {
|
|
4606
4606
|
const result = await runEmitFindings({
|
|
4607
4607
|
file,
|
|
@@ -4636,7 +4636,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
|
|
|
4636
4636
|
the step, the command prints why and exits 1.
|
|
4637
4637
|
`
|
|
4638
4638
|
).action(async (name, opts) => {
|
|
4639
|
-
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-
|
|
4639
|
+
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-GOUUJSSN.js');
|
|
4640
4640
|
try {
|
|
4641
4641
|
await runEmitStep({
|
|
4642
4642
|
name,
|
|
@@ -4679,7 +4679,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
|
|
|
4679
4679
|
${cliInvocation()} emit criteria acceptance/412-login.md --item 412
|
|
4680
4680
|
`
|
|
4681
4681
|
).action(async (file, opts) => {
|
|
4682
|
-
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-
|
|
4682
|
+
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-7OTT6XYU.js');
|
|
4683
4683
|
try {
|
|
4684
4684
|
const result = await runEmitCriteria({
|
|
4685
4685
|
file,
|
|
@@ -4703,9 +4703,9 @@ function registerSpecCommands(program2) {
|
|
|
4703
4703
|
const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
|
|
4704
4704
|
const credentialOptions = (command) => command.option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)");
|
|
4705
4705
|
const run = async (action) => {
|
|
4706
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4706
|
+
const { WorkCommandError } = await import('./work-cmd-4CK4W3N5.js');
|
|
4707
4707
|
try {
|
|
4708
|
-
await action(await import('./spec-cmd-
|
|
4708
|
+
await action(await import('./spec-cmd-76WIDFVM.js'));
|
|
4709
4709
|
} catch (err) {
|
|
4710
4710
|
if (err instanceof WorkCommandError) {
|
|
4711
4711
|
fail(err.message);
|
|
@@ -4740,7 +4740,7 @@ Prints each problem the item covers with its id, its reports and its result.
|
|
|
4740
4740
|
session was launched for is used.
|
|
4741
4741
|
`
|
|
4742
4742
|
).action(async (opts) => {
|
|
4743
|
-
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-
|
|
4743
|
+
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-ZNZMNBCT.js');
|
|
4744
4744
|
try {
|
|
4745
4745
|
const result = await runFindingsShow({
|
|
4746
4746
|
item: opts.item,
|
|
@@ -4768,7 +4768,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
|
|
|
4768
4768
|
problem to replace the earlier result. A problem the item does not cover is refused.
|
|
4769
4769
|
`
|
|
4770
4770
|
).action(async (problem, opts) => {
|
|
4771
|
-
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-
|
|
4771
|
+
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-ZNZMNBCT.js');
|
|
4772
4772
|
try {
|
|
4773
4773
|
const result = await runFindingsResult({
|
|
4774
4774
|
problem,
|
|
@@ -4811,7 +4811,7 @@ takes it, and prints the line that starts your session on it. That
|
|
|
4811
4811
|
session links itself and holds the item's lease while it works.
|
|
4812
4812
|
`
|
|
4813
4813
|
).action(async (opts) => {
|
|
4814
|
-
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-
|
|
4814
|
+
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-4CK4W3N5.js');
|
|
4815
4815
|
try {
|
|
4816
4816
|
await runWorkBuild(opts);
|
|
4817
4817
|
} catch (err) {
|
|
@@ -4834,7 +4834,7 @@ renews that session's own 20-minute lease, unless --no-lease or
|
|
|
4834
4834
|
--ended is given, or another worker already holds a live one.
|
|
4835
4835
|
`
|
|
4836
4836
|
).action(async (number, opts) => {
|
|
4837
|
-
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-
|
|
4837
|
+
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-4CK4W3N5.js');
|
|
4838
4838
|
try {
|
|
4839
4839
|
await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
|
|
4840
4840
|
} catch (err) {
|
|
@@ -4865,8 +4865,8 @@ thread at its source. It takes a plain answer: no --criterion and no
|
|
|
4865
4865
|
action flag.
|
|
4866
4866
|
`
|
|
4867
4867
|
).action(async (opts) => {
|
|
4868
|
-
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4869
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4868
|
+
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-C52THEHZ.js');
|
|
4869
|
+
const { WorkCommandError } = await import('./work-cmd-4CK4W3N5.js');
|
|
4870
4870
|
try {
|
|
4871
4871
|
await runWorkComment(opts);
|
|
4872
4872
|
} catch (err) {
|
|
@@ -4888,7 +4888,7 @@ nothing and exits 0 when the call fails: the line goes to hook-errors.log,
|
|
|
4888
4888
|
and the comment waits for the next agent job.
|
|
4889
4889
|
`
|
|
4890
4890
|
).action(async (ids, opts) => {
|
|
4891
|
-
const { runWorkCommentsRead } = await import('./work-comment-cmd-
|
|
4891
|
+
const { runWorkCommentsRead } = await import('./work-comment-cmd-C52THEHZ.js');
|
|
4892
4892
|
await runWorkCommentsRead({ ...opts, commentIds: ids });
|
|
4893
4893
|
});
|
|
4894
4894
|
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(
|
|
@@ -4904,8 +4904,8 @@ that started outside OuterLayer, such as the line comments of a
|
|
|
4904
4904
|
GitHub review, each with its id, source and comments.
|
|
4905
4905
|
`
|
|
4906
4906
|
).action(async (opts) => {
|
|
4907
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4908
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4907
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-C52THEHZ.js');
|
|
4908
|
+
const { WorkCommandError } = await import('./work-cmd-4CK4W3N5.js');
|
|
4909
4909
|
try {
|
|
4910
4910
|
await runWorkThreads(opts);
|
|
4911
4911
|
} catch (err) {
|
|
@@ -4929,8 +4929,8 @@ still running, or that an older runner released, has no log and the
|
|
|
4929
4929
|
command exits 1.
|
|
4930
4930
|
`
|
|
4931
4931
|
).action(async (opts) => {
|
|
4932
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
4933
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4932
|
+
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-UYJZBCLC.js');
|
|
4933
|
+
const { WorkCommandError } = await import('./work-cmd-4CK4W3N5.js');
|
|
4934
4934
|
try {
|
|
4935
4935
|
await runWorkLogs(opts);
|
|
4936
4936
|
} catch (err) {
|
|
@@ -4953,8 +4953,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
4953
4953
|
build is running for the item.
|
|
4954
4954
|
`
|
|
4955
4955
|
).action(async (opts) => {
|
|
4956
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
4957
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4956
|
+
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-IMFJIH6B.js');
|
|
4957
|
+
const { WorkCommandError } = await import('./work-cmd-4CK4W3N5.js');
|
|
4958
4958
|
try {
|
|
4959
4959
|
await runWorkStop(opts);
|
|
4960
4960
|
} catch (err) {
|
|
@@ -4975,8 +4975,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
|
|
|
4975
4975
|
test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
|
|
4976
4976
|
`
|
|
4977
4977
|
).action(async (opts) => {
|
|
4978
|
-
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-
|
|
4979
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4978
|
+
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-MJQ6USSW.js');
|
|
4979
|
+
const { WorkCommandError } = await import('./work-cmd-4CK4W3N5.js');
|
|
4980
4980
|
try {
|
|
4981
4981
|
await runWorkDemo(opts);
|
|
4982
4982
|
} catch (err) {
|
|
@@ -4997,7 +4997,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
4997
4997
|
live addition remains on it.
|
|
4998
4998
|
`
|
|
4999
4999
|
).action(async (opts) => {
|
|
5000
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
5000
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-4CK4W3N5.js');
|
|
5001
5001
|
try {
|
|
5002
5002
|
await runWorkRemove(opts);
|
|
5003
5003
|
} catch (err) {
|
|
@@ -5009,7 +5009,7 @@ live addition remains on it.
|
|
|
5009
5009
|
}
|
|
5010
5010
|
});
|
|
5011
5011
|
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) => {
|
|
5012
|
-
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-
|
|
5012
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-4CK4W3N5.js');
|
|
5013
5013
|
try {
|
|
5014
5014
|
await runWorkStatus(opts);
|
|
5015
5015
|
} catch (err) {
|
|
@@ -5057,11 +5057,11 @@ stops at once if a tracked file differs from HEAD.
|
|
|
5057
5057
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5058
5058
|
return;
|
|
5059
5059
|
}
|
|
5060
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5060
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-HYVXSWM7.js');
|
|
5061
5061
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5062
5062
|
});
|
|
5063
5063
|
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) => {
|
|
5064
|
-
const { runWorkList, WorkCommandError } = await import('./work-cmd-
|
|
5064
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-4CK4W3N5.js');
|
|
5065
5065
|
try {
|
|
5066
5066
|
await runWorkList(opts);
|
|
5067
5067
|
} catch (err) {
|
|
@@ -5082,7 +5082,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
5082
5082
|
it. --host is a label only.
|
|
5083
5083
|
`
|
|
5084
5084
|
).action(async (opts) => {
|
|
5085
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
5085
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-YYUNJGFI.js');
|
|
5086
5086
|
try {
|
|
5087
5087
|
await runWorkClaim(opts);
|
|
5088
5088
|
} catch (err) {
|
|
@@ -5102,7 +5102,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5102
5102
|
lease has expired, or a 403 if a different key holds it.
|
|
5103
5103
|
`
|
|
5104
5104
|
).action(async (opts) => {
|
|
5105
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5105
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-YYUNJGFI.js');
|
|
5106
5106
|
try {
|
|
5107
5107
|
await runWorkRenew(opts);
|
|
5108
5108
|
} catch (err) {
|
|
@@ -5134,7 +5134,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5134
5134
|
takes the lease again.
|
|
5135
5135
|
`
|
|
5136
5136
|
).action(async (opts) => {
|
|
5137
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5137
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-YYUNJGFI.js');
|
|
5138
5138
|
try {
|
|
5139
5139
|
await runWorkRelease(opts);
|
|
5140
5140
|
} catch (err) {
|
|
@@ -5161,7 +5161,7 @@ Idempotent: declaring the same pull request twice is a no-op.
|
|
|
5161
5161
|
needs your own login; an agent session or a factory key is refused.
|
|
5162
5162
|
`
|
|
5163
5163
|
).action(async (number, opts) => {
|
|
5164
|
-
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-
|
|
5164
|
+
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-YCBNEEI3.js');
|
|
5165
5165
|
try {
|
|
5166
5166
|
await runWorkPr({ ...opts, number });
|
|
5167
5167
|
} catch (err) {
|
|
@@ -5186,8 +5186,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
5186
5186
|
Run it again after a change to the title or description.
|
|
5187
5187
|
`
|
|
5188
5188
|
).action(async (opts) => {
|
|
5189
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
5190
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5189
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-XSGPLXZA.js');
|
|
5190
|
+
const { WorkCommandError } = await import('./work-cmd-4CK4W3N5.js');
|
|
5191
5191
|
try {
|
|
5192
5192
|
await runWorkOpenPr(opts);
|
|
5193
5193
|
} catch (err) {
|
|
@@ -5210,8 +5210,8 @@ and OuterLayer posts the reason on the issue. Only a host build, which
|
|
|
5210
5210
|
holds an item key, can run it.
|
|
5211
5211
|
`
|
|
5212
5212
|
).action(async (opts) => {
|
|
5213
|
-
const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-
|
|
5214
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5213
|
+
const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-LFMIGD2R.js');
|
|
5214
|
+
const { WorkCommandError } = await import('./work-cmd-4CK4W3N5.js');
|
|
5215
5215
|
try {
|
|
5216
5216
|
await runWorkNoChange(opts);
|
|
5217
5217
|
} catch (err) {
|
|
@@ -5234,8 +5234,8 @@ record that no change is needed. Only a host build, which holds an item key,
|
|
|
5234
5234
|
can run it.
|
|
5235
5235
|
`
|
|
5236
5236
|
).action(async (opts) => {
|
|
5237
|
-
const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-
|
|
5238
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5237
|
+
const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-HEVZ5RHU.js');
|
|
5238
|
+
const { WorkCommandError } = await import('./work-cmd-4CK4W3N5.js');
|
|
5239
5239
|
try {
|
|
5240
5240
|
await runWorkNeedsAttention(opts);
|
|
5241
5241
|
} catch (err) {
|
|
@@ -5279,9 +5279,9 @@ function registerRunnerCommands(program2) {
|
|
|
5279
5279
|
const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
|
|
5280
5280
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5281
5281
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5282
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5283
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5284
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5282
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-P6MQT7CU.js');
|
|
5283
|
+
const { start, RunnerStartError } = await import('./loop-DCQM2ASM.js');
|
|
5284
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-ZXYUJUD2.js');
|
|
5285
5285
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5286
5286
|
try {
|
|
5287
5287
|
const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
|
|
@@ -5303,10 +5303,10 @@ is optional and defaults to ${words().runnerName}. On a later start it refuses v
|
|
|
5303
5303
|
The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
5304
5304
|
`
|
|
5305
5305
|
).action(async () => {
|
|
5306
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5307
|
-
const { containerStart, containerStartExit } = await import('./container-start-
|
|
5308
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5309
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5306
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-P6MQT7CU.js');
|
|
5307
|
+
const { containerStart, containerStartExit } = await import('./container-start-ZMDCAYED.js');
|
|
5308
|
+
const { start, RunnerStartError } = await import('./loop-DCQM2ASM.js');
|
|
5309
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-ZXYUJUD2.js');
|
|
5310
5310
|
try {
|
|
5311
5311
|
const outcome = containerStartExit(await containerStart({
|
|
5312
5312
|
env: process.env,
|
|
@@ -5327,16 +5327,16 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5327
5327
|
"after",
|
|
5328
5328
|
"\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"
|
|
5329
5329
|
).action(async (opts) => {
|
|
5330
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5331
|
-
const { runnerDir } = await import('./paths-
|
|
5332
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5330
|
+
const { defaultRunnerConfigPath } = await import('./config-P6MQT7CU.js');
|
|
5331
|
+
const { runnerDir } = await import('./paths-XSZV6RIP.js');
|
|
5332
|
+
const { runUpdateSteps } = await import('./update-steps-4EEACZAD.js');
|
|
5333
5333
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5334
5334
|
process.stdout.write(`${text}
|
|
5335
5335
|
`);
|
|
5336
5336
|
});
|
|
5337
5337
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5338
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5339
|
-
const { runRunnerCheck } = await import('./check-
|
|
5338
|
+
const { defaultRunnerConfigPath } = await import('./config-P6MQT7CU.js');
|
|
5339
|
+
const { runRunnerCheck } = await import('./check-QJZBJSEI.js');
|
|
5340
5340
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5341
5341
|
const result = await runRunnerCheck(configPath);
|
|
5342
5342
|
if (!result.ok) {
|
|
@@ -5357,8 +5357,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5357
5357
|
`);
|
|
5358
5358
|
});
|
|
5359
5359
|
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) => {
|
|
5360
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5361
|
-
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-
|
|
5360
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-P6MQT7CU.js');
|
|
5361
|
+
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-Y33MOS4U.js');
|
|
5362
5362
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5363
5363
|
if (opts.service !== true) {
|
|
5364
5364
|
const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
|
|
@@ -5370,13 +5370,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5370
5370
|
}
|
|
5371
5371
|
}
|
|
5372
5372
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5373
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5373
|
+
if (buildCpusMax !== void 0 && !(await import('./command-N2GCUMGT.js')).cpusAreValid(buildCpusMax)) {
|
|
5374
5374
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5375
5375
|
return;
|
|
5376
5376
|
}
|
|
5377
5377
|
try {
|
|
5378
5378
|
if (opts.service === true) {
|
|
5379
|
-
const { installServiceCommand, serviceSuccessText } = await import('./command-
|
|
5379
|
+
const { installServiceCommand, serviceSuccessText } = await import('./command-N2GCUMGT.js');
|
|
5380
5380
|
const result2 = await installServiceCommand({
|
|
5381
5381
|
configPath,
|
|
5382
5382
|
print: opts.print,
|
|
@@ -5430,8 +5430,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5430
5430
|
fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
|
|
5431
5431
|
return;
|
|
5432
5432
|
}
|
|
5433
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5434
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5433
|
+
const { defaultRunnerConfigPath } = await import('./config-P6MQT7CU.js');
|
|
5434
|
+
const { uninstallServiceCommand } = await import('./command-N2GCUMGT.js');
|
|
5435
5435
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5436
5436
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5437
5437
|
`);
|
|
@@ -5461,13 +5461,13 @@ already in ${words().envFile} is used.
|
|
|
5461
5461
|
printf '%s' "$${words().variables[0]}" | ${cliInvocation()} runner init --agent ${words().runnerName} --factory <org>/<factory>
|
|
5462
5462
|
`
|
|
5463
5463
|
).action(async (opts) => {
|
|
5464
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5465
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5466
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5467
|
-
const { detectMachine } = await import('./machine-
|
|
5468
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5469
|
-
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-
|
|
5470
|
-
const { headlessNames: headlessNames2 } = await import('./runner-agents-
|
|
5464
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-P6MQT7CU.js');
|
|
5465
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-LIX2CH7R.js');
|
|
5466
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-2Y7CCC47.js');
|
|
5467
|
+
const { detectMachine } = await import('./machine-JHJNESJD.js');
|
|
5468
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-4E532UXE.js');
|
|
5469
|
+
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-Q6OGDJAI.js');
|
|
5470
|
+
const { headlessNames: headlessNames2 } = await import('./runner-agents-SVCAGQHJ.js');
|
|
5471
5471
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5472
5472
|
if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
|
|
5473
5473
|
fail(`--agent ${opts.agent}: runner init writes commands for ${headlessNames2().join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
|
|
@@ -5479,7 +5479,7 @@ already in ${words().envFile} is used.
|
|
|
5479
5479
|
return;
|
|
5480
5480
|
}
|
|
5481
5481
|
try {
|
|
5482
|
-
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-
|
|
5482
|
+
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-BQKYIMOG.js');
|
|
5483
5483
|
agent = await initAgent({
|
|
5484
5484
|
flag: agent,
|
|
5485
5485
|
handOff: opts.configStdin === true,
|
|
@@ -5512,7 +5512,7 @@ already in ${words().envFile} is used.
|
|
|
5512
5512
|
const chunks = [];
|
|
5513
5513
|
for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
|
|
5514
5514
|
const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
|
|
5515
|
-
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-
|
|
5515
|
+
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-GSXTEJA5.js');
|
|
5516
5516
|
const hostKey2 = await ensureHostKey2(configPath);
|
|
5517
5517
|
process.stdout.write(`host key ${hostKey2.fingerprint}
|
|
5518
5518
|
hooks: ${result2.hooks}
|
|
@@ -5567,7 +5567,7 @@ hooks: ${result2.hooks}
|
|
|
5567
5567
|
const prepared = prepareRunnerInit(configPath, { machine, agent, credential, keyFromLogin: makeKey !== void 0 });
|
|
5568
5568
|
const created = makeKey === void 0 ? void 0 : await makeKey();
|
|
5569
5569
|
const result = writeRunnerInit(prepared, created);
|
|
5570
|
-
const { ensureHostKey } = await import('./host-key-
|
|
5570
|
+
const { ensureHostKey } = await import('./host-key-GSXTEJA5.js');
|
|
5571
5571
|
const hostKey = await ensureHostKey(configPath);
|
|
5572
5572
|
if (created !== void 0) {
|
|
5573
5573
|
process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
|
|
@@ -5587,7 +5587,7 @@ hooks: ${result2.hooks}
|
|
|
5587
5587
|
);
|
|
5588
5588
|
process.stdout.write(`${C.green}\u2713${C.reset} hooks: ${result.hooks}${result.hooks === "builtin:vm" ? " (builds run in microVMs)" : " (builds run in containers)"}
|
|
5589
5589
|
`);
|
|
5590
|
-
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-
|
|
5590
|
+
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-Y33MOS4U.js');
|
|
5591
5591
|
let installedLayout = false;
|
|
5592
5592
|
let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
|
|
5593
5593
|
try {
|
|
@@ -5619,7 +5619,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5619
5619
|
let serviceUp = false;
|
|
5620
5620
|
let restart;
|
|
5621
5621
|
if (installedLayout) {
|
|
5622
|
-
const { installServiceCommand } = await import('./command-
|
|
5622
|
+
const { installServiceCommand } = await import('./command-N2GCUMGT.js');
|
|
5623
5623
|
const service = await installServiceCommand({
|
|
5624
5624
|
configPath,
|
|
5625
5625
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5671,12 +5671,12 @@ image holds this CLI and a pinned ${words().agent}. Nothing runs inside the imag
|
|
|
5671
5671
|
A repository with no devcontainer file builds on the universal image the CLI pins by digest.
|
|
5672
5672
|
`
|
|
5673
5673
|
).action(async (opts) => {
|
|
5674
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5675
|
-
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-
|
|
5674
|
+
const { defaultRunnerConfigPath } = await import('./config-P6MQT7CU.js');
|
|
5675
|
+
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-KLJ77WKQ.js');
|
|
5676
5676
|
const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
|
|
5677
|
-
const { createDockerHost } = await import('./docker-
|
|
5678
|
-
const { builderSpec } = await import('./builder-
|
|
5679
|
-
const { loadRunnerConfig } = await import('./config-
|
|
5677
|
+
const { createDockerHost } = await import('./docker-54RFCNP4.js');
|
|
5678
|
+
const { builderSpec } = await import('./builder-XKYFIIFR.js');
|
|
5679
|
+
const { loadRunnerConfig } = await import('./config-P6MQT7CU.js');
|
|
5680
5680
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5681
5681
|
const loaded = (() => {
|
|
5682
5682
|
try {
|
|
@@ -5687,12 +5687,12 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5687
5687
|
})();
|
|
5688
5688
|
const memory = loaded?.build?.memory ?? "8g";
|
|
5689
5689
|
try {
|
|
5690
|
-
const { ensureRunnerIdentity } = await import('./runner-identity-
|
|
5690
|
+
const { ensureRunnerIdentity } = await import('./runner-identity-NEIPECZQ.js');
|
|
5691
5691
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5692
5692
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5693
5693
|
});
|
|
5694
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5695
|
-
const { runnerCalls } = await import('./caller-
|
|
5694
|
+
const { imageTargetFor } = await import('./governing-source-KMQOZB7H.js');
|
|
5695
|
+
const { runnerCalls } = await import('./caller-SYFUJ4MP.js');
|
|
5696
5696
|
const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
|
|
5697
5697
|
if (!target.ok) {
|
|
5698
5698
|
if (opts.json) {
|
|
@@ -5756,25 +5756,25 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5756
5756
|
}
|
|
5757
5757
|
});
|
|
5758
5758
|
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) => {
|
|
5759
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5760
|
-
const { requestStop } = await import('./loop-
|
|
5759
|
+
const { defaultRunnerConfigPath } = await import('./config-P6MQT7CU.js');
|
|
5760
|
+
const { requestStop } = await import('./loop-DCQM2ASM.js');
|
|
5761
5761
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5762
|
-
const { runnerImageVersion } = await import('./image-tag-
|
|
5762
|
+
const { runnerImageVersion } = await import('./image-tag-SJN4JJFB.js');
|
|
5763
5763
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
5764
5764
|
});
|
|
5765
5765
|
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) => {
|
|
5766
|
-
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-
|
|
5767
|
-
const { jobsDir, runnerDir } = await import('./paths-
|
|
5768
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5769
|
-
const { renderStatus } = await import('./status-
|
|
5770
|
-
const { readHousekeepingRecord } = await import('./record-
|
|
5766
|
+
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-P6MQT7CU.js');
|
|
5767
|
+
const { jobsDir, runnerDir } = await import('./paths-XSZV6RIP.js');
|
|
5768
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-DCQM2ASM.js');
|
|
5769
|
+
const { renderStatus } = await import('./status-X5HHMQJT.js');
|
|
5770
|
+
const { readHousekeepingRecord } = await import('./record-KTFMHAAJ.js');
|
|
5771
5771
|
const path2 = await import('path');
|
|
5772
5772
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5773
5773
|
const all = listJobFiles(configPath);
|
|
5774
5774
|
const housekeeping = readHousekeepingRecord(runnerDir(configPath));
|
|
5775
|
-
const { readPendingUpdate } = await import('./pending-
|
|
5775
|
+
const { readPendingUpdate } = await import('./pending-DZI33SGU.js');
|
|
5776
5776
|
const pendingUpdate = readPendingUpdate(runnerDir(configPath));
|
|
5777
|
-
const { readImageStatus } = await import('./image-tag-
|
|
5777
|
+
const { readImageStatus } = await import('./image-tag-SJN4JJFB.js');
|
|
5778
5778
|
const image = readImageStatus(runnerDir(configPath));
|
|
5779
5779
|
let host = "unknown";
|
|
5780
5780
|
let concurrency = 1;
|
|
@@ -5784,7 +5784,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5784
5784
|
host = config.host;
|
|
5785
5785
|
concurrency = config.concurrency;
|
|
5786
5786
|
if (config.fleet === true) {
|
|
5787
|
-
const { readFleetState } = await import('./state-
|
|
5787
|
+
const { readFleetState } = await import('./state-REW53DKI.js');
|
|
5788
5788
|
fleet = { state: readFleetState(configPath) };
|
|
5789
5789
|
}
|
|
5790
5790
|
} catch {
|
|
@@ -5792,7 +5792,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5792
5792
|
const processState = runnerProcessState(configPath);
|
|
5793
5793
|
const service = await (async () => {
|
|
5794
5794
|
if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
|
|
5795
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
5795
|
+
const { inspectRunnerService } = await import('./find-unit-Y3WVYANJ.js');
|
|
5796
5796
|
const facts = inspectRunnerService(configPath);
|
|
5797
5797
|
return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
|
|
5798
5798
|
})();
|
|
@@ -5831,9 +5831,9 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5831
5831
|
);
|
|
5832
5832
|
});
|
|
5833
5833
|
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) => {
|
|
5834
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5835
|
-
const { listJobFiles } = await import('./loop-
|
|
5836
|
-
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-
|
|
5834
|
+
const { defaultRunnerConfigPath } = await import('./config-P6MQT7CU.js');
|
|
5835
|
+
const { listJobFiles } = await import('./loop-DCQM2ASM.js');
|
|
5836
|
+
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-D6VDVMWB.js');
|
|
5837
5837
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5838
5838
|
const jobs = listJobFiles(configPath);
|
|
5839
5839
|
const selected = selectAttempt(jobs, itemArg);
|
|
@@ -6054,7 +6054,7 @@ Self-host deployments also need --app-id: without a key service to resolve the
|
|
|
6054
6054
|
caller from the bearer token, the gateway answers 401 without that header.
|
|
6055
6055
|
`
|
|
6056
6056
|
).action(async (opts) => {
|
|
6057
|
-
const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-
|
|
6057
|
+
const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-DAU25PTN.js');
|
|
6058
6058
|
try {
|
|
6059
6059
|
if (opts.transport !== void 0 && opts.transport !== "stdio" && opts.transport !== "http") {
|
|
6060
6060
|
throw new McpInstallError(`--transport must be "stdio" or "http", got "${opts.transport}"`);
|
|
@@ -6076,7 +6076,7 @@ caller from the bearer token, the gateway answers 401 without that header.
|
|
|
6076
6076
|
"after",
|
|
6077
6077
|
"\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"
|
|
6078
6078
|
).action(async (opts) => {
|
|
6079
|
-
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-
|
|
6079
|
+
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-WI2TVERC.js');
|
|
6080
6080
|
try {
|
|
6081
6081
|
await runMcpServe({ url: opts.url, appId: opts.appId });
|
|
6082
6082
|
} catch (err) {
|
|
@@ -6097,7 +6097,7 @@ would get, the instruction files and the names of the skills. It warns when the
|
|
|
6097
6097
|
no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
|
|
6098
6098
|
`
|
|
6099
6099
|
).action(async (opts) => {
|
|
6100
|
-
const { runContextShow, ContextShowError } = await import('./context-show-cmd-
|
|
6100
|
+
const { runContextShow, ContextShowError } = await import('./context-show-cmd-KRWENGTR.js');
|
|
6101
6101
|
try {
|
|
6102
6102
|
const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
|
|
6103
6103
|
process.stdout.write(result.output);
|