infra-kit 0.1.127 → 0.1.129

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 (755) hide show
  1. package/dist/chunk-2PZRQHWF.js +2 -0
  2. package/dist/chunk-2PZRQHWF.js.map +7 -0
  3. package/dist/chunk-6RRAK2QO.js +5 -0
  4. package/dist/chunk-6RRAK2QO.js.map +7 -0
  5. package/dist/chunk-IX2A34UU.js +2 -0
  6. package/dist/chunk-IX2A34UU.js.map +7 -0
  7. package/dist/chunk-V5IDN7ZM.js +162 -0
  8. package/dist/chunk-V5IDN7ZM.js.map +7 -0
  9. package/dist/chunk-Z6KTUVIC.js +2 -0
  10. package/dist/chunk-Z6KTUVIC.js.map +7 -0
  11. package/dist/cli.js +4 -4
  12. package/dist/cli.js.map +3 -3
  13. package/dist/dev-server.js +15 -10
  14. package/dist/dev-server.js.map +4 -4
  15. package/dist/entry/index.d.ts +1 -1
  16. package/dist/entry/vite.d.ts +2 -0
  17. package/dist/index.js +1 -1
  18. package/dist/lib/package-config/package-config-schema.d.ts +35 -0
  19. package/dist/lib/package-config/package-config.d.ts +28 -0
  20. package/dist/lib/release-slug/release-slug.d.ts +19 -0
  21. package/dist/lib/vite/vite.d.ts +135 -0
  22. package/dist/mcp.js +1 -1
  23. package/dist/mcp.js.map +1 -1
  24. package/dist/vite.js +2 -0
  25. package/dist/vite.js.map +7 -0
  26. package/package.json +10 -2
  27. package/.eslintcache +0 -1
  28. package/.omc/state/agent-replay-036daa78-5fee-4c7d-9b44-53584acb0d87.jsonl +0 -26
  29. package/.omc/state/agent-replay-0a58307d-2a37-4c69-851c-83a646502d62.jsonl +0 -1
  30. package/.omc/state/agent-replay-0a65ec83-9de7-458d-9d0f-e56e1a26c68e.jsonl +0 -2
  31. package/.omc/state/agent-replay-0d1515ce-4ebe-4ce8-a865-2897f68de168.jsonl +0 -1
  32. package/.omc/state/agent-replay-11c41aa0-51fa-49e1-a1dc-26dcd6ac26cc.jsonl +0 -16
  33. package/.omc/state/agent-replay-127837d3-a000-4656-9453-2324ab353723.jsonl +0 -5
  34. package/.omc/state/agent-replay-15c409af-24fa-4026-88d3-a82dd1e68b87.jsonl +0 -11
  35. package/.omc/state/agent-replay-1b6ffc57-2d9b-4af4-b603-f1cef7e01b0a.jsonl +0 -17
  36. package/.omc/state/agent-replay-1fcfe0ec-7567-41c3-9bfd-501e99e86819.jsonl +0 -19
  37. package/.omc/state/agent-replay-2ac0dcd0-01f7-41a8-a8c9-f2195599817b.jsonl +0 -5
  38. package/.omc/state/agent-replay-2ccbd177-0d5d-4d4a-ab94-a22464786221.jsonl +0 -1
  39. package/.omc/state/agent-replay-36d91435-50b4-442f-9f4e-3cc68d776236.jsonl +0 -2
  40. package/.omc/state/agent-replay-38382db5-3088-4b5a-aff7-2561a60827c7.jsonl +0 -17
  41. package/.omc/state/agent-replay-4cf1c186-81b2-497c-b002-d7f84e7839f3.jsonl +0 -9
  42. package/.omc/state/agent-replay-50c36be9-a3a2-42b9-9c85-5a06d3e22f6a.jsonl +0 -5
  43. package/.omc/state/agent-replay-5c4ab554-64f1-42ae-83e3-21e0237e955c.jsonl +0 -11
  44. package/.omc/state/agent-replay-6be1264f-8069-4412-8119-86118ed1943e.jsonl +0 -3
  45. package/.omc/state/agent-replay-707b4784-2117-4b19-ae68-68a031f0d76d.jsonl +0 -2
  46. package/.omc/state/agent-replay-74afa912-1443-4011-b4f2-db9f055cdd9f.jsonl +0 -3
  47. package/.omc/state/agent-replay-8198b3e5-fad6-4ee0-9c59-ef773ad89af4.jsonl +0 -1
  48. package/.omc/state/agent-replay-8cd7652a-b8b5-49cf-9b1f-bee8e5972458.jsonl +0 -3
  49. package/.omc/state/agent-replay-8dd0ad2f-3a90-4158-b9de-ec8e19a7c983.jsonl +0 -3
  50. package/.omc/state/agent-replay-9bea518f-a9ee-4d14-bb53-a936ebaf647c.jsonl +0 -7
  51. package/.omc/state/agent-replay-a60ac2ec-afbd-449f-a540-6df287392fc2.jsonl +0 -1
  52. package/.omc/state/agent-replay-afc6290b-40d3-4bef-b3b6-14484c034ab9.jsonl +0 -14
  53. package/.omc/state/agent-replay-b52d89fb-0e24-4901-bc66-27e3c1697126.jsonl +0 -2
  54. package/.omc/state/agent-replay-be37e426-6fc8-47f4-8178-221c8494551c.jsonl +0 -3
  55. package/.omc/state/agent-replay-c967c819-3d1c-447b-ab48-56a8448ef9f8.jsonl +0 -2
  56. package/.omc/state/agent-replay-d02e6565-5168-40c8-8629-de219a29fa43.jsonl +0 -2
  57. package/.omc/state/agent-replay-d367c3be-9c2a-48e7-bcea-b45861af568c.jsonl +0 -2
  58. package/.omc/state/agent-replay-d5aae73c-340d-4aa2-9fe0-1bf2d79b69dc.jsonl +0 -10
  59. package/.omc/state/agent-replay-e947a3c6-989d-4a60-91dd-6b0ddd827b2d.jsonl +0 -3
  60. package/.omc/state/agent-replay-eb44055b-c2fa-4e66-b491-a1d9b44f51c7.jsonl +0 -1
  61. package/.omc/state/agent-replay-f2846d8f-974c-486c-b16f-4bdaa28ca45f.jsonl +0 -2
  62. package/.omc/state/agent-replay-f581a1ae-0ee4-48a3-96f3-ce31a0633bb0.jsonl +0 -1
  63. package/.omc/state/agent-replay-f99d8dad-81d1-4987-8183-62edf0843d0c.jsonl +0 -2
  64. package/.omc/state/agent-replay-fe1057b4-9a25-4e8e-8c3f-3e11652ee697.jsonl +0 -5
  65. package/.omc/state/idle-notif-cooldown.json +0 -3
  66. package/.omc/state/last-tool-error.json +0 -7
  67. package/.omc/state/mission-state.json +0 -53
  68. package/.omc/state/sessions/036daa78-5fee-4c7d-9b44-53584acb0d87/last-tool-error-state.json +0 -7
  69. package/.omc/state/sessions/036daa78-5fee-4c7d-9b44-53584acb0d87/mission-state.json +0 -129
  70. package/.omc/state/sessions/036daa78-5fee-4c7d-9b44-53584acb0d87/pre-tool-advisory-throttle.json +0 -34
  71. package/.omc/state/sessions/036daa78-5fee-4c7d-9b44-53584acb0d87/ralph-state.json +0 -13
  72. package/.omc/state/sessions/036daa78-5fee-4c7d-9b44-53584acb0d87/ralplan-state.json +0 -11
  73. package/.omc/state/sessions/036daa78-5fee-4c7d-9b44-53584acb0d87/subagent-tracking-state.json +0 -80
  74. package/.omc/state/sessions/036daa78-5fee-4c7d-9b44-53584acb0d87/ultrawork-state.json +0 -11
  75. package/.omc/state/sessions/0a58307d-2a37-4c69-851c-83a646502d62/pre-tool-advisory-throttle.json +0 -18
  76. package/.omc/state/sessions/0a58307d-2a37-4c69-851c-83a646502d62/subagent-tracking-state.json +0 -7
  77. package/.omc/state/sessions/0a65ec83-9de7-458d-9d0f-e56e1a26c68e/pre-tool-advisory-throttle.json +0 -18
  78. package/.omc/state/sessions/0a65ec83-9de7-458d-9d0f-e56e1a26c68e/skill-active-state.json +0 -15
  79. package/.omc/state/sessions/0d1515ce-4ebe-4ce8-a865-2897f68de168/pre-tool-advisory-throttle.json +0 -10
  80. package/.omc/state/sessions/11c41aa0-51fa-49e1-a1dc-26dcd6ac26cc/last-tool-error-state.json +0 -7
  81. package/.omc/state/sessions/11c41aa0-51fa-49e1-a1dc-26dcd6ac26cc/mission-state.json +0 -117
  82. package/.omc/state/sessions/11c41aa0-51fa-49e1-a1dc-26dcd6ac26cc/pre-tool-advisory-throttle.json +0 -42
  83. package/.omc/state/sessions/11c41aa0-51fa-49e1-a1dc-26dcd6ac26cc/subagent-tracking-state.json +0 -53
  84. package/.omc/state/sessions/127837d3-a000-4656-9453-2324ab353723/mission-state.json +0 -61
  85. package/.omc/state/sessions/127837d3-a000-4656-9453-2324ab353723/pre-tool-advisory-throttle.json +0 -22
  86. package/.omc/state/sessions/127837d3-a000-4656-9453-2324ab353723/skill-active-state.json +0 -15
  87. package/.omc/state/sessions/127837d3-a000-4656-9453-2324ab353723/subagent-tracking-state.json +0 -26
  88. package/.omc/state/sessions/15c409af-24fa-4026-88d3-a82dd1e68b87/last-tool-error-state.json +0 -7
  89. package/.omc/state/sessions/15c409af-24fa-4026-88d3-a82dd1e68b87/mission-state.json +0 -89
  90. package/.omc/state/sessions/15c409af-24fa-4026-88d3-a82dd1e68b87/pre-tool-advisory-throttle.json +0 -34
  91. package/.omc/state/sessions/15c409af-24fa-4026-88d3-a82dd1e68b87/ralph-state.json +0 -13
  92. package/.omc/state/sessions/15c409af-24fa-4026-88d3-a82dd1e68b87/skill-active-state.json +0 -15
  93. package/.omc/state/sessions/15c409af-24fa-4026-88d3-a82dd1e68b87/subagent-tracking-state.json +0 -44
  94. package/.omc/state/sessions/15c409af-24fa-4026-88d3-a82dd1e68b87/ultrawork-state.json +0 -11
  95. package/.omc/state/sessions/1b6ffc57-2d9b-4af4-b603-f1cef7e01b0a/last-tool-error-state.json +0 -7
  96. package/.omc/state/sessions/1b6ffc57-2d9b-4af4-b603-f1cef7e01b0a/mission-state.json +0 -139
  97. package/.omc/state/sessions/1b6ffc57-2d9b-4af4-b603-f1cef7e01b0a/pre-tool-advisory-throttle.json +0 -50
  98. package/.omc/state/sessions/1b6ffc57-2d9b-4af4-b603-f1cef7e01b0a/ralplan-state.json +0 -11
  99. package/.omc/state/sessions/1b6ffc57-2d9b-4af4-b603-f1cef7e01b0a/subagent-tracking-state.json +0 -90
  100. package/.omc/state/sessions/1fcfe0ec-7567-41c3-9bfd-501e99e86819/last-tool-error-state.json +0 -7
  101. package/.omc/state/sessions/1fcfe0ec-7567-41c3-9bfd-501e99e86819/mission-state.json +0 -109
  102. package/.omc/state/sessions/1fcfe0ec-7567-41c3-9bfd-501e99e86819/pre-tool-advisory-throttle.json +0 -42
  103. package/.omc/state/sessions/1fcfe0ec-7567-41c3-9bfd-501e99e86819/ralph-state.json +0 -13
  104. package/.omc/state/sessions/1fcfe0ec-7567-41c3-9bfd-501e99e86819/skill-active-state.json +0 -15
  105. package/.omc/state/sessions/1fcfe0ec-7567-41c3-9bfd-501e99e86819/subagent-tracking-state.json +0 -62
  106. package/.omc/state/sessions/1fcfe0ec-7567-41c3-9bfd-501e99e86819/ultrawork-state.json +0 -11
  107. package/.omc/state/sessions/23d0ff82-17e5-428b-8743-38f7979bb6f3/last-tool-error-state.json +0 -7
  108. package/.omc/state/sessions/23d0ff82-17e5-428b-8743-38f7979bb6f3/pre-tool-advisory-throttle.json +0 -18
  109. package/.omc/state/sessions/2ac0dcd0-01f7-41a8-a8c9-f2195599817b/last-tool-error-state.json +0 -7
  110. package/.omc/state/sessions/2ac0dcd0-01f7-41a8-a8c9-f2195599817b/mission-state.json +0 -79
  111. package/.omc/state/sessions/2ac0dcd0-01f7-41a8-a8c9-f2195599817b/pre-tool-advisory-throttle.json +0 -10
  112. package/.omc/state/sessions/2ac0dcd0-01f7-41a8-a8c9-f2195599817b/skill-active-state.json +0 -15
  113. package/.omc/state/sessions/2ac0dcd0-01f7-41a8-a8c9-f2195599817b/subagent-tracking-state.json +0 -26
  114. package/.omc/state/sessions/2ccbd177-0d5d-4d4a-ab94-a22464786221/pre-tool-advisory-throttle.json +0 -18
  115. package/.omc/state/sessions/2ccbd177-0d5d-4d4a-ab94-a22464786221/subagent-tracking-state.json +0 -17
  116. package/.omc/state/sessions/36d91435-50b4-442f-9f4e-3cc68d776236/pre-tool-advisory-throttle.json +0 -18
  117. package/.omc/state/sessions/36d91435-50b4-442f-9f4e-3cc68d776236/subagent-tracking-state.json +0 -17
  118. package/.omc/state/sessions/38382db5-3088-4b5a-aff7-2561a60827c7/last-tool-error-state.json +0 -7
  119. package/.omc/state/sessions/38382db5-3088-4b5a-aff7-2561a60827c7/mission-state.json +0 -145
  120. package/.omc/state/sessions/38382db5-3088-4b5a-aff7-2561a60827c7/pre-tool-advisory-throttle.json +0 -38
  121. package/.omc/state/sessions/38382db5-3088-4b5a-aff7-2561a60827c7/ralplan-state.json +0 -11
  122. package/.omc/state/sessions/38382db5-3088-4b5a-aff7-2561a60827c7/subagent-tracking-state.json +0 -98
  123. package/.omc/state/sessions/3a844fbd-ace8-4af1-8516-33d611839886/pre-tool-advisory-throttle.json +0 -18
  124. package/.omc/state/sessions/41336850-028c-476b-be1a-2164e1e46cac/last-tool-error-state.json +0 -7
  125. package/.omc/state/sessions/41336850-028c-476b-be1a-2164e1e46cac/pre-tool-advisory-throttle.json +0 -18
  126. package/.omc/state/sessions/4cf1c186-81b2-497c-b002-d7f84e7839f3/last-tool-error-state.json +0 -7
  127. package/.omc/state/sessions/4cf1c186-81b2-497c-b002-d7f84e7839f3/pre-tool-advisory-throttle.json +0 -18
  128. package/.omc/state/sessions/4cf1c186-81b2-497c-b002-d7f84e7839f3/subagent-tracking-state.json +0 -7
  129. package/.omc/state/sessions/50c36be9-a3a2-42b9-9c85-5a06d3e22f6a/mission-state.json +0 -61
  130. package/.omc/state/sessions/50c36be9-a3a2-42b9-9c85-5a06d3e22f6a/pre-tool-advisory-throttle.json +0 -22
  131. package/.omc/state/sessions/50c36be9-a3a2-42b9-9c85-5a06d3e22f6a/skill-active-state.json +0 -15
  132. package/.omc/state/sessions/50c36be9-a3a2-42b9-9c85-5a06d3e22f6a/subagent-tracking-state.json +0 -26
  133. package/.omc/state/sessions/560ea519-574a-4713-b134-5bf6cfaf3c33/pre-tool-advisory-throttle.json +0 -18
  134. package/.omc/state/sessions/5c4ab554-64f1-42ae-83e3-21e0237e955c/mission-state.json +0 -117
  135. package/.omc/state/sessions/5c4ab554-64f1-42ae-83e3-21e0237e955c/pre-tool-advisory-throttle.json +0 -18
  136. package/.omc/state/sessions/5c4ab554-64f1-42ae-83e3-21e0237e955c/subagent-tracking-state.json +0 -17
  137. package/.omc/state/sessions/6be1264f-8069-4412-8119-86118ed1943e/last-tool-error-state.json +0 -7
  138. package/.omc/state/sessions/6be1264f-8069-4412-8119-86118ed1943e/mission-state.json +0 -53
  139. package/.omc/state/sessions/6be1264f-8069-4412-8119-86118ed1943e/pre-tool-advisory-throttle.json +0 -22
  140. package/.omc/state/sessions/6be1264f-8069-4412-8119-86118ed1943e/skill-active-state.json +0 -15
  141. package/.omc/state/sessions/6be1264f-8069-4412-8119-86118ed1943e/subagent-tracking-state.json +0 -17
  142. package/.omc/state/sessions/707b4784-2117-4b19-ae68-68a031f0d76d/pre-tool-advisory-throttle.json +0 -18
  143. package/.omc/state/sessions/707b4784-2117-4b19-ae68-68a031f0d76d/subagent-tracking-state.json +0 -17
  144. package/.omc/state/sessions/74afa912-1443-4011-b4f2-db9f055cdd9f/pre-tool-advisory-throttle.json +0 -18
  145. package/.omc/state/sessions/74afa912-1443-4011-b4f2-db9f055cdd9f/skill-active-state.json +0 -15
  146. package/.omc/state/sessions/74afa912-1443-4011-b4f2-db9f055cdd9f/subagent-tracking-state.json +0 -17
  147. package/.omc/state/sessions/7772f972-4ec1-4287-bf42-a92c14cf3ffc/pre-tool-advisory-throttle.json +0 -10
  148. package/.omc/state/sessions/8198b3e5-fad6-4ee0-9c59-ef773ad89af4/pre-tool-advisory-throttle.json +0 -14
  149. package/.omc/state/sessions/8198b3e5-fad6-4ee0-9c59-ef773ad89af4/subagent-tracking-state.json +0 -17
  150. package/.omc/state/sessions/8cd7652a-b8b5-49cf-9b1f-bee8e5972458/pre-tool-advisory-throttle.json +0 -18
  151. package/.omc/state/sessions/8cd7652a-b8b5-49cf-9b1f-bee8e5972458/ralplan-state.json +0 -11
  152. package/.omc/state/sessions/8cd7652a-b8b5-49cf-9b1f-bee8e5972458/subagent-tracking-state.json +0 -35
  153. package/.omc/state/sessions/8dd0ad2f-3a90-4158-b9de-ec8e19a7c983/pre-tool-advisory-throttle.json +0 -14
  154. package/.omc/state/sessions/8dd0ad2f-3a90-4158-b9de-ec8e19a7c983/ralph-state.json +0 -13
  155. package/.omc/state/sessions/8dd0ad2f-3a90-4158-b9de-ec8e19a7c983/subagent-tracking-state.json +0 -17
  156. package/.omc/state/sessions/8dd0ad2f-3a90-4158-b9de-ec8e19a7c983/ultrawork-state.json +0 -11
  157. package/.omc/state/sessions/9bea518f-a9ee-4d14-bb53-a936ebaf647c/last-tool-error-state.json +0 -7
  158. package/.omc/state/sessions/9bea518f-a9ee-4d14-bb53-a936ebaf647c/mission-state.json +0 -79
  159. package/.omc/state/sessions/9bea518f-a9ee-4d14-bb53-a936ebaf647c/pre-tool-advisory-throttle.json +0 -22
  160. package/.omc/state/sessions/9bea518f-a9ee-4d14-bb53-a936ebaf647c/progress.txt +0 -7
  161. package/.omc/state/sessions/9bea518f-a9ee-4d14-bb53-a936ebaf647c/skill-active-state.json +0 -15
  162. package/.omc/state/sessions/9bea518f-a9ee-4d14-bb53-a936ebaf647c/subagent-tracking-state.json +0 -26
  163. package/.omc/state/sessions/a60ac2ec-afbd-449f-a540-6df287392fc2/pre-tool-advisory-throttle.json +0 -18
  164. package/.omc/state/sessions/a60ac2ec-afbd-449f-a540-6df287392fc2/subagent-tracking-state.json +0 -7
  165. package/.omc/state/sessions/afc6290b-40d3-4bef-b3b6-14484c034ab9/last-tool-error-state.json +0 -7
  166. package/.omc/state/sessions/afc6290b-40d3-4bef-b3b6-14484c034ab9/mission-state.json +0 -89
  167. package/.omc/state/sessions/afc6290b-40d3-4bef-b3b6-14484c034ab9/pre-tool-advisory-throttle.json +0 -34
  168. package/.omc/state/sessions/afc6290b-40d3-4bef-b3b6-14484c034ab9/ralph-state.json +0 -13
  169. package/.omc/state/sessions/afc6290b-40d3-4bef-b3b6-14484c034ab9/skill-active-state.json +0 -15
  170. package/.omc/state/sessions/afc6290b-40d3-4bef-b3b6-14484c034ab9/subagent-tracking-state.json +0 -35
  171. package/.omc/state/sessions/afc6290b-40d3-4bef-b3b6-14484c034ab9/ultrawork-state.json +0 -11
  172. package/.omc/state/sessions/b52d89fb-0e24-4901-bc66-27e3c1697126/pre-tool-advisory-throttle.json +0 -14
  173. package/.omc/state/sessions/b52d89fb-0e24-4901-bc66-27e3c1697126/subagent-tracking-state.json +0 -17
  174. package/.omc/state/sessions/c513ef38-cc3e-4a29-9c4c-1e0137245dd5/pre-tool-advisory-throttle.json +0 -18
  175. package/.omc/state/sessions/c967c819-3d1c-447b-ab48-56a8448ef9f8/pre-tool-advisory-throttle.json +0 -10
  176. package/.omc/state/sessions/c967c819-3d1c-447b-ab48-56a8448ef9f8/subagent-tracking-state.json +0 -7
  177. package/.omc/state/sessions/d02e6565-5168-40c8-8629-de219a29fa43/last-tool-error-state.json +0 -7
  178. package/.omc/state/sessions/d02e6565-5168-40c8-8629-de219a29fa43/mission-state.json +0 -53
  179. package/.omc/state/sessions/d02e6565-5168-40c8-8629-de219a29fa43/pre-tool-advisory-throttle.json +0 -18
  180. package/.omc/state/sessions/d02e6565-5168-40c8-8629-de219a29fa43/subagent-tracking-state.json +0 -17
  181. package/.omc/state/sessions/d5aae73c-340d-4aa2-9fe0-1bf2d79b69dc/last-tool-error-state.json +0 -7
  182. package/.omc/state/sessions/d5aae73c-340d-4aa2-9fe0-1bf2d79b69dc/mission-state.json +0 -103
  183. package/.omc/state/sessions/d5aae73c-340d-4aa2-9fe0-1bf2d79b69dc/pre-tool-advisory-throttle.json +0 -30
  184. package/.omc/state/sessions/d5aae73c-340d-4aa2-9fe0-1bf2d79b69dc/ralph-state.json +0 -13
  185. package/.omc/state/sessions/d5aae73c-340d-4aa2-9fe0-1bf2d79b69dc/subagent-tracking-state.json +0 -62
  186. package/.omc/state/sessions/d5aae73c-340d-4aa2-9fe0-1bf2d79b69dc/ultrawork-state.json +0 -11
  187. package/.omc/state/sessions/e947a3c6-989d-4a60-91dd-6b0ddd827b2d/last-tool-error-state.json +0 -7
  188. package/.omc/state/sessions/e947a3c6-989d-4a60-91dd-6b0ddd827b2d/pre-tool-advisory-throttle.json +0 -10
  189. package/.omc/state/sessions/e947a3c6-989d-4a60-91dd-6b0ddd827b2d/subagent-tracking-state.json +0 -26
  190. package/.omc/state/sessions/eb44055b-c2fa-4e66-b491-a1d9b44f51c7/last-tool-error-state.json +0 -7
  191. package/.omc/state/sessions/eb44055b-c2fa-4e66-b491-a1d9b44f51c7/pre-tool-advisory-throttle.json +0 -18
  192. package/.omc/state/sessions/eb44055b-c2fa-4e66-b491-a1d9b44f51c7/subagent-tracking-state.json +0 -17
  193. package/.omc/state/sessions/ed3e2cfb-a666-4bb1-bcc1-569d5d0b837a/pre-tool-advisory-throttle.json +0 -18
  194. package/.omc/state/sessions/f581a1ae-0ee4-48a3-96f3-ce31a0633bb0/pre-tool-advisory-throttle.json +0 -18
  195. package/.omc/state/sessions/f581a1ae-0ee4-48a3-96f3-ce31a0633bb0/subagent-tracking-state.json +0 -17
  196. package/.omc/state/sessions/f99d8dad-81d1-4987-8183-62edf0843d0c/pre-tool-advisory-throttle.json +0 -14
  197. package/.omc/state/sessions/f99d8dad-81d1-4987-8183-62edf0843d0c/ralph-state.json +0 -13
  198. package/.omc/state/sessions/f99d8dad-81d1-4987-8183-62edf0843d0c/ultrawork-state.json +0 -11
  199. package/.omc/state/sessions/fe1057b4-9a25-4e8e-8c3f-3e11652ee697/last-tool-error-state.json +0 -7
  200. package/.omc/state/sessions/fe1057b4-9a25-4e8e-8c3f-3e11652ee697/mission-state.json +0 -61
  201. package/.omc/state/sessions/fe1057b4-9a25-4e8e-8c3f-3e11652ee697/prd.json +0 -22
  202. package/.omc/state/sessions/fe1057b4-9a25-4e8e-8c3f-3e11652ee697/pre-tool-advisory-throttle.json +0 -22
  203. package/.omc/state/sessions/fe1057b4-9a25-4e8e-8c3f-3e11652ee697/progress.txt +0 -22
  204. package/.omc/state/sessions/fe1057b4-9a25-4e8e-8c3f-3e11652ee697/skill-active-state.json +0 -15
  205. package/.omc/state/sessions/fe1057b4-9a25-4e8e-8c3f-3e11652ee697/subagent-tracking-state.json +0 -26
  206. package/.omc/state/subagent-tracking.json +0 -17
  207. package/.turbo/turbo-build.log +0 -7
  208. package/.turbo/turbo-check.log +0 -14
  209. package/.turbo/turbo-eslint-check.log +0 -2
  210. package/.turbo/turbo-eslint-fix.log +0 -1
  211. package/.turbo/turbo-prettier-check.log +0 -1
  212. package/.turbo/turbo-prettier-fix.log +0 -1
  213. package/.turbo/turbo-test.log +0 -406
  214. package/.turbo/turbo-ts-check.log +0 -1
  215. package/.turbo/turbo-validate.log +0 -14
  216. package/coverage/base.css +0 -224
  217. package/coverage/block-navigation.js +0 -87
  218. package/coverage/cli/index.html +0 -116
  219. package/coverage/cli/package.json.html +0 -283
  220. package/coverage/cli/src/commands/audit/audit.ts.html +0 -616
  221. package/coverage/cli/src/commands/audit/index.html +0 -131
  222. package/coverage/cli/src/commands/audit/index.ts.html +0 -88
  223. package/coverage/cli/src/commands/doctor/doctor.ts.html +0 -1654
  224. package/coverage/cli/src/commands/doctor/index.html +0 -131
  225. package/coverage/cli/src/commands/doctor/index.ts.html +0 -88
  226. package/coverage/cli/src/commands/env-clear/env-clear.ts.html +0 -370
  227. package/coverage/cli/src/commands/env-clear/index.html +0 -131
  228. package/coverage/cli/src/commands/env-clear/index.ts.html +0 -88
  229. package/coverage/cli/src/commands/env-list/env-list.ts.html +0 -229
  230. package/coverage/cli/src/commands/env-list/index.html +0 -131
  231. package/coverage/cli/src/commands/env-list/index.ts.html +0 -88
  232. package/coverage/cli/src/commands/env-load/env-load.ts.html +0 -1201
  233. package/coverage/cli/src/commands/env-load/index.html +0 -131
  234. package/coverage/cli/src/commands/env-load/index.ts.html +0 -91
  235. package/coverage/cli/src/commands/env-status/env-status.ts.html +0 -409
  236. package/coverage/cli/src/commands/env-status/index.html +0 -131
  237. package/coverage/cli/src/commands/env-status/index.ts.html +0 -88
  238. package/coverage/cli/src/commands/gh-merge-dev/gh-merge-dev.ts.html +0 -694
  239. package/coverage/cli/src/commands/gh-merge-dev/index.html +0 -131
  240. package/coverage/cli/src/commands/gh-merge-dev/index.ts.html +0 -88
  241. package/coverage/cli/src/commands/gh-release-deliver/gh-release-deliver.ts.html +0 -1495
  242. package/coverage/cli/src/commands/gh-release-deliver/index.html +0 -131
  243. package/coverage/cli/src/commands/gh-release-deliver/index.ts.html +0 -88
  244. package/coverage/cli/src/commands/gh-release-deploy-all/gh-release-deploy-all.ts.html +0 -706
  245. package/coverage/cli/src/commands/gh-release-deploy-all/index.html +0 -131
  246. package/coverage/cli/src/commands/gh-release-deploy-all/index.ts.html +0 -88
  247. package/coverage/cli/src/commands/gh-release-deploy-selected/gh-release-deploy-selected.ts.html +0 -994
  248. package/coverage/cli/src/commands/gh-release-deploy-selected/index.html +0 -131
  249. package/coverage/cli/src/commands/gh-release-deploy-selected/index.ts.html +0 -88
  250. package/coverage/cli/src/commands/gh-release-list/gh-release-list.ts.html +0 -355
  251. package/coverage/cli/src/commands/gh-release-list/index.html +0 -131
  252. package/coverage/cli/src/commands/gh-release-list/index.ts.html +0 -88
  253. package/coverage/cli/src/commands/init/agent-files.ts.html +0 -742
  254. package/coverage/cli/src/commands/init/index.html +0 -146
  255. package/coverage/cli/src/commands/init/init.ts.html +0 -1159
  256. package/coverage/cli/src/commands/init/migrate-config.ts.html +0 -1219
  257. package/coverage/cli/src/commands/release-create/index.html +0 -131
  258. package/coverage/cli/src/commands/release-create/index.ts.html +0 -88
  259. package/coverage/cli/src/commands/release-create/release-create.ts.html +0 -1426
  260. package/coverage/cli/src/commands/release-desc-edit/index.html +0 -131
  261. package/coverage/cli/src/commands/release-desc-edit/index.ts.html +0 -88
  262. package/coverage/cli/src/commands/release-desc-edit/release-desc-edit.ts.html +0 -766
  263. package/coverage/cli/src/commands/vendor-check/index.html +0 -131
  264. package/coverage/cli/src/commands/vendor-check/index.ts.html +0 -88
  265. package/coverage/cli/src/commands/vendor-check/vendor-check.ts.html +0 -466
  266. package/coverage/cli/src/commands/vendor-config/index.html +0 -116
  267. package/coverage/cli/src/commands/vendor-config/vendor-config.ts.html +0 -571
  268. package/coverage/cli/src/commands/vendor-diff/index.html +0 -131
  269. package/coverage/cli/src/commands/vendor-diff/index.ts.html +0 -88
  270. package/coverage/cli/src/commands/vendor-diff/vendor-diff.ts.html +0 -316
  271. package/coverage/cli/src/commands/vendor-manifest/index.html +0 -131
  272. package/coverage/cli/src/commands/vendor-manifest/index.ts.html +0 -88
  273. package/coverage/cli/src/commands/vendor-manifest/vendor-manifest.ts.html +0 -265
  274. package/coverage/cli/src/commands/vendor-sync/index.html +0 -131
  275. package/coverage/cli/src/commands/vendor-sync/index.ts.html +0 -88
  276. package/coverage/cli/src/commands/vendor-sync/vendor-sync.ts.html +0 -355
  277. package/coverage/cli/src/commands/version/index.html +0 -131
  278. package/coverage/cli/src/commands/version/index.ts.html +0 -88
  279. package/coverage/cli/src/commands/version/version.ts.html +0 -184
  280. package/coverage/cli/src/commands/worktrees-add/index.html +0 -131
  281. package/coverage/cli/src/commands/worktrees-add/index.ts.html +0 -88
  282. package/coverage/cli/src/commands/worktrees-add/worktrees-add.ts.html +0 -1183
  283. package/coverage/cli/src/commands/worktrees-list/index.html +0 -131
  284. package/coverage/cli/src/commands/worktrees-list/index.ts.html +0 -88
  285. package/coverage/cli/src/commands/worktrees-list/worktrees-list.ts.html +0 -400
  286. package/coverage/cli/src/commands/worktrees-reload/index.html +0 -131
  287. package/coverage/cli/src/commands/worktrees-reload/index.ts.html +0 -88
  288. package/coverage/cli/src/commands/worktrees-reload/worktrees-reload.ts.html +0 -775
  289. package/coverage/cli/src/commands/worktrees-remove/index.html +0 -131
  290. package/coverage/cli/src/commands/worktrees-remove/index.ts.html +0 -88
  291. package/coverage/cli/src/commands/worktrees-remove/worktrees-remove.ts.html +0 -682
  292. package/coverage/cli/src/commands/worktrees-sync/index.html +0 -131
  293. package/coverage/cli/src/commands/worktrees-sync/index.ts.html +0 -88
  294. package/coverage/cli/src/commands/worktrees-sync/worktrees-sync.ts.html +0 -679
  295. package/coverage/cli/src/dev/__tests__/fixtures.ts.html +0 -787
  296. package/coverage/cli/src/dev/__tests__/index.html +0 -116
  297. package/coverage/cli/src/dev/dev-server.ts.html +0 -1855
  298. package/coverage/cli/src/dev/discovery.ts.html +0 -598
  299. package/coverage/cli/src/dev/index.html +0 -191
  300. package/coverage/cli/src/dev/interfaces.ts.html +0 -223
  301. package/coverage/cli/src/dev/logger.ts.html +0 -1102
  302. package/coverage/cli/src/dev/ports.ts.html +0 -430
  303. package/coverage/cli/src/dev/serverless-local-run.ts.html +0 -916
  304. package/coverage/cli/src/entry/dev-server.ts.html +0 -409
  305. package/coverage/cli/src/entry/index.html +0 -116
  306. package/coverage/cli/src/index.html +0 -116
  307. package/coverage/cli/src/integrations/cmux/canonicalize-cmux-title.ts.html +0 -178
  308. package/coverage/cli/src/integrations/cmux/close-workspace-by-title.ts.html +0 -262
  309. package/coverage/cli/src/integrations/cmux/index.html +0 -191
  310. package/coverage/cli/src/integrations/cmux/index.ts.html +0 -100
  311. package/coverage/cli/src/integrations/cmux/list-workspace-titles.ts.html +0 -226
  312. package/coverage/cli/src/integrations/cmux/open-workspace-with-layout.ts.html +0 -325
  313. package/coverage/cli/src/integrations/cmux/workspace-title.ts.html +0 -154
  314. package/coverage/cli/src/integrations/cursor/add-folders-to-workspace.ts.html +0 -337
  315. package/coverage/cli/src/integrations/cursor/index.html +0 -206
  316. package/coverage/cli/src/integrations/cursor/index.ts.html +0 -103
  317. package/coverage/cli/src/integrations/cursor/launch-cursor.ts.html +0 -121
  318. package/coverage/cli/src/integrations/cursor/open-cursor-workspace.ts.html +0 -277
  319. package/coverage/cli/src/integrations/cursor/reconcile-workspace-folders.ts.html +0 -355
  320. package/coverage/cli/src/integrations/cursor/remove-folders-from-workspace.ts.html +0 -364
  321. package/coverage/cli/src/integrations/cursor/resolve-workspace-path.ts.html +0 -124
  322. package/coverage/cli/src/integrations/doppler/doppler-cli-auth.ts.html +0 -178
  323. package/coverage/cli/src/integrations/doppler/doppler-errors.ts.html +0 -349
  324. package/coverage/cli/src/integrations/doppler/doppler-project.ts.html +0 -355
  325. package/coverage/cli/src/integrations/doppler/index.html +0 -161
  326. package/coverage/cli/src/integrations/doppler/index.ts.html +0 -97
  327. package/coverage/cli/src/integrations/gh/gh-cli-auth/gh-cli-auth.ts.html +0 -172
  328. package/coverage/cli/src/integrations/gh/gh-cli-auth/index.html +0 -131
  329. package/coverage/cli/src/integrations/gh/gh-cli-auth/index.ts.html +0 -88
  330. package/coverage/cli/src/integrations/gh/gh-release-prs/gh-release-prs.ts.html +0 -703
  331. package/coverage/cli/src/integrations/gh/gh-release-prs/index.html +0 -131
  332. package/coverage/cli/src/integrations/gh/gh-release-prs/index.ts.html +0 -91
  333. package/coverage/cli/src/integrations/gh/index.html +0 -116
  334. package/coverage/cli/src/integrations/gh/index.ts.html +0 -94
  335. package/coverage/cli/src/integrations/ide/add-ide-worktree-folders.ts.html +0 -316
  336. package/coverage/cli/src/integrations/ide/index.html +0 -191
  337. package/coverage/cli/src/integrations/ide/index.ts.html +0 -103
  338. package/coverage/cli/src/integrations/ide/open-ide-workspace.ts.html +0 -238
  339. package/coverage/cli/src/integrations/ide/provider-label.ts.html +0 -157
  340. package/coverage/cli/src/integrations/ide/remove-ide-worktree-folders.ts.html +0 -520
  341. package/coverage/cli/src/integrations/ide/types.ts.html +0 -208
  342. package/coverage/cli/src/integrations/jira/api.ts.html +0 -1060
  343. package/coverage/cli/src/integrations/jira/index.html +0 -131
  344. package/coverage/cli/src/integrations/jira/index.ts.html +0 -142
  345. package/coverage/cli/src/integrations/zed/add-folders-to-zed-workspace.ts.html +0 -175
  346. package/coverage/cli/src/integrations/zed/index.html +0 -161
  347. package/coverage/cli/src/integrations/zed/index.ts.html +0 -94
  348. package/coverage/cli/src/integrations/zed/open-zed-workspace.ts.html +0 -238
  349. package/coverage/cli/src/integrations/zed/reuse-zed-workspace.ts.html +0 -256
  350. package/coverage/cli/src/lib/assert-never/assert-never.ts.html +0 -130
  351. package/coverage/cli/src/lib/assert-never/index.html +0 -131
  352. package/coverage/cli/src/lib/assert-never/index.ts.html +0 -88
  353. package/coverage/cli/src/lib/command-catalog/command-catalog.ts.html +0 -523
  354. package/coverage/cli/src/lib/command-catalog/index.html +0 -116
  355. package/coverage/cli/src/lib/command-echo/command-echo.ts.html +0 -319
  356. package/coverage/cli/src/lib/command-echo/index.html +0 -131
  357. package/coverage/cli/src/lib/command-echo/index.ts.html +0 -88
  358. package/coverage/cli/src/lib/constants/constants.ts.html +0 -472
  359. package/coverage/cli/src/lib/constants/index.html +0 -131
  360. package/coverage/cli/src/lib/constants/index.ts.html +0 -139
  361. package/coverage/cli/src/lib/env-autoload/env-autoload.ts.html +0 -1111
  362. package/coverage/cli/src/lib/env-autoload/index.html +0 -116
  363. package/coverage/cli/src/lib/errors/format-zx-error.ts.html +0 -247
  364. package/coverage/cli/src/lib/errors/index.html +0 -146
  365. package/coverage/cli/src/lib/errors/is-prompt-cancellation.ts.html +0 -199
  366. package/coverage/cli/src/lib/errors/operation-error.ts.html +0 -325
  367. package/coverage/cli/src/lib/git-guard/git-guard.ts.html +0 -250
  368. package/coverage/cli/src/lib/git-guard/index.html +0 -131
  369. package/coverage/cli/src/lib/git-guard/index.ts.html +0 -91
  370. package/coverage/cli/src/lib/git-utils/git-utils.ts.html +0 -622
  371. package/coverage/cli/src/lib/git-utils/index.html +0 -131
  372. package/coverage/cli/src/lib/git-utils/index.ts.html +0 -115
  373. package/coverage/cli/src/lib/infra-kit-config/index.html +0 -131
  374. package/coverage/cli/src/lib/infra-kit-config/index.ts.html +0 -142
  375. package/coverage/cli/src/lib/infra-kit-config/infra-kit-config.ts.html +0 -1447
  376. package/coverage/cli/src/lib/json-output/index.html +0 -116
  377. package/coverage/cli/src/lib/json-output/json-output.ts.html +0 -226
  378. package/coverage/cli/src/lib/logger/index.html +0 -116
  379. package/coverage/cli/src/lib/logger/index.ts.html +0 -205
  380. package/coverage/cli/src/lib/managed-block/index.html +0 -131
  381. package/coverage/cli/src/lib/managed-block/index.ts.html +0 -109
  382. package/coverage/cli/src/lib/managed-block/managed-block.ts.html +0 -520
  383. package/coverage/cli/src/lib/package-config/index.html +0 -146
  384. package/coverage/cli/src/lib/package-config/index.ts.html +0 -94
  385. package/coverage/cli/src/lib/package-config/package-config-schema.ts.html +0 -142
  386. package/coverage/cli/src/lib/package-config/package-config.ts.html +0 -376
  387. package/coverage/cli/src/lib/package-validator/checks/config-check.ts.html +0 -175
  388. package/coverage/cli/src/lib/package-validator/checks/files-check.ts.html +0 -172
  389. package/coverage/cli/src/lib/package-validator/checks/index.html +0 -176
  390. package/coverage/cli/src/lib/package-validator/checks/index.ts.html +0 -97
  391. package/coverage/cli/src/lib/package-validator/checks/scripts-check.ts.html +0 -154
  392. package/coverage/cli/src/lib/package-validator/checks/turbo-check.ts.html +0 -226
  393. package/coverage/cli/src/lib/package-validator/fs-utils.ts.html +0 -139
  394. package/coverage/cli/src/lib/package-validator/index.html +0 -146
  395. package/coverage/cli/src/lib/package-validator/index.ts.html +0 -94
  396. package/coverage/cli/src/lib/package-validator/loader/config-loader.ts.html +0 -316
  397. package/coverage/cli/src/lib/package-validator/loader/index.html +0 -146
  398. package/coverage/cli/src/lib/package-validator/loader/index.ts.html +0 -91
  399. package/coverage/cli/src/lib/package-validator/loader/package-discovery.ts.html +0 -379
  400. package/coverage/cli/src/lib/package-validator/package-validator.ts.html +0 -229
  401. package/coverage/cli/src/lib/path-display/index.html +0 -131
  402. package/coverage/cli/src/lib/path-display/index.ts.html +0 -88
  403. package/coverage/cli/src/lib/path-display/path-display.ts.html +0 -211
  404. package/coverage/cli/src/lib/release-id/index.html +0 -131
  405. package/coverage/cli/src/lib/release-id/index.ts.html +0 -130
  406. package/coverage/cli/src/lib/release-id/release-id.ts.html +0 -859
  407. package/coverage/cli/src/lib/release-utils/index.html +0 -131
  408. package/coverage/cli/src/lib/release-utils/index.ts.html +0 -130
  409. package/coverage/cli/src/lib/release-utils/release-utils.ts.html +0 -778
  410. package/coverage/cli/src/lib/render/index.html +0 -116
  411. package/coverage/cli/src/lib/render/render.ts.html +0 -157
  412. package/coverage/cli/src/lib/vendor/__tests__/index.html +0 -116
  413. package/coverage/cli/src/lib/vendor/__tests__/zx-mock.ts.html +0 -181
  414. package/coverage/cli/src/lib/vendor/config-schema.ts.html +0 -319
  415. package/coverage/cli/src/lib/vendor/config.ts.html +0 -259
  416. package/coverage/cli/src/lib/vendor/factory-config-schema.ts.html +0 -190
  417. package/coverage/cli/src/lib/vendor/factory-config.ts.html +0 -358
  418. package/coverage/cli/src/lib/vendor/hash.ts.html +0 -133
  419. package/coverage/cli/src/lib/vendor/index.html +0 -251
  420. package/coverage/cli/src/lib/vendor/index.ts.html +0 -154
  421. package/coverage/cli/src/lib/vendor/manifest.ts.html +0 -538
  422. package/coverage/cli/src/lib/vendor/skip-sets.ts.html +0 -229
  423. package/coverage/cli/src/lib/vendor/sync-ops.ts.html +0 -955
  424. package/coverage/cli/src/lib/vendor/walk.ts.html +0 -253
  425. package/coverage/cli/src/lib/version-utils/index.html +0 -161
  426. package/coverage/cli/src/lib/version-utils/index.ts.html +0 -139
  427. package/coverage/cli/src/lib/version-utils/load-existing-versions.ts.html +0 -343
  428. package/coverage/cli/src/lib/version-utils/next-version.ts.html +0 -934
  429. package/coverage/cli/src/lib/version-utils/version-utils.ts.html +0 -178
  430. package/coverage/cli/src/lib/worktrees/index.html +0 -131
  431. package/coverage/cli/src/lib/worktrees/index.ts.html +0 -88
  432. package/coverage/cli/src/lib/worktrees/remove-worktrees.ts.html +0 -283
  433. package/coverage/cli/src/tui/boot.tsx.html +0 -265
  434. package/coverage/cli/src/tui/index.html +0 -116
  435. package/coverage/cli/src/tui/screens/command-palette.tsx.html +0 -562
  436. package/coverage/cli/src/tui/screens/index.html +0 -116
  437. package/coverage/cli/src/types.ts.html +0 -283
  438. package/coverage/clover.xml +0 -4488
  439. package/coverage/coverage-final.json +0 -156
  440. package/coverage/favicon.png +0 -0
  441. package/coverage/index.html +0 -1076
  442. package/coverage/prettify.css +0 -1
  443. package/coverage/prettify.js +0 -2
  444. package/coverage/sort-arrow-sprite.png +0 -0
  445. package/coverage/sorter.js +0 -210
  446. package/dist/chunk-DB6CTNBS.js +0 -3
  447. package/dist/chunk-DB6CTNBS.js.map +0 -7
  448. package/dist/chunk-SGR2XAVR.js +0 -164
  449. package/dist/chunk-SGR2XAVR.js.map +0 -7
  450. package/dist/chunk-WA4BQRDC.js +0 -2
  451. package/dist/chunk-WA4BQRDC.js.map +0 -7
  452. package/eslint.config.js +0 -35
  453. package/infra-kit.config.ts +0 -5
  454. package/scripts/build.js +0 -75
  455. package/src/.omc/state/agent-replay-2ac0dcd0-01f7-41a8-a8c9-f2195599817b.jsonl +0 -5
  456. package/src/.omc/state/agent-replay-2ccbd177-0d5d-4d4a-ab94-a22464786221.jsonl +0 -2
  457. package/src/.omc/state/agent-replay-707b4784-2117-4b19-ae68-68a031f0d76d.jsonl +0 -2
  458. package/src/.omc/state/agent-replay-8dd0ad2f-3a90-4158-b9de-ec8e19a7c983.jsonl +0 -11
  459. package/src/.omc/state/agent-replay-c513ef38-cc3e-4a29-9c4c-1e0137245dd5.jsonl +0 -4
  460. package/src/.omc/state/agent-replay-ed3e2cfb-a666-4bb1-bcc1-569d5d0b837a.jsonl +0 -2
  461. package/src/.omc/state/idle-notif-cooldown.json +0 -3
  462. package/src/.omc/state/sessions/0a58307d-2a37-4c69-851c-83a646502d62/pre-tool-advisory-throttle.json +0 -18
  463. package/src/.omc/state/sessions/2ac0dcd0-01f7-41a8-a8c9-f2195599817b/mission-state.json +0 -79
  464. package/src/.omc/state/sessions/2ac0dcd0-01f7-41a8-a8c9-f2195599817b/pre-tool-advisory-throttle.json +0 -26
  465. package/src/.omc/state/sessions/2ac0dcd0-01f7-41a8-a8c9-f2195599817b/subagent-tracking-state.json +0 -26
  466. package/src/.omc/state/sessions/2ccbd177-0d5d-4d4a-ab94-a22464786221/last-tool-error-state.json +0 -7
  467. package/src/.omc/state/sessions/2ccbd177-0d5d-4d4a-ab94-a22464786221/mission-state.json +0 -53
  468. package/src/.omc/state/sessions/2ccbd177-0d5d-4d4a-ab94-a22464786221/pre-tool-advisory-throttle.json +0 -22
  469. package/src/.omc/state/sessions/2ccbd177-0d5d-4d4a-ab94-a22464786221/subagent-tracking-state.json +0 -17
  470. package/src/.omc/state/sessions/707b4784-2117-4b19-ae68-68a031f0d76d/last-tool-error-state.json +0 -7
  471. package/src/.omc/state/sessions/707b4784-2117-4b19-ae68-68a031f0d76d/mission-state.json +0 -53
  472. package/src/.omc/state/sessions/707b4784-2117-4b19-ae68-68a031f0d76d/pre-tool-advisory-throttle.json +0 -22
  473. package/src/.omc/state/sessions/707b4784-2117-4b19-ae68-68a031f0d76d/subagent-tracking-state.json +0 -17
  474. package/src/.omc/state/sessions/8dd0ad2f-3a90-4158-b9de-ec8e19a7c983/mission-state.json +0 -79
  475. package/src/.omc/state/sessions/8dd0ad2f-3a90-4158-b9de-ec8e19a7c983/pre-tool-advisory-throttle.json +0 -22
  476. package/src/.omc/state/sessions/8dd0ad2f-3a90-4158-b9de-ec8e19a7c983/ralph-state.json +0 -13
  477. package/src/.omc/state/sessions/8dd0ad2f-3a90-4158-b9de-ec8e19a7c983/subagent-tracking-state.json +0 -26
  478. package/src/.omc/state/sessions/8dd0ad2f-3a90-4158-b9de-ec8e19a7c983/ultrawork-state.json +0 -11
  479. package/src/.omc/state/sessions/c513ef38-cc3e-4a29-9c4c-1e0137245dd5/mission-state.json +0 -79
  480. package/src/.omc/state/sessions/c513ef38-cc3e-4a29-9c4c-1e0137245dd5/pre-tool-advisory-throttle.json +0 -22
  481. package/src/.omc/state/sessions/c513ef38-cc3e-4a29-9c4c-1e0137245dd5/subagent-tracking-state.json +0 -26
  482. package/src/.omc/state/sessions/ed3e2cfb-a666-4bb1-bcc1-569d5d0b837a/pre-tool-advisory-throttle.json +0 -18
  483. package/src/.omc/state/sessions/ed3e2cfb-a666-4bb1-bcc1-569d5d0b837a/ralph-state.json +0 -13
  484. package/src/.omc/state/sessions/ed3e2cfb-a666-4bb1-bcc1-569d5d0b837a/ultrawork-state.json +0 -11
  485. package/src/.omc/state/sessions/f99d8dad-81d1-4987-8183-62edf0843d0c/pre-tool-advisory-throttle.json +0 -14
  486. package/src/commands/.omc/state/sessions/afc6290b-40d3-4bef-b3b6-14484c034ab9/pre-tool-advisory-throttle.json +0 -14
  487. package/src/commands/.omc/state/sessions/c967c819-3d1c-447b-ab48-56a8448ef9f8/pre-tool-advisory-throttle.json +0 -18
  488. package/src/commands/.omc/state/sessions/f09f401f-56c6-42cd-97be-c742c1956468/pre-tool-advisory-throttle.json +0 -14
  489. package/src/commands/audit/__tests__/audit.test.ts +0 -59
  490. package/src/commands/audit/audit.ts +0 -177
  491. package/src/commands/audit/index.ts +0 -1
  492. package/src/commands/config/.omc/state/sessions/41336850-028c-476b-be1a-2164e1e46cac/last-tool-error-state.json +0 -7
  493. package/src/commands/config/.omc/state/sessions/41336850-028c-476b-be1a-2164e1e46cac/pre-tool-advisory-throttle.json +0 -18
  494. package/src/commands/config/config.ts +0 -137
  495. package/src/commands/config/index.ts +0 -1
  496. package/src/commands/doctor/.omc/state/sessions/8dd0ad2f-3a90-4158-b9de-ec8e19a7c983/pre-tool-advisory-throttle.json +0 -14
  497. package/src/commands/doctor/__tests__/agent-files.test.ts +0 -88
  498. package/src/commands/doctor/__tests__/check-ide-installed.test.ts +0 -142
  499. package/src/commands/doctor/__tests__/check-legacy-user-global-config.test.ts +0 -110
  500. package/src/commands/doctor/doctor.ts +0 -576
  501. package/src/commands/doctor/index.ts +0 -1
  502. package/src/commands/env-autoload/env-autoload.ts +0 -24
  503. package/src/commands/env-autoload/index.ts +0 -1
  504. package/src/commands/env-clear/__tests__/env-clear.test.ts +0 -27
  505. package/src/commands/env-clear/env-clear.ts +0 -136
  506. package/src/commands/env-clear/index.ts +0 -1
  507. package/src/commands/env-list/env-list.ts +0 -48
  508. package/src/commands/env-list/index.ts +0 -1
  509. package/src/commands/env-load/__tests__/env-load.test.ts +0 -200
  510. package/src/commands/env-load/env-load.ts +0 -394
  511. package/src/commands/env-load/index.ts +0 -2
  512. package/src/commands/env-status/__tests__/env-status.test.ts +0 -78
  513. package/src/commands/env-status/env-status.ts +0 -108
  514. package/src/commands/env-status/index.ts +0 -1
  515. package/src/commands/gh-merge-dev/gh-merge-dev.ts +0 -203
  516. package/src/commands/gh-merge-dev/index.ts +0 -1
  517. package/src/commands/gh-release-deliver/gh-release-deliver.ts +0 -470
  518. package/src/commands/gh-release-deliver/index.ts +0 -1
  519. package/src/commands/gh-release-deploy-all/gh-release-deploy-all.ts +0 -207
  520. package/src/commands/gh-release-deploy-all/index.ts +0 -1
  521. package/src/commands/gh-release-deploy-selected/gh-release-deploy-selected.ts +0 -303
  522. package/src/commands/gh-release-deploy-selected/index.ts +0 -1
  523. package/src/commands/gh-release-list/gh-release-list.ts +0 -90
  524. package/src/commands/gh-release-list/index.ts +0 -1
  525. package/src/commands/init/.omc/state/sessions/8dd0ad2f-3a90-4158-b9de-ec8e19a7c983/pre-tool-advisory-throttle.json +0 -18
  526. package/src/commands/init/__tests__/agent-files.test.ts +0 -265
  527. package/src/commands/init/__tests__/migrate-config.test.ts +0 -422
  528. package/src/commands/init/__tests__/migrate-factory-config.test.ts +0 -93
  529. package/src/commands/init/__tests__/seed-user-global-config.test.ts +0 -64
  530. package/src/commands/init/__tests__/shell-body.test.ts +0 -100
  531. package/src/commands/init/agent-files.ts +0 -219
  532. package/src/commands/init/index.ts +0 -8
  533. package/src/commands/init/init.ts +0 -425
  534. package/src/commands/init/migrate-config.ts +0 -378
  535. package/src/commands/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
  536. package/src/commands/release-create/__tests__/release-create.test.ts +0 -92
  537. package/src/commands/release-create/index.ts +0 -1
  538. package/src/commands/release-create/release-create.ts +0 -447
  539. package/src/commands/release-desc-edit/index.ts +0 -1
  540. package/src/commands/release-desc-edit/release-desc-edit.ts +0 -227
  541. package/src/commands/vendor-check/__tests__/runtime-isolation.test.ts +0 -71
  542. package/src/commands/vendor-check/__tests__/vendor-check.test.ts +0 -87
  543. package/src/commands/vendor-check/index.ts +0 -1
  544. package/src/commands/vendor-check/vendor-check.ts +0 -127
  545. package/src/commands/vendor-config/__tests__/vendor-config.test.ts +0 -103
  546. package/src/commands/vendor-config/index.ts +0 -1
  547. package/src/commands/vendor-config/vendor-config.ts +0 -162
  548. package/src/commands/vendor-diff/__tests__/vendor-diff.test.ts +0 -74
  549. package/src/commands/vendor-diff/index.ts +0 -1
  550. package/src/commands/vendor-diff/vendor-diff.ts +0 -77
  551. package/src/commands/vendor-manifest/index.ts +0 -1
  552. package/src/commands/vendor-manifest/vendor-manifest.ts +0 -60
  553. package/src/commands/vendor-sync/__tests__/vendor-write.test.ts +0 -86
  554. package/src/commands/vendor-sync/index.ts +0 -1
  555. package/src/commands/vendor-sync/vendor-sync.ts +0 -90
  556. package/src/commands/version/index.ts +0 -1
  557. package/src/commands/version/version.ts +0 -33
  558. package/src/commands/worktrees-add/index.ts +0 -1
  559. package/src/commands/worktrees-add/worktrees-add.ts +0 -366
  560. package/src/commands/worktrees-list/index.ts +0 -1
  561. package/src/commands/worktrees-list/worktrees-list.ts +0 -105
  562. package/src/commands/worktrees-reload/__tests__/reload-cmux.test.ts +0 -119
  563. package/src/commands/worktrees-reload/index.ts +0 -1
  564. package/src/commands/worktrees-reload/worktrees-reload.ts +0 -230
  565. package/src/commands/worktrees-remove/index.ts +0 -1
  566. package/src/commands/worktrees-remove/worktrees-remove.ts +0 -199
  567. package/src/commands/worktrees-sync/index.ts +0 -1
  568. package/src/commands/worktrees-sync/worktrees-sync.ts +0 -198
  569. package/src/dev/__tests__/dev-server-options.test.ts +0 -57
  570. package/src/dev/__tests__/dev-server.test.ts +0 -420
  571. package/src/dev/__tests__/discovery.test.ts +0 -181
  572. package/src/dev/__tests__/fixtures.ts +0 -257
  573. package/src/dev/__tests__/ports.test.ts +0 -98
  574. package/src/dev/__tests__/serverless-local-run.test.ts +0 -533
  575. package/src/dev/dev-server.ts +0 -796
  576. package/src/dev/discovery.ts +0 -229
  577. package/src/dev/interfaces.ts +0 -11
  578. package/src/dev/managed-child.ts +0 -73
  579. package/src/dev/ports.ts +0 -100
  580. package/src/dev/serverless-local-run.ts +0 -329
  581. package/src/dev/turbo-watch.ts +0 -62
  582. package/src/dev/ui-dev.ts +0 -62
  583. package/src/entry/cli.ts +0 -630
  584. package/src/entry/dev-server.ts +0 -103
  585. package/src/entry/index.ts +0 -11
  586. package/src/entry/mcp.ts +0 -43
  587. package/src/integrations/cmux/__tests__/canonicalize-cmux-title.test.ts +0 -56
  588. package/src/integrations/cmux/__tests__/close-workspace-by-title.test.ts +0 -63
  589. package/src/integrations/cmux/__tests__/list-workspace-titles.test.ts +0 -65
  590. package/src/integrations/cmux/__tests__/open-workspace-with-layout.test.ts +0 -127
  591. package/src/integrations/cmux/canonicalize-cmux-title.ts +0 -31
  592. package/src/integrations/cmux/close-workspace-by-title.ts +0 -59
  593. package/src/integrations/cmux/index.ts +0 -5
  594. package/src/integrations/cmux/list-workspace-titles.ts +0 -47
  595. package/src/integrations/cmux/open-workspace-with-layout.ts +0 -80
  596. package/src/integrations/cmux/workspace-title.ts +0 -23
  597. package/src/integrations/cursor/.omc/state/agent-replay-f99d8dad-81d1-4987-8183-62edf0843d0c.jsonl +0 -2
  598. package/src/integrations/cursor/.omc/state/idle-notif-cooldown.json +0 -3
  599. package/src/integrations/cursor/.omc/state/sessions/f99d8dad-81d1-4987-8183-62edf0843d0c/pre-tool-advisory-throttle.json +0 -18
  600. package/src/integrations/cursor/.omc/state/sessions/f99d8dad-81d1-4987-8183-62edf0843d0c/subagent-tracking-state.json +0 -17
  601. package/src/integrations/cursor/add-folders-to-workspace.ts +0 -84
  602. package/src/integrations/cursor/index.ts +0 -6
  603. package/src/integrations/cursor/launch-cursor.ts +0 -12
  604. package/src/integrations/cursor/open-cursor-workspace.ts +0 -64
  605. package/src/integrations/cursor/reconcile-workspace-folders.ts +0 -90
  606. package/src/integrations/cursor/remove-folders-from-workspace.ts +0 -93
  607. package/src/integrations/cursor/resolve-workspace-path.ts +0 -13
  608. package/src/integrations/doppler/__tests__/doppler-errors.test.ts +0 -76
  609. package/src/integrations/doppler/doppler-cli-auth.ts +0 -31
  610. package/src/integrations/doppler/doppler-errors.ts +0 -88
  611. package/src/integrations/doppler/doppler-project.ts +0 -90
  612. package/src/integrations/doppler/index.ts +0 -4
  613. package/src/integrations/gh/gh-cli-auth/gh-cli-auth.ts +0 -29
  614. package/src/integrations/gh/gh-cli-auth/index.ts +0 -1
  615. package/src/integrations/gh/gh-release-prs/.omc/state/sessions/c6ed6186-1aac-48e0-aa2a-edc6da8e0410/pre-tool-advisory-throttle.json +0 -10
  616. package/src/integrations/gh/gh-release-prs/__tests__/gh-release-prs.test.ts +0 -198
  617. package/src/integrations/gh/gh-release-prs/gh-release-prs.ts +0 -206
  618. package/src/integrations/gh/gh-release-prs/index.ts +0 -2
  619. package/src/integrations/gh/index.ts +0 -3
  620. package/src/integrations/ide/__tests__/ide-facade.test.ts +0 -289
  621. package/src/integrations/ide/add-ide-worktree-folders.ts +0 -77
  622. package/src/integrations/ide/index.ts +0 -6
  623. package/src/integrations/ide/open-ide-workspace.ts +0 -51
  624. package/src/integrations/ide/provider-label.ts +0 -24
  625. package/src/integrations/ide/remove-ide-worktree-folders.ts +0 -145
  626. package/src/integrations/ide/types.ts +0 -41
  627. package/src/integrations/jira/api.ts +0 -325
  628. package/src/integrations/jira/index.ts +0 -19
  629. package/src/integrations/jira/types.ts +0 -85
  630. package/src/integrations/linear/.gitkeep +0 -0
  631. package/src/integrations/zed/__tests__/open-zed-workspace.test.ts +0 -69
  632. package/src/integrations/zed/__tests__/reuse-zed-workspace.test.ts +0 -86
  633. package/src/integrations/zed/add-folders-to-zed-workspace.ts +0 -30
  634. package/src/integrations/zed/index.ts +0 -3
  635. package/src/integrations/zed/open-zed-workspace.ts +0 -51
  636. package/src/integrations/zed/reuse-zed-workspace.ts +0 -57
  637. package/src/lib/assert-never/assert-never.ts +0 -15
  638. package/src/lib/assert-never/index.ts +0 -1
  639. package/src/lib/command-catalog/__tests__/__snapshots__/command-catalog.test.ts.snap +0 -213
  640. package/src/lib/command-catalog/__tests__/command-catalog.test.ts +0 -193
  641. package/src/lib/command-catalog/command-catalog.ts +0 -146
  642. package/src/lib/command-catalog/index.ts +0 -2
  643. package/src/lib/command-echo/__tests__/command-echo.test.ts +0 -127
  644. package/src/lib/command-echo/command-echo.ts +0 -78
  645. package/src/lib/command-echo/index.ts +0 -1
  646. package/src/lib/constants/__tests__/constants.test.ts +0 -182
  647. package/src/lib/constants/constants.ts +0 -167
  648. package/src/lib/constants/index.ts +0 -22
  649. package/src/lib/env-autoload/__tests__/env-autoload.test.ts +0 -327
  650. package/src/lib/env-autoload/env-autoload.ts +0 -373
  651. package/src/lib/env-autoload/index.ts +0 -9
  652. package/src/lib/error-handlers/index.ts +0 -36
  653. package/src/lib/errors/__tests__/is-prompt-cancellation.test.ts +0 -48
  654. package/src/lib/errors/__tests__/operation-error.test.ts +0 -62
  655. package/src/lib/errors/format-zx-error.ts +0 -54
  656. package/src/lib/errors/is-prompt-cancellation.ts +0 -38
  657. package/src/lib/errors/operation-error.ts +0 -80
  658. package/src/lib/git-guard/__tests__/git-guard.test.ts +0 -92
  659. package/src/lib/git-guard/git-guard.ts +0 -55
  660. package/src/lib/git-guard/index.ts +0 -2
  661. package/src/lib/git-utils/__tests__/git-primitives.test.ts +0 -217
  662. package/src/lib/git-utils/__tests__/git-utils.test.ts +0 -49
  663. package/src/lib/git-utils/git-utils.ts +0 -179
  664. package/src/lib/git-utils/index.ts +0 -10
  665. package/src/lib/infra-kit-config/.omc/state/sessions/8dd0ad2f-3a90-4158-b9de-ec8e19a7c983/pre-tool-advisory-throttle.json +0 -18
  666. package/src/lib/infra-kit-config/__tests__/env-autoload-schema.test.ts +0 -71
  667. package/src/lib/infra-kit-config/__tests__/infra-kit-config.test.ts +0 -504
  668. package/src/lib/infra-kit-config/index.ts +0 -19
  669. package/src/lib/infra-kit-config/infra-kit-config.ts +0 -454
  670. package/src/lib/json-output/__tests__/json-output.test.ts +0 -139
  671. package/src/lib/json-output/index.ts +0 -1
  672. package/src/lib/json-output/json-output.ts +0 -47
  673. package/src/lib/logger/index.ts +0 -40
  674. package/src/lib/managed-block/__tests__/managed-block.test.ts +0 -121
  675. package/src/lib/managed-block/index.ts +0 -8
  676. package/src/lib/managed-block/managed-block.ts +0 -145
  677. package/src/lib/package-config/.omc/state/sessions/dde22a92-a0e9-4948-905d-25c9a812ab35/last-tool-error-state.json +0 -7
  678. package/src/lib/package-config/.omc/state/sessions/dde22a92-a0e9-4948-905d-25c9a812ab35/pre-tool-advisory-throttle.json +0 -10
  679. package/src/lib/package-config/__tests__/package-config.test.ts +0 -95
  680. package/src/lib/package-config/index.ts +0 -3
  681. package/src/lib/package-config/package-config-schema.ts +0 -19
  682. package/src/lib/package-config/package-config.ts +0 -97
  683. package/src/lib/package-validator/__tests__/package-validator.test.ts +0 -263
  684. package/src/lib/package-validator/checks/__tests__/checks.test.ts +0 -130
  685. package/src/lib/package-validator/checks/config-check.ts +0 -30
  686. package/src/lib/package-validator/checks/files-check.ts +0 -29
  687. package/src/lib/package-validator/checks/index.ts +0 -4
  688. package/src/lib/package-validator/checks/scripts-check.ts +0 -23
  689. package/src/lib/package-validator/checks/turbo-check.ts +0 -47
  690. package/src/lib/package-validator/fs-utils.ts +0 -18
  691. package/src/lib/package-validator/index.ts +0 -3
  692. package/src/lib/package-validator/loader/config-loader.ts +0 -77
  693. package/src/lib/package-validator/loader/index.ts +0 -2
  694. package/src/lib/package-validator/loader/package-discovery.ts +0 -98
  695. package/src/lib/package-validator/package-validator.ts +0 -48
  696. package/src/lib/package-validator/types.ts +0 -15
  697. package/src/lib/path-display/index.ts +0 -1
  698. package/src/lib/path-display/path-display.ts +0 -42
  699. package/src/lib/release-id/__tests__/release-id.test.ts +0 -359
  700. package/src/lib/release-id/__tests__/versioned-regression.test.ts +0 -69
  701. package/src/lib/release-id/index.ts +0 -15
  702. package/src/lib/release-id/release-id.ts +0 -258
  703. package/src/lib/release-utils/__tests__/release-utils.test.ts +0 -122
  704. package/src/lib/release-utils/index.ts +0 -15
  705. package/src/lib/release-utils/release-utils.ts +0 -231
  706. package/src/lib/render/__tests__/render.test.ts +0 -48
  707. package/src/lib/render/index.ts +0 -1
  708. package/src/lib/render/render.ts +0 -24
  709. package/src/lib/tool-handler/index.ts +0 -1
  710. package/src/lib/tool-handler/tool-handler.ts +0 -30
  711. package/src/lib/vendor/.omc/state/sessions/f09f401f-56c6-42cd-97be-c742c1956468/pre-tool-advisory-throttle.json +0 -10
  712. package/src/lib/vendor/__tests__/config-schema.test.ts +0 -31
  713. package/src/lib/vendor/__tests__/config.test.ts +0 -63
  714. package/src/lib/vendor/__tests__/factory-config.test.ts +0 -92
  715. package/src/lib/vendor/__tests__/vendor-lib.test.ts +0 -158
  716. package/src/lib/vendor/__tests__/zx-mock.ts +0 -32
  717. package/src/lib/vendor/config-schema.ts +0 -78
  718. package/src/lib/vendor/config.ts +0 -58
  719. package/src/lib/vendor/factory-config-schema.ts +0 -35
  720. package/src/lib/vendor/factory-config.ts +0 -91
  721. package/src/lib/vendor/hash.ts +0 -16
  722. package/src/lib/vendor/index.ts +0 -23
  723. package/src/lib/vendor/manifest.ts +0 -151
  724. package/src/lib/vendor/skip-sets.ts +0 -48
  725. package/src/lib/vendor/sync-ops.ts +0 -290
  726. package/src/lib/vendor/walk.ts +0 -56
  727. package/src/lib/version-utils/__tests__/load-existing-versions.test.ts +0 -37
  728. package/src/lib/version-utils/__tests__/next-version.test.ts +0 -407
  729. package/src/lib/version-utils/index.ts +0 -18
  730. package/src/lib/version-utils/load-existing-versions.ts +0 -86
  731. package/src/lib/version-utils/next-version.ts +0 -283
  732. package/src/lib/version-utils/version-utils.ts +0 -31
  733. package/src/lib/warm-cache/__tests__/warm-cache.test.ts +0 -164
  734. package/src/lib/warm-cache/index.ts +0 -7
  735. package/src/lib/warm-cache/warm-cache.ts +0 -136
  736. package/src/lib/worktrees/__tests__/remove-worktrees.test.ts +0 -167
  737. package/src/lib/worktrees/index.ts +0 -1
  738. package/src/lib/worktrees/remove-worktrees.ts +0 -66
  739. package/src/mcp/prompts/index.ts +0 -3
  740. package/src/mcp/resources/index.ts +0 -3
  741. package/src/mcp/server.ts +0 -27
  742. package/src/mcp/tools/index.ts +0 -21
  743. package/src/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
  744. package/src/sanity.test.tsx +0 -8
  745. package/src/tui/__tests__/boot.test.tsx +0 -61
  746. package/src/tui/__tests__/no-react-boundary.test.ts +0 -51
  747. package/src/tui/boot.tsx +0 -60
  748. package/src/tui/screens/__tests__/command-palette.test.tsx +0 -136
  749. package/src/tui/screens/command-palette.tsx +0 -159
  750. package/src/tui/types.ts +0 -8
  751. package/src/types.ts +0 -66
  752. package/tsconfig.json +0 -46
  753. package/tsconfig.tsbuildinfo +0 -1
  754. package/vitest.config.ts +0 -26
  755. package/vitest.setup.ts +0 -1
