@oscharko-dev/keiko 0.2.8 → 0.2.10

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 (791) hide show
  1. package/README.md +63 -1
  2. package/dist/ui/csp-hashes.json +16 -15
  3. package/dist/ui/static/404.html +1 -1
  4. package/dist/ui/static/__next.__PAGE__.txt +2 -2
  5. package/dist/ui/static/__next._full.txt +3 -3
  6. package/dist/ui/static/__next._head.txt +1 -1
  7. package/dist/ui/static/__next._index.txt +2 -2
  8. package/dist/ui/static/__next._tree.txt +2 -2
  9. package/dist/ui/static/_next/static/chunks/1587.617caa17651dac38.js +1 -0
  10. package/dist/ui/static/_next/static/chunks/2063.22631ea0405e4bb8.js +1 -0
  11. package/dist/ui/static/_next/static/chunks/{3868.ea5f0ddf5e222dba.js → 3868.e696705096570012.js} +1 -1
  12. package/dist/ui/static/_next/static/chunks/3883.6a682796a62b576a.js +1 -0
  13. package/dist/ui/static/_next/static/chunks/3968.133ba5ea9ceed689.js +1 -0
  14. package/dist/ui/static/_next/static/chunks/4444.2b28731160b8c136.js +1 -0
  15. package/dist/ui/static/_next/static/chunks/4664.01816161d4b14377.js +1 -0
  16. package/dist/ui/static/_next/static/chunks/4666.f3269a33692c9356.js +1 -0
  17. package/dist/ui/static/_next/static/chunks/4792.093159997fe3fbef.js +1 -0
  18. package/dist/ui/static/_next/static/chunks/{9211-06ff5a834d85f608.js → 6565-478649df3cb99b80.js} +2 -2
  19. package/dist/ui/static/_next/static/chunks/7224.f9cb1fa496edbc51.js +1 -0
  20. package/dist/ui/static/_next/static/chunks/7301.0750920b7a295c19.js +1 -0
  21. package/dist/ui/static/_next/static/chunks/{3170.e25f90ed08f303e3.js → 7800.38d2bc697871471d.js} +2 -2
  22. package/dist/ui/static/_next/static/chunks/8296.6be6ff3991e15b05.js +1 -0
  23. package/dist/ui/static/_next/static/chunks/8395.500469ba6d01580a.js +1 -0
  24. package/dist/ui/static/_next/static/chunks/{8556.4f751fdef390f050.js → 8556.0ec3541a6b932c72.js} +1 -1
  25. package/dist/ui/static/_next/static/chunks/8776.c01a1d09c42a68f9.js +3 -0
  26. package/dist/ui/static/_next/static/chunks/8824-59a261e25fd0a5d0.js +102 -0
  27. package/dist/ui/static/_next/static/chunks/8835-0b991bfcb0308e77.js +1 -0
  28. package/dist/ui/static/_next/static/chunks/9682.565c030c9bd50e04.js +1 -0
  29. package/dist/ui/static/_next/static/chunks/9832.92edd670fc6dec55.js +1 -0
  30. package/dist/ui/static/_next/static/chunks/aad4249a.1f9d09171ef39096.js +45 -0
  31. package/dist/ui/static/_next/static/chunks/app/launch/page-7e1c4ec16697ece8.js +1 -0
  32. package/dist/ui/static/_next/static/chunks/app/local-knowledge/page-7aebdcecb102697e.js +1 -0
  33. package/dist/ui/static/_next/static/chunks/app/page-e7eafa7e282e0347.js +1 -0
  34. package/dist/ui/static/_next/static/chunks/webpack-c61050a60249b41b.js +1 -0
  35. package/dist/ui/static/_next/static/css/a44f4ffb37299b42.css +3 -0
  36. package/dist/ui/static/_next/static/media/pdf.worker.145f9e3d.mjs +6 -0
  37. package/dist/ui/static/_not-found/__next._full.txt +2 -2
  38. package/dist/ui/static/_not-found/__next._head.txt +1 -1
  39. package/dist/ui/static/_not-found/__next._index.txt +2 -2
  40. package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +1 -1
  41. package/dist/ui/static/_not-found/__next._not-found.txt +1 -1
  42. package/dist/ui/static/_not-found/__next._tree.txt +2 -2
  43. package/dist/ui/static/_not-found.html +1 -1
  44. package/dist/ui/static/_not-found.txt +2 -2
  45. package/dist/ui/static/index.html +1 -1
  46. package/dist/ui/static/index.txt +3 -3
  47. package/dist/ui/static/keiko-playback-worklet.js +1 -0
  48. package/dist/ui/static/launch/__next._full.txt +3 -3
  49. package/dist/ui/static/launch/__next._head.txt +1 -1
  50. package/dist/ui/static/launch/__next._index.txt +2 -2
  51. package/dist/ui/static/launch/__next._tree.txt +2 -2
  52. package/dist/ui/static/launch/__next.launch.__PAGE__.txt +2 -2
  53. package/dist/ui/static/launch/__next.launch.txt +1 -1
  54. package/dist/ui/static/launch.html +1 -1
  55. package/dist/ui/static/launch.txt +3 -3
  56. package/dist/ui/static/local-knowledge/__next._full.txt +3 -3
  57. package/dist/ui/static/local-knowledge/__next._head.txt +1 -1
  58. package/dist/ui/static/local-knowledge/__next._index.txt +2 -2
  59. package/dist/ui/static/local-knowledge/__next._tree.txt +2 -2
  60. package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +2 -2
  61. package/dist/ui/static/local-knowledge/__next.local-knowledge.txt +1 -1
  62. package/dist/ui/static/local-knowledge/capsule/__next._full.txt +3 -3
  63. package/dist/ui/static/local-knowledge/capsule/__next._head.txt +1 -1
  64. package/dist/ui/static/local-knowledge/capsule/__next._index.txt +2 -2
  65. package/dist/ui/static/local-knowledge/capsule/__next._tree.txt +2 -2
  66. package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.__PAGE__.txt +2 -2
  67. package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.txt +1 -1
  68. package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.txt +1 -1
  69. package/dist/ui/static/local-knowledge/capsule.html +1 -1
  70. package/dist/ui/static/local-knowledge/capsule.txt +3 -3
  71. package/dist/ui/static/local-knowledge.html +1 -1
  72. package/dist/ui/static/local-knowledge.txt +3 -3
  73. package/dist/ui/static/memoriaviva/__next._full.txt +2 -2
  74. package/dist/ui/static/memoriaviva/__next._head.txt +1 -1
  75. package/dist/ui/static/memoriaviva/__next._index.txt +2 -2
  76. package/dist/ui/static/memoriaviva/__next._tree.txt +2 -2
  77. package/dist/ui/static/memoriaviva/__next.memoriaviva.__PAGE__.txt +1 -1
  78. package/dist/ui/static/memoriaviva/__next.memoriaviva.txt +1 -1
  79. package/dist/ui/static/memoriaviva/consolidation/__next._full.txt +2 -2
  80. package/dist/ui/static/memoriaviva/consolidation/__next._head.txt +1 -1
  81. package/dist/ui/static/memoriaviva/consolidation/__next._index.txt +2 -2
  82. package/dist/ui/static/memoriaviva/consolidation/__next._tree.txt +2 -2
  83. package/dist/ui/static/memoriaviva/consolidation/__next.memoriaviva.consolidation.__PAGE__.txt +1 -1
  84. package/dist/ui/static/memoriaviva/consolidation/__next.memoriaviva.consolidation.txt +1 -1
  85. package/dist/ui/static/memoriaviva/consolidation/__next.memoriaviva.txt +1 -1
  86. package/dist/ui/static/memoriaviva/consolidation.html +1 -1
  87. package/dist/ui/static/memoriaviva/consolidation.txt +2 -2
  88. package/dist/ui/static/memoriaviva/detail/__next._full.txt +2 -2
  89. package/dist/ui/static/memoriaviva/detail/__next._head.txt +1 -1
  90. package/dist/ui/static/memoriaviva/detail/__next._index.txt +2 -2
  91. package/dist/ui/static/memoriaviva/detail/__next._tree.txt +2 -2
  92. package/dist/ui/static/memoriaviva/detail/__next.memoriaviva.detail.__PAGE__.txt +1 -1
  93. package/dist/ui/static/memoriaviva/detail/__next.memoriaviva.detail.txt +1 -1
  94. package/dist/ui/static/memoriaviva/detail/__next.memoriaviva.txt +1 -1
  95. package/dist/ui/static/memoriaviva/detail.html +1 -1
  96. package/dist/ui/static/memoriaviva/detail.txt +2 -2
  97. package/dist/ui/static/memoriaviva/review-queue/__next._full.txt +2 -2
  98. package/dist/ui/static/memoriaviva/review-queue/__next._head.txt +1 -1
  99. package/dist/ui/static/memoriaviva/review-queue/__next._index.txt +2 -2
  100. package/dist/ui/static/memoriaviva/review-queue/__next._tree.txt +2 -2
  101. package/dist/ui/static/memoriaviva/review-queue/__next.memoriaviva.review-queue.__PAGE__.txt +1 -1
  102. package/dist/ui/static/memoriaviva/review-queue/__next.memoriaviva.review-queue.txt +1 -1
  103. package/dist/ui/static/memoriaviva/review-queue/__next.memoriaviva.txt +1 -1
  104. package/dist/ui/static/memoriaviva/review-queue.html +1 -1
  105. package/dist/ui/static/memoriaviva/review-queue.txt +2 -2
  106. package/dist/ui/static/memoriaviva.html +1 -1
  107. package/dist/ui/static/memoriaviva.txt +2 -2
  108. package/node_modules/@oscharko-dev/keiko-cli/dist/.tsbuildinfo +1 -1
  109. package/node_modules/@oscharko-dev/keiko-cli/dist/install-layout.d.ts +0 -1
  110. package/node_modules/@oscharko-dev/keiko-cli/dist/install-layout.d.ts.map +1 -1
  111. package/node_modules/@oscharko-dev/keiko-cli/dist/install-layout.js +1 -1
  112. package/node_modules/@oscharko-dev/keiko-cli/dist/launcher-paths.d.ts +0 -1
  113. package/node_modules/@oscharko-dev/keiko-cli/dist/launcher-paths.d.ts.map +1 -1
  114. package/node_modules/@oscharko-dev/keiko-cli/dist/launcher-paths.js +1 -1
  115. package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.d.ts.map +1 -1
  116. package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.js +33 -7
  117. package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.d.ts +0 -1
  118. package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.d.ts.map +1 -1
  119. package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.js +1 -1
  120. package/node_modules/@oscharko-dev/keiko-cli/dist/ui.d.ts +0 -2
  121. package/node_modules/@oscharko-dev/keiko-cli/dist/ui.d.ts.map +1 -1
  122. package/node_modules/@oscharko-dev/keiko-cli/dist/ui.js +2 -2
  123. package/node_modules/@oscharko-dev/keiko-cli/package.json +14 -14
  124. package/node_modules/@oscharko-dev/keiko-contracts/dist/.tsbuildinfo +1 -1
  125. package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts +33 -0
  126. package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts.map +1 -1
  127. package/node_modules/@oscharko-dev/keiko-contracts/dist/command-runner.d.ts +81 -0
  128. package/node_modules/@oscharko-dev/keiko-contracts/dist/command-runner.d.ts.map +1 -0
  129. package/node_modules/@oscharko-dev/keiko-contracts/dist/command-runner.js +209 -0
  130. package/node_modules/@oscharko-dev/keiko-contracts/dist/container-runtime.d.ts +125 -0
  131. package/node_modules/@oscharko-dev/keiko-contracts/dist/container-runtime.d.ts.map +1 -0
  132. package/node_modules/@oscharko-dev/keiko-contracts/dist/container-runtime.js +287 -0
  133. package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering.js +2 -2
  134. package/node_modules/@oscharko-dev/keiko-contracts/dist/discussion-intelligence.d.ts +70 -0
  135. package/node_modules/@oscharko-dev/keiko-contracts/dist/discussion-intelligence.d.ts.map +1 -0
  136. package/node_modules/@oscharko-dev/keiko-contracts/dist/discussion-intelligence.js +440 -0
  137. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-agent-governance.d.ts +65 -0
  138. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-agent-governance.d.ts.map +1 -0
  139. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-agent-governance.js +180 -0
  140. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-agent.d.ts +29 -1
  141. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-agent.d.ts.map +1 -1
  142. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-agent.js +183 -6
  143. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-builtin-capabilities.d.ts +13 -0
  144. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-builtin-capabilities.d.ts.map +1 -0
  145. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-builtin-capabilities.js +135 -0
  146. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-language-mode-map.d.ts +11 -0
  147. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-language-mode-map.d.ts.map +1 -0
  148. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-language-mode-map.js +89 -0
  149. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-layout.d.ts +37 -0
  150. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-layout.d.ts.map +1 -1
  151. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-layout.js +125 -8
  152. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-workspace-path.d.ts +20 -0
  153. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-workspace-path.d.ts.map +1 -0
  154. package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-workspace-path.js +133 -0
  155. package/node_modules/@oscharko-dev/keiko-contracts/dist/evidence.d.ts +3 -1
  156. package/node_modules/@oscharko-dev/keiko-contracts/dist/evidence.d.ts.map +1 -1
  157. package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.d.ts +72 -3
  158. package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.d.ts.map +1 -1
  159. package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.js +73 -3
  160. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-commit-intent.d.ts +28 -0
  161. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-commit-intent.d.ts.map +1 -0
  162. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-commit-intent.js +155 -0
  163. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-commit-policy.d.ts +29 -0
  164. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-commit-policy.d.ts.map +1 -0
  165. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-commit-policy.js +173 -0
  166. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-delivery-action-sheet.d.ts +157 -0
  167. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-delivery-action-sheet.d.ts.map +1 -0
  168. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-delivery-action-sheet.js +430 -0
  169. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-delivery-evidence.d.ts +92 -0
  170. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-delivery-evidence.d.ts.map +1 -0
  171. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-delivery-evidence.js +272 -0
  172. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-delivery-policy.d.ts +40 -0
  173. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-delivery-policy.d.ts.map +1 -0
  174. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-delivery-policy.js +183 -0
  175. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-delivery-provider.d.ts +53 -0
  176. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-delivery-provider.d.ts.map +1 -0
  177. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-delivery-provider.js +96 -0
  178. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-delivery.d.ts +202 -0
  179. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-delivery.d.ts.map +1 -0
  180. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-delivery.js +410 -0
  181. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-history.d.ts +27 -0
  182. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-history.d.ts.map +1 -0
  183. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-history.js +73 -0
  184. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-merge.d.ts +67 -0
  185. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-merge.d.ts.map +1 -0
  186. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-merge.js +323 -0
  187. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-pull-request.d.ts +112 -0
  188. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-pull-request.d.ts.map +1 -0
  189. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-pull-request.js +351 -0
  190. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-repository-agent.d.ts +46 -0
  191. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-repository-agent.d.ts.map +1 -0
  192. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-repository-agent.js +198 -0
  193. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-repository-summary.d.ts +54 -0
  194. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-repository-summary.d.ts.map +1 -0
  195. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-repository-summary.js +105 -0
  196. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-repository.d.ts +60 -0
  197. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-repository.d.ts.map +1 -0
  198. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-repository.js +106 -0
  199. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-sync.d.ts +49 -0
  200. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-sync.d.ts.map +1 -0
  201. package/node_modules/@oscharko-dev/keiko-contracts/dist/git-sync.js +110 -0
  202. package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts +65 -9
  203. package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts.map +1 -1
  204. package/node_modules/@oscharko-dev/keiko-contracts/dist/index.js +34 -6
  205. package/node_modules/@oscharko-dev/keiko-contracts/dist/local-knowledge-preview.d.ts +101 -0
  206. package/node_modules/@oscharko-dev/keiko-contracts/dist/local-knowledge-preview.d.ts.map +1 -0
  207. package/node_modules/@oscharko-dev/keiko-contracts/dist/local-knowledge-preview.js +62 -0
  208. package/node_modules/@oscharko-dev/keiko-contracts/dist/local-knowledge-schema.d.ts +1 -1
  209. package/node_modules/@oscharko-dev/keiko-contracts/dist/local-knowledge-schema.d.ts.map +1 -1
  210. package/node_modules/@oscharko-dev/keiko-contracts/dist/local-knowledge-schema.js +59 -2
  211. package/node_modules/@oscharko-dev/keiko-contracts/dist/lsp-process.d.ts +38 -0
  212. package/node_modules/@oscharko-dev/keiko-contracts/dist/lsp-process.d.ts.map +1 -0
  213. package/node_modules/@oscharko-dev/keiko-contracts/dist/lsp-process.js +103 -0
  214. package/node_modules/@oscharko-dev/keiko-contracts/dist/runtime-capabilities.d.ts +44 -0
  215. package/node_modules/@oscharko-dev/keiko-contracts/dist/runtime-capabilities.d.ts.map +1 -0
  216. package/node_modules/@oscharko-dev/keiko-contracts/dist/runtime-capabilities.js +141 -0
  217. package/node_modules/@oscharko-dev/keiko-contracts/dist/task-workspace.d.ts +302 -0
  218. package/node_modules/@oscharko-dev/keiko-contracts/dist/task-workspace.d.ts.map +1 -0
  219. package/node_modules/@oscharko-dev/keiko-contracts/dist/task-workspace.js +1236 -0
  220. package/node_modules/@oscharko-dev/keiko-contracts/dist/voice-action-intent.d.ts +86 -0
  221. package/node_modules/@oscharko-dev/keiko-contracts/dist/voice-action-intent.d.ts.map +1 -0
  222. package/node_modules/@oscharko-dev/keiko-contracts/dist/voice-action-intent.js +387 -0
  223. package/node_modules/@oscharko-dev/keiko-contracts/dist/voice-playback.d.ts +50 -0
  224. package/node_modules/@oscharko-dev/keiko-contracts/dist/voice-playback.d.ts.map +1 -0
  225. package/node_modules/@oscharko-dev/keiko-contracts/dist/voice-playback.js +240 -0
  226. package/node_modules/@oscharko-dev/keiko-contracts/dist/voice-protocol.d.ts +165 -0
  227. package/node_modules/@oscharko-dev/keiko-contracts/dist/voice-protocol.d.ts.map +1 -0
  228. package/node_modules/@oscharko-dev/keiko-contracts/dist/voice-protocol.js +312 -0
  229. package/node_modules/@oscharko-dev/keiko-contracts/dist/voice-transcript.d.ts +57 -0
  230. package/node_modules/@oscharko-dev/keiko-contracts/dist/voice-transcript.d.ts.map +1 -0
  231. package/node_modules/@oscharko-dev/keiko-contracts/dist/voice-transcript.js +221 -0
  232. package/node_modules/@oscharko-dev/keiko-contracts/package.json +9 -1
  233. package/node_modules/@oscharko-dev/keiko-evaluations/dist/.tsbuildinfo +1 -1
  234. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/fixtures/correction.d.ts +5 -0
  235. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/fixtures/correction.d.ts.map +1 -0
  236. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/fixtures/correction.js +53 -0
  237. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/fixtures/index.d.ts +5 -0
  238. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/fixtures/index.d.ts.map +1 -0
  239. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/fixtures/index.js +17 -0
  240. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/fixtures/no-voice.d.ts +6 -0
  241. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/fixtures/no-voice.d.ts.map +1 -0
  242. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/fixtures/no-voice.js +79 -0
  243. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/fixtures/voice.d.ts +5 -0
  244. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/fixtures/voice.d.ts.map +1 -0
  245. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/fixtures/voice.js +57 -0
  246. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/index.d.ts +6 -0
  247. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/index.d.ts.map +1 -0
  248. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/index.js +9 -0
  249. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/render.d.ts +3 -0
  250. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/render.d.ts.map +1 -0
  251. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/render.js +49 -0
  252. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/runner.d.ts +13 -0
  253. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/runner.d.ts.map +1 -0
  254. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/runner.js +80 -0
  255. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/scorer.d.ts +8 -0
  256. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/scorer.d.ts.map +1 -0
  257. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/scorer.js +225 -0
  258. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/types.d.ts +71 -0
  259. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/types.d.ts.map +1 -0
  260. package/node_modules/@oscharko-dev/keiko-evaluations/dist/discussion/types.js +29 -0
  261. package/node_modules/@oscharko-dev/keiko-evaluations/dist/index.d.ts +2 -0
  262. package/node_modules/@oscharko-dev/keiko-evaluations/dist/index.d.ts.map +1 -1
  263. package/node_modules/@oscharko-dev/keiko-evaluations/dist/index.js +6 -0
  264. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/fixtures/adversarial.d.ts +9 -0
  265. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/fixtures/adversarial.d.ts.map +1 -0
  266. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/fixtures/adversarial.js +163 -0
  267. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/fixtures/index.d.ts +5 -0
  268. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/fixtures/index.d.ts.map +1 -0
  269. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/fixtures/index.js +17 -0
  270. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/fixtures/no-voice.d.ts +5 -0
  271. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/fixtures/no-voice.d.ts.map +1 -0
  272. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/fixtures/no-voice.js +37 -0
  273. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/fixtures/segment.d.ts +11 -0
  274. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/fixtures/segment.d.ts.map +1 -0
  275. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/fixtures/segment.js +25 -0
  276. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/fixtures/voice.d.ts +6 -0
  277. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/fixtures/voice.d.ts.map +1 -0
  278. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/fixtures/voice.js +74 -0
  279. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/index.d.ts +6 -0
  280. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/index.d.ts.map +1 -0
  281. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/index.js +10 -0
  282. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/render.d.ts +3 -0
  283. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/render.d.ts.map +1 -0
  284. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/render.js +49 -0
  285. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/runner.d.ts +14 -0
  286. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/runner.d.ts.map +1 -0
  287. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/runner.js +149 -0
  288. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/scorer.d.ts +8 -0
  289. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/scorer.d.ts.map +1 -0
  290. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/scorer.js +247 -0
  291. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/types.d.ts +82 -0
  292. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/types.d.ts.map +1 -0
  293. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-action/types.js +30 -0
  294. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/capability.d.ts +4 -0
  295. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/capability.d.ts.map +1 -0
  296. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/capability.js +26 -0
  297. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/fixtures/full-realtime.d.ts +3 -0
  298. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/fixtures/full-realtime.d.ts.map +1 -0
  299. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/fixtures/full-realtime.js +36 -0
  300. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/fixtures/index.d.ts +5 -0
  301. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/fixtures/index.d.ts.map +1 -0
  302. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/fixtures/index.js +21 -0
  303. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/fixtures/no-voice.d.ts +3 -0
  304. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/fixtures/no-voice.d.ts.map +1 -0
  305. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/fixtures/no-voice.js +33 -0
  306. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/fixtures/privacy.d.ts +3 -0
  307. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/fixtures/privacy.d.ts.map +1 -0
  308. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/fixtures/privacy.js +69 -0
  309. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/fixtures/speech-output.d.ts +3 -0
  310. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/fixtures/speech-output.d.ts.map +1 -0
  311. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/fixtures/speech-output.js +32 -0
  312. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/fixtures/stt-only.d.ts +3 -0
  313. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/fixtures/stt-only.d.ts.map +1 -0
  314. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/fixtures/stt-only.js +35 -0
  315. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/index.d.ts +10 -0
  316. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/index.d.ts.map +1 -0
  317. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/index.js +14 -0
  318. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/metrics.d.ts +10 -0
  319. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/metrics.d.ts.map +1 -0
  320. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/metrics.js +142 -0
  321. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/privacy.d.ts +9 -0
  322. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/privacy.d.ts.map +1 -0
  323. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/privacy.js +100 -0
  324. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/profiles.d.ts +15 -0
  325. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/profiles.d.ts.map +1 -0
  326. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/profiles.js +58 -0
  327. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/render.d.ts +3 -0
  328. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/render.d.ts.map +1 -0
  329. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/render.js +53 -0
  330. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/runner.d.ts +13 -0
  331. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/runner.d.ts.map +1 -0
  332. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/runner.js +141 -0
  333. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/scorer.d.ts +8 -0
  334. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/scorer.d.ts.map +1 -0
  335. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/scorer.js +323 -0
  336. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/types.d.ts +149 -0
  337. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/types.d.ts.map +1 -0
  338. package/node_modules/@oscharko-dev/keiko-evaluations/dist/voice-twin/types.js +45 -0
  339. package/node_modules/@oscharko-dev/keiko-evaluations/package.json +9 -9
  340. package/node_modules/@oscharko-dev/keiko-evidence/dist/.tsbuildinfo +1 -1
  341. package/node_modules/@oscharko-dev/keiko-evidence/package.json +4 -4
  342. package/node_modules/@oscharko-dev/keiko-harness/dist/.tsbuildinfo +1 -1
  343. package/node_modules/@oscharko-dev/keiko-harness/package.json +6 -6
  344. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/.tsbuildinfo +1 -1
  345. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/citation-preview-snapshot.d.ts +15 -0
  346. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/citation-preview-snapshot.d.ts.map +1 -0
  347. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/citation-preview-snapshot.js +49 -0
  348. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/index.d.ts +1 -0
  349. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/index.d.ts.map +1 -1
  350. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/index.js +1 -0
  351. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/html-parser.js +2 -2
  352. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/privacy/audit-emitter.d.ts.map +1 -1
  353. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/privacy/audit-emitter.js +45 -19
  354. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/privacy/types.d.ts +21 -1
  355. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/privacy/types.d.ts.map +1 -1
  356. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/scoped-vector-search.js +2 -2
  357. package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +6 -6
  358. package/node_modules/@oscharko-dev/keiko-memory-capture/package.json +3 -3
  359. package/node_modules/@oscharko-dev/keiko-memory-consolidation/package.json +3 -3
  360. package/node_modules/@oscharko-dev/keiko-memory-governance/package.json +3 -3
  361. package/node_modules/@oscharko-dev/keiko-memory-retrieval/package.json +3 -3
  362. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/.tsbuildinfo +1 -1
  363. package/node_modules/@oscharko-dev/keiko-memory-vault/package.json +3 -3
  364. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/.tsbuildinfo +1 -1
  365. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/capabilities.d.ts +8 -1
  366. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/capabilities.d.ts.map +1 -1
  367. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/capabilities.js +97 -1
  368. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/config.d.ts.map +1 -1
  369. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/config.js +215 -2
  370. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.d.ts +1 -0
  371. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.d.ts.map +1 -1
  372. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.js +51 -5
  373. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/index.d.ts +6 -3
  374. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/index.d.ts.map +1 -1
  375. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/index.js +5 -2
  376. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.d.ts +10 -2
  377. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.d.ts.map +1 -1
  378. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.js +86 -1
  379. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/realtime-voice-adapter.d.ts +49 -0
  380. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/realtime-voice-adapter.d.ts.map +1 -0
  381. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/realtime-voice-adapter.js +306 -0
  382. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/speech-to-text-adapter.d.ts +33 -0
  383. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/speech-to-text-adapter.d.ts.map +1 -0
  384. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/speech-to-text-adapter.js +238 -0
  385. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/text-to-speech-adapter.d.ts +56 -0
  386. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/text-to-speech-adapter.d.ts.map +1 -0
  387. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/text-to-speech-adapter.js +240 -0
  388. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/types.d.ts +13 -3
  389. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/types.d.ts.map +1 -1
  390. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/types.js +1 -1
  391. package/node_modules/@oscharko-dev/keiko-model-gateway/package.json +3 -3
  392. package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/.tsbuildinfo +1 -1
  393. package/node_modules/@oscharko-dev/keiko-quality-intelligence/package.json +3 -3
  394. package/node_modules/@oscharko-dev/keiko-sandbox/dist/.tsbuildinfo +1 -1
  395. package/node_modules/@oscharko-dev/keiko-sandbox/package.json +2 -2
  396. package/node_modules/@oscharko-dev/keiko-sdk/dist/.tsbuildinfo +1 -1
  397. package/node_modules/@oscharko-dev/keiko-sdk/package.json +9 -9
  398. package/node_modules/@oscharko-dev/keiko-security/dist/.tsbuildinfo +1 -1
  399. package/node_modules/@oscharko-dev/keiko-security/dist/redaction.d.ts.map +1 -1
  400. package/node_modules/@oscharko-dev/keiko-security/dist/redaction.js +12 -0
  401. package/node_modules/@oscharko-dev/keiko-security/package.json +2 -2
  402. package/node_modules/@oscharko-dev/keiko-server/dist/.tsbuildinfo +1 -1
  403. package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts +18 -2
  404. package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts.map +1 -1
  405. package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.js +185 -3
  406. package/node_modules/@oscharko-dev/keiko-server/dist/command-runner-errors.d.ts +17 -0
  407. package/node_modules/@oscharko-dev/keiko-server/dist/command-runner-errors.d.ts.map +1 -0
  408. package/node_modules/@oscharko-dev/keiko-server/dist/command-runner-errors.js +37 -0
  409. package/node_modules/@oscharko-dev/keiko-server/dist/command-runner-evidence.d.ts +23 -0
  410. package/node_modules/@oscharko-dev/keiko-server/dist/command-runner-evidence.d.ts.map +1 -0
  411. package/node_modules/@oscharko-dev/keiko-server/dist/command-runner-evidence.js +69 -0
  412. package/node_modules/@oscharko-dev/keiko-server/dist/command-runner-routes.d.ts +7 -0
  413. package/node_modules/@oscharko-dev/keiko-server/dist/command-runner-routes.d.ts.map +1 -0
  414. package/node_modules/@oscharko-dev/keiko-server/dist/command-runner-routes.js +175 -0
  415. package/node_modules/@oscharko-dev/keiko-server/dist/command-runner.d.ts +29 -0
  416. package/node_modules/@oscharko-dev/keiko-server/dist/command-runner.d.ts.map +1 -0
  417. package/node_modules/@oscharko-dev/keiko-server/dist/command-runner.js +348 -0
  418. package/node_modules/@oscharko-dev/keiko-server/dist/conversation-prompt.d.ts +2 -2
  419. package/node_modules/@oscharko-dev/keiko-server/dist/conversation-prompt.d.ts.map +1 -1
  420. package/node_modules/@oscharko-dev/keiko-server/dist/conversation-prompt.js +17 -1
  421. package/node_modules/@oscharko-dev/keiko-server/dist/csp.d.ts.map +1 -1
  422. package/node_modules/@oscharko-dev/keiko-server/dist/csp.js +3 -0
  423. package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts +29 -1
  424. package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
  425. package/node_modules/@oscharko-dev/keiko-server/dist/deps.js +288 -13
  426. package/node_modules/@oscharko-dev/keiko-server/dist/discussion-prompt.d.ts +4 -0
  427. package/node_modules/@oscharko-dev/keiko-server/dist/discussion-prompt.d.ts.map +1 -0
  428. package/node_modules/@oscharko-dev/keiko-server/dist/discussion-prompt.js +19 -0
  429. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentActionAudit.d.ts +18 -0
  430. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentActionAudit.d.ts.map +1 -0
  431. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentActionAudit.js +80 -0
  432. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.d.ts +1 -0
  433. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.d.ts.map +1 -1
  434. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.js +292 -55
  435. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentSessionRegistry.d.ts +35 -0
  436. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentSessionRegistry.d.ts.map +1 -0
  437. package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentSessionRegistry.js +243 -0
  438. package/node_modules/@oscharko-dev/keiko-server/dist/editor/completionRoutes.d.ts.map +1 -1
  439. package/node_modules/@oscharko-dev/keiko-server/dist/editor/completionRoutes.js +5 -10
  440. package/node_modules/@oscharko-dev/keiko-server/dist/editor/languageRoutes.d.ts +12 -1
  441. package/node_modules/@oscharko-dev/keiko-server/dist/editor/languageRoutes.d.ts.map +1 -1
  442. package/node_modules/@oscharko-dev/keiko-server/dist/editor/languageRoutes.js +71 -8
  443. package/node_modules/@oscharko-dev/keiko-server/dist/editor/languageService.d.ts +3 -2
  444. package/node_modules/@oscharko-dev/keiko-server/dist/editor/languageService.d.ts.map +1 -1
  445. package/node_modules/@oscharko-dev/keiko-server/dist/editor/languageService.js +41 -3
  446. package/node_modules/@oscharko-dev/keiko-server/dist/editor/languageServiceHost.d.ts.map +1 -1
  447. package/node_modules/@oscharko-dev/keiko-server/dist/editor/languageServiceHost.js +2 -2
  448. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/hostLanguageOperation.d.ts +17 -0
  449. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/hostLanguageOperation.d.ts.map +1 -0
  450. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/hostLanguageOperation.js +436 -0
  451. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/hostLanguageProviders.d.ts +26 -0
  452. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/hostLanguageProviders.d.ts.map +1 -0
  453. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/hostLanguageProviders.js +161 -0
  454. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspFrameCodec.d.ts +13 -0
  455. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspFrameCodec.d.ts.map +1 -0
  456. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspFrameCodec.js +164 -0
  457. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspJsonRpcClient.d.ts +34 -0
  458. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspJsonRpcClient.d.ts.map +1 -0
  459. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspJsonRpcClient.js +173 -0
  460. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspLanguageProvider.d.ts +7 -0
  461. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspLanguageProvider.d.ts.map +1 -0
  462. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspLanguageProvider.js +29 -0
  463. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspLifecycleLedger.d.ts +5 -0
  464. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspLifecycleLedger.d.ts.map +1 -0
  465. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspLifecycleLedger.js +37 -0
  466. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspNodeAdapter.d.ts +31 -0
  467. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspNodeAdapter.d.ts.map +1 -0
  468. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspNodeAdapter.js +230 -0
  469. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspProcessManager.d.ts +24 -0
  470. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspProcessManager.d.ts.map +1 -0
  471. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspProcessManager.js +255 -0
  472. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspRestartThrottle.d.ts +6 -0
  473. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspRestartThrottle.d.ts.map +1 -0
  474. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspRestartThrottle.js +24 -0
  475. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspStatusRoute.d.ts +8 -0
  476. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspStatusRoute.d.ts.map +1 -0
  477. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspStatusRoute.js +22 -0
  478. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspTransport.d.ts +19 -0
  479. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspTransport.d.ts.map +1 -0
  480. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspTransport.js +55 -0
  481. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/testing/fakeLspProcess.d.ts +23 -0
  482. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/testing/fakeLspProcess.d.ts.map +1 -0
  483. package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/testing/fakeLspProcess.js +132 -0
  484. package/node_modules/@oscharko-dev/keiko-server/dist/files.d.ts +45 -0
  485. package/node_modules/@oscharko-dev/keiko-server/dist/files.d.ts.map +1 -1
  486. package/node_modules/@oscharko-dev/keiko-server/dist/files.js +631 -7
  487. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.js +3 -3
  488. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts +2 -0
  489. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts.map +1 -1
  490. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.js +275 -11
  491. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/actionSheetProjection.d.ts +30 -0
  492. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/actionSheetProjection.d.ts.map +1 -0
  493. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/actionSheetProjection.js +206 -0
  494. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/actionSheetRoutes.d.ts +29 -0
  495. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/actionSheetRoutes.d.ts.map +1 -0
  496. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/actionSheetRoutes.js +293 -0
  497. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/agentOperationsRoutes.d.ts +33 -0
  498. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/agentOperationsRoutes.d.ts.map +1 -0
  499. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/agentOperationsRoutes.js +405 -0
  500. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitRoutes.d.ts +23 -0
  501. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitRoutes.d.ts.map +1 -0
  502. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitRoutes.js +204 -0
  503. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/evidenceRoutes.d.ts +9 -0
  504. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/evidenceRoutes.d.ts.map +1 -0
  505. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/evidenceRoutes.js +101 -0
  506. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/execution.d.ts +38 -0
  507. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/execution.d.ts.map +1 -0
  508. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/execution.js +117 -0
  509. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/localMutationRoutes.d.ts +30 -0
  510. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/localMutationRoutes.d.ts.map +1 -0
  511. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/localMutationRoutes.js +165 -0
  512. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/mergeExecution.d.ts +63 -0
  513. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/mergeExecution.d.ts.map +1 -0
  514. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/mergeExecution.js +168 -0
  515. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/mergeRoutes.d.ts +12 -0
  516. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/mergeRoutes.d.ts.map +1 -0
  517. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/mergeRoutes.js +218 -0
  518. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/mutationEvidenceLedger.d.ts +23 -0
  519. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/mutationEvidenceLedger.d.ts.map +1 -0
  520. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/mutationEvidenceLedger.js +87 -0
  521. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prExecution.d.ts +54 -0
  522. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prExecution.d.ts.map +1 -0
  523. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prExecution.js +192 -0
  524. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prRoutes.d.ts +12 -0
  525. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prRoutes.d.ts.map +1 -0
  526. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prRoutes.js +256 -0
  527. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/pushExecution.d.ts +43 -0
  528. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/pushExecution.d.ts.map +1 -0
  529. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/pushExecution.js +124 -0
  530. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/pushRoutes.d.ts +12 -0
  531. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/pushRoutes.d.ts.map +1 -0
  532. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/pushRoutes.js +200 -0
  533. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/requestGuards.d.ts +15 -0
  534. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/requestGuards.d.ts.map +1 -0
  535. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/requestGuards.js +97 -0
  536. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/syncEvidence.d.ts +37 -0
  537. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/syncEvidence.d.ts.map +1 -0
  538. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/syncEvidence.js +85 -0
  539. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/syncExecution.d.ts +30 -0
  540. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/syncExecution.d.ts.map +1 -0
  541. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/syncExecution.js +266 -0
  542. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/syncRoutes.d.ts +13 -0
  543. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/syncRoutes.d.ts.map +1 -0
  544. package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/syncRoutes.js +200 -0
  545. package/node_modules/@oscharko-dev/keiko-server/dist/gitPorcelainStatus.d.ts +15 -0
  546. package/node_modules/@oscharko-dev/keiko-server/dist/gitPorcelainStatus.d.ts.map +1 -0
  547. package/node_modules/@oscharko-dev/keiko-server/dist/gitPorcelainStatus.js +104 -0
  548. package/node_modules/@oscharko-dev/keiko-server/dist/gitRepositoryReads.d.ts +10 -0
  549. package/node_modules/@oscharko-dev/keiko-server/dist/gitRepositoryReads.d.ts.map +1 -0
  550. package/node_modules/@oscharko-dev/keiko-server/dist/gitRepositoryReads.js +314 -0
  551. package/node_modules/@oscharko-dev/keiko-server/dist/gitRepositoryRoutes.d.ts +7 -0
  552. package/node_modules/@oscharko-dev/keiko-server/dist/gitRepositoryRoutes.d.ts.map +1 -0
  553. package/node_modules/@oscharko-dev/keiko-server/dist/gitRepositoryRoutes.js +221 -0
  554. package/node_modules/@oscharko-dev/keiko-server/dist/gitRoutes.d.ts +66 -0
  555. package/node_modules/@oscharko-dev/keiko-server/dist/gitRoutes.d.ts.map +1 -0
  556. package/node_modules/@oscharko-dev/keiko-server/dist/gitRoutes.js +543 -0
  557. package/node_modules/@oscharko-dev/keiko-server/dist/governed-workflow.d.ts +2 -0
  558. package/node_modules/@oscharko-dev/keiko-server/dist/governed-workflow.d.ts.map +1 -1
  559. package/node_modules/@oscharko-dev/keiko-server/dist/governed-workflow.js +4 -0
  560. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-hybrid.d.ts.map +1 -1
  561. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-hybrid.js +19 -2
  562. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.d.ts +11 -0
  563. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.d.ts.map +1 -1
  564. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.js +13 -4
  565. package/node_modules/@oscharko-dev/keiko-server/dist/headers.d.ts +4 -1
  566. package/node_modules/@oscharko-dev/keiko-server/dist/headers.d.ts.map +1 -1
  567. package/node_modules/@oscharko-dev/keiko-server/dist/headers.js +11 -4
  568. package/node_modules/@oscharko-dev/keiko-server/dist/index.d.ts +8 -1
  569. package/node_modules/@oscharko-dev/keiko-server/dist/index.d.ts.map +1 -1
  570. package/node_modules/@oscharko-dev/keiko-server/dist/index.js +9 -1
  571. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-grounded-qa.d.ts.map +1 -1
  572. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-grounded-qa.js +26 -4
  573. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-preview-authority.d.ts +11 -0
  574. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-preview-authority.d.ts.map +1 -0
  575. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-preview-authority.js +85 -0
  576. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-preview-delivery.d.ts +16 -0
  577. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-preview-delivery.d.ts.map +1 -0
  578. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-preview-delivery.js +131 -0
  579. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-preview-handlers.d.ts +8 -0
  580. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-preview-handlers.d.ts.map +1 -0
  581. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-preview-handlers.js +349 -0
  582. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-preview-service.d.ts +29 -0
  583. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-preview-service.d.ts.map +1 -0
  584. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-preview-service.js +260 -0
  585. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-preview-session-manager.d.ts +41 -0
  586. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-preview-session-manager.d.ts.map +1 -0
  587. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-preview-session-manager.js +145 -0
  588. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figmaSnapshotRoutes.d.ts +1 -1
  589. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figmaSnapshotRoutes.d.ts.map +1 -1
  590. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figmaSnapshotRoutes.js +1 -1
  591. package/node_modules/@oscharko-dev/keiko-server/dist/read-handlers.d.ts +5 -0
  592. package/node_modules/@oscharko-dev/keiko-server/dist/read-handlers.d.ts.map +1 -1
  593. package/node_modules/@oscharko-dev/keiko-server/dist/read-handlers.js +57 -1
  594. package/node_modules/@oscharko-dev/keiko-server/dist/routes.d.ts.map +1 -1
  595. package/node_modules/@oscharko-dev/keiko-server/dist/routes.js +285 -6
  596. package/node_modules/@oscharko-dev/keiko-server/dist/run-engine.d.ts.map +1 -1
  597. package/node_modules/@oscharko-dev/keiko-server/dist/run-engine.js +3 -0
  598. package/node_modules/@oscharko-dev/keiko-server/dist/run-handlers.d.ts.map +1 -1
  599. package/node_modules/@oscharko-dev/keiko-server/dist/run-handlers.js +74 -4
  600. package/node_modules/@oscharko-dev/keiko-server/dist/run-request.d.ts +11 -0
  601. package/node_modules/@oscharko-dev/keiko-server/dist/run-request.d.ts.map +1 -1
  602. package/node_modules/@oscharko-dev/keiko-server/dist/run-request.js +158 -10
  603. package/node_modules/@oscharko-dev/keiko-server/dist/runtime/capabilityDetector.d.ts +38 -0
  604. package/node_modules/@oscharko-dev/keiko-server/dist/runtime/capabilityDetector.d.ts.map +1 -0
  605. package/node_modules/@oscharko-dev/keiko-server/dist/runtime/capabilityDetector.js +443 -0
  606. package/node_modules/@oscharko-dev/keiko-server/dist/runtime/capabilityRoutes.d.ts +9 -0
  607. package/node_modules/@oscharko-dev/keiko-server/dist/runtime/capabilityRoutes.d.ts.map +1 -0
  608. package/node_modules/@oscharko-dev/keiko-server/dist/runtime/capabilityRoutes.js +45 -0
  609. package/node_modules/@oscharko-dev/keiko-server/dist/runtime/containerEngineDetector.d.ts +17 -0
  610. package/node_modules/@oscharko-dev/keiko-server/dist/runtime/containerEngineDetector.d.ts.map +1 -0
  611. package/node_modules/@oscharko-dev/keiko-server/dist/runtime/containerEngineDetector.js +222 -0
  612. package/node_modules/@oscharko-dev/keiko-server/dist/runtime/containerRoutes.d.ts +8 -0
  613. package/node_modules/@oscharko-dev/keiko-server/dist/runtime/containerRoutes.d.ts.map +1 -0
  614. package/node_modules/@oscharko-dev/keiko-server/dist/runtime/containerRoutes.js +207 -0
  615. package/node_modules/@oscharko-dev/keiko-server/dist/runtime/containerRunner-errors.d.ts +18 -0
  616. package/node_modules/@oscharko-dev/keiko-server/dist/runtime/containerRunner-errors.d.ts.map +1 -0
  617. package/node_modules/@oscharko-dev/keiko-server/dist/runtime/containerRunner-errors.js +42 -0
  618. package/node_modules/@oscharko-dev/keiko-server/dist/runtime/containerRunner-evidence.d.ts +24 -0
  619. package/node_modules/@oscharko-dev/keiko-server/dist/runtime/containerRunner-evidence.d.ts.map +1 -0
  620. package/node_modules/@oscharko-dev/keiko-server/dist/runtime/containerRunner-evidence.js +74 -0
  621. package/node_modules/@oscharko-dev/keiko-server/dist/runtime/containerRunner.d.ts +37 -0
  622. package/node_modules/@oscharko-dev/keiko-server/dist/runtime/containerRunner.d.ts.map +1 -0
  623. package/node_modules/@oscharko-dev/keiko-server/dist/runtime/containerRunner.js +443 -0
  624. package/node_modules/@oscharko-dev/keiko-server/dist/server.d.ts.map +1 -1
  625. package/node_modules/@oscharko-dev/keiko-server/dist/server.js +24 -4
  626. package/node_modules/@oscharko-dev/keiko-server/dist/store/db.d.ts.map +1 -1
  627. package/node_modules/@oscharko-dev/keiko-server/dist/store/db.js +3 -2
  628. package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.d.ts +3 -2
  629. package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.d.ts.map +1 -1
  630. package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.js +37 -7
  631. package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts +1 -1
  632. package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts.map +1 -1
  633. package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.js +70 -1
  634. package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts +4 -2
  635. package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts.map +1 -1
  636. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/active-store.d.ts +21 -0
  637. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/active-store.d.ts.map +1 -0
  638. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/active-store.js +55 -0
  639. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/authorization.d.ts +7 -0
  640. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/authorization.d.ts.map +1 -0
  641. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/authorization.js +54 -0
  642. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/binding.d.ts +3 -0
  643. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/binding.d.ts.map +1 -0
  644. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/binding.js +22 -0
  645. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/cleanup.d.ts +4 -0
  646. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/cleanup.d.ts.map +1 -0
  647. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/cleanup.js +428 -0
  648. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/errors.d.ts +14 -0
  649. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/errors.d.ts.map +1 -0
  650. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/errors.js +81 -0
  651. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/evidence.d.ts +32 -0
  652. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/evidence.d.ts.map +1 -0
  653. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/evidence.js +52 -0
  654. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/field-safety.d.ts +3 -0
  655. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/field-safety.d.ts.map +1 -0
  656. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/field-safety.js +42 -0
  657. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/health.d.ts +4 -0
  658. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/health.d.ts.map +1 -0
  659. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/health.js +163 -0
  660. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/lifecycle.d.ts +3 -0
  661. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/lifecycle.d.ts.map +1 -0
  662. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/lifecycle.js +248 -0
  663. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/locks.d.ts +13 -0
  664. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/locks.d.ts.map +1 -0
  665. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/locks.js +44 -0
  666. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/managed-root.d.ts +7 -0
  667. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/managed-root.d.ts.map +1 -0
  668. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/managed-root.js +98 -0
  669. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/mutex.d.ts +8 -0
  670. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/mutex.d.ts.map +1 -0
  671. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/mutex.js +82 -0
  672. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/naming.d.ts +15 -0
  673. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/naming.d.ts.map +1 -0
  674. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/naming.js +0 -0
  675. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/provisioning.d.ts +3 -0
  676. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/provisioning.d.ts.map +1 -0
  677. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/provisioning.js +528 -0
  678. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/reconciliation.d.ts +15 -0
  679. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/reconciliation.d.ts.map +1 -0
  680. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/reconciliation.js +274 -0
  681. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/repair.d.ts +3 -0
  682. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/repair.d.ts.map +1 -0
  683. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/repair.js +286 -0
  684. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/routes.d.ts +19 -0
  685. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/routes.d.ts.map +1 -0
  686. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/routes.js +481 -0
  687. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/store.d.ts +12 -0
  688. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/store.d.ts.map +1 -0
  689. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/store.js +128 -0
  690. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/types.d.ts +170 -0
  691. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/types.d.ts.map +1 -0
  692. package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/types.js +5 -0
  693. package/node_modules/@oscharko-dev/keiko-server/dist/voice-action-governance.d.ts +23 -0
  694. package/node_modules/@oscharko-dev/keiko-server/dist/voice-action-governance.d.ts.map +1 -0
  695. package/node_modules/@oscharko-dev/keiko-server/dist/voice-action-governance.js +126 -0
  696. package/node_modules/@oscharko-dev/keiko-server/dist/voice-handlers.d.ts +6 -0
  697. package/node_modules/@oscharko-dev/keiko-server/dist/voice-handlers.d.ts.map +1 -0
  698. package/node_modules/@oscharko-dev/keiko-server/dist/voice-handlers.js +570 -0
  699. package/node_modules/@oscharko-dev/keiko-server/dist/voice-realtime-grounded-tool.d.ts +31 -0
  700. package/node_modules/@oscharko-dev/keiko-server/dist/voice-realtime-grounded-tool.d.ts.map +1 -0
  701. package/node_modules/@oscharko-dev/keiko-server/dist/voice-realtime-grounded-tool.js +322 -0
  702. package/node_modules/@oscharko-dev/keiko-server/dist/voice-realtime.d.ts +69 -0
  703. package/node_modules/@oscharko-dev/keiko-server/dist/voice-realtime.d.ts.map +1 -0
  704. package/node_modules/@oscharko-dev/keiko-server/dist/voice-realtime.js +787 -0
  705. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-state-handlers.d.ts +5 -0
  706. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-state-handlers.d.ts.map +1 -0
  707. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-state-handlers.js +106 -0
  708. package/node_modules/@oscharko-dev/keiko-server/package.json +20 -19
  709. package/node_modules/@oscharko-dev/keiko-tools/dist/.tsbuildinfo +1 -1
  710. package/node_modules/@oscharko-dev/keiko-tools/dist/git-commit-intent-node.d.ts +7 -0
  711. package/node_modules/@oscharko-dev/keiko-tools/dist/git-commit-intent-node.d.ts.map +1 -0
  712. package/node_modules/@oscharko-dev/keiko-tools/dist/git-commit-intent-node.js +42 -0
  713. package/node_modules/@oscharko-dev/keiko-tools/dist/git-merge-gateway.d.ts +95 -0
  714. package/node_modules/@oscharko-dev/keiko-tools/dist/git-merge-gateway.d.ts.map +1 -0
  715. package/node_modules/@oscharko-dev/keiko-tools/dist/git-merge-gateway.js +536 -0
  716. package/node_modules/@oscharko-dev/keiko-tools/dist/git-merge-node.d.ts +17 -0
  717. package/node_modules/@oscharko-dev/keiko-tools/dist/git-merge-node.d.ts.map +1 -0
  718. package/node_modules/@oscharko-dev/keiko-tools/dist/git-merge-node.js +243 -0
  719. package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-adapter.d.ts +51 -0
  720. package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-adapter.d.ts.map +1 -0
  721. package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-adapter.js +207 -0
  722. package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-evidence.d.ts +23 -0
  723. package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-evidence.d.ts.map +1 -0
  724. package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-evidence.js +283 -0
  725. package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-node.d.ts +22 -0
  726. package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-node.d.ts.map +1 -0
  727. package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-node.js +145 -0
  728. package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-orchestrator.d.ts +92 -0
  729. package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-orchestrator.d.ts.map +1 -0
  730. package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-orchestrator.js +321 -0
  731. package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-preflight.d.ts +35 -0
  732. package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-preflight.d.ts.map +1 -0
  733. package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-preflight.js +226 -0
  734. package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-taxonomy.d.ts +15 -0
  735. package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-taxonomy.d.ts.map +1 -0
  736. package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-taxonomy.js +102 -0
  737. package/node_modules/@oscharko-dev/keiko-tools/dist/git-pr-gateway.d.ts +101 -0
  738. package/node_modules/@oscharko-dev/keiko-tools/dist/git-pr-gateway.d.ts.map +1 -0
  739. package/node_modules/@oscharko-dev/keiko-tools/dist/git-pr-gateway.js +487 -0
  740. package/node_modules/@oscharko-dev/keiko-tools/dist/git-pr-node.d.ts +17 -0
  741. package/node_modules/@oscharko-dev/keiko-tools/dist/git-pr-node.d.ts.map +1 -0
  742. package/node_modules/@oscharko-dev/keiko-tools/dist/git-pr-node.js +173 -0
  743. package/node_modules/@oscharko-dev/keiko-tools/dist/git-publish-gateway.d.ts +72 -0
  744. package/node_modules/@oscharko-dev/keiko-tools/dist/git-publish-gateway.d.ts.map +1 -0
  745. package/node_modules/@oscharko-dev/keiko-tools/dist/git-publish-gateway.js +423 -0
  746. package/node_modules/@oscharko-dev/keiko-tools/dist/git-publish-node.d.ts +17 -0
  747. package/node_modules/@oscharko-dev/keiko-tools/dist/git-publish-node.d.ts.map +1 -0
  748. package/node_modules/@oscharko-dev/keiko-tools/dist/git-publish-node.js +107 -0
  749. package/node_modules/@oscharko-dev/keiko-tools/dist/git-worktree-adapter.d.ts +78 -0
  750. package/node_modules/@oscharko-dev/keiko-tools/dist/git-worktree-adapter.d.ts.map +1 -0
  751. package/node_modules/@oscharko-dev/keiko-tools/dist/git-worktree-adapter.js +300 -0
  752. package/node_modules/@oscharko-dev/keiko-tools/dist/git-worktree-snapshot-node.d.ts +31 -0
  753. package/node_modules/@oscharko-dev/keiko-tools/dist/git-worktree-snapshot-node.d.ts.map +1 -0
  754. package/node_modules/@oscharko-dev/keiko-tools/dist/git-worktree-snapshot-node.js +189 -0
  755. package/node_modules/@oscharko-dev/keiko-tools/dist/index.d.ts +9 -0
  756. package/node_modules/@oscharko-dev/keiko-tools/dist/index.d.ts.map +1 -1
  757. package/node_modules/@oscharko-dev/keiko-tools/dist/index.js +37 -0
  758. package/node_modules/@oscharko-dev/keiko-tools/package.json +9 -5
  759. package/node_modules/@oscharko-dev/keiko-verification/dist/.tsbuildinfo +1 -1
  760. package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
  761. package/node_modules/@oscharko-dev/keiko-workflows/dist/.tsbuildinfo +1 -1
  762. package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.d.ts.map +1 -1
  763. package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.js +2 -2
  764. package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
  765. package/node_modules/@oscharko-dev/keiko-workspace/dist/.tsbuildinfo +1 -1
  766. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchEntries.d.ts.map +1 -1
  767. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchEntries.js +2 -2
  768. package/node_modules/@oscharko-dev/keiko-workspace/package.json +3 -3
  769. package/package.json +50 -29
  770. package/dist/ui/static/_next/static/chunks/1587.33fc772cb66c38d7.js +0 -1
  771. package/dist/ui/static/_next/static/chunks/2063.a7cd2441b60aa093.js +0 -1
  772. package/dist/ui/static/_next/static/chunks/2107.c1ff3a39fd003d88.js +0 -1
  773. package/dist/ui/static/_next/static/chunks/3883.f8e3dc3fea7fdbe1.js +0 -1
  774. package/dist/ui/static/_next/static/chunks/3968.55fa02cd74fb96b3.js +0 -1
  775. package/dist/ui/static/_next/static/chunks/4444.46b9cfb85257a381.js +0 -1
  776. package/dist/ui/static/_next/static/chunks/7301.501daea6a309d3f5.js +0 -1
  777. package/dist/ui/static/_next/static/chunks/8776.8b33803959adfdcf.js +0 -3
  778. package/dist/ui/static/_next/static/chunks/8824-1b90854002e51dae.js +0 -98
  779. package/dist/ui/static/_next/static/chunks/8835-7a3269c7abf41dca.js +0 -1
  780. package/dist/ui/static/_next/static/chunks/9385.6543855a745f1347.js +0 -1
  781. package/dist/ui/static/_next/static/chunks/9682.d5b8d9ce8cb80519.js +0 -1
  782. package/dist/ui/static/_next/static/chunks/app/launch/page-82ed92234aabb847.js +0 -1
  783. package/dist/ui/static/_next/static/chunks/app/local-knowledge/page-9124d233dd58858c.js +0 -1
  784. package/dist/ui/static/_next/static/chunks/app/page-dcdb404becd4ddb6.js +0 -1
  785. package/dist/ui/static/_next/static/chunks/webpack-b38f050528b4d7a7.js +0 -1
  786. package/dist/ui/static/_next/static/css/a1d25933a2ce4659.css +0 -3
  787. package/node_modules/@oscharko-dev/keiko-contracts/dist/conversation-budget.d.ts +0 -37
  788. package/node_modules/@oscharko-dev/keiko-contracts/dist/conversation-budget.d.ts.map +0 -1
  789. package/node_modules/@oscharko-dev/keiko-contracts/dist/conversation-budget.js +0 -97
  790. /package/dist/ui/static/_next/static/{V6PH3CS6q84y0pJQupf9J → WGuvz70_f_uiVSiv-B1wx}/_buildManifest.js +0 -0
  791. /package/dist/ui/static/_next/static/{V6PH3CS6q84y0pJQupf9J → WGuvz70_f_uiVSiv-B1wx}/_ssgManifest.js +0 -0
