@oscharko-dev/keiko 1.3.3 → 1.3.5

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 (635) hide show
  1. package/README.md +18 -0
  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 +15 -15
  5. package/dist/ui/static/__next._full.txt +15 -15
  6. package/dist/ui/static/__next._index.txt +5 -5
  7. package/dist/ui/static/__next._tree.txt +2 -2
  8. package/dist/ui/static/_next/static/chunks/0-i2xjcha5mb7.js +1 -0
  9. package/dist/ui/static/_next/static/chunks/{36k6xayb_mepf.js → 06g3oe93r_678.js} +1 -1
  10. package/dist/ui/static/_next/static/chunks/0djrsx1yq9q3r.js +3 -0
  11. package/dist/ui/static/_next/static/chunks/{0hdqqtdtlw3ti.js → 0r77lkincf-_m.js} +1 -1
  12. package/dist/ui/static/_next/static/chunks/{1jw91zv_4zsq5.js → 0z_5240lhcdze.js} +1 -1
  13. package/dist/ui/static/_next/static/chunks/137dt5kr-1__b.js +1 -0
  14. package/dist/ui/static/_next/static/chunks/13ov-3t5gszyf.js +1 -0
  15. package/dist/ui/static/_next/static/chunks/1_rx0zd2gpqyu.js +1 -0
  16. package/dist/ui/static/_next/static/chunks/{0x35q9z0tiicw.js → 1buzq8xbrkl5r.js} +1 -1
  17. package/dist/ui/static/_next/static/chunks/1fkf-yv61zx2b.js +1 -0
  18. package/dist/ui/static/_next/static/chunks/{2dxbsvbfd0b2d.js → 1i-keu61dby7z.js} +1 -1
  19. package/dist/ui/static/_next/static/chunks/1pqcljp4_2qe3.js +1 -0
  20. package/dist/ui/static/_next/static/chunks/{1uly-k9l4q3bk.js → 2-i--dmljgxls.js} +1 -1
  21. package/dist/ui/static/_next/static/chunks/21y9ezefwidlf.js +1 -0
  22. package/dist/ui/static/_next/static/chunks/23azcdt9vudem.js +1 -0
  23. package/dist/ui/static/_next/static/chunks/{06d6c74v_hg_g.js → 28jbqfl7obckb.js} +1 -1
  24. package/dist/ui/static/_next/static/chunks/28os13ehcs0w8.js +1 -0
  25. package/dist/ui/static/_next/static/chunks/28qkmmimb75ae.css +4 -0
  26. package/dist/ui/static/_next/static/chunks/{2o7pr5mit74id.css → 29xkz3907owjy.css} +3 -3
  27. package/dist/ui/static/_next/static/chunks/{3l06hi3xkcn82.js → 2l7fx-klib93f.js} +1 -1
  28. package/dist/ui/static/_next/static/chunks/{249nvi2mcd8y_.js → 2qrbagnu1-dgt.js} +1 -1
  29. package/dist/ui/static/_next/static/chunks/2rn7qy5l22wex.js +1 -0
  30. package/dist/ui/static/_next/static/chunks/2svyhwq3u6czg.js +1 -0
  31. package/dist/ui/static/_next/static/chunks/2tf596skd93nv.js +1 -0
  32. package/dist/ui/static/_next/static/chunks/2wfyqggh0fnqz.js +1 -0
  33. package/dist/ui/static/_next/static/chunks/35ha_z9n1aouj.js +4 -0
  34. package/dist/ui/static/_next/static/chunks/368errcbd6o_y.js +1 -0
  35. package/dist/ui/static/_next/static/chunks/371e736g0zot0.js +1 -0
  36. package/dist/ui/static/_next/static/chunks/37j3f91kw2ss1.js +1 -0
  37. package/dist/ui/static/_next/static/chunks/{1lx_k4r3_3_k8.js → 3apw-eem5wchc.js} +1 -1
  38. package/dist/ui/static/_next/static/chunks/3chl41-ji247o.js +2 -0
  39. package/dist/ui/static/_next/static/chunks/3fvxpzfnyqrqy.js +1 -0
  40. package/dist/ui/static/_next/static/chunks/{3_xj8v4_gq-15.js → 3jclkr9npha_g.js} +1 -1
  41. package/dist/ui/static/_next/static/chunks/{1hv5i64znwlbu.js → 3ktuwnqu-kln5.js} +1 -1
  42. package/dist/ui/static/_next/static/chunks/3p88bedlr67z3.js +1 -0
  43. package/dist/ui/static/_next/static/chunks/3pfzo7lskb82h.js +1 -0
  44. package/dist/ui/static/_next/static/chunks/{15iwz3570nbcl.js → 3ram28kwenqtb.js} +1 -1
  45. package/dist/ui/static/_next/static/chunks/3vcan7x5acmin.js +1 -0
  46. package/dist/ui/static/_next/static/chunks/3w2jrdn8n3a_q.js +1 -0
  47. package/dist/ui/static/_next/static/chunks/3xximf7pr40jh.js +1 -0
  48. package/dist/ui/static/_next/static/chunks/{3p6jy_na2pnh8.js → 42ujh8mqvkem7.js} +1 -1
  49. package/dist/ui/static/_next/static/chunks/{32bpm9l-zxjtg.js → 431tcidb2ski1.js} +1 -1
  50. package/dist/ui/static/_next/static/chunks/{175-dw1j1dsnt.js → 44q6rup2gv3_v.js} +3 -3
  51. package/dist/ui/static/_not-found/__next._full.txt +5 -5
  52. package/dist/ui/static/_not-found/__next._index.txt +5 -5
  53. package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +5 -5
  54. package/dist/ui/static/_not-found/__next._tree.txt +1 -1
  55. package/dist/ui/static/_not-found.html +1 -1
  56. package/dist/ui/static/_not-found.txt +5 -5
  57. package/dist/ui/static/atlassian-connectors/__next._full.txt +5 -5
  58. package/dist/ui/static/atlassian-connectors/__next._index.txt +5 -5
  59. package/dist/ui/static/atlassian-connectors/__next._tree.txt +1 -1
  60. package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +5 -5
  61. package/dist/ui/static/atlassian-connectors.html +1 -1
  62. package/dist/ui/static/atlassian-connectors.txt +5 -5
  63. package/dist/ui/static/index.html +1 -1
  64. package/dist/ui/static/index.txt +15 -15
  65. package/dist/ui/static/launch/__next._full.txt +15 -15
  66. package/dist/ui/static/launch/__next._index.txt +5 -5
  67. package/dist/ui/static/launch/__next._tree.txt +2 -2
  68. package/dist/ui/static/launch/__next.launch.__PAGE__.txt +15 -15
  69. package/dist/ui/static/launch.html +1 -1
  70. package/dist/ui/static/launch.txt +15 -15
  71. package/dist/ui/static/local-knowledge/__next._full.txt +15 -15
  72. package/dist/ui/static/local-knowledge/__next._index.txt +5 -5
  73. package/dist/ui/static/local-knowledge/__next._tree.txt +2 -2
  74. package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +15 -15
  75. package/dist/ui/static/local-knowledge/capsule/__next._full.txt +7 -7
  76. package/dist/ui/static/local-knowledge/capsule/__next._index.txt +5 -5
  77. package/dist/ui/static/local-knowledge/capsule/__next._tree.txt +1 -1
  78. package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.__PAGE__.txt +7 -7
  79. package/dist/ui/static/local-knowledge/capsule.html +1 -1
  80. package/dist/ui/static/local-knowledge/capsule.txt +7 -7
  81. package/dist/ui/static/local-knowledge.html +1 -1
  82. package/dist/ui/static/local-knowledge.txt +15 -15
  83. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory-data.generated.json +27 -1
  84. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts +10 -0
  85. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts.map +1 -1
  86. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.js +12 -0
  87. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts +14 -0
  88. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts.map +1 -1
  89. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.js +17 -1
  90. package/node_modules/@oscharko-dev/keiko-activity-log/package.json +3 -3
  91. package/node_modules/@oscharko-dev/keiko-cli/package.json +15 -15
  92. package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts +1 -1
  93. package/node_modules/@oscharko-dev/keiko-connectors/dist/version.js +1 -1
  94. package/node_modules/@oscharko-dev/keiko-connectors/package.json +3 -3
  95. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.d.ts +44 -4
  96. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.d.ts.map +1 -1
  97. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.js +58 -0
  98. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-coverage.generated.json +383 -4
  99. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-identity.generated.d.ts +1 -1
  100. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-identity.generated.js +1 -1
  101. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operation-surfaces.generated.json +4 -0
  102. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts +326 -11
  103. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts.map +1 -1
  104. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.js +403 -4
  105. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-runtime-delivery.d.ts +1 -1
  106. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-runtime-delivery.d.ts.map +1 -1
  107. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-runtime-delivery.js +9 -0
  108. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-runtime-git.d.ts +24 -1
  109. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-runtime-git.d.ts.map +1 -1
  110. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-runtime-git.js +38 -0
  111. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.d.ts +17 -1
  112. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.d.ts.map +1 -1
  113. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.js +23 -2
  114. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.d.ts +8 -0
  115. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.d.ts.map +1 -1
  116. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.js +25 -8
  117. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.d.ts +1 -1
  118. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.d.ts.map +1 -1
  119. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.js +4 -0
  120. package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts +21 -1
  121. package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts.map +1 -1
  122. package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.js +64 -2
  123. package/node_modules/@oscharko-dev/keiko-contracts/dist/draft-delivery.d.ts +78 -2
  124. package/node_modules/@oscharko-dev/keiko-contracts/dist/draft-delivery.d.ts.map +1 -1
  125. package/node_modules/@oscharko-dev/keiko-contracts/dist/draft-delivery.js +89 -1
  126. package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts +3 -3
  127. package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts.map +1 -1
  128. package/node_modules/@oscharko-dev/keiko-contracts/dist/task-workspace.d.ts +19 -0
  129. package/node_modules/@oscharko-dev/keiko-contracts/dist/task-workspace.d.ts.map +1 -1
  130. package/node_modules/@oscharko-dev/keiko-contracts/dist/task-workspace.js +49 -0
  131. package/node_modules/@oscharko-dev/keiko-contracts/dist/version.d.ts +2 -2
  132. package/node_modules/@oscharko-dev/keiko-contracts/dist/version.js +2 -2
  133. package/node_modules/@oscharko-dev/keiko-contracts/package.json +1 -1
  134. package/node_modules/@oscharko-dev/keiko-evaluations/package.json +9 -9
  135. package/node_modules/@oscharko-dev/keiko-evidence/dist/compaction-evidence.d.ts +4 -0
  136. package/node_modules/@oscharko-dev/keiko-evidence/dist/compaction-evidence.d.ts.map +1 -1
  137. package/node_modules/@oscharko-dev/keiko-evidence/dist/compaction-evidence.js +29 -53
  138. package/node_modules/@oscharko-dev/keiko-evidence/dist/index.d.ts +1 -1
  139. package/node_modules/@oscharko-dev/keiko-evidence/dist/index.d.ts.map +1 -1
  140. package/node_modules/@oscharko-dev/keiko-evidence/dist/index.js +1 -1
  141. package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts +1 -1
  142. package/node_modules/@oscharko-dev/keiko-evidence/dist/version.js +1 -1
  143. package/node_modules/@oscharko-dev/keiko-evidence/package.json +4 -4
  144. package/node_modules/@oscharko-dev/keiko-git/dist/version.d.ts +1 -1
  145. package/node_modules/@oscharko-dev/keiko-git/dist/version.js +1 -1
  146. package/node_modules/@oscharko-dev/keiko-git/package.json +1 -1
  147. package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts +1 -1
  148. package/node_modules/@oscharko-dev/keiko-harness/dist/version.js +1 -1
  149. package/node_modules/@oscharko-dev/keiko-harness/package.json +7 -7
  150. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts +1 -1
  151. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.js +1 -1
  152. package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +5 -5
  153. package/node_modules/@oscharko-dev/keiko-mcp/package.json +3 -3
  154. package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts +1 -1
  155. package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.js +1 -1
  156. package/node_modules/@oscharko-dev/keiko-memory-capture/package.json +3 -3
  157. package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts +1 -1
  158. package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.js +1 -1
  159. package/node_modules/@oscharko-dev/keiko-memory-consolidation/package.json +3 -3
  160. package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts +1 -1
  161. package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.js +1 -1
  162. package/node_modules/@oscharko-dev/keiko-memory-governance/package.json +3 -3
  163. package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts +1 -1
  164. package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.js +1 -1
  165. package/node_modules/@oscharko-dev/keiko-memory-retrieval/package.json +3 -3
  166. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts +1 -1
  167. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.js +1 -1
  168. package/node_modules/@oscharko-dev/keiko-memory-vault/package.json +3 -3
  169. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.d.ts +1 -0
  170. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.d.ts.map +1 -1
  171. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.js +43 -4
  172. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/prompt-token-accounting.d.ts.map +1 -1
  173. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/prompt-token-accounting.js +4 -1
  174. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/rerank-adapter.d.ts +3 -0
  175. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/rerank-adapter.d.ts.map +1 -1
  176. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/rerank-adapter.js +5 -2
  177. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/speech-to-text-adapter.d.ts.map +1 -1
  178. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/speech-to-text-adapter.js +52 -13
  179. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts +1 -1
  180. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.js +1 -1
  181. package/node_modules/@oscharko-dev/keiko-model-gateway/package.json +4 -4
  182. package/node_modules/@oscharko-dev/keiko-quality-intelligence/package.json +3 -3
  183. package/node_modules/@oscharko-dev/keiko-sandbox/package.json +2 -2
  184. package/node_modules/@oscharko-dev/keiko-sdk/package.json +9 -9
  185. package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts +1 -1
  186. package/node_modules/@oscharko-dev/keiko-security/dist/version.js +1 -1
  187. package/node_modules/@oscharko-dev/keiko-security/package.json +2 -2
  188. package/node_modules/@oscharko-dev/keiko-server/dist/activity-line-fields.d.ts +21 -0
  189. package/node_modules/@oscharko-dev/keiko-server/dist/activity-line-fields.d.ts.map +1 -0
  190. package/node_modules/@oscharko-dev/keiko-server/dist/activity-line-fields.js +23 -0
  191. package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatMutation.d.ts +1 -1
  192. package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatMutation.d.ts.map +1 -1
  193. package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatMutation.js +6 -45
  194. package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraMutationResult.d.ts +7 -0
  195. package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraMutationResult.d.ts.map +1 -0
  196. package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraMutationResult.js +48 -0
  197. package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-model-call.d.ts +7 -0
  198. package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-model-call.d.ts.map +1 -1
  199. package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-model-call.js +41 -0
  200. package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-model-summary.d.ts.map +1 -1
  201. package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-model-summary.js +138 -26
  202. package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-status.d.ts.map +1 -1
  203. package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-status.js +19 -3
  204. package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-checkpoint.d.ts +14 -0
  205. package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-checkpoint.d.ts.map +1 -0
  206. package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-checkpoint.js +85 -0
  207. package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-log.d.ts +24 -0
  208. package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-log.d.ts.map +1 -1
  209. package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-log.js +101 -1
  210. package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts.map +1 -1
  211. package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.js +10 -2
  212. package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-rehydration.d.ts.map +1 -1
  213. package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-rehydration.js +149 -52
  214. package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-snapshot.d.ts +1 -0
  215. package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-snapshot.d.ts.map +1 -1
  216. package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-snapshot.js +20 -0
  217. package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.d.ts.map +1 -1
  218. package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.js +52 -2
  219. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/boundedRunRecords.d.ts +17 -0
  220. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/boundedRunRecords.d.ts.map +1 -0
  221. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/boundedRunRecords.js +18 -0
  222. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodBinding.d.ts +84 -0
  223. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodBinding.d.ts.map +1 -0
  224. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodBinding.js +193 -0
  225. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodMcp.d.ts +37 -0
  226. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodMcp.d.ts.map +1 -0
  227. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodMcp.js +304 -0
  228. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.d.ts +4 -4
  229. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.d.ts.map +1 -1
  230. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.js +9 -1
  231. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiReadinessStore.d.ts +1 -1
  232. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiReadinessStore.d.ts.map +1 -1
  233. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiReadinessStore.js +2 -1
  234. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairBudgetStore.d.ts.map +1 -1
  235. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairBudgetStore.js +2 -1
  236. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeDraftDeliverySource.d.ts +1 -1
  237. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeDraftDeliverySource.d.ts.map +1 -1
  238. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeDraftDeliverySource.js +3 -1
  239. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeDraftDeliveryStore.d.ts.map +1 -1
  240. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeDraftDeliveryStore.js +14 -7
  241. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeGitIpc.d.ts +12 -0
  242. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeGitIpc.d.ts.map +1 -1
  243. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeGitIpc.js +12 -0
  244. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts +2 -0
  245. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts.map +1 -1
  246. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.js +9 -2
  247. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.d.ts +1 -1
  248. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.d.ts.map +1 -1
  249. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.js +15 -6
  250. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorTypes.d.ts +8 -0
  251. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorTypes.d.ts.map +1 -1
  252. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeStartConfirmation.d.ts +3 -0
  253. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeStartConfirmation.d.ts.map +1 -1
  254. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeStartConfirmation.js +1 -0
  255. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.d.ts +1 -0
  256. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.d.ts.map +1 -1
  257. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.js +45 -1
  258. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolApprovalBridge.d.ts +15 -2
  259. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolApprovalBridge.d.ts.map +1 -1
  260. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolApprovalBridge.js +9 -1
  261. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.js +10 -0
  262. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.d.ts +6 -0
  263. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.d.ts.map +1 -1
  264. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.js +112 -10
  265. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.d.ts +16 -0
  266. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.d.ts.map +1 -1
  267. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.d.ts +10 -0
  268. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.d.ts.map +1 -1
  269. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.js +30 -1
  270. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolNativeEffect.d.ts.map +1 -1
  271. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolNativeEffect.js +9 -3
  272. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.d.ts.map +1 -1
  273. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.js +10 -13
  274. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedSyncHeads.d.ts.map +1 -1
  275. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedSyncHeads.js +3 -13
  276. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedTaskBranches.d.ts +38 -0
  277. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedTaskBranches.d.ts.map +1 -0
  278. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedTaskBranches.js +6 -0
  279. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.d.ts +5 -2
  280. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.d.ts.map +1 -1
  281. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.js +28 -3
  282. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/launchFailure.d.ts +11 -0
  283. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/launchFailure.d.ts.map +1 -1
  284. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/launchFailure.js +18 -0
  285. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.d.ts.map +1 -1
  286. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.js +4 -2
  287. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeLaunchProfile.js +1 -1
  288. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.d.ts +1 -1
  289. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.d.ts.map +1 -1
  290. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.js +1 -1
  291. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeDeliveryTools.d.ts +1 -1
  292. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeDeliveryTools.d.ts.map +1 -1
  293. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeDeliveryTools.js +2 -1
  294. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeMcp.d.ts +5 -0
  295. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeMcp.d.ts.map +1 -1
  296. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeMcp.js +3 -2
  297. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativePolicy.d.ts +6 -0
  298. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativePolicy.d.ts.map +1 -1
  299. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativePolicy.js +58 -4
  300. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeWorktree.d.ts.map +1 -1
  301. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeWorktree.js +4 -1
  302. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeProtocol.d.ts.map +1 -1
  303. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeProtocol.js +12 -4
  304. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRevert.d.ts +6 -0
  305. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRevert.d.ts.map +1 -1
  306. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRevert.js +10 -2
  307. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.js +61 -44
  308. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.d.ts +5 -0
  309. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.d.ts.map +1 -1
  310. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.js +21 -4
  311. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.d.ts +37 -1
  312. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.d.ts.map +1 -1
  313. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.js +23 -0
  314. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCiRepairRuntime.d.ts.map +1 -1
  315. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCiRepairRuntime.js +5 -1
  316. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.d.ts +13 -0
  317. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.d.ts.map +1 -1
  318. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.js +95 -9
  319. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionDraftDeliveryDependencies.d.ts.map +1 -1
  320. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionDraftDeliveryDependencies.js +122 -18
  321. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionDraftDeliveryRuntime.d.ts.map +1 -1
  322. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionDraftDeliveryRuntime.js +11 -8
  323. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.d.ts +6 -0
  324. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.d.ts.map +1 -1
  325. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.js +164 -42
  326. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.d.ts +2 -0
  327. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.d.ts.map +1 -1
  328. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.js +1 -0
  329. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.d.ts +6 -0
  330. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.d.ts.map +1 -1
  331. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.js +22 -4
  332. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeGitPreparation.d.ts.map +1 -1
  333. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeGitPreparation.js +6 -2
  334. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.d.ts +5 -1
  335. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.d.ts.map +1 -1
  336. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.js +30 -4
  337. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionTaskBranchPort.d.ts +26 -0
  338. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionTaskBranchPort.d.ts.map +1 -0
  339. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionTaskBranchPort.js +36 -0
  340. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionVerifiedCommitRuntime.d.ts +8 -1
  341. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionVerifiedCommitRuntime.d.ts.map +1 -1
  342. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionVerifiedCommitRuntime.js +17 -3
  343. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts +10 -0
  344. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts.map +1 -1
  345. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.js +22 -0
  346. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.d.ts +8 -0
  347. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.d.ts.map +1 -1
  348. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.js +10 -0
  349. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/supervisedCodingPolicy.js +3 -2
  350. package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.d.ts +8 -0
  351. package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.d.ts.map +1 -1
  352. package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.js +199 -38
  353. package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
  354. package/node_modules/@oscharko-dev/keiko-server/dist/deps.js +74 -21
  355. package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts +1 -1
  356. package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts.map +1 -1
  357. package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.js +1 -0
  358. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts +45 -12
  359. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts.map +1 -1
  360. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.js +239 -151
  361. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts.map +1 -1
  362. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.js +18 -7
  363. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup.d.ts.map +1 -1
  364. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup.js +8 -5
  365. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/ciObservationService.d.ts.map +1 -1
  366. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/ciObservationService.js +7 -3
  367. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/ciReadinessSnapshot.d.ts +2 -2
  368. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/ciReadinessSnapshot.d.ts.map +1 -1
  369. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/ciReadinessSnapshot.js +5 -2
  370. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryChecksRefresh.d.ts +2 -2
  371. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryChecksRefresh.d.ts.map +1 -1
  372. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryEffects.d.ts +1 -1
  373. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryEffects.d.ts.map +1 -1
  374. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryEffects.js +39 -12
  375. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryFacts.d.ts +17 -5
  376. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryFacts.d.ts.map +1 -1
  377. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryFacts.js +79 -10
  378. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryLedger.d.ts +4 -1
  379. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryLedger.d.ts.map +1 -1
  380. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryLedger.js +21 -4
  381. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryService.d.ts +8 -0
  382. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryService.d.ts.map +1 -1
  383. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryService.js +152 -21
  384. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryServiceTestSupport.d.ts +31 -3
  385. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryServiceTestSupport.d.ts.map +1 -1
  386. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryServiceTestSupport.js +51 -14
  387. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryTemplate.d.ts +6 -2
  388. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryTemplate.d.ts.map +1 -1
  389. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryTemplate.js +9 -3
  390. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryTypes.d.ts +41 -3
  391. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryTypes.d.ts.map +1 -1
  392. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryTypes.js +10 -0
  393. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/execution.d.ts +8 -0
  394. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/execution.d.ts.map +1 -1
  395. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/execution.js +2 -1
  396. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyObservationService.d.ts +2 -2
  397. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyObservationService.d.ts.map +1 -1
  398. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyObservationService.js +4 -2
  399. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyOutcome.d.ts +2 -2
  400. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyOutcome.d.ts.map +1 -1
  401. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyOutcome.js +4 -2
  402. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyRoutes.d.ts.map +1 -1
  403. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyRoutes.js +5 -1
  404. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prMarkReadyExecution.d.ts.map +1 -1
  405. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prMarkReadyExecution.js +6 -1
  406. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/runtimeGitBranch.d.ts +74 -0
  407. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/runtimeGitBranch.d.ts.map +1 -0
  408. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/runtimeGitBranch.js +188 -0
  409. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/runtimeGitService.d.ts +10 -0
  410. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/runtimeGitService.d.ts.map +1 -1
  411. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/runtimeGitService.js +103 -14
  412. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitFacts.d.ts +1 -0
  413. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitFacts.d.ts.map +1 -1
  414. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitFacts.js +12 -0
  415. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitService.d.ts.map +1 -1
  416. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitService.js +97 -14
  417. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitTypes.d.ts +9 -0
  418. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitTypes.d.ts.map +1 -1
  419. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitVerification.d.ts +6 -0
  420. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitVerification.d.ts.map +1 -1
  421. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitVerification.js +28 -5
  422. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-conversation-continuity.d.ts.map +1 -1
  423. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-conversation-continuity.js +17 -5
  424. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.d.ts.map +1 -1
  425. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.js +7 -0
  426. package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpCredentialRelay.d.ts +1 -1
  427. package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpCredentialRelay.d.ts.map +1 -1
  428. package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpCredentialRelay.js +14 -27
  429. package/node_modules/@oscharko-dev/keiko-server/dist/memory-embedding.d.ts +2 -1
  430. package/node_modules/@oscharko-dev/keiko-server/dist/memory-embedding.d.ts.map +1 -1
  431. package/node_modules/@oscharko-dev/keiko-server/dist/memory-embedding.js +10 -5
  432. package/node_modules/@oscharko-dev/keiko-server/dist/observability/route-template.d.ts.map +1 -1
  433. package/node_modules/@oscharko-dev/keiko-server/dist/observability/route-template.js +1 -0
  434. package/node_modules/@oscharko-dev/keiko-server/dist/routes.d.ts.map +1 -1
  435. package/node_modules/@oscharko-dev/keiko-server/dist/routes.js +2 -1
  436. package/node_modules/@oscharko-dev/keiko-server/dist/store/chatContinuity.d.ts +7 -0
  437. package/node_modules/@oscharko-dev/keiko-server/dist/store/chatContinuity.d.ts.map +1 -0
  438. package/node_modules/@oscharko-dev/keiko-server/dist/store/chatContinuity.js +85 -0
  439. package/node_modules/@oscharko-dev/keiko-server/dist/store/chatHistorySearch.d.ts +4 -0
  440. package/node_modules/@oscharko-dev/keiko-server/dist/store/chatHistorySearch.d.ts.map +1 -0
  441. package/node_modules/@oscharko-dev/keiko-server/dist/store/chatHistorySearch.js +59 -0
  442. package/node_modules/@oscharko-dev/keiko-server/dist/store/chatHistorySearchSchema.d.ts +2 -0
  443. package/node_modules/@oscharko-dev/keiko-server/dist/store/chatHistorySearchSchema.d.ts.map +1 -0
  444. package/node_modules/@oscharko-dev/keiko-server/dist/store/chatHistorySearchSchema.js +21 -0
  445. package/node_modules/@oscharko-dev/keiko-server/dist/store/codingHistoryIsolation.d.ts.map +1 -1
  446. package/node_modules/@oscharko-dev/keiko-server/dist/store/codingHistoryIsolation.js +17 -4
  447. package/node_modules/@oscharko-dev/keiko-server/dist/store/db.d.ts.map +1 -1
  448. package/node_modules/@oscharko-dev/keiko-server/dist/store/db.js +5 -0
  449. package/node_modules/@oscharko-dev/keiko-server/dist/store/legacySchemaTestFixture.d.ts.map +1 -1
  450. package/node_modules/@oscharko-dev/keiko-server/dist/store/legacySchemaTestFixture.js +14 -0
  451. package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.d.ts +9 -2
  452. package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.d.ts.map +1 -1
  453. package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.js +76 -1
  454. package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts +1 -1
  455. package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts.map +1 -1
  456. package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.js +30 -1
  457. package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts +27 -2
  458. package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts.map +1 -1
  459. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/activity-log.d.ts +21 -1
  460. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/activity-log.d.ts.map +1 -1
  461. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/activity-log.js +46 -1
  462. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/canonical-root.d.ts +7 -0
  463. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/canonical-root.d.ts.map +1 -0
  464. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/canonical-root.js +21 -0
  465. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/folder-workspace.d.ts +18 -0
  466. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/folder-workspace.d.ts.map +1 -0
  467. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/folder-workspace.js +151 -0
  468. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/local-checkout.d.ts +7 -8
  469. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/local-checkout.d.ts.map +1 -1
  470. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/local-checkout.js +91 -53
  471. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/routes.d.ts +1 -0
  472. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/routes.d.ts.map +1 -1
  473. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/routes.js +40 -11
  474. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/store.d.ts.map +1 -1
  475. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/store.js +4 -1
  476. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/types.d.ts +16 -0
  477. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/types.d.ts.map +1 -1
  478. package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolFacadeBridge.d.ts.map +1 -1
  479. package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolFacadeBridge.js +8 -0
  480. package/node_modules/@oscharko-dev/keiko-server/package.json +25 -25
  481. package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.d.ts.map +1 -1
  482. package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.js +34 -3
  483. package/node_modules/@oscharko-dev/keiko-tool-catalog/package.json +3 -3
  484. package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-node.d.ts.map +1 -1
  485. package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-node.js +14 -1
  486. package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts +1 -1
  487. package/node_modules/@oscharko-dev/keiko-tools/dist/version.js +1 -1
  488. package/node_modules/@oscharko-dev/keiko-tools/package.json +7 -7
  489. package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
  490. package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
  491. package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts +1 -1
  492. package/node_modules/@oscharko-dev/keiko-workspace/dist/version.js +1 -1
  493. package/node_modules/@oscharko-dev/keiko-workspace/package.json +3 -3
  494. package/node_modules/@sigstore/tuf/LICENSE +202 -0
  495. package/node_modules/@sigstore/tuf/README.md +69 -0
  496. package/node_modules/@sigstore/tuf/dist/appdata.d.ts +1 -0
  497. package/node_modules/@sigstore/tuf/dist/appdata.js +43 -0
  498. package/node_modules/@sigstore/tuf/dist/client.d.ts +23 -0
  499. package/node_modules/@sigstore/tuf/dist/client.js +116 -0
  500. package/node_modules/@sigstore/tuf/dist/error.d.ts +11 -0
  501. package/node_modules/@sigstore/tuf/dist/error.js +14 -0
  502. package/node_modules/@sigstore/tuf/dist/index.d.ts +10 -0
  503. package/node_modules/@sigstore/tuf/dist/index.js +56 -0
  504. package/node_modules/@sigstore/tuf/dist/target.d.ts +2 -0
  505. package/node_modules/@sigstore/tuf/dist/target.js +79 -0
  506. package/node_modules/@sigstore/tuf/package.json +33 -0
  507. package/node_modules/@sigstore/tuf/seeds.json +1 -0
  508. package/node_modules/@tufjs/models/LICENSE +21 -0
  509. package/node_modules/@tufjs/models/README.md +3 -0
  510. package/node_modules/@tufjs/models/dist/base.d.ts +37 -0
  511. package/node_modules/@tufjs/models/dist/base.js +96 -0
  512. package/node_modules/@tufjs/models/dist/delegations.d.ts +32 -0
  513. package/node_modules/@tufjs/models/dist/delegations.js +119 -0
  514. package/node_modules/@tufjs/models/dist/error.d.ts +12 -0
  515. package/node_modules/@tufjs/models/dist/error.js +27 -0
  516. package/node_modules/@tufjs/models/dist/file.d.ts +38 -0
  517. package/node_modules/@tufjs/models/dist/file.js +191 -0
  518. package/node_modules/@tufjs/models/dist/index.d.ts +10 -0
  519. package/node_modules/@tufjs/models/dist/index.js +24 -0
  520. package/node_modules/@tufjs/models/dist/key.d.ts +21 -0
  521. package/node_modules/@tufjs/models/dist/key.js +90 -0
  522. package/node_modules/@tufjs/models/dist/metadata.d.ts +47 -0
  523. package/node_modules/@tufjs/models/dist/metadata.js +165 -0
  524. package/node_modules/@tufjs/models/dist/role.d.ts +103 -0
  525. package/node_modules/@tufjs/models/dist/role.js +310 -0
  526. package/node_modules/@tufjs/models/dist/root.d.ts +29 -0
  527. package/node_modules/@tufjs/models/dist/root.js +119 -0
  528. package/node_modules/@tufjs/models/dist/signature.d.ts +20 -0
  529. package/node_modules/@tufjs/models/dist/signature.js +40 -0
  530. package/node_modules/@tufjs/models/dist/snapshot.d.ts +23 -0
  531. package/node_modules/@tufjs/models/dist/snapshot.js +72 -0
  532. package/node_modules/@tufjs/models/dist/targets.d.ts +20 -0
  533. package/node_modules/@tufjs/models/dist/targets.js +94 -0
  534. package/node_modules/@tufjs/models/dist/timestamp.d.ts +21 -0
  535. package/node_modules/@tufjs/models/dist/timestamp.js +59 -0
  536. package/node_modules/@tufjs/models/dist/utils/guard.d.ts +7 -0
  537. package/node_modules/@tufjs/models/dist/utils/guard.js +32 -0
  538. package/node_modules/@tufjs/models/dist/utils/index.d.ts +3 -0
  539. package/node_modules/@tufjs/models/dist/utils/index.js +38 -0
  540. package/node_modules/@tufjs/models/dist/utils/key.d.ts +8 -0
  541. package/node_modules/@tufjs/models/dist/utils/key.js +142 -0
  542. package/node_modules/@tufjs/models/dist/utils/oid.d.ts +1 -0
  543. package/node_modules/@tufjs/models/dist/utils/oid.js +26 -0
  544. package/node_modules/@tufjs/models/dist/utils/types.d.ts +4 -0
  545. package/node_modules/@tufjs/models/dist/utils/types.js +2 -0
  546. package/node_modules/@tufjs/models/dist/utils/verify.d.ts +3 -0
  547. package/node_modules/@tufjs/models/dist/utils/verify.js +13 -0
  548. package/node_modules/@tufjs/models/package.json +34 -0
  549. package/node_modules/tuf-js/LICENSE +21 -0
  550. package/node_modules/tuf-js/README.md +3 -0
  551. package/node_modules/tuf-js/dist/config.d.ts +15 -0
  552. package/node_modules/tuf-js/dist/config.js +16 -0
  553. package/node_modules/tuf-js/dist/error.d.ts +22 -0
  554. package/node_modules/tuf-js/dist/error.js +49 -0
  555. package/node_modules/tuf-js/dist/fetcher.d.ts +25 -0
  556. package/node_modules/tuf-js/dist/fetcher.js +131 -0
  557. package/node_modules/tuf-js/dist/index.d.ts +6 -0
  558. package/node_modules/tuf-js/dist/index.js +9 -0
  559. package/node_modules/tuf-js/dist/store.d.ts +18 -0
  560. package/node_modules/tuf-js/dist/store.js +219 -0
  561. package/node_modules/tuf-js/dist/updater.d.ts +35 -0
  562. package/node_modules/tuf-js/dist/updater.js +373 -0
  563. package/node_modules/tuf-js/dist/utils/tmpfile.d.ts +3 -0
  564. package/node_modules/tuf-js/dist/utils/tmpfile.js +25 -0
  565. package/node_modules/tuf-js/dist/utils/url.d.ts +1 -0
  566. package/node_modules/tuf-js/dist/utils/url.js +13 -0
  567. package/node_modules/tuf-js/package.json +35 -0
  568. package/package.json +42 -34
  569. package/release-impact.catalog.json +188 -23
  570. package/vendor/oscharko-dev-keiko-activity-log-1.3.5.tgz +0 -0
  571. package/vendor/{oscharko-dev-keiko-cli-1.3.3.tgz → oscharko-dev-keiko-cli-1.3.5.tgz} +0 -0
  572. package/vendor/{oscharko-dev-keiko-connectors-1.3.3.tgz → oscharko-dev-keiko-connectors-1.3.5.tgz} +0 -0
  573. package/vendor/oscharko-dev-keiko-contracts-1.3.5.tgz +0 -0
  574. package/vendor/{oscharko-dev-keiko-evaluations-1.3.3.tgz → oscharko-dev-keiko-evaluations-1.3.5.tgz} +0 -0
  575. package/vendor/oscharko-dev-keiko-evidence-1.3.5.tgz +0 -0
  576. package/vendor/{oscharko-dev-keiko-git-1.3.3.tgz → oscharko-dev-keiko-git-1.3.5.tgz} +0 -0
  577. package/vendor/{oscharko-dev-keiko-harness-1.3.3.tgz → oscharko-dev-keiko-harness-1.3.5.tgz} +0 -0
  578. package/vendor/{oscharko-dev-keiko-local-knowledge-1.3.3.tgz → oscharko-dev-keiko-local-knowledge-1.3.5.tgz} +0 -0
  579. package/vendor/{oscharko-dev-keiko-mcp-1.3.3.tgz → oscharko-dev-keiko-mcp-1.3.5.tgz} +0 -0
  580. package/vendor/{oscharko-dev-keiko-memory-capture-1.3.3.tgz → oscharko-dev-keiko-memory-capture-1.3.5.tgz} +0 -0
  581. package/vendor/{oscharko-dev-keiko-memory-consolidation-1.3.3.tgz → oscharko-dev-keiko-memory-consolidation-1.3.5.tgz} +0 -0
  582. package/vendor/{oscharko-dev-keiko-memory-governance-1.3.3.tgz → oscharko-dev-keiko-memory-governance-1.3.5.tgz} +0 -0
  583. package/vendor/{oscharko-dev-keiko-memory-retrieval-1.3.3.tgz → oscharko-dev-keiko-memory-retrieval-1.3.5.tgz} +0 -0
  584. package/vendor/{oscharko-dev-keiko-memory-vault-1.3.3.tgz → oscharko-dev-keiko-memory-vault-1.3.5.tgz} +0 -0
  585. package/vendor/oscharko-dev-keiko-model-gateway-1.3.5.tgz +0 -0
  586. package/vendor/{oscharko-dev-keiko-quality-intelligence-1.3.3.tgz → oscharko-dev-keiko-quality-intelligence-1.3.5.tgz} +0 -0
  587. package/vendor/{oscharko-dev-keiko-sandbox-1.3.3.tgz → oscharko-dev-keiko-sandbox-1.3.5.tgz} +0 -0
  588. package/vendor/oscharko-dev-keiko-sdk-1.3.5.tgz +0 -0
  589. package/vendor/{oscharko-dev-keiko-security-1.3.3.tgz → oscharko-dev-keiko-security-1.3.5.tgz} +0 -0
  590. package/vendor/oscharko-dev-keiko-server-1.3.5.tgz +0 -0
  591. package/vendor/oscharko-dev-keiko-tool-catalog-1.3.5.tgz +0 -0
  592. package/vendor/oscharko-dev-keiko-tools-1.3.5.tgz +0 -0
  593. package/vendor/{oscharko-dev-keiko-verification-1.3.3.tgz → oscharko-dev-keiko-verification-1.3.5.tgz} +0 -0
  594. package/vendor/{oscharko-dev-keiko-workflows-1.3.3.tgz → oscharko-dev-keiko-workflows-1.3.5.tgz} +0 -0
  595. package/vendor/{oscharko-dev-keiko-workspace-1.3.3.tgz → oscharko-dev-keiko-workspace-1.3.5.tgz} +0 -0
  596. package/vendor/runtime-7ee58e70ec82a5310a8cfa05-5.0.0.tgz +0 -0
  597. package/vendor/runtime-adfa266be16990cea397db57-5.0.0.tgz +0 -0
  598. package/vendor/runtime-eb2c4f536814543400a0bd7d-6.0.0.tgz +0 -0
  599. package/dist/ui/static/_next/static/chunks/0-vpa4wvwcpe-.js +0 -1
  600. package/dist/ui/static/_next/static/chunks/0_6mtgmkla9qu.js +0 -1
  601. package/dist/ui/static/_next/static/chunks/0e5tuea6tlug3.js +0 -2
  602. package/dist/ui/static/_next/static/chunks/0ertzbirk17sb.js +0 -1
  603. package/dist/ui/static/_next/static/chunks/0kez3eb30_y20.js +0 -1
  604. package/dist/ui/static/_next/static/chunks/0r7w4-ed85x8_.js +0 -1
  605. package/dist/ui/static/_next/static/chunks/0s7h6q8gvga7e.js +0 -1
  606. package/dist/ui/static/_next/static/chunks/0yubxb7rh1hd0.js +0 -1
  607. package/dist/ui/static/_next/static/chunks/113i2ed523uql.js +0 -1
  608. package/dist/ui/static/_next/static/chunks/14qun_iwmflef.js +0 -1
  609. package/dist/ui/static/_next/static/chunks/18k43109q6nsu.css +0 -4
  610. package/dist/ui/static/_next/static/chunks/1d_810phvbt-v.js +0 -1
  611. package/dist/ui/static/_next/static/chunks/1fcza2wdia5qm.js +0 -1
  612. package/dist/ui/static/_next/static/chunks/1h2_yob002hof.js +0 -1
  613. package/dist/ui/static/_next/static/chunks/1yozvmb5fguqg.js +0 -1
  614. package/dist/ui/static/_next/static/chunks/226y24czlj0wp.js +0 -1
  615. package/dist/ui/static/_next/static/chunks/2ejhbs16gist6.js +0 -1
  616. package/dist/ui/static/_next/static/chunks/2w1kh71cy7enz.js +0 -1
  617. package/dist/ui/static/_next/static/chunks/39thlt_b984p5.js +0 -1
  618. package/dist/ui/static/_next/static/chunks/3bjc67n5rtpdi.js +0 -1
  619. package/dist/ui/static/_next/static/chunks/3cxu95lv35pdr.js +0 -4
  620. package/dist/ui/static/_next/static/chunks/3f63ftrt4blps.js +0 -1
  621. package/dist/ui/static/_next/static/chunks/3gaq95iqa9klb.js +0 -3
  622. package/dist/ui/static/_next/static/chunks/3qabgkg9agmqc.js +0 -1
  623. package/dist/ui/static/_next/static/chunks/3t4_kygctsf_7.js +0 -1
  624. package/dist/ui/static/_next/static/chunks/3z6tj3bwv9zix.js +0 -1
  625. package/vendor/oscharko-dev-keiko-activity-log-1.3.3.tgz +0 -0
  626. package/vendor/oscharko-dev-keiko-contracts-1.3.3.tgz +0 -0
  627. package/vendor/oscharko-dev-keiko-evidence-1.3.3.tgz +0 -0
  628. package/vendor/oscharko-dev-keiko-model-gateway-1.3.3.tgz +0 -0
  629. package/vendor/oscharko-dev-keiko-sdk-1.3.3.tgz +0 -0
  630. package/vendor/oscharko-dev-keiko-server-1.3.3.tgz +0 -0
  631. package/vendor/oscharko-dev-keiko-tool-catalog-1.3.3.tgz +0 -0
  632. package/vendor/oscharko-dev-keiko-tools-1.3.3.tgz +0 -0
  633. /package/dist/ui/static/_next/static/{KmFW5oN4Tu2nC9Ox3ukB4 → DvyH4zbpyM3K-9QY4w0ah}/_buildManifest.js +0 -0
  634. /package/dist/ui/static/_next/static/{KmFW5oN4Tu2nC9Ox3ukB4 → DvyH4zbpyM3K-9QY4w0ah}/_clientMiddlewareManifest.js +0 -0
  635. /package/dist/ui/static/_next/static/{KmFW5oN4Tu2nC9Ox3ukB4 → DvyH4zbpyM3K-9QY4w0ah}/_ssgManifest.js +0 -0
