@oscharko-dev/keiko 1.3.5 → 1.4.0
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 +12 -1
- package/dist/ui/csp-hashes.json +6 -6
- package/dist/ui/static/404.html +1 -1
- package/dist/ui/static/__next.__PAGE__.txt +36 -35
- package/dist/ui/static/__next._full.txt +42 -41
- package/dist/ui/static/__next._index.txt +20 -20
- package/dist/ui/static/__next._tree.txt +3 -3
- package/dist/ui/static/_next/static/chunks/{0a_27i2rr3ump.js → 0-s9is2lubt4u.js} +1 -1
- package/dist/ui/static/_next/static/chunks/01u47g_c-0xpl.js +1 -0
- package/dist/ui/static/_next/static/chunks/{40k_jn2muy0cc.js → 054bvichrkfha.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{32iqi_5l8og3x.js → 077wtaycd43nt.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0_844mbicmo2e.js +1 -0
- package/dist/ui/static/_next/static/chunks/{2i21bq-a_xnpw.js → 0ee_6jcyt61pj.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0j8k6htc7maws.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0ivdm4rb8fw-v.js → 0kbpujucm3lkb.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{1go5_n12aefbl.js → 0pm9iw5usm6wh.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{3pfzo7lskb82h.js → 0tpycpk_-2te8.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0uh_0z-gtgnce.js +1 -0
- package/dist/ui/static/_next/static/chunks/0wy344j4_i-kt.js +1 -0
- package/dist/ui/static/_next/static/chunks/{2wfyqggh0fnqz.js → 0zlee1nl3tow7.js} +1 -1
- package/dist/ui/static/_next/static/chunks/12558ct1l2m2l.js +1 -0
- package/dist/ui/static/_next/static/chunks/17iebyo_a5eum.js +1 -0
- package/dist/ui/static/_next/static/chunks/1_r--0_0_lut8.js +1 -0
- package/dist/ui/static/_next/static/chunks/1ca9r5i6_0gco.js +1 -0
- package/dist/ui/static/_next/static/chunks/1e7j3d8ldouw-.js +1 -0
- package/dist/ui/static/_next/static/chunks/{42ujh8mqvkem7.js → 1f3qejkbojfb3.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{06g3oe93r_678.js → 1f6ez0i_noelw.js} +1 -1
- package/dist/ui/static/_next/static/chunks/1i7nw5sn-cmnv.js +1 -0
- package/dist/ui/static/_next/static/chunks/1lzwu0q-ssbma.js +1 -0
- package/dist/ui/static/_next/static/chunks/1p4fos-7pdjjc.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0z6-7yghma18f.js → 1r6ctyn3cnlnk.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{3_jiuk-o0u4b8.js → 1rk904femczok.js} +1 -1
- package/dist/ui/static/_next/static/chunks/1xt5xuvobvzla.js +1 -0
- package/dist/ui/static/_next/static/chunks/2-rwt7mg7rypr.js +3 -0
- package/dist/ui/static/_next/static/chunks/20j_c9i0v9e27.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0r77lkincf-_m.js → 248emo5wsoxdu.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{0yyw4taefm8y-.js → 24m_56_q_ru19.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{44q6rup2gv3_v.js → 250kt-rzlrjey.js} +1 -1
- package/dist/ui/static/_next/static/chunks/27waqidbh9p2p.css +1 -0
- package/dist/ui/static/_next/static/chunks/28az_80rlphq6.js +1 -0
- package/dist/ui/static/_next/static/chunks/2a81bykgy9qnj.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1pqcljp4_2qe3.js → 2dbz5eb3w8s_0.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2gh0n9j4f_4go.js +1 -0
- package/dist/ui/static/_next/static/chunks/{2-f_s3dha6lwz.css → 2o60ts_f9lbfq.css} +1 -1
- package/dist/ui/static/_next/static/chunks/{2svyhwq3u6czg.js → 2p7r062xb_f9q.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2qzq9eh-d9xp6.js +1 -0
- package/dist/ui/static/_next/static/chunks/{28jbqfl7obckb.js → 2vlslj_4nf7gu.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2z2f4me1hcs45.js +4 -0
- package/dist/ui/static/_next/static/chunks/3-wizj885wb_o.js +1 -0
- package/dist/ui/static/_next/static/chunks/{28os13ehcs0w8.js → 30azj87mlalvi.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{29xkz3907owjy.css → 34gnwydkoqfzn.css} +5 -6
- package/dist/ui/static/_next/static/chunks/{3w2jrdn8n3a_q.js → 35kx02kcl9w1x.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{2-d9_unc356vl.js → 3cxfs-l32ej0x.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{2l7fx-klib93f.js → 3e3hxg7wp4zp7.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{3jclkr9npha_g.js → 3em107mqtwha9.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3i4571y3ja14w.js +1 -0
- package/dist/ui/static/_next/static/chunks/3oliuh-fq5-a9.js +1 -0
- package/dist/ui/static/_next/static/chunks/3pb3yiauj_r4k.js +1 -0
- package/dist/ui/static/_next/static/chunks/3smzizb4a8fc6.js +1 -0
- package/dist/ui/static/_next/static/chunks/3u79cc2zmzu1j.js +1 -0
- package/dist/ui/static/_next/static/chunks/3uo4ygtasgybr.js +1 -0
- package/dist/ui/static/_next/static/chunks/3ym8dq2ahs9-r.js +1 -0
- package/dist/ui/static/_next/static/chunks/3z03k7begao4q.js +1 -0
- package/dist/ui/static/_next/static/chunks/{28qkmmimb75ae.css → 423zmh6e818kf.css} +5 -0
- package/dist/ui/static/_next/static/chunks/44lm2j1lz8mz2.js +1 -0
- package/dist/ui/static/_next/static/chunks/452aryzc0q0me.js +1 -0
- package/dist/ui/static/_not-found/__next._full.txt +29 -28
- package/dist/ui/static/_not-found/__next._index.txt +20 -20
- package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +26 -25
- package/dist/ui/static/_not-found/__next._tree.txt +2 -2
- package/dist/ui/static/_not-found.html +1 -1
- package/dist/ui/static/_not-found.txt +29 -28
- package/dist/ui/static/atlassian-connectors/__next._full.txt +36 -35
- package/dist/ui/static/atlassian-connectors/__next._index.txt +20 -20
- package/dist/ui/static/atlassian-connectors/__next._tree.txt +3 -3
- package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +33 -32
- package/dist/ui/static/atlassian-connectors.html +1 -1
- package/dist/ui/static/atlassian-connectors.txt +36 -35
- package/dist/ui/static/index.html +1 -1
- package/dist/ui/static/index.txt +42 -41
- package/dist/ui/static/launch/__next._full.txt +43 -42
- package/dist/ui/static/launch/__next._index.txt +20 -20
- package/dist/ui/static/launch/__next._tree.txt +3 -3
- package/dist/ui/static/launch/__next.launch.__PAGE__.txt +40 -39
- package/dist/ui/static/launch.html +1 -1
- package/dist/ui/static/launch.txt +43 -42
- package/dist/ui/static/local-knowledge/__next._full.txt +43 -42
- package/dist/ui/static/local-knowledge/__next._index.txt +20 -20
- package/dist/ui/static/local-knowledge/__next._tree.txt +3 -3
- package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +40 -39
- package/dist/ui/static/local-knowledge/capsule/__next._full.txt +38 -37
- package/dist/ui/static/local-knowledge/capsule/__next._index.txt +20 -20
- package/dist/ui/static/local-knowledge/capsule/__next._tree.txt +3 -3
- package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.__PAGE__.txt +36 -35
- package/dist/ui/static/local-knowledge/capsule.html +1 -1
- package/dist/ui/static/local-knowledge/capsule.txt +38 -37
- package/dist/ui/static/local-knowledge.html +1 -1
- package/dist/ui/static/local-knowledge.txt +43 -42
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory-data.generated.json +143 -7
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts +5 -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 +6 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts +7 -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 +9 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-cli/package.json +15 -15
- package/node_modules/@oscharko-dev/keiko-connectors/dist/adf-to-text.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/adf-to-text.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/adf-to-text.js +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/atlassian-http-port.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/atlassian-http-port.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/atlassian-http-port.js +4 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/atlassian-write-http.d.ts +6 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/atlassian-write-http.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/atlassian-write-http.js +71 -32
- package/node_modules/@oscharko-dev/keiko-connectors/dist/index.d.ts +18 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/index.js +16 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-attachments.d.ts +71 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-attachments.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-attachments.js +154 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-draft-stage-tool.d.ts +73 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-draft-stage-tool.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-draft-stage-tool.js +231 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-draft-store.d.ts +54 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-draft-store.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-draft-store.js +114 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-draft.d.ts +117 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-draft.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-draft.js +544 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-field-metadata.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-field-metadata.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-field-metadata.js +248 -14
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-issue-link-writes.d.ts +12 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-issue-link-writes.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-issue-link-writes.js +61 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-issue-links.d.ts +73 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-issue-links.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-issue-links.js +174 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-issue-template-check.d.ts +83 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-issue-template-check.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-issue-template-check.js +294 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-issue-template-instance.d.ts +44 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-issue-template-instance.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-issue-template-instance.js +216 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-managed-connection.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-managed-connection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-managed-field-reads.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-managed-field-reads.js +93 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-managed-issue-reads.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-managed-issue-reads.js +12 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-managed-metadata.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-managed-metadata.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-managed-metadata.js +14 -2
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-managed-mutation-metadata.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-managed-mutation-metadata.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-managed-mutation-metadata.js +12 -2
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-managed-mutations.d.ts +62 -2
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-managed-mutations.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-managed-mutations.js +683 -74
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-managed-template-gate.d.ts +64 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-managed-template-gate.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-managed-template-gate.js +221 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-managed-tools.d.ts +8 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-managed-tools.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-managed-tools.js +50 -8
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-mutation-confirmation.d.ts +11 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-mutation-confirmation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-mutation-confirmation.js +78 -7
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-mutation-failure.d.ts +13 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-mutation-failure.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-mutation-failure.js +21 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-aggregate.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-aggregate.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-aggregate.js +399 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-args.d.ts +31 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-args.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-args.js +184 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-export.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-export.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-export.js +330 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-figures.d.ts +12 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-figures.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-figures.js +116 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-http.d.ts +30 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-http.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-http.js +34 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-issue.d.ts +43 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-issue.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-issue.js +248 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-jql.d.ts +12 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-jql.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-jql.js +53 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-metadata.d.ts +26 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-metadata.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-metadata.js +143 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-order.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-order.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-order.js +14 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-page.d.ts +26 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-page.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-page.js +93 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-read.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-read.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-read.js +281 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-result.d.ts +31 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-result.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-result.js +236 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-session.d.ts +74 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-session.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-session.js +90 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-store.d.ts +32 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-store.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-store.js +71 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-template-checker.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-template-checker.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-template-checker.js +128 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-tool.d.ts +66 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-tool.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-tool.js +226 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-types.d.ts +253 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-types.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report-types.js +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report.fixture.d.ts +74 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report.fixture.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report.fixture.js +272 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report.harness.d.ts +25 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report.harness.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-report.harness.js +48 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-requirement-trace.d.ts +47 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-requirement-trace.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-requirement-trace.js +192 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-store-bounds.d.ts +14 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-store-bounds.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-connectors/dist/jira-store-bounds.js +24 -0
- 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 +35 -15
- 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 +115 -14
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-coverage.generated.json +993 -10
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-identity.generated.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-identity.generated.js +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operation-surfaces.generated.json +10 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts +927 -38
- 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 +1038 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/atlassian-connectors.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/atlassian-connectors.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/atlassian-connectors.js +8 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts +35 -5
- 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 +23 -6
- package/node_modules/@oscharko-dev/keiko-contracts/dist/chat-tool-authority.d.ts +10 -6
- package/node_modules/@oscharko-dev/keiko-contracts/dist/chat-tool-authority.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/chat-tool-authority.js +37 -15
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.js +13 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.js +6 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/comparators.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/comparators.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/comparators.js +16 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/deep-freeze.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/deep-freeze.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/deep-freeze.js +30 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/jira-description-sections.d.ts +27 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/jira-description-sections.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/jira-description-sections.js +189 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/jira-issue-template.d.ts +99 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/jira-issue-template.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/jira-issue-template.js +460 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/jira-report.d.ts +50 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/jira-report.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/jira-report.js +57 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/jira-template-pattern.d.ts +21 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/jira-template-pattern.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/jira-template-pattern.js +402 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/jira-tool-execution.d.ts +111 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/jira-tool-execution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/jira-tool-execution.js +227 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/jira-tool-fields.d.ts +14 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/jira-tool-fields.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/jira-tool-fields.js +10 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/local-knowledge-file-selection.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/local-knowledge-file-selection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/local-knowledge-file-selection.js +2 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/managed-mcp.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/managed-mcp.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/verification.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/verification.d.ts.map +1 -1
- 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 +1 -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/bounded-document-extraction.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/bounded-document-extraction.js +4 -18
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/bounded-ooxml-package.d.ts +22 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/bounded-ooxml-package.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/bounded-ooxml-package.js +30 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/grounded-answer-runner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/grounded-answer-runner.js +38 -6
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/types.d.ts +25 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/discovery/media-type.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/discovery/media-type.js +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/index.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/index.js +3 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/_internal.d.ts +7 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/_internal.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/_internal.js +13 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/docx-parser.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/docx-parser.js +26 -233
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/index.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/index.js +3 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/ooxml-zip.d.ts +46 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/ooxml-zip.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/ooxml-zip.js +214 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/parser-test-fixtures.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/parser-test-fixtures.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/parser-test-fixtures.js +110 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/pptx-parser.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/pptx-parser.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/pptx-parser.js +339 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/pptx-test-fixtures.d.ts +29 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/pptx-test-fixtures.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/pptx-test-fixtures.js +79 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/pptx-xml.d.ts +51 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/pptx-xml.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/pptx-xml.js +306 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/types.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/types.js +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/xlsx-parser.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/xlsx-parser.js +18 -144
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/qualityIntelligence/index.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/qualityIntelligence/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/qualityIntelligence/index.js +2 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/qualityIntelligence/scopeDocuments.d.ts +63 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/qualityIntelligence/scopeDocuments.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/qualityIntelligence/scopeDocuments.js +206 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/retrieval-runner.d.ts +12 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/retrieval-runner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/retrieval-runner.js +3 -0
- 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-mcp/dist/host.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-mcp/dist/host.js +22 -1
- package/node_modules/@oscharko-dev/keiko-mcp/dist/relay-endpoint.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-mcp/dist/relay-endpoint.js +1 -0
- package/node_modules/@oscharko-dev/keiko-mcp/package.json +3 -3
- 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/gateway.d.ts +14 -4
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway.js +65 -72
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/toolCatalogBridge.d.ts +4 -12
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/toolCatalogBridge.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/toolCatalogBridge.js +39 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/toolSchemaCorrection.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/toolSchemaCorrection.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/toolSchemaCorrection.js +38 -0
- 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/dist/domain/requirementChanges.d.ts +42 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/domain/requirementChanges.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/domain/requirementChanges.js +103 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/domain/requirementInventory.d.ts +77 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/domain/requirementInventory.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/domain/requirementInventory.js +722 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/domain/requirementInventoryQuality.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/domain/requirementInventoryQuality.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/domain/requirementInventoryQuality.js +53 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/domain/requirementTable.d.ts +36 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/domain/requirementTable.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/domain/requirementTable.js +127 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/domain/requirementText.d.ts +20 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/domain/requirementText.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/domain/requirementText.js +73 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/domain/requirementTrace.d.ts +82 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/domain/requirementTrace.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/domain/requirementTrace.js +185 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/domain/requirementVocabulary.d.ts +64 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/domain/requirementVocabulary.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/domain/requirementVocabulary.js +306 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/index.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/index.js +5 -0
- 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/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 +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/_requirementSupport.d.ts +46 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/_requirementSupport.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/_requirementSupport.js +250 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/activity-line-fields.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/activity-line-fields.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/actionApprovals.d.ts +7 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/actionApprovals.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/actionApprovals.js +27 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/actionOutcomeActivity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/actionOutcomeActivity.js +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/chatWriteApprovalRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/chatWriteApprovalRoutes.js +4 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/chatWriteApprovalState.d.ts +13 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/chatWriteApprovalState.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/chatWriteApprovalState.js +19 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/httpPort.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/httpPort.js +23 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/httpRequestLifecycle.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/httpRequestLifecycle.js +9 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraAttachmentContentPolicy.d.ts +44 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraAttachmentContentPolicy.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraAttachmentContentPolicy.js +411 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraAttachmentMarkupText.d.ts +9 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraAttachmentMarkupText.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraAttachmentMarkupText.js +64 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraAttachmentPdfSyntax.d.ts +30 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraAttachmentPdfSyntax.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraAttachmentPdfSyntax.js +367 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatAttachment.d.ts +57 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatAttachment.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatAttachment.js +349 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatAuthority.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatAuthority.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatAuthority.js +12 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatBindingPatch.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatBindingPatch.js +14 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatCatalogConsumer.d.ts +16 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatCatalogConsumer.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatCatalogConsumer.js +38 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatCatalogRuntime.d.ts +24 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatCatalogRuntime.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatCatalogRuntime.js +227 -25
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatCatalogWrite.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatCatalogWrite.js +14 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatDraft.d.ts +91 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatDraft.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatDraft.js +547 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatDraftArguments.d.ts +32 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatDraftArguments.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatDraftArguments.js +65 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatMutation.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatMutation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatMutation.js +58 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatTemplatePreflight.d.ts +23 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatTemplatePreflight.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatTemplatePreflight.js +253 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatToolTurn.d.ts +15 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatToolTurn.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatToolTurn.js +71 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatWriteApproval.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatWriteApproval.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatWriteApproval.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraDraftActivity.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraDraftActivity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraDraftActivity.js +92 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraDraftDescriptor.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraDraftDescriptor.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraDraftDescriptor.js +64 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraDraftKeyRanges.d.ts +34 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraDraftKeyRanges.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraDraftKeyRanges.js +105 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraDraftRoutes.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraDraftRoutes.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraDraftRoutes.js +65 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraManagedMutationDescriptors.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraManagedMutationDescriptors.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraManagedMutationDescriptors.js +305 -27
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraManagedProvider.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraManagedProvider.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraManagedProvider.js +34 -17
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraMutationResult.d.ts +24 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraMutationResult.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraMutationResult.js +151 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraMutationToolId.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraMutationToolId.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraMutationToolId.js +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraReportActivity.d.ts +17 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraReportActivity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraReportActivity.js +214 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraReportDescriptor.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraReportDescriptor.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraReportDescriptor.js +70 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraReportRoutes.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraReportRoutes.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraReportRoutes.js +57 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraTemplateLog.d.ts +26 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraTemplateLog.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraTemplateLog.js +154 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraToolGuidance.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraToolGuidance.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraToolGuidance.js +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-activity.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-activity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-activity.js +9 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-breakdown.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-breakdown.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-breakdown.js +14 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-connectors.d.ts +21 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-connectors.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-connectors.js +109 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-log.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-log.js +19 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-status.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-status.js +33 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts +2 -0
- 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 +2 -2
- 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 +6 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.js +20 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-approvals.d.ts +9 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-approvals.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-approvals.js +46 -18
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-continuation-fit.d.ts +13 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-continuation-fit.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-continuation-fit.js +64 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-receipts.d.ts +25 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-receipts.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-receipts.js +100 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-report-coverage.d.ts +36 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-report-coverage.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-report-coverage.js +217 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-runtime.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-runtime.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-runtime.js +60 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-sources-turn.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-sources-turn.js +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-sources.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-sources.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-turn-budget.d.ts +19 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-turn-budget.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-turn-budget.js +45 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-turn-ending.d.ts +73 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-turn-ending.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-turn-ending.js +305 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-turn.d.ts +95 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-turn.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-tool-turn.js +357 -35
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-turn-serializer.d.ts +8 -1
- 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 +33 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodBinding.d.ts +14 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodBinding.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodBinding.js +37 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodMcp.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodMcp.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodMcp.js +34 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.js +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorTypes.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorTypes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.js +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolGovernedDelegate.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolGovernedDelegate.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolGovernedDelegate.js +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.js +14 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.d.ts +22 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.js +11 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.js +23 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.js +6 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-admission.d.ts +9 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-admission.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-admission.js +22 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts +9 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.js +16 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/chatAuthorityActivity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/chatAuthorityActivity.js +37 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRunner.d.ts +7 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRunner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRunner.js +159 -53
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRunnerErrors.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRunnerErrors.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRunnerErrors.js +11 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/files.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/files.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/files.js +31 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-activity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-activity.js +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer.js +45 -14
- 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 +2 -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 +9 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-gateway-error-status.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-gateway-error-status.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-gateway-error-status.js +20 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-plural-synthesis.d.ts +10 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-plural-synthesis.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-plural-synthesis.js +11 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-hybrid.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-hybrid.js +7 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-multi-source.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-multi-source.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.d.ts +3 -2
- 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 +18 -20
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-grounded-qa.d.ts +4 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-grounded-qa.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-grounded-qa.js +114 -30
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-jira-template-routes.d.ts +14 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-jira-template-routes.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-jira-template-routes.js +114 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-log.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-log.js +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-routes.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-routes.js +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpChatAuthority.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpChatAuthority.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpChatAuthority.js +18 -17
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpChatCatalogRuntime.d.ts +9 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpChatCatalogRuntime.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpChatCatalogRuntime.js +17 -12
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpChatDescriptors.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpChatDescriptors.js +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpChatSelection.d.ts +14 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpChatSelection.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpChatSelection.js +24 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpChatToolTurn.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpChatToolTurn.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpChatWriteApproval.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpChatWriteApproval.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpConfiguredConnections.d.ts +7 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpConfiguredConnections.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpConfiguredConnections.js +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpCredentialRelay.d.ts +2 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpCredentialRelay.d.ts.map +1 -1
- 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 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/redaction-secrets.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/redaction-secrets.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/requirement-changes.d.ts +54 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/requirement-changes.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/requirement-changes.js +187 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/requirement-coverage-note.d.ts +26 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/requirement-coverage-note.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/requirement-coverage-note.js +48 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/requirement-inventory-activity.d.ts +46 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/requirement-inventory-activity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/requirement-inventory-activity.js +130 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/requirement-inventory.d.ts +90 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/requirement-inventory.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/requirement-inventory.js +289 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/requirement-trace.d.ts +48 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/requirement-trace.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/requirement-trace.js +166 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/requirementsTool.d.ts +30 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/requirementsTool.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/requirementsTool.js +487 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/requirementsToolName.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/requirementsToolName.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/requirementsToolName.js +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/routes.js +20 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chat-grounding-scope-identity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chat-grounding-scope-identity.js +17 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatJiraBinding.d.ts +4 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatJiraBinding.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatJiraBinding.js +55 -12
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatToolApprovalTransition.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatToolApprovalTransition.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatToolApprovalTransition.js +58 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatToolMutationActivity.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatToolMutationActivity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatToolMutationActivity.js +74 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatToolMutationProjection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatToolMutationProjection.js +41 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatToolMutationState.d.ts +9 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatToolMutationState.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatToolMutationState.js +50 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatToolMutationTypes.d.ts +32 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatToolMutationTypes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatToolMutations.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatToolMutations.js +73 -27
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatToolReadGrants.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatToolReadGrants.js +16 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatToolTranscript.d.ts +9 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatToolTranscript.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatToolTranscript.js +49 -15
- 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 +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkillValidation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkillValidation.js +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkills.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkills.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkills.js +34 -0
- 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 +82 -1
- 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 +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolFacadeBridge.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolFacadeBridge.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/managedProviderCatalog.d.ts +14 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/managedProviderCatalog.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/managedProviderCatalog.js +23 -8
- package/node_modules/@oscharko-dev/keiko-server/package.json +24 -24
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/descriptor.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/descriptor.js +9 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/invocation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/invocation.js +41 -2
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.js +8 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/package.json +3 -3
- 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/dist/detect.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/detect.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/detect.js +4 -2
- package/node_modules/@oscharko-dev/keiko-verification/dist/index.d.ts +4 -2
- package/node_modules/@oscharko-dev/keiko-verification/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/index.js +2 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/orchestrator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/orchestrator.js +69 -9
- package/node_modules/@oscharko-dev/keiko-verification/dist/package-dir.d.ts +51 -0
- package/node_modules/@oscharko-dev/keiko-verification/dist/package-dir.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-verification/dist/package-dir.js +244 -0
- package/node_modules/@oscharko-dev/keiko-verification/dist/plan.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-verification/dist/plan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/plan.js +61 -8
- package/node_modules/@oscharko-dev/keiko-verification/dist/types.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-verification/dist/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
- 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/package.json +3 -3
- package/package.json +29 -29
- package/release-impact.catalog.json +106 -23
- package/vendor/oscharko-dev-keiko-activity-log-1.4.0.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-cli-1.3.5.tgz → oscharko-dev-keiko-cli-1.4.0.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-connectors-1.4.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.4.0.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-evaluations-1.3.5.tgz → oscharko-dev-keiko-evaluations-1.4.0.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-evidence-1.3.5.tgz → oscharko-dev-keiko-evidence-1.4.0.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-git-1.3.5.tgz → oscharko-dev-keiko-git-1.4.0.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-harness-1.3.5.tgz → oscharko-dev-keiko-harness-1.4.0.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-local-knowledge-1.4.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-mcp-1.4.0.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-memory-capture-1.3.5.tgz → oscharko-dev-keiko-memory-capture-1.4.0.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-consolidation-1.3.5.tgz → oscharko-dev-keiko-memory-consolidation-1.4.0.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-governance-1.3.5.tgz → oscharko-dev-keiko-memory-governance-1.4.0.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-retrieval-1.3.5.tgz → oscharko-dev-keiko-memory-retrieval-1.4.0.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-vault-1.3.5.tgz → oscharko-dev-keiko-memory-vault-1.4.0.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.4.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-quality-intelligence-1.4.0.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-sandbox-1.3.5.tgz → oscharko-dev-keiko-sandbox-1.4.0.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-sdk-1.4.0.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-security-1.3.5.tgz → oscharko-dev-keiko-security-1.4.0.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-server-1.4.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.4.0.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-tools-1.3.5.tgz → oscharko-dev-keiko-tools-1.4.0.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-verification-1.4.0.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-workflows-1.3.5.tgz → oscharko-dev-keiko-workflows-1.4.0.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-workspace-1.3.5.tgz → oscharko-dev-keiko-workspace-1.4.0.tgz} +0 -0
- package/dist/ui/static/_next/static/chunks/0-i2xjcha5mb7.js +0 -1
- package/dist/ui/static/_next/static/chunks/06l4zd_sw2y-9.js +0 -1
- package/dist/ui/static/_next/static/chunks/0_rrvhayegpgl.js +0 -1
- package/dist/ui/static/_next/static/chunks/0a1wpvupfbmib.js +0 -1
- package/dist/ui/static/_next/static/chunks/0djrsx1yq9q3r.js +0 -3
- package/dist/ui/static/_next/static/chunks/0dmz4t3ei2uq7.js +0 -1
- package/dist/ui/static/_next/static/chunks/0ly83qo_osuod.js +0 -1
- package/dist/ui/static/_next/static/chunks/0m1qrjisqjere.js +0 -1
- package/dist/ui/static/_next/static/chunks/0svnnxx416bcp.js +0 -1
- package/dist/ui/static/_next/static/chunks/10-_rvoc2btdx.js +0 -1
- package/dist/ui/static/_next/static/chunks/112bj1jo4-ase.js +0 -1
- package/dist/ui/static/_next/static/chunks/13ov-3t5gszyf.js +0 -1
- package/dist/ui/static/_next/static/chunks/19-n1vg7xa0wm.js +0 -1
- package/dist/ui/static/_next/static/chunks/1buzq8xbrkl5r.js +0 -1
- package/dist/ui/static/_next/static/chunks/1bv_ots4aky1s.js +0 -1
- package/dist/ui/static/_next/static/chunks/1e9f1ex2uq29r.js +0 -1
- package/dist/ui/static/_next/static/chunks/1i-keu61dby7z.js +0 -1
- package/dist/ui/static/_next/static/chunks/25mabvr2xs1ql.js +0 -1
- package/dist/ui/static/_next/static/chunks/2g6shdwhrg8_2.js +0 -1
- package/dist/ui/static/_next/static/chunks/2mclpcid8nla6.js +0 -1
- package/dist/ui/static/_next/static/chunks/2qrbagnu1-dgt.js +0 -1
- package/dist/ui/static/_next/static/chunks/2rxwfcn3g_xcj.js +0 -1
- package/dist/ui/static/_next/static/chunks/2yy_pp229f-eb.css +0 -3
- package/dist/ui/static/_next/static/chunks/35ha_z9n1aouj.js +0 -4
- package/dist/ui/static/_next/static/chunks/368errcbd6o_y.js +0 -1
- package/dist/ui/static/_next/static/chunks/3apw-eem5wchc.js +0 -1
- package/dist/ui/static/_next/static/chunks/3hk8fz9b976qs.js +0 -1
- package/dist/ui/static/_next/static/chunks/3ktuwnqu-kln5.js +0 -1
- package/dist/ui/static/_next/static/chunks/3ram28kwenqtb.js +0 -1
- package/dist/ui/static/_next/static/chunks/3wr8-p-uepqia.js +0 -1
- package/dist/ui/static/_next/static/chunks/3xximf7pr40jh.js +0 -1
- package/dist/ui/static/_next/static/chunks/40k7a3hk7rnwa.css +0 -1
- package/dist/ui/static/_next/static/chunks/435_soqjmawxr.js +0 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/chatReadConsentRoutes.d.ts +0 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/chatReadConsentRoutes.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/chatReadConsentRoutes.js +0 -49
- package/vendor/oscharko-dev-keiko-activity-log-1.3.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-connectors-1.3.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.3.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-local-knowledge-1.3.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-mcp-1.3.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.3.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-quality-intelligence-1.3.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-sdk-1.3.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.3.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.3.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-verification-1.3.5.tgz +0 -0
- /package/dist/ui/static/_next/static/{DvyH4zbpyM3K-9QY4w0ah → O4yBwHFHa0mmBnSZlIECH}/_buildManifest.js +0 -0
- /package/dist/ui/static/_next/static/{DvyH4zbpyM3K-9QY4w0ah → O4yBwHFHa0mmBnSZlIECH}/_clientMiddlewareManifest.js +0 -0
- /package/dist/ui/static/_next/static/{DvyH4zbpyM3K-9QY4w0ah → O4yBwHFHa0mmBnSZlIECH}/_ssgManifest.js +0 -0
package/node_modules/@oscharko-dev/keiko-quality-intelligence/dist/domain/requirementInventory.js
ADDED
|
@@ -0,0 +1,722 @@
|
|
|
1
|
+
// Deterministic requirement inventory of one document (#4179, Epic #4173).
|
|
2
|
+
//
|
|
3
|
+
// The requirement units a document states are detected from its plain text and the section
|
|
4
|
+
// boundaries the parser recorded, without a model: identifier, title, priority, acceptance criteria,
|
|
5
|
+
// source span and a content digest. It is a detector, not an oracle: the result counts what was
|
|
6
|
+
// detected and says what it could not read, and it never claims to be complete.
|
|
7
|
+
//
|
|
8
|
+
// Detection rules (pinned by tests):
|
|
9
|
+
// * An identifier is `PREFIX-NUMBER` over upper-case segments joined by `-` or `_` (`R-12`,
|
|
10
|
+
// `REQ-FUNC-001`, `REQ_003`, `FR-12.3`). Reserved prefixes (standards, technologies, criterion
|
|
11
|
+
// numbering) never define a requirement. A heading identifier counts when a body follows or its
|
|
12
|
+
// prefix names a second identifier; a bare `ID title` line needs that second identifier; a
|
|
13
|
+
// separated (`ID: title`), bracketed or table-row identifier always counts.
|
|
14
|
+
// * Units come from blocks (an identifier line or recorded section heading plus its body), table
|
|
15
|
+
// rows, and statements: a sentence with an obligation phrase and no identifier.
|
|
16
|
+
// * A block ends at the next identifier, a heading or section boundary and, in flat text, at a
|
|
17
|
+
// blank line unless the next line is a key line (priority, criteria, metadata), the block has no
|
|
18
|
+
// body yet, the next paragraph leads into a key line, or an unfinished sentence goes on: a PDF
|
|
19
|
+
// page break is a blank line anywhere in a block. Wrapped lines of a paragraph are merged before
|
|
20
|
+
// sentences are read.
|
|
21
|
+
// * Flat text has no recorded headings, so a short line without a closing mark is a chapter heading
|
|
22
|
+
// and not this block's body: directly ahead of the next unit after a finished line, or behind the
|
|
23
|
+
// block's closing field (priority, metadata, a criteria list) whatever follows it.
|
|
24
|
+
// * When an identifier is defined several times (table of contents, then the section), the
|
|
25
|
+
// definition with a body, priority or criteria wins; an empty listing never displaces it. Two
|
|
26
|
+
// bodies with different content are reported as conflicting, never resolved silently.
|
|
27
|
+
// * A statement without an identifier gets `DRV-<8 letters>`: the SHA-256 of the document identity
|
|
28
|
+
// and its normalized wording (a second identical sentence of the same document is told apart by
|
|
29
|
+
// occurrence). It survives edits elsewhere and renumbering, and changes with the wording.
|
|
30
|
+
// * The content digest covers identifier, title, priority, statement and criteria in normalized
|
|
31
|
+
// form only: neither location, nor format, nor the version of this detector.
|
|
32
|
+
import { compareStrings } from "@oscharko-dev/keiko-contracts/runtime/comparators";
|
|
33
|
+
import { sha256Hex } from "@oscharko-dev/keiko-security";
|
|
34
|
+
import { continueProjectedRow, endsInParagraphCell, openProjectedRow, parseProjectedRow, tableCells, parseTableHeader, parseTableRow, } from "./requirementTable.js";
|
|
35
|
+
import { ID_START, LIST_MARKER, MARKDOWN_HEADING, bare, collapse, idPrefix, lineAt, splitLines, trimTrailingMarks, } from "./requirementText.js";
|
|
36
|
+
import { compileRequirementVocabulary, foldTerm, } from "./requirementVocabulary.js";
|
|
37
|
+
export const REQUIREMENT_INVENTORY_ENTRIES_MAX = 500;
|
|
38
|
+
export const REQUIREMENT_DIGEST_SHORT_LENGTH = 12;
|
|
39
|
+
export const REQUIREMENT_DOCUMENT_SCOPE_LENGTH = 8;
|
|
40
|
+
export function documentScopeOf(documentKey) {
|
|
41
|
+
return sha256Hex(`keiko-document|${documentKey}`).slice(0, REQUIREMENT_DOCUMENT_SCOPE_LENGTH);
|
|
42
|
+
}
|
|
43
|
+
const SEPARATOR = /^\s*(?:[:–—]|-(?=\s)|[.)](?=\s|$))/u;
|
|
44
|
+
const SLIDE_LABEL = /^(?:Slide|Folie|Seite|Page)\s+\d+\s*[:.\-–—]\s*/iu;
|
|
45
|
+
const CRITERION_NUMBER = /^AC[\s-]?\d+\s*[:.)-]\s*/iu;
|
|
46
|
+
const MERGED_ITEMS = /(?<=[.!?])(?=\p{Lu})/u;
|
|
47
|
+
/** Presentation text joins the fields of a record on one line with a middle dot. */
|
|
48
|
+
const FIELD_SEPARATOR = " · ";
|
|
49
|
+
const SENTENCE_BREAK = /(?<=[.!?])\s+(?=\p{Lu})/u;
|
|
50
|
+
const TITLE_FALLBACK_CHARS = 80;
|
|
51
|
+
const STATEMENT_MIN_CHARS = 12;
|
|
52
|
+
const STATEMENT_MAX_CHARS = 4000;
|
|
53
|
+
const CLOSING_MARK = /[.!?:;]$/u;
|
|
54
|
+
const LOWER_CASE_START = /^\p{Ll}/u;
|
|
55
|
+
const HEADING_START = /^[\p{Lu}\d]/u;
|
|
56
|
+
const HEADING_MAX_CHARS = 80;
|
|
57
|
+
const NUMBERED_ITEM = /^\s*\d+[.)]\s+/u;
|
|
58
|
+
function sectionStarts(sections) {
|
|
59
|
+
return sections.map((section) => section.characterStart).sort((a, b) => a - b);
|
|
60
|
+
}
|
|
61
|
+
/** Whether a section begins inside the line; binary search over the sorted section starts. */
|
|
62
|
+
function startsSection(starts, line) {
|
|
63
|
+
let low = 0;
|
|
64
|
+
let high = starts.length;
|
|
65
|
+
while (low < high) {
|
|
66
|
+
const mid = (low + high) >>> 1;
|
|
67
|
+
if ((starts[mid] ?? 0) < line.start)
|
|
68
|
+
low = mid + 1;
|
|
69
|
+
else
|
|
70
|
+
high = mid;
|
|
71
|
+
}
|
|
72
|
+
const first = starts[low];
|
|
73
|
+
return first !== undefined && first <= line.end;
|
|
74
|
+
}
|
|
75
|
+
/** Index of the last line that starts at or before the offset. */
|
|
76
|
+
function lineIndexAt(lines, offset) {
|
|
77
|
+
let low = 0;
|
|
78
|
+
let high = lines.length - 1;
|
|
79
|
+
while (low < high) {
|
|
80
|
+
const mid = (low + high + 1) >>> 1;
|
|
81
|
+
if ((lines[mid]?.start ?? 0) <= offset)
|
|
82
|
+
low = mid;
|
|
83
|
+
else
|
|
84
|
+
high = mid - 1;
|
|
85
|
+
}
|
|
86
|
+
return low;
|
|
87
|
+
}
|
|
88
|
+
function classifyText(cleaned, heading, vocabulary) {
|
|
89
|
+
const match = ID_START.exec(cleaned);
|
|
90
|
+
const id = match?.[1];
|
|
91
|
+
if (match === null || id === undefined)
|
|
92
|
+
return undefined;
|
|
93
|
+
if (vocabulary.reservedPrefixes.has(idPrefix(id).toUpperCase()))
|
|
94
|
+
return undefined;
|
|
95
|
+
const rest = cleaned.slice(match[0].length);
|
|
96
|
+
const separated = SEPARATOR.exec(rest);
|
|
97
|
+
if (separated !== null)
|
|
98
|
+
return { kind: "strong", id, title: collapse(rest.slice(separated[0].length)) };
|
|
99
|
+
if (rest.length > 0 && !/^\s/u.test(rest))
|
|
100
|
+
return undefined;
|
|
101
|
+
const title = collapse(rest);
|
|
102
|
+
if (match[2] !== undefined)
|
|
103
|
+
return { kind: "strong", id, title };
|
|
104
|
+
return { kind: heading ? "heading" : "weak", id, title };
|
|
105
|
+
}
|
|
106
|
+
function rowCandidate(row, line) {
|
|
107
|
+
return {
|
|
108
|
+
kind: "row",
|
|
109
|
+
id: row.id,
|
|
110
|
+
title: row.title,
|
|
111
|
+
line,
|
|
112
|
+
headingLine: true,
|
|
113
|
+
row: {
|
|
114
|
+
statement: row.statement,
|
|
115
|
+
criteria: row.criteria,
|
|
116
|
+
...(row.priority === undefined ? {} : { priority: row.priority }),
|
|
117
|
+
},
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
function isDefinedRow(row, vocabulary) {
|
|
121
|
+
return row !== undefined && !vocabulary.reservedPrefixes.has(idPrefix(row.id).toUpperCase());
|
|
122
|
+
}
|
|
123
|
+
function tableCandidates(context) {
|
|
124
|
+
const found = [];
|
|
125
|
+
let roles;
|
|
126
|
+
context.lines.forEach((line, index) => {
|
|
127
|
+
const cells = tableCells(line.text);
|
|
128
|
+
if (cells === undefined)
|
|
129
|
+
return;
|
|
130
|
+
const header = parseTableHeader(cells, context.vocabulary);
|
|
131
|
+
if (header !== undefined)
|
|
132
|
+
roles = header;
|
|
133
|
+
const row = header === undefined ? parseTableRow(cells, roles, context.vocabulary) : undefined;
|
|
134
|
+
if (isDefinedRow(row, context.vocabulary))
|
|
135
|
+
found.push(rowCandidate(row, index));
|
|
136
|
+
});
|
|
137
|
+
return found;
|
|
138
|
+
}
|
|
139
|
+
/** Rows of a workbook extraction (`Sheet!2: ID=FR-1 | Titel=Foo`), with their multi-line cells. */
|
|
140
|
+
function projectedCandidates(context) {
|
|
141
|
+
const found = [];
|
|
142
|
+
let open;
|
|
143
|
+
const close = () => {
|
|
144
|
+
const parsed = open === undefined ? undefined : parseProjectedRow(open.row, context.vocabulary);
|
|
145
|
+
if (open !== undefined && isDefinedRow(parsed, context.vocabulary))
|
|
146
|
+
found.push(rowCandidate(parsed, open.line));
|
|
147
|
+
open = undefined;
|
|
148
|
+
};
|
|
149
|
+
context.lines.forEach((line, index) => {
|
|
150
|
+
const started = openProjectedRow(line.text, context.vocabulary);
|
|
151
|
+
const blank = collapse(line.text).length === 0;
|
|
152
|
+
const breaks = blank && open !== undefined && !endsInParagraphCell(open.row);
|
|
153
|
+
if (started !== undefined || breaks || startsSection(context.starts, line))
|
|
154
|
+
close();
|
|
155
|
+
if (started !== undefined)
|
|
156
|
+
open = { row: started, line: index };
|
|
157
|
+
else if (open !== undefined)
|
|
158
|
+
continueProjectedRow(open.row, line.text, context.vocabulary);
|
|
159
|
+
});
|
|
160
|
+
close();
|
|
161
|
+
return found;
|
|
162
|
+
}
|
|
163
|
+
function lineCandidates(context, tableLines) {
|
|
164
|
+
const found = [];
|
|
165
|
+
context.lines.forEach((line, index) => {
|
|
166
|
+
if (tableLines.has(index))
|
|
167
|
+
return;
|
|
168
|
+
const heading = MARKDOWN_HEADING.test(line.text) || startsSection(context.starts, line);
|
|
169
|
+
const definition = classifyText(bare(line.text), heading, context.vocabulary);
|
|
170
|
+
if (definition !== undefined)
|
|
171
|
+
found.push({ ...definition, line: index, headingLine: true });
|
|
172
|
+
});
|
|
173
|
+
return found;
|
|
174
|
+
}
|
|
175
|
+
function headingText(section) {
|
|
176
|
+
return collapse((section.sectionPath.at(-1) ?? "").replace(SLIDE_LABEL, ""));
|
|
177
|
+
}
|
|
178
|
+
/** Whether a line candidate of the same identifier already defines a unit inside the section. */
|
|
179
|
+
function definedWithin(lines, defined, id, section) {
|
|
180
|
+
return defined.some((candidate) => {
|
|
181
|
+
const start = lines[candidate.line]?.start ?? -1;
|
|
182
|
+
return candidate.id === id && start >= section.characterStart && start < section.characterEnd;
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
function sectionCandidate(context, defined, section) {
|
|
186
|
+
const heading = headingText(section);
|
|
187
|
+
const definition = classifyText(heading, true, context.vocabulary);
|
|
188
|
+
if (definition === undefined)
|
|
189
|
+
return undefined;
|
|
190
|
+
const index = lineIndexAt(context.lines, section.characterStart);
|
|
191
|
+
const line = context.lines[index];
|
|
192
|
+
if (line === undefined || line.start >= section.characterEnd)
|
|
193
|
+
return undefined;
|
|
194
|
+
if (definedWithin(context.lines, defined, definition.id, section))
|
|
195
|
+
return undefined;
|
|
196
|
+
const headingLine = collapse(line.text).toLowerCase().includes(heading.toLowerCase());
|
|
197
|
+
return { ...definition, line: index, headingLine, section };
|
|
198
|
+
}
|
|
199
|
+
function findCandidates(context) {
|
|
200
|
+
const rows = [...tableCandidates(context), ...projectedCandidates(context)];
|
|
201
|
+
const tableLines = new Set(rows.map((row) => row.line));
|
|
202
|
+
const fromLines = lineCandidates(context, tableLines);
|
|
203
|
+
const fromSections = context.sections.flatMap((section) => sectionCandidate(context, fromLines, section) ?? []);
|
|
204
|
+
const ordered = [...rows, ...fromLines, ...fromSections];
|
|
205
|
+
ordered.sort((a, b) => a.line - b.line);
|
|
206
|
+
const seen = new Set();
|
|
207
|
+
return ordered.filter((candidate) => !seen.has(candidate.line) && seen.add(candidate.line));
|
|
208
|
+
}
|
|
209
|
+
function isKeyLine(text, vocabulary) {
|
|
210
|
+
return (vocabulary.priorityKey.test(text) ||
|
|
211
|
+
vocabulary.criteriaKey.test(text) ||
|
|
212
|
+
vocabulary.metaKey.test(text) ||
|
|
213
|
+
vocabulary.statementKey.test(text));
|
|
214
|
+
}
|
|
215
|
+
function advanceScan(scan, text, vocabulary) {
|
|
216
|
+
if (vocabulary.criteriaKey.test(text))
|
|
217
|
+
scan.inCriteria = true;
|
|
218
|
+
else if (vocabulary.statementKey.test(text)) {
|
|
219
|
+
scan.inCriteria = false;
|
|
220
|
+
scan.hasBody = true;
|
|
221
|
+
}
|
|
222
|
+
else if (vocabulary.priorityKey.test(text) || vocabulary.metaKey.test(text))
|
|
223
|
+
scan.inCriteria = false;
|
|
224
|
+
else if (!scan.inCriteria)
|
|
225
|
+
scan.hasBody = true;
|
|
226
|
+
}
|
|
227
|
+
function nextNonBlank(lines, from, limit) {
|
|
228
|
+
for (let index = from; index <= limit; index += 1)
|
|
229
|
+
if (bare(lineAt(lines, index).text).length > 0)
|
|
230
|
+
return index;
|
|
231
|
+
return -1;
|
|
232
|
+
}
|
|
233
|
+
/** The paragraph at `from` runs straight into a key line, which has no unit of its own to join. */
|
|
234
|
+
function leadsIntoKeyLine(context, from, limit) {
|
|
235
|
+
for (let index = from; index <= limit; index += 1) {
|
|
236
|
+
const text = bare(lineAt(context.lines, index).text);
|
|
237
|
+
if (text.length === 0)
|
|
238
|
+
return false;
|
|
239
|
+
if (isKeyLine(text, context.vocabulary))
|
|
240
|
+
return true;
|
|
241
|
+
}
|
|
242
|
+
return false;
|
|
243
|
+
}
|
|
244
|
+
/** A line without a closing mark, then one starting in lower case: one sentence around a break. */
|
|
245
|
+
function sentenceGoesOn(context, blank, next) {
|
|
246
|
+
const before = bare(lineAt(context.lines, blank - 1).text);
|
|
247
|
+
return (before.length > 0 &&
|
|
248
|
+
!CLOSING_MARK.test(before) &&
|
|
249
|
+
LOWER_CASE_START.test(bare(lineAt(context.lines, next).text)));
|
|
250
|
+
}
|
|
251
|
+
/** In flat text a blank line ends the block unless the block evidently goes on behind it. */
|
|
252
|
+
function continuesAfterBlank(context, scan, blank, limit) {
|
|
253
|
+
const next = nextNonBlank(context.lines, blank + 1, limit);
|
|
254
|
+
if (next < 0)
|
|
255
|
+
return false;
|
|
256
|
+
const raw = lineAt(context.lines, next).text;
|
|
257
|
+
if (isKeyLine(bare(raw), context.vocabulary) || !scan.hasBody)
|
|
258
|
+
return true;
|
|
259
|
+
if (scan.inCriteria && LIST_MARKER.test(raw))
|
|
260
|
+
return true;
|
|
261
|
+
return sentenceGoesOn(context, blank, next) || leadsIntoKeyLine(context, next, limit);
|
|
262
|
+
}
|
|
263
|
+
function isHeadingShaped(raw, before, context) {
|
|
264
|
+
const text = bare(raw);
|
|
265
|
+
if (text.length > HEADING_MAX_CHARS || CLOSING_MARK.test(text))
|
|
266
|
+
return false;
|
|
267
|
+
if (!HEADING_START.test(text) || isKeyLine(text, context.vocabulary))
|
|
268
|
+
return false;
|
|
269
|
+
return NUMBERED_ITEM.test(raw) ? !NUMBERED_ITEM.test(before) : !LIST_MARKER.test(raw);
|
|
270
|
+
}
|
|
271
|
+
/** What precedes a chapter heading is finished: a closed sentence, a list item or a key value. */
|
|
272
|
+
function isFinishedLine(raw, vocabulary) {
|
|
273
|
+
const text = bare(raw);
|
|
274
|
+
if (vocabulary.criteriaKey.test(text))
|
|
275
|
+
return false;
|
|
276
|
+
return CLOSING_MARK.test(text) || LIST_MARKER.test(raw) || isKeyLine(text, vocabulary);
|
|
277
|
+
}
|
|
278
|
+
/** Behind the closing field of a block a heading opens a chapter of its own, whatever follows it. */
|
|
279
|
+
function startsChapter(context, scan, line, last) {
|
|
280
|
+
if (!scan.hasBody)
|
|
281
|
+
return false;
|
|
282
|
+
const before = lineAt(context.lines, last).text;
|
|
283
|
+
const closed = scan.inCriteria
|
|
284
|
+
? LIST_MARKER.test(before)
|
|
285
|
+
: isKeyLine(bare(before), context.vocabulary);
|
|
286
|
+
return closed && isHeadingShaped(line, before, context);
|
|
287
|
+
}
|
|
288
|
+
/** The chapter headings flat text leaves between this block's body and the next unit. */
|
|
289
|
+
function withoutTrailingHeadings(context, candidate, last) {
|
|
290
|
+
let end = last;
|
|
291
|
+
while (end > candidate.line + 1) {
|
|
292
|
+
const before = lineAt(context.lines, end - 1).text;
|
|
293
|
+
const line = lineAt(context.lines, end).text;
|
|
294
|
+
if (!isFinishedLine(before, context.vocabulary))
|
|
295
|
+
break;
|
|
296
|
+
if (!isHeadingShaped(line, before, context))
|
|
297
|
+
break;
|
|
298
|
+
end -= 1;
|
|
299
|
+
}
|
|
300
|
+
return end;
|
|
301
|
+
}
|
|
302
|
+
function endsStructuredBlock(line, starts) {
|
|
303
|
+
return MARKDOWN_HEADING.test(line.text) || startsSection(starts, line);
|
|
304
|
+
}
|
|
305
|
+
function leavesBlock(context, candidate, line) {
|
|
306
|
+
const sectionEnd = candidate.section?.characterEnd;
|
|
307
|
+
return sectionEnd === undefined
|
|
308
|
+
? endsStructuredBlock(line, context.starts)
|
|
309
|
+
: line.start >= sectionEnd;
|
|
310
|
+
}
|
|
311
|
+
function endsFlatBlock(context, scan, positions) {
|
|
312
|
+
const { index, last, limit } = positions;
|
|
313
|
+
const raw = lineAt(context.lines, index).text;
|
|
314
|
+
return bare(raw).length === 0
|
|
315
|
+
? !continuesAfterBlank(context, scan, index, limit)
|
|
316
|
+
: startsChapter(context, scan, raw, last);
|
|
317
|
+
}
|
|
318
|
+
function lastLineOf(context, candidate, limit) {
|
|
319
|
+
if (candidate.kind === "row")
|
|
320
|
+
return candidate.line;
|
|
321
|
+
const structured = candidate.section?.characterEnd !== undefined || candidate.kind === "heading";
|
|
322
|
+
const scan = { hasBody: false, inCriteria: false };
|
|
323
|
+
let last = candidate.line;
|
|
324
|
+
for (let index = candidate.line + 1; index <= limit; index += 1) {
|
|
325
|
+
const line = lineAt(context.lines, index);
|
|
326
|
+
if (leavesBlock(context, candidate, line))
|
|
327
|
+
break;
|
|
328
|
+
if (!structured && endsFlatBlock(context, scan, { index, last, limit }))
|
|
329
|
+
break;
|
|
330
|
+
const text = bare(line.text);
|
|
331
|
+
if (text.length > 0) {
|
|
332
|
+
advanceScan(scan, text, context.vocabulary);
|
|
333
|
+
last = index;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
return structured ? last : withoutTrailingHeadings(context, candidate, last);
|
|
337
|
+
}
|
|
338
|
+
function buildBlocks(context, candidates) {
|
|
339
|
+
return candidates.map((candidate, position) => {
|
|
340
|
+
const limit = (candidates[position + 1]?.line ?? context.lines.length) - 1;
|
|
341
|
+
const last = lastLineOf(context, candidate, limit);
|
|
342
|
+
const head = lineAt(context.lines, candidate.line);
|
|
343
|
+
const start = candidate.headingLine
|
|
344
|
+
? head.start
|
|
345
|
+
: (candidate.section?.characterStart ?? head.start);
|
|
346
|
+
return {
|
|
347
|
+
candidate,
|
|
348
|
+
first: candidate.line + (candidate.headingLine ? 1 : 0),
|
|
349
|
+
last,
|
|
350
|
+
start,
|
|
351
|
+
end: lineAt(context.lines, last).end,
|
|
352
|
+
};
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
/** The presented statement, and the complete one only where clipping lost something. */
|
|
356
|
+
function statementOf(full) {
|
|
357
|
+
return full.length <= STATEMENT_MAX_CHARS
|
|
358
|
+
? { statement: full }
|
|
359
|
+
: { statement: full.slice(0, STATEMENT_MAX_CHARS), fullStatement: full };
|
|
360
|
+
}
|
|
361
|
+
function stripCriterionNumber(value) {
|
|
362
|
+
return collapse(value.replace(CRITERION_NUMBER, ""));
|
|
363
|
+
}
|
|
364
|
+
/** One extractor line, split where it carries several fields. */
|
|
365
|
+
function segmentsOf(raw, vocabulary) {
|
|
366
|
+
return bare(raw)
|
|
367
|
+
.split(vocabulary.inlineKey)
|
|
368
|
+
.map((value) => collapse(value))
|
|
369
|
+
.filter((segment) => segment.length > 0);
|
|
370
|
+
}
|
|
371
|
+
function keyValue(segment, key) {
|
|
372
|
+
const match = key.exec(segment);
|
|
373
|
+
return match === null ? undefined : segment.slice(match[0].length);
|
|
374
|
+
}
|
|
375
|
+
/** A statement label is presentation: only the text after it is content. */
|
|
376
|
+
function readStatementLabel(state, value) {
|
|
377
|
+
state.mode = "text";
|
|
378
|
+
const statement = collapse(value);
|
|
379
|
+
if (statement.length > 0)
|
|
380
|
+
state.statement.push(statement);
|
|
381
|
+
}
|
|
382
|
+
function readCriteria(state, criteria) {
|
|
383
|
+
state.mode = "criteria";
|
|
384
|
+
for (const item of criteria.split(MERGED_ITEMS)) {
|
|
385
|
+
const criterion = stripCriterionNumber(item);
|
|
386
|
+
if (criterion.length > 0)
|
|
387
|
+
state.criteria.push(criterion);
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
function readSegment(state, segment, vocabulary) {
|
|
391
|
+
const priority = keyValue(segment, vocabulary.priorityKey);
|
|
392
|
+
const criteria = keyValue(segment, vocabulary.criteriaKey);
|
|
393
|
+
const label = keyValue(segment, vocabulary.statementKey);
|
|
394
|
+
if (priority !== undefined) {
|
|
395
|
+
state.priority = collapse(trimTrailingMarks(priority.split(FIELD_SEPARATOR)[0] ?? ""));
|
|
396
|
+
state.mode = "text";
|
|
397
|
+
}
|
|
398
|
+
else if (criteria !== undefined) {
|
|
399
|
+
readCriteria(state, criteria);
|
|
400
|
+
}
|
|
401
|
+
else if (label !== undefined) {
|
|
402
|
+
readStatementLabel(state, label);
|
|
403
|
+
}
|
|
404
|
+
else if (vocabulary.metaKey.test(segment)) {
|
|
405
|
+
state.mode = "meta";
|
|
406
|
+
}
|
|
407
|
+
else if (state.mode === "criteria") {
|
|
408
|
+
state.criteria.push(stripCriterionNumber(segment));
|
|
409
|
+
}
|
|
410
|
+
else if (state.mode === "text") {
|
|
411
|
+
state.statement.push(segment);
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
function interpretBody(bodyLines, vocabulary) {
|
|
415
|
+
const state = { statement: [], criteria: [], priority: undefined, mode: "text" };
|
|
416
|
+
for (const line of bodyLines)
|
|
417
|
+
for (const segment of segmentsOf(line.text, vocabulary))
|
|
418
|
+
readSegment(state, segment, vocabulary);
|
|
419
|
+
return {
|
|
420
|
+
...(state.priority === undefined || state.priority.length === 0
|
|
421
|
+
? {}
|
|
422
|
+
: { priority: state.priority }),
|
|
423
|
+
...statementOf(state.statement.join(" ")),
|
|
424
|
+
criteria: state.criteria.filter((criterion) => criterion.length > 0),
|
|
425
|
+
};
|
|
426
|
+
}
|
|
427
|
+
function interpretRow(row) {
|
|
428
|
+
return {
|
|
429
|
+
...(row.priority === undefined || row.priority.length === 0 ? {} : { priority: row.priority }),
|
|
430
|
+
...statementOf(row.statement),
|
|
431
|
+
criteria: row.criteria.flatMap((cell) => cell
|
|
432
|
+
.split(MERGED_ITEMS)
|
|
433
|
+
.map((value) => stripCriterionNumber(value))
|
|
434
|
+
.filter((text) => text.length > 0)),
|
|
435
|
+
};
|
|
436
|
+
}
|
|
437
|
+
function shorten(value) {
|
|
438
|
+
return value.length <= TITLE_FALLBACK_CHARS
|
|
439
|
+
? value
|
|
440
|
+
: `${value.slice(0, TITLE_FALLBACK_CHARS - 1).trimEnd()}…`;
|
|
441
|
+
}
|
|
442
|
+
/** A priority tag in the title (`Login (MUSS)`) becomes the priority when no key gave one. */
|
|
443
|
+
function withTitleTag(title, interpreted, vocabulary) {
|
|
444
|
+
const tag = vocabulary.priorityTag.exec(title);
|
|
445
|
+
if (tag === null)
|
|
446
|
+
return { title, interpreted };
|
|
447
|
+
const cleaned = collapse(title.replace(tag[0], " "));
|
|
448
|
+
if (interpreted.priority !== undefined)
|
|
449
|
+
return { title: cleaned, interpreted };
|
|
450
|
+
return { title: cleaned, interpreted: { ...interpreted, priority: collapse(tag[1] ?? "") } };
|
|
451
|
+
}
|
|
452
|
+
/** The canonical content digest; the same unit has the same digest in every format and version. */
|
|
453
|
+
export function requirementContentDigest(parts) {
|
|
454
|
+
return sha256Hex(JSON.stringify([
|
|
455
|
+
"requirement-content",
|
|
456
|
+
parts.id,
|
|
457
|
+
collapse(parts.title),
|
|
458
|
+
collapse(parts.priority ?? ""),
|
|
459
|
+
collapse(parts.statement),
|
|
460
|
+
parts.criteria.map((value) => collapse(value)),
|
|
461
|
+
]));
|
|
462
|
+
}
|
|
463
|
+
function sectionPathAt(sections, offset) {
|
|
464
|
+
let best;
|
|
465
|
+
for (const section of sections) {
|
|
466
|
+
if (section.characterStart > offset || section.characterEnd <= offset)
|
|
467
|
+
continue;
|
|
468
|
+
if (best === undefined || section.characterStart >= best.characterStart)
|
|
469
|
+
best = section;
|
|
470
|
+
}
|
|
471
|
+
return best?.sectionPath ?? [];
|
|
472
|
+
}
|
|
473
|
+
function toEntry(context, parts) {
|
|
474
|
+
const { id, interpreted } = parts;
|
|
475
|
+
const title = parts.title.length > 0 ? parts.title : shorten(interpreted.statement);
|
|
476
|
+
return Object.freeze({
|
|
477
|
+
id,
|
|
478
|
+
idOrigin: parts.idOrigin,
|
|
479
|
+
unitKind: parts.unitKind,
|
|
480
|
+
documentKey: context.documentKey,
|
|
481
|
+
documentScope: documentScopeOf(context.documentKey),
|
|
482
|
+
title,
|
|
483
|
+
...(interpreted.priority === undefined ? {} : { priority: interpreted.priority }),
|
|
484
|
+
statement: interpreted.statement,
|
|
485
|
+
acceptanceCriteria: Object.freeze(interpreted.criteria.map((text, index) => Object.freeze({ id: `${id}/AC${String(index + 1)}`, text }))),
|
|
486
|
+
sectionPath: parts.sectionPath,
|
|
487
|
+
characterStart: parts.start,
|
|
488
|
+
characterEnd: parts.end,
|
|
489
|
+
digest: requirementContentDigest({
|
|
490
|
+
id,
|
|
491
|
+
title,
|
|
492
|
+
priority: interpreted.priority,
|
|
493
|
+
statement: interpreted.fullStatement ?? interpreted.statement,
|
|
494
|
+
criteria: interpreted.criteria,
|
|
495
|
+
}),
|
|
496
|
+
});
|
|
497
|
+
}
|
|
498
|
+
function rawUnit(context, block) {
|
|
499
|
+
const { candidate } = block;
|
|
500
|
+
const body = candidate.row === undefined
|
|
501
|
+
? interpretBody(context.lines.slice(block.first, block.last + 1), context.vocabulary)
|
|
502
|
+
: interpretRow(candidate.row);
|
|
503
|
+
const { title, interpreted } = withTitleTag(candidate.title, body, context.vocabulary);
|
|
504
|
+
const entry = toEntry(context, {
|
|
505
|
+
id: candidate.id,
|
|
506
|
+
idOrigin: "explicit",
|
|
507
|
+
unitKind: candidate.row === undefined ? "block" : "table-row",
|
|
508
|
+
title,
|
|
509
|
+
interpreted,
|
|
510
|
+
sectionPath: sectionPathAt(context.sections, block.start),
|
|
511
|
+
start: block.start,
|
|
512
|
+
end: block.end,
|
|
513
|
+
});
|
|
514
|
+
const hasBody = interpreted.statement.length > 0 ||
|
|
515
|
+
interpreted.criteria.length > 0 ||
|
|
516
|
+
interpreted.priority !== undefined;
|
|
517
|
+
return { candidate, entry, hasBody, block };
|
|
518
|
+
}
|
|
519
|
+
// ─── Acceptance and selection ────────────────────────────────────────────────
|
|
520
|
+
function prefixCorroboration(units) {
|
|
521
|
+
const byPrefix = new Map();
|
|
522
|
+
for (const unit of units) {
|
|
523
|
+
const prefix = idPrefix(unit.candidate.id);
|
|
524
|
+
byPrefix.set(prefix, (byPrefix.get(prefix) ?? new Set()).add(unit.candidate.id));
|
|
525
|
+
}
|
|
526
|
+
return byPrefix;
|
|
527
|
+
}
|
|
528
|
+
/** A requirement context: a separated or table identifier, a body, or a second identifier. */
|
|
529
|
+
function accepted(unit, corroboration) {
|
|
530
|
+
const { kind, id } = unit.candidate;
|
|
531
|
+
if (kind === "strong" || kind === "row")
|
|
532
|
+
return true;
|
|
533
|
+
const corroborated = (corroboration.get(idPrefix(id))?.size ?? 0) >= 2;
|
|
534
|
+
return kind === "heading" ? unit.hasBody || corroborated : corroborated;
|
|
535
|
+
}
|
|
536
|
+
function richness(unit) {
|
|
537
|
+
const { entry } = unit;
|
|
538
|
+
return [
|
|
539
|
+
unit.hasBody ? 1 : 0,
|
|
540
|
+
entry.acceptanceCriteria.length > 0 ? 1 : 0,
|
|
541
|
+
entry.priority === undefined ? 0 : 1,
|
|
542
|
+
entry.statement.length,
|
|
543
|
+
];
|
|
544
|
+
}
|
|
545
|
+
function richer(left, right) {
|
|
546
|
+
const a = richness(left);
|
|
547
|
+
const b = richness(right);
|
|
548
|
+
for (let index = 0; index < a.length; index += 1) {
|
|
549
|
+
const delta = (a[index] ?? 0) - (b[index] ?? 0);
|
|
550
|
+
if (delta !== 0)
|
|
551
|
+
return delta > 0;
|
|
552
|
+
}
|
|
553
|
+
return false;
|
|
554
|
+
}
|
|
555
|
+
function selectDefinitions(units) {
|
|
556
|
+
const groups = new Map();
|
|
557
|
+
for (const unit of units) {
|
|
558
|
+
const group = groups.get(unit.candidate.id) ?? [];
|
|
559
|
+
group.push(unit);
|
|
560
|
+
groups.set(unit.candidate.id, group);
|
|
561
|
+
}
|
|
562
|
+
const chosen = [];
|
|
563
|
+
const conflicting = [];
|
|
564
|
+
let referenceOnly = 0;
|
|
565
|
+
for (const [id, group] of groups) {
|
|
566
|
+
const best = group.reduce((current, unit) => (current === undefined || richer(unit, current) ? unit : current), undefined);
|
|
567
|
+
if (best === undefined)
|
|
568
|
+
continue;
|
|
569
|
+
chosen.push(best);
|
|
570
|
+
const bodies = group.filter((unit) => unit.hasBody);
|
|
571
|
+
if (bodies.some((unit) => unit.entry.digest !== best.entry.digest))
|
|
572
|
+
conflicting.push(id);
|
|
573
|
+
referenceOnly += group.filter((unit) => !unit.hasBody && unit !== best).length;
|
|
574
|
+
}
|
|
575
|
+
conflicting.sort(compareStrings);
|
|
576
|
+
return { chosen, conflicting, referenceOnly };
|
|
577
|
+
}
|
|
578
|
+
// ─── Statements without an identifier ────────────────────────────────────────
|
|
579
|
+
const LETTERS = "ABCDEFGHIJKLMNOP";
|
|
580
|
+
function normalizedWording(statement) {
|
|
581
|
+
return foldTerm(statement)
|
|
582
|
+
.replaceAll(/[^\p{L}\p{N}]+/gu, " ")
|
|
583
|
+
.trim();
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* `DRV-` plus eight letters from the SHA-256 of the document identity and the statement's
|
|
587
|
+
* normalized wording; `occurrence` tells identical sentences of one document apart.
|
|
588
|
+
*/
|
|
589
|
+
export function derivedRequirementId(documentKey, statement, occurrence = 0) {
|
|
590
|
+
const digest = sha256Hex(JSON.stringify([
|
|
591
|
+
"requirement-derived-id",
|
|
592
|
+
documentKey,
|
|
593
|
+
normalizedWording(statement),
|
|
594
|
+
occurrence,
|
|
595
|
+
]));
|
|
596
|
+
const letters = Array.from({ length: 8 }, (_, index) => LETTERS[Number.parseInt(digest.charAt(index), 16)] ?? "A");
|
|
597
|
+
return `DRV-${letters.join("")}`;
|
|
598
|
+
}
|
|
599
|
+
function startsParagraph(raw) {
|
|
600
|
+
return LIST_MARKER.test(raw);
|
|
601
|
+
}
|
|
602
|
+
/** Wrapped lines of one paragraph, merged; list items, headings and blank lines break it. */
|
|
603
|
+
function paragraphsOf(context, covered) {
|
|
604
|
+
const found = [];
|
|
605
|
+
let open;
|
|
606
|
+
const close = () => {
|
|
607
|
+
if (open !== undefined)
|
|
608
|
+
found.push({ text: collapse(open.parts.join(" ")), start: open.start, end: open.end });
|
|
609
|
+
open = undefined;
|
|
610
|
+
};
|
|
611
|
+
context.lines.forEach((line, index) => {
|
|
612
|
+
const text = bare(line.text);
|
|
613
|
+
if (covered.has(index) ||
|
|
614
|
+
text.length === 0 ||
|
|
615
|
+
MARKDOWN_HEADING.test(line.text) ||
|
|
616
|
+
tableCells(line.text) !== undefined) {
|
|
617
|
+
close();
|
|
618
|
+
return;
|
|
619
|
+
}
|
|
620
|
+
if (startsParagraph(line.text) || startsSection(context.starts, line))
|
|
621
|
+
close();
|
|
622
|
+
open ??= { parts: [], start: line.start, end: line.end };
|
|
623
|
+
open.parts.push(text);
|
|
624
|
+
open.end = line.end;
|
|
625
|
+
});
|
|
626
|
+
close();
|
|
627
|
+
return found;
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
* Whether a sentence that opens with an obligation phrase is a conditional with its own subject:
|
|
631
|
+
* the opening clause names a subject and a predicate (at least two words) and the main clause after
|
|
632
|
+
* the comma states the obligation. A checklist fragment (`Muss dem Epic zugeordnet sein`) has no
|
|
633
|
+
* such main clause.
|
|
634
|
+
*/
|
|
635
|
+
function conditionalObligation(vocabulary, statement) {
|
|
636
|
+
const match = vocabulary.conditionalLead.exec(statement);
|
|
637
|
+
const clause = match?.[1];
|
|
638
|
+
const main = match?.[2];
|
|
639
|
+
if (clause === undefined || main === undefined)
|
|
640
|
+
return false;
|
|
641
|
+
return clause.trim().split(/\s+/u).length >= 2 && vocabulary.modal.test(main);
|
|
642
|
+
}
|
|
643
|
+
/** A sentence that states an obligation of a named subject (ISO/IEC/IEEE 29148 form). */
|
|
644
|
+
function obligationStatement(vocabulary, statement) {
|
|
645
|
+
if (statement.length < STATEMENT_MIN_CHARS || !vocabulary.modal.test(statement))
|
|
646
|
+
return false;
|
|
647
|
+
return (!vocabulary.subjectlessModal.test(statement) || conditionalObligation(vocabulary, statement));
|
|
648
|
+
}
|
|
649
|
+
function statementUnits(context, covered) {
|
|
650
|
+
const occurrences = new Map();
|
|
651
|
+
const units = [];
|
|
652
|
+
for (const paragraph of paragraphsOf(context, covered)) {
|
|
653
|
+
for (const sentence of paragraph.text.split(SENTENCE_BREAK)) {
|
|
654
|
+
const statement = collapse(sentence);
|
|
655
|
+
if (!obligationStatement(context.vocabulary, statement))
|
|
656
|
+
continue;
|
|
657
|
+
const wording = normalizedWording(statement);
|
|
658
|
+
const occurrence = occurrences.get(wording) ?? 0;
|
|
659
|
+
occurrences.set(wording, occurrence + 1);
|
|
660
|
+
const id = derivedRequirementId(context.documentKey, statement, occurrence);
|
|
661
|
+
const candidate = { kind: "strong", id, title: "", line: -1, headingLine: false };
|
|
662
|
+
const entry = toEntry(context, {
|
|
663
|
+
id,
|
|
664
|
+
idOrigin: "derived",
|
|
665
|
+
unitKind: "statement",
|
|
666
|
+
title: "",
|
|
667
|
+
interpreted: { ...statementOf(statement), criteria: [] },
|
|
668
|
+
sectionPath: sectionPathAt(context.sections, paragraph.start),
|
|
669
|
+
start: paragraph.start,
|
|
670
|
+
end: paragraph.end,
|
|
671
|
+
});
|
|
672
|
+
const block = {
|
|
673
|
+
candidate,
|
|
674
|
+
first: 0,
|
|
675
|
+
last: 0,
|
|
676
|
+
start: paragraph.start,
|
|
677
|
+
end: paragraph.end,
|
|
678
|
+
};
|
|
679
|
+
units.push({ candidate, entry, hasBody: true, block });
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
return units;
|
|
683
|
+
}
|
|
684
|
+
function coveredLines(blocks) {
|
|
685
|
+
const covered = new Set();
|
|
686
|
+
for (const block of blocks)
|
|
687
|
+
for (let index = block.candidate.line; index <= block.last; index += 1)
|
|
688
|
+
covered.add(index);
|
|
689
|
+
return covered;
|
|
690
|
+
}
|
|
691
|
+
/**
|
|
692
|
+
* Every requirement unit detected in one document, in document order. `totalCount` counts what was
|
|
693
|
+
* detected; `truncated` says units beyond `maxEntries` were counted but not returned.
|
|
694
|
+
*/
|
|
695
|
+
export function deriveRequirementInventory(input) {
|
|
696
|
+
const sections = input.sections ?? [];
|
|
697
|
+
const context = {
|
|
698
|
+
lines: splitLines(input.text),
|
|
699
|
+
sections,
|
|
700
|
+
starts: sectionStarts(sections),
|
|
701
|
+
vocabulary: compileRequirementVocabulary(input.vocabulary),
|
|
702
|
+
documentKey: input.documentKey,
|
|
703
|
+
};
|
|
704
|
+
const blocks = buildBlocks(context, findCandidates(context));
|
|
705
|
+
const units = blocks.map((block) => rawUnit(context, block));
|
|
706
|
+
const corroboration = prefixCorroboration(units);
|
|
707
|
+
const kept = units.filter((unit) => accepted(unit, corroboration));
|
|
708
|
+
const rejected = new Set(units.filter((unit) => !kept.includes(unit)).map((unit) => unit.block));
|
|
709
|
+
const selection = selectDefinitions(kept);
|
|
710
|
+
const statements = statementUnits(context, coveredLines(blocks.filter((block) => !rejected.has(block))));
|
|
711
|
+
const all = [...selection.chosen, ...statements].map((unit) => unit.entry);
|
|
712
|
+
all.sort((a, b) => a.characterStart - b.characterStart);
|
|
713
|
+
const bound = Math.max(1, Math.trunc(input.maxEntries ?? REQUIREMENT_INVENTORY_ENTRIES_MAX));
|
|
714
|
+
return Object.freeze({
|
|
715
|
+
entries: Object.freeze(all.slice(0, bound)),
|
|
716
|
+
totalCount: all.length,
|
|
717
|
+
truncated: all.length > bound,
|
|
718
|
+
conflictingIds: Object.freeze(selection.conflicting),
|
|
719
|
+
referenceOnlyCount: selection.referenceOnly,
|
|
720
|
+
rejectedCandidateCount: rejected.size,
|
|
721
|
+
});
|
|
722
|
+
}
|