@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,315 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Alternative,
|
|
3
|
+
Atom,
|
|
4
|
+
BaseRegExpVisitor,
|
|
5
|
+
Character,
|
|
6
|
+
Disjunction,
|
|
7
|
+
Group,
|
|
8
|
+
Set,
|
|
9
|
+
} from "@chevrotain/regexp-to-ast";
|
|
10
|
+
import { every, find, forEach, includes, isArray, values } from "lodash-es";
|
|
11
|
+
import { PRINT_ERROR, PRINT_WARNING } from "@chevrotain/utils";
|
|
12
|
+
import { ASTNode, getRegExpAst } from "./reg_exp_parser.js";
|
|
13
|
+
import { charCodeToOptimizedIndex, minOptimizationVal } from "./lexer.js";
|
|
14
|
+
|
|
15
|
+
const complementErrorMessage =
|
|
16
|
+
"Complement Sets are not supported for first char optimization";
|
|
17
|
+
export const failedOptimizationPrefixMsg =
|
|
18
|
+
'Unable to use "first char" lexer optimizations:\n';
|
|
19
|
+
|
|
20
|
+
export function getOptimizedStartCodesIndices(
|
|
21
|
+
regExp: RegExp,
|
|
22
|
+
ensureOptimizations = false,
|
|
23
|
+
): number[] {
|
|
24
|
+
try {
|
|
25
|
+
const ast = getRegExpAst(regExp);
|
|
26
|
+
const firstChars = firstCharOptimizedIndices(
|
|
27
|
+
ast.value,
|
|
28
|
+
{},
|
|
29
|
+
ast.flags.ignoreCase,
|
|
30
|
+
);
|
|
31
|
+
return firstChars;
|
|
32
|
+
} catch (e) {
|
|
33
|
+
/* istanbul ignore next */
|
|
34
|
+
// Testing this relies on the regexp-to-ast library having a bug... */
|
|
35
|
+
// TODO: only the else branch needs to be ignored, try to fix with newer prettier / tsc
|
|
36
|
+
if (e.message === complementErrorMessage) {
|
|
37
|
+
if (ensureOptimizations) {
|
|
38
|
+
PRINT_WARNING(
|
|
39
|
+
`${failedOptimizationPrefixMsg}` +
|
|
40
|
+
`\tUnable to optimize: < ${regExp.toString()} >\n` +
|
|
41
|
+
"\tComplement Sets cannot be automatically optimized.\n" +
|
|
42
|
+
"\tThis will disable the lexer's first char optimizations.\n" +
|
|
43
|
+
"\tSee: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#COMPLEMENT for details.",
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
} else {
|
|
47
|
+
let msgSuffix = "";
|
|
48
|
+
if (ensureOptimizations) {
|
|
49
|
+
msgSuffix =
|
|
50
|
+
"\n\tThis will disable the lexer's first char optimizations.\n" +
|
|
51
|
+
"\tSee: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#REGEXP_PARSING for details.";
|
|
52
|
+
}
|
|
53
|
+
PRINT_ERROR(
|
|
54
|
+
`${failedOptimizationPrefixMsg}\n` +
|
|
55
|
+
`\tFailed parsing: < ${regExp.toString()} >\n` +
|
|
56
|
+
`\tUsing the @chevrotain/regexp-to-ast library\n` +
|
|
57
|
+
"\tPlease open an issue at: https://github.com/chevrotain/chevrotain/issues" +
|
|
58
|
+
msgSuffix,
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
return [];
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function firstCharOptimizedIndices(
|
|
67
|
+
ast: ASTNode,
|
|
68
|
+
result: { [charCode: number]: number },
|
|
69
|
+
ignoreCase: boolean,
|
|
70
|
+
): number[] {
|
|
71
|
+
switch (ast.type) {
|
|
72
|
+
case "Disjunction":
|
|
73
|
+
for (let i = 0; i < ast.value.length; i++) {
|
|
74
|
+
firstCharOptimizedIndices(ast.value[i], result, ignoreCase);
|
|
75
|
+
}
|
|
76
|
+
break;
|
|
77
|
+
case "Alternative":
|
|
78
|
+
const terms = ast.value;
|
|
79
|
+
for (let i = 0; i < terms.length; i++) {
|
|
80
|
+
const term = terms[i];
|
|
81
|
+
|
|
82
|
+
// skip terms that cannot effect the first char results
|
|
83
|
+
switch (term.type) {
|
|
84
|
+
case "EndAnchor":
|
|
85
|
+
// A group back reference cannot affect potential starting char.
|
|
86
|
+
// because if a back reference is the first production than automatically
|
|
87
|
+
// the group being referenced has had to come BEFORE so its codes have already been added
|
|
88
|
+
case "GroupBackReference":
|
|
89
|
+
// assertions do not affect potential starting codes
|
|
90
|
+
case "Lookahead":
|
|
91
|
+
case "NegativeLookahead":
|
|
92
|
+
case "StartAnchor":
|
|
93
|
+
case "WordBoundary":
|
|
94
|
+
case "NonWordBoundary":
|
|
95
|
+
continue;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
const atom = term;
|
|
99
|
+
switch (atom.type) {
|
|
100
|
+
case "Character":
|
|
101
|
+
addOptimizedIdxToResult(atom.value, result, ignoreCase);
|
|
102
|
+
break;
|
|
103
|
+
case "Set":
|
|
104
|
+
if (atom.complement === true) {
|
|
105
|
+
throw Error(complementErrorMessage);
|
|
106
|
+
}
|
|
107
|
+
forEach(atom.value, (code) => {
|
|
108
|
+
if (typeof code === "number") {
|
|
109
|
+
addOptimizedIdxToResult(code, result, ignoreCase);
|
|
110
|
+
} else {
|
|
111
|
+
// range
|
|
112
|
+
const range = code as any;
|
|
113
|
+
// cannot optimize when ignoreCase is
|
|
114
|
+
if (ignoreCase === true) {
|
|
115
|
+
for (
|
|
116
|
+
let rangeCode = range.from;
|
|
117
|
+
rangeCode <= range.to;
|
|
118
|
+
rangeCode++
|
|
119
|
+
) {
|
|
120
|
+
addOptimizedIdxToResult(rangeCode, result, ignoreCase);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
// Optimization (2 orders of magnitude less work for very large ranges)
|
|
124
|
+
else {
|
|
125
|
+
// handle unoptimized values
|
|
126
|
+
for (
|
|
127
|
+
let rangeCode = range.from;
|
|
128
|
+
rangeCode <= range.to && rangeCode < minOptimizationVal;
|
|
129
|
+
rangeCode++
|
|
130
|
+
) {
|
|
131
|
+
addOptimizedIdxToResult(rangeCode, result, ignoreCase);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// Less common charCode where we optimize for faster init time, by using larger "buckets"
|
|
135
|
+
if (range.to >= minOptimizationVal) {
|
|
136
|
+
const minUnOptVal =
|
|
137
|
+
range.from >= minOptimizationVal
|
|
138
|
+
? range.from
|
|
139
|
+
: minOptimizationVal;
|
|
140
|
+
const maxUnOptVal = range.to;
|
|
141
|
+
const minOptIdx = charCodeToOptimizedIndex(minUnOptVal);
|
|
142
|
+
const maxOptIdx = charCodeToOptimizedIndex(maxUnOptVal);
|
|
143
|
+
|
|
144
|
+
for (
|
|
145
|
+
let currOptIdx = minOptIdx;
|
|
146
|
+
currOptIdx <= maxOptIdx;
|
|
147
|
+
currOptIdx++
|
|
148
|
+
) {
|
|
149
|
+
result[currOptIdx] = currOptIdx;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
break;
|
|
156
|
+
case "Group":
|
|
157
|
+
firstCharOptimizedIndices(atom.value, result, ignoreCase);
|
|
158
|
+
break;
|
|
159
|
+
/* istanbul ignore next */
|
|
160
|
+
default:
|
|
161
|
+
throw Error("Non Exhaustive Match");
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
// reached a mandatory production, no more **start** codes can be found on this alternative
|
|
165
|
+
const isOptionalQuantifier =
|
|
166
|
+
atom.quantifier !== undefined && atom.quantifier.atLeast === 0;
|
|
167
|
+
if (
|
|
168
|
+
// A group may be optional due to empty contents /(?:)/
|
|
169
|
+
// or if everything inside it is optional /((a)?)/
|
|
170
|
+
(atom.type === "Group" && isWholeOptional(atom) === false) ||
|
|
171
|
+
// If this term is not a group it may only be optional if it has an optional quantifier
|
|
172
|
+
(atom.type !== "Group" && isOptionalQuantifier === false)
|
|
173
|
+
) {
|
|
174
|
+
break;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
break;
|
|
178
|
+
/* istanbul ignore next */
|
|
179
|
+
default:
|
|
180
|
+
throw Error("non exhaustive match!");
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
// console.log(Object.keys(result).length)
|
|
184
|
+
return values(result);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
function addOptimizedIdxToResult(
|
|
188
|
+
code: number,
|
|
189
|
+
result: { [charCode: number]: number },
|
|
190
|
+
ignoreCase: boolean,
|
|
191
|
+
) {
|
|
192
|
+
const optimizedCharIdx = charCodeToOptimizedIndex(code);
|
|
193
|
+
result[optimizedCharIdx] = optimizedCharIdx;
|
|
194
|
+
|
|
195
|
+
if (ignoreCase === true) {
|
|
196
|
+
handleIgnoreCase(code, result);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
function handleIgnoreCase(
|
|
201
|
+
code: number,
|
|
202
|
+
result: { [charCode: number]: number },
|
|
203
|
+
) {
|
|
204
|
+
const char = String.fromCharCode(code);
|
|
205
|
+
const upperChar = char.toUpperCase();
|
|
206
|
+
/* istanbul ignore else */
|
|
207
|
+
if (upperChar !== char) {
|
|
208
|
+
const optimizedCharIdx = charCodeToOptimizedIndex(upperChar.charCodeAt(0));
|
|
209
|
+
result[optimizedCharIdx] = optimizedCharIdx;
|
|
210
|
+
} else {
|
|
211
|
+
const lowerChar = char.toLowerCase();
|
|
212
|
+
if (lowerChar !== char) {
|
|
213
|
+
const optimizedCharIdx = charCodeToOptimizedIndex(
|
|
214
|
+
lowerChar.charCodeAt(0),
|
|
215
|
+
);
|
|
216
|
+
result[optimizedCharIdx] = optimizedCharIdx;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
function findCode(setNode: Set, targetCharCodes: number[]) {
|
|
222
|
+
return find(setNode.value, (codeOrRange) => {
|
|
223
|
+
if (typeof codeOrRange === "number") {
|
|
224
|
+
return includes(targetCharCodes, codeOrRange);
|
|
225
|
+
} else {
|
|
226
|
+
// range
|
|
227
|
+
const range = <any>codeOrRange;
|
|
228
|
+
return (
|
|
229
|
+
find(
|
|
230
|
+
targetCharCodes,
|
|
231
|
+
(targetCode) => range.from <= targetCode && targetCode <= range.to,
|
|
232
|
+
) !== undefined
|
|
233
|
+
);
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
function isWholeOptional(ast: any): boolean {
|
|
239
|
+
const quantifier = (ast as Atom).quantifier;
|
|
240
|
+
if (quantifier && quantifier.atLeast === 0) {
|
|
241
|
+
return true;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
if (!ast.value) {
|
|
245
|
+
return false;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
return isArray(ast.value)
|
|
249
|
+
? every(ast.value, isWholeOptional)
|
|
250
|
+
: isWholeOptional(ast.value);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
class CharCodeFinder extends BaseRegExpVisitor {
|
|
254
|
+
found: boolean = false;
|
|
255
|
+
|
|
256
|
+
constructor(private targetCharCodes: number[]) {
|
|
257
|
+
super();
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
visitChildren(node: ASTNode) {
|
|
261
|
+
// No need to keep looking...
|
|
262
|
+
if (this.found === true) {
|
|
263
|
+
return;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
// switch lookaheads as they do not actually consume any characters thus
|
|
267
|
+
// finding a charCode at lookahead context does not mean that regexp can actually contain it in a match.
|
|
268
|
+
switch (node.type) {
|
|
269
|
+
case "Lookahead":
|
|
270
|
+
this.visitLookahead(node);
|
|
271
|
+
return;
|
|
272
|
+
case "NegativeLookahead":
|
|
273
|
+
this.visitNegativeLookahead(node);
|
|
274
|
+
return;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
super.visitChildren(node);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
visitCharacter(node: Character) {
|
|
281
|
+
if (includes(this.targetCharCodes, node.value)) {
|
|
282
|
+
this.found = true;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
visitSet(node: Set) {
|
|
287
|
+
if (node.complement) {
|
|
288
|
+
if (findCode(node, this.targetCharCodes) === undefined) {
|
|
289
|
+
this.found = true;
|
|
290
|
+
}
|
|
291
|
+
} else {
|
|
292
|
+
if (findCode(node, this.targetCharCodes) !== undefined) {
|
|
293
|
+
this.found = true;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
export function canMatchCharCode(
|
|
300
|
+
charCodes: number[],
|
|
301
|
+
pattern: RegExp | string,
|
|
302
|
+
) {
|
|
303
|
+
if (pattern instanceof RegExp) {
|
|
304
|
+
const ast = getRegExpAst(pattern);
|
|
305
|
+
const charCodeFinder = new CharCodeFinder(charCodes);
|
|
306
|
+
charCodeFinder.visit(ast);
|
|
307
|
+
return charCodeFinder.found;
|
|
308
|
+
} else {
|
|
309
|
+
return (
|
|
310
|
+
find(<any>pattern, (char) => {
|
|
311
|
+
return includes(charCodes, (<string>char).charCodeAt(0));
|
|
312
|
+
}) !== undefined
|
|
313
|
+
);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Alternative,
|
|
3
|
+
Assertion,
|
|
4
|
+
Atom,
|
|
5
|
+
Disjunction,
|
|
6
|
+
RegExpParser,
|
|
7
|
+
RegExpPattern,
|
|
8
|
+
} from "@chevrotain/regexp-to-ast";
|
|
9
|
+
|
|
10
|
+
let regExpAstCache: { [regex: string]: RegExpPattern } = {};
|
|
11
|
+
const regExpParser = new RegExpParser();
|
|
12
|
+
|
|
13
|
+
// this should be moved to regexp-to-ast
|
|
14
|
+
export type ASTNode =
|
|
15
|
+
| RegExpPattern
|
|
16
|
+
| Disjunction
|
|
17
|
+
| Alternative
|
|
18
|
+
| Assertion
|
|
19
|
+
| Atom;
|
|
20
|
+
|
|
21
|
+
export function getRegExpAst(regExp: RegExp): RegExpPattern {
|
|
22
|
+
const regExpStr = regExp.toString();
|
|
23
|
+
if (regExpAstCache.hasOwnProperty(regExpStr)) {
|
|
24
|
+
return regExpAstCache[regExpStr];
|
|
25
|
+
} else {
|
|
26
|
+
const regExpAst = regExpParser.pattern(regExpStr);
|
|
27
|
+
regExpAstCache[regExpStr] = regExpAst;
|
|
28
|
+
return regExpAst;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export function clearRegExpParserCache() {
|
|
33
|
+
regExpAstCache = {};
|
|
34
|
+
}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import {
|
|
2
|
+
clone,
|
|
3
|
+
compact,
|
|
4
|
+
difference,
|
|
5
|
+
flatten,
|
|
6
|
+
forEach,
|
|
7
|
+
has,
|
|
8
|
+
includes,
|
|
9
|
+
isArray,
|
|
10
|
+
isEmpty,
|
|
11
|
+
map,
|
|
12
|
+
} from "lodash-es";
|
|
13
|
+
import { IToken, TokenType } from "@chevrotain/types";
|
|
14
|
+
|
|
15
|
+
export function tokenStructuredMatcher(
|
|
16
|
+
tokInstance: IToken,
|
|
17
|
+
tokConstructor: TokenType,
|
|
18
|
+
) {
|
|
19
|
+
const instanceType = tokInstance.tokenTypeIdx;
|
|
20
|
+
if (instanceType === tokConstructor.tokenTypeIdx) {
|
|
21
|
+
return true;
|
|
22
|
+
} else {
|
|
23
|
+
return (
|
|
24
|
+
tokConstructor.isParent === true &&
|
|
25
|
+
tokConstructor.categoryMatchesMap![instanceType] === true
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// Optimized tokenMatcher in case our grammar does not use token categories
|
|
31
|
+
// Being so tiny it is much more likely to be in-lined and this avoid the function call overhead
|
|
32
|
+
export function tokenStructuredMatcherNoCategories(
|
|
33
|
+
token: IToken,
|
|
34
|
+
tokType: TokenType,
|
|
35
|
+
) {
|
|
36
|
+
return token.tokenTypeIdx === tokType.tokenTypeIdx;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export let tokenShortNameIdx = 1;
|
|
40
|
+
export const tokenIdxToClass: { [tokenIdx: number]: TokenType } = {};
|
|
41
|
+
|
|
42
|
+
export function augmentTokenTypes(tokenTypes: TokenType[]): void {
|
|
43
|
+
// collect the parent Token Types as well.
|
|
44
|
+
const tokenTypesAndParents = expandCategories(tokenTypes);
|
|
45
|
+
|
|
46
|
+
// add required tokenType and categoryMatches properties
|
|
47
|
+
assignTokenDefaultProps(tokenTypesAndParents);
|
|
48
|
+
|
|
49
|
+
// fill up the categoryMatches
|
|
50
|
+
assignCategoriesMapProp(tokenTypesAndParents);
|
|
51
|
+
assignCategoriesTokensProp(tokenTypesAndParents);
|
|
52
|
+
|
|
53
|
+
forEach(tokenTypesAndParents, (tokType) => {
|
|
54
|
+
tokType.isParent = tokType.categoryMatches!.length > 0;
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function expandCategories(tokenTypes: TokenType[]): TokenType[] {
|
|
59
|
+
let result = clone(tokenTypes);
|
|
60
|
+
|
|
61
|
+
let categories = tokenTypes;
|
|
62
|
+
let searching = true;
|
|
63
|
+
while (searching) {
|
|
64
|
+
categories = compact(
|
|
65
|
+
flatten(map(categories, (currTokType) => currTokType.CATEGORIES)),
|
|
66
|
+
);
|
|
67
|
+
|
|
68
|
+
const newCategories = difference(categories, result);
|
|
69
|
+
|
|
70
|
+
result = result.concat(newCategories);
|
|
71
|
+
|
|
72
|
+
if (isEmpty(newCategories)) {
|
|
73
|
+
searching = false;
|
|
74
|
+
} else {
|
|
75
|
+
categories = newCategories;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
return result;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function assignTokenDefaultProps(tokenTypes: TokenType[]): void {
|
|
82
|
+
forEach(tokenTypes, (currTokType) => {
|
|
83
|
+
if (!hasShortKeyProperty(currTokType)) {
|
|
84
|
+
tokenIdxToClass[tokenShortNameIdx] = currTokType;
|
|
85
|
+
(<any>currTokType).tokenTypeIdx = tokenShortNameIdx++;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// CATEGORIES? : TokenType | TokenType[]
|
|
89
|
+
if (
|
|
90
|
+
hasCategoriesProperty(currTokType) &&
|
|
91
|
+
!isArray(currTokType.CATEGORIES)
|
|
92
|
+
// &&
|
|
93
|
+
// !isUndefined(currTokType.CATEGORIES.PATTERN)
|
|
94
|
+
) {
|
|
95
|
+
currTokType.CATEGORIES = [currTokType.CATEGORIES as unknown as TokenType];
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
if (!hasCategoriesProperty(currTokType)) {
|
|
99
|
+
currTokType.CATEGORIES = [];
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
if (!hasExtendingTokensTypesProperty(currTokType)) {
|
|
103
|
+
currTokType.categoryMatches = [];
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
if (!hasExtendingTokensTypesMapProperty(currTokType)) {
|
|
107
|
+
currTokType.categoryMatchesMap = {};
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function assignCategoriesTokensProp(tokenTypes: TokenType[]): void {
|
|
113
|
+
forEach(tokenTypes, (currTokType) => {
|
|
114
|
+
// avoid duplications
|
|
115
|
+
currTokType.categoryMatches = [];
|
|
116
|
+
forEach(currTokType.categoryMatchesMap!, (val, key) => {
|
|
117
|
+
currTokType.categoryMatches!.push(
|
|
118
|
+
tokenIdxToClass[key as unknown as number].tokenTypeIdx!,
|
|
119
|
+
);
|
|
120
|
+
});
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export function assignCategoriesMapProp(tokenTypes: TokenType[]): void {
|
|
125
|
+
forEach(tokenTypes, (currTokType) => {
|
|
126
|
+
singleAssignCategoriesToksMap([], currTokType);
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export function singleAssignCategoriesToksMap(
|
|
131
|
+
path: TokenType[],
|
|
132
|
+
nextNode: TokenType,
|
|
133
|
+
): void {
|
|
134
|
+
forEach(path, (pathNode) => {
|
|
135
|
+
nextNode.categoryMatchesMap![pathNode.tokenTypeIdx!] = true;
|
|
136
|
+
});
|
|
137
|
+
|
|
138
|
+
forEach(nextNode.CATEGORIES, (nextCategory) => {
|
|
139
|
+
const newPath = path.concat(nextNode);
|
|
140
|
+
// avoids infinite loops due to cyclic categories.
|
|
141
|
+
if (!includes(newPath, nextCategory)) {
|
|
142
|
+
singleAssignCategoriesToksMap(newPath, nextCategory);
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export function hasShortKeyProperty(tokType: TokenType): boolean {
|
|
148
|
+
return has(tokType, "tokenTypeIdx");
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export function hasCategoriesProperty(tokType: TokenType): boolean {
|
|
152
|
+
return has(tokType, "CATEGORIES");
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export function hasExtendingTokensTypesProperty(tokType: TokenType): boolean {
|
|
156
|
+
return has(tokType, "categoryMatches");
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export function hasExtendingTokensTypesMapProperty(
|
|
160
|
+
tokType: TokenType,
|
|
161
|
+
): boolean {
|
|
162
|
+
return has(tokType, "categoryMatchesMap");
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export function isTokenType(tokType: TokenType): boolean {
|
|
166
|
+
return has(tokType, "tokenTypeIdx");
|
|
167
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const EOF_TOKEN_TYPE = 1;
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { has, isString, isUndefined } from "lodash-es";
|
|
2
|
+
import { Lexer } from "./lexer_public.js";
|
|
3
|
+
import { augmentTokenTypes, tokenStructuredMatcher } from "./tokens.js";
|
|
4
|
+
import { IToken, ITokenConfig, TokenType } from "@chevrotain/types";
|
|
5
|
+
|
|
6
|
+
export function tokenLabel(tokType: TokenType): string {
|
|
7
|
+
if (hasTokenLabel(tokType)) {
|
|
8
|
+
return tokType.LABEL;
|
|
9
|
+
} else {
|
|
10
|
+
return tokType.name;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export function tokenName(tokType: TokenType): string {
|
|
15
|
+
return tokType.name;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export function hasTokenLabel(
|
|
19
|
+
obj: TokenType,
|
|
20
|
+
): obj is TokenType & Pick<Required<TokenType>, "LABEL"> {
|
|
21
|
+
return isString(obj.LABEL) && obj.LABEL !== "";
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
const PARENT = "parent";
|
|
25
|
+
const CATEGORIES = "categories";
|
|
26
|
+
const LABEL = "label";
|
|
27
|
+
const GROUP = "group";
|
|
28
|
+
const PUSH_MODE = "push_mode";
|
|
29
|
+
const POP_MODE = "pop_mode";
|
|
30
|
+
const LONGER_ALT = "longer_alt";
|
|
31
|
+
const LINE_BREAKS = "line_breaks";
|
|
32
|
+
const START_CHARS_HINT = "start_chars_hint";
|
|
33
|
+
|
|
34
|
+
export function createToken(config: ITokenConfig): TokenType {
|
|
35
|
+
return createTokenInternal(config);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function createTokenInternal(config: ITokenConfig): TokenType {
|
|
39
|
+
const pattern = config.pattern;
|
|
40
|
+
|
|
41
|
+
const tokenType: TokenType = <any>{};
|
|
42
|
+
tokenType.name = config.name;
|
|
43
|
+
|
|
44
|
+
if (!isUndefined(pattern)) {
|
|
45
|
+
tokenType.PATTERN = pattern;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
if (has(config, PARENT)) {
|
|
49
|
+
throw (
|
|
50
|
+
"The parent property is no longer supported.\n" +
|
|
51
|
+
"See: https://github.com/chevrotain/chevrotain/issues/564#issuecomment-349062346 for details."
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
if (has(config, CATEGORIES)) {
|
|
56
|
+
// casting to ANY as this will be fixed inside `augmentTokenTypes``
|
|
57
|
+
tokenType.CATEGORIES = <any>config[CATEGORIES];
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
augmentTokenTypes([tokenType]);
|
|
61
|
+
|
|
62
|
+
if (has(config, LABEL)) {
|
|
63
|
+
tokenType.LABEL = config[LABEL];
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
if (has(config, GROUP)) {
|
|
67
|
+
tokenType.GROUP = config[GROUP];
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
if (has(config, POP_MODE)) {
|
|
71
|
+
tokenType.POP_MODE = config[POP_MODE];
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
if (has(config, PUSH_MODE)) {
|
|
75
|
+
tokenType.PUSH_MODE = config[PUSH_MODE];
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
if (has(config, LONGER_ALT)) {
|
|
79
|
+
tokenType.LONGER_ALT = config[LONGER_ALT];
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
if (has(config, LINE_BREAKS)) {
|
|
83
|
+
tokenType.LINE_BREAKS = config[LINE_BREAKS];
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
if (has(config, START_CHARS_HINT)) {
|
|
87
|
+
tokenType.START_CHARS_HINT = config[START_CHARS_HINT];
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
return tokenType;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export const EOF = createToken({ name: "EOF", pattern: Lexer.NA });
|
|
94
|
+
augmentTokenTypes([EOF]);
|
|
95
|
+
|
|
96
|
+
export function createTokenInstance(
|
|
97
|
+
tokType: TokenType,
|
|
98
|
+
image: string,
|
|
99
|
+
startOffset: number,
|
|
100
|
+
endOffset: number,
|
|
101
|
+
startLine: number,
|
|
102
|
+
endLine: number,
|
|
103
|
+
startColumn: number,
|
|
104
|
+
endColumn: number,
|
|
105
|
+
): IToken {
|
|
106
|
+
return {
|
|
107
|
+
image,
|
|
108
|
+
startOffset,
|
|
109
|
+
endOffset,
|
|
110
|
+
startLine,
|
|
111
|
+
endLine,
|
|
112
|
+
startColumn,
|
|
113
|
+
endColumn,
|
|
114
|
+
tokenTypeIdx: (<any>tokType).tokenTypeIdx,
|
|
115
|
+
tokenType: tokType,
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export function tokenMatcher(token: IToken, tokType: TokenType): boolean {
|
|
120
|
+
return tokenStructuredMatcher(token, tokType);
|
|
121
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export interface IRange {
|
|
2
|
+
start: number;
|
|
3
|
+
end: number;
|
|
4
|
+
|
|
5
|
+
contains(num: number): boolean;
|
|
6
|
+
|
|
7
|
+
containsRange(other: IRange): boolean;
|
|
8
|
+
|
|
9
|
+
isContainedInRange(other: IRange): boolean;
|
|
10
|
+
|
|
11
|
+
strictlyContainsRange(other: IRange): boolean;
|
|
12
|
+
|
|
13
|
+
isStrictlyContainedInRange(other: IRange): boolean;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export class Range implements IRange {
|
|
17
|
+
constructor(
|
|
18
|
+
public start: number,
|
|
19
|
+
public end: number,
|
|
20
|
+
) {
|
|
21
|
+
if (!isValidRange(start, end)) {
|
|
22
|
+
throw new Error("INVALID RANGE");
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
contains(num: number): boolean {
|
|
27
|
+
return this.start <= num && this.end >= num;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
containsRange(other: IRange): boolean {
|
|
31
|
+
return this.start <= other.start && this.end >= other.end;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
isContainedInRange(other: IRange): boolean {
|
|
35
|
+
return other.containsRange(this);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
strictlyContainsRange(other: IRange): boolean {
|
|
39
|
+
return this.start < other.start && this.end > other.end;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
isStrictlyContainedInRange(other: IRange): boolean {
|
|
43
|
+
return other.strictlyContainsRange(this);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function isValidRange(start: number, end: number): boolean {
|
|
48
|
+
return !(start < 0 || end < start);
|
|
49
|
+
}
|