@@ -69,6 +69,14 @@ const GATEWAY_READINESS_PROBE_TIMEOUT_FIELDS = {
69
69
  embeddingProbeTimeoutMs: { type: "integer", dataClass: "duration", required: false },
70
70
  rerankerProbeTimeoutMs: { type: "integer", dataClass: "duration", required: false },
71
71
  };
72
+ // #3578: why the Coding Workbench's own verification started an automatic run, and which policy
73
+ // asked for it. Both are present only on a run the Workbench verification started; an on-demand
74
+ // conversation probe carries neither. `never-proven` is a chat model nobody has concluded tool
75
+ // calling for, `proof-renewal` a model whose forced tool-call proof lapsed or was withdrawn, and
76
+ // `context-window` a model that needs only its window proven. `profile-read` is the Workbench
77
+ // opening its gateway profile; `startup` is the recognised-LiteLLM readiness at process start.
78
+ const WORKBENCH_PROBE_BASES = ["never-proven", "proof-renewal", "context-window"];
79
+ const WORKBENCH_PROBE_TRIGGERS = ["profile-read", "startup"];
72
80
  const GATEWAY_READINESS_AUTOMATIC_STARTED_OPERATION = defineActivityLogOperation({
73
81
  contractKind: "activity-log-operation",
74
82
  schemaVersion: 1,
@@ -81,6 +89,18 @@ const GATEWAY_READINESS_AUTOMATIC_STARTED_OPERATION = defineActivityLogOperation
81
89
  ...GATEWAY_READINESS_PROBE_TIMEOUT_FIELDS,
82
90
  probeCount: { type: "integer", dataClass: "count", required: true },
83
91
  backgroundAttempt: { type: "integer", dataClass: "count", required: false },
92
+ probeBasis: {
93
+ type: "string",
94
+ dataClass: "closed-enum",
95
+ required: false,
96
+ values: WORKBENCH_PROBE_BASES,
97
+ },
98
+ probeTrigger: {
99
+ type: "string",
100
+ dataClass: "closed-enum",
101
+ required: false,
102
+ values: WORKBENCH_PROBE_TRIGGERS,
103
+ },
84
104
  },
85
105
  causal: "correlation",
86
106
  lifecycle: "start",
@@ -344,12 +364,17 @@ function selectReadinessModelId(capabilities, requestedModelId, options, fallbac
344
364
  }
345
365
  return candidate.id;
346
366
  }
