@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,10 +1,11 @@
1
1
  // Resilience primitives: a real-time Clock, a bounded exponential-backoff retry
2
2
  // loop, and a per-(model,endpoint) circuit breaker. All time-dependent behaviour
3
3
  // flows through the injectable Clock so tests are deterministic and instant.
4
- import { CancelledError, CircuitOpenError, GatewayError, ProviderError, RateLimitError, } from "@oscharko-dev/keiko-security/errors/gateway";
5
- import { activityLogEvent, defineActivityLogOperation, } from "@oscharko-dev/keiko-contracts/runtime/observability";
4
+ import { CancelledError, CircuitOpenError, ConfigInvalidError, GatewayError, MalformedToolCallError, ProviderEmptyAnswerError, ProviderError, ProviderOutputExhaustedError, RateLimitError, TimeoutError, } from "@oscharko-dev/keiko-security/errors/gateway";
5
+ import { ACTIVITY_LOG_UNKNOWN_CORRELATION_ID, activityLogEvent, defineActivityLogOperation, } from "@oscharko-dev/keiko-contracts/runtime/observability";
6
6
  import { MAX_TIMER_DELAY_MS } from "./config.js";
7
- import { activityLogErrorKind, logLevelEnabled, logModelId, logTimer, nullModelGatewayLogSink, resolveLogSink, } from "./observability.js";
7
+ import { CallerAttemptAdmissionError } from "./gateway-attempt-admission.js";
8
+ import { activityLogErrorKind, GATEWAY_FAILURE_EVIDENCE_FIELDS, gatewayFailureEvidence, logLevelEnabled, logModelId, logTimer, nullModelGatewayLogSink, resolveLogSink, } from "./observability.js";
8
9
  const MAX_BACKOFF_MS = 30_000;
9
10
  // #3591: the field customer's LiteLLM proxy in front of vLLM answers slowly at peak load — 30s,
10
11
  // 45s, 120s and longer before the first byte, with stalls between stream chunks — and Keiko must
