@oscharko-dev/keiko 1.1.13 → 1.2.1

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 (1598) hide show
  1. package/README.md +29 -5
  2. package/dist/ui/csp-hashes.json +6 -6
  3. package/dist/ui/static/404.html +1 -1
  4. package/dist/ui/static/__next.__PAGE__.txt +13 -13
  5. package/dist/ui/static/__next._full.txt +24 -22
  6. package/dist/ui/static/__next._tree.txt +3 -3
  7. package/dist/ui/static/_next/static/chunks/00_o0v2hokzqm.js +1 -0
  8. package/dist/ui/static/_next/static/chunks/014h2nyfet3kr.js +1 -0
  9. package/dist/ui/static/_next/static/chunks/02ahxxpsbao7z.js +1 -0
  10. package/dist/ui/static/_next/static/chunks/0339vdalk0q6h.js +3 -0
  11. package/dist/ui/static/_next/static/chunks/{13fx5sqcncq4_.js → 05k2u3763ih_i.js} +1 -1
  12. package/dist/ui/static/_next/static/chunks/07f-n_9zq-s8q.js +1 -0
  13. package/dist/ui/static/_next/static/chunks/07l0sfn1-mid2.js +1 -0
  14. package/dist/ui/static/_next/static/chunks/0851fl0j1ja4e.js +1 -0
  15. package/dist/ui/static/_next/static/chunks/08896ukd2zxg6.js +1 -0
  16. package/dist/ui/static/_next/static/chunks/08nml2svyd9vv.js +4 -0
  17. package/dist/ui/static/_next/static/chunks/08tg5xjyy073b.js +1 -0
  18. package/dist/ui/static/_next/static/chunks/{2cn33khz2ae-h.js → 08v-jyhi2uk8t.js} +1 -1
  19. package/dist/ui/static/_next/static/chunks/09p2ty64ellxo.js +1 -0
  20. package/dist/ui/static/_next/static/chunks/0_yx8_bs1t-27.js +1 -0
  21. package/dist/ui/static/_next/static/chunks/0b7xat6jxvrmr.js +1 -0
  22. package/dist/ui/static/_next/static/chunks/0bz731buimrpv.js +1 -0
  23. package/dist/ui/static/_next/static/chunks/0d3a8-uxb000v.js +1 -0
  24. package/dist/ui/static/_next/static/chunks/0gf88p0jy1g5w.js +1 -0
  25. package/dist/ui/static/_next/static/chunks/0jjhji-e9mg99.js +1 -0
  26. package/dist/ui/static/_next/static/chunks/0jtp8te-03j1-.js +1 -0
  27. package/dist/ui/static/_next/static/chunks/0lw_ax6yn_z8w.js +1 -0
  28. package/dist/ui/static/_next/static/chunks/0mcg_spbohpl3.css +1 -0
  29. package/dist/ui/static/_next/static/chunks/0oocu54xdbxf3.js +2 -0
  30. package/dist/ui/static/_next/static/chunks/{39w0xj7fyy7sp.js → 0pf5ot48kepng.js} +1 -1
  31. package/dist/ui/static/_next/static/chunks/0rs9egrg2q85w.js +1 -0
  32. package/dist/ui/static/_next/static/chunks/{1o2cihsnxhmh6.js → 0rsutf6da798_.js} +1 -1
  33. package/dist/ui/static/_next/static/chunks/0rw0et8bt6w-b.js +1 -0
  34. package/dist/ui/static/_next/static/chunks/0su17ctiaqfp0.js +1 -0
  35. package/dist/ui/static/_next/static/chunks/0w2fp3hjrfx32.js +1 -0
  36. package/dist/ui/static/_next/static/chunks/0wdn9qetndtsj.js +1 -0
  37. package/dist/ui/static/_next/static/chunks/0wok-g3ndtvch.js +1 -0
  38. package/dist/ui/static/_next/static/chunks/0x42c1na2ia6m.js +1 -0
  39. package/dist/ui/static/_next/static/chunks/0xu2rnpdr4kzd.js +1 -0
  40. package/dist/ui/static/_next/static/chunks/0y3402xorco2c.js +1 -0
  41. package/dist/ui/static/_next/static/chunks/10p1rdlk7n_9w.js +1 -0
  42. package/dist/ui/static/_next/static/chunks/12aem44im45f-.js +1 -0
  43. package/dist/ui/static/_next/static/chunks/18kcx5kpyxr16.js +1 -0
  44. package/dist/ui/static/_next/static/chunks/1aivbuztyv67o.js +10 -0
  45. package/dist/ui/static/_next/static/chunks/1c0u0qq0vwkc4.js +1 -0
  46. package/dist/ui/static/_next/static/chunks/1f05h21irrvbs.js +1 -0
  47. package/dist/ui/static/_next/static/chunks/1ggcq_lho062y.js +1 -0
  48. package/dist/ui/static/_next/static/chunks/1o-own3kgpojf.js +1 -0
  49. package/dist/ui/static/_next/static/chunks/{25f22x86d_a1n.js → 1osovjtjgxmbl.js} +1 -1
  50. package/dist/ui/static/_next/static/chunks/{29dj-5kj_vfl_.js → 1qh0x9_258ol2.js} +1 -1
  51. package/dist/ui/static/_next/static/chunks/{2kh0qihno0n1w.js → 1rp_smu1jjw45.js} +1 -1
  52. package/dist/ui/static/_next/static/chunks/1uu9slkxpbe4y.js +1 -0
  53. package/dist/ui/static/_next/static/chunks/1vy80v9kp_rqv.js +1 -0
  54. package/dist/ui/static/_next/static/chunks/{0l7cc8q83migz.css → 1wj7exxi550gi.css} +1 -1
  55. package/dist/ui/static/_next/static/chunks/1x-sfb1_rl15-.js +1 -0
  56. package/dist/ui/static/_next/static/chunks/1zczte6xkwvcl.js +1 -0
  57. package/dist/ui/static/_next/static/chunks/1zqfkyeqq5cl8.js +1 -0
  58. package/dist/ui/static/_next/static/chunks/1zudszthinjcb.js +1 -0
  59. package/dist/ui/static/_next/static/chunks/{18qu5m_in_h3x.js → 1zw11x_e-3fzu.js} +1 -1
  60. package/dist/ui/static/_next/static/chunks/20-u8pg5ve_cz.js +1 -0
  61. package/dist/ui/static/_next/static/chunks/{1kacubgk0y2ki.js → 21-6b7rkmtvg8.js} +1 -1
  62. package/dist/ui/static/_next/static/chunks/22zxuap4am9bs.js +1 -0
  63. package/dist/ui/static/_next/static/chunks/23lstlpeh2rb-.js +1 -0
  64. package/dist/ui/static/_next/static/chunks/25x9hf4wdlde7.js +1 -0
  65. package/dist/ui/static/_next/static/chunks/261euyxjrb0lv.js +1 -0
  66. package/dist/ui/static/_next/static/chunks/2astwwmbb8e53.js +1 -0
  67. package/dist/ui/static/_next/static/chunks/2duxlo7cg_s7_.js +3 -0
  68. package/dist/ui/static/_next/static/chunks/2dwrkrp-gqyej.js +1 -0
  69. package/dist/ui/static/_next/static/chunks/2ef4l5re80dgi.js +1 -0
  70. package/dist/ui/static/_next/static/chunks/2g_pljoa8f0e-.js +1 -0
  71. package/dist/ui/static/_next/static/chunks/{199p3upt-xa37.js → 2h4vqb2rt3mr1.js} +1 -1
  72. package/dist/ui/static/_next/static/chunks/{3inx1ugcc-jd-.css → 2hu5w89yy7_s-.css} +1 -0
  73. package/dist/ui/static/_next/static/chunks/2imh4llefx9d1.js +1 -0
  74. package/dist/ui/static/_next/static/chunks/2jsnrkl0syr4y.js +1 -0
  75. package/dist/ui/static/_next/static/chunks/{0m1163red7mw7.js → 2nlmtsm3kjmbh.js} +1 -1
  76. package/dist/ui/static/_next/static/chunks/{1c1gbfapof8m0.js → 2oq1uk07ft9l0.js} +1 -1
  77. package/dist/ui/static/_next/static/chunks/2ov72plu69iiv.js +1 -0
  78. package/dist/ui/static/_next/static/chunks/2ta3jr_uw2j0x.js +1 -0
  79. package/dist/ui/static/_next/static/chunks/2u5_pu1uc6seh.js +1 -0
  80. package/dist/ui/static/_next/static/chunks/2wuj7qxm6mleh.js +1 -0
  81. package/dist/ui/static/_next/static/chunks/2xd3_a4jlxum2.css +1 -0
  82. package/dist/ui/static/_next/static/chunks/2yuvdrio9ki3a.css +39 -0
  83. package/dist/ui/static/_next/static/chunks/2z5c2glupanq_.js +1 -0
  84. package/dist/ui/static/_next/static/chunks/3-7tka4cib69h.js +1 -0
  85. package/dist/ui/static/_next/static/chunks/3-dorttkhs3i2.js +1 -0
  86. package/dist/ui/static/_next/static/chunks/3-pcgkdsv7x4z.js +1 -0
  87. package/dist/ui/static/_next/static/chunks/{0o_lmzxpjfeky.js → 3007ncr8g751a.js} +1 -1
  88. package/dist/ui/static/_next/static/chunks/307xuhrdmetj7.js +1 -0
  89. package/dist/ui/static/_next/static/chunks/30og31pxg8wrp.js +1 -0
  90. package/dist/ui/static/_next/static/chunks/32jgtvf2y-f54.js +1 -0
  91. package/dist/ui/static/_next/static/chunks/35ivnhnxr9dmz.js +1 -0
  92. package/dist/ui/static/_next/static/chunks/363iuc3t94rie.js +1 -0
  93. package/dist/ui/static/_next/static/chunks/36c8jty3kllje.js +1 -0
  94. package/dist/ui/static/_next/static/chunks/37qsy798-g74f.js +1 -0
  95. package/dist/ui/static/_next/static/chunks/37v998g0cm36x.js +1 -0
  96. package/dist/ui/static/_next/static/chunks/3946_dfcd9xr-.js +1 -0
  97. package/dist/ui/static/_next/static/chunks/3b05n-007vc3e.js +1 -0
  98. package/dist/ui/static/_next/static/chunks/3cpuzx4fetu6y.js +1 -0
  99. package/dist/ui/static/_next/static/chunks/3d27ozm1boe_5.js +3 -0
  100. package/dist/ui/static/_next/static/chunks/3eg8pcox5copv.js +1 -0
  101. package/dist/ui/static/_next/static/chunks/3ftqojkan-5cl.js +1 -0
  102. package/dist/ui/static/_next/static/chunks/3fwt6-8rc2mya.js +1 -0
  103. package/dist/ui/static/_next/static/chunks/{3kmozkq6tgqnz.js → 3g4px251sg85e.js} +1 -1
  104. package/dist/ui/static/_next/static/chunks/3gyetohi_flhb.js +1 -0
  105. package/dist/ui/static/_next/static/chunks/3hjs3gk92eave.js +1 -0
  106. package/dist/ui/static/_next/static/chunks/3ksbq-nwkgwob.js +1 -0
  107. package/dist/ui/static/_next/static/chunks/{1n3b0bhd9q0p6.js → 3l3xw2fmr7pct.js} +3 -3
  108. package/dist/ui/static/_next/static/chunks/3neoxf-shnu-d.js +1 -0
  109. package/dist/ui/static/_next/static/chunks/3or_0c84ozskx.js +1 -0
  110. package/dist/ui/static/_next/static/chunks/3payvp5ps2fne.css +3 -0
  111. package/dist/ui/static/_next/static/chunks/3q-93bizla3k1.js +1 -0
  112. package/dist/ui/static/_next/static/chunks/3qbbcm9fuk494.js +1 -0
  113. package/dist/ui/static/_next/static/chunks/3rhep1yhgo6a7.js +1 -0
  114. package/dist/ui/static/_next/static/chunks/3sgbsntbbci5y.js +1 -0
  115. package/dist/ui/static/_next/static/chunks/3tcw3qy3rrkyf.js +1 -0
  116. package/dist/ui/static/_next/static/chunks/3tqd6avtamgd5.js +1 -0
  117. package/dist/ui/static/_next/static/chunks/3ty06iqiblqi4.js +1 -0
  118. package/dist/ui/static/_next/static/chunks/{1ydfda18zlx4w.js → 3vjm30f1if00s.js} +1 -1
  119. package/dist/ui/static/_next/static/chunks/3wz98o059mhtf.js +1 -0
  120. package/dist/ui/static/_next/static/chunks/3x2p8mgrihuet.js +1 -0
  121. package/dist/ui/static/_next/static/chunks/3xi3iilmw9_vy.js +5 -0
  122. package/dist/ui/static/_next/static/chunks/3z5edm1fpkcuq.js +1 -0
  123. package/dist/ui/static/_next/static/chunks/3zxbqudoeow_a.js +1 -0
  124. package/dist/ui/static/_next/static/chunks/3zxwlxhzm5swe.js +1 -0
  125. package/dist/ui/static/_next/static/chunks/{3chx0gpjqrhod.js → 405vbzo164i84.js} +3 -3
  126. package/dist/ui/static/_next/static/chunks/42pls95xys34g.js +1 -0
  127. package/dist/ui/static/_next/static/chunks/43kutp14mqi-j.js +1 -0
  128. package/dist/ui/static/_next/static/chunks/43y3xn64quyo2.js +1 -0
  129. package/dist/ui/static/_next/static/chunks/43z5mfwx4lk4w.js +1 -0
  130. package/dist/ui/static/_next/static/chunks/{turbopack-2fb3mn6go2p-t.js → turbopack-34k8wgx0iwdzg.js} +1 -1
  131. package/dist/ui/static/_not-found/__next._full.txt +22 -21
  132. package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +10 -10
  133. package/dist/ui/static/_not-found/__next._tree.txt +2 -2
  134. package/dist/ui/static/_not-found.html +1 -1
  135. package/dist/ui/static/_not-found.txt +22 -21
  136. package/dist/ui/static/atlassian-connectors/__next._full.txt +24 -23
  137. package/dist/ui/static/atlassian-connectors/__next._tree.txt +2 -2
  138. package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +12 -12
  139. package/dist/ui/static/atlassian-connectors.html +1 -1
  140. package/dist/ui/static/atlassian-connectors.txt +24 -23
  141. package/dist/ui/static/index.html +1 -1
  142. package/dist/ui/static/index.txt +24 -22
  143. package/dist/ui/static/launch/__next._full.txt +27 -26
  144. package/dist/ui/static/launch/__next._tree.txt +3 -3
  145. package/dist/ui/static/launch/__next.launch.__PAGE__.txt +13 -13
  146. package/dist/ui/static/launch.html +1 -1
  147. package/dist/ui/static/launch.txt +27 -26
  148. package/dist/ui/static/local-knowledge/__next._full.txt +27 -26
  149. package/dist/ui/static/local-knowledge/__next._tree.txt +3 -3
  150. package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +13 -13
  151. package/dist/ui/static/local-knowledge/capsule/__next._full.txt +25 -24
  152. package/dist/ui/static/local-knowledge/capsule/__next._tree.txt +2 -2
  153. package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.__PAGE__.txt +12 -12
  154. package/dist/ui/static/local-knowledge/capsule.html +1 -1
  155. package/dist/ui/static/local-knowledge/capsule.txt +25 -24
  156. package/dist/ui/static/local-knowledge.html +1 -1
  157. package/dist/ui/static/local-knowledge.txt +27 -26
  158. package/node_modules/@oscharko-dev/keiko-activity-log/dist/activity-log-store.d.ts +6 -2
  159. package/node_modules/@oscharko-dev/keiko-activity-log/dist/activity-log-store.d.ts.map +1 -1
  160. package/node_modules/@oscharko-dev/keiko-activity-log/dist/activity-log-store.js +54 -8
  161. package/node_modules/@oscharko-dev/keiko-activity-log/dist/defect-fingerprint.d.ts +35 -0
  162. package/node_modules/@oscharko-dev/keiko-activity-log/dist/defect-fingerprint.d.ts.map +1 -0
  163. package/node_modules/@oscharko-dev/keiko-activity-log/dist/defect-fingerprint.js +66 -0
  164. package/node_modules/@oscharko-dev/keiko-activity-log/dist/index.d.ts +2 -1
  165. package/node_modules/@oscharko-dev/keiko-activity-log/dist/index.d.ts.map +1 -1
  166. package/node_modules/@oscharko-dev/keiko-activity-log/dist/index.js +2 -1
  167. package/node_modules/@oscharko-dev/keiko-activity-log/dist/log-redaction.d.ts +13 -2
  168. package/node_modules/@oscharko-dev/keiko-activity-log/dist/log-redaction.d.ts.map +1 -1
  169. package/node_modules/@oscharko-dev/keiko-activity-log/dist/log-redaction.js +67 -126
  170. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/index.d.ts +4 -1
  171. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/index.d.ts.map +1 -1
  172. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/index.js +4 -1
  173. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze-sufficiency.d.ts +10 -2
  174. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze-sufficiency.d.ts.map +1 -1
  175. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze-sufficiency.js +59 -46
  176. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze.d.ts +18 -3
  177. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze.d.ts.map +1 -1
  178. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze.js +176 -53
  179. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts +35 -0
  180. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts.map +1 -0
  181. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.js +3650 -0
  182. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-desktop-report-attribution.d.ts +5 -0
  183. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-desktop-report-attribution.d.ts.map +1 -0
  184. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-desktop-report-attribution.js +74 -0
  185. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-desktop-report.d.ts +25 -0
  186. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-desktop-report.d.ts.map +1 -0
  187. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-desktop-report.js +184 -0
  188. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-incident-resolution.d.ts +33 -0
  189. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-incident-resolution.d.ts.map +1 -0
  190. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-incident-resolution.js +195 -0
  191. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-lifetime.d.ts +7 -0
  192. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-lifetime.d.ts.map +1 -0
  193. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-lifetime.js +19 -0
  194. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-local-query.d.ts +11 -0
  195. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-local-query.d.ts.map +1 -0
  196. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-local-query.js +20 -0
  197. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-query.d.ts +6 -2
  198. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-query.d.ts.map +1 -1
  199. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-query.js +442 -60
  200. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts +45 -0
  201. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts.map +1 -0
  202. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.js +53 -0
  203. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry.d.ts +27 -0
  204. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry.d.ts.map +1 -0
  205. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry.js +46 -0
  206. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report-json.d.ts +3 -0
  207. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report-json.d.ts.map +1 -0
  208. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report-json.js +5 -0
  209. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report-privacy.d.ts +12 -0
  210. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report-privacy.d.ts.map +1 -0
  211. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report-privacy.js +226 -0
  212. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report.d.ts +41 -0
  213. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report.d.ts.map +1 -0
  214. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report.js +672 -0
  215. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-retrieval-miss.d.ts +13 -0
  216. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-retrieval-miss.d.ts.map +1 -0
  217. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-retrieval-miss.js +363 -0
  218. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-segment-manifest.d.ts +4 -1
  219. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-segment-manifest.d.ts.map +1 -1
  220. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-segment-manifest.js +17 -5
  221. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-segment-scan.d.ts.map +1 -1
  222. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-segment-scan.js +16 -9
  223. package/node_modules/@oscharko-dev/keiko-activity-log/dist/server-log.d.ts +1 -1
  224. package/node_modules/@oscharko-dev/keiko-activity-log/dist/server-log.d.ts.map +1 -1
  225. package/node_modules/@oscharko-dev/keiko-activity-log/dist/server-log.js +16 -10
  226. package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident-retention.d.ts +10 -0
  227. package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident-retention.d.ts.map +1 -0
  228. package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident-retention.js +21 -0
  229. package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident-store.d.ts +11 -3
  230. package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident-store.d.ts.map +1 -1
  231. package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident-store.js +142 -23
  232. package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident.d.ts +25 -22
  233. package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident.d.ts.map +1 -1
  234. package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident.js +694 -198
  235. package/node_modules/@oscharko-dev/keiko-activity-log/package.json +3 -3
  236. package/node_modules/@oscharko-dev/keiko-cli/dist/cli-control-state.d.ts +8 -0
  237. package/node_modules/@oscharko-dev/keiko-cli/dist/cli-control-state.d.ts.map +1 -1
  238. package/node_modules/@oscharko-dev/keiko-cli/dist/cli-control-state.js +25 -1
  239. package/node_modules/@oscharko-dev/keiko-cli/dist/init.d.ts.map +1 -1
  240. package/node_modules/@oscharko-dev/keiko-cli/dist/init.js +1 -0
  241. package/node_modules/@oscharko-dev/keiko-cli/dist/investigate.js +1 -1
  242. package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-browser-activity.d.ts +22 -0
  243. package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-browser-activity.d.ts.map +1 -0
  244. package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-browser-activity.js +50 -0
  245. package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.d.ts +4 -1
  246. package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.d.ts.map +1 -1
  247. package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.js +137 -32
  248. package/node_modules/@oscharko-dev/keiko-cli/dist/process-activity-log.d.ts.map +1 -1
  249. package/node_modules/@oscharko-dev/keiko-cli/dist/process-activity-log.js +3 -1
  250. package/node_modules/@oscharko-dev/keiko-cli/dist/repair.d.ts.map +1 -1
  251. package/node_modules/@oscharko-dev/keiko-cli/dist/repair.js +1 -0
  252. package/node_modules/@oscharko-dev/keiko-cli/dist/runner.js +1 -1
  253. package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.d.ts +25 -4
  254. package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.d.ts.map +1 -1
  255. package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.js +144 -12
  256. package/node_modules/@oscharko-dev/keiko-cli/dist/support-export.d.ts +16 -113
  257. package/node_modules/@oscharko-dev/keiko-cli/dist/support-export.d.ts.map +1 -1
  258. package/node_modules/@oscharko-dev/keiko-cli/dist/support-export.js +71 -358
  259. package/node_modules/@oscharko-dev/keiko-cli/dist/support-incident.d.ts +1 -21
  260. package/node_modules/@oscharko-dev/keiko-cli/dist/support-incident.d.ts.map +1 -1
  261. package/node_modules/@oscharko-dev/keiko-cli/dist/support-incident.js +14 -112
  262. package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-cli.d.ts +1 -1
  263. package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-cli.d.ts.map +1 -1
  264. package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-cli.js +6 -18
  265. package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-evidence.d.ts +10 -0
  266. package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-evidence.d.ts.map +1 -1
  267. package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-evidence.js +2 -0
  268. package/node_modules/@oscharko-dev/keiko-cli/dist/support-report-cli.d.ts +23 -0
  269. package/node_modules/@oscharko-dev/keiko-cli/dist/support-report-cli.d.ts.map +1 -0
  270. package/node_modules/@oscharko-dev/keiko-cli/dist/support-report-cli.js +521 -0
  271. package/node_modules/@oscharko-dev/keiko-cli/dist/support-report-evidence.d.ts +647 -0
  272. package/node_modules/@oscharko-dev/keiko-cli/dist/support-report-evidence.d.ts.map +1 -0
  273. package/node_modules/@oscharko-dev/keiko-cli/dist/support-report-evidence.js +338 -0
  274. package/node_modules/@oscharko-dev/keiko-cli/dist/support-selective-export.d.ts +3 -5
  275. package/node_modules/@oscharko-dev/keiko-cli/dist/support-selective-export.d.ts.map +1 -1
  276. package/node_modules/@oscharko-dev/keiko-cli/dist/support-selective-export.js +6 -42
  277. package/node_modules/@oscharko-dev/keiko-cli/dist/support.d.ts +0 -18
  278. package/node_modules/@oscharko-dev/keiko-cli/dist/support.d.ts.map +1 -1
  279. package/node_modules/@oscharko-dev/keiko-cli/dist/support.js +118 -1276
  280. package/node_modules/@oscharko-dev/keiko-cli/dist/ui-browser-handoff.d.ts +15 -0
  281. package/node_modules/@oscharko-dev/keiko-cli/dist/ui-browser-handoff.d.ts.map +1 -0
  282. package/node_modules/@oscharko-dev/keiko-cli/dist/ui-browser-handoff.js +91 -0
  283. package/node_modules/@oscharko-dev/keiko-cli/dist/ui.d.ts +2 -0
  284. package/node_modules/@oscharko-dev/keiko-cli/dist/ui.d.ts.map +1 -1
  285. package/node_modules/@oscharko-dev/keiko-cli/dist/ui.js +31 -3
  286. package/node_modules/@oscharko-dev/keiko-cli/package.json +15 -15
  287. package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts +1 -1
  288. package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts.map +1 -1
  289. package/node_modules/@oscharko-dev/keiko-connectors/dist/version.js +1 -1
  290. package/node_modules/@oscharko-dev/keiko-connectors/package.json +3 -3
  291. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.d.ts +519 -139
  292. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.d.ts.map +1 -1
  293. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.js +783 -113
  294. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-label-policy.d.ts +4 -0
  295. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-label-policy.d.ts.map +1 -0
  296. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-label-policy.js +123 -0
  297. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts +31805 -0
  298. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts.map +1 -0
  299. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.js +35636 -0
  300. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts +12694 -34263
  301. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts.map +1 -1
  302. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.js +16845 -40229
  303. package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts +174 -5
  304. package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts.map +1 -1
  305. package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.js +99 -14
  306. package/node_modules/@oscharko-dev/keiko-contracts/dist/citation-markers.d.ts +49 -0
  307. package/node_modules/@oscharko-dev/keiko-contracts/dist/citation-markers.d.ts.map +1 -0
  308. package/node_modules/@oscharko-dev/keiko-contracts/dist/citation-markers.js +380 -0
  309. package/node_modules/@oscharko-dev/keiko-contracts/dist/client-defect-signature.d.ts +12 -0
  310. package/node_modules/@oscharko-dev/keiko-contracts/dist/client-defect-signature.d.ts.map +1 -0
  311. package/node_modules/@oscharko-dev/keiko-contracts/dist/client-defect-signature.js +63 -0
  312. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session-pairing.d.ts +37 -0
  313. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session-pairing.d.ts.map +1 -0
  314. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session-pairing.js +67 -0
  315. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session.d.ts +2 -35
  316. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session.d.ts.map +1 -1
  317. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session.js +1 -62
  318. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-repository-search.d.ts +25 -5
  319. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-repository-search.d.ts.map +1 -1
  320. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-repository-search.js +28 -14
  321. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.d.ts +38 -1
  322. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.d.ts.map +1 -1
  323. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.js +94 -2
  324. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api-validation.d.ts +3 -3
  325. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api-validation.d.ts.map +1 -1
  326. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api-validation.js +64 -17
  327. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.d.ts +8 -4
  328. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.d.ts.map +1 -1
  329. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.js +1 -0
  330. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.d.ts +17 -1
  331. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.d.ts.map +1 -1
  332. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.js +13 -0
  333. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime.js +1 -1
  334. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-validation.d.ts.map +1 -1
  335. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-validation.js +27 -3
  336. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.d.ts +30 -2
  337. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.d.ts.map +1 -1
  338. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.js +27 -0
  339. package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-context.d.ts +39 -6
  340. package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-context.d.ts.map +1 -1
  341. package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-context.js +230 -100
  342. package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-search-abstention.d.ts +7 -0
  343. package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-search-abstention.d.ts.map +1 -0
  344. package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-search-abstention.js +14 -0
  345. package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering-compaction-validation.d.ts.map +1 -1
  346. package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering-compaction-validation.js +4 -0
  347. package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering-validation.d.ts.map +1 -1
  348. package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering-validation.js +8 -1
  349. package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering.d.ts +15 -1
  350. package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering.d.ts.map +1 -1
  351. package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering.js +20 -6
  352. package/node_modules/@oscharko-dev/keiko-contracts/dist/contract-validation-primitives.d.ts +3 -0
  353. package/node_modules/@oscharko-dev/keiko-contracts/dist/contract-validation-primitives.d.ts.map +1 -0
  354. package/node_modules/@oscharko-dev/keiko-contracts/dist/contract-validation-primitives.js +12 -0
  355. package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts +184 -5
  356. package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts.map +1 -1
  357. package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.js +750 -11
  358. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-agent.d.ts +17 -12
  359. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-agent.d.ts.map +1 -1
  360. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-agent.js +76 -36
  361. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-m7.d.ts.map +1 -1
  362. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-m7.js +0 -2
  363. package/node_modules/@oscharko-dev/keiko-contracts/dist/evidence.d.ts +15 -0
  364. package/node_modules/@oscharko-dev/keiko-contracts/dist/evidence.d.ts.map +1 -1
  365. package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.d.ts +92 -7
  366. package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.d.ts.map +1 -1
  367. package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.js +54 -10
  368. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-repository.d.ts +4 -0
  369. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-repository.d.ts.map +1 -1
  370. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-repository.js +13 -0
  371. package/node_modules/@oscharko-dev/keiko-contracts/dist/governed-tool-catalog.d.ts +1 -1
  372. package/node_modules/@oscharko-dev/keiko-contracts/dist/governed-tool-catalog.d.ts.map +1 -1
  373. package/node_modules/@oscharko-dev/keiko-contracts/dist/grounded-assessment.d.ts +35 -0
  374. package/node_modules/@oscharko-dev/keiko-contracts/dist/grounded-assessment.d.ts.map +1 -0
  375. package/node_modules/@oscharko-dev/keiko-contracts/dist/grounded-assessment.js +125 -0
  376. package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts +9 -9
  377. package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts.map +1 -1
  378. package/node_modules/@oscharko-dev/keiko-contracts/dist/no-evidence-answer.d.ts +15 -0
  379. package/node_modules/@oscharko-dev/keiko-contracts/dist/no-evidence-answer.d.ts.map +1 -0
  380. package/node_modules/@oscharko-dev/keiko-contracts/dist/no-evidence-answer.js +388 -0
  381. package/node_modules/@oscharko-dev/keiko-contracts/dist/observability.d.ts +26 -2
  382. package/node_modules/@oscharko-dev/keiko-contracts/dist/observability.d.ts.map +1 -1
  383. package/node_modules/@oscharko-dev/keiko-contracts/dist/observability.js +109 -6
  384. package/node_modules/@oscharko-dev/keiko-contracts/dist/opencode-service-host.d.ts +42 -0
  385. package/node_modules/@oscharko-dev/keiko-contracts/dist/opencode-service-host.d.ts.map +1 -0
  386. package/node_modules/@oscharko-dev/keiko-contracts/dist/opencode-service-host.js +151 -0
  387. package/node_modules/@oscharko-dev/keiko-contracts/dist/store-fingerprint.d.ts +5 -6
  388. package/node_modules/@oscharko-dev/keiko-contracts/dist/store-fingerprint.d.ts.map +1 -1
  389. package/node_modules/@oscharko-dev/keiko-contracts/dist/store-fingerprint.js +16 -16
  390. package/node_modules/@oscharko-dev/keiko-contracts/dist/support-incident.d.ts +33 -17
  391. package/node_modules/@oscharko-dev/keiko-contracts/dist/support-incident.d.ts.map +1 -1
  392. package/node_modules/@oscharko-dev/keiko-contracts/dist/support-incident.js +230 -26
  393. package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-json.d.ts +13 -0
  394. package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-json.d.ts.map +1 -0
  395. package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-json.js +206 -0
  396. package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-policy.d.ts +6 -0
  397. package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-policy.d.ts.map +1 -0
  398. package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-policy.js +11 -0
  399. package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-producer.d.ts +26 -0
  400. package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-producer.d.ts.map +1 -0
  401. package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-producer.js +107 -0
  402. package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report.d.ts +154 -0
  403. package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report.d.ts.map +1 -0
  404. package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report.js +74 -0
  405. package/node_modules/@oscharko-dev/keiko-contracts/dist/tools.d.ts.map +1 -1
  406. package/node_modules/@oscharko-dev/keiko-contracts/dist/version.d.ts +6 -2
  407. package/node_modules/@oscharko-dev/keiko-contracts/dist/version.d.ts.map +1 -1
  408. package/node_modules/@oscharko-dev/keiko-contracts/dist/version.js +71 -2
  409. package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace-contract-primitives.d.ts +2 -0
  410. package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace-contract-primitives.d.ts.map +1 -1
  411. package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace-contract-primitives.js +2 -0
  412. package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace.d.ts +42 -0
  413. package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace.d.ts.map +1 -1
  414. package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace.js +18 -0
  415. package/node_modules/@oscharko-dev/keiko-contracts/package.json +25 -1
  416. package/node_modules/@oscharko-dev/keiko-evaluations/package.json +9 -9
  417. package/node_modules/@oscharko-dev/keiko-evidence/dist/compaction-evidence.d.ts.map +1 -1
  418. package/node_modules/@oscharko-dev/keiko-evidence/dist/compaction-evidence.js +3 -0
  419. package/node_modules/@oscharko-dev/keiko-evidence/dist/connected-context-evidence.d.ts +5 -0
  420. package/node_modules/@oscharko-dev/keiko-evidence/dist/connected-context-evidence.d.ts.map +1 -1
  421. package/node_modules/@oscharko-dev/keiko-evidence/dist/connected-context-evidence.js +28 -5
  422. package/node_modules/@oscharko-dev/keiko-evidence/dist/context-assembly-redaction.d.ts.map +1 -1
  423. package/node_modules/@oscharko-dev/keiko-evidence/dist/context-assembly-redaction.js +1 -0
  424. package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts +1 -1
  425. package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts.map +1 -1
  426. package/node_modules/@oscharko-dev/keiko-evidence/dist/version.js +1 -1
  427. package/node_modules/@oscharko-dev/keiko-evidence/package.json +4 -4
  428. package/node_modules/@oscharko-dev/keiko-git/dist/version.d.ts +1 -1
  429. package/node_modules/@oscharko-dev/keiko-git/dist/version.d.ts.map +1 -1
  430. package/node_modules/@oscharko-dev/keiko-git/dist/version.js +1 -1
  431. package/node_modules/@oscharko-dev/keiko-git/package.json +1 -1
  432. package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts +1 -1
  433. package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts.map +1 -1
  434. package/node_modules/@oscharko-dev/keiko-harness/dist/version.js +1 -1
  435. package/node_modules/@oscharko-dev/keiko-harness/package.json +7 -7
  436. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/citation-attacher.d.ts +1 -0
  437. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/citation-attacher.d.ts.map +1 -1
  438. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/citation-attacher.js +49 -38
  439. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/grounded-answer-runner.d.ts.map +1 -1
  440. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/grounded-answer-runner.js +64 -25
  441. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/types.d.ts +14 -0
  442. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/types.d.ts.map +1 -1
  443. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/index.d.ts +1 -1
  444. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/index.d.ts.map +1 -1
  445. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/index.js +1 -1
  446. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/embedding-activity-log.d.ts.map +1 -1
  447. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/embedding-activity-log.js +1 -0
  448. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/orchestrator-activity-log.d.ts.map +1 -1
  449. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/orchestrator-activity-log.js +6 -0
  450. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/_internal.d.ts +1 -1
  451. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/_internal.d.ts.map +1 -1
  452. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/_internal.js +2 -33
  453. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/html-parser.js +5 -4
  454. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/index.d.ts +2 -0
  455. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/index.d.ts.map +1 -1
  456. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/index.js +2 -0
  457. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/retrieval-runner.d.ts +2 -1
  458. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/retrieval-runner.d.ts.map +1 -1
  459. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/retrieval-runner.js +1 -0
  460. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/scoped-vector-search.d.ts +9 -2
  461. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/scoped-vector-search.d.ts.map +1 -1
  462. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/scoped-vector-search.js +18 -10
  463. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store-content-encryption.d.ts +0 -2
  464. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store-content-encryption.d.ts.map +1 -1
  465. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store-content-encryption.js +0 -11
  466. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store.d.ts +0 -11
  467. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store.d.ts.map +1 -1
  468. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store.js +9 -78
  469. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts +1 -1
  470. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts.map +1 -1
  471. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.js +1 -1
  472. package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +5 -5
  473. package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts +1 -1
  474. package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts.map +1 -1
  475. package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.js +1 -1
  476. package/node_modules/@oscharko-dev/keiko-memory-capture/package.json +3 -3
  477. package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/consolidate.d.ts.map +1 -1
  478. package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/consolidate.js +3 -0
  479. package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts +1 -1
  480. package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts.map +1 -1
  481. package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.js +1 -1
  482. package/node_modules/@oscharko-dev/keiko-memory-consolidation/package.json +3 -3
  483. package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts +1 -1
  484. package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts.map +1 -1
  485. package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.js +1 -1
  486. package/node_modules/@oscharko-dev/keiko-memory-governance/package.json +3 -3
  487. package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts +1 -1
  488. package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts.map +1 -1
  489. package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.js +1 -1
  490. package/node_modules/@oscharko-dev/keiko-memory-retrieval/package.json +3 -3
  491. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/cipher.d.ts +0 -12
  492. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/cipher.d.ts.map +1 -1
  493. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/cipher.js +0 -32
  494. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/db.d.ts +2 -11
  495. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/db.d.ts.map +1 -1
  496. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/db.js +10 -144
  497. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/index.d.ts +1 -2
  498. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/index.d.ts.map +1 -1
  499. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/index.js +7 -14
  500. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/paths.d.ts +3 -2
  501. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/paths.d.ts.map +1 -1
  502. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/paths.js +17 -48
  503. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/vault-log.d.ts +2 -1
  504. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/vault-log.d.ts.map +1 -1
  505. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/vault.js +1 -1
  506. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts +1 -1
  507. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts.map +1 -1
  508. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.js +1 -1
  509. package/node_modules/@oscharko-dev/keiko-memory-vault/package.json +3 -3
  510. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/capabilities.d.ts +9 -0
  511. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/capabilities.d.ts.map +1 -1
  512. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/capabilities.js +24 -10
  513. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/config.d.ts +1 -0
  514. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/config.d.ts.map +1 -1
  515. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/config.js +203 -2
  516. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/embedding.d.ts +2 -0
  517. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/embedding.d.ts.map +1 -1
  518. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/embedding.js +2 -0
  519. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway-attempt-admission.d.ts +8 -0
  520. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway-attempt-admission.d.ts.map +1 -0
  521. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway-attempt-admission.js +44 -0
  522. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway.d.ts +113 -1
  523. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway.d.ts.map +1 -1
  524. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway.js +696 -138
  525. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.d.ts +4 -0
  526. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.d.ts.map +1 -1
  527. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.js +28 -3
  528. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/index.d.ts +5 -4
  529. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/index.d.ts.map +1 -1
  530. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/index.js +3 -3
  531. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.d.ts +23 -0
  532. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.d.ts.map +1 -1
  533. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.js +83 -10
  534. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/normalize.d.ts +10 -0
  535. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/normalize.d.ts.map +1 -1
  536. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/normalize.js +54 -2
  537. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/observability.d.ts.map +1 -1
  538. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/observability.js +2 -0
  539. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.d.ts +17 -3
  540. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.d.ts.map +1 -1
  541. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.js +377 -77
  542. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-embedding-adapter.d.ts.map +1 -1
  543. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-embedding-adapter.js +3 -0
  544. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/prDescription/generate.d.ts.map +1 -1
  545. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/prDescription/generate.js +4 -1
  546. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/prompt-admission.d.ts.map +1 -1
  547. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/prompt-admission.js +5 -2
  548. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/readiness-probe.d.ts +18 -0
  549. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/readiness-probe.d.ts.map +1 -1
  550. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/readiness-probe.js +49 -0
  551. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.d.ts +168 -3
  552. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.d.ts.map +1 -1
  553. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.js +629 -72
  554. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/toolCatalogBridge.d.ts +9 -1
  555. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/toolCatalogBridge.d.ts.map +1 -1
  556. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/toolCatalogBridge.js +62 -16
  557. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/types.d.ts +25 -0
  558. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/types.d.ts.map +1 -1
  559. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts +1 -1
  560. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts.map +1 -1
  561. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.js +1 -1
  562. package/node_modules/@oscharko-dev/keiko-model-gateway/package.json +4 -4
  563. package/node_modules/@oscharko-dev/keiko-quality-intelligence/package.json +3 -3
  564. package/node_modules/@oscharko-dev/keiko-sandbox/dist/backends.d.ts +2 -2
  565. package/node_modules/@oscharko-dev/keiko-sandbox/dist/backends.d.ts.map +1 -1
  566. package/node_modules/@oscharko-dev/keiko-sandbox/dist/backends.js +41 -15
  567. package/node_modules/@oscharko-dev/keiko-sandbox/dist/index.d.ts +2 -1
  568. package/node_modules/@oscharko-dev/keiko-sandbox/dist/index.d.ts.map +1 -1
  569. package/node_modules/@oscharko-dev/keiko-sandbox/dist/index.js +1 -0
  570. package/node_modules/@oscharko-dev/keiko-sandbox/dist/local-docker-endpoint.d.ts +16 -0
  571. package/node_modules/@oscharko-dev/keiko-sandbox/dist/local-docker-endpoint.d.ts.map +1 -0
  572. package/node_modules/@oscharko-dev/keiko-sandbox/dist/local-docker-endpoint.js +128 -0
  573. package/node_modules/@oscharko-dev/keiko-sandbox/dist/plan.d.ts.map +1 -1
  574. package/node_modules/@oscharko-dev/keiko-sandbox/dist/plan.js +49 -7
  575. package/node_modules/@oscharko-dev/keiko-sandbox/dist/runtime-gateway.d.ts +3 -0
  576. package/node_modules/@oscharko-dev/keiko-sandbox/dist/runtime-gateway.d.ts.map +1 -1
  577. package/node_modules/@oscharko-dev/keiko-sandbox/dist/runtime-gateway.js +31 -6
  578. package/node_modules/@oscharko-dev/keiko-sandbox/dist/seatbelt-execution-root.d.ts +11 -0
  579. package/node_modules/@oscharko-dev/keiko-sandbox/dist/seatbelt-execution-root.d.ts.map +1 -0
  580. package/node_modules/@oscharko-dev/keiko-sandbox/dist/seatbelt-execution-root.js +141 -0
  581. package/node_modules/@oscharko-dev/keiko-sandbox/dist/select.d.ts.map +1 -1
  582. package/node_modules/@oscharko-dev/keiko-sandbox/dist/select.js +2 -0
  583. package/node_modules/@oscharko-dev/keiko-sandbox/dist/types.d.ts +8 -0
  584. package/node_modules/@oscharko-dev/keiko-sandbox/dist/types.d.ts.map +1 -1
  585. package/node_modules/@oscharko-dev/keiko-sandbox/package.json +2 -2
  586. package/node_modules/@oscharko-dev/keiko-sdk/package.json +9 -9
  587. package/node_modules/@oscharko-dev/keiko-security/dist/errors/gateway.d.ts +18 -3
  588. package/node_modules/@oscharko-dev/keiko-security/dist/errors/gateway.d.ts.map +1 -1
  589. package/node_modules/@oscharko-dev/keiko-security/dist/errors/gateway.js +40 -7
  590. package/node_modules/@oscharko-dev/keiko-security/dist/fs-hardening.d.ts +85 -1
  591. package/node_modules/@oscharko-dev/keiko-security/dist/fs-hardening.d.ts.map +1 -1
  592. package/node_modules/@oscharko-dev/keiko-security/dist/fs-hardening.js +128 -3
  593. package/node_modules/@oscharko-dev/keiko-security/dist/index.d.ts +1 -1
  594. package/node_modules/@oscharko-dev/keiko-security/dist/index.d.ts.map +1 -1
  595. package/node_modules/@oscharko-dev/keiko-security/dist/index.js +1 -1
  596. package/node_modules/@oscharko-dev/keiko-security/dist/portable-tree-attestation.d.ts +14 -0
  597. package/node_modules/@oscharko-dev/keiko-security/dist/portable-tree-attestation.d.ts.map +1 -1
  598. package/node_modules/@oscharko-dev/keiko-security/dist/portable-tree-attestation.js +183 -25
  599. package/node_modules/@oscharko-dev/keiko-security/dist/redaction.d.ts +12 -1
  600. package/node_modules/@oscharko-dev/keiko-security/dist/redaction.d.ts.map +1 -1
  601. package/node_modules/@oscharko-dev/keiko-security/dist/redaction.js +65 -15
  602. package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts +1 -1
  603. package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts.map +1 -1
  604. package/node_modules/@oscharko-dev/keiko-security/dist/version.js +1 -1
  605. package/node_modules/@oscharko-dev/keiko-security/package.json +2 -2
  606. package/node_modules/@oscharko-dev/keiko-server/dist/bounded-concurrency.d.ts +10 -0
  607. package/node_modules/@oscharko-dev/keiko-server/dist/bounded-concurrency.d.ts.map +1 -0
  608. package/node_modules/@oscharko-dev/keiko-server/dist/bounded-concurrency.js +84 -0
  609. package/node_modules/@oscharko-dev/keiko-server/dist/bounded-request-body.d.ts +13 -3
  610. package/node_modules/@oscharko-dev/keiko-server/dist/bounded-request-body.d.ts.map +1 -1
  611. package/node_modules/@oscharko-dev/keiko-server/dist/bounded-request-body.js +14 -25
  612. package/node_modules/@oscharko-dev/keiko-server/dist/chat-activity.d.ts +9 -2
  613. package/node_modules/@oscharko-dev/keiko-server/dist/chat-activity.d.ts.map +1 -1
  614. package/node_modules/@oscharko-dev/keiko-server/dist/chat-activity.js +48 -2
  615. package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-resurfacing.d.ts +2 -1
  616. package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-resurfacing.d.ts.map +1 -1
  617. package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-resurfacing.js +28 -7
  618. package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-thresholds.d.ts +5 -0
  619. package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-thresholds.d.ts.map +1 -0
  620. package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-thresholds.js +8 -0
  621. package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-breakdown.d.ts +25 -0
  622. package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-breakdown.d.ts.map +1 -0
  623. package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-breakdown.js +111 -0
  624. package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-log.d.ts +3 -1
  625. package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-log.d.ts.map +1 -1
  626. package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-log.js +101 -0
  627. package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-status.d.ts.map +1 -1
  628. package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-status.js +235 -33
  629. package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-log.d.ts +3 -1
  630. package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-log.d.ts.map +1 -1
  631. package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-log.js +9 -1
  632. package/node_modules/@oscharko-dev/keiko-server/dist/chat-grounding.d.ts +4 -0
  633. package/node_modules/@oscharko-dev/keiko-server/dist/chat-grounding.d.ts.map +1 -0
  634. package/node_modules/@oscharko-dev/keiko-server/dist/chat-grounding.js +7 -0
  635. package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts +2 -1
  636. package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts.map +1 -1
  637. package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.js +161 -79
  638. package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-snapshot.d.ts +27 -2
  639. package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-snapshot.d.ts.map +1 -1
  640. package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-snapshot.js +48 -7
  641. package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget.d.ts.map +1 -1
  642. package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget.js +3 -2
  643. package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-compaction.d.ts.map +1 -1
  644. package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-compaction.js +4 -2
  645. package/node_modules/@oscharko-dev/keiko-server/dist/chat-scope-update-log.d.ts +3 -0
  646. package/node_modules/@oscharko-dev/keiko-server/dist/chat-scope-update-log.d.ts.map +1 -0
  647. package/node_modules/@oscharko-dev/keiko-server/dist/chat-scope-update-log.js +51 -0
  648. package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.d.ts.map +1 -1
  649. package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.js +58 -21
  650. package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.d.ts.map +1 -1
  651. package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.js +790 -12
  652. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/appSessionReadAuthority.d.ts +8 -0
  653. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/appSessionReadAuthority.d.ts.map +1 -1
  654. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/appSessionReadAuthority.js +112 -0
  655. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.d.ts +4 -4
  656. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.d.ts.map +1 -1
  657. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.js +31 -17
  658. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionChannel.d.ts +6 -4
  659. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionChannel.d.ts.map +1 -1
  660. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionChannel.js +10 -10
  661. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionCookie.d.ts +9 -2
  662. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionCookie.d.ts.map +1 -1
  663. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionCookie.js +13 -3
  664. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionRegistry.d.ts +10 -0
  665. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionRegistry.d.ts.map +1 -1
  666. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionRegistry.js +59 -5
  667. package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/githubIssueReaderAuthorization.d.ts.map +1 -1
  668. package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/githubIssueReaderAuthorization.js +1 -0
  669. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/ciRepairPromptReservation.d.ts +11 -1
  670. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/ciRepairPromptReservation.d.ts.map +1 -1
  671. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/ciRepairPromptReservation.js +21 -7
  672. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingHistoryRoutes.d.ts.map +1 -1
  673. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingHistoryRoutes.js +8 -6
  674. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRepositorySearchHandler.d.ts.map +1 -1
  675. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRepositorySearchHandler.js +85 -2
  676. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.d.ts +50 -2
  677. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.d.ts.map +1 -1
  678. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.js +25 -0
  679. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairController.d.ts +14 -7
  680. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairController.d.ts.map +1 -1
  681. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairController.js +33 -26
  682. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.d.ts +46 -0
  683. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.d.ts.map +1 -1
  684. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.js +33 -0
  685. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEventHub.d.ts +51 -3
  686. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEventHub.d.ts.map +1 -1
  687. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEventHub.js +97 -5
  688. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts +8 -2
  689. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts.map +1 -1
  690. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.js +265 -29
  691. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.d.ts +37 -1
  692. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.d.ts.map +1 -1
  693. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.js +416 -34
  694. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorState.d.ts +5 -3
  695. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorState.d.ts.map +1 -1
  696. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorState.js +14 -7
  697. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorTypes.d.ts +21 -0
  698. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorTypes.d.ts.map +1 -1
  699. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRefusalEscalation.d.ts +79 -0
  700. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRefusalEscalation.d.ts.map +1 -0
  701. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRefusalEscalation.js +305 -0
  702. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRepositoryInstructions.d.ts +100 -0
  703. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRepositoryInstructions.d.ts.map +1 -0
  704. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRepositoryInstructions.js +363 -0
  705. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRoutes.d.ts.map +1 -1
  706. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRoutes.js +13 -0
  707. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRunEffort.d.ts +71 -0
  708. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRunEffort.d.ts.map +1 -0
  709. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRunEffort.js +294 -0
  710. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeTerminalCause.d.ts +47 -0
  711. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeTerminalCause.d.ts.map +1 -0
  712. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeTerminalCause.js +65 -0
  713. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeVerificationContinuation.d.ts +7 -0
  714. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeVerificationContinuation.d.ts.map +1 -0
  715. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeVerificationContinuation.js +79 -0
  716. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.d.ts +18 -0
  717. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.d.ts.map +1 -1
  718. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.js +201 -42
  719. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.d.ts +6 -1
  720. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.d.ts.map +1 -1
  721. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.js +733 -17
  722. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.d.ts +5 -1
  723. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.d.ts.map +1 -1
  724. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.js +262 -57
  725. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.d.ts +190 -2
  726. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.d.ts.map +1 -1
  727. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.js +57 -1
  728. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolGovernedDelegate.d.ts +3 -1
  729. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolGovernedDelegate.d.ts.map +1 -1
  730. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolGovernedDelegate.js +14 -2
  731. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolInvocationRegistry.d.ts +4 -0
  732. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolInvocationRegistry.d.ts.map +1 -1
  733. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolInvocationRegistry.js +50 -1
  734. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.d.ts +21 -3
  735. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.d.ts.map +1 -1
  736. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.js +143 -8
  737. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.d.ts +63 -1
  738. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.d.ts.map +1 -1
  739. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.js +710 -170
  740. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReplacementEdits.d.ts +108 -0
  741. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReplacementEdits.d.ts.map +1 -0
  742. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReplacementEdits.js +477 -0
  743. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLanePortableCodingRuntime.d.ts +2 -4
  744. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLanePortableCodingRuntime.d.ts.map +1 -1
  745. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLanePortableCodingRuntime.js +53 -46
  746. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.d.ts +4 -1
  747. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.d.ts.map +1 -1
  748. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.js +51 -52
  749. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.d.ts +48 -0
  750. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.d.ts.map +1 -0
  751. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.js +179 -0
  752. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/materializedPatchRegistry.d.ts +60 -0
  753. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/materializedPatchRegistry.d.ts.map +1 -0
  754. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/materializedPatchRegistry.js +61 -0
  755. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.d.ts +7 -7
  756. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.d.ts.map +1 -1
  757. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.js +48 -15
  758. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessPaths.d.ts +3 -0
  759. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessPaths.d.ts.map +1 -1
  760. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessPaths.js +14 -0
  761. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessProtocol.d.ts.map +1 -1
  762. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessProtocol.js +11 -4
  763. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/npmLaneRuntimeApprovals.d.ts +2 -0
  764. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/npmLaneRuntimeApprovals.d.ts.map +1 -1
  765. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/npmLaneRuntimeApprovals.js +28 -14
  766. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeFunctionalHarness/_governedTools.d.ts +3 -0
  767. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeFunctionalHarness/_governedTools.d.ts.map +1 -1
  768. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeFunctionalHarness/_governedTools.js +48 -20
  769. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeLaunchProfile.d.ts +5 -4
  770. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeLaunchProfile.d.ts.map +1 -1
  771. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeLaunchProfile.js +15 -14
  772. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.d.ts +10 -0
  773. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.d.ts.map +1 -0
  774. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.js +27 -0
  775. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeReconciler.d.ts +6 -3
  776. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeReconciler.d.ts.map +1 -1
  777. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeReconciler.js +15 -15
  778. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.d.ts +17 -3
  779. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.d.ts.map +1 -1
  780. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.js +198 -43
  781. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.d.ts +97 -5
  782. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.d.ts.map +1 -1
  783. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.js +1334 -103
  784. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeServiceHostArtifact.d.ts +79 -0
  785. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeServiceHostArtifact.d.ts.map +1 -0
  786. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeServiceHostArtifact.js +176 -0
  787. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.d.ts +177 -25
  788. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.d.ts.map +1 -1
  789. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.js +131 -38
  790. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2History.d.ts +18 -0
  791. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2History.d.ts.map +1 -1
  792. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2History.js +298 -32
  793. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.d.ts +6 -0
  794. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.d.ts.map +1 -1
  795. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.js +14 -3
  796. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2LiveText.d.ts +33 -0
  797. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2LiveText.d.ts.map +1 -0
  798. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2LiveText.js +213 -0
  799. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.d.ts +1 -1
  800. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.d.ts.map +1 -1
  801. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.js +2 -8
  802. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCiRepairRuntime.js +15 -5
  803. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeHost.js +5 -0
  804. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.d.ts +25 -3
  805. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.d.ts.map +1 -1
  806. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.js +227 -40
  807. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.d.ts +20 -1
  808. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.d.ts.map +1 -1
  809. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.js +224 -12
  810. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.d.ts +3 -1
  811. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.d.ts.map +1 -1
  812. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.js +20 -5
  813. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.d.ts +8 -1
  814. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.d.ts.map +1 -1
  815. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.functional/repositorySearchProof.d.ts.map +1 -1
  816. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.functional/repositorySearchProof.js +2 -1
  817. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.functional/skillDiscoveryProof.d.ts.map +1 -1
  818. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.functional/skillDiscoveryProof.js +2 -1
  819. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.js +262 -60
  820. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.d.ts +18 -0
  821. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.d.ts.map +1 -1
  822. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.js +43 -6
  823. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionWorkspaceHeadReader.js +23 -3
  824. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts +38 -0
  825. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts.map +1 -1
  826. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.js +115 -16
  827. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.d.ts +20 -0
  828. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.d.ts.map +1 -0
  829. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.js +48 -0
  830. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeProcessSupervisor.d.ts +5 -0
  831. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeProcessSupervisor.d.ts.map +1 -1
  832. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeProcessSupervisor.js +5 -1
  833. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextRead.d.ts +100 -4
  834. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextRead.d.ts.map +1 -1
  835. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextRead.js +435 -25
  836. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadAbsence.d.ts +61 -0
  837. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadAbsence.d.ts.map +1 -0
  838. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadAbsence.js +123 -0
  839. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadArtifact.d.ts +7 -0
  840. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadArtifact.d.ts.map +1 -1
  841. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadArtifact.js +26 -3
  842. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadNodeProcess.d.ts.map +1 -1
  843. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadNodeProcess.js +10 -0
  844. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProcess.d.ts +2 -0
  845. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProcess.d.ts.map +1 -1
  846. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProcess.js +17 -2
  847. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProtocol.d.ts +69 -2
  848. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProtocol.d.ts.map +1 -1
  849. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProtocol.js +266 -7
  850. package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.d.ts +15 -4
  851. package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.d.ts.map +1 -1
  852. package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.js +792 -126
  853. package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-tool-facade.d.ts +2 -2
  854. package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-tool-facade.d.ts.map +1 -1
  855. package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-tool-facade.js +139 -0
  856. package/node_modules/@oscharko-dev/keiko-server/dist/command-runner.d.ts +2 -0
  857. package/node_modules/@oscharko-dev/keiko-server/dist/command-runner.d.ts.map +1 -1
  858. package/node_modules/@oscharko-dev/keiko-server/dist/command-runner.js +176 -19
  859. package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-admission.d.ts.map +1 -1
  860. package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-admission.js +72 -13
  861. package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-log.d.ts +3 -0
  862. package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-log.d.ts.map +1 -0
  863. package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-log.js +48 -0
  864. package/node_modules/@oscharko-dev/keiko-server/dist/correlation.d.ts.map +1 -1
  865. package/node_modules/@oscharko-dev/keiko-server/dist/correlation.js +8 -5
  866. package/node_modules/@oscharko-dev/keiko-server/dist/credentialVault.d.ts.map +1 -1
  867. package/node_modules/@oscharko-dev/keiko-server/dist/credentialVault.js +5 -0
  868. package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts +61 -8
  869. package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
  870. package/node_modules/@oscharko-dev/keiko-server/dist/deps.js +281 -77
  871. package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts +15 -1
  872. package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts.map +1 -1
  873. package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.js +108 -6
  874. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentAuthorityRegistry.d.ts +9 -3
  875. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentAuthorityRegistry.d.ts.map +1 -1
  876. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentAuthorityRegistry.js +21 -94
  877. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentProducerRoute.d.ts.map +1 -1
  878. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentProducerRoute.js +1 -0
  879. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRootBoundary.d.ts +5 -1
  880. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRootBoundary.d.ts.map +1 -1
  881. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRootBoundary.js +60 -12
  882. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.d.ts +13 -2
  883. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.d.ts.map +1 -1
  884. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.js +180 -74
  885. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentSessionRegistry.d.ts +4 -0
  886. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentSessionRegistry.d.ts.map +1 -1
  887. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentSessionRegistry.js +81 -10
  888. package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyEvidence.d.ts +3 -0
  889. package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyEvidence.d.ts.map +1 -0
  890. package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyEvidence.js +35 -0
  891. package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyTargets.d.ts +5 -0
  892. package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyTargets.d.ts.map +1 -0
  893. package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyTargets.js +44 -0
  894. package/node_modules/@oscharko-dev/keiko-server/dist/editor/changesetLineBreakProvenance.d.ts +26 -0
  895. package/node_modules/@oscharko-dev/keiko-server/dist/editor/changesetLineBreakProvenance.d.ts.map +1 -0
  896. package/node_modules/@oscharko-dev/keiko-server/dist/editor/changesetLineBreakProvenance.js +87 -0
  897. package/node_modules/@oscharko-dev/keiko-server/dist/editor/codingContextProviders.d.ts.map +1 -1
  898. package/node_modules/@oscharko-dev/keiko-server/dist/editor/codingContextProviders.js +0 -3
  899. package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecution.d.ts +5 -2
  900. package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecution.d.ts.map +1 -1
  901. package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecution.js +91 -13
  902. package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecutionLog.d.ts +128 -0
  903. package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecutionLog.d.ts.map +1 -0
  904. package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecutionLog.js +213 -0
  905. package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRunner.d.ts.map +1 -1
  906. package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRunner.js +72 -24
  907. package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRuntimeTarget.d.ts +13 -0
  908. package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRuntimeTarget.d.ts.map +1 -0
  909. package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRuntimeTarget.js +121 -0
  910. package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchEvidence.d.ts +4 -0
  911. package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchEvidence.d.ts.map +1 -0
  912. package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchEvidence.js +75 -0
  913. package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchRoutes.d.ts.map +1 -1
  914. package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchRoutes.js +5 -0
  915. package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchService.d.ts +3 -0
  916. package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchService.d.ts.map +1 -1
  917. package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchService.js +230 -34
  918. package/node_modules/@oscharko-dev/keiko-server/dist/files-deny.d.ts.map +1 -1
  919. package/node_modules/@oscharko-dev/keiko-server/dist/files-deny.js +3 -2
  920. package/node_modules/@oscharko-dev/keiko-server/dist/files.d.ts +2 -25
  921. package/node_modules/@oscharko-dev/keiko-server/dist/files.d.ts.map +1 -1
  922. package/node_modules/@oscharko-dev/keiko-server/dist/files.js +76 -35
  923. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-context-window.d.ts +56 -0
  924. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-context-window.d.ts.map +1 -0
  925. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-context-window.js +432 -0
  926. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-discovery-log.d.ts +15 -0
  927. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-discovery-log.d.ts.map +1 -1
  928. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-discovery-log.js +59 -0
  929. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-instance-cache.d.ts +4 -1
  930. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-instance-cache.d.ts.map +1 -1
  931. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-instance-cache.js +16 -5
  932. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts +12 -2
  933. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts.map +1 -1
  934. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.js +367 -109
  935. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-reranker-probe.d.ts +16 -0
  936. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-reranker-probe.d.ts.map +1 -0
  937. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-reranker-probe.js +30 -0
  938. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-route-deadline.d.ts +1 -1
  939. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-route-deadline.d.ts.map +1 -1
  940. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-route-deadline.js +11 -5
  941. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts +38 -4
  942. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts.map +1 -1
  943. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.js +1354 -184
  944. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-spend-budget.d.ts.map +1 -1
  945. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-spend-budget.js +6 -3
  946. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup-activity.d.ts +31 -0
  947. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup-activity.d.ts.map +1 -0
  948. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup-activity.js +74 -0
  949. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup.d.ts +7 -0
  950. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup.d.ts.map +1 -0
  951. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup.js +282 -0
  952. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-tool-calling-probe.d.ts +1 -1
  953. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-tool-calling-probe.d.ts.map +1 -1
  954. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-tool-calling-probe.js +12 -6
  955. package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeRoutes.d.ts.map +1 -1
  956. package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeRoutes.js +30 -11
  957. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/ciObservationService.d.ts.map +1 -1
  958. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/ciObservationService.js +17 -0
  959. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitDraftQuality.d.ts.map +1 -1
  960. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitDraftQuality.js +5 -2
  961. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitRoutes.d.ts.map +1 -1
  962. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitRoutes.js +11 -4
  963. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyObservationService.d.ts.map +1 -1
  964. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyObservationService.js +1 -0
  965. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyRoutes.d.ts.map +1 -1
  966. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyRoutes.js +1 -0
  967. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionProjection.d.ts.map +1 -1
  968. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionProjection.js +1 -0
  969. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitService.d.ts.map +1 -1
  970. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitService.js +7 -0
  971. package/node_modules/@oscharko-dev/keiko-server/dist/gitPorcelainStatus.d.ts +5 -0
  972. package/node_modules/@oscharko-dev/keiko-server/dist/gitPorcelainStatus.d.ts.map +1 -1
  973. package/node_modules/@oscharko-dev/keiko-server/dist/gitPorcelainStatus.js +46 -0
  974. package/node_modules/@oscharko-dev/keiko-server/dist/gitRepositoryRoutes.d.ts +5 -1
  975. package/node_modules/@oscharko-dev/keiko-server/dist/gitRepositoryRoutes.d.ts.map +1 -1
  976. package/node_modules/@oscharko-dev/keiko-server/dist/gitRepositoryRoutes.js +68 -10
  977. package/node_modules/@oscharko-dev/keiko-server/dist/gitRoutes.d.ts.map +1 -1
  978. package/node_modules/@oscharko-dev/keiko-server/dist/gitRoutes.js +57 -1
  979. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-activity.d.ts +19 -0
  980. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-activity.d.ts.map +1 -0
  981. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-activity.js +177 -0
  982. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-assessment.d.ts +7 -0
  983. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-assessment.d.ts.map +1 -0
  984. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-assessment.js +69 -0
  985. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-evidence.d.ts +11 -0
  986. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-evidence.d.ts.map +1 -0
  987. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-evidence.js +53 -0
  988. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-repair.d.ts +25 -0
  989. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-repair.d.ts.map +1 -0
  990. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-repair.js +120 -0
  991. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer.d.ts +57 -1
  992. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer.d.ts.map +1 -1
  993. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer.js +195 -0
  994. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-assistant-referents.d.ts +16 -0
  995. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-assistant-referents.d.ts.map +1 -0
  996. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-assistant-referents.js +133 -0
  997. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-candidate-ordering.d.ts +16 -0
  998. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-candidate-ordering.d.ts.map +1 -0
  999. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-candidate-ordering.js +103 -0
  1000. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-capability.d.ts +7 -0
  1001. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-capability.d.ts.map +1 -0
  1002. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-capability.js +79 -0
  1003. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.d.ts +57 -0
  1004. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.d.ts.map +1 -0
  1005. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.js +297 -0
  1006. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.d.ts +4 -0
  1007. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.d.ts.map +1 -0
  1008. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.js +117 -0
  1009. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-context-diagnostics.d.ts.map +1 -1
  1010. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-context-diagnostics.js +25 -11
  1011. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-context-pack-reranker.d.ts +2 -2
  1012. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-context-pack-reranker.d.ts.map +1 -1
  1013. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-context-pack-reranker.js +39 -3
  1014. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-contextual-fallback.d.ts +10 -0
  1015. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-contextual-fallback.d.ts.map +1 -0
  1016. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-contextual-fallback.js +41 -0
  1017. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-conversation-continuity.d.ts +15 -1
  1018. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-conversation-continuity.d.ts.map +1 -1
  1019. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-conversation-continuity.js +126 -24
  1020. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-diagnostic-references.d.ts +42 -0
  1021. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-diagnostic-references.d.ts.map +1 -0
  1022. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-diagnostic-references.js +91 -0
  1023. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-directory-iteration.d.ts +8 -0
  1024. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-directory-iteration.d.ts.map +1 -0
  1025. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-directory-iteration.js +60 -0
  1026. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-document-evidence.d.ts +7 -3
  1027. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-document-evidence.d.ts.map +1 -1
  1028. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-document-evidence.js +63 -9
  1029. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-entailment-stage.d.ts +1 -1
  1030. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-entailment-stage.d.ts.map +1 -1
  1031. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-entailment-stage.js +61 -1
  1032. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-eval-support.d.ts +28 -1
  1033. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-eval-support.d.ts.map +1 -1
  1034. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-eval-support.js +140 -0
  1035. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.d.ts +20 -3
  1036. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.d.ts.map +1 -1
  1037. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.js +116 -53
  1038. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-explicit-paths.d.ts +44 -0
  1039. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-explicit-paths.d.ts.map +1 -0
  1040. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-explicit-paths.js +385 -0
  1041. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness-eval.d.ts +5 -2
  1042. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness-eval.d.ts.map +1 -1
  1043. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness-eval.js +123 -42
  1044. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness.d.ts +76 -6
  1045. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness.d.ts.map +1 -1
  1046. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness.js +677 -121
  1047. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-follow-up.d.ts +27 -0
  1048. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-follow-up.d.ts.map +1 -0
  1049. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-follow-up.js +198 -0
  1050. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-latency-eval.d.ts +16 -2
  1051. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-latency-eval.d.ts.map +1 -1
  1052. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-latency-eval.js +69 -1
  1053. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-metadata-retention.d.ts +34 -0
  1054. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-metadata-retention.d.ts.map +1 -0
  1055. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-metadata-retention.js +123 -0
  1056. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-multi-source-budget.d.ts.map +1 -1
  1057. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-multi-source-budget.js +6 -6
  1058. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.d.ts +128 -8
  1059. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.d.ts.map +1 -1
  1060. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.js +4801 -850
  1061. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-overview-fallback.d.ts +3 -0
  1062. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-overview-fallback.d.ts.map +1 -0
  1063. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-overview-fallback.js +81 -0
  1064. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-pack-validation.d.ts +22 -0
  1065. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-pack-validation.d.ts.map +1 -0
  1066. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-pack-validation.js +87 -0
  1067. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-plural-synthesis.d.ts +27 -0
  1068. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-plural-synthesis.d.ts.map +1 -0
  1069. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-plural-synthesis.js +74 -0
  1070. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-preselection-reranker.d.ts +25 -0
  1071. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-preselection-reranker.d.ts.map +1 -0
  1072. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-preselection-reranker.js +93 -0
  1073. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-context.d.ts +20 -0
  1074. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-context.d.ts.map +1 -0
  1075. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-context.js +33 -0
  1076. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt.d.ts +7 -0
  1077. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt.d.ts.map +1 -1
  1078. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt.js +35 -14
  1079. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-hybrid.d.ts +37 -8
  1080. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-hybrid.d.ts.map +1 -1
  1081. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-hybrid.js +712 -212
  1082. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-multi-source.d.ts +42 -8
  1083. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-multi-source.d.ts.map +1 -1
  1084. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-multi-source.js +682 -142
  1085. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.d.ts +49 -11
  1086. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.d.ts.map +1 -1
  1087. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.js +756 -172
  1088. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-repo-semantic-search.d.ts +32 -2
  1089. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-repo-semantic-search.d.ts.map +1 -1
  1090. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-repo-semantic-search.js +382 -58
  1091. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.d.ts +4 -0
  1092. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.d.ts.map +1 -1
  1093. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.js +57 -2
  1094. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank.d.ts +2 -0
  1095. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank.d.ts.map +1 -1
  1096. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank.js +5 -1
  1097. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-retrieval-eval.d.ts +1 -1
  1098. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-retrieval-eval.d.ts.map +1 -1
  1099. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-retrieval-eval.js +29 -7
  1100. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-scope-context.d.ts +32 -0
  1101. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-scope-context.d.ts.map +1 -0
  1102. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-scope-context.js +75 -0
  1103. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-selection-quality.d.ts +19 -0
  1104. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-selection-quality.d.ts.map +1 -0
  1105. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-selection-quality.js +55 -0
  1106. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-semantic-request.d.ts +31 -0
  1107. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-semantic-request.d.ts.map +1 -0
  1108. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-semantic-request.js +55 -0
  1109. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-diagnostics.d.ts +4 -0
  1110. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-diagnostics.d.ts.map +1 -0
  1111. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-diagnostics.js +109 -0
  1112. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace-cycles.d.ts +3 -0
  1113. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace-cycles.d.ts.map +1 -0
  1114. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace-cycles.js +90 -0
  1115. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace.d.ts +47 -5
  1116. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace.d.ts.map +1 -1
  1117. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace.js +1054 -84
  1118. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-recency.d.ts +34 -0
  1119. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-recency.d.ts.map +1 -0
  1120. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-recency.js +190 -0
  1121. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-request.d.ts +5 -0
  1122. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-request.d.ts.map +1 -0
  1123. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-request.js +19 -0
  1124. package/node_modules/@oscharko-dev/keiko-server/dist/index.d.ts +1 -2
  1125. package/node_modules/@oscharko-dev/keiko-server/dist/index.d.ts.map +1 -1
  1126. package/node_modules/@oscharko-dev/keiko-server/dist/index.js +8 -13
  1127. package/node_modules/@oscharko-dev/keiko-server/dist/knowledge-prompt-window.d.ts +44 -0
  1128. package/node_modules/@oscharko-dev/keiko-server/dist/knowledge-prompt-window.d.ts.map +1 -0
  1129. package/node_modules/@oscharko-dev/keiko-server/dist/knowledge-prompt-window.js +136 -0
  1130. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-grounded-qa.d.ts +1 -1
  1131. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-grounded-qa.d.ts.map +1 -1
  1132. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-grounded-qa.js +235 -65
  1133. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-handlers.d.ts.map +1 -1
  1134. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-handlers.js +19 -4
  1135. package/node_modules/@oscharko-dev/keiko-server/dist/memory-consolidation-handlers.d.ts.map +1 -1
  1136. package/node_modules/@oscharko-dev/keiko-server/dist/memory-consolidation-handlers.js +11 -9
  1137. package/node_modules/@oscharko-dev/keiko-server/dist/memory-conv-handlers.d.ts.map +1 -1
  1138. package/node_modules/@oscharko-dev/keiko-server/dist/memory-conv-handlers.js +11 -9
  1139. package/node_modules/@oscharko-dev/keiko-server/dist/memory-handlers.d.ts.map +1 -1
  1140. package/node_modules/@oscharko-dev/keiko-server/dist/memory-handlers.js +43 -32
  1141. package/node_modules/@oscharko-dev/keiko-server/dist/observability/route-template.d.ts.map +1 -1
  1142. package/node_modules/@oscharko-dev/keiko-server/dist/observability/route-template.js +2 -0
  1143. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figma/figmaSnapshotBuilder.js +1 -1
  1144. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figma/index.d.ts +1 -1
  1145. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figma/index.d.ts.map +1 -1
  1146. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figma/index.js +1 -1
  1147. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/handoffRoutes.d.ts.map +1 -1
  1148. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/handoffRoutes.js +2 -2
  1149. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/modelPolicyRoutes.d.ts +2 -2
  1150. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/modelPolicyRoutes.d.ts.map +1 -1
  1151. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/modelPolicyRoutes.js +36 -14
  1152. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/runRoutes.d.ts.map +1 -1
  1153. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/runRoutes.js +4 -2
  1154. package/node_modules/@oscharko-dev/keiko-server/dist/read-handlers.d.ts +1 -1
  1155. package/node_modules/@oscharko-dev/keiko-server/dist/read-handlers.d.ts.map +1 -1
  1156. package/node_modules/@oscharko-dev/keiko-server/dist/read-handlers.js +3 -1
  1157. package/node_modules/@oscharko-dev/keiko-server/dist/routes.d.ts.map +1 -1
  1158. package/node_modules/@oscharko-dev/keiko-server/dist/routes.js +8 -0
  1159. package/node_modules/@oscharko-dev/keiko-server/dist/server.d.ts.map +1 -1
  1160. package/node_modules/@oscharko-dev/keiko-server/dist/server.js +7 -0
  1161. package/node_modules/@oscharko-dev/keiko-server/dist/store/chat-grounding-scope-identity.d.ts +8 -0
  1162. package/node_modules/@oscharko-dev/keiko-server/dist/store/chat-grounding-scope-identity.d.ts.map +1 -1
  1163. package/node_modules/@oscharko-dev/keiko-server/dist/store/chat-grounding-scope-identity.js +21 -0
  1164. package/node_modules/@oscharko-dev/keiko-server/dist/store/chats.d.ts.map +1 -1
  1165. package/node_modules/@oscharko-dev/keiko-server/dist/store/chats.js +22 -4
  1166. package/node_modules/@oscharko-dev/keiko-server/dist/store/db.d.ts +0 -13
  1167. package/node_modules/@oscharko-dev/keiko-server/dist/store/db.d.ts.map +1 -1
  1168. package/node_modules/@oscharko-dev/keiko-server/dist/store/db.js +26 -129
  1169. package/node_modules/@oscharko-dev/keiko-server/dist/store/index.d.ts +1 -1
  1170. package/node_modules/@oscharko-dev/keiko-server/dist/store/index.d.ts.map +1 -1
  1171. package/node_modules/@oscharko-dev/keiko-server/dist/store/index.js +1 -1
  1172. package/node_modules/@oscharko-dev/keiko-server/dist/store/legacySchemaTestFixture.js +2 -2
  1173. package/node_modules/@oscharko-dev/keiko-server/dist/store/paths.d.ts +2 -1
  1174. package/node_modules/@oscharko-dev/keiko-server/dist/store/paths.d.ts.map +1 -1
  1175. package/node_modules/@oscharko-dev/keiko-server/dist/store/paths.js +26 -42
  1176. package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts +1 -1
  1177. package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts.map +1 -1
  1178. package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.js +161 -3
  1179. package/node_modules/@oscharko-dev/keiko-server/dist/store-handlers.d.ts +1 -1
  1180. package/node_modules/@oscharko-dev/keiko-server/dist/store-handlers.d.ts.map +1 -1
  1181. package/node_modules/@oscharko-dev/keiko-server/dist/store-handlers.js +102 -13
  1182. package/node_modules/@oscharko-dev/keiko-server/dist/support-report-download.d.ts +13 -0
  1183. package/node_modules/@oscharko-dev/keiko-server/dist/support-report-download.d.ts.map +1 -0
  1184. package/node_modules/@oscharko-dev/keiko-server/dist/support-report-download.js +239 -0
  1185. package/node_modules/@oscharko-dev/keiko-server/dist/support-report-evidence.d.ts +19 -0
  1186. package/node_modules/@oscharko-dev/keiko-server/dist/support-report-evidence.d.ts.map +1 -0
  1187. package/node_modules/@oscharko-dev/keiko-server/dist/support-report-evidence.js +347 -0
  1188. package/node_modules/@oscharko-dev/keiko-server/dist/support-report-job.d.ts +31 -0
  1189. package/node_modules/@oscharko-dev/keiko-server/dist/support-report-job.d.ts.map +1 -0
  1190. package/node_modules/@oscharko-dev/keiko-server/dist/support-report-job.js +169 -0
  1191. package/node_modules/@oscharko-dev/keiko-server/dist/support-report-routes.d.ts +4 -0
  1192. package/node_modules/@oscharko-dev/keiko-server/dist/support-report-routes.d.ts.map +1 -0
  1193. package/node_modules/@oscharko-dev/keiko-server/dist/support-report-routes.js +149 -0
  1194. package/node_modules/@oscharko-dev/keiko-server/dist/support-report-worker.d.ts +2 -0
  1195. package/node_modules/@oscharko-dev/keiko-server/dist/support-report-worker.d.ts.map +1 -0
  1196. package/node_modules/@oscharko-dev/keiko-server/dist/support-report-worker.js +43 -0
  1197. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/local-checkout.d.ts.map +1 -1
  1198. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/local-checkout.js +37 -4
  1199. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/routes.js +3 -3
  1200. package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolDispatch.d.ts.map +1 -1
  1201. package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolDispatch.js +10 -3
  1202. package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolFacadeBridge.d.ts +20 -4
  1203. package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolFacadeBridge.d.ts.map +1 -1
  1204. package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolFacadeBridge.js +96 -20
  1205. package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolPorts.d.ts +2 -0
  1206. package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolPorts.d.ts.map +1 -1
  1207. package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolRuntimeAuthority.d.ts +2 -2
  1208. package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolRuntimeAuthority.d.ts.map +1 -1
  1209. package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolRuntimeAuthority.js +47 -3
  1210. package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolSettlement.d.ts +1 -0
  1211. package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolSettlement.d.ts.map +1 -1
  1212. package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolSettlement.js +3 -0
  1213. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-staging-verification.d.ts +3 -0
  1214. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-staging-verification.d.ts.map +1 -1
  1215. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-staging-verification.js +23 -7
  1216. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-verification.d.ts +3 -0
  1217. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-verification.d.ts.map +1 -1
  1218. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-verification.js +12 -0
  1219. package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-registry.d.ts +1 -2
  1220. package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-registry.d.ts.map +1 -1
  1221. package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-registry.js +3 -35
  1222. package/node_modules/@oscharko-dev/keiko-server/dist/voice-speech-text.d.ts.map +1 -1
  1223. package/node_modules/@oscharko-dev/keiko-server/dist/voice-speech-text.js +4 -0
  1224. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-index-provider.js +4 -4
  1225. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.d.ts +4 -1
  1226. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.d.ts.map +1 -1
  1227. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.js +76 -3
  1228. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-state-handlers.d.ts +3 -2
  1229. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-state-handlers.d.ts.map +1 -1
  1230. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-state-handlers.js +3 -100
  1231. package/node_modules/@oscharko-dev/keiko-server/package.json +23 -23
  1232. package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/index.d.ts +1 -1
  1233. package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/index.d.ts.map +1 -1
  1234. package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/index.js +1 -1
  1235. package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.d.ts +9 -25
  1236. package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.d.ts.map +1 -1
  1237. package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.js +210 -113
  1238. package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/profile.d.ts.map +1 -1
  1239. package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/profile.js +15 -2
  1240. package/node_modules/@oscharko-dev/keiko-tool-catalog/package.json +3 -3
  1241. package/node_modules/@oscharko-dev/keiko-tools/dist/exec.d.ts.map +1 -1
  1242. package/node_modules/@oscharko-dev/keiko-tools/dist/exec.js +80 -10
  1243. package/node_modules/@oscharko-dev/keiko-tools/dist/index.d.ts +1 -1
  1244. package/node_modules/@oscharko-dev/keiko-tools/dist/index.d.ts.map +1 -1
  1245. package/node_modules/@oscharko-dev/keiko-tools/dist/patch-content.d.ts.map +1 -1
  1246. package/node_modules/@oscharko-dev/keiko-tools/dist/patch-content.js +142 -49
  1247. package/node_modules/@oscharko-dev/keiko-tools/dist/patch-parse.d.ts.map +1 -1
  1248. package/node_modules/@oscharko-dev/keiko-tools/dist/patch-parse.js +14 -3
  1249. package/node_modules/@oscharko-dev/keiko-tools/dist/patch.d.ts +15 -0
  1250. package/node_modules/@oscharko-dev/keiko-tools/dist/patch.d.ts.map +1 -1
  1251. package/node_modules/@oscharko-dev/keiko-tools/dist/patch.js +24 -9
  1252. package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts +1 -1
  1253. package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts.map +1 -1
  1254. package/node_modules/@oscharko-dev/keiko-tools/dist/version.js +1 -1
  1255. package/node_modules/@oscharko-dev/keiko-tools/package.json +7 -7
  1256. package/node_modules/@oscharko-dev/keiko-verification/dist/dependencies.d.ts +16 -4
  1257. package/node_modules/@oscharko-dev/keiko-verification/dist/dependencies.d.ts.map +1 -1
  1258. package/node_modules/@oscharko-dev/keiko-verification/dist/dependencies.js +198 -25
  1259. package/node_modules/@oscharko-dev/keiko-verification/dist/failure-location.d.ts +1 -1
  1260. package/node_modules/@oscharko-dev/keiko-verification/dist/failure-location.d.ts.map +1 -1
  1261. package/node_modules/@oscharko-dev/keiko-verification/dist/failure-location.js +34 -17
  1262. package/node_modules/@oscharko-dev/keiko-verification/dist/orchestrator.d.ts +4 -1
  1263. package/node_modules/@oscharko-dev/keiko-verification/dist/orchestrator.d.ts.map +1 -1
  1264. package/node_modules/@oscharko-dev/keiko-verification/dist/orchestrator.js +35 -3
  1265. package/node_modules/@oscharko-dev/keiko-verification/dist/plan.d.ts.map +1 -1
  1266. package/node_modules/@oscharko-dev/keiko-verification/dist/plan.js +25 -16
  1267. package/node_modules/@oscharko-dev/keiko-verification/dist/targeted-project.d.ts +7 -0
  1268. package/node_modules/@oscharko-dev/keiko-verification/dist/targeted-project.d.ts.map +1 -0
  1269. package/node_modules/@oscharko-dev/keiko-verification/dist/targeted-project.js +37 -0
  1270. package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
  1271. package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/failure-parse.d.ts +10 -1
  1272. package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/failure-parse.d.ts.map +1 -1
  1273. package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/failure-parse.js +93 -15
  1274. package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/index.d.ts +1 -1
  1275. package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/index.d.ts.map +1 -1
  1276. package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/index.js +1 -1
  1277. package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.d.ts +10 -1
  1278. package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.d.ts.map +1 -1
  1279. package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.js +331 -49
  1280. package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/compaction.js +1 -1
  1281. package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/index.d.ts +1 -1
  1282. package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/index.d.ts.map +1 -1
  1283. package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/index.js +1 -1
  1284. package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/reranker.d.ts +3 -0
  1285. package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/reranker.d.ts.map +1 -1
  1286. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.d.ts +8 -1
  1287. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.d.ts.map +1 -1
  1288. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.js +374 -42
  1289. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/governor.d.ts.map +1 -1
  1290. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/governor.js +1 -1
  1291. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.d.ts +5 -3
  1292. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.d.ts.map +1 -1
  1293. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.js +2 -1
  1294. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/intent.d.ts +7 -2
  1295. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/intent.d.ts.map +1 -1
  1296. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/intent.js +124 -7
  1297. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.d.ts +25 -1
  1298. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.d.ts.map +1 -1
  1299. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.js +707 -91
  1300. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/references.d.ts +19 -0
  1301. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/references.d.ts.map +1 -0
  1302. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/references.js +159 -0
  1303. package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.d.ts +3 -0
  1304. package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.d.ts.map +1 -1
  1305. package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.js +21 -18
  1306. package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/index.d.ts +2 -2
  1307. package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/index.d.ts.map +1 -1
  1308. package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/index.js +2 -2
  1309. package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/rank.d.ts.map +1 -1
  1310. package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/rank.js +28 -64
  1311. package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/scoring.d.ts +6 -0
  1312. package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/scoring.d.ts.map +1 -1
  1313. package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/scoring.js +44 -29
  1314. package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/signals.d.ts +5 -2
  1315. package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/signals.d.ts.map +1 -1
  1316. package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/signals.js +141 -45
  1317. package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
  1318. package/node_modules/@oscharko-dev/keiko-workspace/dist/_memfs.d.ts.map +1 -1
  1319. package/node_modules/@oscharko-dev/keiko-workspace/dist/_memfs.js +7 -0
  1320. package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.d.ts +5 -2
  1321. package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.d.ts.map +1 -1
  1322. package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.js +235 -38
  1323. package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligence.d.ts +22 -1
  1324. package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligence.d.ts.map +1 -1
  1325. package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligence.js +660 -105
  1326. package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligenceSurface.d.ts +4 -0
  1327. package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligenceSurface.d.ts.map +1 -1
  1328. package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligenceSurface.js +4 -0
  1329. package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearch.d.ts +5 -1
  1330. package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearch.d.ts.map +1 -1
  1331. package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearch.js +140 -57
  1332. package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearchResult.d.ts +1 -4
  1333. package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearchResult.d.ts.map +1 -1
  1334. package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearchResult.js +0 -15
  1335. package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.d.ts +37 -3
  1336. package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.d.ts.map +1 -1
  1337. package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.js +306 -18
  1338. package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractAdapter.d.ts.map +1 -1
  1339. package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractAdapter.js +31 -9
  1340. package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractGraph.d.ts +3 -2
  1341. package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractGraph.d.ts.map +1 -1
  1342. package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractGraph.js +35 -5
  1343. package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractSource.d.ts +7 -1
  1344. package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractSource.d.ts.map +1 -1
  1345. package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractSource.js +40 -7
  1346. package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractTypes.d.ts +1 -1
  1347. package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractTypes.d.ts.map +1 -1
  1348. package/node_modules/@oscharko-dev/keiko-workspace/dist/fs.d.ts +2 -1
  1349. package/node_modules/@oscharko-dev/keiko-workspace/dist/fs.d.ts.map +1 -1
  1350. package/node_modules/@oscharko-dev/keiko-workspace/dist/fs.js +48 -1
  1351. package/node_modules/@oscharko-dev/keiko-workspace/dist/ignore.js +2 -2
  1352. package/node_modules/@oscharko-dev/keiko-workspace/dist/importGraphEdges.d.ts.map +1 -1
  1353. package/node_modules/@oscharko-dev/keiko-workspace/dist/importGraphEdges.js +11 -5
  1354. package/node_modules/@oscharko-dev/keiko-workspace/dist/index.d.ts +10 -4
  1355. package/node_modules/@oscharko-dev/keiko-workspace/dist/index.d.ts.map +1 -1
  1356. package/node_modules/@oscharko-dev/keiko-workspace/dist/index.js +9 -3
  1357. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.d.ts +57 -8
  1358. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.d.ts.map +1 -1
  1359. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.js +849 -144
  1360. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchEntries.d.ts +8 -1
  1361. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchEntries.d.ts.map +1 -1
  1362. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchEntries.js +29 -24
  1363. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchExcerptWindow.d.ts +16 -0
  1364. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchExcerptWindow.d.ts.map +1 -0
  1365. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchExcerptWindow.js +189 -0
  1366. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.d.ts +5 -0
  1367. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.d.ts.map +1 -0
  1368. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.js +21 -0
  1369. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.d.ts +5 -2
  1370. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.d.ts.map +1 -1
  1371. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.js +50 -21
  1372. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.d.ts +15 -1
  1373. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.d.ts.map +1 -1
  1374. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.js +121 -34
  1375. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPolicy.d.ts +26 -3
  1376. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPolicy.d.ts.map +1 -1
  1377. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPolicy.js +65 -22
  1378. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.d.ts +14 -0
  1379. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.d.ts.map +1 -1
  1380. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.js +97 -0
  1381. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRetention.d.ts +15 -0
  1382. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRetention.d.ts.map +1 -0
  1383. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRetention.js +70 -0
  1384. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRoutes.d.ts +11 -0
  1385. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRoutes.d.ts.map +1 -1
  1386. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRoutes.js +154 -18
  1387. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.d.ts +20 -7
  1388. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.d.ts.map +1 -1
  1389. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.js +253 -56
  1390. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSemantic.d.ts +14 -2
  1391. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSemantic.d.ts.map +1 -1
  1392. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSemantic.js +63 -5
  1393. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSourceInspection.d.ts +3 -0
  1394. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSourceInspection.d.ts.map +1 -0
  1395. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSourceInspection.js +37 -0
  1396. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchStream.d.ts +30 -0
  1397. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchStream.d.ts.map +1 -0
  1398. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchStream.js +473 -0
  1399. package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapterRequestContext.d.ts +10 -2
  1400. package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapterRequestContext.d.ts.map +1 -1
  1401. package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapterRequestContext.js +237 -20
  1402. package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapters.d.ts +1 -0
  1403. package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapters.d.ts.map +1 -1
  1404. package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapters.js +18 -14
  1405. package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralExecution.d.ts +2 -1
  1406. package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralExecution.d.ts.map +1 -1
  1407. package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralExecution.js +61 -2
  1408. package/node_modules/@oscharko-dev/keiko-workspace/dist/symbolGraphLexing.d.ts.map +1 -1
  1409. package/node_modules/@oscharko-dev/keiko-workspace/dist/symbolGraphLexing.js +13 -7
  1410. package/node_modules/@oscharko-dev/keiko-workspace/dist/testSourcePairing.js +1 -1
  1411. package/node_modules/@oscharko-dev/keiko-workspace/dist/testing.d.ts +2 -0
  1412. package/node_modules/@oscharko-dev/keiko-workspace/dist/testing.d.ts.map +1 -1
  1413. package/node_modules/@oscharko-dev/keiko-workspace/dist/testing.js +4 -0
  1414. package/node_modules/@oscharko-dev/keiko-workspace/dist/types.d.ts +2 -2
  1415. package/node_modules/@oscharko-dev/keiko-workspace/dist/types.d.ts.map +1 -1
  1416. package/node_modules/@oscharko-dev/keiko-workspace/dist/types.js +1 -1
  1417. package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts +1 -1
  1418. package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts.map +1 -1
  1419. package/node_modules/@oscharko-dev/keiko-workspace/dist/version.js +1 -1
  1420. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.d.ts +14 -5
  1421. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.d.ts.map +1 -1
  1422. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.js +119 -42
  1423. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexQueryMatch.d.ts +11 -0
  1424. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexQueryMatch.d.ts.map +1 -0
  1425. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexQueryMatch.js +71 -0
  1426. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexStreaming.d.ts +47 -0
  1427. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexStreaming.d.ts.map +1 -0
  1428. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexStreaming.js +231 -0
  1429. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.d.ts +8 -0
  1430. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.d.ts.map +1 -0
  1431. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.js +178 -0
  1432. package/node_modules/@oscharko-dev/keiko-workspace/dist/xmlEntities.d.ts +2 -0
  1433. package/node_modules/@oscharko-dev/keiko-workspace/dist/xmlEntities.d.ts.map +1 -0
  1434. package/node_modules/@oscharko-dev/keiko-workspace/dist/xmlEntities.js +34 -0
  1435. package/node_modules/@oscharko-dev/keiko-workspace/package.json +4 -3
  1436. package/package.json +33 -31
  1437. package/release-impact.catalog.json +211 -0
  1438. package/scripts/lib/local-state-audit.mjs +26 -11
  1439. package/vendor/oscharko-dev-keiko-activity-log-1.2.1.tgz +0 -0
  1440. package/vendor/oscharko-dev-keiko-cli-1.2.1.tgz +0 -0
  1441. package/vendor/{oscharko-dev-keiko-connectors-1.1.13.tgz → oscharko-dev-keiko-connectors-1.2.1.tgz} +0 -0
  1442. package/vendor/oscharko-dev-keiko-contracts-1.2.1.tgz +0 -0
  1443. package/vendor/{oscharko-dev-keiko-evaluations-1.1.13.tgz → oscharko-dev-keiko-evaluations-1.2.1.tgz} +0 -0
  1444. package/vendor/oscharko-dev-keiko-evidence-1.2.1.tgz +0 -0
  1445. package/vendor/{oscharko-dev-keiko-git-1.1.13.tgz → oscharko-dev-keiko-git-1.2.1.tgz} +0 -0
  1446. package/vendor/{oscharko-dev-keiko-harness-1.1.13.tgz → oscharko-dev-keiko-harness-1.2.1.tgz} +0 -0
  1447. package/vendor/oscharko-dev-keiko-local-knowledge-1.2.1.tgz +0 -0
  1448. package/vendor/oscharko-dev-keiko-memory-capture-1.2.1.tgz +0 -0
  1449. package/vendor/oscharko-dev-keiko-memory-consolidation-1.2.1.tgz +0 -0
  1450. package/vendor/{oscharko-dev-keiko-memory-governance-1.1.13.tgz → oscharko-dev-keiko-memory-governance-1.2.1.tgz} +0 -0
  1451. package/vendor/oscharko-dev-keiko-memory-retrieval-1.2.1.tgz +0 -0
  1452. package/vendor/oscharko-dev-keiko-memory-vault-1.2.1.tgz +0 -0
  1453. package/vendor/oscharko-dev-keiko-model-gateway-1.2.1.tgz +0 -0
  1454. package/vendor/{oscharko-dev-keiko-quality-intelligence-1.1.13.tgz → oscharko-dev-keiko-quality-intelligence-1.2.1.tgz} +0 -0
  1455. package/vendor/oscharko-dev-keiko-sandbox-1.2.1.tgz +0 -0
  1456. package/vendor/{oscharko-dev-keiko-sdk-1.1.13.tgz → oscharko-dev-keiko-sdk-1.2.1.tgz} +0 -0
  1457. package/vendor/oscharko-dev-keiko-security-1.2.1.tgz +0 -0
  1458. package/vendor/oscharko-dev-keiko-server-1.2.1.tgz +0 -0
  1459. package/vendor/oscharko-dev-keiko-tool-catalog-1.2.1.tgz +0 -0
  1460. package/vendor/oscharko-dev-keiko-tools-1.2.1.tgz +0 -0
  1461. package/vendor/oscharko-dev-keiko-verification-1.2.1.tgz +0 -0
  1462. package/vendor/oscharko-dev-keiko-workflows-1.2.1.tgz +0 -0
  1463. package/vendor/oscharko-dev-keiko-workspace-1.2.1.tgz +0 -0
  1464. package/dist/ui/static/_next/static/chunks/000t9p2ysi3dv.css +0 -1
  1465. package/dist/ui/static/_next/static/chunks/00dd_gyzi9unw.js +0 -1
  1466. package/dist/ui/static/_next/static/chunks/00n029ow-5_tt.js +0 -3
  1467. package/dist/ui/static/_next/static/chunks/01n8x8_z3012u.js +0 -1
  1468. package/dist/ui/static/_next/static/chunks/02epwnm5oro9c.css +0 -26
  1469. package/dist/ui/static/_next/static/chunks/04y8gqfjksqzo.js +0 -1
  1470. package/dist/ui/static/_next/static/chunks/0cksy9u2ysiuy.js +0 -1
  1471. package/dist/ui/static/_next/static/chunks/0elflgy2cg1jb.js +0 -1
  1472. package/dist/ui/static/_next/static/chunks/0gia_iwqox3xm.js +0 -1
  1473. package/dist/ui/static/_next/static/chunks/0k931k8qwqyft.js +0 -1
  1474. package/dist/ui/static/_next/static/chunks/0kmepj4rmkj19.js +0 -1
  1475. package/dist/ui/static/_next/static/chunks/0l46-80gche_i.js +0 -1
  1476. package/dist/ui/static/_next/static/chunks/0ojvvjnsf38bk.js +0 -1
  1477. package/dist/ui/static/_next/static/chunks/0p2ekj8g4s6t2.js +0 -1
  1478. package/dist/ui/static/_next/static/chunks/0qt-w4yzb50ov.js +0 -1
  1479. package/dist/ui/static/_next/static/chunks/0tl_05c5ux5ut.js +0 -1
  1480. package/dist/ui/static/_next/static/chunks/0u7vyqk91gjb8.js +0 -1
  1481. package/dist/ui/static/_next/static/chunks/0v9jkxfma7fks.js +0 -1
  1482. package/dist/ui/static/_next/static/chunks/0y68jeskhcm2k.js +0 -1
  1483. package/dist/ui/static/_next/static/chunks/0z5be09yla9lp.js +0 -1
  1484. package/dist/ui/static/_next/static/chunks/0zlw46qz0crxg.css +0 -1
  1485. package/dist/ui/static/_next/static/chunks/117xhn896fsmt.js +0 -1
  1486. package/dist/ui/static/_next/static/chunks/13q3e5wnz6lps.css +0 -1
  1487. package/dist/ui/static/_next/static/chunks/14rs31u4u36yy.js +0 -1
  1488. package/dist/ui/static/_next/static/chunks/159szpr5ffygs.js +0 -1
  1489. package/dist/ui/static/_next/static/chunks/15orau2hhjb1f.js +0 -1
  1490. package/dist/ui/static/_next/static/chunks/1b7ig6f2t71i_.js +0 -1
  1491. package/dist/ui/static/_next/static/chunks/1bdojlx9hv0c5.js +0 -1
  1492. package/dist/ui/static/_next/static/chunks/1be0-x1mk56wu.js +0 -1
  1493. package/dist/ui/static/_next/static/chunks/1d7xigpwq-xq8.js +0 -1
  1494. package/dist/ui/static/_next/static/chunks/1dwc7p2rl-hs6.js +0 -1
  1495. package/dist/ui/static/_next/static/chunks/1hk335vrug1rc.js +0 -1
  1496. package/dist/ui/static/_next/static/chunks/1hucqkor7zgbn.js +0 -1
  1497. package/dist/ui/static/_next/static/chunks/1j6nqp8yrqyhu.js +0 -1
  1498. package/dist/ui/static/_next/static/chunks/1kxhf3ld28pzk.js +0 -1
  1499. package/dist/ui/static/_next/static/chunks/1logclobi6726.js +0 -1
  1500. package/dist/ui/static/_next/static/chunks/1lrj3d157kay1.js +0 -5
  1501. package/dist/ui/static/_next/static/chunks/1nie2fvj8iyvq.js +0 -1
  1502. package/dist/ui/static/_next/static/chunks/1o3z4r4xrlbda.js +0 -1
  1503. package/dist/ui/static/_next/static/chunks/1pnysuel-a2r1.js +0 -1
  1504. package/dist/ui/static/_next/static/chunks/1szpnddxqmzhy.js +0 -1
  1505. package/dist/ui/static/_next/static/chunks/1tkt9f0xnc4fe.js +0 -1
  1506. package/dist/ui/static/_next/static/chunks/1u_s3uvh9p4j7.js +0 -1
  1507. package/dist/ui/static/_next/static/chunks/1uetvnnpa5z22.js +0 -1
  1508. package/dist/ui/static/_next/static/chunks/1uigiy7xdzirs.js +0 -1
  1509. package/dist/ui/static/_next/static/chunks/1uulmf99vtuyt.js +0 -1
  1510. package/dist/ui/static/_next/static/chunks/1wa9m6c88mg3p.js +0 -1
  1511. package/dist/ui/static/_next/static/chunks/1xzxhtenb7_sx.css +0 -1
  1512. package/dist/ui/static/_next/static/chunks/202kx3p8axlmr.js +0 -1
  1513. package/dist/ui/static/_next/static/chunks/20b456jf1ggzu.css +0 -1
  1514. package/dist/ui/static/_next/static/chunks/2384n1pce2w1h.js +0 -1
  1515. package/dist/ui/static/_next/static/chunks/252wybdcea74g.js +0 -1
  1516. package/dist/ui/static/_next/static/chunks/271r_v0nh0vy-.js +0 -1
  1517. package/dist/ui/static/_next/static/chunks/2_o61-akoq549.js +0 -1
  1518. package/dist/ui/static/_next/static/chunks/2_u63ddjyhbpm.js +0 -3
  1519. package/dist/ui/static/_next/static/chunks/2b78j2josay3e.js +0 -1
  1520. package/dist/ui/static/_next/static/chunks/2cw7v8t4jg669.js +0 -1
  1521. package/dist/ui/static/_next/static/chunks/2gqs8fif3137x.js +0 -3
  1522. package/dist/ui/static/_next/static/chunks/2iehfums033xv.css +0 -3
  1523. package/dist/ui/static/_next/static/chunks/2j16o4ghz4iqx.js +0 -1
  1524. package/dist/ui/static/_next/static/chunks/2oxvgl3qb19wf.js +0 -1
  1525. package/dist/ui/static/_next/static/chunks/2r4vn_6anv2cw.js +0 -5
  1526. package/dist/ui/static/_next/static/chunks/2s5wt9bf-ox40.js +0 -1
  1527. package/dist/ui/static/_next/static/chunks/2s9-91g2jic6u.js +0 -1
  1528. package/dist/ui/static/_next/static/chunks/2tmor5n3xss6c.js +0 -3
  1529. package/dist/ui/static/_next/static/chunks/2wd7di0z2l6il.js +0 -1
  1530. package/dist/ui/static/_next/static/chunks/2ymm_n9gbcdcw.js +0 -1
  1531. package/dist/ui/static/_next/static/chunks/2ywqac8g8us1n.css +0 -1
  1532. package/dist/ui/static/_next/static/chunks/3-ys11qyww0y6.js +0 -1
  1533. package/dist/ui/static/_next/static/chunks/30botqyyk9ugo.js +0 -1
  1534. package/dist/ui/static/_next/static/chunks/30p9b535cwzhr.js +0 -1
  1535. package/dist/ui/static/_next/static/chunks/31mnda46lo2b0.js +0 -1
  1536. package/dist/ui/static/_next/static/chunks/338jl640mvtkg.js +0 -1
  1537. package/dist/ui/static/_next/static/chunks/351uy__m9eafa.js +0 -1
  1538. package/dist/ui/static/_next/static/chunks/3_cgafsc6hy1_.js +0 -1
  1539. package/dist/ui/static/_next/static/chunks/3_exo95bp9tt2.js +0 -1
  1540. package/dist/ui/static/_next/static/chunks/3aqtjd-a1ygis.js +0 -1
  1541. package/dist/ui/static/_next/static/chunks/3bl12pe7lsanc.js +0 -1
  1542. package/dist/ui/static/_next/static/chunks/3buu6m28ig2oz.js +0 -1
  1543. package/dist/ui/static/_next/static/chunks/3hft62celuigp.js +0 -1
  1544. package/dist/ui/static/_next/static/chunks/3i0iog52c1ajg.js +0 -1
  1545. package/dist/ui/static/_next/static/chunks/3ibevys2o09xx.js +0 -1
  1546. package/dist/ui/static/_next/static/chunks/3im1pldojqzmu.js +0 -1
  1547. package/dist/ui/static/_next/static/chunks/3iptbrztxckih.js +0 -1
  1548. package/dist/ui/static/_next/static/chunks/3iv5llh4xg-7v.js +0 -1
  1549. package/dist/ui/static/_next/static/chunks/3jtbes4v4ouyw.js +0 -1
  1550. package/dist/ui/static/_next/static/chunks/3lq5zd1qvhcfw.js +0 -1
  1551. package/dist/ui/static/_next/static/chunks/3m_idsf90zq5u.js +0 -1
  1552. package/dist/ui/static/_next/static/chunks/3mes_qld9wgti.js +0 -1
  1553. package/dist/ui/static/_next/static/chunks/3n4gsbv-im5ia.js +0 -1
  1554. package/dist/ui/static/_next/static/chunks/3timx0h4kcna0.js +0 -1
  1555. package/dist/ui/static/_next/static/chunks/3u-4amh4iusi1.js +0 -1
  1556. package/dist/ui/static/_next/static/chunks/3uacpjje41xz5.js +0 -1
  1557. package/dist/ui/static/_next/static/chunks/3uovpxgynmdkk.js +0 -1
  1558. package/dist/ui/static/_next/static/chunks/3wcuc7e2bz4-l.js +0 -1
  1559. package/dist/ui/static/_next/static/chunks/3xaa0t5drdxz3.js +0 -1
  1560. package/dist/ui/static/_next/static/chunks/3yqrxwndy9_f3.js +0 -1
  1561. package/dist/ui/static/_next/static/chunks/40g2_9ovqiuiu.js +0 -1
  1562. package/dist/ui/static/_next/static/chunks/40ol4dc9uptck.js +0 -10
  1563. package/dist/ui/static/_next/static/chunks/413lmui4la1xe.js +0 -1
  1564. package/dist/ui/static/_next/static/chunks/41ca6l5ikqt65.js +0 -1
  1565. package/dist/ui/static/_next/static/chunks/44jv6p8ly-u3e.js +0 -1
  1566. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-selective-export.d.ts +0 -29
  1567. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-selective-export.d.ts.map +0 -1
  1568. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-selective-export.js +0 -30
  1569. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figma/figmaConcurrency.d.ts +0 -8
  1570. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figma/figmaConcurrency.d.ts.map +0 -1
  1571. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figma/figmaConcurrency.js +0 -34
  1572. package/node_modules/@oscharko-dev/keiko-server/dist/store-fingerprints.d.ts +0 -29
  1573. package/node_modules/@oscharko-dev/keiko-server/dist/store-fingerprints.d.ts.map +0 -1
  1574. package/node_modules/@oscharko-dev/keiko-server/dist/store-fingerprints.js +0 -135
  1575. package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearchInventory.d.ts +0 -7
  1576. package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearchInventory.d.ts.map +0 -1
  1577. package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearchInventory.js +0 -24
  1578. package/vendor/oscharko-dev-keiko-activity-log-1.1.13.tgz +0 -0
  1579. package/vendor/oscharko-dev-keiko-cli-1.1.13.tgz +0 -0
  1580. package/vendor/oscharko-dev-keiko-contracts-1.1.13.tgz +0 -0
  1581. package/vendor/oscharko-dev-keiko-evidence-1.1.13.tgz +0 -0
  1582. package/vendor/oscharko-dev-keiko-local-knowledge-1.1.13.tgz +0 -0
  1583. package/vendor/oscharko-dev-keiko-memory-capture-1.1.13.tgz +0 -0
  1584. package/vendor/oscharko-dev-keiko-memory-consolidation-1.1.13.tgz +0 -0
  1585. package/vendor/oscharko-dev-keiko-memory-retrieval-1.1.13.tgz +0 -0
  1586. package/vendor/oscharko-dev-keiko-memory-vault-1.1.13.tgz +0 -0
  1587. package/vendor/oscharko-dev-keiko-model-gateway-1.1.13.tgz +0 -0
  1588. package/vendor/oscharko-dev-keiko-sandbox-1.1.13.tgz +0 -0
  1589. package/vendor/oscharko-dev-keiko-security-1.1.13.tgz +0 -0
  1590. package/vendor/oscharko-dev-keiko-server-1.1.13.tgz +0 -0
  1591. package/vendor/oscharko-dev-keiko-tool-catalog-1.1.13.tgz +0 -0
  1592. package/vendor/oscharko-dev-keiko-tools-1.1.13.tgz +0 -0
  1593. package/vendor/oscharko-dev-keiko-verification-1.1.13.tgz +0 -0
  1594. package/vendor/oscharko-dev-keiko-workflows-1.1.13.tgz +0 -0
  1595. package/vendor/oscharko-dev-keiko-workspace-1.1.13.tgz +0 -0
  1596. /package/dist/ui/static/_next/static/{-GseUdaJoAYnEgt-Dl41f → FS1LLJ_p3joZhfRkXBRhf}/_buildManifest.js +0 -0
  1597. /package/dist/ui/static/_next/static/{-GseUdaJoAYnEgt-Dl41f → FS1LLJ_p3joZhfRkXBRhf}/_clientMiddlewareManifest.js +0 -0
  1598. /package/dist/ui/static/_next/static/{-GseUdaJoAYnEgt-Dl41f → FS1LLJ_p3joZhfRkXBRhf}/_ssgManifest.js +0 -0
