@outerlayer/cli 0.38.0-next.20261105195352 → 0.38.0-next.20261106012958

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 (173) hide show
  1. package/dist/agent-setup-CBEPGNFY.js +40 -0
  2. package/dist/{agent-subcommand-H5LKM3HG.js → agent-subcommand-UNSXJUHA.js} +4 -4
  3. package/dist/{artifact-link-cmd-72FQTBGO.js → artifact-link-cmd-QP6VO7AJ.js} +2 -2
  4. package/dist/{bridge-RN5JYY7N.js → bridge-JI4IO7JN.js} +7 -7
  5. package/dist/{build-DJDZXY7M.js → build-2L3L2OJO.js} +13 -13
  6. package/dist/{build-disk-PN7QBYVR.js → build-disk-CKBEEF4N.js} +11 -11
  7. package/dist/build-info.json +1 -1
  8. package/dist/{builder-NJXSBAX3.js → builder-PKDA7X2H.js} +10 -10
  9. package/dist/caller-XETCC46J.js +23 -0
  10. package/dist/{check-QF7RGLUL.js → check-FG32SYJF.js} +55 -55
  11. package/dist/{chunk-DDBCRY3Y.js → chunk-256R6O56.js} +3 -3
  12. package/dist/{chunk-P64TL3GV.js → chunk-2MQQASWB.js} +6 -6
  13. package/dist/{chunk-ZRYBGZI7.js → chunk-3DVCPRKE.js} +9 -9
  14. package/dist/{chunk-3YCKLA4N.js → chunk-3FAJMXBA.js} +8 -8
  15. package/dist/{chunk-NFKERPLC.js → chunk-3XWZKL2P.js} +7 -7
  16. package/dist/{chunk-BP3B5R7Y.js → chunk-45TFVWNT.js} +6 -6
  17. package/dist/{chunk-R2QIQZ4V.js → chunk-4MSEUIMK.js} +13 -7
  18. package/dist/{chunk-QAFR65VC.js → chunk-5R5FEPLH.js} +1 -1
  19. package/dist/{chunk-G74ZB2V4.js → chunk-5VAXNAOD.js} +1 -1
  20. package/dist/{chunk-SZN3CSEP.js → chunk-ABN4UBR5.js} +2 -2
  21. package/dist/{chunk-BHATB3L2.js → chunk-AJC5Q2NY.js} +5 -5
  22. package/dist/{chunk-WH4OWQ6T.js → chunk-AMG5ICDO.js} +4 -4
  23. package/dist/{chunk-XJPTMZJG.js → chunk-AVEF3T6Y.js} +2 -2
  24. package/dist/{chunk-GEC2G3SJ.js → chunk-BL6CCU26.js} +6 -6
  25. package/dist/{chunk-V52EY5UK.js → chunk-BO3NOGKE.js} +3 -3
  26. package/dist/{chunk-WPLNTUS6.js → chunk-CCMKLF7K.js} +6 -6
  27. package/dist/{chunk-6UXPXENL.js → chunk-CGXYPLK3.js} +2 -2
  28. package/dist/{chunk-75D54355.js → chunk-DK5YFDYI.js} +8 -8
  29. package/dist/{chunk-HUMQ4NLZ.js → chunk-DL5N6V3D.js} +1 -1
  30. package/dist/{chunk-ID3HBQYZ.js → chunk-DVFGCVTV.js} +5 -5
  31. package/dist/{chunk-3CN77FDB.js → chunk-DXBYNJRM.js} +6 -6
  32. package/dist/{chunk-AGDRXJSZ.js → chunk-EERD7VI3.js} +1 -1
  33. package/dist/{chunk-ZOLDM52Z.js → chunk-EFAOERZH.js} +1 -1
  34. package/dist/{chunk-44332APJ.js → chunk-EHJYXABQ.js} +1 -1
  35. package/dist/{chunk-ZFZ62TU4.js → chunk-ERQLHUWU.js} +5 -5
  36. package/dist/{chunk-BM25MMUE.js → chunk-EXIZ3G6I.js} +6 -6
  37. package/dist/{chunk-UFDJDVZD.js → chunk-FER7JJ3S.js} +1 -1
  38. package/dist/{chunk-PWCP3YVA.js → chunk-FGVVBYCT.js} +1 -1
  39. package/dist/{chunk-P26TVBYV.js → chunk-FOUG2R4Q.js} +1 -1
  40. package/dist/{chunk-NAGY6ISM.js → chunk-GMRVWRHD.js} +2 -2
  41. package/dist/{chunk-OD2F225Q.js → chunk-HG2ZG6ZU.js} +1 -1
  42. package/dist/{chunk-VVZIFOAN.js → chunk-IXB2IIEW.js} +1 -1
  43. package/dist/{chunk-O4CWZFC4.js → chunk-JTDMSQMI.js} +8 -8
  44. package/dist/{chunk-TTYZDLGW.js → chunk-K6JOU4CT.js} +25 -25
  45. package/dist/{chunk-3FKWVYWC.js → chunk-KLQLQQGG.js} +3 -3
  46. package/dist/{chunk-6Z5H7JV3.js → chunk-L4ACBB5R.js} +1 -1
  47. package/dist/{chunk-2VUBHRPG.js → chunk-MDKLSY43.js} +1 -1
  48. package/dist/{chunk-6S4THFJO.js → chunk-MPE4NOKD.js} +2 -2
  49. package/dist/{chunk-ZBPUHNUZ.js → chunk-NEEMG462.js} +1 -1
  50. package/dist/{chunk-ZZZIOKUN.js → chunk-O4Z2YVC3.js} +5 -5
  51. package/dist/{chunk-UEFLAGRW.js → chunk-OFWNBTLU.js} +1 -1
  52. package/dist/{chunk-EJOZNQBE.js → chunk-OGQW7A4G.js} +16 -12
  53. package/dist/{chunk-EUA3SKPV.js → chunk-ONOINHY4.js} +1 -1
  54. package/dist/{chunk-UAVBSFHI.js → chunk-OUHM6U6Z.js} +4 -4
  55. package/dist/{chunk-GUYDCCUH.js → chunk-PARDL7HH.js} +1 -1
  56. package/dist/{chunk-NYWLOOIL.js → chunk-PMJ6IEUM.js} +7 -7
  57. package/dist/{chunk-72DXH6AP.js → chunk-QONY6C2B.js} +9 -9
  58. package/dist/{chunk-XGQ7ZHNH.js → chunk-QWDGHEQL.js} +1 -1
  59. package/dist/{chunk-5BU252QJ.js → chunk-RSRNZB4T.js} +7 -7
  60. package/dist/{chunk-ORSNYGXN.js → chunk-RUJR3SDB.js} +1 -1
  61. package/dist/{chunk-A5FIUS53.js → chunk-RZ6WJTUP.js} +1 -1
  62. package/dist/{chunk-P22JMQJB.js → chunk-S7CE7QCF.js} +3 -3
  63. package/dist/{chunk-7DHQVVEC.js → chunk-SMFWLPXC.js} +16 -16
  64. package/dist/{chunk-365EXSFH.js → chunk-T524XQKI.js} +1 -1
  65. package/dist/{chunk-HBGVQT33.js → chunk-TAEDH2SU.js} +1 -1
  66. package/dist/{chunk-SCH5S3VW.js → chunk-U5EE7PGC.js} +3 -3
  67. package/dist/{chunk-QNQS4PET.js → chunk-U7L4GBGS.js} +1 -1
  68. package/dist/{chunk-KEY5IDTC.js → chunk-VNT2IRLM.js} +4 -4
  69. package/dist/{chunk-LQJAZ4VK.js → chunk-VWNQRD4I.js} +4 -4
  70. package/dist/{chunk-QNPJ4VZ2.js → chunk-WF2NXBOM.js} +7 -7
  71. package/dist/{chunk-S24KG7NY.js → chunk-X2DX3A7H.js} +1 -1
  72. package/dist/{chunk-SZKBH2BO.js → chunk-XDRZ3BNA.js} +1 -1
  73. package/dist/{chunk-LWHHAZ75.js → chunk-XE2PXGZT.js} +3 -3
  74. package/dist/{chunk-6VCNDRNW.js → chunk-YKWOVYVN.js} +4 -4
  75. package/dist/{chunk-HV44EL6A.js → chunk-YWWW47OY.js} +1 -1
  76. package/dist/{chunk-2JIGPSVF.js → chunk-YXXJBHHF.js} +20 -4
  77. package/dist/{chunk-KZG3R5YD.js → chunk-YZRDJOOR.js} +3 -3
  78. package/dist/{chunk-AUQPAVRV.js → chunk-Z4R36YDJ.js} +29 -29
  79. package/dist/{chunk-HLBN3FLS.js → chunk-ZCEM4GJ5.js} +3 -3
  80. package/dist/{chunk-DSR3VW72.js → chunk-ZLJXMXZP.js} +2 -2
  81. package/dist/{chunk-FIXRXONQ.js → chunk-ZO3RUMUR.js} +4 -4
  82. package/dist/{chunk-NIUSFUUS.js → chunk-ZTJTAKVW.js} +1 -1
  83. package/dist/{claude-launcher-LIV7LKKT.js → claude-launcher-FHQTSQOM.js} +7 -7
  84. package/dist/{cli-NKKF5PF5.js → cli-GNC4MFMP.js} +149 -148
  85. package/dist/{command-ZQDMVPD4.js → command-47EYM2FJ.js} +50 -50
  86. package/dist/{config-6LQKXZNE.js → config-EA6WVKAS.js} +12 -12
  87. package/dist/{connect-cmd-KHOYYXIY.js → connect-cmd-4JO2LBUT.js} +13 -13
  88. package/dist/{container-start-FGSVYG2T.js → container-start-XR7KANS6.js} +48 -48
  89. package/dist/{context-cleanup-WYI3QQBI.js → context-cleanup-6CTKLEUT.js} +4 -4
  90. package/dist/{context-show-cmd-MUSMZ3ZM.js → context-show-cmd-Z7NQAKNE.js} +14 -14
  91. package/dist/{control-plane-launch-UGMPLX2S.js → control-plane-launch-4PLBJKBS.js} +14 -14
  92. package/dist/{demo-record-cmd-GO4ZIP4J.js → demo-record-cmd-3B2ME2ZI.js} +8 -8
  93. package/dist/{demo-voice-cmd-YOIL75H3.js → demo-voice-cmd-LIXAA3OS.js} +20 -20
  94. package/dist/{dist-U6EGOQD5.js → dist-3TV6G4YF.js} +2 -2
  95. package/dist/{docker-IWTHGXFC.js → docker-FPEQS6HK.js} +10 -10
  96. package/dist/{doctor-UUCRZ7JO.js → doctor-AFH6UUX6.js} +50 -50
  97. package/dist/{emit-artifact-cmd-IG5O5KUV.js → emit-artifact-cmd-5XIEUWFX.js} +19 -19
  98. package/dist/{emit-cmd-KGBGKB56.js → emit-cmd-IKYF27IK.js} +7 -7
  99. package/dist/{emit-criteria-cmd-HV3RXCV5.js → emit-criteria-cmd-YS5ZSLCN.js} +16 -16
  100. package/dist/{emit-demo-cmd-ZKHGJUW7.js → emit-demo-cmd-IDC2JC46.js} +20 -20
  101. package/dist/{emit-finding-cmd-PBTELK66.js → emit-finding-cmd-C4NRTIZO.js} +16 -16
  102. package/dist/{emit-result-cmd-JJUNDXEH.js → emit-result-cmd-GC2I7JQU.js} +18 -18
  103. package/dist/{emit-step-cmd-5VZQBGLU.js → emit-step-cmd-TTH4FYFW.js} +16 -16
  104. package/dist/{exec-client-PH7FI3Q3.js → exec-client-DT5EWVQL.js} +8 -8
  105. package/dist/find-unit-337Y4QAC.js +24 -0
  106. package/dist/{findings-cmd-PVP6D4ZV.js → findings-cmd-MSV52ODM.js} +16 -16
  107. package/dist/{fleet-readiness-YZZ6YDXZ.js → fleet-readiness-O76CSI7M.js} +14 -14
  108. package/dist/{governing-source-UUDIJISJ.js → governing-source-QEFYVBQF.js} +21 -21
  109. package/dist/{guest-init-KXBNS3NA.js → guest-init-X7M5AIOI.js} +9 -9
  110. package/dist/{hook-fast-CRC7M2YT.js → hook-fast-T6FOTZHA.js} +1 -1
  111. package/dist/{hook-install-3UNSUQVP.js → hook-install-OUSUHQ6C.js} +4 -4
  112. package/dist/host-checks-OXB5J3KR.js +79 -0
  113. package/dist/host-key-UFUIBFBF.js +18 -0
  114. package/dist/{image-tag-S5LR2FDL.js → image-tag-AE6EKDPV.js} +8 -8
  115. package/dist/index.js +4 -4
  116. package/dist/{init-2JDKKCKC.js → init-PUN3PKOT.js} +46 -46
  117. package/dist/init-V7X3KA7B.js +79 -0
  118. package/dist/{init-agent-ESCPFY6L.js → init-agent-D3KK24QX.js} +46 -46
  119. package/dist/{init-cmd-RXB7ZCFD.js → init-cmd-LGRN3U7K.js} +27 -27
  120. package/dist/{init-update-YIQRJG5U.js → init-update-ZL2J7EQI.js} +24 -24
  121. package/dist/{install-cmd-OG4IHLHP.js → install-cmd-4ID4VBH2.js} +10 -10
  122. package/dist/{layout-ZDD5JMAD.js → layout-G6K72TXK.js} +4 -4
  123. package/dist/{login-browser-AMCRDS5C.js → login-browser-I6CWBA7K.js} +2 -2
  124. package/dist/{logs-LLFBENNJ.js → logs-DIA3NWC2.js} +7 -7
  125. package/dist/loop-AWBFKDV7.js +90 -0
  126. package/dist/machine-BZPKYURG.js +79 -0
  127. package/dist/{machine-skills-G253FBPY.js → machine-skills-JLJJDXBS.js} +4 -4
  128. package/dist/{mcp-install-cmd-WLU64HPE.js → mcp-install-cmd-OTAX7QP2.js} +4 -4
  129. package/dist/{mcp-serve-cmd-YJX7HUHL.js → mcp-serve-cmd-63KQEQYS.js} +9 -9
  130. package/dist/{paths-5OXE4APD.js → paths-KVMMJQ7T.js} +7 -7
  131. package/dist/pending-2IE3VBAN.js +18 -0
  132. package/dist/{pidfile-ID52SG3L.js → pidfile-NCBBWZNH.js} +8 -8
  133. package/dist/{record-XIM2Z2JO.js → record-PQDJVKYV.js} +8 -8
  134. package/dist/{relay-T22SKZ3G.js → relay-QDB526DJ.js} +5 -5
  135. package/dist/{relay-protocol-64ZEAKJ4.js → relay-protocol-PJ2HOP6B.js} +5 -5
  136. package/dist/{runner-agents-AGFDPTJN.js → runner-agents-CEW4Z3FR.js} +4 -4
  137. package/dist/runner-env-23OLQBQZ.js +24 -0
  138. package/dist/{runner-identity-T7HDG3QU.js → runner-identity-IJKE4SRJ.js} +10 -10
  139. package/dist/{runner-key-RXTJDYTI.js → runner-key-4J4MHN3S.js} +46 -46
  140. package/dist/{session-sender-B6CSWAHX.js → session-sender-HKNACIH5.js} +19 -19
  141. package/dist/{spec-cmd-HIQYYRBQ.js → spec-cmd-4R7AYTBU.js} +17 -17
  142. package/dist/{starter-pack-AK7Z6XLF.js → starter-pack-6C7HPT4O.js} +5 -5
  143. package/dist/state-DPEWDXQN.js +18 -0
  144. package/dist/{status-YD7P337P.js → status-GMVC666R.js} +46 -46
  145. package/dist/{sync-cmd-BRP4QE2W.js → sync-cmd-UMAENSGZ.js} +18 -18
  146. package/dist/update-steps-GTXNCG3Z.js +80 -0
  147. package/dist/{watch-B3NVFDVP.js → watch-RAUF223H.js} +18 -18
  148. package/dist/{work-claim-cmd-H6M5ANKL.js → work-claim-cmd-A3ISXUFA.js} +22 -22
  149. package/dist/{work-cmd-DJNV646Q.js → work-cmd-U7YLMDZ7.js} +16 -16
  150. package/dist/{work-comment-cmd-6QZQPRJ7.js → work-comment-cmd-CMWMOWVG.js} +18 -18
  151. package/dist/{work-demo-cmd-6MZIVYHK.js → work-demo-cmd-EKTJHIVM.js} +16 -16
  152. package/dist/{work-logs-cmd-IS4GV5VC.js → work-logs-cmd-Z3QOFYTJ.js} +16 -16
  153. package/dist/{work-open-pr-cmd-KZSKJKEQ.js → work-open-pr-cmd-NJXIX3QZ.js} +17 -17
  154. package/dist/{work-pr-cmd-ARVEEUF3.js → work-pr-cmd-JUV3SN7I.js} +16 -16
  155. package/dist/{work-proofs-cmd-YUH3XYQE.js → work-proofs-cmd-MIDPIFTH.js} +18 -18
  156. package/dist/{work-proofs-record-BDYS2VU2.js → work-proofs-record-6FTMJDQG.js} +25 -25
  157. package/dist/{work-stop-cmd-U67OPSCS.js → work-stop-cmd-Z7MYNR7R.js} +16 -16
  158. package/package.json +1 -1
  159. package/skill-pack/maintained/outerlayer-amend/SKILL.md +13 -13
  160. package/skill-pack/maintained/outerlayer-amend/references/failed-checks.md +35 -0
  161. package/skill-pack/maintained/outerlayer-build/references/evidence.md +5 -2
  162. package/dist/agent-setup-THQTFPYB.js +0 -40
  163. package/dist/caller-T65G6G3Z.js +0 -23
  164. package/dist/find-unit-527IGJNL.js +0 -24
  165. package/dist/host-checks-ISCYYAYB.js +0 -79
  166. package/dist/host-key-535Z4MV6.js +0 -18
  167. package/dist/init-CGYS6IGX.js +0 -79
  168. package/dist/loop-36JR7RB2.js +0 -90
  169. package/dist/machine-DGMGTVD7.js +0 -79
  170. package/dist/pending-YC4KF2AW.js +0 -18
  171. package/dist/runner-env-W7LASDJX.js +0 -24
  172. package/dist/state-ZQN2O2PB.js +0 -18
  173. package/dist/update-steps-SBBEBOIJ.js +0 -80
