@outerlayer/cli 0.38.0-next.20261112061209 → 0.38.0

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 (175) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/dist/agent-setup-G5M536SV.js +40 -0
  3. package/dist/{agent-subcommand-JXQNN57P.js → agent-subcommand-5OHWWBMY.js} +4 -4
  4. package/dist/{artifact-link-cmd-TCCDV4ZI.js → artifact-link-cmd-SDKPWPQK.js} +2 -2
  5. package/dist/{bridge-YN5S2ID2.js → bridge-GBW5JGSZ.js} +7 -7
  6. package/dist/{build-5K2MI7LO.js → build-3XIF6N52.js} +13 -13
  7. package/dist/{build-disk-34RMC46P.js → build-disk-2OEVGSEV.js} +11 -11
  8. package/dist/build-info.json +1 -1
  9. package/dist/{builder-Y46OD2YA.js → builder-SQK6O75D.js} +10 -10
  10. package/dist/caller-XWPJHKWT.js +23 -0
  11. package/dist/{check-KFH4KBOO.js → check-OOAYGWPQ.js} +55 -55
  12. package/dist/{chunk-ZFKWU4Y2.js → chunk-2JJYC4GL.js} +6 -6
  13. package/dist/{chunk-HHDDGKBN.js → chunk-3WXJIFUX.js} +1 -1
  14. package/dist/{chunk-UD4XMIIQ.js → chunk-42DEJOGM.js} +6 -6
  15. package/dist/{chunk-UE4N3MJV.js → chunk-4D2Z6W7L.js} +7 -7
  16. package/dist/{chunk-6CM7HS33.js → chunk-4GZC4POQ.js} +6 -6
  17. package/dist/{chunk-7EJDT6W5.js → chunk-4XRMLN66.js} +1 -1
  18. package/dist/{chunk-TTHZCIU5.js → chunk-5534DFYM.js} +4 -4
  19. package/dist/{chunk-DAVRAYHH.js → chunk-5DNRDCAA.js} +8 -8
  20. package/dist/{chunk-EMSSER2V.js → chunk-5E4Y2QSJ.js} +1 -1
  21. package/dist/{chunk-VGXGM5C7.js → chunk-625S4A5P.js} +3 -3
  22. package/dist/{chunk-2K2HCINU.js → chunk-65JZ3G3P.js} +2 -2
  23. package/dist/{chunk-TXB2WDG6.js → chunk-6DFHX33Y.js} +2 -2
  24. package/dist/{chunk-44RZCSDR.js → chunk-6TQNYDN7.js} +3 -3
  25. package/dist/{chunk-GDQMVZS4.js → chunk-6YVDKFYQ.js} +1 -1
  26. package/dist/{chunk-F5C2B747.js → chunk-7YS6SFMI.js} +1 -1
  27. package/dist/{chunk-P37BKTMK.js → chunk-AU46D3NG.js} +27 -27
  28. package/dist/{chunk-S6WHYTSR.js → chunk-BNXLY7F6.js} +2 -2
  29. package/dist/{chunk-NUHKAZWF.js → chunk-CGQC2T6G.js} +8 -8
  30. package/dist/{chunk-KNQDI2ZN.js → chunk-EEN7SMYF.js} +1 -1
  31. package/dist/{chunk-NXNECYRC.js → chunk-ELDOHATX.js} +1 -1
  32. package/dist/{chunk-RVKFUJFK.js → chunk-ETLEYEOA.js} +7 -7
  33. package/dist/{chunk-IEWF7OMQ.js → chunk-FMU5DI4R.js} +1 -1
  34. package/dist/{chunk-EDAHMAQV.js → chunk-G2DV3EDX.js} +5 -5
  35. package/dist/{chunk-SPLGHAZO.js → chunk-G3N6SL2B.js} +7 -7
  36. package/dist/{chunk-5JUJGQ4B.js → chunk-GIPEBL3P.js} +7 -7
  37. package/dist/{chunk-OK7IUE5M.js → chunk-H3SERZ4V.js} +7 -7
  38. package/dist/{chunk-LKCO2LXP.js → chunk-HTH3J5DW.js} +2 -2
  39. package/dist/{chunk-43K5TGGG.js → chunk-I7F33SP6.js} +6 -6
  40. package/dist/{chunk-GYEDK2C7.js → chunk-IEGQUILZ.js} +1 -1
  41. package/dist/{chunk-LSQEBU6U.js → chunk-IZNJWX6O.js} +1 -1
  42. package/dist/{chunk-HN3MAJWV.js → chunk-J3CBXTDT.js} +3 -3
  43. package/dist/{chunk-JAQWKAEN.js → chunk-J5Q5SZWN.js} +1 -1
  44. package/dist/{chunk-IW3AWMDJ.js → chunk-JODWO5R4.js} +4 -4
  45. package/dist/{chunk-EOVTRFI6.js → chunk-JWL22QXO.js} +4 -4
  46. package/dist/{chunk-AUJRXNE7.js → chunk-K2QXND4S.js} +10 -10
  47. package/dist/{chunk-RA4N34AG.js → chunk-KBWBPZKP.js} +3 -3
  48. package/dist/{chunk-BOZRAKYW.js → chunk-KHJYFVSH.js} +1 -1
  49. package/dist/{chunk-WUT7OUBK.js → chunk-LNHTTNND.js} +4 -4
  50. package/dist/{chunk-N7HPKPPZ.js → chunk-LRJBLJT7.js} +1 -1
  51. package/dist/{chunk-6ILW7JIM.js → chunk-MGNJG4XT.js} +16 -16
  52. package/dist/{chunk-ABLIHKNU.js → chunk-MUGG5JJR.js} +1 -1
  53. package/dist/{chunk-2AQFXNPE.js → chunk-ND6JA3K5.js} +1 -1
  54. package/dist/{chunk-4YDYYNKT.js → chunk-NEZ5REVV.js} +1 -1
  55. package/dist/{chunk-WCHE4WRD.js → chunk-O6SA67BP.js} +63 -38
  56. package/dist/{chunk-HWHDFWIL.js → chunk-OHGA3RLF.js} +5 -5
  57. package/dist/{chunk-6UU33NGO.js → chunk-OVITR2WI.js} +1 -1
  58. package/dist/{chunk-IBEFT67X.js → chunk-Q4KY2KAC.js} +4 -4
  59. package/dist/{chunk-IDZNOFE3.js → chunk-Q5MSPOY4.js} +1 -1
  60. package/dist/{chunk-WFBH4RLB.js → chunk-Q7LGSDV2.js} +3 -3
  61. package/dist/{chunk-QW3W4QYP.js → chunk-Q7OIAAPL.js} +1 -1
  62. package/dist/{chunk-NSHOVOSO.js → chunk-QH2GLH3O.js} +5 -5
  63. package/dist/{chunk-PFUT37UQ.js → chunk-QHUYK6MS.js} +3 -3
  64. package/dist/{chunk-D7TMU2EJ.js → chunk-QVQFDE4S.js} +7 -7
  65. package/dist/{chunk-XJOAE2DO.js → chunk-R5AJAIY4.js} +1 -1
  66. package/dist/{chunk-52PRIAV7.js → chunk-SJDWP5LQ.js} +3 -3
  67. package/dist/{chunk-JGTYQMGV.js → chunk-SNI3A4RH.js} +1 -1
  68. package/dist/{chunk-TKNYBIBU.js → chunk-SNVOPMVC.js} +4 -4
  69. package/dist/{chunk-42OC3PB7.js → chunk-T374Y7WY.js} +3 -3
  70. package/dist/{chunk-NG5IIGT6.js → chunk-TCFEH77U.js} +29 -29
  71. package/dist/{chunk-O5FDLDQI.js → chunk-TDTWNGCO.js} +1 -1
  72. package/dist/{chunk-B4MGXOTK.js → chunk-TXAGRVRO.js} +10 -10
  73. package/dist/{chunk-FQFZ5XL5.js → chunk-U3Q26CXW.js} +1 -1
  74. package/dist/{chunk-UJBNNBAS.js → chunk-W2ZJEC33.js} +6 -6
  75. package/dist/{chunk-G6DU2BIN.js → chunk-WBO27MFA.js} +2 -2
  76. package/dist/{chunk-ISBA6KRX.js → chunk-WT6IBQ7Z.js} +1 -1
  77. package/dist/{chunk-VGI32UMX.js → chunk-X6GZZW5V.js} +1 -1
  78. package/dist/{chunk-6725XB2P.js → chunk-XFYHSGOE.js} +2 -2
  79. package/dist/{chunk-PLPIEAQD.js → chunk-YIYPL2E6.js} +5 -5
  80. package/dist/{chunk-VMBH6HOJ.js → chunk-YMWMS2AM.js} +9 -9
  81. package/dist/{chunk-HTB4TQ53.js → chunk-YQISMD7E.js} +8 -8
  82. package/dist/{chunk-RZJ5GII7.js → chunk-ZCGMM5A3.js} +1 -1
  83. package/dist/{chunk-IQDIXTDJ.js → chunk-ZIBM6BTL.js} +5 -1
  84. package/dist/{claude-launcher-RJMNDN3K.js → claude-launcher-47FTUBNB.js} +7 -7
  85. package/dist/{cli-SCU3VYTK.js → cli-KFQGXRQ6.js} +156 -156
  86. package/dist/{command-ACLKBBR5.js → command-ZQS5VONR.js} +50 -50
  87. package/dist/{config-RLM4L7BC.js → config-U2QGX42S.js} +12 -12
  88. package/dist/{connect-cmd-TYEKAJ53.js → connect-cmd-5CBJ3QBJ.js} +13 -13
  89. package/dist/{container-start-JQBE44O4.js → container-start-7QFNPIZP.js} +48 -48
  90. package/dist/{context-cleanup-6S4NOT4C.js → context-cleanup-V5LIRWOR.js} +4 -4
  91. package/dist/{context-show-cmd-KFVD47FK.js → context-show-cmd-5DGIO7VP.js} +14 -14
  92. package/dist/{control-plane-launch-FUYYXNL7.js → control-plane-launch-2FN5ICDR.js} +14 -14
  93. package/dist/{demo-record-cmd-J26ZZMLZ.js → demo-record-cmd-KQW4RBFQ.js} +8 -8
  94. package/dist/{demo-voice-cmd-KBVO6WZA.js → demo-voice-cmd-SDYJP7RU.js} +20 -20
  95. package/dist/{dist-FSIXL3TN.js → dist-O4HJ55MA.js} +2 -2
  96. package/dist/{docker-IGL2JPTN.js → docker-BXR6YIWV.js} +10 -10
  97. package/dist/{doctor-SAWKY2I6.js → doctor-GGNAJFLA.js} +50 -50
  98. package/dist/{emit-artifact-cmd-DBQAROAN.js → emit-artifact-cmd-YY35HFCD.js} +19 -19
  99. package/dist/{emit-cmd-E364BCF2.js → emit-cmd-XQ667BAD.js} +7 -7
  100. package/dist/{emit-criteria-cmd-OTH6OB33.js → emit-criteria-cmd-AF4TBZZI.js} +16 -16
  101. package/dist/{emit-demo-cmd-IPAW6TDJ.js → emit-demo-cmd-PJXRNZGD.js} +20 -20
  102. package/dist/{emit-finding-cmd-DNHV4DG5.js → emit-finding-cmd-MG4PQCCJ.js} +16 -16
  103. package/dist/{emit-result-cmd-2LWTIMNP.js → emit-result-cmd-DEKTNEZ7.js} +18 -18
  104. package/dist/{emit-step-cmd-KKNYP4CO.js → emit-step-cmd-ZUCQ7RSI.js} +16 -16
  105. package/dist/{exec-client-TTLHPSNE.js → exec-client-DM3X2RB7.js} +8 -8
  106. package/dist/find-unit-56VDIZ5F.js +24 -0
  107. package/dist/{findings-cmd-Y46BOVAQ.js → findings-cmd-DFGK2KDO.js} +16 -16
  108. package/dist/{fleet-readiness-OYZYYJMX.js → fleet-readiness-Q3YBDRDX.js} +14 -14
  109. package/dist/governing-source-AN2YX6EN.js +41 -0
  110. package/dist/{guest-init-TSJ352Y5.js → guest-init-XMSQJTEX.js} +9 -9
  111. package/dist/{hook-fast-CYQXYLXL.js → hook-fast-BW22D52S.js} +1 -1
  112. package/dist/{hook-install-EZZAWUCB.js → hook-install-WSECKVW7.js} +4 -4
  113. package/dist/host-checks-ZFX5SFJX.js +80 -0
  114. package/dist/host-key-ZVUMVEOE.js +18 -0
  115. package/dist/{image-tag-N7T6RKXL.js → image-tag-XGFQGMDL.js} +8 -8
  116. package/dist/index.js +4 -4
  117. package/dist/{init-532GETMW.js → init-4FUFSCYD.js} +46 -46
  118. package/dist/init-55SHW52A.js +80 -0
  119. package/dist/{init-agent-5P6YA4IE.js → init-agent-DKCSZN7T.js} +46 -46
  120. package/dist/{init-cmd-GIAACT54.js → init-cmd-JYBT36J5.js} +27 -27
  121. package/dist/{init-update-PEPY3Y55.js → init-update-FNIC6XTK.js} +24 -24
  122. package/dist/{install-cmd-OJIVYJ33.js → install-cmd-S7GLPLGN.js} +10 -10
  123. package/dist/{layout-V5WSXBGR.js → layout-NHIWZEIA.js} +4 -4
  124. package/dist/{login-browser-A637BTC7.js → login-browser-NG7JWXED.js} +2 -2
  125. package/dist/{logs-HPAZ7O74.js → logs-IAZB2LDI.js} +7 -7
  126. package/dist/loop-K6IXBN2T.js +90 -0
  127. package/dist/machine-KJHNBKZ2.js +80 -0
  128. package/dist/{machine-skills-OPXVTDHI.js → machine-skills-XJBRAFDW.js} +4 -4
  129. package/dist/{mcp-install-cmd-HZK6BMMS.js → mcp-install-cmd-E54PIM6W.js} +4 -4
  130. package/dist/{mcp-serve-cmd-TIUV3ZOP.js → mcp-serve-cmd-J4G7UF5Y.js} +9 -9
  131. package/dist/{paths-ICWQRDYW.js → paths-B5KAGDE4.js} +7 -7
  132. package/dist/pending-LIGMFSK7.js +18 -0
  133. package/dist/{pidfile-JPOYJP6P.js → pidfile-6XI5PZPC.js} +8 -8
  134. package/dist/{record-GEBD7SQ4.js → record-PYSKMLIW.js} +8 -8
  135. package/dist/{relay-KSGNSDV6.js → relay-B264HXPJ.js} +5 -5
  136. package/dist/{relay-protocol-VWBBQAQC.js → relay-protocol-GDRAFK7U.js} +5 -5
  137. package/dist/{run-cmd-4P3NGSI7.js → run-cmd-M4FBHHC7.js} +16 -16
  138. package/dist/{runner-agents-P5HCEBXD.js → runner-agents-4WZYSEWM.js} +4 -4
  139. package/dist/runner-env-52V2APNY.js +24 -0
  140. package/dist/{runner-identity-GQC344ZQ.js → runner-identity-F4MC2JC4.js} +10 -10
  141. package/dist/{runner-key-DCWF35HX.js → runner-key-BMDKLXS2.js} +46 -46
  142. package/dist/{session-sender-7HTTTMEV.js → session-sender-RCSQA6Q6.js} +19 -19
  143. package/dist/{spec-cmd-TDFURROT.js → spec-cmd-FXLUALYN.js} +17 -19
  144. package/dist/{starter-pack-33YJXHV5.js → starter-pack-VYOFXBO5.js} +5 -5
  145. package/dist/state-XYGP7UWS.js +18 -0
  146. package/dist/{status-AXNVCDNW.js → status-JBZ2NRIE.js} +56 -47
  147. package/dist/{sync-cmd-3UKD6HTQ.js → sync-cmd-KPKBQPSC.js} +18 -18
  148. package/dist/update-steps-ZVTFBU4Q.js +81 -0
  149. package/dist/{watch-ZPOTELW4.js → watch-7PUSIJW7.js} +18 -18
  150. package/dist/{work-claim-cmd-4T4355ST.js → work-claim-cmd-P7QLRPLI.js} +22 -22
  151. package/dist/{work-cmd-C6I5YGXR.js → work-cmd-EMRIV62M.js} +16 -16
  152. package/dist/{work-comment-cmd-XS2USJM2.js → work-comment-cmd-6BDQZBRA.js} +18 -18
  153. package/dist/{work-demo-cmd-B6VT5RFH.js → work-demo-cmd-FHCLHCBH.js} +16 -16
  154. package/dist/{work-logs-cmd-V23Y6AL5.js → work-logs-cmd-TARI25WW.js} +16 -16
  155. package/dist/{work-needs-attention-cmd-CNXW5QRQ.js → work-needs-attention-cmd-3EGKIUXR.js} +16 -16
  156. package/dist/{work-no-change-cmd-NLMVQVW5.js → work-no-change-cmd-TR5OSYSS.js} +16 -16
  157. package/dist/{work-open-pr-cmd-UJBMJ4SJ.js → work-open-pr-cmd-YWHEB3J5.js} +17 -17
  158. package/dist/{work-pr-cmd-ZGX5ICW2.js → work-pr-cmd-XKHZWCIV.js} +16 -16
  159. package/dist/{work-proofs-cmd-YJBW7IJG.js → work-proofs-cmd-ZR3T7I7H.js} +18 -18
  160. package/dist/{work-proofs-record-77HYFV4T.js → work-proofs-record-QZHRVOJ5.js} +24 -24
  161. package/dist/{work-stop-cmd-V57J5R3V.js → work-stop-cmd-U2ECHOMS.js} +16 -16
  162. package/package.json +1 -1
  163. package/dist/agent-setup-JCCBEF2W.js +0 -40
  164. package/dist/caller-A7J5XLTN.js +0 -23
  165. package/dist/find-unit-6CBLEKXX.js +0 -24
  166. package/dist/governing-source-OMZOIQR7.js +0 -41
  167. package/dist/host-checks-QVYX7Y2F.js +0 -80
  168. package/dist/host-key-N674G67D.js +0 -18
  169. package/dist/init-IQ3QXDSQ.js +0 -80
  170. package/dist/loop-TYNS2QQ4.js +0 -90
  171. package/dist/machine-CNWVFLRX.js +0 -80
  172. package/dist/pending-64VJNE6H.js +0 -18
  173. package/dist/runner-env-OSMUW57J.js +0 -24
  174. package/dist/state-5WMXX5CE.js +0 -18
  175. package/dist/update-steps-TRJTM3RP.js +0 -81