@@ -1,101 +1,47 @@
1
- // `keiko support export` / `keiko support analyze` — the minimal Wave 1 agent-reconstruction
2
- // tooling (design doc "Keiko Activity Log v2" §6.5; ADR-0173 draft). `export` composes only
3
- // existing, hardened pieces into one redacted `.jsonl` bundle: the in-process `AuditResult`
4
- // `keiko audit local-state --json` already produces, the evidence-index count from
5
- // `listEvidence`, and a verbatim copy of `<state-dir>/logs/server*.log`. `analyze` groups a
6
- // bundle's (or a raw Activity Log file's) lines by correlationId into reconstructed timelines.
7
- //
8
- // This file owns argv parsing, stdout/stderr, environment/state-dir resolution, and calling the
9
- // audit/evidence subsystems. The exporter's and analyzer's own logic — file discovery, size-budget
10
- // selection, manifest assembly, parsing, grouping, ordering, rendering — lives in
11
- // ./support-export.ts and ./support-analyze.ts, each independently unit-tested on data, not argv.
12
- import { createHash, randomUUID } from "node:crypto";
13
- import { closeSync, mkdirSync, openSync, writeFileSync } from "node:fs";
1
+ // CLI parsing and composition for the closed offline support report (ADR-0173).
2
+ import { closeSync, mkdirSync, writeFileSync } from "node:fs";
14
3
  import { homedir as defaultHomedir } from "node:os";
