@outerlayer/cli 0.36.1-next.20261103221424 → 0.36.1-next.20261104133805

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 (160) hide show
  1. package/dist/{agent-setup-X7AYIYU2.js → agent-setup-PBHLFTH5.js} +18 -18
  2. package/dist/{agent-subcommand-54OWGFVV.js → agent-subcommand-ASYEDGY2.js} +3 -3
  3. package/dist/{bridge-QJNA3KV6.js → bridge-JYWNVBZW.js} +6 -6
  4. package/dist/{build-5RXY5MG3.js → build-G25G35OY.js} +12 -12
  5. package/dist/{build-disk-BS3LA3TN.js → build-disk-LCBVNYLL.js} +10 -10
  6. package/dist/build-info.json +1 -1
  7. package/dist/{builder-FS4BB6Y6.js → builder-VV5Q3IOR.js} +9 -9
  8. package/dist/caller-GSOX6OEA.js +23 -0
  9. package/dist/{check-FC4I4ZTM.js → check-3DBOM5UT.js} +52 -52
  10. package/dist/{chunk-H6T73OLF.js → chunk-2A5LRRGL.js} +1 -1
  11. package/dist/{chunk-DE64NSOH.js → chunk-2BUZUDSH.js} +7 -7
  12. package/dist/{chunk-PUEIXGZ4.js → chunk-2CSXFU4A.js} +1 -1
  13. package/dist/{chunk-SRNHGJAV.js → chunk-3GHHGCNU.js} +4 -4
  14. package/dist/{chunk-U4VKDB7R.js → chunk-3NWBJVIL.js} +3 -3
  15. package/dist/{chunk-COPXXXNB.js → chunk-3TEZYUG6.js} +4 -4
  16. package/dist/{chunk-WVZ6EKJ3.js → chunk-3Z5KIYBR.js} +3 -3
  17. package/dist/{chunk-6HMA3FIE.js → chunk-4LA7E3HT.js} +5 -5
  18. package/dist/{chunk-BQUI64BU.js → chunk-4PGTFUTY.js} +1 -1
  19. package/dist/{chunk-X7PK7QRY.js → chunk-5Y7ZBX4U.js} +4 -4
  20. package/dist/{chunk-4YLF777T.js → chunk-6C6WH6KL.js} +1 -1
  21. package/dist/{chunk-I5EZW66W.js → chunk-A72Q4LSP.js} +1 -1
  22. package/dist/{chunk-6NR24FKU.js → chunk-ALPMGHDV.js} +2 -2
  23. package/dist/{chunk-DSZKDLFU.js → chunk-BCQDEM2N.js} +1 -1
  24. package/dist/{chunk-5MN6VZZH.js → chunk-C47K5UDL.js} +4 -4
  25. package/dist/{chunk-INT54Z2T.js → chunk-CQWXQDAZ.js} +1 -1
  26. package/dist/{chunk-C45EFKBZ.js → chunk-DOSM5H4B.js} +7 -7
  27. package/dist/{chunk-OM3XGJBY.js → chunk-DU2QDWHB.js} +5 -5
  28. package/dist/{chunk-K3GCT2HL.js → chunk-EJ4MVQYZ.js} +4 -4
  29. package/dist/{chunk-DDOD4YOQ.js → chunk-EKPSKSEJ.js} +2 -2
  30. package/dist/{chunk-H5CWIV56.js → chunk-FFJHFOFD.js} +7 -7
  31. package/dist/{chunk-WZOWXDDM.js → chunk-FGA3EXGJ.js} +173 -26
  32. package/dist/{chunk-OHOATH4S.js → chunk-FHKZZHM3.js} +5 -5
  33. package/dist/{chunk-OZEL5BWW.js → chunk-G3JG75DP.js} +2 -2
  34. package/dist/{chunk-IL2Y4OK6.js → chunk-GBTHXD74.js} +27 -27
  35. package/dist/{chunk-KRTIYEJI.js → chunk-GPVZFUTD.js} +5 -5
  36. package/dist/{chunk-2I654QYW.js → chunk-GXZTSNVW.js} +3 -3
  37. package/dist/{chunk-4LJ4LTOK.js → chunk-HNKGBQFA.js} +39 -9
  38. package/dist/{chunk-OEVWL356.js → chunk-IHW5KZN7.js} +7 -7
  39. package/dist/{chunk-R2DEJ5Q6.js → chunk-IZKRPQIU.js} +5 -5
  40. package/dist/{chunk-PJ5GYGC6.js → chunk-JXHN4E4Q.js} +3 -3
  41. package/dist/{chunk-GAPNTRA5.js → chunk-K72IBKLA.js} +1 -1
  42. package/dist/{chunk-H25KYIO7.js → chunk-KNGCCNVO.js} +4 -4
  43. package/dist/{chunk-E6ESLX5E.js → chunk-KQSRABR6.js} +1 -1
  44. package/dist/{chunk-PYPHE6FZ.js → chunk-KWOQTSSZ.js} +1 -1
  45. package/dist/{chunk-IM4VUDKW.js → chunk-KYFMMW65.js} +1 -1
  46. package/dist/{chunk-W3ZKWZ6G.js → chunk-L2J7B7V6.js} +1 -1
  47. package/dist/{chunk-NE2A2ZIY.js → chunk-MA4ZUS4A.js} +1 -1
  48. package/dist/{chunk-S7YLAN2P.js → chunk-MFVANFEJ.js} +2 -2
  49. package/dist/{chunk-W72X24TZ.js → chunk-NKQL3LHK.js} +1 -1
  50. package/dist/{chunk-M2ZEQS7E.js → chunk-PCIWQUBH.js} +6 -6
  51. package/dist/{chunk-HOQMMMSM.js → chunk-PDBYH3V5.js} +2 -2
  52. package/dist/{chunk-HOMHZPMD.js → chunk-Q7CXOTVR.js} +3 -3
  53. package/dist/{chunk-WRNDC7H7.js → chunk-QQVX4HUP.js} +4 -4
  54. package/dist/{chunk-4HMOBW7H.js → chunk-R6CQLTRC.js} +7 -7
  55. package/dist/{chunk-RYSGOWHG.js → chunk-R6G7OGS6.js} +1 -1
  56. package/dist/{chunk-7HRNYPL3.js → chunk-R6SOMMDQ.js} +1 -1
  57. package/dist/{chunk-B5BLIHJZ.js → chunk-RFNETJEH.js} +3 -3
  58. package/dist/{chunk-45AYMLMT.js → chunk-RJTFSUZI.js} +4 -4
  59. package/dist/{chunk-KQDTORGF.js → chunk-RTPGEOBA.js} +1 -1
  60. package/dist/{chunk-T3MVV6LG.js → chunk-S6AZPAUS.js} +1 -1
  61. package/dist/{chunk-UYXX33HA.js → chunk-SMT2K2AR.js} +3 -3
  62. package/dist/{chunk-TCBN5UX5.js → chunk-TADKX7OA.js} +15 -15
  63. package/dist/{chunk-QGUOCNQA.js → chunk-TLVRBSOX.js} +8 -8
  64. package/dist/{chunk-AZXFZGHQ.js → chunk-TYLXRXDY.js} +1 -1
  65. package/dist/{chunk-EKDQDOSS.js → chunk-UDX4B237.js} +1 -1
  66. package/dist/{chunk-GNLAORSW.js → chunk-ULFMR5UJ.js} +3 -3
  67. package/dist/{chunk-7HDI5CGG.js → chunk-ULIDETYK.js} +5 -5
  68. package/dist/{chunk-NDIV6GDC.js → chunk-UN6X7TYJ.js} +1 -1
  69. package/dist/{chunk-T4J5VR7B.js → chunk-UYCK4L43.js} +1 -1
  70. package/dist/{chunk-2HOSCIV6.js → chunk-V6VMFAKC.js} +1 -1
  71. package/dist/{chunk-FDRQZALU.js → chunk-VB6ODZL2.js} +1 -1
  72. package/dist/{chunk-XLCAYPLV.js → chunk-XGGXKR4M.js} +1 -1
  73. package/dist/{chunk-IADJEW5P.js → chunk-YATN35MN.js} +6 -6
  74. package/dist/{chunk-OQJSFWPZ.js → chunk-YMYYRYKE.js} +7 -7
  75. package/dist/{chunk-JJ63MLE5.js → chunk-ZDFZWQUF.js} +1 -1
  76. package/dist/{chunk-WVNQXYR7.js → chunk-ZEM4IRBH.js} +5 -5
  77. package/dist/{chunk-MJDH3P23.js → chunk-ZOT3CD34.js} +25 -25
  78. package/dist/{chunk-E6J6SPFA.js → chunk-ZV5QX3GK.js} +9 -9
  79. package/dist/{claude-launcher-WJ5CVLJR.js → claude-launcher-WZPO6HPI.js} +6 -6
  80. package/dist/{cli-LDHTZWDW.js → cli-5IYZ4KPF.js} +139 -139
  81. package/dist/{command-LQ77DEWJ.js → command-FJIGATGO.js} +47 -47
  82. package/dist/{config-AUMW46GF.js → config-2APX7UB2.js} +11 -11
  83. package/dist/{connect-cmd-CQNECBHI.js → connect-cmd-NA6MMPXY.js} +10 -10
  84. package/dist/{container-start-QMWBV4TL.js → container-start-SUDA7O4K.js} +45 -45
  85. package/dist/{context-cleanup-2SPOGEZR.js → context-cleanup-2PECPCE4.js} +3 -3
  86. package/dist/{context-show-cmd-XODQYX7H.js → context-show-cmd-PCKELSP2.js} +11 -11
  87. package/dist/{control-plane-launch-KIJABWN4.js → control-plane-launch-T33K3464.js} +13 -13
  88. package/dist/{demo-record-cmd-QVK4YUIV.js → demo-record-cmd-6TY4YHDY.js} +7 -7
  89. package/dist/{demo-voice-cmd-4BOI7UDQ.js → demo-voice-cmd-LAYGJR4O.js} +17 -17
  90. package/dist/{dist-LOBYZWOU.js → dist-P4VFDPWT.js} +1 -1
  91. package/dist/{docker-ILVTK2GR.js → docker-PS5OVPIF.js} +9 -9
  92. package/dist/{doctor-RLKFNNZB.js → doctor-D6IRPOAQ.js} +47 -47
  93. package/dist/{emit-artifact-cmd-EGFKK4KF.js → emit-artifact-cmd-PQZZORYH.js} +16 -16
  94. package/dist/{emit-cmd-S64A2LJ2.js → emit-cmd-7JNFV35K.js} +6 -6
  95. package/dist/{emit-criteria-cmd-L2YRIRCQ.js → emit-criteria-cmd-HXP5RCRU.js} +13 -13
  96. package/dist/{emit-demo-cmd-QHKUH4Y3.js → emit-demo-cmd-7SGOM2YU.js} +17 -17
  97. package/dist/{emit-finding-cmd-DCEGWYY4.js → emit-finding-cmd-2LEHV4FK.js} +13 -13
  98. package/dist/{emit-result-cmd-WGBZUASN.js → emit-result-cmd-P4NAJ2CH.js} +15 -15
  99. package/dist/{emit-step-cmd-TFKMQZHD.js → emit-step-cmd-K6HYSFGW.js} +13 -13
  100. package/dist/{exec-client-GW5ZI74B.js → exec-client-GEN7MH5Q.js} +7 -7
  101. package/dist/find-unit-UCWO22YS.js +24 -0
  102. package/dist/{findings-cmd-QO7OMGM6.js → findings-cmd-KCDAXNUH.js} +13 -13
  103. package/dist/{fleet-readiness-ZF4UUANH.js → fleet-readiness-OBHMDNEQ.js} +12 -12
  104. package/dist/{governing-source-JYK3VK23.js → governing-source-4PJ6W6RY.js} +18 -18
  105. package/dist/{guest-init-FPRVOOK5.js → guest-init-XN7ZOOK5.js} +8 -8
  106. package/dist/{hook-fast-WLRNPF5S.js → hook-fast-J26JZG67.js} +1 -1
  107. package/dist/{hook-install-TZZNJB4P.js → hook-install-SVEA6RYI.js} +3 -3
  108. package/dist/host-checks-OLB3DXCU.js +79 -0
  109. package/dist/{host-key-WG4KPVLI.js → host-key-V6D7QGRX.js} +7 -7
  110. package/dist/{image-tag-GZW7HJBN.js → image-tag-MAWC5FC5.js} +7 -7
  111. package/dist/index.js +4 -4
  112. package/dist/init-5LCIMEBR.js +79 -0
  113. package/dist/{init-VB73MMYI.js → init-RTJUSLNZ.js} +43 -43
  114. package/dist/{init-cmd-XOUXK2C7.js → init-cmd-QCLXU6F3.js} +24 -24
  115. package/dist/{init-update-N3WBXLGD.js → init-update-4MNOI44P.js} +21 -21
  116. package/dist/{install-cmd-GJNKXZN2.js → install-cmd-LTIF23I4.js} +9 -9
  117. package/dist/{layout-YSNLYG6U.js → layout-J7NA2HJ3.js} +3 -3
  118. package/dist/{logs-IMTZ733E.js → logs-44SEY5AH.js} +6 -6
  119. package/dist/loop-7T33PKFZ.js +90 -0
  120. package/dist/machine-D7P4L63X.js +79 -0
  121. package/dist/{machine-skills-WOAIOXAQ.js → machine-skills-UOF5X7OU.js} +3 -3
  122. package/dist/{mcp-install-cmd-NFMA6PSL.js → mcp-install-cmd-6CP7ODB4.js} +3 -3
  123. package/dist/{mcp-serve-cmd-27QGBQGR.js → mcp-serve-cmd-QOPRMVCR.js} +8 -8
  124. package/dist/{paths-HV5GP5OV.js → paths-IMTP2VFJ.js} +6 -6
  125. package/dist/pending-6LTQDPDQ.js +18 -0
  126. package/dist/{pidfile-P4DJ2C7S.js → pidfile-2FKC65BM.js} +7 -7
  127. package/dist/{record-UOVUKWPV.js → record-KD3622E7.js} +7 -7
  128. package/dist/{relay-JMCC6IJ4.js → relay-3RRPUZKH.js} +4 -4
  129. package/dist/{relay-protocol-RR5JOWOO.js → relay-protocol-ZFQ3QL76.js} +4 -4
  130. package/dist/{runner-agents-RO4TU5N4.js → runner-agents-3A2SJEZ7.js} +3 -3
  131. package/dist/{runner-env-DXGJIUBT.js → runner-env-CDNYK5XI.js} +13 -13
  132. package/dist/{runner-identity-TLNJZ5GX.js → runner-identity-6UUYHJVJ.js} +9 -9
  133. package/dist/{runner-key-SCZBL34Z.js → runner-key-R5HMAPIW.js} +43 -43
  134. package/dist/{session-sender-4FS2GKAY.js → session-sender-SOYN2W4Z.js} +16 -16
  135. package/dist/{spec-cmd-AAVXNWTV.js → spec-cmd-HVQQ73ST.js} +14 -14
  136. package/dist/{starter-pack-NAR72DKB.js → starter-pack-RI3RMOOM.js} +4 -4
  137. package/dist/{state-IASJSAJV.js → state-LBWBA36C.js} +7 -7
  138. package/dist/{status-67RF4KJ5.js → status-AGLJZQF2.js} +43 -43
  139. package/dist/{sync-cmd-K3V4D54W.js → sync-cmd-LGYH6DQH.js} +15 -15
  140. package/dist/update-steps-HN2DF4QW.js +80 -0
  141. package/dist/{watch-SAMIKKQC.js → watch-CHUOAXUM.js} +15 -15
  142. package/dist/{work-claim-cmd-ABWLXEVY.js → work-claim-cmd-2LDQQYWT.js} +19 -19
  143. package/dist/{work-cmd-L23VUS4H.js → work-cmd-ALCIHXMP.js} +13 -13
  144. package/dist/{work-comment-cmd-DRBGJAUD.js → work-comment-cmd-OSC5UISU.js} +15 -15
  145. package/dist/{work-demo-cmd-HT72ZB6K.js → work-demo-cmd-EUQ733UV.js} +13 -13
  146. package/dist/{work-logs-cmd-VSWZHEUJ.js → work-logs-cmd-ILW6PUQT.js} +13 -13
  147. package/dist/{work-open-pr-cmd-DOMZJJC3.js → work-open-pr-cmd-6IZNKXUC.js} +14 -14
  148. package/dist/{work-pr-cmd-FC3AJ67Y.js → work-pr-cmd-NC3L2W73.js} +13 -13
  149. package/dist/{work-proofs-cmd-AMH2EPX5.js → work-proofs-cmd-24BTANI3.js} +15 -15
  150. package/dist/{work-proofs-record-W75LA4IR.js → work-proofs-record-KGB7FN5R.js} +21 -21
  151. package/dist/{work-stop-cmd-J5DXU4BV.js → work-stop-cmd-C6TTKZW3.js} +13 -13
  152. package/package.json +1 -1
  153. package/dist/caller-CV2ANJ2W.js +0 -23
  154. package/dist/find-unit-AIXKASFJ.js +0 -24
  155. package/dist/host-checks-RF3ER7US.js +0 -79
  156. package/dist/init-WNPSZNXW.js +0 -79
  157. package/dist/loop-S5AG6MH7.js +0 -90
  158. package/dist/machine-DYSDAKOK.js +0 -79
  159. package/dist/pending-4PZIZNR5.js +0 -18
  160. package/dist/update-steps-CXWUNWCN.js +0 -80