@@ -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-7DHQVVEC.js';
4
- import './chunk-ZFZ62TU4.js';
5
- import { verifiedTrackerNames, TRACKERS } from './chunk-O4CWZFC4.js';
6
- import './chunk-HUMQ4NLZ.js';
7
- import './chunk-LWHHAZ75.js';
8
- import './chunk-GEC2G3SJ.js';
9
- import './chunk-AGDRXJSZ.js';
10
- import './chunk-PWCP3YVA.js';
11
- import './chunk-SZN3CSEP.js';
12
- import './chunk-BM25MMUE.js';
13
- import './chunk-VVZIFOAN.js';
14
- import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-HV44EL6A.js';
15
- import './chunk-ZBPUHNUZ.js';
3
+ import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-SMFWLPXC.js';
4
+ import './chunk-ERQLHUWU.js';
5
+ import { verifiedTrackerNames, TRACKERS } from './chunk-JTDMSQMI.js';
6
+ import './chunk-DL5N6V3D.js';
7
+ import './chunk-XE2PXGZT.js';
8
+ import './chunk-BL6CCU26.js';
9
+ import './chunk-EERD7VI3.js';
10
+ import './chunk-FGVVBYCT.js';
11
+ import './chunk-ABN4UBR5.js';
12
+ import './chunk-EXIZ3G6I.js';
13
+ import './chunk-IXB2IIEW.js';
14
+ import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-YWWW47OY.js';
15
+ import './chunk-NEEMG462.js';
16
16
  import './chunk-A2LHHKTT.js';