347
- function logAutomaticReadinessStarted(deps, correlationId, modelId, probeCount, timeouts, backgroundAttempt) {
367
+ function logAutomaticReadinessStarted(deps, correlationId, modelId, probeCount, timeouts, origin = {}) {
348
368
  (deps.activityLog ?? processServerLogSink()).write(activityLogEvent(GATEWAY_READINESS_AUTOMATIC_STARTED_OPERATION, { correlationId }, {
349
369
  ...modelIdEvidence(modelId),
350
370
  ...timeouts,
351
371
  probeCount,
352
- ...(backgroundAttempt === undefined ? {} : { backgroundAttempt }),
372
+ ...(origin.backgroundAttempt === undefined
373
+ ? {}
374
+ : { backgroundAttempt: origin.backgroundAttempt }),
375
+ ...(origin.workbench === undefined
376
+ ? {}
377
+ : { probeBasis: origin.workbench.basis, probeTrigger: origin.workbench.trigger }),
353
378
  }));
354
379
  }
355
380
  // The bounds the run's probes are about to run under: `probeProvider` for the chat-provider
@@ -429,7 +454,9 @@ function logReadinessRunStarted(deps, run, selection, names, options) {
429
454
  const modelId = selection.provider.modelId;
430
455
  const timeouts = probeTimeoutEvidence(selection.config, selection.provider, names, options);
431
456
  if (run.automatic) {
432
- logAutomaticReadinessStarted(deps, run.correlationId, modelId, names.length, timeouts);
457
+ logAutomaticReadinessStarted(deps, run.correlationId, modelId, names.length, timeouts, {
458
+ workbench: run.workbench,
459
+ });
433
460
  return;
434
461
  }
435
462
  if (run.trigger === undefined)
@@ -441,7 +468,7 @@ function logOnDemandProbeStarted(deps, holder, modelId, correlationId, backgroun
441
468
  const selection = chooseProvider(holder.current(), modelId, ON_DEMAND_PROBE_OPTIONS);
442
469
  logAutomaticReadinessStarted(deps, correlationId, modelId, 1, "status" in selection
443
470
  ? {}
444
- : probeTimeoutEvidence(selection.config, selection.provider, ["chat"], ON_DEMAND_PROBE_OPTIONS), backgroundAttempt);
471
+ : probeTimeoutEvidence(selection.config, selection.provider, ["chat"], ON_DEMAND_PROBE_OPTIONS), { backgroundAttempt });
445
472
  }
446
473
  function logReadinessRunCompleted(deps, run, report) {
447
474
  if (run.automatic) {
@@ -553,6 +580,9 @@ async function probeConfiguredEmbedding(deps, config, provider, correlationId) {
553
580
  ...(deps.gatewayReadinessSignal === undefined ? {} : { signal: deps.gatewayReadinessSignal }),
554
581
  timeoutMs: provider.timeoutMs,
555
582
  egress: config.egress,
583
+ // Every retry and failure line of this probe is recorded under its correlation.
584
+ log: deps.activityLog ?? processServerLogSink(),
585
+ logContext: { correlationId },
556
586
  });
557
587
  settleGatewayProbeSpend(reservation, undefined);
558
588
  if (!outcome.ok) {
@@ -1269,6 +1299,24 @@ function retainBusyConversationReadiness(deps, report, observedGeneration, corre
1269
1299
  (deps.activityLog ?? processServerLogSink()).write(activityLogEvent(GATEWAY_READINESS_BUSY_RETAINED_OPERATION, { correlationId }, { ...modelIdEvidence(report.modelId), busySignal: signal }));
1270
1300
  return true;
1271
1301
  }
1302
+ /**
1303
+ * #3907 AC3: a model answer a coding run accepted renews the model's same-generation basic-chat
1304
+ * success, as an answered busy probe does (#4115): the answer is stronger evidence than the probe
1305
+ * the run would otherwise need, and a probe queued between the run's turns would only compete with
1306
+ * them. It never establishes readiness, never repairs a failed observation and never crosses a
1307
+ * configuration change: the answer must come from the configuration the holder still serves.
1308
+ */
1309
+ export function renewConversationReadinessFromAnswer(deps, modelId, answeredConfig) {
1310
+ const holder = deps.gatewayConfig;
1311
+ if (holder?.current() !== answeredConfig)
1312
+ return "not-renewable";
1313
+ const generation = holder.generation();
1314
+ const previous = holder.verifiedCapability(modelId);
1315
+ if (!renewableConversationProof(previous, generation))
1316
+ return "not-renewable";
1317
+ holder.recordVerifiedCapability(modelId, previous.fields, previous.checkedAt, generation, new Date().toISOString());
1318
+ return "renewed";
1319
+ }
1272
1320
  // A same-generation success with a valid proof time. A future or malformed time is unknown and
1273
1321
  // never renewable; an expired but valid proof is (#4115).
1274
1322
  function renewableConversationProof(previous, observedGeneration) {
@@ -1327,13 +1375,24 @@ function reconcileToolCallingReadiness(deps, report, observedGeneration, correla
1327
1375
  }));
1328
1376
  }
1329
1377
  }