@@ -1,51 +1,51 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-6ILW7JIM.js';
4
- import './chunk-HWHDFWIL.js';
5
- import { verifiedTrackerNames, TRACKERS } from './chunk-NUHKAZWF.js';
6
- import './chunk-F5C2B747.js';
7
- import './chunk-VGXGM5C7.js';
8
- import './chunk-UD4XMIIQ.js';
9
- import './chunk-XJOAE2DO.js';
10
- import './chunk-7EJDT6W5.js';
11
- import './chunk-S6WHYTSR.js';
12
- import './chunk-UJBNNBAS.js';
13
- import './chunk-O5FDLDQI.js';
14
- import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-BOZRAKYW.js';
15
- import './chunk-2AQFXNPE.js';
3
+ import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-MGNJG4XT.js';
4
+ import './chunk-OHGA3RLF.js';
5
+ import { verifiedTrackerNames, TRACKERS } from './chunk-CGQC2T6G.js';
6
+ import './chunk-7YS6SFMI.js';
7
+ import './chunk-625S4A5P.js';
8
+ import './chunk-42DEJOGM.js';
9
+ import './chunk-R5AJAIY4.js';
10
+ import './chunk-4XRMLN66.js';
11
+ import './chunk-BNXLY7F6.js';
12
+ import './chunk-W2ZJEC33.js';
13
+ import './chunk-TDTWNGCO.js';
14
+ import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-KHJYFVSH.js';
15
+ import './chunk-ND6JA3K5.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-VGI32UMX.js';
19
- import './chunk-GDQMVZS4.js';
18
+ import './chunk-X6GZZW5V.js';
19
+ import './chunk-6YVDKFYQ.js';
20
20
  import './chunk-HWVMRETT.js';
