@outerlayer/cli 0.38.0-next.20261111220050 → 0.38.0-next.20261112002049

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 (172) hide show
  1. package/README.md +4 -0
  2. package/dist/{agent-setup-P77VERNT.js → agent-setup-3GY4FFSC.js} +19 -19
  3. package/dist/{agent-subcommand-MLVQVTVU.js → agent-subcommand-VDN4AFAJ.js} +3 -3
  4. package/dist/{bridge-CVHBKOFU.js → bridge-QUQYCBQN.js} +6 -6
  5. package/dist/{build-KVJM6PMC.js → build-SD44TP2B.js} +12 -12
  6. package/dist/{build-disk-H6ZN32KR.js → build-disk-4PCVGMAT.js} +10 -10
  7. package/dist/build-info.json +1 -1
  8. package/dist/{builder-3LUEEVSN.js → builder-JG2DHKSN.js} +9 -9
  9. package/dist/caller-A2K7SLSL.js +23 -0
  10. package/dist/{check-V2TITR5P.js → check-JNQVYVHI.js} +54 -54
  11. package/dist/{chunk-E532PUGI.js → chunk-2UCTMANO.js} +1 -1
  12. package/dist/{chunk-DULA3AYN.js → chunk-2VJVPP5Y.js} +1 -1
  13. package/dist/{chunk-3V5B7M5Q.js → chunk-3C23ZPWR.js} +2 -2
  14. package/dist/{chunk-WJMA4BRG.js → chunk-3T7PXUHN.js} +6 -6
  15. package/dist/{chunk-B4HUGT3L.js → chunk-3VWX5BYV.js} +15 -14
  16. package/dist/{chunk-33HBGNKZ.js → chunk-43R7JHQI.js} +5 -5
  17. package/dist/{chunk-Q3QA4DTV.js → chunk-4FHDVWKO.js} +3 -3
  18. package/dist/{chunk-F4Q4Y7ZE.js → chunk-4T2NBVC4.js} +5 -5
  19. package/dist/{chunk-KUNRGSPX.js → chunk-5NK2KKG6.js} +3 -3
  20. package/dist/{chunk-CT7X6XGR.js → chunk-5OSY3LK3.js} +22 -8
  21. package/dist/{chunk-MXEZN6SV.js → chunk-5TMM2K23.js} +4 -4
  22. package/dist/{chunk-AR3SCE7R.js → chunk-5UFAWMET.js} +2 -2
  23. package/dist/{chunk-LF4BHMEG.js → chunk-6FB7NTJK.js} +1 -1
  24. package/dist/{chunk-TYXZTMZK.js → chunk-6X2BSMRM.js} +1 -1
  25. package/dist/{chunk-DPMUZ2QT.js → chunk-722KABMV.js} +1 -1
  26. package/dist/{chunk-KGDFBO3G.js → chunk-7DIYEB3X.js} +4 -4
  27. package/dist/{chunk-5FTUUXBK.js → chunk-A4NWDCWS.js} +5 -5
  28. package/dist/{chunk-FBLO2U6D.js → chunk-B2SHUO6J.js} +1 -1
  29. package/dist/{chunk-TNUJXYK6.js → chunk-BBRXFXBB.js} +1 -1
  30. package/dist/{chunk-VZ3T5MPT.js → chunk-BJIJYPGC.js} +3 -3
  31. package/dist/{chunk-3XZ66FRV.js → chunk-C4R6LMPQ.js} +10 -10
  32. package/dist/{chunk-WR53L7RZ.js → chunk-DLUBSTLW.js} +8 -8
  33. package/dist/{chunk-CAL6L5DK.js → chunk-DZFIRKDZ.js} +3 -3
  34. package/dist/{chunk-YRJI2ZKT.js → chunk-ECNWHXIO.js} +3 -3
  35. package/dist/{chunk-6AORV65Z.js → chunk-EJ7ZXBXS.js} +2 -2
  36. package/dist/{chunk-AW3N24L5.js → chunk-ELPP5OHC.js} +1 -1
  37. package/dist/{chunk-CJEWYQ46.js → chunk-ERG3WCEC.js} +7 -7
  38. package/dist/{chunk-V6FY4BRV.js → chunk-EUHUIIGT.js} +4 -4
  39. package/dist/{chunk-AUBLZPCA.js → chunk-FUZEOWF4.js} +1 -1
  40. package/dist/{chunk-CPXQLO4X.js → chunk-I5U6CFH4.js} +1 -1
  41. package/dist/{chunk-6VHBQBHL.js → chunk-I62FX622.js} +2 -2
  42. package/dist/{chunk-MOBYKKTR.js → chunk-IGBPPM7F.js} +5 -5
  43. package/dist/{chunk-SBZX6XP6.js → chunk-J6KKJGR7.js} +1 -1
  44. package/dist/{chunk-WVTBZX4K.js → chunk-JIANCWJ3.js} +1 -1
  45. package/dist/{chunk-C6OQ45AS.js → chunk-KVWFAAAQ.js} +1 -1
  46. package/dist/{chunk-RIYSVN6V.js → chunk-KZU5WQK5.js} +3 -3
  47. package/dist/{chunk-A3NJSQPK.js → chunk-LVELQ635.js} +1 -1
  48. package/dist/{chunk-3FN6JADD.js → chunk-MVERFCX4.js} +1 -1
  49. package/dist/{chunk-EVME7MT6.js → chunk-N6BNN6ZD.js} +1 -1
  50. package/dist/{chunk-UIS6E64L.js → chunk-NDQC2WUJ.js} +1 -1
  51. package/dist/{chunk-TFAAVSYJ.js → chunk-NO4N4D32.js} +4 -4
  52. package/dist/{chunk-UOCYI5SA.js → chunk-NRDFBOKE.js} +3 -3
  53. package/dist/{chunk-34VR5LPD.js → chunk-OAPWDSBW.js} +2 -2
  54. package/dist/{chunk-3LOW5W6T.js → chunk-OTWTUHWY.js} +93 -42
  55. package/dist/{chunk-BU4O4T7X.js → chunk-OYRAQXRQ.js} +4 -4
  56. package/dist/{chunk-QPSLXP6A.js → chunk-PCGU6T7J.js} +2 -2
  57. package/dist/{chunk-EWKNMUPI.js → chunk-POBH5YCG.js} +1 -1
  58. package/dist/{chunk-LEIO5LD3.js → chunk-Q7J4T2VP.js} +7 -7
  59. package/dist/{chunk-ZN4444RL.js → chunk-QYLBGMTA.js} +1 -1
  60. package/dist/{chunk-COTJ2FIL.js → chunk-RCK2MJRG.js} +2 -2
  61. package/dist/{chunk-QR6XP6BJ.js → chunk-RUX4M4AX.js} +1 -1
  62. package/dist/{chunk-3RAAAAPL.js → chunk-SFSE6YDX.js} +55 -15
  63. package/dist/{chunk-MRZMJPYA.js → chunk-SLORYOL4.js} +1 -1
  64. package/dist/{chunk-PFSUX4MQ.js → chunk-T4FSZ7LA.js} +7 -7
  65. package/dist/{chunk-KUM6RRPC.js → chunk-UXARYJQ4.js} +1 -1
  66. package/dist/{chunk-BKAUXDXK.js → chunk-VBSKVGWP.js} +7 -7
  67. package/dist/{chunk-FYIISGXR.js → chunk-VRDHLSR2.js} +7 -7
  68. package/dist/{chunk-UPIXYW7Y.js → chunk-VV445Q2R.js} +3 -3
  69. package/dist/{chunk-NHYV24WJ.js → chunk-W7BF2RXV.js} +4 -4
  70. package/dist/{chunk-N63KZWYP.js → chunk-WFYKTAXZ.js} +1 -1
  71. package/dist/{chunk-FM4OXL5V.js → chunk-WG5OBUIZ.js} +6 -6
  72. package/dist/{chunk-GRNA7FHI.js → chunk-Y25ONBS6.js} +3 -3
  73. package/dist/{chunk-GXYVZZO7.js → chunk-Y5S6EUGK.js} +3 -3
  74. package/dist/{chunk-AS3DUHKZ.js → chunk-YZVNZWKD.js} +4 -4
  75. package/dist/{chunk-LOXR7Q77.js → chunk-Z42UKOZ6.js} +3 -3
  76. package/dist/{chunk-NTPBHL6U.js → chunk-Z7XFVFW2.js} +1 -1
  77. package/dist/{chunk-U5NUHRGX.js → chunk-ZCX43KZ5.js} +1 -1
  78. package/dist/{chunk-T34WBDIO.js → chunk-ZH5YLKO6.js} +1 -1
  79. package/dist/{chunk-O4BVDRKJ.js → chunk-ZJHWXRT4.js} +2 -2
  80. package/dist/{chunk-6LYKHTC2.js → chunk-ZU6LNR3G.js} +3 -3
  81. package/dist/{chunk-544OP3E4.js → chunk-ZUUA6ZGD.js} +35 -32
  82. package/dist/{claude-launcher-XHIHOO4U.js → claude-launcher-5ALZD5WD.js} +6 -6
  83. package/dist/{cli-VZUDY3VM.js → cli-2FFCAE62.js} +155 -154
  84. package/dist/{cli-update-notice-PCJN5ZKP.js → cli-update-notice-XZ7I7OWP.js} +2 -2
  85. package/dist/{command-TWK2QQ5J.js → command-ASXZLHXU.js} +49 -49
  86. package/dist/{config-JMTO5H4U.js → config-5KMNGNK5.js} +11 -11
  87. package/dist/{connect-cmd-JPHOQZBW.js → connect-cmd-XR7XPGQ6.js} +11 -11
  88. package/dist/{container-start-IWW2OVWT.js → container-start-6FHPPHMU.js} +47 -47
  89. package/dist/{context-cleanup-CTKOHNCW.js → context-cleanup-HHMQV7KH.js} +3 -3
  90. package/dist/{context-show-cmd-WO6B7UUZ.js → context-show-cmd-4EKSCIF4.js} +12 -12
  91. package/dist/{control-plane-launch-OZLAMALE.js → control-plane-launch-AJPCKLBL.js} +14 -14
  92. package/dist/{demo-record-cmd-47RXW75H.js → demo-record-cmd-LVZOYPR7.js} +7 -7
  93. package/dist/{demo-voice-cmd-ENFCUFP6.js → demo-voice-cmd-DT6VFD2U.js} +18 -18
  94. package/dist/{docker-KC5ZFIK5.js → docker-T7A6GZDD.js} +9 -9
  95. package/dist/{doctor-3XXCQPUZ.js → doctor-FATFZWEA.js} +49 -49
  96. package/dist/{emit-artifact-cmd-5YXDBVXP.js → emit-artifact-cmd-B5ZYJKFM.js} +17 -17
  97. package/dist/{emit-cmd-VETPASRD.js → emit-cmd-P2XWWVFP.js} +6 -6
  98. package/dist/{emit-criteria-cmd-5GBTQL3J.js → emit-criteria-cmd-RHFJYNSU.js} +14 -14
  99. package/dist/{emit-demo-cmd-2YTSDKEN.js → emit-demo-cmd-WELKVLD4.js} +18 -18
  100. package/dist/{emit-finding-cmd-RXR5O2RB.js → emit-finding-cmd-KRNEWZQP.js} +14 -14
  101. package/dist/{emit-result-cmd-ND72YSHC.js → emit-result-cmd-NQ6LAE4Z.js} +16 -16
  102. package/dist/{emit-step-cmd-NXRZAW3R.js → emit-step-cmd-HKOYFSYL.js} +14 -14
  103. package/dist/{exec-client-RQ2WBQYI.js → exec-client-2JSXFMEW.js} +7 -7
  104. package/dist/find-unit-3QYPTK6A.js +24 -0
  105. package/dist/{findings-cmd-OHZRCVPV.js → findings-cmd-EF4QXYRT.js} +14 -14
  106. package/dist/{fleet-readiness-QTBZ322P.js → fleet-readiness-NBYN45IT.js} +13 -13
  107. package/dist/{governing-source-LOIIVNWG.js → governing-source-C7MY7KB2.js} +19 -19
  108. package/dist/{guest-init-R3Z35NG7.js → guest-init-FX2NUAW6.js} +8 -8
  109. package/dist/{hook-fast-BEFGAPAW.js → hook-fast-JZKCKSXB.js} +3 -3
  110. package/dist/{hook-install-Y6ZL3OT2.js → hook-install-R66RP7ME.js} +3 -3
  111. package/dist/host-checks-CZGNR4VC.js +80 -0
  112. package/dist/{host-key-JDLHIUNO.js → host-key-ACYKDZ4X.js} +7 -7
  113. package/dist/{image-tag-BAA6APVR.js → image-tag-H5CZTC42.js} +7 -7
  114. package/dist/index.js +4 -4
  115. package/dist/{init-IE5IGNVE.js → init-5S6A2SYN.js} +45 -45
  116. package/dist/init-WDYDTJW2.js +80 -0
  117. package/dist/{init-agent-YBLFXWPL.js → init-agent-PJFH7OFD.js} +45 -45
  118. package/dist/{init-cmd-VKCXBALQ.js → init-cmd-5SCU7AVL.js} +25 -25
  119. package/dist/{init-update-EJS5G2XZ.js → init-update-6EJKXKFH.js} +32 -26
  120. package/dist/{install-cmd-7LUZQZMJ.js → install-cmd-TMUNQF7U.js} +9 -9
  121. package/dist/{layout-IZ6XCHGG.js → layout-LTYJDJ5J.js} +3 -3
  122. package/dist/{logs-WVO5SCTN.js → logs-ZEXFSBVF.js} +6 -6
  123. package/dist/loop-Q76PDO7L.js +90 -0
  124. package/dist/machine-GI6SZMEK.js +80 -0
  125. package/dist/{machine-skills-SDIQFRIX.js → machine-skills-CYCZGBAM.js} +3 -3
  126. package/dist/{mcp-install-cmd-GF2QAYQE.js → mcp-install-cmd-TVIOPOIO.js} +3 -3
  127. package/dist/{mcp-serve-cmd-RB3NBRP7.js → mcp-serve-cmd-OCQLRUAK.js} +9 -9
  128. package/dist/{paths-W2U4BYFR.js → paths-IB5XFML7.js} +6 -6
  129. package/dist/pending-TX4VIF6P.js +18 -0
  130. package/dist/{pidfile-ZIDS3G5J.js → pidfile-VET4I455.js} +7 -7
  131. package/dist/{record-I6XI5YWE.js → record-3V3HQRGY.js} +7 -7
  132. package/dist/{relay-MUBJFLEI.js → relay-V7LX2WR6.js} +4 -4
  133. package/dist/{relay-protocol-UK2KZKGH.js → relay-protocol-QGEWESBF.js} +4 -4
  134. package/dist/{run-cmd-KPAN5DTB.js → run-cmd-M5THCWDD.js} +14 -14
  135. package/dist/{runner-agents-3ZKMPZ2D.js → runner-agents-OTYZ73WU.js} +3 -3
  136. package/dist/{runner-env-IKUFXCUV.js → runner-env-3QPJQ2H2.js} +13 -13
  137. package/dist/{runner-identity-UMODOKXV.js → runner-identity-GTWFQEIN.js} +9 -9
  138. package/dist/{runner-key-4VZCSL73.js → runner-key-ZXNXWBSP.js} +45 -45
  139. package/dist/{session-sender-CCXS5LKC.js → session-sender-AEUNLU5R.js} +17 -17
  140. package/dist/{spec-cmd-UX6VYKE6.js → spec-cmd-4EB45ELL.js} +15 -15
  141. package/dist/{starter-pack-EQL24NLF.js → starter-pack-HMJWEIVX.js} +4 -4
  142. package/dist/{state-MD27KY5N.js → state-O3A3CIDQ.js} +7 -7
  143. package/dist/{status-IRQ5N2CN.js → status-R4JD34DO.js} +45 -45
  144. package/dist/{sync-cmd-OCHEVJDU.js → sync-cmd-2HOFZYI6.js} +16 -16
  145. package/dist/update-steps-CGWJJ2IA.js +81 -0
  146. package/dist/{watch-DDSNYG5M.js → watch-ZY62C5WB.js} +16 -16
  147. package/dist/{work-claim-cmd-2YYRYOPS.js → work-claim-cmd-4KQYRNRC.js} +21 -21
  148. package/dist/{work-cmd-PRMB5ETL.js → work-cmd-GNYWSA2O.js} +14 -14
  149. package/dist/{work-comment-cmd-7SOO2JXW.js → work-comment-cmd-7D3DHQ3O.js} +16 -16
  150. package/dist/{work-demo-cmd-P7AXOVMK.js → work-demo-cmd-PDILNMRF.js} +14 -14
  151. package/dist/{work-logs-cmd-PUE23KB5.js → work-logs-cmd-ER3AYV62.js} +14 -14
  152. package/dist/{work-needs-attention-cmd-SJ6P2V3S.js → work-needs-attention-cmd-MAFPEANV.js} +14 -14
  153. package/dist/{work-no-change-cmd-6FLPOK7M.js → work-no-change-cmd-GDN5EE6N.js} +14 -14
  154. package/dist/{work-open-pr-cmd-FTZSIWOM.js → work-open-pr-cmd-56TRIE5I.js} +15 -15
  155. package/dist/{work-pr-cmd-ZOCB54YC.js → work-pr-cmd-W3T6ELML.js} +14 -14
  156. package/dist/{work-proofs-cmd-7HOVHHCL.js → work-proofs-cmd-Y2OMM37N.js} +16 -16
  157. package/dist/{work-proofs-record-YWUBA3IS.js → work-proofs-record-I2VLOMRD.js} +22 -22
  158. package/dist/{work-stop-cmd-LKDWZL24.js → work-stop-cmd-PREZOSNY.js} +14 -14
  159. package/package.json +1 -1
  160. package/skill-pack/maintained/outerlayer-build/SKILL.md +8 -0
  161. package/skill-pack/maintained/outerlayer-spec/SKILL.md +149 -0
  162. package/skill-pack/maintained/outerlayer-spec/references/revise-an-issue.md +14 -0
  163. package/skill-pack/shipped.json +1 -0
  164. package/skill-pack/template/spec/SKILL.md +5 -120
  165. package/dist/caller-IMM277FA.js +0 -23
  166. package/dist/find-unit-6YALHLSE.js +0 -24
  167. package/dist/host-checks-3OKNIXBF.js +0 -80
  168. package/dist/init-LGMYM54E.js +0 -80
  169. package/dist/loop-ZMIBNWIP.js +0 -90
  170. package/dist/machine-WILRS4XJ.js +0 -80
  171. package/dist/pending-ZYVVCMCB.js +0 -18
  172. package/dist/update-steps-PCZORLEO.js +0 -81