@@ -1,425 +0,0 @@
1
- import fs from 'node:fs'
2
- import os from 'node:os'
3
- import path from 'node:path'
4
- import process from 'node:process'
5
-
6
- import { logger } from 'src/lib/logger'
7
- import { removeManagedBlock, upsertManagedBlock } from 'src/lib/managed-block'
8
-
9
- import { writeAgentFiles } from './agent-files'
10
- import {
11
- migrateFactoryConfigToJson,
12
- migrateLegacyConfig,
13
- migrateUserGlobalConfigFilename,
14
- normalizeLegacyIdeStructures,
15
- } from './migrate-config'
16
-
17
- export const MARKER_START = '# -- infra-kit:begin --'
18
- export const MARKER_END = '# -- infra-kit:end --'
19
-
20
- const LEGACY_PAIRED: [start: string, end: string][] = [['# region infra-kit', '# endregion infra-kit']]
21
- const LEGACY_SINGLE = '# infra-kit shell functions'
22
-
23
- // JSON can't carry comments, so the real config is an empty-but-valid object…
24
- const USER_GLOBAL_CONFIG_STUB = '{}\n'
25
-
26
- // …and the annotated guidance lives next to it in a non-loaded .example.jsonc
27
- // (the loader only reads the three exact `infra-kit.json` files).
28
- const USER_GLOBAL_CONFIG_EXAMPLE = `// infra-kit user-global config — ~/.infra-kit/infra-kit.json
29
- //
30
- // Merge chain (later layers override earlier ones at top-level keys):
31
- // 1. <repo>/infra-kit.json — committed project config (required)
32
- // 2. ~/.infra-kit/infra-kit.json — user-global (the sibling of this file)
33
- // 3. ~/.infra-kit/projects/<repo-name>/infra-kit.json — user-scope per-project override
34
- //
35
- // Merge is shallow: setting a top-level key replaces that whole section from
36
- // layer 1. Arrays do not concatenate. Top-level keys recognized:
37
- // environments, envManagement, ide, taskManager, worktrees, envAutoLoad.
38
- //
39
- // This .example.jsonc is reference only — it is NOT loaded. Put real global
40
- // overrides in the sibling infra-kit.json (strict JSON: no comments, double-quoted
41
- // keys). Per-project tweaks belong in layer 3 — run \`infra-kit config edit\`.
42
- //
43
- // Every recognized key is documented below. NOTE: \`environments\` and
44
- // \`envManagement\` are REQUIRED in the committed project infra-kit.json (layer 1)
45
- // and are usually NOT set in this user-global layer — they are shown here only to
46
- // document the full, valid config shape.
47
- {
48
- // "environments": ["dev", "staging", "prod"], // string[] (>=1) — required in layer 1
49
- //
50
- // "envManagement": { // required in layer 1; provider-tagged
51
- // "provider": "doppler",
52
- // "config": { "name": "my-doppler-project" }
53
- // },
54
- //
55
- // "ide": {
56
- // "provider": "cursor",
57
- // "config": { "workspaceConfigPath": "/path/to/your.code-workspace" }
58
- // },
59
- // // Or, for Zed (no workspace file — one window with all worktrees via "zed <root> <wt...>"):
60
- // "ide": { "provider": "zed", "config": {} },
61
- // // Or drive BOTH editors at once with an array (at most one entry per provider):
62
- // "ide": [
63
- // { "provider": "cursor", "config": { "workspaceConfigPath": "/path/to/your.code-workspace" } },
64
- // { "provider": "zed", "config": {} }
65
- // ],
66
- //
67
- // "taskManager": {
68
- // "provider": "jira",
69
- // "config": { "baseUrl": "https://acme.atlassian.net", "projectId": 123 }
70
- // },
71
- //
72
- // "worktrees": {
73
- // "openInGithubDesktop": false,
74
- // "openInCmux": true,
75
- // // cmux pane layout for opened worktrees: "two-columns" (default, left | right)
76
- // // or "three-pane" (left split top/bottom + full-height right).
77
- // "cmux": { "layout": "two-columns" }
78
- // },
79
- //
80
- // // Auto-load Doppler env when working inside this project/worktree. Omit to
81
- // // disable. "trigger" (pick one): "shell-startup" (new shells) | "cli-invocation"
82
- // // (before each infra-kit command, primes subsequent commands). "config" is the
83
- // // environment to load (must be one of "environments"). Requires the committed
84
- // // infra-kit.json at the git repo root, and the zsh shell integration
85
- // // (infra-kit init + a new shell). zsh only.
86
- // "envAutoLoad": { "trigger": "shell-startup", "config": "dev" }
87
- }
88
- `
89
-
90
- // The machine-local factory registry lives at ~/.infra-kit/vendor.json (strict
91
- // JSON). This annotated sibling documents every property; the real file is
92
- // scaffolded by \`infra-kit vendor config --init\`, NOT by init.
93
- const VENDOR_CONFIG_EXAMPLE = `// infra-kit factory registry — ~/.infra-kit/vendor.json
94
- //
95
- // Machine-local registry the vendor commands (sync/manifest/diff) read to know
96
- // where your project repos live and which ones to stamp. This .example.jsonc is
97
- // reference only — it is NOT loaded. The real file is the strict-JSON sibling
98
- // vendor.json (no comments, double-quoted keys); run \`infra-kit vendor config --init\`
99
- // to scaffold it.
100
- {
101
- // "workspaceDir": "~/projects", // string (absolute or ~-prefixed) — where target repos are cloned
102
- // "targets": ["my-repo-a", "my-repo-b"] // string[] (>=1) — repo dir names resolved under workspaceDir
103
- }
104
- `
105
-
106
- /**
107
- * Append infra-kit shell functions to .zshrc, migrate any legacy `infra-kit.yml`
108
- * config layers to JSON, normalize existing JSON configs from the old IDE structure
109
- * (strip the removed `ide.config.mode`), convert a legacy factory `vendor.config.ts`
110
- * to `vendor.json`, and seed the user-global config at ~/.infra-kit/infra-kit.json on
111
- * first run. Idempotent: a subsequent run replaces the existing zshrc block in place,
112
- * has nothing left to migrate or normalize, and leaves the REAL config files
113
- * (infra-kit.json / vendor.json) untouched — but the annotated `.example.jsonc`
114
- * reference files are refreshed on every run so they always reflect the current schema.
115
- *
116
- * @example
117
- * // CLI: `infra-kit init` (or via the `pnpm dx-init` alias)
118
- * // INFO: Added infra-kit shell functions to /Users/me/.zshrc
119
- * // INFO: Wrote user-global config to /Users/me/.infra-kit/infra-kit.json (see …/infra-kit.example.jsonc …)
120
- * // INFO: Run `source ~/.zshrc` or open a new terminal to activate.
121
- */
122
- export const init = async (): Promise<void> => {
123
- const zshrcPath = path.join(os.homedir(), '.zshrc')
124
-
125
- // Strip any prior block (current or legacy markers) anywhere in the file, then
126
- // append a fresh block at end-of-file via the shared managed-block utility —
127
- // the historical `removeExistingBlock` + append behavior, now centralized.
128
- const existing = fs.existsSync(zshrcPath) ? removeExistingBlock(fs.readFileSync(zshrcPath, 'utf-8')) : ''
129
-
130
- const updated = upsertManagedBlock({
131
- content: existing,
132
- body: buildShellBody(),
133
- startMarker: MARKER_START,
134
- endMarker: MARKER_END,
135
- placement: 'append-end',
136
- })
137
-
138
- fs.writeFileSync(zshrcPath, updated)
139
-
140
- logger.info(`Added infra-kit shell functions to ${zshrcPath}`)
141
-
142
- // Convert any legacy infra-kit.yml config layers to JSON before seeding, so a
143
- // migrated infra-kit.json is not re-seeded as an empty stub.
144
- await migrateLegacyConfig()
145
-
146
- // Migrate existing JSON configs from the old IDE structure to the new one
147
- // (strip the removed `ide.config.mode` field). No-op for already-clean configs.
148
- await normalizeLegacyIdeStructures()
149
-
150
- // Rename a legacy user-global config.json → infra-kit.json (single canonical
151
- // filename). MUST run before seeding: otherwise the seeder checks the new name,
152
- // doesn't find it, and writes an empty stub that shadows the user's real config.
153
- await migrateUserGlobalConfigFilename()
154
-
155
- // Convert a legacy machine-local factory config from executable TS
156
- // (~/.infra-kit/vendor.config.ts) to static JSON (~/.infra-kit/vendor.json).
157
- // Independent of the infra-kit.json layers; grouped with the other migrations.
158
- await migrateFactoryConfigToJson()
159
-
160
- seedUserGlobalConfig()
161
-
162
- // Best-effort, non-fatal, repo-gated: keep the agent-instruction files in sync
163
- // with the CLI surface. A no-op outside an infra-kit repo.
164
- await writeAgentFiles()
165
-
166
- // The shell integration is zsh-only (zmodload zsh/stat, add-zsh-hook, ${dir:h}).
167
- // Warn non-fatally if the user's login shell isn't zsh so the block isn't a
168
- // silent no-op for them.
169
- const shell = process.env.SHELL ?? ''
170
-
171
- if (!shell.includes('zsh')) {
172
- logger.warn(
173
- `Your login shell ($SHELL=${shell || 'unset'}) is not zsh. The infra-kit shell integration (env-load/env-clear/auto-load) is zsh-only and won't activate in bash/fish.`,
174
- )
175
- }
176
-
177
- logger.info('Run `source ~/.zshrc` or open a new terminal to activate.')
178
- }
179
-
180
- /**
181
- * Seed the user-global config on first run and (re)write the annotated reference
182
- * files. The real `~/.infra-kit/infra-kit.json` (empty `{}`) is written only when
183
- * absent so user edits are preserved. The non-loaded `.example.jsonc` reference
184
- * files (`infra-kit.example.jsonc` + `vendor.example.jsonc`) are rewritten on EVERY
185
- * run so existing users always get the current, complete schema documentation.
186
- *
187
- * Deliberately seeds NO real `vendor.json` — that is scaffolded by
188
- * `infra-kit vendor config --init` (a stub here would block `--init`, trip the
189
- * factory migration's no-overwrite guard, and fail the schema's `targets.min(1)`).
190
- *
191
- * @example
192
- * seedUserGlobalConfig()
193
- * // first call: writes ~/.infra-kit/infra-kit.json ({}) + both .example.jsonc files
194
- * // later calls: leaves infra-kit.json alone, refreshes both .example.jsonc files
195
- */
196
- export const seedUserGlobalConfig = (): void => {
197
- const userConfigDir = path.join(os.homedir(), '.infra-kit')
198
- const userConfigPath = path.join(userConfigDir, 'infra-kit.json')
199
-
200
- fs.mkdirSync(userConfigDir, { recursive: true })
201
-
202
- // Reference examples are non-loaded docs — always refresh them so re-running init
203
- // delivers the current schema (and the newly-added vendor example) to existing users.
204
- fs.writeFileSync(path.join(userConfigDir, 'infra-kit.example.jsonc'), USER_GLOBAL_CONFIG_EXAMPLE, 'utf-8')
205
- fs.writeFileSync(path.join(userConfigDir, 'vendor.example.jsonc'), VENDOR_CONFIG_EXAMPLE, 'utf-8')
206
-
207
- if (fs.existsSync(userConfigPath)) {
208
- logger.info(`User-global config already present at ${userConfigPath} (refreshed reference examples)`)
209
-
210
- return
211
- }
212
-
213
- fs.writeFileSync(userConfigPath, USER_GLOBAL_CONFIG_STUB, 'utf-8')
214
-
215
- logger.info(`Wrote user-global config to ${userConfigPath} (see the sibling .example.jsonc files for reference)`)
216
- }
217
-
218
- const isBlockLine = (line: string): boolean => {
219
- return (
220
- line.startsWith('#') ||
221
- line.startsWith('alias ') ||
222
- line.startsWith('env-load') ||
223
- line.startsWith('env-clear') ||
224
- line.startsWith('env-status') ||
225
- line.startsWith('if ') ||
226
- line.startsWith(' export INFRA_KIT_SESSION') ||
227
- line.startsWith('export _INFRA_KIT_') ||
228
- line.startsWith(': ${_INFRA_KIT_') ||
229
- line.startsWith('fi') ||
230
- line.startsWith('zmodload ') ||
231
- line.startsWith('autoload ') ||
232
- line.startsWith('add-zsh-hook ') ||
233
- line.startsWith('_infra_kit_autoload')
234
- )
235
- }
236
-
237
- const removeExistingBlock = (content: string): string => {
238
- // 1. Current markers
239
- const result = removeManagedBlock(content, MARKER_START, MARKER_END)
240
-
241
- if (result !== null) return result
242
-
243
- // 2. Legacy paired markers (# region / # endregion)
244
- for (const [start, end] of LEGACY_PAIRED) {
245
- const legacyResult = removeManagedBlock(content, start, end)
246
-
247
- if (legacyResult !== null) return legacyResult
248
- }
249
-
250
- // 3. Oldest format: single marker + heuristic scan
251
- const legacyIdx = content.indexOf(LEGACY_SINGLE)
252
-
253
- if (legacyIdx === -1) return content
254
-
255
- // eslint-disable-next-line sonarjs/super-linear-regex
256
- const before = content.slice(0, legacyIdx).replace(/\n+$/, '')
257
- const afterLines = content.slice(legacyIdx).split('\n')
258
-
259
- let i = 0
260
-
261
- while (i < afterLines.length && isBlockLine(afterLines[i]!)) {
262
- i++
263
- }
264
-
265
- const remaining = afterLines.slice(i).join('\n')
266
-
267
- return before + (remaining ? `\n${remaining}` : '')
268
- }
269
-
270
- /**
271
- * The inner shell-function lines (no markers). Composed into the full marked
272
- * block by {@link buildShellBlock} and fed to `upsertManagedBlock` by `init()`.
273
- */
274
- export const buildShellBody = (): string => {
275
- const runCmd = 'pnpm exec infra-kit'
276
-
277
- return [
278
- 'zmodload zsh/stat 2>/dev/null',
279
- 'zmodload zsh/datetime 2>/dev/null',
280
- 'zmodload zsh/sched 2>/dev/null',
281
- // eslint-disable-next-line no-template-curly-in-string
282
- 'if [[ -z "${INFRA_KIT_SESSION}" ]]; then',
283
- ' export INFRA_KIT_SESSION=$(head -c 4 /dev/urandom | xxd -p)',
284
- 'fi',
285
- // eslint-disable-next-line no-template-curly-in-string
286
- ': ${_INFRA_KIT_LAST_LOAD_MTIME:=0}',
287
- // eslint-disable-next-line no-template-curly-in-string
288
- ': ${_INFRA_KIT_LAST_CLEAR_MTIME:=0}',
289
- // eslint-disable-next-line no-template-curly-in-string
290
- ': ${_INFRA_KIT_SHELL_STARTED:=${EPOCHSECONDS:-0}}',
291
- // Warm-cache source TTL (seconds); MUST equal DEFAULT_WARM_TTL_SECONDS (node
292
- // eviction) — both 2h. A warm file older than this is not sourced at startup.
293
- // eslint-disable-next-line no-template-curly-in-string
294
- ': ${_INFRA_KIT_WARM_TTL:=7200}',
295
- 'export _INFRA_KIT_LAST_LOAD_MTIME _INFRA_KIT_LAST_CLEAR_MTIME _INFRA_KIT_SHELL_STARTED _INFRA_KIT_WARM_TTL',
296
- `env-load() { local f m; f=$(${runCmd} env-load "$@") || return; m=$(zstat +mtime -- "$f" 2>/dev/null || echo 0); _INFRA_KIT_LAST_LOAD_MTIME=$m; source "$f"; ${runCmd} env-status; }`,
297
- `env-clear() { local f m; f=$(${runCmd} env-clear "$@") || return; m=$(zstat +mtime -- "$f" 2>/dev/null || echo 0); _INFRA_KIT_LAST_CLEAR_MTIME=$m; source "$f"; ${runCmd} env-status; }`,
298
- `env-status() { ${runCmd} env-status; }`,
299
- `alias ik='${runCmd}'`,
300
- '_infra_kit_autoload() {',
301
- ' [[ -z "$INFRA_KIT_SESSION" ]] && return',
302
- // eslint-disable-next-line no-template-curly-in-string
303
- ' local cache_root="${XDG_CACHE_HOME:-$HOME/.cache}/infra-kit"',
304
- ' local dir="$cache_root/$INFRA_KIT_SESSION"',
305
- ' local load_file="$dir/env-load.sh"',
306
- ' local clear_file="$dir/env-clear.sh"',
307
- ' local load_mtime=0 clear_mtime=0',
308
- ' [[ -f "$load_file" ]] && load_mtime=$(zstat +mtime -- "$load_file" 2>/dev/null || echo 0)',
309
- ' [[ -f "$clear_file" ]] && clear_mtime=$(zstat +mtime -- "$clear_file" 2>/dev/null || echo 0)',
310
- ' if (( load_mtime > _INFRA_KIT_LAST_LOAD_MTIME && load_mtime >= _INFRA_KIT_SHELL_STARTED && load_mtime >= clear_mtime )); then',
311
- ' source "$load_file"',
312
- ' _INFRA_KIT_LAST_LOAD_MTIME=$load_mtime',
313
- // eslint-disable-next-line no-template-curly-in-string
314
- ' print -u2 "infra-kit: auto-loaded vars for ${INFRA_KIT_ENV_CONFIG:-?}"',
315
- ' fi',
316
- ' if (( clear_mtime > _INFRA_KIT_LAST_CLEAR_MTIME && clear_mtime >= _INFRA_KIT_SHELL_STARTED && clear_mtime > load_mtime )); then',
317
- ' source "$clear_file"',
318
- ' _INFRA_KIT_LAST_CLEAR_MTIME=$clear_mtime',
319
- ' print -u2 "infra-kit: auto-cleared env"',
320
- ' fi',
321
- '}',
322
- 'autoload -Uz add-zsh-hook',
323
- 'if (( _INFRA_KIT_SHELL_STARTED > 0 )); then',
324
- ' add-zsh-hook precmd _infra_kit_autoload',
325
- 'fi',
326
- // Non-blocking startup poll: the shell-startup spawn (below) writes env-load.sh
327
- // asynchronously (node + Doppler fetch, ~0.5-2s), so the FIRST precmd — which
328
- // fires before the first prompt — runs before the file lands and sources nothing;
329
- // without this the vars only appear after the user's first command. This one-shot
330
- // re-arming poll re-runs the precmd sourcer once per second, at the idle prompt
331
- // with NO user command, until it sources the freshly written file (its mtime is
332
- // >= _INFRA_KIT_SHELL_STARTED so the existing gate accepts it) OR the startup
333
- // window closes. _infra_kit_autoload sets _INFRA_KIT_LAST_LOAD_MTIME on a
334
- // successful source, which lifts it to >= _INFRA_KIT_SHELL_STARTED and stops the
335
- // re-arm. Bounded to WINDOW seconds so an unconfigured project / down Doppler
336
- // that never writes a file only costs a handful of no-op ticks, then falls back
337
- // to the precmd hook. Sources the same freshly written file as precmd, so there
338
- // is no stale/last-known-good secrets window.
339
- '_INFRA_KIT_AUTOLOAD_WINDOW=6',
340
- 'export _INFRA_KIT_AUTOLOAD_WINDOW',
341
- '_infra_kit_poll_autoload() {',
342
- ' _infra_kit_autoload',
343
- // eslint-disable-next-line no-template-curly-in-string
344
- ' if (( _INFRA_KIT_LAST_LOAD_MTIME < _INFRA_KIT_SHELL_STARTED )) && (( ${EPOCHSECONDS:-0} - _INFRA_KIT_SHELL_STARTED < _INFRA_KIT_AUTOLOAD_WINDOW )); then',
345
- ' (( $+builtins[sched] )) && sched +1 _infra_kit_poll_autoload',
346
- ' fi',
347
- '}',
348
- // Warm cache: source the project-scoped last-known-good env-load.sh INSTANTLY at
349
- // startup (pure zsh, no node/Doppler) so vars are present at prompt-0, before the
350
- // backgrounded refresh lands. `key` is sha256 of the canonical project dir passed
351
- // in by the caller — byte-identical to node's warmCacheKey (printf %s | shasum,
352
- // full 64-hex). Skips when: no sha tool (degrade to poll), no warm file, a project
353
- // clear-marker is at least as new (clear wins ties), or the file is past TTL
354
- // (bounds a rotated secret served at prompt-0). Deliberately does NOT set
355
- // _INFRA_KIT_LAST_LOAD_MTIME (leaves it 0) so the poll/precmd still source the
356
- // fresh SESSION file (different path, newer mtime) and upgrade warm->fresh.
357
- '_infra_kit_warm_source() {',
358
- ' local canon="$1" key',
359
- ' if (( $+commands[shasum] )); then',
360
- ' key=$(printf %s "$canon" | shasum -a 256 | cut -c1-64)',
361
- ' elif (( $+commands[sha256sum] )); then',
362
- ' key=$(printf %s "$canon" | sha256sum | cut -c1-64)',
363
- ' else',
364
- ' return',
365
- ' fi',
366
- // eslint-disable-next-line no-template-curly-in-string
367
- ' local cache_root="${XDG_CACHE_HOME:-$HOME/.cache}/infra-kit"',
368
- ' local warm="$cache_root/projects/$key/env-load.sh"',
369
- ' local wclear="$cache_root/projects/$key/env-clear.sh"',
370
- ' [[ -f "$warm" ]] || return',
371
- ' local wm=0 cm=0',
372
- ' wm=$(zstat +mtime -- "$warm" 2>/dev/null || echo 0)',
373
- ' [[ -f "$wclear" ]] && cm=$(zstat +mtime -- "$wclear" 2>/dev/null || echo 0)',
374
- ' (( cm >= wm )) && return',
375
- // eslint-disable-next-line no-template-curly-in-string
376
- ' (( ${EPOCHSECONDS:-0} - wm >= _INFRA_KIT_WARM_TTL )) && return',
377
- ' source "$warm"',
378
- // eslint-disable-next-line no-template-curly-in-string
379
- ' print -u2 "infra-kit: loaded cached vars for ${INFRA_KIT_ENV_CONFIG:-?} (refreshing…)"',
380
- '}',
381
- // One-shot env auto-load when a NEW shell opens inside an infra-kit project
382
- // or worktree (config: envAutoLoad.trigger "shell-startup"). Cheap pure-zsh
383
- // project gate (walk up for infra-kit.json) avoids spawning node in unrelated
384
- // shells; the spawn is skipped only when the already-loaded env belongs to THIS
385
- // project root (INFRA_KIT_ENV_PROJECT_ROOT), so cd'ing into a DIFFERENT project
386
- // re-loads instead of silently keeping the previous project's secrets. The spawn
387
- // is DETACHED+backgrounded ( ... & ) so it never blocks the prompt; it only
388
- // WRITES env-load.sh. The startup poll armed right after (and the precmd hook as
389
- // a later-prompt fallback) sources the file once it lands. Trade-off: the gate
390
- // can't read the merged JSON config, so a fresh shell in a project WITHOUT
391
- // envAutoLoad still spawns one background process that resolves config, finds
392
- // nothing, and exits.
393
- '_infra_kit_startup_autoload() {',
394
- ' [[ -z "$INFRA_KIT_SESSION" ]] && return',
395
- ' local dir="$PWD" prev=""',
396
- ' while [[ -n "$dir" && "$dir" != "$prev" ]]; do',
397
- ' if [[ -f "$dir/infra-kit.json" ]]; then',
398
- ' [[ -n "$INFRA_KIT_ENV_CONFIG" && "$dir" == "$INFRA_KIT_ENV_PROJECT_ROOT" ]] && return',
399
- // canon = realpath of the project dir; the SAME string node hashes for the warm
400
- // key (passed via --project-dir), so the two keys are byte-identical.
401
- // eslint-disable-next-line no-template-curly-in-string
402
- ' local canon="${dir:A}"',
403
- ' _infra_kit_warm_source "$canon"',
404
- ` ( ${runCmd} env-autoload --project-dir "$canon" & ) >/dev/null 2>&1`,
405
- ' (( $+builtins[sched] )) && sched +1 _infra_kit_poll_autoload',
406
- ' return',
407
- ' fi',
408
- ' prev="$dir"',
409
- // eslint-disable-next-line no-template-curly-in-string
410
- ' dir="${dir:h}"',
411
- ' done',
412
- '}',
413
- 'if (( _INFRA_KIT_SHELL_STARTED > 0 )); then',
414
- ' _infra_kit_startup_autoload',
415
- 'fi',
416
- ].join('\n')
417
- }
418
-
419
- /**
420
- * The full marker-delimited shell block (`MARKER_START … MARKER_END`). Kept as
421
- * a single composed string so `doctor`'s exact-match freshness check stays valid.
422
- */
423
- export const buildShellBlock = (): string => {
424
- return `${MARKER_START}\n${buildShellBody()}\n${MARKER_END}`
425
- }