21
- import './chunk-6UU33NGO.js';
22
- import './chunk-ISBA6KRX.js';
23
- import './chunk-TTHZCIU5.js';
24
- import './chunk-2K2HCINU.js';
25
- import { hookFiredMarkerPath, installedCliDistDir } from './chunk-44RZCSDR.js';
21
+ import './chunk-OVITR2WI.js';
22
+ import './chunk-WT6IBQ7Z.js';
23
+ import './chunk-5534DFYM.js';
24
+ import './chunk-65JZ3G3P.js';
25
+ import { hookFiredMarkerPath, installedCliDistDir } from './chunk-6TQNYDN7.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-LSQEBU6U.js';
31
+ import './chunk-IZNJWX6O.js';
32
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-ABLIHKNU.js';
35
+ import { installAgents, settingsFileOf, withSettingsText } from './chunk-MUGG5JJR.js';
36
36
  import { cliForInstall, SettingsParseError, PORTABLE_BIN, writeSettingsText, cliBinResolvable } from './chunk-ZHQC43NH.js';
37
- import './chunk-IDZNOFE3.js';
37
+ import './chunk-Q5MSPOY4.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-JAQWKAEN.js';
41
- import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-6725XB2P.js';
40
+ import { headlessNames, credentialForms, runnerAgentNamed, credentialAgent, runnerAgents, orList, credentialShapes } from './chunk-J5Q5SZWN.js';
41
+ import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-XFYHSGOE.js';
42
42
  import './chunk-PLVHIQJN.js';
43
43
  import './chunk-7PZDPISM.js';
44
44
  import './chunk-ELPP5OHC.js';
45
45
  import { resolveVersion, resolvePackageVersion } from './chunk-RA3O54FC.js';
46
46
  import { homeFromEnv } from './chunk-352DHUTP.js';
47
- import './chunk-WCHE4WRD.js';
48
- import './chunk-IQDIXTDJ.js';
47
+ import './chunk-O6SA67BP.js';
48
+ import './chunk-ZIBM6BTL.js';
49
49
  import './chunk-Z5GEFMRW.js';
50
50
  import { EventEmitter } from 'events';
51
51
  import childProcess, { execFileSync } from 'child_process';
