@outerlayer/cli 0.38.0-next.20261110212358 → 0.38.0-next.20261111004457

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. package/dist/agent-setup-OU7CGYSN.js +40 -0
  2. package/dist/{agent-subcommand-5PNHUNZZ.js → agent-subcommand-GG4PSHYT.js} +4 -4
  3. package/dist/{artifact-link-cmd-XOFZP7U5.js → artifact-link-cmd-L4BXSQQP.js} +2 -2
  4. package/dist/{bridge-RNM7OWRW.js → bridge-MVW5RNQD.js} +7 -7
  5. package/dist/{build-VKO7IVOQ.js → build-D4Y3LBPO.js} +13 -13
  6. package/dist/{build-disk-M2JYJF6R.js → build-disk-VDMWH3C3.js} +11 -11
  7. package/dist/build-info.json +1 -1
  8. package/dist/{builder-HMHJ6U7C.js → builder-6L5ZMXBE.js} +10 -10
  9. package/dist/caller-FFSXVMLB.js +23 -0
  10. package/dist/{check-3XHEVEXS.js → check-U5DOQU64.js} +55 -55
  11. package/dist/{chunk-SBPMDO47.js → chunk-2HLMGVK6.js} +1 -1
  12. package/dist/{chunk-TW2V2IQ4.js → chunk-2KUFDLLY.js} +1 -1
  13. package/dist/{chunk-XCTE5S2C.js → chunk-2PYQ6BZJ.js} +1 -1
  14. package/dist/{chunk-HMDEF3UT.js → chunk-2ZPXDOCU.js} +16 -16
  15. package/dist/{chunk-ALCZ2SEW.js → chunk-3AHABZMA.js} +5 -5
  16. package/dist/{chunk-5QFFQCSY.js → chunk-3IL6H7A4.js} +1 -1
  17. package/dist/{chunk-5QDHJT73.js → chunk-4JKCTCCC.js} +6 -5
  18. package/dist/{chunk-NE7EG3SN.js → chunk-4S6ML2YX.js} +4 -4
  19. package/dist/{chunk-ATQHPT3B.js → chunk-5TODASD5.js} +1 -1
  20. package/dist/{chunk-C574RHGN.js → chunk-5U4IKVF5.js} +3 -3
  21. package/dist/{chunk-AC6DM3S3.js → chunk-6Z5AC4ZK.js} +1 -1
  22. package/dist/{chunk-IGO766M6.js → chunk-7GYY7RHR.js} +4 -4
  23. package/dist/{chunk-OI4ZV7MJ.js → chunk-7ILAGC3U.js} +1 -1
  24. package/dist/{chunk-YOAJLD2D.js → chunk-7NRULS6C.js} +7 -7
  25. package/dist/{chunk-VU5PPWIQ.js → chunk-A6CCWLUP.js} +7 -7
  26. package/dist/{chunk-YZQYTOCR.js → chunk-BYWVHMBR.js} +1 -1
  27. package/dist/{chunk-KGHYNTF6.js → chunk-BZSGU2WC.js} +7 -7
  28. package/dist/{chunk-UCUBQWJC.js → chunk-CKA4JQKR.js} +1 -1
  29. package/dist/{chunk-ITOIM3WV.js → chunk-CSFMIUYS.js} +1 -1
  30. package/dist/{chunk-QGUCHNSQ.js → chunk-D7OVS2LL.js} +3 -3
  31. package/dist/{chunk-PA6FKP5B.js → chunk-DDEJP7YT.js} +6 -6
  32. package/dist/{chunk-72LXVD4O.js → chunk-DNCF3XOC.js} +4 -4
  33. package/dist/{chunk-MBPBYMHU.js → chunk-E5G6K7C4.js} +1 -1
  34. package/dist/{chunk-L32O52SH.js → chunk-EKV7QATX.js} +1 -1
  35. package/dist/{chunk-F2ADK2KB.js → chunk-EN3OWMED.js} +5 -5
  36. package/dist/{chunk-VNHDMOZW.js → chunk-F5ONFHHU.js} +52 -31
  37. package/dist/{chunk-MT4XF5OL.js → chunk-G2CRPYFO.js} +2 -2
  38. package/dist/{chunk-3HJK7WTM.js → chunk-GELUV567.js} +137 -14
  39. package/dist/{chunk-TUSIYONR.js → chunk-HWXBOHEA.js} +1 -1
  40. package/dist/{chunk-2TXYQANG.js → chunk-IWJFARST.js} +1 -1
  41. package/dist/{chunk-DKDBMMX7.js → chunk-IZHI643L.js} +6 -6
  42. package/dist/{chunk-I2N427GS.js → chunk-J3KW7GPE.js} +8 -8
  43. package/dist/{chunk-47JRSV6Y.js → chunk-J4DTF5MN.js} +1 -1
  44. package/dist/{chunk-QFQ2UNZU.js → chunk-JASHMKDN.js} +6 -6
  45. package/dist/{chunk-25G5KXBE.js → chunk-JDXYBQBZ.js} +7 -7
  46. package/dist/{chunk-I64CTY4U.js → chunk-JNEK36QK.js} +113 -63
  47. package/dist/{chunk-E27XMQKR.js → chunk-JP5D37RZ.js} +3 -3
  48. package/dist/{chunk-EHPKACA7.js → chunk-JPO6RJEW.js} +1 -1
  49. package/dist/{chunk-IVB6A3I7.js → chunk-JRM35NTG.js} +7 -7
  50. package/dist/{chunk-735C5J6Q.js → chunk-LNTNFSRI.js} +5 -5
  51. package/dist/{chunk-L6CZTRNW.js → chunk-MRSN67FY.js} +1 -1
  52. package/dist/{chunk-RBLXGO5K.js → chunk-MV5WJEIB.js} +2 -2
  53. package/dist/{chunk-WH2QUYXH.js → chunk-MX5XVAOI.js} +2 -2
  54. package/dist/{chunk-OK4RSIB2.js → chunk-N3KGXHV4.js} +1 -1
  55. package/dist/{chunk-7E55P2NR.js → chunk-NAKFPE2V.js} +1 -1
  56. package/dist/{chunk-S56J4BMQ.js → chunk-NBJPY3OC.js} +10 -10
  57. package/dist/{chunk-XAR2CJFV.js → chunk-NCPZP6PQ.js} +7 -7
  58. package/dist/{chunk-FXVHF6RX.js → chunk-NEXKR5RR.js} +64 -13
  59. package/dist/{chunk-VRWZNI6U.js → chunk-NIQXLC6A.js} +1 -1
  60. package/dist/{chunk-3DY4DQOC.js → chunk-ONZNFKCH.js} +4 -4
  61. package/dist/{chunk-BTH6HTE5.js → chunk-OUKSF3LK.js} +5 -5
  62. package/dist/{chunk-6RQP5GP5.js → chunk-OVJSVC5U.js} +2 -2
  63. package/dist/{chunk-ENHD5PNW.js → chunk-OWBNADRQ.js} +1 -1
  64. package/dist/{chunk-MSARYPFD.js → chunk-OZDUVL5L.js} +2 -2
  65. package/dist/{chunk-FGBBGUM4.js → chunk-P5XX7VZ6.js} +4 -4
  66. package/dist/{chunk-YO2NPS66.js → chunk-PG33WPRF.js} +1 -1
  67. package/dist/{chunk-OEWSICWM.js → chunk-QB5MU2WS.js} +8 -8
  68. package/dist/{chunk-B5Z4VA4Q.js → chunk-QHYCF36K.js} +1 -1
  69. package/dist/{chunk-2WNJ2MHD.js → chunk-R6UNNKV3.js} +1 -1
  70. package/dist/{chunk-TD6DN5LU.js → chunk-RI37FFPL.js} +3 -3
  71. package/dist/{chunk-GJMLLXZJ.js → chunk-RWXLTF3K.js} +1 -1
  72. package/dist/{chunk-XFU37HIM.js → chunk-U43K2JS5.js} +3 -3
  73. package/dist/{chunk-6XROZIV6.js → chunk-UF3X5ECJ.js} +6 -6
  74. package/dist/{chunk-VQQF6MDT.js → chunk-W5OAKC2W.js} +10 -10
  75. package/dist/{chunk-BCQFMAGM.js → chunk-WPGGRTF4.js} +3 -3
  76. package/dist/{chunk-67BVM7JK.js → chunk-WVJDXOIG.js} +3 -3
  77. package/dist/{chunk-CXXQQST7.js → chunk-WWGXWKLT.js} +9 -9
  78. package/dist/{chunk-UUSSRXUJ.js → chunk-X7BVDOS2.js} +3 -3
  79. package/dist/{chunk-OWEJP5HJ.js → chunk-YB3M2TM3.js} +1 -1
  80. package/dist/{chunk-HDEYRLWK.js → chunk-YE3KPAT5.js} +1 -1
  81. package/dist/{chunk-3GTAPQBG.js → chunk-YWQ3S3F5.js} +2 -2
  82. package/dist/{chunk-B4U5XI4F.js → chunk-ZNQRFRBW.js} +8 -8
  83. package/dist/{claude-launcher-WMIUTAXY.js → claude-launcher-GNRTFQMI.js} +7 -7
  84. package/dist/{cli-PS6GSOAE.js → cli-SNHD2D6X.js} +157 -157
  85. package/dist/{command-XQPL75PX.js → command-NTKAT7KB.js} +50 -50
  86. package/dist/{config-ZRGYLVDX.js → config-LUIWZESD.js} +12 -12
  87. package/dist/{connect-cmd-MZXTWM4R.js → connect-cmd-4M4DN6GO.js} +13 -13
  88. package/dist/{container-start-M7SFF62T.js → container-start-BVEDUA7N.js} +48 -48
  89. package/dist/{context-cleanup-Z3HZZZXW.js → context-cleanup-JPPSK7DE.js} +4 -4
  90. package/dist/{context-show-cmd-SCOVPVDM.js → context-show-cmd-DAMQJOAL.js} +14 -14
  91. package/dist/{control-plane-launch-MWZHJ4G5.js → control-plane-launch-SD45JYKF.js} +14 -14
  92. package/dist/{demo-record-cmd-4RVSWVMK.js → demo-record-cmd-CFOXCR42.js} +8 -8
  93. package/dist/{demo-voice-cmd-TQP3PZE2.js → demo-voice-cmd-4YZJPUIP.js} +20 -20
  94. package/dist/{dist-XEPPXF4M.js → dist-5VKIP767.js} +2 -2
  95. package/dist/{docker-25F2KOBJ.js → docker-2DLKQOK3.js} +10 -10
  96. package/dist/{doctor-Z3U3ICVR.js → doctor-VFCDAKM4.js} +50 -50
  97. package/dist/{emit-artifact-cmd-Z4SHPKFT.js → emit-artifact-cmd-IWZDXJBY.js} +19 -19
  98. package/dist/{emit-cmd-NHMZ4M5S.js → emit-cmd-AIAY4WTW.js} +7 -7
  99. package/dist/{emit-criteria-cmd-HCN3DOJM.js → emit-criteria-cmd-UVCLLYEZ.js} +16 -16
  100. package/dist/{emit-demo-cmd-R3TIGMFX.js → emit-demo-cmd-BHKNT36Y.js} +20 -20
  101. package/dist/{emit-finding-cmd-YXR3ZVCJ.js → emit-finding-cmd-Y3XX26B4.js} +16 -16
  102. package/dist/{emit-result-cmd-Z7MBE37R.js → emit-result-cmd-TTQ3MLY4.js} +18 -18
  103. package/dist/{emit-step-cmd-JOSYDSEO.js → emit-step-cmd-EASDIM5Q.js} +16 -16
  104. package/dist/{exec-client-SZRXXKJ5.js → exec-client-MEIRWXLR.js} +8 -8
  105. package/dist/find-unit-2RZ4NCXQ.js +24 -0
  106. package/dist/{findings-cmd-NGFY25WZ.js → findings-cmd-KQOL6NJG.js} +16 -16
  107. package/dist/{fleet-readiness-NWIVQQ4P.js → fleet-readiness-R2BMWLXQ.js} +14 -14
  108. package/dist/governing-source-ARSS7R7L.js +41 -0
  109. package/dist/{guest-init-T7QJW2AJ.js → guest-init-UGBFOWNC.js} +9 -9
  110. package/dist/{hook-fast-ECQBMESE.js → hook-fast-DC556GE2.js} +1 -1
  111. package/dist/{hook-install-MBMG3G6B.js → hook-install-QQXREIMI.js} +4 -4
  112. package/dist/host-checks-UTZBDSWV.js +80 -0
  113. package/dist/host-key-CTRFLP2W.js +18 -0
  114. package/dist/{image-tag-OCVY4W5D.js → image-tag-RU4RHPIT.js} +8 -8
  115. package/dist/index.js +4 -4
  116. package/dist/init-I5HVGOQC.js +80 -0
  117. package/dist/{init-NRN2DQC3.js → init-QFTRSBBT.js} +46 -46
  118. package/dist/{init-agent-GDOZHPQH.js → init-agent-TKQ67BS4.js} +46 -46
  119. package/dist/{init-cmd-QJYX47LS.js → init-cmd-I36LJ6YC.js} +27 -27
  120. package/dist/{init-update-EUJ4264S.js → init-update-KG7V3VJF.js} +24 -24
  121. package/dist/{install-cmd-HWG6LJX5.js → install-cmd-66Z7TY52.js} +10 -10
  122. package/dist/{layout-CGE4KWGO.js → layout-CE6QLPNH.js} +4 -4
  123. package/dist/{login-browser-G7WNR74C.js → login-browser-COSWHZEC.js} +2 -2
  124. package/dist/{logs-TKWJ4S4W.js → logs-XWMVEAUP.js} +7 -7
  125. package/dist/loop-YCOSJRLW.js +90 -0
  126. package/dist/machine-BJEAYCHT.js +80 -0
  127. package/dist/{machine-skills-CXA57QHE.js → machine-skills-YJLPUAYZ.js} +4 -4
  128. package/dist/{mcp-install-cmd-6IGK65DV.js → mcp-install-cmd-VSWX5BSZ.js} +4 -4
  129. package/dist/{mcp-serve-cmd-DVE5XP2U.js → mcp-serve-cmd-M7CX4RO3.js} +9 -9
  130. package/dist/{paths-VOWYUJLZ.js → paths-GQ66KHNT.js} +7 -7
  131. package/dist/pending-COVCIH4Q.js +18 -0
  132. package/dist/{pidfile-MFP6B2KV.js → pidfile-RBG6FQ7K.js} +8 -8
  133. package/dist/{record-AWCJ3LTG.js → record-6IAZ26H3.js} +8 -8
  134. package/dist/{relay-YVZM5M6B.js → relay-VEBGGPYV.js} +5 -5
  135. package/dist/{relay-protocol-MNWITORT.js → relay-protocol-2AJCUAMJ.js} +5 -5
  136. package/dist/{run-cmd-MBH5Z2UL.js → run-cmd-EJPHCENL.js} +16 -16
  137. package/dist/{runner-agents-L3PLYFWJ.js → runner-agents-P562WZJB.js} +4 -4
  138. package/dist/runner-env-XPZ3FPQL.js +24 -0
  139. package/dist/{runner-identity-E2XKIJNB.js → runner-identity-TAJAY5M5.js} +10 -10
  140. package/dist/{runner-key-W5M6AYY5.js → runner-key-I3M7GEJE.js} +46 -46
  141. package/dist/{session-sender-IS6S7PBC.js → session-sender-OIOE4QR2.js} +19 -19
  142. package/dist/{spec-cmd-ZLDYL4N5.js → spec-cmd-2J43XP3L.js} +17 -17
  143. package/dist/{starter-pack-XINCCMDN.js → starter-pack-IT2KYFWU.js} +5 -5
  144. package/dist/state-NAZKB77R.js +18 -0
  145. package/dist/{status-L7R6FKWD.js → status-BFRDAZQP.js} +46 -46
  146. package/dist/{sync-cmd-3YZ4IB3T.js → sync-cmd-KWTFVQCR.js} +18 -18
  147. package/dist/update-steps-LINCNPGV.js +81 -0
  148. package/dist/{watch-LIIODJ5U.js → watch-3IBFF2SQ.js} +18 -18
  149. package/dist/{work-claim-cmd-GWBWIZ43.js → work-claim-cmd-C2WFSOKE.js} +22 -22
  150. package/dist/{work-cmd-CJWTGOU5.js → work-cmd-DO2QNBKA.js} +16 -16
  151. package/dist/{work-comment-cmd-RFVCNEET.js → work-comment-cmd-P5VJHCX7.js} +18 -18
  152. package/dist/{work-demo-cmd-Q2GKJCVL.js → work-demo-cmd-UJBZLOMQ.js} +16 -16
  153. package/dist/{work-logs-cmd-KZQBPU2J.js → work-logs-cmd-OVE5JUMH.js} +16 -16
  154. package/dist/{work-needs-attention-cmd-L3DOYAMK.js → work-needs-attention-cmd-QNCOUXMT.js} +16 -16
  155. package/dist/{work-no-change-cmd-SHP25CJB.js → work-no-change-cmd-KQSONMJX.js} +16 -16
  156. package/dist/{work-open-pr-cmd-VATPLVSL.js → work-open-pr-cmd-HBE74CZU.js} +17 -17
  157. package/dist/{work-pr-cmd-XBLNONT3.js → work-pr-cmd-62BGKUJM.js} +16 -16
  158. package/dist/{work-proofs-cmd-7HSLB52S.js → work-proofs-cmd-SLUFPOEN.js} +18 -18
  159. package/dist/{work-proofs-record-BE6UMZPH.js → work-proofs-record-6KGPMUHD.js} +24 -24
  160. package/dist/{work-stop-cmd-BLOSL24H.js → work-stop-cmd-7WEHA365.js} +16 -16
  161. package/package.json +1 -1
  162. package/skill-pack/maintained/outerlayer-findings/SKILL.md +46 -41
  163. package/skill-pack/maintained/outerlayer-findings/references/examples.md +23 -0
  164. package/dist/agent-setup-GZBGCV3K.js +0 -40
  165. package/dist/caller-U26SATTV.js +0 -23
  166. package/dist/find-unit-3RHC4375.js +0 -24
  167. package/dist/governing-source-DNWVPRXP.js +0 -41
  168. package/dist/host-checks-QLGWXKOC.js +0 -80
  169. package/dist/host-key-6SMJUTJ2.js +0 -18
  170. package/dist/init-JY3XYZI6.js +0 -80
  171. package/dist/loop-HWYHQ374.js +0 -90
  172. package/dist/machine-NVXRV4BO.js +0 -80
  173. package/dist/pending-35ML3JE5.js +0 -18
  174. package/dist/runner-env-IHWYZ3B6.js +0 -24
  175. package/dist/state-NIA6XT7D.js +0 -18
  176. package/dist/update-steps-6SPAPBAB.js +0 -81
