@oscharko-dev/keiko 1.2.4 → 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 (760) hide show
  1. package/README.md +16 -0
  2. package/dist/ui/csp-hashes.json +7 -7
  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/{1ienlzel5zdck.js → 04dp_lufwpm_c.js} +3 -3
  9. package/dist/ui/static/_next/static/chunks/{3llyc6xz08_ky.js → 093a8t-2cq6m-.js} +1 -1
  10. package/dist/ui/static/_next/static/chunks/{2dhcqxcousm45.css → 0c2x58oypfxql.css} +0 -1
  11. package/dist/ui/static/_next/static/chunks/{0oqmbh9n57323.js → 0d2jdima45f80.js} +1 -1
  12. package/dist/ui/static/_next/static/chunks/0jgz-asdfgt0a.js +1 -0
  13. package/dist/ui/static/_next/static/chunks/{1glj9-10j7vd_.js → 0pwhvlvc5xzdn.js} +1 -1
  14. package/dist/ui/static/_next/static/chunks/0qv18mxl-svtm.js +1 -0
  15. package/dist/ui/static/_next/static/chunks/{3q-u4cmxbxbxy.js → 0t_pueqvpjhte.js} +1 -1
  16. package/dist/ui/static/_next/static/chunks/0vp6vie-w0uoj.js +1 -0
  17. package/dist/ui/static/_next/static/chunks/0yfynlzpk94vs.js +1 -0
  18. package/dist/ui/static/_next/static/chunks/0z3r0nbwzm3go.js +1 -0
  19. package/dist/ui/static/_next/static/chunks/{3i6zr4x280jq4.js → 0zfirl91hq_ln.js} +1 -1
  20. package/dist/ui/static/_next/static/chunks/{1grn549_xc1mq.js → 1-t3xxvikveec.js} +1 -1
  21. package/dist/ui/static/_next/static/chunks/12w_v6vr9vd22.js +1 -0
  22. package/dist/ui/static/_next/static/chunks/{2p_w_st_gm1rp.js → 13sm61rx0q9m9.js} +1 -1
  23. package/dist/ui/static/_next/static/chunks/{3zidi31cpe2oi.js → 1cvrnrez0p5sh.js} +1 -1
  24. package/dist/ui/static/_next/static/chunks/{0t52lzhbto4gq.js → 1d-qbfzavu7_h.js} +1 -1
  25. package/dist/ui/static/_next/static/chunks/1d_8494rie_2y.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/{12j_451pxuj5o.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/{15vd6rpxiqu8w.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/{1ufk9opowqajn.js → 2928_k4v79qpr.js} +1 -1
  45. package/dist/ui/static/_next/static/chunks/{0ye5xoo8-mxeh.js → 2951adkvdmyxh.js} +1 -1
  46. package/dist/ui/static/_next/static/chunks/2_52lwqeijscc.js +1 -0
  47. package/dist/ui/static/_next/static/chunks/2apif8vheen3j.js +1 -0
  48. package/dist/ui/static/_next/static/chunks/{2rmh79cv9y7fu.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/{12ud0_l8bk00z.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/{0wojcemvzg4nk.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/{3961pv_qwa3xb.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/{2czfxmx_ca_k5.js → 3_7r108axban1.js} +1 -1
  62. package/dist/ui/static/_next/static/chunks/{1gy2m1qvi454c.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/{3951w1st9l_ix.css → 3pjmpqtes6x60.css} +25 -13
  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/{0ayn-v91zdo92.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 +5 -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 +61 -1
  132. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts +7 -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 +9 -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 +652 -21
  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 +725 -2
  192. package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts +623 -23
  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 +774 -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 +2 -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 +1 -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 +91 -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 +78 -10
  322. package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.d.ts.map +1 -1
  323. package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.js +42 -7
  324. package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.d.ts.map +1 -1
  325. package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.js +74 -1
  326. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/browserApproval.d.ts +26 -0
  327. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/browserApproval.d.ts.map +1 -0
  328. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/browserApproval.js +319 -0
  329. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/browserApprovalRoutes.d.ts +3 -0
  330. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/browserApprovalRoutes.d.ts.map +1 -0
  331. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/browserApprovalRoutes.js +168 -0
  332. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.d.ts +1 -1
  333. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.d.ts.map +1 -1
  334. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.js +5 -4
  335. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/launcherSessionPairingPort.d.ts.map +1 -1
  336. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/launcherSessionPairingPort.js +7 -1
  337. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionChannel.d.ts +4 -0
  338. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionChannel.d.ts.map +1 -1
  339. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionChannel.js +22 -9
  340. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionRegistry.d.ts +15 -0
  341. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionRegistry.d.ts.map +1 -1
  342. package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionRegistry.js +162 -23
  343. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessProtocol.d.ts +3 -10
  344. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessProtocol.d.ts.map +1 -1
  345. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessProtocol.js +6 -77
  346. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionPortableCodingRuntime.d.ts +2 -0
  347. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionPortableCodingRuntime.d.ts.map +1 -1
  348. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionPortableCodingRuntime.js +47 -7
  349. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadPortable.d.ts.map +1 -1
  350. package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadPortable.js +15 -12
  351. package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
  352. package/node_modules/@oscharko-dev/keiko-server/dist/deps.js +8 -1
  353. package/node_modules/@oscharko-dev/keiko-server/dist/files.js +1 -1
  354. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-repair.d.ts.map +1 -1
  355. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-repair.js +15 -10
  356. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.d.ts.map +1 -1
  357. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.js +4 -0
  358. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.d.ts +4 -0
  359. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.d.ts.map +1 -1
  360. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.js +99 -8
  361. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.d.ts +1 -0
  362. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.d.ts.map +1 -1
  363. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.js +5 -0
  364. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-explicit-paths.d.ts.map +1 -1
  365. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-explicit-paths.js +10 -3
  366. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.d.ts +5 -0
  367. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.d.ts.map +1 -1
  368. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.js +111 -18
  369. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-redactor.d.ts +4 -0
  370. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-redactor.d.ts.map +1 -0
  371. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-redactor.js +22 -0
  372. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.d.ts.map +1 -1
  373. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.js +8 -5
  374. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace.d.ts.map +1 -1
  375. package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace.js +180 -71
  376. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-store-open.d.ts.map +1 -1
  377. package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-store-open.js +1 -0
  378. package/node_modules/@oscharko-dev/keiko-server/dist/observability/route-template.d.ts.map +1 -1
  379. package/node_modules/@oscharko-dev/keiko-server/dist/observability/route-template.js +3 -0
  380. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/reviewStore.d.ts.map +1 -1
  381. package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/reviewStore.js +4 -9
  382. package/node_modules/@oscharko-dev/keiko-server/dist/routes.d.ts.map +1 -1
  383. package/node_modules/@oscharko-dev/keiko-server/dist/routes.js +6 -1
  384. package/node_modules/@oscharko-dev/keiko-server/dist/store/browserApprovals.d.ts +21 -0
  385. package/node_modules/@oscharko-dev/keiko-server/dist/store/browserApprovals.d.ts.map +1 -0
  386. package/node_modules/@oscharko-dev/keiko-server/dist/store/browserApprovals.js +77 -0
  387. package/node_modules/@oscharko-dev/keiko-server/dist/store/chatCreationIntents.d.ts +8 -0
  388. package/node_modules/@oscharko-dev/keiko-server/dist/store/chatCreationIntents.d.ts.map +1 -0
  389. package/node_modules/@oscharko-dev/keiko-server/dist/store/chatCreationIntents.js +118 -0
  390. package/node_modules/@oscharko-dev/keiko-server/dist/store/db.d.ts.map +1 -1
  391. package/node_modules/@oscharko-dev/keiko-server/dist/store/db.js +50 -16
  392. package/node_modules/@oscharko-dev/keiko-server/dist/store/errors.d.ts +2 -1
  393. package/node_modules/@oscharko-dev/keiko-server/dist/store/errors.d.ts.map +1 -1
  394. package/node_modules/@oscharko-dev/keiko-server/dist/store/errors.js +3 -0
  395. package/node_modules/@oscharko-dev/keiko-server/dist/store/legacySchemaTestFixture.d.ts.map +1 -1
  396. package/node_modules/@oscharko-dev/keiko-server/dist/store/legacySchemaTestFixture.js +3 -1
  397. package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.d.ts.map +1 -1
  398. package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.js +2 -1
  399. package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts +1 -1
  400. package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts.map +1 -1
  401. package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.js +26 -1
  402. package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts +14 -1
  403. package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts.map +1 -1
  404. package/node_modules/@oscharko-dev/keiko-server/dist/store/workspaceManifests.d.ts.map +1 -1
  405. package/node_modules/@oscharko-dev/keiko-server/dist/store/workspaceManifests.js +10 -2
  406. package/node_modules/@oscharko-dev/keiko-server/dist/store-handlers.js +1 -1
  407. package/node_modules/@oscharko-dev/keiko-server/dist/support-report-job.d.ts.map +1 -1
  408. package/node_modules/@oscharko-dev/keiko-server/dist/support-report-job.js +31 -7
  409. package/node_modules/@oscharko-dev/keiko-server/dist/support-report-worker.js +2 -0
  410. package/node_modules/@oscharko-dev/keiko-server/dist/update-local-state.d.ts +2 -2
  411. package/node_modules/@oscharko-dev/keiko-server/dist/update-local-state.d.ts.map +1 -1
  412. package/node_modules/@oscharko-dev/keiko-server/dist/update-local-state.js +207 -61
  413. package/node_modules/@oscharko-dev/keiko-server/dist/update-native-app-control-stream.d.ts +20 -0
  414. package/node_modules/@oscharko-dev/keiko-server/dist/update-native-app-control-stream.d.ts.map +1 -0
  415. package/node_modules/@oscharko-dev/keiko-server/dist/update-native-app-control-stream.js +144 -0
  416. package/node_modules/@oscharko-dev/keiko-server/dist/update-native-app-control.d.ts +33 -0
  417. package/node_modules/@oscharko-dev/keiko-server/dist/update-native-app-control.d.ts.map +1 -0
  418. package/node_modules/@oscharko-dev/keiko-server/dist/update-native-app-control.js +160 -0
  419. package/node_modules/@oscharko-dev/keiko-server/dist/update-native-handoff-activity.d.ts +6 -0
  420. package/node_modules/@oscharko-dev/keiko-server/dist/update-native-handoff-activity.d.ts.map +1 -0
  421. package/node_modules/@oscharko-dev/keiko-server/dist/update-native-handoff-activity.js +41 -0
  422. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-activation-files.d.ts +2 -0
  423. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-activation-files.d.ts.map +1 -1
  424. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-activation-files.js +26 -14
  425. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-plan.d.ts.map +1 -1
  426. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-plan.js +14 -2
  427. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-production.d.ts.map +1 -1
  428. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-production.js +3 -1
  429. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-receipts.js +1 -1
  430. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-recovery.d.ts.map +1 -1
  431. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-recovery.js +3 -2
  432. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-tree.js +1 -1
  433. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff.d.ts +4 -0
  434. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff.d.ts.map +1 -1
  435. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff.js +89 -21
  436. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-install-mode.d.ts.map +1 -1
  437. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-install-mode.js +34 -24
  438. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-normal-startup.d.ts.map +1 -1
  439. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-normal-startup.js +4 -9
  440. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-windows-generation.d.ts +1 -1
  441. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-windows-generation.d.ts.map +1 -1
  442. package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-windows-generation.js +11 -0
  443. package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-activity.d.ts +2 -1
  444. package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-activity.d.ts.map +1 -1
  445. package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-activity.js +93 -3
  446. package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-routes.d.ts.map +1 -1
  447. package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-routes.js +3 -0
  448. package/node_modules/@oscharko-dev/keiko-server/dist/update-remediation-drafts.d.ts +0 -1
  449. package/node_modules/@oscharko-dev/keiko-server/dist/update-remediation-drafts.d.ts.map +1 -1
  450. package/node_modules/@oscharko-dev/keiko-server/dist/update-remediation-drafts.js +0 -15
  451. package/node_modules/@oscharko-dev/keiko-server/dist/update-remediation.d.ts.map +1 -1
  452. package/node_modules/@oscharko-dev/keiko-server/dist/update-remediation.js +69 -38
  453. package/node_modules/@oscharko-dev/keiko-server/dist/update-runtime-activity.d.ts +8 -0
  454. package/node_modules/@oscharko-dev/keiko-server/dist/update-runtime-activity.d.ts.map +1 -1
  455. package/node_modules/@oscharko-dev/keiko-server/dist/update-runtime-activity.js +65 -0
  456. package/node_modules/@oscharko-dev/keiko-server/dist/update-session-lock.d.ts +1 -0
  457. package/node_modules/@oscharko-dev/keiko-server/dist/update-session-lock.d.ts.map +1 -1
  458. package/node_modules/@oscharko-dev/keiko-server/dist/update-session-lock.js +7 -11
  459. package/node_modules/@oscharko-dev/keiko-server/dist/update-session-routes.d.ts +1 -1
  460. package/node_modules/@oscharko-dev/keiko-server/dist/update-session-routes.d.ts.map +1 -1
  461. package/node_modules/@oscharko-dev/keiko-server/dist/update-session-routes.js +6 -2
  462. package/node_modules/@oscharko-dev/keiko-server/dist/update-session.d.ts.map +1 -1
  463. package/node_modules/@oscharko-dev/keiko-server/dist/update-session.js +3 -2
  464. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.d.ts +1 -1
  465. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.d.ts.map +1 -1
  466. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.js +1 -0
  467. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-identity.d.ts +7 -0
  468. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-identity.d.ts.map +1 -1
  469. package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-identity.js +40 -0
  470. package/node_modules/@oscharko-dev/keiko-server/package.json +23 -23
  471. package/node_modules/@oscharko-dev/keiko-tool-catalog/package.json +3 -3
  472. package/node_modules/@oscharko-dev/keiko-tools/dist/patch-parse.d.ts +1 -8
  473. package/node_modules/@oscharko-dev/keiko-tools/dist/patch-parse.d.ts.map +1 -1
  474. package/node_modules/@oscharko-dev/keiko-tools/dist/patch-parse.js +1 -212
  475. package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts +1 -1
  476. package/node_modules/@oscharko-dev/keiko-tools/dist/version.js +1 -1
  477. package/node_modules/@oscharko-dev/keiko-tools/package.json +7 -7
  478. package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
  479. package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.d.ts.map +1 -1
  480. package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.js +9 -0
  481. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.d.ts +1 -1
  482. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.d.ts.map +1 -1
  483. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.js +3 -199
  484. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.d.ts.map +1 -1
  485. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.js +3 -10
  486. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/references.d.ts.map +1 -1
  487. package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/references.js +3 -2
  488. package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
  489. package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.d.ts +2 -0
  490. package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.d.ts.map +1 -1
  491. package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.js +4 -0
  492. package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.d.ts.map +1 -1
  493. package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.js +6 -4
  494. package/node_modules/@oscharko-dev/keiko-workspace/dist/importGraphEdges.d.ts.map +1 -1
  495. package/node_modules/@oscharko-dev/keiko-workspace/dist/importGraphEdges.js +2 -4
  496. package/node_modules/@oscharko-dev/keiko-workspace/dist/index.d.ts +4 -1
  497. package/node_modules/@oscharko-dev/keiko-workspace/dist/index.d.ts.map +1 -1
  498. package/node_modules/@oscharko-dev/keiko-workspace/dist/index.js +4 -1
  499. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.d.ts +2 -0
  500. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.d.ts.map +1 -1
  501. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.js +9 -5
  502. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchCachedLexical.d.ts.map +1 -1
  503. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchCachedLexical.js +4 -0
  504. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.d.ts +1 -1
  505. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.d.ts.map +1 -1
  506. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.js +99 -3
  507. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.d.ts +1 -0
  508. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.d.ts.map +1 -1
  509. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.js +7 -3
  510. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.d.ts +2 -0
  511. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.d.ts.map +1 -1
  512. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.js +20 -3
  513. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPresentation.d.ts +7 -0
  514. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPresentation.d.ts.map +1 -0
  515. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPresentation.js +175 -0
  516. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryPaths.d.ts +3 -0
  517. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryPaths.d.ts.map +1 -0
  518. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryPaths.js +31 -0
  519. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.d.ts +1 -0
  520. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.d.ts.map +1 -1
  521. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.js +8 -3
  522. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRanking.d.ts.map +1 -1
  523. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRanking.js +15 -2
  524. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.d.ts +2 -0
  525. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.d.ts.map +1 -1
  526. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.js +26 -13
  527. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSourceDescriptors.d.ts +7 -0
  528. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSourceDescriptors.d.ts.map +1 -0
  529. package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSourceDescriptors.js +137 -0
  530. package/node_modules/@oscharko-dev/keiko-workspace/dist/sourceRedaction.d.ts +3 -0
  531. package/node_modules/@oscharko-dev/keiko-workspace/dist/sourceRedaction.d.ts.map +1 -0
  532. package/node_modules/@oscharko-dev/keiko-workspace/dist/sourceRedaction.js +36 -0
  533. package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts +1 -1
  534. package/node_modules/@oscharko-dev/keiko-workspace/dist/version.js +1 -1
  535. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.d.ts +1 -1
  536. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.d.ts.map +1 -1
  537. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.js +2 -2
  538. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexQueryMatch.d.ts.map +1 -1
  539. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexQueryMatch.js +7 -1
  540. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.d.ts +10 -3
  541. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.d.ts.map +1 -1
  542. package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.js +29 -3
  543. package/node_modules/@oscharko-dev/keiko-workspace/package.json +3 -3
  544. package/node_modules/chevrotain/BREAKING_CHANGES.md +1 -0
  545. package/node_modules/chevrotain/CHANGELOG.md +1 -0
  546. package/node_modules/chevrotain/LICENSE.txt +202 -0
  547. package/node_modules/chevrotain/README.md +20 -0
  548. package/node_modules/chevrotain/chevrotain.d.ts +2 -0
  549. package/node_modules/chevrotain/diagrams/README.md +1 -0
  550. package/node_modules/chevrotain/diagrams/diagrams.css +85 -0
  551. package/node_modules/chevrotain/diagrams/src/diagrams_behavior.js +223 -0
  552. package/node_modules/chevrotain/diagrams/src/diagrams_builder.js +204 -0
  553. package/node_modules/chevrotain/diagrams/src/diagrams_serializer.js +20 -0
  554. package/node_modules/chevrotain/diagrams/src/main.js +30 -0
  555. package/node_modules/chevrotain/diagrams/vendor/railroad-diagrams.js +968 -0
  556. package/node_modules/chevrotain/lib/chevrotain.min.mjs +165 -0
  557. package/node_modules/chevrotain/lib/chevrotain.mjs +9554 -0
  558. package/node_modules/chevrotain/lib/src/api.js +33 -0
  559. package/node_modules/chevrotain/lib/src/diagrams/render_public.js +39 -0
  560. package/node_modules/chevrotain/lib/src/lang/lang_extensions.js +10 -0
  561. package/node_modules/chevrotain/lib/src/parse/constants.js +3 -0
  562. package/node_modules/chevrotain/lib/src/parse/cst/cst.js +71 -0
  563. package/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +90 -0
  564. package/node_modules/chevrotain/lib/src/parse/errors_public.js +175 -0
  565. package/node_modules/chevrotain/lib/src/parse/exceptions_public.js +58 -0
  566. package/node_modules/chevrotain/lib/src/parse/grammar/checks.js +435 -0
  567. package/node_modules/chevrotain/lib/src/parse/grammar/first.js +56 -0
  568. package/node_modules/chevrotain/lib/src/parse/grammar/follow.js +45 -0
  569. package/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +21 -0
  570. package/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +492 -0
  571. package/node_modules/chevrotain/lib/src/parse/grammar/keys.js +26 -0
  572. package/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +47 -0
  573. package/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +471 -0
  574. package/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +38 -0
  575. package/node_modules/chevrotain/lib/src/parse/grammar/rest.js +103 -0
  576. package/node_modules/chevrotain/lib/src/parse/grammar/types.js +2 -0
  577. package/node_modules/chevrotain/lib/src/parse/parser/parser.js +201 -0
  578. package/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.js +22 -0
  579. package/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +74 -0
  580. package/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +295 -0
  581. package/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +70 -0
  582. package/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +134 -0
  583. package/node_modules/chevrotain/lib/src/parse/parser/traits/parser_traits.js +4 -0
  584. package/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +48 -0
  585. package/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +334 -0
  586. package/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +542 -0
  587. package/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +290 -0
  588. package/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +191 -0
  589. package/node_modules/chevrotain/lib/src/parse/parser/types.js +2 -0
  590. package/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +20 -0
  591. package/node_modules/chevrotain/lib/src/scan/lexer.js +875 -0
  592. package/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +9 -0
  593. package/node_modules/chevrotain/lib/src/scan/lexer_public.js +646 -0
  594. package/node_modules/chevrotain/lib/src/scan/reg_exp.js +240 -0
  595. package/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +18 -0
  596. package/node_modules/chevrotain/lib/src/scan/tokens.js +114 -0
  597. package/node_modules/chevrotain/lib/src/scan/tokens_constants.js +2 -0
  598. package/node_modules/chevrotain/lib/src/scan/tokens_public.js +87 -0
  599. package/node_modules/chevrotain/lib/src/text/range.js +28 -0
  600. package/node_modules/chevrotain/lib/src/version.js +5 -0
  601. package/node_modules/chevrotain/package.json +60 -0
  602. package/node_modules/chevrotain/src/api.ts +87 -0
  603. package/node_modules/chevrotain/src/diagrams/render_public.ts +53 -0
  604. package/node_modules/chevrotain/src/lang/lang_extensions.ts +10 -0
  605. package/node_modules/chevrotain/src/parse/constants.ts +2 -0
  606. package/node_modules/chevrotain/src/parse/cst/cst.ts +87 -0
  607. package/node_modules/chevrotain/src/parse/cst/cst_visitor.ts +153 -0
  608. package/node_modules/chevrotain/src/parse/errors_public.ts +325 -0
  609. package/node_modules/chevrotain/src/parse/exceptions_public.ts +89 -0
  610. package/node_modules/chevrotain/src/parse/grammar/checks.ts +712 -0
  611. package/node_modules/chevrotain/src/parse/grammar/first.ts +70 -0
  612. package/node_modules/chevrotain/src/parse/grammar/follow.ts +67 -0
  613. package/node_modules/chevrotain/src/parse/grammar/gast/gast_resolver_public.ts +50 -0
  614. package/node_modules/chevrotain/src/parse/grammar/interpreter.ts +623 -0
  615. package/node_modules/chevrotain/src/parse/grammar/keys.ts +33 -0
  616. package/node_modules/chevrotain/src/parse/grammar/llk_lookahead.ts +139 -0
  617. package/node_modules/chevrotain/src/parse/grammar/lookahead.ts +739 -0
  618. package/node_modules/chevrotain/src/parse/grammar/resolver.ts +57 -0
  619. package/node_modules/chevrotain/src/parse/grammar/rest.ts +163 -0
  620. package/node_modules/chevrotain/src/parse/grammar/types.ts +97 -0
  621. package/node_modules/chevrotain/src/parse/parser/parser.ts +318 -0
  622. package/node_modules/chevrotain/src/parse/parser/traits/context_assist.ts +51 -0
  623. package/node_modules/chevrotain/src/parse/parser/traits/error_handler.ts +124 -0
  624. package/node_modules/chevrotain/src/parse/parser/traits/gast_recorder.ts +456 -0
  625. package/node_modules/chevrotain/src/parse/parser/traits/lexer_adapter.ts +86 -0
  626. package/node_modules/chevrotain/src/parse/parser/traits/looksahead.ts +269 -0
  627. package/node_modules/chevrotain/src/parse/parser/traits/parser_traits.ts +58 -0
  628. package/node_modules/chevrotain/src/parse/parser/traits/perf_tracer.ts +54 -0
  629. package/node_modules/chevrotain/src/parse/parser/traits/recognizer_api.ts +719 -0
  630. package/node_modules/chevrotain/src/parse/parser/traits/recognizer_engine.ts +867 -0
  631. package/node_modules/chevrotain/src/parse/parser/traits/recoverable.ts +473 -0
  632. package/node_modules/chevrotain/src/parse/parser/traits/tree_builder.ts +275 -0
  633. package/node_modules/chevrotain/src/parse/parser/types.ts +16 -0
  634. package/node_modules/chevrotain/src/parse/parser/utils/apply_mixins.ts +28 -0
  635. package/node_modules/chevrotain/src/scan/lexer.ts +1175 -0
  636. package/node_modules/chevrotain/src/scan/lexer_errors_public.ts +21 -0
  637. package/node_modules/chevrotain/src/scan/lexer_public.ts +972 -0
  638. package/node_modules/chevrotain/src/scan/reg_exp.ts +315 -0
  639. package/node_modules/chevrotain/src/scan/reg_exp_parser.ts +34 -0
  640. package/node_modules/chevrotain/src/scan/tokens.ts +167 -0
  641. package/node_modules/chevrotain/src/scan/tokens_constants.ts +1 -0
  642. package/node_modules/chevrotain/src/scan/tokens_public.ts +121 -0
  643. package/node_modules/chevrotain/src/text/range.ts +49 -0
  644. package/node_modules/chevrotain/src/version.ts +4 -0
  645. package/node_modules/chevrotain-allstar/LICENSE +16 -0
  646. package/node_modules/chevrotain-allstar/README.md +22 -0
  647. package/node_modules/chevrotain-allstar/lib/all-star-lookahead.d.ts +36 -0
  648. package/node_modules/chevrotain-allstar/lib/all-star-lookahead.d.ts.map +1 -0
  649. package/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +556 -0
  650. package/node_modules/chevrotain-allstar/lib/atn.d.ts +105 -0
  651. package/node_modules/chevrotain-allstar/lib/atn.d.ts.map +1 -0
  652. package/node_modules/chevrotain-allstar/lib/atn.js +404 -0
  653. package/node_modules/chevrotain-allstar/lib/dfa.d.ts +37 -0
  654. package/node_modules/chevrotain-allstar/lib/dfa.d.ts.map +1 -0
  655. package/node_modules/chevrotain-allstar/lib/dfa.js +46 -0
  656. package/node_modules/chevrotain-allstar/lib/index.d.ts +7 -0
  657. package/node_modules/chevrotain-allstar/lib/index.d.ts.map +1 -0
  658. package/node_modules/chevrotain-allstar/lib/index.js +7 -0
  659. package/node_modules/chevrotain-allstar/package.json +37 -0
  660. package/node_modules/chevrotain-allstar/src/all-star-lookahead.ts +763 -0
  661. package/node_modules/chevrotain-allstar/src/atn.ts +642 -0
  662. package/node_modules/chevrotain-allstar/src/dfa.ts +78 -0
  663. package/node_modules/chevrotain-allstar/src/index.ts +11 -0
  664. package/node_modules/java-parser/LICENSE +204 -0
  665. package/node_modules/java-parser/README.md +78 -0
  666. package/node_modules/java-parser/api.d.ts +3683 -0
  667. package/node_modules/java-parser/package.json +21 -0
  668. package/node_modules/java-parser/src/index.js +60 -0
  669. package/node_modules/java-parser/src/lexer.js +8 -0
  670. package/node_modules/java-parser/src/parser.js +115 -0
  671. package/node_modules/java-parser/src/productions/arrays.js +28 -0
  672. package/node_modules/java-parser/src/productions/blocks-and-statements.js +503 -0
  673. package/node_modules/java-parser/src/productions/classes.js +733 -0
  674. package/node_modules/java-parser/src/productions/expressions.js +662 -0
  675. package/node_modules/java-parser/src/productions/interfaces.js +266 -0
  676. package/node_modules/java-parser/src/productions/lexical-structure.js +61 -0
  677. package/node_modules/java-parser/src/productions/names.js +81 -0
  678. package/node_modules/java-parser/src/productions/packages-and-modules.js +226 -0
  679. package/node_modules/java-parser/src/productions/types-values-and-variables.js +218 -0
  680. package/node_modules/java-parser/src/tokens.js +595 -0
  681. package/node_modules/java-parser/src/unicodesets.js +1001 -0
  682. package/node_modules/java-parser/src/utils.js +15 -0
  683. package/package.json +51 -31
  684. package/release-impact.catalog.json +73 -0
  685. package/vendor/oscharko-dev-keiko-activity-log-1.2.5.tgz +0 -0
  686. package/vendor/oscharko-dev-keiko-cli-1.2.5.tgz +0 -0
  687. package/vendor/{oscharko-dev-keiko-connectors-1.2.4.tgz → oscharko-dev-keiko-connectors-1.2.5.tgz} +0 -0
  688. package/vendor/oscharko-dev-keiko-contracts-1.2.5.tgz +0 -0
  689. package/vendor/{oscharko-dev-keiko-evaluations-1.2.4.tgz → oscharko-dev-keiko-evaluations-1.2.5.tgz} +0 -0
  690. package/vendor/{oscharko-dev-keiko-evidence-1.2.4.tgz → oscharko-dev-keiko-evidence-1.2.5.tgz} +0 -0
  691. package/vendor/{oscharko-dev-keiko-git-1.2.4.tgz → oscharko-dev-keiko-git-1.2.5.tgz} +0 -0
  692. package/vendor/{oscharko-dev-keiko-harness-1.2.4.tgz → oscharko-dev-keiko-harness-1.2.5.tgz} +0 -0
  693. package/vendor/{oscharko-dev-keiko-local-knowledge-1.2.4.tgz → oscharko-dev-keiko-local-knowledge-1.2.5.tgz} +0 -0
  694. package/vendor/{oscharko-dev-keiko-memory-capture-1.2.4.tgz → oscharko-dev-keiko-memory-capture-1.2.5.tgz} +0 -0
  695. package/vendor/{oscharko-dev-keiko-memory-consolidation-1.2.4.tgz → oscharko-dev-keiko-memory-consolidation-1.2.5.tgz} +0 -0
  696. package/vendor/{oscharko-dev-keiko-memory-governance-1.2.4.tgz → oscharko-dev-keiko-memory-governance-1.2.5.tgz} +0 -0
  697. package/vendor/{oscharko-dev-keiko-memory-retrieval-1.2.4.tgz → oscharko-dev-keiko-memory-retrieval-1.2.5.tgz} +0 -0
  698. package/vendor/{oscharko-dev-keiko-memory-vault-1.2.4.tgz → oscharko-dev-keiko-memory-vault-1.2.5.tgz} +0 -0
  699. package/vendor/oscharko-dev-keiko-model-gateway-1.2.5.tgz +0 -0
  700. package/vendor/{oscharko-dev-keiko-quality-intelligence-1.2.4.tgz → oscharko-dev-keiko-quality-intelligence-1.2.5.tgz} +0 -0
  701. package/vendor/{oscharko-dev-keiko-sandbox-1.2.4.tgz → oscharko-dev-keiko-sandbox-1.2.5.tgz} +0 -0
  702. package/vendor/oscharko-dev-keiko-sdk-1.2.5.tgz +0 -0
  703. package/vendor/oscharko-dev-keiko-security-1.2.5.tgz +0 -0
  704. package/vendor/oscharko-dev-keiko-server-1.2.5.tgz +0 -0
  705. package/vendor/{oscharko-dev-keiko-tool-catalog-1.2.4.tgz → oscharko-dev-keiko-tool-catalog-1.2.5.tgz} +0 -0
  706. package/vendor/{oscharko-dev-keiko-tools-1.2.4.tgz → oscharko-dev-keiko-tools-1.2.5.tgz} +0 -0
  707. package/vendor/{oscharko-dev-keiko-verification-1.2.4.tgz → oscharko-dev-keiko-verification-1.2.5.tgz} +0 -0
  708. package/vendor/oscharko-dev-keiko-workflows-1.2.5.tgz +0 -0
  709. package/vendor/oscharko-dev-keiko-workspace-1.2.5.tgz +0 -0
  710. package/vendor/runtime-22d6a685bfacde624a698cae-3.0.1.tgz +0 -0
  711. package/vendor/runtime-583da64f44b6efabb742951f-11.0.3.tgz +0 -0
  712. package/vendor/runtime-8dfa23afd9af4bbf8a63b1f6-0.3.1.tgz +0 -0
  713. package/vendor/runtime-988dc6c7589b144bea3431ff-11.0.3.tgz +0 -0
  714. package/vendor/runtime-cdb56cd0389cee2407f02ebe-11.0.3.tgz +0 -0
  715. package/dist/ui/static/_next/static/chunks/00_o0v2hokzqm.js +0 -1
  716. package/dist/ui/static/_next/static/chunks/02bjsbh-9ecdm.js +0 -1
  717. package/dist/ui/static/_next/static/chunks/08tg5xjyy073b.js +0 -1
  718. package/dist/ui/static/_next/static/chunks/0bdxksp1lm2a5.js +0 -1
  719. package/dist/ui/static/_next/static/chunks/0n-psjjwvzg-y.js +0 -1
  720. package/dist/ui/static/_next/static/chunks/0ry6tlbur8za2.js +0 -1
  721. package/dist/ui/static/_next/static/chunks/0t86l4mcivsdr.js +0 -1
  722. package/dist/ui/static/_next/static/chunks/0vmq9d1ffbg71.js +0 -1
  723. package/dist/ui/static/_next/static/chunks/0w4i9kmhas6-y.js +0 -1
  724. package/dist/ui/static/_next/static/chunks/0xu2rnpdr4kzd.js +0 -1
  725. package/dist/ui/static/_next/static/chunks/12u-0ugq__zxv.js +0 -1
  726. package/dist/ui/static/_next/static/chunks/14ytv6jraivph.js +0 -1
  727. package/dist/ui/static/_next/static/chunks/18idxjg523mhp.js +0 -1
  728. package/dist/ui/static/_next/static/chunks/1dlqcgl3v1lh5.js +0 -1
  729. package/dist/ui/static/_next/static/chunks/21cazq_lp5oc5.js +0 -3
  730. package/dist/ui/static/_next/static/chunks/23p0wg8gdznqm.js +0 -1
  731. package/dist/ui/static/_next/static/chunks/25x9hf4wdlde7.js +0 -1
  732. package/dist/ui/static/_next/static/chunks/27e2u3lrksak4.js +0 -1
  733. package/dist/ui/static/_next/static/chunks/2fqo-2fl7ca59.js +0 -1
  734. package/dist/ui/static/_next/static/chunks/2g_pljoa8f0e-.js +0 -1
  735. package/dist/ui/static/_next/static/chunks/2jsnrkl0syr4y.js +0 -1
  736. package/dist/ui/static/_next/static/chunks/2ov72plu69iiv.js +0 -1
  737. package/dist/ui/static/_next/static/chunks/2z5c2glupanq_.js +0 -1
  738. package/dist/ui/static/_next/static/chunks/3-7tka4cib69h.js +0 -1
  739. package/dist/ui/static/_next/static/chunks/32r3kzj8vl9xl.css +0 -12
  740. package/dist/ui/static/_next/static/chunks/35r_4m36s2mm5.js +0 -1
  741. package/dist/ui/static/_next/static/chunks/39xl_71ucgzrs.js +0 -1
  742. package/dist/ui/static/_next/static/chunks/3b05n-007vc3e.js +0 -1
  743. package/dist/ui/static/_next/static/chunks/3bafzdsn1osq1.js +0 -1
  744. package/dist/ui/static/_next/static/chunks/3lf8dguq57yfu.js +0 -1
  745. package/dist/ui/static/_next/static/chunks/3lq95b69wn18x.js +0 -1
  746. package/dist/ui/static/_next/static/chunks/3p_yaeocah7k8.js +0 -1
  747. package/dist/ui/static/_next/static/chunks/3rhep1yhgo6a7.js +0 -1
  748. package/dist/ui/static/_next/static/chunks/41t1if3rqvyu-.js +0 -3
  749. package/vendor/oscharko-dev-keiko-activity-log-1.2.4.tgz +0 -0
  750. package/vendor/oscharko-dev-keiko-cli-1.2.4.tgz +0 -0
  751. package/vendor/oscharko-dev-keiko-contracts-1.2.4.tgz +0 -0
  752. package/vendor/oscharko-dev-keiko-model-gateway-1.2.4.tgz +0 -0
  753. package/vendor/oscharko-dev-keiko-sdk-1.2.4.tgz +0 -0
  754. package/vendor/oscharko-dev-keiko-security-1.2.4.tgz +0 -0
  755. package/vendor/oscharko-dev-keiko-server-1.2.4.tgz +0 -0
  756. package/vendor/oscharko-dev-keiko-workflows-1.2.4.tgz +0 -0
  757. package/vendor/oscharko-dev-keiko-workspace-1.2.4.tgz +0 -0
  758. /package/dist/ui/static/_next/static/{i1pRTTqyOTQStJLPAXgGm → l5EA3GWm62ENm-jfs3AEY}/_buildManifest.js +0 -0
  759. /package/dist/ui/static/_next/static/{i1pRTTqyOTQStJLPAXgGm → l5EA3GWm62ENm-jfs3AEY}/_clientMiddlewareManifest.js +0 -0
  760. /package/dist/ui/static/_next/static/{i1pRTTqyOTQStJLPAXgGm → l5EA3GWm62ENm-jfs3AEY}/_ssgManifest.js +0 -0
@@ -0,0 +1,867 @@
1
+ import {
2
+ AtLeastOneSepMethodOpts,
3
+ ConsumeMethodOpts,
4
+ DSLMethodOpts,
5
+ DSLMethodOptsWithErr,
6
+ GrammarAction,
7
+ IOrAlt,
8
+ IParserConfig,
9
+ IRuleConfig,
10
+ IToken,
11
+ ManySepMethodOpts,
12
+ OrMethodOpts,
13
+ ParserMethod,
14
+ SubruleMethodOpts,
15
+ TokenType,
16
+ TokenTypeDictionary,
17
+ TokenVocabulary,
18
+ } from "@chevrotain/types";
19
+ import {
20
+ clone,
21
+ every,
22
+ flatten,
23
+ has,
24
+ isArray,
25
+ isEmpty,
26
+ isObject,
27
+ reduce,
28
+ uniq,
29
+ values,
30
+ } from "lodash-es";
31
+ import {
32
+ AT_LEAST_ONE_IDX,
33
+ AT_LEAST_ONE_SEP_IDX,
34
+ BITS_FOR_METHOD_TYPE,
35
+ BITS_FOR_OCCURRENCE_IDX,
36
+ MANY_IDX,
37
+ MANY_SEP_IDX,
38
+ OPTION_IDX,
39
+ OR_IDX,
40
+ } from "../../grammar/keys.js";
41
+ import {
42
+ isRecognitionException,
43
+ MismatchedTokenException,
44
+ NotAllInputParsedException,
45
+ } from "../../exceptions_public.js";
46
+ import { PROD_TYPE } from "../../grammar/lookahead.js";
47
+ import {
48
+ AbstractNextTerminalAfterProductionWalker,
49
+ NextTerminalAfterAtLeastOneSepWalker,
50
+ NextTerminalAfterAtLeastOneWalker,
51
+ NextTerminalAfterManySepWalker,
52
+ NextTerminalAfterManyWalker,
53
+ } from "../../grammar/interpreter.js";
54
+ import { DEFAULT_RULE_CONFIG, IParserState, TokenMatcher } from "../parser.js";
55
+ import { IN_RULE_RECOVERY_EXCEPTION } from "./recoverable.js";
56
+ import { EOF } from "../../../scan/tokens_public.js";
57
+ import { MixedInParser } from "./parser_traits.js";
58
+ import {
59
+ augmentTokenTypes,
60
+ isTokenType,
61
+ tokenStructuredMatcher,
62
+ tokenStructuredMatcherNoCategories,
63
+ } from "../../../scan/tokens.js";
64
+ import { Rule } from "@chevrotain/gast";
65
+ import { ParserMethodInternal } from "../types.js";
66
+
67
+ /**
68
+ * This trait is responsible for the runtime parsing engine
69
+ * Used by the official API (recognizer_api.ts)
70
+ */
71
+ export class RecognizerEngine {
72
+ isBackTrackingStack: boolean[];
73
+ className: string;
74
+ RULE_STACK: number[];
75
+ RULE_OCCURRENCE_STACK: number[];
76
+ definedRulesNames: string[];
77
+ tokensMap: { [fqn: string]: TokenType };
78
+ gastProductionsCache: Record<string, Rule>;
79
+ shortRuleNameToFull: Record<string, string>;
80
+ fullRuleNameToShort: Record<string, number>;
81
+ // The shortName Index must be coded "after" the first 8bits to enable building unique lookahead keys
82
+ ruleShortNameIdx: number;
83
+ tokenMatcher: TokenMatcher;
84
+ subruleIdx: number;
85
+
86
+ initRecognizerEngine(
87
+ tokenVocabulary: TokenVocabulary,
88
+ config: IParserConfig,
89
+ ) {
90
+ this.className = this.constructor.name;
91
+ // TODO: would using an ES6 Map or plain object be faster (CST building scenario)
92
+ this.shortRuleNameToFull = {};
93
+ this.fullRuleNameToShort = {};
94
+ this.ruleShortNameIdx = 256;
95
+ this.tokenMatcher = tokenStructuredMatcherNoCategories;
96
+ this.subruleIdx = 0;
97
+
98
+ this.definedRulesNames = [];
99
+ this.tokensMap = {};
100
+ this.isBackTrackingStack = [];
101
+ this.RULE_STACK = [];
102
+ this.RULE_OCCURRENCE_STACK = [];
103
+ this.gastProductionsCache = {};
104
+
105
+ if (has(config, "serializedGrammar")) {
106
+ throw Error(
107
+ "The Parser's configuration can no longer contain a <serializedGrammar> property.\n" +
108
+ "\tSee: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0\n" +
109
+ "\tFor Further details.",
110
+ );
111
+ }
112
+
113
+ if (isArray(tokenVocabulary)) {
114
+ // This only checks for Token vocabularies provided as arrays.
115
+ // That is good enough because the main objective is to detect users of pre-V4.0 APIs
116
+ // rather than all edge cases of empty Token vocabularies.
117
+ if (isEmpty(tokenVocabulary as any[])) {
118
+ throw Error(
119
+ "A Token Vocabulary cannot be empty.\n" +
120
+ "\tNote that the first argument for the parser constructor\n" +
121
+ "\tis no longer a Token vector (since v4.0).",
122
+ );
123
+ }
124
+
125
+ if (typeof (tokenVocabulary as any[])[0].startOffset === "number") {
126
+ throw Error(
127
+ "The Parser constructor no longer accepts a token vector as the first argument.\n" +
128
+ "\tSee: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0\n" +
129
+ "\tFor Further details.",
130
+ );
131
+ }
132
+ }
133
+
134
+ if (isArray(tokenVocabulary)) {
135
+ this.tokensMap = reduce(
136
+ tokenVocabulary,
137
+ (acc, tokType: TokenType) => {
138
+ acc[tokType.name] = tokType;
139
+ return acc;
140
+ },
141
+ {} as { [tokenName: string]: TokenType },
142
+ );
143
+ } else if (
144
+ has(tokenVocabulary, "modes") &&
145
+ every(flatten(values((<any>tokenVocabulary).modes)), isTokenType)
146
+ ) {
147
+ const allTokenTypes = flatten(values((<any>tokenVocabulary).modes));
148
+ const uniqueTokens = uniq(allTokenTypes);
149
+ this.tokensMap = <any>reduce(
150
+ uniqueTokens,
151
+ (acc, tokType: TokenType) => {
152
+ acc[tokType.name] = tokType;
153
+ return acc;
154
+ },
155
+ {} as { [tokenName: string]: TokenType },
156
+ );
157
+ } else if (isObject(tokenVocabulary)) {
158
+ this.tokensMap = clone(tokenVocabulary as TokenTypeDictionary);
159
+ } else {
160
+ throw new Error(
161
+ "<tokensDictionary> argument must be An Array of Token constructors," +
162
+ " A dictionary of Token constructors or an IMultiModeLexerDefinition",
163
+ );
164
+ }
165
+
166
+ // always add EOF to the tokenNames -> constructors map. it is useful to assure all the input has been
167
+ // parsed with a clear error message ("expecting EOF but found ...")
168
+ this.tokensMap["EOF"] = EOF;
169
+
170
+ const allTokenTypes = has(tokenVocabulary, "modes")
171
+ ? flatten(values((<any>tokenVocabulary).modes))
172
+ : values(tokenVocabulary);
173
+ const noTokenCategoriesUsed = every(allTokenTypes, (tokenConstructor) =>
174
+ isEmpty(tokenConstructor.categoryMatches),
175
+ );
176
+
177
+ this.tokenMatcher = noTokenCategoriesUsed
178
+ ? tokenStructuredMatcherNoCategories
179
+ : tokenStructuredMatcher;
180
+
181
+ // Because ES2015+ syntax should be supported for creating Token classes
182
+ // We cannot assume that the Token classes were created using the "extendToken" utilities
183
+ // Therefore we must augment the Token classes both on Lexer initialization and on Parser initialization
184
+ augmentTokenTypes(values(this.tokensMap));
185
+ }
186
+
187
+ defineRule<ARGS extends unknown[], R>(
188
+ this: MixedInParser,
189
+ ruleName: string,
190
+ impl: (...args: ARGS) => R,
191
+ config: IRuleConfig<R>,
192
+ ): ParserMethodInternal<ARGS, R> {
193
+ if (this.selfAnalysisDone) {
194
+ throw Error(
195
+ `Grammar rule <${ruleName}> may not be defined after the 'performSelfAnalysis' method has been called'\n` +
196
+ `Make sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.`,
197
+ );
198
+ }
199
+ const resyncEnabled: boolean = has(config, "resyncEnabled")
200
+ ? (config.resyncEnabled as boolean) // assumes end user provides the correct config value/type
201
+ : DEFAULT_RULE_CONFIG.resyncEnabled;
202
+ const recoveryValueFunc = has(config, "recoveryValueFunc")
203
+ ? (config.recoveryValueFunc as () => R) // assumes end user provides the correct config value/type
204
+ : DEFAULT_RULE_CONFIG.recoveryValueFunc;
205
+
206
+ // performance optimization: Use small integers as keys for the longer human readable "full" rule names.
207
+ // this greatly improves Map access time (as much as 8% for some performance benchmarks).
208
+ const shortName =
209
+ this.ruleShortNameIdx << (BITS_FOR_METHOD_TYPE + BITS_FOR_OCCURRENCE_IDX);
210
+
211
+ this.ruleShortNameIdx++;
212
+ this.shortRuleNameToFull[shortName] = ruleName;
213
+ this.fullRuleNameToShort[ruleName] = shortName;
214
+
215
+ let invokeRuleWithTry: ParserMethod<ARGS, R>;
216
+
217
+ // Micro optimization, only check the condition **once** on rule definition
218
+ // instead of **every single** rule invocation.
219
+ if (this.outputCst === true) {
220
+ invokeRuleWithTry = function invokeRuleWithTry(
221
+ this: MixedInParser,
222
+ ...args: ARGS
223
+ ): R {
224
+ try {
225
+ this.ruleInvocationStateUpdate(shortName, ruleName, this.subruleIdx);
226
+ impl.apply(this, args);
227
+ const cst = this.CST_STACK[this.CST_STACK.length - 1];
228
+ this.cstPostRule(cst);
229
+ return cst as unknown as R;
230
+ } catch (e) {
231
+ return this.invokeRuleCatch(e, resyncEnabled, recoveryValueFunc) as R;
232
+ } finally {
233
+ this.ruleFinallyStateUpdate();
234
+ }
235
+ };
236
+ } else {
237
+ invokeRuleWithTry = function invokeRuleWithTryCst(
238
+ this: MixedInParser,
239
+ ...args: ARGS
240
+ ): R {
241
+ try {
242
+ this.ruleInvocationStateUpdate(shortName, ruleName, this.subruleIdx);
243
+ return impl.apply(this, args);
244
+ } catch (e) {
245
+ return this.invokeRuleCatch(e, resyncEnabled, recoveryValueFunc) as R;
246
+ } finally {
247
+ this.ruleFinallyStateUpdate();
248
+ }
249
+ };
250
+ }
251
+
252
+ const wrappedGrammarRule: ParserMethodInternal<ARGS, R> = Object.assign(
253
+ invokeRuleWithTry as any,
254
+ { ruleName, originalGrammarAction: impl },
255
+ );
256
+
257
+ return wrappedGrammarRule;
258
+ }
259
+
260
+ invokeRuleCatch(
261
+ this: MixedInParser,
262
+ e: Error,
263
+ resyncEnabledConfig: boolean,
264
+ recoveryValueFunc: Function,
265
+ ): unknown {
266
+ const isFirstInvokedRule = this.RULE_STACK.length === 1;
267
+ // note the reSync is always enabled for the first rule invocation, because we must always be able to
268
+ // reSync with EOF and just output some INVALID ParseTree
269
+ // during backtracking reSync recovery is disabled, otherwise we can't be certain the backtracking
270
+ // path is really the most valid one
271
+ const reSyncEnabled =
272
+ resyncEnabledConfig && !this.isBackTracking() && this.recoveryEnabled;
273
+
274
+ if (isRecognitionException(e)) {
275
+ const recogError: any = e;
276
+ if (reSyncEnabled) {
277
+ const reSyncTokType = this.findReSyncTokenType();
278
+ if (this.isInCurrentRuleReSyncSet(reSyncTokType)) {
279
+ recogError.resyncedTokens = this.reSyncTo(reSyncTokType);
280
+ if (this.outputCst) {
281
+ const partialCstResult: any =
282
+ this.CST_STACK[this.CST_STACK.length - 1];
283
+ partialCstResult.recoveredNode = true;
284
+ return partialCstResult;
285
+ } else {
286
+ return recoveryValueFunc(e);
287
+ }
288
+ } else {
289
+ if (this.outputCst) {
290
+ const partialCstResult: any =
291
+ this.CST_STACK[this.CST_STACK.length - 1];
292
+ partialCstResult.recoveredNode = true;
293
+ recogError.partialCstResult = partialCstResult;
294
+ }
295
+ // to be handled Further up the call stack
296
+ throw recogError;
297
+ }
298
+ } else if (isFirstInvokedRule) {
299
+ // otherwise a Redundant input error will be created as well and we cannot guarantee that this is indeed the case
300
+ this.moveToTerminatedState();
301
+ // the parser should never throw one of its own errors outside its flow.
302
+ // even if error recovery is disabled
303
+ return recoveryValueFunc(e);
304
+ } else {
305
+ // to be recovered Further up the call stack
306
+ throw recogError;
307
+ }
308
+ } else {
309
+ // some other Error type which we don't know how to handle (for example a built in JavaScript Error)
310
+ throw e;
311
+ }
312
+ }
313
+
314
+ // Implementation of parsing DSL
315
+ optionInternal<OUT>(
316
+ this: MixedInParser,
317
+ actionORMethodDef: GrammarAction<OUT> | DSLMethodOpts<OUT>,
318
+ occurrence: number,
319
+ ): OUT | undefined {
320
+ const key = this.getKeyForAutomaticLookahead(OPTION_IDX, occurrence);
321
+ return this.optionInternalLogic(actionORMethodDef, occurrence, key);
322
+ }
323
+
324
+ optionInternalLogic<OUT>(
325
+ this: MixedInParser,
326
+ actionORMethodDef: GrammarAction<OUT> | DSLMethodOpts<OUT>,
327
+ occurrence: number,
328
+ key: number,
329
+ ): OUT | undefined {
330
+ let lookAheadFunc = this.getLaFuncFromCache(key);
331
+ let action: GrammarAction<OUT>;
332
+ if (typeof actionORMethodDef !== "function") {
333
+ action = actionORMethodDef.DEF;
334
+ const predicate = actionORMethodDef.GATE;
335
+ // predicate present
336
+ if (predicate !== undefined) {
337
+ const orgLookaheadFunction = lookAheadFunc;
338
+ lookAheadFunc = () => {
339
+ return predicate.call(this) && orgLookaheadFunction.call(this);
340
+ };
341
+ }
342
+ } else {
343
+ action = actionORMethodDef;
344
+ }
345
+
346
+ if (lookAheadFunc.call(this) === true) {
347
+ return action.call(this);
348
+ }
349
+ return undefined;
350
+ }
351
+
352
+ atLeastOneInternal<OUT>(
353
+ this: MixedInParser,
354
+ prodOccurrence: number,
355
+ actionORMethodDef: GrammarAction<OUT> | DSLMethodOptsWithErr<OUT>,
356
+ ): void {
357
+ const laKey = this.getKeyForAutomaticLookahead(
358
+ AT_LEAST_ONE_IDX,
359
+ prodOccurrence,
360
+ );
361
+ return this.atLeastOneInternalLogic(
362
+ prodOccurrence,
363
+ actionORMethodDef,
364
+ laKey,
365
+ );
366
+ }
367
+
368
+ atLeastOneInternalLogic<OUT>(
369
+ this: MixedInParser,
370
+ prodOccurrence: number,
371
+ actionORMethodDef: GrammarAction<OUT> | DSLMethodOptsWithErr<OUT>,
372
+ key: number,
373
+ ): void {
374
+ let lookAheadFunc = this.getLaFuncFromCache(key);
375
+ let action;
376
+ if (typeof actionORMethodDef !== "function") {
377
+ action = actionORMethodDef.DEF;
378
+ const predicate = actionORMethodDef.GATE;
379
+ // predicate present
380
+ if (predicate !== undefined) {
381
+ const orgLookaheadFunction = lookAheadFunc;
382
+ lookAheadFunc = () => {
383
+ return predicate.call(this) && orgLookaheadFunction.call(this);
384
+ };
385
+ }
386
+ } else {
387
+ action = actionORMethodDef;
388
+ }
389
+
390
+ if ((<Function>lookAheadFunc).call(this) === true) {
391
+ let notStuck = this.doSingleRepetition(action);
392
+ while (
393
+ (<Function>lookAheadFunc).call(this) === true &&
394
+ notStuck === true
395
+ ) {
396
+ notStuck = this.doSingleRepetition(action);
397
+ }
398
+ } else {
399
+ throw this.raiseEarlyExitException(
400
+ prodOccurrence,
401
+ PROD_TYPE.REPETITION_MANDATORY,
402
+ (<DSLMethodOptsWithErr<OUT>>actionORMethodDef).ERR_MSG,
403
+ );
404
+ }
405
+
406
+ // note that while it may seem that this can cause an error because by using a recursive call to
407
+ // AT_LEAST_ONE we change the grammar to AT_LEAST_TWO, AT_LEAST_THREE ... , the possible recursive call
408
+ // from the tryInRepetitionRecovery(...) will only happen IFF there really are TWO/THREE/.... items.
409
+
410
+ // Performance optimization: "attemptInRepetitionRecovery" will be defined as NOOP unless recovery is enabled
411
+ this.attemptInRepetitionRecovery(
412
+ this.atLeastOneInternal,
413
+ [prodOccurrence, actionORMethodDef],
414
+ <any>lookAheadFunc,
415
+ AT_LEAST_ONE_IDX,
416
+ prodOccurrence,
417
+ NextTerminalAfterAtLeastOneWalker,
418
+ );
419
+ }
420
+
421
+ atLeastOneSepFirstInternal<OUT>(
422
+ this: MixedInParser,
423
+ prodOccurrence: number,
424
+ options: AtLeastOneSepMethodOpts<OUT>,
425
+ ): void {
426
+ const laKey = this.getKeyForAutomaticLookahead(
427
+ AT_LEAST_ONE_SEP_IDX,
428
+ prodOccurrence,
429
+ );
430
+ this.atLeastOneSepFirstInternalLogic(prodOccurrence, options, laKey);
431
+ }
432
+
433
+ atLeastOneSepFirstInternalLogic<OUT>(
434
+ this: MixedInParser,
435
+ prodOccurrence: number,
436
+ options: AtLeastOneSepMethodOpts<OUT>,
437
+ key: number,
438
+ ): void {
439
+ const action = options.DEF;
440
+ const separator = options.SEP;
441
+
442
+ const firstIterationLookaheadFunc = this.getLaFuncFromCache(key);
443
+
444
+ // 1st iteration
445
+ if (firstIterationLookaheadFunc.call(this) === true) {
446
+ (<GrammarAction<OUT>>action).call(this);
447
+
448
+ // TODO: Optimization can move this function construction into "attemptInRepetitionRecovery"
449
+ // because it is only needed in error recovery scenarios.
450
+ const separatorLookAheadFunc = () => {
451
+ return this.tokenMatcher(this.LA(1), separator);
452
+ };
453
+
454
+ // 2nd..nth iterations
455
+ while (this.tokenMatcher(this.LA(1), separator) === true) {
456
+ // note that this CONSUME will never enter recovery because
457
+ // the separatorLookAheadFunc checks that the separator really does exist.
458
+ this.CONSUME(separator);
459
+ // No need for checking infinite loop here due to consuming the separator.
460
+ (<GrammarAction<OUT>>action).call(this);
461
+ }
462
+
463
+ // Performance optimization: "attemptInRepetitionRecovery" will be defined as NOOP unless recovery is enabled
464
+ this.attemptInRepetitionRecovery(
465
+ this.repetitionSepSecondInternal,
466
+ [
467
+ prodOccurrence,
468
+ separator,
469
+ separatorLookAheadFunc,
470
+ action,
471
+ NextTerminalAfterAtLeastOneSepWalker,
472
+ ],
473
+ separatorLookAheadFunc,
474
+ AT_LEAST_ONE_SEP_IDX,
475
+ prodOccurrence,
476
+ NextTerminalAfterAtLeastOneSepWalker,
477
+ );
478
+ } else {
479
+ throw this.raiseEarlyExitException(
480
+ prodOccurrence,
481
+ PROD_TYPE.REPETITION_MANDATORY_WITH_SEPARATOR,
482
+ options.ERR_MSG,
483
+ );
484
+ }
485
+ }
486
+
487
+ manyInternal<OUT>(
488
+ this: MixedInParser,
489
+ prodOccurrence: number,
490
+ actionORMethodDef: GrammarAction<OUT> | DSLMethodOpts<OUT>,
491
+ ): void {
492
+ const laKey = this.getKeyForAutomaticLookahead(MANY_IDX, prodOccurrence);
493
+ return this.manyInternalLogic(prodOccurrence, actionORMethodDef, laKey);
494
+ }
495
+
496
+ manyInternalLogic<OUT>(
497
+ this: MixedInParser,
498
+ prodOccurrence: number,
499
+ actionORMethodDef: GrammarAction<OUT> | DSLMethodOpts<OUT>,
500
+ key: number,
501
+ ) {
502
+ let lookaheadFunction = this.getLaFuncFromCache(key);
503
+ let action;
504
+ if (typeof actionORMethodDef !== "function") {
505
+ action = actionORMethodDef.DEF;
506
+ const predicate = actionORMethodDef.GATE;
507
+ // predicate present
508
+ if (predicate !== undefined) {
509
+ const orgLookaheadFunction = lookaheadFunction;
510
+ lookaheadFunction = () => {
511
+ return predicate.call(this) && orgLookaheadFunction.call(this);
512
+ };
513
+ }
514
+ } else {
515
+ action = actionORMethodDef;
516
+ }
517
+
518
+ let notStuck = true;
519
+ while (lookaheadFunction.call(this) === true && notStuck === true) {
520
+ notStuck = this.doSingleRepetition(action);
521
+ }
522
+
523
+ // Performance optimization: "attemptInRepetitionRecovery" will be defined as NOOP unless recovery is enabled
524
+ this.attemptInRepetitionRecovery(
525
+ this.manyInternal,
526
+ [prodOccurrence, actionORMethodDef],
527
+ <any>lookaheadFunction,
528
+ MANY_IDX,
529
+ prodOccurrence,
530
+ NextTerminalAfterManyWalker,
531
+ // The notStuck parameter is only relevant when "attemptInRepetitionRecovery"
532
+ // is invoked from manyInternal, in the MANY_SEP case and AT_LEAST_ONE[_SEP]
533
+ // An infinite loop cannot occur as:
534
+ // - Either the lookahead is guaranteed to consume something (Single Token Separator)
535
+ // - AT_LEAST_ONE by definition is guaranteed to consume something (or error out).
536
+ notStuck,
537
+ );
538
+ }
539
+
540
+ manySepFirstInternal<OUT>(
541
+ this: MixedInParser,
542
+ prodOccurrence: number,
543
+ options: ManySepMethodOpts<OUT>,
544
+ ): void {
545
+ const laKey = this.getKeyForAutomaticLookahead(
546
+ MANY_SEP_IDX,
547
+ prodOccurrence,
548
+ );
549
+ this.manySepFirstInternalLogic(prodOccurrence, options, laKey);
550
+ }
551
+
552
+ manySepFirstInternalLogic<OUT>(
553
+ this: MixedInParser,
554
+ prodOccurrence: number,
555
+ options: ManySepMethodOpts<OUT>,
556
+ key: number,
557
+ ): void {
558
+ const action = options.DEF;
559
+ const separator = options.SEP;
560
+ const firstIterationLaFunc = this.getLaFuncFromCache(key);
561
+
562
+ // 1st iteration
563
+ if (firstIterationLaFunc.call(this) === true) {
564
+ action.call(this);
565
+
566
+ const separatorLookAheadFunc = () => {
567
+ return this.tokenMatcher(this.LA(1), separator);
568
+ };
569
+ // 2nd..nth iterations
570
+ while (this.tokenMatcher(this.LA(1), separator) === true) {
571
+ // note that this CONSUME will never enter recovery because
572
+ // the separatorLookAheadFunc checks that the separator really does exist.
573
+ this.CONSUME(separator);
574
+ // No need for checking infinite loop here due to consuming the separator.
575
+ action.call(this);
576
+ }
577
+
578
+ // Performance optimization: "attemptInRepetitionRecovery" will be defined as NOOP unless recovery is enabled
579
+ this.attemptInRepetitionRecovery(
580
+ this.repetitionSepSecondInternal,
581
+ [
582
+ prodOccurrence,
583
+ separator,
584
+ separatorLookAheadFunc,
585
+ action,
586
+ NextTerminalAfterManySepWalker,
587
+ ],
588
+ separatorLookAheadFunc,
589
+ MANY_SEP_IDX,
590
+ prodOccurrence,
591
+ NextTerminalAfterManySepWalker,
592
+ );
593
+ }
594
+ }
595
+
596
+ repetitionSepSecondInternal<OUT>(
597
+ this: MixedInParser,
598
+ prodOccurrence: number,
599
+ separator: TokenType,
600
+ separatorLookAheadFunc: () => boolean,
601
+ action: GrammarAction<OUT>,
602
+ nextTerminalAfterWalker: typeof AbstractNextTerminalAfterProductionWalker,
603
+ ): void {
604
+ while (separatorLookAheadFunc()) {
605
+ // note that this CONSUME will never enter recovery because
606
+ // the separatorLookAheadFunc checks that the separator really does exist.
607
+ this.CONSUME(separator);
608
+ action.call(this);
609
+ }
610
+
611
+ // we can only arrive to this function after an error
612
+ // has occurred (hence the name 'second') so the following
613
+ // IF will always be entered, its possible to remove it...
614
+ // however it is kept to avoid confusion and be consistent.
615
+ // Performance optimization: "attemptInRepetitionRecovery" will be defined as NOOP unless recovery is enabled
616
+ /* istanbul ignore else */
617
+ this.attemptInRepetitionRecovery(
618
+ this.repetitionSepSecondInternal,
619
+ [
620
+ prodOccurrence,
621
+ separator,
622
+ separatorLookAheadFunc,
623
+ action,
624
+ nextTerminalAfterWalker,
625
+ ],
626
+ separatorLookAheadFunc,
627
+ AT_LEAST_ONE_SEP_IDX,
628
+ prodOccurrence,
629
+ nextTerminalAfterWalker,
630
+ );
631
+ }
632
+
633
+ doSingleRepetition(this: MixedInParser, action: Function): any {
634
+ const beforeIteration = this.getLexerPosition();
635
+ action.call(this);
636
+ const afterIteration = this.getLexerPosition();
637
+
638
+ // This boolean will indicate if this repetition progressed
639
+ // or if we are "stuck" (potential infinite loop in the repetition).
640
+ return afterIteration > beforeIteration;
641
+ }
642
+
643
+ orInternal<T>(
644
+ this: MixedInParser,
645
+ altsOrOpts: IOrAlt<any>[] | OrMethodOpts<unknown>,
646
+ occurrence: number,
647
+ ): T {
648
+ const laKey = this.getKeyForAutomaticLookahead(OR_IDX, occurrence);
649
+ const alts = isArray(altsOrOpts) ? altsOrOpts : altsOrOpts.DEF;
650
+
651
+ const laFunc = this.getLaFuncFromCache(laKey);
652
+ const altIdxToTake = laFunc.call(this, alts);
653
+ if (altIdxToTake !== undefined) {
654
+ const chosenAlternative: any = alts[altIdxToTake];
655
+ return chosenAlternative.ALT.call(this);
656
+ }
657
+ this.raiseNoAltException(
658
+ occurrence,
659
+ (altsOrOpts as OrMethodOpts<unknown>).ERR_MSG,
660
+ );
661
+ }
662
+
663
+ ruleFinallyStateUpdate(this: MixedInParser): void {
664
+ this.RULE_STACK.pop();
665
+ this.RULE_OCCURRENCE_STACK.pop();
666
+
667
+ // NOOP when cst is disabled
668
+ this.cstFinallyStateUpdate();
669
+
670
+ if (this.RULE_STACK.length === 0 && this.isAtEndOfInput() === false) {
671
+ const firstRedundantTok = this.LA(1);
672
+ const errMsg = this.errorMessageProvider.buildNotAllInputParsedMessage({
673
+ firstRedundant: firstRedundantTok,
674
+ ruleName: this.getCurrRuleFullName(),
675
+ });
676
+ this.SAVE_ERROR(
677
+ new NotAllInputParsedException(errMsg, firstRedundantTok),
678
+ );
679
+ }
680
+ }
681
+
682
+ subruleInternal<ARGS extends unknown[], R>(
683
+ this: MixedInParser,
684
+ ruleToCall: ParserMethodInternal<ARGS, R>,
685
+ idx: number,
686
+ options?: SubruleMethodOpts<ARGS>,
687
+ ): R {
688
+ let ruleResult;
689
+ try {
690
+ const args = options !== undefined ? options.ARGS : undefined;
691
+ this.subruleIdx = idx;
692
+ ruleResult = ruleToCall.apply(this, args);
693
+ this.cstPostNonTerminal(
694
+ ruleResult,
695
+ options !== undefined && options.LABEL !== undefined
696
+ ? options.LABEL
697
+ : ruleToCall.ruleName,
698
+ );
699
+ return ruleResult;
700
+ } catch (e) {
701
+ throw this.subruleInternalError(e, options, ruleToCall.ruleName);
702
+ }
703
+ }
704
+
705
+ subruleInternalError(
706
+ this: MixedInParser,
707
+ e: any,
708
+ options: SubruleMethodOpts<unknown[]> | undefined,
709
+ ruleName: string,
710
+ ): void {
711
+ if (isRecognitionException(e) && e.partialCstResult !== undefined) {
712
+ this.cstPostNonTerminal(
713
+ e.partialCstResult,
714
+ options !== undefined && options.LABEL !== undefined
715
+ ? options.LABEL
716
+ : ruleName,
717
+ );
718
+
719
+ delete e.partialCstResult;
720
+ }
721
+ throw e;
722
+ }
723
+
724
+ consumeInternal(
725
+ this: MixedInParser,
726
+ tokType: TokenType,
727
+ idx: number,
728
+ options: ConsumeMethodOpts | undefined,
729
+ ): IToken {
730
+ let consumedToken!: IToken;
731
+ try {
732
+ const nextToken = this.LA(1);
733
+ if (this.tokenMatcher(nextToken, tokType) === true) {
734
+ this.consumeToken();
735
+ consumedToken = nextToken;
736
+ } else {
737
+ this.consumeInternalError(tokType, nextToken, options);
738
+ }
739
+ } catch (eFromConsumption) {
740
+ consumedToken = this.consumeInternalRecovery(
741
+ tokType,
742
+ idx,
743
+ eFromConsumption,
744
+ );
745
+ }
746
+
747
+ this.cstPostTerminal(
748
+ options !== undefined && options.LABEL !== undefined
749
+ ? options.LABEL
750
+ : tokType.name,
751
+ consumedToken,
752
+ );
753
+ return consumedToken;
754
+ }
755
+
756
+ consumeInternalError(
757
+ this: MixedInParser,
758
+ tokType: TokenType,
759
+ nextToken: IToken,
760
+ options: ConsumeMethodOpts | undefined,
761
+ ): void {
762
+ let msg;
763
+ const previousToken = this.LA(0);
764
+ if (options !== undefined && options.ERR_MSG) {
765
+ msg = options.ERR_MSG;
766
+ } else {
767
+ msg = this.errorMessageProvider.buildMismatchTokenMessage({
768
+ expected: tokType,
769
+ actual: nextToken,
770
+ previous: previousToken,
771
+ ruleName: this.getCurrRuleFullName(),
772
+ });
773
+ }
774
+ throw this.SAVE_ERROR(
775
+ new MismatchedTokenException(msg, nextToken, previousToken),
776
+ );
777
+ }
778
+
779
+ consumeInternalRecovery(
780
+ this: MixedInParser,
781
+ tokType: TokenType,
782
+ idx: number,
783
+ eFromConsumption: Error,
784
+ ): IToken {
785
+ // no recovery allowed during backtracking, otherwise backtracking may recover invalid syntax and accept it
786
+ // but the original syntax could have been parsed successfully without any backtracking + recovery
787
+ if (
788
+ this.recoveryEnabled &&
789
+ // TODO: more robust checking of the exception type. Perhaps Typescript extending expressions?
790
+ eFromConsumption.name === "MismatchedTokenException" &&
791
+ !this.isBackTracking()
792
+ ) {
793
+ const follows = this.getFollowsForInRuleRecovery(<any>tokType, idx);
794
+ try {
795
+ return this.tryInRuleRecovery(<any>tokType, follows);
796
+ } catch (eFromInRuleRecovery) {
797
+ if (eFromInRuleRecovery.name === IN_RULE_RECOVERY_EXCEPTION) {
798
+ // failed in RuleRecovery.
799
+ // throw the original error in order to trigger reSync error recovery
800
+ throw eFromConsumption;
801
+ } else {
802
+ throw eFromInRuleRecovery;
803
+ }
804
+ }
805
+ } else {
806
+ throw eFromConsumption;
807
+ }
808
+ }
809
+
810
+ saveRecogState(this: MixedInParser): IParserState {
811
+ // errors is a getter which will clone the errors array
812
+ const savedErrors = this.errors;
813
+ const savedRuleStack = clone(this.RULE_STACK);
814
+ return {
815
+ errors: savedErrors,
816
+ lexerState: this.exportLexerState(),
817
+ RULE_STACK: savedRuleStack,
818
+ CST_STACK: this.CST_STACK,
819
+ };
820
+ }
821
+
822
+ reloadRecogState(this: MixedInParser, newState: IParserState) {
823
+ this.errors = newState.errors;
824
+ this.importLexerState(newState.lexerState);
825
+ this.RULE_STACK = newState.RULE_STACK;
826
+ }
827
+
828
+ ruleInvocationStateUpdate(
829
+ this: MixedInParser,
830
+ shortName: number,
831
+ fullName: string,
832
+ idxInCallingRule: number,
833
+ ): void {
834
+ this.RULE_OCCURRENCE_STACK.push(idxInCallingRule);
835
+ this.RULE_STACK.push(shortName);
836
+ // NOOP when cst is disabled
837
+ this.cstInvocationStateUpdate(fullName);
838
+ }
839
+
840
+ isBackTracking(this: MixedInParser): boolean {
841
+ return this.isBackTrackingStack.length !== 0;
842
+ }
843
+
844
+ getCurrRuleFullName(this: MixedInParser): string {
845
+ const shortName = this.getLastExplicitRuleShortName();
846
+ return this.shortRuleNameToFull[shortName];
847
+ }
848
+
849
+ shortRuleNameToFullName(this: MixedInParser, shortName: number) {
850
+ return this.shortRuleNameToFull[shortName];
851
+ }
852
+
853
+ public isAtEndOfInput(this: MixedInParser): boolean {
854
+ return this.tokenMatcher(this.LA(1), EOF);
855
+ }
856
+
857
+ public reset(this: MixedInParser): void {
858
+ this.resetLexerState();
859
+ this.subruleIdx = 0;
860
+ this.isBackTrackingStack = [];
861
+ this.errors = [];
862
+ this.RULE_STACK = [];
863
+ // TODO: extract a specific reset for TreeBuilder trait
864
+ this.CST_STACK = [];
865
+ this.RULE_OCCURRENCE_STACK = [];
866
+ }
867
+ }