@outerlayer/cli 0.38.0-next.20261110133110 → 0.38.0-next.20261111004457
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-setup-OU7CGYSN.js +40 -0
- package/dist/{agent-subcommand-5PNHUNZZ.js → agent-subcommand-GG4PSHYT.js} +4 -4
- package/dist/{artifact-link-cmd-XOFZP7U5.js → artifact-link-cmd-L4BXSQQP.js} +2 -2
- package/dist/{bridge-RNM7OWRW.js → bridge-MVW5RNQD.js} +7 -7
- package/dist/{build-VKO7IVOQ.js → build-D4Y3LBPO.js} +13 -13
- package/dist/{build-disk-M2JYJF6R.js → build-disk-VDMWH3C3.js} +11 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-HMHJ6U7C.js → builder-6L5ZMXBE.js} +10 -10
- package/dist/caller-FFSXVMLB.js +23 -0
- package/dist/{check-3XHEVEXS.js → check-U5DOQU64.js} +55 -55
- package/dist/{chunk-SBPMDO47.js → chunk-2HLMGVK6.js} +1 -1
- package/dist/{chunk-TW2V2IQ4.js → chunk-2KUFDLLY.js} +1 -1
- package/dist/{chunk-XCTE5S2C.js → chunk-2PYQ6BZJ.js} +1 -1
- package/dist/{chunk-HMDEF3UT.js → chunk-2ZPXDOCU.js} +16 -16
- package/dist/{chunk-ALCZ2SEW.js → chunk-3AHABZMA.js} +5 -5
- package/dist/{chunk-5QFFQCSY.js → chunk-3IL6H7A4.js} +1 -1
- package/dist/{chunk-5QDHJT73.js → chunk-4JKCTCCC.js} +6 -5
- package/dist/{chunk-NE7EG3SN.js → chunk-4S6ML2YX.js} +4 -4
- package/dist/{chunk-ATQHPT3B.js → chunk-5TODASD5.js} +1 -1
- package/dist/{chunk-C574RHGN.js → chunk-5U4IKVF5.js} +3 -3
- package/dist/{chunk-AC6DM3S3.js → chunk-6Z5AC4ZK.js} +1 -1
- package/dist/{chunk-IGO766M6.js → chunk-7GYY7RHR.js} +4 -4
- package/dist/{chunk-OI4ZV7MJ.js → chunk-7ILAGC3U.js} +1 -1
- package/dist/{chunk-YOAJLD2D.js → chunk-7NRULS6C.js} +7 -7
- package/dist/{chunk-VU5PPWIQ.js → chunk-A6CCWLUP.js} +7 -7
- package/dist/{chunk-YZQYTOCR.js → chunk-BYWVHMBR.js} +1 -1
- package/dist/{chunk-QNHBJU74.js → chunk-BZSGU2WC.js} +9 -9
- package/dist/{chunk-UCUBQWJC.js → chunk-CKA4JQKR.js} +1 -1
- package/dist/{chunk-ITOIM3WV.js → chunk-CSFMIUYS.js} +1 -1
- package/dist/{chunk-QGUCHNSQ.js → chunk-D7OVS2LL.js} +3 -3
- package/dist/{chunk-PA6FKP5B.js → chunk-DDEJP7YT.js} +6 -6
- package/dist/{chunk-72LXVD4O.js → chunk-DNCF3XOC.js} +4 -4
- package/dist/{chunk-MBPBYMHU.js → chunk-E5G6K7C4.js} +1 -1
- package/dist/{chunk-L32O52SH.js → chunk-EKV7QATX.js} +1 -1
- package/dist/{chunk-F2ADK2KB.js → chunk-EN3OWMED.js} +5 -5
- package/dist/{chunk-VNHDMOZW.js → chunk-F5ONFHHU.js} +52 -31
- package/dist/{chunk-MT4XF5OL.js → chunk-G2CRPYFO.js} +2 -2
- package/dist/{chunk-3HJK7WTM.js → chunk-GELUV567.js} +137 -14
- package/dist/{chunk-TUSIYONR.js → chunk-HWXBOHEA.js} +1 -1
- package/dist/{chunk-2TXYQANG.js → chunk-IWJFARST.js} +1 -1
- package/dist/{chunk-DKDBMMX7.js → chunk-IZHI643L.js} +6 -6
- package/dist/{chunk-I2N427GS.js → chunk-J3KW7GPE.js} +8 -8
- package/dist/{chunk-47JRSV6Y.js → chunk-J4DTF5MN.js} +1 -1
- package/dist/{chunk-QFQ2UNZU.js → chunk-JASHMKDN.js} +6 -6
- package/dist/{chunk-25G5KXBE.js → chunk-JDXYBQBZ.js} +7 -7
- package/dist/{chunk-I64CTY4U.js → chunk-JNEK36QK.js} +113 -63
- package/dist/{chunk-E27XMQKR.js → chunk-JP5D37RZ.js} +3 -3
- package/dist/{chunk-EHPKACA7.js → chunk-JPO6RJEW.js} +1 -1
- package/dist/{chunk-IVB6A3I7.js → chunk-JRM35NTG.js} +7 -7
- package/dist/{chunk-735C5J6Q.js → chunk-LNTNFSRI.js} +5 -5
- package/dist/{chunk-L6CZTRNW.js → chunk-MRSN67FY.js} +1 -1
- package/dist/{chunk-RBLXGO5K.js → chunk-MV5WJEIB.js} +2 -2
- package/dist/{chunk-WH2QUYXH.js → chunk-MX5XVAOI.js} +2 -2
- package/dist/{chunk-OK4RSIB2.js → chunk-N3KGXHV4.js} +1 -1
- package/dist/{chunk-7E55P2NR.js → chunk-NAKFPE2V.js} +1 -1
- package/dist/{chunk-2KGYMIVS.js → chunk-NBJPY3OC.js} +14 -14
- package/dist/{chunk-XAR2CJFV.js → chunk-NCPZP6PQ.js} +7 -7
- package/dist/{chunk-FXVHF6RX.js → chunk-NEXKR5RR.js} +64 -13
- package/dist/{chunk-VRWZNI6U.js → chunk-NIQXLC6A.js} +1 -1
- package/dist/{chunk-3DY4DQOC.js → chunk-ONZNFKCH.js} +4 -4
- package/dist/{chunk-BTH6HTE5.js → chunk-OUKSF3LK.js} +5 -5
- package/dist/{chunk-6RQP5GP5.js → chunk-OVJSVC5U.js} +2 -2
- package/dist/{chunk-ENHD5PNW.js → chunk-OWBNADRQ.js} +1 -1
- package/dist/{chunk-MSARYPFD.js → chunk-OZDUVL5L.js} +2 -2
- package/dist/{chunk-FGBBGUM4.js → chunk-P5XX7VZ6.js} +4 -4
- package/dist/{chunk-YO2NPS66.js → chunk-PG33WPRF.js} +1 -1
- package/dist/{chunk-OEWSICWM.js → chunk-QB5MU2WS.js} +8 -8
- package/dist/{chunk-B5Z4VA4Q.js → chunk-QHYCF36K.js} +1 -1
- package/dist/{chunk-2WNJ2MHD.js → chunk-R6UNNKV3.js} +1 -1
- package/dist/{chunk-TD6DN5LU.js → chunk-RI37FFPL.js} +3 -3
- package/dist/{chunk-GJMLLXZJ.js → chunk-RWXLTF3K.js} +1 -1
- package/dist/{chunk-XFU37HIM.js → chunk-U43K2JS5.js} +3 -3
- package/dist/{chunk-6XROZIV6.js → chunk-UF3X5ECJ.js} +6 -6
- package/dist/{chunk-VQQF6MDT.js → chunk-W5OAKC2W.js} +10 -10
- package/dist/{chunk-BCQFMAGM.js → chunk-WPGGRTF4.js} +3 -3
- package/dist/{chunk-67BVM7JK.js → chunk-WVJDXOIG.js} +3 -3
- package/dist/{chunk-CXXQQST7.js → chunk-WWGXWKLT.js} +9 -9
- package/dist/{chunk-UUSSRXUJ.js → chunk-X7BVDOS2.js} +3 -3
- package/dist/{chunk-OWEJP5HJ.js → chunk-YB3M2TM3.js} +1 -1
- package/dist/{chunk-HDEYRLWK.js → chunk-YE3KPAT5.js} +1 -1
- package/dist/{chunk-3GTAPQBG.js → chunk-YWQ3S3F5.js} +2 -2
- package/dist/{chunk-B4U5XI4F.js → chunk-ZNQRFRBW.js} +8 -8
- package/dist/{claude-launcher-WMIUTAXY.js → claude-launcher-GNRTFQMI.js} +7 -7
- package/dist/{cli-VQNE6M77.js → cli-SNHD2D6X.js} +170 -160
- package/dist/{command-XQPL75PX.js → command-NTKAT7KB.js} +50 -50
- package/dist/{config-ZRGYLVDX.js → config-LUIWZESD.js} +12 -12
- package/dist/{connect-cmd-MZXTWM4R.js → connect-cmd-4M4DN6GO.js} +13 -13
- package/dist/{container-start-M7SFF62T.js → container-start-BVEDUA7N.js} +48 -48
- package/dist/{context-cleanup-Z3HZZZXW.js → context-cleanup-JPPSK7DE.js} +4 -4
- package/dist/{context-show-cmd-SCOVPVDM.js → context-show-cmd-DAMQJOAL.js} +14 -14
- package/dist/{control-plane-launch-MWZHJ4G5.js → control-plane-launch-SD45JYKF.js} +14 -14
- package/dist/{demo-record-cmd-4RVSWVMK.js → demo-record-cmd-CFOXCR42.js} +8 -8
- package/dist/{demo-voice-cmd-PGM5JPCQ.js → demo-voice-cmd-4YZJPUIP.js} +20 -20
- package/dist/{dist-XEPPXF4M.js → dist-5VKIP767.js} +2 -2
- package/dist/{docker-25F2KOBJ.js → docker-2DLKQOK3.js} +10 -10
- package/dist/{doctor-Z3U3ICVR.js → doctor-VFCDAKM4.js} +50 -50
- package/dist/{emit-artifact-cmd-Z4SHPKFT.js → emit-artifact-cmd-IWZDXJBY.js} +19 -19
- package/dist/{emit-cmd-NHMZ4M5S.js → emit-cmd-AIAY4WTW.js} +7 -7
- package/dist/{emit-criteria-cmd-HCN3DOJM.js → emit-criteria-cmd-UVCLLYEZ.js} +16 -16
- package/dist/{emit-demo-cmd-NOSQTOES.js → emit-demo-cmd-BHKNT36Y.js} +20 -20
- package/dist/{emit-finding-cmd-YXR3ZVCJ.js → emit-finding-cmd-Y3XX26B4.js} +16 -16
- package/dist/{emit-result-cmd-Z7MBE37R.js → emit-result-cmd-TTQ3MLY4.js} +18 -18
- package/dist/{emit-step-cmd-JOSYDSEO.js → emit-step-cmd-EASDIM5Q.js} +16 -16
- package/dist/{exec-client-SZRXXKJ5.js → exec-client-MEIRWXLR.js} +8 -8
- package/dist/find-unit-2RZ4NCXQ.js +24 -0
- package/dist/{findings-cmd-NGFY25WZ.js → findings-cmd-KQOL6NJG.js} +16 -16
- package/dist/{fleet-readiness-NWIVQQ4P.js → fleet-readiness-R2BMWLXQ.js} +14 -14
- package/dist/governing-source-ARSS7R7L.js +41 -0
- package/dist/{guest-init-T7QJW2AJ.js → guest-init-UGBFOWNC.js} +9 -9
- package/dist/{hook-fast-ECQBMESE.js → hook-fast-DC556GE2.js} +1 -1
- package/dist/{hook-install-MBMG3G6B.js → hook-install-QQXREIMI.js} +4 -4
- package/dist/host-checks-UTZBDSWV.js +80 -0
- package/dist/host-key-CTRFLP2W.js +18 -0
- package/dist/{image-tag-OCVY4W5D.js → image-tag-RU4RHPIT.js} +8 -8
- package/dist/index.js +4 -4
- package/dist/init-I5HVGOQC.js +80 -0
- package/dist/{init-NRN2DQC3.js → init-QFTRSBBT.js} +46 -46
- package/dist/{init-agent-GDOZHPQH.js → init-agent-TKQ67BS4.js} +46 -46
- package/dist/{init-cmd-QJYX47LS.js → init-cmd-I36LJ6YC.js} +27 -27
- package/dist/{init-update-EUJ4264S.js → init-update-KG7V3VJF.js} +24 -24
- package/dist/{install-cmd-HWG6LJX5.js → install-cmd-66Z7TY52.js} +10 -10
- package/dist/{layout-CGE4KWGO.js → layout-CE6QLPNH.js} +4 -4
- package/dist/{login-browser-G7WNR74C.js → login-browser-COSWHZEC.js} +2 -2
- package/dist/{logs-TKWJ4S4W.js → logs-XWMVEAUP.js} +7 -7
- package/dist/loop-YCOSJRLW.js +90 -0
- package/dist/machine-BJEAYCHT.js +80 -0
- package/dist/{machine-skills-CXA57QHE.js → machine-skills-YJLPUAYZ.js} +4 -4
- package/dist/{mcp-install-cmd-6IGK65DV.js → mcp-install-cmd-VSWX5BSZ.js} +4 -4
- package/dist/{mcp-serve-cmd-DVE5XP2U.js → mcp-serve-cmd-M7CX4RO3.js} +9 -9
- package/dist/{paths-VOWYUJLZ.js → paths-GQ66KHNT.js} +7 -7
- package/dist/pending-COVCIH4Q.js +18 -0
- package/dist/{pidfile-MFP6B2KV.js → pidfile-RBG6FQ7K.js} +8 -8
- package/dist/{record-AWCJ3LTG.js → record-6IAZ26H3.js} +8 -8
- package/dist/{relay-YVZM5M6B.js → relay-VEBGGPYV.js} +5 -5
- package/dist/{relay-protocol-MNWITORT.js → relay-protocol-2AJCUAMJ.js} +5 -5
- package/dist/{run-cmd-MBH5Z2UL.js → run-cmd-EJPHCENL.js} +16 -16
- package/dist/{runner-agents-L3PLYFWJ.js → runner-agents-P562WZJB.js} +4 -4
- package/dist/runner-env-XPZ3FPQL.js +24 -0
- package/dist/{runner-identity-E2XKIJNB.js → runner-identity-TAJAY5M5.js} +10 -10
- package/dist/{runner-key-W5M6AYY5.js → runner-key-I3M7GEJE.js} +46 -46
- package/dist/{session-sender-IS6S7PBC.js → session-sender-OIOE4QR2.js} +19 -19
- package/dist/{spec-cmd-ZLDYL4N5.js → spec-cmd-2J43XP3L.js} +17 -17
- package/dist/{starter-pack-XINCCMDN.js → starter-pack-IT2KYFWU.js} +5 -5
- package/dist/state-NAZKB77R.js +18 -0
- package/dist/{status-L7R6FKWD.js → status-BFRDAZQP.js} +46 -46
- package/dist/{sync-cmd-3YZ4IB3T.js → sync-cmd-KWTFVQCR.js} +18 -18
- package/dist/update-steps-LINCNPGV.js +81 -0
- package/dist/{watch-LIIODJ5U.js → watch-3IBFF2SQ.js} +18 -18
- package/dist/{work-claim-cmd-GWBWIZ43.js → work-claim-cmd-C2WFSOKE.js} +22 -22
- package/dist/{work-cmd-CJWTGOU5.js → work-cmd-DO2QNBKA.js} +16 -16
- package/dist/{work-comment-cmd-RFVCNEET.js → work-comment-cmd-P5VJHCX7.js} +18 -18
- package/dist/{work-demo-cmd-Q2GKJCVL.js → work-demo-cmd-UJBZLOMQ.js} +16 -16
- package/dist/{work-logs-cmd-KZQBPU2J.js → work-logs-cmd-OVE5JUMH.js} +16 -16
- package/dist/{work-needs-attention-cmd-L3DOYAMK.js → work-needs-attention-cmd-QNCOUXMT.js} +16 -16
- package/dist/{work-no-change-cmd-SHP25CJB.js → work-no-change-cmd-KQSONMJX.js} +16 -16
- package/dist/{work-open-pr-cmd-VATPLVSL.js → work-open-pr-cmd-HBE74CZU.js} +17 -17
- package/dist/{work-pr-cmd-XBLNONT3.js → work-pr-cmd-62BGKUJM.js} +16 -16
- package/dist/work-proofs-cmd-SLUFPOEN.js +37 -0
- package/dist/{work-proofs-record-2RDDJ6CK.js → work-proofs-record-6KGPMUHD.js} +117 -37
- package/dist/{work-stop-cmd-BLOSL24H.js → work-stop-cmd-7WEHA365.js} +16 -16
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-build/SKILL.md +13 -4
- package/skill-pack/maintained/outerlayer-build/references/agent-briefs.md +10 -8
- package/skill-pack/maintained/outerlayer-build/references/evidence.md +33 -23
- package/skill-pack/maintained/outerlayer-build/references/release.md +2 -2
- package/skill-pack/maintained/outerlayer-findings/SKILL.md +46 -41
- package/skill-pack/maintained/outerlayer-findings/references/examples.md +23 -0
- package/dist/agent-setup-GZBGCV3K.js +0 -40
- package/dist/caller-U26SATTV.js +0 -23
- package/dist/find-unit-3RHC4375.js +0 -24
- package/dist/governing-source-DNWVPRXP.js +0 -41
- package/dist/host-checks-QLGWXKOC.js +0 -80
- package/dist/host-key-6SMJUTJ2.js +0 -18
- package/dist/init-JY3XYZI6.js +0 -80
- package/dist/loop-HWYHQ374.js +0 -90
- package/dist/machine-NVXRV4BO.js +0 -80
- package/dist/pending-35ML3JE5.js +0 -18
- package/dist/runner-env-IHWYZ3B6.js +0 -24
- package/dist/state-NIA6XT7D.js +0 -18
- package/dist/update-steps-6SPAPBAB.js +0 -81
- package/dist/work-proofs-cmd-27IPS3EY.js +0 -37
|
@@ -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-2ZPXDOCU.js';
|
|
4
|
+
import './chunk-OUKSF3LK.js';
|
|
5
|
+
import { verifiedTrackerNames, TRACKERS } from './chunk-ZNQRFRBW.js';
|
|
6
|
+
import './chunk-2HLMGVK6.js';
|
|
7
|
+
import './chunk-U43K2JS5.js';
|
|
8
|
+
import './chunk-DDEJP7YT.js';
|
|
9
|
+
import './chunk-J4DTF5MN.js';
|
|
10
|
+
import './chunk-HWXBOHEA.js';
|
|
11
|
+
import './chunk-OVJSVC5U.js';
|
|
12
|
+
import './chunk-JASHMKDN.js';
|
|
13
|
+
import './chunk-QHYCF36K.js';
|
|
14
|
+
import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-PG33WPRF.js';
|
|
15
|
+
import './chunk-N3KGXHV4.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-2KUFDLLY.js';
|
|
19
|
+
import './chunk-NIQXLC6A.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-OWBNADRQ.js';
|
|
22
|
+
import './chunk-6Z5AC4ZK.js';
|
|
23
|
+
import './chunk-4S6ML2YX.js';
|
|
24
|
+
import './chunk-MX5XVAOI.js';
|
|
25
|
+
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-D7OVS2LL.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-NAKFPE2V.js';
|
|
32
32
|
import './chunk-I45HTSSA.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-RWXLTF3K.js';
|
|
36
36
|
import { cliForInstall, SettingsParseError, PORTABLE_BIN, writeSettingsText, cliBinResolvable } from './chunk-ZHQC43NH.js';
|
|
37
|
-
import './chunk-
|
|
37
|
+
import './chunk-CSFMIUYS.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-CKA4JQKR.js';
|
|
41
|
+
import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-G2CRPYFO.js';
|
|
42
42
|
import './chunk-PLVHIQJN.js';
|
|
43
43
|
import './chunk-7PZDPISM.js';
|
|
44
44
|
import './chunk-ATEMEVFF.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-E5G6K7C4.js';
|
|
48
|
+
import './chunk-NEXKR5RR.js';
|
|
49
49
|
import './chunk-Z5GEFMRW.js';
|
|
50
50
|
import { EventEmitter } from 'events';
|
|
51
51
|
import childProcess, { execFileSync } from 'child_process';
|
|
@@ -3659,14 +3659,14 @@ function apiKeyOption() {
|
|
|
3659
3659
|
return new Option("--api-key <key>", `deprecated: use \`${cliInvocation()} login\` or OUTERLAYER_API_KEY`).hideHelp();
|
|
3660
3660
|
}
|
|
3661
3661
|
async function installStarterPackInRepo() {
|
|
3662
|
-
const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-
|
|
3662
|
+
const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-IT2KYFWU.js');
|
|
3663
3663
|
const cwd = process.cwd();
|
|
3664
3664
|
let repoRoot = cwd;
|
|
3665
3665
|
try {
|
|
3666
3666
|
repoRoot = execFileSync("git", ["rev-parse", "--show-toplevel"], { cwd, encoding: "utf8", stdio: ["ignore", "pipe", "ignore"] }).trim() || cwd;
|
|
3667
3667
|
} catch {
|
|
3668
3668
|
}
|
|
3669
|
-
const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-
|
|
3669
|
+
const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-CE6QLPNH.js');
|
|
3670
3670
|
const fresh = !isAgentsMdLayout(repoRoot) && !existsSync(join(repoRoot, ".outerlayer/skills")) && !existsSync(join(repoRoot, ".outerlayer/AGENTS.md"));
|
|
3671
3671
|
const result = installStarterPack({ repoRoot, base: fresh ? ".agents/skills" : skillsBaseFor(repoRoot) });
|
|
3672
3672
|
if (fresh) declareAgentsMdLayout(repoRoot);
|
|
@@ -3809,7 +3809,7 @@ ${starter.output}`),
|
|
|
3809
3809
|
}
|
|
3810
3810
|
}
|
|
3811
3811
|
async function installMachineSkillsForSetup() {
|
|
3812
|
-
const { setupMachineSkills } = await import('./machine-skills-
|
|
3812
|
+
const { setupMachineSkills } = await import('./machine-skills-YJLPUAYZ.js');
|
|
3813
3813
|
const result = setupMachineSkills(homeFromEnv());
|
|
3814
3814
|
for (const failure of result.failures) process.stderr.write(`${C.yellow}!${C.reset} Could not write a maintained skill: ${failure}
|
|
3815
3815
|
`);
|
|
@@ -3817,8 +3817,8 @@ async function installMachineSkillsForSetup() {
|
|
|
3817
3817
|
` : "";
|
|
3818
3818
|
}
|
|
3819
3819
|
async function realConnectDepsForCwd() {
|
|
3820
|
-
const { realConnectDeps } = await import('./connect-cmd-
|
|
3821
|
-
const { resolveRepoIdentity } = await import('./dist-
|
|
3820
|
+
const { realConnectDeps } = await import('./connect-cmd-4M4DN6GO.js');
|
|
3821
|
+
const { resolveRepoIdentity } = await import('./dist-5VKIP767.js');
|
|
3822
3822
|
return {
|
|
3823
3823
|
...realConnectDeps(),
|
|
3824
3824
|
home: homeFromEnv(),
|
|
@@ -3835,7 +3835,7 @@ function buildProgram(argv = process.argv) {
|
|
|
3835
3835
|
const program2 = new Command();
|
|
3836
3836
|
program2.name(cliInvocation()).description("OuterLayer \u2014 see what your coding agents actually do").enablePositionalOptions().version(resolveVersion()).hook("preAction", async (_root, command) => {
|
|
3837
3837
|
if (command.opts().apiKey !== void 0) warnDeprecated(API_KEY_FLAG_DEPRECATION);
|
|
3838
|
-
const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-
|
|
3838
|
+
const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-YJLPUAYZ.js');
|
|
3839
3839
|
const names = [];
|
|
3840
3840
|
for (let at = command; at?.parent; at = at.parent) names.push(at.name());
|
|
3841
3841
|
if (!machineRefreshSkipped(names, command._hidden === true, argv)) refreshMachineSkills(homeFromEnv());
|
|
@@ -3892,8 +3892,8 @@ build, ../outerlayer-build/SKILL.md becomes ~/.agents/skills/outerlayer-build/SK
|
|
|
3892
3892
|
what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocation() + " doctor` reports the same\nstates under Starter files.\n"
|
|
3893
3893
|
).action(async (opts) => {
|
|
3894
3894
|
if (opts.update || opts.dryRun) {
|
|
3895
|
-
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-
|
|
3896
|
-
const { fleetReadiness } = await import('./fleet-readiness-
|
|
3895
|
+
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-KG7V3VJF.js');
|
|
3896
|
+
const { fleetReadiness } = await import('./fleet-readiness-R2BMWLXQ.js');
|
|
3897
3897
|
const problem = updateFlagProblem(opts);
|
|
3898
3898
|
if (problem !== void 0) {
|
|
3899
3899
|
fail(problem);
|
|
@@ -3910,7 +3910,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3910
3910
|
}
|
|
3911
3911
|
let starterTemplate;
|
|
3912
3912
|
if (opts.template !== void 0) {
|
|
3913
|
-
const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-
|
|
3913
|
+
const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-IT2KYFWU.js');
|
|
3914
3914
|
try {
|
|
3915
3915
|
assertKnownTemplate(opts.template);
|
|
3916
3916
|
} catch (err) {
|
|
@@ -3944,13 +3944,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3944
3944
|
if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
|
|
3945
3945
|
`);
|
|
3946
3946
|
}
|
|
3947
|
-
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-
|
|
3947
|
+
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-I36LJ6YC.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
|
|
3948
3948
|
if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
|
|
3949
3949
|
else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
|
|
3950
3950
|
return;
|
|
3951
3951
|
}
|
|
3952
3952
|
await installMachineSkillsForSetup();
|
|
3953
|
-
const { runInitCommand } = await import('./init-cmd-
|
|
3953
|
+
const { runInitCommand } = await import('./init-cmd-I36LJ6YC.js');
|
|
3954
3954
|
const code = await runInitCommand(
|
|
3955
3955
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3956
3956
|
{
|
|
@@ -3962,7 +3962,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3962
3962
|
return { ok, text, detail };
|
|
3963
3963
|
},
|
|
3964
3964
|
runAgentSetup: async () => {
|
|
3965
|
-
const { runAgentSetup } = await import('./agent-setup-
|
|
3965
|
+
const { runAgentSetup } = await import('./agent-setup-OU7CGYSN.js');
|
|
3966
3966
|
return runAgentSetup({ cwd: process.cwd(), skillsLink: opts.skillsLink !== false });
|
|
3967
3967
|
},
|
|
3968
3968
|
runDoctorChecks: gatherDoctorChecks,
|
|
@@ -3971,7 +3971,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3971
3971
|
shellPath: process.env.SHELL,
|
|
3972
3972
|
interactive: Boolean(process.stdin.isTTY && process.stderr.isTTY) && opts.json !== true,
|
|
3973
3973
|
ask: async () => {
|
|
3974
|
-
const { promptOnTerminal } = await import('./connect-cmd-
|
|
3974
|
+
const { promptOnTerminal } = await import('./connect-cmd-4M4DN6GO.js');
|
|
3975
3975
|
const answer = await promptOnTerminal({
|
|
3976
3976
|
message: `Should plain claude start Claude Code through ${cliInvocation()} claude? That is how a session in a governed repository gets its control plane. It adds one block to your zsh or bash startup file.`,
|
|
3977
3977
|
options: [
|
|
@@ -4010,7 +4010,7 @@ linked (true, false, or null when it could not be checked) and, when false,
|
|
|
4010
4010
|
linkUrl.
|
|
4011
4011
|
`
|
|
4012
4012
|
).action(async (opts) => {
|
|
4013
|
-
const { runConnectCommand } = await import('./connect-cmd-
|
|
4013
|
+
const { runConnectCommand } = await import('./connect-cmd-4M4DN6GO.js');
|
|
4014
4014
|
const code = await runConnectCommand({ factory: opts.factory, json: opts.json }, await realConnectDepsForCwd(), {
|
|
4015
4015
|
stdout: process.stdout,
|
|
4016
4016
|
stderr: process.stderr
|
|
@@ -4053,7 +4053,7 @@ Every later command reads the saved file, so none of them needs a key on
|
|
|
4053
4053
|
its command line. A saved key is checked for real on the first \`sync\`.
|
|
4054
4054
|
`
|
|
4055
4055
|
).action(async (opts) => {
|
|
4056
|
-
const { runLoginCommand, realLoginDeps } = await import('./login-browser-
|
|
4056
|
+
const { runLoginCommand, realLoginDeps } = await import('./login-browser-COSWHZEC.js');
|
|
4057
4057
|
const code = await runLoginCommand(
|
|
4058
4058
|
{
|
|
4059
4059
|
browser: opts.browser !== false,
|
|
@@ -4086,13 +4086,13 @@ code is 1: revoke the token on /profile/security.
|
|
|
4086
4086
|
"\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"
|
|
4087
4087
|
).action(async (opts) => {
|
|
4088
4088
|
if (opts.link !== void 0) {
|
|
4089
|
-
const { lookupArtifactLink } = await import('./artifact-link-cmd-
|
|
4089
|
+
const { lookupArtifactLink } = await import('./artifact-link-cmd-L4BXSQQP.js');
|
|
4090
4090
|
const found = lookupArtifactLink(opts.link);
|
|
4091
4091
|
if (found.ok) process.stdout.write(found.url + "\n");
|
|
4092
4092
|
else fail(found.reason);
|
|
4093
4093
|
return;
|
|
4094
4094
|
}
|
|
4095
|
-
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-
|
|
4095
|
+
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-KWTFVQCR.js');
|
|
4096
4096
|
try {
|
|
4097
4097
|
const result = await runSync({
|
|
4098
4098
|
url: opts.url,
|
|
@@ -4121,7 +4121,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4121
4121
|
if (invokedCommandToken(argv) === "watch") {
|
|
4122
4122
|
warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
|
|
4123
4123
|
}
|
|
4124
|
-
const { runWatch } = await import('./watch-
|
|
4124
|
+
const { runWatch } = await import('./watch-3IBFF2SQ.js');
|
|
4125
4125
|
await runWatch({ once: opts.once });
|
|
4126
4126
|
});
|
|
4127
4127
|
program2.command("hook <event>", { hidden: true }).description("capture-hook fast path, installed by `init`").option("--agent <id>", "the agent that sent the event; with none, Claude Code").action(() => {
|
|
@@ -4136,8 +4136,8 @@ code is 1: revoke the token on /profile/security.
|
|
|
4136
4136
|
});
|
|
4137
4137
|
}
|
|
4138
4138
|
const brokerRelay = program2.command("broker-relay", { hidden: true }).description("relay a build's loopback connections to the runner's tunnel and destinations").enablePositionalOptions().option("--port <port>", "the loopback port to listen on").option("--socket <path>", "the runner's tunnel socket").option("--join <path>", "the socket the runner's joining process connects to").option("--lease-watchdog", "exit when the runner's lease expiry passes; needs --join").option("--join-ws <port>", "also take the runner's session over a WebSocket on this port").option("--join-secret-file <path>", "the secret a WebSocket join sends first; needs --join-ws").option("--forward <port=target>", "also relay a loopback port to a destination; repeatable", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
4139
|
-
const { startRelay, startSessionRelay } = await import('./relay-
|
|
4140
|
-
const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-
|
|
4139
|
+
const { startRelay, startSessionRelay } = await import('./relay-VEBGGPYV.js');
|
|
4140
|
+
const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-2AJCUAMJ.js');
|
|
4141
4141
|
const port = Number(opts.port);
|
|
4142
4142
|
if (!Number.isInteger(port) || port < 1 || port > 65535) {
|
|
4143
4143
|
fail(opts.port === void 0 ? "--port is required" : `--port must be a port number, not ${opts.port}`);
|
|
@@ -4175,7 +4175,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4175
4175
|
await startRelay({ port, socketPath: opts.socket, forwards: forwards.map((forward) => ({ port: forward.port, socketPath: forward.spec })) });
|
|
4176
4176
|
});
|
|
4177
4177
|
brokerRelay.command("join").description("carry the runner's session to the relay over standard input and output").option("--socket <path>", "the relay's joining socket", "/run/outerlayer-relay/join.sock").action(async (opts) => {
|
|
4178
|
-
const { joinRelay } = await import('./relay-
|
|
4178
|
+
const { joinRelay } = await import('./relay-VEBGGPYV.js');
|
|
4179
4179
|
try {
|
|
4180
4180
|
await joinRelay({ socketPath: opts.socket, input: process.stdin, output: process.stdout });
|
|
4181
4181
|
} catch (err) {
|
|
@@ -4191,7 +4191,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4191
4191
|
}
|
|
4192
4192
|
});
|
|
4193
4193
|
program2.command("vm-exec", { hidden: true }).description("run a command in a microVM build's guest through its exec agent").requiredOption("--socket <path>", "the Unix socket Firecracker serves the build's vsock device on").option("--user <user>", "the user to run as", "").option("--cwd <dir>", "the working directory", "/").option("--env <NAME=value>", "an environment value the command line carries; repeatable", (value, previous) => [...previous, value], []).option("--pass <NAME>", "an environment variable whose value is read from this process; repeatable", (value, previous) => [...previous, value], []).argument("<argv...>", "the command and its arguments").action(async (argv2, opts) => {
|
|
4194
|
-
const { runVmExec } = await import('./exec-client-
|
|
4194
|
+
const { runVmExec } = await import('./exec-client-MEIRWXLR.js');
|
|
4195
4195
|
const env = {};
|
|
4196
4196
|
for (const entry of opts.env) {
|
|
4197
4197
|
const eq = entry.indexOf("=");
|
|
@@ -4220,7 +4220,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4220
4220
|
process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
|
|
4221
4221
|
});
|
|
4222
4222
|
program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
|
|
4223
|
-
const { runSessionSender } = await import('./session-sender-
|
|
4223
|
+
const { runSessionSender } = await import('./session-sender-OIOE4QR2.js');
|
|
4224
4224
|
try {
|
|
4225
4225
|
await runSessionSender();
|
|
4226
4226
|
} catch (err) {
|
|
@@ -4228,7 +4228,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4228
4228
|
}
|
|
4229
4229
|
});
|
|
4230
4230
|
program2.command("vm-init", { hidden: true }).description("lay out a microVM build's guest; the guest helper runs it").action(async () => {
|
|
4231
|
-
const { realGuestHost, runGuestInit } = await import('./guest-init-
|
|
4231
|
+
const { realGuestHost, runGuestInit } = await import('./guest-init-UGBFOWNC.js');
|
|
4232
4232
|
const { readFileSync: readFileSync3 } = await import('fs');
|
|
4233
4233
|
try {
|
|
4234
4234
|
runGuestInit(realGuestHost(), readFileSync3("/proc/cmdline", "utf8"));
|
|
@@ -4237,7 +4237,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4237
4237
|
}
|
|
4238
4238
|
});
|
|
4239
4239
|
program2.command("vm-forward", { hidden: true }).description("pipe a guest port to another; vm-init runs it").requiredOption("--listen <host:port>", "the address to listen on").requiredOption("--to <host:port>", "the address to pipe each connection to").action(async (opts) => {
|
|
4240
|
-
const { startBridgeForward } = await import('./bridge-
|
|
4240
|
+
const { startBridgeForward } = await import('./bridge-MVW5RNQD.js');
|
|
4241
4241
|
try {
|
|
4242
4242
|
await startBridgeForward(opts);
|
|
4243
4243
|
} catch (err) {
|
|
@@ -4263,7 +4263,7 @@ async function runCli(processArgv) {
|
|
|
4263
4263
|
await buildProgram(argv).parseAsync(argv);
|
|
4264
4264
|
}
|
|
4265
4265
|
async function compileContext(opts) {
|
|
4266
|
-
const { runEmit, EmitError } = await import('./emit-cmd-
|
|
4266
|
+
const { runEmit, EmitError } = await import('./emit-cmd-AIAY4WTW.js');
|
|
4267
4267
|
try {
|
|
4268
4268
|
const result = runEmit({ cwd: opts.dir, check: opts.check, json: opts.json });
|
|
4269
4269
|
if (result.exitCode !== 0) process.exitCode = result.exitCode;
|
|
@@ -4316,7 +4316,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
|
|
|
4316
4316
|
await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
|
|
4317
4317
|
return;
|
|
4318
4318
|
}
|
|
4319
|
-
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-
|
|
4319
|
+
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-TTQ3MLY4.js');
|
|
4320
4320
|
try {
|
|
4321
4321
|
const result = await runEmitResult({
|
|
4322
4322
|
name,
|
|
@@ -4368,7 +4368,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
|
|
|
4368
4368
|
locally so it never uploads. One correction can retire several duplicates.
|
|
4369
4369
|
`
|
|
4370
4370
|
).action(async (file, opts) => {
|
|
4371
|
-
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-
|
|
4371
|
+
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-IWZDXJBY.js');
|
|
4372
4372
|
let pr;
|
|
4373
4373
|
if (opts.pr !== void 0) {
|
|
4374
4374
|
pr = parseTrackerNumber(opts.pr);
|
|
@@ -4424,7 +4424,7 @@ its criterion, and the new record retires the old record. The id must be the ite
|
|
|
4424
4424
|
as \`work demo --item <n> --json\` prints it.
|
|
4425
4425
|
`
|
|
4426
4426
|
).action(async (manifest, opts) => {
|
|
4427
|
-
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-
|
|
4427
|
+
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-BHKNT36Y.js');
|
|
4428
4428
|
let item;
|
|
4429
4429
|
if (opts.item !== void 0) {
|
|
4430
4430
|
item = parseTrackerNumber(opts.item);
|
|
@@ -4467,7 +4467,7 @@ as \`work demo --item <n> --json\` prints it.
|
|
|
4467
4467
|
}
|
|
4468
4468
|
});
|
|
4469
4469
|
program2.command("demo-voice", { hidden: true }).description("Speak demo lines for a recorder: JSON lines in on stdin, out on stdout").action(async () => {
|
|
4470
|
-
const { runDemoVoice } = await import('./demo-voice-cmd-
|
|
4470
|
+
const { runDemoVoice } = await import('./demo-voice-cmd-4YZJPUIP.js');
|
|
4471
4471
|
await runDemoVoice();
|
|
4472
4472
|
});
|
|
4473
4473
|
const demoCmd = program2.command("demo").description("Record demos with the recorder this CLI carries");
|
|
@@ -4485,7 +4485,7 @@ and the command prints the manifest's path for \`emit demo\`. Under \`work proof
|
|
|
4485
4485
|
to OUTERLAYER_PROOF_OUT instead. Exit 1 means the demo's test failed; its manifest is written all the same.
|
|
4486
4486
|
`
|
|
4487
4487
|
).action(async (file, opts) => {
|
|
4488
|
-
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-
|
|
4488
|
+
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-CFOXCR42.js');
|
|
4489
4489
|
try {
|
|
4490
4490
|
const result = await runDemoRecord({
|
|
4491
4491
|
file,
|
|
@@ -4505,7 +4505,7 @@ to OUTERLAYER_PROOF_OUT instead. Exit 1 means the demo's test failed; its manife
|
|
|
4505
4505
|
throw err;
|
|
4506
4506
|
}
|
|
4507
4507
|
});
|
|
4508
|
-
emitCmd.command("finding").description("Record one finding: a problem you hit in the factory").requiredOption("--id <id>", "client id \u2014 re-emitting the same id replaces it").option("--category <context|flaky-test|tooling|environment|defect|other>", "what kind of problem this is").requiredOption("--title <text>", "one sentence").requiredOption("--file <path>", "the file the problem is in, or the instruction's own path").option("--line <number>", "line number in --file").option("--rule-path <path>", "the instruction's own path \u2014 required for a context finding").option("--rule-line <number>", "line number in --rule-path").option("--rule-quote <text>", "the instruction's quoted sentence \u2014 required unless --rule-relation is missing").option("--rule-relation <wrong|broken|missing>", "how the instruction fails \u2014 required for a context finding").requiredOption("--where <label>", 'where this was recorded, e.g. "build session"').option("--detail <text>", "what
|
|
4508
|
+
emitCmd.command("finding").description("Record one finding: a problem you hit in the factory").requiredOption("--id <id>", "client id \u2014 re-emitting the same id replaces it").option("--category <context|flaky-test|tooling|environment|defect|other>", "what kind of problem this is").requiredOption("--title <text>", "one sentence").requiredOption("--file <path>", "the file the problem is in, or the instruction's own path").option("--line <number>", "line number in --file").option("--rule-path <path>", "the instruction's own path \u2014 required for a context finding").option("--rule-line <number>", "line number in --rule-path").option("--rule-quote <text>", "the instruction's quoted sentence \u2014 required unless --rule-relation is missing").option("--rule-relation <wrong|broken|missing>", "how the instruction fails \u2014 required for a context finding").requiredOption("--where <label>", 'where this was recorded, e.g. "build session"').option("--detail <text>", "required: what you ran, what you expected, and what you saw").option("--cause <text>", 'required: what is actually wrong, or "unknown"').option("--suggestion <text>", "what would help").option("--command <text>", "the command that misbehaved; required for tooling, environment and flaky-test").option("--error <text>", "the first error line; required for tooling and environment").option("--test <name>", "the test name; required for flaky-test").option("--symbol <name>", "the function the problem is in; required for defect").option("--started-at <event>", "event id where you hit the problem (default: first output showing --error)").option("--ended-at <event>", "event id where you got past it (default: the newest event)").option("--untimed", "record no time, only when the problem cost none in this session").option("--find <text>", "list this session's events that contain the text, and record nothing").option("--problem <id>", "a problem this finding reports; repeat for each one (needs --link-reason)", (value, previous = []) => [...previous, value]).option("--link-reason <text>", "why the finding reports each --problem").option("--new", "record a new problem instead of linking an existing one").option("--trace-id <id>", "the session's trace id, when there is one").option("--turn <number>", "turn index within the session").option("--round <number>", "round number, when there is one").addOption(new Option("--subject <value>").hideHelp()).addOption(new Option("--kind <value>").hideHelp()).addOption(new Option("--severity <value>").hideHelp()).addOption(new Option("--verdict <value>").hideHelp()).addOption(new Option("--fixed").hideHelp()).addOption(new Option("--source <value>").hideHelp()).option("--head-sha <sha>", "the commit this batch was recorded against").option("--context-source-sha <sha>", "the context-source commit this batch was recorded against").option("--item <number>", "work item to record on directly, 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(
|
|
4509
4509
|
"after",
|
|
4510
4510
|
`
|
|
4511
4511
|
${cliInvocation()} emit finding --id gate-skip --category tooling \\
|
|
@@ -4534,7 +4534,7 @@ recent events with their ids. --find <text> searches all of them.
|
|
|
4534
4534
|
item that session was launched for is used automatically.
|
|
4535
4535
|
`
|
|
4536
4536
|
).action(async (opts) => {
|
|
4537
|
-
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4537
|
+
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-Y3XX26B4.js');
|
|
4538
4538
|
try {
|
|
4539
4539
|
refuseRemovedFindingFlags(opts);
|
|
4540
4540
|
const result = await runEmitFinding({
|
|
@@ -4601,7 +4601,7 @@ the whole batch. "untimed": true records one with no time on purpose.
|
|
|
4601
4601
|
that session was launched for is used automatically.
|
|
4602
4602
|
`
|
|
4603
4603
|
).action(async (file, opts) => {
|
|
4604
|
-
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4604
|
+
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-Y3XX26B4.js');
|
|
4605
4605
|
try {
|
|
4606
4606
|
const result = await runEmitFindings({
|
|
4607
4607
|
file,
|
|
@@ -4636,7 +4636,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
|
|
|
4636
4636
|
the step, the command prints why and exits 1.
|
|
4637
4637
|
`
|
|
4638
4638
|
).action(async (name, opts) => {
|
|
4639
|
-
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-
|
|
4639
|
+
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-EASDIM5Q.js');
|
|
4640
4640
|
try {
|
|
4641
4641
|
await runEmitStep({
|
|
4642
4642
|
name,
|
|
@@ -4679,7 +4679,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
|
|
|
4679
4679
|
${cliInvocation()} emit criteria acceptance/412-login.md --item 412
|
|
4680
4680
|
`
|
|
4681
4681
|
).action(async (file, opts) => {
|
|
4682
|
-
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-
|
|
4682
|
+
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-UVCLLYEZ.js');
|
|
4683
4683
|
try {
|
|
4684
4684
|
const result = await runEmitCriteria({
|
|
4685
4685
|
file,
|
|
@@ -4703,9 +4703,9 @@ function registerSpecCommands(program2) {
|
|
|
4703
4703
|
const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
|
|
4704
4704
|
const credentialOptions = (command) => command.option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)");
|
|
4705
4705
|
const run = async (action) => {
|
|
4706
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4706
|
+
const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
|
|
4707
4707
|
try {
|
|
4708
|
-
await action(await import('./spec-cmd-
|
|
4708
|
+
await action(await import('./spec-cmd-2J43XP3L.js'));
|
|
4709
4709
|
} catch (err) {
|
|
4710
4710
|
if (err instanceof WorkCommandError) {
|
|
4711
4711
|
fail(err.message);
|
|
@@ -4740,7 +4740,7 @@ Prints each problem the item covers with its id, its reports and its result.
|
|
|
4740
4740
|
session was launched for is used.
|
|
4741
4741
|
`
|
|
4742
4742
|
).action(async (opts) => {
|
|
4743
|
-
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-
|
|
4743
|
+
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-KQOL6NJG.js');
|
|
4744
4744
|
try {
|
|
4745
4745
|
const result = await runFindingsShow({
|
|
4746
4746
|
item: opts.item,
|
|
@@ -4768,7 +4768,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
|
|
|
4768
4768
|
problem to replace the earlier result. A problem the item does not cover is refused.
|
|
4769
4769
|
`
|
|
4770
4770
|
).action(async (problem, opts) => {
|
|
4771
|
-
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-
|
|
4771
|
+
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-KQOL6NJG.js');
|
|
4772
4772
|
try {
|
|
4773
4773
|
const result = await runFindingsResult({
|
|
4774
4774
|
problem,
|
|
@@ -4802,8 +4802,8 @@ an issue when the daily limit leaves none, and then you stop reporting.
|
|
|
4802
4802
|
Only the agent of a scheduled run, which holds a run key, can run it.
|
|
4803
4803
|
`
|
|
4804
4804
|
).action(async (opts) => {
|
|
4805
|
-
const { runFoundIssue, RunCommandError } = await import('./run-cmd-
|
|
4806
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4805
|
+
const { runFoundIssue, RunCommandError } = await import('./run-cmd-EJPHCENL.js');
|
|
4806
|
+
const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
|
|
4807
4807
|
try {
|
|
4808
4808
|
await runFoundIssue(opts);
|
|
4809
4809
|
} catch (err) {
|
|
@@ -4825,8 +4825,8 @@ Run it instead of found-issue, never after it. Only the agent of a
|
|
|
4825
4825
|
scheduled run, which holds a run key, can run it.
|
|
4826
4826
|
`
|
|
4827
4827
|
).action(async (opts) => {
|
|
4828
|
-
const { runFoundNothing, RunCommandError } = await import('./run-cmd-
|
|
4829
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4828
|
+
const { runFoundNothing, RunCommandError } = await import('./run-cmd-EJPHCENL.js');
|
|
4829
|
+
const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
|
|
4830
4830
|
try {
|
|
4831
4831
|
await runFoundNothing(opts);
|
|
4832
4832
|
} catch (err) {
|
|
@@ -4858,7 +4858,7 @@ takes it, and prints the line that starts your session on it. That
|
|
|
4858
4858
|
session links itself and holds the item's lease while it works.
|
|
4859
4859
|
`
|
|
4860
4860
|
).action(async (opts) => {
|
|
4861
|
-
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-
|
|
4861
|
+
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
|
|
4862
4862
|
try {
|
|
4863
4863
|
await runWorkBuild(opts);
|
|
4864
4864
|
} catch (err) {
|
|
@@ -4881,7 +4881,7 @@ renews that session's own 20-minute lease, unless --no-lease or
|
|
|
4881
4881
|
--ended is given, or another worker already holds a live one.
|
|
4882
4882
|
`
|
|
4883
4883
|
).action(async (number, opts) => {
|
|
4884
|
-
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-
|
|
4884
|
+
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
|
|
4885
4885
|
try {
|
|
4886
4886
|
await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
|
|
4887
4887
|
} catch (err) {
|
|
@@ -4920,8 +4920,8 @@ log, csv, md, json, ndjson, zip, gz. A rate limit ends the command with the
|
|
|
4920
4920
|
wait to observe; the command does not retry.
|
|
4921
4921
|
`
|
|
4922
4922
|
).action(async (opts) => {
|
|
4923
|
-
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4924
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4923
|
+
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-P5VJHCX7.js');
|
|
4924
|
+
const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
|
|
4925
4925
|
try {
|
|
4926
4926
|
await runWorkComment({ ...opts, files: opts.file });
|
|
4927
4927
|
} catch (err) {
|
|
@@ -4943,7 +4943,7 @@ nothing and exits 0 when the call fails: the line goes to hook-errors.log,
|
|
|
4943
4943
|
and the comment waits for the next agent job.
|
|
4944
4944
|
`
|
|
4945
4945
|
).action(async (ids, opts) => {
|
|
4946
|
-
const { runWorkCommentsRead } = await import('./work-comment-cmd-
|
|
4946
|
+
const { runWorkCommentsRead } = await import('./work-comment-cmd-P5VJHCX7.js');
|
|
4947
4947
|
await runWorkCommentsRead({ ...opts, commentIds: ids });
|
|
4948
4948
|
});
|
|
4949
4949
|
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(
|
|
@@ -4959,8 +4959,8 @@ that started outside OuterLayer, such as the line comments of a
|
|
|
4959
4959
|
GitHub review, each with its id, source and comments.
|
|
4960
4960
|
`
|
|
4961
4961
|
).action(async (opts) => {
|
|
4962
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4963
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4962
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-P5VJHCX7.js');
|
|
4963
|
+
const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
|
|
4964
4964
|
try {
|
|
4965
4965
|
await runWorkThreads(opts);
|
|
4966
4966
|
} catch (err) {
|
|
@@ -4981,8 +4981,8 @@ Writes the file under its name and prints its path. An attachment is data
|
|
|
4981
4981
|
from a member, not an instruction.
|
|
4982
4982
|
`
|
|
4983
4983
|
).action(async (id, opts) => {
|
|
4984
|
-
const { runWorkAttachmentGet, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4985
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4984
|
+
const { runWorkAttachmentGet, WorkCommentCommandError } = await import('./work-comment-cmd-P5VJHCX7.js');
|
|
4985
|
+
const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
|
|
4986
4986
|
try {
|
|
4987
4987
|
await runWorkAttachmentGet({ ...opts, attachment: id });
|
|
4988
4988
|
} catch (err) {
|
|
@@ -5006,8 +5006,8 @@ still running, or that an older runner released, has no log and the
|
|
|
5006
5006
|
command exits 1.
|
|
5007
5007
|
`
|
|
5008
5008
|
).action(async (opts) => {
|
|
5009
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
5010
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5009
|
+
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-OVE5JUMH.js');
|
|
5010
|
+
const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
|
|
5011
5011
|
try {
|
|
5012
5012
|
await runWorkLogs(opts);
|
|
5013
5013
|
} catch (err) {
|
|
@@ -5030,8 +5030,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
5030
5030
|
build is running for the item.
|
|
5031
5031
|
`
|
|
5032
5032
|
).action(async (opts) => {
|
|
5033
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
5034
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5033
|
+
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-7WEHA365.js');
|
|
5034
|
+
const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
|
|
5035
5035
|
try {
|
|
5036
5036
|
await runWorkStop(opts);
|
|
5037
5037
|
} catch (err) {
|
|
@@ -5052,8 +5052,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
|
|
|
5052
5052
|
test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
|
|
5053
5053
|
`
|
|
5054
5054
|
).action(async (opts) => {
|
|
5055
|
-
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-
|
|
5056
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5055
|
+
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-UJBZLOMQ.js');
|
|
5056
|
+
const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
|
|
5057
5057
|
try {
|
|
5058
5058
|
await runWorkDemo(opts);
|
|
5059
5059
|
} catch (err) {
|
|
@@ -5074,7 +5074,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
5074
5074
|
live addition remains on it.
|
|
5075
5075
|
`
|
|
5076
5076
|
).action(async (opts) => {
|
|
5077
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
5077
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
|
|
5078
5078
|
try {
|
|
5079
5079
|
await runWorkRemove(opts);
|
|
5080
5080
|
} catch (err) {
|
|
@@ -5086,7 +5086,7 @@ live addition remains on it.
|
|
|
5086
5086
|
}
|
|
5087
5087
|
});
|
|
5088
5088
|
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) => {
|
|
5089
|
-
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-
|
|
5089
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
|
|
5090
5090
|
try {
|
|
5091
5091
|
await runWorkStatus(opts);
|
|
5092
5092
|
} catch (err) {
|
|
@@ -5097,12 +5097,13 @@ live addition remains on it.
|
|
|
5097
5097
|
throw err;
|
|
5098
5098
|
}
|
|
5099
5099
|
});
|
|
5100
|
-
workCmd.command("proofs").description("List each proof
|
|
5100
|
+
workCmd.command("proofs").description("List each proof's state; --record records them, --check only runs their tests").option("--item <number>", "the item's number inside this factory (default: OUTERLAYER_WORK)").option("--json", "machine-readable JSON output").option("--record", "rerun the tests that name each stale proof and emit their output").option("--check", "run the same tests as --record and report each proof as passed or failed").option("--comment", "with --record, comment on the general thread with each proof not current").option("--pr <number>", "the item's own pull request, when it links several in this repository").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(
|
|
5101
5101
|
"after",
|
|
5102
5102
|
`
|
|
5103
5103
|
${cliInvocation()} work proofs --item 7
|
|
5104
5104
|
${cliInvocation()} work proofs --json
|
|
5105
5105
|
${cliInvocation()} work proofs --record --comment
|
|
5106
|
+
${cliInvocation()} work proofs --check
|
|
5106
5107
|
|
|
5107
5108
|
A proof is current when it was recorded at this checkout's HEAD, or at the head of a
|
|
5108
5109
|
linked pull request that is open or merged. Run \`outerlayer sync\` first, so the
|
|
@@ -5119,14 +5120,23 @@ its files, then teardown. A test writes <criterion id>.<ext> under $OUTERLAYER_P
|
|
|
5119
5120
|
--record emits it at HEAD. For a test proof it runs the test files its newest results named,
|
|
5120
5121
|
and emits the JUnit XML the run wrote, bound to the same tests. It lists the proofs last. It
|
|
5121
5122
|
stops at once if a tracked file differs from HEAD.
|
|
5123
|
+
|
|
5124
|
+
--check runs the same setup, tests and teardown as --record. It reports each proof as passed or
|
|
5125
|
+
failed, and the rows the judge failed. It emits, syncs and posts nothing. A runner build uses it,
|
|
5126
|
+
because the host records the proofs at the pushed head. Exits 0 when every proof passed and, in
|
|
5127
|
+
a runner build, no row is failed.
|
|
5122
5128
|
`
|
|
5123
5129
|
).action(async (opts) => {
|
|
5130
|
+
if (opts.check && opts.record) {
|
|
5131
|
+
fail("--check and --record cannot be used together.");
|
|
5132
|
+
return;
|
|
5133
|
+
}
|
|
5124
5134
|
if (opts.comment && !opts.record) {
|
|
5125
5135
|
fail("--comment needs --record.");
|
|
5126
5136
|
return;
|
|
5127
5137
|
}
|
|
5128
|
-
if (opts.pr !== void 0 && !opts.record) {
|
|
5129
|
-
fail("--pr needs --record.");
|
|
5138
|
+
if (opts.pr !== void 0 && !opts.record && !opts.check) {
|
|
5139
|
+
fail("--pr needs --record or --check.");
|
|
5130
5140
|
return;
|
|
5131
5141
|
}
|
|
5132
5142
|
const pr = opts.pr === void 0 ? void 0 : parseTrackerNumber(opts.pr);
|
|
@@ -5134,11 +5144,11 @@ stops at once if a tracked file differs from HEAD.
|
|
|
5134
5144
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5135
5145
|
return;
|
|
5136
5146
|
}
|
|
5137
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5147
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-SLUFPOEN.js');
|
|
5138
5148
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5139
5149
|
});
|
|
5140
5150
|
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) => {
|
|
5141
|
-
const { runWorkList, WorkCommandError } = await import('./work-cmd-
|
|
5151
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
|
|
5142
5152
|
try {
|
|
5143
5153
|
await runWorkList(opts);
|
|
5144
5154
|
} catch (err) {
|
|
@@ -5159,7 +5169,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
5159
5169
|
it. --host is a label only.
|
|
5160
5170
|
`
|
|
5161
5171
|
).action(async (opts) => {
|
|
5162
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
5172
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-C2WFSOKE.js');
|
|
5163
5173
|
try {
|
|
5164
5174
|
await runWorkClaim(opts);
|
|
5165
5175
|
} catch (err) {
|
|
@@ -5179,7 +5189,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5179
5189
|
lease has expired, or a 403 if a different key holds it.
|
|
5180
5190
|
`
|
|
5181
5191
|
).action(async (opts) => {
|
|
5182
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5192
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-C2WFSOKE.js');
|
|
5183
5193
|
try {
|
|
5184
5194
|
await runWorkRenew(opts);
|
|
5185
5195
|
} catch (err) {
|
|
@@ -5211,7 +5221,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5211
5221
|
takes the lease again.
|
|
5212
5222
|
`
|
|
5213
5223
|
).action(async (opts) => {
|
|
5214
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5224
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-C2WFSOKE.js');
|
|
5215
5225
|
try {
|
|
5216
5226
|
await runWorkRelease(opts);
|
|
5217
5227
|
} catch (err) {
|
|
@@ -5238,7 +5248,7 @@ Idempotent: declaring the same pull request twice is a no-op.
|
|
|
5238
5248
|
needs your own login; an agent session or a factory key is refused.
|
|
5239
5249
|
`
|
|
5240
5250
|
).action(async (number, opts) => {
|
|
5241
|
-
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-
|
|
5251
|
+
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-62BGKUJM.js');
|
|
5242
5252
|
try {
|
|
5243
5253
|
await runWorkPr({ ...opts, number });
|
|
5244
5254
|
} catch (err) {
|
|
@@ -5263,8 +5273,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
5263
5273
|
Run it again after a change to the title or description.
|
|
5264
5274
|
`
|
|
5265
5275
|
).action(async (opts) => {
|
|
5266
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
5267
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5276
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-HBE74CZU.js');
|
|
5277
|
+
const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
|
|
5268
5278
|
try {
|
|
5269
5279
|
await runWorkOpenPr(opts);
|
|
5270
5280
|
} catch (err) {
|
|
@@ -5287,8 +5297,8 @@ and OuterLayer posts the reason on the issue. Only a host build, which
|
|
|
5287
5297
|
holds an item key, can run it.
|
|
5288
5298
|
`
|
|
5289
5299
|
).action(async (opts) => {
|
|
5290
|
-
const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-
|
|
5291
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5300
|
+
const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-KQSONMJX.js');
|
|
5301
|
+
const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
|
|
5292
5302
|
try {
|
|
5293
5303
|
await runWorkNoChange(opts);
|
|
5294
5304
|
} catch (err) {
|
|
@@ -5311,8 +5321,8 @@ record that no change is needed. Only a host build, which holds an item key,
|
|
|
5311
5321
|
can run it.
|
|
5312
5322
|
`
|
|
5313
5323
|
).action(async (opts) => {
|
|
5314
|
-
const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-
|
|
5315
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5324
|
+
const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-QNCOUXMT.js');
|
|
5325
|
+
const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
|
|
5316
5326
|
try {
|
|
5317
5327
|
await runWorkNeedsAttention(opts);
|
|
5318
5328
|
} catch (err) {
|
|
@@ -5356,9 +5366,9 @@ function registerRunnerCommands(program2) {
|
|
|
5356
5366
|
const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
|
|
5357
5367
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5358
5368
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5359
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5360
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5361
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5369
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-LUIWZESD.js');
|
|
5370
|
+
const { start, RunnerStartError } = await import('./loop-YCOSJRLW.js');
|
|
5371
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-RBG6FQ7K.js');
|
|
5362
5372
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5363
5373
|
try {
|
|
5364
5374
|
const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
|
|
@@ -5380,10 +5390,10 @@ is optional and defaults to ${words().runnerName}. On a later start it refuses v
|
|
|
5380
5390
|
The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
5381
5391
|
`
|
|
5382
5392
|
).action(async () => {
|
|
5383
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5384
|
-
const { containerStart, containerStartExit } = await import('./container-start-
|
|
5385
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5386
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5393
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-LUIWZESD.js');
|
|
5394
|
+
const { containerStart, containerStartExit } = await import('./container-start-BVEDUA7N.js');
|
|
5395
|
+
const { start, RunnerStartError } = await import('./loop-YCOSJRLW.js');
|
|
5396
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-RBG6FQ7K.js');
|
|
5387
5397
|
try {
|
|
5388
5398
|
const outcome = containerStartExit(await containerStart({
|
|
5389
5399
|
env: process.env,
|
|
@@ -5404,16 +5414,16 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5404
5414
|
"after",
|
|
5405
5415
|
"\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"
|
|
5406
5416
|
).action(async (opts) => {
|
|
5407
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5408
|
-
const { runnerDir } = await import('./paths-
|
|
5409
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5417
|
+
const { defaultRunnerConfigPath } = await import('./config-LUIWZESD.js');
|
|
5418
|
+
const { runnerDir } = await import('./paths-GQ66KHNT.js');
|
|
5419
|
+
const { runUpdateSteps } = await import('./update-steps-LINCNPGV.js');
|
|
5410
5420
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5411
5421
|
process.stdout.write(`${text}
|
|
5412
5422
|
`);
|
|
5413
5423
|
});
|
|
5414
5424
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5415
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5416
|
-
const { runRunnerCheck } = await import('./check-
|
|
5425
|
+
const { defaultRunnerConfigPath } = await import('./config-LUIWZESD.js');
|
|
5426
|
+
const { runRunnerCheck } = await import('./check-U5DOQU64.js');
|
|
5417
5427
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5418
5428
|
const result = await runRunnerCheck(configPath);
|
|
5419
5429
|
if (!result.ok) {
|
|
@@ -5434,8 +5444,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5434
5444
|
`);
|
|
5435
5445
|
});
|
|
5436
5446
|
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) => {
|
|
5437
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5438
|
-
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-
|
|
5447
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-LUIWZESD.js');
|
|
5448
|
+
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-66Z7TY52.js');
|
|
5439
5449
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5440
5450
|
if (opts.service !== true) {
|
|
5441
5451
|
const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
|
|
@@ -5447,13 +5457,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5447
5457
|
}
|
|
5448
5458
|
}
|
|
5449
5459
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5450
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5460
|
+
if (buildCpusMax !== void 0 && !(await import('./command-NTKAT7KB.js')).cpusAreValid(buildCpusMax)) {
|
|
5451
5461
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5452
5462
|
return;
|
|
5453
5463
|
}
|
|
5454
5464
|
try {
|
|
5455
5465
|
if (opts.service === true) {
|
|
5456
|
-
const { installServiceCommand, serviceSuccessText } = await import('./command-
|
|
5466
|
+
const { installServiceCommand, serviceSuccessText } = await import('./command-NTKAT7KB.js');
|
|
5457
5467
|
const result2 = await installServiceCommand({
|
|
5458
5468
|
configPath,
|
|
5459
5469
|
print: opts.print,
|
|
@@ -5507,8 +5517,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5507
5517
|
fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
|
|
5508
5518
|
return;
|
|
5509
5519
|
}
|
|
5510
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5511
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5520
|
+
const { defaultRunnerConfigPath } = await import('./config-LUIWZESD.js');
|
|
5521
|
+
const { uninstallServiceCommand } = await import('./command-NTKAT7KB.js');
|
|
5512
5522
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5513
5523
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5514
5524
|
`);
|
|
@@ -5538,13 +5548,13 @@ already in ${words().envFile} is used.
|
|
|
5538
5548
|
printf '%s' "$${words().variables[0]}" | ${cliInvocation()} runner init --agent ${words().runnerName} --factory <org>/<factory>
|
|
5539
5549
|
`
|
|
5540
5550
|
).action(async (opts) => {
|
|
5541
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5542
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5543
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5544
|
-
const { detectMachine } = await import('./machine-
|
|
5545
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5546
|
-
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-
|
|
5547
|
-
const { headlessNames: headlessNames2 } = await import('./runner-agents-
|
|
5551
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-LUIWZESD.js');
|
|
5552
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-I5HVGOQC.js');
|
|
5553
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-I3M7GEJE.js');
|
|
5554
|
+
const { detectMachine } = await import('./machine-BJEAYCHT.js');
|
|
5555
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-QFTRSBBT.js');
|
|
5556
|
+
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-XPZ3FPQL.js');
|
|
5557
|
+
const { headlessNames: headlessNames2 } = await import('./runner-agents-P562WZJB.js');
|
|
5548
5558
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5549
5559
|
if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
|
|
5550
5560
|
fail(`--agent ${opts.agent}: runner init writes commands for ${headlessNames2().join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
|
|
@@ -5556,7 +5566,7 @@ already in ${words().envFile} is used.
|
|
|
5556
5566
|
return;
|
|
5557
5567
|
}
|
|
5558
5568
|
try {
|
|
5559
|
-
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-
|
|
5569
|
+
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-TKQ67BS4.js');
|
|
5560
5570
|
agent = await initAgent({
|
|
5561
5571
|
flag: agent,
|
|
5562
5572
|
handOff: opts.configStdin === true,
|
|
@@ -5567,7 +5577,7 @@ already in ${words().envFile} is used.
|
|
|
5567
5577
|
if (agent !== void 0) {
|
|
5568
5578
|
const chosen = agent;
|
|
5569
5579
|
const forms = credentialForms((runnerAgentNamed(chosen) ?? credentialAgent()).descriptor);
|
|
5570
|
-
const { readPipedKey } = await import('./login-browser-
|
|
5580
|
+
const { readPipedKey } = await import('./login-browser-COSWHZEC.js');
|
|
5571
5581
|
const { terminalPrompt: terminalPrompt2 } = await import('./hidden-prompt-UXBFMQC5.js');
|
|
5572
5582
|
const text = await agentCredentialText({
|
|
5573
5583
|
isTTY: process.stdin.isTTY === true,
|
|
@@ -5589,7 +5599,7 @@ already in ${words().envFile} is used.
|
|
|
5589
5599
|
const chunks = [];
|
|
5590
5600
|
for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
|
|
5591
5601
|
const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
|
|
5592
|
-
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-
|
|
5602
|
+
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-CTRFLP2W.js');
|
|
5593
5603
|
const hostKey2 = await ensureHostKey2(configPath);
|
|
5594
5604
|
process.stdout.write(`host key ${hostKey2.fingerprint}
|
|
5595
5605
|
hooks: ${result2.hooks}
|
|
@@ -5644,7 +5654,7 @@ hooks: ${result2.hooks}
|
|
|
5644
5654
|
const prepared = prepareRunnerInit(configPath, { machine, agent, credential, keyFromLogin: makeKey !== void 0 });
|
|
5645
5655
|
const created = makeKey === void 0 ? void 0 : await makeKey();
|
|
5646
5656
|
const result = writeRunnerInit(prepared, created);
|
|
5647
|
-
const { ensureHostKey } = await import('./host-key-
|
|
5657
|
+
const { ensureHostKey } = await import('./host-key-CTRFLP2W.js');
|
|
5648
5658
|
const hostKey = await ensureHostKey(configPath);
|
|
5649
5659
|
if (created !== void 0) {
|
|
5650
5660
|
process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
|
|
@@ -5664,7 +5674,7 @@ hooks: ${result2.hooks}
|
|
|
5664
5674
|
);
|
|
5665
5675
|
process.stdout.write(`${C.green}\u2713${C.reset} hooks: ${result.hooks}${result.hooks === "builtin:vm" ? " (builds run in microVMs)" : " (builds run in containers)"}
|
|
5666
5676
|
`);
|
|
5667
|
-
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-
|
|
5677
|
+
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-66Z7TY52.js');
|
|
5668
5678
|
let installedLayout = false;
|
|
5669
5679
|
let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
|
|
5670
5680
|
try {
|
|
@@ -5696,7 +5706,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5696
5706
|
let serviceUp = false;
|
|
5697
5707
|
let restart;
|
|
5698
5708
|
if (installedLayout) {
|
|
5699
|
-
const { installServiceCommand } = await import('./command-
|
|
5709
|
+
const { installServiceCommand } = await import('./command-NTKAT7KB.js');
|
|
5700
5710
|
const service = await installServiceCommand({
|
|
5701
5711
|
configPath,
|
|
5702
5712
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5748,12 +5758,12 @@ image holds this CLI and a pinned ${words().agent}. Nothing runs inside the imag
|
|
|
5748
5758
|
A repository with no devcontainer file builds on the universal image the CLI pins by digest.
|
|
5749
5759
|
`
|
|
5750
5760
|
).action(async (opts) => {
|
|
5751
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5752
|
-
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-
|
|
5761
|
+
const { defaultRunnerConfigPath } = await import('./config-LUIWZESD.js');
|
|
5762
|
+
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-D4Y3LBPO.js');
|
|
5753
5763
|
const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
|
|
5754
|
-
const { createDockerHost } = await import('./docker-
|
|
5755
|
-
const { builderSpec } = await import('./builder-
|
|
5756
|
-
const { loadRunnerConfig } = await import('./config-
|
|
5764
|
+
const { createDockerHost } = await import('./docker-2DLKQOK3.js');
|
|
5765
|
+
const { builderSpec } = await import('./builder-6L5ZMXBE.js');
|
|
5766
|
+
const { loadRunnerConfig } = await import('./config-LUIWZESD.js');
|
|
5757
5767
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5758
5768
|
const loaded = (() => {
|
|
5759
5769
|
try {
|
|
@@ -5764,12 +5774,12 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5764
5774
|
})();
|
|
5765
5775
|
const memory = loaded?.build?.memory ?? "8g";
|
|
5766
5776
|
try {
|
|
5767
|
-
const { ensureRunnerIdentity } = await import('./runner-identity-
|
|
5777
|
+
const { ensureRunnerIdentity } = await import('./runner-identity-TAJAY5M5.js');
|
|
5768
5778
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5769
5779
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5770
5780
|
});
|
|
5771
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5772
|
-
const { runnerCalls } = await import('./caller-
|
|
5781
|
+
const { imageTargetFor } = await import('./governing-source-ARSS7R7L.js');
|
|
5782
|
+
const { runnerCalls } = await import('./caller-FFSXVMLB.js');
|
|
5773
5783
|
const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
|
|
5774
5784
|
if (!target.ok) {
|
|
5775
5785
|
if (opts.json) {
|
|
@@ -5833,25 +5843,25 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5833
5843
|
}
|
|
5834
5844
|
});
|
|
5835
5845
|
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) => {
|
|
5836
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5837
|
-
const { requestStop } = await import('./loop-
|
|
5846
|
+
const { defaultRunnerConfigPath } = await import('./config-LUIWZESD.js');
|
|
5847
|
+
const { requestStop } = await import('./loop-YCOSJRLW.js');
|
|
5838
5848
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5839
|
-
const { runnerImageVersion } = await import('./image-tag-
|
|
5849
|
+
const { runnerImageVersion } = await import('./image-tag-RU4RHPIT.js');
|
|
5840
5850
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
5841
5851
|
});
|
|
5842
5852
|
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) => {
|
|
5843
|
-
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-
|
|
5844
|
-
const { jobsDir, runnerDir } = await import('./paths-
|
|
5845
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5846
|
-
const { renderStatus } = await import('./status-
|
|
5847
|
-
const { readHousekeepingRecord } = await import('./record-
|
|
5853
|
+
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-LUIWZESD.js');
|
|
5854
|
+
const { jobsDir, runnerDir } = await import('./paths-GQ66KHNT.js');
|
|
5855
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-YCOSJRLW.js');
|
|
5856
|
+
const { renderStatus } = await import('./status-BFRDAZQP.js');
|
|
5857
|
+
const { readHousekeepingRecord } = await import('./record-6IAZ26H3.js');
|
|
5848
5858
|
const path2 = await import('path');
|
|
5849
5859
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5850
5860
|
const all = listJobFiles(configPath);
|
|
5851
5861
|
const housekeeping = readHousekeepingRecord(runnerDir(configPath));
|
|
5852
|
-
const { readPendingUpdate } = await import('./pending-
|
|
5862
|
+
const { readPendingUpdate } = await import('./pending-COVCIH4Q.js');
|
|
5853
5863
|
const pendingUpdate = readPendingUpdate(runnerDir(configPath));
|
|
5854
|
-
const { readImageStatus } = await import('./image-tag-
|
|
5864
|
+
const { readImageStatus } = await import('./image-tag-RU4RHPIT.js');
|
|
5855
5865
|
const image = readImageStatus(runnerDir(configPath));
|
|
5856
5866
|
let host = "unknown";
|
|
5857
5867
|
let concurrency = 1;
|
|
@@ -5861,7 +5871,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5861
5871
|
host = config.host;
|
|
5862
5872
|
concurrency = config.concurrency;
|
|
5863
5873
|
if (config.fleet === true) {
|
|
5864
|
-
const { readFleetState } = await import('./state-
|
|
5874
|
+
const { readFleetState } = await import('./state-NAZKB77R.js');
|
|
5865
5875
|
fleet = { state: readFleetState(configPath) };
|
|
5866
5876
|
}
|
|
5867
5877
|
} catch {
|
|
@@ -5869,7 +5879,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5869
5879
|
const processState = runnerProcessState(configPath);
|
|
5870
5880
|
const service = await (async () => {
|
|
5871
5881
|
if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
|
|
5872
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
5882
|
+
const { inspectRunnerService } = await import('./find-unit-2RZ4NCXQ.js');
|
|
5873
5883
|
const facts = inspectRunnerService(configPath);
|
|
5874
5884
|
return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
|
|
5875
5885
|
})();
|
|
@@ -5908,9 +5918,9 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5908
5918
|
);
|
|
5909
5919
|
});
|
|
5910
5920
|
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) => {
|
|
5911
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5912
|
-
const { listJobFiles } = await import('./loop-
|
|
5913
|
-
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-
|
|
5921
|
+
const { defaultRunnerConfigPath } = await import('./config-LUIWZESD.js');
|
|
5922
|
+
const { listJobFiles } = await import('./loop-YCOSJRLW.js');
|
|
5923
|
+
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-XWMVEAUP.js');
|
|
5914
5924
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5915
5925
|
const jobs = listJobFiles(configPath);
|
|
5916
5926
|
const selected = selectAttempt(jobs, itemArg);
|
|
@@ -6131,7 +6141,7 @@ Self-host deployments also need --app-id: without a key service to resolve the
|
|
|
6131
6141
|
caller from the bearer token, the gateway answers 401 without that header.
|
|
6132
6142
|
`
|
|
6133
6143
|
).action(async (opts) => {
|
|
6134
|
-
const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-
|
|
6144
|
+
const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-VSWX5BSZ.js');
|
|
6135
6145
|
try {
|
|
6136
6146
|
if (opts.transport !== void 0 && opts.transport !== "stdio" && opts.transport !== "http") {
|
|
6137
6147
|
throw new McpInstallError(`--transport must be "stdio" or "http", got "${opts.transport}"`);
|
|
@@ -6153,7 +6163,7 @@ caller from the bearer token, the gateway answers 401 without that header.
|
|
|
6153
6163
|
"after",
|
|
6154
6164
|
"\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"
|
|
6155
6165
|
).action(async (opts) => {
|
|
6156
|
-
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-
|
|
6166
|
+
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-M7CX4RO3.js');
|
|
6157
6167
|
try {
|
|
6158
6168
|
await runMcpServe({ url: opts.url, appId: opts.appId });
|
|
6159
6169
|
} catch (err) {
|
|
@@ -6174,7 +6184,7 @@ would get, the instruction files and the names of the skills. It warns when the
|
|
|
6174
6184
|
no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
|
|
6175
6185
|
`
|
|
6176
6186
|
).action(async (opts) => {
|
|
6177
|
-
const { runContextShow, ContextShowError } = await import('./context-show-cmd-
|
|
6187
|
+
const { runContextShow, ContextShowError } = await import('./context-show-cmd-DAMQJOAL.js');
|
|
6178
6188
|
try {
|
|
6179
6189
|
const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
|
|
6180
6190
|
process.stdout.write(result.output);
|