@outerlayer/cli 0.38.0-next.20261106190200 → 0.38.0-next.20261106232046
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 +3 -3
- package/dist/agent-setup-IJNDJ4XL.js +40 -0
- package/dist/{agent-subcommand-PSI3BAXM.js → agent-subcommand-XECZFIAS.js} +4 -4
- package/dist/{artifact-link-cmd-QP6VO7AJ.js → artifact-link-cmd-F6M2BDT7.js} +2 -2
- package/dist/{bridge-3WAVT5SX.js → bridge-LDKKFAHH.js} +7 -7
- package/dist/{build-4KG7H2XK.js → build-PTFRHSXI.js} +13 -13
- package/dist/{build-disk-GGGJ237B.js → build-disk-EO2VG3MF.js} +11 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-HV7PUSZZ.js → builder-LCIBBOWQ.js} +10 -10
- package/dist/caller-Y3RGYXHU.js +23 -0
- package/dist/{check-LENGOFUF.js → check-BNDMAAVS.js} +56 -56
- package/dist/{chunk-2MA2KWHN.js → chunk-2IVRTP6M.js} +1 -1
- package/dist/{chunk-NEEMG462.js → chunk-2KL345FW.js} +1 -1
- package/dist/{chunk-YXXJBHHF.js → chunk-2VNT47DG.js} +10 -2
- package/dist/{chunk-2VN36ZPA.js → chunk-3HEBSWNE.js} +1 -1
- package/dist/{chunk-ZGN3NOVS.js → chunk-3UKDQNFF.js} +1 -1
- package/dist/{chunk-ANFGBAWY.js → chunk-6AKP3FBS.js} +5 -5
- package/dist/{chunk-KMUERD5F.js → chunk-6IXZHORY.js} +4 -4
- package/dist/{chunk-UF3YTRGU.js → chunk-6Y4ZE74I.js} +4 -4
- package/dist/{chunk-G2ITKUX4.js → chunk-7GQE5D72.js} +1 -1
- package/dist/{chunk-3KVYSJAL.js → chunk-7VVTZNUP.js} +6 -6
- package/dist/{chunk-27P5FSZT.js → chunk-B7CAUXSV.js} +6 -6
- package/dist/{chunk-76Y35TWH.js → chunk-BEQYO2VO.js} +1 -1
- package/dist/{chunk-GM3H4ZHG.js → chunk-BJYX3PMU.js} +1 -1
- package/dist/{chunk-HTQFAHXD.js → chunk-BU25W7GF.js} +2 -2
- package/dist/{chunk-MCLSXTLY.js → chunk-C3P637LO.js} +1 -1
- package/dist/{chunk-6744TXEY.js → chunk-DDPCKTVN.js} +7 -7
- package/dist/{chunk-U4ZHNHCF.js → chunk-DRUM7NWK.js} +1 -1
- package/dist/{chunk-M4JFGNG7.js → chunk-EOXQCUFJ.js} +2 -2
- package/dist/{chunk-USJVENIV.js → chunk-FPPBL7ZC.js} +1 -1
- package/dist/{chunk-TOVSIUEJ.js → chunk-FSQDS7A6.js} +1 -1
- package/dist/{chunk-CFTSVW7W.js → chunk-FSYEDSSA.js} +1 -1
- package/dist/{chunk-6BPCEGJL.js → chunk-FZD6GIW5.js} +9 -9
- package/dist/{chunk-7B4A6PBC.js → chunk-GMLYSAKU.js} +3 -3
- package/dist/{chunk-NMCRJ7NZ.js → chunk-HCIOUSUX.js} +2 -3
- package/dist/{chunk-IOURL3LH.js → chunk-HI5FSBWD.js} +10 -10
- package/dist/{chunk-JKYCEXZX.js → chunk-ICKFR2DB.js} +7 -7
- package/dist/{chunk-RFBJKK2L.js → chunk-IQHREL5T.js} +8 -8
- package/dist/{chunk-VRSUCU2N.js → chunk-LPTMKPCD.js} +1 -1
- package/dist/{chunk-7ATHSAAT.js → chunk-LQEI4HZF.js} +1 -1
- package/dist/{chunk-5MWE5IOO.js → chunk-LYBHKNEG.js} +1 -1
- package/dist/{chunk-YZ5M7S7U.js → chunk-LYORNXIT.js} +1 -1
- package/dist/{chunk-OVHBDADU.js → chunk-MLM4BYK2.js} +1 -1
- package/dist/{chunk-DF6ZHOIA.js → chunk-MXSQINKG.js} +7 -7
- package/dist/{chunk-BEKYNGLH.js → chunk-NDLWXIVK.js} +1 -1
- package/dist/{chunk-6ZSUJ3ES.js → chunk-NMSWL2N3.js} +3 -3
- package/dist/{chunk-T7KETYNW.js → chunk-NOBB3LEO.js} +1 -1
- package/dist/{chunk-OMCDOJO2.js → chunk-O3TOA2KE.js} +3 -3
- package/dist/{chunk-XDVLF6OT.js → chunk-OAOZDJYT.js} +3 -3
- package/dist/{chunk-IXB2IIEW.js → chunk-OCQ5FQZR.js} +1 -1
- package/dist/{chunk-GM4TY5H2.js → chunk-OO33S4AF.js} +7 -5
- package/dist/{chunk-ML3O3A3Q.js → chunk-OSHKKESX.js} +77 -8
- package/dist/{chunk-TDUBZ4FR.js → chunk-PJNOTSB5.js} +1 -1
- package/dist/{chunk-FBBI6K7D.js → chunk-PVLDVUNJ.js} +2 -2
- package/dist/{chunk-G2EWER4K.js → chunk-QF6US5YN.js} +2 -2
- package/dist/{chunk-FCU7WSCV.js → chunk-QHT6PIFP.js} +4 -4
- package/dist/{chunk-JW25JVK4.js → chunk-QQSXVGVH.js} +6 -6
- package/dist/{chunk-TMYBADTM.js → chunk-QZAZPRDW.js} +5 -5
- package/dist/{chunk-JKQAOSSX.js → chunk-RWNVQSGX.js} +3 -3
- package/dist/{chunk-4PH3KXDP.js → chunk-RZXP427Z.js} +1 -1
- package/dist/{chunk-QHOC32DP.js → chunk-S35KTDTM.js} +10 -10
- package/dist/{chunk-LRE4QIMD.js → chunk-SDUCKX46.js} +9 -9
- package/dist/{chunk-NTRXOTO7.js → chunk-SEAVWMW2.js} +6 -6
- package/dist/{chunk-SUMXGPSG.js → chunk-SOB4KVRZ.js} +6 -6
- package/dist/{chunk-E2ZWGLNZ.js → chunk-SYENSVOK.js} +3 -3
- package/dist/{chunk-VOSC32UF.js → chunk-SZQKS4QK.js} +6 -6
- package/dist/{chunk-5QBTW367.js → chunk-TWWAV67F.js} +5 -5
- package/dist/{chunk-ZYQT6Q5R.js → chunk-V26DDAWZ.js} +142 -74
- package/dist/{chunk-ZOWUJUSF.js → chunk-V43NFQE3.js} +1 -1
- package/dist/{chunk-5BDYRHZZ.js → chunk-VLAVNWM4.js} +7 -7
- package/dist/{chunk-RDPLNQFI.js → chunk-VW5NG2AR.js} +16 -16
- package/dist/{chunk-7KF36CVC.js → chunk-VYAFSV43.js} +1 -1
- package/dist/{chunk-GQEVQIS6.js → chunk-VZGTPITG.js} +1 -1
- package/dist/{chunk-LFBQL4AP.js → chunk-WCBLLIPD.js} +5 -5
- package/dist/{chunk-TFBNHDPT.js → chunk-WCQJNDQC.js} +4 -4
- package/dist/{chunk-YSIVKYLW.js → chunk-WDJPGE6K.js} +4 -4
- package/dist/{chunk-677TCNML.js → chunk-WX7XACEU.js} +1 -1
- package/dist/{chunk-H2L5NB5U.js → chunk-X25VXXCF.js} +1 -1
- package/dist/{chunk-A24MNKYN.js → chunk-X32HZMMA.js} +4 -4
- package/dist/{chunk-F2PTLH3J.js → chunk-XDURUWQP.js} +29 -28
- package/dist/{chunk-ZPCUXCQX.js → chunk-XKJZHY4J.js} +1 -1
- package/dist/{chunk-TDBP62O2.js → chunk-XSEAGCYW.js} +7 -7
- package/dist/{chunk-3E65OLJ4.js → chunk-YFARFA4Y.js} +3 -3
- package/dist/{chunk-YL6GWLK5.js → chunk-YSCRMX2T.js} +8 -8
- package/dist/{claude-launcher-G73I5AGW.js → claude-launcher-62NZAUKT.js} +7 -7
- package/dist/{cli-5SILU2LX.js → cli-GJQGNNFM.js} +147 -147
- package/dist/{command-DBBEP7VM.js → command-3QXN5ZTK.js} +50 -50
- package/dist/{config-KOSTQZXG.js → config-4YPIDOHH.js} +12 -12
- package/dist/{connect-cmd-UNBJYFYM.js → connect-cmd-GAWR7QSH.js} +13 -13
- package/dist/{container-start-AAOLPVAH.js → container-start-FZCTPBZG.js} +48 -48
- package/dist/{context-cleanup-MKVMFRNR.js → context-cleanup-L3ZKG6EU.js} +4 -4
- package/dist/{context-show-cmd-P3LBILMP.js → context-show-cmd-YJ4IJ2WI.js} +14 -14
- package/dist/{control-plane-launch-2GOJKA53.js → control-plane-launch-GOKEVTPX.js} +14 -14
- package/dist/{demo-record-cmd-BPINCNYS.js → demo-record-cmd-AZSEQXO4.js} +8 -8
- package/dist/{demo-voice-cmd-HBK3TWM5.js → demo-voice-cmd-KHEMTR5T.js} +20 -20
- package/dist/{dist-MUOHO52Q.js → dist-RMEOTTVL.js} +2 -2
- package/dist/{docker-NUPVSMVQ.js → docker-QMKIWXHF.js} +10 -10
- package/dist/{doctor-GHRSOZLB.js → doctor-5PTO2DN7.js} +50 -50
- package/dist/{emit-artifact-cmd-CULA5AM4.js → emit-artifact-cmd-72QEOEJH.js} +19 -19
- package/dist/{emit-cmd-746N7PYR.js → emit-cmd-X5F5HUTQ.js} +7 -7
- package/dist/{emit-criteria-cmd-NY4RPUPD.js → emit-criteria-cmd-HTHETRH6.js} +16 -16
- package/dist/{emit-demo-cmd-MYXTGMJI.js → emit-demo-cmd-LFYJURFC.js} +20 -20
- package/dist/{emit-finding-cmd-ZGGMPQFT.js → emit-finding-cmd-GFWCMJFY.js} +16 -16
- package/dist/{emit-result-cmd-GNEQHIIZ.js → emit-result-cmd-FTWLKM6G.js} +18 -18
- package/dist/{emit-step-cmd-NYCJ3XFQ.js → emit-step-cmd-J4L2OAWE.js} +16 -16
- package/dist/{exec-client-QHB62OZ6.js → exec-client-YQH4ZSRM.js} +8 -8
- package/dist/find-unit-F3Q54LLR.js +24 -0
- package/dist/{findings-cmd-ZINCPCAB.js → findings-cmd-VFE7VINC.js} +16 -16
- package/dist/{fleet-readiness-FZCSJ7FY.js → fleet-readiness-FGQPCFSP.js} +14 -14
- package/dist/{governing-source-CQML5N2D.js → governing-source-NMZSHEHR.js} +21 -21
- package/dist/{guest-init-C6FWJVAQ.js → guest-init-DPZAVCWH.js} +9 -9
- package/dist/{hook-fast-6IOLZ45F.js → hook-fast-3VMKCCUO.js} +1 -1
- package/dist/{hook-install-VL4CEO4S.js → hook-install-TTF6LASI.js} +4 -4
- package/dist/host-checks-ANVIJJZI.js +79 -0
- package/dist/host-key-QZWN6ECO.js +18 -0
- package/dist/{image-tag-IBAYH5XH.js → image-tag-5TZ7MF5H.js} +8 -8
- package/dist/index.js +4 -4
- package/dist/{init-EIQFBAZI.js → init-5ZTKM5KM.js} +46 -46
- package/dist/init-6AAXECDJ.js +79 -0
- package/dist/{init-agent-7UQZFG5E.js → init-agent-FOR3XGZ2.js} +46 -46
- package/dist/{init-cmd-TNJXWFQU.js → init-cmd-7X22EFRG.js} +27 -27
- package/dist/{init-update-KJWMEKR3.js → init-update-JLOPXC5U.js} +24 -24
- package/dist/{install-cmd-UXH2LGVA.js → install-cmd-JDA4CNYW.js} +10 -10
- package/dist/{layout-YVTZDKVU.js → layout-AKKICGLZ.js} +4 -4
- package/dist/{login-browser-I6CWBA7K.js → login-browser-VNPN4FVO.js} +2 -2
- package/dist/{logs-22Y7QG42.js → logs-WPNNAY5E.js} +7 -7
- package/dist/loop-DFDQQC2Q.js +90 -0
- package/dist/machine-W3R5I6EM.js +79 -0
- package/dist/{machine-skills-6PJOJU5J.js → machine-skills-GGLBQANZ.js} +4 -4
- package/dist/{mcp-install-cmd-LJ7AYDDT.js → mcp-install-cmd-3NHDPAML.js} +4 -4
- package/dist/{mcp-serve-cmd-34LDKQSR.js → mcp-serve-cmd-CLVZFL37.js} +9 -9
- package/dist/{paths-2KOZGV5U.js → paths-PSLRVOVY.js} +7 -7
- package/dist/pending-GWDAXQSA.js +18 -0
- package/dist/{pidfile-FQBXIHX7.js → pidfile-5E4YPCTC.js} +8 -8
- package/dist/{record-7ENQ7Y5M.js → record-7ZMZA5QE.js} +8 -8
- package/dist/{relay-JLU7RTFS.js → relay-UUIHK5TY.js} +5 -5
- package/dist/{relay-protocol-AEIZCA3K.js → relay-protocol-MQVXSFN4.js} +5 -5
- package/dist/{runner-agents-I5YLJY7G.js → runner-agents-M5CMF2ZA.js} +4 -4
- package/dist/runner-env-3S64BNCU.js +24 -0
- package/dist/{runner-identity-MW53HCYG.js → runner-identity-3GMF6FKI.js} +10 -10
- package/dist/{runner-key-GERK5EV3.js → runner-key-NS5C5TTT.js} +46 -46
- package/dist/{session-sender-65X5PR7Q.js → session-sender-M325MH5U.js} +19 -19
- package/dist/{spec-cmd-3TNVJBN7.js → spec-cmd-QIVFOHR4.js} +17 -17
- package/dist/{starter-pack-PLSMFXBU.js → starter-pack-P5BRWSAP.js} +5 -5
- package/dist/state-5H5LGYWN.js +18 -0
- package/dist/{status-KGSQF55G.js → status-5YK3LOVJ.js} +46 -46
- package/dist/{sync-cmd-FNATZ5VL.js → sync-cmd-JHFRUMM5.js} +18 -18
- package/dist/update-steps-KFULBARX.js +80 -0
- package/dist/{watch-FEBBRV22.js → watch-TVHFOLVK.js} +18 -18
- package/dist/{work-claim-cmd-2EPUH3KT.js → work-claim-cmd-LTIAXIWH.js} +23 -23
- package/dist/{work-cmd-V5A3MDXV.js → work-cmd-VC353JLU.js} +16 -16
- package/dist/{work-comment-cmd-PUE47SUV.js → work-comment-cmd-SRQXRRJT.js} +18 -18
- package/dist/{work-demo-cmd-7Q3KW2OO.js → work-demo-cmd-INUFIHU4.js} +16 -16
- package/dist/{work-logs-cmd-SQBJX6MC.js → work-logs-cmd-TMJC7RRS.js} +16 -16
- package/dist/{work-open-pr-cmd-PNDF2CR5.js → work-open-pr-cmd-O6XW2YGD.js} +17 -17
- package/dist/{work-pr-cmd-U7WL7KYE.js → work-pr-cmd-QSE3BH3Z.js} +16 -16
- package/dist/{work-proofs-cmd-YHOM2NIH.js → work-proofs-cmd-FXSVPQZC.js} +18 -18
- package/dist/{work-proofs-record-CYIZ2RDH.js → work-proofs-record-KPRP3UAQ.js} +24 -24
- package/dist/{work-stop-cmd-ENRSBWFT.js → work-stop-cmd-J77H7RLL.js} +16 -16
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-build/SKILL.md +3 -6
- package/skill-pack/maintained/outerlayer-build/references/code-review-judge.md +80 -0
- package/skill-pack/maintained/outerlayer-build/references/release.md +0 -15
- package/skill-pack/maintained/outerlayer-build/references/review-loop.md +1 -3
- package/skill-pack/maintained/outerlayer-evidence/SKILL.md +3 -7
- package/dist/agent-setup-RO2DJUF3.js +0 -40
- package/dist/caller-3P3AEY7W.js +0 -23
- package/dist/find-unit-UVS2FM7E.js +0 -24
- package/dist/host-checks-HPCMZ7XT.js +0 -79
- package/dist/host-key-5APXLMY2.js +0 -18
- package/dist/init-YD4MNH5U.js +0 -79
- package/dist/loop-SVE6TL6G.js +0 -90
- package/dist/machine-RQIO5VRG.js +0 -79
- package/dist/pending-RYWBDJCE.js +0 -18
- package/dist/runner-env-GXY2VMNH.js +0 -24
- package/dist/state-EKXXOPA5.js +0 -18
- package/dist/update-steps-3LOJ377U.js +0 -80
- package/skill-pack/validators/code-review.yaml +0 -30
|
@@ -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-VW5NG2AR.js';
|
|
4
|
+
import './chunk-TWWAV67F.js';
|
|
5
|
+
import { verifiedTrackerNames, TRACKERS } from './chunk-IQHREL5T.js';
|
|
6
|
+
import './chunk-VZGTPITG.js';
|
|
7
|
+
import './chunk-RWNVQSGX.js';
|
|
8
|
+
import './chunk-SOB4KVRZ.js';
|
|
9
|
+
import './chunk-DRUM7NWK.js';
|
|
10
|
+
import './chunk-3HEBSWNE.js';
|
|
11
|
+
import './chunk-HCIOUSUX.js';
|
|
12
|
+
import './chunk-7VVTZNUP.js';
|
|
13
|
+
import './chunk-OCQ5FQZR.js';
|
|
14
|
+
import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-FSYEDSSA.js';
|
|
15
|
+
import './chunk-2KL345FW.js';
|
|
16
16
|
import './chunk-A2LHHKTT.js';
|
|
17
17
|
import { C, warnDeprecated, API_KEY_FLAG_DEPRECATION, NO_COLOR_FLAG, stripNoColor } from './chunk-2AM6Z5BP.js';
|
|
18
|
-
import './chunk-
|
|
19
|
-
import './chunk-
|
|
18
|
+
import './chunk-2IVRTP6M.js';
|
|
19
|
+
import './chunk-NOBB3LEO.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-FSQDS7A6.js';
|
|
22
|
+
import './chunk-LYORNXIT.js';
|
|
23
|
+
import './chunk-QHT6PIFP.js';
|
|
24
|
+
import './chunk-BU25W7GF.js';
|
|
25
|
+
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-O3TOA2KE.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-V43NFQE3.js';
|
|
32
32
|
import './chunk-NFZMENCY.js';
|
|
33
33
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
34
34
|
import { cliInvocation, packageRunnerOf } from './chunk-FZKNTIOJ.js';
|
|
35
|
-
import { installAgents, settingsFileOf, withSettingsText } from './chunk-
|
|
35
|
+
import { installAgents, settingsFileOf, withSettingsText } from './chunk-RZXP427Z.js';
|
|
36
36
|
import { cliForInstall, SettingsParseError, PORTABLE_BIN, writeSettingsText, cliBinResolvable } from './chunk-ZHQC43NH.js';
|
|
37
|
-
import './chunk-
|
|
37
|
+
import './chunk-LPTMKPCD.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-PJNOTSB5.js';
|
|
41
|
+
import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-OO33S4AF.js';
|
|
42
42
|
import './chunk-PLVHIQJN.js';
|
|
43
43
|
import './chunk-7PZDPISM.js';
|
|
44
44
|
import './chunk-CDDED64E.js';
|
|
45
45
|
import { resolveVersion, resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
46
46
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
47
|
-
import './chunk-
|
|
48
|
-
import './chunk-
|
|
47
|
+
import './chunk-X25VXXCF.js';
|
|
48
|
+
import './chunk-2VNT47DG.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-P5BRWSAP.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-AKKICGLZ.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-GGLBQANZ.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-GAWR7QSH.js');
|
|
3821
|
+
const { resolveRepoIdentity } = await import('./dist-RMEOTTVL.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-GGLBQANZ.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-JLOPXC5U.js');
|
|
3896
|
+
const { fleetReadiness } = await import('./fleet-readiness-FGQPCFSP.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-P5BRWSAP.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-7X22EFRG.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-7X22EFRG.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-IJNDJ4XL.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-GAWR7QSH.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-GAWR7QSH.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-VNPN4FVO.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-F6M2BDT7.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-JHFRUMM5.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-TVHFOLVK.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-UUIHK5TY.js');
|
|
4140
|
+
const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-MQVXSFN4.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-UUIHK5TY.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-YQH4ZSRM.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-M325MH5U.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-DPZAVCWH.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-LDKKFAHH.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-X5F5HUTQ.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;
|
|
@@ -4280,7 +4280,7 @@ function registerEmitCommands(program2) {
|
|
|
4280
4280
|
"after",
|
|
4281
4281
|
`
|
|
4282
4282
|
${cliInvocation()} emit smoke.pass --item 412 --link https://ci.example.com/run/42
|
|
4283
|
-
${cliInvocation()} emit
|
|
4283
|
+
${cliInvocation()} emit design-check --result fail --item 412 --body "The button should be red."
|
|
4284
4284
|
|
|
4285
4285
|
Records that a named check passed or failed, anchored to a work item.
|
|
4286
4286
|
--item is always required, in or out of a recorded session \u2014 there is no
|
|
@@ -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-FTWLKM6G.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-72QEOEJH.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-LFYJURFC.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-KHEMTR5T.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-AZSEQXO4.js');
|
|
4489
4489
|
try {
|
|
4490
4490
|
const result = await runDemoRecord({
|
|
4491
4491
|
file,
|
|
@@ -4534,7 +4534,7 @@ recent events with their ids. --find <text> searches all of them.
|
|
|
4534
4534
|
item that session was launched for is used automatically.
|
|
4535
4535
|
`
|
|
4536
4536
|
).action(async (opts) => {
|
|
4537
|
-
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4537
|
+
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-GFWCMJFY.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-GFWCMJFY.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-J4L2OAWE.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-HTHETRH6.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-VC353JLU.js');
|
|
4707
4707
|
try {
|
|
4708
|
-
await action(await import('./spec-cmd-
|
|
4708
|
+
await action(await import('./spec-cmd-QIVFOHR4.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-VFE7VINC.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-VFE7VINC.js');
|
|
4772
4772
|
try {
|
|
4773
4773
|
const result = await runFindingsResult({
|
|
4774
4774
|
problem,
|
|
@@ -4811,7 +4811,7 @@ takes it, and prints the line that starts your session on it. That
|
|
|
4811
4811
|
session links itself and holds the item's lease while it works.
|
|
4812
4812
|
`
|
|
4813
4813
|
).action(async (opts) => {
|
|
4814
|
-
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-
|
|
4814
|
+
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-VC353JLU.js');
|
|
4815
4815
|
try {
|
|
4816
4816
|
await runWorkBuild(opts);
|
|
4817
4817
|
} catch (err) {
|
|
@@ -4834,7 +4834,7 @@ renews that session's own 20-minute lease, unless --no-lease or
|
|
|
4834
4834
|
--ended is given, or another worker already holds a live one.
|
|
4835
4835
|
`
|
|
4836
4836
|
).action(async (number, opts) => {
|
|
4837
|
-
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-
|
|
4837
|
+
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-VC353JLU.js');
|
|
4838
4838
|
try {
|
|
4839
4839
|
await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
|
|
4840
4840
|
} catch (err) {
|
|
@@ -4865,8 +4865,8 @@ thread at its source. It takes a plain answer: no --criterion and no
|
|
|
4865
4865
|
action flag.
|
|
4866
4866
|
`
|
|
4867
4867
|
).action(async (opts) => {
|
|
4868
|
-
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4869
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4868
|
+
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-SRQXRRJT.js');
|
|
4869
|
+
const { WorkCommandError } = await import('./work-cmd-VC353JLU.js');
|
|
4870
4870
|
try {
|
|
4871
4871
|
await runWorkComment(opts);
|
|
4872
4872
|
} catch (err) {
|
|
@@ -4888,7 +4888,7 @@ nothing and exits 0 when the call fails: the line goes to hook-errors.log,
|
|
|
4888
4888
|
and the comment waits for the next agent job.
|
|
4889
4889
|
`
|
|
4890
4890
|
).action(async (ids, opts) => {
|
|
4891
|
-
const { runWorkCommentsRead } = await import('./work-comment-cmd-
|
|
4891
|
+
const { runWorkCommentsRead } = await import('./work-comment-cmd-SRQXRRJT.js');
|
|
4892
4892
|
await runWorkCommentsRead({ ...opts, commentIds: ids });
|
|
4893
4893
|
});
|
|
4894
4894
|
workCmd.command("threads").description("Read a work item's general thread, its criterion threads and its source threads").requiredOption("--item <number>", "the item's number inside this factory").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").addHelpText(
|
|
@@ -4904,8 +4904,8 @@ that started outside OuterLayer, such as the line comments of a
|
|
|
4904
4904
|
GitHub review, each with its id, source and comments.
|
|
4905
4905
|
`
|
|
4906
4906
|
).action(async (opts) => {
|
|
4907
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4908
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4907
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-SRQXRRJT.js');
|
|
4908
|
+
const { WorkCommandError } = await import('./work-cmd-VC353JLU.js');
|
|
4909
4909
|
try {
|
|
4910
4910
|
await runWorkThreads(opts);
|
|
4911
4911
|
} catch (err) {
|
|
@@ -4929,8 +4929,8 @@ still running, or that an older runner released, has no log and the
|
|
|
4929
4929
|
command exits 1.
|
|
4930
4930
|
`
|
|
4931
4931
|
).action(async (opts) => {
|
|
4932
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
4933
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4932
|
+
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-TMJC7RRS.js');
|
|
4933
|
+
const { WorkCommandError } = await import('./work-cmd-VC353JLU.js');
|
|
4934
4934
|
try {
|
|
4935
4935
|
await runWorkLogs(opts);
|
|
4936
4936
|
} catch (err) {
|
|
@@ -4953,8 +4953,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
4953
4953
|
build is running for the item.
|
|
4954
4954
|
`
|
|
4955
4955
|
).action(async (opts) => {
|
|
4956
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
4957
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4956
|
+
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-J77H7RLL.js');
|
|
4957
|
+
const { WorkCommandError } = await import('./work-cmd-VC353JLU.js');
|
|
4958
4958
|
try {
|
|
4959
4959
|
await runWorkStop(opts);
|
|
4960
4960
|
} catch (err) {
|
|
@@ -4975,8 +4975,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
|
|
|
4975
4975
|
test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
|
|
4976
4976
|
`
|
|
4977
4977
|
).action(async (opts) => {
|
|
4978
|
-
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-
|
|
4979
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4978
|
+
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-INUFIHU4.js');
|
|
4979
|
+
const { WorkCommandError } = await import('./work-cmd-VC353JLU.js');
|
|
4980
4980
|
try {
|
|
4981
4981
|
await runWorkDemo(opts);
|
|
4982
4982
|
} catch (err) {
|
|
@@ -4997,7 +4997,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
4997
4997
|
live addition remains on it.
|
|
4998
4998
|
`
|
|
4999
4999
|
).action(async (opts) => {
|
|
5000
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
5000
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-VC353JLU.js');
|
|
5001
5001
|
try {
|
|
5002
5002
|
await runWorkRemove(opts);
|
|
5003
5003
|
} catch (err) {
|
|
@@ -5009,7 +5009,7 @@ live addition remains on it.
|
|
|
5009
5009
|
}
|
|
5010
5010
|
});
|
|
5011
5011
|
workCmd.command("status").description("Show one item's stage, gate ledger, and additions").option("--item <number>", "the item's number inside this factory").option("--issue <number>", "issue number, or a Linear/Jira key like ENG-123").option(TRACKER_OPTION_FLAG, "tracker for a keyed --issue, when both hold the key").option("--repo <owner/name>", "repository for an issue number (default: the checkout's remote)").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").action(async (opts) => {
|
|
5012
|
-
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-
|
|
5012
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-VC353JLU.js');
|
|
5013
5013
|
try {
|
|
5014
5014
|
await runWorkStatus(opts);
|
|
5015
5015
|
} catch (err) {
|
|
@@ -5057,11 +5057,11 @@ stops at once if a tracked file differs from HEAD.
|
|
|
5057
5057
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5058
5058
|
return;
|
|
5059
5059
|
}
|
|
5060
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5060
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-FXSVPQZC.js');
|
|
5061
5061
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5062
5062
|
});
|
|
5063
5063
|
workCmd.command("list").description("List live work items for this factory").option("--stage <spec|build|review>", "filter by stage").option("--section <attention|waiting|flowing>", "filter by Queue section").option("--repo <owner/name>", "repository (default: the current checkout's remote)").option("--unclaimed", "only items with no live lease").option("--claimed", "only items with a live lease, held by a host or a local session").option("--startable", "only items a host can start: a build request, no open PR, no live lease").option("--needs <amend>", "only items with a thread waiting on an agent").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").action(async (opts) => {
|
|
5064
|
-
const { runWorkList, WorkCommandError } = await import('./work-cmd-
|
|
5064
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-VC353JLU.js');
|
|
5065
5065
|
try {
|
|
5066
5066
|
await runWorkList(opts);
|
|
5067
5067
|
} catch (err) {
|
|
@@ -5082,7 +5082,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
5082
5082
|
it. --host is a label only.
|
|
5083
5083
|
`
|
|
5084
5084
|
).action(async (opts) => {
|
|
5085
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
5085
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-LTIAXIWH.js');
|
|
5086
5086
|
try {
|
|
5087
5087
|
await runWorkClaim(opts);
|
|
5088
5088
|
} catch (err) {
|
|
@@ -5102,7 +5102,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5102
5102
|
lease has expired, or a 403 if a different key holds it.
|
|
5103
5103
|
`
|
|
5104
5104
|
).action(async (opts) => {
|
|
5105
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5105
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-LTIAXIWH.js');
|
|
5106
5106
|
try {
|
|
5107
5107
|
await runWorkRenew(opts);
|
|
5108
5108
|
} catch (err) {
|
|
@@ -5134,7 +5134,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5134
5134
|
takes the lease again.
|
|
5135
5135
|
`
|
|
5136
5136
|
).action(async (opts) => {
|
|
5137
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5137
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-LTIAXIWH.js');
|
|
5138
5138
|
try {
|
|
5139
5139
|
await runWorkRelease(opts);
|
|
5140
5140
|
} catch (err) {
|
|
@@ -5161,7 +5161,7 @@ Idempotent: declaring the same pull request twice is a no-op.
|
|
|
5161
5161
|
needs your own login; an agent session or a factory key is refused.
|
|
5162
5162
|
`
|
|
5163
5163
|
).action(async (number, opts) => {
|
|
5164
|
-
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-
|
|
5164
|
+
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-QSE3BH3Z.js');
|
|
5165
5165
|
try {
|
|
5166
5166
|
await runWorkPr({ ...opts, number });
|
|
5167
5167
|
} catch (err) {
|
|
@@ -5186,8 +5186,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
5186
5186
|
Run it again after a change to the title or description.
|
|
5187
5187
|
`
|
|
5188
5188
|
).action(async (opts) => {
|
|
5189
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
5190
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5189
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-O6XW2YGD.js');
|
|
5190
|
+
const { WorkCommandError } = await import('./work-cmd-VC353JLU.js');
|
|
5191
5191
|
try {
|
|
5192
5192
|
await runWorkOpenPr(opts);
|
|
5193
5193
|
} catch (err) {
|
|
@@ -5231,9 +5231,9 @@ function registerRunnerCommands(program2) {
|
|
|
5231
5231
|
const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
|
|
5232
5232
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5233
5233
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5234
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5235
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5236
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5234
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-4YPIDOHH.js');
|
|
5235
|
+
const { start, RunnerStartError } = await import('./loop-DFDQQC2Q.js');
|
|
5236
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-5E4YPCTC.js');
|
|
5237
5237
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5238
5238
|
try {
|
|
5239
5239
|
const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
|
|
@@ -5255,10 +5255,10 @@ is optional and defaults to ${words().runnerName}. On a later start it refuses v
|
|
|
5255
5255
|
The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
5256
5256
|
`
|
|
5257
5257
|
).action(async () => {
|
|
5258
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5259
|
-
const { containerStart, containerStartExit } = await import('./container-start-
|
|
5260
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5261
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5258
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-4YPIDOHH.js');
|
|
5259
|
+
const { containerStart, containerStartExit } = await import('./container-start-FZCTPBZG.js');
|
|
5260
|
+
const { start, RunnerStartError } = await import('./loop-DFDQQC2Q.js');
|
|
5261
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-5E4YPCTC.js');
|
|
5262
5262
|
try {
|
|
5263
5263
|
const outcome = containerStartExit(await containerStart({
|
|
5264
5264
|
env: process.env,
|
|
@@ -5279,16 +5279,16 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5279
5279
|
"after",
|
|
5280
5280
|
"\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"
|
|
5281
5281
|
).action(async (opts) => {
|
|
5282
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5283
|
-
const { runnerDir } = await import('./paths-
|
|
5284
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5282
|
+
const { defaultRunnerConfigPath } = await import('./config-4YPIDOHH.js');
|
|
5283
|
+
const { runnerDir } = await import('./paths-PSLRVOVY.js');
|
|
5284
|
+
const { runUpdateSteps } = await import('./update-steps-KFULBARX.js');
|
|
5285
5285
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5286
5286
|
process.stdout.write(`${text}
|
|
5287
5287
|
`);
|
|
5288
5288
|
});
|
|
5289
5289
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5290
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5291
|
-
const { runRunnerCheck } = await import('./check-
|
|
5290
|
+
const { defaultRunnerConfigPath } = await import('./config-4YPIDOHH.js');
|
|
5291
|
+
const { runRunnerCheck } = await import('./check-BNDMAAVS.js');
|
|
5292
5292
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5293
5293
|
const result = await runRunnerCheck(configPath);
|
|
5294
5294
|
if (!result.ok) {
|
|
@@ -5309,8 +5309,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5309
5309
|
`);
|
|
5310
5310
|
});
|
|
5311
5311
|
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) => {
|
|
5312
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5313
|
-
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-
|
|
5312
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-4YPIDOHH.js');
|
|
5313
|
+
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-JDA4CNYW.js');
|
|
5314
5314
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5315
5315
|
if (opts.service !== true) {
|
|
5316
5316
|
const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
|
|
@@ -5322,13 +5322,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5322
5322
|
}
|
|
5323
5323
|
}
|
|
5324
5324
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5325
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5325
|
+
if (buildCpusMax !== void 0 && !(await import('./command-3QXN5ZTK.js')).cpusAreValid(buildCpusMax)) {
|
|
5326
5326
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5327
5327
|
return;
|
|
5328
5328
|
}
|
|
5329
5329
|
try {
|
|
5330
5330
|
if (opts.service === true) {
|
|
5331
|
-
const { installServiceCommand, serviceSuccessText } = await import('./command-
|
|
5331
|
+
const { installServiceCommand, serviceSuccessText } = await import('./command-3QXN5ZTK.js');
|
|
5332
5332
|
const result2 = await installServiceCommand({
|
|
5333
5333
|
configPath,
|
|
5334
5334
|
print: opts.print,
|
|
@@ -5382,8 +5382,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5382
5382
|
fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
|
|
5383
5383
|
return;
|
|
5384
5384
|
}
|
|
5385
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5386
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5385
|
+
const { defaultRunnerConfigPath } = await import('./config-4YPIDOHH.js');
|
|
5386
|
+
const { uninstallServiceCommand } = await import('./command-3QXN5ZTK.js');
|
|
5387
5387
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5388
5388
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5389
5389
|
`);
|
|
@@ -5413,13 +5413,13 @@ already in ${words().envFile} is used.
|
|
|
5413
5413
|
printf '%s' "$${words().variables[0]}" | ${cliInvocation()} runner init --agent ${words().runnerName} --factory <org>/<factory>
|
|
5414
5414
|
`
|
|
5415
5415
|
).action(async (opts) => {
|
|
5416
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5417
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5418
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5419
|
-
const { detectMachine } = await import('./machine-
|
|
5420
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5421
|
-
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-
|
|
5422
|
-
const { headlessNames: headlessNames2 } = await import('./runner-agents-
|
|
5416
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-4YPIDOHH.js');
|
|
5417
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-6AAXECDJ.js');
|
|
5418
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-NS5C5TTT.js');
|
|
5419
|
+
const { detectMachine } = await import('./machine-W3R5I6EM.js');
|
|
5420
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-5ZTKM5KM.js');
|
|
5421
|
+
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-3S64BNCU.js');
|
|
5422
|
+
const { headlessNames: headlessNames2 } = await import('./runner-agents-M5CMF2ZA.js');
|
|
5423
5423
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5424
5424
|
if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
|
|
5425
5425
|
fail(`--agent ${opts.agent}: runner init writes commands for ${headlessNames2().join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
|
|
@@ -5431,7 +5431,7 @@ already in ${words().envFile} is used.
|
|
|
5431
5431
|
return;
|
|
5432
5432
|
}
|
|
5433
5433
|
try {
|
|
5434
|
-
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-
|
|
5434
|
+
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-FOR3XGZ2.js');
|
|
5435
5435
|
agent = await initAgent({
|
|
5436
5436
|
flag: agent,
|
|
5437
5437
|
handOff: opts.configStdin === true,
|
|
@@ -5442,7 +5442,7 @@ already in ${words().envFile} is used.
|
|
|
5442
5442
|
if (agent !== void 0) {
|
|
5443
5443
|
const chosen = agent;
|
|
5444
5444
|
const forms = credentialForms((runnerAgentNamed(chosen) ?? credentialAgent()).descriptor);
|
|
5445
|
-
const { readPipedKey } = await import('./login-browser-
|
|
5445
|
+
const { readPipedKey } = await import('./login-browser-VNPN4FVO.js');
|
|
5446
5446
|
const { terminalPrompt: terminalPrompt2 } = await import('./hidden-prompt-UXBFMQC5.js');
|
|
5447
5447
|
const text = await agentCredentialText({
|
|
5448
5448
|
isTTY: process.stdin.isTTY === true,
|
|
@@ -5464,7 +5464,7 @@ already in ${words().envFile} is used.
|
|
|
5464
5464
|
const chunks = [];
|
|
5465
5465
|
for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
|
|
5466
5466
|
const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
|
|
5467
|
-
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-
|
|
5467
|
+
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-QZWN6ECO.js');
|
|
5468
5468
|
const hostKey2 = await ensureHostKey2(configPath);
|
|
5469
5469
|
process.stdout.write(`host key ${hostKey2.fingerprint}
|
|
5470
5470
|
hooks: ${result2.hooks}
|
|
@@ -5519,7 +5519,7 @@ hooks: ${result2.hooks}
|
|
|
5519
5519
|
const prepared = prepareRunnerInit(configPath, { machine, agent, credential, keyFromLogin: makeKey !== void 0 });
|
|
5520
5520
|
const created = makeKey === void 0 ? void 0 : await makeKey();
|
|
5521
5521
|
const result = writeRunnerInit(prepared, created);
|
|
5522
|
-
const { ensureHostKey } = await import('./host-key-
|
|
5522
|
+
const { ensureHostKey } = await import('./host-key-QZWN6ECO.js');
|
|
5523
5523
|
const hostKey = await ensureHostKey(configPath);
|
|
5524
5524
|
if (created !== void 0) {
|
|
5525
5525
|
process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
|
|
@@ -5539,7 +5539,7 @@ hooks: ${result2.hooks}
|
|
|
5539
5539
|
);
|
|
5540
5540
|
process.stdout.write(`${C.green}\u2713${C.reset} hooks: ${result.hooks}${result.hooks === "builtin:vm" ? " (builds run in microVMs)" : " (builds run in containers)"}
|
|
5541
5541
|
`);
|
|
5542
|
-
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-
|
|
5542
|
+
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-JDA4CNYW.js');
|
|
5543
5543
|
let installedLayout = false;
|
|
5544
5544
|
let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
|
|
5545
5545
|
try {
|
|
@@ -5571,7 +5571,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5571
5571
|
let serviceUp = false;
|
|
5572
5572
|
let restart;
|
|
5573
5573
|
if (installedLayout) {
|
|
5574
|
-
const { installServiceCommand } = await import('./command-
|
|
5574
|
+
const { installServiceCommand } = await import('./command-3QXN5ZTK.js');
|
|
5575
5575
|
const service = await installServiceCommand({
|
|
5576
5576
|
configPath,
|
|
5577
5577
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5623,12 +5623,12 @@ image holds this CLI and a pinned ${words().agent}. Nothing runs inside the imag
|
|
|
5623
5623
|
A repository with no devcontainer file builds on the universal image the CLI pins by digest.
|
|
5624
5624
|
`
|
|
5625
5625
|
).action(async (opts) => {
|
|
5626
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5627
|
-
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-
|
|
5626
|
+
const { defaultRunnerConfigPath } = await import('./config-4YPIDOHH.js');
|
|
5627
|
+
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-PTFRHSXI.js');
|
|
5628
5628
|
const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
|
|
5629
|
-
const { createDockerHost } = await import('./docker-
|
|
5630
|
-
const { builderSpec } = await import('./builder-
|
|
5631
|
-
const { loadRunnerConfig } = await import('./config-
|
|
5629
|
+
const { createDockerHost } = await import('./docker-QMKIWXHF.js');
|
|
5630
|
+
const { builderSpec } = await import('./builder-LCIBBOWQ.js');
|
|
5631
|
+
const { loadRunnerConfig } = await import('./config-4YPIDOHH.js');
|
|
5632
5632
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5633
5633
|
const loaded = (() => {
|
|
5634
5634
|
try {
|
|
@@ -5639,12 +5639,12 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5639
5639
|
})();
|
|
5640
5640
|
const memory = loaded?.build?.memory ?? "8g";
|
|
5641
5641
|
try {
|
|
5642
|
-
const { ensureRunnerIdentity } = await import('./runner-identity-
|
|
5642
|
+
const { ensureRunnerIdentity } = await import('./runner-identity-3GMF6FKI.js');
|
|
5643
5643
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5644
5644
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5645
5645
|
});
|
|
5646
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5647
|
-
const { runnerCalls } = await import('./caller-
|
|
5646
|
+
const { imageTargetFor } = await import('./governing-source-NMZSHEHR.js');
|
|
5647
|
+
const { runnerCalls } = await import('./caller-Y3RGYXHU.js');
|
|
5648
5648
|
const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
|
|
5649
5649
|
if (!target.ok) {
|
|
5650
5650
|
if (opts.json) {
|
|
@@ -5708,25 +5708,25 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5708
5708
|
}
|
|
5709
5709
|
});
|
|
5710
5710
|
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) => {
|
|
5711
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5712
|
-
const { requestStop } = await import('./loop-
|
|
5711
|
+
const { defaultRunnerConfigPath } = await import('./config-4YPIDOHH.js');
|
|
5712
|
+
const { requestStop } = await import('./loop-DFDQQC2Q.js');
|
|
5713
5713
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5714
|
-
const { runnerImageVersion } = await import('./image-tag-
|
|
5714
|
+
const { runnerImageVersion } = await import('./image-tag-5TZ7MF5H.js');
|
|
5715
5715
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
5716
5716
|
});
|
|
5717
5717
|
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) => {
|
|
5718
|
-
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-
|
|
5719
|
-
const { jobsDir, runnerDir } = await import('./paths-
|
|
5720
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5721
|
-
const { renderStatus } = await import('./status-
|
|
5722
|
-
const { readHousekeepingRecord } = await import('./record-
|
|
5718
|
+
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-4YPIDOHH.js');
|
|
5719
|
+
const { jobsDir, runnerDir } = await import('./paths-PSLRVOVY.js');
|
|
5720
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-DFDQQC2Q.js');
|
|
5721
|
+
const { renderStatus } = await import('./status-5YK3LOVJ.js');
|
|
5722
|
+
const { readHousekeepingRecord } = await import('./record-7ZMZA5QE.js');
|
|
5723
5723
|
const path2 = await import('path');
|
|
5724
5724
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5725
5725
|
const all = listJobFiles(configPath);
|
|
5726
5726
|
const housekeeping = readHousekeepingRecord(runnerDir(configPath));
|
|
5727
|
-
const { readPendingUpdate } = await import('./pending-
|
|
5727
|
+
const { readPendingUpdate } = await import('./pending-GWDAXQSA.js');
|
|
5728
5728
|
const pendingUpdate = readPendingUpdate(runnerDir(configPath));
|
|
5729
|
-
const { readImageStatus } = await import('./image-tag-
|
|
5729
|
+
const { readImageStatus } = await import('./image-tag-5TZ7MF5H.js');
|
|
5730
5730
|
const image = readImageStatus(runnerDir(configPath));
|
|
5731
5731
|
let host = "unknown";
|
|
5732
5732
|
let concurrency = 1;
|
|
@@ -5736,7 +5736,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5736
5736
|
host = config.host;
|
|
5737
5737
|
concurrency = config.concurrency;
|
|
5738
5738
|
if (config.fleet === true) {
|
|
5739
|
-
const { readFleetState } = await import('./state-
|
|
5739
|
+
const { readFleetState } = await import('./state-5H5LGYWN.js');
|
|
5740
5740
|
fleet = { state: readFleetState(configPath) };
|
|
5741
5741
|
}
|
|
5742
5742
|
} catch {
|
|
@@ -5744,7 +5744,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5744
5744
|
const processState = runnerProcessState(configPath);
|
|
5745
5745
|
const service = await (async () => {
|
|
5746
5746
|
if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
|
|
5747
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
5747
|
+
const { inspectRunnerService } = await import('./find-unit-F3Q54LLR.js');
|
|
5748
5748
|
const facts = inspectRunnerService(configPath);
|
|
5749
5749
|
return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
|
|
5750
5750
|
})();
|
|
@@ -5783,9 +5783,9 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5783
5783
|
);
|
|
5784
5784
|
});
|
|
5785
5785
|
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) => {
|
|
5786
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5787
|
-
const { listJobFiles } = await import('./loop-
|
|
5788
|
-
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-
|
|
5786
|
+
const { defaultRunnerConfigPath } = await import('./config-4YPIDOHH.js');
|
|
5787
|
+
const { listJobFiles } = await import('./loop-DFDQQC2Q.js');
|
|
5788
|
+
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-WPNNAY5E.js');
|
|
5789
5789
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5790
5790
|
const jobs = listJobFiles(configPath);
|
|
5791
5791
|
const selected = selectAttempt(jobs, itemArg);
|
|
@@ -6006,7 +6006,7 @@ Self-host deployments also need --app-id: without a key service to resolve the
|
|
|
6006
6006
|
caller from the bearer token, the gateway answers 401 without that header.
|
|
6007
6007
|
`
|
|
6008
6008
|
).action(async (opts) => {
|
|
6009
|
-
const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-
|
|
6009
|
+
const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-3NHDPAML.js');
|
|
6010
6010
|
try {
|
|
6011
6011
|
if (opts.transport !== void 0 && opts.transport !== "stdio" && opts.transport !== "http") {
|
|
6012
6012
|
throw new McpInstallError(`--transport must be "stdio" or "http", got "${opts.transport}"`);
|
|
@@ -6028,7 +6028,7 @@ caller from the bearer token, the gateway answers 401 without that header.
|
|
|
6028
6028
|
"after",
|
|
6029
6029
|
"\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"
|
|
6030
6030
|
).action(async (opts) => {
|
|
6031
|
-
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-
|
|
6031
|
+
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-CLVZFL37.js');
|
|
6032
6032
|
try {
|
|
6033
6033
|
await runMcpServe({ url: opts.url, appId: opts.appId });
|
|
6034
6034
|
} catch (err) {
|
|
@@ -6049,7 +6049,7 @@ would get, the instruction files and the names of the skills. It warns when the
|
|
|
6049
6049
|
no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
|
|
6050
6050
|
`
|
|
6051
6051
|
).action(async (opts) => {
|
|
6052
|
-
const { runContextShow, ContextShowError } = await import('./context-show-cmd-
|
|
6052
|
+
const { runContextShow, ContextShowError } = await import('./context-show-cmd-YJ4IJ2WI.js');
|
|
6053
6053
|
try {
|
|
6054
6054
|
const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
|
|
6055
6055
|
process.stdout.write(result.output);
|