@@ -2,7 +2,7 @@
2
2
  // preview or editor content; every request is contained inside a selected root after
3
3
  // realpath resolution.
4
4
  import { createHash } from "node:crypto";
5
- import { lstat, opendir, open, readFile, realpath, stat, writeFile } from "node:fs/promises";
5
+ import { cp, lstat, mkdir, opendir, open, readFile, realpath, rename, rm, stat, writeFile, } from "node:fs/promises";
6
6
  import { basename, dirname, extname, isAbsolute, join, parse as parsePath, posix as pathPosix, relative, resolve, } from "node:path";
7
7
  import { redact } from "@oscharko-dev/keiko-security";
8
8
  import { EDITOR_SESSION_SCHEMA_VERSION, parseEditorDocumentVersion, } from "@oscharko-dev/keiko-contracts";
@@ -406,14 +406,258 @@ function fileSearchScore(relativePath, query) {
406
406
  return 600 + pathIndex + relativePath.length;
407
407
  return 1_000 + relativePath.length;
408
408
  }
409
+ const GENERATED_FILE_SEARCH_SEGMENTS = new Set([
410
+ ".next",
411
+ ".turbo",
412
+ "build",
413
+ "coverage",
414
+ "dist",
415
+ "out",
416
+ "storybook-static",
417
+ "storybookstatic",
418
+ "target",
419
+ ]);
420
+ const SOURCE_FILE_SEARCH_SEGMENTS = new Set([
421
+ "__tests__",
422
+ "app",
423
+ "components",
424
+ "lib",
425
+ "packages",
426
+ "scripts",
427
+ "src",
428
+ "test",
429
+ "tests",
430
+ ]);
431
+ const SOURCE_FILE_SEARCH_EXTENSIONS = new Set([
432
+ "astro",
433
+ "c",
434
+ "cc",
435
+ "cjs",
436
+ "cpp",
437
+ "cs",
438
+ "css",
439
+ "go",
440
+ "h",
441
+ "hpp",
442
+ "html",
443
+ "java",
444
+ "js",
445
+ "jsx",
446
+ "kt",
447
+ "kts",
448
+ "mjs",
449
+ "mts",
450
+ "php",
451
+ "py",
452
+ "rb",
453
+ "rs",
454
+ "scala",
455
+ "scss",
456
+ "sh",
457
+ "svelte",
458
+ "swift",
459
+ "ts",
460
+ "tsx",
461
+ "vue",
462
+ ]);
463
+ const TEST_FILE_SEARCH_SEGMENTS = new Set(["__tests__", "__test__", "spec", "test", "tests"]);
464
+ const DOCS_FILE_SEARCH_SEGMENTS = new Set(["doc", "docs", "documentation"]);
465
+ const DOCS_FILE_SEARCH_EXTENSIONS = new Set(["adoc", "md", "mdx", "rst", "txt"]);
466
+ const CONFIG_FILE_SEARCH_NAMES = new Set([
467
+ ".babelrc",
468
+ ".editorconfig",
469
+ ".env.example",
470
+ ".eslintrc",
471
+ ".gitattributes",
472
+ ".gitignore",
473
+ ".npmrc",
474
+ ".prettierrc",
475
+ "dockerfile",
476
+ "package.json",
477
+ "tsconfig.json",
478
+ "vite.config.ts",
479
+ "vitest.config.ts",
480
+ ]);
481
+ const CONFIG_FILE_SEARCH_EXTENSIONS = new Set([
482
+ "config",
483
+ "conf",
484
+ "ini",
485
+ "json",
486
+ "jsonc",
487
+ "lock",
488
+ "toml",
489
+ "yaml",
490
+ "yml",
491
+ ]);
492
+ const ASSET_FILE_SEARCH_EXTENSIONS = new Set([
493
+ "avif",
494
+ "gif",
495
+ "ico",
496
+ "jpeg",
497
+ "jpg",
498
+ "map",
499
+ "png",
500
+ "svg",
501
+ "webp",
502
+ "woff",
503
+ "woff2",
504
+ ]);
505
+ function fileSearchPathParts(relativePath) {
506
+ const normalized = relativePath.replaceAll("\\", "/");
507
+ const lowerSegments = normalized
508
+ .toLocaleLowerCase()
509
+ .split("/")
510
+ .filter((segment) => segment.length > 0);
511
+ const lowerName = basename(normalized).toLocaleLowerCase();
512
+ const extension = extensionOf(lowerName)?.toLocaleLowerCase() ?? "";
513
+ return { lowerSegments, lowerName, extension };
514
+ }
515
+ function fileSearchQualityScore(relativePath) {
516
+ const normalized = relativePath.replaceAll("\\", "/");
517
+ const lowerSegments = normalized
518
+ .toLocaleLowerCase()
519
+ .split("/")
520
+ .filter((segment) => segment.length > 0);
521
+ const extension = extensionOf(basename(normalized))?.toLocaleLowerCase() ?? "";
522
+ let score = 0;
523
+ if (lowerSegments.some((segment) => GENERATED_FILE_SEARCH_SEGMENTS.has(segment))) {
524
+ score += 20_000;
525
+ }
526
+ if (lowerSegments.includes("assets") && /\b[a-f0-9]{7,}\b/u.test(basename(normalized))) {
527
+ score += 2_000;
528
+ }
529
+ if (lowerSegments.some((segment) => SOURCE_FILE_SEARCH_SEGMENTS.has(segment))) {
530
+ score -= 250;
531
+ }
532
+ if (SOURCE_FILE_SEARCH_EXTENSIONS.has(extension)) {
533
+ score -= 100;
534
+ }
535
+ if (lowerSegments.includes("src")) {
536
+ score -= 200;
537
+ }
538
+ return score;
539
+ }
540
+ function fileSearchPathHasSegment(parts, segments) {
541
+ return parts.lowerSegments.some((segment) => segments.has(segment));
542
+ }
543
+ function fileSearchPathIsGenerated(parts) {
544
+ return fileSearchPathHasSegment(parts, GENERATED_FILE_SEARCH_SEGMENTS);
545
+ }
546
+ function fileSearchPathIsAsset(parts) {
547
+ return (parts.lowerSegments.includes("assets") || ASSET_FILE_SEARCH_EXTENSIONS.has(parts.extension));
548
+ }
549
+ function fileSearchPathIsTest(parts) {
550
+ return (fileSearchPathHasSegment(parts, TEST_FILE_SEARCH_SEGMENTS) ||
551
+ /\.(?:spec|test)\.[^.]+$/u.test(parts.lowerName));
552
+ }
553
+ function fileSearchPathIsDocs(parts) {
554
+ return (fileSearchPathHasSegment(parts, DOCS_FILE_SEARCH_SEGMENTS) ||
555
+ DOCS_FILE_SEARCH_EXTENSIONS.has(parts.extension));
556
+ }
557
+ function fileSearchPathIsConfig(parts) {
558
+ return (CONFIG_FILE_SEARCH_NAMES.has(parts.lowerName) ||
559
+ CONFIG_FILE_SEARCH_EXTENSIONS.has(parts.extension));
560
+ }
561
+ function fileSearchPathIsSource(parts) {
562
+ return (fileSearchPathHasSegment(parts, SOURCE_FILE_SEARCH_SEGMENTS) ||
563
+ SOURCE_FILE_SEARCH_EXTENSIONS.has(parts.extension));
564
+ }
565
+ const FILE_SEARCH_ROLE_MATCHERS = [
566
+ ["generated", fileSearchPathIsGenerated],
567
+ ["asset", fileSearchPathIsAsset],
568
+ ["test", fileSearchPathIsTest],
569
+ ["docs", fileSearchPathIsDocs],
570
+ ["config", fileSearchPathIsConfig],
571
+ ["source", fileSearchPathIsSource],
572
+ ];
573
+ function fileSearchRole(relativePath) {
574
+ const parts = fileSearchPathParts(relativePath);
575
+ return FILE_SEARCH_ROLE_MATCHERS.find(([_role, matches]) => matches(parts))?.[0] ?? "other";
576
+ }
577
+ function fileSearchMatchQuality(relativePath, query) {
578
+ const lowerPath = relativePath.toLocaleLowerCase();
579
+ const lowerName = basename(relativePath).toLocaleLowerCase();
580
+ const lowerQuery = query.toLocaleLowerCase();
581
+ const nameStem = lowerName.replace(/\.[^.]+$/u, "");
582
+ if (lowerName === lowerQuery || lowerPath === lowerQuery || nameStem === lowerQuery) {
583
+ return "exact";
584
+ }
585
+ if (lowerName.startsWith(lowerQuery) || lowerName.includes(lowerQuery)) {
586
+ return "strong";
587
+ }
588
+ if (lowerPath.startsWith(lowerQuery) || lowerPath.includes(lowerQuery)) {
589
+ return "path";
590
+ }
591
+ return "weak";
592
+ }
409
593
  function directoryOf(relativePath) {
410
594
  const dir = pathPosix.dirname(relativePath);
411
595
  return dir === "." ? "" : dir;
412
596
  }
