@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,972 @@
1
+ import {
2
+ analyzeTokenTypes,
3
+ charCodeToOptimizedIndex,
4
+ cloneEmptyGroups,
5
+ DEFAULT_MODE,
6
+ IAnalyzeResult,
7
+ IPatternConfig,
8
+ LineTerminatorOptimizedTester,
9
+ performRuntimeChecks,
10
+ performWarningRuntimeChecks,
11
+ SUPPORT_STICKY,
12
+ validatePatterns,
13
+ } from "./lexer.js";
14
+ import {
15
+ assign,
16
+ clone,
17
+ forEach,
18
+ identity,
19
+ isArray,
20
+ isEmpty,
21
+ isUndefined,
22
+ keys,
23
+ last,
24
+ map,
25
+ noop,
26
+ reduce,
27
+ reject,
28
+ } from "lodash-es";
29
+ import { PRINT_WARNING, timer, toFastProperties } from "@chevrotain/utils";
30
+ import { augmentTokenTypes } from "./tokens.js";
31
+ import {
32
+ CustomPatternMatcherFunc,
33
+ CustomPatternMatcherReturn,
34
+ ILexerConfig,
35
+ ILexerDefinitionError,
36
+ ILexingError,
37
+ IMultiModeLexerDefinition,
38
+ IToken,
39
+ TokenType,
40
+ } from "@chevrotain/types";
41
+ import { defaultLexerErrorProvider } from "./lexer_errors_public.js";
42
+ import { clearRegExpParserCache } from "./reg_exp_parser.js";
43
+
44
+ export interface ILexingResult {
45
+ tokens: IToken[];
46
+ groups: { [groupName: string]: IToken[] };
47
+ errors: ILexingError[];
48
+ }
49
+
50
+ export enum LexerDefinitionErrorType {
51
+ MISSING_PATTERN,
52
+ INVALID_PATTERN,
53
+ EOI_ANCHOR_FOUND,
54
+ UNSUPPORTED_FLAGS_FOUND,
55
+ DUPLICATE_PATTERNS_FOUND,
56
+ INVALID_GROUP_TYPE_FOUND,
57
+ PUSH_MODE_DOES_NOT_EXIST,
58
+ MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE,
59
+ MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY,
60
+ MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST,
61
+ LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED,
62
+ SOI_ANCHOR_FOUND,
63
+ EMPTY_MATCH_PATTERN,
64
+ NO_LINE_BREAKS_FLAGS,
65
+ UNREACHABLE_PATTERN,
66
+ IDENTIFY_TERMINATOR,
67
+ CUSTOM_LINE_BREAK,
68
+ MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE,
69
+ }
70
+
71
+ export interface IRegExpExec {
72
+ exec: CustomPatternMatcherFunc;
73
+ }
74
+
75
+ const DEFAULT_LEXER_CONFIG: Required<ILexerConfig> = {
76
+ deferDefinitionErrorsHandling: false,
77
+ positionTracking: "full",
78
+ lineTerminatorsPattern: /\n|\r\n?/g,
79
+ lineTerminatorCharacters: ["\n", "\r"],
80
+ ensureOptimizations: false,
81
+ safeMode: false,
82
+ errorMessageProvider: defaultLexerErrorProvider,
83
+ traceInitPerf: false,
84
+ skipValidations: false,
85
+ recoveryEnabled: true,
86
+ };
87
+
88
+ Object.freeze(DEFAULT_LEXER_CONFIG);
89
+
90
+ export class Lexer {
91
+ public static SKIPPED =
92
+ "This marks a skipped Token pattern, this means each token identified by it will" +
93
+ "be consumed and then thrown into oblivion, this can be used to for example to completely ignore whitespace.";
94
+
95
+ public static NA = /NOT_APPLICABLE/;
96
+ public lexerDefinitionErrors: ILexerDefinitionError[] = [];
97
+ public lexerDefinitionWarning: ILexerDefinitionError[] = [];
98
+
99
+ protected patternIdxToConfig: Record<string, IPatternConfig[]> = {};
100
+ protected charCodeToPatternIdxToConfig: {
101
+ [modeName: string]: { [charCode: number]: IPatternConfig[] };
102
+ } = {};
103
+
104
+ protected modes: string[] = [];
105
+ protected defaultMode!: string;
106
+ protected emptyGroups: { [groupName: string]: IToken } = {};
107
+
108
+ private config: Required<ILexerConfig>;
109
+ private trackStartLines: boolean = true;
110
+ private trackEndLines: boolean = true;
111
+ private hasCustom: boolean = false;
112
+ private canModeBeOptimized: Record<string, boolean> = {};
113
+
114
+ private traceInitPerf!: boolean | number;
115
+ private traceInitMaxIdent!: number;
116
+ private traceInitIndent: number;
117
+
118
+ constructor(
119
+ protected lexerDefinition: TokenType[] | IMultiModeLexerDefinition,
120
+ config: ILexerConfig = DEFAULT_LEXER_CONFIG,
121
+ ) {
122
+ if (typeof config === "boolean") {
123
+ throw Error(
124
+ "The second argument to the Lexer constructor is now an ILexerConfig Object.\n" +
125
+ "a boolean 2nd argument is no longer supported",
126
+ );
127
+ }
128
+
129
+ // todo: defaults func?
130
+ this.config = assign({}, DEFAULT_LEXER_CONFIG, config) as any;
131
+
132
+ const traceInitVal = this.config.traceInitPerf;
133
+ if (traceInitVal === true) {
134
+ this.traceInitMaxIdent = Infinity;
135
+ this.traceInitPerf = true;
136
+ } else if (typeof traceInitVal === "number") {
137
+ this.traceInitMaxIdent = traceInitVal;
138
+ this.traceInitPerf = true;
139
+ }
140
+ this.traceInitIndent = -1;
141
+
142
+ this.TRACE_INIT("Lexer Constructor", () => {
143
+ let actualDefinition!: IMultiModeLexerDefinition;
144
+ let hasOnlySingleMode = true;
145
+ this.TRACE_INIT("Lexer Config handling", () => {
146
+ if (
147
+ this.config.lineTerminatorsPattern ===
148
+ DEFAULT_LEXER_CONFIG.lineTerminatorsPattern
149
+ ) {
150
+ // optimized built-in implementation for the defaults definition of lineTerminators
151
+ this.config.lineTerminatorsPattern = LineTerminatorOptimizedTester;
152
+ } else {
153
+ if (
154
+ this.config.lineTerminatorCharacters ===
155
+ DEFAULT_LEXER_CONFIG.lineTerminatorCharacters
156
+ ) {
157
+ throw Error(
158
+ "Error: Missing <lineTerminatorCharacters> property on the Lexer config.\n" +
159
+ "\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS",
160
+ );
161
+ }
162
+ }
163
+
164
+ if (config.safeMode && config.ensureOptimizations) {
165
+ throw Error(
166
+ '"safeMode" and "ensureOptimizations" flags are mutually exclusive.',
167
+ );
168
+ }
169
+
170
+ this.trackStartLines = /full|onlyStart/i.test(
171
+ this.config.positionTracking,
172
+ );
173
+ this.trackEndLines = /full/i.test(this.config.positionTracking);
174
+
175
+ // Convert SingleModeLexerDefinition into a IMultiModeLexerDefinition.
176
+ if (isArray(lexerDefinition)) {
177
+ actualDefinition = {
178
+ modes: { defaultMode: clone(lexerDefinition) },
179
+ defaultMode: DEFAULT_MODE,
180
+ };
181
+ } else {
182
+ // no conversion needed, input should already be a IMultiModeLexerDefinition
183
+ hasOnlySingleMode = false;
184
+ actualDefinition = clone(<IMultiModeLexerDefinition>lexerDefinition);
185
+ }
186
+ });
187
+
188
+ if (this.config.skipValidations === false) {
189
+ this.TRACE_INIT("performRuntimeChecks", () => {
190
+ this.lexerDefinitionErrors = this.lexerDefinitionErrors.concat(
191
+ performRuntimeChecks(
192
+ actualDefinition,
193
+ this.trackStartLines,
194
+ this.config.lineTerminatorCharacters,
195
+ ),
196
+ );
197
+ });
198
+
199
+ this.TRACE_INIT("performWarningRuntimeChecks", () => {
200
+ this.lexerDefinitionWarning = this.lexerDefinitionWarning.concat(
201
+ performWarningRuntimeChecks(
202
+ actualDefinition,
203
+ this.trackStartLines,
204
+ this.config.lineTerminatorCharacters,
205
+ ),
206
+ );
207
+ });
208
+ }
209
+
210
+ // for extra robustness to avoid throwing an none informative error message
211
+ actualDefinition.modes = actualDefinition.modes
212
+ ? actualDefinition.modes
213
+ : {};
214
+
215
+ // an error of undefined TokenTypes will be detected in "performRuntimeChecks" above.
216
+ // this transformation is to increase robustness in the case of partially invalid lexer definition.
217
+ forEach(actualDefinition.modes, (currModeValue, currModeName) => {
218
+ actualDefinition.modes[currModeName] = reject<TokenType>(
219
+ currModeValue,
220
+ (currTokType) => isUndefined(currTokType),
221
+ );
222
+ });
223
+
224
+ const allModeNames = keys(actualDefinition.modes);
225
+
226
+ forEach(
227
+ actualDefinition.modes,
228
+ (currModDef: TokenType[], currModName) => {
229
+ this.TRACE_INIT(`Mode: <${currModName}> processing`, () => {
230
+ this.modes.push(currModName);
231
+
232
+ if (this.config.skipValidations === false) {
233
+ this.TRACE_INIT(`validatePatterns`, () => {
234
+ this.lexerDefinitionErrors = this.lexerDefinitionErrors.concat(
235
+ validatePatterns(currModDef, allModeNames),
236
+ );
237
+ });
238
+ }
239
+
240
+ // If definition errors were encountered, the analysis phase may fail unexpectedly/
241
+ // Considering a lexer with definition errors may never be used, there is no point
242
+ // to performing the analysis anyhow...
243
+ if (isEmpty(this.lexerDefinitionErrors)) {
244
+ augmentTokenTypes(currModDef);
245
+
246
+ let currAnalyzeResult!: IAnalyzeResult;
247
+ this.TRACE_INIT(`analyzeTokenTypes`, () => {
248
+ currAnalyzeResult = analyzeTokenTypes(currModDef, {
249
+ lineTerminatorCharacters:
250
+ this.config.lineTerminatorCharacters,
251
+ positionTracking: config.positionTracking,
252
+ ensureOptimizations: config.ensureOptimizations,
253
+ safeMode: config.safeMode,
254
+ tracer: this.TRACE_INIT,
255
+ });
256
+ });
257
+
258
+ this.patternIdxToConfig[currModName] =
259
+ currAnalyzeResult.patternIdxToConfig;
260
+
261
+ this.charCodeToPatternIdxToConfig[currModName] =
262
+ currAnalyzeResult.charCodeToPatternIdxToConfig;
263
+
264
+ this.emptyGroups = assign(
265
+ {},
266
+ this.emptyGroups,
267
+ currAnalyzeResult.emptyGroups,
268
+ ) as any;
269
+
270
+ this.hasCustom = currAnalyzeResult.hasCustom || this.hasCustom;
271
+
272
+ this.canModeBeOptimized[currModName] =
273
+ currAnalyzeResult.canBeOptimized;
274
+ }
275
+ });
276
+ },
277
+ );
278
+
279
+ this.defaultMode = actualDefinition.defaultMode;
280
+
281
+ if (
282
+ !isEmpty(this.lexerDefinitionErrors) &&
283
+ !this.config.deferDefinitionErrorsHandling
284
+ ) {
285
+ const allErrMessages = map(this.lexerDefinitionErrors, (error) => {
286
+ return error.message;
287
+ });
288
+ const allErrMessagesString = allErrMessages.join(
289
+ "-----------------------\n",
290
+ );
291
+ throw new Error(
292
+ "Errors detected in definition of Lexer:\n" + allErrMessagesString,
293
+ );
294
+ }
295
+
296
+ // Only print warning if there are no errors, This will avoid pl
297
+ forEach(this.lexerDefinitionWarning, (warningDescriptor) => {
298
+ PRINT_WARNING(warningDescriptor.message);
299
+ });
300
+
301
+ this.TRACE_INIT("Choosing sub-methods implementations", () => {
302
+ // Choose the relevant internal implementations for this specific parser.
303
+ // These implementations should be in-lined by the JavaScript engine
304
+ // to provide optimal performance in each scenario.
305
+ if (SUPPORT_STICKY) {
306
+ this.chopInput = <any>identity;
307
+ this.match = this.matchWithTest;
308
+ } else {
309
+ this.updateLastIndex = noop;
310
+ this.match = this.matchWithExec;
311
+ }
312
+
313
+ if (hasOnlySingleMode) {
314
+ this.handleModes = noop;
315
+ }
316
+
317
+ if (this.trackStartLines === false) {
318
+ this.computeNewColumn = identity;
319
+ }
320
+
321
+ if (this.trackEndLines === false) {
322
+ this.updateTokenEndLineColumnLocation = noop;
323
+ }
324
+
325
+ if (/full/i.test(this.config.positionTracking)) {
326
+ this.createTokenInstance = this.createFullToken;
327
+ } else if (/onlyStart/i.test(this.config.positionTracking)) {
328
+ this.createTokenInstance = this.createStartOnlyToken;
329
+ } else if (/onlyOffset/i.test(this.config.positionTracking)) {
330
+ this.createTokenInstance = this.createOffsetOnlyToken;
331
+ } else {
332
+ throw Error(
333
+ `Invalid <positionTracking> config option: "${this.config.positionTracking}"`,
334
+ );
335
+ }
336
+
337
+ if (this.hasCustom) {
338
+ this.addToken = this.addTokenUsingPush;
339
+ this.handlePayload = this.handlePayloadWithCustom;
340
+ } else {
341
+ this.addToken = this.addTokenUsingMemberAccess;
342
+ this.handlePayload = this.handlePayloadNoCustom;
343
+ }
344
+ });
345
+
346
+ this.TRACE_INIT("Failed Optimization Warnings", () => {
347
+ const unOptimizedModes = reduce(
348
+ this.canModeBeOptimized,
349
+ (cannotBeOptimized, canBeOptimized, modeName) => {
350
+ if (canBeOptimized === false) {
351
+ cannotBeOptimized.push(modeName);
352
+ }
353
+ return cannotBeOptimized;
354
+ },
355
+ [] as string[],
356
+ );
357
+
358
+ if (config.ensureOptimizations && !isEmpty(unOptimizedModes)) {
359
+ throw Error(
360
+ `Lexer Modes: < ${unOptimizedModes.join(
361
+ ", ",
362
+ )} > cannot be optimized.\n` +
363
+ '\t Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode.\n' +
364
+ "\t Or inspect the console log for details on how to resolve these issues.",
365
+ );
366
+ }
367
+ });
368
+
369
+ this.TRACE_INIT("clearRegExpParserCache", () => {
370
+ clearRegExpParserCache();
371
+ });
372
+
373
+ this.TRACE_INIT("toFastProperties", () => {
374
+ toFastProperties(this);
375
+ });
376
+ });
377
+ }
378
+
379
+ public tokenize(
380
+ text: string,
381
+ initialMode: string = this.defaultMode,
382
+ ): ILexingResult {
383
+ if (!isEmpty(this.lexerDefinitionErrors)) {
384
+ const allErrMessages = map(this.lexerDefinitionErrors, (error) => {
385
+ return error.message;
386
+ });
387
+ const allErrMessagesString = allErrMessages.join(
388
+ "-----------------------\n",
389
+ );
390
+ throw new Error(
391
+ "Unable to Tokenize because Errors detected in definition of Lexer:\n" +
392
+ allErrMessagesString,
393
+ );
394
+ }
395
+
396
+ return this.tokenizeInternal(text, initialMode);
397
+ }
398
+
399
+ // There is quite a bit of duplication between this and "tokenizeInternalLazy"
400
+ // This is intentional due to performance considerations.
401
+ // this method also used quite a bit of `!` none null assertions because it is too optimized
402
+ // for `tsc` to always understand it is "safe"
403
+ private tokenizeInternal(text: string, initialMode: string): ILexingResult {
404
+ let i,
405
+ j,
406
+ k,
407
+ matchAltImage,
408
+ longerAlt,
409
+ matchedImage: string | null,
410
+ payload,
411
+ altPayload,
412
+ imageLength,
413
+ group,
414
+ tokType,
415
+ newToken: IToken,
416
+ errLength,
417
+ droppedChar,
418
+ msg,
419
+ match;
420
+ const orgText = text;
421
+ const orgLength = orgText.length;
422
+ let offset = 0;
423
+ let matchedTokensIndex = 0;
424
+ // initializing the tokensArray to the "guessed" size.
425
+ // guessing too little will still reduce the number of array re-sizes on pushes.
426
+ // guessing too large (Tested by guessing x4 too large) may cost a bit more of memory
427
+ // but would still have a faster runtime by avoiding (All but one) array resizing.
428
+ const guessedNumberOfTokens = this.hasCustom
429
+ ? 0 // will break custom token pattern APIs the matchedTokens array will contain undefined elements.
430
+ : Math.floor(text.length / 10);
431
+ const matchedTokens = new Array(guessedNumberOfTokens);
432
+ const errors: ILexingError[] = [];
433
+ let line = this.trackStartLines ? 1 : undefined;
434
+ let column = this.trackStartLines ? 1 : undefined;
435
+ const groups: any = cloneEmptyGroups(this.emptyGroups);
436
+ const trackLines = this.trackStartLines;
437
+ const lineTerminatorPattern = this.config.lineTerminatorsPattern;
438
+
439
+ let currModePatternsLength = 0;
440
+ let patternIdxToConfig: IPatternConfig[] = [];
441
+ let currCharCodeToPatternIdxToConfig: {
442
+ [charCode: number]: IPatternConfig[];
443
+ } = [];
444
+
445
+ const modeStack: string[] = [];
446
+
447
+ const emptyArray: IPatternConfig[] = [];
448
+ Object.freeze(emptyArray);
449
+ let getPossiblePatterns!: (charCode: number) => IPatternConfig[];
450
+
451
+ function getPossiblePatternsSlow() {
452
+ return patternIdxToConfig;
453
+ }
454
+
455
+ function getPossiblePatternsOptimized(charCode: number): IPatternConfig[] {
456
+ const optimizedCharIdx = charCodeToOptimizedIndex(charCode);
457
+ const possiblePatterns =
458
+ currCharCodeToPatternIdxToConfig[optimizedCharIdx];
459
+ if (possiblePatterns === undefined) {
460
+ return emptyArray;
461
+ } else {
462
+ return possiblePatterns;
463
+ }
464
+ }
465
+
466
+ const pop_mode = (popToken: IToken) => {
467
+ // TODO: perhaps avoid this error in the edge case there is no more input?
468
+ if (
469
+ modeStack.length === 1 &&
470
+ // if we have both a POP_MODE and a PUSH_MODE this is in-fact a "transition"
471
+ // So no error should occur.
472
+ popToken.tokenType.PUSH_MODE === undefined
473
+ ) {
474
+ // if we try to pop the last mode there lexer will no longer have ANY mode.
475
+ // thus the pop is ignored, an error will be created and the lexer will continue parsing in the previous mode.
476
+ const msg =
477
+ this.config.errorMessageProvider.buildUnableToPopLexerModeMessage(
478
+ popToken,
479
+ );
480
+
481
+ errors.push({
482
+ offset: popToken.startOffset,
483
+ line: popToken.startLine,
484
+ column: popToken.startColumn,
485
+ length: popToken.image.length,
486
+ message: msg,
487
+ });
488
+ } else {
489
+ modeStack.pop();
490
+ const newMode = last(modeStack)!;
491
+ patternIdxToConfig = this.patternIdxToConfig[newMode];
492
+ currCharCodeToPatternIdxToConfig =
493
+ this.charCodeToPatternIdxToConfig[newMode];
494
+ currModePatternsLength = patternIdxToConfig.length;
495
+ const modeCanBeOptimized =
496
+ this.canModeBeOptimized[newMode] && this.config.safeMode === false;
497
+
498
+ if (currCharCodeToPatternIdxToConfig && modeCanBeOptimized) {
499
+ getPossiblePatterns = getPossiblePatternsOptimized;
500
+ } else {
501
+ getPossiblePatterns = getPossiblePatternsSlow;
502
+ }
503
+ }
504
+ };
505
+
506
+ function push_mode(this: Lexer, newMode: string) {
507
+ modeStack.push(newMode);
508
+ currCharCodeToPatternIdxToConfig =
509
+ this.charCodeToPatternIdxToConfig[newMode];
510
+
511
+ patternIdxToConfig = this.patternIdxToConfig[newMode];
512
+ currModePatternsLength = patternIdxToConfig.length;
513
+
514
+ currModePatternsLength = patternIdxToConfig.length;
515
+ const modeCanBeOptimized =
516
+ this.canModeBeOptimized[newMode] && this.config.safeMode === false;
517
+
518
+ if (currCharCodeToPatternIdxToConfig && modeCanBeOptimized) {
519
+ getPossiblePatterns = getPossiblePatternsOptimized;
520
+ } else {
521
+ getPossiblePatterns = getPossiblePatternsSlow;
522
+ }
523
+ }
524
+
525
+ // this pattern seems to avoid a V8 de-optimization, although that de-optimization does not
526
+ // seem to matter performance wise.
527
+ push_mode.call(this, initialMode);
528
+
529
+ let currConfig!: IPatternConfig;
530
+
531
+ const recoveryEnabled = this.config.recoveryEnabled;
532
+
533
+ while (offset < orgLength) {
534
+ matchedImage = null;
535
+
536
+ const nextCharCode = orgText.charCodeAt(offset);
537
+ const chosenPatternIdxToConfig = getPossiblePatterns(nextCharCode);
538
+ const chosenPatternsLength = chosenPatternIdxToConfig.length;
539
+
540
+ for (i = 0; i < chosenPatternsLength; i++) {
541
+ currConfig = chosenPatternIdxToConfig[i];
542
+ const currPattern = currConfig.pattern;
543
+ payload = null;
544
+
545
+ // manually in-lined because > 600 chars won't be in-lined in V8
546
+ const singleCharCode = currConfig.short;
547
+ if (singleCharCode !== false) {
548
+ if (nextCharCode === singleCharCode) {
549
+ // single character string
550
+ matchedImage = currPattern as string;
551
+ }
552
+ } else if (currConfig.isCustom === true) {
553
+ match = (currPattern as IRegExpExec).exec(
554
+ orgText,
555
+ offset,
556
+ matchedTokens,
557
+ groups,
558
+ );
559
+ if (match !== null) {
560
+ matchedImage = match[0];
561
+ if ((match as CustomPatternMatcherReturn).payload !== undefined) {
562
+ payload = (match as CustomPatternMatcherReturn).payload;
563
+ }
564
+ } else {
565
+ matchedImage = null;
566
+ }
567
+ } else {
568
+ this.updateLastIndex(currPattern as RegExp, offset);
569
+ matchedImage = this.match(currPattern as RegExp, text, offset);
570
+ }
571
+
572
+ if (matchedImage !== null) {
573
+ // even though this pattern matched we must try a another longer alternative.
574
+ // this can be used to prioritize keywords over identifiers
575
+ longerAlt = currConfig.longerAlt;
576
+ if (longerAlt !== undefined) {
577
+ // TODO: micro optimize, avoid extra prop access
578
+ // by saving/linking longerAlt on the original config?
579
+ const longerAltLength = longerAlt.length;
580
+ for (k = 0; k < longerAltLength; k++) {
581
+ const longerAltConfig = patternIdxToConfig[longerAlt[k]];
582
+ const longerAltPattern = longerAltConfig.pattern;
583
+ altPayload = null;
584
+
585
+ // single Char can never be a longer alt so no need to test it.
586
+ // manually in-lined because > 600 chars won't be in-lined in V8
587
+ if (longerAltConfig.isCustom === true) {
588
+ match = (longerAltPattern as IRegExpExec).exec(
589
+ orgText,
590
+ offset,
591
+ matchedTokens,
592
+ groups,
593
+ );
594
+ if (match !== null) {
595
+ matchAltImage = match[0];
596
+ if (
597
+ (match as CustomPatternMatcherReturn).payload !== undefined
598
+ ) {
599
+ altPayload = (match as CustomPatternMatcherReturn).payload;
600
+ }
601
+ } else {
602
+ matchAltImage = null;
603
+ }
604
+ } else {
605
+ this.updateLastIndex(longerAltPattern as RegExp, offset);
606
+ matchAltImage = this.match(
607
+ longerAltPattern as RegExp,
608
+ text,
609
+ offset,
610
+ );
611
+ }
612
+
613
+ if (matchAltImage && matchAltImage.length > matchedImage.length) {
614
+ matchedImage = matchAltImage;
615
+ payload = altPayload;
616
+ currConfig = longerAltConfig;
617
+ // Exit the loop early after matching one of the longer alternatives
618
+ // The first matched alternative takes precedence
619
+ break;
620
+ }
621
+ }
622
+ }
623
+ break;
624
+ }
625
+ }
626
+
627
+ // successful match
628
+ if (matchedImage !== null) {
629
+ imageLength = matchedImage.length;
630
+ group = currConfig.group;
631
+ if (group !== undefined) {
632
+ tokType = currConfig.tokenTypeIdx;
633
+ // TODO: "offset + imageLength" and the new column may be computed twice in case of "full" location information inside
634
+ // createFullToken method
635
+ newToken = this.createTokenInstance(
636
+ matchedImage,
637
+ offset,
638
+ tokType,
639
+ currConfig.tokenType,
640
+ line,
641
+ column,
642
+ imageLength,
643
+ );
644
+
645
+ this.handlePayload(newToken, payload);
646
+
647
+ // TODO: optimize NOOP in case there are no special groups?
648
+ if (group === false) {
649
+ matchedTokensIndex = this.addToken(
650
+ matchedTokens,
651
+ matchedTokensIndex,
652
+ newToken,
653
+ );
654
+ } else {
655
+ groups[group].push(newToken);
656
+ }
657
+ }
658
+ text = this.chopInput(text, imageLength);
659
+ offset = offset + imageLength;
660
+
661
+ // TODO: with newlines the column may be assigned twice
662
+ column = this.computeNewColumn(column!, imageLength);
663
+
664
+ if (trackLines === true && currConfig.canLineTerminator === true) {
665
+ let numOfLTsInMatch = 0;
666
+ let foundTerminator;
667
+ let lastLTEndOffset: number;
668
+ lineTerminatorPattern.lastIndex = 0;
669
+ do {
670
+ foundTerminator = lineTerminatorPattern.test(matchedImage);
671
+ if (foundTerminator === true) {
672
+ lastLTEndOffset = lineTerminatorPattern.lastIndex - 1;
673
+ numOfLTsInMatch++;
674
+ }
675
+ } while (foundTerminator === true);
676
+
677
+ if (numOfLTsInMatch !== 0) {
678
+ line = line! + numOfLTsInMatch;
679
+ column = imageLength - lastLTEndOffset!;
680
+ this.updateTokenEndLineColumnLocation(
681
+ newToken!,
682
+ group!,
683
+ lastLTEndOffset!,
684
+ numOfLTsInMatch,
685
+ line,
686
+ column,
687
+ imageLength,
688
+ );
689
+ }
690
+ }
691
+ // will be NOOP if no modes present
692
+ this.handleModes(currConfig, pop_mode, push_mode, newToken!);
693
+ } else {
694
+ // error recovery, drop characters until we identify a valid token's start point
695
+ const errorStartOffset = offset;
696
+ const errorLine = line;
697
+ const errorColumn = column;
698
+ let foundResyncPoint = recoveryEnabled === false;
699
+
700
+ while (foundResyncPoint === false && offset < orgLength) {
701
+ // Identity Func (when sticky flag is enabled)
702
+ text = this.chopInput(text, 1);
703
+ offset++;
704
+ for (j = 0; j < currModePatternsLength; j++) {
705
+ const currConfig = patternIdxToConfig[j];
706
+ const currPattern = currConfig.pattern;
707
+
708
+ // manually in-lined because > 600 chars won't be in-lined in V8
709
+ const singleCharCode = currConfig.short;
710
+ if (singleCharCode !== false) {
711
+ if (orgText.charCodeAt(offset) === singleCharCode) {
712
+ // single character string
713
+ foundResyncPoint = true;
714
+ }
715
+ } else if (currConfig.isCustom === true) {
716
+ foundResyncPoint =
717
+ (currPattern as IRegExpExec).exec(
718
+ orgText,
719
+ offset,
720
+ matchedTokens,
721
+ groups,
722
+ ) !== null;
723
+ } else {
724
+ this.updateLastIndex(currPattern as RegExp, offset);
725
+ foundResyncPoint = (currPattern as RegExp).exec(text) !== null;
726
+ }
727
+
728
+ if (foundResyncPoint === true) {
729
+ break;
730
+ }
731
+ }
732
+ }
733
+
734
+ errLength = offset - errorStartOffset;
735
+ column = this.computeNewColumn(column!, errLength);
736
+ // at this point we either re-synced or reached the end of the input text
737
+ msg = this.config.errorMessageProvider.buildUnexpectedCharactersMessage(
738
+ orgText,
739
+ errorStartOffset,
740
+ errLength,
741
+ errorLine,
742
+ errorColumn,
743
+ );
744
+ errors.push({
745
+ offset: errorStartOffset,
746
+ line: errorLine,
747
+ column: errorColumn,
748
+ length: errLength,
749
+ message: msg,
750
+ });
751
+
752
+ if (recoveryEnabled === false) {
753
+ break;
754
+ }
755
+ }
756
+ }
757
+
758
+ // if we do have custom patterns which push directly into the
759
+ // TODO: custom tokens should not push directly??
760
+ if (!this.hasCustom) {
761
+ // if we guessed a too large size for the tokens array this will shrink it to the right size.
762
+ matchedTokens.length = matchedTokensIndex;
763
+ }
764
+
765
+ return {
766
+ tokens: matchedTokens,
767
+ groups: groups,
768
+ errors: errors,
769
+ };
770
+ }
771
+
772
+ private handleModes(
773
+ config: IPatternConfig,
774
+ pop_mode: (tok: IToken) => void,
775
+ push_mode: (this: Lexer, pushMode: string) => void,
776
+ newToken: IToken,
777
+ ) {
778
+ if (config.pop === true) {
779
+ // need to save the PUSH_MODE property as if the mode is popped
780
+ // patternIdxToPopMode is updated to reflect the new mode after popping the stack
781
+ const pushMode = config.push;
782
+ pop_mode(newToken);
783
+ if (pushMode !== undefined) {
784
+ push_mode.call(this, pushMode);
785
+ }
786
+ } else if (config.push !== undefined) {
787
+ push_mode.call(this, config.push);
788
+ }
789
+ }
790
+
791
+ private chopInput(text: string, length: number): string {
792
+ return text.substring(length);
793
+ }
794
+
795
+ private updateLastIndex(regExp: RegExp, newLastIndex: number): void {
796
+ regExp.lastIndex = newLastIndex;
797
+ }
798
+
799
+ // TODO: decrease this under 600 characters? inspect stripping comments option in TSC compiler
800
+ private updateTokenEndLineColumnLocation(
801
+ newToken: IToken,
802
+ group: string | false,
803
+ lastLTIdx: number,
804
+ numOfLTsInMatch: number,
805
+ line: number,
806
+ column: number,
807
+ imageLength: number,
808
+ ): void {
809
+ let lastCharIsLT, fixForEndingInLT;
810
+ if (group !== undefined) {
811
+ // a none skipped multi line Token, need to update endLine/endColumn
812
+ lastCharIsLT = lastLTIdx === imageLength - 1;
813
+ fixForEndingInLT = lastCharIsLT ? -1 : 0;
814
+ if (!(numOfLTsInMatch === 1 && lastCharIsLT === true)) {
815
+ // if a token ends in a LT that last LT only affects the line numbering of following Tokens
816
+ newToken.endLine = line + fixForEndingInLT;
817
+ // the last LT in a token does not affect the endColumn either as the [columnStart ... columnEnd)
818
+ // inclusive to exclusive range.
819
+ newToken.endColumn = column - 1 + -fixForEndingInLT;
820
+ }
821
+ // else single LT in the last character of a token, no need to modify the endLine/EndColumn
822
+ }
823
+ }
824
+
825
+ private computeNewColumn(oldColumn: number, imageLength: number) {
826
+ return oldColumn + imageLength;
827
+ }
828
+
829
+ // Place holder, will be replaced by the correct variant according to the locationTracking option at runtime.
830
+ /* istanbul ignore next - place holder */
831
+ private createTokenInstance!: (...args: any[]) => IToken;
832
+
833
+ private createOffsetOnlyToken(
834
+ image: string,
835
+ startOffset: number,
836
+ tokenTypeIdx: number,
837
+ tokenType: TokenType,
838
+ ) {
839
+ return {
840
+ image,
841
+ startOffset,
842
+ tokenTypeIdx,
843
+ tokenType,
844
+ };
845
+ }
846
+
847
+ private createStartOnlyToken(
848
+ image: string,
849
+ startOffset: number,
850
+ tokenTypeIdx: number,
851
+ tokenType: TokenType,
852
+ startLine: number,
853
+ startColumn: number,
854
+ ) {
855
+ return {
856
+ image,
857
+ startOffset,
858
+ startLine,
859
+ startColumn,
860
+ tokenTypeIdx,
861
+ tokenType,
862
+ };
863
+ }
864
+
865
+ private createFullToken(
866
+ image: string,
867
+ startOffset: number,
868
+ tokenTypeIdx: number,
869
+ tokenType: TokenType,
870
+ startLine: number,
871
+ startColumn: number,
872
+ imageLength: number,
873
+ ): IToken {
874
+ return {
875
+ image,
876
+ startOffset,
877
+ endOffset: startOffset + imageLength - 1,
878
+ startLine,
879
+ endLine: startLine,
880
+ startColumn,
881
+ endColumn: startColumn + imageLength - 1,
882
+ tokenTypeIdx,
883
+ tokenType,
884
+ };
885
+ }
886
+
887
+ // Place holder, will be replaced by the correct variant according to the locationTracking option at runtime.
888
+ /* istanbul ignore next - place holder */
889
+ private addToken!: (
890
+ tokenVector: IToken[],
891
+ index: number,
892
+ tokenToAdd: IToken,
893
+ ) => number;
894
+
895
+ private addTokenUsingPush(
896
+ tokenVector: IToken[],
897
+ index: number,
898
+ tokenToAdd: IToken,
899
+ ): number {
900
+ tokenVector.push(tokenToAdd);
901
+ return index;
902
+ }
903
+
904
+ private addTokenUsingMemberAccess(
905
+ tokenVector: IToken[],
906
+ index: number,
907
+ tokenToAdd: IToken,
908
+ ): number {
909
+ tokenVector[index] = tokenToAdd;
910
+ index++;
911
+ return index;
912
+ }
913
+
914
+ // Place holder, will be replaced by the correct variant according to the hasCustom flag option at runtime.
915
+ private handlePayload: (token: IToken, payload: any) => void;
916
+
917
+ private handlePayloadNoCustom(token: IToken, payload: any): void {}
918
+
919
+ private handlePayloadWithCustom(token: IToken, payload: any): void {
920
+ if (payload !== null) {
921
+ token.payload = payload;
922
+ }
923
+ }
924
+
925
+ // place holder to be replaced with chosen alternative at runtime
926
+ private match!: (
927
+ pattern: RegExp,
928
+ text: string,
929
+ offset: number,
930
+ ) => string | null;
931
+
932
+ private matchWithTest(
933
+ pattern: RegExp,
934
+ text: string,
935
+ offset: number,
936
+ ): string | null {
937
+ const found = pattern.test(text);
938
+ if (found === true) {
939
+ return text.substring(offset, pattern.lastIndex);
940
+ }
941
+ return null;
942
+ }
943
+
944
+ private matchWithExec(pattern: RegExp, text: string): string | null {
945
+ const regExpArray = pattern.exec(text);
946
+ return regExpArray !== null ? regExpArray[0] : null;
947
+ }
948
+
949
+ // Duplicated from the parser's perf trace trait to allow future extraction
950
+ // of the lexer to a separate package.
951
+ TRACE_INIT = <T>(phaseDesc: string, phaseImpl: () => T): T => {
952
+ // No need to optimize this using NOOP pattern because
953
+ // It is not called in a hot spot...
954
+ if (this.traceInitPerf === true) {
955
+ this.traceInitIndent++;
956
+ const indent = new Array(this.traceInitIndent + 1).join("\t");
957
+ if (this.traceInitIndent < this.traceInitMaxIdent) {
958
+ console.log(`${indent}--> <${phaseDesc}>`);
959
+ }
960
+ const { time, value } = timer(phaseImpl);
961
+ /* istanbul ignore next - Difficult to reproduce specific performance behavior (>10ms) in tests */
962
+ const traceMethod = time > 10 ? console.warn : console.log;
963
+ if (this.traceInitIndent < this.traceInitMaxIdent) {
964
+ traceMethod(`${indent}<-- <${phaseDesc}> time: ${time}ms`);
965
+ }
966
+ this.traceInitIndent--;
967
+ return value;
968
+ } else {
969
+ return phaseImpl();
970
+ }
971
+ };
972
+ }