@outerlayer/cli 0.38.0-next.20261105155912 → 0.38.0-next.20261106003041

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.
Files changed (197) hide show
  1. package/dist/agent-setup-CBEPGNFY.js +40 -0
  2. package/dist/{agent-subcommand-KPQGEOPQ.js → agent-subcommand-UNSXJUHA.js} +6 -6
  3. package/dist/{artifact-link-cmd-72FQTBGO.js → artifact-link-cmd-QP6VO7AJ.js} +2 -2
  4. package/dist/{bridge-F4BNXRM2.js → bridge-JI4IO7JN.js} +9 -9
  5. package/dist/build-2L3L2OJO.js +24 -0
  6. package/dist/build-disk-CKBEEF4N.js +21 -0
  7. package/dist/build-info.json +1 -1
  8. package/dist/builder-PKDA7X2H.js +20 -0
  9. package/dist/caller-XETCC46J.js +23 -0
  10. package/dist/{check-CZM3LZ7Y.js → check-FG32SYJF.js} +59 -59
  11. package/dist/{chunk-K7BI4TLM.js → chunk-256R6O56.js} +20 -7
  12. package/dist/{chunk-HU3POMM4.js → chunk-2MQQASWB.js} +6 -6
  13. package/dist/{chunk-H6H5GCM6.js → chunk-3DVCPRKE.js} +22 -11
  14. package/dist/{chunk-PMBG7IYE.js → chunk-3FAJMXBA.js} +11 -11
  15. package/dist/{chunk-QDM23DTW.js → chunk-3XWZKL2P.js} +10 -10
  16. package/dist/{chunk-3PR7BPMG.js → chunk-45TFVWNT.js} +6 -6
  17. package/dist/{chunk-6XYKZH3K.js → chunk-4MSEUIMK.js} +14 -8
  18. package/dist/{chunk-QAFR65VC.js → chunk-5R5FEPLH.js} +1 -1
  19. package/dist/{chunk-2C3XLYO5.js → chunk-5VAXNAOD.js} +1 -1
  20. package/dist/{chunk-QJKW4MKH.js → chunk-7PZDPISM.js} +54 -2
  21. package/dist/{chunk-YU6XPJ5I.js → chunk-ABN4UBR5.js} +3 -3
  22. package/dist/{chunk-XN4A275V.js → chunk-AJC5Q2NY.js} +23 -13
  23. package/dist/{chunk-HVUS5WRU.js → chunk-AMG5ICDO.js} +4 -4
  24. package/dist/{chunk-IYUJFAQD.js → chunk-AVEF3T6Y.js} +919 -36
  25. package/dist/{chunk-EKRLMOWS.js → chunk-BL6CCU26.js} +7 -7
  26. package/dist/{chunk-3B5H5MGB.js → chunk-BO3NOGKE.js} +3 -3
  27. package/dist/{chunk-BMYIPXBG.js → chunk-CCMKLF7K.js} +6 -6
  28. package/dist/{chunk-DP6ZOSCR.js → chunk-CGXYPLK3.js} +24 -10
  29. package/dist/{chunk-K7KQCOSM.js → chunk-DK5YFDYI.js} +9 -9
  30. package/dist/{chunk-IJN3GP4M.js → chunk-DL5N6V3D.js} +1 -1
  31. package/dist/{chunk-VG524OUD.js → chunk-DVFGCVTV.js} +5 -5
  32. package/dist/{chunk-EVFZUFCO.js → chunk-DXBYNJRM.js} +6 -6
  33. package/dist/{chunk-45UZPTDQ.js → chunk-EERD7VI3.js} +1 -1
  34. package/dist/{chunk-U63SE2NJ.js → chunk-EFAOERZH.js} +1 -1
  35. package/dist/{chunk-64D2YZK5.js → chunk-EHJYXABQ.js} +1 -1
  36. package/dist/{chunk-2FDWTE6F.js → chunk-ERQLHUWU.js} +5 -5
  37. package/dist/{chunk-MPGTKJOM.js → chunk-EXIZ3G6I.js} +6 -6
  38. package/dist/{chunk-KXKVMSHC.js → chunk-FER7JJ3S.js} +1 -1
  39. package/dist/{chunk-OVRLLZPJ.js → chunk-FGVVBYCT.js} +1 -1
  40. package/dist/{chunk-J56SR6X4.js → chunk-FOUG2R4Q.js} +1 -1
  41. package/dist/{chunk-35RIDLSD.js → chunk-GMRVWRHD.js} +2 -2
  42. package/dist/{chunk-LMT72G74.js → chunk-HG2ZG6ZU.js} +1 -1
  43. package/dist/{chunk-2QIK3JRV.js → chunk-IRFN2ZHJ.js} +1 -1
  44. package/dist/{chunk-VVZIFOAN.js → chunk-IXB2IIEW.js} +1 -1
  45. package/dist/{chunk-GMRIR2MF.js → chunk-JTDMSQMI.js} +9 -9
  46. package/dist/{chunk-TOH7FJH3.js → chunk-K6JOU4CT.js} +42 -31
  47. package/dist/{chunk-RVIZRXBK.js → chunk-KLQLQQGG.js} +3 -3
  48. package/dist/{chunk-L25GQH45.js → chunk-L4ACBB5R.js} +1 -1
  49. package/dist/{chunk-7TPLWWFN.js → chunk-M53UNEO6.js} +1 -1
  50. package/dist/{chunk-IG7SBYJY.js → chunk-MDKLSY43.js} +1 -1
  51. package/dist/{chunk-3J7F3VGZ.js → chunk-MPE4NOKD.js} +2 -2
  52. package/dist/{chunk-ZBPUHNUZ.js → chunk-NEEMG462.js} +1 -1
  53. package/dist/{chunk-CUAV3727.js → chunk-O4Z2YVC3.js} +5 -5
  54. package/dist/{chunk-SSSPZ3TB.js → chunk-OFWNBTLU.js} +1 -1
  55. package/dist/{chunk-5YWOGS66.js → chunk-OGQW7A4G.js} +16 -12
  56. package/dist/{chunk-MY6T3N3A.js → chunk-ONOINHY4.js} +1 -1
  57. package/dist/{chunk-XUXDUOJI.js → chunk-OUHM6U6Z.js} +6 -6
  58. package/dist/{chunk-JCEJARDB.js → chunk-PARDL7HH.js} +1 -1
  59. package/dist/{chunk-WWTZLRPH.js → chunk-PLVHIQJN.js} +43 -3
  60. package/dist/{chunk-EOVVSXRH.js → chunk-PMJ6IEUM.js} +7 -7
  61. package/dist/{chunk-OCDG3ZWH.js → chunk-QONY6C2B.js} +9 -9
  62. package/dist/{chunk-FRQPX2QR.js → chunk-QWDGHEQL.js} +3 -3
  63. package/dist/{chunk-AWY7ORQ2.js → chunk-RNCCRUT5.js} +1 -1
  64. package/dist/{chunk-J7MMYBBV.js → chunk-RSRNZB4T.js} +7 -7
  65. package/dist/{chunk-MB7IX6DO.js → chunk-RUJR3SDB.js} +1 -1
  66. package/dist/{chunk-RM3K57Q7.js → chunk-RZ6WJTUP.js} +39 -16
  67. package/dist/{chunk-XQSTN7NG.js → chunk-S7CE7QCF.js} +3 -3
  68. package/dist/{chunk-OV4XTV5M.js → chunk-SF2TBJBP.js} +7 -4
  69. package/dist/{chunk-WHPMCF7R.js → chunk-SMFWLPXC.js} +18 -18
  70. package/dist/{chunk-Y2HVISUN.js → chunk-T524XQKI.js} +1 -1
  71. package/dist/{chunk-2RKPEUGK.js → chunk-TAEDH2SU.js} +1 -1
  72. package/dist/{chunk-W7LJQ2GU.js → chunk-U5EE7PGC.js} +4 -4
  73. package/dist/{chunk-SUMRSD2Q.js → chunk-U7L4GBGS.js} +1 -1
  74. package/dist/{chunk-SKV6FO37.js → chunk-VNT2IRLM.js} +4 -4
  75. package/dist/{chunk-M4WTELYI.js → chunk-VWNQRD4I.js} +4 -4
  76. package/dist/{chunk-D5JJQRW7.js → chunk-WF2NXBOM.js} +9 -9
  77. package/dist/{chunk-5M3KXOPY.js → chunk-X2DX3A7H.js} +2 -2
  78. package/dist/{chunk-VUSYGNNN.js → chunk-XDRZ3BNA.js} +1 -1
  79. package/dist/{chunk-DOKFFSOZ.js → chunk-XE2PXGZT.js} +3 -3
  80. package/dist/{chunk-Y5ZKDLNX.js → chunk-YKWOVYVN.js} +15 -15
  81. package/dist/{chunk-HI5RBFL3.js → chunk-YWWW47OY.js} +14 -9
  82. package/dist/{chunk-2JIGPSVF.js → chunk-YXXJBHHF.js} +20 -4
  83. package/dist/{chunk-KXCTWOPU.js → chunk-YZRDJOOR.js} +3 -3
  84. package/dist/{chunk-GLJX2CZY.js → chunk-Z4R36YDJ.js} +353 -303
  85. package/dist/{chunk-GZETHU2Z.js → chunk-ZCEM4GJ5.js} +3 -3
  86. package/dist/{chunk-VV2VLQWG.js → chunk-ZLJXMXZP.js} +2 -2
  87. package/dist/{chunk-ZEEQB7VM.js → chunk-ZO3RUMUR.js} +5 -5
  88. package/dist/{chunk-HOCVTWV2.js → chunk-ZTJTAKVW.js} +1 -1
  89. package/dist/{claude-launcher-3O5W5ENW.js → claude-launcher-FHQTSQOM.js} +10 -10
  90. package/dist/{cli-YMSYVF7O.js → cli-GNC4MFMP.js} +173 -159
  91. package/dist/{command-ZOWMTOWA.js → command-47EYM2FJ.js} +54 -54
  92. package/dist/{config-J4NNZ2XO.js → config-EA6WVKAS.js} +14 -14
  93. package/dist/{connect-cmd-GVIUKK3R.js → connect-cmd-4JO2LBUT.js} +15 -15
  94. package/dist/{container-start-RZSGWDZG.js → container-start-XR7KANS6.js} +58 -53
  95. package/dist/{context-cleanup-7V2ARBSC.js → context-cleanup-6CTKLEUT.js} +6 -6
  96. package/dist/{context-show-cmd-73E36KAV.js → context-show-cmd-Z7NQAKNE.js} +16 -16
  97. package/dist/{control-plane-launch-L744RJ4A.js → control-plane-launch-4PLBJKBS.js} +17 -17
  98. package/dist/{demo-record-cmd-KGH3WGLY.js → demo-record-cmd-3B2ME2ZI.js} +10 -10
  99. package/dist/{demo-voice-cmd-CHCS7TQF.js → demo-voice-cmd-LIXAA3OS.js} +24 -24
  100. package/dist/{dist-U6EGOQD5.js → dist-3TV6G4YF.js} +2 -2
  101. package/dist/docker-FPEQS6HK.js +20 -0
  102. package/dist/{doctor-NILQ2RUT.js → doctor-AFH6UUX6.js} +59 -59
  103. package/dist/emit-artifact-cmd-5XIEUWFX.js +44 -0
  104. package/dist/{emit-cmd-AG7HL3YI.js → emit-cmd-IKYF27IK.js} +9 -9
  105. package/dist/emit-criteria-cmd-YS5ZSLCN.js +35 -0
  106. package/dist/{emit-demo-cmd-GHDL7ZGH.js → emit-demo-cmd-IDC2JC46.js} +24 -24
  107. package/dist/{emit-finding-cmd-KPHWY6ZU.js → emit-finding-cmd-C4NRTIZO.js} +18 -18
  108. package/dist/{emit-result-cmd-WOJEHOXH.js → emit-result-cmd-GC2I7JQU.js} +22 -22
  109. package/dist/{emit-step-cmd-QTNJBTZN.js → emit-step-cmd-TTH4FYFW.js} +18 -18
  110. package/dist/{exec-client-IPPD3NF4.js → exec-client-DT5EWVQL.js} +10 -10
  111. package/dist/find-unit-337Y4QAC.js +24 -0
  112. package/dist/{findings-cmd-LVYAXHQG.js → findings-cmd-MSV52ODM.js} +18 -18
  113. package/dist/fleet-readiness-O76CSI7M.js +31 -0
  114. package/dist/governing-source-QEFYVBQF.js +41 -0
  115. package/dist/guest-init-X7M5AIOI.js +20 -0
  116. package/dist/{hook-fast-RNST4WJH.js → hook-fast-T6FOTZHA.js} +4 -4
  117. package/dist/{hook-install-G3FUCXBE.js → hook-install-OUSUHQ6C.js} +6 -6
  118. package/dist/{hook-wrap-fast-HNY3OGLN.js → hook-wrap-fast-GVS5HF5C.js} +3 -3
  119. package/dist/host-checks-OXB5J3KR.js +79 -0
  120. package/dist/host-key-UFUIBFBF.js +18 -0
  121. package/dist/{image-tag-5Z2NKCHC.js → image-tag-AE6EKDPV.js} +10 -10
  122. package/dist/index.js +7 -7
  123. package/dist/{init-7OHFUQBV.js → init-PUN3PKOT.js} +50 -50
  124. package/dist/init-V7X3KA7B.js +79 -0
  125. package/dist/{init-agent-B5ADPZIB.js → init-agent-D3KK24QX.js} +51 -51
  126. package/dist/{init-cmd-ZT2PXGPD.js → init-cmd-LGRN3U7K.js} +32 -32
  127. package/dist/{init-update-WYM5WSM7.js → init-update-ZL2J7EQI.js} +27 -27
  128. package/dist/install-cmd-4ID4VBH2.js +21 -0
  129. package/dist/{layout-RPYMSWCY.js → layout-G6K72TXK.js} +6 -6
  130. package/dist/{login-browser-AMCRDS5C.js → login-browser-I6CWBA7K.js} +2 -2
  131. package/dist/{logs-XKEW5EOB.js → logs-DIA3NWC2.js} +9 -9
  132. package/dist/loop-AWBFKDV7.js +90 -0
  133. package/dist/machine-BZPKYURG.js +79 -0
  134. package/dist/{machine-skills-RP2Y5F32.js → machine-skills-JLJJDXBS.js} +6 -6
  135. package/dist/{mcp-install-cmd-IZYHXHXG.js → mcp-install-cmd-OTAX7QP2.js} +6 -6
  136. package/dist/{mcp-serve-cmd-HAIJVRR7.js → mcp-serve-cmd-63KQEQYS.js} +11 -11
  137. package/dist/{paths-6AMRSXZK.js → paths-KVMMJQ7T.js} +9 -9
  138. package/dist/pending-2IE3VBAN.js +18 -0
  139. package/dist/pidfile-NCBBWZNH.js +19 -0
  140. package/dist/record-PQDJVKYV.js +18 -0
  141. package/dist/{relay-CO5I2WOV.js → relay-QDB526DJ.js} +7 -7
  142. package/dist/{relay-protocol-S2JGOYZZ.js → relay-protocol-PJ2HOP6B.js} +7 -7
  143. package/dist/runner-agents-CEW4Z3FR.js +14 -0
  144. package/dist/runner-env-23OLQBQZ.js +24 -0
  145. package/dist/runner-identity-IJKE4SRJ.js +20 -0
  146. package/dist/{runner-key-VCWF2EN7.js → runner-key-4J4MHN3S.js} +50 -50
  147. package/dist/session-sender-HKNACIH5.js +44 -0
  148. package/dist/{shell-function-FTY7SSAJ.js → shell-function-RBJR373S.js} +2 -2
  149. package/dist/{spec-cmd-2WKI4V2T.js → spec-cmd-4R7AYTBU.js} +19 -19
  150. package/dist/{starter-pack-W6S3L76K.js → starter-pack-6C7HPT4O.js} +7 -7
  151. package/dist/state-DPEWDXQN.js +18 -0
  152. package/dist/{status-HHM6TH6J.js → status-GMVC666R.js} +50 -50
  153. package/dist/{statusline-fast-5G2CTPSX.js → statusline-fast-WUXKRABL.js} +3 -3
  154. package/dist/{sync-cmd-TIDWKW4E.js → sync-cmd-UMAENSGZ.js} +22 -22
  155. package/dist/update-steps-GTXNCG3Z.js +80 -0
  156. package/dist/{watch-IA6UDVSF.js → watch-RAUF223H.js} +22 -22
  157. package/dist/{work-claim-cmd-7TLC4DKU.js → work-claim-cmd-A3ISXUFA.js} +24 -24
  158. package/dist/{work-cmd-2LXE27RX.js → work-cmd-U7YLMDZ7.js} +18 -18
  159. package/dist/work-comment-cmd-CMWMOWVG.js +38 -0
  160. package/dist/{work-demo-cmd-CSXUA7KH.js → work-demo-cmd-EKTJHIVM.js} +18 -18
  161. package/dist/{work-logs-cmd-ECF7ZLHO.js → work-logs-cmd-Z3QOFYTJ.js} +18 -18
  162. package/dist/{work-open-pr-cmd-SUJEYZ6C.js → work-open-pr-cmd-NJXIX3QZ.js} +19 -19
  163. package/dist/work-pr-cmd-JUV3SN7I.js +34 -0
  164. package/dist/{work-proofs-cmd-UQU6SSFD.js → work-proofs-cmd-MIDPIFTH.js} +20 -20
  165. package/dist/{work-proofs-record-MKCYQLS2.js → work-proofs-record-6FTMJDQG.js} +29 -29
  166. package/dist/{work-stop-cmd-PBC7SJ7M.js → work-stop-cmd-Z7MYNR7R.js} +18 -18
  167. package/package.json +2 -2
  168. package/skill-pack/maintained/outerlayer-build/references/evidence.md +5 -2
  169. package/dist/agent-setup-RXMEQ7PA.js +0 -40
  170. package/dist/build-ZH5MAZNM.js +0 -24
  171. package/dist/build-disk-GPCMOIZV.js +0 -21
  172. package/dist/builder-ZMVXHOEJ.js +0 -20
  173. package/dist/caller-J7FR4VBJ.js +0 -23
  174. package/dist/docker-CAMJXBAJ.js +0 -20
  175. package/dist/emit-artifact-cmd-CGY656UZ.js +0 -44
  176. package/dist/emit-criteria-cmd-3HYUUSDK.js +0 -35
  177. package/dist/find-unit-N3OJBFS5.js +0 -24
  178. package/dist/fleet-readiness-F46LOKJ6.js +0 -31
  179. package/dist/governing-source-4XYZYZCD.js +0 -41
  180. package/dist/guest-init-CFJM25V5.js +0 -20
  181. package/dist/host-checks-PPTMNHRA.js +0 -79
  182. package/dist/host-key-QUBI74MS.js +0 -18
  183. package/dist/init-5ERGXSUD.js +0 -79
  184. package/dist/install-cmd-3NOHEA6E.js +0 -21
  185. package/dist/loop-HTKTSGBA.js +0 -90
  186. package/dist/machine-RBYGRRSM.js +0 -79
  187. package/dist/pending-C4XQUKWA.js +0 -18
  188. package/dist/pidfile-3BILBCEO.js +0 -19
  189. package/dist/record-MV6WJGZT.js +0 -18
  190. package/dist/runner-agents-FQ4FODZN.js +0 -14
  191. package/dist/runner-env-72OTIZV2.js +0 -24
  192. package/dist/runner-identity-IVP2GW33.js +0 -20
  193. package/dist/session-sender-PWYFVWN6.js +0 -44
  194. package/dist/state-C3FRODOO.js +0 -18
  195. package/dist/update-steps-WD25IX2R.js +0 -80
  196. package/dist/work-comment-cmd-ER53OPLH.js +0 -38
  197. package/dist/work-pr-cmd-FCNFYWUR.js +0 -34