@@ -60,6 +61,16 @@ export function codingWorkbenchProviderTimeoutMs(timeoutMs) {
60
61
  export function streamRequestBudgetMs(provider) {
61
62
  return Math.max(provider.timeoutMs, GATEWAY_SILENCE_FLOOR_MS, GATEWAY_STREAM_BUDGET_FLOOR_MS);
62
63
  }
64
+ // The applied policy on every retry and breaker-wait line, so an analyst can tell a deliberate
65
+ // outage window from a retry loop that ignored its attempt count. `required: false` only because a
66
+ // record written before this field existed lacks it (as with `outputExhausted`, PR #3602 review);
67
+ // every line written since carries it.
68
+ const RETRY_POLICY_FIELD = {
69
+ type: "string",
70
+ dataClass: "closed-enum",
71
+ required: false,
72
+ values: ["attempts", "outage-window"],
73
+ };
63
74
  const GATEWAY_RETRY_BUDGET_EXHAUSTED_OPERATION = defineActivityLogOperation({
64
75
  contractKind: "activity-log-operation",
65
76
  schemaVersion: 1,
@@ -77,6 +88,12 @@ const GATEWAY_RETRY_BUDGET_EXHAUSTED_OPERATION = defineActivityLogOperation({
77
88
  },
78
89
  httpStatus: { type: "integer", dataClass: "count", required: false },
79
90
  retryAfterMs: { type: "number", dataClass: "duration", required: false },
91
+ retryAfterHeader: {
92
+ type: "string",
93
+ dataClass: "closed-enum",
94
+ required: false,
95
+ values: ["absent", "valid", "unparseable", "elapsed"],
96
+ },
80
97
  },
81
98
  causal: "none",
82
99
  lifecycle: "failure",
@@ -106,6 +123,13 @@ const GATEWAY_RETRY_EXHAUSTED_OPERATION = defineActivityLogOperation({
106
123
  remainingMs: { type: "number", dataClass: "duration", required: false },
107
124
  httpStatus: { type: "integer", dataClass: "count", required: false },
108
125
  retryAfterMs: { type: "number", dataClass: "duration", required: false },
126
+ retryAfterHeader: {
127
+ type: "string",
128
+ dataClass: "closed-enum",
129
+ required: false,
130
+ values: ["absent", "valid", "unparseable", "elapsed"],
131
+ },
132
+ retryPolicy: RETRY_POLICY_FIELD,
109
133
  },
110
134
  causal: "none",
111
135
  lifecycle: "failure",
@@ -123,11 +147,35 @@ const GATEWAY_RETRY_SCHEDULED_OPERATION = defineActivityLogOperation({
123
147
  emitter: "resilience.executeWithRetry",
124
148
  fields: {
125
149
  modelId: { type: "string", dataClass: "opaque-id", required: false, maxLength: 256 },
150
+ // The position, counted from 1, of the attempt that failed on the call's whole ladder of
151
+ // attempts: the provider attempts AND the call's one steered repair (`reason` says which kind of
152
+ // further attempt this line schedules). After a repair, the retry of the next provider failure
153
+ // is therefore scheduled as attempt 2, while the retry observer's notice and the
154
+ // `coding-sidecar.gateway.retry-surfaced` line built from it count provider attempts only and
155
+ // name that same retry as following attempt 1. The two numbers differ on purpose (#3873 review).
126
156
  attempt: { type: "integer", dataClass: "count", required: true },
127
157
  maxRetries: { type: "integer", dataClass: "count", required: true },
128
158
  delayMs: { type: "number", dataClass: "duration", required: true },
159
+ // #3873 (F17, F23): why a further attempt was scheduled — a retryable provider failure, or the
160
+ // one steered repair of an answer the model could not use (it exhausted its output budget, or it
161
+ // ended after reasoning without a tool call or any text), which is not a provider retry and must
162
+ // read as such. `required: false` only because a record written before this field existed lacks
163
+ // it; every line written since carries it.
164
+ reason: {
165
+ type: "string",
166
+ dataClass: "closed-enum",
167
+ required: false,
168
+ values: ["retryable-error", "output-exhausted-repair", "empty-answer-repair"],
169
+ },
129
170
  httpStatus: { type: "integer", dataClass: "count", required: false },
130
171
  retryAfterMs: { type: "number", dataClass: "duration", required: false },
172
+ retryAfterHeader: {
173
+ type: "string",
174
+ dataClass: "closed-enum",
175
+ required: false,
176
+ values: ["absent", "valid", "unparseable", "elapsed"],
177
+ },
178
+ retryPolicy: RETRY_POLICY_FIELD,
131
179
  },
132
180
  causal: "none",
133
181
  lifecycle: "state",
@@ -136,6 +184,35 @@ const GATEWAY_RETRY_SCHEDULED_OPERATION = defineActivityLogOperation({
136
184
  proofIds: ["gateway.retry.scheduled.emitted-line"],
137
185
  releaseImpact: "patch",
138
186
  });
187
+ // #3873 review: a call's retry observer is the caller's code, run inside the retry loop and the
188
+ // admission wait. One that throws is absorbed where it is called, so the call keeps its own result
189
+ // and the throw is never an unhandled rejection; this line is the record of it. It names the notice
190
+ // the observer was told and carries the Keiko-code frames and cause classes of the throw, never the
191
+ // notice's content, the observer's message or its identity.
192
+ const GATEWAY_RETRY_OBSERVER_FAILED_OPERATION = defineActivityLogOperation({
193
+ contractKind: "activity-log-operation",
194
+ schemaVersion: 1,
195
+ op: "gateway.retry.observer-failed",
196
+ category: "gateway",
197
+ owner: "keiko-model-gateway",
198
+ emitter: "resilience.reportObserverFailure",
199
+ fields: {
200
+ ...GATEWAY_FAILURE_EVIDENCE_FIELDS,
201
+ modelId: { type: "string", dataClass: "opaque-id", required: false, maxLength: 256 },
202
+ notice: {
203
+ type: "string",
204
+ dataClass: "closed-enum",
205
+ required: true,
206
+ values: ["scheduled", "admission-wait", "settled"],
207
+ },
208
+ },
209
+ causal: "correlation",
210
+ lifecycle: "failure",
211
+ analyzerProjection: "failure-cluster",
212
+ failureClasses: ["gateway-retry"],
213
+ proofIds: ["gateway.retry.observer-failed.emitted-line"],
214
+ releaseImpact: "patch",
215
+ });
139
216
  const GATEWAY_CIRCUIT_REJECTED_OPERATION = defineActivityLogOperation({
140
217
  contractKind: "activity-log-operation",
141
218
  schemaVersion: 1,
@@ -255,6 +332,73 @@ export const systemClock = {
255
332
  });
256
333
  },
257
334
  };
335
+ // The gateway's own repair of an answer the model could not use: one that exhausted its output
336
+ // budget (#3873, F17), and one that ended after reasoning without a tool call or any text (F23) —
337
+ // an empty answer that carried no reasoning is the model's final word and gets none (#3610).
338
+ // `Gateway` sends the corrected request on the attempt that follows; the loop only grants that
339
+ // attempt, once, and only on a call whose retry configuration carries it (`RetryConfig.repair`).
340
+ // The single classification every path consults: the buffered attempt, the streamed startup, and
341
+ // the stream resumed after forwarded reasoning.
342
+ export function steeredAnswerRepair(error) {
343
+ if (error instanceof ProviderOutputExhaustedError)
344
+ return "output-exhausted-repair";
345
+ return error instanceof ProviderEmptyAnswerError && error.afterReasoning
346
+ ? "empty-answer-repair"
347
+ : undefined;
348
+ }
349
+ // Faults that never indicate the PROVIDER is unhealthy: a client-initiated cancel, our own invalid
350
+ // configuration, the gateway's own redaction pass refusing to walk a pathologically deep response
351
+ // body (review finding on PR #3394 — an untyped RangeError from that last case used to slip past
352
+ // this list and trip the breaker for an otherwise healthy model; ResponseRedactionError is now
353
+ // thrown instead, see openai-adapter.ts's redactUnknown), or a ProviderOutputExhaustedError (an
354
+ // HTTP 200 with `finish_reason: "length"` and no content — the model answered, it just spent its
355
+ // budget on reasoning; that is a caller-fixable budget problem, not evidence the provider is
356
+ // failing), or a ProviderEmptyAnswerError (#3610: an HTTP 200 answer that completed with neither
357
+ // content nor a tool call — the provider answered, the model produced nothing usable; counting it
358
+ // let three such answers lock every caller of a healthy model out), or a MalformedToolCallError
359
+ // (the model's own tool call did not parse or did not match the tool's schema: the gateway retries
360
+ // it, and the provider answered every time; a lab run of 1.1.8 behind a LiteLLM hosted_vllm route
361
+ // opened the breaker after five such calls and failed the run on CircuitOpenError). It covers the
362
+ // redaction-depth refusal (ResponseRedactionError) and the catalog's schema rejection
363
+ // (GatewayToolCatalogError), both of which extend it. A named, extensible list rather than a
364
+ // growing chain of `&&` conditions, so the next non-provider fault is one array entry away.
365
+ //
366
+ // TimeoutError is deliberately NOT here (review finding on PR #3602 — it was, briefly, during
367
+ // #3591's development). Excluding every timeout disabled the breaker's own outage guard: an
368
+ // upstream that never responds at all would cost every caller a full (multi-minute, with the new
369
+ // floors) attempt before failing, and the breaker would never open for it, no matter how many
370
+ // callers piled up. With `GATEWAY_SILENCE_FLOOR_MS`/`GATEWAY_BUFFERED_BUDGET_FLOOR_MS` this
371
+ // generous, a `TimeoutError` means the provider produced nothing for minutes — an outage-class
372
+ // signal, not the noise of a slow-but-alive gateway (which stays inside the floor and never times
373
+ // out at all) — so it counts as a provider failure again, exactly as it did before this PR.
374
+ //
375
+ // The one classification of "does this failure say the provider is unhealthy": the breaker counts
376
+ // only failures outside this list (`gateway.ts`), and the outage window extends only their retries
377
+ // (`decisionWindowMs`, #3873 review).
378
+ const NON_PROVIDER_FAULTS = [
379
+ CallerAttemptAdmissionError,
380
+ CancelledError,
381
+ ConfigInvalidError,
382
+ MalformedToolCallError,
383
+ ProviderOutputExhaustedError,
384
+ ProviderEmptyAnswerError,
385
+ ];
386
+ export function isNonProviderFault(error) {
387
+ return NON_PROVIDER_FAULTS.some((errorClass) => error instanceof errorClass);
388
+ }
389
+ // The window a retry decision runs under (#3873 review). The outage window replaces the attempt
390
+ // count only after a failure that says the provider is unavailable (a timeout, a refused
391
+ // connection, a retryable 5xx, a rate limit). A retry that reacts to the model's own output (a
392
+ // rejected tool-call shape and its schema-repair correction) keeps the attempt count, window or
393
+ // not: the provider answered every time, and waiting longer cannot make the model's answer valid.
394
+ function decisionWindowMs(config, error) {
395
+ return isNonProviderFault(error) ? undefined : config.retryWindowMs;
396
+ }
397
+ // The policy one retry decision applies, derived from the window it actually runs under, so a
398
+ // retry line can never name a policy the loop did not apply (#3873).
399
+ function retryPolicyFor(config, error) {
400
+ return decisionWindowMs(config, error) === undefined ? "attempts" : "outage-window";
401
+ }
258
402
  // Equal jitter over the capped exponential ladder: half the delay is fixed, half
259
403
  // is random, so concurrent callers hitting a recovering provider spread across
260
404
  // [0.5·d, d] instead of retrying in lockstep (thundering herd) while never
@@ -271,21 +415,43 @@ function maxBackoffDelayMs(attempt, base) {
271
415
  function isRetryableError(error) {
272
416
  return error instanceof GatewayError && error.retryable;
273
417
  }
274
- // A RateLimitError with an explicit retryAfterMs is honoured VERBATIM (the server
275
- // told us when to come back — jitter would only delay recovery), capped at 30 s;
276
- // every other retryable error takes the jittered backoff step.
277
- function retryDelayMs(error, attempt, base, random) {
278
- if (error instanceof RateLimitError && error.retryAfterMs !== null && error.retryAfterMs > 0) {
279
- return Math.min(error.retryAfterMs, MAX_BACKOFF_MS);
418
+ // A provider cooldown is a minimum wait, not the exponential backoff ceiling. Honour it
419
+ // within the remaining request budget and platform timer bound; retrying early can consume
420
+ // every attempt while the same overloaded provider is still unavailable.
421
+ function retryDelayMs(error, attempt, base, random, jitterProviderCooldown = false) {
422
+ const retryAfterMs = providerErrorDetail(error).retryAfterMs;
423
+ if (retryAfterMs !== undefined && Number.isFinite(retryAfterMs) && retryAfterMs > 0) {
424
+ const jitter = jitterProviderCooldown ? Math.max(1, backoffDelayMs(attempt, base, random)) : 0;
425
+ return Math.min(retryAfterMs + jitter, MAX_TIMER_DELAY_MS);
280
426
  }
281
427
  return backoffDelayMs(attempt, base, random);
282
428
  }
283
- function retryDecision(lastError, attempt, config, remainingMs, random) {
429
+ // The one steered repair of a call (#3873, F17), decided before the ordinary retry rules: it runs at
430
+ // once, is granted once, ignores the attempt count and the outage window, and only the budget can
431
+ // refuse it — a refused repair ends the call as a budget stop, so the log says the loop wanted to go
432
+ // on, not that the failure was terminal.
433
+ function repairDecision(lastError, config, budget, repairs) {
434
+ const repair = repairs === 0 ? config.repair?.(lastError) : undefined;
435
+ if (repair === undefined)
436
+ return undefined;
437
+ if (budget.remainingMs <= 0)
438
+ return { stop: "budget", delayMs: 0, remainingMs: budget.remainingMs };
439
+ return { sleepMs: 0, repair };
440
+ }
441
+ // `attempt` counts the provider attempts only: a steered repair is granted on top of them.
442
+ function retryDecision(lastError, attempt, config, budget, random) {
284
443
  if (!isRetryableError(lastError) || config.shouldRetry?.(lastError) === false)
285
444
  return { stop: "terminal" };
286
- if (attempt > config.maxRetries)
445
+ const windowMs = decisionWindowMs(config, lastError);
446
+ if (windowMs === undefined && attempt > config.maxRetries)
287
447
  return { stop: "max-retries" };
288
- const delayMs = retryDelayMs(lastError, attempt, config.retryBaseDelayMs, random);
448
+ const delayMs = retryDelayMs(lastError, attempt, config.retryBaseDelayMs, random, config.jitterProviderCooldown);
449
+ // Never below zero: an attempt that outlives the window (a silent one runs to its own bound)
450
+ // ends it with nothing left, and a negative duration would make its exhausted line invalid, so
451
+ // the very line that says the window ran out was dropped (#3873 review).
452
+ const remainingMs = windowMs === undefined
453
+ ? budget.remainingMs
454
+ : Math.max(0, Math.min(budget.remainingMs, windowMs - budget.elapsedMs()));
289
455
  if (delayMs >= remainingMs)
290
456
  return { stop: "budget", delayMs, remainingMs };
291
457
  return { sleepMs: delayMs };
@@ -332,15 +498,66 @@ async function sleepWithCancellation(clock, delayMs, signal) {
332
498
  }
333
499
  assertNotAborted(signal);
334
500
  }
335
- function loggedRetryModel(context) {
336
- return context.modelId === undefined ? {} : { modelId: logModelId(context.modelId) };
501
+ export function retryAnnouncer(observer, labels = {}) {
502
+ const sink = resolveLogSink(labels.sink);
503
+ // The one place the caller's observer is called. It is foreign code inside the retry loop and the
504
+ // admission wait, and a throw that left here would hang the call (the settlement runs ahead of the
505
+ // call's own resolve or reject), replace the call's result with the observer's error, or leave the
506
+ // loop as an unhandled rejection, which the CLI's process guard treats as fatal. It is recorded
507
+ // body-free, never swallowed.
508
+ const tell = (notice) => {
509
+ try {
510
+ observer(notice);
511
+ }
512
+ catch (error) {
513
+ reportObserverFailure(sink, labels, notice.kind, error);
514
+ }
515
+ };
516
+ // Set before the observer is told: the call owes its settlement from the moment it announced
517
+ // anything, whatever the observer did with the notice.
518
+ let owed = false;
519
+ return {
520
+ scheduled: (attempt, retryPolicy) => {
521
+ owed = true;
522
+ tell({ kind: "scheduled", attempt, retryPolicy });
523
+ },
524
+ admissionWait: (reason, retryPolicy) => {
525
+ owed = true;
526
+ tell({ kind: "admission-wait", reason, retryPolicy });
527
+ },
528
+ settled: (outcome) => {
529
+ if (!owed)
530
+ return;
531
+ owed = false;
532
+ tell({ kind: "settled", outcome });
533
+ },
534
+ };
535
+ }
536
+ // The failure line of an observer that threw. The sink is the call's isolated one and the event
537
+ // builder never throws (an invalid value becomes a rejection the sink drops), so recording cannot
538
+ // bring the failure back into the call it protects.
539
+ function reportObserverFailure(sink, labels, notice, error) {
540
+ sink.write(activityLogEvent(GATEWAY_RETRY_OBSERVER_FAILED_OPERATION, {
541
+ level: "error",
542
+ correlationId: labels.correlationId ?? ACTIVITY_LOG_UNKNOWN_CORRELATION_ID,
543
+ errorKind: activityLogErrorKind(error),
544
+ }, { ...loggedRetryModel(labels), notice, ...gatewayFailureEvidence(sink, error) }));
545
+ }
546
+ function loggedRetryModel(labels) {
547
+ return labels.modelId === undefined ? {} : { modelId: logModelId(labels.modelId) };
337
548
  }
338
549
  export function providerErrorDetail(error) {
339
550
  const httpStatus = providerErrorHttpStatus(error);
340
- const retryAfterMs = error instanceof RateLimitError ? (error.retryAfterMs ?? undefined) : undefined;
551
+ const retryAfterMs = error instanceof RateLimitError || error instanceof ProviderError
552
+ ? (error.retryAfterMs ?? undefined)
553
+ : undefined;
554
+ const retryAfterHeader = error instanceof RateLimitError || error instanceof ProviderError
555
+ ? error.retryAfterHeader
556
+ : undefined;
341
557
  return {
342
558
  ...(httpStatus === undefined ? {} : { httpStatus }),
343
559
  ...(retryAfterMs === undefined ? {} : { retryAfterMs }),
560
+ ...(retryAfterHeader === undefined ? {} : { retryAfterHeader }),
344
561
  };
345
562
  }
346
563
  function providerErrorHttpStatus(error) {
@@ -385,9 +602,11 @@ function logRetryExhausted(input, decision) {
385
602
  maxRetries: input.maxRetries,
386
603
  ...retryStopDetail(decision),
387
604
  ...providerErrorDetail(input.error),
605
+ retryPolicy: input.retryPolicy,
388
606
  }));
389
607
  }
390
608
  function logRetryScheduled(input, decision) {
609
+ const reason = decision.repair ?? "retryable-error";
391
610
  input.sink.write(activityLogEvent(GATEWAY_RETRY_SCHEDULED_OPERATION, {
392
611
  level: "warn",
393
612
  ...(input.context.correlationId === undefined
@@ -400,47 +619,155 @@ function logRetryScheduled(input, decision) {
400
619
  attempt: input.attempt,
401
620
  maxRetries: input.maxRetries,
402
621
  delayMs: decision.sleepMs,
622
+ reason,
403
623
  ...providerErrorDetail(input.error),
624
+ retryPolicy: input.retryPolicy,
404
625
  }));
405
626
  }
406
- export async function executeWithRetry(
627
+ // Admission did not call the provider: retrying this refusal would invent another attempt.
628
+ // Retry callers retain their actual provider failure; fresh callers receive the existing
629
+ // non-retryable circuit error taxonomy. The wait event carries the closed refusal reason.
630
+ class CircuitAdmissionRefusal extends CircuitOpenError {
631
+ originalError;
632
+ constructor(originalError) {
633
+ super("request budget cannot accommodate provider admission");
634
+ this.originalError = originalError;
635
+ }
636
+ }
637
+ class AdmissionBudgetExhausted extends TimeoutError {
638
+ originalError;
639
+ constructor(originalError) {
640
+ super("request budget exhausted before provider admission");
641
+ this.originalError = originalError;
642
+ }
643
+ }
644
+ function rethrowTerminalAdmission(error) {
645
+ if (error instanceof CircuitAdmissionRefusal || error instanceof AdmissionBudgetExhausted)
646
+ throw error.originalError ?? error;
647
+ }
648
+ async function executeRetryAttempt(operation, state) {
649
+ const { config, clock, signal, context, sink, elapsed, start, attempt } = state;
650
+ const maxAttempts = config.maxRetries + 1;
651
+ if (Number.isNaN(maxAttempts) ||
652
+ (config.retryWindowMs === undefined && attempt - state.repairs > maxAttempts))
653
+ throw state.lastError ?? new CancelledError("request timeout budget exhausted after retries");
654
+ assertNotAborted(signal);
655
+ const remaining = remainingBudgetMs(start, config.timeoutMs, clock);
656
+ if (remaining <= 0)
657
+ throw budgetExhaustedError(state.lastError, sink, context, attempt, elapsed());
658
+ try {
659
+ const value = await operation(attemptTimeoutFor(config, remaining), remaining, state.lastError, admissionBudgetFor(config, remaining, () => clock.now() - start));
660
+ return { done: true, value };
661
+ }
662
+ catch (error) {
663
+ rethrowTerminalAdmission(error);
664
+ return recordFailedAttempt(state, asError(error));
665
+ }
666
+ }
667
+ // What follows a failed attempt: the steered repair when one is due, else the retry rules; the
668
+ // line that says which, and the sleep before the next attempt or the rethrow that ends the call.
669
+ // Every path records the failure on the retry lines first, which is why the catch above may hand it
670
+ // over (a `record` helper is the evidence call `check:error-observability` looks for).
671
+ async function recordFailedAttempt(state, error) {
672
+ const { config, clock, signal, random, context, sink, elapsed, start, attempt } = state;
673
+ state.lastError = error;
674
+ const budget = {
675
+ remainingMs: remainingBudgetMs(start, config.timeoutMs, clock),
676
+ elapsedMs: () => clock.now() - start,
677
+ };
678
+ const decision = repairDecision(error, config, budget, state.repairs) ??
679
+ retryDecision(error, attempt - state.repairs, config, budget, random);
680
+ const failureLog = {
681
+ sink,
682
+ context,
683
+ attempt,
684
+ maxRetries: config.maxRetries,
685
+ retryPolicy: retryPolicyFor(config, error),
686
+ error,
687
+ durationMs: elapsed(),
688
+ };
689
+ if (!("sleepMs" in decision)) {
690
+ logRetryExhausted(failureLog, decision);
691
+ throw error;
692
+ }
693
+ if (decision.repair !== undefined)
694
+ state.repairs += 1;
695
+ logRetryScheduled(failureLog, decision);
696
+ announceProviderRetry(state, error, decision.repair, failureLog.retryPolicy);
697
+ await sleepWithCancellation(clock, decision.sleepMs, signal);
698
+ return { done: false };
699
+ }
700
+ // Tells the call's observer that a provider that says it is unavailable is being retried. A
701
+ // steered repair or a schema correction answers the model's own output (`isNonProviderFault`), so
702
+ // the provider was not unavailable and nothing is announced.
703
+ function announceProviderRetry(state, error, repair, retryPolicy) {
704
+ if (repair !== undefined || isNonProviderFault(error))
705
+ return;
706
+ state.context.announcer?.scheduled(state.attempt - state.repairs, retryPolicy);
707
+ }
708
+ // Tells the observer that a call it heard retry or wait has ended; a call it heard nothing about
709
+ // stays silent, and so does one whose admission was refused before it ever began to wait.
710
+ function announceSettled(state, outcome) {
711
+ state.context.announcer?.settled(outcome);
712
+ }
713
+ // The admission wait of one attempt: the call's remaining budget, clipped by what is left of a
714
+ // retry window. Never below one millisecond, so an attempt at the window's edge refuses at once.
715
+ // The clock is read only for a windowed call, so every other call keeps its exact clock reads.
716
+ // Exported for the one admission that precedes the loop: a streamed call's initial admission
717
+ // (`gateway.ts`), which waits under the same clip as every retry's admission (#3873).
718
+ export function admissionBudgetFor(config, remainingMs, elapsedMs) {
719
+ return config.retryWindowMs === undefined
720
+ ? remainingMs
721
+ : Math.max(1, Math.min(remainingMs, config.retryWindowMs - elapsedMs()));
722
+ }
723
+ export function executeWithRetry(
407
724
  // Each attempt gets its own bound and what is left of the call's budget, which a streamed read
408
725
  // may spend while the provider keeps producing (ADR-0003).
409
- operation, config, clock, signal, random = Math.random, logContext = {}) {
410
- const sink = resolveLogSink(logContext.sink);
411
- const elapsed = logTimer();
412
- let lastError;
413
- const start = clock.now();
414
- for (let attempt = 1; attempt <= config.maxRetries + 1; attempt += 1) {
415
- assertNotAborted(signal);
416
- const remaining = remainingBudgetMs(start, config.timeoutMs, clock);
417
- if (remaining <= 0) {
418
- throw budgetExhaustedError(lastError, sink, logContext, attempt, elapsed());
419
- }
420
- try {
421
- return await operation(attemptTimeoutFor(config, remaining), remaining);
422
- }
423
- catch (error) {
424
- lastError = asError(error);
425
- const remainingMs = remainingBudgetMs(start, config.timeoutMs, clock);
426
- const decision = retryDecision(lastError, attempt, config, remainingMs, random);
427
- const failureLog = {
428
- sink,
429
- context: logContext,
430
- attempt,
431
- maxRetries: config.maxRetries,
432
- error: lastError,
433
- durationMs: elapsed(),
434
- };
435
- if (!("sleepMs" in decision)) {
436
- logRetryExhausted(failureLog, decision);
437
- throw lastError;
438
- }
439
- logRetryScheduled(failureLog, decision);
440
- await sleepWithCancellation(clock, decision.sleepMs, signal);
726
+ operation, config, clock, signal, random = Math.random, logContext = {}, resume) {
727
+ return new Promise((resolve, reject) => {
728
+ const state = {
729
+ config,
730
+ clock,
731
+ signal,
732
+ random,
733
+ context: logContext,
734
+ sink: resolveLogSink(logContext.sink),
735
+ elapsed: logTimer(),
736
+ start: clock.now(),
737
+ attempt: resume?.attempts ?? 1,
738
+ repairs: resume?.repairs ?? 0,
739
+ lastError: undefined,
740
+ };
741
+ const fail = (error) => {
742
+ announceSettled(state, "failed");
743
+ reject(asError(error));
744
+ };
745
+ const advance = () => {
746
+ // Return no successor promise: completed attempts are released rather than retained in a
747
+ // recursive promise chain. Only the current provider attempt or its backoff is pending.
748
+ void executeRetryAttempt(operation, state).then((result) => {
749
+ if (result.done) {
750
+ announceSettled(state, "answered");
751
+ resolve(result.value);
752
+ }
753
+ else {
754
+ state.attempt += 1;
755
+ advance();
756
+ }
757
+ }, fail);
758
+ };
759
+ if (resume === undefined) {
760
+ advance();
761
+ return;
441
762
  }
442
- }
443
- throw lastError ?? new CancelledError("request timeout budget exhausted after retries");
763
+ // The failed attempt comes first (attempt 1, or the call's count so far): its repair or retry
764
+ // decision, and the line that says which; a stop rejects with the failure itself, exactly as
765
+ // the loop would have.
766
+ void recordFailedAttempt(state, resume.failedAttempt).then(() => {
767
+ state.attempt += 1;
768
+ advance();
769
+ }, fail);
770
+ });
444
771
  }
445
772
  // The per-attempt bound `Gateway.chat()` runs a BUFFERED (whole-body) attempt under: the
446
773
  // provider's configured `timeoutMs`, floored to the BUFFERED budget floor, never the shorter
@@ -454,14 +781,10 @@ operation, config, clock, signal, random = Math.random, logContext = {}) {
454
781
  function chatAttemptTimeoutMs(provider) {
455
782
  return Math.max(provider.timeoutMs, GATEWAY_BUFFERED_BUDGET_FLOOR_MS);
456
783
  }
457
- // The end-to-end budget of one buffered call to `provider`: every attempt its full `timeoutMs`
458
- // (ADR-0003), and before every retry the longest sleep the loop honours. The backoff cap and the
459
- // cap on a provider's Retry-After are both MAX_BACKOFF_MS, so a rate-limited provider keeps all its
460
- // configured attempts and the cool-down it asked for. The one derivation: the gateway's retry loop
461
- // and every deadline a caller builds around a gateway call (the coding sidecar route) take it from
462
- // here, so the two cannot drift apart again. They had: the provider's `timeoutMs` was passed to
463
- // the loop as the budget of the WHOLE call, an attempt that hung spent it, and the retry a
464
- // `TimeoutError` is declared retryable for never ran (coding run 23, 2026-09-11).
784
+ // One end-to-end buffered budget reserves every configured attempt and capped backoff sleep.
785
+ // A longer provider cooldown consumes this same budget and may leave fewer attempts; it is never
786
+ // shortened to retry before recovery. Gateway retries and surrounding route deadlines share this
787
+ // derivation so an outer deadline cannot interrupt the provider's own bounded wait.
465
788
  //
466
789
  // The per-attempt bound is floored first (`chatAttemptTimeoutMs`, now the SAME buffered floor this
467
790
  // function floors to), so the trailing `Math.max` below is a provable no-op today — kept as an
@@ -475,7 +798,11 @@ export function providerRequestBudgetMs(provider) {
475
798
  return Math.min(Math.max(budgetMs, GATEWAY_BUFFERED_BUDGET_FLOOR_MS), MAX_TIMER_DELAY_MS);
476
799
  }
477
800
  // The retry configuration a provider's settings stand for: `timeoutMs` bounds each attempt, and
478
- // the budget derived from it bounds the call.
801
+ // the budget derived from it bounds the call. Every chat call — buffered, and a stream before its
802
+ // first content — derives its policy from here. The one steered repair of an exhausted or empty
803
+ // answer (#3873, F17, F23) is NOT part of it: only a call that asks for it with the explicit
804
+ // `answerRepair: "steered"` signal gets it (`gateway.ts` `callRetryConfig`), so an interactive
805
+ // surface such as the commit draft never makes a hidden second generation (#3873 review).
479
806
  export function providerRetryConfig(provider) {
480
807
  return {
481
808
  maxRetries: provider.maxRetries,
@@ -484,6 +811,94 @@ export function providerRetryConfig(provider) {
484
811
  timeoutMs: providerRequestBudgetMs(provider),
485
812
  };
486
813
  }
814
+ // #3873: how long an autonomous coding turn keeps retrying a transiently unavailable provider (429,
815
+ // a retryable 5xx, a refused connection, a silent attempt) and waits through an open breaker,
816
+ // instead of failing after the provider's configured attempt count. At peak load a customer's
817
+ // LiteLLM gateway sheds load for minutes, and an autonomous coding run that gave up after three
818
+ // attempts within two seconds failed outright although the gateway recovered (live chaos
819
+ // qualification). The breaker still admits only its half-open probes, so waiting callers do not
820
+ // add load while it recovers.
821
+ // Only a call that carries the explicit `outagePolicy: "outage-window"` request signal (the coding
822
+ // sidecar route's buffered and streamed calls) runs under it; see `gateway.ts`.
823
+ export const GATEWAY_CODING_OUTAGE_WINDOW_MS = 600_000;
824
+ /**
825
+ * The outage window a call runs under (#3873): the configuration's `codingOutageWindowMs`
826
+ * (`GATEWAY_CODING_OUTAGE_WINDOW_MS` when absent) for a call that asked for the outage policy, 0
827
+ * for every other call and whenever the window is switched off. The one resolution the gateway and
828
+ * the route deadline behind a coding call share.
829
+ */
830
+ export function callOutageWindowMs(config, outagePolicy) {
831
+ return outagePolicy === "outage-window"
832
+ ? (config.codingOutageWindowMs ?? GATEWAY_CODING_OUTAGE_WINDOW_MS)
833
+ : 0;
834
+ }
835
+ // #3873 review: under the outage window it is the WINDOW, not the provider's attempt budget, that
836
+ // bounds how long a call keeps scheduling retries and waiting for admission. The call's end-to-end
837
+ // budget must therefore never cut the window short: it is the window plus one full attempt bound
838
+ // (the attempt the window admits last keeps that bound, so a healthy answer is never cut at the
839
+ // window's edge), and never less than the budget the call has without a window. Without this, the
840
+ // window was silently clipped to the provider budget: 600 s at `maxRetries: 0`, whatever was set.
841
+ function outageCallBudgetMs(budgetMs, windowMs, attemptBoundMs) {
842
+ if (windowMs <= 0)
843
+ return budgetMs;
844
+ return Math.min(Math.max(budgetMs, windowMs + attemptBoundMs), MAX_TIMER_DELAY_MS);
845
+ }
846
+ /** The end-to-end budget of a buffered call (`Gateway.chat()`) under an outage window (0: none). */
847
+ export function bufferedCallBudgetMs(provider, windowMs) {
848
+ return outageCallBudgetMs(providerRequestBudgetMs(provider), windowMs, chatAttemptTimeoutMs(provider));
849
+ }
850
+ /**
851
+ * The end-to-end budget of a streamed call (`Gateway.chatStream()`) under an outage window (0:
852
+ * none). A streamed attempt's own bound is the whole stream budget its read may spend.
853
+ */
854
+ export function streamedCallBudgetMs(provider, windowMs) {
855
+ const budgetMs = streamRequestBudgetMs(provider);
856
+ return outageCallBudgetMs(budgetMs, windowMs, budgetMs);
857
+ }
858
+ /**
859
+ * The retry policy of a call that asked for the outage window: retries for the window, inside a
860
+ * budget the window cannot outrun (`bufferedCallBudgetMs`). A window of 0 (`codingOutageWindowMs:
861
+ * 0`, or a call without the outage signal) keeps the provider's attempt count and budget instead.
862
+ */
863
+ export function codingWorkbenchRetryConfig(provider, windowMs) {
864
+ const config = providerRetryConfig(provider);
865
+ return windowMs > 0
866
+ ? { ...config, retryWindowMs: windowMs, timeoutMs: bufferedCallBudgetMs(provider, windowMs) }
867
+ : config;
868
+ }
869
+ const GATEWAY_CIRCUIT_WAIT_OPERATION = defineActivityLogOperation({
870
+ contractKind: "activity-log-operation",
871
+ schemaVersion: 1,
872
+ op: "gateway.circuit.wait",
873
+ category: "gateway",
874
+ owner: "keiko-model-gateway",
875
+ emitter: "resilience.CircuitBreaker.logWait",
876
+ fields: {
877
+ modelId: { type: "string", dataClass: "opaque-id", required: true, maxLength: 256 },
878
+ reason: {
879
+ type: "string",
880
+ dataClass: "closed-enum",
881
+ required: true,
882
+ values: ["provider-cooldown", "circuit-cooldown", "probe-saturated"],
883
+ },
884
+ outcome: {
885
+ type: "string",
886
+ dataClass: "closed-enum",
887
+ required: true,
888
+ values: ["started", "changed", "timer", "cancelled", "failed", "budget-refused"],
889
+ },
890
+ delayMs: { type: "number", dataClass: "duration", required: true },
891
+ remainingMs: { type: "number", dataClass: "duration", required: false },
892
+ retryPolicy: RETRY_POLICY_FIELD,
893
+ },
894
+ diagnosticWhen: [{ field: "outcome", values: ["cancelled", "failed", "budget-refused"] }],
895
+ causal: "none",
896
+ lifecycle: "state",
897
+ analyzerProjection: "timeline",
898
+ failureClasses: ["gateway-circuit-breaker"],
899
+ proofIds: ["gateway.circuit.wait.emitted-line"],
900
+ releaseImpact: "patch",
901
+ });
487
902
  export class CircuitBreaker {
488
903
  modelId;
489
904
  config;
@@ -496,6 +911,8 @@ export class CircuitBreaker {
496
911
  probesRemaining = 0;
497
912
  // Tracks how many half-open probe slots are currently in-flight.
498
913
  probesInFlight = 0;
914
+ providerCooldownUntil = 0;
915
+ waiters = new Set();
499
916
  // Calls refused since the last state change. See `noteRejection` — this is both the rate limiter
500
917
  // and the number the transition lines report, so the volume survives the demotion.
501
918
  rejectedSinceTransition = 0;
@@ -556,28 +973,168 @@ export class CircuitBreaker {
556
973
  }
557
974
  return this.createAdmission(correlationId);
558
975
  }
559
- // Each admission settles once and only within the circuit generation that admitted it.
560
- // A late response or cancellation from a previous outage cannot touch another call's probe.
976
+ waitForAdmission(options) {
977
+ return new Promise((resolve, reject) => {
978
+ const start = this.clock.now();
979
+ const announced = this.providerCooldownUntil > start;
980
+ const recovering = announced ||
981
+ options.retryPolicy === "outage-window" ||
982
+ (options.previousError !== undefined &&
983
+ providerErrorDetail(options.previousError).retryAfterMs !== undefined);
984
+ const advance = async () => {
985
+ assertNotAborted(options.signal);
986
+ const remainingMs = Math.max(0, options.remainingMs - (this.clock.now() - start));
987
+ const blocked = this.blockedWait(recovering, options.jitterMs);
988
+ if (remainingMs <= 0)
989
+ throw this.waitBudgetError(options, blocked, remainingMs);
990
+ if (blocked === undefined) {
991
+ resolve({ admission: this.assertAllowed(options.correlationId), remainingMs });
992
+ return;
993
+ }
994
+ if (blocked.delayMs >= remainingMs && blocked.reason !== "probe-saturated")
995
+ throw this.waitBudgetError(options, blocked, remainingMs);
996
+ await this.waitForChange(Math.min(blocked.delayMs, remainingMs), blocked.reason, options);
997
+ // Rearm only after this wait has disposed its listener and timer; do not retain it by
998
+ // awaiting or returning the next admission attempt.
999
+ void advance().catch(reject);
1000
+ };
1001
+ void advance().catch(reject);
1002
+ });
1003
+ }
1004
+ waitBudgetError(options, blocked, remainingMs) {
1005
+ if (blocked === undefined)
1006
+ return new AdmissionBudgetExhausted(options.previousError);
1007
+ this.logWait(blocked.reason, "budget-refused", blocked.reason === "probe-saturated"
1008
+ ? remainingMs
1009
+ : Math.min(blocked.delayMs, MAX_TIMER_DELAY_MS), options, remainingMs);
1010
+ return new CircuitAdmissionRefusal(options.previousError);
1011
+ }
1012
+ blockedWait(allowCircuitWait, jitterMs) {
1013
+ const cooldown = this.providerCooldownUntil - this.clock.now();
1014
+ if (cooldown > 0) {
1015
+ const jitter = typeof jitterMs === "number" ? jitterMs : jitterMs();
1016
+ return {
1017
+ reason: "provider-cooldown",
1018
+ delayMs: Math.min(cooldown + Math.max(1, jitter), MAX_TIMER_DELAY_MS),
1019
+ };
1020
+ }
1021
+ if (!allowCircuitWait)
1022
+ return undefined;
1023
+ if (this.state === "open" && this.openedAt !== null) {
1024
+ const remaining = this.config.cooldownMs - (this.clock.now() - this.openedAt);
1025
+ if (remaining > 0)
1026
+ return { reason: "circuit-cooldown", delayMs: remaining };
1027
+ }
1028
+ return this.state === "half-open" && this.probesInFlight >= this.config.halfOpenProbes
1029
+ ? { reason: "probe-saturated", delayMs: Number.POSITIVE_INFINITY }
1030
+ : undefined;
1031
+ }
1032
+ async waitForChange(delayMs, reason, options) {
1033
+ const controller = new AbortController();
1034
+ const abort = () => {
1035
+ controller.abort();
1036
+ };
1037
+ options.signal?.addEventListener("abort", abort, { once: true });
1038
+ let notify;
1039
+ const changed = new Promise((resolve) => {
1040
+ notify = () => {
1041
+ resolve("changed");
1042
+ };
1043
+ this.waiters.add(notify);
1044
+ });
1045
+ try {
1046
+ this.beginWait(reason, delayMs, options);
1047
+ assertNotAborted(options.signal);
1048
+ const outcome = await Promise.race([
1049
+ changed,
1050
+ this.clock.sleep(delayMs, controller.signal).then(() => "timer"),
1051
+ ]);
1052
+ assertNotAborted(options.signal);
1053
+ this.logWait(reason, outcome, delayMs, options);
1054
+ }
1055
+ catch (error) {
1056
+ this.logWait(reason, options.signal?.aborted === true ? "cancelled" : "failed", delayMs, options);
1057
+ if (options.signal?.aborted === true)
1058
+ throw new CancelledError("request cancelled while waiting for provider admission");
1059
+ throw error;
1060
+ }
1061
+ finally {
1062
+ if (notify !== undefined)
1063
+ this.waiters.delete(notify);
1064
+ options.signal?.removeEventListener("abort", abort);
1065
+ controller.abort();
1066
+ }
1067
+ }
1068
+ // The moment an admission begins to wait: its `started` line first, then the call's announcer, so
1069
+ // the observer hears of the wait the log already records. Both happen once per wait the call
1070
+ // enters, never for a refusal that precedes the wait.
1071
+ beginWait(reason, delayMs, options) {
1072
+ this.logWait(reason, "started", delayMs, options);
1073
+ options.announcer?.admissionWait(reason, options.retryPolicy ?? "attempts");
1074
+ }
1075
+ logWait(reason, outcome, delayMs, options, remainingMs) {
1076
+ const { correlationId } = options;
1077
+ this.log.write(activityLogEvent(GATEWAY_CIRCUIT_WAIT_OPERATION, { level: "info", ...(correlationId === undefined ? {} : { correlationId }) }, {
1078
+ modelId: logModelId(this.modelId),
1079
+ reason,
1080
+ outcome,
1081
+ delayMs,
1082
+ ...(remainingMs === undefined ? {} : { remainingMs }),
1083
+ retryPolicy: options.retryPolicy ?? "attempts",
1084
+ }));
1085
+ }
1086
+ // Each admission settles once. Circuit state and probe ownership stay generation-bound;
1087
+ // parallel recovery minima may extend only the open outage caused by that generation.
561
1088
  createAdmission(correlationId) {
562
- const generation = this.generation;
1089
+ const origin = { generation: this.generation, halfOpen: this.state === "half-open" };
563
1090
  let settled = false;
564
1091
  return {
565
- halfOpen: this.state === "half-open",
566
- settle: (outcome) => {
1092
+ halfOpen: origin.halfOpen,
1093
+ settle: (outcome, error) => {
567
1094
  if (settled)
568
1095
  return;
569
1096
  settled = true;
570
- if (generation !== this.generation)
571
- return;
572
- if (outcome === "success")
573
- this.recordSuccess(correlationId);
574
- else if (outcome === "failure")
575
- this.recordFailure(correlationId);
576
- else
577
- this.recordNonProviderFault();
1097
+ this.settleAdmission(origin, outcome, error, correlationId);
578
1098
  },
579
1099
  };
580
1100
  }
1101
+ settleAdmission(origin, outcome, error, correlationId) {
1102
+ const current = origin.generation === this.generation;
1103
+ // Parallel responses from the generation that opened this outage still announce recovery
1104
+ // minima. Once a probe generation has begun, earlier responses have no authority over it.
1105
+ if (!current && !this.canExtendClosedGenerationOutage(origin))
1106
+ return;
1107
+ const before = this.admissionState();
1108
+ this.announceProviderCooldown(outcome, error);
1109
+ if (current) {
1110
+ if (outcome === "success")
1111
+ this.recordSuccess(correlationId);
1112
+ else if (outcome === "failure")
1113
+ this.recordFailure(correlationId);
1114
+ else
1115
+ this.recordNonProviderFault();
1116
+ }
1117
+ if (before !== this.admissionState()) {
1118
+ for (const notify of this.waiters)
1119
+ notify();
1120
+ }
1121
+ }
1122
+ canExtendClosedGenerationOutage(origin) {
1123
+ return !origin.halfOpen && this.state === "open" && this.generation === origin.generation + 1;
1124
+ }
1125
+ announceProviderCooldown(outcome, error) {
1126
+ if (outcome !== "failure")
1127
+ return;
1128
+ if (!(error instanceof ProviderError || error instanceof RateLimitError) || !error.retryable)
1129
+ return;
1130
+ const cooldown = error.retryAfterMs;
1131
+ if (cooldown === null || !Number.isFinite(cooldown) || cooldown <= 0)
1132
+ return;
1133
+ this.providerCooldownUntil = Math.max(this.providerCooldownUntil, this.clock.now() + Math.min(cooldown, MAX_TIMER_DELAY_MS));
1134
+ }
1135
+ admissionState() {
1136
+ return [this.state, this.openedAt, this.probesInFlight, this.providerCooldownUntil].join(":");
1137
+ }
581
1138
  enterHalfOpenOrReject(correlationId) {
582
1139
  if (this.openedAt !== null && this.clock.now() - this.openedAt >= this.config.cooldownMs) {
583
1140
  this.state = "half-open";