@@ -1,47 +1,47 @@
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-B4HUGT3L.js';
4
- import './chunk-F4Q4Y7ZE.js';
5
- import { verifiedTrackerNames, TRACKERS } from './chunk-CT7X6XGR.js';
6
- import './chunk-DULA3AYN.js';
7
- import './chunk-AR3SCE7R.js';
8
- import './chunk-3RAAAAPL.js';
9
- import './chunk-QR6XP6BJ.js';
10
- import './chunk-MRZMJPYA.js';
11
- import './chunk-RIYSVN6V.js';
12
- import './chunk-LOXR7Q77.js';
3
+ import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-3VWX5BYV.js';
4
+ import './chunk-4T2NBVC4.js';
5
+ import { verifiedTrackerNames, TRACKERS } from './chunk-5OSY3LK3.js';
6
+ import './chunk-2VJVPP5Y.js';
7
+ import './chunk-5UFAWMET.js';
8
+ import './chunk-SFSE6YDX.js';
9
+ import './chunk-RUX4M4AX.js';
10
+ import './chunk-SLORYOL4.js';
11
+ import './chunk-KZU5WQK5.js';
12
+ import './chunk-Z42UKOZ6.js';
13
13
  import './chunk-26BFN6DH.js';
14
- import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-U5NUHRGX.js';
14
+ import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-ZCX43KZ5.js';
15
15
  import './chunk-BUT777XB.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-NTPBHL6U.js';