@@ -1,51 +1,51 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-WHPMCF7R.js';
4
- import './chunk-2FDWTE6F.js';
5
- import { verifiedTrackerNames, TRACKERS } from './chunk-GMRIR2MF.js';
6
- import './chunk-IJN3GP4M.js';
7
- import './chunk-DOKFFSOZ.js';
8
- import './chunk-EKRLMOWS.js';
9
- import './chunk-45UZPTDQ.js';
10
- import './chunk-OVRLLZPJ.js';
11
- import './chunk-YU6XPJ5I.js';
12
- import './chunk-MPGTKJOM.js';
13
- import './chunk-VVZIFOAN.js';
14
- import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-HI5RBFL3.js';
15
- import './chunk-ZBPUHNUZ.js';
3
+ import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-SMFWLPXC.js';
4
+ import './chunk-ERQLHUWU.js';
5
+ import { verifiedTrackerNames, TRACKERS } from './chunk-JTDMSQMI.js';
6
+ import './chunk-DL5N6V3D.js';
7
+ import './chunk-XE2PXGZT.js';
8
+ import './chunk-BL6CCU26.js';
9
+ import './chunk-EERD7VI3.js';
10
+ import './chunk-FGVVBYCT.js';
11
+ import './chunk-ABN4UBR5.js';
12
+ import './chunk-EXIZ3G6I.js';
13
+ import './chunk-IXB2IIEW.js';
14
+ import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-YWWW47OY.js';
15
+ import './chunk-NEEMG462.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-Y2HVISUN.js';
19
- import './chunk-VUSYGNNN.js';
18
+ import './chunk-T524XQKI.js';
19
+ import './chunk-XDRZ3BNA.js';
20
20
  import './chunk-HWVMRETT.js';