17
17
  import { C, warnDeprecated, API_KEY_FLAG_DEPRECATION, NO_COLOR_FLAG, stripNoColor } from './chunk-2AM6Z5BP.js';
18
- import './chunk-365EXSFH.js';
19
- import './chunk-SZKBH2BO.js';
18
+ import './chunk-T524XQKI.js';
19
+ import './chunk-XDRZ3BNA.js';
20
20
  import './chunk-HWVMRETT.js';
21
- import './chunk-ZOLDM52Z.js';
22
- import './chunk-G74ZB2V4.js';
23
- import './chunk-UAVBSFHI.js';
24
- import './chunk-6UXPXENL.js';
25
- import { hookFiredMarkerPath, installedCliDistDir } from './chunk-DDBCRY3Y.js';
21
+ import './chunk-EFAOERZH.js';
22
+ import './chunk-5VAXNAOD.js';
23
+ import './chunk-OUHM6U6Z.js';
24
+ import './chunk-CGXYPLK3.js';
25
+ import { hookFiredMarkerPath, installedCliDistDir } from './chunk-256R6O56.js';
26
26
  import './chunk-545P7JY7.js';
27
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-UEFLAGRW.js';
31
+ import './chunk-OFWNBTLU.js';
32
32
  import './chunk-NFZMENCY.js';
33
33
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
34
34
  import { cliInvocation, packageRunnerOf } from './chunk-FZKNTIOJ.js';
35
- import { installAgents, settingsFileOf, withSettingsText } from './chunk-44332APJ.js';
35
+ import { installAgents, settingsFileOf, withSettingsText } from './chunk-EHJYXABQ.js';
36
36
  import { cliForInstall, SettingsParseError, PORTABLE_BIN, writeSettingsText, cliBinResolvable } from './chunk-ZHQC43NH.js';
37
- import './chunk-P26TVBYV.js';
37
+ import './chunk-FOUG2R4Q.js';
38
38
  import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
39
39
  import { removeJournalHooks, removePreCommitGuardHook } from './chunk-CJPTUU2E.js';
40
- import { headlessNames, credentialForms, runnerAgentNamed, credentialAgent, runnerAgents, orList, credentialShapes } from './chunk-A5FIUS53.js';
41
- import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-XJPTMZJG.js';
40
+ import { headlessNames, credentialForms, runnerAgentNamed, credentialAgent, runnerAgents, orList, credentialShapes } from './chunk-RZ6WJTUP.js';
41
+ import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-AVEF3T6Y.js';
42
42
  import './chunk-PLVHIQJN.js';
43
43
  import './chunk-7PZDPISM.js';
44
44
  import './chunk-CDDED64E.js';
45
45
  import { resolveVersion, resolvePackageVersion } from './chunk-RA3O54FC.js';
46
46
  import { homeFromEnv } from './chunk-352DHUTP.js';
47
- import './chunk-QAFR65VC.js';
48
- import './chunk-2JIGPSVF.js';
47
+ import './chunk-5R5FEPLH.js';
48
+ import './chunk-YXXJBHHF.js';
49
49
  import './chunk-Z5GEFMRW.js';
50
50
  import { EventEmitter } from 'events';
51
51
  import childProcess, { execFileSync } from 'child_process';
@@ -3659,14 +3659,14 @@ function apiKeyOption() {
3659
3659
  return new Option("--api-key <key>", `deprecated: use \`${cliInvocation()} login\` or OUTERLAYER_API_KEY`).hideHelp();
3660
3660
  }
3661
3661
  async function installStarterPackInRepo() {
3662
- const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-AK7Z6XLF.js');
3662
+ const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-6C7HPT4O.js');
3663
3663
  const cwd = process.cwd();
3664
3664
  let repoRoot = cwd;
3665
3665
  try {
3666
3666
  repoRoot = execFileSync("git", ["rev-parse", "--show-toplevel"], { cwd, encoding: "utf8", stdio: ["ignore", "pipe", "ignore"] }).trim() || cwd;
3667
3667
  } catch {
3668
3668
  }
3669
- const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-ZDD5JMAD.js');
3669
+ const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-G6K72TXK.js');
3670
3670
  const fresh = !isAgentsMdLayout(repoRoot) && !existsSync(join(repoRoot, ".outerlayer/skills")) && !existsSync(join(repoRoot, ".outerlayer/AGENTS.md"));
3671
3671
  const result = installStarterPack({ repoRoot, base: fresh ? ".agents/skills" : skillsBaseFor(repoRoot) });
3672
3672
  if (fresh) declareAgentsMdLayout(repoRoot);
@@ -3809,7 +3809,7 @@ ${starter.output}`),
3809
3809
  }
3810
3810
  }
3811
3811
  async function installMachineSkillsForSetup() {
3812
- const { setupMachineSkills } = await import('./machine-skills-G253FBPY.js');
3812
+ const { setupMachineSkills } = await import('./machine-skills-JLJJDXBS.js');
3813
3813
  const result = setupMachineSkills(homeFromEnv());
3814
3814
  for (const failure of result.failures) process.stderr.write(`${C.yellow}!${C.reset} Could not write a maintained skill: ${failure}
3815
3815
  `);
@@ -3817,8 +3817,8 @@ async function installMachineSkillsForSetup() {
3817
3817
  ` : "";
3818
3818
  }