413
597
  function entryVisibleToFileSearch(relativePath, entry, redactor) {
414
- return (metadataIsSafe(relativePath, redactor) &&
598
+ return (metadataIsSafe(relativePath, redactor) && !pathIsDenied(relativePath) && !entry.isSymbolicLink());
599
+ }
600
+ async function hasGitMarker(directory) {
601
+ try {
602
+ await lstat(join(directory, ".git"));
603
+ return true;
604
+ }
605
+ catch {
606
+ return false;
607
+ }
608
+ }
609
+ async function nearestGitRoot(startDirectory, cache) {
610
+ let current = resolve(startDirectory);
611
+ const visited = [];
612
+ for (;;) {
613
+ const cached = cache.get(current);
614
+ if (cached !== undefined) {
615
+ for (const directory of visited)
616
+ cache.set(directory, cached);
617
+ return cached;
618
+ }
619
+ visited.push(current);
620
+ if (await hasGitMarker(current)) {
621
+ for (const directory of visited)
622
+ cache.set(directory, current);
623
+ return current;
624
+ }
625
+ const parent = dirname(current);
626
+ if (parent === current) {
627
+ for (const directory of visited)
628
+ cache.set(directory, null);
629
+ return null;
630
+ }
631
+ current = parent;
632
+ }
633
+ }
634
+ function canExposeFileSearchGitRoot(selectedRoot, gitRoot, redactor) {
635
+ return (gitRoot !== selectedRoot.realRoot &&
636
+ isContained(selectedRoot.realRoot, gitRoot) &&
637
+ !pathIsDenied(gitRoot) &&
638
+ metadataIsSafe(gitRoot, redactor));
639
+ }
640
+ function canExposeFileSearchRelativePath(relativePath, redactor) {
641
+ return (relativePath.length > 0 &&
642
+ !relativePath.startsWith("../") &&
643
+ !pathPosix.isAbsolute(relativePath) &&
415
644
  !pathIsDenied(relativePath) &&
416
- !entry.isSymbolicLink());
645
+ metadataIsSafe(relativePath, redactor));
646
+ }
647
+ async function resolveFileSearchResultPath(args) {
648
+ const fallback = {
649
+ root: args.root.root,
650
+ relativePath: args.relativePath,
651
+ rootKind: "selected-root",
652
+ };
653
+ const gitRoot = await nearestGitRoot(dirname(args.nativePath), args.state.gitRootCache);
654
+ if (gitRoot === null || !canExposeFileSearchGitRoot(args.root, gitRoot, args.redactor)) {
655
+ return fallback;
656
+ }
657
+ const rebasedPath = rootRelativePosixPath(gitRoot, args.nativePath);
658
+ if (!canExposeFileSearchRelativePath(rebasedPath, args.redactor))
659
+ return fallback;
660
+ return { root: gitRoot, relativePath: rebasedPath, rootKind: "nested-git-root" };
417
661
  }
