@oscharko-dev/keiko 1.1.13 → 1.2.1
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 +29 -5
- package/dist/ui/csp-hashes.json +6 -6
- package/dist/ui/static/404.html +1 -1
- package/dist/ui/static/__next.__PAGE__.txt +13 -13
- package/dist/ui/static/__next._full.txt +24 -22
- package/dist/ui/static/__next._tree.txt +3 -3
- package/dist/ui/static/_next/static/chunks/00_o0v2hokzqm.js +1 -0
- package/dist/ui/static/_next/static/chunks/014h2nyfet3kr.js +1 -0
- package/dist/ui/static/_next/static/chunks/02ahxxpsbao7z.js +1 -0
- package/dist/ui/static/_next/static/chunks/0339vdalk0q6h.js +3 -0
- package/dist/ui/static/_next/static/chunks/{13fx5sqcncq4_.js → 05k2u3763ih_i.js} +1 -1
- package/dist/ui/static/_next/static/chunks/07f-n_9zq-s8q.js +1 -0
- package/dist/ui/static/_next/static/chunks/07l0sfn1-mid2.js +1 -0
- package/dist/ui/static/_next/static/chunks/0851fl0j1ja4e.js +1 -0
- package/dist/ui/static/_next/static/chunks/08896ukd2zxg6.js +1 -0
- package/dist/ui/static/_next/static/chunks/08nml2svyd9vv.js +4 -0
- package/dist/ui/static/_next/static/chunks/08tg5xjyy073b.js +1 -0
- package/dist/ui/static/_next/static/chunks/{2cn33khz2ae-h.js → 08v-jyhi2uk8t.js} +1 -1
- package/dist/ui/static/_next/static/chunks/09p2ty64ellxo.js +1 -0
- package/dist/ui/static/_next/static/chunks/0_yx8_bs1t-27.js +1 -0
- package/dist/ui/static/_next/static/chunks/0b7xat6jxvrmr.js +1 -0
- package/dist/ui/static/_next/static/chunks/0bz731buimrpv.js +1 -0
- package/dist/ui/static/_next/static/chunks/0d3a8-uxb000v.js +1 -0
- package/dist/ui/static/_next/static/chunks/0gf88p0jy1g5w.js +1 -0
- package/dist/ui/static/_next/static/chunks/0jjhji-e9mg99.js +1 -0
- package/dist/ui/static/_next/static/chunks/0jtp8te-03j1-.js +1 -0
- package/dist/ui/static/_next/static/chunks/0lw_ax6yn_z8w.js +1 -0
- package/dist/ui/static/_next/static/chunks/0mcg_spbohpl3.css +1 -0
- package/dist/ui/static/_next/static/chunks/0oocu54xdbxf3.js +2 -0
- package/dist/ui/static/_next/static/chunks/{39w0xj7fyy7sp.js → 0pf5ot48kepng.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0rs9egrg2q85w.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1o2cihsnxhmh6.js → 0rsutf6da798_.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0rw0et8bt6w-b.js +1 -0
- package/dist/ui/static/_next/static/chunks/0su17ctiaqfp0.js +1 -0
- package/dist/ui/static/_next/static/chunks/0w2fp3hjrfx32.js +1 -0
- package/dist/ui/static/_next/static/chunks/0wdn9qetndtsj.js +1 -0
- package/dist/ui/static/_next/static/chunks/0wok-g3ndtvch.js +1 -0
- package/dist/ui/static/_next/static/chunks/0x42c1na2ia6m.js +1 -0
- package/dist/ui/static/_next/static/chunks/0xu2rnpdr4kzd.js +1 -0
- package/dist/ui/static/_next/static/chunks/0y3402xorco2c.js +1 -0
- package/dist/ui/static/_next/static/chunks/10p1rdlk7n_9w.js +1 -0
- package/dist/ui/static/_next/static/chunks/12aem44im45f-.js +1 -0
- package/dist/ui/static/_next/static/chunks/18kcx5kpyxr16.js +1 -0
- package/dist/ui/static/_next/static/chunks/1aivbuztyv67o.js +10 -0
- package/dist/ui/static/_next/static/chunks/1c0u0qq0vwkc4.js +1 -0
- package/dist/ui/static/_next/static/chunks/1f05h21irrvbs.js +1 -0
- package/dist/ui/static/_next/static/chunks/1ggcq_lho062y.js +1 -0
- package/dist/ui/static/_next/static/chunks/1o-own3kgpojf.js +1 -0
- package/dist/ui/static/_next/static/chunks/{25f22x86d_a1n.js → 1osovjtjgxmbl.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{29dj-5kj_vfl_.js → 1qh0x9_258ol2.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{2kh0qihno0n1w.js → 1rp_smu1jjw45.js} +1 -1
- package/dist/ui/static/_next/static/chunks/1uu9slkxpbe4y.js +1 -0
- package/dist/ui/static/_next/static/chunks/1vy80v9kp_rqv.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0l7cc8q83migz.css → 1wj7exxi550gi.css} +1 -1
- package/dist/ui/static/_next/static/chunks/1x-sfb1_rl15-.js +1 -0
- package/dist/ui/static/_next/static/chunks/1zczte6xkwvcl.js +1 -0
- package/dist/ui/static/_next/static/chunks/1zqfkyeqq5cl8.js +1 -0
- package/dist/ui/static/_next/static/chunks/1zudszthinjcb.js +1 -0
- package/dist/ui/static/_next/static/chunks/{18qu5m_in_h3x.js → 1zw11x_e-3fzu.js} +1 -1
- package/dist/ui/static/_next/static/chunks/20-u8pg5ve_cz.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1kacubgk0y2ki.js → 21-6b7rkmtvg8.js} +1 -1
- package/dist/ui/static/_next/static/chunks/22zxuap4am9bs.js +1 -0
- package/dist/ui/static/_next/static/chunks/23lstlpeh2rb-.js +1 -0
- package/dist/ui/static/_next/static/chunks/25x9hf4wdlde7.js +1 -0
- package/dist/ui/static/_next/static/chunks/261euyxjrb0lv.js +1 -0
- package/dist/ui/static/_next/static/chunks/2astwwmbb8e53.js +1 -0
- package/dist/ui/static/_next/static/chunks/2duxlo7cg_s7_.js +3 -0
- package/dist/ui/static/_next/static/chunks/2dwrkrp-gqyej.js +1 -0
- package/dist/ui/static/_next/static/chunks/2ef4l5re80dgi.js +1 -0
- package/dist/ui/static/_next/static/chunks/2g_pljoa8f0e-.js +1 -0
- package/dist/ui/static/_next/static/chunks/{199p3upt-xa37.js → 2h4vqb2rt3mr1.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{3inx1ugcc-jd-.css → 2hu5w89yy7_s-.css} +1 -0
- package/dist/ui/static/_next/static/chunks/2imh4llefx9d1.js +1 -0
- package/dist/ui/static/_next/static/chunks/2jsnrkl0syr4y.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0m1163red7mw7.js → 2nlmtsm3kjmbh.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{1c1gbfapof8m0.js → 2oq1uk07ft9l0.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2ov72plu69iiv.js +1 -0
- package/dist/ui/static/_next/static/chunks/2ta3jr_uw2j0x.js +1 -0
- package/dist/ui/static/_next/static/chunks/2u5_pu1uc6seh.js +1 -0
- package/dist/ui/static/_next/static/chunks/2wuj7qxm6mleh.js +1 -0
- package/dist/ui/static/_next/static/chunks/2xd3_a4jlxum2.css +1 -0
- package/dist/ui/static/_next/static/chunks/2yuvdrio9ki3a.css +39 -0
- package/dist/ui/static/_next/static/chunks/2z5c2glupanq_.js +1 -0
- package/dist/ui/static/_next/static/chunks/3-7tka4cib69h.js +1 -0
- package/dist/ui/static/_next/static/chunks/3-dorttkhs3i2.js +1 -0
- package/dist/ui/static/_next/static/chunks/3-pcgkdsv7x4z.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0o_lmzxpjfeky.js → 3007ncr8g751a.js} +1 -1
- package/dist/ui/static/_next/static/chunks/307xuhrdmetj7.js +1 -0
- package/dist/ui/static/_next/static/chunks/30og31pxg8wrp.js +1 -0
- package/dist/ui/static/_next/static/chunks/32jgtvf2y-f54.js +1 -0
- package/dist/ui/static/_next/static/chunks/35ivnhnxr9dmz.js +1 -0
- package/dist/ui/static/_next/static/chunks/363iuc3t94rie.js +1 -0
- package/dist/ui/static/_next/static/chunks/36c8jty3kllje.js +1 -0
- package/dist/ui/static/_next/static/chunks/37qsy798-g74f.js +1 -0
- package/dist/ui/static/_next/static/chunks/37v998g0cm36x.js +1 -0
- package/dist/ui/static/_next/static/chunks/3946_dfcd9xr-.js +1 -0
- package/dist/ui/static/_next/static/chunks/3b05n-007vc3e.js +1 -0
- package/dist/ui/static/_next/static/chunks/3cpuzx4fetu6y.js +1 -0
- package/dist/ui/static/_next/static/chunks/3d27ozm1boe_5.js +3 -0
- package/dist/ui/static/_next/static/chunks/3eg8pcox5copv.js +1 -0
- package/dist/ui/static/_next/static/chunks/3ftqojkan-5cl.js +1 -0
- package/dist/ui/static/_next/static/chunks/3fwt6-8rc2mya.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3kmozkq6tgqnz.js → 3g4px251sg85e.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3gyetohi_flhb.js +1 -0
- package/dist/ui/static/_next/static/chunks/3hjs3gk92eave.js +1 -0
- package/dist/ui/static/_next/static/chunks/3ksbq-nwkgwob.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1n3b0bhd9q0p6.js → 3l3xw2fmr7pct.js} +3 -3
- package/dist/ui/static/_next/static/chunks/3neoxf-shnu-d.js +1 -0
- package/dist/ui/static/_next/static/chunks/3or_0c84ozskx.js +1 -0
- package/dist/ui/static/_next/static/chunks/3payvp5ps2fne.css +3 -0
- package/dist/ui/static/_next/static/chunks/3q-93bizla3k1.js +1 -0
- package/dist/ui/static/_next/static/chunks/3qbbcm9fuk494.js +1 -0
- package/dist/ui/static/_next/static/chunks/3rhep1yhgo6a7.js +1 -0
- package/dist/ui/static/_next/static/chunks/3sgbsntbbci5y.js +1 -0
- package/dist/ui/static/_next/static/chunks/3tcw3qy3rrkyf.js +1 -0
- package/dist/ui/static/_next/static/chunks/3tqd6avtamgd5.js +1 -0
- package/dist/ui/static/_next/static/chunks/3ty06iqiblqi4.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1ydfda18zlx4w.js → 3vjm30f1if00s.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3wz98o059mhtf.js +1 -0
- package/dist/ui/static/_next/static/chunks/3x2p8mgrihuet.js +1 -0
- package/dist/ui/static/_next/static/chunks/3xi3iilmw9_vy.js +5 -0
- package/dist/ui/static/_next/static/chunks/3z5edm1fpkcuq.js +1 -0
- package/dist/ui/static/_next/static/chunks/3zxbqudoeow_a.js +1 -0
- package/dist/ui/static/_next/static/chunks/3zxwlxhzm5swe.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3chx0gpjqrhod.js → 405vbzo164i84.js} +3 -3
- package/dist/ui/static/_next/static/chunks/42pls95xys34g.js +1 -0
- package/dist/ui/static/_next/static/chunks/43kutp14mqi-j.js +1 -0
- package/dist/ui/static/_next/static/chunks/43y3xn64quyo2.js +1 -0
- package/dist/ui/static/_next/static/chunks/43z5mfwx4lk4w.js +1 -0
- package/dist/ui/static/_next/static/chunks/{turbopack-2fb3mn6go2p-t.js → turbopack-34k8wgx0iwdzg.js} +1 -1
- package/dist/ui/static/_not-found/__next._full.txt +22 -21
- package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +10 -10
- 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 +22 -21
- package/dist/ui/static/atlassian-connectors/__next._full.txt +24 -23
- package/dist/ui/static/atlassian-connectors/__next._tree.txt +2 -2
- package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +12 -12
- package/dist/ui/static/atlassian-connectors.html +1 -1
- package/dist/ui/static/atlassian-connectors.txt +24 -23
- package/dist/ui/static/index.html +1 -1
- package/dist/ui/static/index.txt +24 -22
- package/dist/ui/static/launch/__next._full.txt +27 -26
- package/dist/ui/static/launch/__next._tree.txt +3 -3
- package/dist/ui/static/launch/__next.launch.__PAGE__.txt +13 -13
- package/dist/ui/static/launch.html +1 -1
- package/dist/ui/static/launch.txt +27 -26
- package/dist/ui/static/local-knowledge/__next._full.txt +27 -26
- package/dist/ui/static/local-knowledge/__next._tree.txt +3 -3
- package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +13 -13
- package/dist/ui/static/local-knowledge/capsule/__next._full.txt +25 -24
- package/dist/ui/static/local-knowledge/capsule/__next._tree.txt +2 -2
- package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.__PAGE__.txt +12 -12
- package/dist/ui/static/local-knowledge/capsule.html +1 -1
- package/dist/ui/static/local-knowledge/capsule.txt +25 -24
- package/dist/ui/static/local-knowledge.html +1 -1
- package/dist/ui/static/local-knowledge.txt +27 -26
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/activity-log-store.d.ts +6 -2
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/activity-log-store.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/activity-log-store.js +54 -8
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/defect-fingerprint.d.ts +35 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/defect-fingerprint.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/defect-fingerprint.js +66 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/index.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/index.js +2 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/log-redaction.d.ts +13 -2
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/log-redaction.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/log-redaction.js +67 -126
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/index.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/index.js +4 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze-sufficiency.d.ts +10 -2
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze-sufficiency.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze-sufficiency.js +59 -46
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze.d.ts +18 -3
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze.js +176 -53
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts +35 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.js +3650 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-desktop-report-attribution.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-desktop-report-attribution.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-desktop-report-attribution.js +74 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-desktop-report.d.ts +25 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-desktop-report.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-desktop-report.js +184 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-incident-resolution.d.ts +33 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-incident-resolution.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-incident-resolution.js +195 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-lifetime.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-lifetime.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-lifetime.js +19 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-local-query.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-local-query.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-local-query.js +20 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-query.d.ts +6 -2
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-query.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-query.js +442 -60
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts +45 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.js +53 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry.d.ts +27 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry.js +46 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report-json.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report-json.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report-json.js +5 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report-privacy.d.ts +12 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report-privacy.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report-privacy.js +226 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report.d.ts +41 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report.js +672 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-retrieval-miss.d.ts +13 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-retrieval-miss.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-retrieval-miss.js +363 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-segment-manifest.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-segment-manifest.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-segment-manifest.js +17 -5
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-segment-scan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-segment-scan.js +16 -9
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/server-log.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/server-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/server-log.js +16 -10
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident-retention.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident-retention.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident-retention.js +21 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident-store.d.ts +11 -3
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident-store.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident-store.js +142 -23
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident.d.ts +25 -22
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident.js +694 -198
- package/node_modules/@oscharko-dev/keiko-activity-log/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-cli/dist/cli-control-state.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/cli-control-state.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/cli-control-state.js +25 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/init.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/init.js +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/investigate.js +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-browser-activity.d.ts +22 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-browser-activity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-browser-activity.js +50 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.js +137 -32
- package/node_modules/@oscharko-dev/keiko-cli/dist/process-activity-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/process-activity-log.js +3 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/repair.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/repair.js +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/runner.js +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.d.ts +25 -4
- package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.js +144 -12
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-export.d.ts +16 -113
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-export.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-export.js +71 -358
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-incident.d.ts +1 -21
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-incident.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-incident.js +14 -112
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-cli.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-cli.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-cli.js +6 -18
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-evidence.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-evidence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-evidence.js +2 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-report-cli.d.ts +23 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-report-cli.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-report-cli.js +521 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-report-evidence.d.ts +647 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-report-evidence.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-report-evidence.js +338 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-selective-export.d.ts +3 -5
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-selective-export.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-selective-export.js +6 -42
- package/node_modules/@oscharko-dev/keiko-cli/dist/support.d.ts +0 -18
- package/node_modules/@oscharko-dev/keiko-cli/dist/support.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support.js +118 -1276
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui-browser-handoff.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui-browser-handoff.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui-browser-handoff.js +91 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui.js +31 -3
- package/node_modules/@oscharko-dev/keiko-cli/package.json +15 -15
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts.map +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 +519 -139
- 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 +783 -113
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-label-policy.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-label-policy.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-label-policy.js +123 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts +31805 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.js +35636 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts +12694 -34263
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.js +16845 -40229
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts +174 -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 +99 -14
- package/node_modules/@oscharko-dev/keiko-contracts/dist/citation-markers.d.ts +49 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/citation-markers.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/citation-markers.js +380 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/client-defect-signature.d.ts +12 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/client-defect-signature.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/client-defect-signature.js +63 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session-pairing.d.ts +37 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session-pairing.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session-pairing.js +67 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session.d.ts +2 -35
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session.js +1 -62
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-repository-search.d.ts +25 -5
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-repository-search.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-repository-search.js +28 -14
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.d.ts +38 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.js +94 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api-validation.d.ts +3 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api-validation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api-validation.js +64 -17
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.d.ts +8 -4
- 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 +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.d.ts +17 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.js +13 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime.js +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-validation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-validation.js +27 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.d.ts +30 -2
- 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 +27 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-context.d.ts +39 -6
- package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-context.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-context.js +230 -100
- package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-search-abstention.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-search-abstention.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-search-abstention.js +14 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering-compaction-validation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering-compaction-validation.js +4 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering-validation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering-validation.js +8 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering.d.ts +15 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering.js +20 -6
- package/node_modules/@oscharko-dev/keiko-contracts/dist/contract-validation-primitives.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/contract-validation-primitives.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/contract-validation-primitives.js +12 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts +184 -5
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.js +750 -11
- package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-agent.d.ts +17 -12
- package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-agent.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-agent.js +76 -36
- package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-m7.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-m7.js +0 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/evidence.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/evidence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.d.ts +92 -7
- package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.js +54 -10
- package/node_modules/@oscharko-dev/keiko-contracts/dist/git-repository.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/git-repository.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/git-repository.js +13 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/governed-tool-catalog.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/governed-tool-catalog.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/grounded-assessment.d.ts +35 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/grounded-assessment.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/grounded-assessment.js +125 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts +9 -9
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/no-evidence-answer.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/no-evidence-answer.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/no-evidence-answer.js +388 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/observability.d.ts +26 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/observability.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/observability.js +109 -6
- package/node_modules/@oscharko-dev/keiko-contracts/dist/opencode-service-host.d.ts +42 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/opencode-service-host.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/opencode-service-host.js +151 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/store-fingerprint.d.ts +5 -6
- package/node_modules/@oscharko-dev/keiko-contracts/dist/store-fingerprint.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/store-fingerprint.js +16 -16
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-incident.d.ts +33 -17
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-incident.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-incident.js +230 -26
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-json.d.ts +13 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-json.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-json.js +206 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-policy.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-policy.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-policy.js +11 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-producer.d.ts +26 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-producer.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-producer.js +107 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report.d.ts +154 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report.js +74 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/tools.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.d.ts +6 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.js +71 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace-contract-primitives.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace-contract-primitives.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace-contract-primitives.js +2 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace.d.ts +42 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace.js +18 -0
- package/node_modules/@oscharko-dev/keiko-contracts/package.json +25 -1
- package/node_modules/@oscharko-dev/keiko-evaluations/package.json +9 -9
- package/node_modules/@oscharko-dev/keiko-evidence/dist/compaction-evidence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/compaction-evidence.js +3 -0
- package/node_modules/@oscharko-dev/keiko-evidence/dist/connected-context-evidence.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-evidence/dist/connected-context-evidence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/connected-context-evidence.js +28 -5
- package/node_modules/@oscharko-dev/keiko-evidence/dist/context-assembly-redaction.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/context-assembly-redaction.js +1 -0
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts.map +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.d.ts.map +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.d.ts.map +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/conversation/citation-attacher.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/citation-attacher.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/citation-attacher.js +49 -38
- 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 +64 -25
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/types.d.ts +14 -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/index.d.ts +1 -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 +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/embedding-activity-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/embedding-activity-log.js +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/orchestrator-activity-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/orchestrator-activity-log.js +6 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/_internal.d.ts +1 -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 +2 -33
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/html-parser.js +5 -4
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/index.d.ts +2 -0
- 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 +2 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/retrieval-runner.d.ts +2 -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 +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/scoped-vector-search.d.ts +9 -2
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/scoped-vector-search.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/scoped-vector-search.js +18 -10
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store-content-encryption.d.ts +0 -2
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store-content-encryption.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store-content-encryption.js +0 -11
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store.d.ts +0 -11
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store.js +9 -78
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts.map +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/consolidate.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/consolidate.js +3 -0
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts.map +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.d.ts.map +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.d.ts.map +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/cipher.d.ts +0 -12
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/cipher.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/cipher.js +0 -32
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/db.d.ts +2 -11
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/db.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/db.js +10 -144
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/index.d.ts +1 -2
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/index.js +7 -14
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/paths.d.ts +3 -2
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/paths.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/paths.js +17 -48
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/vault-log.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/vault-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/vault.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts.map +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/capabilities.d.ts +9 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/capabilities.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/capabilities.js +24 -10
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/config.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/config.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/config.js +203 -2
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/embedding.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/embedding.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/embedding.js +2 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway-attempt-admission.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway-attempt-admission.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway-attempt-admission.js +44 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway.d.ts +113 -1
- 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 +696 -138
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.js +28 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/index.d.ts +5 -4
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/index.js +3 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.d.ts +23 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.js +83 -10
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/normalize.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/normalize.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/normalize.js +54 -2
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/observability.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/observability.js +2 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.d.ts +17 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.js +377 -77
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-embedding-adapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-embedding-adapter.js +3 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/prDescription/generate.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/prDescription/generate.js +4 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/prompt-admission.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/prompt-admission.js +5 -2
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/readiness-probe.d.ts +18 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/readiness-probe.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/readiness-probe.js +49 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.d.ts +168 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.js +629 -72
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/toolCatalogBridge.d.ts +9 -1
- 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 +62 -16
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/types.d.ts +25 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/package.json +4 -4
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/backends.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/backends.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/backends.js +41 -15
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/index.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/index.js +1 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/local-docker-endpoint.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/local-docker-endpoint.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/local-docker-endpoint.js +128 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/plan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/plan.js +49 -7
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/runtime-gateway.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/runtime-gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/runtime-gateway.js +31 -6
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/seatbelt-execution-root.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/seatbelt-execution-root.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/seatbelt-execution-root.js +141 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/select.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/select.js +2 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/types.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/types.d.ts.map +1 -1
- 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/errors/gateway.d.ts +18 -3
- package/node_modules/@oscharko-dev/keiko-security/dist/errors/gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/errors/gateway.js +40 -7
- package/node_modules/@oscharko-dev/keiko-security/dist/fs-hardening.d.ts +85 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/fs-hardening.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/fs-hardening.js +128 -3
- package/node_modules/@oscharko-dev/keiko-security/dist/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/portable-tree-attestation.d.ts +14 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/portable-tree-attestation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/portable-tree-attestation.js +183 -25
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction.d.ts +12 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction.js +65 -15
- package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts.map +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/bounded-concurrency.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/bounded-concurrency.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/bounded-concurrency.js +84 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/bounded-request-body.d.ts +13 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/bounded-request-body.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/bounded-request-body.js +14 -25
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-activity.d.ts +9 -2
- 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 +48 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-resurfacing.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-resurfacing.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-resurfacing.js +28 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-thresholds.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-thresholds.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-thresholds.js +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-breakdown.d.ts +25 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-breakdown.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-breakdown.js +111 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-log.d.ts +3 -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 +101 -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 +235 -33
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-log.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-log.js +9 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-grounding.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-grounding.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-grounding.js +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts +2 -1
- 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 +161 -79
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-snapshot.d.ts +27 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-snapshot.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-snapshot.js +48 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget.js +3 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-compaction.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-compaction.js +4 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-scope-update-log.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-scope-update-log.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-scope-update-log.js +51 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.js +58 -21
- package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.js +790 -12
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/appSessionReadAuthority.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/appSessionReadAuthority.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/appSessionReadAuthority.js +112 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.d.ts +4 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.js +31 -17
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionChannel.d.ts +6 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionChannel.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionChannel.js +10 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionCookie.d.ts +9 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionCookie.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionCookie.js +13 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionRegistry.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionRegistry.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionRegistry.js +59 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/githubIssueReaderAuthorization.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/githubIssueReaderAuthorization.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/ciRepairPromptReservation.d.ts +11 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/ciRepairPromptReservation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/ciRepairPromptReservation.js +21 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingHistoryRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingHistoryRoutes.js +8 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRepositorySearchHandler.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRepositorySearchHandler.js +85 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.d.ts +50 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.js +25 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairController.d.ts +14 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairController.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairController.js +33 -26
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.d.ts +46 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.js +33 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEventHub.d.ts +51 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEventHub.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEventHub.js +97 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts +8 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.js +265 -29
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.d.ts +37 -1
- 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 +416 -34
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorState.d.ts +5 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorState.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorState.js +14 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorTypes.d.ts +21 -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/codingRuntimeRefusalEscalation.d.ts +79 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRefusalEscalation.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRefusalEscalation.js +305 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRepositoryInstructions.d.ts +100 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRepositoryInstructions.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRepositoryInstructions.js +363 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRoutes.js +13 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRunEffort.d.ts +71 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRunEffort.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRunEffort.js +294 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeTerminalCause.d.ts +47 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeTerminalCause.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeTerminalCause.js +65 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeVerificationContinuation.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeVerificationContinuation.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeVerificationContinuation.js +79 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.d.ts +18 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.js +201 -42
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.d.ts +6 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.js +733 -17
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.d.ts +5 -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 +262 -57
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.d.ts +190 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.js +57 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolGovernedDelegate.d.ts +3 -1
- 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 +14 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolInvocationRegistry.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolInvocationRegistry.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolInvocationRegistry.js +50 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.d.ts +21 -3
- 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 +143 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.d.ts +63 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.js +710 -170
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReplacementEdits.d.ts +108 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReplacementEdits.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReplacementEdits.js +477 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLanePortableCodingRuntime.d.ts +2 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLanePortableCodingRuntime.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLanePortableCodingRuntime.js +53 -46
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.js +51 -52
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.d.ts +48 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.js +179 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/materializedPatchRegistry.d.ts +60 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/materializedPatchRegistry.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/materializedPatchRegistry.js +61 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.d.ts +7 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.js +48 -15
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessPaths.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessPaths.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessPaths.js +14 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessProtocol.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessProtocol.js +11 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/npmLaneRuntimeApprovals.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/npmLaneRuntimeApprovals.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/npmLaneRuntimeApprovals.js +28 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeFunctionalHarness/_governedTools.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeFunctionalHarness/_governedTools.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeFunctionalHarness/_governedTools.js +48 -20
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeLaunchProfile.d.ts +5 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeLaunchProfile.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeLaunchProfile.js +15 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.js +27 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeReconciler.d.ts +6 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeReconciler.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeReconciler.js +15 -15
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.d.ts +17 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.js +198 -43
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.d.ts +97 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.js +1334 -103
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeServiceHostArtifact.d.ts +79 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeServiceHostArtifact.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeServiceHostArtifact.js +176 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.d.ts +177 -25
- 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 +131 -38
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2History.d.ts +18 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2History.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2History.js +298 -32
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.js +14 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2LiveText.d.ts +33 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2LiveText.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2LiveText.js +213 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.js +2 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCiRepairRuntime.js +15 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeHost.js +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.d.ts +25 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.js +227 -40
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.d.ts +20 -1
- 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 +224 -12
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.js +20 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.d.ts +8 -1
- 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.functional/repositorySearchProof.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.functional/repositorySearchProof.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.functional/skillDiscoveryProof.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.functional/skillDiscoveryProof.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.js +262 -60
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.d.ts +18 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.js +43 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionWorkspaceHeadReader.js +23 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts +38 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.js +115 -16
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.d.ts +20 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.js +48 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeProcessSupervisor.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeProcessSupervisor.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeProcessSupervisor.js +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextRead.d.ts +100 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextRead.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextRead.js +435 -25
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadAbsence.d.ts +61 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadAbsence.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadAbsence.js +123 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadArtifact.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadArtifact.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadArtifact.js +26 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadNodeProcess.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadNodeProcess.js +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProcess.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProcess.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProcess.js +17 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProtocol.d.ts +69 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProtocol.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProtocol.js +266 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.d.ts +15 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.js +792 -126
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-tool-facade.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-tool-facade.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-tool-facade.js +139 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/command-runner.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/command-runner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/command-runner.js +176 -19
- 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 +72 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-log.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-log.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-log.js +48 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/correlation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/correlation.js +8 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/credentialVault.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/credentialVault.js +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts +61 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.js +281 -77
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts +15 -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 +108 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentAuthorityRegistry.d.ts +9 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentAuthorityRegistry.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentAuthorityRegistry.js +21 -94
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentProducerRoute.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentProducerRoute.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRootBoundary.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRootBoundary.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRootBoundary.js +60 -12
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.d.ts +13 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.js +180 -74
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentSessionRegistry.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentSessionRegistry.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentSessionRegistry.js +81 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyEvidence.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyEvidence.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyEvidence.js +35 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyTargets.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyTargets.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyTargets.js +44 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/changesetLineBreakProvenance.d.ts +26 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/changesetLineBreakProvenance.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/changesetLineBreakProvenance.js +87 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/codingContextProviders.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/codingContextProviders.js +0 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecution.d.ts +5 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecution.js +91 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecutionLog.d.ts +128 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecutionLog.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecutionLog.js +213 -0
- 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 +72 -24
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRuntimeTarget.d.ts +13 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRuntimeTarget.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRuntimeTarget.js +121 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchEvidence.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchEvidence.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchEvidence.js +75 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchRoutes.js +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchService.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchService.js +230 -34
- package/node_modules/@oscharko-dev/keiko-server/dist/files-deny.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/files-deny.js +3 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/files.d.ts +2 -25
- package/node_modules/@oscharko-dev/keiko-server/dist/files.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/files.js +76 -35
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-context-window.d.ts +56 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-context-window.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-context-window.js +432 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-discovery-log.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-discovery-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-discovery-log.js +59 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-instance-cache.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-instance-cache.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-instance-cache.js +16 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts +12 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.js +367 -109
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-reranker-probe.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-reranker-probe.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-reranker-probe.js +30 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-route-deadline.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-route-deadline.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-route-deadline.js +11 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts +38 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.js +1354 -184
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-spend-budget.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-spend-budget.js +6 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup-activity.d.ts +31 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup-activity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup-activity.js +74 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup.js +282 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-tool-calling-probe.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-tool-calling-probe.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-tool-calling-probe.js +12 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeRoutes.js +30 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/ciObservationService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/ciObservationService.js +17 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitDraftQuality.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitDraftQuality.js +5 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitRoutes.js +11 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyObservationService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyObservationService.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyRoutes.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionProjection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionProjection.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitService.js +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitPorcelainStatus.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitPorcelainStatus.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitPorcelainStatus.js +46 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitRepositoryRoutes.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitRepositoryRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitRepositoryRoutes.js +68 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/gitRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitRoutes.js +57 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-activity.d.ts +19 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-activity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-activity.js +177 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-assessment.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-assessment.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-assessment.js +69 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-evidence.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-evidence.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-evidence.js +53 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-repair.d.ts +25 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-repair.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-repair.js +120 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer.d.ts +57 -1
- 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 +195 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-assistant-referents.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-assistant-referents.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-assistant-referents.js +133 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-candidate-ordering.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-candidate-ordering.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-candidate-ordering.js +103 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-capability.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-capability.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-capability.js +79 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.d.ts +57 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.js +297 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.js +117 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-context-diagnostics.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-context-diagnostics.js +25 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-context-pack-reranker.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-context-pack-reranker.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-context-pack-reranker.js +39 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-contextual-fallback.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-contextual-fallback.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-contextual-fallback.js +41 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-conversation-continuity.d.ts +15 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-conversation-continuity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-conversation-continuity.js +126 -24
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-diagnostic-references.d.ts +42 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-diagnostic-references.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-diagnostic-references.js +91 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-directory-iteration.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-directory-iteration.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-directory-iteration.js +60 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-document-evidence.d.ts +7 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-document-evidence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-document-evidence.js +63 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-entailment-stage.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-entailment-stage.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-entailment-stage.js +61 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-eval-support.d.ts +28 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-eval-support.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-eval-support.js +140 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.d.ts +20 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.js +116 -53
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-explicit-paths.d.ts +44 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-explicit-paths.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-explicit-paths.js +385 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness-eval.d.ts +5 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness-eval.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness-eval.js +123 -42
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness.d.ts +76 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness.js +677 -121
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-follow-up.d.ts +27 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-follow-up.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-follow-up.js +198 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-latency-eval.d.ts +16 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-latency-eval.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-latency-eval.js +69 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-metadata-retention.d.ts +34 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-metadata-retention.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-metadata-retention.js +123 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-multi-source-budget.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-multi-source-budget.js +6 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.d.ts +128 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.js +4801 -850
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-overview-fallback.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-overview-fallback.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-overview-fallback.js +81 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-pack-validation.d.ts +22 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-pack-validation.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-pack-validation.js +87 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-plural-synthesis.d.ts +27 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-plural-synthesis.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-plural-synthesis.js +74 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-preselection-reranker.d.ts +25 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-preselection-reranker.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-preselection-reranker.js +93 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-context.d.ts +20 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-context.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-context.js +33 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt.js +35 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-hybrid.d.ts +37 -8
- 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 +712 -212
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-multi-source.d.ts +42 -8
- 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 +682 -142
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.d.ts +49 -11
- 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 +756 -172
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-repo-semantic-search.d.ts +32 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-repo-semantic-search.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-repo-semantic-search.js +382 -58
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.js +57 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank.js +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-retrieval-eval.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-retrieval-eval.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-retrieval-eval.js +29 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-scope-context.d.ts +32 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-scope-context.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-scope-context.js +75 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-selection-quality.d.ts +19 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-selection-quality.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-selection-quality.js +55 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-semantic-request.d.ts +31 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-semantic-request.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-semantic-request.js +55 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-diagnostics.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-diagnostics.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-diagnostics.js +109 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace-cycles.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace-cycles.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace-cycles.js +90 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace.d.ts +47 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace.js +1054 -84
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-recency.d.ts +34 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-recency.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-recency.js +190 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-request.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-request.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-request.js +19 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/index.d.ts +1 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/index.js +8 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/knowledge-prompt-window.d.ts +44 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/knowledge-prompt-window.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/knowledge-prompt-window.js +136 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-grounded-qa.d.ts +1 -1
- 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 +235 -65
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-handlers.js +19 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-consolidation-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-consolidation-handlers.js +11 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-conv-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-conv-handlers.js +11 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-handlers.js +43 -32
- 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 +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figma/figmaSnapshotBuilder.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figma/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figma/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figma/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/handoffRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/handoffRoutes.js +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/modelPolicyRoutes.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/modelPolicyRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/modelPolicyRoutes.js +36 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/runRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/runRoutes.js +4 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/read-handlers.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/read-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/read-handlers.js +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/routes.js +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/server.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/server.js +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chat-grounding-scope-identity.d.ts +8 -0
- 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 +21 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chats.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chats.js +22 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/store/db.d.ts +0 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/store/db.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/db.js +26 -129
- package/node_modules/@oscharko-dev/keiko-server/dist/store/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/legacySchemaTestFixture.js +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/store/paths.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/paths.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/paths.js +26 -42
- 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 +161 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/store-handlers.d.ts +1 -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 +102 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-download.d.ts +13 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-download.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-download.js +239 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-evidence.d.ts +19 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-evidence.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-evidence.js +347 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-job.d.ts +31 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-job.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-job.js +169 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-routes.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-routes.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-routes.js +149 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-worker.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-worker.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-worker.js +43 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/local-checkout.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/local-checkout.js +37 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/routes.js +3 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolDispatch.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolDispatch.js +10 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolFacadeBridge.d.ts +20 -4
- 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 +96 -20
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolPorts.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolPorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolRuntimeAuthority.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolRuntimeAuthority.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolRuntimeAuthority.js +47 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolSettlement.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolSettlement.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolSettlement.js +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-staging-verification.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-staging-verification.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-staging-verification.js +23 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-verification.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-verification.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-verification.js +12 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-registry.d.ts +1 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-registry.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-registry.js +3 -35
- package/node_modules/@oscharko-dev/keiko-server/dist/voice-speech-text.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/voice-speech-text.js +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-index-provider.js +4 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.js +76 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-state-handlers.d.ts +3 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-state-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-state-handlers.js +3 -100
- package/node_modules/@oscharko-dev/keiko-server/package.json +23 -23
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.d.ts +9 -25
- 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 +210 -113
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/profile.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/profile.js +15 -2
- package/node_modules/@oscharko-dev/keiko-tool-catalog/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-tools/dist/exec.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/exec.js +80 -10
- package/node_modules/@oscharko-dev/keiko-tools/dist/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch-content.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch-content.js +142 -49
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch-parse.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch-parse.js +14 -3
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch.js +24 -9
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts.map +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/dependencies.d.ts +16 -4
- package/node_modules/@oscharko-dev/keiko-verification/dist/dependencies.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/dependencies.js +198 -25
- package/node_modules/@oscharko-dev/keiko-verification/dist/failure-location.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/failure-location.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/failure-location.js +34 -17
- package/node_modules/@oscharko-dev/keiko-verification/dist/orchestrator.d.ts +4 -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 +35 -3
- package/node_modules/@oscharko-dev/keiko-verification/dist/plan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/plan.js +25 -16
- package/node_modules/@oscharko-dev/keiko-verification/dist/targeted-project.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-verification/dist/targeted-project.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-verification/dist/targeted-project.js +37 -0
- package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/failure-parse.d.ts +10 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/failure-parse.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/failure-parse.js +93 -15
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.d.ts +10 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.js +331 -49
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/compaction.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/reranker.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/reranker.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.d.ts +8 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.js +374 -42
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/governor.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/governor.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.d.ts +5 -3
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.js +2 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/intent.d.ts +7 -2
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/intent.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/intent.js +124 -7
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.d.ts +25 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.js +707 -91
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/references.d.ts +19 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/references.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/references.js +159 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.js +21 -18
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/index.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/index.js +2 -2
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/rank.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/rank.js +28 -64
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/scoring.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/scoring.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/scoring.js +44 -29
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/signals.d.ts +5 -2
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/signals.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/signals.js +141 -45
- package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
- package/node_modules/@oscharko-dev/keiko-workspace/dist/_memfs.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/_memfs.js +7 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.d.ts +5 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.js +235 -38
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligence.d.ts +22 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligence.js +660 -105
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligenceSurface.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligenceSurface.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligenceSurface.js +4 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearch.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearch.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearch.js +140 -57
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearchResult.d.ts +1 -4
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearchResult.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearchResult.js +0 -15
- package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.d.ts +37 -3
- package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.js +306 -18
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractAdapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractAdapter.js +31 -9
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractGraph.d.ts +3 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractGraph.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractGraph.js +35 -5
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractSource.d.ts +7 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractSource.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractSource.js +40 -7
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractTypes.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractTypes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/fs.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/fs.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/fs.js +48 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/ignore.js +2 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/importGraphEdges.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/importGraphEdges.js +11 -5
- package/node_modules/@oscharko-dev/keiko-workspace/dist/index.d.ts +10 -4
- package/node_modules/@oscharko-dev/keiko-workspace/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/index.js +9 -3
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.d.ts +57 -8
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.js +849 -144
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchEntries.d.ts +8 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchEntries.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchEntries.js +29 -24
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchExcerptWindow.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchExcerptWindow.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchExcerptWindow.js +189 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.js +21 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.d.ts +5 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.js +50 -21
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.d.ts +15 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.js +121 -34
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPolicy.d.ts +26 -3
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPolicy.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPolicy.js +65 -22
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.d.ts +14 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.js +97 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRetention.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRetention.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRetention.js +70 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRoutes.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRoutes.js +154 -18
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.d.ts +20 -7
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.js +253 -56
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSemantic.d.ts +14 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSemantic.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSemantic.js +63 -5
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSourceInspection.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSourceInspection.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSourceInspection.js +37 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchStream.d.ts +30 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchStream.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchStream.js +473 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapterRequestContext.d.ts +10 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapterRequestContext.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapterRequestContext.js +237 -20
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapters.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapters.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapters.js +18 -14
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralExecution.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralExecution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralExecution.js +61 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/symbolGraphLexing.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/symbolGraphLexing.js +13 -7
- package/node_modules/@oscharko-dev/keiko-workspace/dist/testSourcePairing.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/testing.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/testing.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/testing.js +4 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/types.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/types.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.d.ts +14 -5
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.js +119 -42
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexQueryMatch.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexQueryMatch.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexQueryMatch.js +71 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexStreaming.d.ts +47 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexStreaming.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexStreaming.js +231 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.js +178 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/xmlEntities.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/xmlEntities.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/xmlEntities.js +34 -0
- package/node_modules/@oscharko-dev/keiko-workspace/package.json +4 -3
- package/package.json +33 -31
- package/release-impact.catalog.json +211 -0
- package/scripts/lib/local-state-audit.mjs +26 -11
- package/vendor/oscharko-dev-keiko-activity-log-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-cli-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-connectors-1.1.13.tgz → oscharko-dev-keiko-connectors-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-evaluations-1.1.13.tgz → oscharko-dev-keiko-evaluations-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-evidence-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-git-1.1.13.tgz → oscharko-dev-keiko-git-1.2.1.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-harness-1.1.13.tgz → oscharko-dev-keiko-harness-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-local-knowledge-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-capture-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-consolidation-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-memory-governance-1.1.13.tgz → oscharko-dev-keiko-memory-governance-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-memory-retrieval-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-vault-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-quality-intelligence-1.1.13.tgz → oscharko-dev-keiko-quality-intelligence-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-sandbox-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-sdk-1.1.13.tgz → oscharko-dev-keiko-sdk-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-security-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tools-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-verification-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workflows-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workspace-1.2.1.tgz +0 -0
- package/dist/ui/static/_next/static/chunks/000t9p2ysi3dv.css +0 -1
- package/dist/ui/static/_next/static/chunks/00dd_gyzi9unw.js +0 -1
- package/dist/ui/static/_next/static/chunks/00n029ow-5_tt.js +0 -3
- package/dist/ui/static/_next/static/chunks/01n8x8_z3012u.js +0 -1
- package/dist/ui/static/_next/static/chunks/02epwnm5oro9c.css +0 -26
- package/dist/ui/static/_next/static/chunks/04y8gqfjksqzo.js +0 -1
- package/dist/ui/static/_next/static/chunks/0cksy9u2ysiuy.js +0 -1
- package/dist/ui/static/_next/static/chunks/0elflgy2cg1jb.js +0 -1
- package/dist/ui/static/_next/static/chunks/0gia_iwqox3xm.js +0 -1
- package/dist/ui/static/_next/static/chunks/0k931k8qwqyft.js +0 -1
- package/dist/ui/static/_next/static/chunks/0kmepj4rmkj19.js +0 -1
- package/dist/ui/static/_next/static/chunks/0l46-80gche_i.js +0 -1
- package/dist/ui/static/_next/static/chunks/0ojvvjnsf38bk.js +0 -1
- package/dist/ui/static/_next/static/chunks/0p2ekj8g4s6t2.js +0 -1
- package/dist/ui/static/_next/static/chunks/0qt-w4yzb50ov.js +0 -1
- package/dist/ui/static/_next/static/chunks/0tl_05c5ux5ut.js +0 -1
- package/dist/ui/static/_next/static/chunks/0u7vyqk91gjb8.js +0 -1
- package/dist/ui/static/_next/static/chunks/0v9jkxfma7fks.js +0 -1
- package/dist/ui/static/_next/static/chunks/0y68jeskhcm2k.js +0 -1
- package/dist/ui/static/_next/static/chunks/0z5be09yla9lp.js +0 -1
- package/dist/ui/static/_next/static/chunks/0zlw46qz0crxg.css +0 -1
- package/dist/ui/static/_next/static/chunks/117xhn896fsmt.js +0 -1
- package/dist/ui/static/_next/static/chunks/13q3e5wnz6lps.css +0 -1
- package/dist/ui/static/_next/static/chunks/14rs31u4u36yy.js +0 -1
- package/dist/ui/static/_next/static/chunks/159szpr5ffygs.js +0 -1
- package/dist/ui/static/_next/static/chunks/15orau2hhjb1f.js +0 -1
- package/dist/ui/static/_next/static/chunks/1b7ig6f2t71i_.js +0 -1
- package/dist/ui/static/_next/static/chunks/1bdojlx9hv0c5.js +0 -1
- package/dist/ui/static/_next/static/chunks/1be0-x1mk56wu.js +0 -1
- package/dist/ui/static/_next/static/chunks/1d7xigpwq-xq8.js +0 -1
- package/dist/ui/static/_next/static/chunks/1dwc7p2rl-hs6.js +0 -1
- package/dist/ui/static/_next/static/chunks/1hk335vrug1rc.js +0 -1
- package/dist/ui/static/_next/static/chunks/1hucqkor7zgbn.js +0 -1
- package/dist/ui/static/_next/static/chunks/1j6nqp8yrqyhu.js +0 -1
- package/dist/ui/static/_next/static/chunks/1kxhf3ld28pzk.js +0 -1
- package/dist/ui/static/_next/static/chunks/1logclobi6726.js +0 -1
- package/dist/ui/static/_next/static/chunks/1lrj3d157kay1.js +0 -5
- package/dist/ui/static/_next/static/chunks/1nie2fvj8iyvq.js +0 -1
- package/dist/ui/static/_next/static/chunks/1o3z4r4xrlbda.js +0 -1
- package/dist/ui/static/_next/static/chunks/1pnysuel-a2r1.js +0 -1
- package/dist/ui/static/_next/static/chunks/1szpnddxqmzhy.js +0 -1
- package/dist/ui/static/_next/static/chunks/1tkt9f0xnc4fe.js +0 -1
- package/dist/ui/static/_next/static/chunks/1u_s3uvh9p4j7.js +0 -1
- package/dist/ui/static/_next/static/chunks/1uetvnnpa5z22.js +0 -1
- package/dist/ui/static/_next/static/chunks/1uigiy7xdzirs.js +0 -1
- package/dist/ui/static/_next/static/chunks/1uulmf99vtuyt.js +0 -1
- package/dist/ui/static/_next/static/chunks/1wa9m6c88mg3p.js +0 -1
- package/dist/ui/static/_next/static/chunks/1xzxhtenb7_sx.css +0 -1
- package/dist/ui/static/_next/static/chunks/202kx3p8axlmr.js +0 -1
- package/dist/ui/static/_next/static/chunks/20b456jf1ggzu.css +0 -1
- package/dist/ui/static/_next/static/chunks/2384n1pce2w1h.js +0 -1
- package/dist/ui/static/_next/static/chunks/252wybdcea74g.js +0 -1
- package/dist/ui/static/_next/static/chunks/271r_v0nh0vy-.js +0 -1
- package/dist/ui/static/_next/static/chunks/2_o61-akoq549.js +0 -1
- package/dist/ui/static/_next/static/chunks/2_u63ddjyhbpm.js +0 -3
- package/dist/ui/static/_next/static/chunks/2b78j2josay3e.js +0 -1
- package/dist/ui/static/_next/static/chunks/2cw7v8t4jg669.js +0 -1
- package/dist/ui/static/_next/static/chunks/2gqs8fif3137x.js +0 -3
- package/dist/ui/static/_next/static/chunks/2iehfums033xv.css +0 -3
- package/dist/ui/static/_next/static/chunks/2j16o4ghz4iqx.js +0 -1
- package/dist/ui/static/_next/static/chunks/2oxvgl3qb19wf.js +0 -1
- package/dist/ui/static/_next/static/chunks/2r4vn_6anv2cw.js +0 -5
- package/dist/ui/static/_next/static/chunks/2s5wt9bf-ox40.js +0 -1
- package/dist/ui/static/_next/static/chunks/2s9-91g2jic6u.js +0 -1
- package/dist/ui/static/_next/static/chunks/2tmor5n3xss6c.js +0 -3
- package/dist/ui/static/_next/static/chunks/2wd7di0z2l6il.js +0 -1
- package/dist/ui/static/_next/static/chunks/2ymm_n9gbcdcw.js +0 -1
- package/dist/ui/static/_next/static/chunks/2ywqac8g8us1n.css +0 -1
- package/dist/ui/static/_next/static/chunks/3-ys11qyww0y6.js +0 -1
- package/dist/ui/static/_next/static/chunks/30botqyyk9ugo.js +0 -1
- package/dist/ui/static/_next/static/chunks/30p9b535cwzhr.js +0 -1
- package/dist/ui/static/_next/static/chunks/31mnda46lo2b0.js +0 -1
- package/dist/ui/static/_next/static/chunks/338jl640mvtkg.js +0 -1
- package/dist/ui/static/_next/static/chunks/351uy__m9eafa.js +0 -1
- package/dist/ui/static/_next/static/chunks/3_cgafsc6hy1_.js +0 -1
- package/dist/ui/static/_next/static/chunks/3_exo95bp9tt2.js +0 -1
- package/dist/ui/static/_next/static/chunks/3aqtjd-a1ygis.js +0 -1
- package/dist/ui/static/_next/static/chunks/3bl12pe7lsanc.js +0 -1
- package/dist/ui/static/_next/static/chunks/3buu6m28ig2oz.js +0 -1
- package/dist/ui/static/_next/static/chunks/3hft62celuigp.js +0 -1
- package/dist/ui/static/_next/static/chunks/3i0iog52c1ajg.js +0 -1
- package/dist/ui/static/_next/static/chunks/3ibevys2o09xx.js +0 -1
- package/dist/ui/static/_next/static/chunks/3im1pldojqzmu.js +0 -1
- package/dist/ui/static/_next/static/chunks/3iptbrztxckih.js +0 -1
- package/dist/ui/static/_next/static/chunks/3iv5llh4xg-7v.js +0 -1
- package/dist/ui/static/_next/static/chunks/3jtbes4v4ouyw.js +0 -1
- package/dist/ui/static/_next/static/chunks/3lq5zd1qvhcfw.js +0 -1
- package/dist/ui/static/_next/static/chunks/3m_idsf90zq5u.js +0 -1
- package/dist/ui/static/_next/static/chunks/3mes_qld9wgti.js +0 -1
- package/dist/ui/static/_next/static/chunks/3n4gsbv-im5ia.js +0 -1
- package/dist/ui/static/_next/static/chunks/3timx0h4kcna0.js +0 -1
- package/dist/ui/static/_next/static/chunks/3u-4amh4iusi1.js +0 -1
- package/dist/ui/static/_next/static/chunks/3uacpjje41xz5.js +0 -1
- package/dist/ui/static/_next/static/chunks/3uovpxgynmdkk.js +0 -1
- package/dist/ui/static/_next/static/chunks/3wcuc7e2bz4-l.js +0 -1
- package/dist/ui/static/_next/static/chunks/3xaa0t5drdxz3.js +0 -1
- package/dist/ui/static/_next/static/chunks/3yqrxwndy9_f3.js +0 -1
- package/dist/ui/static/_next/static/chunks/40g2_9ovqiuiu.js +0 -1
- package/dist/ui/static/_next/static/chunks/40ol4dc9uptck.js +0 -10
- package/dist/ui/static/_next/static/chunks/413lmui4la1xe.js +0 -1
- package/dist/ui/static/_next/static/chunks/41ca6l5ikqt65.js +0 -1
- package/dist/ui/static/_next/static/chunks/44jv6p8ly-u3e.js +0 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-selective-export.d.ts +0 -29
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-selective-export.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-selective-export.js +0 -30
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figma/figmaConcurrency.d.ts +0 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figma/figmaConcurrency.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figma/figmaConcurrency.js +0 -34
- package/node_modules/@oscharko-dev/keiko-server/dist/store-fingerprints.d.ts +0 -29
- package/node_modules/@oscharko-dev/keiko-server/dist/store-fingerprints.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store-fingerprints.js +0 -135
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearchInventory.d.ts +0 -7
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearchInventory.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearchInventory.js +0 -24
- package/vendor/oscharko-dev-keiko-activity-log-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-cli-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-evidence-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-local-knowledge-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-capture-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-consolidation-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-retrieval-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-vault-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-sandbox-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-security-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tools-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-verification-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workflows-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workspace-1.1.13.tgz +0 -0
- /package/dist/ui/static/_next/static/{-GseUdaJoAYnEgt-Dl41f → FS1LLJ_p3joZhfRkXBRhf}/_buildManifest.js +0 -0
- /package/dist/ui/static/_next/static/{-GseUdaJoAYnEgt-Dl41f → FS1LLJ_p3joZhfRkXBRhf}/_clientMiddlewareManifest.js +0 -0
- /package/dist/ui/static/_next/static/{-GseUdaJoAYnEgt-Dl41f → FS1LLJ_p3joZhfRkXBRhf}/_ssgManifest.js +0 -0
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { assistantReferenceExcerptIds } from "./grounded-assistant-referents.js";
|
|
2
|
+
import { mapWithConcurrency } from "./bounded-concurrency.js";
|
|
3
|
+
import { caughtGroundedPackValidation, inspectGroundedPack, recordGroundedPackValidation, } from "./grounded-pack-validation.js";
|
|
1
4
|
// Epic #189 Slice 2 — heterogeneous grounded merge. A chat may carry BOTH connected folders
|
|
2
5
|
// (#532, lexical) AND Local Knowledge connectors (#189, vector), or two or more connectors. Asking
|
|
3
6
|
// one question must retrieve from EVERY source and return ONE merged grounded answer with
|
|
@@ -5,29 +8,42 @@
|
|
|
5
8
|
// folders-only (#532) and single-connector (#189) paths are untouched so their wire output stays
|
|
6
9
|
// byte-identical (AC). It composes the exported folder helpers (grounded-qa-multi-source.ts) and
|
|
7
10
|
// connector seams (local-knowledge-grounded-qa.ts) without re-implementing retrieval.
|
|
8
|
-
import {
|
|
11
|
+
import { logCitationReconciliation, reconcileAndLogInlineCitations, } from "./grounded-citation-log.js";
|
|
12
|
+
import { isNoEvidenceAnswerText } from "@oscharko-dev/keiko-contracts/runtime/no-evidence-answer";
|
|
13
|
+
import { resolveCostClass, } from "@oscharko-dev/keiko-model-gateway";
|
|
9
14
|
import { persistConnectedContextEvidence } from "@oscharko-dev/keiko-evidence";
|
|
10
15
|
import { createSqliteAuditSink, getCapsule, readCitationExcerpt, resolveScopeModelUsePolicy, runLocalKnowledgeRetrieval, } from "@oscharko-dev/keiko-local-knowledge";
|
|
11
16
|
import { rerankAndSelect, withFinalMarkers, withModelRerankScore, } from "./grounded-rerank.js";
|
|
12
|
-
import { CANDIDATE_OMISSION_REASONS, CONNECTED_CONTEXT_SCHEMA_VERSION,
|
|
17
|
+
import { connectedContextOmittedCount, DEFAULT_EXPLORATION_BUDGET, CANDIDATE_OMISSION_REASONS, CONNECTED_CONTEXT_SCHEMA_VERSION, } from "@oscharko-dev/keiko-contracts/connected-context";
|
|
13
18
|
import { buildGroundedAnswerContextPackSummary, } from "@oscharko-dev/keiko-contracts/bff-wire";
|
|
14
|
-
import { redact } from "@oscharko-dev/keiko-security";
|
|
15
19
|
import { errorBody } from "./routes.js";
|
|
16
|
-
import { currentGroundingLimits, currentRedactionSecrets } from "./deps.js";
|
|
20
|
+
import { currentContextProfileForModel, currentGroundingLimits, currentOwnAssessmentPolicy, currentRedactionSecrets, } from "./deps.js";
|
|
21
|
+
import { withAdoptedContextWindowRetry } from "./gateway-context-window.js";
|
|
22
|
+
import { countGatewayPromptTokens, } from "@oscharko-dev/keiko-model-gateway/internal/prompt-token-accounting";
|
|
23
|
+
import { fitKnowledgePrompt, logPromptWindowFit } from "./knowledge-prompt-window.js";
|
|
17
24
|
import { ClarificationNeededError, clarificationUserMessage, } from "./grounded-orchestrator.js";
|
|
18
|
-
import { buildConnectedScopes, defaultRetriever, mergeContextPackSummaries, sourceLabels, splitExplorationBudget, splitExplorationBudgets, } from "./grounded-qa-multi-source.js";
|
|
25
|
+
import { buildConnectedScopes, defaultRetriever, mergeContextPackSummaries, groundedSourceScopeFingerprint, sourceLabels, splitExplorationBudget, splitExplorationBudgets, recordPluralCitationRepairFailure, recordPluralGroundedAnswer, finalPluralRepairAnswer, uninvokedCitationRepair, verifiedPluralInsufficiencyScopeIndex, } from "./grounded-qa-multi-source.js";
|
|
19
26
|
import { LOCAL_KNOWLEDGE_RETRIEVAL_CANDIDATES, activityDisplayName, buildSelectedScopeSourceLookup, createEmbeddingAdapter, openStoreForDeps, projectLocalKnowledgeCitation, retrievalActivityResultFromRetrieval, scopeStateFailure, selectedCapsulesForScope, tryBuildKnowledgePodRetrievalActivity, } from "./local-knowledge-grounded-qa.js";
|
|
20
27
|
import { buildStoredPreviewCitations } from "./local-knowledge-preview-authority.js";
|
|
21
|
-
import {
|
|
28
|
+
import { groundedSystemPrompt, sentGroundedFileCount } from "./grounded-prompt.js";
|
|
29
|
+
import { sentPromptContext } from "./grounded-prompt-context.js";
|
|
30
|
+
import { normalizeGroundedAnswerAssessment } from "./grounded-answer-assessment.js";
|
|
22
31
|
import { evidenceRetentionObserver } from "./evidence-retention-log.js";
|
|
23
|
-
import { normalizeGroundedAnswerPayload, } from "./grounded-answer.js";
|
|
24
|
-
import {
|
|
32
|
+
import { createGroundedSynthesisCallBudget, normalizeGroundedAnswerPayload, } from "./grounded-answer.js";
|
|
33
|
+
import { callPluralGroundedSynthesis, pluralSynthesisCountFields, pluralSynthesisMetadata, withPluralSynthesisUsage, capturePluralSynthesisCounts, } from "./grounded-plural-synthesis.js";
|
|
34
|
+
import { DEFAULT_CONTEXT_PROFILE } from "@oscharko-dev/keiko-contracts/runtime/context-engineering";
|
|
35
|
+
import { buildPackCitationIndex, groundedAnswerEvidenceFields, validateGroundedAnswerEvidence, connectedSearchNoEvidenceAnswer, incompleteAnswerMarker, missingCitationMarkerFor, assessmentAwareUncertainty, noEvidenceMarker, citationSourceIdForIndex, reconcileNumericCitations, unsupportedCitationMarker, unsupportedNumericCitationMarker, } from "./grounded-faithfulness.js";
|
|
25
36
|
import { assertUsableAssistantContent } from "./assistant-response.js";
|
|
26
37
|
import { rerankSelection } from "./grounded-rerank-facade.js";
|
|
27
38
|
import { buildLocalKnowledgeIndexLifecycle } from "./local-knowledge-index-lifecycle.js";
|
|
28
39
|
import { createEntailmentStage } from "./grounded-entailment-stage.js";
|
|
29
|
-
import { appendGroundedAnswerEntailment, appendGroundedAnswerNumericEntailment, buildQuery, buildSelectedScopeFrom, clarificationRequest, deriveScopeIdFrom, ensureNotCancelled, groundedContextAssemblyInput, groundedContextSummaryInput, groundedEvidenceRunId, groundedScopeWorkspaceFs,
|
|
40
|
+
import { appendGroundedAnswerEntailment, appendGroundedAnswerNumericEntailment, buildQuery, buildSelectedScopeFrom, clarificationRequest, deriveScopeIdFrom, ensureNotCancelled, groundedContextAssemblyInput, groundedContextSummaryInput, groundedEvidenceRunId, groundedScopeWorkspaceFs, mappedGatewayError, mappedWorkspaceError, modelWindowAwareBudget, modelInputPromptByteLimit, promptByteLength, fitPromptOmissionMetadata, promptSafeExcerptText, numberedEvidenceText, evidenceProvenanceLine, omissionReasonLines, sizeExclusionLines, redactString, groundedRetrievalContinuityFields, } from "./grounded-qa.js";
|
|
30
41
|
import { persistGroundedExchange } from "./grounded-message-persistence.js";
|
|
42
|
+
import { buildCitationRepairPrompt } from "./grounded-citation-repair.js";
|
|
43
|
+
import { logGroundedPromptSelection } from "./chat-activity.js";
|
|
44
|
+
import { repairGroundedAnswer } from "./grounded-answer-repair.js";
|
|
45
|
+
import { withSentEvidenceInventory, withSentSelectionDiagnostics, } from "./grounded-answer-evidence.js";
|
|
46
|
+
import { citationBehaviourFor, citationBehaviourObserverFor, } from "./grounded-citation-capability.js";
|
|
31
47
|
import { captureConversationReadinessAdmission, withConversationReadinessAdmission, } from "./conversation-readiness-admission.js";
|
|
32
48
|
// ─── Canonical connector reader ───────────────────────────────────────────────
|
|
33
49
|
// Mirrors buildConnectedScopes: the plural `localKnowledgeScopes` list supersedes the legacy single
|
|
@@ -58,21 +74,31 @@ function isFolderCandidate(candidate) {
|
|
|
58
74
|
function isConnectorCandidate(candidate) {
|
|
59
75
|
return candidate.kind === "connector";
|
|
60
76
|
}
|
|
61
|
-
function folderRerankInputs(folders, redactor) {
|
|
62
|
-
return folders.flatMap((src
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
sourceLabel: redactString(redactor, src.label),
|
|
67
|
-
tieKey: excerpt.atom.stableId,
|
|
68
|
-
payload: {
|
|
77
|
+
function folderRerankInputs(folders, redactor, references) {
|
|
78
|
+
return folders.flatMap((src, index) => {
|
|
79
|
+
const sourceScopeFingerprint = src.sourceScopeFingerprint;
|
|
80
|
+
const required = new Set(assistantReferenceExcerptIds(src.pack, (references ?? []).filter((reference) => reference.sourceScopeFingerprint === sourceScopeFingerprint)));
|
|
81
|
+
return src.pack.files.flatMap((file) => file.excerpts.map((excerpt) => ({
|
|
69
82
|
kind: "folder",
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
83
|
+
redactedText: redactString(redactor, excerpt.content),
|
|
84
|
+
engineScore: excerpt.atom.score,
|
|
85
|
+
sourceLabel: redactString(redactor, src.label),
|
|
86
|
+
tieKey: excerpt.atom.stableId,
|
|
87
|
+
...(required.has(excerpt.atom.stableId)
|
|
88
|
+
? { continuityReferenceKey: `${sourceScopeFingerprint}:${excerpt.atom.stableId}` }
|
|
89
|
+
: {}),
|
|
90
|
+
payload: {
|
|
91
|
+
kind: "folder",
|
|
92
|
+
scopePath: excerpt.atom.scopePath,
|
|
93
|
+
lineRange: excerpt.atom.lineRange,
|
|
94
|
+
score: excerpt.atom.score,
|
|
95
|
+
stableId: excerpt.atom.stableId,
|
|
96
|
+
sourceScopeFingerprint,
|
|
97
|
+
sourceId: citationSourceIdForIndex(index),
|
|
98
|
+
provenanceLine: evidenceProvenanceLine(excerpt.atom.provenance, redactor),
|
|
99
|
+
},
|
|
100
|
+
})));
|
|
101
|
+
});
|
|
76
102
|
}
|
|
77
103
|
// Cheap length proxy for rerankAndSelect's byte-budget check, computed from the citation's own
|
|
78
104
|
// character span — no store access. Text/page-unit references carry characterStart/characterEnd on
|
|
@@ -125,7 +151,7 @@ function buildUnifiedSelection(ctx, folders, connectors, store, includeConnector
|
|
|
125
151
|
const limits = currentGroundingLimits(ctx.deps);
|
|
126
152
|
const { redactor } = ctx.deps;
|
|
127
153
|
const inputs = [
|
|
128
|
-
...folderRerankInputs(folders, redactor),
|
|
154
|
+
...folderRerankInputs(folders, redactor, ctx.assistantReferents),
|
|
129
155
|
...connectorRerankInputs(connectors, store, redactor, limits.maxExcerptChars, includeConnectorExcerptText),
|
|
130
156
|
];
|
|
131
157
|
return rerankAndSelect(inputs, {
|
|
@@ -158,6 +184,7 @@ async function rerankHybridSelection(ctx, preliminary, limits, externalReranking
|
|
|
158
184
|
},
|
|
159
185
|
applyScore: withModelRerankScore,
|
|
160
186
|
fallbackMode: "slice-topN",
|
|
187
|
+
requiredCandidateKey: (candidate) => candidate.continuityReferenceKey,
|
|
161
188
|
});
|
|
162
189
|
return { selected: withFinalMarkers(result.selected), diagnostics: result.diagnostics };
|
|
163
190
|
}
|
|
@@ -179,6 +206,40 @@ function referenceAllowsEvidencePersistence(store, reference) {
|
|
|
179
206
|
// hybrid asks with multiple folder scopes scale with the folder count instead of the slowest
|
|
180
207
|
// single folder.
|
|
181
208
|
const MAX_FOLDER_RETRIEVAL_CONCURRENCY = 4;
|
|
209
|
+
function retrievedFolderSlot(ctx, cs, label, scope, out) {
|
|
210
|
+
return {
|
|
211
|
+
kind: "retrieved",
|
|
212
|
+
value: {
|
|
213
|
+
label,
|
|
214
|
+
pack: out.pack,
|
|
215
|
+
elapsedMs: out.elapsedMs,
|
|
216
|
+
scope,
|
|
217
|
+
plan: out.plan,
|
|
218
|
+
declarationScopeIndexFor: out.declarationScopeIndexFor,
|
|
219
|
+
sourceScopeFingerprint: groundedSourceScopeFingerprint(scope, cs, ctx.sourceScopeFingerprints),
|
|
220
|
+
},
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
function invalidFolderSlot(label) {
|
|
224
|
+
return {
|
|
225
|
+
kind: "skipped",
|
|
226
|
+
value: { label, reason: "pack-validation-failed", message: "Pack validation failed." },
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
function recoverableFolderFailure(ctx, error, label, index) {
|
|
230
|
+
const failure = caughtGroundedPackValidation(error);
|
|
231
|
+
if (failure !== undefined) {
|
|
232
|
+
recordGroundedPackValidation(ctx.deps, ctx.correlationId, failure, "source-skipped", index);
|
|
233
|
+
return invalidFolderSlot(label);
|
|
234
|
+
}
|
|
235
|
+
if (error instanceof EmbeddingAdapterError) {
|
|
236
|
+
return {
|
|
237
|
+
kind: "skipped",
|
|
238
|
+
value: { label, reason: "embedding-unavailable", message: "Embedding adapter unavailable." },
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
return undefined;
|
|
242
|
+
}
|
|
182
243
|
async function retrieveFolderIntoSlot(ctx, retriever, query, budget, inputs) {
|
|
183
244
|
const { cs, label, index } = inputs;
|
|
184
245
|
const scope = buildSelectedScopeFrom(ctx.chat, cs, deriveScopeIdFrom(ctx.chat, cs, index));
|
|
@@ -190,38 +251,28 @@ async function retrieveFolderIntoSlot(ctx, retriever, query, budget, inputs) {
|
|
|
190
251
|
query,
|
|
191
252
|
workspaceRoot: scope.workspaceRoot,
|
|
192
253
|
budget,
|
|
254
|
+
...groundedRetrievalContinuityFields(ctx, scope, cs, ctx.sourceScopeFingerprints),
|
|
193
255
|
...(workspaceFs === undefined ? {} : { workspaceFs }),
|
|
194
|
-
});
|
|
256
|
+
}, ctx.signal);
|
|
195
257
|
ensureNotCancelled(ctx.signal);
|
|
196
258
|
}
|
|
197
259
|
catch (error) {
|
|
198
|
-
//
|
|
199
|
-
//
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
if (error instanceof EmbeddingAdapterError) {
|
|
204
|
-
return {
|
|
205
|
-
kind: "skipped",
|
|
206
|
-
value: {
|
|
207
|
-
label,
|
|
208
|
-
reason: "embedding-unavailable",
|
|
209
|
-
message: "Embedding adapter unavailable.",
|
|
210
|
-
},
|
|
211
|
-
};
|
|
212
|
-
}
|
|
260
|
+
// Only declared per-source degradation is recoverable; cancellation, gateway and unknown
|
|
261
|
+
// failures retain their original error and propagate to the owning route boundary.
|
|
262
|
+
const recovered = recoverableFolderFailure(ctx, error, label, index);
|
|
263
|
+
if (recovered !== undefined)
|
|
264
|
+
return recovered;
|
|
213
265
|
throw error;
|
|
214
266
|
}
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
};
|
|
267
|
+
const validationFailure = inspectGroundedPack(out.pack, {
|
|
268
|
+
deps: ctx.deps,
|
|
269
|
+
correlationId: ctx.correlationId,
|
|
270
|
+
outcome: "source-skipped",
|
|
271
|
+
sourceIndex: index,
|
|
272
|
+
});
|
|
273
|
+
if (validationFailure !== undefined)
|
|
274
|
+
return invalidFolderSlot(label);
|
|
275
|
+
return retrievedFolderSlot(ctx, cs, label, scope, out);
|
|
225
276
|
}
|
|
226
277
|
async function retrieveFolderPacks(ctx, folderScopes, query, retriever) {
|
|
227
278
|
const labels = sourceLabels(folderScopes);
|
|
@@ -229,33 +280,21 @@ async function retrieveFolderPacks(ctx, folderScopes, query, retriever) {
|
|
|
229
280
|
// split, so with N folders every folder received the same rich share and the total N x work broke
|
|
230
281
|
// the documented "sum of every dimension equals the base cap" invariant. The plural form is
|
|
231
282
|
// query-weighted and per-folder, and re-uses the same allocation runMultiSourceAsk already uses.
|
|
232
|
-
const perFolderBudgets = splitExplorationBudgets(
|
|
283
|
+
const perFolderBudgets = splitExplorationBudgets(modelWindowAwareBudget(ctx.deps, ctx.modelId), folderScopes, query);
|
|
233
284
|
// Index-addressed slots keep the emitted order identical to the scope order regardless of which
|
|
234
285
|
// worker finishes first — evidence and labels stay deterministic (mirrors retrieveConnectors).
|
|
235
|
-
const slots =
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
if (folderBudget === undefined)
|
|
248
|
-
continue;
|
|
249
|
-
slots[i] = await retrieveFolderIntoSlot(ctx, retriever, query, folderBudget, {
|
|
250
|
-
cs,
|
|
251
|
-
label,
|
|
252
|
-
index: i,
|
|
253
|
-
});
|
|
254
|
-
ensureNotCancelled(ctx.signal);
|
|
255
|
-
}
|
|
256
|
-
};
|
|
257
|
-
const workerCount = Math.min(MAX_FOLDER_RETRIEVAL_CONCURRENCY, folderScopes.length);
|
|
258
|
-
await Promise.all(Array.from({ length: workerCount }, worker));
|
|
286
|
+
const slots = await mapWithConcurrency(folderScopes, MAX_FOLDER_RETRIEVAL_CONCURRENCY, async (cs, index, signal) => {
|
|
287
|
+
ensureNotCancelled(signal);
|
|
288
|
+
const label = labels[index];
|
|
289
|
+
const folderBudget = perFolderBudgets[index] ?? perFolderBudgets.at(-1);
|
|
290
|
+
if (label === undefined || folderBudget === undefined)
|
|
291
|
+
return undefined;
|
|
292
|
+
return retrieveFolderIntoSlot({ ...ctx, signal }, retriever, query, folderBudget, {
|
|
293
|
+
cs,
|
|
294
|
+
label,
|
|
295
|
+
index,
|
|
296
|
+
});
|
|
297
|
+
}, ctx.signal);
|
|
259
298
|
ensureNotCancelled(ctx.signal);
|
|
260
299
|
const retrieved = [];
|
|
261
300
|
const skipped = [];
|
|
@@ -301,12 +340,20 @@ export function connectorQuery(scope, content, connectorScopeCount) {
|
|
|
301
340
|
};
|
|
302
341
|
}
|
|
303
342
|
function defaultConnectorRetrieve(ctx, connectorScopeCount, vectorIndex) {
|
|
304
|
-
return async (store, scope, _selected) => {
|
|
343
|
+
return async (store, scope, _selected, signal = ctx.signal) => {
|
|
305
344
|
const embeddingAdapter = createEmbeddingAdapter(ctx.deps);
|
|
306
345
|
if ("status" in embeddingAdapter) {
|
|
307
346
|
throw new EmbeddingAdapterError(embeddingAdapter);
|
|
308
347
|
}
|
|
309
|
-
return runLocalKnowledgeRetrieval({
|
|
348
|
+
return await runLocalKnowledgeRetrieval({
|
|
349
|
+
store,
|
|
350
|
+
embeddingAdapter,
|
|
351
|
+
signal,
|
|
352
|
+
vectorIndex,
|
|
353
|
+
...(ctx.correlationId !== undefined
|
|
354
|
+
? { logContext: { correlationId: ctx.correlationId } }
|
|
355
|
+
: {}),
|
|
356
|
+
}, connectorQuery(scope, ctx.retrievalContent ?? ctx.content, connectorScopeCount));
|
|
310
357
|
};
|
|
311
358
|
}
|
|
312
359
|
export class EmbeddingAdapterError extends Error {
|
|
@@ -322,7 +369,7 @@ export class EmbeddingAdapterError extends Error {
|
|
|
322
369
|
// embedding is a network call, and paying those serially made multi-connector asks scale with
|
|
323
370
|
// the connector count instead of the slowest single connector.
|
|
324
371
|
const MAX_CONNECTOR_RETRIEVAL_CONCURRENCY = 4;
|
|
325
|
-
async function retrieveConnectorIntoSlot(retrieve, store, inputs) {
|
|
372
|
+
async function retrieveConnectorIntoSlot(retrieve, store, signal, inputs) {
|
|
326
373
|
const failure = scopeStateFailure(inputs.selected);
|
|
327
374
|
if (failure !== undefined) {
|
|
328
375
|
return {
|
|
@@ -335,7 +382,7 @@ async function retrieveConnectorIntoSlot(retrieve, store, inputs) {
|
|
|
335
382
|
},
|
|
336
383
|
};
|
|
337
384
|
}
|
|
338
|
-
const outcome = await retrieveOneConnector(retrieve, store, inputs.scope, inputs.selected);
|
|
385
|
+
const outcome = await retrieveOneConnector(retrieve, store, inputs.scope, inputs.selected, signal);
|
|
339
386
|
if ("status" in outcome) {
|
|
340
387
|
return {
|
|
341
388
|
kind: "skipped",
|
|
@@ -362,28 +409,14 @@ async function retrieveConnectors(ctx, store, vectorIndex, connectorScopes, reso
|
|
|
362
409
|
const labels = connectorLabels(resolved.map((s) => s.scopeLabel));
|
|
363
410
|
// Index-addressed slots keep the emitted order identical to the scope order regardless of
|
|
364
411
|
// which worker finishes first — evidence and labels stay deterministic.
|
|
365
|
-
const slots =
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
const selected = resolved[i];
|
|
374
|
-
const label = labels[i];
|
|
375
|
-
if (scope === undefined || selected === undefined || label === undefined)
|
|
376
|
-
continue;
|
|
377
|
-
slots[i] = await retrieveConnectorIntoSlot(retrieve, store, {
|
|
378
|
-
scope,
|
|
379
|
-
selected,
|
|
380
|
-
label,
|
|
381
|
-
});
|
|
382
|
-
ensureNotCancelled(ctx.signal);
|
|
383
|
-
}
|
|
384
|
-
};
|
|
385
|
-
const workerCount = Math.min(MAX_CONNECTOR_RETRIEVAL_CONCURRENCY, connectorScopes.length);
|
|
386
|
-
await Promise.all(Array.from({ length: workerCount }, worker));
|
|
412
|
+
const slots = await mapWithConcurrency(connectorScopes, MAX_CONNECTOR_RETRIEVAL_CONCURRENCY, async (scope, index, signal) => {
|
|
413
|
+
ensureNotCancelled(signal);
|
|
414
|
+
const selected = resolved[index];
|
|
415
|
+
const label = labels[index];
|
|
416
|
+
if (selected === undefined || label === undefined)
|
|
417
|
+
return undefined;
|
|
418
|
+
return retrieveConnectorIntoSlot(retrieve, store, signal, { scope, selected, label });
|
|
419
|
+
}, ctx.signal);
|
|
387
420
|
ensureNotCancelled(ctx.signal);
|
|
388
421
|
const retrieved = [];
|
|
389
422
|
const skipped = [];
|
|
@@ -397,9 +430,9 @@ async function retrieveConnectors(ctx, store, vectorIndex, connectorScopes, reso
|
|
|
397
430
|
}
|
|
398
431
|
return { retrieved, skipped };
|
|
399
432
|
}
|
|
400
|
-
async function retrieveOneConnector(retrieve, store, scope, selected) {
|
|
433
|
+
async function retrieveOneConnector(retrieve, store, scope, selected, signal) {
|
|
401
434
|
try {
|
|
402
|
-
return await retrieve(store, scope, selected);
|
|
435
|
+
return await retrieve(store, scope, selected, signal);
|
|
403
436
|
}
|
|
404
437
|
catch (error) {
|
|
405
438
|
if (error instanceof EmbeddingAdapterError)
|
|
@@ -408,39 +441,41 @@ async function retrieveOneConnector(retrieve, store, scope, selected) {
|
|
|
408
441
|
}
|
|
409
442
|
}
|
|
410
443
|
// ─── Merged prompt ────────────────────────────────────────────────────────────
|
|
411
|
-
//
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
444
|
+
// The hybrid topology shares the folder prompt and deterministic localized abstention producer.
|
|
445
|
+
function hybridSystemPrompt(deps) {
|
|
446
|
+
return (`${groundedSystemPrompt(currentOwnAssessmentPolicy(deps), "numeric")} Connector excerpts are indexed-document citations: attribute every ` +
|
|
447
|
+
"connector claim to its source label and the matching [n] marker in addition to any file reference.");
|
|
448
|
+
}
|
|
449
|
+
function hybridCandidateExcerpt(candidate) {
|
|
450
|
+
if (candidate.redactedText.length === 0)
|
|
451
|
+
return "(No excerpt text available.)";
|
|
452
|
+
const range = isFolderCandidate(candidate) ? candidate.payload.lineRange : undefined;
|
|
453
|
+
return promptSafeExcerptText(numberedEvidenceText(candidate.redactedText, range));
|
|
454
|
+
}
|
|
419
455
|
function renderHybridCandidateBlock(candidate) {
|
|
420
456
|
const kindLabel = candidate.kind === "folder" ? "Folder" : "Connector";
|
|
421
|
-
const excerpt = candidate
|
|
422
|
-
|
|
423
|
-
: "(No excerpt text available.)";
|
|
457
|
+
const excerpt = hybridCandidateExcerpt(candidate);
|
|
458
|
+
const provenance = isFolderCandidate(candidate) ? `${candidate.payload.provenanceLine}\n` : "";
|
|
424
459
|
return (`[${String(candidate.marker)}] ### ${kindLabel} source: ${candidate.sourceLabel}\n` +
|
|
460
|
+
provenance +
|
|
425
461
|
`\`\`\`text\n${excerpt}\n\`\`\``);
|
|
426
462
|
}
|
|
427
463
|
// Builds the user message from the SAME selected set used for citations. Each candidate gets a
|
|
428
464
|
// single global [n] marker that is consistent with the citation arrays. redactedText is
|
|
429
465
|
// already redacted — do NOT pass it through redactString again.
|
|
430
|
-
function buildRerankedHybridUserMessage(question, selected, redactor) {
|
|
466
|
+
function buildRerankedHybridUserMessage(question, selected, redactor, omissionMetadata = []) {
|
|
431
467
|
const folderCount = selected.filter((s) => s.kind === "folder").length;
|
|
432
468
|
const connectorCount = selected.filter((s) => s.kind === "connector").length;
|
|
433
469
|
const lines = [
|
|
434
|
-
"User question:",
|
|
435
|
-
redactString(redactor, question),
|
|
436
|
-
"",
|
|
437
470
|
`Connected sources: ${String(folderCount)} folder(s), ${String(connectorCount)} connector(s).`,
|
|
438
471
|
"Cite every claim by its [n] marker and source label.",
|
|
472
|
+
...omissionMetadata,
|
|
439
473
|
"",
|
|
440
474
|
];
|
|
441
475
|
for (const candidate of selected) {
|
|
442
476
|
lines.push(renderHybridCandidateBlock(candidate), "");
|
|
443
477
|
}
|
|
478
|
+
lines.push("User question:", redactString(redactor, question), "");
|
|
444
479
|
return lines.join("\n");
|
|
445
480
|
}
|
|
446
481
|
function numericEntailmentEvidence(selected) {
|
|
@@ -451,30 +486,145 @@ function numericEntailmentEvidence(selected) {
|
|
|
451
486
|
excerptText: renderHybridCandidateBlock(candidate),
|
|
452
487
|
}));
|
|
453
488
|
}
|
|
454
|
-
export function createHybridAnswerer(model, modelId, signal, correlationId) {
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
489
|
+
export function createHybridAnswerer(model, modelId, signal, correlationId, deps) {
|
|
490
|
+
const synthesisBudget = createGroundedSynthesisCallBudget();
|
|
491
|
+
const ctx = {
|
|
492
|
+
model,
|
|
493
|
+
modelId,
|
|
494
|
+
signal,
|
|
495
|
+
correlationId,
|
|
496
|
+
deps,
|
|
497
|
+
synthesisBudget,
|
|
498
|
+
lastPrompt: undefined,
|
|
499
|
+
};
|
|
500
|
+
return Object.assign((system, user, options = {}) => hybridGatewayAnswer(ctx, system, user, options), {
|
|
501
|
+
remainingSynthesisCalls: () => synthesisBudget.remaining(),
|
|
502
|
+
pendingSynthesisUsage: () => synthesisBudget.pendingUsage(),
|
|
503
|
+
takeFailedSynthesisUsage: () => synthesisBudget.takeUsage(),
|
|
504
|
+
reservedSynthesisOutputTokens: () => synthesisBudget.reservedOutputTokens(),
|
|
505
|
+
completedSynthesisCalls: () => synthesisBudget.completed(),
|
|
506
|
+
repair: (original, options) => hybridGatewayRepair(ctx, original, options),
|
|
507
|
+
});
|
|
508
|
+
}
|
|
509
|
+
async function hybridGatewayAnswer(ctx, system, user, options) {
|
|
510
|
+
const countsBefore = capturePluralSynthesisCounts(ctx.synthesisBudget);
|
|
511
|
+
ctx.lastPrompt = [
|
|
512
|
+
{ role: "system", content: system },
|
|
513
|
+
{ role: "user", content: user },
|
|
514
|
+
];
|
|
515
|
+
const grants = hybridSynthesisGrants(ctx.deps, ctx.modelId, options, ctx.signal);
|
|
516
|
+
const profile = ctx.deps === undefined ? undefined : currentContextProfileForModel(ctx.deps, ctx.modelId);
|
|
517
|
+
const response = await callPluralGroundedSynthesis({
|
|
518
|
+
model: ctx.model,
|
|
519
|
+
signal: ctx.signal,
|
|
520
|
+
budget: ctx.synthesisBudget,
|
|
521
|
+
grants,
|
|
522
|
+
accounting: profile?.tokenAccounting,
|
|
523
|
+
request: {
|
|
524
|
+
modelId: ctx.modelId,
|
|
525
|
+
messages: ctx.lastPrompt,
|
|
526
|
+
maxOutputTokens: Math.min(ctx.deps === undefined
|
|
527
|
+
? grants.outputTokensMax
|
|
528
|
+
: modelWindowAwareBudget(ctx.deps, ctx.modelId).modelOutputTokensMax, grants.outputTokensMax - ctx.synthesisBudget.pendingUsage().completionTokens),
|
|
463
529
|
stream: false,
|
|
464
|
-
logContext: { correlationId },
|
|
465
|
-
},
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
530
|
+
logContext: { correlationId: ctx.correlationId },
|
|
531
|
+
},
|
|
532
|
+
});
|
|
533
|
+
return withPluralSynthesisUsage(hybridGatewayAnswerResult(response, ctx.modelId), ctx.synthesisBudget, countsBefore);
|
|
534
|
+
}
|
|
535
|
+
function hybridSynthesisGrants(deps, modelId, options, signal) {
|
|
536
|
+
const budget = deps === undefined ? DEFAULT_EXPLORATION_BUDGET : modelWindowAwareBudget(deps, modelId);
|
|
537
|
+
return {
|
|
538
|
+
inputTokensMax: options.modelInputTokensMax ?? budget.modelInputTokensMax,
|
|
539
|
+
outputTokensMax: options.modelOutputTokensMax ?? budget.modelOutputTokensMax,
|
|
540
|
+
signal,
|
|
541
|
+
deadlineAtMs: options.deadlineAtMs,
|
|
542
|
+
};
|
|
543
|
+
}
|
|
544
|
+
function hybridGatewayAnswerResult(response, modelId) {
|
|
545
|
+
const content = response.content.trim();
|
|
546
|
+
assertUsableAssistantContent(content, modelId);
|
|
547
|
+
return {
|
|
548
|
+
content,
|
|
549
|
+
usage: {
|
|
550
|
+
promptTokens: response.usage.promptTokens,
|
|
551
|
+
completionTokens: response.usage.completionTokens,
|
|
552
|
+
},
|
|
553
|
+
finishReason: response.finishReason,
|
|
476
554
|
};
|
|
477
555
|
}
|
|
556
|
+
function hybridRepairMessages(ctx, original, options) {
|
|
557
|
+
const profile = ctx.deps === undefined ? undefined : currentContextProfileForModel(ctx.deps, ctx.modelId);
|
|
558
|
+
const inputMax = Math.min(options.modelInputTokensMax ?? 0, profile?.effectiveInputBudget ?? Number.MAX_SAFE_INTEGER);
|
|
559
|
+
const messages = hybridRepairPrompt(ctx.lastPrompt, original);
|
|
560
|
+
if (messages.length === 0 ||
|
|
561
|
+
promptByteLength(messages) > modelInputPromptByteLimit(inputMax) ||
|
|
562
|
+
countGatewayPromptTokens({ messages }, profile?.tokenAccounting) > inputMax)
|
|
563
|
+
return undefined;
|
|
564
|
+
return messages;
|
|
565
|
+
}
|
|
566
|
+
function hybridRepairPrompt(lastPrompt, original) {
|
|
567
|
+
const system = lastPrompt?.[0];
|
|
568
|
+
const user = lastPrompt?.[1];
|
|
569
|
+
if (system === undefined || user === undefined)
|
|
570
|
+
return [];
|
|
571
|
+
return [
|
|
572
|
+
system,
|
|
573
|
+
{ ...user, content: `${user.content}\n\n${buildCitationRepairPrompt(original, "numeric")}` },
|
|
574
|
+
];
|
|
575
|
+
}
|
|
576
|
+
function hybridRepairSignal(parent, options) {
|
|
577
|
+
const remainingMs = options.deadlineAtMs === undefined ? undefined : options.deadlineAtMs - Date.now();
|
|
578
|
+
if (remainingMs !== undefined && remainingMs <= 0)
|
|
579
|
+
return undefined;
|
|
580
|
+
const signals = [parent, ...(options.signal === undefined ? [] : [options.signal])];
|
|
581
|
+
if (remainingMs !== undefined)
|
|
582
|
+
signals.push(AbortSignal.timeout(Math.ceil(remainingMs)));
|
|
583
|
+
return AbortSignal.any(signals);
|
|
584
|
+
}
|
|
585
|
+
async function hybridGatewayRepair(ctx, original, options) {
|
|
586
|
+
const countsBefore = capturePluralSynthesisCounts(ctx.synthesisBudget);
|
|
587
|
+
const messages = hybridRepairMessages(ctx, original, options);
|
|
588
|
+
const signal = hybridRepairSignal(ctx.signal, options);
|
|
589
|
+
if (messages === undefined ||
|
|
590
|
+
ctx.synthesisBudget.remaining() <= 0 ||
|
|
591
|
+
signal === undefined ||
|
|
592
|
+
(options.deadlineAtMs !== undefined && Date.now() >= options.deadlineAtMs))
|
|
593
|
+
return uninvokedCitationRepair(original);
|
|
594
|
+
logHybridRepairPrompt(ctx, messages, options);
|
|
595
|
+
if (options.deadlineAtMs !== undefined && Date.now() >= options.deadlineAtMs)
|
|
596
|
+
return uninvokedCitationRepair(original);
|
|
597
|
+
ensureNotCancelled(signal);
|
|
598
|
+
const response = await callPluralGroundedSynthesis({
|
|
599
|
+
model: ctx.model,
|
|
600
|
+
signal,
|
|
601
|
+
budget: ctx.synthesisBudget,
|
|
602
|
+
grants: hybridSynthesisGrants(ctx.deps, ctx.modelId, options, signal),
|
|
603
|
+
accounting: ctx.deps === undefined
|
|
604
|
+
? undefined
|
|
605
|
+
: currentContextProfileForModel(ctx.deps, ctx.modelId)?.tokenAccounting,
|
|
606
|
+
request: {
|
|
607
|
+
modelId: ctx.modelId,
|
|
608
|
+
messages,
|
|
609
|
+
stream: false,
|
|
610
|
+
maxOutputTokens: options.modelOutputTokensMax,
|
|
611
|
+
logContext: { correlationId: ctx.correlationId },
|
|
612
|
+
},
|
|
613
|
+
});
|
|
614
|
+
assertUsableAssistantContent(response.content.trim(), ctx.modelId);
|
|
615
|
+
return withPluralSynthesisUsage({
|
|
616
|
+
content: response.content.trim(),
|
|
617
|
+
modelInvoked: true,
|
|
618
|
+
usage: { promptTokens: 0, completionTokens: 0 },
|
|
619
|
+
}, ctx.synthesisBudget, countsBefore);
|
|
620
|
+
}
|
|
621
|
+
function logHybridRepairPrompt(ctx, messages, options) {
|
|
622
|
+
logGroundedPromptSelection(ctx.correlationId, { messages }, Math.min(options.modelInputTokensMax ?? 0, ctx.deps === undefined
|
|
623
|
+
? Number.MAX_SAFE_INTEGER
|
|
624
|
+
: modelWindowAwareBudget(ctx.deps, ctx.modelId).modelInputTokensMax), ctx.deps === undefined
|
|
625
|
+
? undefined
|
|
626
|
+
: currentContextProfileForModel(ctx.deps, ctx.modelId)?.tokenAccounting);
|
|
627
|
+
}
|
|
478
628
|
// ─── Citations + summaries ────────────────────────────────────────────────────
|
|
479
629
|
// Both citation arrays are derived from the SAME selected set so that the [n] markers in the
|
|
480
630
|
// prompt are always consistent with the citation arrays surfaced to the client.
|
|
@@ -492,6 +642,8 @@ function selectedFolderCitations(selected, redactor) {
|
|
|
492
642
|
score: s.payload.score,
|
|
493
643
|
stableId: redactString(redactor, s.payload.stableId),
|
|
494
644
|
source: s.sourceLabel,
|
|
645
|
+
sourceScopeFingerprint: s.payload.sourceScopeFingerprint,
|
|
646
|
+
sourceId: s.payload.sourceId,
|
|
495
647
|
marker: s.marker,
|
|
496
648
|
}));
|
|
497
649
|
}
|
|
@@ -652,23 +804,77 @@ function folderUncertainty(folders, redactor) {
|
|
|
652
804
|
claim: redactString(redactor, u.claim),
|
|
653
805
|
})));
|
|
654
806
|
}
|
|
807
|
+
// The folder evidence the model was shown: every retrieved folder pack restricted to the excerpts
|
|
808
|
+
// of the sent (reranked and window-fitted) folder candidates. A `[path:line]` citation and its
|
|
809
|
+
// entailment judgment obey the same sent-evidence boundary as a numeric `[n]`; an excerpt the fit or
|
|
810
|
+
// the rerank cap left out of the prompt supports nothing (PR #3678 review).
|
|
811
|
+
function sentFolderPacks(folders, selected) {
|
|
812
|
+
const sent = new Set(selected.filter(isFolderCandidate).map((candidate) => candidate.payload.stableId));
|
|
813
|
+
return folders.map(({ pack }) => {
|
|
814
|
+
const inventory = {
|
|
815
|
+
...pack,
|
|
816
|
+
files: pack.files
|
|
817
|
+
.map((file) => ({
|
|
818
|
+
...file,
|
|
819
|
+
excerpts: file.excerpts.filter((excerpt) => sent.has(excerpt.atom.stableId)),
|
|
820
|
+
}))
|
|
821
|
+
.filter((file) => file.excerpts.length > 0),
|
|
822
|
+
};
|
|
823
|
+
return withSentSelectionDiagnostics(inventory, [inventory], Date.now());
|
|
824
|
+
});
|
|
825
|
+
}
|
|
826
|
+
function fittedFolderDiagnostics(folders, selected) {
|
|
827
|
+
const sentPacks = sentFolderPacks(folders, selected);
|
|
828
|
+
const nowMs = Date.now();
|
|
829
|
+
return folders.map((source) => ({
|
|
830
|
+
...source,
|
|
831
|
+
pack: withSentSelectionDiagnostics(source.pack, sentPacks, nowMs),
|
|
832
|
+
}));
|
|
833
|
+
}
|
|
834
|
+
function hybridNumericReconciliation(answer, selected, correlationId, metadata = {}) {
|
|
835
|
+
const supportedMarkers = new Set(selected.map((candidate) => candidate.marker));
|
|
836
|
+
const reconciliation = reconcileNumericCitations(answer, supportedMarkers);
|
|
837
|
+
logCitationReconciliation({
|
|
838
|
+
answer,
|
|
839
|
+
referenceCount: supportedMarkers.size,
|
|
840
|
+
attachedIndices: [...reconciliation.citedMarkers],
|
|
841
|
+
refusal: isNoEvidenceAnswerText(answer),
|
|
842
|
+
...metadata,
|
|
843
|
+
}, correlationId);
|
|
844
|
+
return reconciliation;
|
|
845
|
+
}
|
|
846
|
+
function hybridCitationMetadata(assistant) {
|
|
847
|
+
const counts = assistant.insufficiencyObservation;
|
|
848
|
+
return {
|
|
849
|
+
answerKind: assistant.answerKind,
|
|
850
|
+
citationBehaviour: assistant.citationBehaviour,
|
|
851
|
+
citationRepairDisposition: assistant.citationRepairDisposition,
|
|
852
|
+
...(counts === undefined
|
|
853
|
+
? {}
|
|
854
|
+
: {
|
|
855
|
+
insufficiencyDeclaredCount: counts.declaredCount,
|
|
856
|
+
declaredInScopeCount: counts.inScopeCount,
|
|
857
|
+
declaredUnreadInScopeCount: counts.unreadInScopeCount,
|
|
858
|
+
declaredNotInScopeCount: counts.notInScopeCount,
|
|
859
|
+
}),
|
|
860
|
+
};
|
|
861
|
+
}
|
|
655
862
|
// GEN-AI-GROUNDING-001/-008 (RB-4): reconcile the hybrid answer's inline `[path:line]` citations
|
|
656
863
|
// against the FOLDER evidence packs the model actually received. Connector citations use marker
|
|
657
864
|
// labels rather than repo paths, so path-shaped inline references are validated against folder
|
|
658
865
|
// evidence (where the [path:line] format applies). Mirrors the single/multi-source reconciliation.
|
|
659
|
-
function hybridReconciliationUncertainty(assistant, folders, selected, redactor, sourceEvidenceAvailable) {
|
|
866
|
+
function hybridReconciliationUncertainty(assistant, folders, selected, redactor, sourceEvidenceAvailable, correlationId) {
|
|
660
867
|
const nowMs = Date.now();
|
|
661
|
-
const reconciliation =
|
|
868
|
+
const reconciliation = reconcileAndLogInlineCitations(assistant.content, buildPackCitationIndex(sentFolderPacks(folders, selected)), correlationId, hybridCitationMetadata(assistant));
|
|
662
869
|
const unsupported = unsupportedCitationMarker(reconciliation.unsupported, nowMs);
|
|
663
|
-
const
|
|
664
|
-
const numericReconciliation = reconcileNumericCitations(assistant.content, supportedNumericMarkers);
|
|
870
|
+
const numericReconciliation = hybridNumericReconciliation(assistant.content, selected, correlationId, hybridCitationMetadata(assistant));
|
|
665
871
|
const unsupportedNumeric = unsupportedNumericCitationMarker(numericReconciliation.unsupportedMarkers, nowMs);
|
|
666
872
|
const missing = sourceEvidenceAvailable &&
|
|
667
873
|
unsupported === undefined &&
|
|
668
874
|
unsupportedNumeric === undefined &&
|
|
669
875
|
reconciliation.citedScopePaths.size === 0 &&
|
|
670
876
|
numericReconciliation.citedMarkers.size === 0
|
|
671
|
-
?
|
|
877
|
+
? missingCitationMarkerFor(assistant.content, nowMs, assistant.answerKind)
|
|
672
878
|
: undefined;
|
|
673
879
|
const markers = [
|
|
674
880
|
...(unsupported === undefined ? [] : [unsupported]),
|
|
@@ -684,7 +890,9 @@ function hybridReconciliationUncertainty(assistant, folders, selected, redactor,
|
|
|
684
890
|
function hybridEntailmentStage(ctx, capsules) {
|
|
685
891
|
return ctx.entailmentStageFactory !== undefined
|
|
686
892
|
? ctx.entailmentStageFactory({ capsules, modelId: ctx.modelId, signal: ctx.signal })
|
|
687
|
-
: createEntailmentStage(ctx.deps, capsules, ctx.modelId,
|
|
893
|
+
: createEntailmentStage(ctx.deps, capsules, ctx.modelId,
|
|
894
|
+
// The request's correlation, so the verdict line joins the ask (PR #3678 review).
|
|
895
|
+
{ diagnostics: ctx.deps.diagnostics, correlationId: ctx.correlationId }, ctx.signal);
|
|
688
896
|
}
|
|
689
897
|
function answerWithHybridMarkers(ctx, answer, markers) {
|
|
690
898
|
if (markers.length === 0)
|
|
@@ -706,11 +914,12 @@ async function applyHybridEntailment(ctx, answer, answerContent, folders, connec
|
|
|
706
914
|
if (stage === undefined) {
|
|
707
915
|
return answer;
|
|
708
916
|
}
|
|
917
|
+
const sentPacks = sentFolderPacks(folders, selected);
|
|
709
918
|
if (stage.evaluateHybrid !== undefined) {
|
|
710
|
-
const markers = await stage.evaluateHybrid(answerContent,
|
|
919
|
+
const markers = await stage.evaluateHybrid(answerContent, sentPacks, numericEntailmentEvidence(selected), Date.now());
|
|
711
920
|
return answerWithHybridMarkers(ctx, answer, markers);
|
|
712
921
|
}
|
|
713
|
-
const folderEntailment = await appendGroundedAnswerEntailment(answer, stage, answerContent,
|
|
922
|
+
const folderEntailment = await appendGroundedAnswerEntailment(answer, stage, answerContent, sentPacks, ctx.deps.redactor);
|
|
714
923
|
return appendGroundedAnswerNumericEntailment(folderEntailment, stage, answerContent, numericEntailmentEvidence(selected), ctx.deps.redactor);
|
|
715
924
|
}
|
|
716
925
|
// ─── Evidence persistence ─────────────────────────────────────────────────────
|
|
@@ -718,10 +927,11 @@ async function applyHybridEntailment(ctx, answer, answerContent, folders, connec
|
|
|
718
927
|
// connector retrieval/answer-context audit via the LK sink (mirrors the single-connector path).
|
|
719
928
|
// Returns the first folder run id, surfaced as the answer's primary evidenceRunId, plus the full
|
|
720
929
|
// folder evidence set so reviewers can inspect every connected-context source.
|
|
721
|
-
function persistFolderEvidence(ctx, folders, cited) {
|
|
930
|
+
function persistFolderEvidence(ctx, folders, cited, completedSynthesisCallCount, sentPacks) {
|
|
722
931
|
let firstRunId;
|
|
723
932
|
const runIds = [];
|
|
724
933
|
for (const [ordinal, src] of folders.entries()) {
|
|
934
|
+
const pack = withSentEvidenceInventory(src.pack, sentPacks);
|
|
725
935
|
const finishedAt = Date.now();
|
|
726
936
|
const startedAt = Math.max(0, finishedAt - src.elapsedMs);
|
|
727
937
|
const runId = groundedEvidenceRunId({
|
|
@@ -735,14 +945,17 @@ function persistFolderEvidence(ctx, folders, cited) {
|
|
|
735
945
|
runId,
|
|
736
946
|
modelId: ctx.modelId,
|
|
737
947
|
workspaceRoot: src.scope.workspaceRoot,
|
|
948
|
+
sourceScopeFingerprint: src.sourceScopeFingerprint,
|
|
738
949
|
chatId: ctx.chat.id,
|
|
739
950
|
plan: src.plan,
|
|
740
|
-
pack
|
|
741
|
-
|
|
951
|
+
pack,
|
|
952
|
+
retrievedFileCount: src.pack.files.length,
|
|
953
|
+
citationCount: folderCitationCount(pack, cited),
|
|
954
|
+
completedSynthesisCallCount,
|
|
742
955
|
elapsedMs: src.elapsedMs,
|
|
743
956
|
startedAt,
|
|
744
957
|
finishedAt,
|
|
745
|
-
...groundedContextAssemblyInput({ contextProfile: ctx.contextProfile },
|
|
958
|
+
...groundedContextAssemblyInput({ contextProfile: ctx.contextProfile }, pack),
|
|
746
959
|
}, {
|
|
747
960
|
store: ctx.deps.evidenceStore,
|
|
748
961
|
env: ctx.deps.env,
|
|
@@ -848,8 +1061,8 @@ function persistConnectorAudit(store, connectors, selected, modelId) {
|
|
|
848
1061
|
}
|
|
849
1062
|
emitAnswerContextAudit(sink, store, selected, modelId, occurredAt);
|
|
850
1063
|
}
|
|
851
|
-
function persistHybridEvidence(ctx, sources, store, selected, cited) {
|
|
852
|
-
const folder = persistFolderEvidence(ctx, sources.folders, cited);
|
|
1064
|
+
function persistHybridEvidence(ctx, sources, store, selected, cited, completedSynthesisCallCount) {
|
|
1065
|
+
const folder = persistFolderEvidence(ctx, sources.folders, cited, completedSynthesisCallCount, sentFolderPacks(sources.folders, selected));
|
|
853
1066
|
persistConnectorAudit(store, sources.connectors, selected, ctx.modelId);
|
|
854
1067
|
return { evidenceRunId: folder.firstRunId, evidenceRunIds: folder.runIds };
|
|
855
1068
|
}
|
|
@@ -862,6 +1075,7 @@ function buildHybridContextPack(input, summary) {
|
|
|
862
1075
|
connectorSourceCount: sources.connectorSourceCount,
|
|
863
1076
|
folder: {
|
|
864
1077
|
...summary,
|
|
1078
|
+
filesInPrompt: sentGroundedFileCount(sentFolderPacks(sources.folders, selected)),
|
|
865
1079
|
usage: {
|
|
866
1080
|
...summary.usage,
|
|
867
1081
|
modelInputTokens: summary.usage.modelInputTokens + assistant.usage.promptTokens,
|
|
@@ -889,13 +1103,13 @@ function noEvidenceUncertainty(selected, redactor, nowMs) {
|
|
|
889
1103
|
// Assembles the hybrid answer's uncertainty markers: per-source pack markers, skipped-source
|
|
890
1104
|
// notices, empty-selection no-evidence, and citation reconciliation (RB-4). Split out to keep
|
|
891
1105
|
// assembleHybridAnswer under the LOC bound.
|
|
892
|
-
function hybridAnswerUncertainty(sources, selected, assistant, redactor, nowMs) {
|
|
1106
|
+
function hybridAnswerUncertainty(sources, selected, assistant, redactor, nowMs, correlationId) {
|
|
893
1107
|
return [
|
|
894
1108
|
...folderUncertainty(sources.folders, redactor),
|
|
895
1109
|
...skippedUncertainty(sources.skippedFolders, redactor),
|
|
896
1110
|
...skippedUncertainty(sources.skipped, redactor),
|
|
897
1111
|
...noEvidenceUncertainty(selected, redactor, nowMs),
|
|
898
|
-
...hybridReconciliationUncertainty(assistant, sources.folders, selected, redactor, true),
|
|
1112
|
+
...hybridReconciliationUncertainty(assistant, sources.folders, selected, redactor, true, correlationId),
|
|
899
1113
|
];
|
|
900
1114
|
}
|
|
901
1115
|
function hybridAnswerContextPack(input) {
|
|
@@ -905,23 +1119,25 @@ function hybridAnswerContextPack(input) {
|
|
|
905
1119
|
});
|
|
906
1120
|
return buildHybridContextPack(input, summary);
|
|
907
1121
|
}
|
|
908
|
-
function hybridEvidenceForAnswer(ctx, sources, store, selected, cited, sourceEvidenceAvailable) {
|
|
1122
|
+
function hybridEvidenceForAnswer(ctx, sources, store, selected, cited, sourceEvidenceAvailable, completedSynthesisCallCount) {
|
|
909
1123
|
if (sourceEvidenceAvailable)
|
|
910
|
-
return persistHybridEvidence(ctx, sources, store, selected, cited);
|
|
1124
|
+
return persistHybridEvidence(ctx, sources, store, selected, cited, completedSynthesisCallCount);
|
|
911
1125
|
persistConnectorAudit(store, sources.connectors, [], ctx.modelId);
|
|
912
1126
|
return { evidenceRunIds: [] };
|
|
913
1127
|
}
|
|
914
|
-
function hybridUncertaintyForAnswer(sources, selected, assistant,
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
1128
|
+
function hybridUncertaintyForAnswer(sources, selected, assistant, ctx, sourceEvidenceAvailable, nowMs) {
|
|
1129
|
+
const { redactor } = ctx.deps;
|
|
1130
|
+
const { correlationId } = ctx;
|
|
1131
|
+
const markers = sourceEvidenceAvailable
|
|
1132
|
+
? hybridAnswerUncertainty(sources, selected, assistant, redactor, nowMs, correlationId)
|
|
1133
|
+
: [
|
|
1134
|
+
...folderUncertainty(sources.folders, redactor),
|
|
1135
|
+
...skippedUncertainty(sources.skippedFolders, redactor),
|
|
1136
|
+
...skippedUncertainty(sources.skipped, redactor),
|
|
1137
|
+
...noEvidenceUncertainty(selected, redactor, nowMs),
|
|
1138
|
+
...hybridReconciliationUncertainty(assistant, sources.folders, selected, redactor, sourceEvidenceAvailable, correlationId),
|
|
1139
|
+
];
|
|
1140
|
+
return assessmentAwareUncertainty(assistant.content, markers);
|
|
925
1141
|
}
|
|
926
1142
|
function projectHybridAnswer(ctx, sources, store, selected, assistant, reranker, sourceEvidenceAvailable) {
|
|
927
1143
|
const cited = citedHybridSelections(selected, assistant.content);
|
|
@@ -933,10 +1149,39 @@ function projectHybridAnswer(ctx, sources, store, selected, assistant, reranker,
|
|
|
933
1149
|
citations,
|
|
934
1150
|
knowledgeCitations,
|
|
935
1151
|
retrievalActivity,
|
|
936
|
-
evidence: hybridEvidenceForAnswer(ctx, sources, store, selected, cited, sourceEvidenceAvailable),
|
|
937
|
-
uncertainty: hybridUncertaintyForAnswer(sources, selected, assistant, ctx
|
|
1152
|
+
evidence: hybridEvidenceForAnswer(ctx, sources, store, selected, cited, sourceEvidenceAvailable, assistant.completedSynthesisCallCount),
|
|
1153
|
+
uncertainty: hybridUncertaintyForAnswer(sources, selected, assistant, ctx, sourceEvidenceAvailable, Date.now()),
|
|
938
1154
|
};
|
|
939
1155
|
}
|
|
1156
|
+
// The context meter's view of a hybrid prompt: the exact system and user messages the answerer sent
|
|
1157
|
+
// (the same pure builder over the same selected candidates) and the same prompt without candidates
|
|
1158
|
+
// (grounded-prompt-context.ts). The selected set is already capped, so every candidate is sent.
|
|
1159
|
+
function hybridPromptContext(ctx, selected, assistant, availableReferenceCount) {
|
|
1160
|
+
const question = ctx.answerContent ?? ctx.content;
|
|
1161
|
+
const { redactor } = ctx.deps;
|
|
1162
|
+
const system = { role: "system", content: hybridSystemPrompt(ctx.deps) };
|
|
1163
|
+
return sentPromptContext({
|
|
1164
|
+
messages: [
|
|
1165
|
+
system,
|
|
1166
|
+
{
|
|
1167
|
+
role: "user",
|
|
1168
|
+
content: buildRerankedHybridUserMessage(question, selected, redactor, ctx.folderOmissionMetadata),
|
|
1169
|
+
},
|
|
1170
|
+
],
|
|
1171
|
+
withoutSources: [
|
|
1172
|
+
system,
|
|
1173
|
+
{
|
|
1174
|
+
role: "user",
|
|
1175
|
+
content: buildRerankedHybridUserMessage(question, [], redactor, ctx.folderOmissionMetadata),
|
|
1176
|
+
},
|
|
1177
|
+
],
|
|
1178
|
+
sentReferenceCount: selected.length,
|
|
1179
|
+
availableReferenceCount,
|
|
1180
|
+
}, assistant.usage.promptTokens, currentContextProfileForModel(ctx.deps, ctx.modelId));
|
|
1181
|
+
}
|
|
1182
|
+
function totalFolderOmissions(folders) {
|
|
1183
|
+
return folders.reduce((total, source) => total + connectedContextOmittedCount(source.pack), 0);
|
|
1184
|
+
}
|
|
940
1185
|
function assembleHybridAnswer(input) {
|
|
941
1186
|
const { ctx, sources, store, selected, limits, assistant, reranker, ids, sourceEvidenceAvailable = true, } = input;
|
|
942
1187
|
const { redactor } = ctx.deps;
|
|
@@ -947,10 +1192,11 @@ function assembleHybridAnswer(input) {
|
|
|
947
1192
|
...ids,
|
|
948
1193
|
...projection.evidence,
|
|
949
1194
|
content: redactString(redactor, assistant.content),
|
|
1195
|
+
...groundedAnswerEvidenceFields(assistant),
|
|
950
1196
|
citations: projection.citations,
|
|
951
1197
|
knowledgeCitations: projection.knowledgeCitations,
|
|
952
1198
|
uncertainty: projection.uncertainty,
|
|
953
|
-
omittedCount: sources.folders
|
|
1199
|
+
omittedCount: totalFolderOmissions(sources.folders),
|
|
954
1200
|
elapsedMs,
|
|
955
1201
|
retrievalActivity: projection.retrievalActivity,
|
|
956
1202
|
contextPack: hybridAnswerContextPack({
|
|
@@ -963,6 +1209,22 @@ function assembleHybridAnswer(input) {
|
|
|
963
1209
|
knowledgeCitationCount: projection.knowledgeCitations.length,
|
|
964
1210
|
reranker,
|
|
965
1211
|
}),
|
|
1212
|
+
...hybridPromptContextField(input),
|
|
1213
|
+
};
|
|
1214
|
+
}
|
|
1215
|
+
// A deterministic abstention sends no prompt and reports none. An answer-only request (governed
|
|
1216
|
+
// memory context, no source evidence) does call the model, so its prompt is reported like every
|
|
1217
|
+
// other grounded request (PR #3678 review).
|
|
1218
|
+
function hybridPromptContextField(input) {
|
|
1219
|
+
const modelInvoked = input.assistant.modelInvoked ??
|
|
1220
|
+
(input.sourceEvidenceAvailable !== false ||
|
|
1221
|
+
input.ctx.answerOnlyContextAvailable === true ||
|
|
1222
|
+
currentOwnAssessmentPolicy(input.ctx.deps) === "allowed");
|
|
1223
|
+
if (!modelInvoked)
|
|
1224
|
+
return {};
|
|
1225
|
+
const available = input.availableReferenceCount ?? input.selected.length;
|
|
1226
|
+
return {
|
|
1227
|
+
promptContext: hybridPromptContext(input.ctx, input.selected, input.assistant, available),
|
|
966
1228
|
};
|
|
967
1229
|
}
|
|
968
1230
|
function resolveHybridAnswerer(ctx) {
|
|
@@ -976,26 +1238,30 @@ function resolveHybridAnswerer(ctx) {
|
|
|
976
1238
|
return { status: 400, body: errorBody("NO_MODEL", "No model provider is configured.") };
|
|
977
1239
|
}
|
|
978
1240
|
const model = withConversationReadinessAdmission(resolvedModel, ctx.modelId, readinessAdmission, ctx.deps);
|
|
979
|
-
return {
|
|
1241
|
+
return {
|
|
1242
|
+
answer: createHybridAnswerer(model, ctx.modelId, ctx.signal, ctx.correlationId, ctx.deps),
|
|
1243
|
+
};
|
|
980
1244
|
}
|
|
981
1245
|
async function noEvidenceAssistant(ctx, selected) {
|
|
982
1246
|
ensureNotCancelled(ctx.signal);
|
|
983
|
-
if (ctx.answerOnlyContextAvailable !== true
|
|
984
|
-
|
|
985
|
-
// multi-source
|
|
986
|
-
// check depends on the exact string equality.
|
|
1247
|
+
if (ctx.answerOnlyContextAvailable !== true &&
|
|
1248
|
+
currentOwnAssessmentPolicy(ctx.deps) !== "allowed") {
|
|
1249
|
+
// Share the localized deterministic search outcome with folder and multi-source paths.
|
|
987
1250
|
return {
|
|
988
|
-
|
|
989
|
-
|
|
1251
|
+
assistant: {
|
|
1252
|
+
content: connectedSearchNoEvidenceAnswer(ctx.content),
|
|
1253
|
+
answerKind: "refusal",
|
|
1254
|
+
usage: { promptTokens: 0, completionTokens: 0 },
|
|
1255
|
+
},
|
|
1256
|
+
promptCtx: ctx,
|
|
990
1257
|
};
|
|
991
1258
|
}
|
|
992
1259
|
const answerer = resolveHybridAnswerer(ctx);
|
|
993
1260
|
if ("status" in answerer)
|
|
994
1261
|
return answerer;
|
|
995
|
-
const
|
|
996
|
-
const answer = normalizeGroundedAnswerPayload(await answerer.answer(HYBRID_SYSTEM_PROMPT, user));
|
|
1262
|
+
const { assistant, promptCtx } = await answerHybridWithinWindow(ctx, answerer, selected);
|
|
997
1263
|
ensureNotCancelled(ctx.signal);
|
|
998
|
-
return
|
|
1264
|
+
return { assistant, promptCtx };
|
|
999
1265
|
}
|
|
1000
1266
|
function noEvidenceSources(meta) {
|
|
1001
1267
|
return {
|
|
@@ -1008,15 +1274,16 @@ function noEvidenceSources(meta) {
|
|
|
1008
1274
|
};
|
|
1009
1275
|
}
|
|
1010
1276
|
async function assembleHybridNoEvidenceRoute(ctx, store, meta, selected, limits, reranker) {
|
|
1011
|
-
const
|
|
1012
|
-
if ("status" in
|
|
1013
|
-
return
|
|
1277
|
+
const outcome = await noEvidenceAssistant(ctx, selected);
|
|
1278
|
+
if ("status" in outcome)
|
|
1279
|
+
return outcome;
|
|
1280
|
+
const { assistant, promptCtx } = outcome;
|
|
1014
1281
|
ensureNotCancelled(ctx.signal);
|
|
1015
1282
|
const content = redactString(ctx.deps.redactor, assistant.content);
|
|
1016
1283
|
ensureNotCancelled(ctx.signal);
|
|
1017
1284
|
const [userMessage, assistantMessage] = persistGroundedExchange(ctx.deps, ctx.chat.id, redactString(ctx.deps.redactor, ctx.content), content, ctx.userMessage);
|
|
1018
1285
|
const answer = assembleHybridAnswer({
|
|
1019
|
-
ctx,
|
|
1286
|
+
ctx: promptCtx,
|
|
1020
1287
|
sources: noEvidenceSources(meta),
|
|
1021
1288
|
store,
|
|
1022
1289
|
selected,
|
|
@@ -1031,19 +1298,36 @@ async function assembleHybridNoEvidenceRoute(ctx, store, meta, selected, limits,
|
|
|
1031
1298
|
: answer;
|
|
1032
1299
|
ensureNotCancelled(ctx.signal);
|
|
1033
1300
|
const previewCitations = selectedConnectorPreviewCitations(store, selected, ctx.deps.redactor);
|
|
1034
|
-
|
|
1035
|
-
|
|
1301
|
+
const completedAnswer = withHybridAnswerDuration(finalAnswer, ctx);
|
|
1302
|
+
ctx.deps.store.attachGroundedAnswer(assistantMessage.id, completedAnswer, previewCitations);
|
|
1303
|
+
return { status: 200, body: completedAnswer };
|
|
1304
|
+
}
|
|
1305
|
+
function withHybridAnswerDuration(answer, ctx) {
|
|
1306
|
+
const elapsedMs = Math.max(0, Date.now() - (ctx.startedAtMs ?? Date.now()));
|
|
1307
|
+
return {
|
|
1308
|
+
...answer,
|
|
1309
|
+
elapsedMs,
|
|
1310
|
+
contextPack: {
|
|
1311
|
+
...answer.contextPack,
|
|
1312
|
+
folder: { ...answer.contextPack.folder, elapsedMs },
|
|
1313
|
+
},
|
|
1314
|
+
};
|
|
1036
1315
|
}
|
|
1037
1316
|
export async function runHybridGroundedAsk(ctx) {
|
|
1317
|
+
const startedAtMs = Date.now();
|
|
1038
1318
|
const env = openStoreForDeps(ctx.deps);
|
|
1039
1319
|
try {
|
|
1040
|
-
return await runHybridWithStore(
|
|
1320
|
+
return await runHybridWithStore({
|
|
1321
|
+
...ctx,
|
|
1322
|
+
startedAtMs,
|
|
1323
|
+
originalSynthesisBudget: modelWindowAwareBudget(ctx.deps, ctx.modelId),
|
|
1324
|
+
}, env.store, env.vectorIndex);
|
|
1041
1325
|
}
|
|
1042
1326
|
catch (error) {
|
|
1043
1327
|
if (ctx.signal.aborted) {
|
|
1044
1328
|
return { status: 499, body: errorBody("CANCELLED", "Grounded request was cancelled.") };
|
|
1045
1329
|
}
|
|
1046
|
-
return mapHybridError(error, ctx.deps);
|
|
1330
|
+
return mapHybridError(error, ctx.deps, ctx.correlationId);
|
|
1047
1331
|
}
|
|
1048
1332
|
finally {
|
|
1049
1333
|
env.close();
|
|
@@ -1140,6 +1424,22 @@ function capSourcesToLimits(ctx, limits) {
|
|
|
1140
1424
|
overCapConnectorSkipped: skippedConnectorsForCaps(allConnectors, perListConnectors, selected, limits),
|
|
1141
1425
|
};
|
|
1142
1426
|
}
|
|
1427
|
+
async function retrieveHybridSources(ctx, store, vectorIndex, capped, resolved, query) {
|
|
1428
|
+
let folderResult;
|
|
1429
|
+
let connectorResult;
|
|
1430
|
+
await mapWithConcurrency(["folders", "connectors"], 2, async (kind, _index, signal) => {
|
|
1431
|
+
const child = { ...ctx, signal };
|
|
1432
|
+
if (kind === "folders") {
|
|
1433
|
+
folderResult = await retrieveFolderPacks(child, capped.folderScopes, query, ctx.folderRetriever ?? defaultRetriever(ctx.signal, ctx.deps, ctx.correlationId));
|
|
1434
|
+
}
|
|
1435
|
+
else {
|
|
1436
|
+
connectorResult = await retrieveConnectors(child, store, vectorIndex, capped.connectorScopes, resolved);
|
|
1437
|
+
}
|
|
1438
|
+
}, ctx.signal);
|
|
1439
|
+
if (folderResult === undefined || connectorResult === undefined)
|
|
1440
|
+
throw new TypeError("Hybrid retrieval did not settle both source kinds");
|
|
1441
|
+
return { folderResult, connectorResult };
|
|
1442
|
+
}
|
|
1143
1443
|
async function runHybridWithStore(ctx, store, vectorIndex) {
|
|
1144
1444
|
const limits = currentGroundingLimits(ctx.deps);
|
|
1145
1445
|
const capped = capSourcesToLimits(ctx, limits);
|
|
@@ -1147,10 +1447,7 @@ async function runHybridWithStore(ctx, store, vectorIndex) {
|
|
|
1147
1447
|
if ("status" in resolved)
|
|
1148
1448
|
return resolved;
|
|
1149
1449
|
const query = buildQuery(ctx.retrievalContent ?? ctx.content, () => Date.now());
|
|
1150
|
-
const
|
|
1151
|
-
retrieveFolderPacks(ctx, capped.folderScopes, query, ctx.folderRetriever ?? defaultRetriever(ctx.signal, ctx.deps, ctx.correlationId)),
|
|
1152
|
-
retrieveConnectors(ctx, store, vectorIndex, capped.connectorScopes, resolved),
|
|
1153
|
-
]);
|
|
1450
|
+
const { folderResult: rawFolderResult, connectorResult } = await retrieveHybridSources(ctx, store, vectorIndex, capped, resolved, query);
|
|
1154
1451
|
ensureNotCancelled(ctx.signal);
|
|
1155
1452
|
// Merge upfront-skipped folders (inaccessible/denied at canonicalization), over-cap folder skips,
|
|
1156
1453
|
// and retrieval-time folder skips so all omissions appear in the assembled uncertainty entries.
|
|
@@ -1170,13 +1467,29 @@ async function runHybridWithStore(ctx, store, vectorIndex) {
|
|
|
1170
1467
|
skipped: [...capped.overCapConnectorSkipped, ...connectorResult.skipped],
|
|
1171
1468
|
}
|
|
1172
1469
|
: connectorResult;
|
|
1173
|
-
|
|
1470
|
+
const answerCtx = {
|
|
1471
|
+
...ctx,
|
|
1472
|
+
folderOmissionMetadata: folderOmissionMetadata(folderResult.retrieved, ctx.deps.redactor),
|
|
1473
|
+
folderOmissionPacks: folderResult.retrieved,
|
|
1474
|
+
};
|
|
1475
|
+
return await answerAndAssemble(answerCtx, store, {
|
|
1174
1476
|
folderScopeCount: capped.allFolderCount,
|
|
1175
1477
|
connectorScopeCount: capped.allConnectorCount,
|
|
1176
1478
|
folderResult,
|
|
1177
1479
|
connectorResult: connectorResultWithOverCap,
|
|
1178
1480
|
});
|
|
1179
1481
|
}
|
|
1482
|
+
function folderOmissionMetadata(folders, redactor, pathByteLimit) {
|
|
1483
|
+
return folders.flatMap((source) => {
|
|
1484
|
+
const reasons = [
|
|
1485
|
+
...omissionReasonLines(source.pack),
|
|
1486
|
+
...sizeExclusionLines(source.pack, redactor, pathByteLimit),
|
|
1487
|
+
];
|
|
1488
|
+
return reasons.length === 0
|
|
1489
|
+
? []
|
|
1490
|
+
: [`Folder source: ${redactString(redactor, source.label)}`, ...reasons];
|
|
1491
|
+
});
|
|
1492
|
+
}
|
|
1180
1493
|
async function selectHybridPromptCandidates(ctx, store, folders, connectors, limits) {
|
|
1181
1494
|
const externalRerankingDenied = connectorsDenyExternalReranking(connectors);
|
|
1182
1495
|
const preliminary = buildUnifiedSelection(ctx, folders, connectors, store, !externalRerankingDenied);
|
|
@@ -1209,23 +1522,213 @@ async function answerAndAssemble(ctx, store, meta) {
|
|
|
1209
1522
|
const answerer = resolveHybridAnswerer(ctx);
|
|
1210
1523
|
if ("status" in answerer)
|
|
1211
1524
|
return answerer;
|
|
1212
|
-
const
|
|
1213
|
-
const assistant = normalizeGroundedAnswerPayload(await answerer.answer(HYBRID_SYSTEM_PROMPT, user));
|
|
1525
|
+
const { assistant, sent, promptCtx } = await answerHybridWithinWindow(ctx, answerer, selected);
|
|
1214
1526
|
ensureNotCancelled(ctx.signal);
|
|
1215
1527
|
const [userMessage, assistantMessage] = persistHybridGroundedExchange(ctx, assistant.content);
|
|
1216
|
-
|
|
1217
|
-
|
|
1528
|
+
// Citations and the prompt share follow the candidates the model was actually shown.
|
|
1529
|
+
return finalizeHybridAnswer(promptCtx, store, meta, {
|
|
1530
|
+
selected: sent,
|
|
1531
|
+
availableReferenceCount: selected.length,
|
|
1218
1532
|
limits,
|
|
1219
1533
|
assistant,
|
|
1220
1534
|
reranker,
|
|
1221
1535
|
ids: { userMessageId: userMessage.id, assistantMessageId: assistantMessage.id },
|
|
1222
1536
|
});
|
|
1223
1537
|
}
|
|
1538
|
+
function hybridPromptMessages(ctx, selected) {
|
|
1539
|
+
return [
|
|
1540
|
+
{ role: "system", content: hybridSystemPrompt(ctx.deps) },
|
|
1541
|
+
{
|
|
1542
|
+
role: "user",
|
|
1543
|
+
content: buildRerankedHybridUserMessage(ctx.answerContent ?? ctx.content, selected, ctx.deps.redactor, ctx.folderOmissionMetadata),
|
|
1544
|
+
},
|
|
1545
|
+
];
|
|
1546
|
+
}
|
|
1547
|
+
function hybridContextWithinWindow(ctx, selected) {
|
|
1548
|
+
const profile = hybridSynthesisProfile(ctx);
|
|
1549
|
+
if (profile === undefined || ctx.folderOmissionPacks === undefined)
|
|
1550
|
+
return ctx;
|
|
1551
|
+
const tokens = (messages) => countGatewayPromptTokens({ messages }, profile.tokenAccounting);
|
|
1552
|
+
if (tokens(hybridPromptMessages(ctx, selected)) <= profile.effectiveInputBudget)
|
|
1553
|
+
return ctx;
|
|
1554
|
+
const withMetadata = (bytes) => ({
|
|
1555
|
+
...ctx,
|
|
1556
|
+
folderOmissionMetadata: folderOmissionMetadata(ctx.folderOmissionPacks ?? [], ctx.deps.redactor, bytes),
|
|
1557
|
+
});
|
|
1558
|
+
const fitted = fitPromptOmissionMetadata((bytes) => hybridPromptMessages(withMetadata(bytes), selected), (messages) => tokens(messages) <= profile.effectiveInputBudget, modelInputPromptByteLimit(profile.effectiveInputBudget));
|
|
1559
|
+
const promptCtx = withMetadata(fitted?.omissionPathBytes ?? 0);
|
|
1560
|
+
if (fitted !== undefined)
|
|
1561
|
+
logPromptWindowFit({
|
|
1562
|
+
state: "trimmed",
|
|
1563
|
+
referenceCount: selected.length,
|
|
1564
|
+
sentReferenceCount: selected.length,
|
|
1565
|
+
promptTokens: tokens(fitted.messages),
|
|
1566
|
+
inputBudget: profile.effectiveInputBudget,
|
|
1567
|
+
}, ctx.correlationId);
|
|
1568
|
+
return promptCtx;
|
|
1569
|
+
}
|
|
1570
|
+
// The highest-ranked candidates whose prompt fits the model's current input budget. Candidates keep
|
|
1571
|
+
// their markers, so a prefix keeps `[1]..[n]` consistent with the citations derived from it.
|
|
1572
|
+
function hybridCandidatesWithinWindow(ctx, selected) {
|
|
1573
|
+
const question = ctx.answerContent ?? ctx.content;
|
|
1574
|
+
const render = (count) => ({
|
|
1575
|
+
messages: [
|
|
1576
|
+
{ role: "system", content: hybridSystemPrompt(ctx.deps) },
|
|
1577
|
+
{
|
|
1578
|
+
role: "user",
|
|
1579
|
+
content: buildRerankedHybridUserMessage(question, selected.slice(0, count), ctx.deps.redactor, ctx.folderOmissionMetadata),
|
|
1580
|
+
},
|
|
1581
|
+
],
|
|
1582
|
+
});
|
|
1583
|
+
const fitted = fitKnowledgePrompt(selected.length, render, hybridSynthesisProfile(ctx), {
|
|
1584
|
+
correlationId: ctx.correlationId,
|
|
1585
|
+
diagnostics: ctx.deps.diagnostics,
|
|
1586
|
+
});
|
|
1587
|
+
return selected.slice(0, fitted.referenceCount);
|
|
1588
|
+
}
|
|
1589
|
+
function conversationOnlyHybridAnswer(fitted) {
|
|
1590
|
+
const folders = fitted.promptCtx.folderOmissionPacks ?? [];
|
|
1591
|
+
return (folders.length > 0 &&
|
|
1592
|
+
folders.every((source) => source.plan.targetDecision?.conversationOnly === true) &&
|
|
1593
|
+
fitted.sent.length === 0);
|
|
1594
|
+
}
|
|
1595
|
+
async function answerHybridWithinWindow(ctx, answerer, selected) {
|
|
1596
|
+
const observe = citationBehaviourObserverFor(ctx.deps, ctx.modelId, ctx.correlationId);
|
|
1597
|
+
const remainingBefore = answerer.answer.remainingSynthesisCalls?.();
|
|
1598
|
+
const reservedBefore = answerer.answer.reservedSynthesisOutputTokens?.();
|
|
1599
|
+
const completedBefore = answerer.answer.completedSynthesisCalls?.();
|
|
1600
|
+
const fitted = await withAdoptedContextWindowRetry(ctx.deps, { modelId: ctx.modelId, surface: "grounded", correlationId: ctx.correlationId }, () => hybridAnswerAttempt(ctx, answerer, selected));
|
|
1601
|
+
const assistant = {
|
|
1602
|
+
...fitted.assistant,
|
|
1603
|
+
...pluralSynthesisCountFields(remainingBefore, answerer.answer.remainingSynthesisCalls?.(), reservedBefore, answerer.answer.reservedSynthesisOutputTokens?.(), completedBefore, answerer.answer.completedSynthesisCalls?.()),
|
|
1604
|
+
};
|
|
1605
|
+
const normalized = normalizeGroundedAnswerAssessment(assistant, currentOwnAssessmentPolicy(ctx.deps), ctx.correlationId, ctx.content, undefined, conversationOnlyHybridAnswer(fitted));
|
|
1606
|
+
const validated = validatedHybridEvidence(fitted.promptCtx, normalized, fitted.sent);
|
|
1607
|
+
return {
|
|
1608
|
+
...fitted,
|
|
1609
|
+
assistant: await repairHybridAnswer(fitted.promptCtx, answerer, validated, fitted.sent, observe),
|
|
1610
|
+
};
|
|
1611
|
+
}
|
|
1612
|
+
async function hybridAnswerAttempt(ctx, answerer, selected) {
|
|
1613
|
+
const budget = ctx.originalSynthesisBudget ?? modelWindowAwareBudget(ctx.deps, ctx.modelId);
|
|
1614
|
+
const usage = hybridRetrievalUsage(ctx);
|
|
1615
|
+
const pending = answerer.answer.pendingSynthesisUsage?.() ?? {
|
|
1616
|
+
promptTokens: 0,
|
|
1617
|
+
completionTokens: 0,
|
|
1618
|
+
};
|
|
1619
|
+
const promptCtx = hybridContextWithinWindow({
|
|
1620
|
+
...ctx,
|
|
1621
|
+
synthesisInputTokensMax: Math.max(0, budget.modelInputTokensMax - usage.promptTokens - pending.promptTokens),
|
|
1622
|
+
}, selected);
|
|
1623
|
+
const sent = hybridCandidatesWithinWindow(promptCtx, selected);
|
|
1624
|
+
const user = buildRerankedHybridUserMessage(ctx.answerContent ?? ctx.content, sent, ctx.deps.redactor, promptCtx.folderOmissionMetadata);
|
|
1625
|
+
const system = hybridSystemPrompt(ctx.deps);
|
|
1626
|
+
logFittedHybridSelection(promptCtx, sent, system, user);
|
|
1627
|
+
const assistant = normalizeGroundedAnswerPayload(await answerer.answer(system, user, {
|
|
1628
|
+
modelInputTokensMax: budget.modelInputTokensMax - usage.promptTokens,
|
|
1629
|
+
modelOutputTokensMax: budget.modelOutputTokensMax - usage.completionTokens,
|
|
1630
|
+
...(budget.elapsedMsMax === null
|
|
1631
|
+
? {}
|
|
1632
|
+
: { deadlineAtMs: (ctx.startedAtMs ?? Date.now()) + budget.elapsedMsMax }),
|
|
1633
|
+
}));
|
|
1634
|
+
return { assistant, sent, promptCtx };
|
|
1635
|
+
}
|
|
1636
|
+
function logFittedHybridSelection(ctx, selected, system, user) {
|
|
1637
|
+
const profile = hybridSynthesisProfile(ctx);
|
|
1638
|
+
logGroundedPromptSelection(ctx.correlationId, {
|
|
1639
|
+
messages: [
|
|
1640
|
+
{ role: "system", content: system },
|
|
1641
|
+
{ role: "user", content: user },
|
|
1642
|
+
],
|
|
1643
|
+
sentEvidencePacks: sentFolderPacks(ctx.folderOmissionPacks ?? [], selected),
|
|
1644
|
+
}, profile?.effectiveInputBudget ?? 0, profile?.tokenAccounting);
|
|
1645
|
+
}
|
|
1646
|
+
function hybridRetrievalUsage(ctx) {
|
|
1647
|
+
return {
|
|
1648
|
+
promptTokens: (ctx.folderOmissionPacks ?? []).reduce((sum, source) => sum + source.pack.usage.modelInputTokens, 0),
|
|
1649
|
+
completionTokens: (ctx.folderOmissionPacks ?? []).reduce((sum, source) => sum + source.pack.usage.modelOutputTokens, 0),
|
|
1650
|
+
};
|
|
1651
|
+
}
|
|
1652
|
+
function hybridSynthesisProfile(ctx) {
|
|
1653
|
+
const profile = currentContextProfileForModel(ctx.deps, ctx.modelId) ?? DEFAULT_CONTEXT_PROFILE;
|
|
1654
|
+
return {
|
|
1655
|
+
...profile,
|
|
1656
|
+
effectiveInputBudget: Math.min(profile.effectiveInputBudget, ctx.synthesisInputTokensMax ?? profile.effectiveInputBudget),
|
|
1657
|
+
};
|
|
1658
|
+
}
|
|
1659
|
+
function validatedHybridEvidence(ctx, assistant, sent) {
|
|
1660
|
+
const sentEvidencePacks = sentFolderPacks(ctx.folderOmissionPacks ?? [], sent);
|
|
1661
|
+
const evidenceScopeIndex = verifiedPluralInsufficiencyScopeIndex(ctx.folderOmissionPacks ?? [], assistant.content, sentEvidencePacks, ctx.insufficiencyScopeIndex);
|
|
1662
|
+
return {
|
|
1663
|
+
...assistant,
|
|
1664
|
+
insufficiencyDeclarations: undefined,
|
|
1665
|
+
evidenceScopeIndex,
|
|
1666
|
+
sentEvidencePacks,
|
|
1667
|
+
filesInPrompt: sentGroundedFileCount(sentEvidencePacks),
|
|
1668
|
+
...validateGroundedAnswerEvidence(assistant.content, evidenceScopeIndex, ctx.content),
|
|
1669
|
+
};
|
|
1670
|
+
}
|
|
1671
|
+
function hybridRepairPack(ctx) {
|
|
1672
|
+
const sources = ctx.folderOmissionPacks ?? [];
|
|
1673
|
+
const original = sources[0]?.pack;
|
|
1674
|
+
if (original === undefined)
|
|
1675
|
+
return undefined;
|
|
1676
|
+
return {
|
|
1677
|
+
...original,
|
|
1678
|
+
usage: {
|
|
1679
|
+
...original.usage,
|
|
1680
|
+
modelInputTokens: sources.reduce((sum, source) => sum + source.pack.usage.modelInputTokens, 0),
|
|
1681
|
+
modelOutputTokens: sources.reduce((sum, source) => sum + source.pack.usage.modelOutputTokens, 0),
|
|
1682
|
+
},
|
|
1683
|
+
};
|
|
1684
|
+
}
|
|
1685
|
+
async function repairHybridAnswer(ctx, answerer, answer, sent, observeCitationBehaviour) {
|
|
1686
|
+
const budget = ctx.originalSynthesisBudget ?? modelWindowAwareBudget(ctx.deps, ctx.modelId);
|
|
1687
|
+
const pack = hybridRepairPack(ctx);
|
|
1688
|
+
let budgetRefused = false;
|
|
1689
|
+
const repair = answerer.answer.repair;
|
|
1690
|
+
const repairContext = {
|
|
1691
|
+
question: ctx.answerContent ?? ctx.content,
|
|
1692
|
+
pack,
|
|
1693
|
+
budget,
|
|
1694
|
+
answer,
|
|
1695
|
+
nowMs: Date.now,
|
|
1696
|
+
numericMarkers: new Set(sent.map((candidate) => candidate.marker)),
|
|
1697
|
+
...(budget.elapsedMsMax === null
|
|
1698
|
+
? {}
|
|
1699
|
+
: { deadlineAtMs: (ctx.startedAtMs ?? Date.now()) + budget.elapsedMsMax }),
|
|
1700
|
+
...(repair === undefined
|
|
1701
|
+
? {}
|
|
1702
|
+
: {
|
|
1703
|
+
invokeRepair: async (original, options) => {
|
|
1704
|
+
const result = normalizeGroundedAnswerPayload(await repair(original, options));
|
|
1705
|
+
budgetRefused = result.modelInvoked === false;
|
|
1706
|
+
return result;
|
|
1707
|
+
},
|
|
1708
|
+
}),
|
|
1709
|
+
deps: {
|
|
1710
|
+
answerer: pluralSynthesisMetadata(answerer.answer),
|
|
1711
|
+
signal: ctx.signal,
|
|
1712
|
+
reliableCitationBehaviour: citationBehaviourFor(ctx.deps, ctx.modelId),
|
|
1713
|
+
observeCitationBehaviour,
|
|
1714
|
+
},
|
|
1715
|
+
};
|
|
1716
|
+
const repaired = await repairGroundedAnswer(repairContext);
|
|
1717
|
+
const finalAnswer = finalPluralRepairAnswer(repairContext, repaired, budgetRefused);
|
|
1718
|
+
recordHybridGroundedAnswer(ctx, finalAnswer, repaired.failure);
|
|
1719
|
+
return finalAnswer;
|
|
1720
|
+
}
|
|
1721
|
+
function recordHybridGroundedAnswer(ctx, finalAnswer, failure) {
|
|
1722
|
+
const packs = (ctx.folderOmissionPacks ?? []).map((source) => source.pack);
|
|
1723
|
+
recordPluralGroundedAnswer(packs, finalAnswer, finalAnswer.citationRepairDisposition, ctx.correlationId, failure, currentOwnAssessmentPolicy(ctx.deps));
|
|
1724
|
+
if (packs.length === 0 && failure !== undefined)
|
|
1725
|
+
recordPluralCitationRepairFailure(ctx.deps, ctx.correlationId, failure);
|
|
1726
|
+
}
|
|
1224
1727
|
// Assemble the hybrid answer, judge its selected folder and connector evidence (#2563, #2947), and
|
|
1225
1728
|
// attach the result. Extracted from answerAndAssemble to keep both functions under the LOC bound.
|
|
1226
1729
|
async function finalizeHybridAnswer(ctx, store, meta, input) {
|
|
1227
|
-
const { selected, limits, assistant, reranker, ids } = input;
|
|
1228
|
-
const folders = meta.folderResult.retrieved;
|
|
1730
|
+
const { selected, availableReferenceCount, limits, assistant, reranker, ids } = input;
|
|
1731
|
+
const folders = fittedFolderDiagnostics(meta.folderResult.retrieved, selected);
|
|
1229
1732
|
const answer = assembleHybridAnswer({
|
|
1230
1733
|
ctx,
|
|
1231
1734
|
sources: {
|
|
@@ -1238,6 +1741,7 @@ async function finalizeHybridAnswer(ctx, store, meta, input) {
|
|
|
1238
1741
|
},
|
|
1239
1742
|
store,
|
|
1240
1743
|
selected,
|
|
1744
|
+
availableReferenceCount,
|
|
1241
1745
|
limits,
|
|
1242
1746
|
assistant,
|
|
1243
1747
|
reranker,
|
|
@@ -1246,18 +1750,17 @@ async function finalizeHybridAnswer(ctx, store, meta, input) {
|
|
|
1246
1750
|
const finalAnswer = await applyHybridEntailment(ctx, answer, assistant.content, folders, meta.connectorResult.retrieved, selected);
|
|
1247
1751
|
ensureNotCancelled(ctx.signal);
|
|
1248
1752
|
const previewCitations = selectedConnectorPreviewCitations(store, selected, ctx.deps.redactor);
|
|
1249
|
-
|
|
1250
|
-
|
|
1753
|
+
const completedAnswer = withHybridAnswerDuration(finalAnswer, ctx);
|
|
1754
|
+
ctx.deps.store.attachGroundedAnswer(ids.assistantMessageId, completedAnswer, previewCitations);
|
|
1755
|
+
return { status: 200, body: completedAnswer };
|
|
1251
1756
|
}
|
|
1252
1757
|
function persistHybridGroundedExchange(ctx, assistantContent) {
|
|
1253
1758
|
return persistGroundedExchange(ctx.deps, ctx.chat.id, redactString(ctx.deps.redactor, ctx.content), redactString(ctx.deps.redactor, assistantContent), ctx.userMessage);
|
|
1254
1759
|
}
|
|
1255
|
-
//
|
|
1256
|
-
//
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
function mapHybridError(error, deps) {
|
|
1260
|
-
const gatewayResult = mappedGatewayError(error, deps);
|
|
1760
|
+
// Expected domain failures retain their canonical mapping. Unexpected failures reach the shared
|
|
1761
|
+
// route boundary with their original cause, which emits body-free diagnostics and an opaque 500.
|
|
1762
|
+
function mapHybridError(error, deps, correlationId) {
|
|
1763
|
+
const gatewayResult = mappedGatewayError(error, deps, correlationId);
|
|
1261
1764
|
if (gatewayResult !== undefined)
|
|
1262
1765
|
return gatewayResult;
|
|
1263
1766
|
// GRD-016: mirror the single-source and multi-source paths — a vague/no-anchor question
|
|
@@ -1266,11 +1769,8 @@ function mapHybridError(error, deps) {
|
|
|
1266
1769
|
if (error instanceof ClarificationNeededError) {
|
|
1267
1770
|
return clarificationRequest(clarificationUserMessage(error));
|
|
1268
1771
|
}
|
|
1269
|
-
const workspaceResult = mappedWorkspaceError(error);
|
|
1772
|
+
const workspaceResult = mappedWorkspaceError(error, { correlationId });
|
|
1270
1773
|
if (workspaceResult !== undefined)
|
|
1271
1774
|
return workspaceResult;
|
|
1272
|
-
if (error instanceof Error) {
|
|
1273
|
-
return internalError(redact(error.message, currentRedactionSecrets(deps)));
|
|
1274
|
-
}
|
|
1275
1775
|
throw error;
|
|
1276
1776
|
}
|