21
- import './chunk-U63SE2NJ.js';
22
- import './chunk-2C3XLYO5.js';
23
- import './chunk-XUXDUOJI.js';
24
- import './chunk-DP6ZOSCR.js';
25
- import { hookFiredMarkerPath, installedCliDistDir } from './chunk-K7BI4TLM.js';
21
+ import './chunk-EFAOERZH.js';
22
+ import './chunk-5VAXNAOD.js';
23
+ import './chunk-OUHM6U6Z.js';
24
+ import './chunk-CGXYPLK3.js';
25
+ import { hookFiredMarkerPath, installedCliDistDir } from './chunk-256R6O56.js';
26
26
  import './chunk-545P7JY7.js';
27
- import './chunk-OV4XTV5M.js';
27
+ import './chunk-SF2TBJBP.js';
28
28
  import { findGitDirs } from './chunk-BJ3KTMDH.js';
29
- import './chunk-7TPLWWFN.js';
29
+ import './chunk-M53UNEO6.js';
30
30
  import './chunk-BKO6JEZI.js';
31
- import './chunk-SSSPZ3TB.js';
31
+ import './chunk-OFWNBTLU.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-64D2YZK5.js';
35
+ import { installAgents, settingsFileOf, withSettingsText } from './chunk-EHJYXABQ.js';
36
36
  import { cliForInstall, SettingsParseError, PORTABLE_BIN, writeSettingsText, cliBinResolvable } from './chunk-ZHQC43NH.js';
37
- import './chunk-J56SR6X4.js';
37
+ import './chunk-FOUG2R4Q.js';
38
38
  import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
39
39
  import { removeJournalHooks, removePreCommitGuardHook } from './chunk-CJPTUU2E.js';
40
- import { credentialAgent, credentialForms, credentialShapes } from './chunk-RM3K57Q7.js';
41
- import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-IYUJFAQD.js';
42
- import './chunk-WWTZLRPH.js';
43
- import './chunk-QJKW4MKH.js';
40
+ import { headlessNames, credentialForms, runnerAgentNamed, credentialAgent, runnerAgents, orList, credentialShapes } from './chunk-RZ6WJTUP.js';
41
+ import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-AVEF3T6Y.js';
42
+ import './chunk-PLVHIQJN.js';
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-QAFR65VC.js';
48
- import './chunk-2JIGPSVF.js';
47
+ import './chunk-5R5FEPLH.js';
48
+ import './chunk-YXXJBHHF.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-W6S3L76K.js');
3662
+ const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-6C7HPT4O.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-RPYMSWCY.js');
3669
+ const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-G6K72TXK.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-RP2Y5F32.js');
3812
+ const { setupMachineSkills } = await import('./machine-skills-JLJJDXBS.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-GVIUKK3R.js');
3821
- const { resolveRepoIdentity } = await import('./dist-U6EGOQD5.js');
3820
+ const { realConnectDeps } = await import('./connect-cmd-4JO2LBUT.js');
3821
+ const { resolveRepoIdentity } = await import('./dist-3TV6G4YF.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-RP2Y5F32.js');
3838
+ const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-JLJJDXBS.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-WYM5WSM7.js');
3896
- const { fleetReadiness } = await import('./fleet-readiness-F46LOKJ6.js');
3895
+ const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-ZL2J7EQI.js');
3896
+ const { fleetReadiness } = await import('./fleet-readiness-O76CSI7M.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-W6S3L76K.js');
3913
+ const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-6C7HPT4O.js');
3914
3914
  try {
3915
3915
  assertKnownTemplate(opts.template);
3916
3916
  } catch (err) {
@@ -3939,18 +3939,18 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3939
3939
  return;
3940
3940
  }