@@ -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-33YJXHV5.js');
3672
+ const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-VYOFXBO5.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-V5WSXBGR.js');
3679
+ const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-NHIWZEIA.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-OPXVTDHI.js');
3822
+ const { setupMachineSkills } = await import('./machine-skills-XJBRAFDW.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,8 +3827,8 @@ async function installMachineSkillsForSetup() {
3827
3827
  ` : "";
3828
3828
  }
3829
3829
  async function realConnectDepsForCwd() {
3830
- const { realConnectDeps } = await import('./connect-cmd-TYEKAJ53.js');
3831
- const { resolveRepoIdentity } = await import('./dist-FSIXL3TN.js');
3830
+ const { realConnectDeps } = await import('./connect-cmd-5CBJ3QBJ.js');
3831
+ const { resolveRepoIdentity } = await import('./dist-O4HJ55MA.js');
3832
3832
  return {
3833
3833
  ...realConnectDeps(),
3834
3834
  home: homeFromEnv(),
@@ -3845,7 +3845,7 @@ 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-OPXVTDHI.js');
3848
+ const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-XJBRAFDW.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());
@@ -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-PEPY3Y55.js');
3906
- const { fleetReadiness } = await import('./fleet-readiness-OYZYYJMX.js');
3905
+ const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-FNIC6XTK.js');
3906
+ const { fleetReadiness } = await import('./fleet-readiness-Q3YBDRDX.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-33YJXHV5.js');
3923
+ const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-VYOFXBO5.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-GIAACT54.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-JYBT36J5.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-GIAACT54.js');
3963
+ const { runInitCommand } = await import('./init-cmd-JYBT36J5.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-JCCBEF2W.js');
3975
+ const { runAgentSetup } = await import('./agent-setup-G5M536SV.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-TYEKAJ53.js');
3984
+ const { promptOnTerminal } = await import('./connect-cmd-5CBJ3QBJ.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-TYEKAJ53.js');
4023
+ const { runConnectCommand } = await import('./connect-cmd-5CBJ3QBJ.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
@@ -4063,7 +4063,7 @@ Every later command reads the saved file, so none of them needs a key on
4063
4063
  its command line. A saved key is checked for real on the first \`sync\`.
4064
4064
  `
4065
4065
  ).action(async (opts) => {
4066
- const { runLoginCommand, realLoginDeps } = await import('./login-browser-A637BTC7.js');
4066
+ const { runLoginCommand, realLoginDeps } = await import('./login-browser-NG7JWXED.js');
4067
4067
  const code = await runLoginCommand(
4068
4068
  {
4069
4069
  browser: opts.browser !== false,
@@ -4096,13 +4096,13 @@ code is 1: revoke the token on /profile/security.
4096
4096
  "\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"
4097
4097
  ).action(async (opts) => {
4098
4098
  if (opts.link !== void 0) {
4099
- const { lookupArtifactLink } = await import('./artifact-link-cmd-TCCDV4ZI.js');
4099
+ const { lookupArtifactLink } = await import('./artifact-link-cmd-SDKPWPQK.js');
4100
4100
  const found = lookupArtifactLink(opts.link);
4101
4101
  if (found.ok) process.stdout.write(found.url + "\n");
4102
4102
  else fail(found.reason);
4103
4103
  return;
4104
4104
  }
4105
- const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-3UKD6HTQ.js');
4105
+ const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-KPKBQPSC.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-ZPOTELW4.js');
4134
+ const { runWatch } = await import('./watch-7PUSIJW7.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|path>", "also take the runner's session over a WebSocket port or socket file").option("--join-secret-file <path>", "the secret a WebSocket join sends first; needs --join-ws").option("--listen-socket <path>", "also take the build's connections on this socket file; needs --join").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-KSGNSDV6.js');
4150
- const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-VWBBQAQC.js');
4149
+ const { startRelay, startSessionRelay } = await import('./relay-B264HXPJ.js');
4150
+ const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-GDRAFK7U.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}`);
@@ -4192,7 +4192,7 @@ code is 1: revoke the token on /profile/security.
4192
4192
  await startRelay({ port, socketPath: opts.socket, forwards: forwards.map((forward) => ({ port: forward.port, socketPath: forward.spec })) });
4193
4193
  });
4194
4194
  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) => {
4195
- const { joinRelay } = await import('./relay-KSGNSDV6.js');
4195
+ const { joinRelay } = await import('./relay-B264HXPJ.js');
4196
4196
  try {
4197
4197
  await joinRelay({ socketPath: opts.socket, input: process.stdin, output: process.stdout });
4198
4198
  } catch (err) {
@@ -4208,7 +4208,7 @@ code is 1: revoke the token on /profile/security.
4208
4208
  }
4209
4209
  });
4210
4210
  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) => {
4211
- const { runVmExec } = await import('./exec-client-TTLHPSNE.js');
4211
+ const { runVmExec } = await import('./exec-client-DM3X2RB7.js');
4212
4212
  const env = {};
4213
4213
  for (const entry of opts.env) {
4214
4214
  const eq = entry.indexOf("=");
@@ -4237,7 +4237,7 @@ code is 1: revoke the token on /profile/security.
4237
4237
  process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
4238
4238
  });
4239
4239
  program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
4240
- const { runSessionSender } = await import('./session-sender-7HTTTMEV.js');
4240
+ const { runSessionSender } = await import('./session-sender-RCSQA6Q6.js');
4241
4241
  try {
4242
4242
  await runSessionSender();
4243
4243
  } catch (err) {
@@ -4245,7 +4245,7 @@ code is 1: revoke the token on /profile/security.
4245
4245
  }
4246
4246
  });
4247
4247
  program2.command("vm-init", { hidden: true }).description("lay out a microVM build's guest; the guest helper runs it").action(async () => {
4248
- const { realGuestHost, runGuestInit } = await import('./guest-init-TSJ352Y5.js');
4248
+ const { realGuestHost, runGuestInit } = await import('./guest-init-XMSQJTEX.js');
4249
4249
  const { readFileSync: readFileSync3 } = await import('fs');
4250
4250
  try {
4251
4251
  runGuestInit(realGuestHost(), readFileSync3("/proc/cmdline", "utf8"));
@@ -4254,7 +4254,7 @@ code is 1: revoke the token on /profile/security.
4254
4254
  }
4255
4255
  });
4256
4256
  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) => {
4257
- const { startBridgeForward } = await import('./bridge-YN5S2ID2.js');
4257
+ const { startBridgeForward } = await import('./bridge-GBW5JGSZ.js');
4258
4258
  try {
4259
4259
  await startBridgeForward(opts);
4260
4260
  } catch (err) {
@@ -4280,7 +4280,7 @@ async function runCli(processArgv) {
4280
4280
  await buildProgram(argv).parseAsync(argv);
4281
4281
  }
4282
4282
  async function compileContext(opts) {
4283
- const { runEmit, EmitError } = await import('./emit-cmd-E364BCF2.js');
4283
+ const { runEmit, EmitError } = await import('./emit-cmd-XQ667BAD.js');
4284
4284
  try {
4285
4285
  const result = runEmit({ cwd: opts.dir, check: opts.check, json: opts.json });
4286
4286
  if (result.exitCode !== 0) process.exitCode = result.exitCode;
@@ -4333,7 +4333,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
4333
4333
  await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
4334
4334
  return;
4335
4335
  }
4336
- const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-2LWTIMNP.js');
4336
+ const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-DEKTNEZ7.js');
4337
4337
  try {
4338
4338
  const result = await runEmitResult({
4339
4339
  name,
@@ -4385,7 +4385,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
4385
4385
  locally so it never uploads. One correction can retire several duplicates.
4386
4386
  `
4387
4387
  ).action(async (file, opts) => {
4388
- const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-DBQAROAN.js');
4388
+ const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-YY35HFCD.js');
4389
4389
  let pr;
4390
4390
  if (opts.pr !== void 0) {
4391
4391
  pr = parseTrackerNumber(opts.pr);
@@ -4441,7 +4441,7 @@ its criterion, and the new record retires the old record. The id must be the ite
4441
4441
  as \`work demo --item <n> --json\` prints it.
4442
4442
  `
4443
4443
  ).action(async (manifest, opts) => {
4444
- const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-IPAW6TDJ.js');
4444
+ const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-PJXRNZGD.js');
4445
4445
  let item;
4446
4446
  if (opts.item !== void 0) {
4447
4447
  item = parseTrackerNumber(opts.item);
@@ -4484,7 +4484,7 @@ as \`work demo --item <n> --json\` prints it.
4484
4484
  }
4485
4485
  });
4486
4486
  program2.command("demo-voice", { hidden: true }).description("Speak demo lines for a recorder: JSON lines in on stdin, out on stdout").action(async () => {
4487
- const { runDemoVoice } = await import('./demo-voice-cmd-KBVO6WZA.js');
4487
+ const { runDemoVoice } = await import('./demo-voice-cmd-SDYJP7RU.js');
4488
4488
  await runDemoVoice();
4489
4489
  });
4490
4490
  const demoCmd = program2.command("demo").description("Record demos with the recorder this CLI carries");
@@ -4502,7 +4502,7 @@ and the command prints the manifest's path for \`emit demo\`. Under \`work proof
4502
4502
  to OUTERLAYER_PROOF_OUT instead. Exit 1 means the demo's test failed; its manifest is written all the same.
4503
4503
  `
4504
4504
  ).action(async (file, opts) => {
4505
- const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-J26ZZMLZ.js');
4505
+ const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-KQW4RBFQ.js');
4506
4506
  try {
4507
4507
  const result = await runDemoRecord({
4508
4508
  file,
@@ -4551,7 +4551,7 @@ recent events with their ids. --find <text> searches all of them.
4551
4551
  item that session was launched for is used automatically.
4552
4552
  `
4553
4553
  ).action(async (opts) => {
4554
- const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-DNHV4DG5.js');
4554
+ const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-MG4PQCCJ.js');
4555
4555
  try {
4556
4556
  refuseRemovedFindingFlags(opts);
4557
4557
  const result = await runEmitFinding({
@@ -4618,7 +4618,7 @@ the whole batch. "untimed": true records one with no time on purpose.
4618
4618
  that session was launched for is used automatically.
4619
4619
  `
4620
4620
  ).action(async (file, opts) => {
4621
- const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-DNHV4DG5.js');
4621
+ const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-MG4PQCCJ.js');
4622
4622
  try {
4623
4623
  const result = await runEmitFindings({
4624
4624
  file,
@@ -4653,7 +4653,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
4653
4653
  the step, the command prints why and exits 1.
4654
4654
  `
4655
4655
  ).action(async (name, opts) => {
4656
- const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-KKNYP4CO.js');
4656
+ const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-ZUCQ7RSI.js');
4657
4657
  try {
4658
4658
  await runEmitStep({
4659
4659
  name,
@@ -4696,7 +4696,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
4696
4696
  ${cliInvocation()} emit criteria acceptance/412-login.md --item 412
4697
4697
  `
4698
4698
  ).action(async (file, opts) => {
4699
- const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-OTH6OB33.js');
4699
+ const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-AF4TBZZI.js');
4700
4700
  try {
4701
4701
  const result = await runEmitCriteria({
4702
4702
  file,
@@ -4720,9 +4720,9 @@ function registerSpecCommands(program2) {
4720
4720
  const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
4721
4721
  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)");
4722
4722
  const run = async (action) => {
4723
- const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
4723
+ const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
4724
4724
  try {
4725
- await action(await import('./spec-cmd-TDFURROT.js'));
4725
+ await action(await import('./spec-cmd-FXLUALYN.js'));
4726
4726
  } catch (err) {
4727
4727
  if (err instanceof WorkCommandError) {
4728
4728
  fail(err.message);
@@ -4766,7 +4766,7 @@ Prints each problem the item covers with its id, its reports and its result.
4766
4766
  session was launched for is used.
4767
4767
  `
4768
4768
  ).action(async (opts) => {
4769
- const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-Y46BOVAQ.js');
4769
+ const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-DFGK2KDO.js');
4770
4770
  try {
4771
4771
  const result = await runFindingsShow({
4772
4772
  item: opts.item,
@@ -4794,7 +4794,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
4794
4794
  problem to replace the earlier result. A problem the item does not cover is refused.
4795
4795
  `
4796
4796
  ).action(async (problem, opts) => {
4797
- const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-Y46BOVAQ.js');
4797
+ const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-DFGK2KDO.js');
4798
4798
  try {
4799
4799
  const result = await runFindingsResult({
4800
4800
  problem,
@@ -4828,8 +4828,8 @@ an issue when the daily limit leaves none, and then you stop reporting.
4828
4828
  Only the agent of a scheduled run, which holds a run key, can run it.
4829
4829
  `
4830
4830
  ).action(async (opts) => {
4831
- const { runFoundIssue, RunCommandError } = await import('./run-cmd-4P3NGSI7.js');
4832
- const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
4831
+ const { runFoundIssue, RunCommandError } = await import('./run-cmd-M4FBHHC7.js');
4832
+ const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
4833
4833
  try {
4834
4834
  await runFoundIssue(opts);
4835
4835
  } catch (err) {
@@ -4851,8 +4851,8 @@ Run it instead of found-issue, never after it. Only the agent of a
4851
4851
  scheduled run, which holds a run key, can run it.
4852
4852
  `
4853
4853
  ).action(async (opts) => {
4854
- const { runFoundNothing, RunCommandError } = await import('./run-cmd-4P3NGSI7.js');
4855
- const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
4854
+ const { runFoundNothing, RunCommandError } = await import('./run-cmd-M4FBHHC7.js');
4855
+ const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
4856
4856
  try {
4857
4857
  await runFoundNothing(opts);
4858
4858
  } catch (err) {
@@ -4885,7 +4885,7 @@ takes it, and prints the line that starts your session on it. That
4885
4885
  session links itself and holds the item's lease while it works.
4886
4886
  `
4887
4887
  ).action(async (opts) => {
4888
- const { runWorkBuild, WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
4888
+ const { runWorkBuild, WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
4889
4889
  try {
4890
4890
  await runWorkBuild(opts);
4891
4891
  } catch (err) {
@@ -4908,7 +4908,7 @@ renews that session's own 20-minute lease, unless --no-lease or
4908
4908
  --ended is given, or another worker already holds a live one.
4909
4909
  `
4910
4910
  ).action(async (number, opts) => {
4911
- const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
4911
+ const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
4912
4912
  try {
4913
4913
  await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
4914
4914
  } catch (err) {
@@ -4947,8 +4947,8 @@ log, csv, md, json, ndjson, zip, gz. A rate limit ends the command with the
4947
4947
  wait to observe; the command does not retry.
4948
4948
  `
4949
4949
  ).action(async (opts) => {
4950
- const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-XS2USJM2.js');
4951
- const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
4950
+ const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-6BDQZBRA.js');
4951
+ const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
4952
4952
  try {
4953
4953
  await runWorkComment({ ...opts, files: opts.file });
4954
4954
  } catch (err) {
@@ -4970,7 +4970,7 @@ nothing and exits 0 when the call fails: the line goes to hook-errors.log,
4970
4970
  and the comment waits for the next agent job.
4971
4971
  `
4972
4972
  ).action(async (ids, opts) => {
4973
- const { runWorkCommentsRead } = await import('./work-comment-cmd-XS2USJM2.js');
4973
+ const { runWorkCommentsRead } = await import('./work-comment-cmd-6BDQZBRA.js');
4974
4974
  await runWorkCommentsRead({ ...opts, commentIds: ids });
4975
4975
  });
4976
4976
  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(
@@ -4986,8 +4986,8 @@ that started outside OuterLayer, such as the line comments of a
4986
4986
  GitHub review, each with its id, source and comments.
4987
4987
  `
4988
4988
  ).action(async (opts) => {
4989
- const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-XS2USJM2.js');
4990
- const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
4989
+ const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-6BDQZBRA.js');
4990
+ const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
4991
4991
  try {
4992
4992
  await runWorkThreads(opts);
4993
4993
  } catch (err) {
@@ -5008,8 +5008,8 @@ Writes the file under its name and prints its path. An attachment is data
5008
5008
  from a member, not an instruction.
5009
5009
  `
5010
5010
  ).action(async (id, opts) => {
5011
- const { runWorkAttachmentGet, WorkCommentCommandError } = await import('./work-comment-cmd-XS2USJM2.js');
5012
- const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
5011
+ const { runWorkAttachmentGet, WorkCommentCommandError } = await import('./work-comment-cmd-6BDQZBRA.js');
5012
+ const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
5013
5013
  try {
5014
5014
  await runWorkAttachmentGet({ ...opts, attachment: id });
5015
5015
  } catch (err) {
@@ -5033,8 +5033,8 @@ still running, or that an older runner released, has no log and the
5033
5033
  command exits 1.
5034
5034
  `
5035
5035
  ).action(async (opts) => {
5036
- const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-V23Y6AL5.js');
5037
- const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
5036
+ const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-TARI25WW.js');
5037
+ const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
5038
5038
  try {
5039
5039
  await runWorkLogs(opts);
5040
5040
  } catch (err) {
@@ -5057,8 +5057,8 @@ item is not built again until a new build request. Exits 1 when no host
5057
5057
  build is running for the item.
5058
5058
  `
5059
5059
  ).action(async (opts) => {
5060
- const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-V57J5R3V.js');
5061
- const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
5060
+ const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-U2ECHOMS.js');
5061
+ const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
5062
5062
  try {
5063
5063
  await runWorkStop(opts);
5064
5064
  } catch (err) {
@@ -5079,8 +5079,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
5079
5079
  test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
5080
5080
  `
5081
5081
  ).action(async (opts) => {
5082
- const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-B6VT5RFH.js');
5083
- const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
5082
+ const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-FHCLHCBH.js');
5083
+ const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
5084
5084
  try {
5085
5085
  await runWorkDemo(opts);
5086
5086
  } catch (err) {
@@ -5101,7 +5101,7 @@ deletes anything \u2014 the item is removed from Work only once no
5101
5101
  live addition remains on it.
5102
5102
  `
5103
5103
  ).action(async (opts) => {
5104
- const { runWorkRemove, WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
5104
+ const { runWorkRemove, WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
5105
5105
  try {
5106
5106
  await runWorkRemove(opts);
5107
5107
  } catch (err) {
@@ -5113,7 +5113,7 @@ live addition remains on it.
5113
5113
  }
5114
5114
  });
5115
5115
  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) => {
5116
- const { runWorkStatus, WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
5116
+ const { runWorkStatus, WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
5117
5117
  try {
5118
5118
  await runWorkStatus(opts);
5119
5119
  } catch (err) {
@@ -5171,11 +5171,11 @@ a runner build, no row is failed.
5171
5171
  fail(trackerNumberError("--pr", opts.pr));
5172
5172
  return;
5173
5173
  }
5174
- const { runWorkProofsCommand } = await import('./work-proofs-cmd-YJBW7IJG.js');
5174
+ const { runWorkProofsCommand } = await import('./work-proofs-cmd-ZR3T7I7H.js');
5175
5175
  await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
5176
5176
  });
5177
5177
  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) => {
5178
- const { runWorkList, WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
5178
+ const { runWorkList, WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
5179
5179
  try {
5180
5180
  await runWorkList(opts);
5181
5181
  } catch (err) {
@@ -5196,7 +5196,7 @@ by a different key is refused; claiming again with the same key extends
5196
5196
  it. --host is a label only.
5197
5197
  `
5198
5198
  ).action(async (opts) => {
5199
- const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-4T4355ST.js');
5199
+ const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-P7QLRPLI.js');
5200
5200
  try {
5201
5201
  await runWorkClaim(opts);
5202
5202
  } catch (err) {
@@ -5216,7 +5216,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
5216
5216
  lease has expired, or a 403 if a different key holds it.
5217
5217
  `
5218
5218
  ).action(async (opts) => {
5219
- const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-4T4355ST.js');
5219
+ const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-P7QLRPLI.js');
5220
5220
  try {
5221
5221
  await runWorkRenew(opts);
5222
5222
  } catch (err) {
@@ -5248,7 +5248,7 @@ applies to a host's lease only. A later tool call in the session
5248
5248
  takes the lease again.
5249
5249
  `
5250
5250
  ).action(async (opts) => {
5251
- const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-4T4355ST.js');
5251
+ const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-P7QLRPLI.js');
5252
5252
  try {
5253
5253
  await runWorkRelease(opts);
5254
5254
  } catch (err) {
@@ -5275,7 +5275,7 @@ Idempotent: declaring the same pull request twice is a no-op.
5275
5275
  needs your own login; an agent session or a factory key is refused.
5276
5276
  `
5277
5277
  ).action(async (number, opts) => {
5278
- const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-ZGX5ICW2.js');
5278
+ const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-XKHZWCIV.js');
5279
5279
  try {
5280
5280
  await runWorkPr({ ...opts, number });
5281
5281
  } catch (err) {
@@ -5300,8 +5300,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
5300
5300
  Run it again after a change to the title or description.
5301
5301
  `
5302
5302
  ).action(async (opts) => {
5303
- const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-UJBMJ4SJ.js');
5304
- const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
5303
+ const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-YWHEB3J5.js');
5304
+ const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
5305
5305
  try {
5306
5306
  await runWorkOpenPr(opts);
5307
5307
  } catch (err) {
@@ -5324,8 +5324,8 @@ and OuterLayer posts the reason on the issue. Only a host build, which
5324
5324
  holds an item key, can run it.
5325
5325
  `
5326
5326
  ).action(async (opts) => {
5327
- const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-NLMVQVW5.js');
5328
- const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
5327
+ const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-TR5OSYSS.js');
5328
+ const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
5329
5329
  try {
5330
5330
  await runWorkNoChange(opts);
5331
5331
  } catch (err) {
@@ -5348,8 +5348,8 @@ record that no change is needed. Only a host build, which holds an item key,
5348
5348
  can run it.
5349
5349
  `
5350
5350
  ).action(async (opts) => {
5351
- const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-CNXW5QRQ.js');
5352
- const { WorkCommandError } = await import('./work-cmd-C6I5YGXR.js');
5351
+ const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-3EGKIUXR.js');
5352
+ const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
5353
5353
  try {
5354
5354
  await runWorkNeedsAttention(opts);
5355
5355
  } catch (err) {
@@ -5393,9 +5393,9 @@ function registerRunnerCommands(program2) {
5393
5393
  const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
5394
5394
  const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
5395
5395
  runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
5396
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-RLM4L7BC.js');
5397
- const { start, RunnerStartError } = await import('./loop-TYNS2QQ4.js');
5398
- const { RunnerAlreadyRunningError } = await import('./pidfile-JPOYJP6P.js');
5396
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-U2QGX42S.js');
5397
+ const { start, RunnerStartError } = await import('./loop-K6IXBN2T.js');
5398
+ const { RunnerAlreadyRunningError } = await import('./pidfile-6XI5PZPC.js');
5399
5399
  const configPath = opts.config ?? defaultRunnerConfigPath();
5400
5400
  try {
5401
5401
  const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
@@ -5417,10 +5417,10 @@ is optional and defaults to ${words().runnerName}. On a later start it refuses v
5417
5417
  The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5418
5418
  `
5419
5419
  ).action(async () => {
5420
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-RLM4L7BC.js');
5421
- const { containerStart, containerStartExit } = await import('./container-start-JQBE44O4.js');
5422
- const { start, RunnerStartError } = await import('./loop-TYNS2QQ4.js');
5423
- const { RunnerAlreadyRunningError } = await import('./pidfile-JPOYJP6P.js');
5420
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-U2QGX42S.js');
5421
+ const { containerStart, containerStartExit } = await import('./container-start-7QFNPIZP.js');
5422
+ const { start, RunnerStartError } = await import('./loop-K6IXBN2T.js');
5423
+ const { RunnerAlreadyRunningError } = await import('./pidfile-6XI5PZPC.js');
5424
5424
  try {
5425
5425
  const outcome = containerStartExit(await containerStart({
5426
5426
  env: process.env,
@@ -5441,16 +5441,16 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5441
5441
  "after",
5442
5442
  "\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"
5443
5443
  ).action(async (opts) => {
5444
- const { defaultRunnerConfigPath } = await import('./config-RLM4L7BC.js');
5445
- const { runnerDir } = await import('./paths-ICWQRDYW.js');
5446
- const { runUpdateSteps } = await import('./update-steps-TRJTM3RP.js');
5444
+ const { defaultRunnerConfigPath } = await import('./config-U2QGX42S.js');
5445
+ const { runnerDir } = await import('./paths-B5KAGDE4.js');
5446
+ const { runUpdateSteps } = await import('./update-steps-ZVTFBU4Q.js');
5447
5447
  const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
5448
5448
  process.stdout.write(`${text}
5449
5449
  `);
5450
5450
  });
5451
5451
  runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
5452
- const { defaultRunnerConfigPath } = await import('./config-RLM4L7BC.js');
5453
- const { runRunnerCheck } = await import('./check-KFH4KBOO.js');
5452
+ const { defaultRunnerConfigPath } = await import('./config-U2QGX42S.js');
5453
+ const { runRunnerCheck } = await import('./check-OOAYGWPQ.js');
5454
5454
  const configPath = opts.config ?? defaultRunnerConfigPath();
5455
5455
  const result = await runRunnerCheck(configPath);
5456
5456
  if (!result.ok) {
@@ -5471,8 +5471,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5471
5471
  `);
5472
5472
  });
5473
5473
  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) => {
5474
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-RLM4L7BC.js');
5475
- const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-OJIVYJ33.js');
5474
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-U2QGX42S.js');
5475
+ const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-S7GLPLGN.js');
5476
5476
  const configPath = opts.config ?? defaultRunnerConfigPath();
5477
5477
  if (opts.service !== true) {
5478
5478
  const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
@@ -5484,13 +5484,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5484
5484
  }
5485
5485
  }
5486
5486
  const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
5487
- if (buildCpusMax !== void 0 && !(await import('./command-ACLKBBR5.js')).cpusAreValid(buildCpusMax)) {
5487
+ if (buildCpusMax !== void 0 && !(await import('./command-ZQS5VONR.js')).cpusAreValid(buildCpusMax)) {
5488
5488
  fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
5489
5489
  return;
5490
5490
  }
5491
5491
  try {
5492
5492
  if (opts.service === true) {
5493
- const { installServiceCommand, serviceSuccessText } = await import('./command-ACLKBBR5.js');
5493
+ const { installServiceCommand, serviceSuccessText } = await import('./command-ZQS5VONR.js');
5494
5494
  const result2 = await installServiceCommand({
5495
5495
  configPath,
5496
5496
  print: opts.print,
@@ -5544,8 +5544,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
5544
5544
  fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
5545
5545
  return;
5546
5546
  }
5547
- const { defaultRunnerConfigPath } = await import('./config-RLM4L7BC.js');
5548
- const { uninstallServiceCommand } = await import('./command-ACLKBBR5.js');
5547
+ const { defaultRunnerConfigPath } = await import('./config-U2QGX42S.js');
5548
+ const { uninstallServiceCommand } = await import('./command-ZQS5VONR.js');
5549
5549
  const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
5550
5550
  if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
5551
5551
  `);
@@ -5575,13 +5575,13 @@ already in ${words().envFile} is used.
5575
5575
  printf '%s' "$${words().variables[0]}" | ${cliInvocation()} runner init --agent ${words().runnerName} --factory <org>/<factory>
5576
5576
  `
5577
5577
  ).action(async (opts) => {
5578
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-RLM4L7BC.js');
5579
- const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-IQ3QXDSQ.js');
5580
- const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-DCWF35HX.js');
5581
- const { detectMachine } = await import('./machine-CNWVFLRX.js');
5582
- const { chooseVm, runVmInit, VmInitError } = await import('./init-532GETMW.js');
5583
- const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-OSMUW57J.js');
5584
- const { headlessNames: headlessNames2 } = await import('./runner-agents-P5HCEBXD.js');
5578
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-U2QGX42S.js');
5579
+ const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-55SHW52A.js');
5580
+ const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-BMDKLXS2.js');
5581
+ const { detectMachine } = await import('./machine-KJHNBKZ2.js');
5582
+ const { chooseVm, runVmInit, VmInitError } = await import('./init-4FUFSCYD.js');
5583
+ const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-52V2APNY.js');
5584
+ const { headlessNames: headlessNames2 } = await import('./runner-agents-4WZYSEWM.js');
5585
5585
  const configPath = opts.config ?? defaultRunnerConfigPath();
5586
5586
  if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
5587
5587
  fail(`--agent ${opts.agent}: runner init writes commands for ${headlessNames2().join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
@@ -5593,7 +5593,7 @@ already in ${words().envFile} is used.
5593
5593
  return;
5594
5594
  }
5595
5595
  try {
5596
- const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-5P6YA4IE.js');
5596
+ const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-DKCSZN7T.js');
5597
5597
  agent = await initAgent({
5598
5598
  flag: agent,
5599
5599
  handOff: opts.configStdin === true,
@@ -5604,7 +5604,7 @@ already in ${words().envFile} is used.
5604
5604
  if (agent !== void 0) {
5605
5605
  const chosen = agent;
5606
5606
  const forms = credentialForms((runnerAgentNamed(chosen) ?? credentialAgent()).descriptor);
5607
- const { readPipedKey } = await import('./login-browser-A637BTC7.js');
5607
+ const { readPipedKey } = await import('./login-browser-NG7JWXED.js');
5608
5608
  const { terminalPrompt: terminalPrompt2 } = await import('./hidden-prompt-UXBFMQC5.js');
5609
5609
  const text = await agentCredentialText({
5610
5610
  isTTY: process.stdin.isTTY === true,
@@ -5626,7 +5626,7 @@ already in ${words().envFile} is used.
5626
5626
  const chunks = [];
5627
5627
  for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
5628
5628
  const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
5629
- const { ensureHostKey: ensureHostKey2 } = await import('./host-key-N674G67D.js');
5629
+ const { ensureHostKey: ensureHostKey2 } = await import('./host-key-ZVUMVEOE.js');
5630
5630
  const hostKey2 = await ensureHostKey2(configPath);
5631
5631
  process.stdout.write(`host key ${hostKey2.fingerprint}
5632
5632
  hooks: ${result2.hooks}
@@ -5681,7 +5681,7 @@ hooks: ${result2.hooks}
5681
5681
  const prepared = prepareRunnerInit(configPath, { machine, agent, credential, keyFromLogin: makeKey !== void 0 });
5682
5682
  const created = makeKey === void 0 ? void 0 : await makeKey();
5683
5683
  const result = writeRunnerInit(prepared, created);
5684
- const { ensureHostKey } = await import('./host-key-N674G67D.js');
5684
+ const { ensureHostKey } = await import('./host-key-ZVUMVEOE.js');
5685
5685
  const hostKey = await ensureHostKey(configPath);
5686
5686
  if (created !== void 0) {
5687
5687
  process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
@@ -5701,7 +5701,7 @@ hooks: ${result2.hooks}
5701
5701
  );
5702
5702
  process.stdout.write(`${C.green}\u2713${C.reset} hooks: ${result.hooks}${result.hooks === "builtin:vm" ? " (builds run in microVMs)" : " (builds run in containers)"}
5703
5703
  `);
5704
- const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-OJIVYJ33.js');
5704
+ const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-S7GLPLGN.js');
5705
5705
  let installedLayout = false;
5706
5706
  let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
5707
5707
  try {
@@ -5733,7 +5733,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
5733
5733
  let serviceUp = false;
5734
5734
  let restart;
5735
5735
  if (installedLayout) {
5736
- const { installServiceCommand } = await import('./command-ACLKBBR5.js');
5736
+ const { installServiceCommand } = await import('./command-ZQS5VONR.js');
5737
5737
  const service = await installServiceCommand({
5738
5738
  configPath,
5739
5739
  entryPath: process.argv[1] ?? "",
@@ -5785,12 +5785,12 @@ image holds this CLI and a pinned ${words().agent}. Nothing runs inside the imag
5785
5785
  A repository with no devcontainer file builds on the universal image the CLI pins by digest.
5786
5786
  `
5787
5787
  ).action(async (opts) => {
5788
- const { defaultRunnerConfigPath } = await import('./config-RLM4L7BC.js');
5789
- const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-5K2MI7LO.js');
5788
+ const { defaultRunnerConfigPath } = await import('./config-U2QGX42S.js');
5789
+ const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-3XIF6N52.js');
5790
5790
  const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
5791
- const { createDockerHost } = await import('./docker-IGL2JPTN.js');
5792
- const { builderSpec } = await import('./builder-Y46OD2YA.js');
5793
- const { loadRunnerConfig } = await import('./config-RLM4L7BC.js');
5791
+ const { createDockerHost } = await import('./docker-BXR6YIWV.js');
5792
+ const { builderSpec } = await import('./builder-SQK6O75D.js');
5793
+ const { loadRunnerConfig } = await import('./config-U2QGX42S.js');
5794
5794
  const configPath = opts.config ?? defaultRunnerConfigPath();
5795
5795
  const loaded = (() => {
5796
5796
  try {
@@ -5801,12 +5801,12 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5801
5801
  })();
5802
5802
  const memory = loaded?.build?.memory ?? "8g";
5803
5803
  try {
5804
- const { ensureRunnerIdentity } = await import('./runner-identity-GQC344ZQ.js');
5804
+ const { ensureRunnerIdentity } = await import('./runner-identity-F4MC2JC4.js');
5805
5805
  await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
5806
5806
  console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
5807
5807
  });
5808
- const { imageTargetFor } = await import('./governing-source-OMZOIQR7.js');
5809
- const { runnerCalls } = await import('./caller-A7J5XLTN.js');
5808
+ const { imageTargetFor } = await import('./governing-source-AN2YX6EN.js');
5809
+ const { runnerCalls } = await import('./caller-XWPJHKWT.js');
5810
5810
  const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
5811
5811
  if (!target.ok) {
5812
5812
  if (opts.json) {
@@ -5870,25 +5870,25 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5870
5870
  }
5871
5871
  });
5872
5872
  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) => {
5873
- const { defaultRunnerConfigPath } = await import('./config-RLM4L7BC.js');
5874
- const { requestStop } = await import('./loop-TYNS2QQ4.js');
5873
+ const { defaultRunnerConfigPath } = await import('./config-U2QGX42S.js');
5874
+ const { requestStop } = await import('./loop-K6IXBN2T.js');
5875
5875
  const configPath = opts.config ?? defaultRunnerConfigPath();
5876
- const { runnerImageVersion } = await import('./image-tag-N7T6RKXL.js');
5876
+ const { runnerImageVersion } = await import('./image-tag-XGFQGMDL.js');
5877
5877
  await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
5878
5878
  });
5879
5879
  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) => {
5880
- const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-RLM4L7BC.js');
5881
- const { jobsDir, runnerDir } = await import('./paths-ICWQRDYW.js');
5882
- const { listJobFiles, runnerProcessState } = await import('./loop-TYNS2QQ4.js');
5883
- const { renderStatus } = await import('./status-AXNVCDNW.js');
5884
- const { readHousekeepingRecord } = await import('./record-GEBD7SQ4.js');
5880
+ const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-U2QGX42S.js');
5881
+ const { jobsDir, runnerDir } = await import('./paths-B5KAGDE4.js');
5882
+ const { listJobFiles, runnerProcessState } = await import('./loop-K6IXBN2T.js');
5883
+ const { renderStatus } = await import('./status-JBZ2NRIE.js');
5884
+ const { readHousekeepingRecord } = await import('./record-PYSKMLIW.js');
5885
5885
  const path2 = await import('path');
5886
5886
  const configPath = opts.config ?? defaultRunnerConfigPath();
5887
5887
  const all = listJobFiles(configPath);
5888
5888
  const housekeeping = readHousekeepingRecord(runnerDir(configPath));
5889
- const { readPendingUpdate } = await import('./pending-64VJNE6H.js');
5889
+ const { readPendingUpdate } = await import('./pending-LIGMFSK7.js');
5890
5890
  const pendingUpdate = readPendingUpdate(runnerDir(configPath));
5891
- const { readImageStatus } = await import('./image-tag-N7T6RKXL.js');
5891
+ const { readImageStatus } = await import('./image-tag-XGFQGMDL.js');
5892
5892
  const image = readImageStatus(runnerDir(configPath));
5893
5893
  let host = "unknown";
5894
5894
  let concurrency = 1;
@@ -5898,7 +5898,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5898
5898
  host = config.host;
5899
5899
  concurrency = config.concurrency;
5900
5900
  if (config.fleet === true) {
5901
- const { readFleetState } = await import('./state-5WMXX5CE.js');
5901
+ const { readFleetState } = await import('./state-XYGP7UWS.js');
5902
5902
  fleet = { state: readFleetState(configPath) };
5903
5903
  }
5904
5904
  } catch {
@@ -5906,7 +5906,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5906
5906
  const processState = runnerProcessState(configPath);
5907
5907
  const service = await (async () => {
5908
5908
  if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
5909
- const { inspectRunnerService } = await import('./find-unit-6CBLEKXX.js');
5909
+ const { inspectRunnerService } = await import('./find-unit-56VDIZ5F.js');
5910
5910
  const facts = inspectRunnerService(configPath);
5911
5911
  return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
5912
5912
  })();
@@ -5945,9 +5945,9 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5945
5945
  );
5946
5946
  });
5947
5947
  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) => {
5948
- const { defaultRunnerConfigPath } = await import('./config-RLM4L7BC.js');
5949
- const { listJobFiles } = await import('./loop-TYNS2QQ4.js');
5950
- const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-HPAZ7O74.js');
5948
+ const { defaultRunnerConfigPath } = await import('./config-U2QGX42S.js');
5949
+ const { listJobFiles } = await import('./loop-K6IXBN2T.js');
5950
+ const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-IAZB2LDI.js');
5951
5951
  const configPath = opts.config ?? defaultRunnerConfigPath();
5952
5952
  const jobs = listJobFiles(configPath);
5953
5953
  const selected = selectAttempt(jobs, itemArg);
@@ -6168,7 +6168,7 @@ Self-host deployments also need --app-id: without a key service to resolve the
6168
6168
  caller from the bearer token, the gateway answers 401 without that header.
6169
6169
  `
6170
6170
  ).action(async (opts) => {
6171
- const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-HZK6BMMS.js');
6171
+ const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-E54PIM6W.js');
6172
6172
  try {
6173
6173
  if (opts.transport !== void 0 && opts.transport !== "stdio" && opts.transport !== "http") {
6174
6174
  throw new McpInstallError(`--transport must be "stdio" or "http", got "${opts.transport}"`);
@@ -6190,7 +6190,7 @@ caller from the bearer token, the gateway answers 401 without that header.
6190
6190
  "after",
6191
6191
  "\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"
6192
6192
  ).action(async (opts) => {
6193
- const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-TIUV3ZOP.js');
6193
+ const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-J4G7UF5Y.js');
6194
6194
  try {
6195
6195
  await runMcpServe({ url: opts.url, appId: opts.appId });
6196
6196
  } catch (err) {
@@ -6211,7 +6211,7 @@ would get, the instruction files and the names of the skills. It warns when the
6211
6211
  no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
6212
6212
  `
6213
6213
  ).action(async (opts) => {
6214
- const { runContextShow, ContextShowError } = await import('./context-show-cmd-KFVD47FK.js');
6214
+ const { runContextShow, ContextShowError } = await import('./context-show-cmd-5DGIO7VP.js');
6215
6215
  try {
6216
6216
  const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
6217
6217
  process.stdout.write(result.output);