418
662
  async function addFileSearchCandidate(args) {
419
663
  if (!matchesSearch(args.relativePath, args.tokens))
@@ -425,16 +669,27 @@ async function addFileSearchCandidate(args) {
425
669
  catch {
426
670
  return;
427
671
  }
672
+ const resolvedPath = await resolveFileSearchResultPath({
673
+ root: args.root,
674
+ relativePath: args.relativePath,
675
+ nativePath: args.nativePath,
676
+ redactor: args.redactor,
677
+ state: args.state,
678
+ });
428
679
  args.state.candidates.push({
429
- score: fileSearchScore(args.relativePath, args.query),
680
+ score: fileSearchScore(resolvedPath.relativePath, args.query) +
681
+ fileSearchQualityScore(resolvedPath.relativePath),
430
682
  result: {
431
- root: args.root.root,
432
- path: args.relativePath,
683
+ root: resolvedPath.root,
684
+ path: resolvedPath.relativePath,
433
685
  name: args.entryName,
434
- directory: directoryOf(args.relativePath),
686
+ directory: directoryOf(resolvedPath.relativePath),
435
687
  extension: extensionOf(args.entryName),
436
688
  sizeBytes: info.size,
437
689
  modifiedAt: info.mtimeMs,
690
+ fileRole: fileSearchRole(resolvedPath.relativePath),
691
+ matchQuality: fileSearchMatchQuality(resolvedPath.relativePath, args.query),
692
+ rootKind: resolvedPath.rootKind,
438
693
  },
439
694
  });
440
695
  }
@@ -461,6 +716,7 @@ async function collectFileSearchEntry(args) {
461
716
  nativePath,
462
717
  entryName: args.entry.name,
463
718
  tokens: args.tokens,
719
+ redactor: args.redactor,
464
720
  state: args.state,
465
721
  });
