@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,968 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Railroad Diagrams
|
|
3
|
+
by Tab Atkins Jr. (and others)
|
|
4
|
+
http://xanthir.com
|
|
5
|
+
http://twitter.com/tabatkins
|
|
6
|
+
http://github.com/tabatkins/railroad-diagrams
|
|
7
|
+
|
|
8
|
+
This document and all associated files in the github project are licensed under CC0: http://creativecommons.org/publicdomain/zero/1.0/
|
|
9
|
+
This means you can reuse, remix, or otherwise appropriate this project for your own use WITHOUT RESTRICTION.
|
|
10
|
+
(The actual legal meaning can be found at the above link.)
|
|
11
|
+
Don't ask me for permission to use any part of this project, JUST USE IT.
|
|
12
|
+
I would appreciate attribution, but that is not required by the license.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/*
|
|
16
|
+
This file uses a module pattern to avoid leaking names into the global scope.
|
|
17
|
+
The only accidental leakage is the name "temp".
|
|
18
|
+
The exported names can be found at the bottom of this file;
|
|
19
|
+
simply change the names in the array of strings to change what they are called in your application.
|
|
20
|
+
|
|
21
|
+
As well, several configuration constants are passed into the module function at the bottom of this file.
|
|
22
|
+
At runtime, these constants can be found on the Diagram class.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
(function (options) {
|
|
26
|
+
function subclassOf(baseClass, superClass) {
|
|
27
|
+
baseClass.prototype = Object.create(superClass.prototype);
|
|
28
|
+
baseClass.prototype.$super = superClass.prototype;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function unnull(/* children */) {
|
|
32
|
+
return [].slice.call(arguments).reduce(function (sofar, x) {
|
|
33
|
+
return sofar !== undefined ? sofar : x;
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function determineGaps(outer, inner) {
|
|
38
|
+
var diff = outer - inner;
|
|
39
|
+
switch (Diagram.INTERNAL_ALIGNMENT) {
|
|
40
|
+
case "left":
|
|
41
|
+
return [0, diff];
|
|
42
|
+
break;
|
|
43
|
+
case "right":
|
|
44
|
+
return [diff, 0];
|
|
45
|
+
break;
|
|
46
|
+
case "center":
|
|
47
|
+
default:
|
|
48
|
+
return [diff / 2, diff / 2];
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function wrapString(value) {
|
|
54
|
+
return typeof value == "string" ? new Terminal(value) : value;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
function stackAtIllegalPosition(items) {
|
|
58
|
+
/* The height of the last line of the Stack is determined by the last child and
|
|
59
|
+
therefore any element outside the Stack could overlap with other elements.
|
|
60
|
+
If the Stack is the last element no overlap can occur. */
|
|
61
|
+
for (var i = 0; i < items.length; i++) {
|
|
62
|
+
if (items[i] instanceof Stack && i !== items.length - 1) {
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
function SVG(name, attrs, text) {
|
|
70
|
+
attrs = attrs || {};
|
|
71
|
+
text = text || "";
|
|
72
|
+
var el = document.createElementNS("http://www.w3.org/2000/svg", name);
|
|
73
|
+
for (var attr in attrs) {
|
|
74
|
+
if (attr === "xlink:href")
|
|
75
|
+
el.setAttributeNS("http://www.w3.org/1999/xlink", "href", attrs[attr]);
|
|
76
|
+
else el.setAttribute(attr, attrs[attr]);
|
|
77
|
+
}
|
|
78
|
+
el.textContent = text;
|
|
79
|
+
return el;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
function FakeSVG(tagName, attrs, text) {
|
|
83
|
+
if (!(this instanceof FakeSVG)) return new FakeSVG(tagName, attrs, text);
|
|
84
|
+
if (text) this.children = text;
|
|
85
|
+
else this.children = [];
|
|
86
|
+
this.tagName = tagName;
|
|
87
|
+
this.attrs = unnull(attrs, {});
|
|
88
|
+
return this;
|
|
89
|
+
}
|
|
90
|
+
FakeSVG.prototype.format = function (x, y, width) {
|
|
91
|
+
// Virtual
|
|
92
|
+
};
|
|
93
|
+
FakeSVG.prototype.addTo = function (parent) {
|
|
94
|
+
if (parent instanceof FakeSVG) {
|
|
95
|
+
parent.children.push(this);
|
|
96
|
+
return this;
|
|
97
|
+
} else {
|
|
98
|
+
var svg = this.toSVG();
|
|
99
|
+
parent.appendChild(svg);
|
|
100
|
+
return svg;
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
FakeSVG.prototype.escapeString = function (string) {
|
|
104
|
+
// Escape markdown and HTML special characters
|
|
105
|
+
return string.replace(/[*_\`\[\]<&]/g, function (charString) {
|
|
106
|
+
return "&#" + charString.charCodeAt(0) + ";";
|
|
107
|
+
});
|
|
108
|
+
};
|
|
109
|
+
FakeSVG.prototype.toSVG = function () {
|
|
110
|
+
var el = SVG(this.tagName, this.attrs);
|
|
111
|
+
if (typeof this.children == "string") {
|
|
112
|
+
el.textContent = this.children;
|
|
113
|
+
} else {
|
|
114
|
+
this.children.forEach(function (e) {
|
|
115
|
+
el.appendChild(e.toSVG());
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
return el;
|
|
119
|
+
};
|
|
120
|
+
FakeSVG.prototype.toString = function () {
|
|
121
|
+
var str = "<" + this.tagName;
|
|
122
|
+
var group = this.tagName == "g" || this.tagName == "svg";
|
|
123
|
+
for (var attr in this.attrs) {
|
|
124
|
+
str +=
|
|
125
|
+
" " +
|
|
126
|
+
attr +
|
|
127
|
+
'="' +
|
|
128
|
+
(this.attrs[attr] + "").replace(/&/g, "&").replace(/"/g, """) +
|
|
129
|
+
'"';
|
|
130
|
+
}
|
|
131
|
+
str += ">";
|
|
132
|
+
if (group) str += "\n";
|
|
133
|
+
if (typeof this.children == "string") {
|
|
134
|
+
str += FakeSVG.prototype.escapeString(this.children);
|
|
135
|
+
} else {
|
|
136
|
+
this.children.forEach(function (e) {
|
|
137
|
+
str += e;
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
str += "</" + this.tagName + ">\n";
|
|
141
|
+
return str;
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
function Path(x, y) {
|
|
145
|
+
if (!(this instanceof Path)) return new Path(x, y);
|
|
146
|
+
FakeSVG.call(this, "path");
|
|
147
|
+
this.attrs.d = "M" + x + " " + y;
|
|
148
|
+
}
|
|
149
|
+
subclassOf(Path, FakeSVG);
|
|
150
|
+
Path.prototype.m = function (x, y) {
|
|
151
|
+
this.attrs.d += "m" + x + " " + y;
|
|
152
|
+
return this;
|
|
153
|
+
};
|
|
154
|
+
Path.prototype.h = function (val) {
|
|
155
|
+
this.attrs.d += "h" + val;
|
|
156
|
+
return this;
|
|
157
|
+
};
|
|
158
|
+
Path.prototype.right = Path.prototype.h;
|
|
159
|
+
Path.prototype.left = function (val) {
|
|
160
|
+
return this.h(-val);
|
|
161
|
+
};
|
|
162
|
+
Path.prototype.v = function (val) {
|
|
163
|
+
this.attrs.d += "v" + val;
|
|
164
|
+
return this;
|
|
165
|
+
};
|
|
166
|
+
Path.prototype.down = Path.prototype.v;
|
|
167
|
+
Path.prototype.up = function (val) {
|
|
168
|
+
return this.v(-val);
|
|
169
|
+
};
|
|
170
|
+
Path.prototype.arc = function (sweep) {
|
|
171
|
+
var x = Diagram.ARC_RADIUS;
|
|
172
|
+
var y = Diagram.ARC_RADIUS;
|
|
173
|
+
if (sweep[0] == "e" || sweep[1] == "w") {
|
|
174
|
+
x *= -1;
|
|
175
|
+
}
|
|
176
|
+
if (sweep[0] == "s" || sweep[1] == "n") {
|
|
177
|
+
y *= -1;
|
|
178
|
+
}
|
|
179
|
+
if (sweep == "ne" || sweep == "es" || sweep == "sw" || sweep == "wn") {
|
|
180
|
+
var cw = 1;
|
|
181
|
+
} else {
|
|
182
|
+
var cw = 0;
|
|
183
|
+
}
|
|
184
|
+
this.attrs.d +=
|
|
185
|
+
"a" +
|
|
186
|
+
Diagram.ARC_RADIUS +
|
|
187
|
+
" " +
|
|
188
|
+
Diagram.ARC_RADIUS +
|
|
189
|
+
" 0 0 " +
|
|
190
|
+
cw +
|
|
191
|
+
" " +
|
|
192
|
+
x +
|
|
193
|
+
" " +
|
|
194
|
+
y;
|
|
195
|
+
return this;
|
|
196
|
+
};
|
|
197
|
+
Path.prototype.format = function () {
|
|
198
|
+
// All paths in this library start/end horizontally.
|
|
199
|
+
// The extra .5 ensures a minor overlap, so there's no seams in bad rasterizers.
|
|
200
|
+
this.attrs.d += "h.5";
|
|
201
|
+
return this;
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
function Diagram(items) {
|
|
205
|
+
if (!(this instanceof Diagram))
|
|
206
|
+
return new Diagram([].slice.call(arguments));
|
|
207
|
+
FakeSVG.call(this, "svg", { class: Diagram.DIAGRAM_CLASS });
|
|
208
|
+
if (stackAtIllegalPosition(items)) {
|
|
209
|
+
throw new RangeError(
|
|
210
|
+
"Stack() must only occur at the very last position of Diagram().",
|
|
211
|
+
);
|
|
212
|
+
}
|
|
213
|
+
this.items = items.map(wrapString);
|
|
214
|
+
this.items.unshift(new Start());
|
|
215
|
+
this.items.push(new End());
|
|
216
|
+
this.width =
|
|
217
|
+
this.items.reduce(function (sofar, el) {
|
|
218
|
+
return sofar + el.width + (el.needsSpace ? 20 : 0);
|
|
219
|
+
}, 0) + 1;
|
|
220
|
+
this.height = this.items.reduce(function (sofar, el) {
|
|
221
|
+
return sofar + el.height;
|
|
222
|
+
}, 0);
|
|
223
|
+
this.up = Math.max.apply(
|
|
224
|
+
null,
|
|
225
|
+
this.items.map(function (x) {
|
|
226
|
+
return x.up;
|
|
227
|
+
}),
|
|
228
|
+
);
|
|
229
|
+
this.down = Math.max.apply(
|
|
230
|
+
null,
|
|
231
|
+
this.items.map(function (x) {
|
|
232
|
+
return x.down;
|
|
233
|
+
}),
|
|
234
|
+
);
|
|
235
|
+
this.formatted = false;
|
|
236
|
+
}
|
|
237
|
+
subclassOf(Diagram, FakeSVG);
|
|
238
|
+
for (var option in options) {
|
|
239
|
+
Diagram[option] = options[option];
|
|
240
|
+
}
|
|
241
|
+
Diagram.prototype.format = function (paddingt, paddingr, paddingb, paddingl) {
|
|
242
|
+
paddingt = unnull(paddingt, 20);
|
|
243
|
+
paddingr = unnull(paddingr, paddingt, 20);
|
|
244
|
+
paddingb = unnull(paddingb, paddingt, 20);
|
|
245
|
+
paddingl = unnull(paddingl, paddingr, 20);
|
|
246
|
+
var x = paddingl;
|
|
247
|
+
var y = paddingt;
|
|
248
|
+
y += this.up;
|
|
249
|
+
var g = FakeSVG(
|
|
250
|
+
"g",
|
|
251
|
+
Diagram.STROKE_ODD_PIXEL_LENGTH ? { transform: "translate(.5 .5)" } : {},
|
|
252
|
+
);
|
|
253
|
+
for (var i = 0; i < this.items.length; i++) {
|
|
254
|
+
var item = this.items[i];
|
|
255
|
+
if (item.needsSpace) {
|
|
256
|
+
Path(x, y).h(10).addTo(g);
|
|
257
|
+
x += 10;
|
|
258
|
+
}
|
|
259
|
+
item.format(x, y, item.width + item.offsetX).addTo(g);
|
|
260
|
+
x += item.width + item.offsetX;
|
|
261
|
+
y += item.height;
|
|
262
|
+
if (item.needsSpace) {
|
|
263
|
+
Path(x, y).h(10).addTo(g);
|
|
264
|
+
x += 10;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
this.attrs.width = this.width + paddingl + paddingr;
|
|
268
|
+
this.attrs.height = this.up + this.height + this.down + paddingt + paddingb;
|
|
269
|
+
this.attrs.viewBox = "0 0 " + this.attrs.width + " " + this.attrs.height;
|
|
270
|
+
g.addTo(this);
|
|
271
|
+
this.formatted = true;
|
|
272
|
+
return this;
|
|
273
|
+
};
|
|
274
|
+
Diagram.prototype.addTo = function (parent) {
|
|
275
|
+
var scriptTag = document.getElementsByTagName("script");
|
|
276
|
+
scriptTag = scriptTag[scriptTag.length - 1];
|
|
277
|
+
var parentTag = scriptTag.parentNode;
|
|
278
|
+
parent = parent || parentTag;
|
|
279
|
+
return this.$super.addTo.call(this, parent);
|
|
280
|
+
};
|
|
281
|
+
Diagram.prototype.toSVG = function () {
|
|
282
|
+
if (!this.formatted) {
|
|
283
|
+
this.format();
|
|
284
|
+
}
|
|
285
|
+
return this.$super.toSVG.call(this);
|
|
286
|
+
};
|
|
287
|
+
Diagram.prototype.toString = function () {
|
|
288
|
+
if (!this.formatted) {
|
|
289
|
+
this.format();
|
|
290
|
+
}
|
|
291
|
+
return this.$super.toString.call(this);
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
function ComplexDiagram() {
|
|
295
|
+
var diagram = new Diagram([].slice.call(arguments));
|
|
296
|
+
var items = diagram.items;
|
|
297
|
+
items.shift();
|
|
298
|
+
items.pop();
|
|
299
|
+
items.unshift(new Start(false));
|
|
300
|
+
items.push(new End(false));
|
|
301
|
+
diagram.items = items;
|
|
302
|
+
return diagram;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
function Sequence(items) {
|
|
306
|
+
if (!(this instanceof Sequence))
|
|
307
|
+
return new Sequence([].slice.call(arguments));
|
|
308
|
+
FakeSVG.call(this, "g");
|
|
309
|
+
if (stackAtIllegalPosition(items)) {
|
|
310
|
+
throw new RangeError(
|
|
311
|
+
"Stack() must only occur at the very last position of Sequence().",
|
|
312
|
+
);
|
|
313
|
+
}
|
|
314
|
+
this.items = items.map(wrapString);
|
|
315
|
+
this.width = this.items.reduce(function (sofar, el) {
|
|
316
|
+
return sofar + el.width + (el.needsSpace ? 20 : 0);
|
|
317
|
+
}, 0);
|
|
318
|
+
this.offsetX = 0;
|
|
319
|
+
this.height = this.items.reduce(function (sofar, el) {
|
|
320
|
+
return sofar + el.height;
|
|
321
|
+
}, 0);
|
|
322
|
+
this.up = this.items.reduce(function (sofar, el) {
|
|
323
|
+
return Math.max(sofar, el.up);
|
|
324
|
+
}, 0);
|
|
325
|
+
this.down = this.items.reduce(function (sofar, el) {
|
|
326
|
+
return Math.max(sofar, el.down);
|
|
327
|
+
}, 0);
|
|
328
|
+
}
|
|
329
|
+
subclassOf(Sequence, FakeSVG);
|
|
330
|
+
Sequence.prototype.format = function (x, y, width) {
|
|
331
|
+
// Hook up the two sides if this is narrower than its stated width.
|
|
332
|
+
var gaps = determineGaps(width, this.width);
|
|
333
|
+
Path(x, y).h(gaps[0]).addTo(this);
|
|
334
|
+
Path(x + gaps[0] + this.width, y + this.height)
|
|
335
|
+
.h(gaps[1])
|
|
336
|
+
.addTo(this);
|
|
337
|
+
x += gaps[0];
|
|
338
|
+
|
|
339
|
+
for (var i = 0; i < this.items.length; i++) {
|
|
340
|
+
var item = this.items[i];
|
|
341
|
+
if (item.needsSpace) {
|
|
342
|
+
Path(x, y).h(10).addTo(this);
|
|
343
|
+
x += 10;
|
|
344
|
+
}
|
|
345
|
+
item.format(x, y, item.width).addTo(this);
|
|
346
|
+
x += item.width;
|
|
347
|
+
y += item.height;
|
|
348
|
+
if (item.needsSpace) {
|
|
349
|
+
Path(x, y).h(10).addTo(this);
|
|
350
|
+
x += 10;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
return this;
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
function Stack(items) {
|
|
357
|
+
if (!(this instanceof Stack)) return new Stack([].slice.call(arguments));
|
|
358
|
+
FakeSVG.call(this, "g");
|
|
359
|
+
if (stackAtIllegalPosition(items)) {
|
|
360
|
+
throw new RangeError(
|
|
361
|
+
"Stack() must only occur at the very last position of Stack().",
|
|
362
|
+
);
|
|
363
|
+
}
|
|
364
|
+
if (items.length === 0) {
|
|
365
|
+
throw new RangeError("Stack() must have at least one child.");
|
|
366
|
+
}
|
|
367
|
+
this.items = items.map(wrapString);
|
|
368
|
+
this.width = this.items.reduce(function (sofar, el) {
|
|
369
|
+
return Math.max(sofar, el.width + (el.needsSpace ? 20 : 0));
|
|
370
|
+
}, 0);
|
|
371
|
+
if (this.items.length > 1) {
|
|
372
|
+
this.width += Diagram.ARC_RADIUS * 2;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
this.up = this.items[0].up;
|
|
376
|
+
this.down = this.items[this.items.length - 1].down;
|
|
377
|
+
|
|
378
|
+
this.height = 0;
|
|
379
|
+
for (var i = 0; i < this.items.length; i++) {
|
|
380
|
+
this.height += this.items[i].height;
|
|
381
|
+
if (i !== this.items.length - 1) {
|
|
382
|
+
this.height +=
|
|
383
|
+
Math.max(this.items[i].down, Diagram.VERTICAL_SEPARATION) +
|
|
384
|
+
Math.max(this.items[i + 1].up, Diagram.VERTICAL_SEPARATION) +
|
|
385
|
+
Diagram.ARC_RADIUS * 4;
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
if (this.items.length === 0) {
|
|
390
|
+
this.offsetX = 0;
|
|
391
|
+
} else {
|
|
392
|
+
// the value is usually negative because the linebreak resets the x value for the next element
|
|
393
|
+
this.offsetX = -(
|
|
394
|
+
this.width -
|
|
395
|
+
this.items[this.items.length - 1].width -
|
|
396
|
+
this.items[this.items.length - 1].offsetX -
|
|
397
|
+
(this.items[this.items.length - 1].needsSpace ? 20 : 0)
|
|
398
|
+
);
|
|
399
|
+
if (this.items.length > 1) {
|
|
400
|
+
this.offsetX += Diagram.ARC_RADIUS * 2;
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
subclassOf(Stack, FakeSVG);
|
|
405
|
+
Stack.prototype.format = function (x, y, width) {
|
|
406
|
+
var xIntitial = x;
|
|
407
|
+
|
|
408
|
+
for (var i = 0; i < this.items.length; i++) {
|
|
409
|
+
var item = this.items[i];
|
|
410
|
+
if (item.needsSpace) {
|
|
411
|
+
Path(x, y).h(10).addTo(this);
|
|
412
|
+
x += 10;
|
|
413
|
+
}
|
|
414
|
+
item
|
|
415
|
+
.format(
|
|
416
|
+
x,
|
|
417
|
+
y,
|
|
418
|
+
Math.max(item.width + item.offsetX, Diagram.ARC_RADIUS * 2),
|
|
419
|
+
)
|
|
420
|
+
.addTo(this);
|
|
421
|
+
x += Math.max(item.width + item.offsetX, Diagram.ARC_RADIUS * 2);
|
|
422
|
+
y += item.height;
|
|
423
|
+
if (item.needsSpace) {
|
|
424
|
+
Path(x, y).h(10).addTo(this);
|
|
425
|
+
x += 10;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
if (i !== this.items.length - 1) {
|
|
429
|
+
Path(x, y)
|
|
430
|
+
.arc("ne")
|
|
431
|
+
.down(Math.max(item.down, Diagram.VERTICAL_SEPARATION))
|
|
432
|
+
.arc("es")
|
|
433
|
+
.left(x - xIntitial - Diagram.ARC_RADIUS * 2)
|
|
434
|
+
.arc("nw")
|
|
435
|
+
.down(Math.max(this.items[i + 1].up, Diagram.VERTICAL_SEPARATION))
|
|
436
|
+
.arc("ws")
|
|
437
|
+
.addTo(this);
|
|
438
|
+
|
|
439
|
+
y +=
|
|
440
|
+
Math.max(item.down, Diagram.VERTICAL_SEPARATION) +
|
|
441
|
+
Math.max(this.items[i + 1].up, Diagram.VERTICAL_SEPARATION) +
|
|
442
|
+
Diagram.ARC_RADIUS * 4;
|
|
443
|
+
x = xIntitial + Diagram.ARC_RADIUS * 2;
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
Path(x, y)
|
|
448
|
+
.h(width - (this.width + this.offsetX))
|
|
449
|
+
.addTo(this);
|
|
450
|
+
|
|
451
|
+
return this;
|
|
452
|
+
};
|
|
453
|
+
|
|
454
|
+
function Choice(normal, items) {
|
|
455
|
+
if (!(this instanceof Choice))
|
|
456
|
+
return new Choice(normal, [].slice.call(arguments, 1));
|
|
457
|
+
FakeSVG.call(this, "g");
|
|
458
|
+
if (typeof normal !== "number" || normal !== Math.floor(normal)) {
|
|
459
|
+
throw new TypeError("The first argument of Choice() must be an integer.");
|
|
460
|
+
} else if (normal < 0 || normal >= items.length) {
|
|
461
|
+
throw new RangeError(
|
|
462
|
+
"The first argument of Choice() must be an index for one of the items.",
|
|
463
|
+
);
|
|
464
|
+
} else {
|
|
465
|
+
this.normal = normal;
|
|
466
|
+
}
|
|
467
|
+
this.items = items.map(wrapString);
|
|
468
|
+
this.width =
|
|
469
|
+
this.items.reduce(function (sofar, el) {
|
|
470
|
+
return Math.max(sofar, el.width);
|
|
471
|
+
}, 0) +
|
|
472
|
+
Diagram.ARC_RADIUS * 4;
|
|
473
|
+
this.offsetX = 0;
|
|
474
|
+
this.height = this.items[normal].height;
|
|
475
|
+
this.up = this.down = 0;
|
|
476
|
+
for (var i = 0; i < this.items.length; i++) {
|
|
477
|
+
var item = this.items[i];
|
|
478
|
+
if (i < normal) {
|
|
479
|
+
this.up += Math.max(
|
|
480
|
+
Diagram.ARC_RADIUS,
|
|
481
|
+
item.up + item.height + item.down + Diagram.VERTICAL_SEPARATION,
|
|
482
|
+
);
|
|
483
|
+
}
|
|
484
|
+
if (i == normal) {
|
|
485
|
+
this.up += Math.max(Diagram.ARC_RADIUS, item.up);
|
|
486
|
+
this.down += Math.max(Diagram.ARC_RADIUS, item.down);
|
|
487
|
+
}
|
|
488
|
+
if (i > normal) {
|
|
489
|
+
this.down += Math.max(
|
|
490
|
+
Diagram.ARC_RADIUS,
|
|
491
|
+
Diagram.VERTICAL_SEPARATION + item.up + item.down + item.height,
|
|
492
|
+
);
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
subclassOf(Choice, FakeSVG);
|
|
497
|
+
Choice.prototype.format = function (x, y, width) {
|
|
498
|
+
// Hook up the two sides if this is narrower than its stated width.
|
|
499
|
+
var gaps = determineGaps(width, this.width);
|
|
500
|
+
Path(x, y).h(gaps[0]).addTo(this);
|
|
501
|
+
Path(x + gaps[0] + this.width, y + this.height)
|
|
502
|
+
.h(gaps[1])
|
|
503
|
+
.addTo(this);
|
|
504
|
+
x += gaps[0];
|
|
505
|
+
|
|
506
|
+
var last = this.items.length - 1;
|
|
507
|
+
var innerWidth = this.width - Diagram.ARC_RADIUS * 4;
|
|
508
|
+
|
|
509
|
+
// Do the elements that curve above
|
|
510
|
+
for (var i = this.normal - 1; i >= 0; i--) {
|
|
511
|
+
var item = this.items[i];
|
|
512
|
+
if (i == this.normal - 1) {
|
|
513
|
+
var distanceFromY = Math.max(
|
|
514
|
+
Diagram.ARC_RADIUS * 2,
|
|
515
|
+
this.items[i + 1].up +
|
|
516
|
+
Diagram.VERTICAL_SEPARATION +
|
|
517
|
+
item.height +
|
|
518
|
+
item.down,
|
|
519
|
+
);
|
|
520
|
+
}
|
|
521
|
+
Path(x, y)
|
|
522
|
+
.arc("se")
|
|
523
|
+
.up(distanceFromY - Diagram.ARC_RADIUS * 2)
|
|
524
|
+
.arc("wn")
|
|
525
|
+
.addTo(this);
|
|
526
|
+
item
|
|
527
|
+
.format(x + Diagram.ARC_RADIUS * 2, y - distanceFromY, innerWidth)
|
|
528
|
+
.addTo(this);
|
|
529
|
+
Path(
|
|
530
|
+
x + Diagram.ARC_RADIUS * 2 + innerWidth,
|
|
531
|
+
y - distanceFromY + item.height,
|
|
532
|
+
)
|
|
533
|
+
.arc("ne")
|
|
534
|
+
.down(
|
|
535
|
+
distanceFromY -
|
|
536
|
+
item.height +
|
|
537
|
+
this.items[this.normal].height -
|
|
538
|
+
Diagram.ARC_RADIUS * 2,
|
|
539
|
+
)
|
|
540
|
+
.arc("ws")
|
|
541
|
+
.addTo(this);
|
|
542
|
+
distanceFromY += Math.max(
|
|
543
|
+
Diagram.ARC_RADIUS,
|
|
544
|
+
item.up +
|
|
545
|
+
Diagram.VERTICAL_SEPARATION +
|
|
546
|
+
(i == 0 ? 0 : this.items[i - 1].down + this.items[i - 1].height),
|
|
547
|
+
);
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
// Do the straight-line path.
|
|
551
|
+
Path(x, y)
|
|
552
|
+
.right(Diagram.ARC_RADIUS * 2)
|
|
553
|
+
.addTo(this);
|
|
554
|
+
this.items[this.normal]
|
|
555
|
+
.format(x + Diagram.ARC_RADIUS * 2, y, innerWidth)
|
|
556
|
+
.addTo(this);
|
|
557
|
+
Path(x + Diagram.ARC_RADIUS * 2 + innerWidth, y + this.height)
|
|
558
|
+
.right(Diagram.ARC_RADIUS * 2)
|
|
559
|
+
.addTo(this);
|
|
560
|
+
|
|
561
|
+
// Do the elements that curve below
|
|
562
|
+
for (var i = this.normal + 1; i <= last; i++) {
|
|
563
|
+
var item = this.items[i];
|
|
564
|
+
if (i == this.normal + 1) {
|
|
565
|
+
var distanceFromY = Math.max(
|
|
566
|
+
Diagram.ARC_RADIUS * 2,
|
|
567
|
+
this.items[i - 1].height +
|
|
568
|
+
this.items[i - 1].down +
|
|
569
|
+
Diagram.VERTICAL_SEPARATION +
|
|
570
|
+
item.up,
|
|
571
|
+
);
|
|
572
|
+
}
|
|
573
|
+
Path(x, y)
|
|
574
|
+
.arc("ne")
|
|
575
|
+
.down(distanceFromY - Diagram.ARC_RADIUS * 2)
|
|
576
|
+
.arc("ws")
|
|
577
|
+
.addTo(this);
|
|
578
|
+
item
|
|
579
|
+
.format(x + Diagram.ARC_RADIUS * 2, y + distanceFromY, innerWidth)
|
|
580
|
+
.addTo(this);
|
|
581
|
+
Path(
|
|
582
|
+
x + Diagram.ARC_RADIUS * 2 + innerWidth,
|
|
583
|
+
y + distanceFromY + item.height,
|
|
584
|
+
)
|
|
585
|
+
.arc("se")
|
|
586
|
+
.up(
|
|
587
|
+
distanceFromY -
|
|
588
|
+
Diagram.ARC_RADIUS * 2 +
|
|
589
|
+
item.height -
|
|
590
|
+
this.items[this.normal].height,
|
|
591
|
+
)
|
|
592
|
+
.arc("wn")
|
|
593
|
+
.addTo(this);
|
|
594
|
+
distanceFromY += Math.max(
|
|
595
|
+
Diagram.ARC_RADIUS,
|
|
596
|
+
item.height +
|
|
597
|
+
item.down +
|
|
598
|
+
Diagram.VERTICAL_SEPARATION +
|
|
599
|
+
(i == last ? 0 : this.items[i + 1].up),
|
|
600
|
+
);
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
return this;
|
|
604
|
+
};
|
|
605
|
+
|
|
606
|
+
function Optional(item, skip) {
|
|
607
|
+
if (skip === undefined) return Choice(1, Skip(), item);
|
|
608
|
+
else if (skip === "skip") return Choice(0, Skip(), item);
|
|
609
|
+
else throw "Unknown value for Optional()'s 'skip' argument.";
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
function OneOrMore(item, rep) {
|
|
613
|
+
if (!(this instanceof OneOrMore)) return new OneOrMore(item, rep);
|
|
614
|
+
FakeSVG.call(this, "g");
|
|
615
|
+
rep = rep || new Skip();
|
|
616
|
+
this.item = wrapString(item);
|
|
617
|
+
this.rep = wrapString(rep);
|
|
618
|
+
this.width =
|
|
619
|
+
Math.max(this.item.width, this.rep.width) + Diagram.ARC_RADIUS * 2;
|
|
620
|
+
this.offsetX = 0;
|
|
621
|
+
this.height = this.item.height;
|
|
622
|
+
this.up = this.item.up;
|
|
623
|
+
this.down = Math.max(
|
|
624
|
+
Diagram.ARC_RADIUS * 2,
|
|
625
|
+
this.item.down +
|
|
626
|
+
Diagram.VERTICAL_SEPARATION +
|
|
627
|
+
this.rep.up +
|
|
628
|
+
this.rep.height +
|
|
629
|
+
this.rep.down,
|
|
630
|
+
);
|
|
631
|
+
}
|
|
632
|
+
subclassOf(OneOrMore, FakeSVG);
|
|
633
|
+
OneOrMore.prototype.needsSpace = true;
|
|
634
|
+
OneOrMore.prototype.format = function (x, y, width) {
|
|
635
|
+
// Hook up the two sides if this is narrower than its stated width.
|
|
636
|
+
var gaps = determineGaps(width, this.width);
|
|
637
|
+
Path(x, y).h(gaps[0]).addTo(this);
|
|
638
|
+
Path(x + gaps[0] + this.width, y + this.height)
|
|
639
|
+
.h(gaps[1])
|
|
640
|
+
.addTo(this);
|
|
641
|
+
x += gaps[0];
|
|
642
|
+
|
|
643
|
+
// Draw item
|
|
644
|
+
Path(x, y).right(Diagram.ARC_RADIUS).addTo(this);
|
|
645
|
+
this.item
|
|
646
|
+
.format(x + Diagram.ARC_RADIUS, y, this.width - Diagram.ARC_RADIUS * 2)
|
|
647
|
+
.addTo(this);
|
|
648
|
+
Path(x + this.width - Diagram.ARC_RADIUS, y + this.height)
|
|
649
|
+
.right(Diagram.ARC_RADIUS)
|
|
650
|
+
.addTo(this);
|
|
651
|
+
|
|
652
|
+
// Draw repeat arc
|
|
653
|
+
var distanceFromY = Math.max(
|
|
654
|
+
Diagram.ARC_RADIUS * 2,
|
|
655
|
+
this.item.height +
|
|
656
|
+
this.item.down +
|
|
657
|
+
Diagram.VERTICAL_SEPARATION +
|
|
658
|
+
this.rep.up,
|
|
659
|
+
);
|
|
660
|
+
Path(x + Diagram.ARC_RADIUS, y)
|
|
661
|
+
.arc("nw")
|
|
662
|
+
.down(distanceFromY - Diagram.ARC_RADIUS * 2)
|
|
663
|
+
.arc("ws")
|
|
664
|
+
.addTo(this);
|
|
665
|
+
this.rep
|
|
666
|
+
.format(
|
|
667
|
+
x + Diagram.ARC_RADIUS,
|
|
668
|
+
y + distanceFromY,
|
|
669
|
+
this.width - Diagram.ARC_RADIUS * 2,
|
|
670
|
+
)
|
|
671
|
+
.addTo(this);
|
|
672
|
+
Path(
|
|
673
|
+
x + this.width - Diagram.ARC_RADIUS,
|
|
674
|
+
y + distanceFromY + this.rep.height,
|
|
675
|
+
)
|
|
676
|
+
.arc("se")
|
|
677
|
+
.up(
|
|
678
|
+
distanceFromY -
|
|
679
|
+
Diagram.ARC_RADIUS * 2 +
|
|
680
|
+
this.rep.height -
|
|
681
|
+
this.item.height,
|
|
682
|
+
)
|
|
683
|
+
.arc("en")
|
|
684
|
+
.addTo(this);
|
|
685
|
+
|
|
686
|
+
return this;
|
|
687
|
+
};
|
|
688
|
+
|
|
689
|
+
function ZeroOrMore(item, rep, skip) {
|
|
690
|
+
return Optional(OneOrMore(item, rep), skip);
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
function Start(simpleType) {
|
|
694
|
+
if (!(this instanceof Start)) return new Start();
|
|
695
|
+
FakeSVG.call(this, "path");
|
|
696
|
+
this.width = 20;
|
|
697
|
+
this.height = 0;
|
|
698
|
+
this.offsetX = 0;
|
|
699
|
+
this.up = 10;
|
|
700
|
+
this.down = 10;
|
|
701
|
+
this.simpleType = simpleType;
|
|
702
|
+
}
|
|
703
|
+
subclassOf(Start, FakeSVG);
|
|
704
|
+
Start.prototype.format = function (x, y) {
|
|
705
|
+
if (this.simpleType === false) {
|
|
706
|
+
this.attrs.d = "M " + x + " " + (y - 10) + " v 20 m 0 -10 h 20.5";
|
|
707
|
+
} else {
|
|
708
|
+
this.attrs.d =
|
|
709
|
+
"M " + x + " " + (y - 10) + " v 20 m 10 -20 v 20 m -10 -10 h 20.5";
|
|
710
|
+
}
|
|
711
|
+
return this;
|
|
712
|
+
};
|
|
713
|
+
|
|
714
|
+
function End(simpleType) {
|
|
715
|
+
if (!(this instanceof End)) return new End();
|
|
716
|
+
FakeSVG.call(this, "path");
|
|
717
|
+
this.width = 20;
|
|
718
|
+
this.height = 0;
|
|
719
|
+
this.offsetX = 0;
|
|
720
|
+
this.up = 10;
|
|
721
|
+
this.down = 10;
|
|
722
|
+
this.simpleType = simpleType;
|
|
723
|
+
}
|
|
724
|
+
subclassOf(End, FakeSVG);
|
|
725
|
+
End.prototype.format = function (x, y) {
|
|
726
|
+
if (this.simpleType === false) {
|
|
727
|
+
this.attrs.d = "M " + x + " " + y + " h 20 m 0 -10 v 20";
|
|
728
|
+
} else {
|
|
729
|
+
this.attrs.d = "M " + x + " " + y + " h 20 m -10 -10 v 20 m 10 -20 v 20";
|
|
730
|
+
}
|
|
731
|
+
return this;
|
|
732
|
+
};
|
|
733
|
+
|
|
734
|
+
function Terminal(
|
|
735
|
+
text,
|
|
736
|
+
href,
|
|
737
|
+
title,
|
|
738
|
+
occurrenceIdx,
|
|
739
|
+
topRuleName,
|
|
740
|
+
dslRuleName,
|
|
741
|
+
tokenName,
|
|
742
|
+
) {
|
|
743
|
+
if (!(this instanceof Terminal))
|
|
744
|
+
return new Terminal(
|
|
745
|
+
text,
|
|
746
|
+
href,
|
|
747
|
+
title,
|
|
748
|
+
occurrenceIdx,
|
|
749
|
+
topRuleName,
|
|
750
|
+
dslRuleName,
|
|
751
|
+
tokenName,
|
|
752
|
+
);
|
|
753
|
+
FakeSVG.call(this, "g", { class: "terminal" });
|
|
754
|
+
this.text = text;
|
|
755
|
+
this.label = text;
|
|
756
|
+
this.href = href;
|
|
757
|
+
this.title = title;
|
|
758
|
+
this.occurrenceIdx = occurrenceIdx;
|
|
759
|
+
this.topRuleName = topRuleName;
|
|
760
|
+
this.dslRuleName = dslRuleName;
|
|
761
|
+
this.tokenName = tokenName;
|
|
762
|
+
this.width =
|
|
763
|
+
text.length * 8 +
|
|
764
|
+
20; /* Assume that each char is .5em, and that the em is 16px */
|
|
765
|
+
this.height = 0;
|
|
766
|
+
this.offsetX = 0;
|
|
767
|
+
this.up = 11;
|
|
768
|
+
this.down = 11;
|
|
769
|
+
}
|
|
770
|
+
subclassOf(Terminal, FakeSVG);
|
|
771
|
+
Terminal.prototype.needsSpace = true;
|
|
772
|
+
Terminal.prototype.format = function (x, y, width) {
|
|
773
|
+
// Hook up the two sides if this is narrower than its stated width.
|
|
774
|
+
var gaps = determineGaps(width, this.width);
|
|
775
|
+
Path(x, y).h(gaps[0]).addTo(this);
|
|
776
|
+
Path(x + gaps[0] + this.width, y)
|
|
777
|
+
.h(gaps[1])
|
|
778
|
+
.addTo(this);
|
|
779
|
+
x += gaps[0];
|
|
780
|
+
|
|
781
|
+
FakeSVG("rect", {
|
|
782
|
+
x: x,
|
|
783
|
+
y: y - 11,
|
|
784
|
+
width: this.width,
|
|
785
|
+
height: this.up + this.down,
|
|
786
|
+
rx: 10,
|
|
787
|
+
ry: 10,
|
|
788
|
+
}).addTo(this);
|
|
789
|
+
|
|
790
|
+
var text = FakeSVG(
|
|
791
|
+
"text",
|
|
792
|
+
{
|
|
793
|
+
x: x + this.width / 2,
|
|
794
|
+
y: y + 4,
|
|
795
|
+
occurrenceIdx: this.occurrenceIdx,
|
|
796
|
+
topRuleName: this.topRuleName,
|
|
797
|
+
dslRuleName: this.dslRuleName,
|
|
798
|
+
tokenName: this.tokenName,
|
|
799
|
+
label: this.label,
|
|
800
|
+
},
|
|
801
|
+
this.text,
|
|
802
|
+
);
|
|
803
|
+
var title = FakeSVG("title", {}, this.title);
|
|
804
|
+
if (this.href)
|
|
805
|
+
FakeSVG("a", { "xlink:href": this.href }, [text]).addTo(this);
|
|
806
|
+
else {
|
|
807
|
+
text.addTo(this);
|
|
808
|
+
if (this.title !== undefined) {
|
|
809
|
+
title.addTo(this);
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
return this;
|
|
813
|
+
};
|
|
814
|
+
|
|
815
|
+
function NonTerminal(text, href, occurrenceIdx, topRuleName) {
|
|
816
|
+
if (!(this instanceof NonTerminal))
|
|
817
|
+
return new NonTerminal(text, href, occurrenceIdx, topRuleName);
|
|
818
|
+
FakeSVG.call(this, "g", { class: "non-terminal" });
|
|
819
|
+
this.text = text;
|
|
820
|
+
this.ruleName = text;
|
|
821
|
+
this.href = href;
|
|
822
|
+
this.occurrenceIdx = occurrenceIdx;
|
|
823
|
+
this.topRuleName = topRuleName;
|
|
824
|
+
this.width = text.length * 8 + 20;
|
|
825
|
+
this.height = 0;
|
|
826
|
+
this.offsetX = 0;
|
|
827
|
+
this.up = 11;
|
|
828
|
+
this.down = 11;
|
|
829
|
+
}
|
|
830
|
+
subclassOf(NonTerminal, FakeSVG);
|
|
831
|
+
NonTerminal.prototype.needsSpace = true;
|
|
832
|
+
NonTerminal.prototype.format = function (x, y, width) {
|
|
833
|
+
// Hook up the two sides if this is narrower than its stated width.
|
|
834
|
+
var gaps = determineGaps(width, this.width);
|
|
835
|
+
Path(x, y).h(gaps[0]).addTo(this);
|
|
836
|
+
Path(x + gaps[0] + this.width, y)
|
|
837
|
+
.h(gaps[1])
|
|
838
|
+
.addTo(this);
|
|
839
|
+
x += gaps[0];
|
|
840
|
+
|
|
841
|
+
FakeSVG("rect", {
|
|
842
|
+
x: x,
|
|
843
|
+
y: y - 11,
|
|
844
|
+
width: this.width,
|
|
845
|
+
height: this.up + this.down,
|
|
846
|
+
}).addTo(this);
|
|
847
|
+
var text = FakeSVG(
|
|
848
|
+
"text",
|
|
849
|
+
{
|
|
850
|
+
x: x + this.width / 2,
|
|
851
|
+
y: y + 4,
|
|
852
|
+
occurrenceIdx: this.occurrenceIdx,
|
|
853
|
+
topRuleName: this.topRuleName,
|
|
854
|
+
ruleName: this.ruleName,
|
|
855
|
+
},
|
|
856
|
+
this.text,
|
|
857
|
+
);
|
|
858
|
+
if (this.href)
|
|
859
|
+
FakeSVG("a", { "xlink:href": this.href }, [text]).addTo(this);
|
|
860
|
+
else text.addTo(this);
|
|
861
|
+
return this;
|
|
862
|
+
};
|
|
863
|
+
|
|
864
|
+
function Comment(text) {
|
|
865
|
+
if (!(this instanceof Comment)) return new Comment(text);
|
|
866
|
+
FakeSVG.call(this, "g");
|
|
867
|
+
this.text = text;
|
|
868
|
+
this.width = text.length * 7 + 10;
|
|
869
|
+
this.height = 0;
|
|
870
|
+
this.offsetX = 0;
|
|
871
|
+
this.up = 11;
|
|
872
|
+
this.down = 11;
|
|
873
|
+
}
|
|
874
|
+
subclassOf(Comment, FakeSVG);
|
|
875
|
+
Comment.prototype.needsSpace = true;
|
|
876
|
+
Comment.prototype.format = function (x, y, width) {
|
|
877
|
+
// Hook up the two sides if this is narrower than its stated width.
|
|
878
|
+
var gaps = determineGaps(width, this.width);
|
|
879
|
+
Path(x, y).h(gaps[0]).addTo(this);
|
|
880
|
+
Path(x + gaps[0] + this.width, y + this.height)
|
|
881
|
+
.h(gaps[1])
|
|
882
|
+
.addTo(this);
|
|
883
|
+
x += gaps[0];
|
|
884
|
+
|
|
885
|
+
FakeSVG(
|
|
886
|
+
"text",
|
|
887
|
+
{
|
|
888
|
+
x: x + this.width / 2,
|
|
889
|
+
y: y + 5,
|
|
890
|
+
class: "comment",
|
|
891
|
+
},
|
|
892
|
+
this.text,
|
|
893
|
+
).addTo(this);
|
|
894
|
+
return this;
|
|
895
|
+
};
|
|
896
|
+
|
|
897
|
+
function Skip() {
|
|
898
|
+
if (!(this instanceof Skip)) return new Skip();
|
|
899
|
+
FakeSVG.call(this, "g");
|
|
900
|
+
this.width = 0;
|
|
901
|
+
this.height = 0;
|
|
902
|
+
this.offsetX = 0;
|
|
903
|
+
this.up = 0;
|
|
904
|
+
this.down = 0;
|
|
905
|
+
}
|
|
906
|
+
subclassOf(Skip, FakeSVG);
|
|
907
|
+
Skip.prototype.format = function (x, y, width) {
|
|
908
|
+
Path(x, y).right(width).addTo(this);
|
|
909
|
+
return this;
|
|
910
|
+
};
|
|
911
|
+
|
|
912
|
+
var root;
|
|
913
|
+
if (typeof define === "function" && define.amd) {
|
|
914
|
+
// AMD. Register as an anonymous module.
|
|
915
|
+
root = {};
|
|
916
|
+
define([], function () {
|
|
917
|
+
return root;
|
|
918
|
+
});
|
|
919
|
+
} else if (typeof exports === "object") {
|
|
920
|
+
// CommonJS for node
|
|
921
|
+
root = exports;
|
|
922
|
+
} else {
|
|
923
|
+
// Browser globals (root is window.railroad)
|
|
924
|
+
this.railroad = {};
|
|
925
|
+
root = this.railroad;
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
var temp = [
|
|
929
|
+
Diagram,
|
|
930
|
+
ComplexDiagram,
|
|
931
|
+
Sequence,
|
|
932
|
+
Stack,
|
|
933
|
+
Choice,
|
|
934
|
+
Optional,
|
|
935
|
+
OneOrMore,
|
|
936
|
+
ZeroOrMore,
|
|
937
|
+
Terminal,
|
|
938
|
+
NonTerminal,
|
|
939
|
+
Comment,
|
|
940
|
+
Skip,
|
|
941
|
+
];
|
|
942
|
+
/*
|
|
943
|
+
These are the names that the internal classes are exported as.
|
|
944
|
+
If you would like different names, adjust them here.
|
|
945
|
+
*/
|
|
946
|
+
[
|
|
947
|
+
"Diagram",
|
|
948
|
+
"ComplexDiagram",
|
|
949
|
+
"Sequence",
|
|
950
|
+
"Stack",
|
|
951
|
+
"Choice",
|
|
952
|
+
"Optional",
|
|
953
|
+
"OneOrMore",
|
|
954
|
+
"ZeroOrMore",
|
|
955
|
+
"Terminal",
|
|
956
|
+
"NonTerminal",
|
|
957
|
+
"Comment",
|
|
958
|
+
"Skip",
|
|
959
|
+
].forEach(function (e, i) {
|
|
960
|
+
root[e] = temp[i];
|
|
961
|
+
});
|
|
962
|
+
}).call(this, {
|
|
963
|
+
VERTICAL_SEPARATION: 8,
|
|
964
|
+
ARC_RADIUS: 10,
|
|
965
|
+
DIAGRAM_CLASS: "railroad-diagram",
|
|
966
|
+
STROKE_ODD_PIXEL_LENGTH: true,
|
|
967
|
+
INTERNAL_ALIGNMENT: "center",
|
|
968
|
+
});
|