3941
3941
  if (opts.remove) {
3942
- const { removeShellFunction } = await import('./shell-function-FTY7SSAJ.js');
3942
+ const { removeShellFunction } = await import('./shell-function-RBJR373S.js');
3943
3943
  const changed = removeShellFunction({ home: homeFromEnv() });
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-ZT2PXGPD.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
3947
+ const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-LGRN3U7K.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-ZT2PXGPD.js');
3953
+ const { runInitCommand } = await import('./init-cmd-LGRN3U7K.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-RXMEQ7PA.js');
3965
+ const { runAgentSetup } = await import('./agent-setup-CBEPGNFY.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-GVIUKK3R.js');
3974
+ const { promptOnTerminal } = await import('./connect-cmd-4JO2LBUT.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-GVIUKK3R.js');
4013
+ const { runConnectCommand } = await import('./connect-cmd-4JO2LBUT.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
@@ -4049,7 +4049,7 @@ Every later command reads the saved file, so none of them needs a key on
4049
4049
  its command line. A saved key is checked for real on the first \`sync\`.
4050
4050
  `
4051
4051
  ).action(async (opts) => {
4052
- const { runLoginCommand, realLoginDeps } = await import('./login-browser-AMCRDS5C.js');
4052
+ const { runLoginCommand, realLoginDeps } = await import('./login-browser-I6CWBA7K.js');
4053
4053
  const code = await runLoginCommand(
4054
4054
  {
4055
4055
  browser: opts.browser !== false,
@@ -4082,13 +4082,13 @@ code is 1: revoke the token on /profile/security.
4082
4082
  "\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"
4083
4083
  ).action(async (opts) => {
4084
4084
  if (opts.link !== void 0) {
4085
- const { lookupArtifactLink } = await import('./artifact-link-cmd-72FQTBGO.js');
4085
+ const { lookupArtifactLink } = await import('./artifact-link-cmd-QP6VO7AJ.js');
4086
4086
  const found = lookupArtifactLink(opts.link);
4087
4087
  if (found.ok) process.stdout.write(found.url + "\n");
4088
4088
  else fail(found.reason);
4089
4089
  return;
4090
4090
  }
4091
- const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-TIDWKW4E.js');
4091
+ const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-UMAENSGZ.js');
4092
4092
  try {
4093
4093
  const result = await runSync({
4094
4094
  url: opts.url,
@@ -4117,10 +4117,10 @@ code is 1: revoke the token on /profile/security.
4117
4117
  if (invokedCommandToken(argv) === "watch") {
4118
4118
  warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
4119
4119
  }
4120
- const { runWatch } = await import('./watch-IA6UDVSF.js');
4120
+ const { runWatch } = await import('./watch-RAUF223H.js');
4121
4121
  await runWatch({ once: opts.once });
4122
4122
  });
4123
- program2.command("hook <event>", { hidden: true }).description("capture-hook fast path, installed by `init`").action(() => {
4123
+ 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(() => {
4124
4124
  });
4125
4125
  program2.command("statusline", { hidden: true }).description("Claude Code statusLine command, installed by `init`").option("--wrap-id <base64>", "a pre-existing statusLine command to run first, base64-encoded").action(() => {
4126
4126
  });
@@ -4132,8 +4132,8 @@ code is 1: revoke the token on /profile/security.
4132
4132
  });
4133
4133
  }
4134
4134
  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("--forward <port=target>", "also relay a loopback port to a destination; repeatable", (value, previous) => [...previous, value], []).action(async (opts) => {
4135
- const { startRelay, startSessionRelay } = await import('./relay-CO5I2WOV.js');
4136
- const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-S2JGOYZZ.js');
4135
+ const { startRelay, startSessionRelay } = await import('./relay-QDB526DJ.js');
4136
+ const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-PJ2HOP6B.js');
4137
4137
  const port = Number(opts.port);
4138
4138
  if (!Number.isInteger(port) || port < 1 || port > 65535) {
4139
4139
  fail(opts.port === void 0 ? "--port is required" : `--port must be a port number, not ${opts.port}`);
@@ -4165,7 +4165,7 @@ code is 1: revoke the token on /profile/security.
4165
4165
  await startRelay({ port, socketPath: opts.socket, forwards: forwards.map((forward) => ({ port: forward.port, socketPath: forward.spec })) });
4166
4166
  });
4167
4167
  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) => {
4168
- const { joinRelay } = await import('./relay-CO5I2WOV.js');
4168
+ const { joinRelay } = await import('./relay-QDB526DJ.js');
4169
4169
  try {
4170
4170
  await joinRelay({ socketPath: opts.socket, input: process.stdin, output: process.stdout });
4171
4171
  } catch (err) {
@@ -4181,7 +4181,7 @@ code is 1: revoke the token on /profile/security.
4181
4181
  }
4182
4182
  });
4183
4183
  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) => {
4184
- const { runVmExec } = await import('./exec-client-IPPD3NF4.js');
4184
+ const { runVmExec } = await import('./exec-client-DT5EWVQL.js');
4185
4185
  const env = {};
4186
4186
  for (const entry of opts.env) {
4187
4187
  const eq = entry.indexOf("=");
@@ -4210,7 +4210,7 @@ code is 1: revoke the token on /profile/security.
4210
4210
  process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
4211
4211
  });
4212
4212
  program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
4213
- const { runSessionSender } = await import('./session-sender-PWYFVWN6.js');
4213
+ const { runSessionSender } = await import('./session-sender-HKNACIH5.js');
4214
4214
  try {
4215
4215
  await runSessionSender();
4216
4216
  } catch (err) {
@@ -4218,7 +4218,7 @@ code is 1: revoke the token on /profile/security.
4218
4218
  }
4219
4219
  });
4220
4220
  program2.command("vm-init", { hidden: true }).description("lay out a microVM build's guest; the guest helper runs it").action(async () => {
4221
- const { realGuestHost, runGuestInit } = await import('./guest-init-CFJM25V5.js');
4221
+ const { realGuestHost, runGuestInit } = await import('./guest-init-X7M5AIOI.js');
4222
4222
  const { readFileSync: readFileSync3 } = await import('fs');
4223
4223
  try {
4224
4224
  runGuestInit(realGuestHost(), readFileSync3("/proc/cmdline", "utf8"));
@@ -4227,7 +4227,7 @@ code is 1: revoke the token on /profile/security.
4227
4227
  }
4228
4228
  });
4229
4229
  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) => {
4230
- const { startBridgeForward } = await import('./bridge-F4BNXRM2.js');
4230
+ const { startBridgeForward } = await import('./bridge-JI4IO7JN.js');
4231
4231
  try {
4232
4232
  await startBridgeForward(opts);
4233
4233
  } catch (err) {
@@ -4253,7 +4253,7 @@ async function runCli(processArgv) {
4253
4253
  await buildProgram(argv).parseAsync(argv);
4254
4254
  }
4255
4255
  async function compileContext(opts) {
4256
- const { runEmit, EmitError } = await import('./emit-cmd-AG7HL3YI.js');
4256
+ const { runEmit, EmitError } = await import('./emit-cmd-IKYF27IK.js');
4257
4257
  try {
4258
4258
  const result = runEmit({ cwd: opts.dir, check: opts.check, json: opts.json });
4259
4259
  if (result.exitCode !== 0) process.exitCode = result.exitCode;
@@ -4306,7 +4306,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
4306
4306
  await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
4307
4307
  return;
4308
4308
  }
4309
- const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-WOJEHOXH.js');
4309
+ const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-GC2I7JQU.js');
4310
4310
  try {
4311
4311
  const result = await runEmitResult({
4312
4312
  name,
@@ -4332,7 +4332,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
4332
4332
  });
4333
4333
  emitCmd.command("artifact <file>").description("Emit a proof artifact: screenshot, recording, report, or log").requiredOption("--caption <text>", "what this artifact shows or proves").option("--for <criterion-id>", "id of the criterion this artifact proves (e.g. LOGIN-01)").option(
4334
4334
  "--test <name[=path:line]>",
4335
- "bind only this test of JUnit results; repeatable; =path:line sets its location",
4335
+ "bind only this test of JUnit results; repeatable; =path[:line] sets its file",
4336
4336
  (value, previous = []) => [...previous, value]
4337
4337
  ).option("--replaces <ids>", "artifact id(s) this one corrects; comma-separate 2-20 to retire them all").option("--pr <number>", "pull request number to anchor to").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(
4338
4338
  "after",
@@ -4350,14 +4350,15 @@ nothing to attach it to, the command refuses.
4350
4350
  A JUnit XML file (.xml, root <testsuites> or <testsuite>) bound with --for proves a
4351
4351
  criterion that declares test proof once every bound test passed. Without --test every
4352
4352
  test in the file is bound; each --test binds only that one. Give a test's location with
4353
- --test "name=src/a.test.ts:42" when the runner's file does not carry it.
4353
+ --test "name=src/a.test.ts:42" when the runner's file does not carry it. A file with no
4354
+ line, as in --test "name=src/a.test.ts", is enough for work proofs --record to run it again.
4354
4355
 
4355
4356
  --replaces: an already-uploaded target is marked superseded and hidden
4356
4357
  everywhere, bytes and deep link untouched; a still-queued one is cancelled
4357
4358
  locally so it never uploads. One correction can retire several duplicates.
4358
4359
  `
4359
4360
  ).action(async (file, opts) => {
4360
- const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-CGY656UZ.js');
4361
+ const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-5XIEUWFX.js');
4361
4362
  let pr;
4362
4363
  if (opts.pr !== void 0) {
4363
4364
  pr = parseTrackerNumber(opts.pr);
@@ -4413,7 +4414,7 @@ its criterion, and the new record retires the old record. The id must be the ite
4413
4414
  as \`work demo --item <n> --json\` prints it.
4414
4415
  `
4415
4416
  ).action(async (manifest, opts) => {
4416
- const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-GHDL7ZGH.js');
4417
+ const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-IDC2JC46.js');
4417
4418
  let item;
4418
4419
  if (opts.item !== void 0) {
4419
4420
  item = parseTrackerNumber(opts.item);
@@ -4456,7 +4457,7 @@ as \`work demo --item <n> --json\` prints it.
4456
4457
  }
4457
4458
  });
4458
4459
  program2.command("demo-voice", { hidden: true }).description("Speak demo lines for a recorder: JSON lines in on stdin, out on stdout").action(async () => {
4459
- const { runDemoVoice } = await import('./demo-voice-cmd-CHCS7TQF.js');
4460
+ const { runDemoVoice } = await import('./demo-voice-cmd-LIXAA3OS.js');
4460
4461
  await runDemoVoice();
4461
4462
  });
4462
4463
  const demoCmd = program2.command("demo").description("Record demos with the recorder this CLI carries");
@@ -4474,7 +4475,7 @@ and the command prints the manifest's path for \`emit demo\`. Under \`work proof
4474
4475
  to OUTERLAYER_PROOF_OUT instead. Exit 1 means the demo's test failed; its manifest is written all the same.
4475
4476
  `
4476
4477
  ).action(async (file, opts) => {
4477
- const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-KGH3WGLY.js');
4478
+ const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-3B2ME2ZI.js');
4478
4479
  try {
4479
4480
  const result = await runDemoRecord({
4480
4481
  file,
@@ -4523,7 +4524,7 @@ recent events with their ids. --find <text> searches all of them.
4523
4524
  item that session was launched for is used automatically.
4524
4525
  `
4525
4526
  ).action(async (opts) => {
4526
- const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-KPHWY6ZU.js');
4527
+ const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-C4NRTIZO.js');
4527
4528
  try {
4528
4529
  refuseRemovedFindingFlags(opts);
4529
4530
  const result = await runEmitFinding({
@@ -4590,7 +4591,7 @@ the whole batch. "untimed": true records one with no time on purpose.
4590
4591
  that session was launched for is used automatically.
4591
4592
  `
4592
4593
  ).action(async (file, opts) => {
4593
- const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-KPHWY6ZU.js');
4594
+ const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-C4NRTIZO.js');
4594
4595
  try {
4595
4596
  const result = await runEmitFindings({
4596
4597
  file,
@@ -4625,7 +4626,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
4625
4626
  the step, the command prints why and exits 1.
4626
4627
  `
4627
4628
  ).action(async (name, opts) => {
4628
- const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-QTNJBTZN.js');
4629
+ const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-TTH4FYFW.js');
4629
4630
  try {
4630
4631
  await runEmitStep({
4631
4632
  name,
@@ -4668,7 +4669,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
4668
4669
  ${cliInvocation()} emit criteria acceptance/412-login.md --item 412
4669
4670
  `
4670
4671
  ).action(async (file, opts) => {
4671
- const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-3HYUUSDK.js');
4672
+ const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-YS5ZSLCN.js');
4672
4673
  try {
4673
4674
  const result = await runEmitCriteria({
4674
4675
  file,
@@ -4692,9 +4693,9 @@ function registerSpecCommands(program2) {
4692
4693
  const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
4693
4694
  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)");
4694
4695
  const run = async (action) => {
4695
- const { WorkCommandError } = await import('./work-cmd-2LXE27RX.js');
4696
+ const { WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
4696
4697
  try {
4697
- await action(await import('./spec-cmd-2WKI4V2T.js'));
4698
+ await action(await import('./spec-cmd-4R7AYTBU.js'));
4698
4699
  } catch (err) {
4699
4700
  if (err instanceof WorkCommandError) {
4700
4701
  fail(err.message);
@@ -4729,7 +4730,7 @@ Prints each problem the item covers with its id, its reports and its result.
4729
4730
  session was launched for is used.
4730
4731
  `
4731
4732
  ).action(async (opts) => {
4732
- const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-LVYAXHQG.js');
4733
+ const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-MSV52ODM.js');
4733
4734
  try {
4734
4735
  const result = await runFindingsShow({
4735
4736
  item: opts.item,
@@ -4757,7 +4758,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
4757
4758
  problem to replace the earlier result. A problem the item does not cover is refused.
4758
4759
  `
4759
4760
  ).action(async (problem, opts) => {
4760
- const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-LVYAXHQG.js');
4761
+ const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-MSV52ODM.js');
4761
4762
  try {
4762
4763
  const result = await runFindingsResult({
4763
4764
  problem,
@@ -4800,7 +4801,7 @@ takes it, and prints the line that starts your session on it. That
4800
4801
  session links itself and holds the item's lease while it works.
4801
4802
  `
4802
4803
  ).action(async (opts) => {
4803
- const { runWorkBuild, WorkCommandError } = await import('./work-cmd-2LXE27RX.js');
4804
+ const { runWorkBuild, WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
4804
4805
  try {
4805
4806
  await runWorkBuild(opts);
4806
4807
  } catch (err) {
@@ -4823,7 +4824,7 @@ renews that session's own 20-minute lease, unless --no-lease or
4823
4824
  --ended is given, or another worker already holds a live one.
4824
4825
  `
4825
4826
  ).action(async (number, opts) => {
4826
- const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-2LXE27RX.js');
4827
+ const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
4827
4828
  try {
4828
4829
  await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
4829
4830
  } catch (err) {
@@ -4854,8 +4855,8 @@ thread at its source. It takes a plain answer: no --criterion and no
4854
4855
  action flag.
4855
4856
  `
4856
4857
  ).action(async (opts) => {
4857
- const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-ER53OPLH.js');
4858
- const { WorkCommandError } = await import('./work-cmd-2LXE27RX.js');
4858
+ const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-CMWMOWVG.js');
4859
+ const { WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
4859
4860
  try {
4860
4861
  await runWorkComment(opts);
4861
4862
  } catch (err) {
@@ -4877,7 +4878,7 @@ nothing and exits 0 when the call fails: the line goes to hook-errors.log,
4877
4878
  and the comment waits for the next agent job.
4878
4879
  `
4879
4880
  ).action(async (ids, opts) => {
4880
- const { runWorkCommentsRead } = await import('./work-comment-cmd-ER53OPLH.js');
4881
+ const { runWorkCommentsRead } = await import('./work-comment-cmd-CMWMOWVG.js');
4881
4882
  await runWorkCommentsRead({ ...opts, commentIds: ids });
4882
4883
  });
4883
4884
  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(
@@ -4893,8 +4894,8 @@ that started outside OuterLayer, such as the line comments of a
4893
4894
  GitHub review, each with its id, source and comments.
4894
4895
  `
4895
4896
  ).action(async (opts) => {
4896
- const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-ER53OPLH.js');
4897
- const { WorkCommandError } = await import('./work-cmd-2LXE27RX.js');
4897
+ const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-CMWMOWVG.js');
4898
+ const { WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
4898
4899
  try {
4899
4900
  await runWorkThreads(opts);
4900
4901
  } catch (err) {
@@ -4918,8 +4919,8 @@ still running, or that an older runner released, has no log and the
4918
4919
  command exits 1.
4919
4920
  `
4920
4921
  ).action(async (opts) => {
4921
- const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-ECF7ZLHO.js');
4922
- const { WorkCommandError } = await import('./work-cmd-2LXE27RX.js');
4922
+ const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-Z3QOFYTJ.js');
4923
+ const { WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
4923
4924
  try {
4924
4925
  await runWorkLogs(opts);
4925
4926
  } catch (err) {
@@ -4942,8 +4943,8 @@ item is not built again until a new build request. Exits 1 when no host
4942
4943
  build is running for the item.
4943
4944
  `
4944
4945
  ).action(async (opts) => {
4945
- const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-PBC7SJ7M.js');
4946
- const { WorkCommandError } = await import('./work-cmd-2LXE27RX.js');
4946
+ const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-Z7MYNR7R.js');
4947
+ const { WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
4947
4948
  try {
4948
4949
  await runWorkStop(opts);
4949
4950
  } catch (err) {
@@ -4964,8 +4965,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
4964
4965
  test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
4965
4966
  `
4966
4967
  ).action(async (opts) => {
4967
- const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-CSXUA7KH.js');
4968
- const { WorkCommandError } = await import('./work-cmd-2LXE27RX.js');
4968
+ const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-EKTJHIVM.js');
4969
+ const { WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
4969
4970
  try {
4970
4971
  await runWorkDemo(opts);
4971
4972
  } catch (err) {
@@ -4986,7 +4987,7 @@ deletes anything \u2014 the item is removed from Work only once no
4986
4987
  live addition remains on it.
4987
4988
  `
4988
4989
  ).action(async (opts) => {
4989
- const { runWorkRemove, WorkCommandError } = await import('./work-cmd-2LXE27RX.js');
4990
+ const { runWorkRemove, WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
4990
4991
  try {
4991
4992
  await runWorkRemove(opts);
4992
4993
  } catch (err) {
@@ -4998,7 +4999,7 @@ live addition remains on it.
4998
4999
  }
4999
5000
  });
5000
5001
  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) => {
5001
- const { runWorkStatus, WorkCommandError } = await import('./work-cmd-2LXE27RX.js');
5002
+ const { runWorkStatus, WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
5002
5003
  try {
5003
5004
  await runWorkStatus(opts);
5004
5005
  } catch (err) {
@@ -5046,11 +5047,11 @@ stops at once if a tracked file differs from HEAD.
5046
5047
  fail(trackerNumberError("--pr", opts.pr));
5047
5048
  return;
5048
5049
  }
5049
- const { runWorkProofsCommand } = await import('./work-proofs-cmd-UQU6SSFD.js');
5050
+ const { runWorkProofsCommand } = await import('./work-proofs-cmd-MIDPIFTH.js');
5050
5051
  await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
5051
5052
  });
5052
5053
  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) => {
5053
- const { runWorkList, WorkCommandError } = await import('./work-cmd-2LXE27RX.js');
5054
+ const { runWorkList, WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
5054
5055
  try {
5055
5056
  await runWorkList(opts);
5056
5057
  } catch (err) {
@@ -5071,7 +5072,7 @@ by a different key is refused; claiming again with the same key extends
5071
5072
  it. --host is a label only.
5072
5073
  `
5073
5074
  ).action(async (opts) => {
5074
- const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-7TLC4DKU.js');
5075
+ const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-A3ISXUFA.js');
5075
5076
  try {
5076
5077
  await runWorkClaim(opts);
5077
5078
  } catch (err) {
@@ -5091,7 +5092,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
5091
5092
  lease has expired, or a 403 if a different key holds it.
5092
5093
  `
5093
5094
  ).action(async (opts) => {
5094
- const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-7TLC4DKU.js');
5095
+ const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-A3ISXUFA.js');
5095
5096
  try {
5096
5097
  await runWorkRenew(opts);
5097
5098
  } catch (err) {
@@ -5123,7 +5124,7 @@ applies to a host's lease only. A later tool call in the session
5123
5124
  takes the lease again.
5124
5125
  `
5125
5126
  ).action(async (opts) => {
5126
- const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-7TLC4DKU.js');
5127
+ const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-A3ISXUFA.js');
5127
5128
  try {
5128
5129
  await runWorkRelease(opts);
5129
5130
  } catch (err) {
@@ -5150,7 +5151,7 @@ Idempotent: declaring the same pull request twice is a no-op.
5150
5151
  needs your own login; an agent session or a factory key is refused.
5151
5152
  `
5152
5153
  ).action(async (number, opts) => {
5153
- const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-FCNFYWUR.js');
5154
+ const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-JUV3SN7I.js');
5154
5155
  try {
5155
5156
  await runWorkPr({ ...opts, number });
5156
5157
  } catch (err) {
@@ -5175,8 +5176,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
5175
5176
  Run it again after a change to the title or description.
5176
5177
  `
5177
5178
  ).action(async (opts) => {
5178
- const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-SUJEYZ6C.js');
5179
- const { WorkCommandError } = await import('./work-cmd-2LXE27RX.js');
5179
+ const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-NJXIX3QZ.js');
5180
+ const { WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
5180
5181
  try {
5181
5182
  await runWorkOpenPr(opts);
5182
5183
  } catch (err) {
@@ -5202,15 +5203,27 @@ function runnerHelpWords() {
5202
5203
  starts: credentialShapes(agent.descriptor).map((shape) => shape.starts)
5203
5204
  };
5204
5205
  }
5206
+ function otherAgentsHelp() {
5207
+ const [first, ...others] = runnerAgents();
5208
+ const headless = new Set(headlessNames());
5209
+ return others.filter((agent) => headless.has(credentialForms(agent.descriptor).runnerName)).map((agent) => {
5210
+ const forms = credentialForms(agent.descriptor);
5211
+ const shapes = orList(credentialShapes(agent.descriptor).map((shape) => `${shape.phrase} (${shape.starts}...)`));
5212
+ return `
5213
+ With --agent ${forms.runnerName}, the queue commands start ${agent.descriptor.label}, and its credential is read from stdin: ${shapes}.
5214
+ It is stored in the ${credentialForms(first.descriptor).envFile} beside the config, with the credential of ${first.descriptor.label}.
5215
+ `;
5216
+ }).join("");
5217
+ }
5205
5218
  function registerRunnerCommands(program2) {
5206
5219
  let resolved;
5207
5220
  const words = () => resolved ??= runnerHelpWords();
5208
5221
  const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
5209
5222
  const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
5210
5223
  runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
5211
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-J4NNZ2XO.js');
5212
- const { start, RunnerStartError } = await import('./loop-HTKTSGBA.js');
5213
- const { RunnerAlreadyRunningError } = await import('./pidfile-3BILBCEO.js');
5224
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-EA6WVKAS.js');
5225
+ const { start, RunnerStartError } = await import('./loop-AWBFKDV7.js');
5226
+ const { RunnerAlreadyRunningError } = await import('./pidfile-NCBBWZNH.js');
5214
5227
  const configPath = opts.config ?? defaultRunnerConfigPath();
5215
5228
  try {
5216
5229
  const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
@@ -5232,10 +5245,10 @@ is optional and defaults to ${words().runnerName}. On a later start it refuses v
5232
5245
  The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5233
5246
  `
5234
5247
  ).action(async () => {
5235
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-J4NNZ2XO.js');
5236
- const { containerStart, containerStartExit } = await import('./container-start-RZSGWDZG.js');
5237
- const { start, RunnerStartError } = await import('./loop-HTKTSGBA.js');
5238
- const { RunnerAlreadyRunningError } = await import('./pidfile-3BILBCEO.js');
5248
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-EA6WVKAS.js');
5249
+ const { containerStart, containerStartExit } = await import('./container-start-XR7KANS6.js');
5250
+ const { start, RunnerStartError } = await import('./loop-AWBFKDV7.js');
5251
+ const { RunnerAlreadyRunningError } = await import('./pidfile-NCBBWZNH.js');
5239
5252
  try {
5240
5253
  const outcome = containerStartExit(await containerStart({
5241
5254
  env: process.env,
@@ -5256,16 +5269,16 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5256
5269
  "after",
5257
5270
  "\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"
5258
5271
  ).action(async (opts) => {
5259
- const { defaultRunnerConfigPath } = await import('./config-J4NNZ2XO.js');
5260
- const { runnerDir } = await import('./paths-6AMRSXZK.js');
5261
- const { runUpdateSteps } = await import('./update-steps-WD25IX2R.js');
5272
+ const { defaultRunnerConfigPath } = await import('./config-EA6WVKAS.js');
5273
+ const { runnerDir } = await import('./paths-KVMMJQ7T.js');
5274
+ const { runUpdateSteps } = await import('./update-steps-GTXNCG3Z.js');
5262
5275
  const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
5263
5276
  process.stdout.write(`${text}
5264
5277
  `);
5265
5278
  });
5266
5279
  runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
5267
- const { defaultRunnerConfigPath } = await import('./config-J4NNZ2XO.js');
5268
- const { runRunnerCheck } = await import('./check-CZM3LZ7Y.js');
5280
+ const { defaultRunnerConfigPath } = await import('./config-EA6WVKAS.js');
5281
+ const { runRunnerCheck } = await import('./check-FG32SYJF.js');
5269
5282
  const configPath = opts.config ?? defaultRunnerConfigPath();
5270
5283
  const result = await runRunnerCheck(configPath);
5271
5284
  if (!result.ok) {
@@ -5286,8 +5299,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5286
5299
  `);
5287
5300
  });
5288
5301
  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) => {
5289
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-J4NNZ2XO.js');
5290
- const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-3NOHEA6E.js');
5302
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-EA6WVKAS.js');
5303
+ const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-4ID4VBH2.js');
5291
5304
  const configPath = opts.config ?? defaultRunnerConfigPath();
5292
5305
  if (opts.service !== true) {
5293
5306
  const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
@@ -5299,13 +5312,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5299
5312
  }
5300
5313
  }
5301
5314
  const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
5302
- if (buildCpusMax !== void 0 && !(await import('./command-ZOWMTOWA.js')).cpusAreValid(buildCpusMax)) {
5315
+ if (buildCpusMax !== void 0 && !(await import('./command-47EYM2FJ.js')).cpusAreValid(buildCpusMax)) {
5303
5316
  fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
5304
5317
  return;
5305
5318
  }
5306
5319
  try {
5307
5320
  if (opts.service === true) {
5308
- const { installServiceCommand } = await import('./command-ZOWMTOWA.js');
5321
+ const { installServiceCommand } = await import('./command-47EYM2FJ.js');
5309
5322
  const result2 = await installServiceCommand({
5310
5323
  configPath,
5311
5324
  print: opts.print,
@@ -5362,14 +5375,14 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
5362
5375
  fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
5363
5376
  return;
5364
5377
  }
5365
- const { defaultRunnerConfigPath } = await import('./config-J4NNZ2XO.js');
5366
- const { uninstallServiceCommand } = await import('./command-ZOWMTOWA.js');
5378
+ const { defaultRunnerConfigPath } = await import('./config-EA6WVKAS.js');
5379
+ const { uninstallServiceCommand } = await import('./command-47EYM2FJ.js');
5367
5380
  const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
5368
5381
  if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
5369
5382
  `);
5370
5383
  else fail(result.lines.length > 0 ? result.lines.join("\n ") : "the service was not removed");
5371
5384
  });
5372
- runnerCmd.command("init").description("Write a runner block that fits this machine; on macOS, offers a Linux VM").option("--config <path>", configOption).option("--vm", "on macOS, run the runner in a Linux VM (Lima), with container builds").addOption(new Option("--config-stdin", "the VM-side hand-off: read the whole config as JSON on stdin").hideHelp()).option("--vm-cli-package <path>", "with --vm, install this packed CLI tarball in the VM").option("--unit-name <name>", "the service unit's name, to run a second runner beside the first").option("--agent <name>", "write commands that start this agent (claude); its credential comes on stdin").option("--factory <org/factory>", "factory to create the runner key on, as <org>/<factory>").option("--app-id <id>", "factory id, instead of --factory (Settings \u2192 General)").addHelpText(
5385
+ runnerCmd.command("init").description("Write a runner block that fits this machine; on macOS, offers a Linux VM").option("--config <path>", configOption).option("--vm", "on macOS, run the runner in a Linux VM (Lima), with container builds").addOption(new Option("--config-stdin", "the VM-side hand-off: read the whole config as JSON on stdin").hideHelp()).option("--vm-cli-package <path>", "with --vm, install this packed CLI tarball in the VM").option("--unit-name <name>", "the service unit's name, to run a second runner beside the first").option("--agent <name>", `start this agent in queue commands (${headlessNames().join(", ")}); credential on stdin`).option("--factory <org/factory>", "factory to create the runner key on, as <org>/<factory>").option("--app-id <id>", "factory id, instead of --factory (Settings \u2192 General)").addHelpText(
5373
5386
  "after",
5374
5387
  () => `
5375
5388
  With no apiKey in the config file, and a login saved by \`${cliInvocation()} login\`,
@@ -5389,20 +5402,20 @@ placeholder, and ${words().possessive} credential is read from stdin: a token fr
5389
5402
  never printed, and is stored in the ${words().envFile} beside the config with mode
5390
5403
  600. Any ${words().label} credential line in runner.env is removed. With nothing piped, a credential
5391
5404
  already in ${words().envFile} is used.
5392
-
5405
+ ` + otherAgentsHelp() + `
5393
5406
  printf '%s' "$${words().variables[0]}" | ${cliInvocation()} runner init --agent ${words().runnerName} --factory <org>/<factory>
5394
5407
  `
5395
5408
  ).action(async (opts) => {
5396
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-J4NNZ2XO.js');
5397
- const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-5ERGXSUD.js');
5398
- const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-VCWF2EN7.js');
5399
- const { detectMachine } = await import('./machine-RBYGRRSM.js');
5400
- const { chooseVm, runVmInit, VmInitError } = await import('./init-7OHFUQBV.js');
5401
- const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-72OTIZV2.js');
5402
- const { headlessNames } = await import('./runner-agents-FQ4FODZN.js');
5409
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-EA6WVKAS.js');
5410
+ const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-V7X3KA7B.js');
5411
+ const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-4J4MHN3S.js');
5412
+ const { detectMachine } = await import('./machine-BZPKYURG.js');
5413
+ const { chooseVm, runVmInit, VmInitError } = await import('./init-PUN3PKOT.js');
5414
+ const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-23OLQBQZ.js');
5415
+ const { headlessNames: headlessNames2 } = await import('./runner-agents-CEW4Z3FR.js');
5403
5416
  const configPath = opts.config ?? defaultRunnerConfigPath();
5404
5417
  if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
5405
- fail(`--agent ${opts.agent}: runner init writes commands for ${headlessNames().join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
5418
+ fail(`--agent ${opts.agent}: runner init writes commands for ${headlessNames2().join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
5406
5419
  return;
5407
5420
  }
5408
5421
  let agent = opts.agent;
@@ -5411,7 +5424,7 @@ already in ${words().envFile} is used.
5411
5424
  return;
5412
5425
  }
5413
5426
  try {
5414
- const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-B5ADPZIB.js');
5427
+ const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-D3KK24QX.js');
5415
5428
  agent = await initAgent({
5416
5429
  flag: agent,
5417
5430
  handOff: opts.configStdin === true,
@@ -5421,18 +5434,19 @@ already in ${words().envFile} is used.
5421
5434
  let credential;
5422
5435
  if (agent !== void 0) {
5423
5436
  const chosen = agent;
5424
- const { readPipedKey } = await import('./login-browser-AMCRDS5C.js');
5437
+ const forms = credentialForms((runnerAgentNamed(chosen) ?? credentialAgent()).descriptor);
5438
+ const { readPipedKey } = await import('./login-browser-I6CWBA7K.js');
5425
5439
  const { terminalPrompt: terminalPrompt2 } = await import('./hidden-prompt-UXBFMQC5.js');
5426
5440
  const text = await agentCredentialText({
5427
5441
  isTTY: process.stdin.isTTY === true,
5428
5442
  readPiped: () => readPipedKey(process.stdin, {
5429
- onWaiting: () => process.stderr.write(`runner init is waiting for ${words().possessive} credential on stdin; close stdin to use the one already in ${words().envFile}
5443
+ onWaiting: () => process.stderr.write(`runner init is waiting for ${forms.possessive} credential on stdin; close stdin to use the one already in ${forms.envFile}
5430
5444
  `)
5431
5445
  }),
5432
5446
  secretReader: terminalPrompt2,
5433
5447
  question: () => credentialQuestion(chosen)
5434
5448
  });
5435
- credential = credentialFromStdin(text);
5449
+ credential = credentialFromStdin(text, void 0, chosen);
5436
5450
  }
5437
5451
  const machine = detectMachine();
5438
5452
  if (opts.configStdin === true) {
@@ -5443,7 +5457,7 @@ already in ${words().envFile} is used.
5443
5457
  const chunks = [];
5444
5458
  for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
5445
5459
  const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
5446
- const { ensureHostKey: ensureHostKey2 } = await import('./host-key-QUBI74MS.js');
5460
+ const { ensureHostKey: ensureHostKey2 } = await import('./host-key-UFUIBFBF.js');
5447
5461
  const hostKey2 = await ensureHostKey2(configPath);
5448
5462
  process.stdout.write(`host key ${hostKey2.fingerprint}
5449
5463
  hooks: ${result2.hooks}
@@ -5498,7 +5512,7 @@ hooks: ${result2.hooks}
5498
5512
  const prepared = prepareRunnerInit(configPath, { machine, agent, credential, keyFromLogin: makeKey !== void 0 });
5499
5513
  const created = makeKey === void 0 ? void 0 : await makeKey();
5500
5514
  const result = writeRunnerInit(prepared, created);
5501
- const { ensureHostKey } = await import('./host-key-QUBI74MS.js');
5515
+ const { ensureHostKey } = await import('./host-key-UFUIBFBF.js');
5502
5516
  const hostKey = await ensureHostKey(configPath);
5503
5517
  if (created !== void 0) {
5504
5518
  process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
@@ -5518,7 +5532,7 @@ hooks: ${result2.hooks}
5518
5532
  );
5519
5533
  process.stdout.write(`${C.green}\u2713${C.reset} hooks: ${result.hooks}${result.hooks === "builtin:vm" ? " (builds run in microVMs)" : " (builds run in containers)"}
5520
5534
  `);
5521
- const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-3NOHEA6E.js');
5535
+ const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-4ID4VBH2.js');
5522
5536
  let installedLayout = false;
5523
5537
  let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
5524
5538
  try {
@@ -5550,7 +5564,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
5550
5564
  let serviceUp = false;
5551
5565
  let restart;
5552
5566
  if (installedLayout) {
5553
- const { installServiceCommand } = await import('./command-ZOWMTOWA.js');
5567
+ const { installServiceCommand } = await import('./command-47EYM2FJ.js');
5554
5568
  const service = await installServiceCommand({
5555
5569
  configPath,
5556
5570
  entryPath: process.argv[1] ?? "",
@@ -5602,12 +5616,12 @@ image holds this CLI and a pinned ${words().agent}. Nothing runs inside the imag
5602
5616
  A repository with no devcontainer file builds on the universal image the CLI pins by digest.
5603
5617
  `
5604
5618
  ).action(async (opts) => {
5605
- const { defaultRunnerConfigPath } = await import('./config-J4NNZ2XO.js');
5606
- const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-ZH5MAZNM.js');
5619
+ const { defaultRunnerConfigPath } = await import('./config-EA6WVKAS.js');
5620
+ const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-2L3L2OJO.js');
5607
5621
  const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
5608
- const { createDockerHost } = await import('./docker-CAMJXBAJ.js');
5609
- const { builderSpec } = await import('./builder-ZMVXHOEJ.js');
5610
- const { loadRunnerConfig } = await import('./config-J4NNZ2XO.js');
5622
+ const { createDockerHost } = await import('./docker-FPEQS6HK.js');
5623
+ const { builderSpec } = await import('./builder-PKDA7X2H.js');
5624
+ const { loadRunnerConfig } = await import('./config-EA6WVKAS.js');
5611
5625
  const configPath = opts.config ?? defaultRunnerConfigPath();
5612
5626
  const loaded = (() => {
5613
5627
  try {
@@ -5618,12 +5632,12 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5618
5632
  })();
5619
5633
  const memory = loaded?.build?.memory ?? "8g";
5620
5634
  try {
5621
- const { ensureRunnerIdentity } = await import('./runner-identity-IVP2GW33.js');
5635
+ const { ensureRunnerIdentity } = await import('./runner-identity-IJKE4SRJ.js');
5622
5636
  await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
5623
5637
  console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
5624
5638
  });
5625
- const { imageTargetFor } = await import('./governing-source-4XYZYZCD.js');
5626
- const { runnerCalls } = await import('./caller-J7FR4VBJ.js');
5639
+ const { imageTargetFor } = await import('./governing-source-QEFYVBQF.js');
5640
+ const { runnerCalls } = await import('./caller-XETCC46J.js');
5627
5641
  const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
5628
5642
  if (!target.ok) {
5629
5643
  if (opts.json) {
@@ -5687,25 +5701,25 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5687
5701
  }
5688
5702
  });
5689
5703
  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) => {
5690
- const { defaultRunnerConfigPath } = await import('./config-J4NNZ2XO.js');
5691
- const { requestStop } = await import('./loop-HTKTSGBA.js');
5704
+ const { defaultRunnerConfigPath } = await import('./config-EA6WVKAS.js');
5705
+ const { requestStop } = await import('./loop-AWBFKDV7.js');
5692
5706
  const configPath = opts.config ?? defaultRunnerConfigPath();
5693
- const { runnerImageVersion } = await import('./image-tag-5Z2NKCHC.js');
5707
+ const { runnerImageVersion } = await import('./image-tag-AE6EKDPV.js');
5694
5708
  await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
5695
5709
  });
5696
5710
  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) => {
5697
- const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-J4NNZ2XO.js');
5698
- const { jobsDir, runnerDir } = await import('./paths-6AMRSXZK.js');
5699
- const { listJobFiles, runnerProcessState } = await import('./loop-HTKTSGBA.js');
5700
- const { renderStatus } = await import('./status-HHM6TH6J.js');
5701
- const { readHousekeepingRecord } = await import('./record-MV6WJGZT.js');
5711
+ const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-EA6WVKAS.js');
5712
+ const { jobsDir, runnerDir } = await import('./paths-KVMMJQ7T.js');
5713
+ const { listJobFiles, runnerProcessState } = await import('./loop-AWBFKDV7.js');
5714
+ const { renderStatus } = await import('./status-GMVC666R.js');
5715
+ const { readHousekeepingRecord } = await import('./record-PQDJVKYV.js');
5702
5716
  const path2 = await import('path');
5703
5717
  const configPath = opts.config ?? defaultRunnerConfigPath();
5704
5718
  const all = listJobFiles(configPath);
5705
5719
  const housekeeping = readHousekeepingRecord(runnerDir(configPath));
5706
- const { readPendingUpdate } = await import('./pending-C4XQUKWA.js');
5720
+ const { readPendingUpdate } = await import('./pending-2IE3VBAN.js');
5707
5721
  const pendingUpdate = readPendingUpdate(runnerDir(configPath));
5708
- const { readImageStatus } = await import('./image-tag-5Z2NKCHC.js');
5722
+ const { readImageStatus } = await import('./image-tag-AE6EKDPV.js');
5709
5723
  const image = readImageStatus(runnerDir(configPath));
5710
5724
  let host = "unknown";
5711
5725
  let concurrency = 1;
@@ -5715,7 +5729,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5715
5729
  host = config.host;
5716
5730
  concurrency = config.concurrency;
5717
5731
  if (config.fleet === true) {
5718
- const { readFleetState } = await import('./state-C3FRODOO.js');
5732
+ const { readFleetState } = await import('./state-DPEWDXQN.js');
5719
5733
  fleet = { state: readFleetState(configPath) };
5720
5734
  }
5721
5735
  } catch {
@@ -5723,7 +5737,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5723
5737
  const processState = runnerProcessState(configPath);
5724
5738
  const service = await (async () => {
5725
5739
  if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
5726
- const { inspectRunnerService } = await import('./find-unit-N3OJBFS5.js');
5740
+ const { inspectRunnerService } = await import('./find-unit-337Y4QAC.js');
5727
5741
  const facts = inspectRunnerService(configPath);
5728
5742
  return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
5729
5743
  })();
@@ -5762,9 +5776,9 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5762
5776
  );
5763
5777
  });
5764
5778
  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) => {
5765
- const { defaultRunnerConfigPath } = await import('./config-J4NNZ2XO.js');
5766
- const { listJobFiles } = await import('./loop-HTKTSGBA.js');
5767
- const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-XKEW5EOB.js');
5779
+ const { defaultRunnerConfigPath } = await import('./config-EA6WVKAS.js');
5780
+ const { listJobFiles } = await import('./loop-AWBFKDV7.js');
5781
+ const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-DIA3NWC2.js');
5768
5782
  const configPath = opts.config ?? defaultRunnerConfigPath();
5769
5783
  const jobs = listJobFiles(configPath);
5770
5784
  const selected = selectAttempt(jobs, itemArg);
@@ -5985,7 +5999,7 @@ Self-host deployments also need --app-id: without a key service to resolve the
5985
5999
  caller from the bearer token, the gateway answers 401 without that header.
5986
6000
  `
5987
6001
  ).action(async (opts) => {
5988
- const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-IZYHXHXG.js');
6002
+ const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-OTAX7QP2.js');
5989
6003
  try {
5990
6004
  if (opts.transport !== void 0 && opts.transport !== "stdio" && opts.transport !== "http") {
5991
6005
  throw new McpInstallError(`--transport must be "stdio" or "http", got "${opts.transport}"`);
@@ -6007,7 +6021,7 @@ caller from the bearer token, the gateway answers 401 without that header.
6007
6021
  "after",
6008
6022
  "\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"
6009
6023
  ).action(async (opts) => {
6010
- const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-HAIJVRR7.js');
6024
+ const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-63KQEQYS.js');
6011
6025
  try {
6012
6026
  await runMcpServe({ url: opts.url, appId: opts.appId });
6013
6027
  } catch (err) {
@@ -6028,7 +6042,7 @@ would get, the instruction files and the names of the skills. It warns when the
6028
6042
  no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
6029
6043
  `
6030
6044
  ).action(async (opts) => {
6031
- const { runContextShow, ContextShowError } = await import('./context-show-cmd-73E36KAV.js');
6045
+ const { runContextShow, ContextShowError } = await import('./context-show-cmd-Z7NQAKNE.js');
6032
6046
  try {
6033
6047
  const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
6034
6048
  process.stdout.write(result.output);