@oscharko-dev/keiko 1.2.3 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (803) hide show
  1. package/README.md +30 -0
  2. package/dist/ui/csp-hashes.json +6 -6
  3. package/dist/ui/static/404.html +1 -1
  4. package/dist/ui/static/__next.__PAGE__.txt +11 -11
  5. package/dist/ui/static/__next._full.txt +13 -13
  6. package/dist/ui/static/__next._tree.txt +2 -2
  7. package/dist/ui/static/_next/static/chunks/01v1_t-lungu7.js +1 -0
  8. package/dist/ui/static/_next/static/chunks/04dp_lufwpm_c.js +4 -0
  9. package/dist/ui/static/_next/static/chunks/{3i-bau-dkdsre.js → 093a8t-2cq6m-.js} +1 -1
  10. package/dist/ui/static/_next/static/chunks/{1-tqt01g3ezzf.js → 0d2jdima45f80.js} +1 -1
  11. package/dist/ui/static/_next/static/chunks/0jgz-asdfgt0a.js +1 -0
  12. package/dist/ui/static/_next/static/chunks/{363iuc3t94rie.js → 0pwhvlvc5xzdn.js} +1 -1
  13. package/dist/ui/static/_next/static/chunks/0qv18mxl-svtm.js +1 -0
  14. package/dist/ui/static/_next/static/chunks/{41l7r4_lp8h3b.js → 0t_pueqvpjhte.js} +1 -1
  15. package/dist/ui/static/_next/static/chunks/0vp6vie-w0uoj.js +1 -0
  16. package/dist/ui/static/_next/static/chunks/0yfynlzpk94vs.js +1 -0
  17. package/dist/ui/static/_next/static/chunks/0z3r0nbwzm3go.js +1 -0
  18. package/dist/ui/static/_next/static/chunks/{44wg5l_yhce68.js → 0zfirl91hq_ln.js} +1 -1
  19. package/dist/ui/static/_next/static/chunks/{2vtdrsvnxytc9.js → 1-t3xxvikveec.js} +1 -1
  20. package/dist/ui/static/_next/static/chunks/12w_v6vr9vd22.js +1 -0
  21. package/dist/ui/static/_next/static/chunks/13sm61rx0q9m9.js +1 -0
  22. package/dist/ui/static/_next/static/chunks/{13b600zao46ql.js → 1cvrnrez0p5sh.js} +1 -1
  23. package/dist/ui/static/_next/static/chunks/{2uih2pg9m9qmj.js → 1d-qbfzavu7_h.js} +1 -1
  24. package/dist/ui/static/_next/static/chunks/1d_8494rie_2y.js +1 -0
  25. package/dist/ui/static/_next/static/chunks/1f54omp_06bxq.js +1 -0
  26. package/dist/ui/static/_next/static/chunks/1i7d10xj8vuah.js +3 -0
  27. package/dist/ui/static/_next/static/chunks/1k8c-8atljqqw.js +3 -0
  28. package/dist/ui/static/_next/static/chunks/1l676jhjwtevb.js +1 -0
  29. package/dist/ui/static/_next/static/chunks/{0wpr48yin0ic7.js → 1ppxq34e8yoto.js} +1 -1
  30. package/dist/ui/static/_next/static/chunks/1qgnefr4jj_n-.js +1 -0
  31. package/dist/ui/static/_next/static/chunks/1r7nm7hfkns1l.js +1 -0
  32. package/dist/ui/static/_next/static/chunks/{3iq-e8hj1ueji.js → 1s2tjtk748q8w.js} +1 -1
  33. package/dist/ui/static/_next/static/chunks/1stvo8-y2miuz.js +1 -0
  34. package/dist/ui/static/_next/static/chunks/1t4zp9vejq5h0.js +1 -0
  35. package/dist/ui/static/_next/static/chunks/1ubq2i81_6-6d.js +1 -0
  36. package/dist/ui/static/_next/static/chunks/1w2mgrozzxtu5.js +1 -0
  37. package/dist/ui/static/_next/static/chunks/2-vwp2300eiru.js +1 -0
  38. package/dist/ui/static/_next/static/chunks/2013jtodtg8y1.js +1 -0
  39. package/dist/ui/static/_next/static/chunks/2169pghueen2s.js +1 -0
  40. package/dist/ui/static/_next/static/chunks/{19us2pnpa8mf8.js → 242m8in5ekjq8.js} +1 -1
  41. package/dist/ui/static/_next/static/chunks/24is2i_l0kpzd.js +1 -0
  42. package/dist/ui/static/_next/static/chunks/27mnm_nd_hxtu.js +1 -0
  43. package/dist/ui/static/_next/static/chunks/27tzfe7swrig-.js +1 -0
  44. package/dist/ui/static/_next/static/chunks/{0pf5ot48kepng.js → 2928_k4v79qpr.js} +1 -1
  45. package/dist/ui/static/_next/static/chunks/{32s9z5cglqmbi.js → 2951adkvdmyxh.js} +1 -1
  46. package/dist/ui/static/_next/static/chunks/{1wgsq93v4kcm7.js → 2_52lwqeijscc.js} +1 -1
  47. package/dist/ui/static/_next/static/chunks/2apif8vheen3j.js +1 -0
  48. package/dist/ui/static/_next/static/chunks/{43z5mfwx4lk4w.js → 2ay2c5nsvk_cj.js} +1 -1
  49. package/dist/ui/static/_next/static/chunks/2b29lijhhd1wz.js +1 -0
  50. package/dist/ui/static/_next/static/chunks/2dn8u_6hzkn57.js +1 -0
  51. package/dist/ui/static/_next/static/chunks/2flrm_8eutmbc.js +1 -0
  52. package/dist/ui/static/_next/static/chunks/{1wej005w-r7k1.js → 2ftc0soh8as83.js} +1 -1
  53. package/dist/ui/static/_next/static/chunks/2hoqex9nash3z.js +1 -0
  54. package/dist/ui/static/_next/static/chunks/2jwuztc0yn8-r.js +1 -0
  55. package/dist/ui/static/_next/static/chunks/2n5vihmo9elyz.js +1 -0
  56. package/dist/ui/static/_next/static/chunks/2nqtngomjb1bp.js +1 -0
  57. package/dist/ui/static/_next/static/chunks/{1-fier5v6ak98.js → 2p5u7d3e9qxjb.js} +1 -1
  58. package/dist/ui/static/_next/static/chunks/2risd54y56w4g.js +1 -0
  59. package/dist/ui/static/_next/static/chunks/{3a5x5inysfyth.js → 2yktsurcwy8z3.js} +1 -1
  60. package/dist/ui/static/_next/static/chunks/38vqzua2lajgi.js +1 -0
  61. package/dist/ui/static/_next/static/chunks/{3h-c3eoofzojo.js → 3_7r108axban1.js} +1 -1
  62. package/dist/ui/static/_next/static/chunks/{1mvgvqdan68ot.js → 3bz7bn8q5sdkh.js} +1 -1
  63. package/dist/ui/static/_next/static/chunks/3e4qdou22wwph.js +1 -0
  64. package/dist/ui/static/_next/static/chunks/{0b7xat6jxvrmr.js → 3ewz9qliv4_oo.js} +1 -1
  65. package/dist/ui/static/_next/static/chunks/{42pls95xys34g.js → 3f4zrx3l_t7bm.js} +1 -1
  66. package/dist/ui/static/_next/static/chunks/3geyrdwtcet-p.js +1 -0
  67. package/dist/ui/static/_next/static/chunks/3hc9e7_zdh7u0.js +1 -0
  68. package/dist/ui/static/_next/static/chunks/3ms_1t-ouq62a.js +1 -0
  69. package/dist/ui/static/_next/static/chunks/3o7lxivj9_piy.css +3 -0
  70. package/dist/ui/static/_next/static/chunks/{1_jahw54w_7c-.css → 3pjmpqtes6x60.css} +11 -9
  71. package/dist/ui/static/_next/static/chunks/{0y3402xorco2c.js → 3r-kxb8gxvjvl.js} +1 -1
  72. package/dist/ui/static/_next/static/chunks/3txhi914s5taw.js +1 -0
  73. package/dist/ui/static/_next/static/chunks/{0zkirehh0825i.js → 3z7po2eflk3an.js} +1 -1
  74. package/dist/ui/static/_not-found/__next._full.txt +9 -9
  75. package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +8 -8
  76. package/dist/ui/static/_not-found/__next._tree.txt +1 -1
  77. package/dist/ui/static/_not-found.html +1 -1
  78. package/dist/ui/static/_not-found.txt +9 -9
  79. package/dist/ui/static/atlassian-connectors/__next._full.txt +13 -13
  80. package/dist/ui/static/atlassian-connectors/__next._tree.txt +1 -1
  81. package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +10 -10
  82. package/dist/ui/static/atlassian-connectors.html +1 -1
  83. package/dist/ui/static/atlassian-connectors.txt +13 -13
  84. package/dist/ui/static/index.html +1 -1
  85. package/dist/ui/static/index.txt +13 -13
  86. package/dist/ui/static/launch/__next._full.txt +13 -13
  87. package/dist/ui/static/launch/__next._tree.txt +2 -2
  88. package/dist/ui/static/launch/__next.launch.__PAGE__.txt +11 -11
  89. package/dist/ui/static/launch.html +1 -1
  90. package/dist/ui/static/launch.txt +13 -13
  91. package/dist/ui/static/local-knowledge/__next._full.txt +13 -13
  92. package/dist/ui/static/local-knowledge/__next._tree.txt +2 -2
  93. package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +11 -11
  94. package/dist/ui/static/local-knowledge/capsule/__next._full.txt +11 -11
  95. package/dist/ui/static/local-knowledge/capsule/__next._tree.txt +1 -1
  96. package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.__PAGE__.txt +10 -10
  97. package/dist/ui/static/local-knowledge/capsule.html +1 -1
  98. package/dist/ui/static/local-knowledge/capsule.txt +11 -11
  99. package/dist/ui/static/local-knowledge.html +1 -1
  100. package/dist/ui/static/local-knowledge.txt +13 -13
  101. package/node_modules/@chevrotain/cst-dts-gen/LICENSE.txt +202 -0
  102. package/node_modules/@chevrotain/cst-dts-gen/lib/src/api.d.ts +2 -0
  103. package/node_modules/@chevrotain/cst-dts-gen/lib/src/api.js +12 -0
  104. package/node_modules/@chevrotain/cst-dts-gen/lib/src/generate.d.ts +3 -0
  105. package/node_modules/@chevrotain/cst-dts-gen/lib/src/generate.js +65 -0
  106. package/node_modules/@chevrotain/cst-dts-gen/lib/src/model.d.ts +19 -0
  107. package/node_modules/@chevrotain/cst-dts-gen/lib/src/model.js +96 -0
  108. package/node_modules/@chevrotain/cst-dts-gen/package.json +39 -0
  109. package/node_modules/@chevrotain/cst-dts-gen/src/api.ts +22 -0
  110. package/node_modules/@chevrotain/cst-dts-gen/src/generate.ts +98 -0
  111. package/node_modules/@chevrotain/cst-dts-gen/src/model.ts +172 -0
  112. package/node_modules/@chevrotain/gast/LICENSE.txt +202 -0
  113. package/node_modules/@chevrotain/gast/lib/src/api.d.ts +3 -0
  114. package/node_modules/@chevrotain/gast/lib/src/api.js +4 -0
  115. package/node_modules/@chevrotain/gast/lib/src/helpers.d.ts +10 -0
  116. package/node_modules/@chevrotain/gast/lib/src/helpers.js +79 -0
  117. package/node_modules/@chevrotain/gast/lib/src/model.d.ts +144 -0
  118. package/node_modules/@chevrotain/gast/lib/src/model.js +225 -0
  119. package/node_modules/@chevrotain/gast/lib/src/visitor.d.ts +15 -0
  120. package/node_modules/@chevrotain/gast/lib/src/visitor.js +52 -0
  121. package/node_modules/@chevrotain/gast/package.json +38 -0
  122. package/node_modules/@chevrotain/gast/src/api.ts +23 -0
  123. package/node_modules/@chevrotain/gast/src/helpers.ts +98 -0
  124. package/node_modules/@chevrotain/gast/src/model.ts +416 -0
  125. package/node_modules/@chevrotain/gast/src/visitor.ts +76 -0
  126. package/node_modules/@oscharko-dev/keiko-activity-log/dist/activity-log-store.d.ts +1 -1
  127. package/node_modules/@oscharko-dev/keiko-activity-log/dist/activity-log-store.d.ts.map +1 -1
  128. package/node_modules/@oscharko-dev/keiko-activity-log/dist/activity-log-store.js +5 -10
  129. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts +10 -0
  130. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts.map +1 -1
  131. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.js +69 -1
  132. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts +14 -0
  133. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts.map +1 -1
  134. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.js +17 -1
  135. package/node_modules/@oscharko-dev/keiko-activity-log/dist/server-log.d.ts.map +1 -1
  136. package/node_modules/@oscharko-dev/keiko-activity-log/dist/server-log.js +23 -8
  137. package/node_modules/@oscharko-dev/keiko-activity-log/package.json +3 -3
  138. package/node_modules/@oscharko-dev/keiko-cli/dist/launcher-paths.d.ts +1 -0
  139. package/node_modules/@oscharko-dev/keiko-cli/dist/launcher-paths.d.ts.map +1 -1
  140. package/node_modules/@oscharko-dev/keiko-cli/dist/launcher-paths.js +1 -1
  141. package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-health-activity.d.ts +4 -0
  142. package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-health-activity.d.ts.map +1 -0
  143. package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-health-activity.js +44 -0
  144. package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-native-activity.d.ts +3 -0
  145. package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-native-activity.d.ts.map +1 -0
  146. package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-native-activity.js +45 -0
  147. package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.d.ts +2 -0
  148. package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.d.ts.map +1 -1
  149. package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.js +251 -49
  150. package/node_modules/@oscharko-dev/keiko-cli/dist/native-ui-channel.d.ts +3 -0
  151. package/node_modules/@oscharko-dev/keiko-cli/dist/native-ui-channel.d.ts.map +1 -0
  152. package/node_modules/@oscharko-dev/keiko-cli/dist/native-ui-channel.js +55 -0
  153. package/node_modules/@oscharko-dev/keiko-cli/dist/native-ui-reap.d.ts +6 -0
  154. package/node_modules/@oscharko-dev/keiko-cli/dist/native-ui-reap.d.ts.map +1 -0
  155. package/node_modules/@oscharko-dev/keiko-cli/dist/native-ui-reap.js +108 -0
  156. package/node_modules/@oscharko-dev/keiko-cli/dist/native-ui-runtime.d.ts +42 -0
  157. package/node_modules/@oscharko-dev/keiko-cli/dist/native-ui-runtime.d.ts.map +1 -0
  158. package/node_modules/@oscharko-dev/keiko-cli/dist/native-ui-runtime.js +198 -0
  159. package/node_modules/@oscharko-dev/keiko-cli/dist/portable-install.d.ts.map +1 -1
  160. package/node_modules/@oscharko-dev/keiko-cli/dist/portable-install.js +5 -10
  161. package/node_modules/@oscharko-dev/keiko-cli/dist/portable-maintenance.d.ts.map +1 -1
  162. package/node_modules/@oscharko-dev/keiko-cli/dist/portable-maintenance.js +1 -0
  163. package/node_modules/@oscharko-dev/keiko-cli/dist/portable-root-policy.d.ts.map +1 -1
  164. package/node_modules/@oscharko-dev/keiko-cli/dist/portable-root-policy.js +2 -21
  165. package/node_modules/@oscharko-dev/keiko-cli/dist/portable.d.ts.map +1 -1
  166. package/node_modules/@oscharko-dev/keiko-cli/dist/portable.js +4 -0
  167. package/node_modules/@oscharko-dev/keiko-cli/dist/repair.d.ts.map +1 -1
  168. package/node_modules/@oscharko-dev/keiko-cli/dist/repair.js +21 -1
  169. package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.d.ts +18 -6
  170. package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.d.ts.map +1 -1
  171. package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.js +185 -42
  172. package/node_modules/@oscharko-dev/keiko-cli/dist/ui-lifecycle-guard.d.ts +8 -0
  173. package/node_modules/@oscharko-dev/keiko-cli/dist/ui-lifecycle-guard.d.ts.map +1 -0
  174. package/node_modules/@oscharko-dev/keiko-cli/dist/ui-lifecycle-guard.js +37 -0
  175. package/node_modules/@oscharko-dev/keiko-cli/dist/ui-process-stop.d.ts.map +1 -1
  176. package/node_modules/@oscharko-dev/keiko-cli/dist/ui-process-stop.js +20 -1
  177. package/node_modules/@oscharko-dev/keiko-cli/dist/ui.d.ts +3 -0
  178. package/node_modules/@oscharko-dev/keiko-cli/dist/ui.d.ts.map +1 -1
  179. package/node_modules/@oscharko-dev/keiko-cli/dist/ui.js +62 -22
  180. package/node_modules/@oscharko-dev/keiko-cli/dist/uninstall.d.ts.map +1 -1
  181. package/node_modules/@oscharko-dev/keiko-cli/dist/uninstall.js +28 -1
  182. package/node_modules/@oscharko-dev/keiko-cli/package.json +15 -15
  183. package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts +1 -1
  184. package/node_modules/@oscharko-dev/keiko-connectors/dist/version.js +1 -1
  185. package/node_modules/@oscharko-dev/keiko-connectors/package.json +3 -3
  186. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.d.ts +79 -19
  187. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.d.ts.map +1 -1
  188. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.js +133 -12
  189. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts +658 -22
  190. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts.map +1 -1
  191. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.js +732 -3
  192. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts +624 -19
  193. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts.map +1 -1
  194. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.js +780 -15
  195. package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts +9 -0
  196. package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts.map +1 -1
  197. package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.js +4 -0
  198. package/node_modules/@oscharko-dev/keiko-contracts/dist/browser-approval.d.ts +105 -0
  199. package/node_modules/@oscharko-dev/keiko-contracts/dist/browser-approval.d.ts.map +1 -0
  200. package/node_modules/@oscharko-dev/keiko-contracts/dist/browser-approval.js +257 -0
  201. package/node_modules/@oscharko-dev/keiko-contracts/dist/citation-markers.d.ts +1 -1
  202. package/node_modules/@oscharko-dev/keiko-contracts/dist/citation-markers.d.ts.map +1 -1
  203. package/node_modules/@oscharko-dev/keiko-contracts/dist/citation-markers.js +12 -5
  204. package/node_modules/@oscharko-dev/keiko-contracts/dist/client-defect-signature.d.ts.map +1 -1
  205. package/node_modules/@oscharko-dev/keiko-contracts/dist/client-defect-signature.js +8 -8
  206. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session.d.ts +2 -0
  207. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session.d.ts.map +1 -1
  208. package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session.js +1 -0
  209. package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-context.d.ts +6 -0
  210. package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-context.d.ts.map +1 -1
  211. package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-context.js +10 -0
  212. package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts +24 -4
  213. package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts.map +1 -1
  214. package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.js +92 -1
  215. package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts +1 -0
  216. package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts.map +1 -1
  217. package/node_modules/@oscharko-dev/keiko-contracts/dist/native-runtime-wire.d.ts +34 -0
  218. package/node_modules/@oscharko-dev/keiko-contracts/dist/native-runtime-wire.d.ts.map +1 -0
  219. package/node_modules/@oscharko-dev/keiko-contracts/dist/native-runtime-wire.js +156 -0
  220. package/node_modules/@oscharko-dev/keiko-contracts/dist/ui-launch.d.ts +5 -0
  221. package/node_modules/@oscharko-dev/keiko-contracts/dist/ui-launch.d.ts.map +1 -0
  222. package/node_modules/@oscharko-dev/keiko-contracts/dist/ui-launch.js +6 -0
  223. package/node_modules/@oscharko-dev/keiko-contracts/dist/unified-diff.d.ts +31 -0
  224. package/node_modules/@oscharko-dev/keiko-contracts/dist/unified-diff.d.ts.map +1 -0
  225. package/node_modules/@oscharko-dev/keiko-contracts/dist/unified-diff.js +247 -0
  226. package/node_modules/@oscharko-dev/keiko-contracts/dist/version.d.ts +2 -2
  227. package/node_modules/@oscharko-dev/keiko-contracts/dist/version.js +2 -2
  228. package/node_modules/@oscharko-dev/keiko-contracts/package.json +13 -1
  229. package/node_modules/@oscharko-dev/keiko-evaluations/package.json +9 -9
  230. package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts +1 -1
  231. package/node_modules/@oscharko-dev/keiko-evidence/dist/version.js +1 -1
  232. package/node_modules/@oscharko-dev/keiko-evidence/package.json +4 -4
  233. package/node_modules/@oscharko-dev/keiko-git/dist/version.d.ts +1 -1
  234. package/node_modules/@oscharko-dev/keiko-git/dist/version.js +1 -1
  235. package/node_modules/@oscharko-dev/keiko-git/package.json +1 -1
  236. package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts +1 -1
  237. package/node_modules/@oscharko-dev/keiko-harness/dist/version.js +1 -1
  238. package/node_modules/@oscharko-dev/keiko-harness/package.json +7 -7
  239. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/usearch-ann-index.d.ts.map +1 -1
  240. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/usearch-ann-index.js +66 -17
  241. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/usearch-index-worker.js +87 -52
  242. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/usearch-worker-protocol.d.ts +2 -0
  243. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/usearch-worker-protocol.d.ts.map +1 -1
  244. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts +1 -1
  245. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.js +1 -1
  246. package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +5 -5
  247. package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts +1 -1
  248. package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.js +1 -1
  249. package/node_modules/@oscharko-dev/keiko-memory-capture/package.json +3 -3
  250. package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts +1 -1
  251. package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.js +1 -1
  252. package/node_modules/@oscharko-dev/keiko-memory-consolidation/package.json +3 -3
  253. package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts +1 -1
  254. package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.js +1 -1
  255. package/node_modules/@oscharko-dev/keiko-memory-governance/package.json +3 -3
  256. package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts +1 -1
  257. package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.js +1 -1
  258. package/node_modules/@oscharko-dev/keiko-memory-retrieval/package.json +3 -3
  259. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts +1 -1
  260. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.js +1 -1
  261. package/node_modules/@oscharko-dev/keiko-memory-vault/package.json +3 -3
  262. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.d.ts.map +1 -1
  263. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.js +57 -54
  264. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts +1 -1
  265. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.js +1 -1
  266. package/node_modules/@oscharko-dev/keiko-model-gateway/package.json +4 -4
  267. package/node_modules/@oscharko-dev/keiko-quality-intelligence/package.json +3 -3
  268. package/node_modules/@oscharko-dev/keiko-sandbox/package.json +2 -2
  269. package/node_modules/@oscharko-dev/keiko-sdk/package.json +9 -9
  270. package/node_modules/@oscharko-dev/keiko-security/dist/fs-hardening.d.ts.map +1 -1
  271. package/node_modules/@oscharko-dev/keiko-security/dist/fs-hardening.js +42 -25
  272. package/node_modules/@oscharko-dev/keiko-security/dist/index.d.ts +3 -0
  273. package/node_modules/@oscharko-dev/keiko-security/dist/index.d.ts.map +1 -1
  274. package/node_modules/@oscharko-dev/keiko-security/dist/index.js +2 -0
  275. package/node_modules/@oscharko-dev/keiko-security/dist/native-process-scope.d.ts +4 -0
  276. package/node_modules/@oscharko-dev/keiko-security/dist/native-process-scope.d.ts.map +1 -0
  277. package/node_modules/@oscharko-dev/keiko-security/dist/native-process-scope.js +159 -0
  278. package/node_modules/@oscharko-dev/keiko-security/dist/portable-root-policy.d.ts +4 -0
  279. package/node_modules/@oscharko-dev/keiko-security/dist/portable-root-policy.d.ts.map +1 -0
  280. package/node_modules/@oscharko-dev/keiko-security/dist/portable-root-policy.js +26 -0
  281. package/node_modules/@oscharko-dev/keiko-security/dist/process-scope-worker.d.ts +15 -0
  282. package/node_modules/@oscharko-dev/keiko-security/dist/process-scope-worker.d.ts.map +1 -0
  283. package/node_modules/@oscharko-dev/keiko-security/dist/process-scope-worker.js +198 -0
  284. package/node_modules/@oscharko-dev/keiko-security/dist/process-scope.d.ts +39 -0
  285. package/node_modules/@oscharko-dev/keiko-security/dist/process-scope.d.ts.map +1 -0
  286. package/node_modules/@oscharko-dev/keiko-security/dist/process-scope.js +141 -0
  287. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-code.d.ts +52 -0
  288. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-code.d.ts.map +1 -0
  289. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-code.js +588 -0
  290. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-diff.d.ts +8 -0
  291. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-diff.d.ts.map +1 -0
  292. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-diff.js +274 -0
  293. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-java.d.ts +8 -0
  294. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-java.d.ts.map +1 -0
  295. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-java.js +313 -0
  296. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-private-key.d.ts +16 -0
  297. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-private-key.d.ts.map +1 -0
  298. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-private-key.js +51 -0
  299. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-source-map.d.ts +13 -0
  300. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-source-map.d.ts.map +1 -0
  301. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-source-map.js +28 -0
  302. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-stream.d.ts +19 -0
  303. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-stream.d.ts.map +1 -0
  304. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-stream.js +132 -0
  305. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-typescript.d.ts +30 -0
  306. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-typescript.d.ts.map +1 -0
  307. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-typescript.js +407 -0
  308. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-yaml.d.ts +19 -0
  309. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-yaml.d.ts.map +1 -0
  310. package/node_modules/@oscharko-dev/keiko-security/dist/redaction-yaml.js +393 -0
  311. package/node_modules/@oscharko-dev/keiko-security/dist/redaction.d.ts +8 -0
  312. package/node_modules/@oscharko-dev/keiko-security/dist/redaction.d.ts.map +1 -1
  313. package/node_modules/@oscharko-dev/keiko-security/dist/redaction.js +169 -37
  314. package/node_modules/@oscharko-dev/keiko-security/dist/sqlite-file-guard.d.ts +4 -0
  315. package/node_modules/@oscharko-dev/keiko-security/dist/sqlite-file-guard.d.ts.map +1 -0
  316. package/node_modules/@oscharko-dev/keiko-security/dist/sqlite-file-guard.js +17 -0
  317. package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts +1 -1
  318. package/node_modules/@oscharko-dev/keiko-security/dist/version.js +1 -1
  319. package/node_modules/@oscharko-dev/keiko-security/package.json +27 -2
  320. package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts.map +1 -1
  321. package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.js +88 -24
  322. package/node_modules/@oscharko-dev/keiko-server/dist/chat-scope-update-log.d.ts +1 -1
  323. package/node_modules/@oscharko-dev/keiko-server/dist/chat-scope-update-log.d.ts.map +1 -1
  324. package/node_modules/@oscharko-dev/keiko-server/dist/chat-scope-update-log.js +5 -3
  325. package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.d.ts.map +1 -1
  326. package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.js +51 -13
  327. package/node_modules/@oscharko-dev/keiko-server/dist/chat-turn-serializer.d.ts +8 -3
  328. package/node_modules/@oscharko-dev/keiko-server/dist/chat-turn-serializer.d.ts.map +1 -1
  329. package/node_modules/@oscharko-dev/keiko-server/dist/chat-turn-serializer.js +63 -13
  330. package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.d.ts.map +1 -1
  331. package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.js +74 -1
  332. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/browserApproval.d.ts +26 -0
  333. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/browserApproval.d.ts.map +1 -0
  334. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/browserApproval.js +319 -0
  335. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/browserApprovalRoutes.d.ts +3 -0
  336. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/browserApprovalRoutes.d.ts.map +1 -0
  337. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/browserApprovalRoutes.js +168 -0
  338. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.d.ts +1 -1
  339. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.d.ts.map +1 -1
  340. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.js +5 -4
  341. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/launcherSessionPairingPort.d.ts.map +1 -1
  342. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/launcherSessionPairingPort.js +7 -1
  343. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionChannel.d.ts +4 -0
  344. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionChannel.d.ts.map +1 -1
  345. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionChannel.js +22 -9
  346. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionRegistry.d.ts +15 -0
  347. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionRegistry.d.ts.map +1 -1
  348. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionRegistry.js +162 -23
  349. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessProtocol.d.ts +3 -10
  350. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessProtocol.d.ts.map +1 -1
  351. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessProtocol.js +6 -77
  352. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionPortableCodingRuntime.d.ts +2 -0
  353. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionPortableCodingRuntime.d.ts.map +1 -1
  354. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionPortableCodingRuntime.js +47 -7
  355. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadPortable.d.ts.map +1 -1
  356. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadPortable.js +15 -12
  357. package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
  358. package/node_modules/@oscharko-dev/keiko-server/dist/deps.js +8 -1
  359. package/node_modules/@oscharko-dev/keiko-server/dist/files.js +1 -1
  360. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts +2 -2
  361. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts.map +1 -1
  362. package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.js +26 -7
  363. package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeRoutes.d.ts.map +1 -1
  364. package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeRoutes.js +5 -24
  365. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-repair.d.ts.map +1 -1
  366. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-repair.js +16 -9
  367. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.d.ts.map +1 -1
  368. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.js +4 -0
  369. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.d.ts +5 -0
  370. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.d.ts.map +1 -1
  371. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.js +103 -9
  372. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-contextual-fallback.d.ts +3 -1
  373. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-contextual-fallback.d.ts.map +1 -1
  374. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-contextual-fallback.js +50 -18
  375. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-diagnostic-references.d.ts.map +1 -1
  376. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-diagnostic-references.js +18 -3
  377. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.d.ts +1 -0
  378. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.d.ts.map +1 -1
  379. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.js +5 -0
  380. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-explicit-paths.d.ts.map +1 -1
  381. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-explicit-paths.js +10 -3
  382. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.d.ts +5 -0
  383. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.d.ts.map +1 -1
  384. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.js +172 -55
  385. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-redactor.d.ts +4 -0
  386. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-redactor.d.ts.map +1 -0
  387. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-redactor.js +22 -0
  388. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.d.ts.map +1 -1
  389. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.js +11 -6
  390. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-selection-quality.js +1 -1
  391. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace.d.ts.map +1 -1
  392. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace.js +180 -71
  393. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-store-open.d.ts.map +1 -1
  394. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-store-open.js +1 -0
  395. package/node_modules/@oscharko-dev/keiko-server/dist/observability/route-template.d.ts.map +1 -1
  396. package/node_modules/@oscharko-dev/keiko-server/dist/observability/route-template.js +3 -0
  397. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/reviewStore.d.ts.map +1 -1
  398. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/reviewStore.js +4 -9
  399. package/node_modules/@oscharko-dev/keiko-server/dist/routes.d.ts.map +1 -1
  400. package/node_modules/@oscharko-dev/keiko-server/dist/routes.js +6 -1
  401. package/node_modules/@oscharko-dev/keiko-server/dist/store/browserApprovals.d.ts +21 -0
  402. package/node_modules/@oscharko-dev/keiko-server/dist/store/browserApprovals.d.ts.map +1 -0
  403. package/node_modules/@oscharko-dev/keiko-server/dist/store/browserApprovals.js +77 -0
  404. package/node_modules/@oscharko-dev/keiko-server/dist/store/chatCreationIntents.d.ts +8 -0
  405. package/node_modules/@oscharko-dev/keiko-server/dist/store/chatCreationIntents.d.ts.map +1 -0
  406. package/node_modules/@oscharko-dev/keiko-server/dist/store/chatCreationIntents.js +118 -0
  407. package/node_modules/@oscharko-dev/keiko-server/dist/store/chats.d.ts +2 -0
  408. package/node_modules/@oscharko-dev/keiko-server/dist/store/chats.d.ts.map +1 -1
  409. package/node_modules/@oscharko-dev/keiko-server/dist/store/chats.js +24 -8
  410. package/node_modules/@oscharko-dev/keiko-server/dist/store/db.d.ts.map +1 -1
  411. package/node_modules/@oscharko-dev/keiko-server/dist/store/db.js +50 -16
  412. package/node_modules/@oscharko-dev/keiko-server/dist/store/errors.d.ts +2 -1
  413. package/node_modules/@oscharko-dev/keiko-server/dist/store/errors.d.ts.map +1 -1
  414. package/node_modules/@oscharko-dev/keiko-server/dist/store/errors.js +3 -0
  415. package/node_modules/@oscharko-dev/keiko-server/dist/store/legacySchemaTestFixture.d.ts.map +1 -1
  416. package/node_modules/@oscharko-dev/keiko-server/dist/store/legacySchemaTestFixture.js +3 -1
  417. package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.d.ts.map +1 -1
  418. package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.js +2 -1
  419. package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts +1 -1
  420. package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts.map +1 -1
  421. package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.js +26 -1
  422. package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts +14 -1
  423. package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts.map +1 -1
  424. package/node_modules/@oscharko-dev/keiko-server/dist/store/workspaceManifests.d.ts.map +1 -1
  425. package/node_modules/@oscharko-dev/keiko-server/dist/store/workspaceManifests.js +10 -2
  426. package/node_modules/@oscharko-dev/keiko-server/dist/store-handlers.d.ts.map +1 -1
  427. package/node_modules/@oscharko-dev/keiko-server/dist/store-handlers.js +22 -3
  428. package/node_modules/@oscharko-dev/keiko-server/dist/support-report-job.d.ts.map +1 -1
  429. package/node_modules/@oscharko-dev/keiko-server/dist/support-report-job.js +31 -7
  430. package/node_modules/@oscharko-dev/keiko-server/dist/support-report-worker.js +2 -0
  431. package/node_modules/@oscharko-dev/keiko-server/dist/update-local-state.d.ts +2 -2
  432. package/node_modules/@oscharko-dev/keiko-server/dist/update-local-state.d.ts.map +1 -1
  433. package/node_modules/@oscharko-dev/keiko-server/dist/update-local-state.js +207 -61
  434. package/node_modules/@oscharko-dev/keiko-server/dist/update-native-app-control-stream.d.ts +20 -0
  435. package/node_modules/@oscharko-dev/keiko-server/dist/update-native-app-control-stream.d.ts.map +1 -0
  436. package/node_modules/@oscharko-dev/keiko-server/dist/update-native-app-control-stream.js +144 -0
  437. package/node_modules/@oscharko-dev/keiko-server/dist/update-native-app-control.d.ts +33 -0
  438. package/node_modules/@oscharko-dev/keiko-server/dist/update-native-app-control.d.ts.map +1 -0
  439. package/node_modules/@oscharko-dev/keiko-server/dist/update-native-app-control.js +160 -0
  440. package/node_modules/@oscharko-dev/keiko-server/dist/update-native-handoff-activity.d.ts +6 -0
  441. package/node_modules/@oscharko-dev/keiko-server/dist/update-native-handoff-activity.d.ts.map +1 -0
  442. package/node_modules/@oscharko-dev/keiko-server/dist/update-native-handoff-activity.js +41 -0
  443. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-activation-files.d.ts +2 -0
  444. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-activation-files.d.ts.map +1 -1
  445. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-activation-files.js +26 -14
  446. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-plan.d.ts.map +1 -1
  447. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-plan.js +14 -2
  448. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-production.d.ts.map +1 -1
  449. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-production.js +3 -1
  450. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-receipts.js +1 -1
  451. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-recovery.d.ts.map +1 -1
  452. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-recovery.js +3 -2
  453. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-tree.js +1 -1
  454. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff.d.ts +4 -0
  455. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff.d.ts.map +1 -1
  456. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff.js +89 -21
  457. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-install-mode.d.ts.map +1 -1
  458. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-install-mode.js +34 -24
  459. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-normal-startup.d.ts.map +1 -1
  460. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-normal-startup.js +4 -9
  461. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-windows-generation.d.ts +1 -1
  462. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-windows-generation.d.ts.map +1 -1
  463. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-windows-generation.js +11 -0
  464. package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-activity.d.ts +2 -1
  465. package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-activity.d.ts.map +1 -1
  466. package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-activity.js +93 -3
  467. package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-routes.d.ts.map +1 -1
  468. package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-routes.js +3 -0
  469. package/node_modules/@oscharko-dev/keiko-server/dist/update-remediation-drafts.d.ts +0 -1
  470. package/node_modules/@oscharko-dev/keiko-server/dist/update-remediation-drafts.d.ts.map +1 -1
  471. package/node_modules/@oscharko-dev/keiko-server/dist/update-remediation-drafts.js +0 -15
  472. package/node_modules/@oscharko-dev/keiko-server/dist/update-remediation.d.ts.map +1 -1
  473. package/node_modules/@oscharko-dev/keiko-server/dist/update-remediation.js +69 -38
  474. package/node_modules/@oscharko-dev/keiko-server/dist/update-runtime-activity.d.ts +8 -0
  475. package/node_modules/@oscharko-dev/keiko-server/dist/update-runtime-activity.d.ts.map +1 -1
  476. package/node_modules/@oscharko-dev/keiko-server/dist/update-runtime-activity.js +65 -0
  477. package/node_modules/@oscharko-dev/keiko-server/dist/update-session-lock.d.ts +1 -0
  478. package/node_modules/@oscharko-dev/keiko-server/dist/update-session-lock.d.ts.map +1 -1
  479. package/node_modules/@oscharko-dev/keiko-server/dist/update-session-lock.js +7 -11
  480. package/node_modules/@oscharko-dev/keiko-server/dist/update-session-routes.d.ts +1 -1
  481. package/node_modules/@oscharko-dev/keiko-server/dist/update-session-routes.d.ts.map +1 -1
  482. package/node_modules/@oscharko-dev/keiko-server/dist/update-session-routes.js +6 -2
  483. package/node_modules/@oscharko-dev/keiko-server/dist/update-session.d.ts.map +1 -1
  484. package/node_modules/@oscharko-dev/keiko-server/dist/update-session.js +3 -2
  485. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.d.ts +1 -1
  486. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.d.ts.map +1 -1
  487. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.js +1 -0
  488. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-identity.d.ts +7 -0
  489. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-identity.d.ts.map +1 -1
  490. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-identity.js +40 -0
  491. package/node_modules/@oscharko-dev/keiko-server/package.json +23 -23
  492. package/node_modules/@oscharko-dev/keiko-tool-catalog/package.json +3 -3
  493. package/node_modules/@oscharko-dev/keiko-tools/dist/patch-parse.d.ts +1 -8
  494. package/node_modules/@oscharko-dev/keiko-tools/dist/patch-parse.d.ts.map +1 -1
  495. package/node_modules/@oscharko-dev/keiko-tools/dist/patch-parse.js +1 -212
  496. package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts +1 -1
  497. package/node_modules/@oscharko-dev/keiko-tools/dist/version.js +1 -1
  498. package/node_modules/@oscharko-dev/keiko-tools/package.json +7 -7
  499. package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
  500. package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.d.ts.map +1 -1
  501. package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.js +9 -0
  502. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.d.ts +1 -1
  503. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.d.ts.map +1 -1
  504. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.js +3 -199
  505. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.d.ts +1 -1
  506. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.d.ts.map +1 -1
  507. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.js +1 -1
  508. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/intent.d.ts +1 -0
  509. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/intent.d.ts.map +1 -1
  510. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/intent.js +58 -1
  511. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.d.ts.map +1 -1
  512. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.js +17 -24
  513. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/references.d.ts.map +1 -1
  514. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/references.js +5 -2
  515. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/request-command-patterns.d.ts +2 -0
  516. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/request-command-patterns.d.ts.map +1 -0
  517. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/request-command-patterns.js +5 -0
  518. package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.d.ts +2 -1
  519. package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.d.ts.map +1 -1
  520. package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.js +32 -1
  521. package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
  522. package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.d.ts +2 -0
  523. package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.d.ts.map +1 -1
  524. package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.js +4 -0
  525. package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligence.d.ts +3 -0
  526. package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligence.d.ts.map +1 -1
  527. package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligence.js +117 -20
  528. package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.d.ts.map +1 -1
  529. package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.js +6 -4
  530. package/node_modules/@oscharko-dev/keiko-workspace/dist/importGraphEdges.d.ts.map +1 -1
  531. package/node_modules/@oscharko-dev/keiko-workspace/dist/importGraphEdges.js +2 -4
  532. package/node_modules/@oscharko-dev/keiko-workspace/dist/importPathSuffix.d.ts +3 -0
  533. package/node_modules/@oscharko-dev/keiko-workspace/dist/importPathSuffix.d.ts.map +1 -0
  534. package/node_modules/@oscharko-dev/keiko-workspace/dist/importPathSuffix.js +51 -0
  535. package/node_modules/@oscharko-dev/keiko-workspace/dist/index.d.ts +4 -1
  536. package/node_modules/@oscharko-dev/keiko-workspace/dist/index.d.ts.map +1 -1
  537. package/node_modules/@oscharko-dev/keiko-workspace/dist/index.js +4 -1
  538. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.d.ts +2 -0
  539. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.d.ts.map +1 -1
  540. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.js +9 -5
  541. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchCachedLexical.d.ts +1 -1
  542. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchCachedLexical.d.ts.map +1 -1
  543. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchCachedLexical.js +10 -1
  544. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.d.ts +1 -1
  545. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.d.ts.map +1 -1
  546. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.js +99 -3
  547. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.d.ts +5 -1
  548. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.d.ts.map +1 -1
  549. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.js +26 -1
  550. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.d.ts +2 -0
  551. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.d.ts.map +1 -1
  552. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.js +20 -3
  553. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPresentation.d.ts +7 -0
  554. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPresentation.d.ts.map +1 -0
  555. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPresentation.js +175 -0
  556. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryPaths.d.ts +3 -0
  557. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryPaths.d.ts.map +1 -0
  558. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryPaths.js +31 -0
  559. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.d.ts +1 -0
  560. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.d.ts.map +1 -1
  561. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.js +26 -7
  562. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRanking.d.ts.map +1 -1
  563. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRanking.js +15 -2
  564. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.d.ts +4 -1
  565. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.d.ts.map +1 -1
  566. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.js +28 -11
  567. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSourceDescriptors.d.ts +7 -0
  568. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSourceDescriptors.d.ts.map +1 -0
  569. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSourceDescriptors.js +137 -0
  570. package/node_modules/@oscharko-dev/keiko-workspace/dist/sourceRedaction.d.ts +3 -0
  571. package/node_modules/@oscharko-dev/keiko-workspace/dist/sourceRedaction.d.ts.map +1 -0
  572. package/node_modules/@oscharko-dev/keiko-workspace/dist/sourceRedaction.js +36 -0
  573. package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapterRequestContext.js +2 -2
  574. package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts +1 -1
  575. package/node_modules/@oscharko-dev/keiko-workspace/dist/version.js +1 -1
  576. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.d.ts +1 -1
  577. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.d.ts.map +1 -1
  578. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.js +2 -2
  579. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexQueryMatch.d.ts.map +1 -1
  580. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexQueryMatch.js +17 -0
  581. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.d.ts +10 -3
  582. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.d.ts.map +1 -1
  583. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.js +29 -3
  584. package/node_modules/@oscharko-dev/keiko-workspace/package.json +3 -3
  585. package/node_modules/chevrotain/BREAKING_CHANGES.md +1 -0
  586. package/node_modules/chevrotain/CHANGELOG.md +1 -0
  587. package/node_modules/chevrotain/LICENSE.txt +202 -0
  588. package/node_modules/chevrotain/README.md +20 -0
  589. package/node_modules/chevrotain/chevrotain.d.ts +2 -0
  590. package/node_modules/chevrotain/diagrams/README.md +1 -0
  591. package/node_modules/chevrotain/diagrams/diagrams.css +85 -0
  592. package/node_modules/chevrotain/diagrams/src/diagrams_behavior.js +223 -0
  593. package/node_modules/chevrotain/diagrams/src/diagrams_builder.js +204 -0
  594. package/node_modules/chevrotain/diagrams/src/diagrams_serializer.js +20 -0
  595. package/node_modules/chevrotain/diagrams/src/main.js +30 -0
  596. package/node_modules/chevrotain/diagrams/vendor/railroad-diagrams.js +968 -0
  597. package/node_modules/chevrotain/lib/chevrotain.min.mjs +165 -0
  598. package/node_modules/chevrotain/lib/chevrotain.mjs +9554 -0
  599. package/node_modules/chevrotain/lib/src/api.js +33 -0
  600. package/node_modules/chevrotain/lib/src/diagrams/render_public.js +39 -0
  601. package/node_modules/chevrotain/lib/src/lang/lang_extensions.js +10 -0
  602. package/node_modules/chevrotain/lib/src/parse/constants.js +3 -0
  603. package/node_modules/chevrotain/lib/src/parse/cst/cst.js +71 -0
  604. package/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +90 -0
  605. package/node_modules/chevrotain/lib/src/parse/errors_public.js +175 -0
  606. package/node_modules/chevrotain/lib/src/parse/exceptions_public.js +58 -0
  607. package/node_modules/chevrotain/lib/src/parse/grammar/checks.js +435 -0
  608. package/node_modules/chevrotain/lib/src/parse/grammar/first.js +56 -0
  609. package/node_modules/chevrotain/lib/src/parse/grammar/follow.js +45 -0
  610. package/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +21 -0
  611. package/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +492 -0
  612. package/node_modules/chevrotain/lib/src/parse/grammar/keys.js +26 -0
  613. package/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +47 -0
  614. package/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +471 -0
  615. package/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +38 -0
  616. package/node_modules/chevrotain/lib/src/parse/grammar/rest.js +103 -0
  617. package/node_modules/chevrotain/lib/src/parse/grammar/types.js +2 -0
  618. package/node_modules/chevrotain/lib/src/parse/parser/parser.js +201 -0
  619. package/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.js +22 -0
  620. package/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +74 -0
  621. package/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +295 -0
  622. package/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +70 -0
  623. package/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +134 -0
  624. package/node_modules/chevrotain/lib/src/parse/parser/traits/parser_traits.js +4 -0
  625. package/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +48 -0
  626. package/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +334 -0
  627. package/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +542 -0
  628. package/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +290 -0
  629. package/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +191 -0
  630. package/node_modules/chevrotain/lib/src/parse/parser/types.js +2 -0
  631. package/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +20 -0
  632. package/node_modules/chevrotain/lib/src/scan/lexer.js +875 -0
  633. package/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +9 -0
  634. package/node_modules/chevrotain/lib/src/scan/lexer_public.js +646 -0
  635. package/node_modules/chevrotain/lib/src/scan/reg_exp.js +240 -0
  636. package/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +18 -0
  637. package/node_modules/chevrotain/lib/src/scan/tokens.js +114 -0
  638. package/node_modules/chevrotain/lib/src/scan/tokens_constants.js +2 -0
  639. package/node_modules/chevrotain/lib/src/scan/tokens_public.js +87 -0
  640. package/node_modules/chevrotain/lib/src/text/range.js +28 -0
  641. package/node_modules/chevrotain/lib/src/version.js +5 -0
  642. package/node_modules/chevrotain/package.json +60 -0
  643. package/node_modules/chevrotain/src/api.ts +87 -0
  644. package/node_modules/chevrotain/src/diagrams/render_public.ts +53 -0
  645. package/node_modules/chevrotain/src/lang/lang_extensions.ts +10 -0
  646. package/node_modules/chevrotain/src/parse/constants.ts +2 -0
  647. package/node_modules/chevrotain/src/parse/cst/cst.ts +87 -0
  648. package/node_modules/chevrotain/src/parse/cst/cst_visitor.ts +153 -0
  649. package/node_modules/chevrotain/src/parse/errors_public.ts +325 -0
  650. package/node_modules/chevrotain/src/parse/exceptions_public.ts +89 -0
  651. package/node_modules/chevrotain/src/parse/grammar/checks.ts +712 -0
  652. package/node_modules/chevrotain/src/parse/grammar/first.ts +70 -0
  653. package/node_modules/chevrotain/src/parse/grammar/follow.ts +67 -0
  654. package/node_modules/chevrotain/src/parse/grammar/gast/gast_resolver_public.ts +50 -0
  655. package/node_modules/chevrotain/src/parse/grammar/interpreter.ts +623 -0
  656. package/node_modules/chevrotain/src/parse/grammar/keys.ts +33 -0
  657. package/node_modules/chevrotain/src/parse/grammar/llk_lookahead.ts +139 -0
  658. package/node_modules/chevrotain/src/parse/grammar/lookahead.ts +739 -0
  659. package/node_modules/chevrotain/src/parse/grammar/resolver.ts +57 -0
  660. package/node_modules/chevrotain/src/parse/grammar/rest.ts +163 -0
  661. package/node_modules/chevrotain/src/parse/grammar/types.ts +97 -0
  662. package/node_modules/chevrotain/src/parse/parser/parser.ts +318 -0
  663. package/node_modules/chevrotain/src/parse/parser/traits/context_assist.ts +51 -0
  664. package/node_modules/chevrotain/src/parse/parser/traits/error_handler.ts +124 -0
  665. package/node_modules/chevrotain/src/parse/parser/traits/gast_recorder.ts +456 -0
  666. package/node_modules/chevrotain/src/parse/parser/traits/lexer_adapter.ts +86 -0
  667. package/node_modules/chevrotain/src/parse/parser/traits/looksahead.ts +269 -0
  668. package/node_modules/chevrotain/src/parse/parser/traits/parser_traits.ts +58 -0
  669. package/node_modules/chevrotain/src/parse/parser/traits/perf_tracer.ts +54 -0
  670. package/node_modules/chevrotain/src/parse/parser/traits/recognizer_api.ts +719 -0
  671. package/node_modules/chevrotain/src/parse/parser/traits/recognizer_engine.ts +867 -0
  672. package/node_modules/chevrotain/src/parse/parser/traits/recoverable.ts +473 -0
  673. package/node_modules/chevrotain/src/parse/parser/traits/tree_builder.ts +275 -0
  674. package/node_modules/chevrotain/src/parse/parser/types.ts +16 -0
  675. package/node_modules/chevrotain/src/parse/parser/utils/apply_mixins.ts +28 -0
  676. package/node_modules/chevrotain/src/scan/lexer.ts +1175 -0
  677. package/node_modules/chevrotain/src/scan/lexer_errors_public.ts +21 -0
  678. package/node_modules/chevrotain/src/scan/lexer_public.ts +972 -0
  679. package/node_modules/chevrotain/src/scan/reg_exp.ts +315 -0
  680. package/node_modules/chevrotain/src/scan/reg_exp_parser.ts +34 -0
  681. package/node_modules/chevrotain/src/scan/tokens.ts +167 -0
  682. package/node_modules/chevrotain/src/scan/tokens_constants.ts +1 -0
  683. package/node_modules/chevrotain/src/scan/tokens_public.ts +121 -0
  684. package/node_modules/chevrotain/src/text/range.ts +49 -0
  685. package/node_modules/chevrotain/src/version.ts +4 -0
  686. package/node_modules/chevrotain-allstar/LICENSE +16 -0
  687. package/node_modules/chevrotain-allstar/README.md +22 -0
  688. package/node_modules/chevrotain-allstar/lib/all-star-lookahead.d.ts +36 -0
  689. package/node_modules/chevrotain-allstar/lib/all-star-lookahead.d.ts.map +1 -0
  690. package/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +556 -0
  691. package/node_modules/chevrotain-allstar/lib/atn.d.ts +105 -0
  692. package/node_modules/chevrotain-allstar/lib/atn.d.ts.map +1 -0
  693. package/node_modules/chevrotain-allstar/lib/atn.js +404 -0
  694. package/node_modules/chevrotain-allstar/lib/dfa.d.ts +37 -0
  695. package/node_modules/chevrotain-allstar/lib/dfa.d.ts.map +1 -0
  696. package/node_modules/chevrotain-allstar/lib/dfa.js +46 -0
  697. package/node_modules/chevrotain-allstar/lib/index.d.ts +7 -0
  698. package/node_modules/chevrotain-allstar/lib/index.d.ts.map +1 -0
  699. package/node_modules/chevrotain-allstar/lib/index.js +7 -0
  700. package/node_modules/chevrotain-allstar/package.json +37 -0
  701. package/node_modules/chevrotain-allstar/src/all-star-lookahead.ts +763 -0
  702. package/node_modules/chevrotain-allstar/src/atn.ts +642 -0
  703. package/node_modules/chevrotain-allstar/src/dfa.ts +78 -0
  704. package/node_modules/chevrotain-allstar/src/index.ts +11 -0
  705. package/node_modules/java-parser/LICENSE +204 -0
  706. package/node_modules/java-parser/README.md +78 -0
  707. package/node_modules/java-parser/api.d.ts +3683 -0
  708. package/node_modules/java-parser/package.json +21 -0
  709. package/node_modules/java-parser/src/index.js +60 -0
  710. package/node_modules/java-parser/src/lexer.js +8 -0
  711. package/node_modules/java-parser/src/parser.js +115 -0
  712. package/node_modules/java-parser/src/productions/arrays.js +28 -0
  713. package/node_modules/java-parser/src/productions/blocks-and-statements.js +503 -0
  714. package/node_modules/java-parser/src/productions/classes.js +733 -0
  715. package/node_modules/java-parser/src/productions/expressions.js +662 -0
  716. package/node_modules/java-parser/src/productions/interfaces.js +266 -0
  717. package/node_modules/java-parser/src/productions/lexical-structure.js +61 -0
  718. package/node_modules/java-parser/src/productions/names.js +81 -0
  719. package/node_modules/java-parser/src/productions/packages-and-modules.js +226 -0
  720. package/node_modules/java-parser/src/productions/types-values-and-variables.js +218 -0
  721. package/node_modules/java-parser/src/tokens.js +595 -0
  722. package/node_modules/java-parser/src/unicodesets.js +1001 -0
  723. package/node_modules/java-parser/src/utils.js +15 -0
  724. package/package.json +53 -31
  725. package/release-impact.catalog.json +167 -23
  726. package/vendor/oscharko-dev-keiko-activity-log-1.2.5.tgz +0 -0
  727. package/vendor/oscharko-dev-keiko-cli-1.2.5.tgz +0 -0
  728. package/vendor/{oscharko-dev-keiko-connectors-1.2.3.tgz → oscharko-dev-keiko-connectors-1.2.5.tgz} +0 -0
  729. package/vendor/oscharko-dev-keiko-contracts-1.2.5.tgz +0 -0
  730. package/vendor/{oscharko-dev-keiko-evaluations-1.2.3.tgz → oscharko-dev-keiko-evaluations-1.2.5.tgz} +0 -0
  731. package/vendor/{oscharko-dev-keiko-evidence-1.2.3.tgz → oscharko-dev-keiko-evidence-1.2.5.tgz} +0 -0
  732. package/vendor/{oscharko-dev-keiko-git-1.2.3.tgz → oscharko-dev-keiko-git-1.2.5.tgz} +0 -0
  733. package/vendor/{oscharko-dev-keiko-harness-1.2.3.tgz → oscharko-dev-keiko-harness-1.2.5.tgz} +0 -0
  734. package/vendor/{oscharko-dev-keiko-local-knowledge-1.2.3.tgz → oscharko-dev-keiko-local-knowledge-1.2.5.tgz} +0 -0
  735. package/vendor/{oscharko-dev-keiko-memory-capture-1.2.3.tgz → oscharko-dev-keiko-memory-capture-1.2.5.tgz} +0 -0
  736. package/vendor/{oscharko-dev-keiko-memory-consolidation-1.2.3.tgz → oscharko-dev-keiko-memory-consolidation-1.2.5.tgz} +0 -0
  737. package/vendor/{oscharko-dev-keiko-memory-governance-1.2.3.tgz → oscharko-dev-keiko-memory-governance-1.2.5.tgz} +0 -0
  738. package/vendor/{oscharko-dev-keiko-memory-retrieval-1.2.3.tgz → oscharko-dev-keiko-memory-retrieval-1.2.5.tgz} +0 -0
  739. package/vendor/{oscharko-dev-keiko-memory-vault-1.2.3.tgz → oscharko-dev-keiko-memory-vault-1.2.5.tgz} +0 -0
  740. package/vendor/oscharko-dev-keiko-model-gateway-1.2.5.tgz +0 -0
  741. package/vendor/{oscharko-dev-keiko-quality-intelligence-1.2.3.tgz → oscharko-dev-keiko-quality-intelligence-1.2.5.tgz} +0 -0
  742. package/vendor/{oscharko-dev-keiko-sandbox-1.2.3.tgz → oscharko-dev-keiko-sandbox-1.2.5.tgz} +0 -0
  743. package/vendor/oscharko-dev-keiko-sdk-1.2.5.tgz +0 -0
  744. package/vendor/oscharko-dev-keiko-security-1.2.5.tgz +0 -0
  745. package/vendor/oscharko-dev-keiko-server-1.2.5.tgz +0 -0
  746. package/vendor/{oscharko-dev-keiko-tool-catalog-1.2.3.tgz → oscharko-dev-keiko-tool-catalog-1.2.5.tgz} +0 -0
  747. package/vendor/{oscharko-dev-keiko-tools-1.2.3.tgz → oscharko-dev-keiko-tools-1.2.5.tgz} +0 -0
  748. package/vendor/{oscharko-dev-keiko-verification-1.2.3.tgz → oscharko-dev-keiko-verification-1.2.5.tgz} +0 -0
  749. package/vendor/oscharko-dev-keiko-workflows-1.2.5.tgz +0 -0
  750. package/vendor/oscharko-dev-keiko-workspace-1.2.5.tgz +0 -0
  751. package/vendor/runtime-22d6a685bfacde624a698cae-3.0.1.tgz +0 -0
  752. package/vendor/runtime-583da64f44b6efabb742951f-11.0.3.tgz +0 -0
  753. package/vendor/runtime-8dfa23afd9af4bbf8a63b1f6-0.3.1.tgz +0 -0
  754. package/vendor/runtime-988dc6c7589b144bea3431ff-11.0.3.tgz +0 -0
  755. package/vendor/runtime-cdb56cd0389cee2407f02ebe-11.0.3.tgz +0 -0
  756. package/dist/ui/static/_next/static/chunks/00_o0v2hokzqm.js +0 -1
  757. package/dist/ui/static/_next/static/chunks/08tg5xjyy073b.js +0 -1
  758. package/dist/ui/static/_next/static/chunks/0ny_v4ofel7b_.js +0 -3
  759. package/dist/ui/static/_next/static/chunks/0q5ec6axrr1dy.js +0 -1
  760. package/dist/ui/static/_next/static/chunks/0ry6tlbur8za2.js +0 -1
  761. package/dist/ui/static/_next/static/chunks/0u23qd45npews.js +0 -4
  762. package/dist/ui/static/_next/static/chunks/0w9s0mn8nv3s8.js +0 -1
  763. package/dist/ui/static/_next/static/chunks/0xu2rnpdr4kzd.js +0 -1
  764. package/dist/ui/static/_next/static/chunks/14ytv6jraivph.js +0 -1
  765. package/dist/ui/static/_next/static/chunks/18idxjg523mhp.js +0 -1
  766. package/dist/ui/static/_next/static/chunks/19ey3gbrqluoi.js +0 -1
  767. package/dist/ui/static/_next/static/chunks/1qcpuq815jtog.js +0 -3
  768. package/dist/ui/static/_next/static/chunks/1ww5k297t9tqg.js +0 -1
  769. package/dist/ui/static/_next/static/chunks/205r2spj_ir70.js +0 -1
  770. package/dist/ui/static/_next/static/chunks/245n0wio4ohjg.js +0 -1
  771. package/dist/ui/static/_next/static/chunks/25x9hf4wdlde7.js +0 -1
  772. package/dist/ui/static/_next/static/chunks/27e2u3lrksak4.js +0 -1
  773. package/dist/ui/static/_next/static/chunks/285bz147hhczq.js +0 -1
  774. package/dist/ui/static/_next/static/chunks/2fqo-2fl7ca59.js +0 -1
  775. package/dist/ui/static/_next/static/chunks/2g_pljoa8f0e-.js +0 -1
  776. package/dist/ui/static/_next/static/chunks/2i1-yu7y9mj4z.js +0 -1
  777. package/dist/ui/static/_next/static/chunks/2ig3-g02_i82n.js +0 -1
  778. package/dist/ui/static/_next/static/chunks/2jsnrkl0syr4y.js +0 -1
  779. package/dist/ui/static/_next/static/chunks/2ov72plu69iiv.js +0 -1
  780. package/dist/ui/static/_next/static/chunks/2z5c2glupanq_.js +0 -1
  781. package/dist/ui/static/_next/static/chunks/3-7tka4cib69h.js +0 -1
  782. package/dist/ui/static/_next/static/chunks/32jgtvf2y-f54.js +0 -1
  783. package/dist/ui/static/_next/static/chunks/3b05n-007vc3e.js +0 -1
  784. package/dist/ui/static/_next/static/chunks/3cpuzx4fetu6y.js +0 -1
  785. package/dist/ui/static/_next/static/chunks/3fwt6-8rc2mya.js +0 -1
  786. package/dist/ui/static/_next/static/chunks/3lf8dguq57yfu.js +0 -1
  787. package/dist/ui/static/_next/static/chunks/3p_yaeocah7k8.js +0 -1
  788. package/dist/ui/static/_next/static/chunks/3payvp5ps2fne.css +0 -3
  789. package/dist/ui/static/_next/static/chunks/3q-93bizla3k1.js +0 -1
  790. package/dist/ui/static/_next/static/chunks/3rhep1yhgo6a7.js +0 -1
  791. package/dist/ui/static/_next/static/chunks/4064iscrh1eiz.js +0 -1
  792. package/vendor/oscharko-dev-keiko-activity-log-1.2.3.tgz +0 -0
  793. package/vendor/oscharko-dev-keiko-cli-1.2.3.tgz +0 -0
  794. package/vendor/oscharko-dev-keiko-contracts-1.2.3.tgz +0 -0
  795. package/vendor/oscharko-dev-keiko-model-gateway-1.2.3.tgz +0 -0
  796. package/vendor/oscharko-dev-keiko-sdk-1.2.3.tgz +0 -0
  797. package/vendor/oscharko-dev-keiko-security-1.2.3.tgz +0 -0
  798. package/vendor/oscharko-dev-keiko-server-1.2.3.tgz +0 -0
  799. package/vendor/oscharko-dev-keiko-workflows-1.2.3.tgz +0 -0
  800. package/vendor/oscharko-dev-keiko-workspace-1.2.3.tgz +0 -0
  801. /package/dist/ui/static/_next/static/{6aFlVo-ZD3Vmx3vFKK_up → l5EA3GWm62ENm-jfs3AEY}/_buildManifest.js +0 -0
  802. /package/dist/ui/static/_next/static/{6aFlVo-ZD3Vmx3vFKK_up → l5EA3GWm62ENm-jfs3AEY}/_clientMiddlewareManifest.js +0 -0
  803. /package/dist/ui/static/_next/static/{6aFlVo-ZD3Vmx3vFKK_up → l5EA3GWm62ENm-jfs3AEY}/_ssgManifest.js +0 -0