15
- import { basename, dirname, isAbsolute, join, resolve } from "node:path";
16
- import { activityLogEvent, defineActivityLogOperation, ACTIVITY_LOG_CATALOG_DIGEST, ACTIVITY_LOG_DIRECTORY_NAME, ACTIVITY_LOG_REGISTRY_VERSION, ACTIVITY_LOG_SCHEMA_DIGEST, DIAGNOSTIC_SUFFICIENCY_REASONS, DIAGNOSTIC_SUFFICIENCY_STATUSES, parseActivityLogFileName, } from "@oscharko-dev/keiko-contracts/runtime/observability";
17
- import { KEIKO_PRODUCT_VERSION } from "@oscharko-dev/keiko-contracts/runtime/version";
4
+ import { dirname } from "node:path";
5
+ import { activityLogEvent, defineActivityLogOperation, MAX_SUPPORT_REPORT_BYTES, } from "@oscharko-dev/keiko-contracts/runtime/observability";
18
6
  import { emitSecurityLogEvent, securityErrorKind } from "@oscharko-dev/keiko-security";
19
- import { acknowledgeSafeArtifactFileSet, isSafeArtifactClass, isSafeArtifactFailureKind, openSafeArtifactFile, publishSafeArtifactFileSet, recoverSafeArtifactFileSet, safeArtifactPublicationSlot, } from "@oscharko-dev/keiko-security/fs-hardening";
20
- import { AuditLoadError, auditLocalStateResult } from "./audit.js";
7
+ import { openSafeArtifactFile } from "@oscharko-dev/keiko-security/fs-hardening";
21
8
  // KEIKO-0655: shared argv-parsing helper replaces the byte-identical flagValue copy this file held.
