@outerlayer/cli 0.38.0-next.20261111182110 → 0.38.0-next.20261111231234
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 +4 -0
- package/dist/agent-setup-3GY4FFSC.js +40 -0
- package/dist/{agent-subcommand-NZFPV3MV.js → agent-subcommand-VDN4AFAJ.js} +5 -5
- package/dist/{artifact-link-cmd-L4BXSQQP.js → artifact-link-cmd-A7SROEQS.js} +2 -2
- package/dist/{bridge-OBIGQXDH.js → bridge-QUQYCBQN.js} +8 -8
- package/dist/{build-4IYEB6OE.js → build-SD44TP2B.js} +14 -14
- package/dist/{build-disk-2MOEPIZF.js → build-disk-4PCVGMAT.js} +12 -12
- package/dist/build-info.json +1 -1
- package/dist/{builder-SVI2D35R.js → builder-JG2DHKSN.js} +11 -11
- package/dist/caller-A2K7SLSL.js +23 -0
- package/dist/{check-XIJ2MOWV.js → check-JNQVYVHI.js} +58 -58
- package/dist/{chunk-QHYCF36K.js → chunk-26BFN6DH.js} +1 -1
- package/dist/{chunk-3YJJ2JDV.js → chunk-2UCTMANO.js} +1 -1
- package/dist/{chunk-MOA4PGYL.js → chunk-2VJVPP5Y.js} +1 -1
- package/dist/{chunk-KA4BMGBR.js → chunk-3C23ZPWR.js} +2 -2
- package/dist/{chunk-TH3K67SR.js → chunk-3T7PXUHN.js} +9 -9
- package/dist/{chunk-ZC2BXXKB.js → chunk-3VWX5BYV.js} +17 -16
- package/dist/{chunk-36XB56GG.js → chunk-43R7JHQI.js} +5 -5
- package/dist/{chunk-SIGBRVEF.js → chunk-4FHDVWKO.js} +18 -5
- package/dist/{chunk-MOFT7QCR.js → chunk-4T2NBVC4.js} +5 -5
- package/dist/{chunk-6FQSV7ZK.js → chunk-5NK2KKG6.js} +3 -3
- package/dist/{chunk-NEXKR5RR.js → chunk-5NVF5TAL.js} +6 -1
- package/dist/{chunk-6GZL5RIV.js → chunk-5OSY3LK3.js} +30 -13
- package/dist/{chunk-OKAAVLLW.js → chunk-5TMM2K23.js} +4 -4
- package/dist/{chunk-PBHAM73F.js → chunk-5UFAWMET.js} +3 -3
- package/dist/{chunk-KR34GXEH.js → chunk-6FB7NTJK.js} +1 -1
- package/dist/{chunk-VNHCN75M.js → chunk-6X2BSMRM.js} +1 -1
- package/dist/{chunk-JDOEEKPN.js → chunk-722KABMV.js} +25 -9
- package/dist/{chunk-IN7QCBO5.js → chunk-7DIYEB3X.js} +6 -6
- package/dist/{chunk-6XORUAR7.js → chunk-7GJEQXOH.js} +1 -1
- package/dist/{chunk-J345NEVJ.js → chunk-A4NWDCWS.js} +5 -5
- package/dist/{chunk-LW5RIKAV.js → chunk-B2SHUO6J.js} +1 -1
- package/dist/{chunk-UWLCJZ45.js → chunk-BBRXFXBB.js} +1 -1
- package/dist/{chunk-3SHX2D37.js → chunk-BJIJYPGC.js} +5 -5
- package/dist/{chunk-N3KGXHV4.js → chunk-BUT777XB.js} +1 -1
- package/dist/{chunk-XAVR7JHO.js → chunk-C4R6LMPQ.js} +10 -10
- package/dist/{chunk-BECC4325.js → chunk-DLUBSTLW.js} +8 -8
- package/dist/{chunk-DKRZZBKI.js → chunk-DZFIRKDZ.js} +3 -3
- package/dist/{chunk-TMROYEP4.js → chunk-ECNWHXIO.js} +4 -4
- package/dist/{chunk-NFPJ2XC2.js → chunk-EJ7ZXBXS.js} +3 -3
- package/dist/{chunk-ATEMEVFF.js → chunk-ELPP5OHC.js} +1 -1
- package/dist/{chunk-6BXJESQF.js → chunk-ERG3WCEC.js} +9 -9
- package/dist/{chunk-QBJ7MMOT.js → chunk-EUHUIIGT.js} +16 -5
- package/dist/{chunk-FQPGZOH3.js → chunk-FUZEOWF4.js} +1 -1
- package/dist/{chunk-ZQII2ZRP.js → chunk-I5U6CFH4.js} +1 -1
- package/dist/{chunk-WV4T6ZOQ.js → chunk-I62FX622.js} +2 -2
- package/dist/{chunk-ORLJK7UT.js → chunk-IGBPPM7F.js} +7 -7
- package/dist/{chunk-36M66QKN.js → chunk-J6KKJGR7.js} +2 -1
- package/dist/{chunk-DULO2L5B.js → chunk-JIANCWJ3.js} +1 -1
- package/dist/{chunk-6XMC6R4W.js → chunk-KVWFAAAQ.js} +1 -1
- package/dist/{chunk-USINHGZI.js → chunk-KZU5WQK5.js} +3 -3
- package/dist/{chunk-I45HTSSA.js → chunk-LVELQ635.js} +1 -1
- package/dist/{chunk-RHPEAVKR.js → chunk-MVERFCX4.js} +1 -1
- package/dist/{chunk-BIMHESZG.js → chunk-N6BNN6ZD.js} +1 -1
- package/dist/{chunk-AJ3YUM23.js → chunk-NDQC2WUJ.js} +1 -1
- package/dist/{chunk-ABRGN5OA.js → chunk-NO4N4D32.js} +4 -4
- package/dist/{chunk-33XLQIV4.js → chunk-NRDFBOKE.js} +3 -3
- package/dist/{chunk-LVNMKOWI.js → chunk-OAPWDSBW.js} +2 -2
- package/dist/{chunk-CT4PKI24.js → chunk-OTWTUHWY.js} +339 -113
- package/dist/{chunk-UPUHL3KC.js → chunk-OYRAQXRQ.js} +7 -7
- package/dist/{chunk-DKTXQ7XQ.js → chunk-PCGU6T7J.js} +2 -2
- package/dist/{chunk-OPCFOIZJ.js → chunk-POBH5YCG.js} +1 -1
- package/dist/{chunk-LKLP5YMH.js → chunk-Q7J4T2VP.js} +7 -7
- package/dist/{chunk-PDPBWX67.js → chunk-QYLBGMTA.js} +17 -6
- package/dist/{chunk-3Z5KBFBB.js → chunk-RCK2MJRG.js} +2 -2
- package/dist/{chunk-F3RBGMHL.js → chunk-RUX4M4AX.js} +1 -1
- package/dist/{chunk-QENFVQ7O.js → chunk-SFSE6YDX.js} +56 -16
- package/dist/{chunk-NJ6IJFKR.js → chunk-SLORYOL4.js} +1 -1
- package/dist/{chunk-QH5NV7EQ.js → chunk-T4FSZ7LA.js} +7 -7
- package/dist/{chunk-4G5SYPK2.js → chunk-UXARYJQ4.js} +1 -1
- package/dist/{chunk-CZDYUKA6.js → chunk-VBSKVGWP.js} +7 -7
- package/dist/{chunk-D5GR3U2O.js → chunk-VRDHLSR2.js} +10 -10
- package/dist/{chunk-AMFCM4H7.js → chunk-VV445Q2R.js} +3 -3
- package/dist/{chunk-UKEJBA5Y.js → chunk-W7BF2RXV.js} +4 -4
- package/dist/{chunk-7GUD2FIF.js → chunk-WFYKTAXZ.js} +1 -1
- package/dist/{chunk-4AEOP5PD.js → chunk-WG5OBUIZ.js} +6 -6
- package/dist/{chunk-IHM7K6RS.js → chunk-Y25ONBS6.js} +4 -4
- package/dist/{chunk-BATSP67Z.js → chunk-Y5S6EUGK.js} +6 -6
- package/dist/{chunk-6YOXYZC2.js → chunk-YZVNZWKD.js} +7 -7
- package/dist/{chunk-CAQSGGPJ.js → chunk-Z42UKOZ6.js} +6 -6
- package/dist/{chunk-SASWFX22.js → chunk-Z7XFVFW2.js} +1 -1
- package/dist/{chunk-3BEMKOFH.js → chunk-ZCX43KZ5.js} +1 -1
- package/dist/{chunk-VQ6ZKSNL.js → chunk-ZH5YLKO6.js} +1 -1
- package/dist/{chunk-QMCWSBQO.js → chunk-ZJHWXRT4.js} +2 -2
- package/dist/{chunk-DE3NQAR7.js → chunk-ZU6LNR3G.js} +3 -3
- package/dist/{chunk-R3S2A7YF.js → chunk-ZUUA6ZGD.js} +97 -49
- package/dist/{claude-launcher-GIT7VNYK.js → claude-launcher-5ALZD5WD.js} +8 -8
- package/dist/{cli-Y5CRBNQQ.js → cli-OUL7NQWX.js} +172 -162
- package/dist/{cli-update-notice-OC4SOSZE.js → cli-update-notice-XZ7I7OWP.js} +2 -2
- package/dist/{command-2RX7FULE.js → command-ASXZLHXU.js} +53 -53
- package/dist/config-5KMNGNK5.js +22 -0
- package/dist/{connect-cmd-DSP6HJRP.js → connect-cmd-XR7XPGQ6.js} +15 -15
- package/dist/{container-start-DFFZVSGX.js → container-start-6FHPPHMU.js} +51 -51
- package/dist/{context-cleanup-FIQMPC6F.js → context-cleanup-HHMQV7KH.js} +5 -5
- package/dist/{context-show-cmd-BPZX3OUE.js → context-show-cmd-4EKSCIF4.js} +16 -16
- package/dist/{control-plane-launch-IIHRG233.js → control-plane-launch-AJPCKLBL.js} +16 -16
- package/dist/{demo-record-cmd-PI7QDFRP.js → demo-record-cmd-LVZOYPR7.js} +9 -9
- package/dist/{demo-voice-cmd-CMCPERTJ.js → demo-voice-cmd-DT6VFD2U.js} +22 -22
- package/dist/{dist-JSSJSW2B.js → dist-7JDEWP5U.js} +2 -2
- package/dist/docker-T7A6GZDD.js +20 -0
- package/dist/{doctor-ZVHGEA3C.js → doctor-FATFZWEA.js} +53 -53
- package/dist/emit-artifact-cmd-B5ZYJKFM.js +44 -0
- package/dist/{emit-cmd-QGVMVSLS.js → emit-cmd-P2XWWVFP.js} +8 -8
- package/dist/emit-criteria-cmd-RHFJYNSU.js +35 -0
- package/dist/{emit-demo-cmd-KLYEKCB3.js → emit-demo-cmd-WELKVLD4.js} +22 -22
- package/dist/{emit-finding-cmd-FZWK3Y4Q.js → emit-finding-cmd-KRNEWZQP.js} +18 -18
- package/dist/{emit-result-cmd-TODAXDFJ.js → emit-result-cmd-NQ6LAE4Z.js} +20 -20
- package/dist/{emit-step-cmd-QI52ZB57.js → emit-step-cmd-HKOYFSYL.js} +18 -18
- package/dist/{exec-client-YQCKCZGW.js → exec-client-2JSXFMEW.js} +9 -9
- package/dist/find-unit-3QYPTK6A.js +24 -0
- package/dist/{findings-cmd-O7I2GKRO.js → findings-cmd-EF4QXYRT.js} +18 -18
- package/dist/{fleet-readiness-BY7PY5FF.js → fleet-readiness-NBYN45IT.js} +16 -16
- package/dist/governing-source-C7MY7KB2.js +41 -0
- package/dist/guest-init-FX2NUAW6.js +20 -0
- package/dist/{hook-fast-3BGU6BF2.js → hook-fast-JZKCKSXB.js} +3 -3
- package/dist/{hook-install-6H6W4UM2.js → hook-install-R66RP7ME.js} +5 -5
- package/dist/host-checks-CZGNR4VC.js +80 -0
- package/dist/host-key-ACYKDZ4X.js +18 -0
- package/dist/{image-tag-IJKYPT6D.js → image-tag-H5CZTC42.js} +9 -9
- package/dist/index.js +4 -4
- package/dist/{init-65RN5X55.js → init-5S6A2SYN.js} +49 -49
- package/dist/init-WDYDTJW2.js +80 -0
- package/dist/{init-agent-R4ZOEFI3.js → init-agent-PJFH7OFD.js} +49 -49
- package/dist/{init-cmd-L4EFMAQ4.js → init-cmd-5SCU7AVL.js} +29 -29
- package/dist/{init-update-ACLVXFS7.js → init-update-NXDPWHK6.js} +26 -26
- package/dist/install-cmd-TMUNQF7U.js +21 -0
- package/dist/{layout-MBCG2IHB.js → layout-LTYJDJ5J.js} +5 -5
- package/dist/{login-browser-COSWHZEC.js → login-browser-LSZKECIB.js} +2 -2
- package/dist/{logs-VX2SXLJH.js → logs-ZEXFSBVF.js} +8 -8
- package/dist/loop-Q76PDO7L.js +90 -0
- package/dist/machine-GI6SZMEK.js +80 -0
- package/dist/{machine-skills-RPKQK52T.js → machine-skills-CYCZGBAM.js} +5 -5
- package/dist/{mcp-install-cmd-GN2K2JM3.js → mcp-install-cmd-TVIOPOIO.js} +5 -5
- package/dist/{mcp-serve-cmd-P34CQIBX.js → mcp-serve-cmd-OCQLRUAK.js} +11 -11
- package/dist/{paths-HV3G2EHE.js → paths-IB5XFML7.js} +8 -8
- package/dist/pending-TX4VIF6P.js +18 -0
- package/dist/{pidfile-4ZG5I7ZR.js → pidfile-VET4I455.js} +9 -9
- package/dist/{record-3XWPD2UP.js → record-3V3HQRGY.js} +9 -9
- package/dist/{relay-ZOWT4YLQ.js → relay-V7LX2WR6.js} +6 -6
- package/dist/{relay-protocol-FDFEVLQT.js → relay-protocol-QGEWESBF.js} +6 -6
- package/dist/{run-cmd-ZVNOKJB3.js → run-cmd-M5THCWDD.js} +18 -18
- package/dist/{runner-agents-3NUGNJD6.js → runner-agents-OTYZ73WU.js} +5 -5
- package/dist/runner-env-3QPJQ2H2.js +24 -0
- package/dist/{runner-identity-F2Z3TXJ7.js → runner-identity-GTWFQEIN.js} +11 -11
- package/dist/{runner-key-AOK7W733.js → runner-key-ZXNXWBSP.js} +49 -49
- package/dist/{session-sender-V3INPB34.js → session-sender-AEUNLU5R.js} +21 -21
- package/dist/{spec-cmd-LYGXRFVY.js → spec-cmd-4EB45ELL.js} +109 -22
- package/dist/{starter-pack-7QA7J5FT.js → starter-pack-HMJWEIVX.js} +6 -6
- package/dist/state-O3A3CIDQ.js +18 -0
- package/dist/{status-SPPT7WU5.js → status-R4JD34DO.js} +49 -49
- package/dist/{sync-cmd-EDSOKOXS.js → sync-cmd-2HOFZYI6.js} +20 -20
- package/dist/update-steps-CGWJJ2IA.js +81 -0
- package/dist/{watch-GBDNXFAK.js → watch-ZY62C5WB.js} +20 -20
- package/dist/{work-claim-cmd-SHKDYS7J.js → work-claim-cmd-4KQYRNRC.js} +27 -27
- package/dist/work-cmd-GNYWSA2O.js +33 -0
- package/dist/work-comment-cmd-7D3DHQ3O.js +39 -0
- package/dist/{work-demo-cmd-YJ654BQP.js → work-demo-cmd-PDILNMRF.js} +18 -18
- package/dist/{work-logs-cmd-RUNYYALP.js → work-logs-cmd-ER3AYV62.js} +18 -18
- package/dist/{work-needs-attention-cmd-NRDFGJPP.js → work-needs-attention-cmd-MAFPEANV.js} +18 -18
- package/dist/{work-no-change-cmd-FDA7PYB7.js → work-no-change-cmd-GDN5EE6N.js} +18 -18
- package/dist/{work-open-pr-cmd-LEWPNTW5.js → work-open-pr-cmd-56TRIE5I.js} +19 -19
- package/dist/work-pr-cmd-W3T6ELML.js +34 -0
- package/dist/{work-proofs-cmd-QKIEJJRF.js → work-proofs-cmd-Y2OMM37N.js} +20 -20
- package/dist/{work-proofs-record-2M4A5OIF.js → work-proofs-record-I2VLOMRD.js} +26 -26
- package/dist/{work-stop-cmd-HH2SSJIO.js → work-stop-cmd-PREZOSNY.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/SKILL.md +8 -0
- 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/skill-pack/maintained/outerlayer-spec/SKILL.md +149 -0
- package/skill-pack/maintained/outerlayer-spec/references/revise-an-issue.md +14 -0
- package/skill-pack/shipped.json +1 -0
- package/skill-pack/template/spec/SKILL.md +5 -120
- 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-3VWX5BYV.js';
|
|
4
|
+
import './chunk-4T2NBVC4.js';
|
|
5
|
+
import { verifiedTrackerNames, TRACKERS } from './chunk-5OSY3LK3.js';
|
|
6
|
+
import './chunk-2VJVPP5Y.js';
|
|
7
|
+
import './chunk-5UFAWMET.js';
|
|
8
|
+
import './chunk-SFSE6YDX.js';
|
|
9
|
+
import './chunk-RUX4M4AX.js';
|
|
10
|
+
import './chunk-SLORYOL4.js';
|
|
11
|
+
import './chunk-KZU5WQK5.js';
|
|
12
|
+
import './chunk-Z42UKOZ6.js';
|
|
13
|
+
import './chunk-26BFN6DH.js';
|
|
14
|
+
import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-ZCX43KZ5.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-Z7XFVFW2.js';
|
|
19
|
+
import './chunk-PCGU6T7J.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-I5U6CFH4.js';
|
|
22
|
+
import './chunk-JIANCWJ3.js';
|
|
23
|
+
import './chunk-4FHDVWKO.js';
|
|
24
|
+
import './chunk-EJ7ZXBXS.js';
|
|
25
|
+
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-W7BF2RXV.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-ZJHWXRT4.js';
|
|
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-6FB7NTJK.js';
|
|
36
36
|
import { cliForInstall, SettingsParseError, PORTABLE_BIN, writeSettingsText, cliBinResolvable } from './chunk-ZHQC43NH.js';
|
|
37
|
-
import './chunk-
|
|
37
|
+
import './chunk-B2SHUO6J.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-J6KKJGR7.js';
|
|
41
|
+
import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-QYLBGMTA.js';
|
|
42
42
|
import './chunk-PLVHIQJN.js';
|
|
43
43
|
import './chunk-7PZDPISM.js';
|
|
44
|
-
import './chunk-
|
|
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-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-HMJWEIVX.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-LTYJDJ5J.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-CYCZGBAM.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-XR7XPGQ6.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-CYCZGBAM.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-XZ7I7OWP.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");
|
|
@@ -3876,7 +3876,7 @@ writes AGENTS.md when there is no AGENTS.md or
|
|
|
3876
3876
|
CLAUDE.md, writes .outerlayer/config.json with "layout": 2 when there is
|
|
3877
3877
|
none, links .claude/skills to ../.agents/skills, and adds the outerlayer and
|
|
3878
3878
|
outerlayer-docs MCP servers to .mcp.json. Nothing is generated, so nothing
|
|
3879
|
-
needs \`` + cliInvocation() + " context emit`. --no-skills-link leaves out the link.\nNothing you wrote is changed. A repository still in the earlier layout keeps\nits files in .outerlayer/ and is compiled as before until --update moves it.\nThe files are left uncommitted.\nThe step is skipped outside a git repository and in a repository whose\ncontext comes from a control plane, where it arrives at session start.\n\nEvery init installs the
|
|
3879
|
+
needs \`` + cliInvocation() + " context emit`. --no-skills-link leaves out the link.\nNothing you wrote is changed. A repository still in the earlier layout keeps\nits files in .outerlayer/ and is compiled as before until --update moves it.\nThe files are left uncommitted.\nThe step is skipped outside a git repository and in a repository whose\ncontext comes from a control plane, where it arrives at session start.\n\nEvery init installs the maintained skills (outerlayer-evidence, outerlayer-amend,\nouterlayer-findings, outerlayer-cli, outerlayer-build, outerlayer-run, outerlayer-spec) once\nper machine, in ~/.agents/skills/, with a link to each in ~/.claude/skills/.\nEvery later outerlayer command keeps them at its own version. A repository in\nthe AGENTS.md layout carries none of them. `" + cliInvocation() + " claude` installs them too.\nIf a write fails, init says so and goes on; `" + cliInvocation() + ` doctor\` reports it.
|
|
3880
3880
|
|
|
3881
3881
|
--local installs only the hooks and the per-machine skills: no connect step, no agent setup and no
|
|
3882
3882
|
network call. Add \`--template default\` to also write the starter skills and
|
|
@@ -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-NXDPWHK6.js');
|
|
3906
|
+
const { fleetReadiness } = await import('./fleet-readiness-NBYN45IT.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-HMJWEIVX.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-5SCU7AVL.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-5SCU7AVL.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-3GY4FFSC.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-XR7XPGQ6.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-XR7XPGQ6.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-2HOFZYI6.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-ZY62C5WB.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-V7LX2WR6.js');
|
|
4150
|
+
const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-QGEWESBF.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-V7LX2WR6.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-2JSXFMEW.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-AEUNLU5R.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-FX2NUAW6.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-QUQYCBQN.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-P2XWWVFP.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-NQ6LAE4Z.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-B5ZYJKFM.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-WELKVLD4.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-DT6VFD2U.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-LVZOYPR7.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-KRNEWZQP.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-KRNEWZQP.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-HKOYFSYL.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-RHFJYNSU.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-GNYWSA2O.js');
|
|
4717
4717
|
try {
|
|
4718
|
-
await action(await import('./spec-cmd-
|
|
4718
|
+
await action(await import('./spec-cmd-4EB45ELL.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-EF4QXYRT.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-EF4QXYRT.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-M5THCWDD.js');
|
|
4825
|
+
const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.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-M5THCWDD.js');
|
|
4848
|
+
const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
|
|
4840
4849
|
try {
|
|
4841
4850
|
await runFoundNothing(opts);
|
|
4842
4851
|
} catch (err) {
|
|
@@ -4848,7 +4857,7 @@ scheduled run, which holds a run key, can run it.
|
|
|
4848
4857
|
}
|
|
4849
4858
|
});
|
|
4850
4859
|
const workCmd = program2.command("work").description("Start, remove, or read what the factory is working on (the Work page)");
|
|
4851
|
-
workCmd.command("build").description("Start work on an item: a host builds it, or with --local you do").option("--issue <number>", "issue number, or a Linear/Jira key like ENG-123 (adds it to Work first)").option(TRACKER_OPTION_FLAG, "tracker for a keyed --issue \u2014 required if more than one is connected").option("--item <number>", "the item's own number inside this factory \u2014 must already exist").option("--local", "you build it in a session you start; no host takes it").option("--repo <owner/name>", "repository \u2014 the checkout's remote for a number, never guessed for a key").option("--note <text>", "a short note for people to read; the agent never sees it").option("--instructions <text>", "text the build's agent receives, up to 2000 characters; not with --local").option("--runner <kind>", "kind of runner that takes the build: managed or self-hosted; not with --local").option("--fresh", "start from a fresh disk, not the item's kept disk; not with --local").option("--session-id <id>", "session id to record as-is, skipping detection").option("--retry <count>", "retries after a gateway answer worth trying again").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(
|
|
4860
|
+
workCmd.command("build").description("Start work on an item: a host builds it, or with --local you do").option("--issue <number>", "issue number, or a Linear/Jira key like ENG-123 (adds it to Work first)").option(TRACKER_OPTION_FLAG, "tracker for a keyed --issue \u2014 required if more than one is connected").option("--item <number>", "the item's own number inside this factory \u2014 must already exist").option("--local", "you build it in a session you start; no host takes it").option("--repo <owner/name>", "repository \u2014 the checkout's remote for a number, never guessed for a key").option("--note <text>", "a short note for people to read; the agent never sees it").option("--instructions <text>", "text the build's agent receives, up to 2000 characters; not with --local").option("--runner <kind>", "kind of runner that takes the build: managed or self-hosted; not with --local").option("--fresh", "start from a fresh disk, not the item's kept disk; not with --local").option("--continue", "continue the session of the item's previous build; not with --fresh or --local").option("--session-id <id>", "session id to record as-is, skipping detection").option("--retry <count>", "retries after a gateway answer worth trying again").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(
|
|
4852
4861
|
"after",
|
|
4853
4862
|
`
|
|
4854
4863
|
${cliInvocation()} work build --issue 42 # a host builds it
|
|
@@ -4856,6 +4865,7 @@ scheduled run, which holds a run key, can run it.
|
|
|
4856
4865
|
${cliInvocation()} work build --issue 42 --instructions "skip the docs" # the agent reads this
|
|
4857
4866
|
${cliInvocation()} work build --issue 42 --runner managed # a managed runner builds it
|
|
4858
4867
|
${cliInvocation()} work build --item 7 --fresh # no kept disk is restored
|
|
4868
|
+
${cliInvocation()} work build --item 7 --continue # the agent goes on in its earlier session
|
|
4859
4869
|
${cliInvocation()} work build --issue 42 --local # you build it
|
|
4860
4870
|
${cliInvocation()} work build --issue ENG-123 --tracker linear # a Linear issue
|
|
4861
4871
|
|
|
@@ -4868,7 +4878,7 @@ takes it, and prints the line that starts your session on it. That
|
|
|
4868
4878
|
session links itself and holds the item's lease while it works.
|
|
4869
4879
|
`
|
|
4870
4880
|
).action(async (opts) => {
|
|
4871
|
-
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-
|
|
4881
|
+
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
|
|
4872
4882
|
try {
|
|
4873
4883
|
await runWorkBuild(opts);
|
|
4874
4884
|
} catch (err) {
|
|
@@ -4891,7 +4901,7 @@ renews that session's own 20-minute lease, unless --no-lease or
|
|
|
4891
4901
|
--ended is given, or another worker already holds a live one.
|
|
4892
4902
|
`
|
|
4893
4903
|
).action(async (number, opts) => {
|
|
4894
|
-
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-
|
|
4904
|
+
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
|
|
4895
4905
|
try {
|
|
4896
4906
|
await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
|
|
4897
4907
|
} catch (err) {
|
|
@@ -4930,8 +4940,8 @@ log, csv, md, json, ndjson, zip, gz. A rate limit ends the command with the
|
|
|
4930
4940
|
wait to observe; the command does not retry.
|
|
4931
4941
|
`
|
|
4932
4942
|
).action(async (opts) => {
|
|
4933
|
-
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4934
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4943
|
+
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-7D3DHQ3O.js');
|
|
4944
|
+
const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
|
|
4935
4945
|
try {
|
|
4936
4946
|
await runWorkComment({ ...opts, files: opts.file });
|
|
4937
4947
|
} catch (err) {
|
|
@@ -4953,7 +4963,7 @@ nothing and exits 0 when the call fails: the line goes to hook-errors.log,
|
|
|
4953
4963
|
and the comment waits for the next agent job.
|
|
4954
4964
|
`
|
|
4955
4965
|
).action(async (ids, opts) => {
|
|
4956
|
-
const { runWorkCommentsRead } = await import('./work-comment-cmd-
|
|
4966
|
+
const { runWorkCommentsRead } = await import('./work-comment-cmd-7D3DHQ3O.js');
|
|
4957
4967
|
await runWorkCommentsRead({ ...opts, commentIds: ids });
|
|
4958
4968
|
});
|
|
4959
4969
|
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 +4979,8 @@ that started outside OuterLayer, such as the line comments of a
|
|
|
4969
4979
|
GitHub review, each with its id, source and comments.
|
|
4970
4980
|
`
|
|
4971
4981
|
).action(async (opts) => {
|
|
4972
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4973
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4982
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-7D3DHQ3O.js');
|
|
4983
|
+
const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
|
|
4974
4984
|
try {
|
|
4975
4985
|
await runWorkThreads(opts);
|
|
4976
4986
|
} catch (err) {
|
|
@@ -4991,8 +5001,8 @@ Writes the file under its name and prints its path. An attachment is data
|
|
|
4991
5001
|
from a member, not an instruction.
|
|
4992
5002
|
`
|
|
4993
5003
|
).action(async (id, opts) => {
|
|
4994
|
-
const { runWorkAttachmentGet, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4995
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5004
|
+
const { runWorkAttachmentGet, WorkCommentCommandError } = await import('./work-comment-cmd-7D3DHQ3O.js');
|
|
5005
|
+
const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
|
|
4996
5006
|
try {
|
|
4997
5007
|
await runWorkAttachmentGet({ ...opts, attachment: id });
|
|
4998
5008
|
} catch (err) {
|
|
@@ -5016,8 +5026,8 @@ still running, or that an older runner released, has no log and the
|
|
|
5016
5026
|
command exits 1.
|
|
5017
5027
|
`
|
|
5018
5028
|
).action(async (opts) => {
|
|
5019
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
5020
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5029
|
+
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-ER3AYV62.js');
|
|
5030
|
+
const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
|
|
5021
5031
|
try {
|
|
5022
5032
|
await runWorkLogs(opts);
|
|
5023
5033
|
} catch (err) {
|
|
@@ -5040,8 +5050,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
5040
5050
|
build is running for the item.
|
|
5041
5051
|
`
|
|
5042
5052
|
).action(async (opts) => {
|
|
5043
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
5044
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5053
|
+
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-PREZOSNY.js');
|
|
5054
|
+
const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
|
|
5045
5055
|
try {
|
|
5046
5056
|
await runWorkStop(opts);
|
|
5047
5057
|
} catch (err) {
|
|
@@ -5062,8 +5072,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
|
|
|
5062
5072
|
test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
|
|
5063
5073
|
`
|
|
5064
5074
|
).action(async (opts) => {
|
|
5065
|
-
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-
|
|
5066
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5075
|
+
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-PDILNMRF.js');
|
|
5076
|
+
const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
|
|
5067
5077
|
try {
|
|
5068
5078
|
await runWorkDemo(opts);
|
|
5069
5079
|
} catch (err) {
|
|
@@ -5084,7 +5094,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
5084
5094
|
live addition remains on it.
|
|
5085
5095
|
`
|
|
5086
5096
|
).action(async (opts) => {
|
|
5087
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
5097
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
|
|
5088
5098
|
try {
|
|
5089
5099
|
await runWorkRemove(opts);
|
|
5090
5100
|
} catch (err) {
|
|
@@ -5096,7 +5106,7 @@ live addition remains on it.
|
|
|
5096
5106
|
}
|
|
5097
5107
|
});
|
|
5098
5108
|
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-
|
|
5109
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
|
|
5100
5110
|
try {
|
|
5101
5111
|
await runWorkStatus(opts);
|
|
5102
5112
|
} catch (err) {
|
|
@@ -5154,11 +5164,11 @@ a runner build, no row is failed.
|
|
|
5154
5164
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5155
5165
|
return;
|
|
5156
5166
|
}
|
|
5157
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5167
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-Y2OMM37N.js');
|
|
5158
5168
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5159
5169
|
});
|
|
5160
5170
|
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-
|
|
5171
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
|
|
5162
5172
|
try {
|
|
5163
5173
|
await runWorkList(opts);
|
|
5164
5174
|
} catch (err) {
|
|
@@ -5179,7 +5189,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
5179
5189
|
it. --host is a label only.
|
|
5180
5190
|
`
|
|
5181
5191
|
).action(async (opts) => {
|
|
5182
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
5192
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-4KQYRNRC.js');
|
|
5183
5193
|
try {
|
|
5184
5194
|
await runWorkClaim(opts);
|
|
5185
5195
|
} catch (err) {
|
|
@@ -5199,7 +5209,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5199
5209
|
lease has expired, or a 403 if a different key holds it.
|
|
5200
5210
|
`
|
|
5201
5211
|
).action(async (opts) => {
|
|
5202
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5212
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-4KQYRNRC.js');
|
|
5203
5213
|
try {
|
|
5204
5214
|
await runWorkRenew(opts);
|
|
5205
5215
|
} catch (err) {
|
|
@@ -5231,7 +5241,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5231
5241
|
takes the lease again.
|
|
5232
5242
|
`
|
|
5233
5243
|
).action(async (opts) => {
|
|
5234
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5244
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-4KQYRNRC.js');
|
|
5235
5245
|
try {
|
|
5236
5246
|
await runWorkRelease(opts);
|
|
5237
5247
|
} catch (err) {
|
|
@@ -5258,7 +5268,7 @@ Idempotent: declaring the same pull request twice is a no-op.
|
|
|
5258
5268
|
needs your own login; an agent session or a factory key is refused.
|
|
5259
5269
|
`
|
|
5260
5270
|
).action(async (number, opts) => {
|
|
5261
|
-
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-
|
|
5271
|
+
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-W3T6ELML.js');
|
|
5262
5272
|
try {
|
|
5263
5273
|
await runWorkPr({ ...opts, number });
|
|
5264
5274
|
} catch (err) {
|
|
@@ -5283,8 +5293,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
5283
5293
|
Run it again after a change to the title or description.
|
|
5284
5294
|
`
|
|
5285
5295
|
).action(async (opts) => {
|
|
5286
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
5287
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5296
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-56TRIE5I.js');
|
|
5297
|
+
const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
|
|
5288
5298
|
try {
|
|
5289
5299
|
await runWorkOpenPr(opts);
|
|
5290
5300
|
} catch (err) {
|
|
@@ -5307,8 +5317,8 @@ and OuterLayer posts the reason on the issue. Only a host build, which
|
|
|
5307
5317
|
holds an item key, can run it.
|
|
5308
5318
|
`
|
|
5309
5319
|
).action(async (opts) => {
|
|
5310
|
-
const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-
|
|
5311
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5320
|
+
const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-GDN5EE6N.js');
|
|
5321
|
+
const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
|
|
5312
5322
|
try {
|
|
5313
5323
|
await runWorkNoChange(opts);
|
|
5314
5324
|
} catch (err) {
|
|
@@ -5331,8 +5341,8 @@ record that no change is needed. Only a host build, which holds an item key,
|
|
|
5331
5341
|
can run it.
|
|
5332
5342
|
`
|
|
5333
5343
|
).action(async (opts) => {
|
|
5334
|
-
const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-
|
|
5335
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5344
|
+
const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-MAFPEANV.js');
|
|
5345
|
+
const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
|
|
5336
5346
|
try {
|
|
5337
5347
|
await runWorkNeedsAttention(opts);
|
|
5338
5348
|
} catch (err) {
|
|
@@ -5376,9 +5386,9 @@ function registerRunnerCommands(program2) {
|
|
|
5376
5386
|
const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
|
|
5377
5387
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5378
5388
|
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-
|
|
5389
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-5KMNGNK5.js');
|
|
5390
|
+
const { start, RunnerStartError } = await import('./loop-Q76PDO7L.js');
|
|
5391
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-VET4I455.js');
|
|
5382
5392
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5383
5393
|
try {
|
|
5384
5394
|
const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
|
|
@@ -5400,10 +5410,10 @@ is optional and defaults to ${words().runnerName}. On a later start it refuses v
|
|
|
5400
5410
|
The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
5401
5411
|
`
|
|
5402
5412
|
).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-
|
|
5413
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-5KMNGNK5.js');
|
|
5414
|
+
const { containerStart, containerStartExit } = await import('./container-start-6FHPPHMU.js');
|
|
5415
|
+
const { start, RunnerStartError } = await import('./loop-Q76PDO7L.js');
|
|
5416
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-VET4I455.js');
|
|
5407
5417
|
try {
|
|
5408
5418
|
const outcome = containerStartExit(await containerStart({
|
|
5409
5419
|
env: process.env,
|
|
@@ -5424,16 +5434,16 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5424
5434
|
"after",
|
|
5425
5435
|
"\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
5436
|
).action(async (opts) => {
|
|
5427
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5428
|
-
const { runnerDir } = await import('./paths-
|
|
5429
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5437
|
+
const { defaultRunnerConfigPath } = await import('./config-5KMNGNK5.js');
|
|
5438
|
+
const { runnerDir } = await import('./paths-IB5XFML7.js');
|
|
5439
|
+
const { runUpdateSteps } = await import('./update-steps-CGWJJ2IA.js');
|
|
5430
5440
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5431
5441
|
process.stdout.write(`${text}
|
|
5432
5442
|
`);
|
|
5433
5443
|
});
|
|
5434
5444
|
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-
|
|
5445
|
+
const { defaultRunnerConfigPath } = await import('./config-5KMNGNK5.js');
|
|
5446
|
+
const { runRunnerCheck } = await import('./check-JNQVYVHI.js');
|
|
5437
5447
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5438
5448
|
const result = await runRunnerCheck(configPath);
|
|
5439
5449
|
if (!result.ok) {
|
|
@@ -5454,8 +5464,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5454
5464
|
`);
|
|
5455
5465
|
});
|
|
5456
5466
|
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-
|
|
5467
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-5KMNGNK5.js');
|
|
5468
|
+
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-TMUNQF7U.js');
|
|
5459
5469
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5460
5470
|
if (opts.service !== true) {
|
|
5461
5471
|
const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
|
|
@@ -5467,13 +5477,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5467
5477
|
}
|
|
5468
5478
|
}
|
|
5469
5479
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5470
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5480
|
+
if (buildCpusMax !== void 0 && !(await import('./command-ASXZLHXU.js')).cpusAreValid(buildCpusMax)) {
|
|
5471
5481
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5472
5482
|
return;
|
|
5473
5483
|
}
|
|
5474
5484
|
try {
|
|
5475
5485
|
if (opts.service === true) {
|
|
5476
|
-
const { installServiceCommand, serviceSuccessText } = await import('./command-
|
|
5486
|
+
const { installServiceCommand, serviceSuccessText } = await import('./command-ASXZLHXU.js');
|
|
5477
5487
|
const result2 = await installServiceCommand({
|
|
5478
5488
|
configPath,
|
|
5479
5489
|
print: opts.print,
|
|
@@ -5527,8 +5537,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5527
5537
|
fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
|
|
5528
5538
|
return;
|
|
5529
5539
|
}
|
|
5530
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5531
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5540
|
+
const { defaultRunnerConfigPath } = await import('./config-5KMNGNK5.js');
|
|
5541
|
+
const { uninstallServiceCommand } = await import('./command-ASXZLHXU.js');
|
|
5532
5542
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5533
5543
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5534
5544
|
`);
|
|
@@ -5558,13 +5568,13 @@ already in ${words().envFile} is used.
|
|
|
5558
5568
|
printf '%s' "$${words().variables[0]}" | ${cliInvocation()} runner init --agent ${words().runnerName} --factory <org>/<factory>
|
|
5559
5569
|
`
|
|
5560
5570
|
).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-
|
|
5571
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-5KMNGNK5.js');
|
|
5572
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-WDYDTJW2.js');
|
|
5573
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-ZXNXWBSP.js');
|
|
5574
|
+
const { detectMachine } = await import('./machine-GI6SZMEK.js');
|
|
5575
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-5S6A2SYN.js');
|
|
5576
|
+
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-3QPJQ2H2.js');
|
|
5577
|
+
const { headlessNames: headlessNames2 } = await import('./runner-agents-OTYZ73WU.js');
|
|
5568
5578
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5569
5579
|
if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
|
|
5570
5580
|
fail(`--agent ${opts.agent}: runner init writes commands for ${headlessNames2().join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
|
|
@@ -5576,7 +5586,7 @@ already in ${words().envFile} is used.
|
|
|
5576
5586
|
return;
|
|
5577
5587
|
}
|
|
5578
5588
|
try {
|
|
5579
|
-
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-
|
|
5589
|
+
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-PJFH7OFD.js');
|
|
5580
5590
|
agent = await initAgent({
|
|
5581
5591
|
flag: agent,
|
|
5582
5592
|
handOff: opts.configStdin === true,
|
|
@@ -5587,7 +5597,7 @@ already in ${words().envFile} is used.
|
|
|
5587
5597
|
if (agent !== void 0) {
|
|
5588
5598
|
const chosen = agent;
|
|
5589
5599
|
const forms = credentialForms((runnerAgentNamed(chosen) ?? credentialAgent()).descriptor);
|
|
5590
|
-
const { readPipedKey } = await import('./login-browser-
|
|
5600
|
+
const { readPipedKey } = await import('./login-browser-LSZKECIB.js');
|
|
5591
5601
|
const { terminalPrompt: terminalPrompt2 } = await import('./hidden-prompt-UXBFMQC5.js');
|
|
5592
5602
|
const text = await agentCredentialText({
|
|
5593
5603
|
isTTY: process.stdin.isTTY === true,
|
|
@@ -5609,7 +5619,7 @@ already in ${words().envFile} is used.
|
|
|
5609
5619
|
const chunks = [];
|
|
5610
5620
|
for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
|
|
5611
5621
|
const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
|
|
5612
|
-
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-
|
|
5622
|
+
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-ACYKDZ4X.js');
|
|
5613
5623
|
const hostKey2 = await ensureHostKey2(configPath);
|
|
5614
5624
|
process.stdout.write(`host key ${hostKey2.fingerprint}
|
|
5615
5625
|
hooks: ${result2.hooks}
|
|
@@ -5664,7 +5674,7 @@ hooks: ${result2.hooks}
|
|
|
5664
5674
|
const prepared = prepareRunnerInit(configPath, { machine, agent, credential, keyFromLogin: makeKey !== void 0 });
|
|
5665
5675
|
const created = makeKey === void 0 ? void 0 : await makeKey();
|
|
5666
5676
|
const result = writeRunnerInit(prepared, created);
|
|
5667
|
-
const { ensureHostKey } = await import('./host-key-
|
|
5677
|
+
const { ensureHostKey } = await import('./host-key-ACYKDZ4X.js');
|
|
5668
5678
|
const hostKey = await ensureHostKey(configPath);
|
|
5669
5679
|
if (created !== void 0) {
|
|
5670
5680
|
process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
|
|
@@ -5684,7 +5694,7 @@ hooks: ${result2.hooks}
|
|
|
5684
5694
|
);
|
|
5685
5695
|
process.stdout.write(`${C.green}\u2713${C.reset} hooks: ${result.hooks}${result.hooks === "builtin:vm" ? " (builds run in microVMs)" : " (builds run in containers)"}
|
|
5686
5696
|
`);
|
|
5687
|
-
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-
|
|
5697
|
+
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-TMUNQF7U.js');
|
|
5688
5698
|
let installedLayout = false;
|
|
5689
5699
|
let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
|
|
5690
5700
|
try {
|
|
@@ -5716,7 +5726,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5716
5726
|
let serviceUp = false;
|
|
5717
5727
|
let restart;
|
|
5718
5728
|
if (installedLayout) {
|
|
5719
|
-
const { installServiceCommand } = await import('./command-
|
|
5729
|
+
const { installServiceCommand } = await import('./command-ASXZLHXU.js');
|
|
5720
5730
|
const service = await installServiceCommand({
|
|
5721
5731
|
configPath,
|
|
5722
5732
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5768,12 +5778,12 @@ image holds this CLI and a pinned ${words().agent}. Nothing runs inside the imag
|
|
|
5768
5778
|
A repository with no devcontainer file builds on the universal image the CLI pins by digest.
|
|
5769
5779
|
`
|
|
5770
5780
|
).action(async (opts) => {
|
|
5771
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5772
|
-
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-
|
|
5781
|
+
const { defaultRunnerConfigPath } = await import('./config-5KMNGNK5.js');
|
|
5782
|
+
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-SD44TP2B.js');
|
|
5773
5783
|
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-
|
|
5784
|
+
const { createDockerHost } = await import('./docker-T7A6GZDD.js');
|
|
5785
|
+
const { builderSpec } = await import('./builder-JG2DHKSN.js');
|
|
5786
|
+
const { loadRunnerConfig } = await import('./config-5KMNGNK5.js');
|
|
5777
5787
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5778
5788
|
const loaded = (() => {
|
|
5779
5789
|
try {
|
|
@@ -5784,12 +5794,12 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5784
5794
|
})();
|
|
5785
5795
|
const memory = loaded?.build?.memory ?? "8g";
|
|
5786
5796
|
try {
|
|
5787
|
-
const { ensureRunnerIdentity } = await import('./runner-identity-
|
|
5797
|
+
const { ensureRunnerIdentity } = await import('./runner-identity-GTWFQEIN.js');
|
|
5788
5798
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5789
5799
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5790
5800
|
});
|
|
5791
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5792
|
-
const { runnerCalls } = await import('./caller-
|
|
5801
|
+
const { imageTargetFor } = await import('./governing-source-C7MY7KB2.js');
|
|
5802
|
+
const { runnerCalls } = await import('./caller-A2K7SLSL.js');
|
|
5793
5803
|
const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
|
|
5794
5804
|
if (!target.ok) {
|
|
5795
5805
|
if (opts.json) {
|
|
@@ -5853,25 +5863,25 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5853
5863
|
}
|
|
5854
5864
|
});
|
|
5855
5865
|
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-
|
|
5866
|
+
const { defaultRunnerConfigPath } = await import('./config-5KMNGNK5.js');
|
|
5867
|
+
const { requestStop } = await import('./loop-Q76PDO7L.js');
|
|
5858
5868
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5859
|
-
const { runnerImageVersion } = await import('./image-tag-
|
|
5869
|
+
const { runnerImageVersion } = await import('./image-tag-H5CZTC42.js');
|
|
5860
5870
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
5861
5871
|
});
|
|
5862
5872
|
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-
|
|
5873
|
+
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-5KMNGNK5.js');
|
|
5874
|
+
const { jobsDir, runnerDir } = await import('./paths-IB5XFML7.js');
|
|
5875
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-Q76PDO7L.js');
|
|
5876
|
+
const { renderStatus } = await import('./status-R4JD34DO.js');
|
|
5877
|
+
const { readHousekeepingRecord } = await import('./record-3V3HQRGY.js');
|
|
5868
5878
|
const path2 = await import('path');
|
|
5869
5879
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5870
5880
|
const all = listJobFiles(configPath);
|
|
5871
5881
|
const housekeeping = readHousekeepingRecord(runnerDir(configPath));
|
|
5872
|
-
const { readPendingUpdate } = await import('./pending-
|
|
5882
|
+
const { readPendingUpdate } = await import('./pending-TX4VIF6P.js');
|
|
5873
5883
|
const pendingUpdate = readPendingUpdate(runnerDir(configPath));
|
|
5874
|
-
const { readImageStatus } = await import('./image-tag-
|
|
5884
|
+
const { readImageStatus } = await import('./image-tag-H5CZTC42.js');
|
|
5875
5885
|
const image = readImageStatus(runnerDir(configPath));
|
|
5876
5886
|
let host = "unknown";
|
|
5877
5887
|
let concurrency = 1;
|
|
@@ -5881,7 +5891,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5881
5891
|
host = config.host;
|
|
5882
5892
|
concurrency = config.concurrency;
|
|
5883
5893
|
if (config.fleet === true) {
|
|
5884
|
-
const { readFleetState } = await import('./state-
|
|
5894
|
+
const { readFleetState } = await import('./state-O3A3CIDQ.js');
|
|
5885
5895
|
fleet = { state: readFleetState(configPath) };
|
|
5886
5896
|
}
|
|
5887
5897
|
} catch {
|
|
@@ -5889,7 +5899,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5889
5899
|
const processState = runnerProcessState(configPath);
|
|
5890
5900
|
const service = await (async () => {
|
|
5891
5901
|
if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
|
|
5892
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
5902
|
+
const { inspectRunnerService } = await import('./find-unit-3QYPTK6A.js');
|
|
5893
5903
|
const facts = inspectRunnerService(configPath);
|
|
5894
5904
|
return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
|
|
5895
5905
|
})();
|
|
@@ -5928,9 +5938,9 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5928
5938
|
);
|
|
5929
5939
|
});
|
|
5930
5940
|
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-
|
|
5941
|
+
const { defaultRunnerConfigPath } = await import('./config-5KMNGNK5.js');
|
|
5942
|
+
const { listJobFiles } = await import('./loop-Q76PDO7L.js');
|
|
5943
|
+
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-ZEXFSBVF.js');
|
|
5934
5944
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5935
5945
|
const jobs = listJobFiles(configPath);
|
|
5936
5946
|
const selected = selectAttempt(jobs, itemArg);
|
|
@@ -6151,7 +6161,7 @@ Self-host deployments also need --app-id: without a key service to resolve the
|
|
|
6151
6161
|
caller from the bearer token, the gateway answers 401 without that header.
|
|
6152
6162
|
`
|
|
6153
6163
|
).action(async (opts) => {
|
|
6154
|
-
const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-
|
|
6164
|
+
const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-TVIOPOIO.js');
|
|
6155
6165
|
try {
|
|
6156
6166
|
if (opts.transport !== void 0 && opts.transport !== "stdio" && opts.transport !== "http") {
|
|
6157
6167
|
throw new McpInstallError(`--transport must be "stdio" or "http", got "${opts.transport}"`);
|
|
@@ -6173,7 +6183,7 @@ caller from the bearer token, the gateway answers 401 without that header.
|
|
|
6173
6183
|
"after",
|
|
6174
6184
|
"\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
6185
|
).action(async (opts) => {
|
|
6176
|
-
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-
|
|
6186
|
+
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-OCQLRUAK.js');
|
|
6177
6187
|
try {
|
|
6178
6188
|
await runMcpServe({ url: opts.url, appId: opts.appId });
|
|
6179
6189
|
} catch (err) {
|
|
@@ -6194,7 +6204,7 @@ would get, the instruction files and the names of the skills. It warns when the
|
|
|
6194
6204
|
no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
|
|
6195
6205
|
`
|
|
6196
6206
|
).action(async (opts) => {
|
|
6197
|
-
const { runContextShow, ContextShowError } = await import('./context-show-cmd-
|
|
6207
|
+
const { runContextShow, ContextShowError } = await import('./context-show-cmd-4EKSCIF4.js');
|
|
6198
6208
|
try {
|
|
6199
6209
|
const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
|
|
6200
6210
|
process.stdout.write(result.output);
|
|
@@ -6214,7 +6224,7 @@ Missing or empty config: {"targets": [...]}, e.g. {"targets": ["claude-code"]}.
|
|
|
6214
6224
|
${knownTargetsLine(defaultAgents())}
|
|
6215
6225
|
|
|
6216
6226
|
The maintained skills (outerlayer-evidence, outerlayer-amend, outerlayer-findings,
|
|
6217
|
-
outerlayer-cli, outerlayer-build, outerlayer-run) follow this CLI: emit rewrites one that differs from its bundle, and --check
|
|
6227
|
+
outerlayer-cli, outerlayer-build, outerlayer-run, outerlayer-spec) follow this CLI: emit rewrites one that differs from its bundle, and --check
|
|
6218
6228
|
reports it as drift. A copy under an earlier name (amend, emitting-evidence,
|
|
6219
6229
|
reporting-findings, outerlayer) is deleted, and --check reports it as retired.
|
|
6220
6230
|
Templates (spec, writing-specs, writing-tests, build) are never rewritten or reported.
|