@@ -1,50 +1,50 @@
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-TCBN5UX5.js';
4
- import './chunk-OM3XGJBY.js';
5
- import { verifiedTrackerNames, TRACKERS } from './chunk-DE64NSOH.js';
6
- import './chunk-NE2A2ZIY.js';
7
- import './chunk-WVZ6EKJ3.js';
8
- import './chunk-KRTIYEJI.js';
9
- import './chunk-T3MVV6LG.js';
10
- import './chunk-I5EZW66W.js';
11
- import './chunk-S7YLAN2P.js';
12
- import './chunk-45AYMLMT.js';
3
+ import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-TADKX7OA.js';
4
+ import './chunk-DU2QDWHB.js';
5
+ import { verifiedTrackerNames, TRACKERS } from './chunk-2BUZUDSH.js';
6
+ import './chunk-MA4ZUS4A.js';
7
+ import './chunk-3Z5KIYBR.js';
8
+ import './chunk-GPVZFUTD.js';
9
+ import './chunk-S6AZPAUS.js';
10
+ import './chunk-A72Q4LSP.js';
11
+ import './chunk-MFVANFEJ.js';
12
+ import './chunk-RJTFSUZI.js';
13
13
  import './chunk-F3T5QJ24.js';
14
- import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-7HRNYPL3.js';
14
+ import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-R6SOMMDQ.js';
15
15
  import './chunk-A6RI6KTI.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-IM4VUDKW.js';