@@ -0,0 +1,712 @@
1
+ import {
2
+ clone,
3
+ compact,
4
+ difference,
5
+ drop,
6
+ dropRight,
7
+ filter,
8
+ first,
9
+ flatMap,
10
+ flatten,
11
+ forEach,
12
+ groupBy,
13
+ includes,
14
+ isEmpty,
15
+ map,
16
+ pickBy,
17
+ reduce,
18
+ reject,
19
+ values,
20
+ } from "lodash-es";
21
+ import {
22
+ IParserAmbiguousAlternativesDefinitionError,
23
+ IParserDuplicatesDefinitionError,
24
+ IParserEmptyAlternativeDefinitionError,
25
+ ParserDefinitionErrorType,
26
+ } from "../parser/parser.js";
27
+ import {
28
+ Alternation,
29
+ Alternative as AlternativeGAST,
30
+ GAstVisitor,
31
+ getProductionDslName,
32
+ isOptionalProd,
33
+ NonTerminal,
34
+ Option,
35
+ Repetition,
36
+ RepetitionMandatory,
37
+ RepetitionMandatoryWithSeparator,
38
+ RepetitionWithSeparator,
39
+ Terminal,
40
+ } from "@chevrotain/gast";
41
+ import {
42
+ Alternative,
43
+ containsPath,
44
+ getLookaheadPathsForOptionalProd,
45
+ getLookaheadPathsForOr,
46
+ getProdType,
47
+ isStrictPrefixOfPath,
48
+ } from "./lookahead.js";
49
+ import { nextPossibleTokensAfter } from "./interpreter.js";
50
+ import {
51
+ ILookaheadStrategy,
52
+ IProduction,
53
+ IProductionWithOccurrence,
54
+ Rule,
55
+ TokenType,
56
+ } from "@chevrotain/types";
57
+ import {
58
+ IGrammarValidatorErrorMessageProvider,
59
+ IParserDefinitionError,
60
+ } from "./types.js";
61
+ import { tokenStructuredMatcher } from "../../scan/tokens.js";
62
+
63
+ export function validateLookahead(options: {
64
+ lookaheadStrategy: ILookaheadStrategy;
65
+ rules: Rule[];
66
+ tokenTypes: TokenType[];
67
+ grammarName: string;
68
+ }): IParserDefinitionError[] {
69
+ const lookaheadValidationErrorMessages = options.lookaheadStrategy.validate({
70
+ rules: options.rules,
71
+ tokenTypes: options.tokenTypes,
72
+ grammarName: options.grammarName,
73
+ });
74
+ return map(lookaheadValidationErrorMessages, (errorMessage) => ({
75
+ type: ParserDefinitionErrorType.CUSTOM_LOOKAHEAD_VALIDATION,
76
+ ...errorMessage,
77
+ }));
78
+ }
79
+
80
+ export function validateGrammar(
81
+ topLevels: Rule[],
82
+ tokenTypes: TokenType[],
83
+ errMsgProvider: IGrammarValidatorErrorMessageProvider,
84
+ grammarName: string,
85
+ ): IParserDefinitionError[] {
86
+ const duplicateErrors: IParserDefinitionError[] = flatMap(
87
+ topLevels,
88
+ (currTopLevel) =>
89
+ validateDuplicateProductions(currTopLevel, errMsgProvider),
90
+ );
91
+
92
+ const termsNamespaceConflictErrors = checkTerminalAndNoneTerminalsNameSpace(
93
+ topLevels,
94
+ tokenTypes,
95
+ errMsgProvider,
96
+ );
97
+
98
+ const tooManyAltsErrors = flatMap(topLevels, (curRule) =>
99
+ validateTooManyAlts(curRule, errMsgProvider),
100
+ );
101
+
102
+ const duplicateRulesError = flatMap(topLevels, (curRule) =>
103
+ validateRuleDoesNotAlreadyExist(
104
+ curRule,
105
+ topLevels,
106
+ grammarName,
107
+ errMsgProvider,
108
+ ),
109
+ );
110
+
111
+ return duplicateErrors.concat(
112
+ termsNamespaceConflictErrors,
113
+ tooManyAltsErrors,
114
+ duplicateRulesError,
115
+ );
116
+ }
117
+
118
+ function validateDuplicateProductions(
119
+ topLevelRule: Rule,
120
+ errMsgProvider: IGrammarValidatorErrorMessageProvider,
121
+ ): IParserDuplicatesDefinitionError[] {
122
+ const collectorVisitor = new OccurrenceValidationCollector();
123
+ topLevelRule.accept(collectorVisitor);
124
+ const allRuleProductions = collectorVisitor.allProductions;
125
+
126
+ const productionGroups = groupBy(
127
+ allRuleProductions,
128
+ identifyProductionForDuplicates,
129
+ );
130
+
131
+ const duplicates: any = pickBy(productionGroups, (currGroup) => {
132
+ return currGroup.length > 1;
133
+ });
134
+
135
+ const errors = map(values(duplicates), (currDuplicates: any) => {
136
+ const firstProd: any = first(currDuplicates);
137
+ const msg = errMsgProvider.buildDuplicateFoundError(
138
+ topLevelRule,
139
+ currDuplicates,
140
+ );
141
+ const dslName = getProductionDslName(firstProd);
142
+ const defError: IParserDuplicatesDefinitionError = {
143
+ message: msg,
144
+ type: ParserDefinitionErrorType.DUPLICATE_PRODUCTIONS,
145
+ ruleName: topLevelRule.name,
146
+ dslName: dslName,
147
+ occurrence: firstProd.idx,
148
+ };
149
+
150
+ const param = getExtraProductionArgument(firstProd);
151
+ if (param) {
152
+ defError.parameter = param;
153
+ }
154
+
155
+ return defError;
156
+ });
157
+ return errors;
158
+ }
159
+
160
+ export function identifyProductionForDuplicates(
161
+ prod: IProductionWithOccurrence,
162
+ ): string {
163
+ return `${getProductionDslName(prod)}_#_${
164
+ prod.idx
165
+ }_#_${getExtraProductionArgument(prod)}`;
166
+ }
167
+
168
+ function getExtraProductionArgument(prod: IProductionWithOccurrence): string {
169
+ if (prod instanceof Terminal) {
170
+ return prod.terminalType.name;
171
+ } else if (prod instanceof NonTerminal) {
172
+ return prod.nonTerminalName;
173
+ } else {
174
+ return "";
175
+ }
176
+ }
177
+
178
+ export class OccurrenceValidationCollector extends GAstVisitor {
179
+ public allProductions: IProductionWithOccurrence[] = [];
180
+
181
+ public visitNonTerminal(subrule: NonTerminal): void {
182
+ this.allProductions.push(subrule);
183
+ }
184
+
185
+ public visitOption(option: Option): void {
186
+ this.allProductions.push(option);
187
+ }
188
+
189
+ public visitRepetitionWithSeparator(manySep: RepetitionWithSeparator): void {
190
+ this.allProductions.push(manySep);
191
+ }
192
+
193
+ public visitRepetitionMandatory(atLeastOne: RepetitionMandatory): void {
194
+ this.allProductions.push(atLeastOne);
195
+ }
196
+
197
+ public visitRepetitionMandatoryWithSeparator(
198
+ atLeastOneSep: RepetitionMandatoryWithSeparator,
199
+ ): void {
200
+ this.allProductions.push(atLeastOneSep);
201
+ }
202
+
203
+ public visitRepetition(many: Repetition): void {
204
+ this.allProductions.push(many);
205
+ }
206
+
207
+ public visitAlternation(or: Alternation): void {
208
+ this.allProductions.push(or);
209
+ }
210
+
211
+ public visitTerminal(terminal: Terminal): void {
212
+ this.allProductions.push(terminal);
213
+ }
214
+ }
215
+
216
+ export function validateRuleDoesNotAlreadyExist(
217
+ rule: Rule,
218
+ allRules: Rule[],
219
+ className: string,
220
+ errMsgProvider: IGrammarValidatorErrorMessageProvider,
221
+ ): IParserDefinitionError[] {
222
+ const errors = [];
223
+ const occurrences = reduce(
224
+ allRules,
225
+ (result, curRule) => {
226
+ if (curRule.name === rule.name) {
227
+ return result + 1;
228
+ }
229
+ return result;
230
+ },
231
+ 0,
232
+ );
233
+ if (occurrences > 1) {
234
+ const errMsg = errMsgProvider.buildDuplicateRuleNameError({
235
+ topLevelRule: rule,
236
+ grammarName: className,
237
+ });
238
+ errors.push({
239
+ message: errMsg,
240
+ type: ParserDefinitionErrorType.DUPLICATE_RULE_NAME,
241
+ ruleName: rule.name,
242
+ });
243
+ }
244
+
245
+ return errors;
246
+ }
247
+
248
+ // TODO: is there anyway to get only the rule names of rules inherited from the super grammars?
249
+ // This is not part of the IGrammarErrorProvider because the validation cannot be performed on
250
+ // The grammar structure, only at runtime.
251
+ export function validateRuleIsOverridden(
252
+ ruleName: string,
253
+ definedRulesNames: string[],
254
+ className: string,
255
+ ): IParserDefinitionError[] {
256
+ const errors = [];
257
+ let errMsg;
258
+
259
+ if (!includes(definedRulesNames, ruleName)) {
260
+ errMsg =
261
+ `Invalid rule override, rule: ->${ruleName}<- cannot be overridden in the grammar: ->${className}<-` +
262
+ `as it is not defined in any of the super grammars `;
263
+ errors.push({
264
+ message: errMsg,
265
+ type: ParserDefinitionErrorType.INVALID_RULE_OVERRIDE,
266
+ ruleName: ruleName,
267
+ });
268
+ }
269
+
270
+ return errors;
271
+ }
272
+
273
+ export function validateNoLeftRecursion(
274
+ topRule: Rule,
275
+ currRule: Rule,
276
+ errMsgProvider: IGrammarValidatorErrorMessageProvider,
277
+ path: Rule[] = [],
278
+ ): IParserDefinitionError[] {
279
+ const errors: IParserDefinitionError[] = [];
280
+ const nextNonTerminals = getFirstNoneTerminal(currRule.definition);
281
+ if (isEmpty(nextNonTerminals)) {
282
+ return [];
283
+ } else {
284
+ const ruleName = topRule.name;
285
+ const foundLeftRecursion = includes(nextNonTerminals, topRule);
286
+ if (foundLeftRecursion) {
287
+ errors.push({
288
+ message: errMsgProvider.buildLeftRecursionError({
289
+ topLevelRule: topRule,
290
+ leftRecursionPath: path,
291
+ }),
292
+ type: ParserDefinitionErrorType.LEFT_RECURSION,
293
+ ruleName: ruleName,
294
+ });
295
+ }
296
+
297
+ // we are only looking for cyclic paths leading back to the specific topRule
298
+ // other cyclic paths are ignored, we still need this difference to avoid infinite loops...
299
+ const validNextSteps = difference(nextNonTerminals, path.concat([topRule]));
300
+ const errorsFromNextSteps = flatMap(validNextSteps, (currRefRule) => {
301
+ const newPath = clone(path);
302
+ newPath.push(currRefRule);
303
+ return validateNoLeftRecursion(
304
+ topRule,
305
+ currRefRule,
306
+ errMsgProvider,
307
+ newPath,
308
+ );
309
+ });
310
+
311
+ return errors.concat(errorsFromNextSteps);
312
+ }
313
+ }
314
+
315
+ export function getFirstNoneTerminal(definition: IProduction[]): Rule[] {
316
+ let result: Rule[] = [];
317
+ if (isEmpty(definition)) {
318
+ return result;
319
+ }
320
+ const firstProd = first(definition);
321
+
322
+ /* istanbul ignore else */
323
+ if (firstProd instanceof NonTerminal) {
324
+ result.push(firstProd.referencedRule);
325
+ } else if (
326
+ firstProd instanceof AlternativeGAST ||
327
+ firstProd instanceof Option ||
328
+ firstProd instanceof RepetitionMandatory ||
329
+ firstProd instanceof RepetitionMandatoryWithSeparator ||
330
+ firstProd instanceof RepetitionWithSeparator ||
331
+ firstProd instanceof Repetition
332
+ ) {
333
+ result = result.concat(
334
+ getFirstNoneTerminal(<IProduction[]>firstProd.definition),
335
+ );
336
+ } else if (firstProd instanceof Alternation) {
337
+ // each sub definition in alternation is a FLAT
338
+ result = flatten(
339
+ map(firstProd.definition, (currSubDef) =>
340
+ getFirstNoneTerminal((<AlternativeGAST>currSubDef).definition),
341
+ ),
342
+ );
343
+ } else if (firstProd instanceof Terminal) {
344
+ // nothing to see, move along
345
+ } else {
346
+ throw Error("non exhaustive match");
347
+ }
348
+
349
+ const isFirstOptional = isOptionalProd(firstProd);
350
+ const hasMore = definition.length > 1;
351
+ if (isFirstOptional && hasMore) {
352
+ const rest = drop(definition);
353
+ return result.concat(getFirstNoneTerminal(rest));
354
+ } else {
355
+ return result;
356
+ }
357
+ }
358
+
359
+ class OrCollector extends GAstVisitor {
360
+ public alternations: Alternation[] = [];
361
+
362
+ public visitAlternation(node: Alternation): void {
363
+ this.alternations.push(node);
364
+ }
365
+ }
366
+
367
+ export function validateEmptyOrAlternative(
368
+ topLevelRule: Rule,
369
+ errMsgProvider: IGrammarValidatorErrorMessageProvider,
370
+ ): IParserEmptyAlternativeDefinitionError[] {
371
+ const orCollector = new OrCollector();
372
+ topLevelRule.accept(orCollector);
373
+ const ors = orCollector.alternations;
374
+
375
+ const errors = flatMap<Alternation, IParserEmptyAlternativeDefinitionError>(
376
+ ors,
377
+ (currOr) => {
378
+ const exceptLast = dropRight(currOr.definition);
379
+ return flatMap(exceptLast, (currAlternative, currAltIdx) => {
380
+ const possibleFirstInAlt = nextPossibleTokensAfter(
381
+ [currAlternative],
382
+ [],
383
+ tokenStructuredMatcher,
384
+ 1,
385
+ );
386
+ if (isEmpty(possibleFirstInAlt)) {
387
+ return [
388
+ {
389
+ message: errMsgProvider.buildEmptyAlternationError({
390
+ topLevelRule: topLevelRule,
391
+ alternation: currOr,
392
+ emptyChoiceIdx: currAltIdx,
393
+ }),
394
+ type: ParserDefinitionErrorType.NONE_LAST_EMPTY_ALT,
395
+ ruleName: topLevelRule.name,
396
+ occurrence: currOr.idx,
397
+ alternative: currAltIdx + 1,
398
+ },
399
+ ];
400
+ } else {
401
+ return [];
402
+ }
403
+ });
404
+ },
405
+ );
406
+
407
+ return errors;
408
+ }
409
+
410
+ export function validateAmbiguousAlternationAlternatives(
411
+ topLevelRule: Rule,
412
+ globalMaxLookahead: number,
413
+ errMsgProvider: IGrammarValidatorErrorMessageProvider,
414
+ ): IParserAmbiguousAlternativesDefinitionError[] {
415
+ const orCollector = new OrCollector();
416
+ topLevelRule.accept(orCollector);
417
+ let ors = orCollector.alternations;
418
+
419
+ // New Handling of ignoring ambiguities
420
+ // - https://github.com/chevrotain/chevrotain/issues/869
421
+ ors = reject(ors, (currOr) => currOr.ignoreAmbiguities === true);
422
+
423
+ const errors = flatMap(ors, (currOr: Alternation) => {
424
+ const currOccurrence = currOr.idx;
425
+ const actualMaxLookahead = currOr.maxLookahead || globalMaxLookahead;
426
+ const alternatives = getLookaheadPathsForOr(
427
+ currOccurrence,
428
+ topLevelRule,
429
+ actualMaxLookahead,
430
+ currOr,
431
+ );
432
+ const altsAmbiguityErrors = checkAlternativesAmbiguities(
433
+ alternatives,
434
+ currOr,
435
+ topLevelRule,
436
+ errMsgProvider,
437
+ );
438
+ const altsPrefixAmbiguityErrors = checkPrefixAlternativesAmbiguities(
439
+ alternatives,
440
+ currOr,
441
+ topLevelRule,
442
+ errMsgProvider,
443
+ );
444
+
445
+ return altsAmbiguityErrors.concat(altsPrefixAmbiguityErrors);
446
+ });
447
+
448
+ return errors;
449
+ }
450
+
451
+ export class RepetitionCollector extends GAstVisitor {
452
+ public allProductions: (IProductionWithOccurrence & {
453
+ maxLookahead?: number;
454
+ })[] = [];
455
+
456
+ public visitRepetitionWithSeparator(manySep: RepetitionWithSeparator): void {
457
+ this.allProductions.push(manySep);
458
+ }
459
+
460
+ public visitRepetitionMandatory(atLeastOne: RepetitionMandatory): void {
461
+ this.allProductions.push(atLeastOne);
462
+ }
463
+
464
+ public visitRepetitionMandatoryWithSeparator(
465
+ atLeastOneSep: RepetitionMandatoryWithSeparator,
466
+ ): void {
467
+ this.allProductions.push(atLeastOneSep);
468
+ }
469
+
470
+ public visitRepetition(many: Repetition): void {
471
+ this.allProductions.push(many);
472
+ }
473
+ }
474
+
475
+ export function validateTooManyAlts(
476
+ topLevelRule: Rule,
477
+ errMsgProvider: IGrammarValidatorErrorMessageProvider,
478
+ ): IParserDefinitionError[] {
479
+ const orCollector = new OrCollector();
480
+ topLevelRule.accept(orCollector);
481
+ const ors = orCollector.alternations;
482
+
483
+ const errors = flatMap(ors, (currOr) => {
484
+ if (currOr.definition.length > 255) {
485
+ return [
486
+ {
487
+ message: errMsgProvider.buildTooManyAlternativesError({
488
+ topLevelRule: topLevelRule,
489
+ alternation: currOr,
490
+ }),
491
+ type: ParserDefinitionErrorType.TOO_MANY_ALTS,
492
+ ruleName: topLevelRule.name,
493
+ occurrence: currOr.idx,
494
+ },
495
+ ];
496
+ } else {
497
+ return [];
498
+ }
499
+ });
500
+
501
+ return errors;
502
+ }
503
+
504
+ export function validateSomeNonEmptyLookaheadPath(
505
+ topLevelRules: Rule[],
506
+ maxLookahead: number,
507
+ errMsgProvider: IGrammarValidatorErrorMessageProvider,
508
+ ): IParserDefinitionError[] {
509
+ const errors: IParserDefinitionError[] = [];
510
+ forEach(topLevelRules, (currTopRule) => {
511
+ const collectorVisitor = new RepetitionCollector();
512
+ currTopRule.accept(collectorVisitor);
513
+ const allRuleProductions = collectorVisitor.allProductions;
514
+ forEach(allRuleProductions, (currProd) => {
515
+ const prodType = getProdType(currProd);
516
+ const actualMaxLookahead = currProd.maxLookahead || maxLookahead;
517
+ const currOccurrence = currProd.idx;
518
+ const paths = getLookaheadPathsForOptionalProd(
519
+ currOccurrence,
520
+ currTopRule,
521
+ prodType,
522
+ actualMaxLookahead,
523
+ );
524
+ const pathsInsideProduction = paths[0];
525
+ if (isEmpty(flatten(pathsInsideProduction))) {
526
+ const errMsg = errMsgProvider.buildEmptyRepetitionError({
527
+ topLevelRule: currTopRule,
528
+ repetition: currProd,
529
+ });
530
+ errors.push({
531
+ message: errMsg,
532
+ type: ParserDefinitionErrorType.NO_NON_EMPTY_LOOKAHEAD,
533
+ ruleName: currTopRule.name,
534
+ });
535
+ }
536
+ });
537
+ });
538
+
539
+ return errors;
540
+ }
541
+
542
+ export interface IAmbiguityDescriptor {
543
+ alts: number[];
544
+ path: TokenType[];
545
+ }
546
+
547
+ function checkAlternativesAmbiguities(
548
+ alternatives: Alternative[],
549
+ alternation: Alternation,
550
+ rule: Rule,
551
+ errMsgProvider: IGrammarValidatorErrorMessageProvider,
552
+ ): IParserAmbiguousAlternativesDefinitionError[] {
553
+ const foundAmbiguousPaths: Alternative = [];
554
+ const identicalAmbiguities = reduce(
555
+ alternatives,
556
+ (result, currAlt, currAltIdx) => {
557
+ // ignore (skip) ambiguities with this alternative
558
+ if (alternation.definition[currAltIdx].ignoreAmbiguities === true) {
559
+ return result;
560
+ }
561
+
562
+ forEach(currAlt, (currPath) => {
563
+ const altsCurrPathAppearsIn = [currAltIdx];
564
+ forEach(alternatives, (currOtherAlt, currOtherAltIdx) => {
565
+ if (
566
+ currAltIdx !== currOtherAltIdx &&
567
+ containsPath(currOtherAlt, currPath) &&
568
+ // ignore (skip) ambiguities with this "other" alternative
569
+ alternation.definition[currOtherAltIdx].ignoreAmbiguities !== true
570
+ ) {
571
+ altsCurrPathAppearsIn.push(currOtherAltIdx);
572
+ }
573
+ });
574
+
575
+ if (
576
+ altsCurrPathAppearsIn.length > 1 &&
577
+ !containsPath(foundAmbiguousPaths, currPath)
578
+ ) {
579
+ foundAmbiguousPaths.push(currPath);
580
+ result.push({
581
+ alts: altsCurrPathAppearsIn,
582
+ path: currPath,
583
+ });
584
+ }
585
+ });
586
+ return result;
587
+ },
588
+ [] as { alts: number[]; path: TokenType[] }[],
589
+ );
590
+
591
+ const currErrors = map(identicalAmbiguities, (currAmbDescriptor) => {
592
+ const ambgIndices = map(
593
+ currAmbDescriptor.alts,
594
+ (currAltIdx) => currAltIdx + 1,
595
+ );
596
+
597
+ const currMessage = errMsgProvider.buildAlternationAmbiguityError({
598
+ topLevelRule: rule,
599
+ alternation: alternation,
600
+ ambiguityIndices: ambgIndices,
601
+ prefixPath: currAmbDescriptor.path,
602
+ });
603
+
604
+ return {
605
+ message: currMessage,
606
+ type: ParserDefinitionErrorType.AMBIGUOUS_ALTS,
607
+ ruleName: rule.name,
608
+ occurrence: alternation.idx,
609
+ alternatives: currAmbDescriptor.alts,
610
+ };
611
+ });
612
+
613
+ return currErrors;
614
+ }
615
+
616
+ export function checkPrefixAlternativesAmbiguities(
617
+ alternatives: Alternative[],
618
+ alternation: Alternation,
619
+ rule: Rule,
620
+ errMsgProvider: IGrammarValidatorErrorMessageProvider,
621
+ ): IParserAmbiguousAlternativesDefinitionError[] {
622
+ // flatten
623
+ const pathsAndIndices = reduce(
624
+ alternatives,
625
+ (result, currAlt, idx) => {
626
+ const currPathsAndIdx = map(currAlt, (currPath) => {
627
+ return { idx: idx, path: currPath };
628
+ });
629
+ return result.concat(currPathsAndIdx);
630
+ },
631
+ [] as { idx: number; path: TokenType[] }[],
632
+ );
633
+
634
+ const errors = compact(
635
+ flatMap(pathsAndIndices, (currPathAndIdx) => {
636
+ const alternativeGast = alternation.definition[currPathAndIdx.idx];
637
+ // ignore (skip) ambiguities with this alternative
638
+ if (alternativeGast.ignoreAmbiguities === true) {
639
+ return [];
640
+ }
641
+ const targetIdx = currPathAndIdx.idx;
642
+ const targetPath = currPathAndIdx.path;
643
+
644
+ const prefixAmbiguitiesPathsAndIndices = filter(
645
+ pathsAndIndices,
646
+ (searchPathAndIdx) => {
647
+ // prefix ambiguity can only be created from lower idx (higher priority) path
648
+ return (
649
+ // ignore (skip) ambiguities with this "other" alternative
650
+ alternation.definition[searchPathAndIdx.idx].ignoreAmbiguities !==
651
+ true &&
652
+ searchPathAndIdx.idx < targetIdx &&
653
+ // checking for strict prefix because identical lookaheads
654
+ // will be be detected using a different validation.
655
+ isStrictPrefixOfPath(searchPathAndIdx.path, targetPath)
656
+ );
657
+ },
658
+ );
659
+
660
+ const currPathPrefixErrors = map(
661
+ prefixAmbiguitiesPathsAndIndices,
662
+ (currAmbPathAndIdx): IParserAmbiguousAlternativesDefinitionError => {
663
+ const ambgIndices = [currAmbPathAndIdx.idx + 1, targetIdx + 1];
664
+ const occurrence = alternation.idx === 0 ? "" : alternation.idx;
665
+
666
+ const message = errMsgProvider.buildAlternationPrefixAmbiguityError({
667
+ topLevelRule: rule,
668
+ alternation: alternation,
669
+ ambiguityIndices: ambgIndices,
670
+ prefixPath: currAmbPathAndIdx.path,
671
+ });
672
+ return {
673
+ message: message,
674
+ type: ParserDefinitionErrorType.AMBIGUOUS_PREFIX_ALTS,
675
+ ruleName: rule.name,
676
+ occurrence: occurrence,
677
+ alternatives: ambgIndices,
678
+ };
679
+ },
680
+ );
681
+
682
+ return currPathPrefixErrors;
683
+ }),
684
+ );
685
+
686
+ return errors;
687
+ }
688
+
689
+ function checkTerminalAndNoneTerminalsNameSpace(
690
+ topLevels: Rule[],
691
+ tokenTypes: TokenType[],
692
+ errMsgProvider: IGrammarValidatorErrorMessageProvider,
693
+ ): IParserDefinitionError[] {
694
+ const errors: IParserDefinitionError[] = [];
695
+
696
+ const tokenNames = map(tokenTypes, (currToken) => currToken.name);
697
+
698
+ forEach(topLevels, (currRule) => {
699
+ const currRuleName = currRule.name;
700
+ if (includes(tokenNames, currRuleName)) {
701
+ const errMsg = errMsgProvider.buildNamespaceConflictError(currRule);
702
+
703
+ errors.push({
704
+ message: errMsg,
705
+ type: ParserDefinitionErrorType.CONFLICT_TOKENS_RULES_NAMESPACE,
706
+ ruleName: currRuleName,
707
+ });
708
+ }
709
+ });
710
+
711
+ return errors;
712
+ }