19
- import './chunk-QPSLXP6A.js';
18
+ import './chunk-Z7XFVFW2.js';
19
+ import './chunk-PCGU6T7J.js';
20
20
  import './chunk-HWVMRETT.js';
21
- import './chunk-CPXQLO4X.js';
22
- import './chunk-WVTBZX4K.js';
23
- import './chunk-Q3QA4DTV.js';
24
- import './chunk-6AORV65Z.js';
25
- import { hookFiredMarkerPath, installedCliDistDir } from './chunk-NHYV24WJ.js';
21
+ import './chunk-I5U6CFH4.js';
22
+ import './chunk-JIANCWJ3.js';
23
+ import './chunk-4FHDVWKO.js';
24
+ import './chunk-EJ7ZXBXS.js';
25
+ import { hookFiredMarkerPath, installedCliDistDir } from './chunk-W7BF2RXV.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-O4BVDRKJ.js';
32
- import './chunk-A3NJSQPK.js';
31
+ import './chunk-ZJHWXRT4.js';
32
+ import './chunk-LVELQ635.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-LF4BHMEG.js';
35
+ import { installAgents, settingsFileOf, withSettingsText } from './chunk-6FB7NTJK.js';
36
36
  import { cliForInstall, SettingsParseError, PORTABLE_BIN, writeSettingsText, cliBinResolvable } from './chunk-ZHQC43NH.js';
37
- import './chunk-FBLO2U6D.js';
37
+ import './chunk-B2SHUO6J.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-SBZX6XP6.js';
41
- import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-ZN4444RL.js';
40
+ import { headlessNames, credentialForms, runnerAgentNamed, credentialAgent, runnerAgents, orList, credentialShapes } from './chunk-J6KKJGR7.js';
41
+ import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-QYLBGMTA.js';
42
42
  import './chunk-PLVHIQJN.js';
43
43
  import './chunk-7PZDPISM.js';
44
- import './chunk-AW3N24L5.js';
44
+ import './chunk-ELPP5OHC.js';
45
45
  import { resolveVersion, resolvePackageVersion } from './chunk-RA3O54FC.js';
46
46
  import { homeFromEnv } from './chunk-352DHUTP.js';
47
47
  import './chunk-7GJEQXOH.js';
@@ -3669,14 +3669,14 @@ function apiKeyOption() {
3669
3669
  return new Option("--api-key <key>", `deprecated: use \`${cliInvocation()} login\` or OUTERLAYER_API_KEY`).hideHelp();
3670
3670
  }
3671
3671
  async function installStarterPackInRepo() {
3672
- const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-EQL24NLF.js');
3672
+ const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-HMJWEIVX.js');
3673
3673
  const cwd = process.cwd();
3674
3674
  let repoRoot = cwd;
3675
3675
  try {
3676
3676
  repoRoot = execFileSync("git", ["rev-parse", "--show-toplevel"], { cwd, encoding: "utf8", stdio: ["ignore", "pipe", "ignore"] }).trim() || cwd;
3677
3677
  } catch {
3678
3678
  }
3679
- const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-IZ6XCHGG.js');
3679
+ const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-LTYJDJ5J.js');
3680
3680
  const fresh = !isAgentsMdLayout(repoRoot) && !existsSync(join(repoRoot, ".outerlayer/skills")) && !existsSync(join(repoRoot, ".outerlayer/AGENTS.md"));
3681
3681
  const result = installStarterPack({ repoRoot, base: fresh ? ".agents/skills" : skillsBaseFor(repoRoot) });
3682
3682
  if (fresh) declareAgentsMdLayout(repoRoot);
@@ -3819,7 +3819,7 @@ ${starter.output}`),
3819
3819
  }
3820
3820
  }
3821
3821
  async function installMachineSkillsForSetup() {
3822
- const { setupMachineSkills } = await import('./machine-skills-SDIQFRIX.js');
3822
+ const { setupMachineSkills } = await import('./machine-skills-CYCZGBAM.js');
3823
3823
  const result = setupMachineSkills(homeFromEnv());
3824
3824
  for (const failure of result.failures) process.stderr.write(`${C.yellow}!${C.reset} Could not write a maintained skill: ${failure}
3825
3825
  `);
@@ -3827,7 +3827,7 @@ async function installMachineSkillsForSetup() {
3827
3827
  ` : "";
3828
3828
  }