19
- import './chunk-4YLF777T.js';
18
+ import './chunk-KYFMMW65.js';
19
+ import './chunk-6C6WH6KL.js';
20
20
  import './chunk-HWVMRETT.js';
21
- import './chunk-EKDQDOSS.js';
22
- import './chunk-PYPHE6FZ.js';
23
- import './chunk-B5BLIHJZ.js';
24
- import './chunk-DDOD4YOQ.js';
25
- import { hookFiredMarkerPath, installedCliDistDir } from './chunk-PJ5GYGC6.js';
21
+ import './chunk-UDX4B237.js';
22
+ import './chunk-KWOQTSSZ.js';
23
+ import './chunk-RFNETJEH.js';
24
+ import './chunk-EKPSKSEJ.js';
25
+ import { hookFiredMarkerPath, installedCliDistDir } from './chunk-JXHN4E4Q.js';
26
26
  import './chunk-545P7JY7.js';
27
27
  import './chunk-OV4XTV5M.js';
28
28
  import { findGitDirs } from './chunk-BJ3KTMDH.js';
29
29
  import './chunk-7TPLWWFN.js';
30
30
  import './chunk-BKO6JEZI.js';
31
- import './chunk-RYSGOWHG.js';
31
+ import './chunk-R6G7OGS6.js';
32
32
  import './chunk-NFZMENCY.js';
33
33
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
34
34
  import { cliInvocation, packageRunnerOf } from './chunk-FZKNTIOJ.js';
35
- import { installAgents, settingsFileOf, withSettingsText } from './chunk-INT54Z2T.js';
35
+ import { installAgents, settingsFileOf, withSettingsText } from './chunk-CQWXQDAZ.js';
36
36
  import { cliForInstall, SettingsParseError, PORTABLE_BIN, writeSettingsText, cliBinResolvable } from './chunk-ZHQC43NH.js';
37
- import './chunk-W72X24TZ.js';
37
+ import './chunk-NKQL3LHK.js';
38
38
  import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
39
39
  import { removeJournalHooks, removePreCommitGuardHook } from './chunk-CJPTUU2E.js';
40
- import { credentialAgent, credentialForms, credentialShapes } from './chunk-NDIV6GDC.js';
41
- import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-E6ESLX5E.js';
40
+ import { credentialAgent, credentialForms, credentialShapes } from './chunk-UN6X7TYJ.js';
41
+ import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-KQSRABR6.js';
42
42
  import './chunk-WWTZLRPH.js';
43
43
  import './chunk-QJKW4MKH.js';
44
44
  import './chunk-CDDED64E.js';
45
45
  import { resolveVersion, resolvePackageVersion } from './chunk-RA3O54FC.js';
46
46
  import { homeFromEnv } from './chunk-352DHUTP.js';
47
- import './chunk-WZOWXDDM.js';
47
+ import './chunk-FGA3EXGJ.js';
48
48
  import './chunk-WUKLQWGY.js';
49
49
  import './chunk-Z5GEFMRW.js';
50
50
  import { EventEmitter } from 'events';
@@ -3659,14 +3659,14 @@ function apiKeyOption() {
3659
3659
  return new Option("--api-key <key>", `deprecated: use \`${cliInvocation()} login\` or OUTERLAYER_API_KEY`).hideHelp();
3660
3660
  }
3661
3661
  async function installStarterPackInRepo() {
3662
- const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-NAR72DKB.js');
3662
+ const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-RI3RMOOM.js');
3663
3663
  const cwd = process.cwd();
3664
3664
  let repoRoot = cwd;
3665
3665
  try {
3666
3666
  repoRoot = execFileSync("git", ["rev-parse", "--show-toplevel"], { cwd, encoding: "utf8", stdio: ["ignore", "pipe", "ignore"] }).trim() || cwd;
3667
3667
  } catch {
3668
3668
  }
3669
- const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-YSNLYG6U.js');
3669
+ const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-J7NA2HJ3.js');
3670
3670
  const fresh = !isAgentsMdLayout(repoRoot) && !existsSync(join(repoRoot, ".outerlayer/skills")) && !existsSync(join(repoRoot, ".outerlayer/AGENTS.md"));
3671
3671
  const result = installStarterPack({ repoRoot, base: fresh ? ".agents/skills" : skillsBaseFor(repoRoot) });
3672
3672
  if (fresh) declareAgentsMdLayout(repoRoot);
@@ -3809,7 +3809,7 @@ ${starter.output}`),
3809
3809
  }
3810
3810
  }
3811
3811
  async function installMachineSkillsForSetup() {
3812
- const { setupMachineSkills } = await import('./machine-skills-WOAIOXAQ.js');
3812
+ const { setupMachineSkills } = await import('./machine-skills-UOF5X7OU.js');
3813
3813
  const result = setupMachineSkills(homeFromEnv());
3814
3814
  for (const failure of result.failures) process.stderr.write(`${C.yellow}!${C.reset} Could not write a maintained skill: ${failure}
3815
3815
  `);
@@ -3817,8 +3817,8 @@ async function installMachineSkillsForSetup() {
3817
3817
  ` : "";
3818
3818
  }
