@outerlayer/cli 0.38.0-next.20261109143949 → 0.38.0-next.20261110130701

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 (203) hide show
  1. package/README.md +20 -3
  2. package/dist/agent-setup-GZBGCV3K.js +40 -0
  3. package/dist/{agent-subcommand-DCOPM2NX.js → agent-subcommand-5PNHUNZZ.js} +5 -5
  4. package/dist/{artifact-link-cmd-RUGAK5EX.js → artifact-link-cmd-XOFZP7U5.js} +2 -2
  5. package/dist/{bridge-HZRJYECQ.js → bridge-RNM7OWRW.js} +8 -8
  6. package/dist/{build-3LXKCCJF.js → build-VKO7IVOQ.js} +14 -14
  7. package/dist/{build-disk-TYX6DU5R.js → build-disk-M2JYJF6R.js} +12 -12
  8. package/dist/build-info.json +1 -1
  9. package/dist/{builder-VYKWHAUQ.js → builder-HMHJ6U7C.js} +11 -11
  10. package/dist/caller-U26SATTV.js +23 -0
  11. package/dist/{check-YUKNUSAS.js → check-SJCTNS7N.js} +60 -60
  12. package/dist/{chunk-5OBQBINA.js → chunk-2TXYQANG.js} +1 -1
  13. package/dist/{chunk-6EN72I2O.js → chunk-2WNJ2MHD.js} +1 -1
  14. package/dist/{chunk-F3MEL6B6.js → chunk-3DY4DQOC.js} +5 -5
  15. package/dist/{chunk-LYWLBZ37.js → chunk-3GTAPQBG.js} +2 -2
  16. package/dist/{chunk-U463IFDK.js → chunk-3HJK7WTM.js} +8 -8
  17. package/dist/{chunk-O4Q7GPKU.js → chunk-3W5JLANR.js} +3 -3
  18. package/dist/{chunk-22QIA7SH.js → chunk-47JRSV6Y.js} +1 -1
  19. package/dist/{chunk-RVDXHF2M.js → chunk-4EJHQYVI.js} +255 -50
  20. package/dist/{chunk-KX4JKW4Z.js → chunk-5QDHJT73.js} +7 -4
  21. package/dist/{chunk-X45WDWSV.js → chunk-5QFFQCSY.js} +1 -1
  22. package/dist/{chunk-HGWDBTQ3.js → chunk-6RQP5GP5.js} +3 -3
  23. package/dist/{chunk-5TZCV6JB.js → chunk-6XMC6R4W.js} +1 -1
  24. package/dist/{chunk-T63WTVGY.js → chunk-6XROZIV6.js} +8 -8
  25. package/dist/{chunk-GECHL3NC.js → chunk-72LXVD4O.js} +4 -4
  26. package/dist/{chunk-C3K54KRU.js → chunk-735C5J6Q.js} +7 -7
  27. package/dist/{chunk-JMWCPEKP.js → chunk-7E55P2NR.js} +2 -2
  28. package/dist/{chunk-LO3PSFNT.js → chunk-AC6DM3S3.js} +1 -1
  29. package/dist/{chunk-JAURZKSE.js → chunk-ALCZ2SEW.js} +5 -5
  30. package/dist/{chunk-HUP2CGX4.js → chunk-AS4NMHJM.js} +3 -3
  31. package/dist/{chunk-CDDED64E.js → chunk-ATEMEVFF.js} +1 -1
  32. package/dist/{chunk-RMXRQ3OC.js → chunk-ATQHPT3B.js} +1 -1
  33. package/dist/{chunk-7TM2E4RI.js → chunk-B4U5XI4F.js} +69 -9
  34. package/dist/{chunk-2DVQHK37.js → chunk-B5Z4VA4Q.js} +1 -1
  35. package/dist/{chunk-LIH6CIVB.js → chunk-BCQFMAGM.js} +3 -3
  36. package/dist/{chunk-LIMJRKIU.js → chunk-BTH6HTE5.js} +5 -5
  37. package/dist/{chunk-WGC7UFRM.js → chunk-C2PZOLN7.js} +3 -2
  38. package/dist/{chunk-IG5ZZG7R.js → chunk-C574RHGN.js} +3 -3
  39. package/dist/{chunk-4LUHKCDO.js → chunk-CXXQQST7.js} +26 -15
  40. package/dist/{chunk-4K2EMRJP.js → chunk-DKDBMMX7.js} +6 -6
  41. package/dist/{chunk-DX27B42J.js → chunk-EHPKACA7.js} +1 -1
  42. package/dist/{chunk-RVYMYTXX.js → chunk-ENHD5PNW.js} +1 -1
  43. package/dist/{chunk-EGKYININ.js → chunk-F2ADK2KB.js} +5 -5
  44. package/dist/{chunk-GVK7AKFX.js → chunk-FGBBGUM4.js} +10 -8
  45. package/dist/{chunk-HE53NIRE.js → chunk-FXVHF6RX.js} +54 -4
  46. package/dist/{chunk-H3YHAO7L.js → chunk-GJMLLXZJ.js} +1 -1
  47. package/dist/{chunk-4EQQS3VJ.js → chunk-HDEYRLWK.js} +1 -1
  48. package/dist/{chunk-G7HNRAXN.js → chunk-HJK2KI3Q.js} +16 -16
  49. package/dist/{chunk-2J3X2Z4F.js → chunk-I2N427GS.js} +8 -8
  50. package/dist/{chunk-NFZMENCY.js → chunk-I45HTSSA.js} +1 -1
  51. package/dist/{chunk-2XEQCSCQ.js → chunk-IGO766M6.js} +4 -4
  52. package/dist/{chunk-TNAUQADA.js → chunk-ITOIM3WV.js} +1 -1
  53. package/dist/{chunk-CCEP5WBI.js → chunk-IVB6A3I7.js} +13 -11
  54. package/dist/{chunk-SLR6QAOE.js → chunk-L32O52SH.js} +1 -1
  55. package/dist/{chunk-TTG6Y7G7.js → chunk-L6CZTRNW.js} +2 -2
  56. package/dist/{chunk-4OD45RBP.js → chunk-LGJ56FCM.js} +11 -2
  57. package/dist/{chunk-N2QYP3NQ.js → chunk-MBPBYMHU.js} +565 -16
  58. package/dist/{chunk-X56UUEHE.js → chunk-MSARYPFD.js} +12 -3
  59. package/dist/{chunk-OKELGJNN.js → chunk-MT4XF5OL.js} +3 -3
  60. package/dist/{chunk-QP6SPQU5.js → chunk-NE7EG3SN.js} +6 -6
  61. package/dist/{chunk-JKRVSEK7.js → chunk-OEWSICWM.js} +8 -8
  62. package/dist/{chunk-DEWD22FA.js → chunk-OI4ZV7MJ.js} +1 -1
  63. package/dist/{chunk-IJ4DF5QS.js → chunk-OK4RSIB2.js} +1 -1
  64. package/dist/{chunk-PM4YDVAX.js → chunk-OWEJP5HJ.js} +1 -1
  65. package/dist/{chunk-Z4R73UUH.js → chunk-PA6FKP5B.js} +7 -7
  66. package/dist/{chunk-KFHF3GBH.js → chunk-QFQ2UNZU.js} +6 -6
  67. package/dist/{chunk-D7KYG37D.js → chunk-QGUCHNSQ.js} +82 -16
  68. package/dist/{chunk-OYBBYENC.js → chunk-QNHBJU74.js} +8 -8
  69. package/dist/{chunk-LOG4LBUY.js → chunk-RBLXGO5K.js} +2 -2
  70. package/dist/{chunk-KIYP5TML.js → chunk-SBPMDO47.js} +1 -1
  71. package/dist/{chunk-6JW2L7UV.js → chunk-SKGUS2CB.js} +11 -11
  72. package/dist/{chunk-NHT7RHAI.js → chunk-TD6DN5LU.js} +3 -3
  73. package/dist/{chunk-TFR6S7ZB.js → chunk-TUEEGFAQ.js} +10 -10
  74. package/dist/{chunk-ZWWU7COR.js → chunk-TUSIYONR.js} +1 -1
  75. package/dist/{chunk-UCDCPQXU.js → chunk-TW2V2IQ4.js} +1 -1
  76. package/dist/{chunk-GTKR2YEZ.js → chunk-UCUBQWJC.js} +1 -1
  77. package/dist/{chunk-EI6JYZ42.js → chunk-UUSSRXUJ.js} +3 -3
  78. package/dist/{chunk-OPGF3FUY.js → chunk-VRWZNI6U.js} +2 -2
  79. package/dist/{chunk-B3ILHK4Q.js → chunk-VU5PPWIQ.js} +8 -8
  80. package/dist/{chunk-LA5UO6LI.js → chunk-WH2QUYXH.js} +5 -4
  81. package/dist/{chunk-HW7QPCOP.js → chunk-WVMKXDOW.js} +148 -53
  82. package/dist/{chunk-LLVBDIQJ.js → chunk-XAR2CJFV.js} +7 -7
  83. package/dist/{chunk-BFWZGLUU.js → chunk-XCTE5S2C.js} +1 -1
  84. package/dist/{chunk-NR3FDUWS.js → chunk-XFODM3V7.js} +7 -7
  85. package/dist/{chunk-BDTFO5S7.js → chunk-XFU37HIM.js} +3 -3
  86. package/dist/{chunk-Q6ANHBJK.js → chunk-YO2NPS66.js} +1 -1
  87. package/dist/chunk-YOAJLD2D.js +270 -0
  88. package/dist/{chunk-MMSFADKC.js → chunk-YZQYTOCR.js} +1 -1
  89. package/dist/{claude-launcher-YDSG5XIN.js → claude-launcher-WMIUTAXY.js} +8 -8
  90. package/dist/{cli-7VKJRQWW.js → cli-R5SJT3YL.js} +233 -156
  91. package/dist/{cli-update-notice-AWYJ4A7R.js → cli-update-notice-OC4SOSZE.js} +2 -2
  92. package/dist/{command-3WAJBJWX.js → command-LWMX6I7W.js} +55 -54
  93. package/dist/{config-O2LJAZJZ.js → config-ZRGYLVDX.js} +13 -13
  94. package/dist/{connect-cmd-3DBWVCUL.js → connect-cmd-MZXTWM4R.js} +15 -15
  95. package/dist/{container-start-T4GH4WLX.js → container-start-VQR5ERZE.js} +53 -52
  96. package/dist/{context-cleanup-Z23RX7JT.js → context-cleanup-Z3HZZZXW.js} +5 -5
  97. package/dist/{context-show-cmd-OGRCR5OT.js → context-show-cmd-SCOVPVDM.js} +16 -16
  98. package/dist/{control-plane-launch-JZPULKCL.js → control-plane-launch-MWZHJ4G5.js} +16 -16
  99. package/dist/{demo-record-cmd-YPWPHDAN.js → demo-record-cmd-4RVSWVMK.js} +9 -9
  100. package/dist/{demo-voice-cmd-TNZ2G5CJ.js → demo-voice-cmd-PGM5JPCQ.js} +24 -24
  101. package/dist/{dist-OMJJT636.js → dist-XEPPXF4M.js} +2 -2
  102. package/dist/docker-25F2KOBJ.js +20 -0
  103. package/dist/{doctor-KHAB6YWH.js → doctor-3QJLCHQY.js} +55 -54
  104. package/dist/emit-artifact-cmd-Z4SHPKFT.js +44 -0
  105. package/dist/{emit-cmd-3YOUQCID.js → emit-cmd-NHMZ4M5S.js} +8 -8
  106. package/dist/emit-criteria-cmd-HCN3DOJM.js +35 -0
  107. package/dist/{emit-demo-cmd-3UBPYRAM.js → emit-demo-cmd-NOSQTOES.js} +24 -24
  108. package/dist/emit-finding-cmd-YXR3ZVCJ.js +36 -0
  109. package/dist/{emit-result-cmd-KRUV7V74.js → emit-result-cmd-Z7MBE37R.js} +22 -22
  110. package/dist/emit-step-cmd-JOSYDSEO.js +35 -0
  111. package/dist/{exec-client-WJLO2KWS.js → exec-client-SZRXXKJ5.js} +9 -9
  112. package/dist/find-unit-3RHC4375.js +24 -0
  113. package/dist/{findings-cmd-3JP4GYD3.js → findings-cmd-NGFY25WZ.js} +20 -20
  114. package/dist/{fleet-readiness-U4IZZV52.js → fleet-readiness-NWIVQQ4P.js} +16 -16
  115. package/dist/governing-source-DNWVPRXP.js +41 -0
  116. package/dist/guest-init-T7QJW2AJ.js +20 -0
  117. package/dist/{hook-fast-2ENS5AKU.js → hook-fast-ECQBMESE.js} +3 -3
  118. package/dist/{hook-install-JTYPE5ZQ.js → hook-install-MBMG3G6B.js} +5 -5
  119. package/dist/host-checks-EHSA6FLE.js +80 -0
  120. package/dist/host-key-6SMJUTJ2.js +18 -0
  121. package/dist/{image-tag-EX2R462S.js → image-tag-OCVY4W5D.js} +9 -9
  122. package/dist/index.js +4 -4
  123. package/dist/{init-7F2KP6XU.js → init-ETG7XYFQ.js} +51 -50
  124. package/dist/init-F7NB7GBW.js +80 -0
  125. package/dist/{init-agent-RJSMNEWD.js → init-agent-WEYGBAII.js} +51 -50
  126. package/dist/{init-cmd-F72BWVFC.js → init-cmd-KGM7TN6Z.js} +29 -29
  127. package/dist/{init-update-ZWSICDTJ.js → init-update-EUJ4264S.js} +26 -26
  128. package/dist/install-cmd-HWG6LJX5.js +21 -0
  129. package/dist/{layout-4FLIBRPO.js → layout-CGE4KWGO.js} +5 -5
  130. package/dist/{login-browser-ZEOXKIQ2.js → login-browser-G7WNR74C.js} +2 -2
  131. package/dist/{logs-BWGJ2BVT.js → logs-TKWJ4S4W.js} +8 -8
  132. package/dist/loop-K3QREUHK.js +90 -0
  133. package/dist/machine-5GTYN2LP.js +80 -0
  134. package/dist/{machine-skills-UEQA3AUX.js → machine-skills-CXA57QHE.js} +5 -5
  135. package/dist/{mcp-install-cmd-DBKKGLHW.js → mcp-install-cmd-6IGK65DV.js} +5 -5
  136. package/dist/{mcp-serve-cmd-LFXU5UGJ.js → mcp-serve-cmd-DVE5XP2U.js} +11 -11
  137. package/dist/{paths-CSZZQK3X.js → paths-VOWYUJLZ.js} +8 -8
  138. package/dist/pending-35ML3JE5.js +18 -0
  139. package/dist/{pidfile-TTIUEDXW.js → pidfile-MFP6B2KV.js} +9 -9
  140. package/dist/{record-U7DU6IVT.js → record-AWCJ3LTG.js} +9 -9
  141. package/dist/{relay-KZTGUSFJ.js → relay-YVZM5M6B.js} +6 -6
  142. package/dist/{relay-protocol-LG4J5K63.js → relay-protocol-MNWITORT.js} +6 -6
  143. package/dist/run-cmd-MBH5Z2UL.js +114 -0
  144. package/dist/{runner-agents-32J743FJ.js → runner-agents-L3PLYFWJ.js} +5 -5
  145. package/dist/runner-env-IHWYZ3B6.js +24 -0
  146. package/dist/{runner-identity-VQCIKNBK.js → runner-identity-E2XKIJNB.js} +11 -11
  147. package/dist/{runner-key-TFFPQCGE.js → runner-key-3AHJX75Z.js} +51 -50
  148. package/dist/session-sender-IS6S7PBC.js +44 -0
  149. package/dist/{spec-cmd-RQFIJ75J.js → spec-cmd-ZLDYL4N5.js} +21 -21
  150. package/dist/{starter-pack-LO3D6CPP.js → starter-pack-XINCCMDN.js} +6 -6
  151. package/dist/state-NIA6XT7D.js +18 -0
  152. package/dist/{status-KGZWBU26.js → status-GZ7KAIMH.js} +51 -50
  153. package/dist/{sync-cmd-4RSCWFAF.js → sync-cmd-3YZ4IB3T.js} +22 -22
  154. package/dist/update-steps-XY46I7FV.js +81 -0
  155. package/dist/{watch-NH5QZJLE.js → watch-LIIODJ5U.js} +22 -22
  156. package/dist/{work-claim-cmd-FNE2ZMVG.js → work-claim-cmd-GWBWIZ43.js} +25 -25
  157. package/dist/work-cmd-CJWTGOU5.js +33 -0
  158. package/dist/work-comment-cmd-RFVCNEET.js +39 -0
  159. package/dist/{work-demo-cmd-56C6JQD3.js → work-demo-cmd-Q2GKJCVL.js} +18 -18
  160. package/dist/{work-launch-LWDQXLGI.js → work-launch-ODTGCNJC.js} +1 -1
  161. package/dist/{work-logs-cmd-XKVZ2UY6.js → work-logs-cmd-KZQBPU2J.js} +18 -18
  162. package/dist/{work-needs-attention-cmd-DYD3AIRU.js → work-needs-attention-cmd-L3DOYAMK.js} +18 -18
  163. package/dist/{work-no-change-cmd-QVD67UG5.js → work-no-change-cmd-SHP25CJB.js} +18 -18
  164. package/dist/{work-open-pr-cmd-3SSJPKHW.js → work-open-pr-cmd-VATPLVSL.js} +20 -20
  165. package/dist/work-pr-cmd-XBLNONT3.js +34 -0
  166. package/dist/work-proofs-cmd-T5WZG3CX.js +37 -0
  167. package/dist/{work-proofs-record-KEZ6Z4QH.js → work-proofs-record-6YF4BS3K.js} +28 -28
  168. package/dist/{work-stop-cmd-4KNMURDC.js → work-stop-cmd-BLOSL24H.js} +18 -18
  169. package/package.json +2 -2
  170. package/skill-pack/maintained/outerlayer-amend/SKILL.md +1 -0
  171. package/skill-pack/maintained/outerlayer-amend/references/attachments.md +23 -0
  172. package/skill-pack/maintained/outerlayer-build/SKILL.md +5 -0
  173. package/skill-pack/maintained/outerlayer-cli/SKILL.md +9 -0
  174. package/skill-pack/maintained/outerlayer-run/SKILL.md +49 -0
  175. package/skill-pack/shipped.json +2 -0
  176. package/skill-pack/template/spec/SKILL.md +10 -11
  177. package/skill-pack/template/writing-specs/SKILL.md +18 -22
  178. package/dist/agent-setup-MLSWF7RF.js +0 -40
  179. package/dist/caller-VU7QBFHQ.js +0 -23
  180. package/dist/chunk-UNA4YIHE.js +0 -128
  181. package/dist/docker-MOESJVCB.js +0 -20
  182. package/dist/emit-artifact-cmd-W7YBXLA7.js +0 -44
  183. package/dist/emit-criteria-cmd-KZW275Q2.js +0 -35
  184. package/dist/emit-finding-cmd-NL6H2PBJ.js +0 -36
  185. package/dist/emit-step-cmd-SHBIO2JI.js +0 -35
  186. package/dist/find-unit-YNIILXQK.js +0 -24
  187. package/dist/governing-source-VZFU65KP.js +0 -41
  188. package/dist/guest-init-HIKD3MHJ.js +0 -20
  189. package/dist/host-checks-HZLHQ6WH.js +0 -79
  190. package/dist/host-key-V2VVCBGR.js +0 -18
  191. package/dist/init-XTTWPX6J.js +0 -79
  192. package/dist/install-cmd-LX76Y7NB.js +0 -21
  193. package/dist/loop-O5JBFZXP.js +0 -90
  194. package/dist/machine-LGJSYGQS.js +0 -79
  195. package/dist/pending-BHRSEFXV.js +0 -18
  196. package/dist/runner-env-RGYTHURZ.js +0 -24
  197. package/dist/session-sender-3VFTMIM3.js +0 -44
  198. package/dist/state-IH6JOEJZ.js +0 -18
  199. package/dist/update-steps-3LU3NZQL.js +0 -80
  200. package/dist/work-cmd-32J5UQJO.js +0 -33
  201. package/dist/work-comment-cmd-ZUZEAIIH.js +0 -38
  202. package/dist/work-pr-cmd-DF6Q5XHU.js +0 -34
  203. package/dist/work-proofs-cmd-2XWS5N2R.js +0 -37