3829
3829
  async function realConnectDepsForCwd() {
3830
- const { realConnectDeps } = await import('./connect-cmd-JPHOQZBW.js');
3830
+ const { realConnectDeps } = await import('./connect-cmd-XR7XPGQ6.js');
3831
3831
  const { resolveRepoIdentity } = await import('./dist-7JDEWP5U.js');
3832
3832
  return {
3833
3833
  ...realConnectDeps(),
@@ -3845,12 +3845,12 @@ function buildProgram(argv = process.argv) {
3845
3845
  const program2 = new Command();
3846
3846
  program2.name(cliInvocation()).description("OuterLayer \u2014 see what your coding agents actually do").enablePositionalOptions().version(resolveVersion()).hook("preAction", async (_root, command) => {
3847
3847
  if (command.opts().apiKey !== void 0) warnDeprecated(API_KEY_FLAG_DEPRECATION);
3848
- const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-SDIQFRIX.js');
3848
+ const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-CYCZGBAM.js');
3849
3849
  const names = [];
3850
3850
  for (let at = command; at?.parent; at = at.parent) names.push(at.name());
3851
3851
  if (!machineRefreshSkipped(names, command._hidden === true, argv)) refreshMachineSkills(homeFromEnv());
3852
3852
  }).hook("postAction", async (_root, command) => {
3853
- const notice = await import('./cli-update-notice-PCJN5ZKP.js');
3853
+ const notice = await import('./cli-update-notice-XZ7I7OWP.js');
3854
3854
  let top;
3855
3855
  for (let at = command; at.parent; at = at.parent) top = at.name();
3856
3856
  const json = command.opts().json === true || argv.includes("--json");
@@ -3876,7 +3876,7 @@ writes AGENTS.md when there is no AGENTS.md or
3876
3876
  CLAUDE.md, writes .outerlayer/config.json with "layout": 2 when there is
3877
3877
  none, links .claude/skills to ../.agents/skills, and adds the outerlayer and
3878
3878
  outerlayer-docs MCP servers to .mcp.json. Nothing is generated, so nothing
3879
- needs \`` + cliInvocation() + " context emit`. --no-skills-link leaves out the link.\nNothing you wrote is changed. A repository still in the earlier layout keeps\nits files in .outerlayer/ and is compiled as before until --update moves it.\nThe files are left uncommitted.\nThe step is skipped outside a git repository and in a repository whose\ncontext comes from a control plane, where it arrives at session start.\n\nEvery init installs the five maintained skills (outerlayer-evidence,\nouterlayer-amend, outerlayer-findings, outerlayer-cli, outerlayer-build) once\nper machine, in ~/.agents/skills/, with a link to each in ~/.claude/skills/.\nEvery later outerlayer command keeps them at its own version. A repository in\nthe AGENTS.md layout carries none of them. `" + cliInvocation() + " claude` installs them too.\nIf a write fails, init says so and goes on; `" + cliInvocation() + ` doctor\` reports it.
3879
+ needs \`` + cliInvocation() + " context emit`. --no-skills-link leaves out the link.\nNothing you wrote is changed. A repository still in the earlier layout keeps\nits files in .outerlayer/ and is compiled as before until --update moves it.\nThe files are left uncommitted.\nThe step is skipped outside a git repository and in a repository whose\ncontext comes from a control plane, where it arrives at session start.\n\nEvery init installs the maintained skills (outerlayer-evidence, outerlayer-amend,\nouterlayer-findings, outerlayer-cli, outerlayer-build, outerlayer-run, outerlayer-spec) once\nper machine, in ~/.agents/skills/, with a link to each in ~/.claude/skills/.\nEvery later outerlayer command keeps them at its own version. A repository in\nthe AGENTS.md layout carries none of them. `" + cliInvocation() + " claude` installs them too.\nIf a write fails, init says so and goes on; `" + cliInvocation() + ` doctor\` reports it.
3880
3880
 
3881
3881
  --local installs only the hooks and the per-machine skills: no connect step, no agent setup and no
3882
3882
  network call. Add \`--template default\` to also write the starter skills and
@@ -3902,8 +3902,8 @@ build, ../outerlayer-build/SKILL.md becomes ~/.agents/skills/outerlayer-build/SK
3902
3902
  what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocation() + " doctor` reports the same\nstates under Starter files.\n"
3903
3903
  ).action(async (opts) => {
3904
3904
  if (opts.update || opts.dryRun) {
3905
- const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-EJS5G2XZ.js');
3906
- const { fleetReadiness } = await import('./fleet-readiness-QTBZ322P.js');
3905
+ const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-6EJKXKFH.js');
3906
+ const { fleetReadiness } = await import('./fleet-readiness-NBYN45IT.js');
3907
3907
  const problem = updateFlagProblem(opts);
3908
3908
  if (problem !== void 0) {
3909
3909
  fail(problem);
@@ -3920,7 +3920,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3920
3920
  }
3921
3921
  let starterTemplate;
3922
3922
  if (opts.template !== void 0) {
3923
- const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-EQL24NLF.js');
3923
+ const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-HMJWEIVX.js');
3924
3924
  try {
3925
3925
  assertKnownTemplate(opts.template);
3926
3926
  } catch (err) {
@@ -3954,13 +3954,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3954
3954
  if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
3955
3955
  `);
3956
3956
  }
3957
- const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-VKCXBALQ.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
3957
+ const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-5SCU7AVL.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
3958
3958
  if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
3959
3959
  else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
3960
3960
  return;
3961
3961
  }
3962
3962
  await installMachineSkillsForSetup();
3963
- const { runInitCommand } = await import('./init-cmd-VKCXBALQ.js');
3963
+ const { runInitCommand } = await import('./init-cmd-5SCU7AVL.js');
3964
3964
  const code = await runInitCommand(
3965
3965
  { json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
3966
3966
  {
@@ -3972,7 +3972,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3972
3972
  return { ok, text, detail };
3973
3973
  },
3974
3974
  runAgentSetup: async () => {
3975
- const { runAgentSetup } = await import('./agent-setup-P77VERNT.js');
3975
+ const { runAgentSetup } = await import('./agent-setup-3GY4FFSC.js');
3976
3976
  return runAgentSetup({ cwd: process.cwd(), skillsLink: opts.skillsLink !== false });
3977
3977
  },
3978
3978
  runDoctorChecks: gatherDoctorChecks,
@@ -3981,7 +3981,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3981
3981
  shellPath: process.env.SHELL,
3982
3982
  interactive: Boolean(process.stdin.isTTY && process.stderr.isTTY) && opts.json !== true,
3983
3983
  ask: async () => {
3984
- const { promptOnTerminal } = await import('./connect-cmd-JPHOQZBW.js');
3984
+ const { promptOnTerminal } = await import('./connect-cmd-XR7XPGQ6.js');
3985
3985
  const answer = await promptOnTerminal({
3986
3986
  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.`,
3987
3987
  options: [
@@ -4020,7 +4020,7 @@ linked (true, false, or null when it could not be checked) and, when false,
4020
4020
  linkUrl.
4021
4021
  `
4022
4022
  ).action(async (opts) => {
4023
- const { runConnectCommand } = await import('./connect-cmd-JPHOQZBW.js');
4023
+ const { runConnectCommand } = await import('./connect-cmd-XR7XPGQ6.js');
4024
4024
  const code = await runConnectCommand({ factory: opts.factory, json: opts.json }, await realConnectDepsForCwd(), {
4025
4025
  stdout: process.stdout,
4026
4026
  stderr: process.stderr
@@ -4102,7 +4102,7 @@ code is 1: revoke the token on /profile/security.
4102
4102
  else fail(found.reason);
4103
4103
  return;
4104
4104
  }
4105
- const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-OCHEVJDU.js');
4105
+ const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-2HOFZYI6.js');
4106
4106
  try {
4107
4107
  const result = await runSync({
4108
4108
  url: opts.url,
@@ -4131,7 +4131,7 @@ code is 1: revoke the token on /profile/security.
4131
4131
  if (invokedCommandToken(argv) === "watch") {
4132
4132
  warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
4133
4133
  }
4134
- const { runWatch } = await import('./watch-DDSNYG5M.js');
4134
+ const { runWatch } = await import('./watch-ZY62C5WB.js');
4135
4135
  await runWatch({ once: opts.once });
4136
4136
  });
4137
4137
  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(() => {
@@ -4146,8 +4146,8 @@ code is 1: revoke the token on /profile/security.
4146
4146
  });
4147
4147
  }
4148
4148
  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) => {
4149
- const { startRelay, startSessionRelay } = await import('./relay-MUBJFLEI.js');
4150
- const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-UK2KZKGH.js');
4149
+ const { startRelay, startSessionRelay } = await import('./relay-V7LX2WR6.js');
4150
+ const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-QGEWESBF.js');
4151
4151
  const port = Number(opts.port);
4152
4152
  if (!Number.isInteger(port) || port < 1 || port > 65535) {
4153
4153
  fail(opts.port === void 0 ? "--port is required" : `--port must be a port number, not ${opts.port}`);
@@ -4185,7 +4185,7 @@ code is 1: revoke the token on /profile/security.
4185
4185
  await startRelay({ port, socketPath: opts.socket, forwards: forwards.map((forward) => ({ port: forward.port, socketPath: forward.spec })) });
4186
4186
  });
4187
4187
  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) => {
4188
- const { joinRelay } = await import('./relay-MUBJFLEI.js');
4188
+ const { joinRelay } = await import('./relay-V7LX2WR6.js');
4189
4189
  try {
4190
4190
  await joinRelay({ socketPath: opts.socket, input: process.stdin, output: process.stdout });
4191
4191
  } catch (err) {
@@ -4201,7 +4201,7 @@ code is 1: revoke the token on /profile/security.
4201
4201
  }
4202
4202
  });
4203
4203
  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) => {
4204
- const { runVmExec } = await import('./exec-client-RQ2WBQYI.js');
4204
+ const { runVmExec } = await import('./exec-client-2JSXFMEW.js');
4205
4205
  const env = {};
4206
4206
  for (const entry of opts.env) {
4207
4207
  const eq = entry.indexOf("=");
@@ -4230,7 +4230,7 @@ code is 1: revoke the token on /profile/security.
4230
4230
  process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
4231
4231
  });
4232
4232
  program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
4233
- const { runSessionSender } = await import('./session-sender-CCXS5LKC.js');
4233
+ const { runSessionSender } = await import('./session-sender-AEUNLU5R.js');
4234
4234
  try {
4235
4235
  await runSessionSender();
4236
4236
  } catch (err) {
@@ -4238,7 +4238,7 @@ code is 1: revoke the token on /profile/security.
4238
4238
  }
4239
4239
  });
4240
4240
  program2.command("vm-init", { hidden: true }).description("lay out a microVM build's guest; the guest helper runs it").action(async () => {
4241
- const { realGuestHost, runGuestInit } = await import('./guest-init-R3Z35NG7.js');
4241
+ const { realGuestHost, runGuestInit } = await import('./guest-init-FX2NUAW6.js');
4242
4242
  const { readFileSync: readFileSync3 } = await import('fs');
4243
4243
  try {
4244
4244
  runGuestInit(realGuestHost(), readFileSync3("/proc/cmdline", "utf8"));
@@ -4247,7 +4247,7 @@ code is 1: revoke the token on /profile/security.
4247
4247
  }
4248
4248
  });
4249
4249
  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) => {
4250
- const { startBridgeForward } = await import('./bridge-CVHBKOFU.js');
4250
+ const { startBridgeForward } = await import('./bridge-QUQYCBQN.js');
4251
4251
  try {
4252
4252
  await startBridgeForward(opts);
4253
4253
  } catch (err) {
@@ -4273,7 +4273,7 @@ async function runCli(processArgv) {
4273
4273
  await buildProgram(argv).parseAsync(argv);
4274
4274
  }
4275
4275
  async function compileContext(opts) {
4276
- const { runEmit, EmitError } = await import('./emit-cmd-VETPASRD.js');
4276
+ const { runEmit, EmitError } = await import('./emit-cmd-P2XWWVFP.js');
4277
4277
  try {
4278
4278
  const result = runEmit({ cwd: opts.dir, check: opts.check, json: opts.json });
4279
4279
  if (result.exitCode !== 0) process.exitCode = result.exitCode;
@@ -4326,7 +4326,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
4326
4326
  await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
4327
4327
  return;
4328
4328
  }
4329
- const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-ND72YSHC.js');
4329
+ const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-NQ6LAE4Z.js');
4330
4330
  try {
4331
4331
  const result = await runEmitResult({
4332
4332
  name,
@@ -4378,7 +4378,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
4378
4378
  locally so it never uploads. One correction can retire several duplicates.
4379
4379
  `
4380
4380
  ).action(async (file, opts) => {
4381
- const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-5YXDBVXP.js');
4381
+ const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-B5ZYJKFM.js');
4382
4382
  let pr;
4383
4383
  if (opts.pr !== void 0) {
4384
4384
  pr = parseTrackerNumber(opts.pr);
@@ -4434,7 +4434,7 @@ its criterion, and the new record retires the old record. The id must be the ite
4434
4434
  as \`work demo --item <n> --json\` prints it.
4435
4435
  `
4436
4436
  ).action(async (manifest, opts) => {
4437
- const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-2YTSDKEN.js');
4437
+ const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-WELKVLD4.js');
4438
4438
  let item;
4439
4439
  if (opts.item !== void 0) {
4440
4440
  item = parseTrackerNumber(opts.item);
@@ -4477,7 +4477,7 @@ as \`work demo --item <n> --json\` prints it.
4477
4477
  }
4478
4478
  });
4479
4479
  program2.command("demo-voice", { hidden: true }).description("Speak demo lines for a recorder: JSON lines in on stdin, out on stdout").action(async () => {
4480
- const { runDemoVoice } = await import('./demo-voice-cmd-ENFCUFP6.js');
4480
+ const { runDemoVoice } = await import('./demo-voice-cmd-DT6VFD2U.js');
4481
4481
  await runDemoVoice();
4482
4482
  });
4483
4483
  const demoCmd = program2.command("demo").description("Record demos with the recorder this CLI carries");
@@ -4495,7 +4495,7 @@ and the command prints the manifest's path for \`emit demo\`. Under \`work proof
4495
4495
  to OUTERLAYER_PROOF_OUT instead. Exit 1 means the demo's test failed; its manifest is written all the same.
4496
4496
  `
4497
4497
  ).action(async (file, opts) => {
4498
- const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-47RXW75H.js');
4498
+ const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-LVZOYPR7.js');
4499
4499
  try {
4500
4500
  const result = await runDemoRecord({
4501
4501
  file,
@@ -4544,7 +4544,7 @@ recent events with their ids. --find <text> searches all of them.
4544
4544
  item that session was launched for is used automatically.
4545
4545
  `
4546
4546
  ).action(async (opts) => {
4547
- const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-RXR5O2RB.js');
4547
+ const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-KRNEWZQP.js');
4548
4548
  try {
4549
4549
  refuseRemovedFindingFlags(opts);
4550
4550
  const result = await runEmitFinding({
@@ -4611,7 +4611,7 @@ the whole batch. "untimed": true records one with no time on purpose.
4611
4611
  that session was launched for is used automatically.
4612
4612
  `
4613
4613
  ).action(async (file, opts) => {
4614
- const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-RXR5O2RB.js');
4614
+ const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-KRNEWZQP.js');
4615
4615
  try {
4616
4616
  const result = await runEmitFindings({
4617
4617
  file,
@@ -4646,7 +4646,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
4646
4646
  the step, the command prints why and exits 1.
4647
4647
  `
4648
4648
  ).action(async (name, opts) => {
4649
- const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-NXRZAW3R.js');
4649
+ const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-HKOYFSYL.js');
4650
4650
  try {
4651
4651
  await runEmitStep({
4652
4652
  name,
@@ -4689,7 +4689,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
4689
4689
  ${cliInvocation()} emit criteria acceptance/412-login.md --item 412
4690
4690
  `
4691
4691
  ).action(async (file, opts) => {
4692
- const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-5GBTQL3J.js');
4692
+ const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-RHFJYNSU.js');
4693
4693
  try {
4694
4694
  const result = await runEmitCriteria({
4695
4695
  file,
@@ -4713,9 +4713,9 @@ function registerSpecCommands(program2) {
4713
4713
  const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
4714
4714
  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)");
4715
4715
  const run = async (action) => {
4716
- const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
4716
+ const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
4717
4717
  try {
4718
- await action(await import('./spec-cmd-UX6VYKE6.js'));
4718
+ await action(await import('./spec-cmd-4EB45ELL.js'));
4719
4719
  } catch (err) {
4720
4720
  if (err instanceof WorkCommandError) {
4721
4721
  fail(err.message);
@@ -4759,7 +4759,7 @@ Prints each problem the item covers with its id, its reports and its result.
4759
4759
  session was launched for is used.
4760
4760
  `
4761
4761
  ).action(async (opts) => {
4762
- const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-OHZRCVPV.js');
4762
+ const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-EF4QXYRT.js');
4763
4763
  try {
4764
4764
  const result = await runFindingsShow({
4765
4765
  item: opts.item,
@@ -4787,7 +4787,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
4787
4787
  problem to replace the earlier result. A problem the item does not cover is refused.
4788
4788
  `
4789
4789
  ).action(async (problem, opts) => {
4790
- const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-OHZRCVPV.js');
4790
+ const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-EF4QXYRT.js');
4791
4791
  try {
4792
4792
  const result = await runFindingsResult({
4793
4793
  problem,
@@ -4821,8 +4821,8 @@ an issue when the daily limit leaves none, and then you stop reporting.
4821
4821
  Only the agent of a scheduled run, which holds a run key, can run it.
4822
4822
  `
4823
4823
  ).action(async (opts) => {
4824
- const { runFoundIssue, RunCommandError } = await import('./run-cmd-KPAN5DTB.js');
4825
- const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
4824
+ const { runFoundIssue, RunCommandError } = await import('./run-cmd-M5THCWDD.js');
4825
+ const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
4826
4826
  try {
4827
4827
  await runFoundIssue(opts);
4828
4828
  } catch (err) {
@@ -4844,8 +4844,8 @@ Run it instead of found-issue, never after it. Only the agent of a
4844
4844
  scheduled run, which holds a run key, can run it.
4845
4845
  `
4846
4846
  ).action(async (opts) => {
4847
- const { runFoundNothing, RunCommandError } = await import('./run-cmd-KPAN5DTB.js');
4848
- const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
4847
+ const { runFoundNothing, RunCommandError } = await import('./run-cmd-M5THCWDD.js');
4848
+ const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
4849
4849
  try {
4850
4850
  await runFoundNothing(opts);
4851
4851
  } catch (err) {
@@ -4857,7 +4857,7 @@ scheduled run, which holds a run key, can run it.
4857
4857
  }
4858
4858
  });
4859
4859
  const workCmd = program2.command("work").description("Start, remove, or read what the factory is working on (the Work page)");
4860
- workCmd.command("build").description("Start work on an item: a host builds it, or with --local you do").option("--issue <number>", "issue number, or a Linear/Jira key like ENG-123 (adds it to Work first)").option(TRACKER_OPTION_FLAG, "tracker for a keyed --issue \u2014 required if more than one is connected").option("--item <number>", "the item's own number inside this factory \u2014 must already exist").option("--local", "you build it in a session you start; no host takes it").option("--repo <owner/name>", "repository \u2014 the checkout's remote for a number, never guessed for a key").option("--note <text>", "a short note for people to read; the agent never sees it").option("--instructions <text>", "text the build's agent receives, up to 2000 characters; not with --local").option("--runner <kind>", "kind of runner that takes the build: managed or self-hosted; not with --local").option("--fresh", "start from a fresh disk, not the item's kept disk; not with --local").option("--session-id <id>", "session id to record as-is, skipping detection").option("--retry <count>", "retries after a gateway answer worth trying again").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").addHelpText(
4860
+ workCmd.command("build").description("Start work on an item: a host builds it, or with --local you do").option("--issue <number>", "issue number, or a Linear/Jira key like ENG-123 (adds it to Work first)").option(TRACKER_OPTION_FLAG, "tracker for a keyed --issue \u2014 required if more than one is connected").option("--item <number>", "the item's own number inside this factory \u2014 must already exist").option("--local", "you build it in a session you start; no host takes it").option("--repo <owner/name>", "repository \u2014 the checkout's remote for a number, never guessed for a key").option("--note <text>", "a short note for people to read; the agent never sees it").option("--instructions <text>", "text the build's agent receives, up to 2000 characters; not with --local").option("--runner <kind>", "kind of runner that takes the build: managed or self-hosted; not with --local").option("--fresh", "start from a fresh disk, not the item's kept disk; not with --local").option("--continue", "continue the session of the item's previous build; not with --fresh or --local").option("--session-id <id>", "session id to record as-is, skipping detection").option("--retry <count>", "retries after a gateway answer worth trying again").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").addHelpText(
4861
4861
  "after",
4862
4862
  `
4863
4863
  ${cliInvocation()} work build --issue 42 # a host builds it
@@ -4865,6 +4865,7 @@ scheduled run, which holds a run key, can run it.
4865
4865
  ${cliInvocation()} work build --issue 42 --instructions "skip the docs" # the agent reads this
4866
4866
  ${cliInvocation()} work build --issue 42 --runner managed # a managed runner builds it
4867
4867
  ${cliInvocation()} work build --item 7 --fresh # no kept disk is restored
4868
+ ${cliInvocation()} work build --item 7 --continue # the agent goes on in its earlier session
4868
4869
  ${cliInvocation()} work build --issue 42 --local # you build it
4869
4870
  ${cliInvocation()} work build --issue ENG-123 --tracker linear # a Linear issue
4870
4871
 
@@ -4877,7 +4878,7 @@ takes it, and prints the line that starts your session on it. That
4877
4878
  session links itself and holds the item's lease while it works.
4878
4879
  `
4879
4880
  ).action(async (opts) => {
4880
- const { runWorkBuild, WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
4881
+ const { runWorkBuild, WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
4881
4882
  try {
4882
4883
  await runWorkBuild(opts);
4883
4884
  } catch (err) {
@@ -4900,7 +4901,7 @@ renews that session's own 20-minute lease, unless --no-lease or
4900
4901
  --ended is given, or another worker already holds a live one.
4901
4902
  `
4902
4903
  ).action(async (number, opts) => {
4903
- const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
4904
+ const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
4904
4905
  try {
4905
4906
  await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
4906
4907
  } catch (err) {
@@ -4939,8 +4940,8 @@ log, csv, md, json, ndjson, zip, gz. A rate limit ends the command with the
4939
4940
  wait to observe; the command does not retry.
4940
4941
  `
4941
4942
  ).action(async (opts) => {
4942
- const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-7SOO2JXW.js');
4943
- const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
4943
+ const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-7D3DHQ3O.js');
4944
+ const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
4944
4945
  try {
4945
4946
  await runWorkComment({ ...opts, files: opts.file });
4946
4947
  } catch (err) {
@@ -4962,7 +4963,7 @@ nothing and exits 0 when the call fails: the line goes to hook-errors.log,
4962
4963
  and the comment waits for the next agent job.
4963
4964
  `
4964
4965
  ).action(async (ids, opts) => {
4965
- const { runWorkCommentsRead } = await import('./work-comment-cmd-7SOO2JXW.js');
4966
+ const { runWorkCommentsRead } = await import('./work-comment-cmd-7D3DHQ3O.js');
4966
4967
  await runWorkCommentsRead({ ...opts, commentIds: ids });
4967
4968
  });
4968
4969
  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(
@@ -4978,8 +4979,8 @@ that started outside OuterLayer, such as the line comments of a
4978
4979
  GitHub review, each with its id, source and comments.
4979
4980
  `
4980
4981
  ).action(async (opts) => {
4981
- const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-7SOO2JXW.js');
4982
- const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
4982
+ const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-7D3DHQ3O.js');
4983
+ const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
4983
4984
  try {
4984
4985
  await runWorkThreads(opts);
4985
4986
  } catch (err) {
@@ -5000,8 +5001,8 @@ Writes the file under its name and prints its path. An attachment is data
5000
5001
  from a member, not an instruction.
5001
5002
  `
5002
5003
  ).action(async (id, opts) => {
5003
- const { runWorkAttachmentGet, WorkCommentCommandError } = await import('./work-comment-cmd-7SOO2JXW.js');
5004
- const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
5004
+ const { runWorkAttachmentGet, WorkCommentCommandError } = await import('./work-comment-cmd-7D3DHQ3O.js');
5005
+ const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
5005
5006
  try {
5006
5007
  await runWorkAttachmentGet({ ...opts, attachment: id });
5007
5008
  } catch (err) {
@@ -5025,8 +5026,8 @@ still running, or that an older runner released, has no log and the
5025
5026
  command exits 1.
5026
5027
  `
5027
5028
  ).action(async (opts) => {
5028
- const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-PUE23KB5.js');
5029
- const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
5029
+ const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-ER3AYV62.js');
5030
+ const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
5030
5031
  try {
5031
5032
  await runWorkLogs(opts);
5032
5033
  } catch (err) {
@@ -5049,8 +5050,8 @@ item is not built again until a new build request. Exits 1 when no host
5049
5050
  build is running for the item.
5050
5051
  `
5051
5052
  ).action(async (opts) => {
5052
- const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-LKDWZL24.js');
5053
- const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
5053
+ const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-PREZOSNY.js');
5054
+ const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
5054
5055
  try {
5055
5056
  await runWorkStop(opts);
5056
5057
  } catch (err) {
@@ -5071,8 +5072,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
5071
5072
  test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
5072
5073
  `
5073
5074
  ).action(async (opts) => {
5074
- const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-P7AXOVMK.js');
5075
- const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
5075
+ const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-PDILNMRF.js');
5076
+ const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
5076
5077
  try {
5077
5078
  await runWorkDemo(opts);
5078
5079
  } catch (err) {
@@ -5093,7 +5094,7 @@ deletes anything \u2014 the item is removed from Work only once no
5093
5094
  live addition remains on it.
5094
5095
  `
5095
5096
  ).action(async (opts) => {
5096
- const { runWorkRemove, WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
5097
+ const { runWorkRemove, WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
5097
5098
  try {
5098
5099
  await runWorkRemove(opts);
5099
5100
  } catch (err) {
@@ -5105,7 +5106,7 @@ live addition remains on it.
5105
5106
  }
5106
5107
  });
5107
5108
  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) => {
5108
- const { runWorkStatus, WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
5109
+ const { runWorkStatus, WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
5109
5110
  try {
5110
5111
  await runWorkStatus(opts);
5111
5112
  } catch (err) {
@@ -5163,11 +5164,11 @@ a runner build, no row is failed.
5163
5164
  fail(trackerNumberError("--pr", opts.pr));
5164
5165
  return;
5165
5166
  }
5166
- const { runWorkProofsCommand } = await import('./work-proofs-cmd-7HOVHHCL.js');
5167
+ const { runWorkProofsCommand } = await import('./work-proofs-cmd-Y2OMM37N.js');
5167
5168
  await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
5168
5169
  });
5169
5170
  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) => {
5170
- const { runWorkList, WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
5171
+ const { runWorkList, WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
5171
5172
  try {
5172
5173
  await runWorkList(opts);
5173
5174
  } catch (err) {
@@ -5188,7 +5189,7 @@ by a different key is refused; claiming again with the same key extends
5188
5189
  it. --host is a label only.
5189
5190
  `
5190
5191
  ).action(async (opts) => {
5191
- const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-2YYRYOPS.js');
5192
+ const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-4KQYRNRC.js');
5192
5193
  try {
5193
5194
  await runWorkClaim(opts);
5194
5195
  } catch (err) {
@@ -5208,7 +5209,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
5208
5209
  lease has expired, or a 403 if a different key holds it.
5209
5210
  `
5210
5211
  ).action(async (opts) => {
5211
- const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-2YYRYOPS.js');
5212
+ const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-4KQYRNRC.js');
5212
5213
  try {
5213
5214
  await runWorkRenew(opts);
5214
5215
  } catch (err) {
@@ -5240,7 +5241,7 @@ applies to a host's lease only. A later tool call in the session
5240
5241
  takes the lease again.
5241
5242
  `
5242
5243
  ).action(async (opts) => {
5243
- const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-2YYRYOPS.js');
5244
+ const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-4KQYRNRC.js');
5244
5245
  try {
5245
5246
  await runWorkRelease(opts);
5246
5247
  } catch (err) {
@@ -5267,7 +5268,7 @@ Idempotent: declaring the same pull request twice is a no-op.
5267
5268
  needs your own login; an agent session or a factory key is refused.
5268
5269
  `
5269
5270
  ).action(async (number, opts) => {
5270
- const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-ZOCB54YC.js');
5271
+ const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-W3T6ELML.js');
5271
5272
  try {
5272
5273
  await runWorkPr({ ...opts, number });
5273
5274
  } catch (err) {
@@ -5292,8 +5293,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
5292
5293
  Run it again after a change to the title or description.
5293
5294
  `
5294
5295
  ).action(async (opts) => {
5295
- const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-FTZSIWOM.js');
5296
- const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
5296
+ const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-56TRIE5I.js');
5297
+ const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
5297
5298
  try {
5298
5299
  await runWorkOpenPr(opts);
5299
5300
  } catch (err) {
@@ -5316,8 +5317,8 @@ and OuterLayer posts the reason on the issue. Only a host build, which
5316
5317
  holds an item key, can run it.
5317
5318
  `
5318
5319
  ).action(async (opts) => {
5319
- const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-6FLPOK7M.js');
5320
- const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
5320
+ const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-GDN5EE6N.js');
5321
+ const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
5321
5322
  try {
5322
5323
  await runWorkNoChange(opts);
5323
5324
  } catch (err) {
@@ -5340,8 +5341,8 @@ record that no change is needed. Only a host build, which holds an item key,
5340
5341
  can run it.
5341
5342
  `
5342
5343
  ).action(async (opts) => {
5343
- const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-SJ6P2V3S.js');
5344
- const { WorkCommandError } = await import('./work-cmd-PRMB5ETL.js');
5344
+ const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-MAFPEANV.js');
5345
+ const { WorkCommandError } = await import('./work-cmd-GNYWSA2O.js');
5345
5346
  try {
5346
5347
  await runWorkNeedsAttention(opts);
5347
5348
  } catch (err) {
@@ -5385,9 +5386,9 @@ function registerRunnerCommands(program2) {
5385
5386
  const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
5386
5387
  const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
5387
5388
  runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
5388
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-JMTO5H4U.js');
5389
- const { start, RunnerStartError } = await import('./loop-ZMIBNWIP.js');
5390
- const { RunnerAlreadyRunningError } = await import('./pidfile-ZIDS3G5J.js');
5389
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-5KMNGNK5.js');
5390
+ const { start, RunnerStartError } = await import('./loop-Q76PDO7L.js');
5391
+ const { RunnerAlreadyRunningError } = await import('./pidfile-VET4I455.js');
5391
5392
  const configPath = opts.config ?? defaultRunnerConfigPath();
5392
5393
  try {
5393
5394
  const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
@@ -5409,10 +5410,10 @@ is optional and defaults to ${words().runnerName}. On a later start it refuses v
5409
5410
  The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5410
5411
  `
5411
5412
  ).action(async () => {
5412
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-JMTO5H4U.js');
5413
- const { containerStart, containerStartExit } = await import('./container-start-IWW2OVWT.js');
5414
- const { start, RunnerStartError } = await import('./loop-ZMIBNWIP.js');
5415
- const { RunnerAlreadyRunningError } = await import('./pidfile-ZIDS3G5J.js');
5413
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-5KMNGNK5.js');
5414
+ const { containerStart, containerStartExit } = await import('./container-start-6FHPPHMU.js');
5415
+ const { start, RunnerStartError } = await import('./loop-Q76PDO7L.js');
5416
+ const { RunnerAlreadyRunningError } = await import('./pidfile-VET4I455.js');
5416
5417
  try {
5417
5418
  const outcome = containerStartExit(await containerStart({
5418
5419
  env: process.env,
@@ -5433,16 +5434,16 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5433
5434
  "after",
5434
5435
  "\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"
5435
5436
  ).action(async (opts) => {
5436
- const { defaultRunnerConfigPath } = await import('./config-JMTO5H4U.js');
5437
- const { runnerDir } = await import('./paths-W2U4BYFR.js');
5438
- const { runUpdateSteps } = await import('./update-steps-PCZORLEO.js');
5437
+ const { defaultRunnerConfigPath } = await import('./config-5KMNGNK5.js');
5438
+ const { runnerDir } = await import('./paths-IB5XFML7.js');
5439
+ const { runUpdateSteps } = await import('./update-steps-CGWJJ2IA.js');
5439
5440
  const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
5440
5441
  process.stdout.write(`${text}
5441
5442
  `);
5442
5443
  });
5443
5444
  runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
5444
- const { defaultRunnerConfigPath } = await import('./config-JMTO5H4U.js');
5445
- const { runRunnerCheck } = await import('./check-V2TITR5P.js');
5445
+ const { defaultRunnerConfigPath } = await import('./config-5KMNGNK5.js');
5446
+ const { runRunnerCheck } = await import('./check-JNQVYVHI.js');
5446
5447
  const configPath = opts.config ?? defaultRunnerConfigPath();
5447
5448
  const result = await runRunnerCheck(configPath);
5448
5449
  if (!result.ok) {
@@ -5463,8 +5464,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5463
5464
  `);
5464
5465
  });
5465
5466
  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) => {
5466
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-JMTO5H4U.js');
5467
- const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-7LUZQZMJ.js');
5467
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-5KMNGNK5.js');
5468
+ const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-TMUNQF7U.js');
5468
5469
  const configPath = opts.config ?? defaultRunnerConfigPath();
5469
5470
  if (opts.service !== true) {
5470
5471
  const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
@@ -5476,13 +5477,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5476
5477
  }
5477
5478
  }
5478
5479
  const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
5479
- if (buildCpusMax !== void 0 && !(await import('./command-TWK2QQ5J.js')).cpusAreValid(buildCpusMax)) {
5480
+ if (buildCpusMax !== void 0 && !(await import('./command-ASXZLHXU.js')).cpusAreValid(buildCpusMax)) {
5480
5481
  fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
5481
5482
  return;
5482
5483
  }
5483
5484
  try {
5484
5485
  if (opts.service === true) {
5485
- const { installServiceCommand, serviceSuccessText } = await import('./command-TWK2QQ5J.js');
5486
+ const { installServiceCommand, serviceSuccessText } = await import('./command-ASXZLHXU.js');
5486
5487
  const result2 = await installServiceCommand({
5487
5488
  configPath,
5488
5489
  print: opts.print,
@@ -5536,8 +5537,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
5536
5537
  fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
5537
5538
  return;
5538
5539
  }
5539
- const { defaultRunnerConfigPath } = await import('./config-JMTO5H4U.js');
5540
- const { uninstallServiceCommand } = await import('./command-TWK2QQ5J.js');
5540
+ const { defaultRunnerConfigPath } = await import('./config-5KMNGNK5.js');
5541
+ const { uninstallServiceCommand } = await import('./command-ASXZLHXU.js');
5541
5542
  const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
5542
5543
  if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
5543
5544
  `);
@@ -5567,13 +5568,13 @@ already in ${words().envFile} is used.
5567
5568
  printf '%s' "$${words().variables[0]}" | ${cliInvocation()} runner init --agent ${words().runnerName} --factory <org>/<factory>
5568
5569
  `
5569
5570
  ).action(async (opts) => {
5570
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-JMTO5H4U.js');
5571
- const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-LGMYM54E.js');
5572
- const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-4VZCSL73.js');
5573
- const { detectMachine } = await import('./machine-WILRS4XJ.js');
5574
- const { chooseVm, runVmInit, VmInitError } = await import('./init-IE5IGNVE.js');
5575
- const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-IKUFXCUV.js');
5576
- const { headlessNames: headlessNames2 } = await import('./runner-agents-3ZKMPZ2D.js');
5571
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-5KMNGNK5.js');
5572
+ const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-WDYDTJW2.js');
5573
+ const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-ZXNXWBSP.js');
5574
+ const { detectMachine } = await import('./machine-GI6SZMEK.js');
5575
+ const { chooseVm, runVmInit, VmInitError } = await import('./init-5S6A2SYN.js');
5576
+ const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-3QPJQ2H2.js');
5577
+ const { headlessNames: headlessNames2 } = await import('./runner-agents-OTYZ73WU.js');
5577
5578
  const configPath = opts.config ?? defaultRunnerConfigPath();
5578
5579
  if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
5579
5580
  fail(`--agent ${opts.agent}: runner init writes commands for ${headlessNames2().join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
@@ -5585,7 +5586,7 @@ already in ${words().envFile} is used.
5585
5586
  return;
5586
5587
  }
5587
5588
  try {
5588
- const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-YBLFXWPL.js');
5589
+ const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-PJFH7OFD.js');
5589
5590
  agent = await initAgent({
5590
5591
  flag: agent,
5591
5592
  handOff: opts.configStdin === true,
@@ -5618,7 +5619,7 @@ already in ${words().envFile} is used.
5618
5619
  const chunks = [];
5619
5620
  for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
5620
5621
  const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
5621
- const { ensureHostKey: ensureHostKey2 } = await import('./host-key-JDLHIUNO.js');
5622
+ const { ensureHostKey: ensureHostKey2 } = await import('./host-key-ACYKDZ4X.js');
5622
5623
  const hostKey2 = await ensureHostKey2(configPath);
5623
5624
  process.stdout.write(`host key ${hostKey2.fingerprint}
5624
5625
  hooks: ${result2.hooks}
@@ -5673,7 +5674,7 @@ hooks: ${result2.hooks}
5673
5674
  const prepared = prepareRunnerInit(configPath, { machine, agent, credential, keyFromLogin: makeKey !== void 0 });
5674
5675
  const created = makeKey === void 0 ? void 0 : await makeKey();
5675
5676
  const result = writeRunnerInit(prepared, created);
5676
- const { ensureHostKey } = await import('./host-key-JDLHIUNO.js');
5677
+ const { ensureHostKey } = await import('./host-key-ACYKDZ4X.js');
5677
5678
  const hostKey = await ensureHostKey(configPath);
5678
5679
  if (created !== void 0) {
5679
5680
  process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
@@ -5693,7 +5694,7 @@ hooks: ${result2.hooks}
5693
5694
  );
5694
5695
  process.stdout.write(`${C.green}\u2713${C.reset} hooks: ${result.hooks}${result.hooks === "builtin:vm" ? " (builds run in microVMs)" : " (builds run in containers)"}
5695
5696
  `);
5696
- const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-7LUZQZMJ.js');
5697
+ const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-TMUNQF7U.js');
5697
5698
  let installedLayout = false;
5698
5699
  let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
5699
5700
  try {
@@ -5725,7 +5726,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
5725
5726
  let serviceUp = false;
5726
5727
  let restart;
5727
5728
  if (installedLayout) {
5728
- const { installServiceCommand } = await import('./command-TWK2QQ5J.js');
5729
+ const { installServiceCommand } = await import('./command-ASXZLHXU.js');
5729
5730
  const service = await installServiceCommand({
5730
5731
  configPath,
5731
5732
  entryPath: process.argv[1] ?? "",
@@ -5777,12 +5778,12 @@ image holds this CLI and a pinned ${words().agent}. Nothing runs inside the imag
5777
5778
  A repository with no devcontainer file builds on the universal image the CLI pins by digest.
5778
5779
  `
5779
5780
  ).action(async (opts) => {
5780
- const { defaultRunnerConfigPath } = await import('./config-JMTO5H4U.js');
5781
- const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-KVJM6PMC.js');
5781
+ const { defaultRunnerConfigPath } = await import('./config-5KMNGNK5.js');
5782
+ const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-SD44TP2B.js');
5782
5783
  const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
5783
- const { createDockerHost } = await import('./docker-KC5ZFIK5.js');
5784
- const { builderSpec } = await import('./builder-3LUEEVSN.js');
5785
- const { loadRunnerConfig } = await import('./config-JMTO5H4U.js');
5784
+ const { createDockerHost } = await import('./docker-T7A6GZDD.js');
5785
+ const { builderSpec } = await import('./builder-JG2DHKSN.js');
5786
+ const { loadRunnerConfig } = await import('./config-5KMNGNK5.js');
5786
5787
  const configPath = opts.config ?? defaultRunnerConfigPath();
5787
5788
  const loaded = (() => {
5788
5789
  try {
@@ -5793,12 +5794,12 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5793
5794
  })();
5794
5795
  const memory = loaded?.build?.memory ?? "8g";
5795
5796
  try {
5796
- const { ensureRunnerIdentity } = await import('./runner-identity-UMODOKXV.js');
5797
+ const { ensureRunnerIdentity } = await import('./runner-identity-GTWFQEIN.js');
5797
5798
  await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
5798
5799
  console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
5799
5800
  });
5800
- const { imageTargetFor } = await import('./governing-source-LOIIVNWG.js');
5801
- const { runnerCalls } = await import('./caller-IMM277FA.js');
5801
+ const { imageTargetFor } = await import('./governing-source-C7MY7KB2.js');
5802
+ const { runnerCalls } = await import('./caller-A2K7SLSL.js');
5802
5803
  const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
5803
5804
  if (!target.ok) {
5804
5805
  if (opts.json) {
@@ -5862,25 +5863,25 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5862
5863
  }
5863
5864
  });
5864
5865
  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) => {
5865
- const { defaultRunnerConfigPath } = await import('./config-JMTO5H4U.js');
5866
- const { requestStop } = await import('./loop-ZMIBNWIP.js');
5866
+ const { defaultRunnerConfigPath } = await import('./config-5KMNGNK5.js');
5867
+ const { requestStop } = await import('./loop-Q76PDO7L.js');
5867
5868
  const configPath = opts.config ?? defaultRunnerConfigPath();
5868
- const { runnerImageVersion } = await import('./image-tag-BAA6APVR.js');
5869
+ const { runnerImageVersion } = await import('./image-tag-H5CZTC42.js');
5869
5870
  await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
5870
5871
  });
5871
5872
  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) => {
5872
- const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-JMTO5H4U.js');
5873
- const { jobsDir, runnerDir } = await import('./paths-W2U4BYFR.js');
5874
- const { listJobFiles, runnerProcessState } = await import('./loop-ZMIBNWIP.js');
5875
- const { renderStatus } = await import('./status-IRQ5N2CN.js');
5876
- const { readHousekeepingRecord } = await import('./record-I6XI5YWE.js');
5873
+ const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-5KMNGNK5.js');
5874
+ const { jobsDir, runnerDir } = await import('./paths-IB5XFML7.js');
5875
+ const { listJobFiles, runnerProcessState } = await import('./loop-Q76PDO7L.js');
5876
+ const { renderStatus } = await import('./status-R4JD34DO.js');
5877
+ const { readHousekeepingRecord } = await import('./record-3V3HQRGY.js');
5877
5878
  const path2 = await import('path');
5878
5879
  const configPath = opts.config ?? defaultRunnerConfigPath();
5879
5880
  const all = listJobFiles(configPath);
5880
5881
  const housekeeping = readHousekeepingRecord(runnerDir(configPath));
5881
- const { readPendingUpdate } = await import('./pending-ZYVVCMCB.js');
5882
+ const { readPendingUpdate } = await import('./pending-TX4VIF6P.js');
5882
5883
  const pendingUpdate = readPendingUpdate(runnerDir(configPath));
5883
- const { readImageStatus } = await import('./image-tag-BAA6APVR.js');
5884
+ const { readImageStatus } = await import('./image-tag-H5CZTC42.js');
5884
5885
  const image = readImageStatus(runnerDir(configPath));
5885
5886
  let host = "unknown";
5886
5887
  let concurrency = 1;
@@ -5890,7 +5891,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5890
5891
  host = config.host;
5891
5892
  concurrency = config.concurrency;
5892
5893
  if (config.fleet === true) {
5893
- const { readFleetState } = await import('./state-MD27KY5N.js');
5894
+ const { readFleetState } = await import('./state-O3A3CIDQ.js');
5894
5895
  fleet = { state: readFleetState(configPath) };
5895
5896
  }
5896
5897
  } catch {
@@ -5898,7 +5899,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5898
5899
  const processState = runnerProcessState(configPath);
5899
5900
  const service = await (async () => {
5900
5901
  if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
5901
- const { inspectRunnerService } = await import('./find-unit-6YALHLSE.js');
5902
+ const { inspectRunnerService } = await import('./find-unit-3QYPTK6A.js');
5902
5903
  const facts = inspectRunnerService(configPath);
5903
5904
  return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
5904
5905
  })();
@@ -5937,9 +5938,9 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5937
5938
  );
5938
5939
  });
5939
5940
  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) => {
5940
- const { defaultRunnerConfigPath } = await import('./config-JMTO5H4U.js');
5941
- const { listJobFiles } = await import('./loop-ZMIBNWIP.js');
5942
- const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-WVO5SCTN.js');
5941
+ const { defaultRunnerConfigPath } = await import('./config-5KMNGNK5.js');
5942
+ const { listJobFiles } = await import('./loop-Q76PDO7L.js');
5943
+ const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-ZEXFSBVF.js');
5943
5944
  const configPath = opts.config ?? defaultRunnerConfigPath();
5944
5945
  const jobs = listJobFiles(configPath);
5945
5946
  const selected = selectAttempt(jobs, itemArg);
@@ -6160,7 +6161,7 @@ Self-host deployments also need --app-id: without a key service to resolve the
6160
6161
  caller from the bearer token, the gateway answers 401 without that header.
6161
6162
  `
6162
6163
  ).action(async (opts) => {
6163
- const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-GF2QAYQE.js');
6164
+ const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-TVIOPOIO.js');
6164
6165
  try {
6165
6166
  if (opts.transport !== void 0 && opts.transport !== "stdio" && opts.transport !== "http") {
6166
6167
  throw new McpInstallError(`--transport must be "stdio" or "http", got "${opts.transport}"`);
@@ -6182,7 +6183,7 @@ caller from the bearer token, the gateway answers 401 without that header.
6182
6183
  "after",
6183
6184
  "\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"
6184
6185
  ).action(async (opts) => {
6185
- const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-RB3NBRP7.js');
6186
+ const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-OCQLRUAK.js');
6186
6187
  try {
6187
6188
  await runMcpServe({ url: opts.url, appId: opts.appId });
6188
6189
  } catch (err) {
@@ -6203,7 +6204,7 @@ would get, the instruction files and the names of the skills. It warns when the
6203
6204
  no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
6204
6205
  `
6205
6206
  ).action(async (opts) => {
6206
- const { runContextShow, ContextShowError } = await import('./context-show-cmd-WO6B7UUZ.js');
6207
+ const { runContextShow, ContextShowError } = await import('./context-show-cmd-4EKSCIF4.js');
6207
6208
  try {
6208
6209
  const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
6209
6210
  process.stdout.write(result.output);
@@ -6223,7 +6224,7 @@ Missing or empty config: {"targets": [...]}, e.g. {"targets": ["claude-code"]}.
6223
6224
  ${knownTargetsLine(defaultAgents())}
6224
6225
 
6225
6226
  The maintained skills (outerlayer-evidence, outerlayer-amend, outerlayer-findings,
6226
- outerlayer-cli, outerlayer-build, outerlayer-run) follow this CLI: emit rewrites one that differs from its bundle, and --check
6227
+ outerlayer-cli, outerlayer-build, outerlayer-run, outerlayer-spec) follow this CLI: emit rewrites one that differs from its bundle, and --check
6227
6228
  reports it as drift. A copy under an earlier name (amend, emitting-evidence,
6228
6229
  reporting-findings, outerlayer) is deleted, and --check reports it as retired.
6229
6230
  Templates (spec, writing-specs, writing-tests, build) are never rewritten or reported.