@oscharko-dev/keiko 1.2.3 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/dist/ui/csp-hashes.json +6 -6
- package/dist/ui/static/404.html +1 -1
- package/dist/ui/static/__next.__PAGE__.txt +11 -11
- package/dist/ui/static/__next._full.txt +13 -13
- package/dist/ui/static/__next._tree.txt +2 -2
- package/dist/ui/static/_next/static/chunks/01v1_t-lungu7.js +1 -0
- package/dist/ui/static/_next/static/chunks/04dp_lufwpm_c.js +4 -0
- package/dist/ui/static/_next/static/chunks/{3i-bau-dkdsre.js → 093a8t-2cq6m-.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{1-tqt01g3ezzf.js → 0d2jdima45f80.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0jgz-asdfgt0a.js +1 -0
- package/dist/ui/static/_next/static/chunks/{363iuc3t94rie.js → 0pwhvlvc5xzdn.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0qv18mxl-svtm.js +1 -0
- package/dist/ui/static/_next/static/chunks/{41l7r4_lp8h3b.js → 0t_pueqvpjhte.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0vp6vie-w0uoj.js +1 -0
- package/dist/ui/static/_next/static/chunks/0yfynlzpk94vs.js +1 -0
- package/dist/ui/static/_next/static/chunks/0z3r0nbwzm3go.js +1 -0
- package/dist/ui/static/_next/static/chunks/{44wg5l_yhce68.js → 0zfirl91hq_ln.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{2vtdrsvnxytc9.js → 1-t3xxvikveec.js} +1 -1
- package/dist/ui/static/_next/static/chunks/12w_v6vr9vd22.js +1 -0
- package/dist/ui/static/_next/static/chunks/13sm61rx0q9m9.js +1 -0
- package/dist/ui/static/_next/static/chunks/{13b600zao46ql.js → 1cvrnrez0p5sh.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{2uih2pg9m9qmj.js → 1d-qbfzavu7_h.js} +1 -1
- package/dist/ui/static/_next/static/chunks/1d_8494rie_2y.js +1 -0
- package/dist/ui/static/_next/static/chunks/1f54omp_06bxq.js +1 -0
- package/dist/ui/static/_next/static/chunks/1i7d10xj8vuah.js +3 -0
- package/dist/ui/static/_next/static/chunks/1k8c-8atljqqw.js +3 -0
- package/dist/ui/static/_next/static/chunks/1l676jhjwtevb.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0wpr48yin0ic7.js → 1ppxq34e8yoto.js} +1 -1
- package/dist/ui/static/_next/static/chunks/1qgnefr4jj_n-.js +1 -0
- package/dist/ui/static/_next/static/chunks/1r7nm7hfkns1l.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3iq-e8hj1ueji.js → 1s2tjtk748q8w.js} +1 -1
- package/dist/ui/static/_next/static/chunks/1stvo8-y2miuz.js +1 -0
- package/dist/ui/static/_next/static/chunks/1t4zp9vejq5h0.js +1 -0
- package/dist/ui/static/_next/static/chunks/1ubq2i81_6-6d.js +1 -0
- package/dist/ui/static/_next/static/chunks/1w2mgrozzxtu5.js +1 -0
- package/dist/ui/static/_next/static/chunks/2-vwp2300eiru.js +1 -0
- package/dist/ui/static/_next/static/chunks/2013jtodtg8y1.js +1 -0
- package/dist/ui/static/_next/static/chunks/2169pghueen2s.js +1 -0
- package/dist/ui/static/_next/static/chunks/{19us2pnpa8mf8.js → 242m8in5ekjq8.js} +1 -1
- package/dist/ui/static/_next/static/chunks/24is2i_l0kpzd.js +1 -0
- package/dist/ui/static/_next/static/chunks/27mnm_nd_hxtu.js +1 -0
- package/dist/ui/static/_next/static/chunks/27tzfe7swrig-.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0pf5ot48kepng.js → 2928_k4v79qpr.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{32s9z5cglqmbi.js → 2951adkvdmyxh.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{1wgsq93v4kcm7.js → 2_52lwqeijscc.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2apif8vheen3j.js +1 -0
- package/dist/ui/static/_next/static/chunks/{43z5mfwx4lk4w.js → 2ay2c5nsvk_cj.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2b29lijhhd1wz.js +1 -0
- package/dist/ui/static/_next/static/chunks/2dn8u_6hzkn57.js +1 -0
- package/dist/ui/static/_next/static/chunks/2flrm_8eutmbc.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1wej005w-r7k1.js → 2ftc0soh8as83.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2hoqex9nash3z.js +1 -0
- package/dist/ui/static/_next/static/chunks/2jwuztc0yn8-r.js +1 -0
- package/dist/ui/static/_next/static/chunks/2n5vihmo9elyz.js +1 -0
- package/dist/ui/static/_next/static/chunks/2nqtngomjb1bp.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1-fier5v6ak98.js → 2p5u7d3e9qxjb.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2risd54y56w4g.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3a5x5inysfyth.js → 2yktsurcwy8z3.js} +1 -1
- package/dist/ui/static/_next/static/chunks/38vqzua2lajgi.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3h-c3eoofzojo.js → 3_7r108axban1.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{1mvgvqdan68ot.js → 3bz7bn8q5sdkh.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3e4qdou22wwph.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0b7xat6jxvrmr.js → 3ewz9qliv4_oo.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{42pls95xys34g.js → 3f4zrx3l_t7bm.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3geyrdwtcet-p.js +1 -0
- package/dist/ui/static/_next/static/chunks/3hc9e7_zdh7u0.js +1 -0
- package/dist/ui/static/_next/static/chunks/3ms_1t-ouq62a.js +1 -0
- package/dist/ui/static/_next/static/chunks/3o7lxivj9_piy.css +3 -0
- package/dist/ui/static/_next/static/chunks/{1_jahw54w_7c-.css → 3pjmpqtes6x60.css} +11 -9
- package/dist/ui/static/_next/static/chunks/{0y3402xorco2c.js → 3r-kxb8gxvjvl.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3txhi914s5taw.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0zkirehh0825i.js → 3z7po2eflk3an.js} +1 -1
- package/dist/ui/static/_not-found/__next._full.txt +9 -9
- package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +8 -8
- package/dist/ui/static/_not-found/__next._tree.txt +1 -1
- package/dist/ui/static/_not-found.html +1 -1
- package/dist/ui/static/_not-found.txt +9 -9
- package/dist/ui/static/atlassian-connectors/__next._full.txt +13 -13
- package/dist/ui/static/atlassian-connectors/__next._tree.txt +1 -1
- package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +10 -10
- package/dist/ui/static/atlassian-connectors.html +1 -1
- package/dist/ui/static/atlassian-connectors.txt +13 -13
- package/dist/ui/static/index.html +1 -1
- package/dist/ui/static/index.txt +13 -13
- package/dist/ui/static/launch/__next._full.txt +13 -13
- package/dist/ui/static/launch/__next._tree.txt +2 -2
- package/dist/ui/static/launch/__next.launch.__PAGE__.txt +11 -11
- package/dist/ui/static/launch.html +1 -1
- package/dist/ui/static/launch.txt +13 -13
- package/dist/ui/static/local-knowledge/__next._full.txt +13 -13
- package/dist/ui/static/local-knowledge/__next._tree.txt +2 -2
- package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +11 -11
- package/dist/ui/static/local-knowledge/capsule/__next._full.txt +11 -11
- package/dist/ui/static/local-knowledge/capsule/__next._tree.txt +1 -1
- package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.__PAGE__.txt +10 -10
- package/dist/ui/static/local-knowledge/capsule.html +1 -1
- package/dist/ui/static/local-knowledge/capsule.txt +11 -11
- package/dist/ui/static/local-knowledge.html +1 -1
- package/dist/ui/static/local-knowledge.txt +13 -13
- package/node_modules/@chevrotain/cst-dts-gen/LICENSE.txt +202 -0
- package/node_modules/@chevrotain/cst-dts-gen/lib/src/api.d.ts +2 -0
- package/node_modules/@chevrotain/cst-dts-gen/lib/src/api.js +12 -0
- package/node_modules/@chevrotain/cst-dts-gen/lib/src/generate.d.ts +3 -0
- package/node_modules/@chevrotain/cst-dts-gen/lib/src/generate.js +65 -0
- package/node_modules/@chevrotain/cst-dts-gen/lib/src/model.d.ts +19 -0
- package/node_modules/@chevrotain/cst-dts-gen/lib/src/model.js +96 -0
- package/node_modules/@chevrotain/cst-dts-gen/package.json +39 -0
- package/node_modules/@chevrotain/cst-dts-gen/src/api.ts +22 -0
- package/node_modules/@chevrotain/cst-dts-gen/src/generate.ts +98 -0
- package/node_modules/@chevrotain/cst-dts-gen/src/model.ts +172 -0
- package/node_modules/@chevrotain/gast/LICENSE.txt +202 -0
- package/node_modules/@chevrotain/gast/lib/src/api.d.ts +3 -0
- package/node_modules/@chevrotain/gast/lib/src/api.js +4 -0
- package/node_modules/@chevrotain/gast/lib/src/helpers.d.ts +10 -0
- package/node_modules/@chevrotain/gast/lib/src/helpers.js +79 -0
- package/node_modules/@chevrotain/gast/lib/src/model.d.ts +144 -0
- package/node_modules/@chevrotain/gast/lib/src/model.js +225 -0
- package/node_modules/@chevrotain/gast/lib/src/visitor.d.ts +15 -0
- package/node_modules/@chevrotain/gast/lib/src/visitor.js +52 -0
- package/node_modules/@chevrotain/gast/package.json +38 -0
- package/node_modules/@chevrotain/gast/src/api.ts +23 -0
- package/node_modules/@chevrotain/gast/src/helpers.ts +98 -0
- package/node_modules/@chevrotain/gast/src/model.ts +416 -0
- package/node_modules/@chevrotain/gast/src/visitor.ts +76 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/activity-log-store.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/activity-log-store.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/activity-log-store.js +5 -10
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.js +69 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts +14 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.js +17 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/server-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/server-log.js +23 -8
- package/node_modules/@oscharko-dev/keiko-activity-log/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-cli/dist/launcher-paths.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/launcher-paths.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/launcher-paths.js +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-health-activity.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-health-activity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-health-activity.js +44 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-native-activity.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-native-activity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-native-activity.js +45 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.js +251 -49
- package/node_modules/@oscharko-dev/keiko-cli/dist/native-ui-channel.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/native-ui-channel.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/native-ui-channel.js +55 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/native-ui-reap.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/native-ui-reap.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/native-ui-reap.js +108 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/native-ui-runtime.d.ts +42 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/native-ui-runtime.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/native-ui-runtime.js +198 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/portable-install.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/portable-install.js +5 -10
- package/node_modules/@oscharko-dev/keiko-cli/dist/portable-maintenance.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/portable-maintenance.js +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/portable-root-policy.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/portable-root-policy.js +2 -21
- package/node_modules/@oscharko-dev/keiko-cli/dist/portable.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/portable.js +4 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/repair.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/repair.js +21 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.d.ts +18 -6
- package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.js +185 -42
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui-lifecycle-guard.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui-lifecycle-guard.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui-lifecycle-guard.js +37 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui-process-stop.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui-process-stop.js +20 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui.js +62 -22
- package/node_modules/@oscharko-dev/keiko-cli/dist/uninstall.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/uninstall.js +28 -1
- package/node_modules/@oscharko-dev/keiko-cli/package.json +15 -15
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.d.ts +79 -19
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.js +133 -12
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts +658 -22
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.js +732 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts +624 -19
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.js +780 -15
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts +9 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.js +4 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/browser-approval.d.ts +105 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/browser-approval.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/browser-approval.js +257 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/citation-markers.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/citation-markers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/citation-markers.js +12 -5
- package/node_modules/@oscharko-dev/keiko-contracts/dist/client-defect-signature.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/client-defect-signature.js +8 -8
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session.js +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-context.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-context.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-context.js +10 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts +24 -4
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.js +92 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/native-runtime-wire.d.ts +34 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/native-runtime-wire.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/native-runtime-wire.js +156 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/ui-launch.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/ui-launch.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/ui-launch.js +6 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/unified-diff.d.ts +31 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/unified-diff.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/unified-diff.js +247 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.js +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/package.json +13 -1
- package/node_modules/@oscharko-dev/keiko-evaluations/package.json +9 -9
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/package.json +4 -4
- package/node_modules/@oscharko-dev/keiko-git/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-git/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-git/package.json +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/package.json +7 -7
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/usearch-ann-index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/usearch-ann-index.js +66 -17
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/usearch-index-worker.js +87 -52
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/usearch-worker-protocol.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/usearch-worker-protocol.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.js +57 -54
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/package.json +4 -4
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-sandbox/package.json +2 -2
- package/node_modules/@oscharko-dev/keiko-sdk/package.json +9 -9
- package/node_modules/@oscharko-dev/keiko-security/dist/fs-hardening.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/fs-hardening.js +42 -25
- package/node_modules/@oscharko-dev/keiko-security/dist/index.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/index.js +2 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/native-process-scope.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/native-process-scope.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/native-process-scope.js +159 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/portable-root-policy.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/portable-root-policy.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/portable-root-policy.js +26 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/process-scope-worker.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/process-scope-worker.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/process-scope-worker.js +198 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/process-scope.d.ts +39 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/process-scope.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/process-scope.js +141 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-code.d.ts +52 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-code.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-code.js +588 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-diff.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-diff.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-diff.js +274 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-java.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-java.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-java.js +313 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-private-key.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-private-key.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-private-key.js +51 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-source-map.d.ts +13 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-source-map.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-source-map.js +28 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-stream.d.ts +19 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-stream.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-stream.js +132 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-typescript.d.ts +30 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-typescript.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-typescript.js +407 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-yaml.d.ts +19 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-yaml.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction-yaml.js +393 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction.js +169 -37
- package/node_modules/@oscharko-dev/keiko-security/dist/sqlite-file-guard.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/sqlite-file-guard.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/sqlite-file-guard.js +17 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-security/package.json +27 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.js +88 -24
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-scope-update-log.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-scope-update-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-scope-update-log.js +5 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.js +51 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-turn-serializer.d.ts +8 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-turn-serializer.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-turn-serializer.js +63 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.js +74 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/browserApproval.d.ts +26 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/browserApproval.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/browserApproval.js +319 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/browserApprovalRoutes.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/browserApprovalRoutes.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/browserApprovalRoutes.js +168 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.js +5 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/launcherSessionPairingPort.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/launcherSessionPairingPort.js +7 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionChannel.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionChannel.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionChannel.js +22 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionRegistry.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionRegistry.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionRegistry.js +162 -23
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessProtocol.d.ts +3 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessProtocol.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessProtocol.js +6 -77
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionPortableCodingRuntime.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionPortableCodingRuntime.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionPortableCodingRuntime.js +47 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadPortable.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadPortable.js +15 -12
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.js +8 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/files.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.js +26 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeRoutes.js +5 -24
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-repair.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-repair.js +16 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.js +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.js +103 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-contextual-fallback.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-contextual-fallback.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-contextual-fallback.js +50 -18
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-diagnostic-references.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-diagnostic-references.js +18 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.js +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-explicit-paths.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-explicit-paths.js +10 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.js +172 -55
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-redactor.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-redactor.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-redactor.js +22 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.js +11 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-selection-quality.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace.js +180 -71
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-store-open.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-store-open.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/route-template.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/route-template.js +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/reviewStore.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/reviewStore.js +4 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/routes.js +6 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/browserApprovals.d.ts +21 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/browserApprovals.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/browserApprovals.js +77 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatCreationIntents.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatCreationIntents.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatCreationIntents.js +118 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chats.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chats.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chats.js +24 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/store/db.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/db.js +50 -16
- package/node_modules/@oscharko-dev/keiko-server/dist/store/errors.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/errors.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/errors.js +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/legacySchemaTestFixture.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/legacySchemaTestFixture.js +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.js +26 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts +14 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/workspaceManifests.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/workspaceManifests.js +10 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/store-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store-handlers.js +22 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-job.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-job.js +31 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-worker.js +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-local-state.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/update-local-state.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-local-state.js +207 -61
- package/node_modules/@oscharko-dev/keiko-server/dist/update-native-app-control-stream.d.ts +20 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-native-app-control-stream.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-native-app-control-stream.js +144 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-native-app-control.d.ts +33 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-native-app-control.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-native-app-control.js +160 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-native-handoff-activity.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-native-handoff-activity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-native-handoff-activity.js +41 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-activation-files.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-activation-files.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-activation-files.js +26 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-plan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-plan.js +14 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-production.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-production.js +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-receipts.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-recovery.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-recovery.js +3 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff-tree.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-handoff.js +89 -21
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-install-mode.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-install-mode.js +34 -24
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-normal-startup.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-normal-startup.js +4 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-windows-generation.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-windows-generation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-windows-generation.js +11 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-activity.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-activity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-activity.js +93 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-routes.js +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-remediation-drafts.d.ts +0 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-remediation-drafts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-remediation-drafts.js +0 -15
- package/node_modules/@oscharko-dev/keiko-server/dist/update-remediation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-remediation.js +69 -38
- package/node_modules/@oscharko-dev/keiko-server/dist/update-runtime-activity.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-runtime-activity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-runtime-activity.js +65 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-session-lock.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-session-lock.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-session-lock.js +7 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/update-session-routes.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-session-routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-session-routes.js +6 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/update-session.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-session.js +3 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-identity.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-identity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-identity.js +40 -0
- package/node_modules/@oscharko-dev/keiko-server/package.json +23 -23
- package/node_modules/@oscharko-dev/keiko-tool-catalog/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch-parse.d.ts +1 -8
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch-parse.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch-parse.js +1 -212
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/package.json +7 -7
- package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.js +9 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.js +3 -199
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/intent.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/intent.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/intent.js +58 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.js +17 -24
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/references.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/references.js +5 -2
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/request-command-patterns.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/request-command-patterns.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/request-command-patterns.js +5 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.js +32 -1
- package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
- package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.js +4 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligence.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligence.js +117 -20
- package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.js +6 -4
- package/node_modules/@oscharko-dev/keiko-workspace/dist/importGraphEdges.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/importGraphEdges.js +2 -4
- package/node_modules/@oscharko-dev/keiko-workspace/dist/importPathSuffix.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/importPathSuffix.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/importPathSuffix.js +51 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/index.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/index.js +4 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.js +9 -5
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchCachedLexical.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchCachedLexical.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchCachedLexical.js +10 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.js +99 -3
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.js +26 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.js +20 -3
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPresentation.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPresentation.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPresentation.js +175 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryPaths.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryPaths.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryPaths.js +31 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.js +26 -7
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRanking.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRanking.js +15 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.js +28 -11
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSourceDescriptors.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSourceDescriptors.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSourceDescriptors.js +137 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/sourceRedaction.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/sourceRedaction.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/sourceRedaction.js +36 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapterRequestContext.js +2 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.js +2 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexQueryMatch.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexQueryMatch.js +17 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.d.ts +10 -3
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.js +29 -3
- package/node_modules/@oscharko-dev/keiko-workspace/package.json +3 -3
- package/node_modules/chevrotain/BREAKING_CHANGES.md +1 -0
- package/node_modules/chevrotain/CHANGELOG.md +1 -0
- package/node_modules/chevrotain/LICENSE.txt +202 -0
- package/node_modules/chevrotain/README.md +20 -0
- package/node_modules/chevrotain/chevrotain.d.ts +2 -0
- package/node_modules/chevrotain/diagrams/README.md +1 -0
- package/node_modules/chevrotain/diagrams/diagrams.css +85 -0
- package/node_modules/chevrotain/diagrams/src/diagrams_behavior.js +223 -0
- package/node_modules/chevrotain/diagrams/src/diagrams_builder.js +204 -0
- package/node_modules/chevrotain/diagrams/src/diagrams_serializer.js +20 -0
- package/node_modules/chevrotain/diagrams/src/main.js +30 -0
- package/node_modules/chevrotain/diagrams/vendor/railroad-diagrams.js +968 -0
- package/node_modules/chevrotain/lib/chevrotain.min.mjs +165 -0
- package/node_modules/chevrotain/lib/chevrotain.mjs +9554 -0
- package/node_modules/chevrotain/lib/src/api.js +33 -0
- package/node_modules/chevrotain/lib/src/diagrams/render_public.js +39 -0
- package/node_modules/chevrotain/lib/src/lang/lang_extensions.js +10 -0
- package/node_modules/chevrotain/lib/src/parse/constants.js +3 -0
- package/node_modules/chevrotain/lib/src/parse/cst/cst.js +71 -0
- package/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +90 -0
- package/node_modules/chevrotain/lib/src/parse/errors_public.js +175 -0
- package/node_modules/chevrotain/lib/src/parse/exceptions_public.js +58 -0
- package/node_modules/chevrotain/lib/src/parse/grammar/checks.js +435 -0
- package/node_modules/chevrotain/lib/src/parse/grammar/first.js +56 -0
- package/node_modules/chevrotain/lib/src/parse/grammar/follow.js +45 -0
- package/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +21 -0
- package/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +492 -0
- package/node_modules/chevrotain/lib/src/parse/grammar/keys.js +26 -0
- package/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +47 -0
- package/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +471 -0
- package/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +38 -0
- package/node_modules/chevrotain/lib/src/parse/grammar/rest.js +103 -0
- package/node_modules/chevrotain/lib/src/parse/grammar/types.js +2 -0
- package/node_modules/chevrotain/lib/src/parse/parser/parser.js +201 -0
- package/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.js +22 -0
- package/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +74 -0
- package/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +295 -0
- package/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +70 -0
- package/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +134 -0
- package/node_modules/chevrotain/lib/src/parse/parser/traits/parser_traits.js +4 -0
- package/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +48 -0
- package/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +334 -0
- package/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +542 -0
- package/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +290 -0
- package/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +191 -0
- package/node_modules/chevrotain/lib/src/parse/parser/types.js +2 -0
- package/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +20 -0
- package/node_modules/chevrotain/lib/src/scan/lexer.js +875 -0
- package/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +9 -0
- package/node_modules/chevrotain/lib/src/scan/lexer_public.js +646 -0
- package/node_modules/chevrotain/lib/src/scan/reg_exp.js +240 -0
- package/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +18 -0
- package/node_modules/chevrotain/lib/src/scan/tokens.js +114 -0
- package/node_modules/chevrotain/lib/src/scan/tokens_constants.js +2 -0
- package/node_modules/chevrotain/lib/src/scan/tokens_public.js +87 -0
- package/node_modules/chevrotain/lib/src/text/range.js +28 -0
- package/node_modules/chevrotain/lib/src/version.js +5 -0
- package/node_modules/chevrotain/package.json +60 -0
- package/node_modules/chevrotain/src/api.ts +87 -0
- package/node_modules/chevrotain/src/diagrams/render_public.ts +53 -0
- package/node_modules/chevrotain/src/lang/lang_extensions.ts +10 -0
- package/node_modules/chevrotain/src/parse/constants.ts +2 -0
- package/node_modules/chevrotain/src/parse/cst/cst.ts +87 -0
- package/node_modules/chevrotain/src/parse/cst/cst_visitor.ts +153 -0
- package/node_modules/chevrotain/src/parse/errors_public.ts +325 -0
- package/node_modules/chevrotain/src/parse/exceptions_public.ts +89 -0
- package/node_modules/chevrotain/src/parse/grammar/checks.ts +712 -0
- package/node_modules/chevrotain/src/parse/grammar/first.ts +70 -0
- package/node_modules/chevrotain/src/parse/grammar/follow.ts +67 -0
- package/node_modules/chevrotain/src/parse/grammar/gast/gast_resolver_public.ts +50 -0
- package/node_modules/chevrotain/src/parse/grammar/interpreter.ts +623 -0
- package/node_modules/chevrotain/src/parse/grammar/keys.ts +33 -0
- package/node_modules/chevrotain/src/parse/grammar/llk_lookahead.ts +139 -0
- package/node_modules/chevrotain/src/parse/grammar/lookahead.ts +739 -0
- package/node_modules/chevrotain/src/parse/grammar/resolver.ts +57 -0
- package/node_modules/chevrotain/src/parse/grammar/rest.ts +163 -0
- package/node_modules/chevrotain/src/parse/grammar/types.ts +97 -0
- package/node_modules/chevrotain/src/parse/parser/parser.ts +318 -0
- package/node_modules/chevrotain/src/parse/parser/traits/context_assist.ts +51 -0
- package/node_modules/chevrotain/src/parse/parser/traits/error_handler.ts +124 -0
- package/node_modules/chevrotain/src/parse/parser/traits/gast_recorder.ts +456 -0
- package/node_modules/chevrotain/src/parse/parser/traits/lexer_adapter.ts +86 -0
- package/node_modules/chevrotain/src/parse/parser/traits/looksahead.ts +269 -0
- package/node_modules/chevrotain/src/parse/parser/traits/parser_traits.ts +58 -0
- package/node_modules/chevrotain/src/parse/parser/traits/perf_tracer.ts +54 -0
- package/node_modules/chevrotain/src/parse/parser/traits/recognizer_api.ts +719 -0
- package/node_modules/chevrotain/src/parse/parser/traits/recognizer_engine.ts +867 -0
- package/node_modules/chevrotain/src/parse/parser/traits/recoverable.ts +473 -0
- package/node_modules/chevrotain/src/parse/parser/traits/tree_builder.ts +275 -0
- package/node_modules/chevrotain/src/parse/parser/types.ts +16 -0
- package/node_modules/chevrotain/src/parse/parser/utils/apply_mixins.ts +28 -0
- package/node_modules/chevrotain/src/scan/lexer.ts +1175 -0
- package/node_modules/chevrotain/src/scan/lexer_errors_public.ts +21 -0
- package/node_modules/chevrotain/src/scan/lexer_public.ts +972 -0
- package/node_modules/chevrotain/src/scan/reg_exp.ts +315 -0
- package/node_modules/chevrotain/src/scan/reg_exp_parser.ts +34 -0
- package/node_modules/chevrotain/src/scan/tokens.ts +167 -0
- package/node_modules/chevrotain/src/scan/tokens_constants.ts +1 -0
- package/node_modules/chevrotain/src/scan/tokens_public.ts +121 -0
- package/node_modules/chevrotain/src/text/range.ts +49 -0
- package/node_modules/chevrotain/src/version.ts +4 -0
- package/node_modules/chevrotain-allstar/LICENSE +16 -0
- package/node_modules/chevrotain-allstar/README.md +22 -0
- package/node_modules/chevrotain-allstar/lib/all-star-lookahead.d.ts +36 -0
- package/node_modules/chevrotain-allstar/lib/all-star-lookahead.d.ts.map +1 -0
- package/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +556 -0
- package/node_modules/chevrotain-allstar/lib/atn.d.ts +105 -0
- package/node_modules/chevrotain-allstar/lib/atn.d.ts.map +1 -0
- package/node_modules/chevrotain-allstar/lib/atn.js +404 -0
- package/node_modules/chevrotain-allstar/lib/dfa.d.ts +37 -0
- package/node_modules/chevrotain-allstar/lib/dfa.d.ts.map +1 -0
- package/node_modules/chevrotain-allstar/lib/dfa.js +46 -0
- package/node_modules/chevrotain-allstar/lib/index.d.ts +7 -0
- package/node_modules/chevrotain-allstar/lib/index.d.ts.map +1 -0
- package/node_modules/chevrotain-allstar/lib/index.js +7 -0
- package/node_modules/chevrotain-allstar/package.json +37 -0
- package/node_modules/chevrotain-allstar/src/all-star-lookahead.ts +763 -0
- package/node_modules/chevrotain-allstar/src/atn.ts +642 -0
- package/node_modules/chevrotain-allstar/src/dfa.ts +78 -0
- package/node_modules/chevrotain-allstar/src/index.ts +11 -0
- package/node_modules/java-parser/LICENSE +204 -0
- package/node_modules/java-parser/README.md +78 -0
- package/node_modules/java-parser/api.d.ts +3683 -0
- package/node_modules/java-parser/package.json +21 -0
- package/node_modules/java-parser/src/index.js +60 -0
- package/node_modules/java-parser/src/lexer.js +8 -0
- package/node_modules/java-parser/src/parser.js +115 -0
- package/node_modules/java-parser/src/productions/arrays.js +28 -0
- package/node_modules/java-parser/src/productions/blocks-and-statements.js +503 -0
- package/node_modules/java-parser/src/productions/classes.js +733 -0
- package/node_modules/java-parser/src/productions/expressions.js +662 -0
- package/node_modules/java-parser/src/productions/interfaces.js +266 -0
- package/node_modules/java-parser/src/productions/lexical-structure.js +61 -0
- package/node_modules/java-parser/src/productions/names.js +81 -0
- package/node_modules/java-parser/src/productions/packages-and-modules.js +226 -0
- package/node_modules/java-parser/src/productions/types-values-and-variables.js +218 -0
- package/node_modules/java-parser/src/tokens.js +595 -0
- package/node_modules/java-parser/src/unicodesets.js +1001 -0
- package/node_modules/java-parser/src/utils.js +15 -0
- package/package.json +53 -31
- package/release-impact.catalog.json +167 -23
- package/vendor/oscharko-dev-keiko-activity-log-1.2.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-cli-1.2.5.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-connectors-1.2.3.tgz → oscharko-dev-keiko-connectors-1.2.5.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.2.5.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-evaluations-1.2.3.tgz → oscharko-dev-keiko-evaluations-1.2.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-evidence-1.2.3.tgz → oscharko-dev-keiko-evidence-1.2.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-git-1.2.3.tgz → oscharko-dev-keiko-git-1.2.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-harness-1.2.3.tgz → oscharko-dev-keiko-harness-1.2.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-local-knowledge-1.2.3.tgz → oscharko-dev-keiko-local-knowledge-1.2.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-capture-1.2.3.tgz → oscharko-dev-keiko-memory-capture-1.2.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-consolidation-1.2.3.tgz → oscharko-dev-keiko-memory-consolidation-1.2.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-governance-1.2.3.tgz → oscharko-dev-keiko-memory-governance-1.2.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-retrieval-1.2.3.tgz → oscharko-dev-keiko-memory-retrieval-1.2.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-vault-1.2.3.tgz → oscharko-dev-keiko-memory-vault-1.2.5.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.2.5.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-quality-intelligence-1.2.3.tgz → oscharko-dev-keiko-quality-intelligence-1.2.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-sandbox-1.2.3.tgz → oscharko-dev-keiko-sandbox-1.2.5.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-sdk-1.2.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-security-1.2.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.2.5.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-tool-catalog-1.2.3.tgz → oscharko-dev-keiko-tool-catalog-1.2.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-tools-1.2.3.tgz → oscharko-dev-keiko-tools-1.2.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-verification-1.2.3.tgz → oscharko-dev-keiko-verification-1.2.5.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-workflows-1.2.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workspace-1.2.5.tgz +0 -0
- package/vendor/runtime-22d6a685bfacde624a698cae-3.0.1.tgz +0 -0
- package/vendor/runtime-583da64f44b6efabb742951f-11.0.3.tgz +0 -0
- package/vendor/runtime-8dfa23afd9af4bbf8a63b1f6-0.3.1.tgz +0 -0
- package/vendor/runtime-988dc6c7589b144bea3431ff-11.0.3.tgz +0 -0
- package/vendor/runtime-cdb56cd0389cee2407f02ebe-11.0.3.tgz +0 -0
- package/dist/ui/static/_next/static/chunks/00_o0v2hokzqm.js +0 -1
- package/dist/ui/static/_next/static/chunks/08tg5xjyy073b.js +0 -1
- package/dist/ui/static/_next/static/chunks/0ny_v4ofel7b_.js +0 -3
- package/dist/ui/static/_next/static/chunks/0q5ec6axrr1dy.js +0 -1
- package/dist/ui/static/_next/static/chunks/0ry6tlbur8za2.js +0 -1
- package/dist/ui/static/_next/static/chunks/0u23qd45npews.js +0 -4
- package/dist/ui/static/_next/static/chunks/0w9s0mn8nv3s8.js +0 -1
- package/dist/ui/static/_next/static/chunks/0xu2rnpdr4kzd.js +0 -1
- package/dist/ui/static/_next/static/chunks/14ytv6jraivph.js +0 -1
- package/dist/ui/static/_next/static/chunks/18idxjg523mhp.js +0 -1
- package/dist/ui/static/_next/static/chunks/19ey3gbrqluoi.js +0 -1
- package/dist/ui/static/_next/static/chunks/1qcpuq815jtog.js +0 -3
- package/dist/ui/static/_next/static/chunks/1ww5k297t9tqg.js +0 -1
- package/dist/ui/static/_next/static/chunks/205r2spj_ir70.js +0 -1
- package/dist/ui/static/_next/static/chunks/245n0wio4ohjg.js +0 -1
- package/dist/ui/static/_next/static/chunks/25x9hf4wdlde7.js +0 -1
- package/dist/ui/static/_next/static/chunks/27e2u3lrksak4.js +0 -1
- package/dist/ui/static/_next/static/chunks/285bz147hhczq.js +0 -1
- package/dist/ui/static/_next/static/chunks/2fqo-2fl7ca59.js +0 -1
- package/dist/ui/static/_next/static/chunks/2g_pljoa8f0e-.js +0 -1
- package/dist/ui/static/_next/static/chunks/2i1-yu7y9mj4z.js +0 -1
- package/dist/ui/static/_next/static/chunks/2ig3-g02_i82n.js +0 -1
- package/dist/ui/static/_next/static/chunks/2jsnrkl0syr4y.js +0 -1
- package/dist/ui/static/_next/static/chunks/2ov72plu69iiv.js +0 -1
- package/dist/ui/static/_next/static/chunks/2z5c2glupanq_.js +0 -1
- package/dist/ui/static/_next/static/chunks/3-7tka4cib69h.js +0 -1
- package/dist/ui/static/_next/static/chunks/32jgtvf2y-f54.js +0 -1
- package/dist/ui/static/_next/static/chunks/3b05n-007vc3e.js +0 -1
- package/dist/ui/static/_next/static/chunks/3cpuzx4fetu6y.js +0 -1
- package/dist/ui/static/_next/static/chunks/3fwt6-8rc2mya.js +0 -1
- package/dist/ui/static/_next/static/chunks/3lf8dguq57yfu.js +0 -1
- package/dist/ui/static/_next/static/chunks/3p_yaeocah7k8.js +0 -1
- package/dist/ui/static/_next/static/chunks/3payvp5ps2fne.css +0 -3
- package/dist/ui/static/_next/static/chunks/3q-93bizla3k1.js +0 -1
- package/dist/ui/static/_next/static/chunks/3rhep1yhgo6a7.js +0 -1
- package/dist/ui/static/_next/static/chunks/4064iscrh1eiz.js +0 -1
- package/vendor/oscharko-dev-keiko-activity-log-1.2.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-cli-1.2.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.2.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.2.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-sdk-1.2.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-security-1.2.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.2.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workflows-1.2.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workspace-1.2.3.tgz +0 -0
- /package/dist/ui/static/_next/static/{6aFlVo-ZD3Vmx3vFKK_up → l5EA3GWm62ENm-jfs3AEY}/_buildManifest.js +0 -0
- /package/dist/ui/static/_next/static/{6aFlVo-ZD3Vmx3vFKK_up → l5EA3GWm62ENm-jfs3AEY}/_clientMiddlewareManifest.js +0 -0
- /package/dist/ui/static/_next/static/{6aFlVo-ZD3Vmx3vFKK_up → l5EA3GWm62ENm-jfs3AEY}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,739 @@
|
|
|
1
|
+
import { every, flatten, forEach, has, isEmpty, map, reduce } from "lodash-es";
|
|
2
|
+
import { possiblePathsFrom } from "./interpreter.js";
|
|
3
|
+
import { RestWalker } from "./rest.js";
|
|
4
|
+
import { Predicate, TokenMatcher } from "../parser/parser.js";
|
|
5
|
+
import {
|
|
6
|
+
tokenStructuredMatcher,
|
|
7
|
+
tokenStructuredMatcherNoCategories,
|
|
8
|
+
} from "../../scan/tokens.js";
|
|
9
|
+
import {
|
|
10
|
+
Alternation,
|
|
11
|
+
Alternative as AlternativeGAST,
|
|
12
|
+
GAstVisitor,
|
|
13
|
+
Option,
|
|
14
|
+
Repetition,
|
|
15
|
+
RepetitionMandatory,
|
|
16
|
+
RepetitionMandatoryWithSeparator,
|
|
17
|
+
RepetitionWithSeparator,
|
|
18
|
+
} from "@chevrotain/gast";
|
|
19
|
+
import {
|
|
20
|
+
BaseParser,
|
|
21
|
+
IOrAlt,
|
|
22
|
+
IProduction,
|
|
23
|
+
IProductionWithOccurrence,
|
|
24
|
+
LookaheadProductionType,
|
|
25
|
+
LookaheadSequence,
|
|
26
|
+
Rule,
|
|
27
|
+
TokenType,
|
|
28
|
+
} from "@chevrotain/types";
|
|
29
|
+
|
|
30
|
+
export enum PROD_TYPE {
|
|
31
|
+
OPTION,
|
|
32
|
+
REPETITION,
|
|
33
|
+
REPETITION_MANDATORY,
|
|
34
|
+
REPETITION_MANDATORY_WITH_SEPARATOR,
|
|
35
|
+
REPETITION_WITH_SEPARATOR,
|
|
36
|
+
ALTERNATION,
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function getProdType(
|
|
40
|
+
prod: IProduction | LookaheadProductionType,
|
|
41
|
+
): PROD_TYPE {
|
|
42
|
+
/* istanbul ignore else */
|
|
43
|
+
if (prod instanceof Option || prod === "Option") {
|
|
44
|
+
return PROD_TYPE.OPTION;
|
|
45
|
+
} else if (prod instanceof Repetition || prod === "Repetition") {
|
|
46
|
+
return PROD_TYPE.REPETITION;
|
|
47
|
+
} else if (
|
|
48
|
+
prod instanceof RepetitionMandatory ||
|
|
49
|
+
prod === "RepetitionMandatory"
|
|
50
|
+
) {
|
|
51
|
+
return PROD_TYPE.REPETITION_MANDATORY;
|
|
52
|
+
} else if (
|
|
53
|
+
prod instanceof RepetitionMandatoryWithSeparator ||
|
|
54
|
+
prod === "RepetitionMandatoryWithSeparator"
|
|
55
|
+
) {
|
|
56
|
+
return PROD_TYPE.REPETITION_MANDATORY_WITH_SEPARATOR;
|
|
57
|
+
} else if (
|
|
58
|
+
prod instanceof RepetitionWithSeparator ||
|
|
59
|
+
prod === "RepetitionWithSeparator"
|
|
60
|
+
) {
|
|
61
|
+
return PROD_TYPE.REPETITION_WITH_SEPARATOR;
|
|
62
|
+
} else if (prod instanceof Alternation || prod === "Alternation") {
|
|
63
|
+
return PROD_TYPE.ALTERNATION;
|
|
64
|
+
} else {
|
|
65
|
+
throw Error("non exhaustive match");
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function getLookaheadPaths(options: {
|
|
70
|
+
occurrence: number;
|
|
71
|
+
rule: Rule;
|
|
72
|
+
prodType: LookaheadProductionType;
|
|
73
|
+
maxLookahead: number;
|
|
74
|
+
}): LookaheadSequence[] {
|
|
75
|
+
const { occurrence, rule, prodType, maxLookahead } = options;
|
|
76
|
+
const type = getProdType(prodType);
|
|
77
|
+
if (type === PROD_TYPE.ALTERNATION) {
|
|
78
|
+
return getLookaheadPathsForOr(occurrence, rule, maxLookahead);
|
|
79
|
+
} else {
|
|
80
|
+
return getLookaheadPathsForOptionalProd(
|
|
81
|
+
occurrence,
|
|
82
|
+
rule,
|
|
83
|
+
type,
|
|
84
|
+
maxLookahead,
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function buildLookaheadFuncForOr(
|
|
90
|
+
occurrence: number,
|
|
91
|
+
ruleGrammar: Rule,
|
|
92
|
+
maxLookahead: number,
|
|
93
|
+
hasPredicates: boolean,
|
|
94
|
+
dynamicTokensEnabled: boolean,
|
|
95
|
+
laFuncBuilder: Function,
|
|
96
|
+
): (orAlts?: IOrAlt<any>[]) => number | undefined {
|
|
97
|
+
const lookAheadPaths = getLookaheadPathsForOr(
|
|
98
|
+
occurrence,
|
|
99
|
+
ruleGrammar,
|
|
100
|
+
maxLookahead,
|
|
101
|
+
);
|
|
102
|
+
|
|
103
|
+
const tokenMatcher = areTokenCategoriesNotUsed(lookAheadPaths)
|
|
104
|
+
? tokenStructuredMatcherNoCategories
|
|
105
|
+
: tokenStructuredMatcher;
|
|
106
|
+
|
|
107
|
+
return laFuncBuilder(
|
|
108
|
+
lookAheadPaths,
|
|
109
|
+
hasPredicates,
|
|
110
|
+
tokenMatcher,
|
|
111
|
+
dynamicTokensEnabled,
|
|
112
|
+
);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* When dealing with an Optional production (OPTION/MANY/2nd iteration of AT_LEAST_ONE/...) we need to compare
|
|
117
|
+
* the lookahead "inside" the production and the lookahead immediately "after" it in the same top level rule (context free).
|
|
118
|
+
*
|
|
119
|
+
* Example: given a production:
|
|
120
|
+
* ABC(DE)?DF
|
|
121
|
+
*
|
|
122
|
+
* The optional '(DE)?' should only be entered if we see 'DE'. a single Token 'D' is not sufficient to distinguish between the two
|
|
123
|
+
* alternatives.
|
|
124
|
+
*
|
|
125
|
+
* @returns A Lookahead function which will return true IFF the parser should parse the Optional production.
|
|
126
|
+
*/
|
|
127
|
+
export function buildLookaheadFuncForOptionalProd(
|
|
128
|
+
occurrence: number,
|
|
129
|
+
ruleGrammar: Rule,
|
|
130
|
+
k: number,
|
|
131
|
+
dynamicTokensEnabled: boolean,
|
|
132
|
+
prodType: PROD_TYPE,
|
|
133
|
+
lookaheadBuilder: (
|
|
134
|
+
lookAheadSequence: LookaheadSequence,
|
|
135
|
+
tokenMatcher: TokenMatcher,
|
|
136
|
+
dynamicTokensEnabled: boolean,
|
|
137
|
+
) => () => boolean,
|
|
138
|
+
): () => boolean {
|
|
139
|
+
const lookAheadPaths = getLookaheadPathsForOptionalProd(
|
|
140
|
+
occurrence,
|
|
141
|
+
ruleGrammar,
|
|
142
|
+
prodType,
|
|
143
|
+
k,
|
|
144
|
+
);
|
|
145
|
+
|
|
146
|
+
const tokenMatcher = areTokenCategoriesNotUsed(lookAheadPaths)
|
|
147
|
+
? tokenStructuredMatcherNoCategories
|
|
148
|
+
: tokenStructuredMatcher;
|
|
149
|
+
|
|
150
|
+
return lookaheadBuilder(
|
|
151
|
+
lookAheadPaths[0],
|
|
152
|
+
tokenMatcher,
|
|
153
|
+
dynamicTokensEnabled,
|
|
154
|
+
);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export type Alternative = TokenType[][];
|
|
158
|
+
|
|
159
|
+
export function buildAlternativesLookAheadFunc(
|
|
160
|
+
alts: LookaheadSequence[],
|
|
161
|
+
hasPredicates: boolean,
|
|
162
|
+
tokenMatcher: TokenMatcher,
|
|
163
|
+
dynamicTokensEnabled: boolean,
|
|
164
|
+
): (orAlts: IOrAlt<any>[]) => number | undefined {
|
|
165
|
+
const numOfAlts = alts.length;
|
|
166
|
+
const areAllOneTokenLookahead = every(alts, (currAlt) => {
|
|
167
|
+
return every(currAlt, (currPath) => {
|
|
168
|
+
return currPath.length === 1;
|
|
169
|
+
});
|
|
170
|
+
});
|
|
171
|
+
|
|
172
|
+
// This version takes into account the predicates as well.
|
|
173
|
+
if (hasPredicates) {
|
|
174
|
+
/**
|
|
175
|
+
* @returns {number} - The chosen alternative index
|
|
176
|
+
*/
|
|
177
|
+
return function (
|
|
178
|
+
this: BaseParser,
|
|
179
|
+
orAlts: IOrAlt<any>[],
|
|
180
|
+
): number | undefined {
|
|
181
|
+
// unfortunately the predicates must be extracted every single time
|
|
182
|
+
// as they cannot be cached due to references to parameters(vars) which are no longer valid.
|
|
183
|
+
// note that in the common case of no predicates, no cpu time will be wasted on this (see else block)
|
|
184
|
+
const predicates: (Predicate | undefined)[] = map(
|
|
185
|
+
orAlts,
|
|
186
|
+
(currAlt) => currAlt.GATE,
|
|
187
|
+
);
|
|
188
|
+
|
|
189
|
+
for (let t = 0; t < numOfAlts; t++) {
|
|
190
|
+
const currAlt = alts[t];
|
|
191
|
+
const currNumOfPaths = currAlt.length;
|
|
192
|
+
|
|
193
|
+
const currPredicate = predicates[t];
|
|
194
|
+
if (currPredicate !== undefined && currPredicate.call(this) === false) {
|
|
195
|
+
// if the predicate does not match there is no point in checking the paths
|
|
196
|
+
continue;
|
|
197
|
+
}
|
|
198
|
+
nextPath: for (let j = 0; j < currNumOfPaths; j++) {
|
|
199
|
+
const currPath = currAlt[j];
|
|
200
|
+
const currPathLength = currPath.length;
|
|
201
|
+
for (let i = 0; i < currPathLength; i++) {
|
|
202
|
+
const nextToken = this.LA(i + 1);
|
|
203
|
+
if (tokenMatcher(nextToken, currPath[i]) === false) {
|
|
204
|
+
// mismatch in current path
|
|
205
|
+
// try the next pth
|
|
206
|
+
continue nextPath;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
// found a full path that matches.
|
|
210
|
+
// this will also work for an empty ALT as the loop will be skipped
|
|
211
|
+
return t;
|
|
212
|
+
}
|
|
213
|
+
// none of the paths for the current alternative matched
|
|
214
|
+
// try the next alternative
|
|
215
|
+
}
|
|
216
|
+
// none of the alternatives could be matched
|
|
217
|
+
return undefined;
|
|
218
|
+
};
|
|
219
|
+
} else if (areAllOneTokenLookahead && !dynamicTokensEnabled) {
|
|
220
|
+
// optimized (common) case of all the lookaheads paths requiring only
|
|
221
|
+
// a single token lookahead. These Optimizations cannot work if dynamically defined Tokens are used.
|
|
222
|
+
const singleTokenAlts = map(alts, (currAlt) => {
|
|
223
|
+
return flatten(currAlt);
|
|
224
|
+
});
|
|
225
|
+
|
|
226
|
+
const choiceToAlt = reduce(
|
|
227
|
+
singleTokenAlts,
|
|
228
|
+
(result, currAlt, idx) => {
|
|
229
|
+
forEach(currAlt, (currTokType) => {
|
|
230
|
+
if (!has(result, currTokType.tokenTypeIdx!)) {
|
|
231
|
+
result[currTokType.tokenTypeIdx!] = idx;
|
|
232
|
+
}
|
|
233
|
+
forEach(currTokType.categoryMatches!, (currExtendingType) => {
|
|
234
|
+
if (!has(result, currExtendingType)) {
|
|
235
|
+
result[currExtendingType] = idx;
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
});
|
|
239
|
+
return result;
|
|
240
|
+
},
|
|
241
|
+
{} as Record<number, number>,
|
|
242
|
+
);
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* @returns {number} - The chosen alternative index
|
|
246
|
+
*/
|
|
247
|
+
return function (this: BaseParser): number {
|
|
248
|
+
const nextToken = this.LA(1);
|
|
249
|
+
return choiceToAlt[nextToken.tokenTypeIdx];
|
|
250
|
+
};
|
|
251
|
+
} else {
|
|
252
|
+
// optimized lookahead without needing to check the predicates at all.
|
|
253
|
+
// this causes code duplication which is intentional to improve performance.
|
|
254
|
+
/**
|
|
255
|
+
* @returns {number} - The chosen alternative index
|
|
256
|
+
*/
|
|
257
|
+
return function (this: BaseParser): number | undefined {
|
|
258
|
+
for (let t = 0; t < numOfAlts; t++) {
|
|
259
|
+
const currAlt = alts[t];
|
|
260
|
+
const currNumOfPaths = currAlt.length;
|
|
261
|
+
nextPath: for (let j = 0; j < currNumOfPaths; j++) {
|
|
262
|
+
const currPath = currAlt[j];
|
|
263
|
+
const currPathLength = currPath.length;
|
|
264
|
+
for (let i = 0; i < currPathLength; i++) {
|
|
265
|
+
const nextToken = this.LA(i + 1);
|
|
266
|
+
if (tokenMatcher(nextToken, currPath[i]) === false) {
|
|
267
|
+
// mismatch in current path
|
|
268
|
+
// try the next pth
|
|
269
|
+
continue nextPath;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
// found a full path that matches.
|
|
273
|
+
// this will also work for an empty ALT as the loop will be skipped
|
|
274
|
+
return t;
|
|
275
|
+
}
|
|
276
|
+
// none of the paths for the current alternative matched
|
|
277
|
+
// try the next alternative
|
|
278
|
+
}
|
|
279
|
+
// none of the alternatives could be matched
|
|
280
|
+
return undefined;
|
|
281
|
+
};
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export function buildSingleAlternativeLookaheadFunction(
|
|
286
|
+
alt: LookaheadSequence,
|
|
287
|
+
tokenMatcher: TokenMatcher,
|
|
288
|
+
dynamicTokensEnabled: boolean,
|
|
289
|
+
): () => boolean {
|
|
290
|
+
const areAllOneTokenLookahead = every(alt, (currPath) => {
|
|
291
|
+
return currPath.length === 1;
|
|
292
|
+
});
|
|
293
|
+
|
|
294
|
+
const numOfPaths = alt.length;
|
|
295
|
+
|
|
296
|
+
// optimized (common) case of all the lookaheads paths requiring only
|
|
297
|
+
// a single token lookahead.
|
|
298
|
+
if (areAllOneTokenLookahead && !dynamicTokensEnabled) {
|
|
299
|
+
const singleTokensTypes = flatten(alt);
|
|
300
|
+
|
|
301
|
+
if (
|
|
302
|
+
singleTokensTypes.length === 1 &&
|
|
303
|
+
isEmpty((<any>singleTokensTypes[0]).categoryMatches)
|
|
304
|
+
) {
|
|
305
|
+
const expectedTokenType = singleTokensTypes[0];
|
|
306
|
+
const expectedTokenUniqueKey = (<any>expectedTokenType).tokenTypeIdx;
|
|
307
|
+
|
|
308
|
+
return function (this: BaseParser): boolean {
|
|
309
|
+
return this.LA(1).tokenTypeIdx === expectedTokenUniqueKey;
|
|
310
|
+
};
|
|
311
|
+
} else {
|
|
312
|
+
const choiceToAlt = reduce(
|
|
313
|
+
singleTokensTypes,
|
|
314
|
+
(result, currTokType, idx) => {
|
|
315
|
+
result[currTokType.tokenTypeIdx!] = true;
|
|
316
|
+
forEach(currTokType.categoryMatches!, (currExtendingType) => {
|
|
317
|
+
result[currExtendingType] = true;
|
|
318
|
+
});
|
|
319
|
+
return result;
|
|
320
|
+
},
|
|
321
|
+
[] as boolean[],
|
|
322
|
+
);
|
|
323
|
+
|
|
324
|
+
return function (this: BaseParser): boolean {
|
|
325
|
+
const nextToken = this.LA(1);
|
|
326
|
+
return choiceToAlt[nextToken.tokenTypeIdx] === true;
|
|
327
|
+
};
|
|
328
|
+
}
|
|
329
|
+
} else {
|
|
330
|
+
return function (this: BaseParser): boolean {
|
|
331
|
+
nextPath: for (let j = 0; j < numOfPaths; j++) {
|
|
332
|
+
const currPath = alt[j];
|
|
333
|
+
const currPathLength = currPath.length;
|
|
334
|
+
for (let i = 0; i < currPathLength; i++) {
|
|
335
|
+
const nextToken = this.LA(i + 1);
|
|
336
|
+
if (tokenMatcher(nextToken, currPath[i]) === false) {
|
|
337
|
+
// mismatch in current path
|
|
338
|
+
// try the next pth
|
|
339
|
+
continue nextPath;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
// found a full path that matches.
|
|
343
|
+
return true;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
// none of the paths matched
|
|
347
|
+
return false;
|
|
348
|
+
};
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
class RestDefinitionFinderWalker extends RestWalker {
|
|
353
|
+
private restDef: IProduction[];
|
|
354
|
+
|
|
355
|
+
constructor(
|
|
356
|
+
private topProd: Rule,
|
|
357
|
+
private targetOccurrence: number,
|
|
358
|
+
private targetProdType: PROD_TYPE,
|
|
359
|
+
) {
|
|
360
|
+
super();
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
startWalking(): IProduction[] {
|
|
364
|
+
this.walk(this.topProd);
|
|
365
|
+
return this.restDef;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
private checkIsTarget(
|
|
369
|
+
node: IProductionWithOccurrence,
|
|
370
|
+
expectedProdType: PROD_TYPE,
|
|
371
|
+
currRest: IProduction[],
|
|
372
|
+
prevRest: IProduction[],
|
|
373
|
+
): boolean {
|
|
374
|
+
if (
|
|
375
|
+
node.idx === this.targetOccurrence &&
|
|
376
|
+
this.targetProdType === expectedProdType
|
|
377
|
+
) {
|
|
378
|
+
this.restDef = currRest.concat(prevRest);
|
|
379
|
+
return true;
|
|
380
|
+
}
|
|
381
|
+
// performance optimization, do not iterate over the entire Grammar ast after we have found the target
|
|
382
|
+
return false;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
walkOption(
|
|
386
|
+
optionProd: Option,
|
|
387
|
+
currRest: IProduction[],
|
|
388
|
+
prevRest: IProduction[],
|
|
389
|
+
): void {
|
|
390
|
+
if (!this.checkIsTarget(optionProd, PROD_TYPE.OPTION, currRest, prevRest)) {
|
|
391
|
+
super.walkOption(optionProd, currRest, prevRest);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
walkAtLeastOne(
|
|
396
|
+
atLeastOneProd: RepetitionMandatory,
|
|
397
|
+
currRest: IProduction[],
|
|
398
|
+
prevRest: IProduction[],
|
|
399
|
+
): void {
|
|
400
|
+
if (
|
|
401
|
+
!this.checkIsTarget(
|
|
402
|
+
atLeastOneProd,
|
|
403
|
+
PROD_TYPE.REPETITION_MANDATORY,
|
|
404
|
+
currRest,
|
|
405
|
+
prevRest,
|
|
406
|
+
)
|
|
407
|
+
) {
|
|
408
|
+
super.walkOption(atLeastOneProd, currRest, prevRest);
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
walkAtLeastOneSep(
|
|
413
|
+
atLeastOneSepProd: RepetitionMandatoryWithSeparator,
|
|
414
|
+
currRest: IProduction[],
|
|
415
|
+
prevRest: IProduction[],
|
|
416
|
+
): void {
|
|
417
|
+
if (
|
|
418
|
+
!this.checkIsTarget(
|
|
419
|
+
atLeastOneSepProd,
|
|
420
|
+
PROD_TYPE.REPETITION_MANDATORY_WITH_SEPARATOR,
|
|
421
|
+
currRest,
|
|
422
|
+
prevRest,
|
|
423
|
+
)
|
|
424
|
+
) {
|
|
425
|
+
super.walkOption(atLeastOneSepProd, currRest, prevRest);
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
walkMany(
|
|
430
|
+
manyProd: Repetition,
|
|
431
|
+
currRest: IProduction[],
|
|
432
|
+
prevRest: IProduction[],
|
|
433
|
+
): void {
|
|
434
|
+
if (
|
|
435
|
+
!this.checkIsTarget(manyProd, PROD_TYPE.REPETITION, currRest, prevRest)
|
|
436
|
+
) {
|
|
437
|
+
super.walkOption(manyProd, currRest, prevRest);
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
walkManySep(
|
|
442
|
+
manySepProd: RepetitionWithSeparator,
|
|
443
|
+
currRest: IProduction[],
|
|
444
|
+
prevRest: IProduction[],
|
|
445
|
+
): void {
|
|
446
|
+
if (
|
|
447
|
+
!this.checkIsTarget(
|
|
448
|
+
manySepProd,
|
|
449
|
+
PROD_TYPE.REPETITION_WITH_SEPARATOR,
|
|
450
|
+
currRest,
|
|
451
|
+
prevRest,
|
|
452
|
+
)
|
|
453
|
+
) {
|
|
454
|
+
super.walkOption(manySepProd, currRest, prevRest);
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* Returns the definition of a target production in a top level level rule.
|
|
461
|
+
*/
|
|
462
|
+
class InsideDefinitionFinderVisitor extends GAstVisitor {
|
|
463
|
+
public result: IProduction[] = [];
|
|
464
|
+
|
|
465
|
+
constructor(
|
|
466
|
+
private targetOccurrence: number,
|
|
467
|
+
private targetProdType: PROD_TYPE,
|
|
468
|
+
private targetRef?: any,
|
|
469
|
+
) {
|
|
470
|
+
super();
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
private checkIsTarget(
|
|
474
|
+
node: { definition: IProduction[] } & IProductionWithOccurrence,
|
|
475
|
+
expectedProdName: PROD_TYPE,
|
|
476
|
+
): void {
|
|
477
|
+
if (
|
|
478
|
+
node.idx === this.targetOccurrence &&
|
|
479
|
+
this.targetProdType === expectedProdName &&
|
|
480
|
+
(this.targetRef === undefined || node === this.targetRef)
|
|
481
|
+
) {
|
|
482
|
+
this.result = node.definition;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
public visitOption(node: Option): void {
|
|
487
|
+
this.checkIsTarget(node, PROD_TYPE.OPTION);
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
public visitRepetition(node: Repetition): void {
|
|
491
|
+
this.checkIsTarget(node, PROD_TYPE.REPETITION);
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
public visitRepetitionMandatory(node: RepetitionMandatory): void {
|
|
495
|
+
this.checkIsTarget(node, PROD_TYPE.REPETITION_MANDATORY);
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
public visitRepetitionMandatoryWithSeparator(
|
|
499
|
+
node: RepetitionMandatoryWithSeparator,
|
|
500
|
+
): void {
|
|
501
|
+
this.checkIsTarget(node, PROD_TYPE.REPETITION_MANDATORY_WITH_SEPARATOR);
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
public visitRepetitionWithSeparator(node: RepetitionWithSeparator): void {
|
|
505
|
+
this.checkIsTarget(node, PROD_TYPE.REPETITION_WITH_SEPARATOR);
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
public visitAlternation(node: Alternation): void {
|
|
509
|
+
this.checkIsTarget(node, PROD_TYPE.ALTERNATION);
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
function initializeArrayOfArrays(size: number): any[][] {
|
|
514
|
+
const result = new Array(size);
|
|
515
|
+
for (let i = 0; i < size; i++) {
|
|
516
|
+
result[i] = [];
|
|
517
|
+
}
|
|
518
|
+
return result;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* A sort of hash function between a Path in the grammar and a string.
|
|
523
|
+
* Note that this returns multiple "hashes" to support the scenario of token categories.
|
|
524
|
+
* - A single path with categories may match multiple **actual** paths.
|
|
525
|
+
*/
|
|
526
|
+
function pathToHashKeys(path: TokenType[]): string[] {
|
|
527
|
+
let keys = [""];
|
|
528
|
+
for (let i = 0; i < path.length; i++) {
|
|
529
|
+
const tokType = path[i];
|
|
530
|
+
const longerKeys = [];
|
|
531
|
+
for (let j = 0; j < keys.length; j++) {
|
|
532
|
+
const currShorterKey = keys[j];
|
|
533
|
+
longerKeys.push(currShorterKey + "_" + tokType.tokenTypeIdx);
|
|
534
|
+
for (let t = 0; t < tokType.categoryMatches!.length; t++) {
|
|
535
|
+
const categoriesKeySuffix = "_" + tokType.categoryMatches![t];
|
|
536
|
+
longerKeys.push(currShorterKey + categoriesKeySuffix);
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
keys = longerKeys;
|
|
540
|
+
}
|
|
541
|
+
return keys;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* Imperative style due to being called from a hot spot
|
|
546
|
+
*/
|
|
547
|
+
function isUniquePrefixHash(
|
|
548
|
+
altKnownPathsKeys: Record<string, boolean>[],
|
|
549
|
+
searchPathKeys: string[],
|
|
550
|
+
idx: number,
|
|
551
|
+
): boolean {
|
|
552
|
+
for (
|
|
553
|
+
let currAltIdx = 0;
|
|
554
|
+
currAltIdx < altKnownPathsKeys.length;
|
|
555
|
+
currAltIdx++
|
|
556
|
+
) {
|
|
557
|
+
// We only want to test vs the other alternatives
|
|
558
|
+
if (currAltIdx === idx) {
|
|
559
|
+
continue;
|
|
560
|
+
}
|
|
561
|
+
const otherAltKnownPathsKeys = altKnownPathsKeys[currAltIdx];
|
|
562
|
+
for (let searchIdx = 0; searchIdx < searchPathKeys.length; searchIdx++) {
|
|
563
|
+
const searchKey = searchPathKeys[searchIdx];
|
|
564
|
+
if (otherAltKnownPathsKeys[searchKey] === true) {
|
|
565
|
+
return false;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
// None of the SearchPathKeys were found in any of the other alternatives
|
|
570
|
+
return true;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
export function lookAheadSequenceFromAlternatives(
|
|
574
|
+
altsDefs: IProduction[],
|
|
575
|
+
k: number,
|
|
576
|
+
): LookaheadSequence[] {
|
|
577
|
+
const partialAlts = map(altsDefs, (currAlt) =>
|
|
578
|
+
possiblePathsFrom([currAlt], 1),
|
|
579
|
+
);
|
|
580
|
+
const finalResult = initializeArrayOfArrays(partialAlts.length);
|
|
581
|
+
const altsHashes = map(partialAlts, (currAltPaths) => {
|
|
582
|
+
const dict: { [key: string]: boolean } = {};
|
|
583
|
+
forEach(currAltPaths, (item) => {
|
|
584
|
+
const keys = pathToHashKeys(item.partialPath);
|
|
585
|
+
forEach(keys, (currKey) => {
|
|
586
|
+
dict[currKey] = true;
|
|
587
|
+
});
|
|
588
|
+
});
|
|
589
|
+
return dict;
|
|
590
|
+
});
|
|
591
|
+
let newData = partialAlts;
|
|
592
|
+
|
|
593
|
+
// maxLookahead loop
|
|
594
|
+
for (let pathLength = 1; pathLength <= k; pathLength++) {
|
|
595
|
+
const currDataset = newData;
|
|
596
|
+
newData = initializeArrayOfArrays(currDataset.length);
|
|
597
|
+
|
|
598
|
+
// alternatives loop
|
|
599
|
+
for (let altIdx = 0; altIdx < currDataset.length; altIdx++) {
|
|
600
|
+
const currAltPathsAndSuffixes = currDataset[altIdx];
|
|
601
|
+
// paths in current alternative loop
|
|
602
|
+
for (
|
|
603
|
+
let currPathIdx = 0;
|
|
604
|
+
currPathIdx < currAltPathsAndSuffixes.length;
|
|
605
|
+
currPathIdx++
|
|
606
|
+
) {
|
|
607
|
+
const currPathPrefix = currAltPathsAndSuffixes[currPathIdx].partialPath;
|
|
608
|
+
const suffixDef = currAltPathsAndSuffixes[currPathIdx].suffixDef;
|
|
609
|
+
const prefixKeys = pathToHashKeys(currPathPrefix);
|
|
610
|
+
const isUnique = isUniquePrefixHash(altsHashes, prefixKeys, altIdx);
|
|
611
|
+
// End of the line for this path.
|
|
612
|
+
if (isUnique || isEmpty(suffixDef) || currPathPrefix.length === k) {
|
|
613
|
+
const currAltResult = finalResult[altIdx];
|
|
614
|
+
// TODO: Can we implement a containsPath using Maps/Dictionaries?
|
|
615
|
+
if (containsPath(currAltResult, currPathPrefix) === false) {
|
|
616
|
+
currAltResult.push(currPathPrefix);
|
|
617
|
+
// Update all new keys for the current path.
|
|
618
|
+
for (let j = 0; j < prefixKeys.length; j++) {
|
|
619
|
+
const currKey = prefixKeys[j];
|
|
620
|
+
altsHashes[altIdx][currKey] = true;
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
// Expand longer paths
|
|
625
|
+
else {
|
|
626
|
+
const newPartialPathsAndSuffixes = possiblePathsFrom(
|
|
627
|
+
suffixDef,
|
|
628
|
+
pathLength + 1,
|
|
629
|
+
currPathPrefix,
|
|
630
|
+
);
|
|
631
|
+
newData[altIdx] = newData[altIdx].concat(newPartialPathsAndSuffixes);
|
|
632
|
+
|
|
633
|
+
// Update keys for new known paths
|
|
634
|
+
forEach(newPartialPathsAndSuffixes, (item) => {
|
|
635
|
+
const prefixKeys = pathToHashKeys(item.partialPath);
|
|
636
|
+
forEach(prefixKeys, (key) => {
|
|
637
|
+
altsHashes[altIdx][key] = true;
|
|
638
|
+
});
|
|
639
|
+
});
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
return finalResult;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
export function getLookaheadPathsForOr(
|
|
649
|
+
occurrence: number,
|
|
650
|
+
ruleGrammar: Rule,
|
|
651
|
+
k: number,
|
|
652
|
+
orProd?: Alternation,
|
|
653
|
+
): LookaheadSequence[] {
|
|
654
|
+
const visitor = new InsideDefinitionFinderVisitor(
|
|
655
|
+
occurrence,
|
|
656
|
+
PROD_TYPE.ALTERNATION,
|
|
657
|
+
orProd,
|
|
658
|
+
);
|
|
659
|
+
ruleGrammar.accept(visitor);
|
|
660
|
+
return lookAheadSequenceFromAlternatives(visitor.result, k);
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
export function getLookaheadPathsForOptionalProd(
|
|
664
|
+
occurrence: number,
|
|
665
|
+
ruleGrammar: Rule,
|
|
666
|
+
prodType: PROD_TYPE,
|
|
667
|
+
k: number,
|
|
668
|
+
): LookaheadSequence[] {
|
|
669
|
+
const insideDefVisitor = new InsideDefinitionFinderVisitor(
|
|
670
|
+
occurrence,
|
|
671
|
+
prodType,
|
|
672
|
+
);
|
|
673
|
+
ruleGrammar.accept(insideDefVisitor);
|
|
674
|
+
const insideDef = insideDefVisitor.result;
|
|
675
|
+
|
|
676
|
+
const afterDefWalker = new RestDefinitionFinderWalker(
|
|
677
|
+
ruleGrammar,
|
|
678
|
+
occurrence,
|
|
679
|
+
prodType,
|
|
680
|
+
);
|
|
681
|
+
const afterDef = afterDefWalker.startWalking();
|
|
682
|
+
|
|
683
|
+
const insideFlat = new AlternativeGAST({ definition: insideDef });
|
|
684
|
+
const afterFlat = new AlternativeGAST({ definition: afterDef });
|
|
685
|
+
|
|
686
|
+
return lookAheadSequenceFromAlternatives([insideFlat, afterFlat], k);
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
export function containsPath(
|
|
690
|
+
alternative: Alternative,
|
|
691
|
+
searchPath: TokenType[],
|
|
692
|
+
): boolean {
|
|
693
|
+
compareOtherPath: for (let i = 0; i < alternative.length; i++) {
|
|
694
|
+
const otherPath = alternative[i];
|
|
695
|
+
if (otherPath.length !== searchPath.length) {
|
|
696
|
+
continue;
|
|
697
|
+
}
|
|
698
|
+
for (let j = 0; j < otherPath.length; j++) {
|
|
699
|
+
const searchTok = searchPath[j];
|
|
700
|
+
const otherTok = otherPath[j];
|
|
701
|
+
|
|
702
|
+
const matchingTokens =
|
|
703
|
+
searchTok === otherTok ||
|
|
704
|
+
otherTok.categoryMatchesMap![searchTok.tokenTypeIdx!] !== undefined;
|
|
705
|
+
if (matchingTokens === false) {
|
|
706
|
+
continue compareOtherPath;
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
return true;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
return false;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
export function isStrictPrefixOfPath(
|
|
716
|
+
prefix: TokenType[],
|
|
717
|
+
other: TokenType[],
|
|
718
|
+
): boolean {
|
|
719
|
+
return (
|
|
720
|
+
prefix.length < other.length &&
|
|
721
|
+
every(prefix, (tokType, idx) => {
|
|
722
|
+
const otherTokType = other[idx];
|
|
723
|
+
return (
|
|
724
|
+
tokType === otherTokType ||
|
|
725
|
+
otherTokType.categoryMatchesMap![tokType.tokenTypeIdx!]
|
|
726
|
+
);
|
|
727
|
+
})
|
|
728
|
+
);
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
export function areTokenCategoriesNotUsed(
|
|
732
|
+
lookAheadPaths: LookaheadSequence[],
|
|
733
|
+
): boolean {
|
|
734
|
+
return every(lookAheadPaths, (singleAltPaths) =>
|
|
735
|
+
every(singleAltPaths, (singlePath) =>
|
|
736
|
+
every(singlePath, (token) => isEmpty(token.categoryMatches!)),
|
|
737
|
+
),
|
|
738
|
+
);
|
|
739
|
+
}
|