22
9
  import { flagValue } from "./cli-arg-parsing.js";
23
10
  import { cliControlStateConflictsWithTarget, cliTargetIdentitySha256, resolveCliControlStateDir, } from "./cli-control-state.js";
24
11
  import { installLayoutOverrideEvidence, writeInstallLayoutOverrideEvidenceWithFactory, } from "./install-layout.js";
25
- // GEN-PERF-CLI-001 — the evidence graph (and, below, the server module graph) load at dispatch,
26
- // and only for `export`; tool-lifecycle analysis lazily loads its narrow validator subpath. Store-fingerprint collection (ui,
27
- // local-knowledge, memory-vault) is owned by keiko-server (ADR-0019 direction rule 7: keiko-cli
28
- // is a leaf consumer and must not import keiko-local-knowledge directly) and reached through the
29
- // same lazily-loaded server module, via `server.collectStoreFingerprints`.
30
- import { loadActivityLog, loadEvidence, loadServer, loadToolLifecycle } from "./lazy-modules.js";
31
12
  import { createCliSecurityLogSink } from "./security-log.js";
32
13
  import { inspectStateRoot, resolveStateDir } from "./state-paths.js";
33
- import { ACTIVITY_LOG_EVIDENCE_INTEGRITY, analyzeLogLines, buildReproductionSeedFromAnalysis, findTimeline, hasIssueToPrJourneyOps, renderGatewayReplayScriptFixture, renderHumanAllTimelines, renderHumanClusters, renderHumanReproductionSeed, renderHumanTimeline, timelineSufficiency, ActivityLogReadError, readActivityLogFileLines, } from "@oscharko-dev/keiko-activity-log/reader";
34
14
  import { runSupportIncidentCli } from "./support-incident.js";
