@outerlayer/cli 0.38.0-next.20261111182110 → 0.38.0-next.20261111220050
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-P77VERNT.js +40 -0
- package/dist/{agent-subcommand-NZFPV3MV.js → agent-subcommand-MLVQVTVU.js} +5 -5
- package/dist/{artifact-link-cmd-L4BXSQQP.js → artifact-link-cmd-A7SROEQS.js} +2 -2
- package/dist/{bridge-OBIGQXDH.js → bridge-CVHBKOFU.js} +8 -8
- package/dist/{build-4IYEB6OE.js → build-KVJM6PMC.js} +14 -14
- package/dist/{build-disk-2MOEPIZF.js → build-disk-H6ZN32KR.js} +12 -12
- package/dist/build-info.json +1 -1
- package/dist/{builder-SVI2D35R.js → builder-3LUEEVSN.js} +11 -11
- package/dist/caller-IMM277FA.js +23 -0
- package/dist/{check-XIJ2MOWV.js → check-V2TITR5P.js} +58 -58
- package/dist/{chunk-QHYCF36K.js → chunk-26BFN6DH.js} +1 -1
- package/dist/{chunk-36XB56GG.js → chunk-33HBGNKZ.js} +5 -5
- package/dist/{chunk-LVNMKOWI.js → chunk-34VR5LPD.js} +2 -2
- package/dist/{chunk-RHPEAVKR.js → chunk-3FN6JADD.js} +1 -1
- package/dist/{chunk-CT4PKI24.js → chunk-3LOW5W6T.js} +274 -99
- package/dist/{chunk-QENFVQ7O.js → chunk-3RAAAAPL.js} +7 -7
- package/dist/{chunk-KA4BMGBR.js → chunk-3V5B7M5Q.js} +2 -2
- package/dist/{chunk-XAVR7JHO.js → chunk-3XZ66FRV.js} +10 -10
- package/dist/{chunk-R3S2A7YF.js → chunk-544OP3E4.js} +90 -45
- package/dist/{chunk-J345NEVJ.js → chunk-5FTUUXBK.js} +5 -5
- package/dist/{chunk-NEXKR5RR.js → chunk-5NVF5TAL.js} +6 -1
- package/dist/{chunk-NFPJ2XC2.js → chunk-6AORV65Z.js} +3 -3
- package/dist/{chunk-DE3NQAR7.js → chunk-6LYKHTC2.js} +3 -3
- package/dist/{chunk-WV4T6ZOQ.js → chunk-6VHBQBHL.js} +2 -2
- package/dist/{chunk-6XORUAR7.js → chunk-7GJEQXOH.js} +1 -1
- package/dist/{chunk-I45HTSSA.js → chunk-A3NJSQPK.js} +1 -1
- package/dist/{chunk-PBHAM73F.js → chunk-AR3SCE7R.js} +3 -3
- package/dist/{chunk-6YOXYZC2.js → chunk-AS3DUHKZ.js} +7 -7
- package/dist/{chunk-FQPGZOH3.js → chunk-AUBLZPCA.js} +1 -1
- package/dist/{chunk-ATEMEVFF.js → chunk-AW3N24L5.js} +1 -1
- package/dist/{chunk-ZC2BXXKB.js → chunk-B4HUGT3L.js} +16 -16
- package/dist/{chunk-CZDYUKA6.js → chunk-BKAUXDXK.js} +7 -7
- package/dist/{chunk-UPUHL3KC.js → chunk-BU4O4T7X.js} +7 -7
- package/dist/{chunk-N3KGXHV4.js → chunk-BUT777XB.js} +1 -1
- package/dist/{chunk-6XMC6R4W.js → chunk-C6OQ45AS.js} +1 -1
- package/dist/{chunk-DKRZZBKI.js → chunk-CAL6L5DK.js} +3 -3
- package/dist/{chunk-6BXJESQF.js → chunk-CJEWYQ46.js} +9 -9
- package/dist/{chunk-3Z5KBFBB.js → chunk-COTJ2FIL.js} +2 -2
- package/dist/{chunk-ZQII2ZRP.js → chunk-CPXQLO4X.js} +1 -1
- package/dist/{chunk-6GZL5RIV.js → chunk-CT7X6XGR.js} +14 -11
- package/dist/{chunk-JDOEEKPN.js → chunk-DPMUZ2QT.js} +25 -9
- package/dist/{chunk-MOA4PGYL.js → chunk-DULA3AYN.js} +1 -1
- package/dist/{chunk-3YJJ2JDV.js → chunk-E532PUGI.js} +1 -1
- package/dist/{chunk-BIMHESZG.js → chunk-EVME7MT6.js} +1 -1
- package/dist/{chunk-OPCFOIZJ.js → chunk-EWKNMUPI.js} +1 -1
- package/dist/{chunk-MOFT7QCR.js → chunk-F4Q4Y7ZE.js} +5 -5
- package/dist/{chunk-LW5RIKAV.js → chunk-FBLO2U6D.js} +1 -1
- package/dist/{chunk-4AEOP5PD.js → chunk-FM4OXL5V.js} +6 -6
- package/dist/{chunk-D5GR3U2O.js → chunk-FYIISGXR.js} +10 -10
- package/dist/{chunk-IHM7K6RS.js → chunk-GRNA7FHI.js} +4 -4
- package/dist/{chunk-BATSP67Z.js → chunk-GXYVZZO7.js} +6 -6
- package/dist/{chunk-IN7QCBO5.js → chunk-KGDFBO3G.js} +6 -6
- package/dist/{chunk-4G5SYPK2.js → chunk-KUM6RRPC.js} +1 -1
- package/dist/{chunk-6FQSV7ZK.js → chunk-KUNRGSPX.js} +3 -3
- package/dist/{chunk-LKLP5YMH.js → chunk-LEIO5LD3.js} +7 -7
- package/dist/{chunk-KR34GXEH.js → chunk-LF4BHMEG.js} +1 -1
- package/dist/{chunk-CAQSGGPJ.js → chunk-LOXR7Q77.js} +6 -6
- package/dist/{chunk-ORLJK7UT.js → chunk-MOBYKKTR.js} +7 -7
- package/dist/{chunk-NJ6IJFKR.js → chunk-MRZMJPYA.js} +1 -1
- package/dist/{chunk-OKAAVLLW.js → chunk-MXEZN6SV.js} +4 -4
- package/dist/{chunk-7GUD2FIF.js → chunk-N63KZWYP.js} +1 -1
- package/dist/{chunk-UKEJBA5Y.js → chunk-NHYV24WJ.js} +4 -4
- package/dist/{chunk-SASWFX22.js → chunk-NTPBHL6U.js} +1 -1
- package/dist/{chunk-QMCWSBQO.js → chunk-O4BVDRKJ.js} +2 -2
- package/dist/{chunk-QH5NV7EQ.js → chunk-PFSUX4MQ.js} +7 -7
- package/dist/{chunk-SIGBRVEF.js → chunk-Q3QA4DTV.js} +18 -5
- package/dist/{chunk-DKTXQ7XQ.js → chunk-QPSLXP6A.js} +2 -2
- package/dist/{chunk-F3RBGMHL.js → chunk-QR6XP6BJ.js} +1 -1
- package/dist/{chunk-USINHGZI.js → chunk-RIYSVN6V.js} +3 -3
- package/dist/{chunk-36M66QKN.js → chunk-SBZX6XP6.js} +2 -1
- package/dist/{chunk-VQ6ZKSNL.js → chunk-T34WBDIO.js} +1 -1
- package/dist/{chunk-ABRGN5OA.js → chunk-TFAAVSYJ.js} +4 -4
- package/dist/{chunk-UWLCJZ45.js → chunk-TNUJXYK6.js} +1 -1
- package/dist/{chunk-VNHCN75M.js → chunk-TYXZTMZK.js} +1 -1
- package/dist/{chunk-3BEMKOFH.js → chunk-U5NUHRGX.js} +1 -1
- package/dist/{chunk-AJ3YUM23.js → chunk-UIS6E64L.js} +1 -1
- package/dist/{chunk-33XLQIV4.js → chunk-UOCYI5SA.js} +3 -3
- package/dist/{chunk-AMFCM4H7.js → chunk-UPIXYW7Y.js} +3 -3
- package/dist/{chunk-QBJ7MMOT.js → chunk-V6FY4BRV.js} +16 -5
- package/dist/{chunk-3SHX2D37.js → chunk-VZ3T5MPT.js} +5 -5
- package/dist/{chunk-TH3K67SR.js → chunk-WJMA4BRG.js} +9 -9
- package/dist/{chunk-BECC4325.js → chunk-WR53L7RZ.js} +8 -8
- package/dist/{chunk-DULO2L5B.js → chunk-WVTBZX4K.js} +1 -1
- package/dist/{chunk-TMROYEP4.js → chunk-YRJI2ZKT.js} +4 -4
- package/dist/{chunk-PDPBWX67.js → chunk-ZN4444RL.js} +17 -6
- package/dist/{claude-launcher-GIT7VNYK.js → claude-launcher-XHIHOO4U.js} +8 -8
- package/dist/{cli-Y5CRBNQQ.js → cli-VZUDY3VM.js} +168 -159
- package/dist/{cli-update-notice-OC4SOSZE.js → cli-update-notice-PCJN5ZKP.js} +2 -2
- package/dist/{command-2RX7FULE.js → command-TWK2QQ5J.js} +53 -53
- package/dist/config-JMTO5H4U.js +22 -0
- package/dist/{connect-cmd-DSP6HJRP.js → connect-cmd-JPHOQZBW.js} +15 -15
- package/dist/{container-start-DFFZVSGX.js → container-start-IWW2OVWT.js} +51 -51
- package/dist/{context-cleanup-FIQMPC6F.js → context-cleanup-CTKOHNCW.js} +5 -5
- package/dist/{context-show-cmd-BPZX3OUE.js → context-show-cmd-WO6B7UUZ.js} +16 -16
- package/dist/{control-plane-launch-IIHRG233.js → control-plane-launch-OZLAMALE.js} +16 -16
- package/dist/{demo-record-cmd-PI7QDFRP.js → demo-record-cmd-47RXW75H.js} +9 -9
- package/dist/{demo-voice-cmd-CMCPERTJ.js → demo-voice-cmd-ENFCUFP6.js} +22 -22
- package/dist/{dist-JSSJSW2B.js → dist-7JDEWP5U.js} +2 -2
- package/dist/docker-KC5ZFIK5.js +20 -0
- package/dist/{doctor-ZVHGEA3C.js → doctor-3XXCQPUZ.js} +53 -53
- package/dist/emit-artifact-cmd-5YXDBVXP.js +44 -0
- package/dist/{emit-cmd-QGVMVSLS.js → emit-cmd-VETPASRD.js} +8 -8
- package/dist/emit-criteria-cmd-5GBTQL3J.js +35 -0
- package/dist/{emit-demo-cmd-KLYEKCB3.js → emit-demo-cmd-2YTSDKEN.js} +22 -22
- package/dist/{emit-finding-cmd-FZWK3Y4Q.js → emit-finding-cmd-RXR5O2RB.js} +18 -18
- package/dist/{emit-result-cmd-TODAXDFJ.js → emit-result-cmd-ND72YSHC.js} +20 -20
- package/dist/{emit-step-cmd-QI52ZB57.js → emit-step-cmd-NXRZAW3R.js} +18 -18
- package/dist/{exec-client-YQCKCZGW.js → exec-client-RQ2WBQYI.js} +9 -9
- package/dist/find-unit-6YALHLSE.js +24 -0
- package/dist/{findings-cmd-O7I2GKRO.js → findings-cmd-OHZRCVPV.js} +18 -18
- package/dist/{fleet-readiness-BY7PY5FF.js → fleet-readiness-QTBZ322P.js} +16 -16
- package/dist/governing-source-LOIIVNWG.js +41 -0
- package/dist/guest-init-R3Z35NG7.js +20 -0
- package/dist/{hook-fast-3BGU6BF2.js → hook-fast-BEFGAPAW.js} +3 -3
- package/dist/{hook-install-6H6W4UM2.js → hook-install-Y6ZL3OT2.js} +5 -5
- package/dist/host-checks-3OKNIXBF.js +80 -0
- package/dist/host-key-JDLHIUNO.js +18 -0
- package/dist/{image-tag-IJKYPT6D.js → image-tag-BAA6APVR.js} +9 -9
- package/dist/index.js +4 -4
- package/dist/{init-65RN5X55.js → init-IE5IGNVE.js} +49 -49
- package/dist/init-LGMYM54E.js +80 -0
- package/dist/{init-agent-R4ZOEFI3.js → init-agent-YBLFXWPL.js} +49 -49
- package/dist/{init-cmd-L4EFMAQ4.js → init-cmd-VKCXBALQ.js} +29 -29
- package/dist/{init-update-ACLVXFS7.js → init-update-EJS5G2XZ.js} +26 -26
- package/dist/install-cmd-7LUZQZMJ.js +21 -0
- package/dist/{layout-MBCG2IHB.js → layout-IZ6XCHGG.js} +5 -5
- package/dist/{login-browser-COSWHZEC.js → login-browser-LSZKECIB.js} +2 -2
- package/dist/{logs-VX2SXLJH.js → logs-WVO5SCTN.js} +8 -8
- package/dist/loop-ZMIBNWIP.js +90 -0
- package/dist/machine-WILRS4XJ.js +80 -0
- package/dist/{machine-skills-RPKQK52T.js → machine-skills-SDIQFRIX.js} +5 -5
- package/dist/{mcp-install-cmd-GN2K2JM3.js → mcp-install-cmd-GF2QAYQE.js} +5 -5
- package/dist/{mcp-serve-cmd-P34CQIBX.js → mcp-serve-cmd-RB3NBRP7.js} +11 -11
- package/dist/{paths-HV3G2EHE.js → paths-W2U4BYFR.js} +8 -8
- package/dist/pending-ZYVVCMCB.js +18 -0
- package/dist/{pidfile-4ZG5I7ZR.js → pidfile-ZIDS3G5J.js} +9 -9
- package/dist/{record-3XWPD2UP.js → record-I6XI5YWE.js} +9 -9
- package/dist/{relay-ZOWT4YLQ.js → relay-MUBJFLEI.js} +6 -6
- package/dist/{relay-protocol-FDFEVLQT.js → relay-protocol-UK2KZKGH.js} +6 -6
- package/dist/{run-cmd-ZVNOKJB3.js → run-cmd-KPAN5DTB.js} +18 -18
- package/dist/{runner-agents-3NUGNJD6.js → runner-agents-3ZKMPZ2D.js} +5 -5
- package/dist/runner-env-IKUFXCUV.js +24 -0
- package/dist/{runner-identity-F2Z3TXJ7.js → runner-identity-UMODOKXV.js} +11 -11
- package/dist/{runner-key-AOK7W733.js → runner-key-4VZCSL73.js} +49 -49
- package/dist/{session-sender-V3INPB34.js → session-sender-CCXS5LKC.js} +21 -21
- package/dist/{spec-cmd-LYGXRFVY.js → spec-cmd-UX6VYKE6.js} +109 -22
- package/dist/{starter-pack-7QA7J5FT.js → starter-pack-EQL24NLF.js} +6 -6
- package/dist/state-MD27KY5N.js +18 -0
- package/dist/{status-SPPT7WU5.js → status-IRQ5N2CN.js} +49 -49
- package/dist/{sync-cmd-EDSOKOXS.js → sync-cmd-OCHEVJDU.js} +20 -20
- package/dist/update-steps-PCZORLEO.js +81 -0
- package/dist/{watch-GBDNXFAK.js → watch-DDSNYG5M.js} +20 -20
- package/dist/{work-claim-cmd-SHKDYS7J.js → work-claim-cmd-2YYRYOPS.js} +27 -27
- package/dist/work-cmd-PRMB5ETL.js +33 -0
- package/dist/work-comment-cmd-7SOO2JXW.js +39 -0
- package/dist/{work-demo-cmd-YJ654BQP.js → work-demo-cmd-P7AXOVMK.js} +18 -18
- package/dist/{work-logs-cmd-RUNYYALP.js → work-logs-cmd-PUE23KB5.js} +18 -18
- package/dist/{work-needs-attention-cmd-NRDFGJPP.js → work-needs-attention-cmd-SJ6P2V3S.js} +18 -18
- package/dist/{work-no-change-cmd-FDA7PYB7.js → work-no-change-cmd-6FLPOK7M.js} +18 -18
- package/dist/{work-open-pr-cmd-LEWPNTW5.js → work-open-pr-cmd-FTZSIWOM.js} +19 -19
- package/dist/work-pr-cmd-ZOCB54YC.js +34 -0
- package/dist/{work-proofs-cmd-QKIEJJRF.js → work-proofs-cmd-7HOVHHCL.js} +20 -20
- package/dist/{work-proofs-record-2M4A5OIF.js → work-proofs-record-YWUBA3IS.js} +26 -26
- package/dist/{work-stop-cmd-HH2SSJIO.js → work-stop-cmd-LKDWZL24.js} +18 -18
- package/package.json +3 -3
- package/skill-pack/maintained/outerlayer-amend/references/threads.md +10 -4
- package/skill-pack/maintained/outerlayer-build/references/agent-briefs.md +1 -1
- package/skill-pack/maintained/outerlayer-build/references/code-review-judge.md +15 -5
- package/skill-pack/maintained/outerlayer-revise/SKILL.md +68 -0
- package/dist/agent-setup-U4XTZO56.js +0 -40
- package/dist/caller-PW7R46M7.js +0 -23
- package/dist/config-AOOR5BPQ.js +0 -22
- package/dist/docker-6MPPSTR4.js +0 -20
- package/dist/emit-artifact-cmd-VJ3C36RU.js +0 -44
- package/dist/emit-criteria-cmd-UOHOOSVV.js +0 -35
- package/dist/find-unit-YT25OH3F.js +0 -24
- package/dist/governing-source-XRLJFSPE.js +0 -41
- package/dist/guest-init-X2HLNETS.js +0 -20
- package/dist/host-checks-U5JKQQMM.js +0 -80
- package/dist/host-key-KQ6JWRB4.js +0 -18
- package/dist/init-CYTHJSTQ.js +0 -80
- package/dist/install-cmd-DHIVJEBO.js +0 -21
- package/dist/loop-4ATDJGQV.js +0 -90
- package/dist/machine-UIA7MN3U.js +0 -80
- package/dist/pending-I2EJ7TMY.js +0 -18
- package/dist/runner-env-JS2WDB5L.js +0 -24
- package/dist/state-64OMLIN4.js +0 -18
- package/dist/update-steps-XPEATLFQ.js +0 -81
- package/dist/work-cmd-QR62TX6Q.js +0 -33
- package/dist/work-comment-cmd-DUDVMT6U.js +0 -39
- package/dist/work-pr-cmd-Y4O34WDA.js +0 -34
|
@@ -1,51 +1,51 @@
|
|
|
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-
|
|
13
|
-
import './chunk-
|
|
14
|
-
import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-
|
|
15
|
-
import './chunk-
|
|
3
|
+
import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-B4HUGT3L.js';
|
|
4
|
+
import './chunk-F4Q4Y7ZE.js';
|
|
5
|
+
import { verifiedTrackerNames, TRACKERS } from './chunk-CT7X6XGR.js';
|
|
6
|
+
import './chunk-DULA3AYN.js';
|
|
7
|
+
import './chunk-AR3SCE7R.js';
|
|
8
|
+
import './chunk-3RAAAAPL.js';
|
|
9
|
+
import './chunk-QR6XP6BJ.js';
|
|
10
|
+
import './chunk-MRZMJPYA.js';
|
|
11
|
+
import './chunk-RIYSVN6V.js';
|
|
12
|
+
import './chunk-LOXR7Q77.js';
|
|
13
|
+
import './chunk-26BFN6DH.js';
|
|
14
|
+
import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-U5NUHRGX.js';
|
|
15
|
+
import './chunk-BUT777XB.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-NTPBHL6U.js';
|
|
19
|
+
import './chunk-QPSLXP6A.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-CPXQLO4X.js';
|
|
22
|
+
import './chunk-WVTBZX4K.js';
|
|
23
|
+
import './chunk-Q3QA4DTV.js';
|
|
24
|
+
import './chunk-6AORV65Z.js';
|
|
25
|
+
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-NHYV24WJ.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-
|
|
32
|
-
import './chunk-
|
|
31
|
+
import './chunk-O4BVDRKJ.js';
|
|
32
|
+
import './chunk-A3NJSQPK.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-LF4BHMEG.js';
|
|
36
36
|
import { cliForInstall, SettingsParseError, PORTABLE_BIN, writeSettingsText, cliBinResolvable } from './chunk-ZHQC43NH.js';
|
|
37
|
-
import './chunk-
|
|
37
|
+
import './chunk-FBLO2U6D.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-SBZX6XP6.js';
|
|
41
|
+
import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-ZN4444RL.js';
|
|
42
42
|
import './chunk-PLVHIQJN.js';
|
|
43
43
|
import './chunk-7PZDPISM.js';
|
|
44
|
-
import './chunk-
|
|
44
|
+
import './chunk-AW3N24L5.js';
|
|
45
45
|
import { resolveVersion, resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
46
46
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
47
|
-
import './chunk-
|
|
48
|
-
import './chunk-
|
|
47
|
+
import './chunk-7GJEQXOH.js';
|
|
48
|
+
import './chunk-5NVF5TAL.js';
|
|
49
49
|
import './chunk-Z5GEFMRW.js';
|
|
50
50
|
import { EventEmitter } from 'events';
|
|
51
51
|
import childProcess, { execFileSync } from 'child_process';
|
|
@@ -3669,14 +3669,14 @@ function apiKeyOption() {
|
|
|
3669
3669
|
return new Option("--api-key <key>", `deprecated: use \`${cliInvocation()} login\` or OUTERLAYER_API_KEY`).hideHelp();
|
|
3670
3670
|
}
|
|
3671
3671
|
async function installStarterPackInRepo() {
|
|
3672
|
-
const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-
|
|
3672
|
+
const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-EQL24NLF.js');
|
|
3673
3673
|
const cwd = process.cwd();
|
|
3674
3674
|
let repoRoot = cwd;
|
|
3675
3675
|
try {
|
|
3676
3676
|
repoRoot = execFileSync("git", ["rev-parse", "--show-toplevel"], { cwd, encoding: "utf8", stdio: ["ignore", "pipe", "ignore"] }).trim() || cwd;
|
|
3677
3677
|
} catch {
|
|
3678
3678
|
}
|
|
3679
|
-
const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-
|
|
3679
|
+
const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-IZ6XCHGG.js');
|
|
3680
3680
|
const fresh = !isAgentsMdLayout(repoRoot) && !existsSync(join(repoRoot, ".outerlayer/skills")) && !existsSync(join(repoRoot, ".outerlayer/AGENTS.md"));
|
|
3681
3681
|
const result = installStarterPack({ repoRoot, base: fresh ? ".agents/skills" : skillsBaseFor(repoRoot) });
|
|
3682
3682
|
if (fresh) declareAgentsMdLayout(repoRoot);
|
|
@@ -3819,7 +3819,7 @@ ${starter.output}`),
|
|
|
3819
3819
|
}
|
|
3820
3820
|
}
|
|
3821
3821
|
async function installMachineSkillsForSetup() {
|
|
3822
|
-
const { setupMachineSkills } = await import('./machine-skills-
|
|
3822
|
+
const { setupMachineSkills } = await import('./machine-skills-SDIQFRIX.js');
|
|
3823
3823
|
const result = setupMachineSkills(homeFromEnv());
|
|
3824
3824
|
for (const failure of result.failures) process.stderr.write(`${C.yellow}!${C.reset} Could not write a maintained skill: ${failure}
|
|
3825
3825
|
`);
|
|
@@ -3827,8 +3827,8 @@ async function installMachineSkillsForSetup() {
|
|
|
3827
3827
|
` : "";
|
|
3828
3828
|
}
|
|
3829
3829
|
async function realConnectDepsForCwd() {
|
|
3830
|
-
const { realConnectDeps } = await import('./connect-cmd-
|
|
3831
|
-
const { resolveRepoIdentity } = await import('./dist-
|
|
3830
|
+
const { realConnectDeps } = await import('./connect-cmd-JPHOQZBW.js');
|
|
3831
|
+
const { resolveRepoIdentity } = await import('./dist-7JDEWP5U.js');
|
|
3832
3832
|
return {
|
|
3833
3833
|
...realConnectDeps(),
|
|
3834
3834
|
home: homeFromEnv(),
|
|
@@ -3845,12 +3845,12 @@ function buildProgram(argv = process.argv) {
|
|
|
3845
3845
|
const program2 = new Command();
|
|
3846
3846
|
program2.name(cliInvocation()).description("OuterLayer \u2014 see what your coding agents actually do").enablePositionalOptions().version(resolveVersion()).hook("preAction", async (_root, command) => {
|
|
3847
3847
|
if (command.opts().apiKey !== void 0) warnDeprecated(API_KEY_FLAG_DEPRECATION);
|
|
3848
|
-
const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-
|
|
3848
|
+
const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-SDIQFRIX.js');
|
|
3849
3849
|
const names = [];
|
|
3850
3850
|
for (let at = command; at?.parent; at = at.parent) names.push(at.name());
|
|
3851
3851
|
if (!machineRefreshSkipped(names, command._hidden === true, argv)) refreshMachineSkills(homeFromEnv());
|
|
3852
3852
|
}).hook("postAction", async (_root, command) => {
|
|
3853
|
-
const notice = await import('./cli-update-notice-
|
|
3853
|
+
const notice = await import('./cli-update-notice-PCJN5ZKP.js');
|
|
3854
3854
|
let top;
|
|
3855
3855
|
for (let at = command; at.parent; at = at.parent) top = at.name();
|
|
3856
3856
|
const json = command.opts().json === true || argv.includes("--json");
|
|
@@ -3902,8 +3902,8 @@ build, ../outerlayer-build/SKILL.md becomes ~/.agents/skills/outerlayer-build/SK
|
|
|
3902
3902
|
what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocation() + " doctor` reports the same\nstates under Starter files.\n"
|
|
3903
3903
|
).action(async (opts) => {
|
|
3904
3904
|
if (opts.update || opts.dryRun) {
|
|
3905
|
-
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-
|
|
3906
|
-
const { fleetReadiness } = await import('./fleet-readiness-
|
|
3905
|
+
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-EJS5G2XZ.js');
|
|
3906
|
+
const { fleetReadiness } = await import('./fleet-readiness-QTBZ322P.js');
|
|
3907
3907
|
const problem = updateFlagProblem(opts);
|
|
3908
3908
|
if (problem !== void 0) {
|
|
3909
3909
|
fail(problem);
|
|
@@ -3920,7 +3920,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3920
3920
|
}
|
|
3921
3921
|
let starterTemplate;
|
|
3922
3922
|
if (opts.template !== void 0) {
|
|
3923
|
-
const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-
|
|
3923
|
+
const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-EQL24NLF.js');
|
|
3924
3924
|
try {
|
|
3925
3925
|
assertKnownTemplate(opts.template);
|
|
3926
3926
|
} catch (err) {
|
|
@@ -3954,13 +3954,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3954
3954
|
if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
|
|
3955
3955
|
`);
|
|
3956
3956
|
}
|
|
3957
|
-
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-
|
|
3957
|
+
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-VKCXBALQ.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
|
|
3958
3958
|
if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
|
|
3959
3959
|
else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
|
|
3960
3960
|
return;
|
|
3961
3961
|
}
|
|
3962
3962
|
await installMachineSkillsForSetup();
|
|
3963
|
-
const { runInitCommand } = await import('./init-cmd-
|
|
3963
|
+
const { runInitCommand } = await import('./init-cmd-VKCXBALQ.js');
|
|
3964
3964
|
const code = await runInitCommand(
|
|
3965
3965
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3966
3966
|
{
|
|
@@ -3972,7 +3972,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3972
3972
|
return { ok, text, detail };
|
|
3973
3973
|
},
|
|
3974
3974
|
runAgentSetup: async () => {
|
|
3975
|
-
const { runAgentSetup } = await import('./agent-setup-
|
|
3975
|
+
const { runAgentSetup } = await import('./agent-setup-P77VERNT.js');
|
|
3976
3976
|
return runAgentSetup({ cwd: process.cwd(), skillsLink: opts.skillsLink !== false });
|
|
3977
3977
|
},
|
|
3978
3978
|
runDoctorChecks: gatherDoctorChecks,
|
|
@@ -3981,7 +3981,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3981
3981
|
shellPath: process.env.SHELL,
|
|
3982
3982
|
interactive: Boolean(process.stdin.isTTY && process.stderr.isTTY) && opts.json !== true,
|
|
3983
3983
|
ask: async () => {
|
|
3984
|
-
const { promptOnTerminal } = await import('./connect-cmd-
|
|
3984
|
+
const { promptOnTerminal } = await import('./connect-cmd-JPHOQZBW.js');
|
|
3985
3985
|
const answer = await promptOnTerminal({
|
|
3986
3986
|
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.`,
|
|
3987
3987
|
options: [
|
|
@@ -4020,7 +4020,7 @@ linked (true, false, or null when it could not be checked) and, when false,
|
|
|
4020
4020
|
linkUrl.
|
|
4021
4021
|
`
|
|
4022
4022
|
).action(async (opts) => {
|
|
4023
|
-
const { runConnectCommand } = await import('./connect-cmd-
|
|
4023
|
+
const { runConnectCommand } = await import('./connect-cmd-JPHOQZBW.js');
|
|
4024
4024
|
const code = await runConnectCommand({ factory: opts.factory, json: opts.json }, await realConnectDepsForCwd(), {
|
|
4025
4025
|
stdout: process.stdout,
|
|
4026
4026
|
stderr: process.stderr
|
|
@@ -4063,7 +4063,7 @@ Every later command reads the saved file, so none of them needs a key on
|
|
|
4063
4063
|
its command line. A saved key is checked for real on the first \`sync\`.
|
|
4064
4064
|
`
|
|
4065
4065
|
).action(async (opts) => {
|
|
4066
|
-
const { runLoginCommand, realLoginDeps } = await import('./login-browser-
|
|
4066
|
+
const { runLoginCommand, realLoginDeps } = await import('./login-browser-LSZKECIB.js');
|
|
4067
4067
|
const code = await runLoginCommand(
|
|
4068
4068
|
{
|
|
4069
4069
|
browser: opts.browser !== false,
|
|
@@ -4096,13 +4096,13 @@ code is 1: revoke the token on /profile/security.
|
|
|
4096
4096
|
"\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"
|
|
4097
4097
|
).action(async (opts) => {
|
|
4098
4098
|
if (opts.link !== void 0) {
|
|
4099
|
-
const { lookupArtifactLink } = await import('./artifact-link-cmd-
|
|
4099
|
+
const { lookupArtifactLink } = await import('./artifact-link-cmd-A7SROEQS.js');
|
|
4100
4100
|
const found = lookupArtifactLink(opts.link);
|
|
4101
4101
|
if (found.ok) process.stdout.write(found.url + "\n");
|
|
4102
4102
|
else fail(found.reason);
|
|
4103
4103
|
return;
|
|
4104
4104
|
}
|
|
4105
|
-
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-
|
|
4105
|
+
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-OCHEVJDU.js');
|
|
4106
4106
|
try {
|
|
4107
4107
|
const result = await runSync({
|
|
4108
4108
|
url: opts.url,
|
|
@@ -4131,7 +4131,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4131
4131
|
if (invokedCommandToken(argv) === "watch") {
|
|
4132
4132
|
warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
|
|
4133
4133
|
}
|
|
4134
|
-
const { runWatch } = await import('./watch-
|
|
4134
|
+
const { runWatch } = await import('./watch-DDSNYG5M.js');
|
|
4135
4135
|
await runWatch({ once: opts.once });
|
|
4136
4136
|
});
|
|
4137
4137
|
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(() => {
|
|
@@ -4146,8 +4146,8 @@ code is 1: revoke the token on /profile/security.
|
|
|
4146
4146
|
});
|
|
4147
4147
|
}
|
|
4148
4148
|
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) => {
|
|
4149
|
-
const { startRelay, startSessionRelay } = await import('./relay-
|
|
4150
|
-
const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-
|
|
4149
|
+
const { startRelay, startSessionRelay } = await import('./relay-MUBJFLEI.js');
|
|
4150
|
+
const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-UK2KZKGH.js');
|
|
4151
4151
|
const port = Number(opts.port);
|
|
4152
4152
|
if (!Number.isInteger(port) || port < 1 || port > 65535) {
|
|
4153
4153
|
fail(opts.port === void 0 ? "--port is required" : `--port must be a port number, not ${opts.port}`);
|
|
@@ -4185,7 +4185,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4185
4185
|
await startRelay({ port, socketPath: opts.socket, forwards: forwards.map((forward) => ({ port: forward.port, socketPath: forward.spec })) });
|
|
4186
4186
|
});
|
|
4187
4187
|
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) => {
|
|
4188
|
-
const { joinRelay } = await import('./relay-
|
|
4188
|
+
const { joinRelay } = await import('./relay-MUBJFLEI.js');
|
|
4189
4189
|
try {
|
|
4190
4190
|
await joinRelay({ socketPath: opts.socket, input: process.stdin, output: process.stdout });
|
|
4191
4191
|
} catch (err) {
|
|
@@ -4201,7 +4201,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4201
4201
|
}
|
|
4202
4202
|
});
|
|
4203
4203
|
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) => {
|
|
4204
|
-
const { runVmExec } = await import('./exec-client-
|
|
4204
|
+
const { runVmExec } = await import('./exec-client-RQ2WBQYI.js');
|
|
4205
4205
|
const env = {};
|
|
4206
4206
|
for (const entry of opts.env) {
|
|
4207
4207
|
const eq = entry.indexOf("=");
|
|
@@ -4230,7 +4230,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4230
4230
|
process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
|
|
4231
4231
|
});
|
|
4232
4232
|
program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
|
|
4233
|
-
const { runSessionSender } = await import('./session-sender-
|
|
4233
|
+
const { runSessionSender } = await import('./session-sender-CCXS5LKC.js');
|
|
4234
4234
|
try {
|
|
4235
4235
|
await runSessionSender();
|
|
4236
4236
|
} catch (err) {
|
|
@@ -4238,7 +4238,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4238
4238
|
}
|
|
4239
4239
|
});
|
|
4240
4240
|
program2.command("vm-init", { hidden: true }).description("lay out a microVM build's guest; the guest helper runs it").action(async () => {
|
|
4241
|
-
const { realGuestHost, runGuestInit } = await import('./guest-init-
|
|
4241
|
+
const { realGuestHost, runGuestInit } = await import('./guest-init-R3Z35NG7.js');
|
|
4242
4242
|
const { readFileSync: readFileSync3 } = await import('fs');
|
|
4243
4243
|
try {
|
|
4244
4244
|
runGuestInit(realGuestHost(), readFileSync3("/proc/cmdline", "utf8"));
|
|
@@ -4247,7 +4247,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4247
4247
|
}
|
|
4248
4248
|
});
|
|
4249
4249
|
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) => {
|
|
4250
|
-
const { startBridgeForward } = await import('./bridge-
|
|
4250
|
+
const { startBridgeForward } = await import('./bridge-CVHBKOFU.js');
|
|
4251
4251
|
try {
|
|
4252
4252
|
await startBridgeForward(opts);
|
|
4253
4253
|
} catch (err) {
|
|
@@ -4273,7 +4273,7 @@ async function runCli(processArgv) {
|
|
|
4273
4273
|
await buildProgram(argv).parseAsync(argv);
|
|
4274
4274
|
}
|
|
4275
4275
|
async function compileContext(opts) {
|
|
4276
|
-
const { runEmit, EmitError } = await import('./emit-cmd-
|
|
4276
|
+
const { runEmit, EmitError } = await import('./emit-cmd-VETPASRD.js');
|
|
4277
4277
|
try {
|
|
4278
4278
|
const result = runEmit({ cwd: opts.dir, check: opts.check, json: opts.json });
|
|
4279
4279
|
if (result.exitCode !== 0) process.exitCode = result.exitCode;
|
|
@@ -4326,7 +4326,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
|
|
|
4326
4326
|
await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
|
|
4327
4327
|
return;
|
|
4328
4328
|
}
|
|
4329
|
-
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-
|
|
4329
|
+
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-ND72YSHC.js');
|
|
4330
4330
|
try {
|
|
4331
4331
|
const result = await runEmitResult({
|
|
4332
4332
|
name,
|
|
@@ -4378,7 +4378,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
|
|
|
4378
4378
|
locally so it never uploads. One correction can retire several duplicates.
|
|
4379
4379
|
`
|
|
4380
4380
|
).action(async (file, opts) => {
|
|
4381
|
-
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-
|
|
4381
|
+
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-5YXDBVXP.js');
|
|
4382
4382
|
let pr;
|
|
4383
4383
|
if (opts.pr !== void 0) {
|
|
4384
4384
|
pr = parseTrackerNumber(opts.pr);
|
|
@@ -4434,7 +4434,7 @@ its criterion, and the new record retires the old record. The id must be the ite
|
|
|
4434
4434
|
as \`work demo --item <n> --json\` prints it.
|
|
4435
4435
|
`
|
|
4436
4436
|
).action(async (manifest, opts) => {
|
|
4437
|
-
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-
|
|
4437
|
+
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-2YTSDKEN.js');
|
|
4438
4438
|
let item;
|
|
4439
4439
|
if (opts.item !== void 0) {
|
|
4440
4440
|
item = parseTrackerNumber(opts.item);
|
|
@@ -4477,7 +4477,7 @@ as \`work demo --item <n> --json\` prints it.
|
|
|
4477
4477
|
}
|
|
4478
4478
|
});
|
|
4479
4479
|
program2.command("demo-voice", { hidden: true }).description("Speak demo lines for a recorder: JSON lines in on stdin, out on stdout").action(async () => {
|
|
4480
|
-
const { runDemoVoice } = await import('./demo-voice-cmd-
|
|
4480
|
+
const { runDemoVoice } = await import('./demo-voice-cmd-ENFCUFP6.js');
|
|
4481
4481
|
await runDemoVoice();
|
|
4482
4482
|
});
|
|
4483
4483
|
const demoCmd = program2.command("demo").description("Record demos with the recorder this CLI carries");
|
|
@@ -4495,7 +4495,7 @@ and the command prints the manifest's path for \`emit demo\`. Under \`work proof
|
|
|
4495
4495
|
to OUTERLAYER_PROOF_OUT instead. Exit 1 means the demo's test failed; its manifest is written all the same.
|
|
4496
4496
|
`
|
|
4497
4497
|
).action(async (file, opts) => {
|
|
4498
|
-
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-
|
|
4498
|
+
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-47RXW75H.js');
|
|
4499
4499
|
try {
|
|
4500
4500
|
const result = await runDemoRecord({
|
|
4501
4501
|
file,
|
|
@@ -4544,7 +4544,7 @@ recent events with their ids. --find <text> searches all of them.
|
|
|
4544
4544
|
item that session was launched for is used automatically.
|
|
4545
4545
|
`
|
|
4546
4546
|
).action(async (opts) => {
|
|
4547
|
-
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4547
|
+
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-RXR5O2RB.js');
|
|
4548
4548
|
try {
|
|
4549
4549
|
refuseRemovedFindingFlags(opts);
|
|
4550
4550
|
const result = await runEmitFinding({
|
|
@@ -4611,7 +4611,7 @@ the whole batch. "untimed": true records one with no time on purpose.
|
|
|
4611
4611
|
that session was launched for is used automatically.
|
|
4612
4612
|
`
|
|
4613
4613
|
).action(async (file, opts) => {
|
|
4614
|
-
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4614
|
+
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-RXR5O2RB.js');
|
|
4615
4615
|
try {
|
|
4616
4616
|
const result = await runEmitFindings({
|
|
4617
4617
|
file,
|
|
@@ -4646,7 +4646,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
|
|
|
4646
4646
|
the step, the command prints why and exits 1.
|
|
4647
4647
|
`
|
|
4648
4648
|
).action(async (name, opts) => {
|
|
4649
|
-
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-
|
|
4649
|
+
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-NXRZAW3R.js');
|
|
4650
4650
|
try {
|
|
4651
4651
|
await runEmitStep({
|
|
4652
4652
|
name,
|
|
@@ -4689,7 +4689,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
|
|
|
4689
4689
|
${cliInvocation()} emit criteria acceptance/412-login.md --item 412
|
|
4690
4690
|
`
|
|
4691
4691
|
).action(async (file, opts) => {
|
|
4692
|
-
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-
|
|
4692
|
+
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-5GBTQL3J.js');
|
|
4693
4693
|
try {
|
|
4694
4694
|
const result = await runEmitCriteria({
|
|
4695
4695
|
file,
|
|
@@ -4713,9 +4713,9 @@ function registerSpecCommands(program2) {
|
|
|
4713
4713
|
const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
|
|
4714
4714
|
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)");
|
|
4715
4715
|
const run = async (action) => {
|
|
4716
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4716
|
+
const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
|
|
4717
4717
|
try {
|
|
4718
|
-
await action(await import('./spec-cmd-
|
|
4718
|
+
await action(await import('./spec-cmd-UX6VYKE6.js'));
|
|
4719
4719
|
} catch (err) {
|
|
4720
4720
|
if (err instanceof WorkCommandError) {
|
|
4721
4721
|
fail(err.message);
|
|
@@ -4736,6 +4736,15 @@ function registerSpecCommands(program2) {
|
|
|
4736
4736
|
credentialOptions(
|
|
4737
4737
|
specCmd.command("edit").description("Replace the body of an issue that holds a spec").argument("<key>", "the issue key, such as acme/api#12 or ENG-142").option("--body-file <path>", "the new body as Markdown; - reads standard input").option("--updated-at <timestamp>", "the updatedAt you read; the edit is refused if the issue has changed since")
|
|
4738
4738
|
).action((key, opts) => run((spec) => spec.runSpecEdit({ ...opts, key })));
|
|
4739
|
+
credentialOptions(
|
|
4740
|
+
specCmd.command("draft", { hidden: true }).description("Start a draft spec from a title and a text file, and print its number and link").requiredOption("--title <text>", "the draft's title").option("--body-file <path>", "the spec as Markdown; - reads standard input")
|
|
4741
|
+
).action((opts) => run((spec) => spec.runSpecDraft(opts)));
|
|
4742
|
+
credentialOptions(
|
|
4743
|
+
specCmd.command("show", { hidden: true }).description("Print a draft spec's title, the id of its newest saved text and that text").argument("[item]", "the item's number in the factory (default: OUTERLAYER_WORK)")
|
|
4744
|
+
).action((item, opts) => run((spec) => spec.runSpecShow({ ...opts, item })));
|
|
4745
|
+
credentialOptions(
|
|
4746
|
+
specCmd.command("revise", { hidden: true }).description("Save a new text of a draft spec").argument("[item]", "the item's number in the factory (default: OUTERLAYER_WORK)").option("--body-file <path>", "the new text as Markdown; - reads standard input").requiredOption("--base <id>", "the id of the newest saved text, as `spec show` printed it")
|
|
4747
|
+
).action((item, opts) => run((spec) => spec.runSpecRevise({ ...opts, item })));
|
|
4739
4748
|
}
|
|
4740
4749
|
function registerWorkCommands(program2) {
|
|
4741
4750
|
const findingsCmd = program2.command("findings").description("Read the problems a fix item covers and record fix results");
|
|
@@ -4750,7 +4759,7 @@ Prints each problem the item covers with its id, its reports and its result.
|
|
|
4750
4759
|
session was launched for is used.
|
|
4751
4760
|
`
|
|
4752
4761
|
).action(async (opts) => {
|
|
4753
|
-
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-
|
|
4762
|
+
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-OHZRCVPV.js');
|
|
4754
4763
|
try {
|
|
4755
4764
|
const result = await runFindingsShow({
|
|
4756
4765
|
item: opts.item,
|
|
@@ -4778,7 +4787,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
|
|
|
4778
4787
|
problem to replace the earlier result. A problem the item does not cover is refused.
|
|
4779
4788
|
`
|
|
4780
4789
|
).action(async (problem, opts) => {
|
|
4781
|
-
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-
|
|
4790
|
+
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-OHZRCVPV.js');
|
|
4782
4791
|
try {
|
|
4783
4792
|
const result = await runFindingsResult({
|
|
4784
4793
|
problem,
|
|
@@ -4812,8 +4821,8 @@ an issue when the daily limit leaves none, and then you stop reporting.
|
|
|
4812
4821
|
Only the agent of a scheduled run, which holds a run key, can run it.
|
|
4813
4822
|
`
|
|
4814
4823
|
).action(async (opts) => {
|
|
4815
|
-
const { runFoundIssue, RunCommandError } = await import('./run-cmd-
|
|
4816
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4824
|
+
const { runFoundIssue, RunCommandError } = await import('./run-cmd-KPAN5DTB.js');
|
|
4825
|
+
const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
|
|
4817
4826
|
try {
|
|
4818
4827
|
await runFoundIssue(opts);
|
|
4819
4828
|
} catch (err) {
|
|
@@ -4835,8 +4844,8 @@ Run it instead of found-issue, never after it. Only the agent of a
|
|
|
4835
4844
|
scheduled run, which holds a run key, can run it.
|
|
4836
4845
|
`
|
|
4837
4846
|
).action(async (opts) => {
|
|
4838
|
-
const { runFoundNothing, RunCommandError } = await import('./run-cmd-
|
|
4839
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4847
|
+
const { runFoundNothing, RunCommandError } = await import('./run-cmd-KPAN5DTB.js');
|
|
4848
|
+
const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
|
|
4840
4849
|
try {
|
|
4841
4850
|
await runFoundNothing(opts);
|
|
4842
4851
|
} catch (err) {
|
|
@@ -4868,7 +4877,7 @@ takes it, and prints the line that starts your session on it. That
|
|
|
4868
4877
|
session links itself and holds the item's lease while it works.
|
|
4869
4878
|
`
|
|
4870
4879
|
).action(async (opts) => {
|
|
4871
|
-
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-
|
|
4880
|
+
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
|
|
4872
4881
|
try {
|
|
4873
4882
|
await runWorkBuild(opts);
|
|
4874
4883
|
} catch (err) {
|
|
@@ -4891,7 +4900,7 @@ renews that session's own 20-minute lease, unless --no-lease or
|
|
|
4891
4900
|
--ended is given, or another worker already holds a live one.
|
|
4892
4901
|
`
|
|
4893
4902
|
).action(async (number, opts) => {
|
|
4894
|
-
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-
|
|
4903
|
+
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
|
|
4895
4904
|
try {
|
|
4896
4905
|
await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
|
|
4897
4906
|
} catch (err) {
|
|
@@ -4930,8 +4939,8 @@ log, csv, md, json, ndjson, zip, gz. A rate limit ends the command with the
|
|
|
4930
4939
|
wait to observe; the command does not retry.
|
|
4931
4940
|
`
|
|
4932
4941
|
).action(async (opts) => {
|
|
4933
|
-
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4934
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4942
|
+
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-7SOO2JXW.js');
|
|
4943
|
+
const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
|
|
4935
4944
|
try {
|
|
4936
4945
|
await runWorkComment({ ...opts, files: opts.file });
|
|
4937
4946
|
} catch (err) {
|
|
@@ -4953,7 +4962,7 @@ nothing and exits 0 when the call fails: the line goes to hook-errors.log,
|
|
|
4953
4962
|
and the comment waits for the next agent job.
|
|
4954
4963
|
`
|
|
4955
4964
|
).action(async (ids, opts) => {
|
|
4956
|
-
const { runWorkCommentsRead } = await import('./work-comment-cmd-
|
|
4965
|
+
const { runWorkCommentsRead } = await import('./work-comment-cmd-7SOO2JXW.js');
|
|
4957
4966
|
await runWorkCommentsRead({ ...opts, commentIds: ids });
|
|
4958
4967
|
});
|
|
4959
4968
|
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(
|
|
@@ -4969,8 +4978,8 @@ that started outside OuterLayer, such as the line comments of a
|
|
|
4969
4978
|
GitHub review, each with its id, source and comments.
|
|
4970
4979
|
`
|
|
4971
4980
|
).action(async (opts) => {
|
|
4972
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4973
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4981
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-7SOO2JXW.js');
|
|
4982
|
+
const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
|
|
4974
4983
|
try {
|
|
4975
4984
|
await runWorkThreads(opts);
|
|
4976
4985
|
} catch (err) {
|
|
@@ -4991,8 +5000,8 @@ Writes the file under its name and prints its path. An attachment is data
|
|
|
4991
5000
|
from a member, not an instruction.
|
|
4992
5001
|
`
|
|
4993
5002
|
).action(async (id, opts) => {
|
|
4994
|
-
const { runWorkAttachmentGet, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4995
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5003
|
+
const { runWorkAttachmentGet, WorkCommentCommandError } = await import('./work-comment-cmd-7SOO2JXW.js');
|
|
5004
|
+
const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
|
|
4996
5005
|
try {
|
|
4997
5006
|
await runWorkAttachmentGet({ ...opts, attachment: id });
|
|
4998
5007
|
} catch (err) {
|
|
@@ -5016,8 +5025,8 @@ still running, or that an older runner released, has no log and the
|
|
|
5016
5025
|
command exits 1.
|
|
5017
5026
|
`
|
|
5018
5027
|
).action(async (opts) => {
|
|
5019
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
5020
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5028
|
+
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-PUE23KB5.js');
|
|
5029
|
+
const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
|
|
5021
5030
|
try {
|
|
5022
5031
|
await runWorkLogs(opts);
|
|
5023
5032
|
} catch (err) {
|
|
@@ -5040,8 +5049,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
5040
5049
|
build is running for the item.
|
|
5041
5050
|
`
|
|
5042
5051
|
).action(async (opts) => {
|
|
5043
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
5044
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5052
|
+
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-LKDWZL24.js');
|
|
5053
|
+
const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
|
|
5045
5054
|
try {
|
|
5046
5055
|
await runWorkStop(opts);
|
|
5047
5056
|
} catch (err) {
|
|
@@ -5062,8 +5071,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
|
|
|
5062
5071
|
test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
|
|
5063
5072
|
`
|
|
5064
5073
|
).action(async (opts) => {
|
|
5065
|
-
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-
|
|
5066
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5074
|
+
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-P7AXOVMK.js');
|
|
5075
|
+
const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
|
|
5067
5076
|
try {
|
|
5068
5077
|
await runWorkDemo(opts);
|
|
5069
5078
|
} catch (err) {
|
|
@@ -5084,7 +5093,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
5084
5093
|
live addition remains on it.
|
|
5085
5094
|
`
|
|
5086
5095
|
).action(async (opts) => {
|
|
5087
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
5096
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
|
|
5088
5097
|
try {
|
|
5089
5098
|
await runWorkRemove(opts);
|
|
5090
5099
|
} catch (err) {
|
|
@@ -5096,7 +5105,7 @@ live addition remains on it.
|
|
|
5096
5105
|
}
|
|
5097
5106
|
});
|
|
5098
5107
|
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) => {
|
|
5099
|
-
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-
|
|
5108
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
|
|
5100
5109
|
try {
|
|
5101
5110
|
await runWorkStatus(opts);
|
|
5102
5111
|
} catch (err) {
|
|
@@ -5154,11 +5163,11 @@ a runner build, no row is failed.
|
|
|
5154
5163
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5155
5164
|
return;
|
|
5156
5165
|
}
|
|
5157
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5166
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-7HOVHHCL.js');
|
|
5158
5167
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5159
5168
|
});
|
|
5160
5169
|
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) => {
|
|
5161
|
-
const { runWorkList, WorkCommandError } = await import('./work-cmd-
|
|
5170
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
|
|
5162
5171
|
try {
|
|
5163
5172
|
await runWorkList(opts);
|
|
5164
5173
|
} catch (err) {
|
|
@@ -5179,7 +5188,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
5179
5188
|
it. --host is a label only.
|
|
5180
5189
|
`
|
|
5181
5190
|
).action(async (opts) => {
|
|
5182
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
5191
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-2YYRYOPS.js');
|
|
5183
5192
|
try {
|
|
5184
5193
|
await runWorkClaim(opts);
|
|
5185
5194
|
} catch (err) {
|
|
@@ -5199,7 +5208,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5199
5208
|
lease has expired, or a 403 if a different key holds it.
|
|
5200
5209
|
`
|
|
5201
5210
|
).action(async (opts) => {
|
|
5202
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5211
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-2YYRYOPS.js');
|
|
5203
5212
|
try {
|
|
5204
5213
|
await runWorkRenew(opts);
|
|
5205
5214
|
} catch (err) {
|
|
@@ -5231,7 +5240,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5231
5240
|
takes the lease again.
|
|
5232
5241
|
`
|
|
5233
5242
|
).action(async (opts) => {
|
|
5234
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5243
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-2YYRYOPS.js');
|
|
5235
5244
|
try {
|
|
5236
5245
|
await runWorkRelease(opts);
|
|
5237
5246
|
} catch (err) {
|
|
@@ -5258,7 +5267,7 @@ Idempotent: declaring the same pull request twice is a no-op.
|
|
|
5258
5267
|
needs your own login; an agent session or a factory key is refused.
|
|
5259
5268
|
`
|
|
5260
5269
|
).action(async (number, opts) => {
|
|
5261
|
-
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-
|
|
5270
|
+
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-ZOCB54YC.js');
|
|
5262
5271
|
try {
|
|
5263
5272
|
await runWorkPr({ ...opts, number });
|
|
5264
5273
|
} catch (err) {
|
|
@@ -5283,8 +5292,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
5283
5292
|
Run it again after a change to the title or description.
|
|
5284
5293
|
`
|
|
5285
5294
|
).action(async (opts) => {
|
|
5286
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
5287
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5295
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-FTZSIWOM.js');
|
|
5296
|
+
const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
|
|
5288
5297
|
try {
|
|
5289
5298
|
await runWorkOpenPr(opts);
|
|
5290
5299
|
} catch (err) {
|
|
@@ -5307,8 +5316,8 @@ and OuterLayer posts the reason on the issue. Only a host build, which
|
|
|
5307
5316
|
holds an item key, can run it.
|
|
5308
5317
|
`
|
|
5309
5318
|
).action(async (opts) => {
|
|
5310
|
-
const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-
|
|
5311
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5319
|
+
const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-6FLPOK7M.js');
|
|
5320
|
+
const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
|
|
5312
5321
|
try {
|
|
5313
5322
|
await runWorkNoChange(opts);
|
|
5314
5323
|
} catch (err) {
|
|
@@ -5331,8 +5340,8 @@ record that no change is needed. Only a host build, which holds an item key,
|
|
|
5331
5340
|
can run it.
|
|
5332
5341
|
`
|
|
5333
5342
|
).action(async (opts) => {
|
|
5334
|
-
const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-
|
|
5335
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5343
|
+
const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-SJ6P2V3S.js');
|
|
5344
|
+
const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
|
|
5336
5345
|
try {
|
|
5337
5346
|
await runWorkNeedsAttention(opts);
|
|
5338
5347
|
} catch (err) {
|
|
@@ -5376,9 +5385,9 @@ function registerRunnerCommands(program2) {
|
|
|
5376
5385
|
const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
|
|
5377
5386
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5378
5387
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5379
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5380
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5381
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5388
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-JMTO5H4U.js');
|
|
5389
|
+
const { start, RunnerStartError } = await import('./loop-ZMIBNWIP.js');
|
|
5390
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-ZIDS3G5J.js');
|
|
5382
5391
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5383
5392
|
try {
|
|
5384
5393
|
const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
|
|
@@ -5400,10 +5409,10 @@ is optional and defaults to ${words().runnerName}. On a later start it refuses v
|
|
|
5400
5409
|
The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
5401
5410
|
`
|
|
5402
5411
|
).action(async () => {
|
|
5403
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5404
|
-
const { containerStart, containerStartExit } = await import('./container-start-
|
|
5405
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5406
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5412
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-JMTO5H4U.js');
|
|
5413
|
+
const { containerStart, containerStartExit } = await import('./container-start-IWW2OVWT.js');
|
|
5414
|
+
const { start, RunnerStartError } = await import('./loop-ZMIBNWIP.js');
|
|
5415
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-ZIDS3G5J.js');
|
|
5407
5416
|
try {
|
|
5408
5417
|
const outcome = containerStartExit(await containerStart({
|
|
5409
5418
|
env: process.env,
|
|
@@ -5424,16 +5433,16 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5424
5433
|
"after",
|
|
5425
5434
|
"\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"
|
|
5426
5435
|
).action(async (opts) => {
|
|
5427
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5428
|
-
const { runnerDir } = await import('./paths-
|
|
5429
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5436
|
+
const { defaultRunnerConfigPath } = await import('./config-JMTO5H4U.js');
|
|
5437
|
+
const { runnerDir } = await import('./paths-W2U4BYFR.js');
|
|
5438
|
+
const { runUpdateSteps } = await import('./update-steps-PCZORLEO.js');
|
|
5430
5439
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5431
5440
|
process.stdout.write(`${text}
|
|
5432
5441
|
`);
|
|
5433
5442
|
});
|
|
5434
5443
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5435
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5436
|
-
const { runRunnerCheck } = await import('./check-
|
|
5444
|
+
const { defaultRunnerConfigPath } = await import('./config-JMTO5H4U.js');
|
|
5445
|
+
const { runRunnerCheck } = await import('./check-V2TITR5P.js');
|
|
5437
5446
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5438
5447
|
const result = await runRunnerCheck(configPath);
|
|
5439
5448
|
if (!result.ok) {
|
|
@@ -5454,8 +5463,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5454
5463
|
`);
|
|
5455
5464
|
});
|
|
5456
5465
|
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) => {
|
|
5457
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5458
|
-
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-
|
|
5466
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-JMTO5H4U.js');
|
|
5467
|
+
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-7LUZQZMJ.js');
|
|
5459
5468
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5460
5469
|
if (opts.service !== true) {
|
|
5461
5470
|
const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
|
|
@@ -5467,13 +5476,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5467
5476
|
}
|
|
5468
5477
|
}
|
|
5469
5478
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5470
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5479
|
+
if (buildCpusMax !== void 0 && !(await import('./command-TWK2QQ5J.js')).cpusAreValid(buildCpusMax)) {
|
|
5471
5480
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5472
5481
|
return;
|
|
5473
5482
|
}
|
|
5474
5483
|
try {
|
|
5475
5484
|
if (opts.service === true) {
|
|
5476
|
-
const { installServiceCommand, serviceSuccessText } = await import('./command-
|
|
5485
|
+
const { installServiceCommand, serviceSuccessText } = await import('./command-TWK2QQ5J.js');
|
|
5477
5486
|
const result2 = await installServiceCommand({
|
|
5478
5487
|
configPath,
|
|
5479
5488
|
print: opts.print,
|
|
@@ -5527,8 +5536,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5527
5536
|
fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
|
|
5528
5537
|
return;
|
|
5529
5538
|
}
|
|
5530
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5531
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5539
|
+
const { defaultRunnerConfigPath } = await import('./config-JMTO5H4U.js');
|
|
5540
|
+
const { uninstallServiceCommand } = await import('./command-TWK2QQ5J.js');
|
|
5532
5541
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5533
5542
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5534
5543
|
`);
|
|
@@ -5558,13 +5567,13 @@ already in ${words().envFile} is used.
|
|
|
5558
5567
|
printf '%s' "$${words().variables[0]}" | ${cliInvocation()} runner init --agent ${words().runnerName} --factory <org>/<factory>
|
|
5559
5568
|
`
|
|
5560
5569
|
).action(async (opts) => {
|
|
5561
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5562
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5563
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5564
|
-
const { detectMachine } = await import('./machine-
|
|
5565
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5566
|
-
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-
|
|
5567
|
-
const { headlessNames: headlessNames2 } = await import('./runner-agents-
|
|
5570
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-JMTO5H4U.js');
|
|
5571
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-LGMYM54E.js');
|
|
5572
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-4VZCSL73.js');
|
|
5573
|
+
const { detectMachine } = await import('./machine-WILRS4XJ.js');
|
|
5574
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-IE5IGNVE.js');
|
|
5575
|
+
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-IKUFXCUV.js');
|
|
5576
|
+
const { headlessNames: headlessNames2 } = await import('./runner-agents-3ZKMPZ2D.js');
|
|
5568
5577
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5569
5578
|
if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
|
|
5570
5579
|
fail(`--agent ${opts.agent}: runner init writes commands for ${headlessNames2().join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
|
|
@@ -5576,7 +5585,7 @@ already in ${words().envFile} is used.
|
|
|
5576
5585
|
return;
|
|
5577
5586
|
}
|
|
5578
5587
|
try {
|
|
5579
|
-
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-
|
|
5588
|
+
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-YBLFXWPL.js');
|
|
5580
5589
|
agent = await initAgent({
|
|
5581
5590
|
flag: agent,
|
|
5582
5591
|
handOff: opts.configStdin === true,
|
|
@@ -5587,7 +5596,7 @@ already in ${words().envFile} is used.
|
|
|
5587
5596
|
if (agent !== void 0) {
|
|
5588
5597
|
const chosen = agent;
|
|
5589
5598
|
const forms = credentialForms((runnerAgentNamed(chosen) ?? credentialAgent()).descriptor);
|
|
5590
|
-
const { readPipedKey } = await import('./login-browser-
|
|
5599
|
+
const { readPipedKey } = await import('./login-browser-LSZKECIB.js');
|
|
5591
5600
|
const { terminalPrompt: terminalPrompt2 } = await import('./hidden-prompt-UXBFMQC5.js');
|
|
5592
5601
|
const text = await agentCredentialText({
|
|
5593
5602
|
isTTY: process.stdin.isTTY === true,
|
|
@@ -5609,7 +5618,7 @@ already in ${words().envFile} is used.
|
|
|
5609
5618
|
const chunks = [];
|
|
5610
5619
|
for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
|
|
5611
5620
|
const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
|
|
5612
|
-
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-
|
|
5621
|
+
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-JDLHIUNO.js');
|
|
5613
5622
|
const hostKey2 = await ensureHostKey2(configPath);
|
|
5614
5623
|
process.stdout.write(`host key ${hostKey2.fingerprint}
|
|
5615
5624
|
hooks: ${result2.hooks}
|
|
@@ -5664,7 +5673,7 @@ hooks: ${result2.hooks}
|
|
|
5664
5673
|
const prepared = prepareRunnerInit(configPath, { machine, agent, credential, keyFromLogin: makeKey !== void 0 });
|
|
5665
5674
|
const created = makeKey === void 0 ? void 0 : await makeKey();
|
|
5666
5675
|
const result = writeRunnerInit(prepared, created);
|
|
5667
|
-
const { ensureHostKey } = await import('./host-key-
|
|
5676
|
+
const { ensureHostKey } = await import('./host-key-JDLHIUNO.js');
|
|
5668
5677
|
const hostKey = await ensureHostKey(configPath);
|
|
5669
5678
|
if (created !== void 0) {
|
|
5670
5679
|
process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
|
|
@@ -5684,7 +5693,7 @@ hooks: ${result2.hooks}
|
|
|
5684
5693
|
);
|
|
5685
5694
|
process.stdout.write(`${C.green}\u2713${C.reset} hooks: ${result.hooks}${result.hooks === "builtin:vm" ? " (builds run in microVMs)" : " (builds run in containers)"}
|
|
5686
5695
|
`);
|
|
5687
|
-
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-
|
|
5696
|
+
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-7LUZQZMJ.js');
|
|
5688
5697
|
let installedLayout = false;
|
|
5689
5698
|
let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
|
|
5690
5699
|
try {
|
|
@@ -5716,7 +5725,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5716
5725
|
let serviceUp = false;
|
|
5717
5726
|
let restart;
|
|
5718
5727
|
if (installedLayout) {
|
|
5719
|
-
const { installServiceCommand } = await import('./command-
|
|
5728
|
+
const { installServiceCommand } = await import('./command-TWK2QQ5J.js');
|
|
5720
5729
|
const service = await installServiceCommand({
|
|
5721
5730
|
configPath,
|
|
5722
5731
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5768,12 +5777,12 @@ image holds this CLI and a pinned ${words().agent}. Nothing runs inside the imag
|
|
|
5768
5777
|
A repository with no devcontainer file builds on the universal image the CLI pins by digest.
|
|
5769
5778
|
`
|
|
5770
5779
|
).action(async (opts) => {
|
|
5771
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5772
|
-
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-
|
|
5780
|
+
const { defaultRunnerConfigPath } = await import('./config-JMTO5H4U.js');
|
|
5781
|
+
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-KVJM6PMC.js');
|
|
5773
5782
|
const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
|
|
5774
|
-
const { createDockerHost } = await import('./docker-
|
|
5775
|
-
const { builderSpec } = await import('./builder-
|
|
5776
|
-
const { loadRunnerConfig } = await import('./config-
|
|
5783
|
+
const { createDockerHost } = await import('./docker-KC5ZFIK5.js');
|
|
5784
|
+
const { builderSpec } = await import('./builder-3LUEEVSN.js');
|
|
5785
|
+
const { loadRunnerConfig } = await import('./config-JMTO5H4U.js');
|
|
5777
5786
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5778
5787
|
const loaded = (() => {
|
|
5779
5788
|
try {
|
|
@@ -5784,12 +5793,12 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5784
5793
|
})();
|
|
5785
5794
|
const memory = loaded?.build?.memory ?? "8g";
|
|
5786
5795
|
try {
|
|
5787
|
-
const { ensureRunnerIdentity } = await import('./runner-identity-
|
|
5796
|
+
const { ensureRunnerIdentity } = await import('./runner-identity-UMODOKXV.js');
|
|
5788
5797
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5789
5798
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5790
5799
|
});
|
|
5791
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5792
|
-
const { runnerCalls } = await import('./caller-
|
|
5800
|
+
const { imageTargetFor } = await import('./governing-source-LOIIVNWG.js');
|
|
5801
|
+
const { runnerCalls } = await import('./caller-IMM277FA.js');
|
|
5793
5802
|
const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
|
|
5794
5803
|
if (!target.ok) {
|
|
5795
5804
|
if (opts.json) {
|
|
@@ -5853,25 +5862,25 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5853
5862
|
}
|
|
5854
5863
|
});
|
|
5855
5864
|
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) => {
|
|
5856
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5857
|
-
const { requestStop } = await import('./loop-
|
|
5865
|
+
const { defaultRunnerConfigPath } = await import('./config-JMTO5H4U.js');
|
|
5866
|
+
const { requestStop } = await import('./loop-ZMIBNWIP.js');
|
|
5858
5867
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5859
|
-
const { runnerImageVersion } = await import('./image-tag-
|
|
5868
|
+
const { runnerImageVersion } = await import('./image-tag-BAA6APVR.js');
|
|
5860
5869
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
5861
5870
|
});
|
|
5862
5871
|
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) => {
|
|
5863
|
-
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-
|
|
5864
|
-
const { jobsDir, runnerDir } = await import('./paths-
|
|
5865
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5866
|
-
const { renderStatus } = await import('./status-
|
|
5867
|
-
const { readHousekeepingRecord } = await import('./record-
|
|
5872
|
+
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-JMTO5H4U.js');
|
|
5873
|
+
const { jobsDir, runnerDir } = await import('./paths-W2U4BYFR.js');
|
|
5874
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-ZMIBNWIP.js');
|
|
5875
|
+
const { renderStatus } = await import('./status-IRQ5N2CN.js');
|
|
5876
|
+
const { readHousekeepingRecord } = await import('./record-I6XI5YWE.js');
|
|
5868
5877
|
const path2 = await import('path');
|
|
5869
5878
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5870
5879
|
const all = listJobFiles(configPath);
|
|
5871
5880
|
const housekeeping = readHousekeepingRecord(runnerDir(configPath));
|
|
5872
|
-
const { readPendingUpdate } = await import('./pending-
|
|
5881
|
+
const { readPendingUpdate } = await import('./pending-ZYVVCMCB.js');
|
|
5873
5882
|
const pendingUpdate = readPendingUpdate(runnerDir(configPath));
|
|
5874
|
-
const { readImageStatus } = await import('./image-tag-
|
|
5883
|
+
const { readImageStatus } = await import('./image-tag-BAA6APVR.js');
|
|
5875
5884
|
const image = readImageStatus(runnerDir(configPath));
|
|
5876
5885
|
let host = "unknown";
|
|
5877
5886
|
let concurrency = 1;
|
|
@@ -5881,7 +5890,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5881
5890
|
host = config.host;
|
|
5882
5891
|
concurrency = config.concurrency;
|
|
5883
5892
|
if (config.fleet === true) {
|
|
5884
|
-
const { readFleetState } = await import('./state-
|
|
5893
|
+
const { readFleetState } = await import('./state-MD27KY5N.js');
|
|
5885
5894
|
fleet = { state: readFleetState(configPath) };
|
|
5886
5895
|
}
|
|
5887
5896
|
} catch {
|
|
@@ -5889,7 +5898,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5889
5898
|
const processState = runnerProcessState(configPath);
|
|
5890
5899
|
const service = await (async () => {
|
|
5891
5900
|
if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
|
|
5892
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
5901
|
+
const { inspectRunnerService } = await import('./find-unit-6YALHLSE.js');
|
|
5893
5902
|
const facts = inspectRunnerService(configPath);
|
|
5894
5903
|
return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
|
|
5895
5904
|
})();
|
|
@@ -5928,9 +5937,9 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5928
5937
|
);
|
|
5929
5938
|
});
|
|
5930
5939
|
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) => {
|
|
5931
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5932
|
-
const { listJobFiles } = await import('./loop-
|
|
5933
|
-
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-
|
|
5940
|
+
const { defaultRunnerConfigPath } = await import('./config-JMTO5H4U.js');
|
|
5941
|
+
const { listJobFiles } = await import('./loop-ZMIBNWIP.js');
|
|
5942
|
+
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-WVO5SCTN.js');
|
|
5934
5943
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5935
5944
|
const jobs = listJobFiles(configPath);
|
|
5936
5945
|
const selected = selectAttempt(jobs, itemArg);
|
|
@@ -6151,7 +6160,7 @@ Self-host deployments also need --app-id: without a key service to resolve the
|
|
|
6151
6160
|
caller from the bearer token, the gateway answers 401 without that header.
|
|
6152
6161
|
`
|
|
6153
6162
|
).action(async (opts) => {
|
|
6154
|
-
const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-
|
|
6163
|
+
const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-GF2QAYQE.js');
|
|
6155
6164
|
try {
|
|
6156
6165
|
if (opts.transport !== void 0 && opts.transport !== "stdio" && opts.transport !== "http") {
|
|
6157
6166
|
throw new McpInstallError(`--transport must be "stdio" or "http", got "${opts.transport}"`);
|
|
@@ -6173,7 +6182,7 @@ caller from the bearer token, the gateway answers 401 without that header.
|
|
|
6173
6182
|
"after",
|
|
6174
6183
|
"\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"
|
|
6175
6184
|
).action(async (opts) => {
|
|
6176
|
-
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-
|
|
6185
|
+
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-RB3NBRP7.js');
|
|
6177
6186
|
try {
|
|
6178
6187
|
await runMcpServe({ url: opts.url, appId: opts.appId });
|
|
6179
6188
|
} catch (err) {
|
|
@@ -6194,7 +6203,7 @@ would get, the instruction files and the names of the skills. It warns when the
|
|
|
6194
6203
|
no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
|
|
6195
6204
|
`
|
|
6196
6205
|
).action(async (opts) => {
|
|
6197
|
-
const { runContextShow, ContextShowError } = await import('./context-show-cmd-
|
|
6206
|
+
const { runContextShow, ContextShowError } = await import('./context-show-cmd-WO6B7UUZ.js');
|
|
6198
6207
|
try {
|
|
6199
6208
|
const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
|
|
6200
6209
|
process.stdout.write(result.output);
|