@@ -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-HMDEF3UT.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';
3
+ import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-2ZPXDOCU.js';
4
+ import './chunk-OUKSF3LK.js';
5
+ import { verifiedTrackerNames, TRACKERS } from './chunk-ZNQRFRBW.js';
6
+ import './chunk-2HLMGVK6.js';
7
+ import './chunk-U43K2JS5.js';
8
+ import './chunk-DDEJP7YT.js';
9
+ import './chunk-J4DTF5MN.js';
10
+ import './chunk-HWXBOHEA.js';
11
+ import './chunk-OVJSVC5U.js';
12
+ import './chunk-JASHMKDN.js';
13
+ import './chunk-QHYCF36K.js';
14
+ import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-PG33WPRF.js';
15
+ import './chunk-N3KGXHV4.js';
16
16
  import './chunk-A2LHHKTT.js';
17
17
  import { C, warnDeprecated, API_KEY_FLAG_DEPRECATION, NO_COLOR_FLAG, stripNoColor } from './chunk-2AM6Z5BP.js';
18
- import './chunk-TW2V2IQ4.js';
19
- import './chunk-VRWZNI6U.js';
18
+ import './chunk-2KUFDLLY.js';
19
+ import './chunk-NIQXLC6A.js';
20
20
  import './chunk-HWVMRETT.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';