35
15
  import { parseSupportManifestArgs, parseSupportQueryArgs, runSupportManifestCli, runSupportQueryCli, SUPPORT_QUERY_USAGE, } from "./support-query-cli.js";
36
- import { collectSelectedLogContent, parseSupportExportSelector, } from "./support-selective-export.js";
37
- import { buildConfigSnapshotSection, buildEvidenceManifestSection, buildSupportBundleManifest, bundleSha256Hex, bundleText, DEFAULT_MAX_BUNDLE_BYTES, describeErrorKind, discoverServerLogFiles, readKeptFiles, selectLogFilesWithinBudget, serializeBundleLines, sha256SidecarPath, UI_LOG_SECTION, } from "./support-export.js";
16
+ import { parseSupportExportSelector } from "./support-selective-export.js";
17
+ import { describeErrorKind } from "./support-export.js";
38
18
  const USAGE = `Usage:
39
- keiko support export [--out PATH] [--state-dir PATH] [--max-bytes N]
40
- [--include-evidence RUNID[,RUNID...]]
19
+ keiko support export [--out DIRECTORY] [--state-dir PATH] [--max-bytes N]
41
20
  [--incident ID | --correlation-id ID | --defect-fingerprint SHA256]
42
21
  keiko support analyze FILE [--correlation-id ID] [--json] [--clusters]
43
22
  [--seed] [--emit-fixture PATH]
44
23
  keiko support incident list|show|preview|report|dismiss [ID] [--state-dir PATH] [--json]
45
- keiko support query ... and keiko support manifest rebuild|verify (keiko support query --help)
24
+ keiko support query ... and keiko support manifest rebuild|verify
46
25
 
47
- export writes a redacted .jsonl support bundle: a manifest line (local-state audit summary,
48
- evidence-index count, exactly which log files were copied, and a redacted schema/integrity
49
- fingerprint for each of the ui, local-knowledge, and memory-vault stores found under --state-dir),
50
- an always-present config-snapshot section (Keiko's own resolved KEIKO_* runtime configuration,
51
- redacted), then every line of the Activity Log under <state-dir>/logs/ (its sealed and active
52
- segments plus any legacy server*.log files, oldest first), copied byte-for-byte. A store that has
53
- never been used from this state dir, or that cannot be opened (corrupt, or a vault key the
54
- operator has not supplied), is named in the manifest's storesUnavailable instead of failing the
55
- export. Default --out is ./keiko-support-<timestamp>.jsonl (colons replaced with '-'); default
56
- --max-bytes is 50MB — the oldest log files are dropped first when the cap would be exceeded, and
57
- always named in the manifest's truncatedLogFiles. The newest log file is never dropped; if it
58
- alone still exceeds the cap, only its tail is exported instead, named in the manifest's
59
- currentFileTailTruncated. sourceLogFileLines records each copied file's line count and whether it
60
- ended in a torn line, so analyze reports such a tail as truncated rather than corrupt.
61
- With --incident, --correlation-id or --defect-fingerprint the report is selective: it carries only
62
- that selection's registered causal closure plus a narrow process context, copied verbatim, and the
63
- manifest's selection member states its versioned diagnostic sufficiency. A selection that does not
64
- fit --max-bytes or cannot be found is never cut: nothing is written and the command exits 1.
65
- A <output>.sha256 sidecar carries a SHA-256 digest of the bundle's bytes.
66
- Publication exclusively creates the report and sidecar and never replaces an existing destination.
67
- If a process stops mid-publication, rerun the same explicit --out command; for the default output,
68
- rerun from the same working directory. Keiko recovers the durable prior bytes before taking a new
69
- clock or log snapshot, or fails closed when the bounded recovery slot conflicts.
26
+ Export creates one private canonical report, with embedded integrity and selective registered
27
+ causal evidence. --out selects a directory, never a file: a new one is created owner-only, and an
28
+ existing one must not be writable by others. The filename always uses the closed class
29
+ keiko-support-v1-<incident-prefix>-<UTC-date>.json; the default directory is
30
+ <state-dir>/support-reports. The hard maximum is 10 MiB; --max-bytes may lower it. Required
31
+ evidence never silently disappears: a closure that cannot fit is explicitly insufficient, with its
32
+ closed reasons and the bytes it would need. Existing targets are never overwritten. An unknown
33
+ incident or fingerprint, or a correlation without retained evidence, records nothing and exits 1.
34
+ No attachments, raw logs, config snapshots, evidence manifests, sidecars or inclusion flags.
35
+ Nothing is sent. Manually share only through your organization's approved channel.
70
36
 
71
- A legacy <state-dir>/ui.log (raw UI process output written by earlier versions) is never read into
72
- a report and is always named in the manifest's sectionsExcluded; every diagnostic the UI process
73
- produces is an Activity Log line. --include-evidence attaches the FULL EvidenceStore manifest for
74
- each listed runId (beyond the index-only summary above) for deep replay; a runId that does not
75
- exist under --state-dir contributes no section. After a successful export the command reports the
76
- state directory's diagnostic readiness (ready, degraded or unavailable, with closed reasons).
77
-
78
- analyze reads FILE (a support bundle or one raw Activity Log file — auto-detected), groups its
79
- lines by correlationId, and prints one reconstructed timeline per id.
80
- Each process lifetime is ordered by seq; lifetimes are ordered by the position of their first line
81
- in the file, because the log envelope promises no order across processes. The default and
82
- per-correlation reports identify the resolved input file, an inferable raw-log state directory,
83
- newest valid event and instance, and whether the raw log is current and apparently active. A raw
84
- log more than five minutes behind the analysis clock is reported as stale; bundles are historical
85
- artifacts and are never presented as live processes.
86
- --correlation-id narrows to a single id; --json emits the machine-readable form. --clusters prints
87
- a whole-file view of every parsed line grouped by (category, op, errorKind), independent of
88
- --correlation-id: a count and up to 5 sample correlation ids per group. --clusters --json is a
89
- deprecated, unversioned bare array kept byte-compatible for existing readers; it prints a one-line
90
- stderr deprecation notice on every use naming its versioned replacement, the clusters member of
91
- plain --json (kind keiko.support.analyze, schemaVersion 1), which carries the same data inside a
92
- versioned envelope. --seed (requires
93
- --correlation-id) prints a ReproductionSeed — a gatewayScript/httpRequest/storeFingerprint/
94
- indexingJob/issueToPrJourney/stackFrames/causeChain reconstruction for that one correlationId, plus
95
- a warnings field naming exactly what could not be reconstructed and why. --emit-fixture PATH (requires
96
- --correlation-id) writes a ready-to-paste TypeScript GatewayReplayScriptEntry[] fixture, derived
97
- from that seed's gatewayScript, to PATH — refusing to overwrite an existing file and creating
98
- parent directories as needed. --seed and --emit-fixture may be combined in one invocation.
37
+ Analyze bounds and validates the entire untrusted report before human or machine output. FILE must
38
+ be a private (owner-only, single-link) regular file. Analyze uses the recorded registry, performs
39
+ no embedded filesystem or network lookup, and reports authenticity as unknown. --json emits the
40
+ versioned body-free machine view; with --correlation-id it emits only that validated timeline, the
41
+ form keiko investigate --from-timeline reads. --seed prepares deterministic replay from the
42
+ incident's correlation or --correlation-id; --emit-fixture exclusively writes an explicitly
43
+ selected fixture. Legacy bundles and raw logs are refused as legacy-input: regenerate a report on
44
+ the originating installation.
99
45
  `;