@@ -1,51 +1,51 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-G7HNRAXN.js';
4
- import './chunk-LIMJRKIU.js';
5
- import { verifiedTrackerNames, TRACKERS } from './chunk-7TM2E4RI.js';
6
- import './chunk-KIYP5TML.js';
7
- import './chunk-BDTFO5S7.js';
8
- import './chunk-Z4R73UUH.js';
9
- import './chunk-22QIA7SH.js';
10
- import './chunk-ZWWU7COR.js';
11
- import './chunk-HGWDBTQ3.js';
12
- import './chunk-KFHF3GBH.js';
13
- import './chunk-2DVQHK37.js';
14
- import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-Q6ANHBJK.js';
15
- import './chunk-IJ4DF5QS.js';
3
+ import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-HJK2KI3Q.js';
4
+ import './chunk-BTH6HTE5.js';
5
+ import { verifiedTrackerNames, TRACKERS } from './chunk-B4U5XI4F.js';
6
+ import './chunk-SBPMDO47.js';
7
+ import './chunk-XFU37HIM.js';
8
+ import './chunk-PA6FKP5B.js';
9
+ import './chunk-47JRSV6Y.js';
10
+ import './chunk-TUSIYONR.js';
11
+ import './chunk-6RQP5GP5.js';
12
+ import './chunk-QFQ2UNZU.js';
13
+ import './chunk-B5Z4VA4Q.js';
14
+ import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-YO2NPS66.js';
15
+ import './chunk-OK4RSIB2.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-UCDCPQXU.js';
19
- import './chunk-OPGF3FUY.js';
18
+ import './chunk-TW2V2IQ4.js';
19
+ import './chunk-VRWZNI6U.js';
20
20
  import './chunk-HWVMRETT.js';