466
722
  }
@@ -491,6 +747,7 @@ async function collectFileSearchResults(args) {
491
747
  const state = {
492
748
  candidates: [],
493
749
  stack: [{ path: args.root.realRoot, relativePath: "" }],
750
+ gitRootCache: new Map(),
494
751
  scannedFileCount: 0,
495
752
  scanTruncated: false,
496
753
  };
@@ -815,6 +1072,250 @@ export async function writeFilesContent(args) {
815
1072
  baseVersion: args.baseVersion,
816
1073
  });
817
1074
  }
1075
+ // errno → client-safe (status, code, message), one row per outcome. fs.cp reports collisions and
1076
+ // shape mismatches with bespoke ERR_FS_CP_* codes, so each row groups every code that should map to
1077
+ // the same response. A flat table keeps mapNodeFsError a single lookup (no branch-per-code) and well
1078
+ // under the complexity budget. None of these messages echoes a path or the raw OS string.
1079
+ const FS_ERRNO_TABLE = [
1080
+ // `fs.cp` reports a no-overwrite collision with its own code, not the bare EEXIST.
1081
+ [
1082
+ ["EEXIST", "ENOTEMPTY", "ERR_FS_CP_EEXIST"],
1083
+ 409,
1084
+ "ALREADY_EXISTS",
1085
+ "An entry with that name already exists.",
1086
+ ],
1087
+ [["ENOENT"], 404, "NOT_FOUND", "The requested path was not found."],
1088
+ // `fs.cp` shape-mismatch / invalid-argument codes (e.g. copying a dir over a file) → bad request.
1089
+ [
1090
+ [
1091
+ "ERR_FS_CP_DIR_TO_NON_DIR",
1092
+ "ERR_FS_CP_NON_DIR_TO_DIR",
1093
+ "ERR_FS_CP_EINVAL",
1094
+ "ERR_FS_CP_FIFO_PIPE_OR_SOCKET",
1095
+ ],
1096
+ 400,
1097
+ "BAD_PATH",
1098
+ "This entry cannot be copied here.",
1099
+ ],
1100
+ [["EACCES", "EPERM"], 403, "DENIED", DENIED_MESSAGE],
1101
+ [["EXDEV"], 400, "CROSS_DEVICE", "This move crosses filesystems and is not supported here."],
1102
+ [["ENOTDIR"], 400, "NOT_DIRECTORY", "Part of the path is not a folder."],
1103
+ [["EISDIR"], 400, "IS_DIRECTORY", "The target is a folder."],
1104
+ ];
1105
+ const FS_ERRNO_LOOKUP = new Map(FS_ERRNO_TABLE.flatMap(([codes, status, code, message]) => codes.map((errno) => [errno, [status, code, message]])));
1106
+ // Translate a Node fs errno into a FilesError without ever echoing the absolute path or the raw OS
1107
+ // message back to the client — mirroring the non-probeable DENIED_MESSAGE discipline. A FilesError is
1108
+ // passed through unchanged; an unrecognised error becomes a generic 500 so an internal detail (e.g.
1109
+ // a path embedded in the OS message) cannot leak through the response body.
1110
+ function mapNodeFsError(error) {
1111
+ if (error instanceof FilesError)
1112
+ return error;
1113
+ const code = typeof error === "object" && error !== null ? error.code : undefined;
1114
+ const mapped = code !== undefined ? FS_ERRNO_LOOKUP.get(code) : undefined;
1115
+ if (mapped !== undefined) {
1116
+ return new FilesError(mapped[0], mapped[1], mapped[2]);
1117
+ }
1118
+ return new FilesError(500, "IO_ERROR", "The file operation could not be completed.");
1119
+ }
1120
+ // Resolve a path that should NOT exist yet (a create destination, or a rename target). The PARENT
1121
+ // directory must already exist; it is resolved through symlinks and re-checked for containment and
1122
+ // deny so a link in the parent chain cannot redirect the new entry outside the root. The final name
1123
+ // is validated as a single, safe path segment.
1124
+ // The final segment of a new entry must be a single, safe name (the parent path was already split
1125
+ // off and validated). normalizeRelativePath has already rejected NUL/absolute/`..`-escape inputs.
1126
+ function assertSafeLeafName(name) {
1127
+ if (name.length === 0 || name === "." || name === "..") {
1128
+ throw new FilesError(400, "BAD_PATH", "The new entry name is not valid.");
1129
+ }
1130
+ }
1131
+ // Resolve the directory a new entry will be created in: it must already exist, be a directory,
1132
+ // resolve (through symlinks) to a path inside the root, and not be deny-listed.
1133
+ async function resolveContainedParentDir(realRoot, parentRelative) {
1134
+ const parentNative = nativePath(realRoot, parentRelative === "." ? "" : parentRelative);
1135
+ let realParent;
1136
+ try {
1137
+ realParent = await realpath(parentNative);
1138
+ }
1139
+ catch {
1140
+ throw new FilesError(404, "PARENT_NOT_FOUND", "The destination folder does not exist.");
1141
+ }
1142
+ if (!(await stat(realParent)).isDirectory()) {
1143
+ throw new FilesError(400, "NOT_DIRECTORY", "The destination is not a folder.");
1144
+ }
1145
+ if (!isContained(realRoot, realParent)) {
1146
+ throw new FilesError(403, "PATH_ESCAPE", "The destination is outside the selected root.");
1147
+ }
1148
+ const parentRelReal = rootRelativePosixPath(realRoot, realParent);
1149
+ if (parentRelReal.length > 0 && pathIsDenied(parentRelReal)) {
1150
+ throw new FilesError(403, "DENIED", DENIED_MESSAGE);
1151
+ }
1152
+ return realParent;
1153
+ }
1154
+ async function resolveCreationTarget(store, rootInput, pathInput, redactor) {
1155
+ const root = await resolveRoot(store, rootInput, redactor);
1156
+ const relativePath = normalizeRelativePath(pathInput);
1157
+ if (relativePath.length === 0) {
1158
+ throw new FilesError(400, "BAD_PATH", "A new entry needs a name inside the selected root.");
1159
+ }
1160
+ assertMetadataSafe(relativePath, redactor);
1161
+ // Deny check runs before any existence probe so a denied path is never distinguishable by status.
1162
+ if (pathIsDenied(relativePath)) {
1163
+ throw new FilesError(403, "DENIED", DENIED_MESSAGE);
1164
+ }
1165
+ const name = pathPosix.basename(relativePath);
1166
+ assertSafeLeafName(name);
1167
+ const realParent = await resolveContainedParentDir(root.realRoot, pathPosix.dirname(relativePath));
1168
+ const targetNative = join(realParent, name);
1169
+ if (!isContained(root.realRoot, targetNative)) {
1170
+ throw new FilesError(403, "PATH_ESCAPE", "The destination is outside the selected root.");
1171
+ }
1172
+ const targetRel = rootRelativePosixPath(root.realRoot, targetNative);
1173
+ assertMetadataSafe(targetRel, redactor);
1174
+ if (pathIsDenied(targetRel)) {
1175
+ throw new FilesError(403, "DENIED", DENIED_MESSAGE);
1176
+ }
1177
+ return { root: root.root, realRoot: root.realRoot, relativePath: targetRel, path: targetNative };
1178
+ }
1179
+ export async function createFilesEntry(args) {
1180
+ if (args.kind !== "file" && args.kind !== "directory") {
1181
+ throw new FilesError(400, "BAD_REQUEST", "A new entry must be a file or a directory.");
1182
+ }
1183
+ const target = await resolveCreationTarget(args.store, args.rootInput, args.pathInput, args.redactor ?? staticFilesMetadataRedactor);
1184
+ try {
1185
+ if (args.kind === "directory") {
1186
+ // Non-recursive: the parent was already verified, and EEXIST surfaces as a clean 409.
1187
+ await mkdir(target.path);
1188
+ }
1189
+ else {
1190
+ // `wx` = O_CREAT | O_EXCL: atomically refuse to overwrite an existing entry AND refuse to
1191
+ // follow a final symlink, closing the create-time TOCTOU/symlink window.
1192
+ await writeFile(target.path, "", { flag: "wx" });
1193
+ }
1194
+ }
1195
+ catch (error) {
1196
+ throw mapNodeFsError(error);
1197
+ }
1198
+ return { root: target.root, path: target.relativePath, kind: args.kind };
1199
+ }
1200
+ // No-clobber guard for a rename. Refuses any pre-existing destination (lstat so a symlink there is
1201
+ // detected too), with ONE exception: a pure case-only rename on a case-insensitive filesystem
1202
+ // (macOS/Windows), where `lstat(newPath)` resolves to the SAME inode as the source — legitimate
1203
+ // because it only changes the on-disk case. The exception is gated by realpath identity, never a raw
1204
+ // string compare. rename() has no atomic no-overwrite flag in Node; containment + deny bound the
1205
+ // residual TOCTOU window.
1206
+ async function assertRenameDestinationFree(targetPath, sourcePath) {
1207
+ try {
1208
+ await lstat(targetPath);
1209
+ }
1210
+ catch {
1211
+ return; // destination does not exist — free to use
1212
+ }
1213
+ let resolved;
1214
+ try {
1215
+ resolved = await realpath(targetPath);
1216
+ }
1217
+ catch {
1218
+ resolved = null;
1219
+ }
1220
+ if (resolved !== sourcePath) {
1221
+ throw new FilesError(409, "ALREADY_EXISTS", "An entry with that name already exists.");
1222
+ }
1223
+ }
1224
+ export async function renameFilesEntry(args) {
1225
+ const redactor = args.redactor ?? staticFilesMetadataRedactor;
1226
+ const source = await resolveInsideRoot(args.store, args.rootInput, args.pathInput, redactor);
1227
+ if (source.relativePath.length === 0) {
1228
+ throw new FilesError(400, "BAD_PATH", "The root folder cannot be renamed.");
1229
+ }
1230
+ if (source.symlink) {
1231
+ throw new FilesError(400, "UNSUPPORTED", "Symbolic links cannot be renamed here.");
1232
+ }
1233
+ if (args.baseVersion !== undefined && source.stats.isFile()) {
1234
+ await assertSessionNotStale(source, args.baseVersion);
1235
+ }
1236
+ const kind = source.stats.isDirectory() ? "directory" : "file";
1237
+ const target = await resolveCreationTarget(args.store, args.rootInput, args.newPathInput, redactor);
1238
+ if (target.relativePath === source.relativePath) {
1239
+ throw new FilesError(409, "ALREADY_EXISTS", "The new name matches the current name.");
1240
+ }
1241
+ // A folder cannot be moved into itself or one of its own descendants (it would orphan the subtree).
1242
+ if (target.relativePath.startsWith(`${source.relativePath}/`)) {
1243
+ throw new FilesError(400, "BAD_PATH", "A folder cannot be moved into itself.");
1244
+ }
1245
+ await assertRenameDestinationFree(target.path, source.path);
1246
+ try {
1247
+ await rename(source.path, target.path);
1248
+ }
1249
+ catch (error) {
1250
+ throw mapNodeFsError(error);
1251
+ }
1252
+ return {
1253
+ root: target.root,
1254
+ path: target.relativePath,
1255
+ previousPath: source.relativePath,
1256
+ kind,
1257
+ };
1258
+ }
1259
+ export async function deleteFilesEntry(args) {
1260
+ const target = await resolveInsideRoot(args.store, args.rootInput, args.pathInput, args.redactor ?? staticFilesMetadataRedactor);
1261
+ if (target.relativePath.length === 0) {
1262
+ throw new FilesError(400, "BAD_PATH", "The root folder cannot be deleted.");
1263
+ }
1264
+ if (target.symlink) {
1265
+ throw new FilesError(400, "UNSUPPORTED", "Symbolic links cannot be deleted here.");
1266
+ }
1267
+ if (args.baseVersion !== undefined && target.stats.isFile()) {
1268
+ await assertSessionNotStale(target, args.baseVersion);
1269
+ }
1270
+ const kind = target.stats.isDirectory() ? "directory" : "file";
1271
+ // `recursive` removes a non-empty folder, matching editor expectations. Containment + the deny-list
1272
+ // bound the blast radius to inside the selected root and away from .git/node_modules/secrets, and
1273
+ // symlinks are rejected above so `rm` never recurses THROUGH a link out of the root.
1274
+ try {
1275
+ await rm(target.path, { recursive: kind === "directory", force: false });
1276
+ }
1277
+ catch (error) {
1278
+ throw mapNodeFsError(error);
1279
+ }
1280
+ return { root: target.root, path: target.relativePath, kind };
1281
+ }
1282
+ export async function copyFilesEntry(args) {
1283
+ const redactor = args.redactor ?? staticFilesMetadataRedactor;
1284
+ // Source must exist, be contained, and not be denied or a symlink (we never dereference one).
1285
+ const source = await resolveInsideRoot(args.store, args.rootInput, args.sourcePathInput, redactor);
1286
+ if (source.relativePath.length === 0) {
1287
+ throw new FilesError(400, "BAD_PATH", "The root folder cannot be copied.");
1288
+ }
1289
+ if (source.symlink) {
1290
+ throw new FilesError(400, "UNSUPPORTED", "Symbolic links cannot be copied here.");
1291
+ }
1292
+ const kind = source.stats.isDirectory() ? "directory" : "file";
1293
+ // Destination resolves like a create target: parent must exist + be contained + non-denied.
1294
+ const target = await resolveCreationTarget(args.store, args.rootInput, args.destPathInput, redactor);
1295
+ if (target.relativePath === source.relativePath ||
1296
+ target.relativePath.startsWith(`${source.relativePath}/`)) {
1297
+ throw new FilesError(400, "BAD_PATH", "A folder cannot be copied into itself.");
1298
+ }
1299
+ try {
1300
+ // `force:false` + `errorOnExist` refuse to overwrite; `dereference:false` copies symlinks as
1301
+ // links (never follows one out of the root). Contents stay inside the root throughout.
1302
+ await cp(source.path, target.path, {
1303
+ recursive: kind === "directory",
1304
+ force: false,
1305
+ errorOnExist: true,
1306
+ dereference: false,
1307
+ });
1308
+ }
1309
+ catch (error) {
1310
+ throw mapNodeFsError(error);
1311
+ }
1312
+ return {
1313
+ root: target.root,
1314
+ path: target.relativePath,
1315
+ previousPath: source.relativePath,
1316
+ kind,
1317
+ };
1318
+ }
818
1319
  export async function readFilesPreview(store, rootInput, pathInput, redactor = staticFilesMetadataRedactor) {
819
1320
  const target = await resolveInsideRoot(store, rootInput, pathInput, redactor);
820
1321
  if (!target.stats.isFile()) {
@@ -905,3 +1406,126 @@ export async function handleFilesContent(ctx, deps) {
905
1406
  ? readFilesContentRoute(ctx, deps)
906
1407
  : writeFilesContentRoute(ctx, deps));
907
1408
  }
1409
+ // Bounded body for a mutation request: a path plus a few short fields, never file content.
1410
+ const MAX_FILES_MUTATION_BODY_BYTES = 16_384;
1411
+ export async function handleFilesCreate(ctx, deps) {
1412
+ return runFilesHandler(async () => {
1413
+ const body = await readJsonObject(ctx.req, MAX_FILES_MUTATION_BODY_BYTES);
1414
+ if (isRouteResult(body))
1415
+ return body;
1416
+ const rootInput = typeof body.root === "string" ? body.root : null;
1417
+ const pathInput = typeof body.path === "string" ? body.path : null;
1418
+ const kind = body.kind === "directory" ? "directory" : body.kind === "file" ? "file" : null;
1419
+ if (rootInput === null || pathInput === null || kind === null) {
1420
+ return {
1421
+ status: 400,
1422
+ body: errorBody("BAD_REQUEST", "root, path, and kind ('file' or 'directory') are required to create an entry."),
1423
+ };
1424
+ }
1425
+ return {
1426
+ status: 201,
1427
+ body: await createFilesEntry({
1428
+ store: deps.store,
1429
+ rootInput,
1430
+ pathInput,
1431
+ kind,
1432
+ redactor: deps.redactor,
1433
+ }),
1434
+ };
1435
+ });
1436
+ }
1437
+ // Parse an optional `baseVersion` from a mutation body: undefined when absent, the parsed version when
1438
+ // valid, or a 400 RouteResult when present-but-malformed (Issue 2.6).
1439
+ function parseOptionalBaseVersion(body) {
1440
+ if (body.baseVersion === undefined)
1441
+ return { version: undefined };
1442
+ const parsed = parseEditorDocumentVersion(body.baseVersion);
1443
+ if (!parsed.ok) {
1444
+ return { status: 400, body: errorBody("BAD_REQUEST", "baseVersion is not a valid version.") };
1445
+ }
1446
+ return { version: parsed.value };
1447
+ }
1448
+ export async function handleFilesRename(ctx, deps) {
1449
+ return runFilesHandler(async () => {
1450
+ const body = await readJsonObject(ctx.req, MAX_FILES_MUTATION_BODY_BYTES);
1451
+ if (isRouteResult(body))
1452
+ return body;
1453
+ const rootInput = typeof body.root === "string" ? body.root : null;
1454
+ const pathInput = typeof body.path === "string" ? body.path : null;
1455
+ const newPathInput = typeof body.newPath === "string" ? body.newPath : null;
1456
+ if (rootInput === null || pathInput === null || newPathInput === null) {
1457
+ return {
1458
+ status: 400,
1459
+ body: errorBody("BAD_REQUEST", "root, path, and newPath are required to rename an entry."),
1460
+ };
1461
+ }
1462
+ const baseVersion = parseOptionalBaseVersion(body);
1463
+ if (isRouteResult(baseVersion))
1464
+ return baseVersion;
1465
+ return {
1466
+ status: 200,
1467
+ body: await renameFilesEntry({
1468
+ store: deps.store,
1469
+ rootInput,
1470
+ pathInput,
1471
+ newPathInput,
1472
+ baseVersion: baseVersion.version,
1473
+ redactor: deps.redactor,
1474
+ }),
1475
+ };
1476
+ });
1477
+ }
1478
+ export async function handleFilesDelete(ctx, deps) {
1479
+ return runFilesHandler(async () => {
1480
+ const body = await readJsonObject(ctx.req, MAX_FILES_MUTATION_BODY_BYTES);
1481
+ if (isRouteResult(body))
1482
+ return body;
1483
+ const rootInput = typeof body.root === "string" ? body.root : null;
1484
+ const pathInput = typeof body.path === "string" ? body.path : null;
1485
+ if (rootInput === null || pathInput === null) {
1486
+ return {
1487
+ status: 400,
1488
+ body: errorBody("BAD_REQUEST", "root and path are required to delete an entry."),
1489
+ };
1490
+ }
1491
+ const baseVersion = parseOptionalBaseVersion(body);
1492
+ if (isRouteResult(baseVersion))
1493
+ return baseVersion;
1494
+ return {
1495
+ status: 200,
1496
+ body: await deleteFilesEntry({
1497
+ store: deps.store,
1498
+ rootInput,
1499
+ pathInput,
1500
+ baseVersion: baseVersion.version,
1501
+ redactor: deps.redactor,
1502
+ }),
1503
+ };
1504
+ });
1505
+ }
1506
+ export async function handleFilesCopy(ctx, deps) {
1507
+ return runFilesHandler(async () => {
1508
+ const body = await readJsonObject(ctx.req, MAX_FILES_MUTATION_BODY_BYTES);
1509
+ if (isRouteResult(body))
1510
+ return body;
1511
+ const rootInput = typeof body.root === "string" ? body.root : null;
1512
+ const sourcePathInput = typeof body.sourcePath === "string" ? body.sourcePath : null;
1513
+ const destPathInput = typeof body.destPath === "string" ? body.destPath : null;
1514
+ if (rootInput === null || sourcePathInput === null || destPathInput === null) {
1515
+ return {
1516
+ status: 400,
1517
+ body: errorBody("BAD_REQUEST", "root, sourcePath, and destPath are required to copy an entry."),
1518
+ };
1519
+ }
1520
+ return {
1521
+ status: 201,
1522
+ body: await copyFilesEntry({
1523
+ store: deps.store,
1524
+ rootInput,
1525
+ sourcePathInput,
1526
+ destPathInput,
1527
+ redactor: deps.redactor,
1528
+ }),
1529
+ };
1530
+ });
1531
+ }