100
46
  const CLI_SUPPORT_EXPORT_FAILED_OPERATION = defineActivityLogOperation({
101
47
  contractKind: "activity-log-operation",
@@ -179,77 +125,102 @@ function prepareSupportInstallLayoutEvidence(stateDir, env, deps, io) {
179
125
  "activity logging is unavailable.\n");
180
126
  return false;
181
127
  }
182
- const SUPPORT_LOG_STALE_AFTER_MS = 5 * 60_000;
183
- // The flags that once attached the raw `ui.log` (#3532). They are refused explicitly rather than
184
- // ignored, so an operator who still passes them learns that no report can carry raw UI output.
185
- const RETIRED_UI_LOG_FLAGS = [
186
- "--include-ui-log",
187
- "--i-understand-this-is-unredacted",
188
- ];
128
+ // The inclusion flags that once attached the raw `ui.log` or evidence manifests (#3532, #3534),
129
+ // in every spelling. They are refused explicitly rather than ignored, so an operator who still
130
+ // passes one learns that no report can carry raw output or attachments.
131
+ const RETIRED_INCLUSION_FLAG_PREFIXES = ["--include", "--i-understand"];
132
+ // The query's event filters are recognized only so the selector parser can name its own rule:
133
+ // export selects a closure, never an event filter.
134
+ const EXPORT_VALUE_FLAGS = new Set([
135
+ "--out",
136
+ "--state-dir",
137
+ "--max-bytes",
138
+ "--incident",
139
+ "--correlation-id",
140
+ "--defect-fingerprint",
141
+ "--op",
142
+ "--error-kind",
143
+ "--failure-class",
144
+ "--parent-correlation-id",
145
+ "--from",
146
+ "--to",
147
+ ]);
148
+ const ANALYZE_VALUE_FLAGS = new Set(["--correlation-id", "--emit-fixture"]);
149
+ const ANALYZE_SWITCHES = new Set(["--json", "--clusters", "--seed"]);
150
+ // Every token is a known flag or its value. An unknown flag, a `--flag=value` spelling or a stray
151
+ // value is a usage error, never silently ignored (an ignored `--out=dir` would write elsewhere).
152
+ function unexpectedArgument(args, valueFlags, switches = new Set()) {
153
+ for (let index = 0; index < args.length; index += 1) {
154
+ const arg = args[index] ?? "";
155
+ if (valueFlags.has(arg))
156
+ index += 1;
157
+ else if (!switches.has(arg))
158
+ return arg;
159
+ }
160
+ return undefined;
161
+ }
162
+ // --out names a directory. A file-shaped value is the retired bundle form, and an empty value
163
+ // would silently mean the working directory.
164
+ function invalidOutDirectory(out) {
165
+ if (out === "")
166
+ return "--out is missing its value.";
167
+ if (out !== undefined && /\.jsonl?$/u.test(out))
168
+ return "--out selects a directory; the report filename is fixed (keiko-support-v1-…json).";
169
+ return undefined;
170
+ }
189
171
  function parsePositiveInteger(value) {
190
172
  if (!/^\d+$/.test(value))
191
173
  return undefined;
192
174
  const parsed = Number(value);
193
175
  return Number.isInteger(parsed) && parsed > 0 ? parsed : undefined;
194
176
  }
195
- // Splits a `--include-evidence` value on commas, trimming each id and dropping empty entries — a
196
- // trailing comma or repeated separator must not manufacture a phantom empty runId that
197
- // `loadEvidence` would then reject.
198
- function parseIncludeEvidenceIds(raw) {
199
- if (raw === undefined)
200
- return [];
201
- return raw
202
- .split(",")
203
- .map((id) => id.trim())
204
- .filter((id) => id.length > 0);
205
- }
206
- // The answers that need no flag parsing: help, and the refusal of a retired ui.log flag.
177
+ // The answers that need no value parsing: help, a retired inclusion flag, an unknown argument.
207
178
  function exportArgsEarlyResult(args) {
208
179
  if (args.includes("--help") || args.includes("-h"))
209
180
  return { kind: "help" };
210
- if (!RETIRED_UI_LOG_FLAGS.some((flag) => args.includes(flag)))
211
- return undefined;
212
- return {
213
- kind: "usage",
214
- message: "keiko support export: --include-ui-log is no longer supported; raw UI output is never " +
215
- `part of a support report. Every UI diagnostic is in the Activity Log.\n${USAGE}`,
216
- };
217
- }
218
- function parseExportArgs(args) {
219
- const early = exportArgsEarlyResult(args);
220
- if (early !== undefined)
221
- return early;
222
- const out = flagValue(args, "--out");
223
- const stateDir = flagValue(args, "--state-dir");
224
- const maxBytesRaw = flagValue(args, "--max-bytes");
225
- const includeEvidenceRaw = flagValue(args, "--include-evidence");
226
- if (out === null || stateDir === null || maxBytesRaw === null || includeEvidenceRaw === null) {
181
+ if (args.some((arg) => RETIRED_INCLUSION_FLAG_PREFIXES.some((prefix) => arg.startsWith(prefix)))) {
227
182
  return {
228
183
  kind: "usage",
229
- message: `keiko support export: a flag is missing its value.\n${USAGE}`,
184
+ message: "keiko support export: inclusion flags are no longer supported; raw output is never " +
185
+ `part of a support report. Every UI diagnostic is in the Activity Log.\n${USAGE}`,
230
186
  };
231
187
  }
232
- const maxBytes = maxBytesRaw === undefined ? undefined : parsePositiveInteger(maxBytesRaw);
233
- if (maxBytesRaw !== undefined && maxBytes === undefined) {
234
- return {
188
+ const unexpected = unexpectedArgument(args, EXPORT_VALUE_FLAGS);
189
+ return unexpected === undefined
190
+ ? undefined
191
+ : {
235
192
  kind: "usage",
236
- message: `keiko support export: --max-bytes must be a positive integer.\n${USAGE}`,
193
+ message: `keiko support export: unknown argument: ${unexpected}\n${USAGE}`,
237
194
  };
195
+ }
196
+ // The export flag values, or the usage problem that refuses them.
197
+ function parseExportValues(args) {
198
+ const out = flagValue(args, "--out");
199
+ const stateDir = flagValue(args, "--state-dir");
200
+ const maxBytesRaw = flagValue(args, "--max-bytes");
201
+ if (out === null || stateDir === null || maxBytesRaw === null || stateDir === "")
202
+ return "a flag is missing its value.";
203
+ const outProblem = invalidOutDirectory(out);
204
+ if (outProblem !== undefined)
205
+ return outProblem;
206
+ const maxBytes = maxBytesRaw === undefined ? undefined : parsePositiveInteger(maxBytesRaw);
207
+ if (maxBytesRaw !== undefined && (maxBytes === undefined || maxBytes > MAX_SUPPORT_REPORT_BYTES))
208
+ return "--max-bytes must be between 1 and 10485760.";
209
+ return { out, stateDir, maxBytes };
210
+ }
211
+ function parseExportArgs(args) {
212
+ const early = exportArgsEarlyResult(args);
213
+ if (early !== undefined)
214
+ return early;
215
+ const values = parseExportValues(args);
216
+ if (typeof values === "string") {
217
+ return { kind: "usage", message: `keiko support export: ${values}\n${USAGE}` };
238
218
  }
239
219
  const selection = parseSupportExportSelector(args);
240
220
  if (selection.kind === "usage") {
241
221
  return { kind: "usage", message: `keiko support export: ${selection.message}\n${USAGE}` };
242
222
  }
243
- return {
244
- kind: "ok",
245
- value: {
246
- out,
247
- stateDir,
248
- maxBytes,
249
- includeEvidenceRunIds: parseIncludeEvidenceIds(includeEvidenceRaw),
250
- selector: selection.selector,
251
- },
252
- };
223
+ return { kind: "ok", value: { ...values, selector: selection.selector } };
253
224
  }
254
225
  function parseAnalyzeArgs(args) {
255
226
  if (args.includes("--help") || args.includes("-h"))
@@ -262,6 +233,13 @@ function parseAnalyzeArgs(args) {
262
233
  };
263
234
  }
264
235
  const rest = args.slice(1);
236
+ const unexpected = unexpectedArgument(rest, ANALYZE_VALUE_FLAGS, ANALYZE_SWITCHES);
237
+ if (unexpected !== undefined) {
238
+ return {
239
+ kind: "usage",
240
+ message: `keiko support analyze: unknown argument: ${unexpected}\n${USAGE}`,
241
+ };
242
+ }
265
243
  const correlationId = flagValue(rest, "--correlation-id");
266
244
  if (correlationId === null) {
267
245
  return {
@@ -270,19 +248,13 @@ function parseAnalyzeArgs(args) {
270
248
  };
271
249
  }
272
250
  const emitFixture = flagValue(rest, "--emit-fixture");
273
- if (emitFixture === null) {
251
+ if (emitFixture === null || emitFixture === "") {
274
252
  return {
275
253
  kind: "usage",
276
254
  message: `keiko support analyze: --emit-fixture is missing its value.\n${USAGE}`,
277
255
  };
278
256
  }
279
257
  const seed = rest.includes("--seed");
280
- if ((seed || emitFixture !== undefined) && correlationId === undefined) {
281
- return {
282
- kind: "usage",
283
- message: `keiko support analyze: --seed/--emit-fixture require --correlation-id.\n${USAGE}`,
284
- };
285
- }
286
258
  return {
287
259
  kind: "ok",
288
260
  value: {
@@ -327,993 +299,12 @@ function parseQuerySubcommand(subcommand, rest) {
327
299
  }
328
300
  return { kind: "usage", message: `keiko support: unknown subcommand: ${subcommand}\n${USAGE}` };
329
301
  }
330
- function resolveStateDirSource(env, stateDirArg) {
331
- const envSet = env.KEIKO_STATE_DIR !== undefined && env.KEIKO_STATE_DIR !== "";
332
- return stateDirArg !== undefined || envSet ? "env-override" : "default";
333
- }
334
- function defaultOutFileName(generatedAt) {
335
- return `keiko-support-${generatedAt.toISOString().replaceAll(":", "-")}.jsonl`;
336
- }
337
- export function resolveOutPath(cwd, outArg, generatedAt) {
338
- const value = outArg ?? defaultOutFileName(generatedAt);
339
- return isAbsolute(value) ? value : resolve(cwd, value);
340
- }
341
- // Nothing but the Activity Log store may create files in its directory: a report written there could
342
- // take a segment's name, and retention owns every closed-grammar name in it.
343
- function supportDestinationCollidesWithActivityLog(cwd, stateDir, outArg) {
344
- if (outArg === undefined)
345
- return false;
346
- return dirname(resolve(cwd, outArg)) === resolve(stateDir, ACTIVITY_LOG_DIRECTORY_NAME);
347
- }
348
- // Never throws: a missing or unreadable evidence directory means zero evidence to report, never a
349
- // failed export (the manifest field is a count, not a listing, so there is nothing sensitive to
350
- // lose by reporting zero).
351
- async function resolveEvidenceIndexCount(evidenceDir, deps) {
352
- try {
353
- const evidence = await loadEvidence();
354
- const store = deps.evidenceStore ?? evidence.createNodeEvidenceStore(evidenceDir);
355
- return evidence.listEvidence(store).length;
356
- }
357
- catch {
358
- return 0;
359
- }
360
- }
361
- // The exported detector (ADR-0173, `detectUpdateInstallMode`/`productionUpdateFacts`) answers
362
- // "which install mode is this process running in" synchronously with no lock — the same call
363
- // `keiko-cli`'s `ui.ts` already makes for `process.started`. Wrapped in a try/catch anyway because
364
- // the detector walks the filesystem from `process.argv[1]` looking for this package's own
365
- // `package.json`; a genuinely unreadable path must not fail the whole export. "unknown" is the
366
- // same honest fallback the manifest used before this detector was reachable from here at all.
367
- function resolveExportInstallMode(server) {
368
- try {
369
- const mode = server.detectUpdateInstallMode(server.productionUpdateFacts(process.env), process.env);
370
- // `installKind` is optional on the wire contract (other producers of `UpdateInstallMode` may
371
- // omit it), even though this detector always sets it in practice; "unknown" covers both that
372
- // theoretical gap and a thrown error with the same fallback.
373
- return mode.installKind ?? "unknown";
374
- }
375
- catch {
376
- return "unknown";
377
- }
378
- }
379
- // Discovers, budget-selects, and reads the state dir's server*.log files in one pass, tolerating
380
- // concurrent removal of the current file or a compatible legacy archive at both boundaries
381
- // (support-export.ts's `discoverServerLogFiles`, between `readdirSync` and the verified open, and
382
- // `readKeptFiles`, between selection and the actual read): `sourceLogFiles` names only the files
383
- // that actually contributed content; `skippedLogFiles` names every file that vanished or was
384
- // refused (a link or non-regular entry) at either boundary, by name only, never by its absolute
385
- // path. `budgetExceeded` and
386
- // `currentFileTailTruncated` come from `readKeptFiles`, not `selection`: only the read step knows
387
- // whether a tail read of the current file actually managed to keep a complete line, which is what
388
- // decides whether the size budget was, in the end, honoured.
389
- function collectLogContent(logsDir, maxBytes) {
390
- const discovery = discoverServerLogFiles(logsDir);
391
- const selection = selectLogFilesWithinBudget(discovery.files, maxBytes);
392
- const read = readKeptFiles(selection.kept, selection.currentFileTailBudgetBytes);
393
- const readSkipped = new Set(read.skippedLogFiles.map((skipped) => skipped.name));
394
- const sourceLogFiles = selection.kept
395
- .map((file) => file.name)
396
- .filter((name) => !readSkipped.has(name));
397
- return {
398
- contentLines: read.contentLines,
399
- terminalFragment: read.terminalFragment,
400
- sourceLogFiles,
401
- sourceLogFileLines: read.sourceLogFileLines,
402
- truncatedLogFiles: selection.truncatedLogFiles,
403
- currentFileTailTruncated: read.currentFileTailTruncated,
404
- budgetExceeded: read.budgetExceeded,
405
- skippedLogFiles: [...discovery.skippedLogFiles, ...read.skippedLogFiles],
406
- };
407
- }
408
- function safeArtifactFailureRecord(error) {
409
- if (typeof error !== "object" || error === null)
410
- return undefined;
411
- const artifactClass = Reflect.get(error, "artifactClass");
412
- const kind = Reflect.get(error, "kind");
413
- if (!isSafeArtifactClass(artifactClass) || !isSafeArtifactFailureKind(kind))
414
- return undefined;
415
- return { artifactClass, kind };
416
- }
417
- export function supportPublicationErrorKind(error) {
418
- try {
419
- return safeArtifactFailureRecord(error)?.kind ?? "unknown";
420
- }
421
- catch {
422
- return "unknown";
423
- }
424
- }
425
- function supportPublicationFailure(error) {
426
- try {
427
- const failure = safeArtifactFailureRecord(error);
428
- if (failure !== undefined) {
429
- const failedArtifactClass = failure.artifactClass === "integrity-artifact" || failure.artifactClass === "manifest"
430
- ? failure.artifactClass
431
- : "support-report";
432
- return { errorKind: failure.kind, failedArtifactClass };
433
- }
434
- }
435
- catch {
436
- return { errorKind: "unknown", failedArtifactClass: "support-report" };
437
- }
438
- return { errorKind: "unknown", failedArtifactClass: "support-report" };
439
- }
440
- export function supportPublicationContext(cwd, outArg) {
441
- const explicitPath = outArg === undefined ? undefined : resolve(cwd, outArg);
442
- const root = explicitPath === undefined ? resolve(cwd) : dirname(explicitPath);
443
- const namespace = explicitPath === undefined ? "support-export/default" : "support-export/explicit";
444
- return { root, slot: safeArtifactPublicationSlot(namespace, explicitPath ?? root) };
445
- }
446
- function publishSupportBundle(outPath, contents, io, context, recoveryState) {
447
- const reportSha256 = bundleSha256Hex(contents);
448
- try {
449
- const result = publishSafeArtifactFileSet([
450
- { path: outPath, contents, artifactClass: "support-report" },
451
- {
452
- path: sha256SidecarPath(outPath),
453
- contents: `${reportSha256}\n`,
454
- artifactClass: "integrity-artifact",
455
- },
456
- ], {
457
- commitPath: outPath,
458
- publicationSlot: context.slot,
459
- trustedRoot: context.root,
460
- });
461
- return {
462
- status: "published",
463
- result,
464
- reportBytes: Buffer.byteLength(contents),
465
- reportSha256,
466
- recoveryState,
467
- };
468
- }
469
- catch (error) {
470
- const failure = supportPublicationFailure(error);
471
- const { errorKind } = failure;
472
- io.err(`keiko support export: could not write the bundle: ${errorKind}\n`);
473
- return { status: "failed", ...failure, recoveryState };
474
- }
475
- }
476
- function recoverSupportBundle(context, io) {
477
- try {
478
- const result = recoverSafeArtifactFileSet({
479
- publicationSlot: context.slot,
480
- trustedRoot: context.root,
481
- });
482
- if (result.status === "rolled-back") {
483
- return { status: "rolled-back", recoveryState: "rolled-back" };
484
- }
485
- if (result.status !== "recovered")
486
- return { status: "none" };
487
- return {
488
- status: "recovered",
489
- result,
490
- reportBytes: result.commitByteCount,
491
- reportSha256: result.commitSha256,
492
- recoveryState: "recovered",
493
- };
494
- }
495
- catch (error) {
496
- const failure = supportPublicationFailure(error);
497
- const { errorKind } = failure;
498
- io.err(`keiko support export: could not recover the prior publication: ${errorKind}\n`);
499
- return { status: "failed", ...failure, recoveryState: "conflict" };
500
- }
501
- }
502
- function acknowledgeSupportPublication(context, io) {
503
- try {
504
- acknowledgeSafeArtifactFileSet({
505
- publicationSlot: context.slot,
506
- trustedRoot: context.root,
507
- });
508
- return undefined;
509
- }
510
- catch (error) {
511
- const errorKind = supportPublicationErrorKind(error);
512
- io.err(`keiko support export: could not acknowledge publication: ${errorKind}\n`);
513
- return errorKind;
514
- }
515
- }
516
- const SUPPORT_EXPORT_PUBLICATION_OPERATION = defineActivityLogOperation({
517
- contractKind: "activity-log-operation",
518
- schemaVersion: 1,
519
- op: "support.export.publication",
520
- category: "diagnostic",
521
- owner: "keiko-cli",
522
- emitter: "support.emitSupportPublicationEvidence",
523
- fields: {
524
- publicationArtifactClass: {
525
- type: "string",
526
- dataClass: "closed-enum",
527
- required: true,
528
- values: ["support-report"],
529
- },
530
- artifactCount: { type: "integer", dataClass: "count", required: true },
531
- visibleArtifactCount: { type: "integer", dataClass: "count", required: false },
532
- persistenceStatus: {
533
- type: "string",
534
- dataClass: "closed-enum",
535
- required: true,
536
- values: ["published", "recovered", "rolled-back", "acknowledgement-failed", "failed"],
537
- },
538
- publicationPersistenceStatus: {
539
- type: "string",
540
- dataClass: "closed-enum",
541
- required: true,
542
- values: ["published", "recovered", "rolled-back", "acknowledgement-failed", "failed"],
543
- },
544
- completeness: { type: "string", dataClass: "completeness-state", required: true },
545
- publicationCompleteness: {
546
- type: "string",
547
- dataClass: "completeness-state",
548
- required: true,
549
- },
550
- loss: { type: "string", dataClass: "loss-state", required: true },
551
- publicationLoss: { type: "string", dataClass: "loss-state", required: true },
552
- recoveryState: {
553
- type: "string",
554
- dataClass: "closed-enum",
555
- required: true,
556
- values: ["none", "rolled-back", "recovered", "conflict"],
557
- },
558
- publicationStatus: {
559
- type: "string",
560
- dataClass: "closed-enum",
561
- required: false,
562
- values: ["published", "recovered"],
563
- },
564
- permissionAssurance: {
565
- type: "string",
566
- dataClass: "closed-enum",
567
- required: false,
568
- values: ["verified-private", "platform-inherited"],
569
- },
570
- durabilityAssurance: {
571
- type: "string",
572
- dataClass: "closed-enum",
573
- required: false,
574
- values: ["verified", "directory-sync-unavailable"],
575
- },
576
- reportBytes: { type: "integer", dataClass: "count", required: false },
577
- reportSha256: {
578
- type: "string",
579
- dataClass: "digest",
580
- required: false,
581
- maxLength: 64,
582
- },
583
- receiptState: {
584
- type: "string",
585
- dataClass: "closed-enum",
586
- required: true,
587
- values: ["consumed", "acknowledgement-uncertain", "unknown"],
588
- },
589
- failedArtifactClass: {
590
- type: "string",
591
- dataClass: "closed-enum",
592
- required: false,
593
- values: ["support-report", "integrity-artifact", "manifest"],
594
- },
595
- failureKind: {
596
- type: "string",
597
- dataClass: "closed-enum",
598
- required: false,
599
- values: [
600
- "invalid-publication",
601
- "close-failed",
602
- "durability-failed",
603
- "open-failed",
604
- "permission-failed",
605
- "permission-unsafe",
606
- "publish-failed",
607
- "publish-unsupported",
608
- "read-failed",
609
- "recovery-conflict",
610
- "replace-failed",
611
- "target-exists",
612
- "target-mutated",
613
- "unsafe-ancestor",
614
- "unsafe-target",
615
- "write-failed",
616
- "unknown",
617
- ],
618
- },
619
- },
620
- causal: "correlation",
621
- lifecycle: "end",
622
- analyzerProjection: "capability",
623
- failureClasses: ["support-publication", "support-publication-acknowledgement"],
624
- proofIds: [
625
- "support.export.publication.publication-evidence",
626
- "support.export.publication.commit-last",
627
- ],
628
- releaseImpact: "patch",
629
- });
630
- const SUPPORT_ANALYZE_CLASSIFICATION_OPERATION = defineActivityLogOperation({
631
- contractKind: "activity-log-operation",
632
- schemaVersion: 1,
633
- op: "support.analyze.classified",
634
- category: "diagnostic",
635
- owner: "keiko-cli",
636
- emitter: "support.emitSupportAnalysisEvidence",
637
- fields: {
638
- sourceKind: {
639
- type: "string",
640
- dataClass: "closed-enum",
641
- required: true,
642
- values: ["bundle", "raw-log"],
643
- },
644
- evidenceClassification: {
645
- type: "string",
646
- dataClass: "closed-enum",
647
- required: true,
648
- values: ["supported", "legacy", "unsupported", "corrupt", "truncated", "incomplete"],
649
- },
650
- supportedLineCount: { type: "integer", dataClass: "count", required: true },
651
- legacyLineCount: { type: "integer", dataClass: "count", required: true },
652
- unsupportedLineCount: { type: "integer", dataClass: "count", required: true },
653
- corruptLineCount: { type: "integer", dataClass: "count", required: true },
654
- truncatedLineCount: { type: "integer", dataClass: "count", required: true },
655
- incompleteLineCount: { type: "integer", dataClass: "count", required: true },
656
- sequenceAnomalyCount: { type: "integer", dataClass: "count", required: true },
657
- malformedLineCount: { type: "integer", dataClass: "count", required: true },
658
- // #3532: the per-failure-class sufficiency projection of the analyzed artifact.
659
- sufficiency: {
660
- type: "string",
661
- dataClass: "closed-enum",
662
- required: true,
663
- values: [...DIAGNOSTIC_SUFFICIENCY_STATUSES],
664
- },
665
- sufficiencyReasons: {
666
- type: "string-array",
667
- dataClass: "closed-enum",
668
- required: false,
669
- maxItems: 17,
670
- values: [...DIAGNOSTIC_SUFFICIENCY_REASONS],
671
- },
672
- completeClassCount: { type: "integer", dataClass: "count", required: true },
673
- degradedClassCount: { type: "integer", dataClass: "count", required: true },
674
- insufficientClassCount: { type: "integer", dataClass: "count", required: true },
675
- completeness: { type: "string", dataClass: "completeness-state", required: true },
676
- loss: { type: "string", dataClass: "loss-state", required: true },
677
- },
678
- causal: "correlation",
679
- lifecycle: "end",
680
- analyzerProjection: "capability",
681
- failureClasses: ["support-analysis"],
682
- proofIds: ["support.analyze.classified.classification-evidence"],
683
- releaseImpact: "patch",
684
- });
685
- function completedPublicationEvidenceFields(publication, persistenceStatus, receiptState) {
686
- return {
687
- publicationArtifactClass: "support-report",
688
- artifactCount: 2,
689
- visibleArtifactCount: 2,
690
- persistenceStatus,
691
- publicationPersistenceStatus: persistenceStatus,
692
- completeness: "complete",
693
- publicationCompleteness: "complete",
694
- loss: "none",
695
- publicationLoss: "none",
696
- recoveryState: publication.recoveryState,
697
- publicationStatus: publication.result.status,
698
- permissionAssurance: publication.result.permissionAssurance,
699
- durabilityAssurance: publication.result.durabilityAssurance,
700
- reportBytes: publication.reportBytes,
701
- reportSha256: publication.reportSha256,
702
- receiptState,
703
- };
704
- }
705
- function failedPublicationEvidenceFields(outcome) {
706
- return {
707
- publicationArtifactClass: "support-report",
708
- artifactCount: 2,
709
- persistenceStatus: "failed",
710
- publicationPersistenceStatus: "failed",
711
- completeness: "unknown",
712
- publicationCompleteness: "unknown",
713
- loss: "publication-unavailable",
714
- publicationLoss: "publication-unavailable",
715
- recoveryState: outcome.recoveryState,
716
- receiptState: "unknown",
717
- failedArtifactClass: outcome.failedArtifactClass,
718
- failureKind: outcome.errorKind,
719
- };
720
- }
721
- function supportPublicationActivityErrorKind(failure) {
722
- switch (failure) {
723
- case "invalid-publication":
724
- return "validation-failed";
725
- case "permission-failed":
726
- return "permission-denied";
727
- case "permission-unsafe":
728
- case "unsafe-ancestor":
729
- return "unsafe-target";
730
- case "publish-failed":
731
- case "replace-failed":
732
- return "write-failed";
733
- case "recovery-conflict":
734
- return "conflict";
735
- case "close-failed":
736
- return "durability-failed";
737
- default:
738
- return failure;
739
- }
740
- }
741
- function emitSupportPublicationEvidence(server, stateDir, correlationId, outcome) {
742
- const activityLog = server.createFileServerLogSink(stateDir);
743
- try {
744
- if (outcome.status === "rolled-back") {
745
- writeRolledBackRecovery(activityLog, correlationId, outcome);
746
- return;
747
- }
748
- if (outcome.status === "acknowledgement-failed") {
749
- writeAcknowledgementFailure(activityLog, correlationId, outcome);
750
- return;
751
- }
752
- if (outcome.status !== "failed") {
753
- writeCompletedPublication(activityLog, correlationId, outcome);
754
- return;
755
- }
756
- writeFailedPublication(activityLog, correlationId, outcome);
757
- }
758
- finally {
759
- activityLog.close?.();
760
- }
761
- }
762
- function emitSupportAnalysisEvidence(server, stateDir, result) {
763
- const activityLog = server.createFileServerLogSink(stateDir);
764
- try {
765
- activityLog.write(activityLogEvent(SUPPORT_ANALYZE_CLASSIFICATION_OPERATION, { correlationId: randomUUID() }, {
766
- sourceKind: result.sourceKind,
767
- evidenceClassification: result.evidence.classification,
768
- supportedLineCount: result.evidence.supportedLineCount,
769
- legacyLineCount: result.evidence.legacyLineCount,
770
- unsupportedLineCount: result.evidence.unsupportedLineCount,
771
- corruptLineCount: result.evidence.corruptLineCount,
772
- truncatedLineCount: result.evidence.truncatedLineCount,
773
- incompleteLineCount: result.evidence.incompleteLineCount,
774
- sequenceAnomalyCount: result.evidence.sequenceAnomalies.length,
775
- malformedLineCount: result.malformedLineCount,
776
- sufficiency: result.sufficiency.status,
777
- ...(result.sufficiency.reasons.length === 0
778
- ? {}
779
- : { sufficiencyReasons: result.sufficiency.reasons }),
780
- completeClassCount: result.sufficiency.coverage.completeClassCount,
781
- degradedClassCount: result.sufficiency.coverage.degradedClassCount,
782
- insufficientClassCount: result.sufficiency.coverage.insufficientClassCount,
783
- ...ACTIVITY_LOG_EVIDENCE_INTEGRITY[result.evidence.classification],
784
- }));
785
- }
786
- finally {
787
- activityLog.close?.();
788
- }
789
- }
790
- function writeRolledBackRecovery(activityLog, correlationId, outcome) {
791
- activityLog.write(activityLogEvent(SUPPORT_EXPORT_PUBLICATION_OPERATION, { correlationId }, {
792
- publicationArtifactClass: "support-report",
793
- artifactCount: 2,
794
- visibleArtifactCount: 0,
795
- persistenceStatus: "rolled-back",
796
- publicationPersistenceStatus: "rolled-back",
797
- completeness: "complete",
798
- publicationCompleteness: "complete",
799
- loss: "none",
800
- publicationLoss: "none",
801
- recoveryState: outcome.recoveryState,
802
- receiptState: "consumed",
803
- }));
804
- }
805
- function writeAcknowledgementFailure(activityLog, correlationId, outcome) {
806
- activityLog.write(activityLogEvent(SUPPORT_EXPORT_PUBLICATION_OPERATION, {
807
- level: "error",
808
- correlationId,
809
- errorKind: supportPublicationActivityErrorKind(outcome.errorKind),
810
- }, {
811
- ...completedPublicationEvidenceFields(outcome.publication, "acknowledgement-failed", "acknowledgement-uncertain"),
812
- failedArtifactClass: "manifest",
813
- failureKind: outcome.errorKind,
814
- }));
815
- }
816
- function writeCompletedPublication(activityLog, correlationId, outcome) {
817
- activityLog.write(activityLogEvent(SUPPORT_EXPORT_PUBLICATION_OPERATION, { correlationId }, completedPublicationEvidenceFields(outcome, outcome.status, "consumed")));
818
- }
819
- function writeFailedPublication(activityLog, correlationId, outcome) {
820
- activityLog.write(activityLogEvent(SUPPORT_EXPORT_PUBLICATION_OPERATION, {
821
- level: "error",
822
- correlationId,
823
- errorKind: supportPublicationActivityErrorKind(outcome.errorKind),
824
- }, failedPublicationEvidenceFields(outcome)));
825
- }
826
- // Finding 1 (minor): store fingerprint collection runs a synchronous full-DB `quick_check` plus
827
- // a row count per table for each store, which can take a while against a large local-knowledge
828
- // index with nothing printed while it runs. This progress line keeps a slow run from looking
829
- // hung, without changing the collection's synchronous, untimed behavior itself.
830
- function reportStoreFingerprintProgress(io) {
831
- io.err("keiko support export: computing store fingerprints (may take a while on a large local-knowledge index)...\n");
832
- }
833
- // Body-free like every other failure line in this file: an auditor error's text can quote the
834
- // state tree it was reading, so only the closed `AuditLoadError` reason or the error's kind is
835
- // printed, never its message.
836
- function reportAuditFailure(error, io) {
837
- if (!(error instanceof Error))
838
- throw error;
839
- const reason = error instanceof AuditLoadError ? error.reason : describeErrorKind(error);
840
- io.err(`keiko support export: local-state audit could not produce a result (${reason}); ` +
841
- "refusing to write a bundle without an audit summary.\n");
842
- return 1;
843
- }
844
- function processProvenance(server, generatedAt, stateDirSource) {
845
- return {
846
- schemaVersion: server.SERVER_LOG_SCHEMA_VERSION,
847
- productVersion: KEIKO_PRODUCT_VERSION,
848
- platform: process.platform,
849
- arch: process.arch,
850
- nodeVersion: process.version,
851
- generatedAt: generatedAt.toISOString(),
852
- installMode: resolveExportInstallMode(server),
853
- stateDirSource,
854
- };
855
- }
856
- function logContentManifestFields(logContent) {
857
- return {
858
- sourceLogFiles: logContent.sourceLogFiles,
859
- sourceLogFileLines: logContent.sourceLogFileLines,
860
- truncatedLogFiles: logContent.truncatedLogFiles,
861
- currentFileTailTruncated: logContent.currentFileTailTruncated,
862
- budgetExceeded: logContent.budgetExceeded,
863
- skippedLogFiles: logContent.skippedLogFiles,
864
- };
865
- }
866
- // A `KEIKO_`-prefixed env name is collected with the prefix fused on, so `redactLogFields`'s
867
- // field-NAME denylist (an exact match on the WHOLE normalized name, `log-redaction.ts`) can never
868
- // fire on it: normalization turns `KEIKO_DEFAULT_API_KEY` into `keikodefaultapikey`, which does
869
- // not equal the denylist's `apikey`/`key` entries. Leaving safety to the generic value-shape
870
- // heuristics alone is not enough either — they do not catch, for example, a hex-only secret (no
871
- // uppercase character, so the high-entropy check never fires) or any other operator-chosen
872
- // credential shape they were never designed to enumerate. This is therefore a second, independent
873
- // gate at the COLLECTION layer: a credential word (optionally plural) ENDING any `_`-separated
874
- // segment refuses the field outright, before its value is ever read into the snapshot at all —
875
- // whether the word stands alone (`KEIKO_API_KEY`) or is fused onto a qualifier
876
- // (`KEIKO_CLIENTSECRET`, `KEIKO_APITOKEN`). The segment end, not any substring, is deliberate:
877
- // `KEIKO_LOCAL_KNOWLEDGE_TOKENIZER` names a tokenizer mode, not a token.
878
- const CREDENTIAL_NAME_WORDS = [
879
- "key",
880
- "secret",
881
- "token",
882
- "credential",
883
- "password",
884
- "passwd",
885
- "pwd",
886
- "auth",
887
- "cert",
888
- "certificate",
889
- ];
890
- function isCredentialNameSegment(segment) {
891
- return CREDENTIAL_NAME_WORDS.some((word) => segment.endsWith(word) || segment.endsWith(`${word}s`));
892
- }
893
- function isCredentialShapedEnvName(key) {
894
- return key
895
- .toLowerCase()
896
- .split("_")
897
- .some((segment) => isCredentialNameSegment(segment));
898
- }
899
- // "The resolved runtime configuration" scoped to what this CLI itself resolves from the
900
- // environment — its own `KEIKO_*` vocabulary (KEIKO_STATE_DIR, KEIKO_CONFIG_FILE,
901
- // KEIKO_EVIDENCE_DIR, …) — passed through the server's `redactLogFields` choke point (never a
902
- // second redaction implementation, AGENTS.md §7) before embedding. Always attached, unlike
903
- // ui-log/evidence-manifest, which are opt-in. `isCredentialShapedEnvName` runs first and is not a
904
- // duplicate of that choke point: it refuses a credential-shaped NAME outright, a layer
905
- // `redactLogFields` structurally cannot reach once the prefix has fused the name.
906
- function keikoConfigEnvFields(env) {
907
- const fields = {};
908
- for (const [key, value] of Object.entries(env)) {
909
- if (key.startsWith("KEIKO_") && value !== undefined && !isCredentialShapedEnvName(key)) {
910
- fields[key] = value;
911
- }
912
- }
913
- return fields;
914
- }
915
- function resolveConfigSnapshotSection(env, server) {
916
- return buildConfigSnapshotSection(server.redactLogFields(keikoConfigEnvFields(env)) ?? {});
917
- }
918
- // Attaches the FULL EvidenceStore manifest for each `--include-evidence` runId, beyond the
919
- // index-only `evidenceIndexCount` summary Wave 1 already carries — deep replay. A runId that does
920
- // not resolve (never used from this state dir, or an unreadable/malformed manifest) contributes no
921
- // section; this never fails the export, the same "count, don't fail" discipline
922
- // `resolveEvidenceIndexCount` already uses.
923
- async function resolveIncludedEvidenceSections(evidenceDir, runIds, deps) {
924
- if (runIds.length === 0)
925
- return [];
926
- try {
927
- const evidence = await loadEvidence();
928
- const store = deps.evidenceStore ?? evidence.createNodeEvidenceStore(evidenceDir);
929
- const sections = [];
930
- for (const runId of runIds) {
931
- const manifest = evidence.loadEvidence(store, runId);
932
- if (manifest !== undefined)
933
- sections.push(buildEvidenceManifestSection(runId, manifest));
934
- }
935
- return sections;
936
- }
937
- catch {
938
- return [];
939
- }
940
- }
941
- // Assembles every Wave 6 `$section` record in the bundle's fixed order: config-snapshot (always),
942
- // then each requested evidence-manifest. No section ever carries raw UI output (#3532).
943
- function assembleWave6Sections(env, server, evidenceSections) {
944
- return [resolveConfigSnapshotSection(env, server), ...evidenceSections];
945
- }
946
- async function recordRolledBackRecovery(recovery, stateDir) {
947
- emitSupportPublicationEvidence(await loadServer(), stateDir, randomUUID(), recovery);
948
- }
949
- async function recoveredSupportExportExitCode(recovery, stateDir, io, context) {
950
- const server = await loadServer();
951
- if (recovery.status === "failed") {
952
- emitSupportPublicationEvidence(server, stateDir, randomUUID(), recovery);
953
- return 1;
954
- }
955
- return completeSupportPublication(recovery, server, stateDir, io, context, `Recovered support report at ${recovery.result.commitPath}\n`);
956
- }
957
- // Success is claimed only once the receipt is acknowledged: an unacknowledged publication exits 1
958
- // without a success line, and the next run recovers and announces the same durable report.
959
- function completeSupportPublication(publication, server, stateDir, io, context, successLine) {
960
- const correlationId = randomUUID();
961
- const errorKind = acknowledgeSupportPublication(context, io);
962
- if (errorKind === undefined) {
963
- io.out(successLine);
964
- emitSupportPublicationEvidence(server, stateDir, correlationId, publication);
965
- return 0;
966
- }
967
- emitSupportPublicationEvidence(server, stateDir, correlationId, {
968
- status: "acknowledgement-failed",
969
- errorKind,
970
- publication,
971
- });
972
- return 1;
973
- }
974
- function publishedSupportExportExitCode(publication, server, stateDir, lineCount, outPath, io, context) {
975
- if (publication.status === "failed") {
976
- emitSupportPublicationEvidence(server, stateDir, randomUUID(), publication);
977
- return 1;
978
- }
979
- return completeSupportPublication(publication, server, stateDir, io, context, `Wrote ${String(lineCount)} lines to ${outPath}\n`);
980
- }
981
- // The whole log (oldest files dropped first to fit --max-bytes), or, with a selector, only the
982
- // selection's causal closure, which is never cut to fit (#3531).
983
- async function collectExportLogContent(args, stateDir, io, activityLog) {
984
- const maxBytes = args.maxBytes ?? DEFAULT_MAX_BUNDLE_BYTES;
985
- if (args.selector === undefined)
986
- return collectLogContent(join(stateDir, "logs"), maxBytes);
987
- return collectSelectedLogContent(args.selector, stateDir, maxBytes, io, activityLog);
988
- }
989
- async function collectFreshSupportData(args, io, env, deps, context) {
990
- const [server, activityLog] = await Promise.all([loadServer(), loadActivityLog()]);
991
- const logContent = await collectExportLogContent(args, context.stateDir, io, activityLog);
992
- if (typeof logContent === "number")
993
- return logContent;
994
- const evidenceDir = env.KEIKO_EVIDENCE_DIR ?? join(context.stateDir, "evidence");
995
- const evidenceIndexCount = await resolveEvidenceIndexCount(evidenceDir, deps);
996
- try {
997
- const activityLog = server.createFileServerLogSink(context.stateDir);
998
- activityLog.close?.();
999
- }
1000
- catch (error) {
1001
- io.err(`keiko support export: Activity Log unavailable: ${supportPublicationErrorKind(error)}\n`);
1002
- return 1;
1003
- }
1004
- let auditSummary;
1005
- try {
1006
- auditSummary = await auditLocalStateResult(context.stateDir, env, deps.auditDeps ?? {});
1007
- }
1008
- catch (error) {
1009
- return reportAuditFailure(error, io);
1010
- }
1011
- reportStoreFingerprintProgress(io);
1012
- const stores = await server.collectStoreFingerprints({ stateDir: context.stateDir, env });
1013
- const evidenceSections = await resolveIncludedEvidenceSections(evidenceDir, args.includeEvidenceRunIds, deps);
1014
- return {
1015
- logContent,
1016
- evidenceIndexCount,
1017
- server,
1018
- auditSummary,
1019
- stores,
1020
- evidenceSections,
1021
- generatedAtDate: context.now(),
1022
- };
1023
- }
1024
- async function publishFreshSupportExport(args, io, env, deps, context) {
1025
- const data = await collectFreshSupportData(args, io, env, deps, context);
1026
- if (typeof data === "number")
1027
- return data;
1028
- const baseManifest = buildSupportBundleManifest({
1029
- ...processProvenance(data.server, data.generatedAtDate, context.stateDirSource),
1030
- ...logContentManifestFields(data.logContent),
1031
- auditSummary: data.auditSummary,
1032
- evidenceIndexCount: data.evidenceIndexCount,
1033
- storeFingerprints: data.stores.fingerprints,
1034
- storesUnavailable: data.stores.unavailable,
1035
- // A legacy raw `ui.log` is never read into a report; the manifest keeps naming it as excluded.
1036
- sectionsExcluded: [UI_LOG_SECTION],
1037
- });
1038
- const selection = data.logContent.selection;
1039
- const manifest = selection === undefined ? baseManifest : { ...baseManifest, selection };
1040
- const sections = assembleWave6Sections(env, data.server, data.evidenceSections);
1041
- const lines = serializeBundleLines(manifest, sections, data.logContent.contentLines);
1042
- const outPath = resolveOutPath(context.cwd, args.out, data.generatedAtDate);
1043
- const publication = publishSupportBundle(outPath, bundleText(lines, data.logContent.terminalFragment), io, context.publication, context.recoveryState);
1044
- return publishedSupportExportExitCode(publication, data.server, context.stateDir, lines.length, outPath, io, context.publication);
1045
- }
1046
302
  async function runSupportExport(args, io, env, deps) {
1047
303
  const cwd = deps.cwd ?? process.cwd();
1048
- const now = deps.now ?? (() => new Date());
1049
304
  const stateDir = resolveStateDir(cwd, env, args.stateDir);
1050
305
  if (!prepareSupportInstallLayoutEvidence(stateDir, env, deps, io))
1051
306
  return 1;
1052
- const stateDirSource = resolveStateDirSource(env, args.stateDir);
1053
- if (supportDestinationCollidesWithActivityLog(cwd, stateDir, args.out)) {
1054
- io.err("keiko support export: destination collides with the Activity Log\n");
1055
- return 1;
1056
- }
1057
- const publicationContext = supportPublicationContext(cwd, args.out);
1058
- const recovery = recoverSupportBundle(publicationContext, io);
1059
- if (recovery.status === "recovered" || recovery.status === "failed") {
1060
- return recoveredSupportExportExitCode(recovery, stateDir, io, publicationContext);
1061
- }
1062
- if (recovery.status === "rolled-back")
1063
- await recordRolledBackRecovery(recovery, stateDir);
1064
- const exitCode = await publishFreshSupportExport(args, io, env, deps, {
1065
- cwd,
1066
- now,
1067
- stateDir,
1068
- stateDirSource,
1069
- publication: publicationContext,
1070
- recoveryState: recovery.status,
1071
- });
1072
- if (exitCode === 0)
1073
- await reportSupportReadiness(stateDir, env, io);
1074
- return exitCode;
1075
- }
1076
- // `keiko support export` also states the exported directory's diagnostic readiness (#3532). The
1077
- // self-check persists its own `activity-log.readiness` line after the export, so the report it just
1078
- // wrote stays exactly the evidence that existed when it was taken. This command inspects a state
1079
- // directory it does not serve, so its own logger's wiring is not part of that directory's answer.
1080
- async function reportSupportReadiness(stateDir, env, io) {
1081
- const snapshot = (await loadActivityLog()).checkActivityLogReadiness({
1082
- stateDir,
1083
- env,
1084
- scope: "directory",
1085
- });
1086
- const reasons = snapshot.reasons.length === 0 ? "" : ` (${snapshot.reasons.join(", ")})`;
1087
- io.out(`Diagnostic evidence: ${snapshot.readiness}${reasons}.\n`);
1088
- }
1089
- function reportMissingCorrelationId(correlationId, io) {
1090
- io.err(`keiko support analyze: no lines found for correlation id: ${correlationId}\n`);
1091
- return 1;
1092
- }
1093
- // A raw Activity Log file sits directly in `<state-dir>/logs/` under the closed grammar (a segment or
1094
- // a legacy server*.log); anything else gives no state directory to infer.
1095
- function inferAnalyzedStateDir(filePath, sourceKind) {
1096
- const logDirectory = dirname(filePath);
1097
- return sourceKind === "raw-log" &&
1098
- basename(logDirectory) === ACTIVITY_LOG_DIRECTORY_NAME &&
1099
- parseActivityLogFileName(basename(filePath)) !== undefined
1100
- ? dirname(logDirectory)
1101
- : undefined;
1102
- }
1103
- function assessFreshness(latestTimestamp, now) {
1104
- if (latestTimestamp === undefined)
1105
- return { value: "unknown" };
1106
- const latestMs = Date.parse(latestTimestamp);
1107
- const ageMs = now.getTime() - latestMs;
1108
- if (!Number.isFinite(latestMs) || ageMs < -SUPPORT_LOG_STALE_AFTER_MS) {
1109
- return {
1110
- value: "unknown",
1111
- warning: "analyzed log has no credible newest event timestamp",
1112
- };
1113
- }
1114
- return ageMs > SUPPORT_LOG_STALE_AFTER_MS
1115
- ? {
1116
- value: "stale",
1117
- warning: "analyzed log is stale: its newest valid event is older than 5 minutes",
1118
- }
1119
- : { value: "current" };
1120
- }
1121
- function errorCode(error) {
1122
- if (typeof error !== "object" || error === null || !("code" in error))
1123
- return undefined;
1124
- return typeof error.code === "string" ? error.code : undefined;
1125
- }
1126
- function processIsRunning(pid) {
1127
- try {
1128
- process.kill(pid, 0);
1129
- return true;
1130
- }
1131
- catch (error) {
1132
- return errorCode(error) === "EPERM";
1133
- }
1134
- }
1135
- function newestProcess(result) {
1136
- if (result.latestInstanceId === undefined)
1137
- return undefined;
1138
- return result.processes.find((candidate) => candidate.instanceId === result.latestInstanceId);
1139
- }
1140
- function assessProcessActivity(result, freshness, isRunning) {
1141
- if (result.sourceKind === "bundle")
1142
- return { value: "not-applicable" };
1143
- if (freshness === "stale")
1144
- return { value: "inactive" };
1145
- const candidate = newestProcess(result);
1146
- if (candidate === undefined || freshness !== "current")
1147
- return { value: "unknown" };
1148
- if (candidate.exitReason !== undefined) {
1149
- return {
1150
- value: "inactive",
1151
- warning: "analyzed raw log belongs to a process that recorded its exit",
1152
- };
1153
- }
1154
- if (!Number.isSafeInteger(candidate.pid) || candidate.pid <= 0) {
1155
- return {
1156
- value: "unknown",
1157
- warning: "analyzed raw log declares a non-positive process identifier",
1158
- };
1159
- }
1160
- return isRunning(candidate.pid)
1161
- ? { value: "apparently-active" }
1162
- : {
1163
- value: "inactive",
1164
- warning: "analyzed raw log does not belong to a running process",
1165
- };
1166
- }
1167
- function buildAnalysisContext(result, filePath, deps) {
1168
- const freshness = assessFreshness(result.latestTimestamp, deps.now?.() ?? new Date());
1169
- const activity = assessProcessActivity(result, freshness.value, deps.processIsRunning ?? processIsRunning);
1170
- const stateDir = inferAnalyzedStateDir(filePath, result.sourceKind);
1171
- const warnings = [freshness.warning, activity.warning].filter((warning) => warning !== undefined);
1172
- return {
1173
- context: {
1174
- sourceKind: result.sourceKind,
1175
- inputFile: filePath,
1176
- ...(stateDir === undefined ? {} : { stateDir }),
1177
- ...(result.latestTimestamp === undefined ? {} : { latestTimestamp: result.latestTimestamp }),
1178
- ...(result.latestInstanceId === undefined
1179
- ? {}
1180
- : { latestInstanceId: result.latestInstanceId }),
1181
- freshness: freshness.value,
1182
- processActivity: activity.value,
1183
- },
1184
- warnings,
1185
- };
1186
- }
1187
- function buildAnalysisReport(result, filePath, deps) {
1188
- const assessed = buildAnalysisContext(result, filePath, deps);
1189
- return {
1190
- ...result,
1191
- warnings: [...result.warnings, ...assessed.warnings],
1192
- analysisContext: assessed.context,
1193
- };
1194
- }
1195
- function renderAnalysisContext(context) {
1196
- const lines = [
1197
- `Analyzed log: ${context.inputFile}`,
1198
- `State directory: ${context.stateDir ?? "not inferred from input"}`,
1199
- `Source: ${context.sourceKind}`,
1200
- `Newest event: ${context.latestTimestamp ?? "not reported"}`,
1201
- `Newest instance: ${context.latestInstanceId ?? "not reported"}`,
1202
- `Freshness: ${context.freshness}`,
1203
- `Process activity: ${context.processActivity}`,
1204
- ];
1205
- return `${lines.join("\n")}\n\n`;
1206
- }
1207
- // The versioned machine forms of `analyze --json` (#3531). Each names itself and its version ahead of
1208
- // the fields the unversioned output already had, which stay unchanged, so an earlier reader (such as
1209
- // `keiko investigate --from-timeline`) keeps working.
1210
- const SUPPORT_ANALYZE_KIND = "keiko.support.analyze";
1211
- const SUPPORT_ANALYZE_TIMELINE_KIND = "keiko.support.analyze-timeline";
1212
- const SUPPORT_ANALYZE_SCHEMA_VERSION = 1;
1213
- function analyzeProvenance() {
1214
- return {
1215
- productVersion: KEIKO_PRODUCT_VERSION,
1216
- registryVersion: ACTIVITY_LOG_REGISTRY_VERSION,
1217
- schemaDigest: ACTIVITY_LOG_SCHEMA_DIGEST,
1218
- catalogDigest: ACTIVITY_LOG_CATALOG_DIGEST,
1219
- };
1220
- }
1221
- function emitSingleTimeline(timeline, result, context, json, io) {
1222
- if (json) {
1223
- const payload = {
1224
- kind: SUPPORT_ANALYZE_TIMELINE_KIND,
1225
- schemaVersion: SUPPORT_ANALYZE_SCHEMA_VERSION,
1226
- provenance: analyzeProvenance(),
1227
- ...timeline,
1228
- malformedLineCount: result.malformedLineCount,
1229
- sufficiency: timelineSufficiency(result, timeline),
1230
- analysisContext: context,
1231
- };
1232
- io.out(`${JSON.stringify(payload)}\n`);
1233
- }
1234
- else {
1235
- io.out(`${renderAnalysisContext(context)}${renderHumanTimeline(timeline)}`);
1236
- }
1237
- return 0;
1238
- }
1239
- function emitAllTimelines(result, json, io) {
1240
- const payload = {
1241
- kind: SUPPORT_ANALYZE_KIND,
1242
- schemaVersion: SUPPORT_ANALYZE_SCHEMA_VERSION,
1243
- provenance: analyzeProvenance(),
1244
- };
1245
- io.out(json
1246
- ? `${JSON.stringify({ ...payload, ...result })}\n`
1247
- : `${renderAnalysisContext(result.analysisContext)}${renderHumanAllTimelines(result)}`);
1248
- return 0;
1249
- }
1250
- // Wave 6 (epic #3233 closeout, gap #1) — `--clusters`: a standalone, whole-file view independent
1251
- // of --correlation-id (support-analyze.ts's `renderHumanClusters` docstring reserves it for
1252
- // exactly this flag). Emits the bare `OpCluster[]` under --json, never nested inside a larger
1253
- // envelope, since this is deliberately a focused report, not a slice of the default output.
1254
- //
1255
- // That bare array predates the versioned machine profiles (#3531) and stays byte-compatible: no
1256
- // reader of it breaks. But it is itself unversioned, with no stated compatibility or deprecation
1257
- // path (#3531 Update Impact) — and `keiko support analyze --json`'s own `clusters` member (kind
1258
- // `keiko.support.analyze`, schemaVersion 1) now carries exactly the same `OpCluster[]` data inside
1259
- // a versioned envelope. `--clusters --json` is therefore the explicit deprecation path itself: keep
1260
- // the array exactly as it was, and name the versioned replacement on stderr every time it is used.
1261
- function emitClusters(clusters, json, io) {
1262
- if (json) {
1263
- io.err("keiko support analyze: --clusters --json is a deprecated, unversioned bare array; use " +
1264
- `the clusters member of keiko support analyze --json (${SUPPORT_ANALYZE_KIND} v` +
1265
- `${String(SUPPORT_ANALYZE_SCHEMA_VERSION)}) instead.\n`);
1266
- }
1267
- io.out(json ? `${JSON.stringify(clusters)}\n` : renderHumanClusters(clusters));
1268
- return 0;
1269
- }
1270
- // Records what a reproduction seed states about its source while the analysis streams it (#3531):
1271
- // the SHA-256 of the artifact's exact bytes, its line count, and its first line (a bundle's
1272
- // manifest line). Digest and analysis come from the same pass, so they describe one snapshot.
1273
- class SeedSourceObserver {
1274
- hash = createHash("sha256");
1275
- lineCount = 0;
1276
- firstLine;
1277
- observeChunk = (chunk) => {
1278
- this.hash.update(chunk);
1279
- };
1280
- *observeLines(lines) {
1281
- for (const line of lines) {
1282
- if (this.lineCount === 0)
1283
- this.firstLine = line.text;
1284
- this.lineCount += 1;
1285
- yield line;
1286
- }
1287
- }
1288
- source() {
1289
- return {
1290
- lineCount: this.lineCount,
1291
- sha256: this.hash.digest("hex"),
1292
- firstLine: this.firstLine,
1293
- };
1294
- }
1295
- }
1296
- // Streams FILE through the bounded line reader (#3531) instead of loading it whole. A failure to
1297
- // open or read it is reported content-free: the closed cause kind, never an fs message, which can
1298
- // quote the path (AGENTS.md §7). Any other error propagates.
1299
- function streamAnalyzeSource(filePath, options, io, observer) {
1300
- let result;
1301
- try {
1302
- const lines = readActivityLogFileLines(() => openSync(filePath, "r"), {
1303
- onChunk: observer?.observeChunk,
1304
- });
1305
- result = analyzeLogLines(observer === undefined ? lines : observer.observeLines(lines), options);
1306
- }
1307
- catch (error) {
1308
- if (!(error instanceof ActivityLogReadError))
1309
- throw error;
1310
- io.err(`keiko support analyze: could not read ${filePath} — ${error.causeKind}\n`);
1311
- result = 1;
1312
- }
1313
- return result;
1314
- }
1315
- function resolveFixturePath(cwd, path) {
1316
- return isAbsolute(path) ? path : resolve(cwd, path);
307
+ return (await import("./support-report-cli.js")).runSafeSupportExport(args, io, env, deps);
1317
308
  }
1318
309
  // Fail-closed (disclosed gap #1's fix): never overwrites or follows an existing entry — a fixture
1319
310
  // is meant to be hand-edited after generation, and silently clobbering that would destroy real
@@ -1322,10 +313,11 @@ function resolveFixturePath(cwd, path) {
1322
313
  // dangling symlink, hard link, or FIFO at PATH is refused as an existing target, nothing is ever
1323
314
  // created at a link's target, and no staging or recovery files are left beside it. The parent
1324
315
  // directory is created first so `--emit-fixture some/new/dir/fixture.ts` does not require the
1325
- // operator to `mkdir -p`. Content-free error reporting: only the closed failure kind is printed.
1326
- function writeFixtureOrExitCode(path, contents, io) {
316
+ // operator to `mkdir -p`. Content-free error reporting: only the closed failure kind is printed,
317
+ // and the error is rethrown so the analysis settles as failed with that same closed kind.
318
+ function writeExclusiveFixture(path, contents, io) {
1327
319
  try {
1328
- mkdirSync(dirname(path), { recursive: true });
320
+ mkdirSync(dirname(path), { recursive: true, mode: 0o700 });
1329
321
  const descriptor = openSafeArtifactFile(path, {
1330
322
  artifactClass: "replay-fixture",
1331
323
  mode: "exclusive-create",
@@ -1337,164 +329,14 @@ function writeFixtureOrExitCode(path, contents, io) {
1337
329
  finally {
1338
330
  closeSync(descriptor);
1339
331
  }
1340
- return undefined;
1341
332
  }
1342
333
  catch (error) {
1343
334
  const kind = describeErrorKind(error);
1344
335
  io.err(kind === "target-exists"
1345
336
  ? `keiko support analyze: refusing to overwrite existing file: ${path}\n`
1346
337
  : `keiko support analyze: could not write fixture: ${kind}\n`);
1347
- return 1;
1348
- }
1349
- }
1350
- // Writes the `--emit-fixture` file from `seed.gatewayScript`, when present and non-empty. Returns
1351
- // undefined (nothing to report) when `--emit-fixture` was not requested; the resolved path on
1352
- // success; or an exit code on a genuine failure (no reconstructible script, or a write error).
1353
- function emitFixtureIfRequested(seed, emitFixture, correlationId, cwd, io) {
1354
- if (emitFixture === undefined)
1355
- return undefined;
1356
- const fixtureText = seed.gatewayScript === undefined
1357
- ? undefined
1358
- : renderGatewayReplayScriptFixture(seed.gatewayScript);
1359
- if (fixtureText === undefined) {
1360
- io.err(`keiko support analyze: no gateway replay script to write for correlationId=${correlationId}\n`);
1361
- return { exitCode: 1 };
1362
- }
1363
- const path = resolveFixturePath(cwd, emitFixture);
1364
- const failureCode = writeFixtureOrExitCode(path, fixtureText, io);
1365
- return failureCode === undefined ? { path } : { exitCode: failureCode };
1366
- }
1367
- // `--emit-fixture` given without `--seed`: nothing to print but the write itself, kept in the
1368
- // same JSON-vs-text discipline as every other emit* helper here.
1369
- function reportFixtureOnly(fixturePath, json, io) {
1370
- if (fixturePath === undefined)
1371
- return;
1372
- io.out(json ? `${JSON.stringify({ fixturePath })}\n` : `Wrote fixture to ${fixturePath}\n`);
1373
- }
1374
- // `--seed`: prints the seed itself, with `fixturePath` folded into the same JSON object when a
1375
- // fixture was also written (so --json stays a single JSON object, never two), or a trailing
1376
- // confirmation line in human mode.
1377
- function emitSeedResult(seed, fixturePath, json, io) {
1378
- if (json) {
1379
- const payload = fixturePath === undefined ? seed : { ...seed, fixturePath };
1380
- io.out(`${JSON.stringify(payload, null, 2)}\n`);
1381
- return;
1382
- }
1383
- io.out(renderHumanReproductionSeed(seed));
1384
- if (fixturePath !== undefined)
1385
- io.out(`Wrote fixture to ${fixturePath}\n`);
1386
- }
1387
- // `--seed` / `--emit-fixture` (both require --correlation-id, enforced by `parseAnalyzeArgs`):
1388
- // builds one `ReproductionSeed`, optionally writes the fixture derived from its `gatewayScript`,
1389
- // then reports according to which of the two flags were actually requested.
1390
- function runSeedAndFixture(analysis, source, context) {
1391
- const { args, cwd, io, options } = context;
1392
- const correlationId = args.correlationId;
1393
- if (correlationId === undefined) {
1394
- // Unreachable in practice: parseAnalyzeArgs rejects --seed/--emit-fixture without
1395
- // --correlation-id before this function is ever called. Guarded so this function's own
1396
- // string-typed correlationId use stays honest rather than relying on an external invariant.
1397
- io.err(`keiko support analyze: --seed/--emit-fixture require --correlation-id.\n${USAGE}`);
1398
- return 2;
1399
- }
1400
- const seed = buildReproductionSeedFromAnalysis(analysis, source, correlationId, new Date(), options);
1401
- if (seed === undefined)
1402
- return reportMissingCorrelationId(correlationId, io);
1403
- const fixtureOutcome = emitFixtureIfRequested(seed, args.emitFixture, correlationId, cwd, io);
1404
- if (fixtureOutcome !== undefined && "exitCode" in fixtureOutcome)
1405
- return fixtureOutcome.exitCode;
1406
- const fixturePath = fixtureOutcome?.path;
1407
- if (args.seed) {
1408
- emitSeedResult(seed, fixturePath, args.json, io);
1409
- }
1410
- else {
1411
- reportFixtureOnly(fixturePath, args.json, io);
1412
- }
1413
- return 0;
1414
- }
1415
- function needsToolLifecycleValidator(result) {
1416
- return result.timelines.some((timeline) => timeline.lines.some((line) => line.toolCatalog?.kind === "unavailable" ||
1417
- (line.toolCatalog?.kind === "sink-failure" &&
1418
- line.toolCatalog.diagnostics === "unavailable")));
1419
- }
1420
- // The tool-lifecycle validator and the redaction re-verifier `hasIssueToPrJourneyOps` needs (epic
1421
- // #3384) both live in the same lazily-loaded subpath (`loadToolLifecycle`, GEN-PERF-CLI-001), so
1422
- // either need loads it — one module load, not two, for two unrelated consumers of the same seam.
1423
- async function loadToolAnalysisOptions(result, io) {
1424
- if (!needsToolLifecycleValidator(result) && !hasIssueToPrJourneyOps(result))
1425
- return {};
1426
- try {
1427
- const { validateToolLifecycleEvent, redactLogFields } = await loadToolLifecycle();
1428
- return {
1429
- toolLifecycleValidator: validateToolLifecycleEvent,
1430
- toolDiagnosticRedactor: redactLogFields,
1431
- };
1432
- }
1433
- catch (error) {
1434
- io.err(`keiko support analyze: tool lifecycle validator unavailable — ${describeErrorKind(error)}\n`);
1435
- return {};
1436
- }
1437
- }
1438
- async function persistSupportAnalysisEvidence(result, cwd, env, io) {
1439
- // Analysis input is immutable evidence. Persist the operator action to the CLI's local Activity
1440
- // Log instead of appending to a raw input file, which may itself end in the crash fragment being
1441
- // diagnosed.
1442
- const stateDir = resolveStateDir(cwd, env);
1443
- try {
1444
- const server = await loadServer();
1445
- emitSupportAnalysisEvidence(server, stateDir, result);
1446
- return true;
1447
- }
1448
- catch (error) {
1449
- io.err(`keiko support analyze: Activity Log unavailable: ${supportPublicationErrorKind(error)}\n`);
1450
- return false;
1451
- }
1452
- }
1453
- async function emitAnalyzedSupportResult(result, context) {
1454
- if (!(await persistSupportAnalysisEvidence(result, context.cwd, context.env, context.io)))
1455
- return 1;
1456
- if (context.args.clusters)
1457
- return emitClusters(result.clusters, context.args.json, context.io);
1458
- if (context.args.seed || context.args.emitFixture !== undefined) {
1459
- // The seed states its source's digest and line count, so it streams the artifact once more
1460
- // and records both from the same pass as its analysis (#3531).
1461
- const observer = new SeedSourceObserver();
1462
- const analysis = streamAnalyzeSource(context.filePath, context.options, context.io, observer);
1463
- if (typeof analysis === "number")
1464
- return analysis;
1465
- return runSeedAndFixture(analysis, observer.source(), context);
1466
- }
1467
- const report = buildAnalysisReport(result, context.filePath, context.deps);
1468
- if (context.args.correlationId === undefined) {
1469
- return emitAllTimelines(report, context.args.json, context.io);
1470
- }
1471
- const timeline = findTimeline(result, context.args.correlationId);
1472
- if (timeline === undefined) {
1473
- return reportMissingCorrelationId(context.args.correlationId, context.io);
338
+ throw error;
1474
339
  }
1475
- return emitSingleTimeline(timeline, result, report.analysisContext, context.args.json, context.io);
1476
- }
1477
- async function runSupportAnalyze(args, io, env, deps) {
1478
- const cwd = deps.cwd ?? process.cwd();
1479
- const filePath = isAbsolute(args.file) ? args.file : resolve(cwd, args.file);
1480
- const basic = streamAnalyzeSource(filePath, {}, io);
1481
- if (typeof basic === "number")
1482
- return basic;
1483
- const options = await loadToolAnalysisOptions(basic, io);
1484
- const result = options.toolLifecycleValidator === undefined
1485
- ? basic
1486
- : streamAnalyzeSource(filePath, options, io);
1487
- if (typeof result === "number")
1488
- return result;
1489
- return emitAnalyzedSupportResult(result, {
1490
- args,
1491
- cwd,
1492
- filePath,
1493
- io,
1494
- env,
1495
- deps,
1496
- options,
1497
- });
1498
340
  }
1499
341
  export async function runSupportCli(args, io, env = {}, deps = {}) {
1500
342
  const parsed = parseSupportArgs(args);
@@ -1521,5 +363,5 @@ export async function runSupportCli(args, io, env = {}, deps = {}) {
1521
363
  if (parsed.kind === "manifest") {
1522
364
  return runSupportManifestCli(parsed.value, io, env, { cwd: deps.cwd });
1523
365
  }
1524
- return runSupportAnalyze(parsed.value, io, env, deps);
366
+ return (await import("./support-report-cli.js")).runSafeSupportAnalyze(parsed.value, io, env, deps, writeExclusiveFixture);
1525
367
  }