21
- import './chunk-RVYMYTXX.js';
22
- import './chunk-LO3PSFNT.js';
23
- import './chunk-QP6SPQU5.js';
24
- import './chunk-LA5UO6LI.js';
25
- import { hookFiredMarkerPath, installedCliDistDir } from './chunk-D7KYG37D.js';
21
+ import './chunk-ENHD5PNW.js';
22
+ import './chunk-AC6DM3S3.js';
23
+ import './chunk-NE7EG3SN.js';
24
+ import './chunk-WH2QUYXH.js';
25
+ import { hookFiredMarkerPath, installedCliDistDir } from './chunk-QGUCHNSQ.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-JMWCPEKP.js';
32
- import './chunk-NFZMENCY.js';
31
+ import './chunk-7E55P2NR.js';
32
+ import './chunk-I45HTSSA.js';
33
33
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
34
34
  import { cliInvocation, packageRunnerOf } from './chunk-FZKNTIOJ.js';
35
- import { installAgents, settingsFileOf, withSettingsText } from './chunk-H3YHAO7L.js';
35
+ import { installAgents, settingsFileOf, withSettingsText } from './chunk-GJMLLXZJ.js';
36
36
  import { cliForInstall, SettingsParseError, PORTABLE_BIN, writeSettingsText, cliBinResolvable } from './chunk-ZHQC43NH.js';
37
- import './chunk-TNAUQADA.js';
37
+ import './chunk-ITOIM3WV.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-GTKR2YEZ.js';
41
- import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-OKELGJNN.js';
40
+ import { headlessNames, credentialForms, runnerAgentNamed, credentialAgent, runnerAgents, orList, credentialShapes } from './chunk-UCUBQWJC.js';
41
+ import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-MT4XF5OL.js';
42
42
  import './chunk-PLVHIQJN.js';
43
43
  import './chunk-7PZDPISM.js';
44
- import './chunk-CDDED64E.js';
44
+ import './chunk-ATEMEVFF.js';
45
45
  import { resolveVersion, resolvePackageVersion } from './chunk-RA3O54FC.js';
46
46
  import { homeFromEnv } from './chunk-352DHUTP.js';