21
+ import './chunk-OWBNADRQ.js';
22
+ import './chunk-6Z5AC4ZK.js';
23
+ import './chunk-4S6ML2YX.js';
24
+ import './chunk-MX5XVAOI.js';
25
+ import { hookFiredMarkerPath, installedCliDistDir } from './chunk-D7OVS2LL.js';
26
26
  import './chunk-545P7JY7.js';
27
27
  import './chunk-SF2TBJBP.js';
28
28
  import { findGitDirs } from './chunk-BJ3KTMDH.js';
29
29
  import './chunk-M53UNEO6.js';
30
30
  import './chunk-BKO6JEZI.js';
31
- import './chunk-7E55P2NR.js';
31
+ import './chunk-NAKFPE2V.js';
32
32
  import './chunk-I45HTSSA.js';
33
33
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
34
34
  import { cliInvocation, packageRunnerOf } from './chunk-FZKNTIOJ.js';
35
- import { installAgents, settingsFileOf, withSettingsText } from './chunk-GJMLLXZJ.js';
35
+ import { installAgents, settingsFileOf, withSettingsText } from './chunk-RWXLTF3K.js';
36
36
  import { cliForInstall, SettingsParseError, PORTABLE_BIN, writeSettingsText, cliBinResolvable } from './chunk-ZHQC43NH.js';
37
- import './chunk-ITOIM3WV.js';
37
+ import './chunk-CSFMIUYS.js';
38
38
  import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
39
39
  import { removeJournalHooks, removePreCommitGuardHook } from './chunk-CJPTUU2E.js';
40
- import { headlessNames, credentialForms, runnerAgentNamed, credentialAgent, runnerAgents, orList, credentialShapes } from './chunk-UCUBQWJC.js';
41
- import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-MT4XF5OL.js';
40
+ import { headlessNames, credentialForms, runnerAgentNamed, credentialAgent, runnerAgents, orList, credentialShapes } from './chunk-CKA4JQKR.js';
41
+ import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-G2CRPYFO.js';
42
42
  import './chunk-PLVHIQJN.js';
43
43
  import './chunk-7PZDPISM.js';
44
44
  import './chunk-ATEMEVFF.js';
45
45
  import { resolveVersion, resolvePackageVersion } from './chunk-RA3O54FC.js';
46
46
  import { homeFromEnv } from './chunk-352DHUTP.js';
47
- import './chunk-MBPBYMHU.js';
48
- import './chunk-FXVHF6RX.js';
47
+ import './chunk-E5G6K7C4.js';
48
+ import './chunk-NEXKR5RR.js';
49
49
  import './chunk-Z5GEFMRW.js';
50
50
  import { EventEmitter } from 'events';
51
51
  import childProcess, { execFileSync } from 'child_process';
@@ -3659,14 +3659,14 @@ function apiKeyOption() {
3659
3659
  return new Option("--api-key <key>", `deprecated: use \`${cliInvocation()} login\` or OUTERLAYER_API_KEY`).hideHelp();
3660
3660
  }
3661
3661
  async function installStarterPackInRepo() {
3662
- const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-XINCCMDN.js');
3662
+ const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-IT2KYFWU.js');
3663
3663
  const cwd = process.cwd();
3664
3664
  let repoRoot = cwd;
3665
3665
  try {
3666
3666
  repoRoot = execFileSync("git", ["rev-parse", "--show-toplevel"], { cwd, encoding: "utf8", stdio: ["ignore", "pipe", "ignore"] }).trim() || cwd;
3667
3667
  } catch {
3668
3668
  }
3669
- const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-CGE4KWGO.js');
3669
+ const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-CE6QLPNH.js');
3670
3670
  const fresh = !isAgentsMdLayout(repoRoot) && !existsSync(join(repoRoot, ".outerlayer/skills")) && !existsSync(join(repoRoot, ".outerlayer/AGENTS.md"));
3671
3671
  const result = installStarterPack({ repoRoot, base: fresh ? ".agents/skills" : skillsBaseFor(repoRoot) });
3672
3672
  if (fresh) declareAgentsMdLayout(repoRoot);
@@ -3809,7 +3809,7 @@ ${starter.output}`),
3809
3809
  }
3810
3810
  }
3811
3811
  async function installMachineSkillsForSetup() {
3812
- const { setupMachineSkills } = await import('./machine-skills-CXA57QHE.js');
3812
+ const { setupMachineSkills } = await import('./machine-skills-YJLPUAYZ.js');
3813
3813
  const result = setupMachineSkills(homeFromEnv());
3814
3814
  for (const failure of result.failures) process.stderr.write(`${C.yellow}!${C.reset} Could not write a maintained skill: ${failure}
3815
3815
  `);
@@ -3817,8 +3817,8 @@ async function installMachineSkillsForSetup() {
3817
3817
  ` : "";
3818
3818
  }