3819
3819
  async function realConnectDepsForCwd() {
3820
- const { realConnectDeps } = await import('./connect-cmd-KHOYYXIY.js');
3821
- const { resolveRepoIdentity } = await import('./dist-U6EGOQD5.js');
3820
+ const { realConnectDeps } = await import('./connect-cmd-4JO2LBUT.js');
3821
+ const { resolveRepoIdentity } = await import('./dist-3TV6G4YF.js');
3822
3822
  return {
3823
3823
  ...realConnectDeps(),
3824
3824
  home: homeFromEnv(),
@@ -3835,7 +3835,7 @@ function buildProgram(argv = process.argv) {
3835
3835
  const program2 = new Command();
3836
3836
  program2.name(cliInvocation()).description("OuterLayer \u2014 see what your coding agents actually do").enablePositionalOptions().version(resolveVersion()).hook("preAction", async (_root, command) => {
3837
3837
  if (command.opts().apiKey !== void 0) warnDeprecated(API_KEY_FLAG_DEPRECATION);
3838
- const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-G253FBPY.js');
3838
+ const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-JLJJDXBS.js');
3839
3839
  const names = [];
3840
3840
  for (let at = command; at?.parent; at = at.parent) names.push(at.name());
3841
3841
  if (!machineRefreshSkipped(names, command._hidden === true, argv)) refreshMachineSkills(homeFromEnv());
@@ -3892,8 +3892,8 @@ build, ../outerlayer-build/SKILL.md becomes ~/.agents/skills/outerlayer-build/SK
3892
3892
  what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocation() + " doctor` reports the same\nstates under Starter files.\n"
3893
3893
  ).action(async (opts) => {
3894
3894
  if (opts.update || opts.dryRun) {
3895
- const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-YIQRJG5U.js');
3896
- const { fleetReadiness } = await import('./fleet-readiness-YZZ6YDXZ.js');
3895
+ const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-ZL2J7EQI.js');
3896
+ const { fleetReadiness } = await import('./fleet-readiness-O76CSI7M.js');
3897
3897
  const problem = updateFlagProblem(opts);
3898
3898
  if (problem !== void 0) {
3899
3899
  fail(problem);
@@ -3910,7 +3910,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3910
3910
  }
3911
3911
  let starterTemplate;
3912
3912
  if (opts.template !== void 0) {
3913
- const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-AK7Z6XLF.js');
3913
+ const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-6C7HPT4O.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-RXB7ZCFD.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
3947
+ const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-LGRN3U7K.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
3948
3948
  if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
3949
3949
  else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
3950
3950
  return;
3951
3951
  }
3952
3952
  await installMachineSkillsForSetup();
3953
- const { runInitCommand } = await import('./init-cmd-RXB7ZCFD.js');
3953
+ const { runInitCommand } = await import('./init-cmd-LGRN3U7K.js');
3954
3954
  const code = await runInitCommand(
3955
3955
  { json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
3956
3956
  {
@@ -3962,7 +3962,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3962
3962
  return { ok, text, detail };
3963
3963
  },
3964
3964
  runAgentSetup: async () => {
3965
- const { runAgentSetup } = await import('./agent-setup-THQTFPYB.js');
3965
+ const { runAgentSetup } = await import('./agent-setup-CBEPGNFY.js');
3966
3966
  return runAgentSetup({ cwd: process.cwd(), skillsLink: opts.skillsLink !== false });
3967
3967
  },
3968
3968
  runDoctorChecks: gatherDoctorChecks,
@@ -3971,7 +3971,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3971
3971
  shellPath: process.env.SHELL,
3972
3972
  interactive: Boolean(process.stdin.isTTY && process.stderr.isTTY) && opts.json !== true,
3973
3973
  ask: async () => {
3974
- const { promptOnTerminal } = await import('./connect-cmd-KHOYYXIY.js');
3974
+ const { promptOnTerminal } = await import('./connect-cmd-4JO2LBUT.js');
3975
3975
  const answer = await promptOnTerminal({
3976
3976
  message: `Should plain claude start Claude Code through ${cliInvocation()} claude? That is how a session in a governed repository gets its control plane. It adds one block to your zsh or bash startup file.`,
3977
3977
  options: [
@@ -4010,7 +4010,7 @@ linked (true, false, or null when it could not be checked) and, when false,
4010
4010
  linkUrl.
4011
4011
  `
4012
4012
  ).action(async (opts) => {
4013
- const { runConnectCommand } = await import('./connect-cmd-KHOYYXIY.js');
4013
+ const { runConnectCommand } = await import('./connect-cmd-4JO2LBUT.js');
4014
4014
  const code = await runConnectCommand({ factory: opts.factory, json: opts.json }, await realConnectDepsForCwd(), {
4015
4015
  stdout: process.stdout,
4016
4016
  stderr: process.stderr
@@ -4049,7 +4049,7 @@ Every later command reads the saved file, so none of them needs a key on
4049
4049
  its command line. A saved key is checked for real on the first \`sync\`.
4050
4050
  `
4051
4051
  ).action(async (opts) => {
4052
- const { runLoginCommand, realLoginDeps } = await import('./login-browser-AMCRDS5C.js');
4052
+ const { runLoginCommand, realLoginDeps } = await import('./login-browser-I6CWBA7K.js');
4053
4053
  const code = await runLoginCommand(
4054
4054
  {
4055
4055
  browser: opts.browser !== false,
@@ -4082,13 +4082,13 @@ code is 1: revoke the token on /profile/security.
4082
4082
  "\nIncremental: only sessions newer than the last checkpoint ship. The tier\nis applied on this machine before anything leaves it; `--dry-run` prints\nexactly what would. The hook-triggered background sync runs `--quiet`.\nExit 2 means the server rejected at least one session.\n"
4083
4083
  ).action(async (opts) => {
4084
4084
  if (opts.link !== void 0) {
4085
- const { lookupArtifactLink } = await import('./artifact-link-cmd-72FQTBGO.js');
4085
+ const { lookupArtifactLink } = await import('./artifact-link-cmd-QP6VO7AJ.js');
4086
4086
  const found = lookupArtifactLink(opts.link);
4087
4087
  if (found.ok) process.stdout.write(found.url + "\n");
4088
4088
  else fail(found.reason);
4089
4089
  return;
4090
4090
  }
4091
- const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-BRP4QE2W.js');
4091
+ const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-UMAENSGZ.js');
4092
4092
  try {
4093
4093
  const result = await runSync({
4094
4094
  url: opts.url,
@@ -4117,7 +4117,7 @@ code is 1: revoke the token on /profile/security.
4117
4117
  if (invokedCommandToken(argv) === "watch") {
4118
4118
  warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
4119
4119
  }
4120
- const { runWatch } = await import('./watch-B3NVFDVP.js');
4120
+ const { runWatch } = await import('./watch-RAUF223H.js');
4121
4121
  await runWatch({ once: opts.once });
4122
4122
  });
4123
4123
  program2.command("hook <event>", { hidden: true }).description("capture-hook fast path, installed by `init`").option("--agent <id>", "the agent that sent the event; with none, Claude Code").action(() => {
@@ -4132,8 +4132,8 @@ code is 1: revoke the token on /profile/security.
4132
4132
  });
4133
4133
  }
4134
4134
  const brokerRelay = program2.command("broker-relay", { hidden: true }).description("relay a build's loopback connections to the runner's tunnel and destinations").enablePositionalOptions().option("--port <port>", "the loopback port to listen on").option("--socket <path>", "the runner's tunnel socket").option("--join <path>", "the socket the runner's joining process connects to").option("--lease-watchdog", "exit when the runner's lease expiry passes; needs --join").option("--forward <port=target>", "also relay a loopback port to a destination; repeatable", (value, previous) => [...previous, value], []).action(async (opts) => {
4135
- const { startRelay, startSessionRelay } = await import('./relay-T22SKZ3G.js');
4136
- const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-64ZEAKJ4.js');
4135
+ const { startRelay, startSessionRelay } = await import('./relay-QDB526DJ.js');
4136
+ const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-PJ2HOP6B.js');
4137
4137
  const port = Number(opts.port);
4138
4138
  if (!Number.isInteger(port) || port < 1 || port > 65535) {
4139
4139
  fail(opts.port === void 0 ? "--port is required" : `--port must be a port number, not ${opts.port}`);
@@ -4165,7 +4165,7 @@ code is 1: revoke the token on /profile/security.
4165
4165
  await startRelay({ port, socketPath: opts.socket, forwards: forwards.map((forward) => ({ port: forward.port, socketPath: forward.spec })) });
4166
4166
  });
4167
4167
  brokerRelay.command("join").description("carry the runner's session to the relay over standard input and output").option("--socket <path>", "the relay's joining socket", "/run/outerlayer-relay/join.sock").action(async (opts) => {
4168
- const { joinRelay } = await import('./relay-T22SKZ3G.js');
4168
+ const { joinRelay } = await import('./relay-QDB526DJ.js');
4169
4169
  try {
4170
4170
  await joinRelay({ socketPath: opts.socket, input: process.stdin, output: process.stdout });
4171
4171
  } catch (err) {
@@ -4181,7 +4181,7 @@ code is 1: revoke the token on /profile/security.
4181
4181
  }
4182
4182
  });
4183
4183
  program2.command("vm-exec", { hidden: true }).description("run a command in a microVM build's guest through its exec agent").requiredOption("--socket <path>", "the Unix socket Firecracker serves the build's vsock device on").option("--user <user>", "the user to run as", "").option("--cwd <dir>", "the working directory", "/").option("--env <NAME=value>", "an environment value the command line carries; repeatable", (value, previous) => [...previous, value], []).option("--pass <NAME>", "an environment variable whose value is read from this process; repeatable", (value, previous) => [...previous, value], []).argument("<argv...>", "the command and its arguments").action(async (argv2, opts) => {
4184
- const { runVmExec } = await import('./exec-client-PH7FI3Q3.js');
4184
+ const { runVmExec } = await import('./exec-client-DT5EWVQL.js');
4185
4185
  const env = {};
4186
4186
  for (const entry of opts.env) {
4187
4187
  const eq = entry.indexOf("=");
@@ -4210,7 +4210,7 @@ code is 1: revoke the token on /profile/security.
4210
4210
  process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
4211
4211
  });
4212
4212
  program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
4213
- const { runSessionSender } = await import('./session-sender-B6CSWAHX.js');
4213
+ const { runSessionSender } = await import('./session-sender-HKNACIH5.js');
4214
4214
  try {
4215
4215
  await runSessionSender();
4216
4216
  } catch (err) {
@@ -4218,7 +4218,7 @@ code is 1: revoke the token on /profile/security.
4218
4218
  }
4219
4219
  });
4220
4220
  program2.command("vm-init", { hidden: true }).description("lay out a microVM build's guest; the guest helper runs it").action(async () => {
4221
- const { realGuestHost, runGuestInit } = await import('./guest-init-KXBNS3NA.js');
4221
+ const { realGuestHost, runGuestInit } = await import('./guest-init-X7M5AIOI.js');
4222
4222
  const { readFileSync: readFileSync3 } = await import('fs');
4223
4223
  try {
4224
4224
  runGuestInit(realGuestHost(), readFileSync3("/proc/cmdline", "utf8"));
@@ -4227,7 +4227,7 @@ code is 1: revoke the token on /profile/security.
4227
4227
  }
4228
4228
  });
4229
4229
  program2.command("vm-forward", { hidden: true }).description("pipe a guest port to another; vm-init runs it").requiredOption("--listen <host:port>", "the address to listen on").requiredOption("--to <host:port>", "the address to pipe each connection to").action(async (opts) => {
4230
- const { startBridgeForward } = await import('./bridge-RN5JYY7N.js');
4230
+ const { startBridgeForward } = await import('./bridge-JI4IO7JN.js');
4231
4231
  try {
4232
4232
  await startBridgeForward(opts);
4233
4233
  } catch (err) {
@@ -4253,7 +4253,7 @@ async function runCli(processArgv) {
4253
4253
  await buildProgram(argv).parseAsync(argv);
4254
4254
  }
4255
4255
  async function compileContext(opts) {
4256
- const { runEmit, EmitError } = await import('./emit-cmd-KGBGKB56.js');
4256
+ const { runEmit, EmitError } = await import('./emit-cmd-IKYF27IK.js');
4257
4257
  try {
4258
4258
  const result = runEmit({ cwd: opts.dir, check: opts.check, json: opts.json });
4259
4259
  if (result.exitCode !== 0) process.exitCode = result.exitCode;
@@ -4306,7 +4306,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
4306
4306
  await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
4307
4307
  return;
4308
4308
  }
4309
- const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-JJUNDXEH.js');
4309
+ const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-GC2I7JQU.js');
4310
4310
  try {
4311
4311
  const result = await runEmitResult({
4312
4312
  name,
@@ -4332,7 +4332,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
4332
4332
  });
4333
4333
  emitCmd.command("artifact <file>").description("Emit a proof artifact: screenshot, recording, report, or log").requiredOption("--caption <text>", "what this artifact shows or proves").option("--for <criterion-id>", "id of the criterion this artifact proves (e.g. LOGIN-01)").option(
4334
4334
  "--test <name[=path:line]>",
4335
- "bind only this test of JUnit results; repeatable; =path:line sets its location",
4335
+ "bind only this test of JUnit results; repeatable; =path[:line] sets its file",
4336
4336
  (value, previous = []) => [...previous, value]
4337
4337
  ).option("--replaces <ids>", "artifact id(s) this one corrects; comma-separate 2-20 to retire them all").option("--pr <number>", "pull request number to anchor to").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").addHelpText(
4338
4338
  "after",
@@ -4350,14 +4350,15 @@ nothing to attach it to, the command refuses.
4350
4350
  A JUnit XML file (.xml, root <testsuites> or <testsuite>) bound with --for proves a
4351
4351
  criterion that declares test proof once every bound test passed. Without --test every
4352
4352
  test in the file is bound; each --test binds only that one. Give a test's location with
4353
- --test "name=src/a.test.ts:42" when the runner's file does not carry it.
4353
+ --test "name=src/a.test.ts:42" when the runner's file does not carry it. A file with no
4354
+ line, as in --test "name=src/a.test.ts", is enough for work proofs --record to run it again.
4354
4355
 
4355
4356
  --replaces: an already-uploaded target is marked superseded and hidden
4356
4357
  everywhere, bytes and deep link untouched; a still-queued one is cancelled
4357
4358
  locally so it never uploads. One correction can retire several duplicates.
4358
4359
  `
4359
4360
  ).action(async (file, opts) => {
4360
- const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-IG5O5KUV.js');
4361
+ const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-5XIEUWFX.js');
4361
4362
  let pr;
4362
4363
  if (opts.pr !== void 0) {
4363
4364
  pr = parseTrackerNumber(opts.pr);
@@ -4413,7 +4414,7 @@ its criterion, and the new record retires the old record. The id must be the ite
4413
4414
  as \`work demo --item <n> --json\` prints it.
4414
4415
  `
4415
4416
  ).action(async (manifest, opts) => {
4416
- const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-ZKHGJUW7.js');
4417
+ const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-IDC2JC46.js');
4417
4418
  let item;
4418
4419
  if (opts.item !== void 0) {
4419
4420
  item = parseTrackerNumber(opts.item);
@@ -4456,7 +4457,7 @@ as \`work demo --item <n> --json\` prints it.
4456
4457
  }
4457
4458
  });
4458
4459
  program2.command("demo-voice", { hidden: true }).description("Speak demo lines for a recorder: JSON lines in on stdin, out on stdout").action(async () => {
4459
- const { runDemoVoice } = await import('./demo-voice-cmd-YOIL75H3.js');
4460
+ const { runDemoVoice } = await import('./demo-voice-cmd-LIXAA3OS.js');
4460
4461
  await runDemoVoice();
4461
4462
  });
4462
4463
  const demoCmd = program2.command("demo").description("Record demos with the recorder this CLI carries");
@@ -4474,7 +4475,7 @@ and the command prints the manifest's path for \`emit demo\`. Under \`work proof
4474
4475
  to OUTERLAYER_PROOF_OUT instead. Exit 1 means the demo's test failed; its manifest is written all the same.
4475
4476
  `
4476
4477
  ).action(async (file, opts) => {
4477
- const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-GO4ZIP4J.js');
4478
+ const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-3B2ME2ZI.js');
4478
4479
  try {
4479
4480
  const result = await runDemoRecord({
4480
4481
  file,
@@ -4523,7 +4524,7 @@ recent events with their ids. --find <text> searches all of them.
4523
4524
  item that session was launched for is used automatically.
4524
4525
  `
4525
4526
  ).action(async (opts) => {
4526
- const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-PBTELK66.js');
4527
+ const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-C4NRTIZO.js');
4527
4528
  try {
4528
4529
  refuseRemovedFindingFlags(opts);
4529
4530
  const result = await runEmitFinding({
@@ -4590,7 +4591,7 @@ the whole batch. "untimed": true records one with no time on purpose.
4590
4591
  that session was launched for is used automatically.
4591
4592
  `
4592
4593
  ).action(async (file, opts) => {
4593
- const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-PBTELK66.js');
4594
+ const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-C4NRTIZO.js');
4594
4595
  try {
4595
4596
  const result = await runEmitFindings({
4596
4597
  file,
@@ -4625,7 +4626,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
4625
4626
  the step, the command prints why and exits 1.
4626
4627
  `
4627
4628
  ).action(async (name, opts) => {
4628
- const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-5VZQBGLU.js');
4629
+ const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-TTH4FYFW.js');
4629
4630
  try {
4630
4631
  await runEmitStep({
4631
4632
  name,
@@ -4668,7 +4669,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
4668
4669
  ${cliInvocation()} emit criteria acceptance/412-login.md --item 412
4669
4670
  `
4670
4671
  ).action(async (file, opts) => {
4671
- const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-HV3RXCV5.js');
4672
+ const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-YS5ZSLCN.js');
4672
4673
  try {
4673
4674
  const result = await runEmitCriteria({
4674
4675
  file,
@@ -4692,9 +4693,9 @@ function registerSpecCommands(program2) {
4692
4693
  const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
4693
4694
  const credentialOptions = (command) => command.option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)");
4694
4695
  const run = async (action) => {
4695
- const { WorkCommandError } = await import('./work-cmd-DJNV646Q.js');
4696
+ const { WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
4696
4697
  try {
4697
- await action(await import('./spec-cmd-HIQYYRBQ.js'));
4698
+ await action(await import('./spec-cmd-4R7AYTBU.js'));
4698
4699
  } catch (err) {
4699
4700
  if (err instanceof WorkCommandError) {
4700
4701
  fail(err.message);
@@ -4729,7 +4730,7 @@ Prints each problem the item covers with its id, its reports and its result.
4729
4730
  session was launched for is used.
4730
4731
  `
4731
4732
  ).action(async (opts) => {
4732
- const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-PVP6D4ZV.js');
4733
+ const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-MSV52ODM.js');
4733
4734
  try {
4734
4735
  const result = await runFindingsShow({
4735
4736
  item: opts.item,
@@ -4757,7 +4758,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
4757
4758
  problem to replace the earlier result. A problem the item does not cover is refused.
4758
4759
  `
4759
4760
  ).action(async (problem, opts) => {
4760
- const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-PVP6D4ZV.js');
4761
+ const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-MSV52ODM.js');
4761
4762
  try {
4762
4763
  const result = await runFindingsResult({
4763
4764
  problem,
@@ -4800,7 +4801,7 @@ takes it, and prints the line that starts your session on it. That
4800
4801
  session links itself and holds the item's lease while it works.
4801
4802
  `
4802
4803
  ).action(async (opts) => {
4803
- const { runWorkBuild, WorkCommandError } = await import('./work-cmd-DJNV646Q.js');
4804
+ const { runWorkBuild, WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
4804
4805
  try {
4805
4806
  await runWorkBuild(opts);
4806
4807
  } catch (err) {
@@ -4823,7 +4824,7 @@ renews that session's own 20-minute lease, unless --no-lease or
4823
4824
  --ended is given, or another worker already holds a live one.
4824
4825
  `
4825
4826
  ).action(async (number, opts) => {
4826
- const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-DJNV646Q.js');
4827
+ const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
4827
4828
  try {
4828
4829
  await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
4829
4830
  } catch (err) {
@@ -4854,8 +4855,8 @@ thread at its source. It takes a plain answer: no --criterion and no
4854
4855
  action flag.
4855
4856
  `
4856
4857
  ).action(async (opts) => {
4857
- const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-6QZQPRJ7.js');
4858
- const { WorkCommandError } = await import('./work-cmd-DJNV646Q.js');
4858
+ const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-CMWMOWVG.js');
4859
+ const { WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
4859
4860
  try {
4860
4861
  await runWorkComment(opts);
4861
4862
  } catch (err) {
@@ -4877,7 +4878,7 @@ nothing and exits 0 when the call fails: the line goes to hook-errors.log,
4877
4878
  and the comment waits for the next agent job.
4878
4879
  `
4879
4880
  ).action(async (ids, opts) => {
4880
- const { runWorkCommentsRead } = await import('./work-comment-cmd-6QZQPRJ7.js');
4881
+ const { runWorkCommentsRead } = await import('./work-comment-cmd-CMWMOWVG.js');
4881
4882
  await runWorkCommentsRead({ ...opts, commentIds: ids });
4882
4883
  });
4883
4884
  workCmd.command("threads").description("Read a work item's general thread, its criterion threads and its source threads").requiredOption("--item <number>", "the item's number inside this factory").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").addHelpText(
@@ -4893,8 +4894,8 @@ that started outside OuterLayer, such as the line comments of a
4893
4894
  GitHub review, each with its id, source and comments.
4894
4895
  `
4895
4896
  ).action(async (opts) => {
4896
- const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-6QZQPRJ7.js');
4897
- const { WorkCommandError } = await import('./work-cmd-DJNV646Q.js');
4897
+ const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-CMWMOWVG.js');
4898
+ const { WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
4898
4899
  try {
4899
4900
  await runWorkThreads(opts);
4900
4901
  } catch (err) {
@@ -4918,8 +4919,8 @@ still running, or that an older runner released, has no log and the
4918
4919
  command exits 1.
4919
4920
  `
4920
4921
  ).action(async (opts) => {
4921
- const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-IS4GV5VC.js');
4922
- const { WorkCommandError } = await import('./work-cmd-DJNV646Q.js');
4922
+ const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-Z3QOFYTJ.js');
4923
+ const { WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
4923
4924
  try {
4924
4925
  await runWorkLogs(opts);
4925
4926
  } catch (err) {
@@ -4942,8 +4943,8 @@ item is not built again until a new build request. Exits 1 when no host
4942
4943
  build is running for the item.
4943
4944
  `
4944
4945
  ).action(async (opts) => {
4945
- const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-U67OPSCS.js');
4946
- const { WorkCommandError } = await import('./work-cmd-DJNV646Q.js');
4946
+ const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-Z7MYNR7R.js');
4947
+ const { WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
4947
4948
  try {
4948
4949
  await runWorkStop(opts);
4949
4950
  } catch (err) {
@@ -4964,8 +4965,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
4964
4965
  test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
4965
4966
  `
4966
4967
  ).action(async (opts) => {
4967
- const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-6MZIVYHK.js');
4968
- const { WorkCommandError } = await import('./work-cmd-DJNV646Q.js');
4968
+ const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-EKTJHIVM.js');
4969
+ const { WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
4969
4970
  try {
4970
4971
  await runWorkDemo(opts);
4971
4972
  } catch (err) {
@@ -4986,7 +4987,7 @@ deletes anything \u2014 the item is removed from Work only once no
4986
4987
  live addition remains on it.
4987
4988
  `
4988
4989
  ).action(async (opts) => {
4989
- const { runWorkRemove, WorkCommandError } = await import('./work-cmd-DJNV646Q.js');
4990
+ const { runWorkRemove, WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
4990
4991
  try {
4991
4992
  await runWorkRemove(opts);
4992
4993
  } catch (err) {
@@ -4998,7 +4999,7 @@ live addition remains on it.
4998
4999
  }
4999
5000
  });
5000
5001
  workCmd.command("status").description("Show one item's stage, gate ledger, and additions").option("--item <number>", "the item's number inside this factory").option("--issue <number>", "issue number, or a Linear/Jira key like ENG-123").option(TRACKER_OPTION_FLAG, "tracker for a keyed --issue, when both hold the key").option("--repo <owner/name>", "repository for an issue number (default: the checkout's remote)").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").action(async (opts) => {
5001
- const { runWorkStatus, WorkCommandError } = await import('./work-cmd-DJNV646Q.js');
5002
+ const { runWorkStatus, WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
5002
5003
  try {
5003
5004
  await runWorkStatus(opts);
5004
5005
  } catch (err) {
@@ -5046,11 +5047,11 @@ stops at once if a tracked file differs from HEAD.
5046
5047
  fail(trackerNumberError("--pr", opts.pr));
5047
5048
  return;
5048
5049
  }
5049
- const { runWorkProofsCommand } = await import('./work-proofs-cmd-YUH3XYQE.js');
5050
+ const { runWorkProofsCommand } = await import('./work-proofs-cmd-MIDPIFTH.js');
5050
5051
  await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
5051
5052
  });
5052
5053
  workCmd.command("list").description("List live work items for this factory").option("--stage <spec|build|review>", "filter by stage").option("--section <attention|waiting|flowing>", "filter by Queue section").option("--repo <owner/name>", "repository (default: the current checkout's remote)").option("--unclaimed", "only items with no live lease").option("--claimed", "only items with a live lease, held by a host or a local session").option("--startable", "only items a host can start: a build request, no open PR, no live lease").option("--needs <amend>", "only items with a thread waiting on an agent").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").action(async (opts) => {
5053
- const { runWorkList, WorkCommandError } = await import('./work-cmd-DJNV646Q.js');
5054
+ const { runWorkList, WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
5054
5055
  try {
5055
5056
  await runWorkList(opts);
5056
5057
  } catch (err) {
@@ -5071,7 +5072,7 @@ by a different key is refused; claiming again with the same key extends
5071
5072
  it. --host is a label only.
5072
5073
  `
5073
5074
  ).action(async (opts) => {
5074
- const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-H6M5ANKL.js');
5075
+ const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-A3ISXUFA.js');
5075
5076
  try {
5076
5077
  await runWorkClaim(opts);
5077
5078
  } catch (err) {
@@ -5091,7 +5092,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
5091
5092
  lease has expired, or a 403 if a different key holds it.
5092
5093
  `
5093
5094
  ).action(async (opts) => {
5094
- const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-H6M5ANKL.js');
5095
+ const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-A3ISXUFA.js');
5095
5096
  try {
5096
5097
  await runWorkRenew(opts);
5097
5098
  } catch (err) {
@@ -5123,7 +5124,7 @@ applies to a host's lease only. A later tool call in the session
5123
5124
  takes the lease again.
5124
5125
  `
5125
5126
  ).action(async (opts) => {
5126
- const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-H6M5ANKL.js');
5127
+ const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-A3ISXUFA.js');
5127
5128
  try {
5128
5129
  await runWorkRelease(opts);
5129
5130
  } catch (err) {
@@ -5150,7 +5151,7 @@ Idempotent: declaring the same pull request twice is a no-op.
5150
5151
  needs your own login; an agent session or a factory key is refused.
5151
5152
  `
5152
5153
  ).action(async (number, opts) => {
5153
- const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-ARVEEUF3.js');
5154
+ const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-JUV3SN7I.js');
5154
5155
  try {
5155
5156
  await runWorkPr({ ...opts, number });
5156
5157
  } catch (err) {
@@ -5175,8 +5176,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
5175
5176
  Run it again after a change to the title or description.
5176
5177
  `
5177
5178
  ).action(async (opts) => {
5178
- const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-KZSKJKEQ.js');
5179
- const { WorkCommandError } = await import('./work-cmd-DJNV646Q.js');
5179
+ const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-NJXIX3QZ.js');
5180
+ const { WorkCommandError } = await import('./work-cmd-U7YLMDZ7.js');
5180
5181
  try {
5181
5182
  await runWorkOpenPr(opts);
5182
5183
  } catch (err) {
@@ -5220,9 +5221,9 @@ function registerRunnerCommands(program2) {
5220
5221
  const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
5221
5222
  const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
5222
5223
  runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
5223
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-6LQKXZNE.js');
5224
- const { start, RunnerStartError } = await import('./loop-36JR7RB2.js');
5225
- const { RunnerAlreadyRunningError } = await import('./pidfile-ID52SG3L.js');
5224
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-EA6WVKAS.js');
5225
+ const { start, RunnerStartError } = await import('./loop-AWBFKDV7.js');
5226
+ const { RunnerAlreadyRunningError } = await import('./pidfile-NCBBWZNH.js');
5226
5227
  const configPath = opts.config ?? defaultRunnerConfigPath();
5227
5228
  try {
5228
5229
  const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
@@ -5244,10 +5245,10 @@ is optional and defaults to ${words().runnerName}. On a later start it refuses v
5244
5245
  The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5245
5246
  `
5246
5247
  ).action(async () => {
5247
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-6LQKXZNE.js');
5248
- const { containerStart, containerStartExit } = await import('./container-start-FGSVYG2T.js');
5249
- const { start, RunnerStartError } = await import('./loop-36JR7RB2.js');
5250
- const { RunnerAlreadyRunningError } = await import('./pidfile-ID52SG3L.js');
5248
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-EA6WVKAS.js');
5249
+ const { containerStart, containerStartExit } = await import('./container-start-XR7KANS6.js');
5250
+ const { start, RunnerStartError } = await import('./loop-AWBFKDV7.js');
5251
+ const { RunnerAlreadyRunningError } = await import('./pidfile-NCBBWZNH.js');
5251
5252
  try {
5252
5253
  const outcome = containerStartExit(await containerStart({
5253
5254
  env: process.env,
@@ -5268,16 +5269,16 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5268
5269
  "after",
5269
5270
  "\nIn the runner image, run it with `docker exec <container> outerlayer runner update-steps`. It reads the\ncontainer with `docker inspect` and changes nothing. The steps rename the old container and never remove it\nbefore the new one runs. They name the container's variables and never print a value.\n"
5270
5271
  ).action(async (opts) => {
5271
- const { defaultRunnerConfigPath } = await import('./config-6LQKXZNE.js');
5272
- const { runnerDir } = await import('./paths-5OXE4APD.js');
5273
- const { runUpdateSteps } = await import('./update-steps-SBBEBOIJ.js');
5272
+ const { defaultRunnerConfigPath } = await import('./config-EA6WVKAS.js');
5273
+ const { runnerDir } = await import('./paths-KVMMJQ7T.js');
5274
+ const { runUpdateSteps } = await import('./update-steps-GTXNCG3Z.js');
5274
5275
  const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
5275
5276
  process.stdout.write(`${text}
5276
5277
  `);
5277
5278
  });
5278
5279
  runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
5279
- const { defaultRunnerConfigPath } = await import('./config-6LQKXZNE.js');
5280
- const { runRunnerCheck } = await import('./check-QF7RGLUL.js');
5280
+ const { defaultRunnerConfigPath } = await import('./config-EA6WVKAS.js');
5281
+ const { runRunnerCheck } = await import('./check-FG32SYJF.js');
5281
5282
  const configPath = opts.config ?? defaultRunnerConfigPath();
5282
5283
  const result = await runRunnerCheck(configPath);
5283
5284
  if (!result.ok) {
@@ -5298,8 +5299,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5298
5299
  `);
5299
5300
  });
5300
5301
  runnerCmd.command("install").description("Put this CLI in the runner's install layout; --service adds its service").option("--config <path>", configOption).option("--service", "set up the service that keeps the runner running").option("--print", "with --service, print the unit and set up nothing").option("--user <account>", "with --service, the account the service runs as").option("--replace", "replace a unit or launcher file this command did not write").option("--allow-downgrade", "install this CLI even when it is older than the version the runner runs").option("--unit-name <name>", "with --service, the unit's name, to run a second runner beside the first").option("--build-memory-max <size>", "with --service, memory all builds may use together, such as 16g").option("--build-cpus-max <n>", "with --service, CPUs all builds may use together, such as 4").action(async (opts) => {
5301
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-6LQKXZNE.js');
5302
- const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-OG4IHLHP.js');
5302
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-EA6WVKAS.js');
5303
+ const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-4ID4VBH2.js');
5303
5304
  const configPath = opts.config ?? defaultRunnerConfigPath();
5304
5305
  if (opts.service !== true) {
5305
5306
  const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
@@ -5311,13 +5312,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5311
5312
  }
5312
5313
  }
5313
5314
  const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
5314
- if (buildCpusMax !== void 0 && !(await import('./command-ZQDMVPD4.js')).cpusAreValid(buildCpusMax)) {
5315
+ if (buildCpusMax !== void 0 && !(await import('./command-47EYM2FJ.js')).cpusAreValid(buildCpusMax)) {
5315
5316
  fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
5316
5317
  return;
5317
5318
  }
5318
5319
  try {
5319
5320
  if (opts.service === true) {
5320
- const { installServiceCommand } = await import('./command-ZQDMVPD4.js');
5321
+ const { installServiceCommand } = await import('./command-47EYM2FJ.js');
5321
5322
  const result2 = await installServiceCommand({
5322
5323
  configPath,
5323
5324
  print: opts.print,
@@ -5374,8 +5375,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
5374
5375
  fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
5375
5376
  return;
5376
5377
  }
5377
- const { defaultRunnerConfigPath } = await import('./config-6LQKXZNE.js');
5378
- const { uninstallServiceCommand } = await import('./command-ZQDMVPD4.js');
5378
+ const { defaultRunnerConfigPath } = await import('./config-EA6WVKAS.js');
5379
+ const { uninstallServiceCommand } = await import('./command-47EYM2FJ.js');
5379
5380
  const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
5380
5381
  if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
5381
5382
  `);
@@ -5405,13 +5406,13 @@ already in ${words().envFile} is used.
5405
5406
  printf '%s' "$${words().variables[0]}" | ${cliInvocation()} runner init --agent ${words().runnerName} --factory <org>/<factory>
5406
5407
  `
5407
5408
  ).action(async (opts) => {
5408
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-6LQKXZNE.js');
5409
- const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-CGYS6IGX.js');
5410
- const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-RXTJDYTI.js');
5411
- const { detectMachine } = await import('./machine-DGMGTVD7.js');
5412
- const { chooseVm, runVmInit, VmInitError } = await import('./init-2JDKKCKC.js');
5413
- const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-W7LASDJX.js');
5414
- const { headlessNames: headlessNames2 } = await import('./runner-agents-AGFDPTJN.js');
5409
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-EA6WVKAS.js');
5410
+ const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-V7X3KA7B.js');
5411
+ const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-4J4MHN3S.js');
5412
+ const { detectMachine } = await import('./machine-BZPKYURG.js');
5413
+ const { chooseVm, runVmInit, VmInitError } = await import('./init-PUN3PKOT.js');
5414
+ const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-23OLQBQZ.js');
5415
+ const { headlessNames: headlessNames2 } = await import('./runner-agents-CEW4Z3FR.js');
5415
5416
  const configPath = opts.config ?? defaultRunnerConfigPath();
5416
5417
  if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
5417
5418
  fail(`--agent ${opts.agent}: runner init writes commands for ${headlessNames2().join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
@@ -5423,7 +5424,7 @@ already in ${words().envFile} is used.
5423
5424
  return;
5424
5425
  }
5425
5426
  try {
5426
- const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-ESCPFY6L.js');
5427
+ const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-D3KK24QX.js');
5427
5428
  agent = await initAgent({
5428
5429
  flag: agent,
5429
5430
  handOff: opts.configStdin === true,
@@ -5434,7 +5435,7 @@ already in ${words().envFile} is used.
5434
5435
  if (agent !== void 0) {
5435
5436
  const chosen = agent;
5436
5437
  const forms = credentialForms((runnerAgentNamed(chosen) ?? credentialAgent()).descriptor);
5437
- const { readPipedKey } = await import('./login-browser-AMCRDS5C.js');
5438
+ const { readPipedKey } = await import('./login-browser-I6CWBA7K.js');
5438
5439
  const { terminalPrompt: terminalPrompt2 } = await import('./hidden-prompt-UXBFMQC5.js');
5439
5440
  const text = await agentCredentialText({
5440
5441
  isTTY: process.stdin.isTTY === true,
@@ -5456,7 +5457,7 @@ already in ${words().envFile} is used.
5456
5457
  const chunks = [];
5457
5458
  for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
5458
5459
  const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
5459
- const { ensureHostKey: ensureHostKey2 } = await import('./host-key-535Z4MV6.js');
5460
+ const { ensureHostKey: ensureHostKey2 } = await import('./host-key-UFUIBFBF.js');
5460
5461
  const hostKey2 = await ensureHostKey2(configPath);
5461
5462
  process.stdout.write(`host key ${hostKey2.fingerprint}
5462
5463
  hooks: ${result2.hooks}
@@ -5511,7 +5512,7 @@ hooks: ${result2.hooks}
5511
5512
  const prepared = prepareRunnerInit(configPath, { machine, agent, credential, keyFromLogin: makeKey !== void 0 });
5512
5513
  const created = makeKey === void 0 ? void 0 : await makeKey();
5513
5514
  const result = writeRunnerInit(prepared, created);
5514
- const { ensureHostKey } = await import('./host-key-535Z4MV6.js');
5515
+ const { ensureHostKey } = await import('./host-key-UFUIBFBF.js');
5515
5516
  const hostKey = await ensureHostKey(configPath);
5516
5517
  if (created !== void 0) {
5517
5518
  process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
@@ -5531,7 +5532,7 @@ hooks: ${result2.hooks}
5531
5532
  );
5532
5533
  process.stdout.write(`${C.green}\u2713${C.reset} hooks: ${result.hooks}${result.hooks === "builtin:vm" ? " (builds run in microVMs)" : " (builds run in containers)"}
5533
5534
  `);
5534
- const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-OG4IHLHP.js');
5535
+ const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-4ID4VBH2.js');
5535
5536
  let installedLayout = false;
5536
5537
  let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
5537
5538
  try {
@@ -5563,7 +5564,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
5563
5564
  let serviceUp = false;
5564
5565
  let restart;
5565
5566
  if (installedLayout) {
5566
- const { installServiceCommand } = await import('./command-ZQDMVPD4.js');
5567
+ const { installServiceCommand } = await import('./command-47EYM2FJ.js');
5567
5568
  const service = await installServiceCommand({
5568
5569
  configPath,
5569
5570
  entryPath: process.argv[1] ?? "",
@@ -5615,12 +5616,12 @@ image holds this CLI and a pinned ${words().agent}. Nothing runs inside the imag
5615
5616
  A repository with no devcontainer file builds on the universal image the CLI pins by digest.
5616
5617
  `
5617
5618
  ).action(async (opts) => {
5618
- const { defaultRunnerConfigPath } = await import('./config-6LQKXZNE.js');
5619
- const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-DJDZXY7M.js');
5619
+ const { defaultRunnerConfigPath } = await import('./config-EA6WVKAS.js');
5620
+ const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-2L3L2OJO.js');
5620
5621
  const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
5621
- const { createDockerHost } = await import('./docker-IWTHGXFC.js');
5622
- const { builderSpec } = await import('./builder-NJXSBAX3.js');
5623
- const { loadRunnerConfig } = await import('./config-6LQKXZNE.js');
5622
+ const { createDockerHost } = await import('./docker-FPEQS6HK.js');
5623
+ const { builderSpec } = await import('./builder-PKDA7X2H.js');
5624
+ const { loadRunnerConfig } = await import('./config-EA6WVKAS.js');
5624
5625
  const configPath = opts.config ?? defaultRunnerConfigPath();
5625
5626
  const loaded = (() => {
5626
5627
  try {
@@ -5631,12 +5632,12 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5631
5632
  })();
5632
5633
  const memory = loaded?.build?.memory ?? "8g";
5633
5634
  try {
5634
- const { ensureRunnerIdentity } = await import('./runner-identity-T7HDG3QU.js');
5635
+ const { ensureRunnerIdentity } = await import('./runner-identity-IJKE4SRJ.js');
5635
5636
  await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
5636
5637
  console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
5637
5638
  });
5638
- const { imageTargetFor } = await import('./governing-source-UUDIJISJ.js');
5639
- const { runnerCalls } = await import('./caller-T65G6G3Z.js');
5639
+ const { imageTargetFor } = await import('./governing-source-QEFYVBQF.js');
5640
+ const { runnerCalls } = await import('./caller-XETCC46J.js');
5640
5641
  const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
5641
5642
  if (!target.ok) {
5642
5643
  if (opts.json) {
@@ -5700,25 +5701,25 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5700
5701
  }
5701
5702
  });
5702
5703
  runnerCmd.command("stop").description("Take no more work; finish running jobs, then exit").option("--config <path>", "the cloud config file naming the runner to stop").option("--now", "end running jobs immediately, with outcome stopped").action(async (opts) => {
5703
- const { defaultRunnerConfigPath } = await import('./config-6LQKXZNE.js');
5704
- const { requestStop } = await import('./loop-36JR7RB2.js');
5704
+ const { defaultRunnerConfigPath } = await import('./config-EA6WVKAS.js');
5705
+ const { requestStop } = await import('./loop-AWBFKDV7.js');
5705
5706
  const configPath = opts.config ?? defaultRunnerConfigPath();
5706
- const { runnerImageVersion } = await import('./image-tag-S5LR2FDL.js');
5707
+ const { runnerImageVersion } = await import('./image-tag-AE6EKDPV.js');
5707
5708
  await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
5708
5709
  });
5709
5710
  runnerCmd.command("status").description("List running jobs; with --recent, finished ones too").option("--config <path>", "the cloud config file naming the runner to inspect").option("--recent", "also list finished jobs, newest first, capped at 20").option("--json", "machine-readable JSON output").action(async (opts) => {
5710
- const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-6LQKXZNE.js');
5711
- const { jobsDir, runnerDir } = await import('./paths-5OXE4APD.js');
5712
- const { listJobFiles, runnerProcessState } = await import('./loop-36JR7RB2.js');
5713
- const { renderStatus } = await import('./status-YD7P337P.js');
5714
- const { readHousekeepingRecord } = await import('./record-XIM2Z2JO.js');
5711
+ const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-EA6WVKAS.js');
5712
+ const { jobsDir, runnerDir } = await import('./paths-KVMMJQ7T.js');
5713
+ const { listJobFiles, runnerProcessState } = await import('./loop-AWBFKDV7.js');
5714
+ const { renderStatus } = await import('./status-GMVC666R.js');
5715
+ const { readHousekeepingRecord } = await import('./record-PQDJVKYV.js');
5715
5716
  const path2 = await import('path');
5716
5717
  const configPath = opts.config ?? defaultRunnerConfigPath();
5717
5718
  const all = listJobFiles(configPath);
5718
5719
  const housekeeping = readHousekeepingRecord(runnerDir(configPath));
5719
- const { readPendingUpdate } = await import('./pending-YC4KF2AW.js');
5720
+ const { readPendingUpdate } = await import('./pending-2IE3VBAN.js');
5720
5721
  const pendingUpdate = readPendingUpdate(runnerDir(configPath));
5721
- const { readImageStatus } = await import('./image-tag-S5LR2FDL.js');
5722
+ const { readImageStatus } = await import('./image-tag-AE6EKDPV.js');
5722
5723
  const image = readImageStatus(runnerDir(configPath));
5723
5724
  let host = "unknown";
5724
5725
  let concurrency = 1;
@@ -5728,7 +5729,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5728
5729
  host = config.host;
5729
5730
  concurrency = config.concurrency;
5730
5731
  if (config.fleet === true) {
5731
- const { readFleetState } = await import('./state-ZQN2O2PB.js');
5732
+ const { readFleetState } = await import('./state-DPEWDXQN.js');
5732
5733
  fleet = { state: readFleetState(configPath) };
5733
5734
  }
5734
5735
  } catch {
@@ -5736,7 +5737,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5736
5737
  const processState = runnerProcessState(configPath);
5737
5738
  const service = await (async () => {
5738
5739
  if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
5739
- const { inspectRunnerService } = await import('./find-unit-527IGJNL.js');
5740
+ const { inspectRunnerService } = await import('./find-unit-337Y4QAC.js');
5740
5741
  const facts = inspectRunnerService(configPath);
5741
5742
  return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
5742
5743
  })();
@@ -5775,9 +5776,9 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5775
5776
  );
5776
5777
  });
5777
5778
  runnerCmd.command("logs").argument("<item>", "the work item's number in the factory, or a build's claim id").description("Print the newest attempt's log for one item or claim id").option("--config <path>", "the cloud config file naming the runner to inspect").option("-f, --follow", "keep printing as the log grows").action(async (itemArg, opts) => {
5778
- const { defaultRunnerConfigPath } = await import('./config-6LQKXZNE.js');
5779
- const { listJobFiles } = await import('./loop-36JR7RB2.js');
5780
- const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-LLFBENNJ.js');
5779
+ const { defaultRunnerConfigPath } = await import('./config-EA6WVKAS.js');
5780
+ const { listJobFiles } = await import('./loop-AWBFKDV7.js');
5781
+ const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-DIA3NWC2.js');
5781
5782
  const configPath = opts.config ?? defaultRunnerConfigPath();
5782
5783
  const jobs = listJobFiles(configPath);
5783
5784
  const selected = selectAttempt(jobs, itemArg);
@@ -5998,7 +5999,7 @@ Self-host deployments also need --app-id: without a key service to resolve the
5998
5999
  caller from the bearer token, the gateway answers 401 without that header.
5999
6000
  `
6000
6001
  ).action(async (opts) => {
6001
- const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-WLU64HPE.js');
6002
+ const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-OTAX7QP2.js');
6002
6003
  try {
6003
6004
  if (opts.transport !== void 0 && opts.transport !== "stdio" && opts.transport !== "http") {
6004
6005
  throw new McpInstallError(`--transport must be "stdio" or "http", got "${opts.transport}"`);
@@ -6020,7 +6021,7 @@ caller from the bearer token, the gateway answers 401 without that header.
6020
6021
  "after",
6021
6022
  "\nWhat the stdio .mcp.json entry spawns. Reads newline-delimited JSON-RPC 2.0 on\nstdin and writes responses on stdout. The API key comes from OUTERLAYER_API_KEY\nor ~/.outerlayer/config.json at start-up; with neither the command exits 1 and\nprints why, which the MCP client shows as the connect error.\n"
6022
6023
  ).action(async (opts) => {
6023
- const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-YJX7HUHL.js');
6024
+ const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-63KQEQYS.js');
6024
6025
  try {
6025
6026
  await runMcpServe({ url: opts.url, appId: opts.appId });
6026
6027
  } catch (err) {
@@ -6041,7 +6042,7 @@ would get, the instruction files and the names of the skills. It warns when the
6041
6042
  no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
6042
6043
  `
6043
6044
  ).action(async (opts) => {
6044
- const { runContextShow, ContextShowError } = await import('./context-show-cmd-MUSMZ3ZM.js');
6045
+ const { runContextShow, ContextShowError } = await import('./context-show-cmd-Z7NQAKNE.js');
6045
6046
  try {
6046
6047
  const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
6047
6048
  process.stdout.write(result.output);