47
- import './chunk-N2QYP3NQ.js';
48
- import './chunk-HE53NIRE.js';
47
+ import './chunk-MBPBYMHU.js';
48
+ import './chunk-FXVHF6RX.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-LO3D6CPP.js');
3662
+ const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-XINCCMDN.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-4FLIBRPO.js');
3669
+ const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-CGE4KWGO.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-UEQA3AUX.js');
3812
+ const { setupMachineSkills } = await import('./machine-skills-CXA57QHE.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-3DBWVCUL.js');
3821
- const { resolveRepoIdentity } = await import('./dist-OMJJT636.js');
3820
+ const { realConnectDeps } = await import('./connect-cmd-MZXTWM4R.js');
3821
+ const { resolveRepoIdentity } = await import('./dist-XEPPXF4M.js');
3822
3822
  return {
3823
3823
  ...realConnectDeps(),
3824
3824
  home: homeFromEnv(),
@@ -3835,12 +3835,12 @@ 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-UEQA3AUX.js');
3838
+ const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-CXA57QHE.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());
3842
3842
  }).hook("postAction", async (_root, command) => {
3843
- const notice = await import('./cli-update-notice-AWYJ4A7R.js');
3843
+ const notice = await import('./cli-update-notice-OC4SOSZE.js');
3844
3844
  let top;
3845
3845
  for (let at = command; at.parent; at = at.parent) top = at.name();
3846
3846
  const json = command.opts().json === true || argv.includes("--json");
@@ -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-ZWSICDTJ.js');
3896
- const { fleetReadiness } = await import('./fleet-readiness-U4IZZV52.js');
3895
+ const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-EUJ4264S.js');
3896
+ const { fleetReadiness } = await import('./fleet-readiness-NWIVQQ4P.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-LO3D6CPP.js');
3913
+ const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-XINCCMDN.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-F72BWVFC.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-KGM7TN6Z.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-F72BWVFC.js');
3953
+ const { runInitCommand } = await import('./init-cmd-KGM7TN6Z.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-MLSWF7RF.js');
3965
+ const { runAgentSetup } = await import('./agent-setup-GZBGCV3K.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-3DBWVCUL.js');
3974
+ const { promptOnTerminal } = await import('./connect-cmd-MZXTWM4R.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-3DBWVCUL.js');
4013
+ const { runConnectCommand } = await import('./connect-cmd-MZXTWM4R.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-ZEOXKIQ2.js');
4056
+ const { runLoginCommand, realLoginDeps } = await import('./login-browser-G7WNR74C.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-RUGAK5EX.js');
4089
+ const { lookupArtifactLink } = await import('./artifact-link-cmd-XOFZP7U5.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-4RSCWFAF.js');
4095
+ const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-3YZ4IB3T.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-NH5QZJLE.js');
4124
+ const { runWatch } = await import('./watch-LIIODJ5U.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-KZTGUSFJ.js');
4140
- const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-LG4J5K63.js');
4139
+ const { startRelay, startSessionRelay } = await import('./relay-YVZM5M6B.js');
4140
+ const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-MNWITORT.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-KZTGUSFJ.js');
4178
+ const { joinRelay } = await import('./relay-YVZM5M6B.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-WJLO2KWS.js');
4194
+ const { runVmExec } = await import('./exec-client-SZRXXKJ5.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-3VFTMIM3.js');
4223
+ const { runSessionSender } = await import('./session-sender-IS6S7PBC.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-HIKD3MHJ.js');
4231
+ const { realGuestHost, runGuestInit } = await import('./guest-init-T7QJW2AJ.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-HZRJYECQ.js');
4240
+ const { startBridgeForward } = await import('./bridge-RNM7OWRW.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-3YOUQCID.js');
4266
+ const { runEmit, EmitError } = await import('./emit-cmd-NHMZ4M5S.js');
4267
4267
  try {
4268
4268
  const result = runEmit({ cwd: opts.dir, check: opts.check, json: opts.json });
4269
4269
  if (result.exitCode !== 0) process.exitCode = result.exitCode;
@@ -4316,7 +4316,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
4316
4316
  await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
4317
4317
  return;
4318
4318
  }
4319
- const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-KRUV7V74.js');
4319
+ const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-Z7MBE37R.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-W7YBXLA7.js');
4371
+ const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-Z4SHPKFT.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-3UBPYRAM.js');
4427
+ const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-NOSQTOES.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-TNZ2G5CJ.js');
4470
+ const { runDemoVoice } = await import('./demo-voice-cmd-PGM5JPCQ.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-YPWPHDAN.js');
4488
+ const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-4RVSWVMK.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-NL6H2PBJ.js');
4537
+ const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-YXR3ZVCJ.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-NL6H2PBJ.js');
4604
+ const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-YXR3ZVCJ.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-SHBIO2JI.js');
4639
+ const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-JOSYDSEO.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-KZW275Q2.js');
4682
+ const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-HCN3DOJM.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-32J5UQJO.js');
4706
+ const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
4707
4707
  try {
4708
- await action(await import('./spec-cmd-RQFIJ75J.js'));
4708
+ await action(await import('./spec-cmd-ZLDYL4N5.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-3JP4GYD3.js');
4743
+ const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-NGFY25WZ.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-3JP4GYD3.js');
4771
+ const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-NGFY25WZ.js');
4772
4772
  try {
4773
4773
  const result = await runFindingsResult({
4774
4774
  problem,
@@ -4790,6 +4790,53 @@ problem to replace the earlier result. A problem the item does not cover is refu
4790
4790
  throw err;
4791
4791
  }
4792
4792
  });
4793
+ const runCmd = program2.command("run").description("Report what a scheduled run found (for the agent of a scheduled run)");
4794
+ runCmd.command("found-issue").description("Report one issue that this run found").option("--title <text>", "the issue's title (required)").option("--topic <text>", "short text that names what the issue is about (required)").option("--body <markdown>", "the issue's body, in Markdown").option("--body-file <path>", "read the issue's body from a file, or from standard input with -").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(
4795
+ "after",
4796
+ `
4797
+ ${cliInvocation()} run found-issue --title "Flaky test: checkout" --topic "checkout.test.ts" --body "It fails one run in five."
4798
+
4799
+ Run it once for each issue. OuterLayer files each reported issue after
4800
+ the run ends, within the automation's daily limit. The command refuses
4801
+ an issue when the daily limit leaves none, and then you stop reporting.
4802
+ Only the agent of a scheduled run, which holds a run key, can run it.
4803
+ `
4804
+ ).action(async (opts) => {
4805
+ const { runFoundIssue, RunCommandError } = await import('./run-cmd-MBH5Z2UL.js');
4806
+ const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
4807
+ try {
4808
+ await runFoundIssue(opts);
4809
+ } catch (err) {
4810
+ if (err instanceof RunCommandError || err instanceof WorkCommandError) {
4811
+ fail(err.message);
4812
+ return;
4813
+ }
4814
+ throw err;
4815
+ }
4816
+ });
4817
+ runCmd.command("found-nothing").description("Report that this run found nothing to file").option("--reason <text>", "one sentence that says why the run found nothing (required)").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(
4818
+ "after",
4819
+ `
4820
+ ${cliInvocation()} run found-nothing --reason "Every test passed in the last 20 runs."
4821
+
4822
+ Run it when you looked at everything the instructions name and found
4823
+ nothing to report. The run log shows Nothing to do with your reason.
4824
+ Run it instead of found-issue, never after it. Only the agent of a
4825
+ scheduled run, which holds a run key, can run it.
4826
+ `
4827
+ ).action(async (opts) => {
4828
+ const { runFoundNothing, RunCommandError } = await import('./run-cmd-MBH5Z2UL.js');
4829
+ const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
4830
+ try {
4831
+ await runFoundNothing(opts);
4832
+ } catch (err) {
4833
+ if (err instanceof RunCommandError || err instanceof WorkCommandError) {
4834
+ fail(err.message);
4835
+ return;
4836
+ }
4837
+ throw err;
4838
+ }
4839
+ });
4793
4840
  const workCmd = program2.command("work").description("Start, remove, or read what the factory is working on (the Work page)");
4794
4841
  workCmd.command("build").description("Start work on an item: a host builds it, or with --local you do").option("--issue <number>", "issue number, or a Linear/Jira key like ENG-123 (adds it to Work first)").option(TRACKER_OPTION_FLAG, "tracker for a keyed --issue \u2014 required if more than one is connected").option("--item <number>", "the item's own number inside this factory \u2014 must already exist").option("--local", "you build it in a session you start; no host takes it").option("--repo <owner/name>", "repository \u2014 the checkout's remote for a number, never guessed for a key").option("--note <text>", "a short note for people to read; the agent never sees it").option("--instructions <text>", "text the build's agent receives, up to 2000 characters; not with --local").option("--runner <kind>", "kind of runner that takes the build: managed or self-hosted; not with --local").option("--fresh", "start from a fresh disk, not the item's kept disk; not with --local").option("--session-id <id>", "session id to record as-is, skipping detection").option("--retry <count>", "retries after a gateway answer worth trying again").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").addHelpText(
4795
4842
  "after",
@@ -4811,7 +4858,7 @@ takes it, and prints the line that starts your session on it. That
4811
4858
  session links itself and holds the item's lease while it works.
4812
4859
  `
4813
4860
  ).action(async (opts) => {
4814
- const { runWorkBuild, WorkCommandError } = await import('./work-cmd-32J5UQJO.js');
4861
+ const { runWorkBuild, WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
4815
4862
  try {
4816
4863
  await runWorkBuild(opts);
4817
4864
  } catch (err) {
@@ -4834,7 +4881,7 @@ renews that session's own 20-minute lease, unless --no-lease or
4834
4881
  --ended is given, or another worker already holds a live one.
4835
4882
  `
4836
4883
  ).action(async (number, opts) => {
4837
- const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-32J5UQJO.js');
4884
+ const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
4838
4885
  try {
4839
4886
  await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
4840
4887
  } catch (err) {
@@ -4845,7 +4892,7 @@ renews that session's own 20-minute lease, unless --no-lease or
4845
4892
  throw err;
4846
4893
  }
4847
4894
  });
4848
- workCmd.command("comment").description("Post a comment on a work item's general thread or one of its criterion threads").requiredOption("--item <number>", "the item's number inside this factory").option("--criterion <id>", "the criterion thread to post on (default: the general thread)").option("--thread <id>", "the thread to answer, from `work threads --json`").option("--body <text>", "the comment's text").option("--artifact <id>", "artifact id \u2014 required with --attach, naming the criterion's new proof").option("--pass", "record a pass (a person's verdict; refused from an agent session or a key)").option("--fail", "record a fail (a person's verdict; refused from an agent session or a key)").option("--attach", "make --artifact the named criterion's proof").option("--ready", "hand the thread back to a person (refused from a person)").option("--session-id <id>", "session id to record as-is, skipping detection (used by the SessionStart hook)").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(
4895
+ workCmd.command("comment").description("Post a comment on a work item's general thread or one of its criterion threads").requiredOption("--item <number>", "the item's number inside this factory").option("--criterion <id>", "the criterion thread to post on (default: the general thread)").option("--thread <id>", "the thread to answer, from `work threads --json`").option("--body <text>", "the comment's text").option("--artifact <id>", "artifact id \u2014 required with --attach, naming the criterion's new proof").option("--pass", "record a pass (a person's verdict; refused from an agent session or a key)").option("--fail", "record a fail (a person's verdict; refused from an agent session or a key)").option("--attach", "make --artifact the named criterion's proof").option("--ready", "hand the thread back to a person (refused from a person)").option("--file <path>", "attach a file to the comment; repeat for up to 10 files of 8 MiB, 10 MiB in all", (value, previous = []) => [...previous, value]).option("--session-id <id>", "session id to record as-is, skipping detection (used by the SessionStart hook)").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(
4849
4896
  "after",
4850
4897
  `
4851
4898
  ${cliInvocation()} work comment --item 7 --criterion AC-9-01 --body "fixed" --artifact 3f2a1c9d --attach
@@ -4863,12 +4910,20 @@ most one action flag may be given.
4863
4910
  comment from a GitHub review. OuterLayer posts the answer on the same
4864
4911
  thread at its source. It takes a plain answer: no --criterion and no
4865
4912
  action flag.
4913
+
4914
+ ${cliInvocation()} work comment --item 7 --body "Is this the layout?" --file shot.png --file run.log
4915
+
4916
+ --file uploads each file to OuterLayer, then posts the comment with them.
4917
+ Repeat it up to 10 times. A file is at most 8 MiB, and all files together
4918
+ at most 10 MiB. Allowed types: png, jpg, gif, webp, mp4, webm, pdf, txt,
4919
+ log, csv, md, json, ndjson, zip, gz. A rate limit ends the command with the
4920
+ wait to observe; the command does not retry.
4866
4921
  `
4867
4922
  ).action(async (opts) => {
4868
- const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-ZUZEAIIH.js');
4869
- const { WorkCommandError } = await import('./work-cmd-32J5UQJO.js');
4923
+ const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-RFVCNEET.js');
4924
+ const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
4870
4925
  try {
4871
- await runWorkComment(opts);
4926
+ await runWorkComment({ ...opts, files: opts.file });
4872
4927
  } catch (err) {
4873
4928
  if (err instanceof WorkCommentCommandError || err instanceof WorkCommandError) {
4874
4929
  fail(err.message);
@@ -4888,7 +4943,7 @@ nothing and exits 0 when the call fails: the line goes to hook-errors.log,
4888
4943
  and the comment waits for the next agent job.
4889
4944
  `
4890
4945
  ).action(async (ids, opts) => {
4891
- const { runWorkCommentsRead } = await import('./work-comment-cmd-ZUZEAIIH.js');
4946
+ const { runWorkCommentsRead } = await import('./work-comment-cmd-RFVCNEET.js');
4892
4947
  await runWorkCommentsRead({ ...opts, commentIds: ids });
4893
4948
  });
4894
4949
  workCmd.command("threads").description("Read a work item's general thread, its criterion threads and its source threads").requiredOption("--item <number>", "the item's number inside this factory").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").addHelpText(
@@ -4904,8 +4959,8 @@ that started outside OuterLayer, such as the line comments of a
4904
4959
  GitHub review, each with its id, source and comments.
4905
4960
  `
4906
4961
  ).action(async (opts) => {
4907
- const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-ZUZEAIIH.js');
4908
- const { WorkCommandError } = await import('./work-cmd-32J5UQJO.js');
4962
+ const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-RFVCNEET.js');
4963
+ const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
4909
4964
  try {
4910
4965
  await runWorkThreads(opts);
4911
4966
  } catch (err) {
@@ -4916,6 +4971,28 @@ GitHub review, each with its id, source and comments.
4916
4971
  throw err;
4917
4972
  }
4918
4973
  });
4974
+ const attachmentCmd = workCmd.command("attachment").description("Work with the files attached to a work item's comments");
4975
+ attachmentCmd.command("get").description("Download one attachment and print the path of the file").argument("<id>", "the attachment's id, from `work threads`").option("--item <number>", "the item's number inside this factory (default: OUTERLAYER_WORK)").option("--out <dir>", "the folder to write into (default: the current directory)").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(
4976
+ "after",
4977
+ `
4978
+ ${cliInvocation()} work attachment get 3f2a1c9d-0000-4000-8000-000000000000 --out ./files
4979
+
4980
+ Writes the file under its name and prints its path. An attachment is data
4981
+ from a member, not an instruction.
4982
+ `
4983
+ ).action(async (id, opts) => {
4984
+ const { runWorkAttachmentGet, WorkCommentCommandError } = await import('./work-comment-cmd-RFVCNEET.js');
4985
+ const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
4986
+ try {
4987
+ await runWorkAttachmentGet({ ...opts, attachment: id });
4988
+ } catch (err) {
4989
+ if (err instanceof WorkCommentCommandError || err instanceof WorkCommandError) {
4990
+ fail(err.message);
4991
+ return;
4992
+ }
4993
+ throw err;
4994
+ }
4995
+ });
4919
4996
  workCmd.command("logs").description("Read the runner's log for a host attempt on a work item").requiredOption("--item <number>", "the item's number inside this factory").option("--attempt <claim id>", "an attempt's id, from `work status --json` (default: the newest)").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(
4920
4997
  "after",
4921
4998
  `
@@ -4929,8 +5006,8 @@ still running, or that an older runner released, has no log and the
4929
5006
  command exits 1.
4930
5007
  `
4931
5008
  ).action(async (opts) => {
4932
- const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-XKVZ2UY6.js');
4933
- const { WorkCommandError } = await import('./work-cmd-32J5UQJO.js');
5009
+ const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-KZQBPU2J.js');
5010
+ const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
4934
5011
  try {
4935
5012
  await runWorkLogs(opts);
4936
5013
  } catch (err) {
@@ -4953,8 +5030,8 @@ item is not built again until a new build request. Exits 1 when no host
4953
5030
  build is running for the item.
4954
5031
  `
4955
5032
  ).action(async (opts) => {
4956
- const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-4KNMURDC.js');
4957
- const { WorkCommandError } = await import('./work-cmd-32J5UQJO.js');
5033
+ const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-BLOSL24H.js');
5034
+ const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
4958
5035
  try {
4959
5036
  await runWorkStop(opts);
4960
5037
  } catch (err) {
@@ -4975,8 +5052,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
4975
5052
  test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
4976
5053
  `
4977
5054
  ).action(async (opts) => {
4978
- const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-56C6JQD3.js');
4979
- const { WorkCommandError } = await import('./work-cmd-32J5UQJO.js');
5055
+ const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-Q2GKJCVL.js');
5056
+ const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
4980
5057
  try {
4981
5058
  await runWorkDemo(opts);
4982
5059
  } catch (err) {
@@ -4997,7 +5074,7 @@ deletes anything \u2014 the item is removed from Work only once no
4997
5074
  live addition remains on it.
4998
5075
  `
4999
5076
  ).action(async (opts) => {
5000
- const { runWorkRemove, WorkCommandError } = await import('./work-cmd-32J5UQJO.js');
5077
+ const { runWorkRemove, WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
5001
5078
  try {
5002
5079
  await runWorkRemove(opts);
5003
5080
  } catch (err) {
@@ -5009,7 +5086,7 @@ live addition remains on it.
5009
5086
  }
5010
5087
  });
5011
5088
  workCmd.command("status").description("Show one item's stage, gate ledger, and additions").option("--item <number>", "the item's number inside this factory").option("--issue <number>", "issue number, or a Linear/Jira key like ENG-123").option(TRACKER_OPTION_FLAG, "tracker for a keyed --issue, when both hold the key").option("--repo <owner/name>", "repository for an issue number (default: the checkout's remote)").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").action(async (opts) => {
5012
- const { runWorkStatus, WorkCommandError } = await import('./work-cmd-32J5UQJO.js');
5089
+ const { runWorkStatus, WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
5013
5090
  try {
5014
5091
  await runWorkStatus(opts);
5015
5092
  } catch (err) {
@@ -5057,11 +5134,11 @@ stops at once if a tracked file differs from HEAD.
5057
5134
  fail(trackerNumberError("--pr", opts.pr));
5058
5135
  return;
5059
5136
  }
5060
- const { runWorkProofsCommand } = await import('./work-proofs-cmd-2XWS5N2R.js');
5137
+ const { runWorkProofsCommand } = await import('./work-proofs-cmd-T5WZG3CX.js');
5061
5138
  await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
5062
5139
  });
5063
5140
  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-32J5UQJO.js');
5141
+ const { runWorkList, WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
5065
5142
  try {
5066
5143
  await runWorkList(opts);
5067
5144
  } catch (err) {
@@ -5082,7 +5159,7 @@ by a different key is refused; claiming again with the same key extends
5082
5159
  it. --host is a label only.
5083
5160
  `
5084
5161
  ).action(async (opts) => {
5085
- const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-FNE2ZMVG.js');
5162
+ const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-GWBWIZ43.js');
5086
5163
  try {
5087
5164
  await runWorkClaim(opts);
5088
5165
  } catch (err) {
@@ -5102,7 +5179,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
5102
5179
  lease has expired, or a 403 if a different key holds it.
5103
5180
  `
5104
5181
  ).action(async (opts) => {
5105
- const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-FNE2ZMVG.js');
5182
+ const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-GWBWIZ43.js');
5106
5183
  try {
5107
5184
  await runWorkRenew(opts);
5108
5185
  } catch (err) {
@@ -5134,7 +5211,7 @@ applies to a host's lease only. A later tool call in the session
5134
5211
  takes the lease again.
5135
5212
  `
5136
5213
  ).action(async (opts) => {
5137
- const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-FNE2ZMVG.js');
5214
+ const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-GWBWIZ43.js');
5138
5215
  try {
5139
5216
  await runWorkRelease(opts);
5140
5217
  } catch (err) {
@@ -5161,7 +5238,7 @@ Idempotent: declaring the same pull request twice is a no-op.
5161
5238
  needs your own login; an agent session or a factory key is refused.
5162
5239
  `
5163
5240
  ).action(async (number, opts) => {
5164
- const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-DF6Q5XHU.js');
5241
+ const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-XBLNONT3.js');
5165
5242
  try {
5166
5243
  await runWorkPr({ ...opts, number });
5167
5244
  } catch (err) {
@@ -5186,8 +5263,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
5186
5263
  Run it again after a change to the title or description.
5187
5264
  `
5188
5265
  ).action(async (opts) => {
5189
- const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-3SSJPKHW.js');
5190
- const { WorkCommandError } = await import('./work-cmd-32J5UQJO.js');
5266
+ const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-VATPLVSL.js');
5267
+ const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
5191
5268
  try {
5192
5269
  await runWorkOpenPr(opts);
5193
5270
  } catch (err) {
@@ -5210,8 +5287,8 @@ and OuterLayer posts the reason on the issue. Only a host build, which
5210
5287
  holds an item key, can run it.
5211
5288
  `
5212
5289
  ).action(async (opts) => {
5213
- const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-QVD67UG5.js');
5214
- const { WorkCommandError } = await import('./work-cmd-32J5UQJO.js');
5290
+ const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-SHP25CJB.js');
5291
+ const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
5215
5292
  try {
5216
5293
  await runWorkNoChange(opts);
5217
5294
  } catch (err) {
@@ -5234,8 +5311,8 @@ record that no change is needed. Only a host build, which holds an item key,
5234
5311
  can run it.
5235
5312
  `
5236
5313
  ).action(async (opts) => {
5237
- const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-DYD3AIRU.js');
5238
- const { WorkCommandError } = await import('./work-cmd-32J5UQJO.js');
5314
+ const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-L3DOYAMK.js');
5315
+ const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
5239
5316
  try {
5240
5317
  await runWorkNeedsAttention(opts);
5241
5318
  } catch (err) {
@@ -5279,9 +5356,9 @@ function registerRunnerCommands(program2) {
5279
5356
  const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
5280
5357
  const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
5281
5358
  runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
5282
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-O2LJAZJZ.js');
5283
- const { start, RunnerStartError } = await import('./loop-O5JBFZXP.js');
5284
- const { RunnerAlreadyRunningError } = await import('./pidfile-TTIUEDXW.js');
5359
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-ZRGYLVDX.js');
5360
+ const { start, RunnerStartError } = await import('./loop-K3QREUHK.js');
5361
+ const { RunnerAlreadyRunningError } = await import('./pidfile-MFP6B2KV.js');
5285
5362
  const configPath = opts.config ?? defaultRunnerConfigPath();
5286
5363
  try {
5287
5364
  const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
@@ -5303,10 +5380,10 @@ is optional and defaults to ${words().runnerName}. On a later start it refuses v
5303
5380
  The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5304
5381
  `
5305
5382
  ).action(async () => {
5306
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-O2LJAZJZ.js');
5307
- const { containerStart, containerStartExit } = await import('./container-start-T4GH4WLX.js');
5308
- const { start, RunnerStartError } = await import('./loop-O5JBFZXP.js');
5309
- const { RunnerAlreadyRunningError } = await import('./pidfile-TTIUEDXW.js');
5383
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-ZRGYLVDX.js');
5384
+ const { containerStart, containerStartExit } = await import('./container-start-VQR5ERZE.js');
5385
+ const { start, RunnerStartError } = await import('./loop-K3QREUHK.js');
5386
+ const { RunnerAlreadyRunningError } = await import('./pidfile-MFP6B2KV.js');
5310
5387
  try {
5311
5388
  const outcome = containerStartExit(await containerStart({
5312
5389
  env: process.env,
@@ -5327,16 +5404,16 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5327
5404
  "after",
5328
5405
  "\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"
5329
5406
  ).action(async (opts) => {
5330
- const { defaultRunnerConfigPath } = await import('./config-O2LJAZJZ.js');
5331
- const { runnerDir } = await import('./paths-CSZZQK3X.js');
5332
- const { runUpdateSteps } = await import('./update-steps-3LU3NZQL.js');
5407
+ const { defaultRunnerConfigPath } = await import('./config-ZRGYLVDX.js');
5408
+ const { runnerDir } = await import('./paths-VOWYUJLZ.js');
5409
+ const { runUpdateSteps } = await import('./update-steps-XY46I7FV.js');
5333
5410
  const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
5334
5411
  process.stdout.write(`${text}
5335
5412
  `);
5336
5413
  });
5337
5414
  runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
5338
- const { defaultRunnerConfigPath } = await import('./config-O2LJAZJZ.js');
5339
- const { runRunnerCheck } = await import('./check-YUKNUSAS.js');
5415
+ const { defaultRunnerConfigPath } = await import('./config-ZRGYLVDX.js');
5416
+ const { runRunnerCheck } = await import('./check-SJCTNS7N.js');
5340
5417
  const configPath = opts.config ?? defaultRunnerConfigPath();
5341
5418
  const result = await runRunnerCheck(configPath);
5342
5419
  if (!result.ok) {
@@ -5357,8 +5434,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5357
5434
  `);
5358
5435
  });
5359
5436
  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) => {
5360
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-O2LJAZJZ.js');
5361
- const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-LX76Y7NB.js');
5437
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-ZRGYLVDX.js');
5438
+ const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-HWG6LJX5.js');
5362
5439
  const configPath = opts.config ?? defaultRunnerConfigPath();
5363
5440
  if (opts.service !== true) {
5364
5441
  const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
@@ -5370,13 +5447,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5370
5447
  }
5371
5448
  }
5372
5449
  const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
5373
- if (buildCpusMax !== void 0 && !(await import('./command-3WAJBJWX.js')).cpusAreValid(buildCpusMax)) {
5450
+ if (buildCpusMax !== void 0 && !(await import('./command-LWMX6I7W.js')).cpusAreValid(buildCpusMax)) {
5374
5451
  fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
5375
5452
  return;
5376
5453
  }
5377
5454
  try {
5378
5455
  if (opts.service === true) {
5379
- const { installServiceCommand, serviceSuccessText } = await import('./command-3WAJBJWX.js');
5456
+ const { installServiceCommand, serviceSuccessText } = await import('./command-LWMX6I7W.js');
5380
5457
  const result2 = await installServiceCommand({
5381
5458
  configPath,
5382
5459
  print: opts.print,
@@ -5430,8 +5507,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
5430
5507
  fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
5431
5508
  return;
5432
5509
  }
5433
- const { defaultRunnerConfigPath } = await import('./config-O2LJAZJZ.js');
5434
- const { uninstallServiceCommand } = await import('./command-3WAJBJWX.js');
5510
+ const { defaultRunnerConfigPath } = await import('./config-ZRGYLVDX.js');
5511
+ const { uninstallServiceCommand } = await import('./command-LWMX6I7W.js');
5435
5512
  const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
5436
5513
  if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
5437
5514
  `);
@@ -5461,13 +5538,13 @@ already in ${words().envFile} is used.
5461
5538
  printf '%s' "$${words().variables[0]}" | ${cliInvocation()} runner init --agent ${words().runnerName} --factory <org>/<factory>
5462
5539
  `
5463
5540
  ).action(async (opts) => {
5464
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-O2LJAZJZ.js');
5465
- const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-XTTWPX6J.js');
5466
- const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-TFFPQCGE.js');
5467
- const { detectMachine } = await import('./machine-LGJSYGQS.js');
5468
- const { chooseVm, runVmInit, VmInitError } = await import('./init-7F2KP6XU.js');
5469
- const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-RGYTHURZ.js');
5470
- const { headlessNames: headlessNames2 } = await import('./runner-agents-32J743FJ.js');
5541
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-ZRGYLVDX.js');
5542
+ const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-F7NB7GBW.js');
5543
+ const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-3AHJX75Z.js');
5544
+ const { detectMachine } = await import('./machine-5GTYN2LP.js');
5545
+ const { chooseVm, runVmInit, VmInitError } = await import('./init-ETG7XYFQ.js');
5546
+ const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-IHWYZ3B6.js');
5547
+ const { headlessNames: headlessNames2 } = await import('./runner-agents-L3PLYFWJ.js');
5471
5548
  const configPath = opts.config ?? defaultRunnerConfigPath();
5472
5549
  if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
5473
5550
  fail(`--agent ${opts.agent}: runner init writes commands for ${headlessNames2().join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
@@ -5479,7 +5556,7 @@ already in ${words().envFile} is used.
5479
5556
  return;
5480
5557
  }
5481
5558
  try {
5482
- const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-RJSMNEWD.js');
5559
+ const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-WEYGBAII.js');
5483
5560
  agent = await initAgent({
5484
5561
  flag: agent,
5485
5562
  handOff: opts.configStdin === true,
@@ -5490,7 +5567,7 @@ already in ${words().envFile} is used.
5490
5567
  if (agent !== void 0) {
5491
5568
  const chosen = agent;
5492
5569
  const forms = credentialForms((runnerAgentNamed(chosen) ?? credentialAgent()).descriptor);
5493
- const { readPipedKey } = await import('./login-browser-ZEOXKIQ2.js');
5570
+ const { readPipedKey } = await import('./login-browser-G7WNR74C.js');
5494
5571
  const { terminalPrompt: terminalPrompt2 } = await import('./hidden-prompt-UXBFMQC5.js');
5495
5572
  const text = await agentCredentialText({
5496
5573
  isTTY: process.stdin.isTTY === true,
@@ -5512,7 +5589,7 @@ already in ${words().envFile} is used.
5512
5589
  const chunks = [];
5513
5590
  for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
5514
5591
  const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
5515
- const { ensureHostKey: ensureHostKey2 } = await import('./host-key-V2VVCBGR.js');
5592
+ const { ensureHostKey: ensureHostKey2 } = await import('./host-key-6SMJUTJ2.js');
5516
5593
  const hostKey2 = await ensureHostKey2(configPath);
5517
5594
  process.stdout.write(`host key ${hostKey2.fingerprint}
5518
5595
  hooks: ${result2.hooks}
@@ -5567,7 +5644,7 @@ hooks: ${result2.hooks}
5567
5644
  const prepared = prepareRunnerInit(configPath, { machine, agent, credential, keyFromLogin: makeKey !== void 0 });
5568
5645
  const created = makeKey === void 0 ? void 0 : await makeKey();
5569
5646
  const result = writeRunnerInit(prepared, created);
5570
- const { ensureHostKey } = await import('./host-key-V2VVCBGR.js');
5647
+ const { ensureHostKey } = await import('./host-key-6SMJUTJ2.js');
5571
5648
  const hostKey = await ensureHostKey(configPath);
5572
5649
  if (created !== void 0) {
5573
5650
  process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
@@ -5587,7 +5664,7 @@ hooks: ${result2.hooks}
5587
5664
  );
5588
5665
  process.stdout.write(`${C.green}\u2713${C.reset} hooks: ${result.hooks}${result.hooks === "builtin:vm" ? " (builds run in microVMs)" : " (builds run in containers)"}
5589
5666
  `);
5590
- const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-LX76Y7NB.js');
5667
+ const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-HWG6LJX5.js');
5591
5668
  let installedLayout = false;
5592
5669
  let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
5593
5670
  try {
@@ -5619,7 +5696,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
5619
5696
  let serviceUp = false;
5620
5697
  let restart;
5621
5698
  if (installedLayout) {
5622
- const { installServiceCommand } = await import('./command-3WAJBJWX.js');
5699
+ const { installServiceCommand } = await import('./command-LWMX6I7W.js');
5623
5700
  const service = await installServiceCommand({
5624
5701
  configPath,
5625
5702
  entryPath: process.argv[1] ?? "",
@@ -5671,12 +5748,12 @@ image holds this CLI and a pinned ${words().agent}. Nothing runs inside the imag
5671
5748
  A repository with no devcontainer file builds on the universal image the CLI pins by digest.
5672
5749
  `
5673
5750
  ).action(async (opts) => {
5674
- const { defaultRunnerConfigPath } = await import('./config-O2LJAZJZ.js');
5675
- const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-3LXKCCJF.js');
5751
+ const { defaultRunnerConfigPath } = await import('./config-ZRGYLVDX.js');
5752
+ const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-VKO7IVOQ.js');
5676
5753
  const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
5677
- const { createDockerHost } = await import('./docker-MOESJVCB.js');
5678
- const { builderSpec } = await import('./builder-VYKWHAUQ.js');
5679
- const { loadRunnerConfig } = await import('./config-O2LJAZJZ.js');
5754
+ const { createDockerHost } = await import('./docker-25F2KOBJ.js');
5755
+ const { builderSpec } = await import('./builder-HMHJ6U7C.js');
5756
+ const { loadRunnerConfig } = await import('./config-ZRGYLVDX.js');
5680
5757
  const configPath = opts.config ?? defaultRunnerConfigPath();
5681
5758
  const loaded = (() => {
5682
5759
  try {
@@ -5687,12 +5764,12 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5687
5764
  })();
5688
5765
  const memory = loaded?.build?.memory ?? "8g";
5689
5766
  try {
5690
- const { ensureRunnerIdentity } = await import('./runner-identity-VQCIKNBK.js');
5767
+ const { ensureRunnerIdentity } = await import('./runner-identity-E2XKIJNB.js');
5691
5768
  await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
5692
5769
  console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
5693
5770
  });
5694
- const { imageTargetFor } = await import('./governing-source-VZFU65KP.js');
5695
- const { runnerCalls } = await import('./caller-VU7QBFHQ.js');
5771
+ const { imageTargetFor } = await import('./governing-source-DNWVPRXP.js');
5772
+ const { runnerCalls } = await import('./caller-U26SATTV.js');
5696
5773
  const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
5697
5774
  if (!target.ok) {
5698
5775
  if (opts.json) {
@@ -5756,25 +5833,25 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5756
5833
  }
5757
5834
  });
5758
5835
  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) => {
5759
- const { defaultRunnerConfigPath } = await import('./config-O2LJAZJZ.js');
5760
- const { requestStop } = await import('./loop-O5JBFZXP.js');
5836
+ const { defaultRunnerConfigPath } = await import('./config-ZRGYLVDX.js');
5837
+ const { requestStop } = await import('./loop-K3QREUHK.js');
5761
5838
  const configPath = opts.config ?? defaultRunnerConfigPath();
5762
- const { runnerImageVersion } = await import('./image-tag-EX2R462S.js');
5839
+ const { runnerImageVersion } = await import('./image-tag-OCVY4W5D.js');
5763
5840
  await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
5764
5841
  });
5765
5842
  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) => {
5766
- const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-O2LJAZJZ.js');
5767
- const { jobsDir, runnerDir } = await import('./paths-CSZZQK3X.js');
5768
- const { listJobFiles, runnerProcessState } = await import('./loop-O5JBFZXP.js');
5769
- const { renderStatus } = await import('./status-KGZWBU26.js');
5770
- const { readHousekeepingRecord } = await import('./record-U7DU6IVT.js');
5843
+ const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-ZRGYLVDX.js');
5844
+ const { jobsDir, runnerDir } = await import('./paths-VOWYUJLZ.js');
5845
+ const { listJobFiles, runnerProcessState } = await import('./loop-K3QREUHK.js');
5846
+ const { renderStatus } = await import('./status-GZ7KAIMH.js');
5847
+ const { readHousekeepingRecord } = await import('./record-AWCJ3LTG.js');
5771
5848
  const path2 = await import('path');
5772
5849
  const configPath = opts.config ?? defaultRunnerConfigPath();
5773
5850
  const all = listJobFiles(configPath);
5774
5851
  const housekeeping = readHousekeepingRecord(runnerDir(configPath));
5775
- const { readPendingUpdate } = await import('./pending-BHRSEFXV.js');
5852
+ const { readPendingUpdate } = await import('./pending-35ML3JE5.js');
5776
5853
  const pendingUpdate = readPendingUpdate(runnerDir(configPath));
5777
- const { readImageStatus } = await import('./image-tag-EX2R462S.js');
5854
+ const { readImageStatus } = await import('./image-tag-OCVY4W5D.js');
5778
5855
  const image = readImageStatus(runnerDir(configPath));
5779
5856
  let host = "unknown";
5780
5857
  let concurrency = 1;
@@ -5784,7 +5861,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5784
5861
  host = config.host;
5785
5862
  concurrency = config.concurrency;
5786
5863
  if (config.fleet === true) {
5787
- const { readFleetState } = await import('./state-IH6JOEJZ.js');
5864
+ const { readFleetState } = await import('./state-NIA6XT7D.js');
5788
5865
  fleet = { state: readFleetState(configPath) };
5789
5866
  }
5790
5867
  } catch {
@@ -5792,7 +5869,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5792
5869
  const processState = runnerProcessState(configPath);
5793
5870
  const service = await (async () => {
5794
5871
  if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
5795
- const { inspectRunnerService } = await import('./find-unit-YNIILXQK.js');
5872
+ const { inspectRunnerService } = await import('./find-unit-3RHC4375.js');
5796
5873
  const facts = inspectRunnerService(configPath);
5797
5874
  return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
5798
5875
  })();
@@ -5831,9 +5908,9 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5831
5908
  );
5832
5909
  });
5833
5910
  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) => {
5834
- const { defaultRunnerConfigPath } = await import('./config-O2LJAZJZ.js');
5835
- const { listJobFiles } = await import('./loop-O5JBFZXP.js');
5836
- const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-BWGJ2BVT.js');
5911
+ const { defaultRunnerConfigPath } = await import('./config-ZRGYLVDX.js');
5912
+ const { listJobFiles } = await import('./loop-K3QREUHK.js');
5913
+ const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-TKWJ4S4W.js');
5837
5914
  const configPath = opts.config ?? defaultRunnerConfigPath();
5838
5915
  const jobs = listJobFiles(configPath);
5839
5916
  const selected = selectAttempt(jobs, itemArg);
@@ -6054,7 +6131,7 @@ Self-host deployments also need --app-id: without a key service to resolve the
6054
6131
  caller from the bearer token, the gateway answers 401 without that header.
6055
6132
  `
6056
6133
  ).action(async (opts) => {
6057
- const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-DBKKGLHW.js');
6134
+ const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-6IGK65DV.js');
6058
6135
  try {
6059
6136
  if (opts.transport !== void 0 && opts.transport !== "stdio" && opts.transport !== "http") {
6060
6137
  throw new McpInstallError(`--transport must be "stdio" or "http", got "${opts.transport}"`);
@@ -6076,7 +6153,7 @@ caller from the bearer token, the gateway answers 401 without that header.
6076
6153
  "after",
6077
6154
  "\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"
6078
6155
  ).action(async (opts) => {
6079
- const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-LFXU5UGJ.js');
6156
+ const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-DVE5XP2U.js');
6080
6157
  try {
6081
6158
  await runMcpServe({ url: opts.url, appId: opts.appId });
6082
6159
  } catch (err) {
@@ -6097,7 +6174,7 @@ would get, the instruction files and the names of the skills. It warns when the
6097
6174
  no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
6098
6175
  `
6099
6176
  ).action(async (opts) => {
6100
- const { runContextShow, ContextShowError } = await import('./context-show-cmd-OGRCR5OT.js');
6177
+ const { runContextShow, ContextShowError } = await import('./context-show-cmd-SCOVPVDM.js');
6101
6178
  try {
6102
6179
  const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
6103
6180
  process.stdout.write(result.output);
@@ -6117,7 +6194,7 @@ Missing or empty config: {"targets": [...]}, e.g. {"targets": ["claude-code"]}.
6117
6194
  ${knownTargetsLine(defaultAgents())}
6118
6195
 
6119
6196
  The maintained skills (outerlayer-evidence, outerlayer-amend, outerlayer-findings,
6120
- outerlayer-cli, outerlayer-build) follow this CLI: emit rewrites one that differs from its bundle, and --check
6197
+ outerlayer-cli, outerlayer-build, outerlayer-run) follow this CLI: emit rewrites one that differs from its bundle, and --check
6121
6198
  reports it as drift. A copy under an earlier name (amend, emitting-evidence,
6122
6199
  reporting-findings, outerlayer) is deleted, and --check reports it as retired.
6123
6200
  Templates (spec, writing-specs, writing-tests, build) are never rewritten or reported.