3819
3819
  async function realConnectDepsForCwd() {
3820
- const { realConnectDeps } = await import('./connect-cmd-CQNECBHI.js');
3821
- const { resolveRepoIdentity } = await import('./dist-LOBYZWOU.js');
3820
+ const { realConnectDeps } = await import('./connect-cmd-NA6MMPXY.js');
3821
+ const { resolveRepoIdentity } = await import('./dist-P4VFDPWT.js');
3822
3822
  return {
3823
3823
  ...realConnectDeps(),
3824
3824
  home: homeFromEnv(),
@@ -3835,7 +3835,7 @@ function buildProgram(argv = process.argv) {
3835
3835
  const program2 = new Command();
3836
3836
  program2.name(cliInvocation()).description("OuterLayer \u2014 see what your coding agents actually do").enablePositionalOptions().version(resolveVersion()).hook("preAction", async (_root, command) => {
3837
3837
  if (command.opts().apiKey !== void 0) warnDeprecated(API_KEY_FLAG_DEPRECATION);
3838
- const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-WOAIOXAQ.js');
3838
+ const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-UOF5X7OU.js');
3839
3839
  const names = [];
3840
3840
  for (let at = command; at?.parent; at = at.parent) names.push(at.name());
3841
3841
  if (!machineRefreshSkipped(names, command._hidden === true, argv)) refreshMachineSkills(homeFromEnv());
@@ -3892,8 +3892,8 @@ build, ../outerlayer-build/SKILL.md becomes ~/.agents/skills/outerlayer-build/SK
3892
3892
  what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocation() + " doctor` reports the same\nstates under Starter files.\n"
3893
3893
  ).action(async (opts) => {
3894
3894
  if (opts.update || opts.dryRun) {
3895
- const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-N3WBXLGD.js');
3896
- const { fleetReadiness } = await import('./fleet-readiness-ZF4UUANH.js');
3895
+ const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-4MNOI44P.js');
3896
+ const { fleetReadiness } = await import('./fleet-readiness-OBHMDNEQ.js');
3897
3897
  const problem = updateFlagProblem(opts);
3898
3898
  if (problem !== void 0) {
3899
3899
  fail(problem);
@@ -3910,7 +3910,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3910
3910
  }
3911
3911
  let starterTemplate;
3912
3912
  if (opts.template !== void 0) {
3913
- const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-NAR72DKB.js');
3913
+ const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-RI3RMOOM.js');
3914
3914
  try {
3915
3915
  assertKnownTemplate(opts.template);
3916
3916
  } catch (err) {
@@ -3944,13 +3944,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3944
3944
  if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
3945
3945
  `);
3946
3946
  }
3947
- const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-XOUXK2C7.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
3947
+ const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-QCLXU6F3.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
3948
3948
  if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
3949
3949
  else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
3950
3950
  return;
3951
3951
  }
3952
3952
  await installMachineSkillsForSetup();
3953
- const { runInitCommand } = await import('./init-cmd-XOUXK2C7.js');
3953
+ const { runInitCommand } = await import('./init-cmd-QCLXU6F3.js');
3954
3954
  const code = await runInitCommand(
3955
3955
  { json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
3956
3956
  {
@@ -3962,7 +3962,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3962
3962
  return { ok, text, detail };
3963
3963
  },
3964
3964
  runAgentSetup: async () => {
3965
- const { runAgentSetup } = await import('./agent-setup-X7AYIYU2.js');
3965
+ const { runAgentSetup } = await import('./agent-setup-PBHLFTH5.js');
3966
3966
  return runAgentSetup({ cwd: process.cwd(), skillsLink: opts.skillsLink !== false });
3967
3967
  },
3968
3968
  runDoctorChecks: gatherDoctorChecks,
@@ -3971,7 +3971,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
3971
3971
  shellPath: process.env.SHELL,
3972
3972
  interactive: Boolean(process.stdin.isTTY && process.stderr.isTTY) && opts.json !== true,
3973
3973
  ask: async () => {
3974
- const { promptOnTerminal } = await import('./connect-cmd-CQNECBHI.js');
3974
+ const { promptOnTerminal } = await import('./connect-cmd-NA6MMPXY.js');
3975
3975
  const answer = await promptOnTerminal({
3976
3976
  message: `Should plain claude start Claude Code through ${cliInvocation()} claude? That is how a session in a governed repository gets its control plane. It adds one block to your zsh or bash startup file.`,
3977
3977
  options: [
@@ -4010,7 +4010,7 @@ linked (true, false, or null when it could not be checked) and, when false,
4010
4010
  linkUrl.
4011
4011
  `
4012
4012
  ).action(async (opts) => {
4013
- const { runConnectCommand } = await import('./connect-cmd-CQNECBHI.js');
4013
+ const { runConnectCommand } = await import('./connect-cmd-NA6MMPXY.js');
4014
4014
  const code = await runConnectCommand({ factory: opts.factory, json: opts.json }, await realConnectDepsForCwd(), {
4015
4015
  stdout: process.stdout,
4016
4016
  stderr: process.stderr
@@ -4088,7 +4088,7 @@ code is 1: revoke the token on /profile/security.
4088
4088
  else fail(found.reason);
4089
4089
  return;
4090
4090
  }
4091
- const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-K3V4D54W.js');
4091
+ const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-LGYH6DQH.js');
4092
4092
  try {
4093
4093
  const result = await runSync({
4094
4094
  url: opts.url,
@@ -4117,7 +4117,7 @@ code is 1: revoke the token on /profile/security.
4117
4117
  if (invokedCommandToken(argv) === "watch") {
4118
4118
  warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
4119
4119
  }
4120
- const { runWatch } = await import('./watch-SAMIKKQC.js');
4120
+ const { runWatch } = await import('./watch-CHUOAXUM.js');
4121
4121
  await runWatch({ once: opts.once });
4122
4122
  });
4123
4123
  program2.command("hook <event>", { hidden: true }).description("capture-hook fast path, installed by `init`").action(() => {
@@ -4132,8 +4132,8 @@ code is 1: revoke the token on /profile/security.
4132
4132
  });
4133
4133
  }
4134
4134
  const brokerRelay = program2.command("broker-relay", { hidden: true }).description("relay a build's loopback connections to the runner's tunnel and destinations").enablePositionalOptions().option("--port <port>", "the loopback port to listen on").option("--socket <path>", "the runner's tunnel socket").option("--join <path>", "the socket the runner's joining process connects to").option("--lease-watchdog", "exit when the runner's lease expiry passes; needs --join").option("--forward <port=target>", "also relay a loopback port to a destination; repeatable", (value, previous) => [...previous, value], []).action(async (opts) => {
4135
- const { startRelay, startSessionRelay } = await import('./relay-JMCC6IJ4.js');
4136
- const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-RR5JOWOO.js');
4135
+ const { startRelay, startSessionRelay } = await import('./relay-3RRPUZKH.js');
4136
+ const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-ZFQ3QL76.js');
4137
4137
  const port = Number(opts.port);
4138
4138
  if (!Number.isInteger(port) || port < 1 || port > 65535) {
4139
4139
  fail(opts.port === void 0 ? "--port is required" : `--port must be a port number, not ${opts.port}`);
@@ -4165,7 +4165,7 @@ code is 1: revoke the token on /profile/security.
4165
4165
  await startRelay({ port, socketPath: opts.socket, forwards: forwards.map((forward) => ({ port: forward.port, socketPath: forward.spec })) });
4166
4166
  });
4167
4167
  brokerRelay.command("join").description("carry the runner's session to the relay over standard input and output").option("--socket <path>", "the relay's joining socket", "/run/outerlayer-relay/join.sock").action(async (opts) => {
4168
- const { joinRelay } = await import('./relay-JMCC6IJ4.js');
4168
+ const { joinRelay } = await import('./relay-3RRPUZKH.js');
4169
4169
  try {
4170
4170
  await joinRelay({ socketPath: opts.socket, input: process.stdin, output: process.stdout });
4171
4171
  } catch (err) {
@@ -4181,7 +4181,7 @@ code is 1: revoke the token on /profile/security.
4181
4181
  }
4182
4182
  });
4183
4183
  program2.command("vm-exec", { hidden: true }).description("run a command in a microVM build's guest through its exec agent").requiredOption("--socket <path>", "the Unix socket Firecracker serves the build's vsock device on").option("--user <user>", "the user to run as", "").option("--cwd <dir>", "the working directory", "/").option("--env <NAME=value>", "an environment value the command line carries; repeatable", (value, previous) => [...previous, value], []).option("--pass <NAME>", "an environment variable whose value is read from this process; repeatable", (value, previous) => [...previous, value], []).argument("<argv...>", "the command and its arguments").action(async (argv2, opts) => {
4184
- const { runVmExec } = await import('./exec-client-GW5ZI74B.js');
4184
+ const { runVmExec } = await import('./exec-client-GEN7MH5Q.js');
4185
4185
  const env = {};
4186
4186
  for (const entry of opts.env) {
4187
4187
  const eq = entry.indexOf("=");
@@ -4210,7 +4210,7 @@ code is 1: revoke the token on /profile/security.
4210
4210
  process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
4211
4211
  });
4212
4212
  program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
4213
- const { runSessionSender } = await import('./session-sender-4FS2GKAY.js');
4213
+ const { runSessionSender } = await import('./session-sender-SOYN2W4Z.js');
4214
4214
  try {
4215
4215
  await runSessionSender();
4216
4216
  } catch (err) {
@@ -4218,7 +4218,7 @@ code is 1: revoke the token on /profile/security.
4218
4218
  }
4219
4219
  });
4220
4220
  program2.command("vm-init", { hidden: true }).description("lay out a microVM build's guest; the guest helper runs it").action(async () => {
4221
- const { realGuestHost, runGuestInit } = await import('./guest-init-FPRVOOK5.js');
4221
+ const { realGuestHost, runGuestInit } = await import('./guest-init-XN7ZOOK5.js');
4222
4222
  const { readFileSync: readFileSync3 } = await import('fs');
4223
4223
  try {
4224
4224
  runGuestInit(realGuestHost(), readFileSync3("/proc/cmdline", "utf8"));
@@ -4227,7 +4227,7 @@ code is 1: revoke the token on /profile/security.
4227
4227
  }
4228
4228
  });
4229
4229
  program2.command("vm-forward", { hidden: true }).description("pipe a guest port to another; vm-init runs it").requiredOption("--listen <host:port>", "the address to listen on").requiredOption("--to <host:port>", "the address to pipe each connection to").action(async (opts) => {
4230
- const { startBridgeForward } = await import('./bridge-QJNA3KV6.js');
4230
+ const { startBridgeForward } = await import('./bridge-JYWNVBZW.js');
4231
4231
  try {
4232
4232
  await startBridgeForward(opts);
4233
4233
  } catch (err) {
@@ -4253,7 +4253,7 @@ async function runCli(processArgv) {
4253
4253
  await buildProgram(argv).parseAsync(argv);
4254
4254
  }
4255
4255
  async function compileContext(opts) {
4256
- const { runEmit, EmitError } = await import('./emit-cmd-S64A2LJ2.js');
4256
+ const { runEmit, EmitError } = await import('./emit-cmd-7JNFV35K.js');
4257
4257
  try {
4258
4258
  const result = runEmit({ cwd: opts.dir, check: opts.check, json: opts.json });
4259
4259
  if (result.exitCode !== 0) process.exitCode = result.exitCode;
@@ -4306,7 +4306,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
4306
4306
  await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
4307
4307
  return;
4308
4308
  }
4309
- const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-WGBZUASN.js');
4309
+ const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-P4NAJ2CH.js');
4310
4310
  try {
4311
4311
  const result = await runEmitResult({
4312
4312
  name,
@@ -4357,7 +4357,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
4357
4357
  locally so it never uploads. One correction can retire several duplicates.
4358
4358
  `
4359
4359
  ).action(async (file, opts) => {
4360
- const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-EGFKK4KF.js');
4360
+ const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-PQZZORYH.js');
4361
4361
  let pr;
4362
4362
  if (opts.pr !== void 0) {
4363
4363
  pr = parseTrackerNumber(opts.pr);
@@ -4413,7 +4413,7 @@ its criterion, and the new record retires the old record. The id must be the ite
4413
4413
  as \`work demo --item <n> --json\` prints it.
4414
4414
  `
4415
4415
  ).action(async (manifest, opts) => {
4416
- const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-QHKUH4Y3.js');
4416
+ const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-7SGOM2YU.js');
4417
4417
  let item;
4418
4418
  if (opts.item !== void 0) {
4419
4419
  item = parseTrackerNumber(opts.item);
@@ -4456,7 +4456,7 @@ as \`work demo --item <n> --json\` prints it.
4456
4456
  }
4457
4457
  });
4458
4458
  program2.command("demo-voice", { hidden: true }).description("Speak demo lines for a recorder: JSON lines in on stdin, out on stdout").action(async () => {
4459
- const { runDemoVoice } = await import('./demo-voice-cmd-4BOI7UDQ.js');
4459
+ const { runDemoVoice } = await import('./demo-voice-cmd-LAYGJR4O.js');
4460
4460
  await runDemoVoice();
4461
4461
  });
4462
4462
  const demoCmd = program2.command("demo").description("Record demos with the recorder this CLI carries");
@@ -4474,7 +4474,7 @@ and the command prints the manifest's path for \`emit demo\`. Under \`work proof
4474
4474
  to OUTERLAYER_PROOF_OUT instead. Exit 1 means the demo's test failed; its manifest is written all the same.
4475
4475
  `
4476
4476
  ).action(async (file, opts) => {
4477
- const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-QVK4YUIV.js');
4477
+ const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-6TY4YHDY.js');
4478
4478
  try {
4479
4479
  const result = await runDemoRecord({
4480
4480
  file,
@@ -4523,7 +4523,7 @@ recent events with their ids. --find <text> searches all of them.
4523
4523
  item that session was launched for is used automatically.
4524
4524
  `
4525
4525
  ).action(async (opts) => {
4526
- const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-DCEGWYY4.js');
4526
+ const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-2LEHV4FK.js');
4527
4527
  try {
4528
4528
  refuseRemovedFindingFlags(opts);
4529
4529
  const result = await runEmitFinding({
@@ -4590,7 +4590,7 @@ the whole batch. "untimed": true records one with no time on purpose.
4590
4590
  that session was launched for is used automatically.
4591
4591
  `
4592
4592
  ).action(async (file, opts) => {
4593
- const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-DCEGWYY4.js');
4593
+ const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-2LEHV4FK.js');
4594
4594
  try {
4595
4595
  const result = await runEmitFindings({
4596
4596
  file,
@@ -4625,7 +4625,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
4625
4625
  the step, the command prints why and exits 1.
4626
4626
  `
4627
4627
  ).action(async (name, opts) => {
4628
- const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-TFKMQZHD.js');
4628
+ const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-K6HYSFGW.js');
4629
4629
  try {
4630
4630
  await runEmitStep({
4631
4631
  name,
@@ -4668,7 +4668,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
4668
4668
  ${cliInvocation()} emit criteria acceptance/412-login.md --item 412
4669
4669
  `
4670
4670
  ).action(async (file, opts) => {
4671
- const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-L2YRIRCQ.js');
4671
+ const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-HXP5RCRU.js');
4672
4672
  try {
4673
4673
  const result = await runEmitCriteria({
4674
4674
  file,
@@ -4692,9 +4692,9 @@ function registerSpecCommands(program2) {
4692
4692
  const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
4693
4693
  const credentialOptions = (command) => command.option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)");
4694
4694
  const run = async (action) => {
4695
- const { WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
4695
+ const { WorkCommandError } = await import('./work-cmd-ALCIHXMP.js');
4696
4696
  try {
4697
- await action(await import('./spec-cmd-AAVXNWTV.js'));
4697
+ await action(await import('./spec-cmd-HVQQ73ST.js'));
4698
4698
  } catch (err) {
4699
4699
  if (err instanceof WorkCommandError) {
4700
4700
  fail(err.message);
@@ -4729,7 +4729,7 @@ Prints each problem the item covers with its id, its reports and its result.
4729
4729
  session was launched for is used.
4730
4730
  `
4731
4731
  ).action(async (opts) => {
4732
- const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-QO7OMGM6.js');
4732
+ const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-KCDAXNUH.js');
4733
4733
  try {
4734
4734
  const result = await runFindingsShow({
4735
4735
  item: opts.item,
@@ -4757,7 +4757,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
4757
4757
  problem to replace the earlier result. A problem the item does not cover is refused.
4758
4758
  `
4759
4759
  ).action(async (problem, opts) => {
4760
- const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-QO7OMGM6.js');
4760
+ const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-KCDAXNUH.js');
4761
4761
  try {
4762
4762
  const result = await runFindingsResult({
4763
4763
  problem,
@@ -4800,7 +4800,7 @@ takes it, and prints the line that starts your session on it. That
4800
4800
  session links itself and holds the item's lease while it works.
4801
4801
  `
4802
4802
  ).action(async (opts) => {
4803
- const { runWorkBuild, WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
4803
+ const { runWorkBuild, WorkCommandError } = await import('./work-cmd-ALCIHXMP.js');
4804
4804
  try {
4805
4805
  await runWorkBuild(opts);
4806
4806
  } catch (err) {
@@ -4823,7 +4823,7 @@ renews that session's own 20-minute lease, unless --no-lease or
4823
4823
  --ended is given, or another worker already holds a live one.
4824
4824
  `
4825
4825
  ).action(async (number, opts) => {
4826
- const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
4826
+ const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-ALCIHXMP.js');
4827
4827
  try {
4828
4828
  await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
4829
4829
  } catch (err) {
@@ -4854,8 +4854,8 @@ thread at its source. It takes a plain answer: no --criterion and no
4854
4854
  action flag.
4855
4855
  `
4856
4856
  ).action(async (opts) => {
4857
- const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-DRBGJAUD.js');
4858
- const { WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
4857
+ const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-OSC5UISU.js');
4858
+ const { WorkCommandError } = await import('./work-cmd-ALCIHXMP.js');
4859
4859
  try {
4860
4860
  await runWorkComment(opts);
4861
4861
  } catch (err) {
@@ -4877,7 +4877,7 @@ nothing and exits 0 when the call fails: the line goes to hook-errors.log,
4877
4877
  and the comment waits for the next agent job.
4878
4878
  `
4879
4879
  ).action(async (ids, opts) => {
4880
- const { runWorkCommentsRead } = await import('./work-comment-cmd-DRBGJAUD.js');
4880
+ const { runWorkCommentsRead } = await import('./work-comment-cmd-OSC5UISU.js');
4881
4881
  await runWorkCommentsRead({ ...opts, commentIds: ids });
4882
4882
  });
4883
4883
  workCmd.command("threads").description("Read a work item's general thread, its criterion threads and its source threads").requiredOption("--item <number>", "the item's number inside this factory").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").addHelpText(
@@ -4893,8 +4893,8 @@ that started outside OuterLayer, such as the line comments of a
4893
4893
  GitHub review, each with its id, source and comments.
4894
4894
  `
4895
4895
  ).action(async (opts) => {
4896
- const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-DRBGJAUD.js');
4897
- const { WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
4896
+ const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-OSC5UISU.js');
4897
+ const { WorkCommandError } = await import('./work-cmd-ALCIHXMP.js');
4898
4898
  try {
4899
4899
  await runWorkThreads(opts);
4900
4900
  } catch (err) {
@@ -4918,8 +4918,8 @@ still running, or that an older runner released, has no log and the
4918
4918
  command exits 1.
4919
4919
  `
4920
4920
  ).action(async (opts) => {
4921
- const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-VSWZHEUJ.js');
4922
- const { WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
4921
+ const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-ILW6PUQT.js');
4922
+ const { WorkCommandError } = await import('./work-cmd-ALCIHXMP.js');
4923
4923
  try {
4924
4924
  await runWorkLogs(opts);
4925
4925
  } catch (err) {
@@ -4942,8 +4942,8 @@ item is not built again until a new build request. Exits 1 when no host
4942
4942
  build is running for the item.
4943
4943
  `
4944
4944
  ).action(async (opts) => {
4945
- const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-J5DXU4BV.js');
4946
- const { WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
4945
+ const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-C6TTKZW3.js');
4946
+ const { WorkCommandError } = await import('./work-cmd-ALCIHXMP.js');
4947
4947
  try {
4948
4948
  await runWorkStop(opts);
4949
4949
  } catch (err) {
@@ -4964,8 +4964,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
4964
4964
  test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
4965
4965
  `
4966
4966
  ).action(async (opts) => {
4967
- const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-HT72ZB6K.js');
4968
- const { WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
4967
+ const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-EUQ733UV.js');
4968
+ const { WorkCommandError } = await import('./work-cmd-ALCIHXMP.js');
4969
4969
  try {
4970
4970
  await runWorkDemo(opts);
4971
4971
  } catch (err) {
@@ -4986,7 +4986,7 @@ deletes anything \u2014 the item is removed from Work only once no
4986
4986
  live addition remains on it.
4987
4987
  `
4988
4988
  ).action(async (opts) => {
4989
- const { runWorkRemove, WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
4989
+ const { runWorkRemove, WorkCommandError } = await import('./work-cmd-ALCIHXMP.js');
4990
4990
  try {
4991
4991
  await runWorkRemove(opts);
4992
4992
  } catch (err) {
@@ -4998,7 +4998,7 @@ live addition remains on it.
4998
4998
  }
4999
4999
  });
5000
5000
  workCmd.command("status").description("Show one item's stage, gate ledger, and additions").option("--item <number>", "the item's number inside this factory").option("--issue <number>", "issue number, or a Linear/Jira key like ENG-123").option(TRACKER_OPTION_FLAG, "tracker for a keyed --issue, when both hold the key").option("--repo <owner/name>", "repository for an issue number (default: the checkout's remote)").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").action(async (opts) => {
5001
- const { runWorkStatus, WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
5001
+ const { runWorkStatus, WorkCommandError } = await import('./work-cmd-ALCIHXMP.js');
5002
5002
  try {
5003
5003
  await runWorkStatus(opts);
5004
5004
  } catch (err) {
@@ -5043,11 +5043,11 @@ differs from HEAD.
5043
5043
  fail(trackerNumberError("--pr", opts.pr));
5044
5044
  return;
5045
5045
  }
5046
- const { runWorkProofsCommand } = await import('./work-proofs-cmd-AMH2EPX5.js');
5046
+ const { runWorkProofsCommand } = await import('./work-proofs-cmd-24BTANI3.js');
5047
5047
  await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
5048
5048
  });
5049
5049
  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) => {
5050
- const { runWorkList, WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
5050
+ const { runWorkList, WorkCommandError } = await import('./work-cmd-ALCIHXMP.js');
5051
5051
  try {
5052
5052
  await runWorkList(opts);
5053
5053
  } catch (err) {
@@ -5068,7 +5068,7 @@ by a different key is refused; claiming again with the same key extends
5068
5068
  it. --host is a label only.
5069
5069
  `
5070
5070
  ).action(async (opts) => {
5071
- const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-ABWLXEVY.js');
5071
+ const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-2LDQQYWT.js');
5072
5072
  try {
5073
5073
  await runWorkClaim(opts);
5074
5074
  } catch (err) {
@@ -5088,7 +5088,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
5088
5088
  lease has expired, or a 403 if a different key holds it.
5089
5089
  `
5090
5090
  ).action(async (opts) => {
5091
- const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-ABWLXEVY.js');
5091
+ const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-2LDQQYWT.js');
5092
5092
  try {
5093
5093
  await runWorkRenew(opts);
5094
5094
  } catch (err) {
@@ -5120,7 +5120,7 @@ applies to a host's lease only. A later tool call in the session
5120
5120
  takes the lease again.
5121
5121
  `
5122
5122
  ).action(async (opts) => {
5123
- const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-ABWLXEVY.js');
5123
+ const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-2LDQQYWT.js');
5124
5124
  try {
5125
5125
  await runWorkRelease(opts);
5126
5126
  } catch (err) {
@@ -5147,7 +5147,7 @@ Idempotent: declaring the same pull request twice is a no-op.
5147
5147
  needs your own login; an agent session or a factory key is refused.
5148
5148
  `
5149
5149
  ).action(async (number, opts) => {
5150
- const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-FC3AJ67Y.js');
5150
+ const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-NC3L2W73.js');
5151
5151
  try {
5152
5152
  await runWorkPr({ ...opts, number });
5153
5153
  } catch (err) {
@@ -5172,8 +5172,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
5172
5172
  Run it again after a change to the title or description.
5173
5173
  `
5174
5174
  ).action(async (opts) => {
5175
- const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-DOMZJJC3.js');
5176
- const { WorkCommandError } = await import('./work-cmd-L23VUS4H.js');
5175
+ const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-6IZNKXUC.js');
5176
+ const { WorkCommandError } = await import('./work-cmd-ALCIHXMP.js');
5177
5177
  try {
5178
5178
  await runWorkOpenPr(opts);
5179
5179
  } catch (err) {
@@ -5205,9 +5205,9 @@ function registerRunnerCommands(program2) {
5205
5205
  const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
5206
5206
  const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
5207
5207
  runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
5208
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-AUMW46GF.js');
5209
- const { start, RunnerStartError } = await import('./loop-S5AG6MH7.js');
5210
- const { RunnerAlreadyRunningError } = await import('./pidfile-P4DJ2C7S.js');
5208
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-2APX7UB2.js');
5209
+ const { start, RunnerStartError } = await import('./loop-7T33PKFZ.js');
5210
+ const { RunnerAlreadyRunningError } = await import('./pidfile-2FKC65BM.js');
5211
5211
  const configPath = opts.config ?? defaultRunnerConfigPath();
5212
5212
  try {
5213
5213
  const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
@@ -5229,10 +5229,10 @@ is optional and defaults to ${words().runnerName}. On a later start it refuses v
5229
5229
  The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5230
5230
  `
5231
5231
  ).action(async () => {
5232
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-AUMW46GF.js');
5233
- const { containerStart, containerStartExit } = await import('./container-start-QMWBV4TL.js');
5234
- const { start, RunnerStartError } = await import('./loop-S5AG6MH7.js');
5235
- const { RunnerAlreadyRunningError } = await import('./pidfile-P4DJ2C7S.js');
5232
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-2APX7UB2.js');
5233
+ const { containerStart, containerStartExit } = await import('./container-start-SUDA7O4K.js');
5234
+ const { start, RunnerStartError } = await import('./loop-7T33PKFZ.js');
5235
+ const { RunnerAlreadyRunningError } = await import('./pidfile-2FKC65BM.js');
5236
5236
  try {
5237
5237
  const outcome = containerStartExit(await containerStart({
5238
5238
  env: process.env,
@@ -5253,16 +5253,16 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5253
5253
  "after",
5254
5254
  "\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"
5255
5255
  ).action(async (opts) => {
5256
- const { defaultRunnerConfigPath } = await import('./config-AUMW46GF.js');
5257
- const { runnerDir } = await import('./paths-HV5GP5OV.js');
5258
- const { runUpdateSteps } = await import('./update-steps-CXWUNWCN.js');
5256
+ const { defaultRunnerConfigPath } = await import('./config-2APX7UB2.js');
5257
+ const { runnerDir } = await import('./paths-IMTP2VFJ.js');
5258
+ const { runUpdateSteps } = await import('./update-steps-HN2DF4QW.js');
5259
5259
  const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
5260
5260
  process.stdout.write(`${text}
5261
5261
  `);
5262
5262
  });
5263
5263
  runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
5264
- const { defaultRunnerConfigPath } = await import('./config-AUMW46GF.js');
5265
- const { runRunnerCheck } = await import('./check-FC4I4ZTM.js');
5264
+ const { defaultRunnerConfigPath } = await import('./config-2APX7UB2.js');
5265
+ const { runRunnerCheck } = await import('./check-3DBOM5UT.js');
5266
5266
  const configPath = opts.config ?? defaultRunnerConfigPath();
5267
5267
  const result = await runRunnerCheck(configPath);
5268
5268
  if (!result.ok) {
@@ -5283,8 +5283,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5283
5283
  `);
5284
5284
  });
5285
5285
  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) => {
5286
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-AUMW46GF.js');
5287
- const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-GJNKXZN2.js');
5286
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-2APX7UB2.js');
5287
+ const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-LTIF23I4.js');
5288
5288
  const configPath = opts.config ?? defaultRunnerConfigPath();
5289
5289
  if (opts.service !== true) {
5290
5290
  const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
@@ -5296,13 +5296,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
5296
5296
  }
5297
5297
  }
5298
5298
  const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
5299
- if (buildCpusMax !== void 0 && !(await import('./command-LQ77DEWJ.js')).cpusAreValid(buildCpusMax)) {
5299
+ if (buildCpusMax !== void 0 && !(await import('./command-FJIGATGO.js')).cpusAreValid(buildCpusMax)) {
5300
5300
  fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
5301
5301
  return;
5302
5302
  }
5303
5303
  try {
5304
5304
  if (opts.service === true) {
5305
- const { installServiceCommand } = await import('./command-LQ77DEWJ.js');
5305
+ const { installServiceCommand } = await import('./command-FJIGATGO.js');
5306
5306
  const result2 = await installServiceCommand({
5307
5307
  configPath,
5308
5308
  print: opts.print,
@@ -5359,8 +5359,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
5359
5359
  fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
5360
5360
  return;
5361
5361
  }
5362
- const { defaultRunnerConfigPath } = await import('./config-AUMW46GF.js');
5363
- const { uninstallServiceCommand } = await import('./command-LQ77DEWJ.js');
5362
+ const { defaultRunnerConfigPath } = await import('./config-2APX7UB2.js');
5363
+ const { uninstallServiceCommand } = await import('./command-FJIGATGO.js');
5364
5364
  const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
5365
5365
  if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
5366
5366
  `);
@@ -5387,13 +5387,13 @@ already in ${words().envFile} is used.
5387
5387
  printf '%s' "$${words().variables[0]}" | ${cliInvocation()} runner init --agent ${words().runnerName} --factory <org>/<factory>
5388
5388
  `
5389
5389
  ).action(async (opts) => {
5390
- const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-AUMW46GF.js');
5391
- const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-WNPSZNXW.js');
5392
- const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-SCZBL34Z.js');
5393
- const { detectMachine } = await import('./machine-DYSDAKOK.js');
5394
- const { chooseVm, runVmInit, VmInitError } = await import('./init-VB73MMYI.js');
5395
- const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-DXGJIUBT.js');
5396
- const { headlessNames } = await import('./runner-agents-RO4TU5N4.js');
5390
+ const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-2APX7UB2.js');
5391
+ const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-5LCIMEBR.js');
5392
+ const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-R5HMAPIW.js');
5393
+ const { detectMachine } = await import('./machine-D7P4L63X.js');
5394
+ const { chooseVm, runVmInit, VmInitError } = await import('./init-RTJUSLNZ.js');
5395
+ const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-CDNYK5XI.js');
5396
+ const { headlessNames } = await import('./runner-agents-3A2SJEZ7.js');
5397
5397
  const configPath = opts.config ?? defaultRunnerConfigPath();
5398
5398
  if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
5399
5399
  fail(`--agent ${opts.agent}: runner init writes commands for ${headlessNames().join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
@@ -5424,7 +5424,7 @@ already in ${words().envFile} is used.
5424
5424
  const chunks = [];
5425
5425
  for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
5426
5426
  const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
5427
- const { ensureHostKey: ensureHostKey2 } = await import('./host-key-WG4KPVLI.js');
5427
+ const { ensureHostKey: ensureHostKey2 } = await import('./host-key-V6D7QGRX.js');
5428
5428
  const hostKey2 = await ensureHostKey2(configPath);
5429
5429
  process.stdout.write(`host key ${hostKey2.fingerprint}
5430
5430
  hooks: ${result2.hooks}
@@ -5479,7 +5479,7 @@ hooks: ${result2.hooks}
5479
5479
  const prepared = prepareRunnerInit(configPath, { machine, agent, credential, keyFromLogin: makeKey !== void 0 });
5480
5480
  const created = makeKey === void 0 ? void 0 : await makeKey();
5481
5481
  const result = writeRunnerInit(prepared, created);
5482
- const { ensureHostKey } = await import('./host-key-WG4KPVLI.js');
5482
+ const { ensureHostKey } = await import('./host-key-V6D7QGRX.js');
5483
5483
  const hostKey = await ensureHostKey(configPath);
5484
5484
  if (created !== void 0) {
5485
5485
  process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
@@ -5499,7 +5499,7 @@ hooks: ${result2.hooks}
5499
5499
  );
5500
5500
  process.stdout.write(`${C.green}\u2713${C.reset} hooks: ${result.hooks}${result.hooks === "builtin:vm" ? " (builds run in microVMs)" : " (builds run in containers)"}
5501
5501
  `);
5502
- const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-GJNKXZN2.js');
5502
+ const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-LTIF23I4.js');
5503
5503
  let installedLayout = false;
5504
5504
  let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
5505
5505
  try {
@@ -5531,7 +5531,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
5531
5531
  let serviceUp = false;
5532
5532
  let restart;
5533
5533
  if (installedLayout) {
5534
- const { installServiceCommand } = await import('./command-LQ77DEWJ.js');
5534
+ const { installServiceCommand } = await import('./command-FJIGATGO.js');
5535
5535
  const service = await installServiceCommand({
5536
5536
  configPath,
5537
5537
  entryPath: process.argv[1] ?? "",
@@ -5583,12 +5583,12 @@ image holds this CLI and a pinned ${words().agent}. Nothing runs inside the imag
5583
5583
  A repository with no devcontainer file builds on the universal image the CLI pins by digest.
5584
5584
  `
5585
5585
  ).action(async (opts) => {
5586
- const { defaultRunnerConfigPath } = await import('./config-AUMW46GF.js');
5587
- const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-5RXY5MG3.js');
5586
+ const { defaultRunnerConfigPath } = await import('./config-2APX7UB2.js');
5587
+ const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-G25G35OY.js');
5588
5588
  const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
5589
- const { createDockerHost } = await import('./docker-ILVTK2GR.js');
5590
- const { builderSpec } = await import('./builder-FS4BB6Y6.js');
5591
- const { loadRunnerConfig } = await import('./config-AUMW46GF.js');
5589
+ const { createDockerHost } = await import('./docker-PS5OVPIF.js');
5590
+ const { builderSpec } = await import('./builder-VV5Q3IOR.js');
5591
+ const { loadRunnerConfig } = await import('./config-2APX7UB2.js');
5592
5592
  const configPath = opts.config ?? defaultRunnerConfigPath();
5593
5593
  const loaded = (() => {
5594
5594
  try {
@@ -5599,12 +5599,12 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5599
5599
  })();
5600
5600
  const memory = loaded?.build?.memory ?? "8g";
5601
5601
  try {
5602
- const { ensureRunnerIdentity } = await import('./runner-identity-TLNJZ5GX.js');
5602
+ const { ensureRunnerIdentity } = await import('./runner-identity-6UUYHJVJ.js');
5603
5603
  await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
5604
5604
  console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
5605
5605
  });
5606
- const { imageTargetFor } = await import('./governing-source-JYK3VK23.js');
5607
- const { runnerCalls } = await import('./caller-CV2ANJ2W.js');
5606
+ const { imageTargetFor } = await import('./governing-source-4PJ6W6RY.js');
5607
+ const { runnerCalls } = await import('./caller-GSOX6OEA.js');
5608
5608
  const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
5609
5609
  if (!target.ok) {
5610
5610
  if (opts.json) {
@@ -5668,25 +5668,25 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5668
5668
  }
5669
5669
  });
5670
5670
  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) => {
5671
- const { defaultRunnerConfigPath } = await import('./config-AUMW46GF.js');
5672
- const { requestStop } = await import('./loop-S5AG6MH7.js');
5671
+ const { defaultRunnerConfigPath } = await import('./config-2APX7UB2.js');
5672
+ const { requestStop } = await import('./loop-7T33PKFZ.js');
5673
5673
  const configPath = opts.config ?? defaultRunnerConfigPath();
5674
- const { runnerImageVersion } = await import('./image-tag-GZW7HJBN.js');
5674
+ const { runnerImageVersion } = await import('./image-tag-MAWC5FC5.js');
5675
5675
  await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
5676
5676
  });
5677
5677
  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) => {
5678
- const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-AUMW46GF.js');
5679
- const { jobsDir, runnerDir } = await import('./paths-HV5GP5OV.js');
5680
- const { listJobFiles, runnerProcessState } = await import('./loop-S5AG6MH7.js');
5681
- const { renderStatus } = await import('./status-67RF4KJ5.js');
5682
- const { readHousekeepingRecord } = await import('./record-UOVUKWPV.js');
5678
+ const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-2APX7UB2.js');
5679
+ const { jobsDir, runnerDir } = await import('./paths-IMTP2VFJ.js');
5680
+ const { listJobFiles, runnerProcessState } = await import('./loop-7T33PKFZ.js');
5681
+ const { renderStatus } = await import('./status-AGLJZQF2.js');
5682
+ const { readHousekeepingRecord } = await import('./record-KD3622E7.js');
5683
5683
  const path2 = await import('path');
5684
5684
  const configPath = opts.config ?? defaultRunnerConfigPath();
5685
5685
  const all = listJobFiles(configPath);
5686
5686
  const housekeeping = readHousekeepingRecord(runnerDir(configPath));
5687
- const { readPendingUpdate } = await import('./pending-4PZIZNR5.js');
5687
+ const { readPendingUpdate } = await import('./pending-6LTQDPDQ.js');
5688
5688
  const pendingUpdate = readPendingUpdate(runnerDir(configPath));
5689
- const { readImageStatus } = await import('./image-tag-GZW7HJBN.js');
5689
+ const { readImageStatus } = await import('./image-tag-MAWC5FC5.js');
5690
5690
  const image = readImageStatus(runnerDir(configPath));
5691
5691
  let host = "unknown";
5692
5692
  let concurrency = 1;
@@ -5696,7 +5696,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5696
5696
  host = config.host;
5697
5697
  concurrency = config.concurrency;
5698
5698
  if (config.fleet === true) {
5699
- const { readFleetState } = await import('./state-IASJSAJV.js');
5699
+ const { readFleetState } = await import('./state-LBWBA36C.js');
5700
5700
  fleet = { state: readFleetState(configPath) };
5701
5701
  }
5702
5702
  } catch {
@@ -5704,7 +5704,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5704
5704
  const processState = runnerProcessState(configPath);
5705
5705
  const service = await (async () => {
5706
5706
  if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
5707
- const { inspectRunnerService } = await import('./find-unit-AIXKASFJ.js');
5707
+ const { inspectRunnerService } = await import('./find-unit-UCWO22YS.js');
5708
5708
  const facts = inspectRunnerService(configPath);
5709
5709
  return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
5710
5710
  })();
@@ -5743,9 +5743,9 @@ A repository with no devcontainer file builds on the universal image the CLI pin
5743
5743
  );
5744
5744
  });
5745
5745
  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) => {
5746
- const { defaultRunnerConfigPath } = await import('./config-AUMW46GF.js');
5747
- const { listJobFiles } = await import('./loop-S5AG6MH7.js');
5748
- const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-IMTZ733E.js');
5746
+ const { defaultRunnerConfigPath } = await import('./config-2APX7UB2.js');
5747
+ const { listJobFiles } = await import('./loop-7T33PKFZ.js');
5748
+ const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-44SEY5AH.js');
5749
5749
  const configPath = opts.config ?? defaultRunnerConfigPath();
5750
5750
  const jobs = listJobFiles(configPath);
5751
5751
  const selected = selectAttempt(jobs, itemArg);
@@ -5966,7 +5966,7 @@ Self-host deployments also need --app-id: without a key service to resolve the
5966
5966
  caller from the bearer token, the gateway answers 401 without that header.
5967
5967
  `
5968
5968
  ).action(async (opts) => {
5969
- const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-NFMA6PSL.js');
5969
+ const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-6CP7ODB4.js');
5970
5970
  try {
5971
5971
  if (opts.transport !== void 0 && opts.transport !== "stdio" && opts.transport !== "http") {
5972
5972
  throw new McpInstallError(`--transport must be "stdio" or "http", got "${opts.transport}"`);
@@ -5988,7 +5988,7 @@ caller from the bearer token, the gateway answers 401 without that header.
5988
5988
  "after",
5989
5989
  "\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"
5990
5990
  ).action(async (opts) => {
5991
- const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-27QGBQGR.js');
5991
+ const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-QOPRMVCR.js');
5992
5992
  try {
5993
5993
  await runMcpServe({ url: opts.url, appId: opts.appId });
5994
5994
  } catch (err) {
@@ -6009,7 +6009,7 @@ would get, the instruction files and the names of the skills. It warns when the
6009
6009
  no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
6010
6010
  `
6011
6011
  ).action(async (opts) => {
6012
- const { runContextShow, ContextShowError } = await import('./context-show-cmd-XODQYX7H.js');
6012
+ const { runContextShow, ContextShowError } = await import('./context-show-cmd-PCKELSP2.js');
6013
6013
  try {
6014
6014
  const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
6015
6015
  process.stdout.write(result.output);