@outerlayer/cli 0.38.0-next.20261112043334 → 0.38.0-next.20261112061209
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/README.md +9 -4
- package/dist/agent-setup-JCCBEF2W.js +40 -0
- package/dist/{agent-subcommand-VDN4AFAJ.js → agent-subcommand-JXQNN57P.js} +4 -4
- package/dist/{artifact-link-cmd-A7SROEQS.js → artifact-link-cmd-TCCDV4ZI.js} +2 -2
- package/dist/{bridge-QUQYCBQN.js → bridge-YN5S2ID2.js} +7 -7
- package/dist/{build-FNUOBMFG.js → build-5K2MI7LO.js} +13 -13
- package/dist/{build-disk-4PCVGMAT.js → build-disk-34RMC46P.js} +11 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-JG2DHKSN.js → builder-Y46OD2YA.js} +10 -10
- package/dist/caller-A7J5XLTN.js +23 -0
- package/dist/{check-6JV4M2U6.js → check-KFH4KBOO.js} +55 -55
- package/dist/{chunk-BUT777XB.js → chunk-2AQFXNPE.js} +1 -1
- package/dist/{chunk-EJ7ZXBXS.js → chunk-2K2HCINU.js} +2 -2
- package/dist/{chunk-5NK2KKG6.js → chunk-42OC3PB7.js} +3 -3
- package/dist/{chunk-7DIYEB3X.js → chunk-43K5TGGG.js} +6 -6
- package/dist/{chunk-W7BF2RXV.js → chunk-44RZCSDR.js} +3 -3
- package/dist/{chunk-6X2BSMRM.js → chunk-4YDYYNKT.js} +1 -1
- package/dist/{chunk-RTMIEV5N.js → chunk-52PRIAV7.js} +3 -3
- package/dist/{chunk-YZVNZWKD.js → chunk-5JUJGQ4B.js} +7 -7
- package/dist/{chunk-QYLBGMTA.js → chunk-6725XB2P.js} +2 -2
- package/dist/{chunk-Y5S6EUGK.js → chunk-6CM7HS33.js} +6 -6
- package/dist/{chunk-LM2MCACJ.js → chunk-6ILW7JIM.js} +17 -17
- package/dist/{chunk-I5U6CFH4.js → chunk-6UU33NGO.js} +1 -1
- package/dist/{chunk-SLORYOL4.js → chunk-7EJDT6W5.js} +1 -1
- package/dist/{chunk-6FB7NTJK.js → chunk-ABLIHKNU.js} +1 -1
- package/dist/{chunk-37WGI6GZ.js → chunk-AUJRXNE7.js} +10 -10
- package/dist/{chunk-C5NJHYLO.js → chunk-B4MGXOTK.js} +10 -10
- package/dist/{chunk-ZCX43KZ5.js → chunk-BOZRAKYW.js} +1 -1
- package/dist/{chunk-LSU3LXDM.js → chunk-D7TMU2EJ.js} +7 -7
- package/dist/{chunk-ERG3WCEC.js → chunk-DAVRAYHH.js} +10 -8
- package/dist/{chunk-BJIJYPGC.js → chunk-EDAHMAQV.js} +5 -5
- package/dist/{chunk-MVERFCX4.js → chunk-EMSSER2V.js} +1 -1
- package/dist/{chunk-NO4N4D32.js → chunk-EOVTRFI6.js} +4 -4
- package/dist/{chunk-2VJVPP5Y.js → chunk-F5C2B747.js} +1 -1
- package/dist/{chunk-2UCTMANO.js → chunk-FQFZ5XL5.js} +1 -1
- package/dist/{chunk-OAPWDSBW.js → chunk-G6DU2BIN.js} +2 -2
- package/dist/{chunk-PCGU6T7J.js → chunk-GDQMVZS4.js} +1 -1
- package/dist/{chunk-UXARYJQ4.js → chunk-GYEDK2C7.js} +1 -1
- package/dist/{chunk-POBH5YCG.js → chunk-HHDDGKBN.js} +1 -1
- package/dist/{chunk-NRDFBOKE.js → chunk-HN3MAJWV.js} +3 -3
- package/dist/{chunk-DLUBSTLW.js → chunk-HTB4TQ53.js} +8 -8
- package/dist/{chunk-4T2NBVC4.js → chunk-HWHDFWIL.js} +5 -5
- package/dist/{chunk-EUHUIIGT.js → chunk-IBEFT67X.js} +4 -4
- package/dist/{chunk-B2SHUO6J.js → chunk-IDZNOFE3.js} +1 -1
- package/dist/{chunk-WFYKTAXZ.js → chunk-IEWF7OMQ.js} +1 -1
- package/dist/{chunk-5NVF5TAL.js → chunk-IQDIXTDJ.js} +16 -4
- package/dist/{chunk-JIANCWJ3.js → chunk-ISBA6KRX.js} +1 -1
- package/dist/{chunk-5TMM2K23.js → chunk-IW3AWMDJ.js} +4 -4
- package/dist/{chunk-J6KKJGR7.js → chunk-JAQWKAEN.js} +1 -1
- package/dist/{chunk-FUZEOWF4.js → chunk-JGTYQMGV.js} +1 -1
- package/dist/{chunk-BBRXFXBB.js → chunk-KNQDI2ZN.js} +1 -1
- package/dist/{chunk-3C23ZPWR.js → chunk-LKCO2LXP.js} +2 -2
- package/dist/{chunk-ZJHWXRT4.js → chunk-LSQEBU6U.js} +1 -1
- package/dist/{chunk-N6BNN6ZD.js → chunk-N7HPKPPZ.js} +1 -1
- package/dist/{chunk-BBIFZCCB.js → chunk-NG5IIGT6.js} +186 -96
- package/dist/{chunk-43R7JHQI.js → chunk-NSHOVOSO.js} +5 -5
- package/dist/{chunk-DNXYI22V.js → chunk-NUHKAZWF.js} +8 -8
- package/dist/{chunk-NDQC2WUJ.js → chunk-NXNECYRC.js} +1 -1
- package/dist/{chunk-26BFN6DH.js → chunk-O5FDLDQI.js} +1 -1
- package/dist/{chunk-5AVYYNGU.js → chunk-OK7IUE5M.js} +7 -7
- package/dist/{chunk-KRYTOYH5.js → chunk-P37BKTMK.js} +27 -27
- package/dist/{chunk-DZFIRKDZ.js → chunk-PFUT37UQ.js} +3 -3
- package/dist/{chunk-A4NWDCWS.js → chunk-PLPIEAQD.js} +5 -5
- package/dist/{chunk-I62FX622.js → chunk-QW3W4QYP.js} +1 -1
- package/dist/{chunk-722KABMV.js → chunk-RA4N34AG.js} +3 -3
- package/dist/{chunk-2PJO6QS2.js → chunk-RVKFUJFK.js} +7 -7
- package/dist/{chunk-ZH5YLKO6.js → chunk-RZJ5GII7.js} +1 -1
- package/dist/{chunk-KZU5WQK5.js → chunk-S6WHYTSR.js} +2 -2
- package/dist/{chunk-SFN7K33S.js → chunk-SPLGHAZO.js} +7 -7
- package/dist/{chunk-ECNWHXIO.js → chunk-TKNYBIBU.js} +4 -4
- package/dist/{chunk-4FHDVWKO.js → chunk-TTHZCIU5.js} +4 -4
- package/dist/{chunk-RCK2MJRG.js → chunk-TXB2WDG6.js} +2 -2
- package/dist/{chunk-SFSE6YDX.js → chunk-UD4XMIIQ.js} +6 -6
- package/dist/{chunk-IGBPPM7F.js → chunk-UE4N3MJV.js} +7 -7
- package/dist/{chunk-Z42UKOZ6.js → chunk-UJBNNBAS.js} +6 -6
- package/dist/{chunk-Z7XFVFW2.js → chunk-VGI32UMX.js} +1 -1
- package/dist/{chunk-5UFAWMET.js → chunk-VGXGM5C7.js} +3 -3
- package/dist/{chunk-3T7PXUHN.js → chunk-VMBH6HOJ.js} +9 -9
- package/dist/{chunk-7GJEQXOH.js → chunk-WCHE4WRD.js} +1 -1
- package/dist/{chunk-6M3GJTGE.js → chunk-WFBH4RLB.js} +3 -3
- package/dist/{chunk-Y25ONBS6.js → chunk-WUT7OUBK.js} +5 -5
- package/dist/{chunk-RUX4M4AX.js → chunk-XJOAE2DO.js} +1 -1
- package/dist/{chunk-WG5OBUIZ.js → chunk-ZFKWU4Y2.js} +6 -6
- package/dist/{claude-launcher-5ALZD5WD.js → claude-launcher-RJMNDN3K.js} +7 -7
- package/dist/{cli-7MJFFRYI.js → cli-SCU3VYTK.js} +173 -166
- package/dist/{command-XLJ75AS5.js → command-ACLKBBR5.js} +50 -50
- package/dist/{config-5KMNGNK5.js → config-RLM4L7BC.js} +12 -12
- package/dist/{connect-cmd-XR7XPGQ6.js → connect-cmd-TYEKAJ53.js} +13 -13
- package/dist/{container-start-F6T3JPRM.js → container-start-JQBE44O4.js} +48 -48
- package/dist/{context-cleanup-HHMQV7KH.js → context-cleanup-6S4NOT4C.js} +4 -4
- package/dist/{context-show-cmd-4EKSCIF4.js → context-show-cmd-KFVD47FK.js} +14 -14
- package/dist/{control-plane-launch-AJPCKLBL.js → control-plane-launch-FUYYXNL7.js} +14 -14
- package/dist/{demo-record-cmd-LVZOYPR7.js → demo-record-cmd-J26ZZMLZ.js} +8 -8
- package/dist/{demo-voice-cmd-DT6VFD2U.js → demo-voice-cmd-KBVO6WZA.js} +20 -20
- package/dist/{dist-7JDEWP5U.js → dist-FSIXL3TN.js} +2 -2
- package/dist/{docker-T7A6GZDD.js → docker-IGL2JPTN.js} +10 -10
- package/dist/{doctor-F7TCZO3O.js → doctor-SAWKY2I6.js} +51 -51
- package/dist/{emit-artifact-cmd-B5ZYJKFM.js → emit-artifact-cmd-DBQAROAN.js} +19 -19
- package/dist/{emit-cmd-P2XWWVFP.js → emit-cmd-E364BCF2.js} +7 -7
- package/dist/{emit-criteria-cmd-RHFJYNSU.js → emit-criteria-cmd-OTH6OB33.js} +16 -16
- package/dist/{emit-demo-cmd-WELKVLD4.js → emit-demo-cmd-IPAW6TDJ.js} +20 -20
- package/dist/{emit-finding-cmd-KRNEWZQP.js → emit-finding-cmd-DNHV4DG5.js} +16 -16
- package/dist/{emit-result-cmd-NQ6LAE4Z.js → emit-result-cmd-2LWTIMNP.js} +18 -18
- package/dist/{emit-step-cmd-HKOYFSYL.js → emit-step-cmd-KKNYP4CO.js} +16 -16
- package/dist/{exec-client-2JSXFMEW.js → exec-client-TTLHPSNE.js} +8 -8
- package/dist/find-unit-6CBLEKXX.js +24 -0
- package/dist/{findings-cmd-EF4QXYRT.js → findings-cmd-Y46BOVAQ.js} +16 -16
- package/dist/{fleet-readiness-NBYN45IT.js → fleet-readiness-OYZYYJMX.js} +14 -14
- package/dist/governing-source-OMZOIQR7.js +41 -0
- package/dist/{guest-init-FX2NUAW6.js → guest-init-TSJ352Y5.js} +9 -9
- package/dist/{hook-fast-JZKCKSXB.js → hook-fast-CYQXYLXL.js} +1 -1
- package/dist/{hook-install-R66RP7ME.js → hook-install-EZZAWUCB.js} +4 -4
- package/dist/host-checks-QVYX7Y2F.js +80 -0
- package/dist/host-key-N674G67D.js +18 -0
- package/dist/{image-tag-H5CZTC42.js → image-tag-N7T6RKXL.js} +8 -8
- package/dist/index.js +4 -4
- package/dist/{init-W4X47BR5.js → init-532GETMW.js} +46 -46
- package/dist/init-IQ3QXDSQ.js +80 -0
- package/dist/{init-agent-QQF3VGIJ.js → init-agent-5P6YA4IE.js} +46 -46
- package/dist/{init-cmd-QXAL75UY.js → init-cmd-GIAACT54.js} +27 -27
- package/dist/{init-update-G5MKJ7RO.js → init-update-PEPY3Y55.js} +24 -24
- package/dist/{install-cmd-TMUNQF7U.js → install-cmd-OJIVYJ33.js} +10 -10
- package/dist/{layout-LTYJDJ5J.js → layout-V5WSXBGR.js} +4 -4
- package/dist/{login-browser-LSZKECIB.js → login-browser-A637BTC7.js} +2 -2
- package/dist/{logs-ZEXFSBVF.js → logs-HPAZ7O74.js} +7 -7
- package/dist/loop-TYNS2QQ4.js +90 -0
- package/dist/machine-CNWVFLRX.js +80 -0
- package/dist/{machine-skills-CYCZGBAM.js → machine-skills-OPXVTDHI.js} +4 -4
- package/dist/{mcp-install-cmd-TVIOPOIO.js → mcp-install-cmd-HZK6BMMS.js} +4 -4
- package/dist/{mcp-serve-cmd-OCQLRUAK.js → mcp-serve-cmd-TIUV3ZOP.js} +9 -9
- package/dist/{paths-IB5XFML7.js → paths-ICWQRDYW.js} +7 -7
- package/dist/pending-64VJNE6H.js +18 -0
- package/dist/{pidfile-VET4I455.js → pidfile-JPOYJP6P.js} +8 -8
- package/dist/{record-3V3HQRGY.js → record-GEBD7SQ4.js} +8 -8
- package/dist/{relay-V7LX2WR6.js → relay-KSGNSDV6.js} +24 -9
- package/dist/{relay-protocol-QGEWESBF.js → relay-protocol-VWBBQAQC.js} +5 -5
- package/dist/{run-cmd-U3MPDIT5.js → run-cmd-4P3NGSI7.js} +16 -16
- package/dist/{runner-agents-OTYZ73WU.js → runner-agents-P5HCEBXD.js} +4 -4
- package/dist/runner-env-OSMUW57J.js +24 -0
- package/dist/{runner-identity-GTWFQEIN.js → runner-identity-GQC344ZQ.js} +10 -10
- package/dist/{runner-key-WZXU64C7.js → runner-key-DCWF35HX.js} +46 -46
- package/dist/{session-sender-AEUNLU5R.js → session-sender-7HTTTMEV.js} +19 -19
- package/dist/{spec-cmd-DHCZHM2L.js → spec-cmd-TDFURROT.js} +17 -17
- package/dist/{starter-pack-HMJWEIVX.js → starter-pack-33YJXHV5.js} +5 -5
- package/dist/state-5WMXX5CE.js +18 -0
- package/dist/{status-QBQAN35R.js → status-AXNVCDNW.js} +46 -46
- package/dist/{sync-cmd-2HOFZYI6.js → sync-cmd-3UKD6HTQ.js} +18 -18
- package/dist/update-steps-TRJTM3RP.js +81 -0
- package/dist/{watch-ZY62C5WB.js → watch-ZPOTELW4.js} +18 -18
- package/dist/{work-claim-cmd-QDNRGX2N.js → work-claim-cmd-4T4355ST.js} +22 -22
- package/dist/{work-cmd-3BDBBKGG.js → work-cmd-C6I5YGXR.js} +16 -16
- package/dist/{work-comment-cmd-2HI4FP5R.js → work-comment-cmd-XS2USJM2.js} +18 -18
- package/dist/{work-demo-cmd-RXV5DRM3.js → work-demo-cmd-B6VT5RFH.js} +16 -16
- package/dist/{work-logs-cmd-Q7YA3AHY.js → work-logs-cmd-V23Y6AL5.js} +16 -16
- package/dist/{work-needs-attention-cmd-WAWSJIHS.js → work-needs-attention-cmd-CNXW5QRQ.js} +16 -16
- package/dist/{work-no-change-cmd-NTXYEPEW.js → work-no-change-cmd-NLMVQVW5.js} +16 -16
- package/dist/{work-open-pr-cmd-GFIMFDAR.js → work-open-pr-cmd-UJBMJ4SJ.js} +17 -17
- package/dist/{work-pr-cmd-W3T6ELML.js → work-pr-cmd-ZGX5ICW2.js} +16 -16
- package/dist/{work-proofs-cmd-DSDVAM6V.js → work-proofs-cmd-YJBW7IJG.js} +18 -18
- package/dist/{work-proofs-record-AC5UQ2ME.js → work-proofs-record-77HYFV4T.js} +24 -24
- package/dist/{work-stop-cmd-UGFPCTRT.js → work-stop-cmd-V57J5R3V.js} +16 -16
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-build/SKILL.md +3 -3
- package/skill-pack/maintained/outerlayer-build/references/release.md +1 -1
- package/skill-pack/maintained/outerlayer-build/scripts/criterion-citations.mjs +1 -1
- package/skill-pack/maintained/outerlayer-build/scripts/record-criteria.mjs +1 -1
- package/skill-pack/maintained/outerlayer-evidence/SKILL.md +3 -3
- package/dist/agent-setup-3GY4FFSC.js +0 -40
- package/dist/caller-A2K7SLSL.js +0 -23
- package/dist/find-unit-3QYPTK6A.js +0 -24
- package/dist/governing-source-R64FW4CP.js +0 -41
- package/dist/host-checks-VWWXDWV2.js +0 -80
- package/dist/host-key-ACYKDZ4X.js +0 -18
- package/dist/init-OIHCYS4S.js +0 -80
- package/dist/loop-U5AUIWQG.js +0 -90
- package/dist/machine-6DFKQ3LQ.js +0 -80
- package/dist/pending-TX4VIF6P.js +0 -18
- package/dist/runner-env-3QPJQ2H2.js +0 -24
- package/dist/state-O3A3CIDQ.js +0 -18
- package/dist/update-steps-QRRCMRL4.js +0 -81
|
@@ -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-6ILW7JIM.js';
|
|
4
|
+
import './chunk-HWHDFWIL.js';
|
|
5
|
+
import { verifiedTrackerNames, TRACKERS } from './chunk-NUHKAZWF.js';
|
|
6
|
+
import './chunk-F5C2B747.js';
|
|
7
|
+
import './chunk-VGXGM5C7.js';
|
|
8
|
+
import './chunk-UD4XMIIQ.js';
|
|
9
|
+
import './chunk-XJOAE2DO.js';
|
|
10
|
+
import './chunk-7EJDT6W5.js';
|
|
11
|
+
import './chunk-S6WHYTSR.js';
|
|
12
|
+
import './chunk-UJBNNBAS.js';
|
|
13
|
+
import './chunk-O5FDLDQI.js';
|
|
14
|
+
import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-BOZRAKYW.js';
|
|
15
|
+
import './chunk-2AQFXNPE.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-VGI32UMX.js';
|
|
19
|
+
import './chunk-GDQMVZS4.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-6UU33NGO.js';
|
|
22
|
+
import './chunk-ISBA6KRX.js';
|
|
23
|
+
import './chunk-TTHZCIU5.js';
|
|
24
|
+
import './chunk-2K2HCINU.js';
|
|
25
|
+
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-44RZCSDR.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-LSQEBU6U.js';
|
|
32
32
|
import './chunk-LVELQ635.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-ABLIHKNU.js';
|
|
36
36
|
import { cliForInstall, SettingsParseError, PORTABLE_BIN, writeSettingsText, cliBinResolvable } from './chunk-ZHQC43NH.js';
|
|
37
|
-
import './chunk-
|
|
37
|
+
import './chunk-IDZNOFE3.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-JAQWKAEN.js';
|
|
41
|
+
import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-6725XB2P.js';
|
|
42
42
|
import './chunk-PLVHIQJN.js';
|
|
43
43
|
import './chunk-7PZDPISM.js';
|
|
44
44
|
import './chunk-ELPP5OHC.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-WCHE4WRD.js';
|
|
48
|
+
import './chunk-IQDIXTDJ.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-33YJXHV5.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-V5WSXBGR.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-OPXVTDHI.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-TYEKAJ53.js');
|
|
3831
|
+
const { resolveRepoIdentity } = await import('./dist-FSIXL3TN.js');
|
|
3832
3832
|
return {
|
|
3833
3833
|
...realConnectDeps(),
|
|
3834
3834
|
home: homeFromEnv(),
|
|
@@ -3845,7 +3845,7 @@ 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-OPXVTDHI.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());
|
|
@@ -3893,7 +3893,7 @@ repository that has not moved keeps copies that \`context emit\` rewrites.
|
|
|
3893
3893
|
|
|
3894
3894
|
--update first moves a repository in the earlier layout to AGENTS.md,
|
|
3895
3895
|
.agents/skills/ and .mcp.json: it removes each file that holds exactly what
|
|
3896
|
-
\`` + cliInvocation() + ' context emit` writes, moves the sources, links .claude/skills\nand sets "layout": 2. A file you edited is kept and listed. It then brings\nthe files init wrote once up to this CLI\'s version: the template skills, the\npolicy, the
|
|
3896
|
+
\`` + cliInvocation() + ' context emit` writes, moves the sources, links .claude/skills\nand sets "layout": 2. A file you edited is kept and listed. It then brings\nthe files init wrote once up to this CLI\'s version: the template skills, the\npolicy, the starter check and the two MCP entries. A file still equal\nto a version an earlier release wrote is replaced, and a missing one is\nwritten. A file you edited is never touched. The changes are left\nuncommitted. --dry-run prints the plan, with a command to compare each\nedited file, and writes nothing. In the AGENTS.md layout, --update also removes\neach maintained skill folder whose SKILL.md carries the "maintained by\nOuterLayer" line, from .agents/skills/ and from a .claude/skills that is a\nfolder. It says that every machine and runner host must run this CLI version\nor later, and each machine a person works on must run `' + cliInvocation() + ` init --local\`,
|
|
3897
3897
|
before you commit the removal, and with a login it names each runner host that
|
|
3898
3898
|
runs an older CLI. Once the folders are gone, it changes each path to one of
|
|
3899
3899
|
them in AGENTS.md, CLAUDE.md and the skills to ~/.agents/skills/: in an edited
|
|
@@ -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-PEPY3Y55.js');
|
|
3906
|
+
const { fleetReadiness } = await import('./fleet-readiness-OYZYYJMX.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-33YJXHV5.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-GIAACT54.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-GIAACT54.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-JCCBEF2W.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-TYEKAJ53.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-TYEKAJ53.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-A637BTC7.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-TCCDV4ZI.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-3UKD6HTQ.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-ZPOTELW4.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(() => {
|
|
@@ -4145,9 +4145,9 @@ code is 1: revoke the token on /profile/security.
|
|
|
4145
4145
|
program2.command(`${agent.descriptor.legacy?.subcommand ?? agent.descriptor.id} [args...]`).description(`start ${agent.descriptor.label} with the repository's control plane attached`).allowUnknownOption().helpOption(false).action(() => {
|
|
4146
4146
|
});
|
|
4147
4147
|
}
|
|
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
|
|
4149
|
-
const { startRelay, startSessionRelay } = await import('./relay-
|
|
4150
|
-
const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-
|
|
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|path>", "also take the runner's session over a WebSocket port or socket file").option("--join-secret-file <path>", "the secret a WebSocket join sends first; needs --join-ws").option("--listen-socket <path>", "also take the build's connections on this socket file; needs --join").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-KSGNSDV6.js');
|
|
4150
|
+
const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-VWBBQAQC.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}`);
|
|
@@ -4157,9 +4157,15 @@ code is 1: revoke the token on /profile/security.
|
|
|
4157
4157
|
fail("give one of --socket and --join");
|
|
4158
4158
|
return;
|
|
4159
4159
|
}
|
|
4160
|
-
const
|
|
4161
|
-
|
|
4162
|
-
|
|
4160
|
+
const joinWsPath = opts.joinWs?.startsWith("/") === true ? opts.joinWs : void 0;
|
|
4161
|
+
const joinWsPort = Number(opts.joinWs);
|
|
4162
|
+
const joinWsOk = joinWsPath !== void 0 || Number.isInteger(joinWsPort) && joinWsPort >= 1 && joinWsPort <= 65535;
|
|
4163
|
+
if (opts.joinWs !== void 0 && (opts.join === void 0 || opts.joinSecretFile === void 0 || !joinWsOk)) {
|
|
4164
|
+
fail("--join-ws needs a port number or the path of a socket file, --join and --join-secret-file");
|
|
4165
|
+
return;
|
|
4166
|
+
}
|
|
4167
|
+
if (opts.listenSocket !== void 0 && (opts.join === void 0 || !opts.listenSocket.startsWith("/"))) {
|
|
4168
|
+
fail("--listen-socket needs the path of a socket file and --join");
|
|
4163
4169
|
return;
|
|
4164
4170
|
}
|
|
4165
4171
|
const forwards = [];
|
|
@@ -4177,15 +4183,16 @@ code is 1: revoke the token on /profile/security.
|
|
|
4177
4183
|
await startSessionRelay({
|
|
4178
4184
|
joinPath: opts.join,
|
|
4179
4185
|
...opts.leaseWatchdog === true ? { onLeaseExpired: () => process.exit(0) } : {},
|
|
4180
|
-
...
|
|
4181
|
-
ports: [{ port, target: TARGET_TUNNEL }, ...forwards.map((forward) => ({ port: forward.port, target: forward.spec }))]
|
|
4186
|
+
...joinWsPath !== void 0 ? { joinWs: { path: joinWsPath, secretPath: opts.joinSecretFile } } : opts.joinWs === void 0 ? {} : { joinWs: { port: joinWsPort, secretPath: opts.joinSecretFile } },
|
|
4187
|
+
ports: [{ port, target: TARGET_TUNNEL }, ...forwards.map((forward) => ({ port: forward.port, target: forward.spec }))],
|
|
4188
|
+
...opts.listenSocket === void 0 ? {} : { sockets: [{ path: opts.listenSocket, target: TARGET_TUNNEL }] }
|
|
4182
4189
|
});
|
|
4183
4190
|
return;
|
|
4184
4191
|
}
|
|
4185
4192
|
await startRelay({ port, socketPath: opts.socket, forwards: forwards.map((forward) => ({ port: forward.port, socketPath: forward.spec })) });
|
|
4186
4193
|
});
|
|
4187
4194
|
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-
|
|
4195
|
+
const { joinRelay } = await import('./relay-KSGNSDV6.js');
|
|
4189
4196
|
try {
|
|
4190
4197
|
await joinRelay({ socketPath: opts.socket, input: process.stdin, output: process.stdout });
|
|
4191
4198
|
} catch (err) {
|
|
@@ -4201,7 +4208,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4201
4208
|
}
|
|
4202
4209
|
});
|
|
4203
4210
|
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-
|
|
4211
|
+
const { runVmExec } = await import('./exec-client-TTLHPSNE.js');
|
|
4205
4212
|
const env = {};
|
|
4206
4213
|
for (const entry of opts.env) {
|
|
4207
4214
|
const eq = entry.indexOf("=");
|
|
@@ -4230,7 +4237,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4230
4237
|
process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
|
|
4231
4238
|
});
|
|
4232
4239
|
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-
|
|
4240
|
+
const { runSessionSender } = await import('./session-sender-7HTTTMEV.js');
|
|
4234
4241
|
try {
|
|
4235
4242
|
await runSessionSender();
|
|
4236
4243
|
} catch (err) {
|
|
@@ -4238,7 +4245,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4238
4245
|
}
|
|
4239
4246
|
});
|
|
4240
4247
|
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-
|
|
4248
|
+
const { realGuestHost, runGuestInit } = await import('./guest-init-TSJ352Y5.js');
|
|
4242
4249
|
const { readFileSync: readFileSync3 } = await import('fs');
|
|
4243
4250
|
try {
|
|
4244
4251
|
runGuestInit(realGuestHost(), readFileSync3("/proc/cmdline", "utf8"));
|
|
@@ -4247,7 +4254,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4247
4254
|
}
|
|
4248
4255
|
});
|
|
4249
4256
|
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-
|
|
4257
|
+
const { startBridgeForward } = await import('./bridge-YN5S2ID2.js');
|
|
4251
4258
|
try {
|
|
4252
4259
|
await startBridgeForward(opts);
|
|
4253
4260
|
} catch (err) {
|
|
@@ -4273,7 +4280,7 @@ async function runCli(processArgv) {
|
|
|
4273
4280
|
await buildProgram(argv).parseAsync(argv);
|
|
4274
4281
|
}
|
|
4275
4282
|
async function compileContext(opts) {
|
|
4276
|
-
const { runEmit, EmitError } = await import('./emit-cmd-
|
|
4283
|
+
const { runEmit, EmitError } = await import('./emit-cmd-E364BCF2.js');
|
|
4277
4284
|
try {
|
|
4278
4285
|
const result = runEmit({ cwd: opts.dir, check: opts.check, json: opts.json });
|
|
4279
4286
|
if (result.exitCode !== 0) process.exitCode = result.exitCode;
|
|
@@ -4326,7 +4333,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
|
|
|
4326
4333
|
await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
|
|
4327
4334
|
return;
|
|
4328
4335
|
}
|
|
4329
|
-
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-
|
|
4336
|
+
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-2LWTIMNP.js');
|
|
4330
4337
|
try {
|
|
4331
4338
|
const result = await runEmitResult({
|
|
4332
4339
|
name,
|
|
@@ -4378,7 +4385,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
|
|
|
4378
4385
|
locally so it never uploads. One correction can retire several duplicates.
|
|
4379
4386
|
`
|
|
4380
4387
|
).action(async (file, opts) => {
|
|
4381
|
-
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-
|
|
4388
|
+
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-DBQAROAN.js');
|
|
4382
4389
|
let pr;
|
|
4383
4390
|
if (opts.pr !== void 0) {
|
|
4384
4391
|
pr = parseTrackerNumber(opts.pr);
|
|
@@ -4434,7 +4441,7 @@ its criterion, and the new record retires the old record. The id must be the ite
|
|
|
4434
4441
|
as \`work demo --item <n> --json\` prints it.
|
|
4435
4442
|
`
|
|
4436
4443
|
).action(async (manifest, opts) => {
|
|
4437
|
-
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-
|
|
4444
|
+
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-IPAW6TDJ.js');
|
|
4438
4445
|
let item;
|
|
4439
4446
|
if (opts.item !== void 0) {
|
|
4440
4447
|
item = parseTrackerNumber(opts.item);
|
|
@@ -4477,7 +4484,7 @@ as \`work demo --item <n> --json\` prints it.
|
|
|
4477
4484
|
}
|
|
4478
4485
|
});
|
|
4479
4486
|
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-
|
|
4487
|
+
const { runDemoVoice } = await import('./demo-voice-cmd-KBVO6WZA.js');
|
|
4481
4488
|
await runDemoVoice();
|
|
4482
4489
|
});
|
|
4483
4490
|
const demoCmd = program2.command("demo").description("Record demos with the recorder this CLI carries");
|
|
@@ -4489,13 +4496,13 @@ as \`work demo --item <n> --json\` prints it.
|
|
|
4489
4496
|
|
|
4490
4497
|
The script imports test and expect from @outerlayer/playwright. This command runs it on the Playwright
|
|
4491
4498
|
release this CLI depends on, and maps that import to the recorder this CLI carries, so the repository
|
|
4492
|
-
installs neither. With --config, the script
|
|
4499
|
+
installs neither. With --config, the script can be in any folder, and the config's own
|
|
4493
4500
|
imports of @playwright/test load the same Playwright. The recorder writes the video and manifest.json,
|
|
4494
4501
|
and the command prints the manifest's path for \`emit demo\`. Under \`work proofs --record\`, the demo goes
|
|
4495
4502
|
to OUTERLAYER_PROOF_OUT instead. Exit 1 means the demo's test failed; its manifest is written all the same.
|
|
4496
4503
|
`
|
|
4497
4504
|
).action(async (file, opts) => {
|
|
4498
|
-
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-
|
|
4505
|
+
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-J26ZZMLZ.js');
|
|
4499
4506
|
try {
|
|
4500
4507
|
const result = await runDemoRecord({
|
|
4501
4508
|
file,
|
|
@@ -4544,7 +4551,7 @@ recent events with their ids. --find <text> searches all of them.
|
|
|
4544
4551
|
item that session was launched for is used automatically.
|
|
4545
4552
|
`
|
|
4546
4553
|
).action(async (opts) => {
|
|
4547
|
-
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4554
|
+
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-DNHV4DG5.js');
|
|
4548
4555
|
try {
|
|
4549
4556
|
refuseRemovedFindingFlags(opts);
|
|
4550
4557
|
const result = await runEmitFinding({
|
|
@@ -4611,7 +4618,7 @@ the whole batch. "untimed": true records one with no time on purpose.
|
|
|
4611
4618
|
that session was launched for is used automatically.
|
|
4612
4619
|
`
|
|
4613
4620
|
).action(async (file, opts) => {
|
|
4614
|
-
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4621
|
+
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-DNHV4DG5.js');
|
|
4615
4622
|
try {
|
|
4616
4623
|
const result = await runEmitFindings({
|
|
4617
4624
|
file,
|
|
@@ -4630,7 +4637,7 @@ that session was launched for is used automatically.
|
|
|
4630
4637
|
throw err;
|
|
4631
4638
|
}
|
|
4632
4639
|
});
|
|
4633
|
-
emitCmd.command("step <name>").description("Report that you started a step; the work item's
|
|
4640
|
+
emitCmd.command("step <name>").description("Report that you started a step; the work item's Overview tab shows it").option("--item <number>", "work item to report on, by its number in 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(
|
|
4634
4641
|
"after",
|
|
4635
4642
|
`
|
|
4636
4643
|
${cliInvocation()} emit step "Review round 2"
|
|
@@ -4646,7 +4653,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
|
|
|
4646
4653
|
the step, the command prints why and exits 1.
|
|
4647
4654
|
`
|
|
4648
4655
|
).action(async (name, opts) => {
|
|
4649
|
-
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-
|
|
4656
|
+
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-KKNYP4CO.js');
|
|
4650
4657
|
try {
|
|
4651
4658
|
await runEmitStep({
|
|
4652
4659
|
name,
|
|
@@ -4689,7 +4696,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
|
|
|
4689
4696
|
${cliInvocation()} emit criteria acceptance/412-login.md --item 412
|
|
4690
4697
|
`
|
|
4691
4698
|
).action(async (file, opts) => {
|
|
4692
|
-
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-
|
|
4699
|
+
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-OTH6OB33.js');
|
|
4693
4700
|
try {
|
|
4694
4701
|
const result = await runEmitCriteria({
|
|
4695
4702
|
file,
|
|
@@ -4713,9 +4720,9 @@ function registerSpecCommands(program2) {
|
|
|
4713
4720
|
const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
|
|
4714
4721
|
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
4722
|
const run = async (action) => {
|
|
4716
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4723
|
+
const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
|
|
4717
4724
|
try {
|
|
4718
|
-
await action(await import('./spec-cmd-
|
|
4725
|
+
await action(await import('./spec-cmd-TDFURROT.js'));
|
|
4719
4726
|
} catch (err) {
|
|
4720
4727
|
if (err instanceof WorkCommandError) {
|
|
4721
4728
|
fail(err.message);
|
|
@@ -4759,7 +4766,7 @@ Prints each problem the item covers with its id, its reports and its result.
|
|
|
4759
4766
|
session was launched for is used.
|
|
4760
4767
|
`
|
|
4761
4768
|
).action(async (opts) => {
|
|
4762
|
-
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-
|
|
4769
|
+
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-Y46BOVAQ.js');
|
|
4763
4770
|
try {
|
|
4764
4771
|
const result = await runFindingsShow({
|
|
4765
4772
|
item: opts.item,
|
|
@@ -4787,7 +4794,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
|
|
|
4787
4794
|
problem to replace the earlier result. A problem the item does not cover is refused.
|
|
4788
4795
|
`
|
|
4789
4796
|
).action(async (problem, opts) => {
|
|
4790
|
-
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-
|
|
4797
|
+
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-Y46BOVAQ.js');
|
|
4791
4798
|
try {
|
|
4792
4799
|
const result = await runFindingsResult({
|
|
4793
4800
|
problem,
|
|
@@ -4821,8 +4828,8 @@ an issue when the daily limit leaves none, and then you stop reporting.
|
|
|
4821
4828
|
Only the agent of a scheduled run, which holds a run key, can run it.
|
|
4822
4829
|
`
|
|
4823
4830
|
).action(async (opts) => {
|
|
4824
|
-
const { runFoundIssue, RunCommandError } = await import('./run-cmd-
|
|
4825
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4831
|
+
const { runFoundIssue, RunCommandError } = await import('./run-cmd-4P3NGSI7.js');
|
|
4832
|
+
const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
|
|
4826
4833
|
try {
|
|
4827
4834
|
await runFoundIssue(opts);
|
|
4828
4835
|
} catch (err) {
|
|
@@ -4844,8 +4851,8 @@ Run it instead of found-issue, never after it. Only the agent of a
|
|
|
4844
4851
|
scheduled run, which holds a run key, can run it.
|
|
4845
4852
|
`
|
|
4846
4853
|
).action(async (opts) => {
|
|
4847
|
-
const { runFoundNothing, RunCommandError } = await import('./run-cmd-
|
|
4848
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4854
|
+
const { runFoundNothing, RunCommandError } = await import('./run-cmd-4P3NGSI7.js');
|
|
4855
|
+
const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
|
|
4849
4856
|
try {
|
|
4850
4857
|
await runFoundNothing(opts);
|
|
4851
4858
|
} catch (err) {
|
|
@@ -4878,7 +4885,7 @@ takes it, and prints the line that starts your session on it. That
|
|
|
4878
4885
|
session links itself and holds the item's lease while it works.
|
|
4879
4886
|
`
|
|
4880
4887
|
).action(async (opts) => {
|
|
4881
|
-
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-
|
|
4888
|
+
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
|
|
4882
4889
|
try {
|
|
4883
4890
|
await runWorkBuild(opts);
|
|
4884
4891
|
} catch (err) {
|
|
@@ -4901,7 +4908,7 @@ renews that session's own 20-minute lease, unless --no-lease or
|
|
|
4901
4908
|
--ended is given, or another worker already holds a live one.
|
|
4902
4909
|
`
|
|
4903
4910
|
).action(async (number, opts) => {
|
|
4904
|
-
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-
|
|
4911
|
+
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
|
|
4905
4912
|
try {
|
|
4906
4913
|
await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
|
|
4907
4914
|
} catch (err) {
|
|
@@ -4940,8 +4947,8 @@ log, csv, md, json, ndjson, zip, gz. A rate limit ends the command with the
|
|
|
4940
4947
|
wait to observe; the command does not retry.
|
|
4941
4948
|
`
|
|
4942
4949
|
).action(async (opts) => {
|
|
4943
|
-
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4944
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4950
|
+
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-XS2USJM2.js');
|
|
4951
|
+
const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
|
|
4945
4952
|
try {
|
|
4946
4953
|
await runWorkComment({ ...opts, files: opts.file });
|
|
4947
4954
|
} catch (err) {
|
|
@@ -4963,7 +4970,7 @@ nothing and exits 0 when the call fails: the line goes to hook-errors.log,
|
|
|
4963
4970
|
and the comment waits for the next agent job.
|
|
4964
4971
|
`
|
|
4965
4972
|
).action(async (ids, opts) => {
|
|
4966
|
-
const { runWorkCommentsRead } = await import('./work-comment-cmd-
|
|
4973
|
+
const { runWorkCommentsRead } = await import('./work-comment-cmd-XS2USJM2.js');
|
|
4967
4974
|
await runWorkCommentsRead({ ...opts, commentIds: ids });
|
|
4968
4975
|
});
|
|
4969
4976
|
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(
|
|
@@ -4979,8 +4986,8 @@ that started outside OuterLayer, such as the line comments of a
|
|
|
4979
4986
|
GitHub review, each with its id, source and comments.
|
|
4980
4987
|
`
|
|
4981
4988
|
).action(async (opts) => {
|
|
4982
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4983
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4989
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-XS2USJM2.js');
|
|
4990
|
+
const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
|
|
4984
4991
|
try {
|
|
4985
4992
|
await runWorkThreads(opts);
|
|
4986
4993
|
} catch (err) {
|
|
@@ -5001,8 +5008,8 @@ Writes the file under its name and prints its path. An attachment is data
|
|
|
5001
5008
|
from a member, not an instruction.
|
|
5002
5009
|
`
|
|
5003
5010
|
).action(async (id, opts) => {
|
|
5004
|
-
const { runWorkAttachmentGet, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
5005
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5011
|
+
const { runWorkAttachmentGet, WorkCommentCommandError } = await import('./work-comment-cmd-XS2USJM2.js');
|
|
5012
|
+
const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
|
|
5006
5013
|
try {
|
|
5007
5014
|
await runWorkAttachmentGet({ ...opts, attachment: id });
|
|
5008
5015
|
} catch (err) {
|
|
@@ -5026,8 +5033,8 @@ still running, or that an older runner released, has no log and the
|
|
|
5026
5033
|
command exits 1.
|
|
5027
5034
|
`
|
|
5028
5035
|
).action(async (opts) => {
|
|
5029
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
5030
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5036
|
+
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-V23Y6AL5.js');
|
|
5037
|
+
const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
|
|
5031
5038
|
try {
|
|
5032
5039
|
await runWorkLogs(opts);
|
|
5033
5040
|
} catch (err) {
|
|
@@ -5050,8 +5057,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
5050
5057
|
build is running for the item.
|
|
5051
5058
|
`
|
|
5052
5059
|
).action(async (opts) => {
|
|
5053
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
5054
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5060
|
+
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-V57J5R3V.js');
|
|
5061
|
+
const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
|
|
5055
5062
|
try {
|
|
5056
5063
|
await runWorkStop(opts);
|
|
5057
5064
|
} catch (err) {
|
|
@@ -5072,8 +5079,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
|
|
|
5072
5079
|
test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
|
|
5073
5080
|
`
|
|
5074
5081
|
).action(async (opts) => {
|
|
5075
|
-
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-
|
|
5076
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5082
|
+
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-B6VT5RFH.js');
|
|
5083
|
+
const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
|
|
5077
5084
|
try {
|
|
5078
5085
|
await runWorkDemo(opts);
|
|
5079
5086
|
} catch (err) {
|
|
@@ -5094,7 +5101,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
5094
5101
|
live addition remains on it.
|
|
5095
5102
|
`
|
|
5096
5103
|
).action(async (opts) => {
|
|
5097
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
5104
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
|
|
5098
5105
|
try {
|
|
5099
5106
|
await runWorkRemove(opts);
|
|
5100
5107
|
} catch (err) {
|
|
@@ -5106,7 +5113,7 @@ live addition remains on it.
|
|
|
5106
5113
|
}
|
|
5107
5114
|
});
|
|
5108
5115
|
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) => {
|
|
5109
|
-
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-
|
|
5116
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
|
|
5110
5117
|
try {
|
|
5111
5118
|
await runWorkStatus(opts);
|
|
5112
5119
|
} catch (err) {
|
|
@@ -5164,11 +5171,11 @@ a runner build, no row is failed.
|
|
|
5164
5171
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5165
5172
|
return;
|
|
5166
5173
|
}
|
|
5167
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5174
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-YJBW7IJG.js');
|
|
5168
5175
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5169
5176
|
});
|
|
5170
5177
|
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) => {
|
|
5171
|
-
const { runWorkList, WorkCommandError } = await import('./work-cmd-
|
|
5178
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
|
|
5172
5179
|
try {
|
|
5173
5180
|
await runWorkList(opts);
|
|
5174
5181
|
} catch (err) {
|
|
@@ -5189,7 +5196,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
5189
5196
|
it. --host is a label only.
|
|
5190
5197
|
`
|
|
5191
5198
|
).action(async (opts) => {
|
|
5192
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
5199
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-4T4355ST.js');
|
|
5193
5200
|
try {
|
|
5194
5201
|
await runWorkClaim(opts);
|
|
5195
5202
|
} catch (err) {
|
|
@@ -5209,7 +5216,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5209
5216
|
lease has expired, or a 403 if a different key holds it.
|
|
5210
5217
|
`
|
|
5211
5218
|
).action(async (opts) => {
|
|
5212
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5219
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-4T4355ST.js');
|
|
5213
5220
|
try {
|
|
5214
5221
|
await runWorkRenew(opts);
|
|
5215
5222
|
} catch (err) {
|
|
@@ -5241,7 +5248,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5241
5248
|
takes the lease again.
|
|
5242
5249
|
`
|
|
5243
5250
|
).action(async (opts) => {
|
|
5244
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5251
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-4T4355ST.js');
|
|
5245
5252
|
try {
|
|
5246
5253
|
await runWorkRelease(opts);
|
|
5247
5254
|
} catch (err) {
|
|
@@ -5268,7 +5275,7 @@ Idempotent: declaring the same pull request twice is a no-op.
|
|
|
5268
5275
|
needs your own login; an agent session or a factory key is refused.
|
|
5269
5276
|
`
|
|
5270
5277
|
).action(async (number, opts) => {
|
|
5271
|
-
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-
|
|
5278
|
+
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-ZGX5ICW2.js');
|
|
5272
5279
|
try {
|
|
5273
5280
|
await runWorkPr({ ...opts, number });
|
|
5274
5281
|
} catch (err) {
|
|
@@ -5293,8 +5300,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
5293
5300
|
Run it again after a change to the title or description.
|
|
5294
5301
|
`
|
|
5295
5302
|
).action(async (opts) => {
|
|
5296
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
5297
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5303
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-UJBMJ4SJ.js');
|
|
5304
|
+
const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
|
|
5298
5305
|
try {
|
|
5299
5306
|
await runWorkOpenPr(opts);
|
|
5300
5307
|
} catch (err) {
|
|
@@ -5317,8 +5324,8 @@ and OuterLayer posts the reason on the issue. Only a host build, which
|
|
|
5317
5324
|
holds an item key, can run it.
|
|
5318
5325
|
`
|
|
5319
5326
|
).action(async (opts) => {
|
|
5320
|
-
const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-
|
|
5321
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5327
|
+
const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-NLMVQVW5.js');
|
|
5328
|
+
const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
|
|
5322
5329
|
try {
|
|
5323
5330
|
await runWorkNoChange(opts);
|
|
5324
5331
|
} catch (err) {
|
|
@@ -5335,14 +5342,14 @@ holds an item key, can run it.
|
|
|
5335
5342
|
${cliInvocation()} work needs-attention --reason "The tests need STRIPE_KEY. Add it as a build variable."
|
|
5336
5343
|
|
|
5337
5344
|
Run it before a build ends without a pull request, and say what stopped
|
|
5338
|
-
the build and what a person can do. The Work page and the
|
|
5345
|
+
the build and what a person can do. The Work page and the Overview tab show
|
|
5339
5346
|
your sentence as the reason the item needs attention. Do not run it after you
|
|
5340
5347
|
record that no change is needed. Only a host build, which holds an item key,
|
|
5341
5348
|
can run it.
|
|
5342
5349
|
`
|
|
5343
5350
|
).action(async (opts) => {
|
|
5344
|
-
const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-
|
|
5345
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5351
|
+
const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-CNXW5QRQ.js');
|
|
5352
|
+
const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
|
|
5346
5353
|
try {
|
|
5347
5354
|
await runWorkNeedsAttention(opts);
|
|
5348
5355
|
} catch (err) {
|
|
@@ -5386,9 +5393,9 @@ function registerRunnerCommands(program2) {
|
|
|
5386
5393
|
const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
|
|
5387
5394
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5388
5395
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5389
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5390
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5391
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5396
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-RLM4L7BC.js');
|
|
5397
|
+
const { start, RunnerStartError } = await import('./loop-TYNS2QQ4.js');
|
|
5398
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-JPOYJP6P.js');
|
|
5392
5399
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5393
5400
|
try {
|
|
5394
5401
|
const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
|
|
@@ -5410,10 +5417,10 @@ is optional and defaults to ${words().runnerName}. On a later start it refuses v
|
|
|
5410
5417
|
The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
5411
5418
|
`
|
|
5412
5419
|
).action(async () => {
|
|
5413
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5414
|
-
const { containerStart, containerStartExit } = await import('./container-start-
|
|
5415
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5416
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5420
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-RLM4L7BC.js');
|
|
5421
|
+
const { containerStart, containerStartExit } = await import('./container-start-JQBE44O4.js');
|
|
5422
|
+
const { start, RunnerStartError } = await import('./loop-TYNS2QQ4.js');
|
|
5423
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-JPOYJP6P.js');
|
|
5417
5424
|
try {
|
|
5418
5425
|
const outcome = containerStartExit(await containerStart({
|
|
5419
5426
|
env: process.env,
|
|
@@ -5434,16 +5441,16 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5434
5441
|
"after",
|
|
5435
5442
|
"\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"
|
|
5436
5443
|
).action(async (opts) => {
|
|
5437
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5438
|
-
const { runnerDir } = await import('./paths-
|
|
5439
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5444
|
+
const { defaultRunnerConfigPath } = await import('./config-RLM4L7BC.js');
|
|
5445
|
+
const { runnerDir } = await import('./paths-ICWQRDYW.js');
|
|
5446
|
+
const { runUpdateSteps } = await import('./update-steps-TRJTM3RP.js');
|
|
5440
5447
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5441
5448
|
process.stdout.write(`${text}
|
|
5442
5449
|
`);
|
|
5443
5450
|
});
|
|
5444
5451
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5445
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5446
|
-
const { runRunnerCheck } = await import('./check-
|
|
5452
|
+
const { defaultRunnerConfigPath } = await import('./config-RLM4L7BC.js');
|
|
5453
|
+
const { runRunnerCheck } = await import('./check-KFH4KBOO.js');
|
|
5447
5454
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5448
5455
|
const result = await runRunnerCheck(configPath);
|
|
5449
5456
|
if (!result.ok) {
|
|
@@ -5464,8 +5471,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5464
5471
|
`);
|
|
5465
5472
|
});
|
|
5466
5473
|
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) => {
|
|
5467
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5468
|
-
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-
|
|
5474
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-RLM4L7BC.js');
|
|
5475
|
+
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-OJIVYJ33.js');
|
|
5469
5476
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5470
5477
|
if (opts.service !== true) {
|
|
5471
5478
|
const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
|
|
@@ -5477,13 +5484,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5477
5484
|
}
|
|
5478
5485
|
}
|
|
5479
5486
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5480
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5487
|
+
if (buildCpusMax !== void 0 && !(await import('./command-ACLKBBR5.js')).cpusAreValid(buildCpusMax)) {
|
|
5481
5488
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5482
5489
|
return;
|
|
5483
5490
|
}
|
|
5484
5491
|
try {
|
|
5485
5492
|
if (opts.service === true) {
|
|
5486
|
-
const { installServiceCommand, serviceSuccessText } = await import('./command-
|
|
5493
|
+
const { installServiceCommand, serviceSuccessText } = await import('./command-ACLKBBR5.js');
|
|
5487
5494
|
const result2 = await installServiceCommand({
|
|
5488
5495
|
configPath,
|
|
5489
5496
|
print: opts.print,
|
|
@@ -5537,8 +5544,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5537
5544
|
fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
|
|
5538
5545
|
return;
|
|
5539
5546
|
}
|
|
5540
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5541
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5547
|
+
const { defaultRunnerConfigPath } = await import('./config-RLM4L7BC.js');
|
|
5548
|
+
const { uninstallServiceCommand } = await import('./command-ACLKBBR5.js');
|
|
5542
5549
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5543
5550
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5544
5551
|
`);
|
|
@@ -5568,13 +5575,13 @@ already in ${words().envFile} is used.
|
|
|
5568
5575
|
printf '%s' "$${words().variables[0]}" | ${cliInvocation()} runner init --agent ${words().runnerName} --factory <org>/<factory>
|
|
5569
5576
|
`
|
|
5570
5577
|
).action(async (opts) => {
|
|
5571
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5572
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5573
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5574
|
-
const { detectMachine } = await import('./machine-
|
|
5575
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5576
|
-
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-
|
|
5577
|
-
const { headlessNames: headlessNames2 } = await import('./runner-agents-
|
|
5578
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-RLM4L7BC.js');
|
|
5579
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-IQ3QXDSQ.js');
|
|
5580
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-DCWF35HX.js');
|
|
5581
|
+
const { detectMachine } = await import('./machine-CNWVFLRX.js');
|
|
5582
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-532GETMW.js');
|
|
5583
|
+
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-OSMUW57J.js');
|
|
5584
|
+
const { headlessNames: headlessNames2 } = await import('./runner-agents-P5HCEBXD.js');
|
|
5578
5585
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5579
5586
|
if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
|
|
5580
5587
|
fail(`--agent ${opts.agent}: runner init writes commands for ${headlessNames2().join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
|
|
@@ -5586,7 +5593,7 @@ already in ${words().envFile} is used.
|
|
|
5586
5593
|
return;
|
|
5587
5594
|
}
|
|
5588
5595
|
try {
|
|
5589
|
-
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-
|
|
5596
|
+
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-5P6YA4IE.js');
|
|
5590
5597
|
agent = await initAgent({
|
|
5591
5598
|
flag: agent,
|
|
5592
5599
|
handOff: opts.configStdin === true,
|
|
@@ -5597,7 +5604,7 @@ already in ${words().envFile} is used.
|
|
|
5597
5604
|
if (agent !== void 0) {
|
|
5598
5605
|
const chosen = agent;
|
|
5599
5606
|
const forms = credentialForms((runnerAgentNamed(chosen) ?? credentialAgent()).descriptor);
|
|
5600
|
-
const { readPipedKey } = await import('./login-browser-
|
|
5607
|
+
const { readPipedKey } = await import('./login-browser-A637BTC7.js');
|
|
5601
5608
|
const { terminalPrompt: terminalPrompt2 } = await import('./hidden-prompt-UXBFMQC5.js');
|
|
5602
5609
|
const text = await agentCredentialText({
|
|
5603
5610
|
isTTY: process.stdin.isTTY === true,
|
|
@@ -5619,7 +5626,7 @@ already in ${words().envFile} is used.
|
|
|
5619
5626
|
const chunks = [];
|
|
5620
5627
|
for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
|
|
5621
5628
|
const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
|
|
5622
|
-
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-
|
|
5629
|
+
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-N674G67D.js');
|
|
5623
5630
|
const hostKey2 = await ensureHostKey2(configPath);
|
|
5624
5631
|
process.stdout.write(`host key ${hostKey2.fingerprint}
|
|
5625
5632
|
hooks: ${result2.hooks}
|
|
@@ -5674,7 +5681,7 @@ hooks: ${result2.hooks}
|
|
|
5674
5681
|
const prepared = prepareRunnerInit(configPath, { machine, agent, credential, keyFromLogin: makeKey !== void 0 });
|
|
5675
5682
|
const created = makeKey === void 0 ? void 0 : await makeKey();
|
|
5676
5683
|
const result = writeRunnerInit(prepared, created);
|
|
5677
|
-
const { ensureHostKey } = await import('./host-key-
|
|
5684
|
+
const { ensureHostKey } = await import('./host-key-N674G67D.js');
|
|
5678
5685
|
const hostKey = await ensureHostKey(configPath);
|
|
5679
5686
|
if (created !== void 0) {
|
|
5680
5687
|
process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
|
|
@@ -5694,7 +5701,7 @@ hooks: ${result2.hooks}
|
|
|
5694
5701
|
);
|
|
5695
5702
|
process.stdout.write(`${C.green}\u2713${C.reset} hooks: ${result.hooks}${result.hooks === "builtin:vm" ? " (builds run in microVMs)" : " (builds run in containers)"}
|
|
5696
5703
|
`);
|
|
5697
|
-
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-
|
|
5704
|
+
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-OJIVYJ33.js');
|
|
5698
5705
|
let installedLayout = false;
|
|
5699
5706
|
let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
|
|
5700
5707
|
try {
|
|
@@ -5726,7 +5733,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5726
5733
|
let serviceUp = false;
|
|
5727
5734
|
let restart;
|
|
5728
5735
|
if (installedLayout) {
|
|
5729
|
-
const { installServiceCommand } = await import('./command-
|
|
5736
|
+
const { installServiceCommand } = await import('./command-ACLKBBR5.js');
|
|
5730
5737
|
const service = await installServiceCommand({
|
|
5731
5738
|
configPath,
|
|
5732
5739
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5778,12 +5785,12 @@ image holds this CLI and a pinned ${words().agent}. Nothing runs inside the imag
|
|
|
5778
5785
|
A repository with no devcontainer file builds on the universal image the CLI pins by digest.
|
|
5779
5786
|
`
|
|
5780
5787
|
).action(async (opts) => {
|
|
5781
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5782
|
-
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-
|
|
5788
|
+
const { defaultRunnerConfigPath } = await import('./config-RLM4L7BC.js');
|
|
5789
|
+
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-5K2MI7LO.js');
|
|
5783
5790
|
const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
|
|
5784
|
-
const { createDockerHost } = await import('./docker-
|
|
5785
|
-
const { builderSpec } = await import('./builder-
|
|
5786
|
-
const { loadRunnerConfig } = await import('./config-
|
|
5791
|
+
const { createDockerHost } = await import('./docker-IGL2JPTN.js');
|
|
5792
|
+
const { builderSpec } = await import('./builder-Y46OD2YA.js');
|
|
5793
|
+
const { loadRunnerConfig } = await import('./config-RLM4L7BC.js');
|
|
5787
5794
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5788
5795
|
const loaded = (() => {
|
|
5789
5796
|
try {
|
|
@@ -5794,12 +5801,12 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5794
5801
|
})();
|
|
5795
5802
|
const memory = loaded?.build?.memory ?? "8g";
|
|
5796
5803
|
try {
|
|
5797
|
-
const { ensureRunnerIdentity } = await import('./runner-identity-
|
|
5804
|
+
const { ensureRunnerIdentity } = await import('./runner-identity-GQC344ZQ.js');
|
|
5798
5805
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5799
5806
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5800
5807
|
});
|
|
5801
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5802
|
-
const { runnerCalls } = await import('./caller-
|
|
5808
|
+
const { imageTargetFor } = await import('./governing-source-OMZOIQR7.js');
|
|
5809
|
+
const { runnerCalls } = await import('./caller-A7J5XLTN.js');
|
|
5803
5810
|
const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
|
|
5804
5811
|
if (!target.ok) {
|
|
5805
5812
|
if (opts.json) {
|
|
@@ -5863,25 +5870,25 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5863
5870
|
}
|
|
5864
5871
|
});
|
|
5865
5872
|
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) => {
|
|
5866
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5867
|
-
const { requestStop } = await import('./loop-
|
|
5873
|
+
const { defaultRunnerConfigPath } = await import('./config-RLM4L7BC.js');
|
|
5874
|
+
const { requestStop } = await import('./loop-TYNS2QQ4.js');
|
|
5868
5875
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5869
|
-
const { runnerImageVersion } = await import('./image-tag-
|
|
5876
|
+
const { runnerImageVersion } = await import('./image-tag-N7T6RKXL.js');
|
|
5870
5877
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
5871
5878
|
});
|
|
5872
5879
|
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) => {
|
|
5873
|
-
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-
|
|
5874
|
-
const { jobsDir, runnerDir } = await import('./paths-
|
|
5875
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5876
|
-
const { renderStatus } = await import('./status-
|
|
5877
|
-
const { readHousekeepingRecord } = await import('./record-
|
|
5880
|
+
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-RLM4L7BC.js');
|
|
5881
|
+
const { jobsDir, runnerDir } = await import('./paths-ICWQRDYW.js');
|
|
5882
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-TYNS2QQ4.js');
|
|
5883
|
+
const { renderStatus } = await import('./status-AXNVCDNW.js');
|
|
5884
|
+
const { readHousekeepingRecord } = await import('./record-GEBD7SQ4.js');
|
|
5878
5885
|
const path2 = await import('path');
|
|
5879
5886
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5880
5887
|
const all = listJobFiles(configPath);
|
|
5881
5888
|
const housekeeping = readHousekeepingRecord(runnerDir(configPath));
|
|
5882
|
-
const { readPendingUpdate } = await import('./pending-
|
|
5889
|
+
const { readPendingUpdate } = await import('./pending-64VJNE6H.js');
|
|
5883
5890
|
const pendingUpdate = readPendingUpdate(runnerDir(configPath));
|
|
5884
|
-
const { readImageStatus } = await import('./image-tag-
|
|
5891
|
+
const { readImageStatus } = await import('./image-tag-N7T6RKXL.js');
|
|
5885
5892
|
const image = readImageStatus(runnerDir(configPath));
|
|
5886
5893
|
let host = "unknown";
|
|
5887
5894
|
let concurrency = 1;
|
|
@@ -5891,7 +5898,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5891
5898
|
host = config.host;
|
|
5892
5899
|
concurrency = config.concurrency;
|
|
5893
5900
|
if (config.fleet === true) {
|
|
5894
|
-
const { readFleetState } = await import('./state-
|
|
5901
|
+
const { readFleetState } = await import('./state-5WMXX5CE.js');
|
|
5895
5902
|
fleet = { state: readFleetState(configPath) };
|
|
5896
5903
|
}
|
|
5897
5904
|
} catch {
|
|
@@ -5899,7 +5906,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5899
5906
|
const processState = runnerProcessState(configPath);
|
|
5900
5907
|
const service = await (async () => {
|
|
5901
5908
|
if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
|
|
5902
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
5909
|
+
const { inspectRunnerService } = await import('./find-unit-6CBLEKXX.js');
|
|
5903
5910
|
const facts = inspectRunnerService(configPath);
|
|
5904
5911
|
return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
|
|
5905
5912
|
})();
|
|
@@ -5938,9 +5945,9 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5938
5945
|
);
|
|
5939
5946
|
});
|
|
5940
5947
|
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) => {
|
|
5941
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5942
|
-
const { listJobFiles } = await import('./loop-
|
|
5943
|
-
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-
|
|
5948
|
+
const { defaultRunnerConfigPath } = await import('./config-RLM4L7BC.js');
|
|
5949
|
+
const { listJobFiles } = await import('./loop-TYNS2QQ4.js');
|
|
5950
|
+
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-HPAZ7O74.js');
|
|
5944
5951
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5945
5952
|
const jobs = listJobFiles(configPath);
|
|
5946
5953
|
const selected = selectAttempt(jobs, itemArg);
|
|
@@ -6161,7 +6168,7 @@ Self-host deployments also need --app-id: without a key service to resolve the
|
|
|
6161
6168
|
caller from the bearer token, the gateway answers 401 without that header.
|
|
6162
6169
|
`
|
|
6163
6170
|
).action(async (opts) => {
|
|
6164
|
-
const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-
|
|
6171
|
+
const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-HZK6BMMS.js');
|
|
6165
6172
|
try {
|
|
6166
6173
|
if (opts.transport !== void 0 && opts.transport !== "stdio" && opts.transport !== "http") {
|
|
6167
6174
|
throw new McpInstallError(`--transport must be "stdio" or "http", got "${opts.transport}"`);
|
|
@@ -6183,7 +6190,7 @@ caller from the bearer token, the gateway answers 401 without that header.
|
|
|
6183
6190
|
"after",
|
|
6184
6191
|
"\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"
|
|
6185
6192
|
).action(async (opts) => {
|
|
6186
|
-
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-
|
|
6193
|
+
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-TIUV3ZOP.js');
|
|
6187
6194
|
try {
|
|
6188
6195
|
await runMcpServe({ url: opts.url, appId: opts.appId });
|
|
6189
6196
|
} catch (err) {
|
|
@@ -6204,7 +6211,7 @@ would get, the instruction files and the names of the skills. It warns when the
|
|
|
6204
6211
|
no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
|
|
6205
6212
|
`
|
|
6206
6213
|
).action(async (opts) => {
|
|
6207
|
-
const { runContextShow, ContextShowError } = await import('./context-show-cmd-
|
|
6214
|
+
const { runContextShow, ContextShowError } = await import('./context-show-cmd-KFVD47FK.js');
|
|
6208
6215
|
try {
|
|
6209
6216
|
const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
|
|
6210
6217
|
process.stdout.write(result.output);
|