3819
3819
  async function realConnectDepsForCwd() {
3820
- const { realConnectDeps } = await import('./connect-cmd-MZXTWM4R.js');
3821
- const { resolveRepoIdentity } = await import('./dist-XEPPXF4M.js');
3820
+ const { realConnectDeps } = await import('./connect-cmd-4M4DN6GO.js');
3821
+ const { resolveRepoIdentity } = await import('./dist-5VKIP767.js');
3822
3822
  return {
3823
3823
  ...realConnectDeps(),
3824
3824
  home: homeFromEnv(),
@@ -3835,7 +3835,7 @@ function buildProgram(argv = process.argv) {
3835
3835
  const program2 = new Command();
3836
3836
  program2.name(cliInvocation()).description("OuterLayer \u2014 see what your coding agents actually do").enablePositionalOptions().version(resolveVersion()).hook("preAction", async (_root, command) => {
3837
3837
  if (command.opts().apiKey !== void 0) warnDeprecated(API_KEY_FLAG_DEPRECATION);
3838
- const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-CXA57QHE.js');
3838
+ const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-YJLPUAYZ.js');
3839
3839
  const names = [];
3840
3840
  for (let at = command; at?.parent; at = at.parent) names.push(at.name());
3841
3841
  if (!machineRefreshSkipped(names, command._hidden === true, argv)) refreshMachineSkills(homeFromEnv());
@@ -3892,8 +3892,8 @@ build, ../outerlayer-build/SKILL.md becomes ~/.agents/skills/outerlayer-build/SK
3892
3892
  what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocation() + " doctor` reports the same\nstates under Starter files.\n"
3893
3893
  ).action(async (opts) => {
3894
3894
  if (opts.update || opts.dryRun) {
3895
- const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-EUJ4264S.js');
3896
- const { fleetReadiness } = await import('./fleet-readiness-NWIVQQ4P.js');
3895
+ const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-KG7V3VJF.js');
3896
+ const { fleetReadiness } = await import('./fleet-readiness-R2BMWLXQ.js');
3897
3897
  const problem = updateFlagProblem(opts);
3898
3898
  if (problem !== void 0) {
3899
3899
  fail(problem);
@@ -3910,7 +3910,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3910
3910
  }
3911
3911
  let starterTemplate;
3912
3912
  if (opts.template !== void 0) {
3913
- const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-XINCCMDN.js');
3913
+ const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-IT2KYFWU.js');
3914
3914
  try {
3915
3915
  assertKnownTemplate(opts.template);
3916
3916
  } catch (err) {
@@ -3944,13 +3944,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3944
3944
  if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
3945
3945
  `);
3946
3946
  }
3947
- const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-QJYX47LS.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-I36LJ6YC.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
3948
3948
  if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
3949
3949
  else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
3950
3950
  return;
3951
3951
  }
3952
3952
  await installMachineSkillsForSetup();
3953
- const { runInitCommand } = await import('./init-cmd-QJYX47LS.js');
3953
+ const { runInitCommand } = await import('./init-cmd-I36LJ6YC.js');
3954
3954
  const code = await runInitCommand(
3955
3955
  { json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
3956
3956
  {
@@ -3962,7 +3962,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3962
3962
  return { ok, text, detail };
3963
3963
  },
3964
3964
  runAgentSetup: async () => {
3965
- const { runAgentSetup } = await import('./agent-setup-GZBGCV3K.js');
3965
+ const { runAgentSetup } = await import('./agent-setup-OU7CGYSN.js');
3966
3966
  return runAgentSetup({ cwd: process.cwd(), skillsLink: opts.skillsLink !== false });
3967
3967
  },
3968
3968
  runDoctorChecks: gatherDoctorChecks,
@@ -3971,7 +3971,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3971
3971
  shellPath: process.env.SHELL,
3972
3972
  interactive: Boolean(process.stdin.isTTY && process.stderr.isTTY) && opts.json !== true,
3973
3973
  ask: async () => {
3974
- const { promptOnTerminal } = await import('./connect-cmd-MZXTWM4R.js');
3974
+ const { promptOnTerminal } = await import('./connect-cmd-4M4DN6GO.js');
3975
3975
  const answer = await promptOnTerminal({
3976
3976
  message: `Should plain claude start Claude Code through ${cliInvocation()} claude? That is how a session in a governed repository gets its control plane. It adds one block to your zsh or bash startup file.`,
3977
3977
  options: [
@@ -4010,7 +4010,7 @@ linked (true, false, or null when it could not be checked) and, when false,
4010
4010
  linkUrl.
4011
4011
  `
4012
4012
  ).action(async (opts) => {
4013
- const { runConnectCommand } = await import('./connect-cmd-MZXTWM4R.js');
4013
+ const { runConnectCommand } = await import('./connect-cmd-4M4DN6GO.js');
4014
4014
  const code = await runConnectCommand({ factory: opts.factory, json: opts.json }, await realConnectDepsForCwd(), {
4015
4015
  stdout: process.stdout,
4016
4016
  stderr: process.stderr
@@ -4053,7 +4053,7 @@ Every later command reads the saved file, so none of them needs a key on
4053
4053
  its command line. A saved key is checked for real on the first \`sync\`.
4054
4054
  `
4055
4055
  ).action(async (opts) => {
4056
- const { runLoginCommand, realLoginDeps } = await import('./login-browser-G7WNR74C.js');
4056
+ const { runLoginCommand, realLoginDeps } = await import('./login-browser-COSWHZEC.js');
4057
4057
  const code = await runLoginCommand(
4058
4058
  {
4059
4059
  browser: opts.browser !== false,
@@ -4086,13 +4086,13 @@ code is 1: revoke the token on /profile/security.
4086
4086
  "\nIncremental: only sessions newer than the last checkpoint ship. The tier\nis applied on this machine before anything leaves it; `--dry-run` prints\nexactly what would. The hook-triggered background sync runs `--quiet`.\nExit 2 means the server rejected at least one session.\n"
4087
4087
  ).action(async (opts) => {
4088
4088
  if (opts.link !== void 0) {
4089
- const { lookupArtifactLink } = await import('./artifact-link-cmd-XOFZP7U5.js');
4089
+ const { lookupArtifactLink } = await import('./artifact-link-cmd-L4BXSQQP.js');
4090
4090
  const found = lookupArtifactLink(opts.link);
4091
4091
  if (found.ok) process.stdout.write(found.url + "\n");
4092
4092
  else fail(found.reason);
4093
4093
  return;
4094
4094
  }
4095
- const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-3YZ4IB3T.js');
4095
+ const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-KWTFVQCR.js');
4096
4096
  try {
4097
4097
  const result = await runSync({
4098
4098
  url: opts.url,
@@ -4121,7 +4121,7 @@ code is 1: revoke the token on /profile/security.
4121
4121
  if (invokedCommandToken(argv) === "watch") {
4122
4122
  warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
4123
4123
  }
4124
- const { runWatch } = await import('./watch-LIIODJ5U.js');
4124
+ const { runWatch } = await import('./watch-3IBFF2SQ.js');
4125
4125
  await runWatch({ once: opts.once });
4126
4126
  });
4127
4127
  program2.command("hook <event>", { hidden: true }).description("capture-hook fast path, installed by `init`").option("--agent <id>", "the agent that sent the event; with none, Claude Code").action(() => {
@@ -4136,8 +4136,8 @@ code is 1: revoke the token on /profile/security.
4136
4136
  });
4137
4137
  }
4138
4138
  const brokerRelay = program2.command("broker-relay", { hidden: true }).description("relay a build's loopback connections to the runner's tunnel and destinations").enablePositionalOptions().option("--port <port>", "the loopback port to listen on").option("--socket <path>", "the runner's tunnel socket").option("--join <path>", "the socket the runner's joining process connects to").option("--lease-watchdog", "exit when the runner's lease expiry passes; needs --join").option("--join-ws <port>", "also take the runner's session over a WebSocket on this port").option("--join-secret-file <path>", "the secret a WebSocket join sends first; needs --join-ws").option("--forward <port=target>", "also relay a loopback port to a destination; repeatable", (value, previous) => [...previous, value], []).action(async (opts) => {
4139
- const { startRelay, startSessionRelay } = await import('./relay-YVZM5M6B.js');
4140
- const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-MNWITORT.js');
4139
+ const { startRelay, startSessionRelay } = await import('./relay-VEBGGPYV.js');
4140
+ const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-2AJCUAMJ.js');
4141
4141
  const port = Number(opts.port);
4142
4142
  if (!Number.isInteger(port) || port < 1 || port > 65535) {
4143
4143
  fail(opts.port === void 0 ? "--port is required" : `--port must be a port number, not ${opts.port}`);
@@ -4175,7 +4175,7 @@ code is 1: revoke the token on /profile/security.
4175
4175
  await startRelay({ port, socketPath: opts.socket, forwards: forwards.map((forward) => ({ port: forward.port, socketPath: forward.spec })) });
4176
4176
  });
4177
4177
  brokerRelay.command("join").description("carry the runner's session to the relay over standard input and output").option("--socket <path>", "the relay's joining socket", "/run/outerlayer-relay/join.sock").action(async (opts) => {
4178
- const { joinRelay } = await import('./relay-YVZM5M6B.js');
4178
+ const { joinRelay } = await import('./relay-VEBGGPYV.js');
4179
4179
  try {
4180
4180
  await joinRelay({ socketPath: opts.socket, input: process.stdin, output: process.stdout });
4181
4181
  } catch (err) {
@@ -4191,7 +4191,7 @@ code is 1: revoke the token on /profile/security.
4191
4191
  }
4192
4192
  });
4193
4193
  program2.command("vm-exec", { hidden: true }).description("run a command in a microVM build's guest through its exec agent").requiredOption("--socket <path>", "the Unix socket Firecracker serves the build's vsock device on").option("--user <user>", "the user to run as", "").option("--cwd <dir>", "the working directory", "/").option("--env <NAME=value>", "an environment value the command line carries; repeatable", (value, previous) => [...previous, value], []).option("--pass <NAME>", "an environment variable whose value is read from this process; repeatable", (value, previous) => [...previous, value], []).argument("<argv...>", "the command and its arguments").action(async (argv2, opts) => {
4194
- const { runVmExec } = await import('./exec-client-SZRXXKJ5.js');
4194
+ const { runVmExec } = await import('./exec-client-MEIRWXLR.js');
4195
4195
  const env = {};
4196
4196
  for (const entry of opts.env) {
4197
4197
  const eq = entry.indexOf("=");
@@ -4220,7 +4220,7 @@ code is 1: revoke the token on /profile/security.
4220
4220
  process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
4221
4221
  });
4222
4222
  program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
4223
- const { runSessionSender } = await import('./session-sender-IS6S7PBC.js');
4223
+ const { runSessionSender } = await import('./session-sender-OIOE4QR2.js');
4224
4224
  try {
4225
4225
  await runSessionSender();
4226
4226
  } catch (err) {
@@ -4228,7 +4228,7 @@ code is 1: revoke the token on /profile/security.
4228
4228
  }
4229
4229
  });
4230
4230
  program2.command("vm-init", { hidden: true }).description("lay out a microVM build's guest; the guest helper runs it").action(async () => {
4231
- const { realGuestHost, runGuestInit } = await import('./guest-init-T7QJW2AJ.js');
4231
+ const { realGuestHost, runGuestInit } = await import('./guest-init-UGBFOWNC.js');
4232
4232
  const { readFileSync: readFileSync3 } = await import('fs');
4233
4233
  try {
4234
4234
  runGuestInit(realGuestHost(), readFileSync3("/proc/cmdline", "utf8"));
@@ -4237,7 +4237,7 @@ code is 1: revoke the token on /profile/security.
4237
4237
  }
4238
4238
  });
4239
4239
  program2.command("vm-forward", { hidden: true }).description("pipe a guest port to another; vm-init runs it").requiredOption("--listen <host:port>", "the address to listen on").requiredOption("--to <host:port>", "the address to pipe each connection to").action(async (opts) => {
4240
- const { startBridgeForward } = await import('./bridge-RNM7OWRW.js');
4240
+ const { startBridgeForward } = await import('./bridge-MVW5RNQD.js');
4241
4241
  try {
4242
4242
  await startBridgeForward(opts);
4243
4243
  } catch (err) {
@@ -4263,7 +4263,7 @@ async function runCli(processArgv) {
4263
4263
  await buildProgram(argv).parseAsync(argv);
4264
4264
  }
4265
4265
  async function compileContext(opts) {
4266
- const { runEmit, EmitError } = await import('./emit-cmd-NHMZ4M5S.js');
4266
+ const { runEmit, EmitError } = await import('./emit-cmd-AIAY4WTW.js');
4267
4267
  try {
4268
4268
  const result = runEmit({ cwd: opts.dir, check: opts.check, json: opts.json });
4269
4269
  if (result.exitCode !== 0) process.exitCode = result.exitCode;
@@ -4316,7 +4316,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
4316
4316
  await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
4317
4317
  return;
4318
4318
  }
4319
- const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-Z7MBE37R.js');
4319
+ const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-TTQ3MLY4.js');
4320
4320
  try {
4321
4321
  const result = await runEmitResult({
4322
4322
  name,
@@ -4368,7 +4368,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
4368
4368
  locally so it never uploads. One correction can retire several duplicates.
4369
4369
  `
4370
4370
  ).action(async (file, opts) => {
4371
- const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-Z4SHPKFT.js');
4371
+ const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-IWZDXJBY.js');
4372
4372
  let pr;
4373
4373
  if (opts.pr !== void 0) {
4374
4374
  pr = parseTrackerNumber(opts.pr);
@@ -4424,7 +4424,7 @@ its criterion, and the new record retires the old record. The id must be the ite
4424
4424
  as \`work demo --item <n> --json\` prints it.
4425
4425
  `
4426
4426
  ).action(async (manifest, opts) => {
4427
- const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-R3TIGMFX.js');
4427
+ const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-BHKNT36Y.js');
4428
4428
  let item;
4429
4429
  if (opts.item !== void 0) {
4430
4430
  item = parseTrackerNumber(opts.item);
@@ -4467,7 +4467,7 @@ as \`work demo --item <n> --json\` prints it.
4467
4467
  }
4468
4468
  });
4469
4469
  program2.command("demo-voice", { hidden: true }).description("Speak demo lines for a recorder: JSON lines in on stdin, out on stdout").action(async () => {
4470
- const { runDemoVoice } = await import('./demo-voice-cmd-TQP3PZE2.js');
4470
+ const { runDemoVoice } = await import('./demo-voice-cmd-4YZJPUIP.js');
4471
4471
  await runDemoVoice();
4472
4472
  });
4473
4473
  const demoCmd = program2.command("demo").description("Record demos with the recorder this CLI carries");
@@ -4485,7 +4485,7 @@ and the command prints the manifest's path for \`emit demo\`. Under \`work proof
4485
4485
  to OUTERLAYER_PROOF_OUT instead. Exit 1 means the demo's test failed; its manifest is written all the same.
4486
4486
  `
4487
4487
  ).action(async (file, opts) => {
4488
- const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-4RVSWVMK.js');
4488
+ const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-CFOXCR42.js');
4489
4489
  try {
4490
4490
  const result = await runDemoRecord({
4491
4491
  file,
@@ -4505,7 +4505,7 @@ to OUTERLAYER_PROOF_OUT instead. Exit 1 means the demo's test failed; its manife
4505
4505
  throw err;
4506
4506
  }
4507
4507
  });
4508
- emitCmd.command("finding").description("Record one finding: a problem you hit in the factory").requiredOption("--id <id>", "client id \u2014 re-emitting the same id replaces it").option("--category <context|flaky-test|tooling|environment|defect|other>", "what kind of problem this is").requiredOption("--title <text>", "one sentence").requiredOption("--file <path>", "the file the problem is in, or the instruction's own path").option("--line <number>", "line number in --file").option("--rule-path <path>", "the instruction's own path \u2014 required for a context finding").option("--rule-line <number>", "line number in --rule-path").option("--rule-quote <text>", "the instruction's quoted sentence \u2014 required unless --rule-relation is missing").option("--rule-relation <wrong|broken|missing>", "how the instruction fails \u2014 required for a context finding").requiredOption("--where <label>", 'where this was recorded, e.g. "build session"').option("--detail <text>", "what happened, a few paragraphs").option("--cause <text>", 'what is actually wrong, or "unknown"').option("--suggestion <text>", "what would help").option("--command <text>", "the command that misbehaved").option("--error <text>", "the first error line").option("--test <name>", "the test name, for a flaky test").option("--symbol <name>", "the function the problem is in, for a defect").option("--started-at <event>", "event id where you hit the problem (default: first output showing --error)").option("--ended-at <event>", "event id where you got past it (default: the newest event)").option("--untimed", "record no time, only when the problem cost none in this session").option("--find <text>", "list this session's events that contain the text, and record nothing").option("--problem <id>", "a problem this finding reports; repeat for each one (needs --link-reason)", (value, previous = []) => [...previous, value]).option("--link-reason <text>", "why the finding reports each --problem").option("--new", "record a new problem instead of linking an existing one").option("--trace-id <id>", "the session's trace id, when there is one").option("--turn <number>", "turn index within the session").option("--round <number>", "round number, when there is one").addOption(new Option("--subject <value>").hideHelp()).addOption(new Option("--kind <value>").hideHelp()).addOption(new Option("--severity <value>").hideHelp()).addOption(new Option("--verdict <value>").hideHelp()).addOption(new Option("--fixed").hideHelp()).addOption(new Option("--source <value>").hideHelp()).option("--head-sha <sha>", "the commit this batch was recorded against").option("--context-source-sha <sha>", "the context-source commit this batch was recorded against").option("--item <number>", "work item to record on directly, by its number in this factory").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").addHelpText(
4508
+ emitCmd.command("finding").description("Record one finding: a problem you hit in the factory").requiredOption("--id <id>", "client id \u2014 re-emitting the same id replaces it").option("--category <context|flaky-test|tooling|environment|defect|other>", "what kind of problem this is").requiredOption("--title <text>", "one sentence").requiredOption("--file <path>", "the file the problem is in, or the instruction's own path").option("--line <number>", "line number in --file").option("--rule-path <path>", "the instruction's own path \u2014 required for a context finding").option("--rule-line <number>", "line number in --rule-path").option("--rule-quote <text>", "the instruction's quoted sentence \u2014 required unless --rule-relation is missing").option("--rule-relation <wrong|broken|missing>", "how the instruction fails \u2014 required for a context finding").requiredOption("--where <label>", 'where this was recorded, e.g. "build session"').option("--detail <text>", "required: what you ran, what you expected, and what you saw").option("--cause <text>", 'required: what is actually wrong, or "unknown"').option("--suggestion <text>", "what would help").option("--command <text>", "the command that misbehaved; required for tooling, environment and flaky-test").option("--error <text>", "the first error line; required for tooling and environment").option("--test <name>", "the test name; required for flaky-test").option("--symbol <name>", "the function the problem is in; required for defect").option("--started-at <event>", "event id where you hit the problem (default: first output showing --error)").option("--ended-at <event>", "event id where you got past it (default: the newest event)").option("--untimed", "record no time, only when the problem cost none in this session").option("--find <text>", "list this session's events that contain the text, and record nothing").option("--problem <id>", "a problem this finding reports; repeat for each one (needs --link-reason)", (value, previous = []) => [...previous, value]).option("--link-reason <text>", "why the finding reports each --problem").option("--new", "record a new problem instead of linking an existing one").option("--trace-id <id>", "the session's trace id, when there is one").option("--turn <number>", "turn index within the session").option("--round <number>", "round number, when there is one").addOption(new Option("--subject <value>").hideHelp()).addOption(new Option("--kind <value>").hideHelp()).addOption(new Option("--severity <value>").hideHelp()).addOption(new Option("--verdict <value>").hideHelp()).addOption(new Option("--fixed").hideHelp()).addOption(new Option("--source <value>").hideHelp()).option("--head-sha <sha>", "the commit this batch was recorded against").option("--context-source-sha <sha>", "the context-source commit this batch was recorded against").option("--item <number>", "work item to record on directly, by its number in this factory").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").addHelpText(
4509
4509
  "after",
4510
4510
  `
4511
4511
  ${cliInvocation()} emit finding --id gate-skip --category tooling \\
@@ -4534,7 +4534,7 @@ recent events with their ids. --find <text> searches all of them.
4534
4534
  item that session was launched for is used automatically.
4535
4535
  `
4536
4536
  ).action(async (opts) => {
4537
- const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-YXR3ZVCJ.js');
4537
+ const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-Y3XX26B4.js');
4538
4538
  try {
4539
4539
  refuseRemovedFindingFlags(opts);
4540
4540
  const result = await runEmitFinding({
@@ -4601,7 +4601,7 @@ the whole batch. "untimed": true records one with no time on purpose.
4601
4601
  that session was launched for is used automatically.
4602
4602
  `
4603
4603
  ).action(async (file, opts) => {
4604
- const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-YXR3ZVCJ.js');
4604
+ const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-Y3XX26B4.js');
4605
4605
  try {
4606
4606
  const result = await runEmitFindings({
4607
4607
  file,
@@ -4636,7 +4636,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
4636
4636
  the step, the command prints why and exits 1.
4637
4637
  `
4638
4638
  ).action(async (name, opts) => {
4639
- const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-JOSYDSEO.js');
4639
+ const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-EASDIM5Q.js');
4640
4640
  try {
4641
4641
  await runEmitStep({
4642
4642
  name,
@@ -4679,7 +4679,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
4679
4679
  ${cliInvocation()} emit criteria acceptance/412-login.md --item 412
4680
4680
  `
4681
4681
  ).action(async (file, opts) => {
4682
- const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-HCN3DOJM.js');
4682
+ const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-UVCLLYEZ.js');
4683
4683
  try {
4684
4684
  const result = await runEmitCriteria({
4685
4685
  file,
@@ -4703,9 +4703,9 @@ function registerSpecCommands(program2) {
4703
4703
  const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
4704
4704
  const credentialOptions = (command) => command.option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)");
4705
4705
  const run = async (action) => {
4706
- const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
4706
+ const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
4707
4707
  try {
4708
- await action(await import('./spec-cmd-ZLDYL4N5.js'));
4708
+ await action(await import('./spec-cmd-2J43XP3L.js'));
4709
4709
  } catch (err) {
4710
4710
  if (err instanceof WorkCommandError) {
4711
4711
  fail(err.message);
@@ -4740,7 +4740,7 @@ Prints each problem the item covers with its id, its reports and its result.
4740
4740
  session was launched for is used.
4741
4741
  `
4742
4742
  ).action(async (opts) => {
4743
- const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-NGFY25WZ.js');
4743
+ const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-KQOL6NJG.js');
4744
4744
  try {
4745
4745
  const result = await runFindingsShow({
4746
4746
  item: opts.item,
@@ -4768,7 +4768,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
4768
4768
  problem to replace the earlier result. A problem the item does not cover is refused.
4769
4769
  `
4770
4770
  ).action(async (problem, opts) => {
4771
- const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-NGFY25WZ.js');
4771
+ const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-KQOL6NJG.js');
4772
4772
  try {
4773
4773
  const result = await runFindingsResult({
4774
4774
  problem,
@@ -4802,8 +4802,8 @@ an issue when the daily limit leaves none, and then you stop reporting.
4802
4802
  Only the agent of a scheduled run, which holds a run key, can run it.
4803
4803
  `
4804
4804
  ).action(async (opts) => {
4805
- const { runFoundIssue, RunCommandError } = await import('./run-cmd-MBH5Z2UL.js');
4806
- const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
4805
+ const { runFoundIssue, RunCommandError } = await import('./run-cmd-EJPHCENL.js');
4806
+ const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
4807
4807
  try {
4808
4808
  await runFoundIssue(opts);
4809
4809
  } catch (err) {
@@ -4825,8 +4825,8 @@ Run it instead of found-issue, never after it. Only the agent of a
4825
4825
  scheduled run, which holds a run key, can run it.
4826
4826
  `
4827
4827
  ).action(async (opts) => {
4828
- const { runFoundNothing, RunCommandError } = await import('./run-cmd-MBH5Z2UL.js');
4829
- const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
4828
+ const { runFoundNothing, RunCommandError } = await import('./run-cmd-EJPHCENL.js');
4829
+ const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
4830
4830
  try {
4831
4831
  await runFoundNothing(opts);
4832
4832
  } catch (err) {
@@ -4858,7 +4858,7 @@ takes it, and prints the line that starts your session on it. That
4858
4858
  session links itself and holds the item's lease while it works.
4859
4859
  `
4860
4860
  ).action(async (opts) => {
4861
- const { runWorkBuild, WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
4861
+ const { runWorkBuild, WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
4862
4862
  try {
4863
4863
  await runWorkBuild(opts);
4864
4864
  } catch (err) {
@@ -4881,7 +4881,7 @@ renews that session's own 20-minute lease, unless --no-lease or
4881
4881
  --ended is given, or another worker already holds a live one.
4882
4882
  `
4883
4883
  ).action(async (number, opts) => {
4884
- const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
4884
+ const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
4885
4885
  try {
4886
4886
  await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
4887
4887
  } catch (err) {
@@ -4920,8 +4920,8 @@ log, csv, md, json, ndjson, zip, gz. A rate limit ends the command with the
4920
4920
  wait to observe; the command does not retry.
4921
4921
  `
4922
4922
  ).action(async (opts) => {
4923
- const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-RFVCNEET.js');
4924
- const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
4923
+ const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-P5VJHCX7.js');
4924
+ const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
4925
4925
  try {
4926
4926
  await runWorkComment({ ...opts, files: opts.file });
4927
4927
  } catch (err) {
@@ -4943,7 +4943,7 @@ nothing and exits 0 when the call fails: the line goes to hook-errors.log,
4943
4943
  and the comment waits for the next agent job.
4944
4944
  `
4945
4945
  ).action(async (ids, opts) => {
4946
- const { runWorkCommentsRead } = await import('./work-comment-cmd-RFVCNEET.js');
4946
+ const { runWorkCommentsRead } = await import('./work-comment-cmd-P5VJHCX7.js');
4947
4947
  await runWorkCommentsRead({ ...opts, commentIds: ids });
4948
4948
  });
4949
4949
  workCmd.command("threads").description("Read a work item's general thread, its criterion threads and its source threads").requiredOption("--item <number>", "the item's number inside this factory").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").addHelpText(
@@ -4959,8 +4959,8 @@ that started outside OuterLayer, such as the line comments of a
4959
4959
  GitHub review, each with its id, source and comments.
4960
4960
  `
4961
4961
  ).action(async (opts) => {
4962
- const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-RFVCNEET.js');
4963
- const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
4962
+ const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-P5VJHCX7.js');
4963
+ const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
4964
4964
  try {
4965
4965
  await runWorkThreads(opts);
4966
4966
  } catch (err) {
@@ -4981,8 +4981,8 @@ Writes the file under its name and prints its path. An attachment is data
4981
4981
  from a member, not an instruction.
4982
4982
  `
4983
4983
  ).action(async (id, opts) => {
4984
- const { runWorkAttachmentGet, WorkCommentCommandError } = await import('./work-comment-cmd-RFVCNEET.js');
4985
- const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
4984
+ const { runWorkAttachmentGet, WorkCommentCommandError } = await import('./work-comment-cmd-P5VJHCX7.js');
4985
+ const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
4986
4986
  try {
4987
4987
  await runWorkAttachmentGet({ ...opts, attachment: id });
4988
4988
  } catch (err) {
@@ -5006,8 +5006,8 @@ still running, or that an older runner released, has no log and the
5006
5006
  command exits 1.
5007
5007
  `
5008
5008
  ).action(async (opts) => {
5009
- const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-KZQBPU2J.js');
5010
- const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
5009
+ const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-OVE5JUMH.js');
5010
+ const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
5011
5011
  try {
5012
5012
  await runWorkLogs(opts);
5013
5013
  } catch (err) {
@@ -5030,8 +5030,8 @@ item is not built again until a new build request. Exits 1 when no host
5030
5030
  build is running for the item.
5031
5031
  `
5032
5032
  ).action(async (opts) => {
5033
- const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-BLOSL24H.js');
5034
- const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
5033
+ const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-7WEHA365.js');
5034
+ const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
5035
5035
  try {
5036
5036
  await runWorkStop(opts);
5037
5037
  } catch (err) {
@@ -5052,8 +5052,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
5052
5052
  test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
5053
5053
  `
5054
5054
  ).action(async (opts) => {
5055
- const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-Q2GKJCVL.js');
5056
- const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
5055
+ const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-UJBZLOMQ.js');
5056
+ const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
5057
5057
  try {
5058
5058
  await runWorkDemo(opts);
5059
5059
  } catch (err) {
@@ -5074,7 +5074,7 @@ deletes anything \u2014 the item is removed from Work only once no
5074
5074
  live addition remains on it.
5075
5075
  `
5076
5076
  ).action(async (opts) => {
5077
- const { runWorkRemove, WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
5077
+ const { runWorkRemove, WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
5078
5078
  try {
5079
5079
  await runWorkRemove(opts);
5080
5080
  } catch (err) {
@@ -5086,7 +5086,7 @@ live addition remains on it.
5086
5086
  }
5087
5087
  });
5088
5088
  workCmd.command("status").description("Show one item's stage, gate ledger, and additions").option("--item <number>", "the item's number inside this factory").option("--issue <number>", "issue number, or a Linear/Jira key like ENG-123").option(TRACKER_OPTION_FLAG, "tracker for a keyed --issue, when both hold the key").option("--repo <owner/name>", "repository for an issue number (default: the checkout's remote)").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").action(async (opts) => {
5089
- const { runWorkStatus, WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
5089
+ const { runWorkStatus, WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
5090
5090
  try {
5091
5091
  await runWorkStatus(opts);
5092
5092
  } catch (err) {
@@ -5144,11 +5144,11 @@ a runner build, no row is failed.
5144
5144
  fail(trackerNumberError("--pr", opts.pr));
5145
5145
  return;
5146
5146
  }
5147
- const { runWorkProofsCommand } = await import('./work-proofs-cmd-7HSLB52S.js');
5147
+ const { runWorkProofsCommand } = await import('./work-proofs-cmd-SLUFPOEN.js');
5148
5148
  await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
5149
5149
  });
5150
5150
  workCmd.command("list").description("List live work items for this factory").option("--stage <spec|build|review>", "filter by stage").option("--section <attention|waiting|flowing>", "filter by Queue section").option("--repo <owner/name>", "repository (default: the current checkout's remote)").option("--unclaimed", "only items with no live lease").option("--claimed", "only items with a live lease, held by a host or a local session").option("--startable", "only items a host can start: a build request, no open PR, no live lease").option("--needs <amend>", "only items with a thread waiting on an agent").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").action(async (opts) => {
5151
- const { runWorkList, WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
5151
+ const { runWorkList, WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
5152
5152
  try {
5153
5153
  await runWorkList(opts);
5154
5154
  } catch (err) {
@@ -5169,7 +5169,7 @@ by a different key is refused; claiming again with the same key extends
5169
5169
  it. --host is a label only.
5170
5170
  `
5171
5171
  ).action(async (opts) => {
5172
- const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-GWBWIZ43.js');
5172
+ const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-C2WFSOKE.js');
5173
5173
  try {
5174
5174
  await runWorkClaim(opts);
5175
5175
  } catch (err) {
@@ -5189,7 +5189,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
5189
5189
  lease has expired, or a 403 if a different key holds it.
5190
5190
  `
5191
5191
  ).action(async (opts) => {
5192
- const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-GWBWIZ43.js');
5192
+ const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-C2WFSOKE.js');
5193
5193
  try {
5194
5194
  await runWorkRenew(opts);
5195
5195
  } catch (err) {
@@ -5221,7 +5221,7 @@ applies to a host's lease only. A later tool call in the session
5221
5221
  takes the lease again.
5222
5222
  `
5223
5223
  ).action(async (opts) => {
5224
- const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-GWBWIZ43.js');
5224
+ const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-C2WFSOKE.js');
5225
5225
  try {
5226
5226
  await runWorkRelease(opts);
5227
5227
  } catch (err) {
@@ -5248,7 +5248,7 @@ Idempotent: declaring the same pull request twice is a no-op.
5248
5248
  needs your own login; an agent session or a factory key is refused.
5249
5249
  `
5250
5250
  ).action(async (number, opts) => {
5251
- const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-XBLNONT3.js');
5251
+ const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-62BGKUJM.js');
5252
5252
  try {
5253
5253
  await runWorkPr({ ...opts, number });
5254
5254
  } catch (err) {
@@ -5273,8 +5273,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
5273
5273
  Run it again after a change to the title or description.
5274
5274
  `
5275
5275
  ).action(async (opts) => {
5276
- const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-VATPLVSL.js');
5277
- const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
5276
+ const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-HBE74CZU.js');
5277
+ const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
5278
5278
  try {
5279
5279
  await runWorkOpenPr(opts);
5280
5280
  } catch (err) {
@@ -5297,8 +5297,8 @@ and OuterLayer posts the reason on the issue. Only a host build, which
5297
5297
  holds an item key, can run it.
5298
5298
  `
5299
5299
  ).action(async (opts) => {
5300
- const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-SHP25CJB.js');
5301
- const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
5300
+ const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-KQSONMJX.js');
5301
+ const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
5302
5302
  try {
5303
5303
  await runWorkNoChange(opts);
5304
5304
  } catch (err) {
@@ -5321,8 +5321,8 @@ record that no change is needed. Only a host build, which holds an item key,
5321
5321
  can run it.
5322
5322
  `
5323
5323
  ).action(async (opts) => {
5324
- const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-L3DOYAMK.js');
5325
- const { WorkCommandError } = await import('./work-cmd-CJWTGOU5.js');
5324
+ const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-QNCOUXMT.js');
5325
+ const { WorkCommandError } = await import('./work-cmd-DO2QNBKA.js');
5326
5326
  try {
5327
5327
  await runWorkNeedsAttention(opts);
5328
5328
  } catch (err) {
@@ -5366,9 +5366,9 @@ function registerRunnerCommands(program2) {
5366
5366
  const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
5367
5367
  const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
5368
5368
  runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
5369
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-ZRGYLVDX.js');
5370
- const { start, RunnerStartError } = await import('./loop-HWYHQ374.js');
5371
- const { RunnerAlreadyRunningError } = await import('./pidfile-MFP6B2KV.js');
5369
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-LUIWZESD.js');
5370
+ const { start, RunnerStartError } = await import('./loop-YCOSJRLW.js');
5371
+ const { RunnerAlreadyRunningError } = await import('./pidfile-RBG6FQ7K.js');
5372
5372
  const configPath = opts.config ?? defaultRunnerConfigPath();
5373
5373
  try {
5374
5374
  const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
@@ -5390,10 +5390,10 @@ is optional and defaults to ${words().runnerName}. On a later start it refuses v
5390
5390
  The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5391
5391
  `
5392
5392
  ).action(async () => {
5393
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-ZRGYLVDX.js');
5394
- const { containerStart, containerStartExit } = await import('./container-start-M7SFF62T.js');
5395
- const { start, RunnerStartError } = await import('./loop-HWYHQ374.js');
5396
- const { RunnerAlreadyRunningError } = await import('./pidfile-MFP6B2KV.js');
5393
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-LUIWZESD.js');
5394
+ const { containerStart, containerStartExit } = await import('./container-start-BVEDUA7N.js');
5395
+ const { start, RunnerStartError } = await import('./loop-YCOSJRLW.js');
5396
+ const { RunnerAlreadyRunningError } = await import('./pidfile-RBG6FQ7K.js');
5397
5397
  try {
5398
5398
  const outcome = containerStartExit(await containerStart({
5399
5399
  env: process.env,
@@ -5414,16 +5414,16 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5414
5414
  "after",
5415
5415
  "\nIn the runner image, run it with `docker exec <container> outerlayer runner update-steps`. It reads the\ncontainer with `docker inspect` and changes nothing. The steps rename the old container and never remove it\nbefore the new one runs. They name the container's variables and never print a value.\n"
5416
5416
  ).action(async (opts) => {
5417
- const { defaultRunnerConfigPath } = await import('./config-ZRGYLVDX.js');
5418
- const { runnerDir } = await import('./paths-VOWYUJLZ.js');
5419
- const { runUpdateSteps } = await import('./update-steps-6SPAPBAB.js');
5417
+ const { defaultRunnerConfigPath } = await import('./config-LUIWZESD.js');
5418
+ const { runnerDir } = await import('./paths-GQ66KHNT.js');
5419
+ const { runUpdateSteps } = await import('./update-steps-LINCNPGV.js');
5420
5420
  const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
5421
5421
  process.stdout.write(`${text}
5422
5422
  `);
5423
5423
  });
5424
5424
  runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
5425
- const { defaultRunnerConfigPath } = await import('./config-ZRGYLVDX.js');
5426
- const { runRunnerCheck } = await import('./check-3XHEVEXS.js');
5425
+ const { defaultRunnerConfigPath } = await import('./config-LUIWZESD.js');
5426
+ const { runRunnerCheck } = await import('./check-U5DOQU64.js');
5427
5427
  const configPath = opts.config ?? defaultRunnerConfigPath();
5428
5428
  const result = await runRunnerCheck(configPath);
5429
5429
  if (!result.ok) {
@@ -5444,8 +5444,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5444
5444
  `);
5445
5445
  });
5446
5446
  runnerCmd.command("install").description("Put this CLI in the runner's install layout; --service adds its service").option("--config <path>", configOption).option("--service", "set up the service that keeps the runner running").option("--print", "with --service, print the unit and set up nothing").option("--user <account>", "with --service, the account the service runs as").option("--replace", "replace a unit or launcher file this command did not write").option("--allow-downgrade", "install this CLI even when it is older than the version the runner runs").option("--unit-name <name>", "with --service, the unit's name, to run a second runner beside the first").option("--build-memory-max <size>", "with --service, memory all builds may use together, such as 16g").option("--build-cpus-max <n>", "with --service, CPUs all builds may use together, such as 4").action(async (opts) => {
5447
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-ZRGYLVDX.js');
5448
- const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-HWG6LJX5.js');
5447
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-LUIWZESD.js');
5448
+ const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-66Z7TY52.js');
5449
5449
  const configPath = opts.config ?? defaultRunnerConfigPath();
5450
5450
  if (opts.service !== true) {
5451
5451
  const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
@@ -5457,13 +5457,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5457
5457
  }
5458
5458
  }
5459
5459
  const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
5460
- if (buildCpusMax !== void 0 && !(await import('./command-XQPL75PX.js')).cpusAreValid(buildCpusMax)) {
5460
+ if (buildCpusMax !== void 0 && !(await import('./command-NTKAT7KB.js')).cpusAreValid(buildCpusMax)) {
5461
5461
  fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
5462
5462
  return;
5463
5463
  }
5464
5464
  try {
5465
5465
  if (opts.service === true) {
5466
- const { installServiceCommand, serviceSuccessText } = await import('./command-XQPL75PX.js');
5466
+ const { installServiceCommand, serviceSuccessText } = await import('./command-NTKAT7KB.js');
5467
5467
  const result2 = await installServiceCommand({
5468
5468
  configPath,
5469
5469
  print: opts.print,
@@ -5517,8 +5517,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
5517
5517
  fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
5518
5518
  return;
5519
5519
  }
5520
- const { defaultRunnerConfigPath } = await import('./config-ZRGYLVDX.js');
5521
- const { uninstallServiceCommand } = await import('./command-XQPL75PX.js');
5520
+ const { defaultRunnerConfigPath } = await import('./config-LUIWZESD.js');
5521
+ const { uninstallServiceCommand } = await import('./command-NTKAT7KB.js');
5522
5522
  const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
5523
5523
  if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
5524
5524
  `);
@@ -5548,13 +5548,13 @@ already in ${words().envFile} is used.
5548
5548
  printf '%s' "$${words().variables[0]}" | ${cliInvocation()} runner init --agent ${words().runnerName} --factory <org>/<factory>
5549
5549
  `
5550
5550
  ).action(async (opts) => {
5551
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-ZRGYLVDX.js');
5552
- const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-JY3XYZI6.js');
5553
- const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-W5M6AYY5.js');
5554
- const { detectMachine } = await import('./machine-NVXRV4BO.js');
5555
- const { chooseVm, runVmInit, VmInitError } = await import('./init-NRN2DQC3.js');
5556
- const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-IHWYZ3B6.js');
5557
- const { headlessNames: headlessNames2 } = await import('./runner-agents-L3PLYFWJ.js');
5551
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-LUIWZESD.js');
5552
+ const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-I5HVGOQC.js');
5553
+ const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-I3M7GEJE.js');
5554
+ const { detectMachine } = await import('./machine-BJEAYCHT.js');
5555
+ const { chooseVm, runVmInit, VmInitError } = await import('./init-QFTRSBBT.js');
5556
+ const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-XPZ3FPQL.js');
5557
+ const { headlessNames: headlessNames2 } = await import('./runner-agents-P562WZJB.js');
5558
5558
  const configPath = opts.config ?? defaultRunnerConfigPath();
5559
5559
  if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
5560
5560
  fail(`--agent ${opts.agent}: runner init writes commands for ${headlessNames2().join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
@@ -5566,7 +5566,7 @@ already in ${words().envFile} is used.
5566
5566
  return;
5567
5567
  }
5568
5568
  try {
5569
- const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-GDOZHPQH.js');
5569
+ const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-TKQ67BS4.js');
5570
5570
  agent = await initAgent({
5571
5571
  flag: agent,
5572
5572
  handOff: opts.configStdin === true,
@@ -5577,7 +5577,7 @@ already in ${words().envFile} is used.
5577
5577
  if (agent !== void 0) {
5578
5578
  const chosen = agent;
5579
5579
  const forms = credentialForms((runnerAgentNamed(chosen) ?? credentialAgent()).descriptor);
5580
- const { readPipedKey } = await import('./login-browser-G7WNR74C.js');
5580
+ const { readPipedKey } = await import('./login-browser-COSWHZEC.js');
5581
5581
  const { terminalPrompt: terminalPrompt2 } = await import('./hidden-prompt-UXBFMQC5.js');
5582
5582
  const text = await agentCredentialText({
5583
5583
  isTTY: process.stdin.isTTY === true,
@@ -5599,7 +5599,7 @@ already in ${words().envFile} is used.
5599
5599
  const chunks = [];
5600
5600
  for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
5601
5601
  const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
5602
- const { ensureHostKey: ensureHostKey2 } = await import('./host-key-6SMJUTJ2.js');
5602
+ const { ensureHostKey: ensureHostKey2 } = await import('./host-key-CTRFLP2W.js');
5603
5603
  const hostKey2 = await ensureHostKey2(configPath);
5604
5604
  process.stdout.write(`host key ${hostKey2.fingerprint}
5605
5605
  hooks: ${result2.hooks}
@@ -5654,7 +5654,7 @@ hooks: ${result2.hooks}
5654
5654
  const prepared = prepareRunnerInit(configPath, { machine, agent, credential, keyFromLogin: makeKey !== void 0 });
5655
5655
  const created = makeKey === void 0 ? void 0 : await makeKey();
5656
5656
  const result = writeRunnerInit(prepared, created);
5657
- const { ensureHostKey } = await import('./host-key-6SMJUTJ2.js');
5657
+ const { ensureHostKey } = await import('./host-key-CTRFLP2W.js');
5658
5658
  const hostKey = await ensureHostKey(configPath);
5659
5659
  if (created !== void 0) {
5660
5660
  process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
@@ -5674,7 +5674,7 @@ hooks: ${result2.hooks}
5674
5674
  );
5675
5675
  process.stdout.write(`${C.green}\u2713${C.reset} hooks: ${result.hooks}${result.hooks === "builtin:vm" ? " (builds run in microVMs)" : " (builds run in containers)"}
5676
5676
  `);
5677
- const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-HWG6LJX5.js');
5677
+ const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-66Z7TY52.js');
5678
5678
  let installedLayout = false;
5679
5679
  let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
5680
5680
  try {
@@ -5706,7 +5706,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
5706
5706
  let serviceUp = false;
5707
5707
  let restart;
5708
5708
  if (installedLayout) {
5709
- const { installServiceCommand } = await import('./command-XQPL75PX.js');
5709
+ const { installServiceCommand } = await import('./command-NTKAT7KB.js');
5710
5710
  const service = await installServiceCommand({
5711
5711
  configPath,
5712
5712
  entryPath: process.argv[1] ?? "",
@@ -5758,12 +5758,12 @@ image holds this CLI and a pinned ${words().agent}. Nothing runs inside the imag
5758
5758
  A repository with no devcontainer file builds on the universal image the CLI pins by digest.
5759
5759
  `
5760
5760
  ).action(async (opts) => {
5761
- const { defaultRunnerConfigPath } = await import('./config-ZRGYLVDX.js');
5762
- const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-VKO7IVOQ.js');
5761
+ const { defaultRunnerConfigPath } = await import('./config-LUIWZESD.js');
5762
+ const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-D4Y3LBPO.js');
5763
5763
  const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
5764
- const { createDockerHost } = await import('./docker-25F2KOBJ.js');
5765
- const { builderSpec } = await import('./builder-HMHJ6U7C.js');
5766
- const { loadRunnerConfig } = await import('./config-ZRGYLVDX.js');
5764
+ const { createDockerHost } = await import('./docker-2DLKQOK3.js');
5765
+ const { builderSpec } = await import('./builder-6L5ZMXBE.js');
5766
+ const { loadRunnerConfig } = await import('./config-LUIWZESD.js');
5767
5767
  const configPath = opts.config ?? defaultRunnerConfigPath();
5768
5768
  const loaded = (() => {
5769
5769
  try {
@@ -5774,12 +5774,12 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5774
5774
  })();
5775
5775
  const memory = loaded?.build?.memory ?? "8g";
5776
5776
  try {
5777
- const { ensureRunnerIdentity } = await import('./runner-identity-E2XKIJNB.js');
5777
+ const { ensureRunnerIdentity } = await import('./runner-identity-TAJAY5M5.js');
5778
5778
  await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
5779
5779
  console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
5780
5780
  });
5781
- const { imageTargetFor } = await import('./governing-source-DNWVPRXP.js');
5782
- const { runnerCalls } = await import('./caller-U26SATTV.js');
5781
+ const { imageTargetFor } = await import('./governing-source-ARSS7R7L.js');
5782
+ const { runnerCalls } = await import('./caller-FFSXVMLB.js');
5783
5783
  const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
5784
5784
  if (!target.ok) {
5785
5785
  if (opts.json) {
@@ -5843,25 +5843,25 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5843
5843
  }
5844
5844
  });
5845
5845
  runnerCmd.command("stop").description("Take no more work; finish running jobs, then exit").option("--config <path>", "the cloud config file naming the runner to stop").option("--now", "end running jobs immediately, with outcome stopped").action(async (opts) => {
5846
- const { defaultRunnerConfigPath } = await import('./config-ZRGYLVDX.js');
5847
- const { requestStop } = await import('./loop-HWYHQ374.js');
5846
+ const { defaultRunnerConfigPath } = await import('./config-LUIWZESD.js');
5847
+ const { requestStop } = await import('./loop-YCOSJRLW.js');
5848
5848
  const configPath = opts.config ?? defaultRunnerConfigPath();
5849
- const { runnerImageVersion } = await import('./image-tag-OCVY4W5D.js');
5849
+ const { runnerImageVersion } = await import('./image-tag-RU4RHPIT.js');
5850
5850
  await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
5851
5851
  });
5852
5852
  runnerCmd.command("status").description("List running jobs; with --recent, finished ones too").option("--config <path>", "the cloud config file naming the runner to inspect").option("--recent", "also list finished jobs, newest first, capped at 20").option("--json", "machine-readable JSON output").action(async (opts) => {
5853
- const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-ZRGYLVDX.js');
5854
- const { jobsDir, runnerDir } = await import('./paths-VOWYUJLZ.js');
5855
- const { listJobFiles, runnerProcessState } = await import('./loop-HWYHQ374.js');
5856
- const { renderStatus } = await import('./status-L7R6FKWD.js');
5857
- const { readHousekeepingRecord } = await import('./record-AWCJ3LTG.js');
5853
+ const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-LUIWZESD.js');
5854
+ const { jobsDir, runnerDir } = await import('./paths-GQ66KHNT.js');
5855
+ const { listJobFiles, runnerProcessState } = await import('./loop-YCOSJRLW.js');
5856
+ const { renderStatus } = await import('./status-BFRDAZQP.js');
5857
+ const { readHousekeepingRecord } = await import('./record-6IAZ26H3.js');
5858
5858
  const path2 = await import('path');
5859
5859
  const configPath = opts.config ?? defaultRunnerConfigPath();
5860
5860
  const all = listJobFiles(configPath);
5861
5861
  const housekeeping = readHousekeepingRecord(runnerDir(configPath));
5862
- const { readPendingUpdate } = await import('./pending-35ML3JE5.js');
5862
+ const { readPendingUpdate } = await import('./pending-COVCIH4Q.js');
5863
5863
  const pendingUpdate = readPendingUpdate(runnerDir(configPath));
5864
- const { readImageStatus } = await import('./image-tag-OCVY4W5D.js');
5864
+ const { readImageStatus } = await import('./image-tag-RU4RHPIT.js');
5865
5865
  const image = readImageStatus(runnerDir(configPath));
5866
5866
  let host = "unknown";
5867
5867
  let concurrency = 1;
@@ -5871,7 +5871,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5871
5871
  host = config.host;
5872
5872
  concurrency = config.concurrency;
5873
5873
  if (config.fleet === true) {
5874
- const { readFleetState } = await import('./state-NIA6XT7D.js');
5874
+ const { readFleetState } = await import('./state-NAZKB77R.js');
5875
5875
  fleet = { state: readFleetState(configPath) };
5876
5876
  }
5877
5877
  } catch {
@@ -5879,7 +5879,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5879
5879
  const processState = runnerProcessState(configPath);
5880
5880
  const service = await (async () => {
5881
5881
  if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
5882
- const { inspectRunnerService } = await import('./find-unit-3RHC4375.js');
5882
+ const { inspectRunnerService } = await import('./find-unit-2RZ4NCXQ.js');
5883
5883
  const facts = inspectRunnerService(configPath);
5884
5884
  return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
5885
5885
  })();
@@ -5918,9 +5918,9 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5918
5918
  );
5919
5919
  });
5920
5920
  runnerCmd.command("logs").argument("<item>", "the work item's number in the factory, or a build's claim id").description("Print the newest attempt's log for one item or claim id").option("--config <path>", "the cloud config file naming the runner to inspect").option("-f, --follow", "keep printing as the log grows").action(async (itemArg, opts) => {
5921
- const { defaultRunnerConfigPath } = await import('./config-ZRGYLVDX.js');
5922
- const { listJobFiles } = await import('./loop-HWYHQ374.js');
5923
- const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-TKWJ4S4W.js');
5921
+ const { defaultRunnerConfigPath } = await import('./config-LUIWZESD.js');
5922
+ const { listJobFiles } = await import('./loop-YCOSJRLW.js');
5923
+ const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-XWMVEAUP.js');
5924
5924
  const configPath = opts.config ?? defaultRunnerConfigPath();
5925
5925
  const jobs = listJobFiles(configPath);
5926
5926
  const selected = selectAttempt(jobs, itemArg);
@@ -6141,7 +6141,7 @@ Self-host deployments also need --app-id: without a key service to resolve the
6141
6141
  caller from the bearer token, the gateway answers 401 without that header.
6142
6142
  `
6143
6143
  ).action(async (opts) => {
6144
- const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-6IGK65DV.js');
6144
+ const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-VSWX5BSZ.js');
6145
6145
  try {
6146
6146
  if (opts.transport !== void 0 && opts.transport !== "stdio" && opts.transport !== "http") {
6147
6147
  throw new McpInstallError(`--transport must be "stdio" or "http", got "${opts.transport}"`);
@@ -6163,7 +6163,7 @@ caller from the bearer token, the gateway answers 401 without that header.
6163
6163
  "after",
6164
6164
  "\nWhat the stdio .mcp.json entry spawns. Reads newline-delimited JSON-RPC 2.0 on\nstdin and writes responses on stdout. The API key comes from OUTERLAYER_API_KEY\nor ~/.outerlayer/config.json at start-up; with neither the command exits 1 and\nprints why, which the MCP client shows as the connect error.\n"
6165
6165
  ).action(async (opts) => {
6166
- const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-DVE5XP2U.js');
6166
+ const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-M7CX4RO3.js');
6167
6167
  try {
6168
6168
  await runMcpServe({ url: opts.url, appId: opts.appId });
6169
6169
  } catch (err) {
@@ -6184,7 +6184,7 @@ would get, the instruction files and the names of the skills. It warns when the
6184
6184
  no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
6185
6185
  `
6186
6186
  ).action(async (opts) => {
6187
- const { runContextShow, ContextShowError } = await import('./context-show-cmd-SCOVPVDM.js');
6187
+ const { runContextShow, ContextShowError } = await import('./context-show-cmd-DAMQJOAL.js');
6188
6188
  try {
6189
6189
  const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
6190
6190
  process.stdout.write(result.output);