1378
+ function readinessRunEvidence(request, correlationId, trigger, workbench) {
1379
+ return {
1380
+ correlationId,
1381
+ automatic: request.options?.purpose === "coding-workbench-auto",
1382
+ trigger,
1383
+ workbench,
1384
+ startedAtMs: Date.now(),
1385
+ };
1386
+ }
1330
1387
  export async function runGatewayReadiness(request, deps,
1331
1388
  // RB-6: the request-scoped correlation id, so every probe diagnostic from ONE readiness run shares
1332
1389
  // one id. A caller without a request context (a scheduled/CLI run) gets a freshly minted id rather
1333
1390
  // than an id-less record.
1334
1391
  requestCorrelationId,
1335
1392
  // Who started the run. Without one, the caller records the run's lifecycle itself.
1336
- trigger) {
1393
+ trigger,
1394
+ // Why the Workbench's verification started this automatic run (#3578).
1395
+ workbench) {
1337
1396
  const selection = chooseProvider(currentGatewayConfig(deps), request.modelId, request.options);
1338
1397
  if ("status" in selection)
1339
1398
  return selection;
@@ -1342,12 +1401,7 @@ trigger) {
1342
1401
  const observedGeneration = deps.gatewayConfig?.generation();
1343
1402
  const correlationId = requestCorrelationId ?? newCorrelationId();
1344
1403
  const names = requestedProbeNames(request.options);
1345
- const run = {
1346
- correlationId,
1347
- automatic: request.options?.purpose === "coding-workbench-auto",
1348
- trigger,
1349
- startedAtMs: Date.now(),
1350
- };
1404
+ const run = readinessRunEvidence(request, correlationId, trigger, workbench);
1351
1405
  logReadinessRunStarted(deps, run, selection, names, request.options);
1352
1406
  const probes = [];
1353
1407
  const chat = await runProbe("chat", deps, selection, request.options, correlationId);
@@ -1404,18 +1458,23 @@ function reconcileContextWindowReadiness(deps, report, correlationId) {
1404
1458
  // - A gateway that declares no token limits leaves the 4,096 setup placeholder in place, and
1405
1459
  // the Workbench needs 32,000: the long-context probe proves the window.
1406
1460
  // - The forced tool-call proof expires after 24 h: the tool-calling probe renews it.
1461
+ // - A chat model nobody has proven tool calling for (#3578) has no proof at all: the same probe
1462
+ // asks for the first one, whatever gateway serves it.
1407
1463
  // `runGatewayReadiness` persists both conclusions. This runs when the Workbench reads its profile,
1408
1464
  // for every chat model that claims tool calling — including one whose proof the config loader
1409
1465
  // demoted to `toolCalling: false` after it aged out, which is every such model after a restart the
1410
- // day after setup (`codingWorkbenchModelEligibility`). The model the Workbench would elect is
1411
- // awaited so the profile it reads already reflects the result; the others finish in the
1412
- // background. It is BOUNDED: one attempt per deployment identity within the six-hour cooldown, so
1413
- // a model that really is short-context, or a gateway that is down, is not probed on every read —
1414
- // and a model whose probe refuted tool calling, or never concluded, is never probed from here.
1466
+ // day after setup (`codingWorkbenchModelEligibility`) — and for every chat model that was never
1467
+ // proven. The model the Workbench would elect is awaited so the profile it reads already reflects
1468
+ // the result; the others finish in the background. It is BOUNDED: one attempt per deployment
1469
+ // identity within the six-hour cooldown, so a model that really is short-context, or a gateway
1470
+ // that is down, is not probed on every read — and a model whose probe refuted tool calling, or
1471
+ // that is no chat model, is never probed from here.
1415
1472
  const WORKBENCH_REPROBE_COOLDOWN_MS = 6 * 60 * 60 * 1_000;
1416
1473
  // #3591 (1.1.7): a probe the gateway never answered is not a verdict. It used to hold the six-hour
1417
1474
  // cooldown, so one slow answer at peak load locked the Workbench out with no operator remedy but
1418
- // a restart. An inconclusive run is retried on the next Workbench read after this much quiet.
1475
+ // a restart. An inconclusive run is checked again when someone asks — the Workbench opening or a
1476
+ // model chosen in its picker, a page load, a restart — never by a passive read or a timer
1477
+ // (customer 1.3.4); this much quiet only absorbs a burst of such requests.
1419
1478
  export const WORKBENCH_INCONCLUSIVE_REPROBE_COOLDOWN_MS = 60_000;
1420
1479
  const workbenchProbes = new Map();
1421
1480
  // ONE run at a time. Persisting a conclusion bumps the configuration generation, and a readiness
@@ -1433,14 +1492,29 @@ export function resetCodingWorkbenchContextWindowProbesForTests() {
1433
1492
  export function codingWorkbenchProbesSettledForTests() {
1434
1493
  return workbenchProbeQueue;
1435
1494
  }
1436
- function workbenchProbesNeeded(capability) {
1495
+ /**
1496
+ * Why a chat model whose tool calling nobody refuted needs a forced tool-call proof, or undefined
1497
+ * when it does not: it has none yet (`never-proven`, which includes a probe that never concluded),
1498
+ * or the one it had lapsed or was withdrawn (`proof-renewal`).
1499
+ */
1500
+ function toolCallingProofBasis(capability) {
1437
1501
  const eligibility = codingWorkbenchModelEligibility(capability);
1438
- if (eligibility === "ineligible")
1439
- return [];
1440
- return [
1441
- ...(eligibility === "tool-calling-unverified" ? ["tool_calling"] : []),
1502
+ if (eligibility === "eligible")
1503
+ return undefined;
1504
+ return eligibility === "tool-calling-unverified" ? "proof-renewal" : "never-proven";
1505
+ }
1506
+ // One rule for every gateway and every entry point (#3578). A model that is no chat model is never
1507
+ // probed, and a proof the probe refuted (`unsupported`) is a verdict, not a gap.
1508
+ function workbenchProbesNeeded(capability) {
1509
+ if (!isCodingWorkbenchReadinessCandidate(capability) ||
1510
+ capability.toolCallingVerification?.status === "unsupported")
1511
+ return undefined;
1512
+ const proof = toolCallingProofBasis(capability);
1513
+ const probes = [
1514
+ ...(proof === undefined ? [] : ["tool_calling"]),
1442
1515
  ...workbenchContextProbes(capability),
1443
1516
  ];
1517
+ return probes.length === 0 ? undefined : { basis: proof ?? "context-window", probes };
1444
1518
  }
1445
1519
  function workbenchContextProbes(capability) {
1446
1520
  const minimum = CODING_WORKBENCH_MINIMUM_CODING_CONTEXT_PROMPT_TOKENS;
@@ -1448,61 +1522,53 @@ function workbenchContextProbes(capability) {
1448
1522
  const shortWindow = canProveMinimum && capability.contextWindow < minimum;
1449
1523
  return shortWindow ? ["long_context"] : [];
1450
1524
  }
1451
- /** Fresh LiteLLM models need a live tool proof before they can appear in the Coding picker. */
1525
+ /**
1526
+ * Fresh LiteLLM models need a live tool proof before they can appear in the Coding picker. This is
1527
+ * the process-start entry of the one Workbench verification: it asks for exactly the targets a
1528
+ * profile read would, limited to the recognised LiteLLM connections, whose local lab gateways Keiko
1529
+ * verifies without anyone opening the Workbench.
1530
+ */
1452
1531
  export async function initializeLiteLlmCodingReadiness(deps, correlationId) {
1453
1532
  const config = deps.gatewayConfig?.current();
1454
1533
  if (config === undefined)
1455
1534
  return;
1456
1535
  const targets = liteLlmWorkbenchProbeTargets(config);
1457
- await Promise.all(targets.map((target) => enqueueWorkbenchProbe(deps, config, target, correlationId)));
1536
+ await Promise.all(targets.map((target) => enqueueWorkbenchProbe(deps, config, target, correlationId, "startup", {
1537
+ retryUnanswered: true,
1538
+ })));
1458
1539
  }
1459
1540
  function liteLlmWorkbenchProbeTargets(config) {
1460
- return listConfiguredCapabilities(config).flatMap((model) => {
1461
- const provider = config.providers.find((candidate) => candidate.modelId === model.id);
1462
- if (model.kind !== "chat" ||
1463
- provider?.tokenCounter !== "litellm" ||
1464
- model.toolCallingVerification?.status === "unsupported")
1465
- return [];
1466
- const known = workbenchProbesNeeded(model);
1467
- const probes = codingWorkbenchModelEligibility(model) === "ineligible"
1468
- ? ["tool_calling", ...workbenchContextProbes(model)]
1469
- : known;
1470
- return probes.length === 0 ? [] : [{ modelId: model.id, probes }];
1471
- });
1472
- }
1473
- export function isLiteLlmCodingReadinessPending(deps) {
1474
- const config = deps.gatewayConfig?.current();
1475
- return (config?.providers.some((provider) => provider.tokenCounter === "litellm" &&
1476
- isCodingWorkbenchProbePending(config, provider.modelId)) ?? false);
1541
+ return workbenchProbeTargets(config).filter((target) => config.providers.find((candidate) => candidate.modelId === target.modelId)?.tokenCounter ===
1542
+ "litellm");
1477
1543
  }
1478
1544
  function workbenchProbeTargets(config) {
1479
- return listConfiguredCapabilities(config)
1480
- .map((capability) => ({ modelId: capability.id, probes: workbenchProbesNeeded(capability) }))
1481
- .filter((target) => target.probes.length > 0);
1545
+ return listConfiguredCapabilities(config).flatMap((capability) => {
1546
+ const need = workbenchProbesNeeded(capability);
1547
+ return need === undefined ? [] : [{ modelId: capability.id, ...need }];
1548
+ });
1482
1549
  }
1483
1550
  // Keyed by the deployment's identity, not the configuration generation: every conclusion this
1484
- // persists bumps the generation, which would otherwise lift the cooldown of every other model.
1551
+ // persists bumps the generation, which would otherwise lift the cooldown of every other model and
1552
+ // repeat the startup check of every model that did not answer (customer 1.3.4).
1485
1553
  // The configured timeout is part of the key (#3591): an operator who raises it after a timed-out
1486
1554
  // probe has changed what the probe can prove and gets a fresh attempt at once.
1487
- function workbenchProbeKey(config, modelId) {
1555
+ function deploymentProbeKey(config, modelId) {
1488
1556
  const provider = config.providers.find((candidate) => candidate.modelId === modelId);
1489
1557
  return provider === undefined
1490
1558
  ? modelId
1491
1559
  : `${toolCallingConfigurationFingerprint(provider)}:${String(provider.timeoutMs)}`;
1492
1560
  }
1493
1561
  /**
1494
- * Whether the Workbench's automatic verification of this model is still open: the probe is
1495
- * running, or it ended without a verdict (the gateway never answered) and runs again after its
1496
- * short cooldown. Only a verdict — proven or refuted — closes it, so a Workbench that re-reads its
1497
- * profile while this holds keeps reading until the gateway has actually answered.
1562
+ * Whether the Workbench's automatic verification of this model is running right now: queued or in
1563
+ * flight. A probe the gateway never answered is settled: nothing runs until someone asks again, so
1564
+ * the Workbench never shows a check that is not happening (customer 1.3.4).
1498
1565
  */
1499
1566
  export function isCodingWorkbenchProbePending(config, modelId) {
1500
1567
  const model = listConfiguredCapabilities(config).find((candidate) => candidate.id === modelId);
1501
1568
  if (model === undefined || model.toolCallingVerification?.status === "unsupported")
1502
1569
  return false;
1503
- const entry = workbenchProbes.get(workbenchProbeKey(config, modelId));
1504
- return (entry !== undefined &&
1505
- (!entry.settled || entry.outcome === "inconclusive" || entry.outcome === "stale"));
1570
+ const entry = workbenchProbes.get(deploymentProbeKey(config, modelId));
1571
+ return entry !== undefined && !entry.settled;
1506
1572
  }
1507
1573
  /**
1508
1574
  * Whether the server is renewing this chat model's tool-call proof right now (#3905): the proof
@@ -1520,6 +1586,19 @@ export function isToolCallingRenewalPending(config, modelId) {
1520
1586
  codingWorkbenchModelEligibility(model) === "tool-calling-unverified" &&
1521
1587
  isCodingWorkbenchProbePending(config, modelId));
1522
1588
  }
1589
+ /**
1590
+ * Whether the latest Workbench verification of this model ended without an answer from the gateway
1591
+ * (a timeout, a busy or unreachable gateway). That is no verdict: the model is neither proven nor
1592
+ * refuted, and it is checked again when someone asks.
1593
+ */
1594
+ export function isCodingWorkbenchProbeUnanswered(config, modelId) {
1595
+ const entry = workbenchProbes.get(deploymentProbeKey(config, modelId));
1596
+ return entry?.settled === true && entry.outcome === "inconclusive";
1597
+ }
1598
+ /** Whether any model the Workbench could still elect ended its latest verification unanswered. */
1599
+ export function isAnyCodingWorkbenchProbeUnanswered(config) {
1600
+ return config.providers.some((provider) => isCodingWorkbenchProbeUnanswered(config, provider.modelId));
1601
+ }
1523
1602
  /** Whether any model the Workbench could still elect has its verification open. */
1524
1603
  export function isAnyCodingWorkbenchProbePending(config) {
1525
1604
  return config.providers.some((provider) => isCodingWorkbenchProbePending(config, provider.modelId));
@@ -1540,17 +1619,17 @@ function workbenchProbeOutcome(report, target) {
1540
1619
  return "inconclusive";
1541
1620
  return results.includes(undefined) ? "inconclusive" : "refuted";
1542
1621
  }
1543
- async function runWorkbenchProbe(deps, target, correlationId) {
1622
+ async function runWorkbenchProbe(deps, target, correlationId, trigger) {
1544
1623
  const generation = deps.gatewayConfig?.generation();
1545
1624
  try {
1546
1625
  const report = await runGatewayReadiness({
1547
1626
  modelId: target.modelId,
1548
1627
  options: { probes: target.probes, purpose: "coding-workbench-auto" },
1549
- }, deps, correlationId);
1628
+ }, deps, correlationId, undefined, { basis: target.basis, trigger });
1550
1629
  const outcome = workbenchProbeOutcome(report, target);
1551
1630
  const config = deps.gatewayConfig?.current();
1552
1631
  const stillNeeded = config !== undefined &&
1553
- [...workbenchProbeTargets(config), ...liteLlmWorkbenchProbeTargets(config)].some((pending) => pending.modelId === target.modelId);
1632
+ workbenchProbeTargets(config).some((pending) => pending.modelId === target.modelId);
1554
1633
  // Proven, yet not stored: the configuration changed under the run and the conclusion was
1555
1634
  // discarded as stale. Lift the cooldown so the next read proves it again instead of leaving
1556
1635
  // the model unusable for hours.
@@ -1570,19 +1649,31 @@ async function runWorkbenchProbe(deps, target, correlationId) {
1570
1649
  return "inconclusive";
1571
1650
  }
1572
1651
  }
1573
- function enqueueWorkbenchProbe(deps, config, target, correlationId, prioritized = false) {
1574
- const key = workbenchProbeKey(config, target.modelId);
1652
+ // A passive read runs a model's first probe, a stale one and a verdict past its cooldown; only a
1653
+ // request that asks retries a probe the gateway never answered.
1654
+ function workbenchProbeDue(entry, retryUnanswered) {
1655
+ if (!entry.settled)
1656
+ return false;
1657
+ if (entry.outcome === "stale")
1658
+ return true;
1659
+ if (entry.outcome === "inconclusive" && !retryUnanswered)
1660
+ return false;
1661
+ return Date.now() - entry.at >= entry.cooldownMs;
1662
+ }
1663
+ function enqueueWorkbenchProbe(deps, config, target, correlationId, trigger, request = {}) {
1664
+ const prioritized = request.prioritized ?? false;
1665
+ const key = deploymentProbeKey(config, target.modelId);
1575
1666
  const known = workbenchProbes.get(key);
1576
- if (known !== undefined && (!known.settled || Date.now() - known.at < known.cooldownMs)) {
1667
+ if (known !== undefined && !workbenchProbeDue(known, request.retryUnanswered ?? false)) {
1577
1668
  known.prioritized ||= prioritized;
1578
1669
  return known.promise;
1579
1670
  }
1580
- const entry = createWorkbenchProbeEntry(deps, target, correlationId, prioritized);
1671
+ const entry = createWorkbenchProbeEntry(deps, target, correlationId, trigger, prioritized);
1581
1672
  workbenchProbes.set(key, entry);
1582
1673
  startWorkbenchProbeQueue();
1583
1674
  return entry.promise;
1584
1675
  }
1585
- function createWorkbenchProbeEntry(deps, target, correlationId, prioritized) {
1676
+ function createWorkbenchProbeEntry(deps, target, correlationId, trigger, prioritized) {
1586
1677
  let finish = () => undefined;
1587
1678
  const promise = new Promise((resolve) => {
1588
1679
  finish = resolve;
@@ -1600,12 +1691,14 @@ function createWorkbenchProbeEntry(deps, target, correlationId, prioritized) {
1600
1691
  const controlled = deps.gatewayConfig === undefined
1601
1692
  ? deps
1602
1693
  : cancellableConversationProbeDeps(deps, conversationQueue(deps.gatewayConfig).controller.signal);
1603
- const outcome = await runWorkbenchProbe(controlled, target, correlationId);
1694
+ const outcome = await runWorkbenchProbe(controlled, target, correlationId, trigger);
1604
1695
  entry.settled = true;
1605
1696
  entry.outcome = outcome;
1606
1697
  entry.at = Date.now();
1607
1698
  entry.cooldownMs = workbenchProbeCooldownMs(outcome);
1608
1699
  finish();
1700
+ if (outcome === "stale")
1701
+ requeueStaleWorkbenchProbe(deps, target.modelId, correlationId, trigger);
1609
1702
  },
1610
1703
  prioritized,
1611
1704
  running: false,
@@ -1615,6 +1708,17 @@ function createWorkbenchProbeEntry(deps, target, correlationId, prioritized) {
1615
1708
  };
1616
1709
  return entry;
1617
1710
  }
1711
+ // The configuration changed under a proof that succeeded: that change is the reason to prove the
1712
+ // model again, at once and once, never a timer.
1713
+ function requeueStaleWorkbenchProbe(deps, modelId, correlationId, trigger) {
1714
+ const config = deps.gatewayConfig?.current();
1715
+ const target = config === undefined
1716
+ ? undefined
1717
+ : workbenchProbeTargets(config).find((candidate) => candidate.modelId === modelId);
1718
+ if (config === undefined || target === undefined)
1719
+ return;
1720
+ void enqueueWorkbenchProbe(deps, config, target, correlationId, trigger);
1721
+ }
1618
1722
  function workbenchProbeCooldownMs(outcome) {
1619
1723
  if (outcome === "stale")
1620
1724
  return 0;
@@ -1656,7 +1760,7 @@ function performNextWorkbenchProbe(resolve, reject) {
1656
1760
  })
1657
1761
  .catch(reject);
1658
1762
  }
1659
- export async function ensureCodingWorkbenchContextWindows(deps, electedModelId, correlationId) {
1763
+ export async function ensureCodingWorkbenchContextWindows(deps, electedModelId, correlationId, retryUnanswered = false) {
1660
1764
  const config = deps.gatewayConfig?.current();
1661
1765
  if (config === undefined)
1662
1766
  return;
@@ -1671,7 +1775,10 @@ export async function ensureCodingWorkbenchContextWindows(deps, electedModelId,
1671
1775
  ];
1672
1776
  const queued = new Map(ordered.map((target) => [
1673
1777
  target.modelId,
1674
- enqueueWorkbenchProbe(deps, config, target, id, target.modelId === electedModelId),
1778
+ enqueueWorkbenchProbe(deps, config, target, id, "profile-read", {
1779
+ prioritized: target.modelId === electedModelId,
1780
+ retryUnanswered,
1781
+ }),
1675
1782
  ]));
1676
1783
  // A named model waits for ITS proof only — never for another model's. Without a name (the
1677
1784
  // Workbench could elect none yet) the first queued model is the one it would elect next.
@@ -1696,9 +1803,8 @@ function conversationQueue(holder) {
1696
1803
  controller: new AbortController(),
1697
1804
  initializedGeneration: -1,
1698
1805
  pending: [],
1699
- retries: new Map(),
1700
- retryable: new Map(),
1701
1806
  probeSettledAt: new Map(),
1807
+ startupChecked: new Map(),
1702
1808
  };
1703
1809
  conversationQueues.set(holder, queue);
1704
1810
  }
@@ -1761,9 +1867,6 @@ export async function stopConfiguredConversationReadiness(deps) {
1761
1867
  const workbench = [...workbenchProbes.values()].filter((entry) => entry.holder === holder);
1762
1868
  for (const entry of workbench)
1763
1869
  entry.cancelQueued();
1764
- for (const timer of queue.retries.values())
1765
- clearTimeout(timer);
1766
- queue.retries.clear();
1767
1870
  drainConversationQueue(queue);
1768
1871
  // Each probe reports its own failure; this barrier keeps those reports ahead of shutdown sealing.
1769
1872
  await Promise.allSettled([
@@ -1784,15 +1887,16 @@ export function withReadinessParentCorrelation(deps, parentCorrelationId) {
1784
1887
  },
1785
1888
  };
1786
1889
  }
1787
- function monitorConversationInitialization(deps, modelId, generation, parentCorrelationId, attempt) {
1890
+ // The one startup check of a model: its result stands until a request or a selection needs a fresh
1891
+ // answer. Nothing re-probes in the background (owner decision 2026-11-01, customer 1.3.4).
1892
+ function checkConversationModelOnce(deps, modelId, generation, parentCorrelationId) {
1788
1893
  const holder = deps.gatewayConfig;
1789
1894
  if (holder?.generation() !== generation || conversationQueue(holder).disposed)
1790
1895
  return;
1791
1896
  const causalParent = parentCorrelationId ?? holder.initializationCorrelationId;
1792
1897
  const probeCorrelationId = newCorrelationId();
1793
1898
  const observedDeps = withReadinessParentCorrelation(deps, causalParent);
1794
- void ensureOnDemandConversationReadiness(observedDeps, modelId, probeCorrelationId, attempt)
1795
- .catch((error) => {
1899
+ void ensureOnDemandConversationReadiness(observedDeps, modelId, probeCorrelationId, 1).catch((error) => {
1796
1900
  emitServerDiagnostic(deps.diagnostics, serverDiagnosticFromError({
1797
1901
  correlationId: probeCorrelationId,
1798
1902
  parentCorrelationId: causalParent,
@@ -1802,72 +1906,56 @@ function monitorConversationInitialization(deps, modelId, generation, parentCorr
1802
1906
  summary: "A gateway readiness probe could not be completed.",
1803
1907
  redact: (message) => String(deps.redactor(message)),
1804
1908
  }));
1805
- })
1806
- .then(() => {
1807
- scheduleConversationRecovery(deps, modelId, generation, causalParent, attempt);
1808
1909
  });
1809
1910
  }
1810
- const MAX_CONVERSATION_RECOVERY_DELAY_MS = 5 * 60_000;
1811
- function conversationReadinessRenewAfterMs() {
1812
- // Renewal cadence is independent of the provider deadline. Subtracting a longer deadline
1813
- // from freshness can make this negative and cause continuous successful re-probes (#4038).
1814
- return 2 * 60_000;
1815
- }
1816
- function conversationRecoveryDelay(deps, holder, modelId, attempt) {
1817
- const observation = holder.verifiedCapability(modelId);
1818
- if (currentConversationReady(deps, modelId) && observation !== undefined)
1819
- return (Math.max(0, conversationReadinessRenewAfterMs() - conversationReadinessAgeMs(observation)) + 1);
1820
- return ((conversationQueue(holder).retryable.get(modelId) === false
1821
- ? MAX_CONVERSATION_RECOVERY_DELAY_MS
1822
- : Math.min(NOT_READY_REPROBE_COOLDOWN_MS * 2 ** Math.min(attempt - 1, 4), MAX_CONVERSATION_RECOVERY_DELAY_MS)) + 1);
1823
- }
1824
- function scheduleConversationRecovery(deps, modelId, generation, parentCorrelationId, attempt) {
1825
- const holder = deps.gatewayConfig;
1826
- if (holder === undefined)
1827
- return;
1828
- const queue = conversationQueue(holder);
1829
- if (queue.disposed ||
1830
- holder.generation() !== generation ||
1831
- holder.current()?.providers.some((provider) => provider.modelId === modelId) !== true)
1832
- return;
1833
- clearTimeout(queue.retries.get(modelId));
1834
- const nextAttempt = currentConversationReady(deps, modelId) ? 1 : attempt + 1;
1835
- const retry = setTimeout(() => {
1836
- queue.retries.delete(modelId);
1837
- monitorConversationInitialization(deps, modelId, generation, parentCorrelationId, nextAttempt);
1838
- }, conversationRecoveryDelay(deps, holder, modelId, attempt));
1839
- retry.unref();
1840
- queue.retries.set(modelId, retry);
1841
- }
1842
1911
  function resetConversationGeneration(queue, generation) {
1843
1912
  if (queue.initializedGeneration === generation)
1844
1913
  return;
1845
- for (const timer of queue.retries.values())
1846
- clearTimeout(timer);
1847
- queue.retries.clear();
1848
- queue.retryable.clear();
1849
1914
  queue.probeSettledAt.clear();
1850
1915
  queue.initializedGeneration = generation;
1851
1916
  }
1852
- function initializeConversationModel(deps, holder, modelId, correlationId) {
1853
- if (readinessProbesFor(holder).has(`${String(holder.generation())}:${modelId}`))
1917
+ /** Whether a basic-chat check of this model is running now, in the current generation. */
1918
+ export function isConversationReadinessCheckRunning(deps, modelId) {
1919
+ const holder = deps.gatewayConfig;
1920
+ return (holder !== undefined &&
1921
+ readinessProbesFor(holder).has(`${String(holder.generation())}:${modelId}`));
1922
+ }
1923
+ // Startup checks a model this configuration generation has not answered for yet (ready or not),
1924
+ // once per deployment: a generation that only persisted another model's proof repeats no check.
1925
+ // A user-driven refresh (a page load) checks again every model that did not answer ready, within
1926
+ // the not-ready cooldown. A success that only expired stays usable, as in Chat, and is checked by
1927
+ // the request that uses it; nothing re-checks a model on a timer (customer 1.3.4).
1928
+ function initializeConversationModel(deps, holder, config, modelId, correlationId, recheck) {
1929
+ const generation = holder.generation();
1930
+ if (readinessProbesFor(holder).has(`${String(generation)}:${modelId}`))
1854
1931
  return;
1855
- const observation = holder.verifiedCapability(modelId);
1856
- const ready = currentConversationReady(deps, modelId);
1857
- const queue = conversationQueue(holder);
1858
- if (ready &&
1859
- observation !== undefined &&
1860
- conversationReadinessAgeMs(observation) < conversationReadinessRenewAfterMs()) {
1861
- if (!queue.retries.has(modelId))
1862
- scheduleConversationRecovery(deps, modelId, holder.generation(), correlationId, 1);
1932
+ const answer = answerThisGeneration(holder, modelId);
1933
+ if (recheck ? answer === true : answer !== undefined)
1863
1934
  return;
1864
- }
1865
- if (observation?.fields.conversationReady === false && queue.retries.has(modelId))
1935
+ const checked = conversationQueue(holder).startupChecked.get(modelId);
1936
+ if (!recheck && checked === conversationConnectionKey(config, modelId))
1866
1937
  return;
1867
- monitorConversationInitialization(deps, modelId, holder.generation(), correlationId, 1);
1938
+ checkConversationModelOnce(deps, modelId, generation, correlationId);
1939
+ }
1940
+ // Everything a chat check depends on: the provider's connection, credential included. Measured
1941
+ // capability (a persisted proof) lives beside it and changes nothing here. Compared for equality in
1942
+ // this process only and never logged, so the serialized entry is kept as is: a fast digest of a
1943
+ // credential would add no protection.
1944
+ function conversationConnectionKey(config, modelId) {
1945
+ const provider = config.providers.find((candidate) => candidate.modelId === modelId);
1946
+ return provider === undefined ? modelId : JSON.stringify(provider);
1868
1947
  }
1869
- /** Configuration-owned, rate-bounded background probes renew health and recover outages. */
1870
- export function initializeConfiguredConversationReadiness(deps, correlationId) {
1948
+ function answerThisGeneration(holder, modelId) {
1949
+ const observation = holder.verifiedCapability(modelId);
1950
+ return observation?.generation === holder.generation()
1951
+ ? observation.fields.conversationReady
1952
+ : undefined;
1953
+ }
1954
+ /**
1955
+ * Each configured chat model is checked once per connection, at startup; `recheck`
1956
+ * (a user-driven refresh) checks again the models that are not ready now.
1957
+ */
1958
+ export function initializeConfiguredConversationReadiness(deps, correlationId, recheck = false) {
1871
1959
  const holder = deps.gatewayConfig;
1872
1960
  if (holder === undefined)
1873
1961
  return;
@@ -1880,18 +1968,23 @@ export function initializeConfiguredConversationReadiness(deps, correlationId) {
1880
1968
  return;
1881
1969
  for (const model of listConfiguredCapabilities(config)) {
1882
1970
  if (model.kind === "chat")
1883
- initializeConversationModel(deps, holder, model.id, correlationId);
1971
+ initializeConversationModel(deps, holder, config, model.id, correlationId, recheck);
1884
1972
  }
1885
1973
  }
1886
1974
  /**
1887
1975
  * Fresh chat success adds no interactive readiness request. A running probe is joined; an expired
1888
1976
  * success or a failed observation outside its cooldown can share one fresh check through the
1889
- * existing two-slot queue. Background renewal and recovery use the same in-flight owner, so
1890
- * simultaneous requests cannot create a probe storm.
1977
+ * existing two-slot queue. The startup check uses the same in-flight owner, so simultaneous
1978
+ * requests cannot create a probe storm.
1891
1979
  */
1892
1980
  export async function awaitInitializedConversationReadiness(deps, modelId, correlationId) {
1893
1981
  const holder = deps.gatewayConfig;
1894
- if (holder === undefined || currentConversationReady(deps, modelId))
1982
+ if (holder === undefined)
1983
+ return;
1984
+ await awaitConversationRequestReadiness(deps, holder, modelId, correlationId);
1985
+ }
1986
+ async function awaitConversationRequestReadiness(deps, holder, modelId, correlationId) {
1987
+ if (currentConversationReady(deps, modelId))
1895
1988
  return;
1896
1989
  const probe = readinessProbesFor(holder).get(`${String(holder.generation())}:${modelId}`);
1897
1990
  if (probe === undefined) {
@@ -1904,11 +1997,11 @@ export async function awaitInitializedConversationReadiness(deps, modelId, corre
1904
1997
  async function reprobeExpiredNotReadyModel(deps, holder, modelId, correlationId) {
1905
1998
  if (modelId.length === 0 || conversationQueue(holder).disposed)
1906
1999
  return;
1907
- const observation = holder.verifiedCapability(modelId);
1908
- const expiredSuccess = observation?.generation === holder.generation() &&
1909
- observation.fields.conversationReady === true &&
1910
- !currentConversationReady(deps, modelId);
1911
- if (!expiredSuccess && !notReadyCooldownElapsed(holder, modelId))
2000
+ // Only an observed failure waits out its cooldown. An expired success and a model that holds no
2001
+ // answer (its startup check never settled) are checked now: the request would otherwise wait for
2002
+ // a check nobody runs (customer 1.3.4).
2003
+ const observedFailure = notReadyObservationAgeMs(holder, modelId) !== undefined;
2004
+ if (observedFailure && !notReadyCooldownElapsed(holder, modelId))
1912
2005
  return;
1913
2006
  const requestCorrelationId = correlationId ?? newCorrelationId();
1914
2007
  // The probe's own lines carry the request's correlation id; a probe failure is reported once by
@@ -1930,8 +2023,8 @@ async function reprobeExpiredNotReadyModel(deps, holder, modelId, correlationId)
1930
2023
  // readiness twin of the 0.3.11 endless-indexing incident). It must not be re-probed on every
1931
2024
  // request either — each probe can burn the full provider timeout against a dead gateway. So a
1932
2025
  // current-generation non-ready observation answers the guard only within this window; after it,
1933
- // configuration-owned background recovery, or the first conversation request that needs the model,
1934
- // re-probes and either heals or refreshes the pin. Answered failures retain slow background recovery.
2026
+ // the first conversation request, Workbench read or page load that needs the model re-probes and
2027
+ // either heals or refreshes the pin. Nothing re-probes on a timer (customer 1.3.4).
1935
2028
  export const NOT_READY_REPROBE_COOLDOWN_MS = 30_000;
1936
2029
  // Age of the current-generation EXPLICIT failed chat observation of a model, `NaN` when its
1937
2030
  // timestamp is malformed, `undefined` when there is no such observation. Only an explicit failed
@@ -1955,8 +2048,8 @@ function withinNotReadyCooldown(holder, modelId) {
1955
2048
  // The conversation-request twin of `withinNotReadyCooldown`: a request may start a probe only for a
1956
2049
  // failed observation whose LATEST evidence — the observation or the probe that settled it,
1957
2050
  // whichever is younger — has outlived the cooldown. A malformed or future timestamp fails CLOSED
1958
- // here (it yields no usable age): background recovery still probes such a model, but interactive
1959
- // Chat never adds a readiness request on a value it cannot date.
2051
+ // here (it yields no usable age): interactive Chat never adds a readiness request on a value it
2052
+ // cannot date; a page load still checks such a model again.
1960
2053
  function notReadyCooldownElapsed(holder, modelId) {
1961
2054
  const observedAgeMs = notReadyObservationAgeMs(holder, modelId);
1962
2055
  if (observedAgeMs === undefined)
@@ -1966,16 +2059,10 @@ function notReadyCooldownElapsed(holder, modelId) {
1966
2059
  const usableAges = ages.filter((ageMs) => Number.isFinite(ageMs) && ageMs >= 0);
1967
2060
  return usableAges.length > 0 && Math.min(...usableAges) >= NOT_READY_REPROBE_COOLDOWN_MS;
1968
2061
  }
1969
- function conversationProbeDue(deps, holder, modelId, backgroundAttempt) {
2062
+ function conversationProbeDue(deps, holder, modelId) {
1970
2063
  if (holder.current()?.providers.some((provider) => provider.modelId === modelId) !== true)
1971
2064
  return false;
1972
- if (!currentConversationReady(deps, modelId))
1973
- return true;
1974
- if (backgroundAttempt === undefined)
1975
- return false;
1976
- const observation = holder.verifiedCapability(modelId);
1977
- return (observation !== undefined &&
1978
- conversationReadinessAgeMs(observation) >= conversationReadinessRenewAfterMs());
2065
+ return !currentConversationReady(deps, modelId);
1979
2066
  }
1980
2067
  // `correlationId` is the conversation request that needed the answer: the probe's lines carry it,
1981
2068
  // so that request's timeline shows the check it waited for.
@@ -1983,7 +2070,7 @@ export async function ensureOnDemandConversationReadiness(deps, modelId, correla
1983
2070
  const holder = deps.gatewayConfig;
1984
2071
  if (holder === undefined || modelId.length === 0)
1985
2072
  return;
1986
- if (!conversationProbeDue(deps, holder, modelId, backgroundAttempt))
2073
+ if (!conversationProbeDue(deps, holder, modelId))
1987
2074
  return;
1988
2075
  if (withinNotReadyCooldown(holder, modelId))
1989
2076
  return;
@@ -2032,16 +2119,17 @@ async function observeOnDemandProbe(deps, modelId, probeCorrelationId) {
2032
2119
  finally {
2033
2120
  logAutomaticReadinessOutcome(deps, probeCorrelationId, modelId, outcome.overallStatus, 1, outcome.inconclusiveProbes);
2034
2121
  }
2035
- return outcome;
2036
2122
  }
2037
2123
  async function runOnDemandReadinessProbe(deps, holder, modelId, correlationId, backgroundAttempt) {
2038
2124
  const generation = holder.generation();
2039
2125
  const probeCorrelationId = correlationId ?? newCorrelationId();
2126
+ const config = holder.current();
2127
+ if (config !== undefined)
2128
+ conversationQueue(holder).startupChecked.set(modelId, conversationConnectionKey(config, modelId));
2040
2129
  logOnDemandProbeStarted(deps, holder, modelId, probeCorrelationId, backgroundAttempt);
2041
- const outcome = await observeOnDemandProbe(deps, modelId, probeCorrelationId);
2130
+ await observeOnDemandProbe(deps, modelId, probeCorrelationId);
2042
2131
  if (holder.generation() === generation) {
2043
2132
  const queue = conversationQueue(holder);
2044
- queue.retryable.set(modelId, outcome.inconclusiveProbes > 0);
2045
2133
  queue.probeSettledAt.set(modelId, Date.now());
2046
2134
  }
2047
2135
  // A failed report CLEARS the capability entry; without a current-generation observation