@oscharko-dev/keiko 1.2.0 → 1.2.2
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 +18 -2
- package/dist/ui/csp-hashes.json +6 -6
- package/dist/ui/static/404.html +1 -1
- package/dist/ui/static/__next.__PAGE__.txt +12 -12
- package/dist/ui/static/__next._full.txt +23 -22
- package/dist/ui/static/__next._tree.txt +2 -2
- package/dist/ui/static/_next/static/chunks/00h6kszysb2wr.js +1 -0
- package/dist/ui/static/_next/static/chunks/013tmcojxoy8z.js +1 -0
- package/dist/ui/static/_next/static/chunks/014h2nyfet3kr.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0mjsj7bp-ukgh.css → 02ycexmxeqhmx.css} +28 -10
- package/dist/ui/static/_next/static/chunks/{2kylv1kq1_4p1.js → 0650rzqxvrg4k.js} +1 -1
- 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/08tg5xjyy073b.js +1 -0
- package/dist/ui/static/_next/static/chunks/0b7xat6jxvrmr.js +1 -0
- package/dist/ui/static/_next/static/chunks/0e0h-sia4dm93.js +2 -0
- package/dist/ui/static/_next/static/chunks/0e3x-8o_fjsn_.js +1 -0
- package/dist/ui/static/_next/static/chunks/0eeyfcixqqfab.js +1 -0
- package/dist/ui/static/_next/static/chunks/0eyoirips0ket.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0--s8pmsbkf62.js → 0gns083_remf0.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0ji_km0dqy8qj.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/{3h-rh_lx0l8_3.js → 0pf5ot48kepng.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0rs9egrg2q85w.js +1 -0
- package/dist/ui/static/_next/static/chunks/0sjewje-u3bqg.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0iu3dyqe7m7_7.js → 0t10yxd1t9qeg.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{0l72usw6suk0h.js → 0ta8ifx4mr6gi.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0wok-g3ndtvch.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0yzmg9aoglud6.js → 0y0r5znrj9qw-.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0y3402xorco2c.js +1 -0
- package/dist/ui/static/_next/static/chunks/14ytv6jraivph.js +1 -0
- package/dist/ui/static/_next/static/chunks/15tj-r-c7bs-p.js +1 -0
- package/dist/ui/static/_next/static/chunks/18idxjg523mhp.js +1 -0
- package/dist/ui/static/_next/static/chunks/18kcx5kpyxr16.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3hclt6m3ok4n9.js → 1g_d_8a7vlqgu.js} +1 -1
- package/dist/ui/static/_next/static/chunks/1lm4kkulhv0b_.js +1 -0
- package/dist/ui/static/_next/static/chunks/1o-own3kgpojf.js +1 -0
- package/dist/ui/static/_next/static/chunks/1pe5ee9wh-qwa.js +1 -0
- package/dist/ui/static/_next/static/chunks/1qcpuq815jtog.js +3 -0
- package/dist/ui/static/_next/static/chunks/1s3u1scfdjjd9.js +1 -0
- package/dist/ui/static/_next/static/chunks/1zqfkyeqq5cl8.js +1 -0
- package/dist/ui/static/_next/static/chunks/20-u8pg5ve_cz.js +1 -0
- package/dist/ui/static/_next/static/chunks/21rpgm75hndoe.js +1 -0
- package/dist/ui/static/_next/static/chunks/21s3ugswalpzt.js +1 -0
- package/dist/ui/static/_next/static/chunks/22zxuap4am9bs.js +1 -0
- package/dist/ui/static/_next/static/chunks/27e2u3lrksak4.js +1 -0
- package/dist/ui/static/_next/static/chunks/2g_pljoa8f0e-.js +1 -0
- package/dist/ui/static/_next/static/chunks/2go0k_akgnv11.js +1 -0
- package/dist/ui/static/_next/static/chunks/2jsnrkl0syr4y.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3qjkuhjy_-_br.js → 2m7wxgg82-7yj.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2pg4yzdak17yp.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0bpexy600ffpg.js → 2tlvii78gzv6c.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{2y98z-sun8_ew.js → 2u5_pu1uc6seh.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{3eduf6vevclfm.js → 2v4u52qc4tcdm.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2xd3_a4jlxum2.css +1 -0
- package/dist/ui/static/_next/static/chunks/{196257vfyrtgu.js → 2ywljh6s1u2zd.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3-pcgkdsv7x4z.js +1 -0
- package/dist/ui/static/_next/static/chunks/307xuhrdmetj7.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/37qsy798-g74f.js +1 -0
- package/dist/ui/static/_next/static/chunks/37v998g0cm36x.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3603jy78awb1p.js → 38rjnjhuttjqs.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3_m42xgt33mnw.js +4 -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/{1a6ri-sriyu-m.js → 3ftqojkan-5cl.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3fwt6-8rc2mya.js +1 -0
- package/dist/ui/static/_next/static/chunks/{196x_tfexoucg.js → 3g4px251sg85e.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3hb_wkp14tb6b.js +1 -0
- package/dist/ui/static/_next/static/chunks/3ifa0dznjb9z9.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1n3b0bhd9q0p6.js → 3l3xw2fmr7pct.js} +3 -3
- 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/{2ta3xj9td_qot.js → 3rhep1yhgo6a7.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3umqj2wkb8goj.js +1 -0
- package/dist/ui/static/_next/static/chunks/3xi3iilmw9_vy.js +5 -0
- package/dist/ui/static/_next/static/chunks/{09zc5hgtb7s-z.js → 3ya92_ies62hp.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3zxbqudoeow_a.js +1 -0
- package/dist/ui/static/_next/static/chunks/{2b_t95bbpmtej.js → 4014adorwuv48.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{24u-5fslcj3n9.js → 42otn3fqwlbyi.js} +1 -1
- package/dist/ui/static/_next/static/chunks/42pls95xys34g.js +1 -0
- package/dist/ui/static/_next/static/chunks/43z5mfwx4lk4w.js +1 -0
- package/dist/ui/static/_next/static/chunks/{turbopack-2rwr7ign9ynaa.js → turbopack-34k8wgx0iwdzg.js} +1 -1
- package/dist/ui/static/_not-found/__next._full.txt +21 -20
- package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +9 -9
- package/dist/ui/static/_not-found/__next._tree.txt +1 -1
- package/dist/ui/static/_not-found.html +1 -1
- package/dist/ui/static/_not-found.txt +21 -20
- package/dist/ui/static/atlassian-connectors/__next._full.txt +23 -22
- package/dist/ui/static/atlassian-connectors/__next._tree.txt +1 -1
- package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +11 -11
- package/dist/ui/static/atlassian-connectors.html +1 -1
- package/dist/ui/static/atlassian-connectors.txt +23 -22
- package/dist/ui/static/index.html +1 -1
- package/dist/ui/static/index.txt +23 -22
- package/dist/ui/static/launch/__next._full.txt +26 -25
- package/dist/ui/static/launch/__next._tree.txt +2 -2
- package/dist/ui/static/launch/__next.launch.__PAGE__.txt +12 -12
- package/dist/ui/static/launch.html +1 -1
- package/dist/ui/static/launch.txt +26 -25
- package/dist/ui/static/local-knowledge/__next._full.txt +26 -25
- package/dist/ui/static/local-knowledge/__next._tree.txt +2 -2
- package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +12 -12
- package/dist/ui/static/local-knowledge/capsule/__next._full.txt +11 -11
- package/dist/ui/static/local-knowledge/capsule/__next._tree.txt +1 -1
- package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.__PAGE__.txt +11 -11
- package/dist/ui/static/local-knowledge/capsule.html +1 -1
- package/dist/ui/static/local-knowledge/capsule.txt +11 -11
- package/dist/ui/static/local-knowledge.html +1 -1
- package/dist/ui/static/local-knowledge.txt +26 -25
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze.d.ts +5 -1
- 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 +26 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.js +140 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts +14 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.js +17 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/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/package.json +3 -3
- 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/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/state-paths.d.ts +24 -3
- 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 +126 -5
- 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.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 +250 -50
- 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 +342 -25
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts +2618 -246
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.js +3079 -263
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts +2509 -153
- 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 +2962 -36
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts +51 -6
- 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 +64 -3
- 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 +1 -0
- 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 +12 -9
- 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 +28 -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 +28 -1
- 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 +60 -1
- 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 +70 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.js +266 -5
- package/node_modules/@oscharko-dev/keiko-contracts/dist/evidence.d.ts +11 -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 +57 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.js +4 -2
- 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 +10 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/grounded-assessment.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/grounded-assessment.js +52 -12
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts +5 -5
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/markdown-skills.d.ts +41 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/markdown-skills.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/markdown-skills.js +9 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/no-evidence-answer.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/no-evidence-answer.js +29 -0
- 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/prompt-enhancer-bff.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/prompt-enhancer-bff.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/prompt-enhancer-bff.js +7 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report.d.ts +36 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report.js +11 -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 +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.js +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace.d.ts +41 -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 +9 -1
- package/node_modules/@oscharko-dev/keiko-evaluations/package.json +9 -9
- 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 +23 -3
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/package.json +4 -4
- package/node_modules/@oscharko-dev/keiko-git/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-git/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-git/package.json +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/package.json +7 -7
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/grounded-answer-runner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/grounded-answer-runner.js +3 -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/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/config.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/config.js +103 -1
- 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 +89 -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 +617 -129
- 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 +3 -2
- 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 +2 -2
- 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 +50 -5
- 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 +11 -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 +262 -58
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/readiness-probe.d.ts +1 -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 +1 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.d.ts +143 -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 +361 -39
- 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 +15 -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.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 +30 -15
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/plan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/plan.js +24 -3
- 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 +10 -1
- 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 +25 -2
- 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 +9 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction.js +16 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-security/package.json +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/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 +64 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-model-summary.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-model-summary.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-model-summary.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-breakdown.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-breakdown.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-breakdown.js +23 -4
- 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 +27 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts +7 -3
- 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 +37 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget-diagnostics.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget-diagnostics.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget-diagnostics.js +7 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget-token-summary.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget-token-summary.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget-token-summary.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget.d.ts +4 -1
- 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 +18 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-compaction.d.ts +2 -0
- 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 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.d.ts +1 -1
- 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 +11 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-turn-identity.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-turn-identity.d.ts.map +1 -1
- 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 +274 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionCookie.d.ts +5 -1
- 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 +7 -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/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 +185 -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 +11 -12
- 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 +217 -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/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 +14 -3
- 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 +761 -122
- 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 +41 -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 +234 -77
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.js +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentAuthorityRegistry.d.ts +8 -0
- 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 +16 -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 +131 -18
- 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 +4 -1
- 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 +62 -5
- 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 +68 -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/gateway-readiness.d.ts +10 -10
- 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 +280 -88
- 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 +15 -2
- 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 +445 -45
- 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.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-tool-calling-probe.js +7 -3
- 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 +7 -3
- 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/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 +56 -2
- 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 +194 -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 +22 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.js +112 -11
- 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-pack-reranker.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-context-pack-reranker.js +4 -0
- 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 +6 -0
- 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 +54 -5
- 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-document-evidence.d.ts +6 -2
- 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 +61 -8
- 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 +9 -1
- 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 +40 -3
- 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 +91 -39
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness.d.ts +43 -4
- 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 +247 -34
- 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-orchestrator.d.ts +106 -7
- 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 +2618 -376
- 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 +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-context.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-context.js +1 -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 +26 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-hybrid.d.ts +23 -9
- 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 +429 -97
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-multi-source.d.ts +33 -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 +500 -100
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.d.ts +28 -10
- 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 +442 -99
- 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 +370 -48
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.d.ts +2 -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 +22 -1
- 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 +25 -7
- 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-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 +44 -2
- 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 +1053 -83
- 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/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 +27 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-admission.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-admission.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-admission.js +36 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-authority.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-authority.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-authority.js +28 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-log.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-log.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-log.js +47 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-prompt.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-prompt.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-prompt.js +41 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-routes.d.ts +13 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-routes.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-routes.js +150 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-selection-admission.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-selection-admission.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-selection-admission.js +36 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/route-template.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/route-template.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/promptEnhancer/orchestrate.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/promptEnhancer/orchestrate.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/promptEnhancer/orchestrate.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/promptEnhancer/routes.d.ts +0 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/promptEnhancer/routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/promptEnhancer/routes.js +70 -28
- 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 +9 -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/chats.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chats.js +3 -1
- 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 +12 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/legacySchemaTestFixture.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/legacySchemaTestFixture.js +7 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkillSelections.d.ts +9 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkillSelections.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkillSelections.js +58 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkillValidation.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkillValidation.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkillValidation.js +63 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkills.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkills.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkills.js +111 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.js +195 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-routes.js +4 -7
- 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 +2 -2
- 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/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/workspace-index-provider.js +4 -4
- 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 +207 -112
- 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 +44 -5
- 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.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 +32 -2
- 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.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.js +16 -16
- 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 +4 -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 +296 -15
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/governor.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.js +1 -0
- 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 +85 -5
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.d.ts +11 -0
- 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 +507 -32
- 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/promptEnhancer/index.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/promptEnhancer/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/promptEnhancer/index.js +31 -13
- package/node_modules/@oscharko-dev/keiko-workflows/dist/promptEnhancer/markdownSkillDraft.d.ts +20 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/promptEnhancer/markdownSkillDraft.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/promptEnhancer/markdownSkillDraft.js +77 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.d.ts +1 -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 +13 -16
- 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 +21 -4
- 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/binaryDetect.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.js +91 -15
- 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 +661 -106
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligenceSurface.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligenceSurface.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligenceSurface.js +3 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.d.ts +24 -4
- package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.js +89 -26
- 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/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 +8 -3
- package/node_modules/@oscharko-dev/keiko-workspace/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/index.js +7 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.d.ts +26 -5
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.js +418 -35
- 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 +2 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.js +5 -3
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.js +32 -4
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPolicy.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPolicy.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPolicy.js +41 -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/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 +6 -5
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.js +88 -24
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchStream.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchStream.js +21 -14
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapterRequestContext.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapterRequestContext.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapterRequestContext.js +205 -14
- 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 +17 -13
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralExecution.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralExecution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralExecution.js +1 -1
- 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/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.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.d.ts +13 -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 +112 -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 +28 -27
- package/release-impact.catalog.json +170 -0
- package/vendor/oscharko-dev-keiko-activity-log-1.2.2.tgz +0 -0
- package/vendor/oscharko-dev-keiko-cli-1.2.2.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-connectors-1.2.0.tgz → oscharko-dev-keiko-connectors-1.2.2.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.2.2.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-evaluations-1.2.0.tgz → oscharko-dev-keiko-evaluations-1.2.2.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-evidence-1.2.2.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-git-1.2.0.tgz → oscharko-dev-keiko-git-1.2.2.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-harness-1.2.0.tgz → oscharko-dev-keiko-harness-1.2.2.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-local-knowledge-1.2.2.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-memory-capture-1.2.0.tgz → oscharko-dev-keiko-memory-capture-1.2.2.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-consolidation-1.2.0.tgz → oscharko-dev-keiko-memory-consolidation-1.2.2.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-governance-1.2.0.tgz → oscharko-dev-keiko-memory-governance-1.2.2.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-retrieval-1.2.0.tgz → oscharko-dev-keiko-memory-retrieval-1.2.2.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-vault-1.2.0.tgz → oscharko-dev-keiko-memory-vault-1.2.2.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.2.2.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-quality-intelligence-1.2.0.tgz → oscharko-dev-keiko-quality-intelligence-1.2.2.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-sandbox-1.2.2.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-sdk-1.2.0.tgz → oscharko-dev-keiko-sdk-1.2.2.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-security-1.2.2.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.2.2.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.2.2.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tools-1.2.2.tgz +0 -0
- package/vendor/oscharko-dev-keiko-verification-1.2.2.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workflows-1.2.2.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workspace-1.2.2.tgz +0 -0
- package/dist/ui/static/_next/static/chunks/07skh7tlpfo1v.js +0 -1
- package/dist/ui/static/_next/static/chunks/09i_8713x46yr.js +0 -1
- package/dist/ui/static/_next/static/chunks/0a6ri2ug5xf10.js +0 -1
- package/dist/ui/static/_next/static/chunks/0bbrrvuzilpy5.js +0 -1
- package/dist/ui/static/_next/static/chunks/0bg7uh6tq8-dx.js +0 -1
- package/dist/ui/static/_next/static/chunks/0cwy6mtvshbuo.js +0 -1
- package/dist/ui/static/_next/static/chunks/0fpbvpzg-omn0.js +0 -1
- package/dist/ui/static/_next/static/chunks/0fz9qig_5p73f.js +0 -1
- package/dist/ui/static/_next/static/chunks/0hvxxuef1gw9p.js +0 -1
- package/dist/ui/static/_next/static/chunks/0ktvc8fs3spkb.js +0 -1
- package/dist/ui/static/_next/static/chunks/0kvy_ru-kodgv.js +0 -1
- package/dist/ui/static/_next/static/chunks/0parm4c86umwk.js +0 -1
- package/dist/ui/static/_next/static/chunks/0q_08tk2d3m2n.js +0 -1
- package/dist/ui/static/_next/static/chunks/0r2lwkgws6jm8.js +0 -1
- package/dist/ui/static/_next/static/chunks/0t73kckx3olud.js +0 -1
- package/dist/ui/static/_next/static/chunks/0u7vyqk91gjb8.js +0 -1
- package/dist/ui/static/_next/static/chunks/0weojtwxo6qw7.js +0 -1
- package/dist/ui/static/_next/static/chunks/0x-r45yl06rdn.js +0 -1
- package/dist/ui/static/_next/static/chunks/0zlw46qz0crxg.css +0 -1
- package/dist/ui/static/_next/static/chunks/0zuaq_9l5pma_.js +0 -1
- package/dist/ui/static/_next/static/chunks/10kb8j7vggfwk.js +0 -1
- package/dist/ui/static/_next/static/chunks/14qdwomthzucj.js +0 -1
- package/dist/ui/static/_next/static/chunks/1a7ko-_7t4wjo.js +0 -1
- package/dist/ui/static/_next/static/chunks/1czgn62g6km38.js +0 -3
- package/dist/ui/static/_next/static/chunks/1juiifi_xnx68.js +0 -1
- package/dist/ui/static/_next/static/chunks/1m-9yzfpcm7wc.js +0 -1
- package/dist/ui/static/_next/static/chunks/1wg1s3jm779ro.js +0 -3
- package/dist/ui/static/_next/static/chunks/224bbe_3ksnlw.js +0 -1
- package/dist/ui/static/_next/static/chunks/263_uck8el32f.js +0 -1
- package/dist/ui/static/_next/static/chunks/26gmn1z4oegqh.js +0 -1
- package/dist/ui/static/_next/static/chunks/28ylcw-leje_k.js +0 -1
- package/dist/ui/static/_next/static/chunks/2937s9os9u2tn.js +0 -1
- package/dist/ui/static/_next/static/chunks/29rlw6dih8owf.js +0 -1
- package/dist/ui/static/_next/static/chunks/2hq0zlnvfqol9.js +0 -1
- package/dist/ui/static/_next/static/chunks/2o584howfzzak.js +0 -3
- package/dist/ui/static/_next/static/chunks/2p66e_a0j23r8.js +0 -1
- package/dist/ui/static/_next/static/chunks/2r4vn_6anv2cw.js +0 -5
- package/dist/ui/static/_next/static/chunks/2ribv7pn1hr-l.js +0 -1
- package/dist/ui/static/_next/static/chunks/2tb2nt2wvu643.js +0 -1
- package/dist/ui/static/_next/static/chunks/2wuj7qxm6mleh.js +0 -1
- package/dist/ui/static/_next/static/chunks/2yot6vshhc19p.css +0 -1
- package/dist/ui/static/_next/static/chunks/30j8jo5v60ga1.js +0 -2
- package/dist/ui/static/_next/static/chunks/30q9b_aw8driv.js +0 -1
- package/dist/ui/static/_next/static/chunks/387k5c-bf1b2e.js +0 -1
- package/dist/ui/static/_next/static/chunks/388eokaf_2t9k.js +0 -1
- package/dist/ui/static/_next/static/chunks/3_alxp77ewgk_.js +0 -1
- package/dist/ui/static/_next/static/chunks/3_ycy0h8pq58a.js +0 -1
- package/dist/ui/static/_next/static/chunks/3ho1f5n8lir4r.js +0 -1
- package/dist/ui/static/_next/static/chunks/3kgc_j74tblcn.js +0 -1
- package/dist/ui/static/_next/static/chunks/3mxpjroefk8ou.js +0 -1
- package/dist/ui/static/_next/static/chunks/3q5jidle0lb3-.js +0 -1
- package/dist/ui/static/_next/static/chunks/3ua7si017r4dg.js +0 -1
- package/dist/ui/static/_next/static/chunks/3v2iluxqnsug9.css +0 -15
- package/dist/ui/static/_next/static/chunks/3z5f2s7yd35cu.js +0 -1
- package/dist/ui/static/_next/static/chunks/40co1uetczqcs.js +0 -1
- package/vendor/oscharko-dev-keiko-activity-log-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-cli-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-evidence-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-local-knowledge-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-sandbox-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-security-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tools-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-verification-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workflows-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workspace-1.2.0.tgz +0 -0
- /package/dist/ui/static/_next/static/{LNCY1B2FJBOe2AHFXpzB- → Z7PX-H79azsma78__tTUN}/_buildManifest.js +0 -0
- /package/dist/ui/static/_next/static/{LNCY1B2FJBOe2AHFXpzB- → Z7PX-H79azsma78__tTUN}/_clientMiddlewareManifest.js +0 -0
- /package/dist/ui/static/_next/static/{LNCY1B2FJBOe2AHFXpzB- → Z7PX-H79azsma78__tTUN}/_ssgManifest.js +0 -0
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { withMarkdownSkillAdmission } from "./markdown-skill-admission.js";
|
|
2
|
+
import { markdownSkillPromptUsage, withMarkdownSkillInstructions, } from "./markdown-skill-prompt.js";
|
|
3
|
+
import { assistantReferenceExcerptIds } from "./grounded-assistant-referents.js";
|
|
4
|
+
import { withSentEvidenceInventory, withSentSelectionDiagnostics, } from "./grounded-answer-evidence.js";
|
|
1
5
|
import { caughtGroundedPackValidation, inspectGroundedPack, recordGroundedPackValidation, GROUNDED_PACK_VALIDATION_MESSAGE, } from "./grounded-pack-validation.js";
|
|
2
6
|
// Epic #532 — multi-source (1+N) grounded retrieval merge. A chat may connect N folders/files at
|
|
3
7
|
// once; asking one question must search EVERY connected source and return ONE merged answer with
|
|
@@ -8,32 +12,41 @@ import { caughtGroundedPackValidation, inspectGroundedPack, recordGroundedPackVa
|
|
|
8
12
|
// the shared formatters/projection/persistence helpers (now exported) so the two paths build their
|
|
9
13
|
// gateway messages, citations, and evidence from the exact same primitives.
|
|
10
14
|
import { mapWithConcurrency } from "./bounded-concurrency.js";
|
|
11
|
-
import { reconcileAndLogInlineCitations } from "./grounded-citation-log.js";
|
|
15
|
+
import { reconcileAndLogInlineCitations, } from "./grounded-citation-log.js";
|
|
12
16
|
import { basename } from "node:path";
|
|
13
17
|
import { createHash } from "node:crypto";
|
|
14
|
-
import { CancelledError, ContextOverflowError, resolveCostClass, } from "@oscharko-dev/keiko-model-gateway";
|
|
18
|
+
import { CancelledError, ContextOverflowError, CallerAttemptAdmissionError, resolveCostClass, } from "@oscharko-dev/keiko-model-gateway";
|
|
15
19
|
import { persistConnectedContextEvidence } from "@oscharko-dev/keiko-evidence";
|
|
16
20
|
import { CONTEXT_LANE_IDS } from "@oscharko-dev/keiko-contracts/runtime/context-engineering";
|
|
17
21
|
import { connectedContextOmittedCount, CANDIDATE_OMISSION_REASONS, DEFAULT_EXPLORATION_BUDGET, } from "@oscharko-dev/keiko-contracts/connected-context";
|
|
18
22
|
import { buildGroundedAnswerContextPackSummary, chatConnectedScopeFingerprintInput, } from "@oscharko-dev/keiko-contracts/bff-wire";
|
|
19
|
-
import { currentContextProfileForModel, currentRedactionSecrets } from "./deps.js";
|
|
23
|
+
import { currentContextProfileForModel, currentRedactionSecrets, currentOwnAssessmentPolicy, } from "./deps.js";
|
|
24
|
+
import { normalizeGroundedAnswerAssessment } from "./grounded-answer-assessment.js";
|
|
20
25
|
import { withAdoptedContextWindowRetry } from "./gateway-context-window.js";
|
|
21
26
|
import { countGatewayPromptTokens } from "@oscharko-dev/keiko-model-gateway/internal/prompt-token-accounting";
|
|
22
|
-
import { ClarificationNeededError, clarificationUserMessage, retrieveConnectedContextPack, } from "./grounded-orchestrator.js";
|
|
27
|
+
import { ClarificationNeededError, clarificationUserMessage, retrieveConnectedContextPack, logGroundedAnswerForPack, } from "./grounded-orchestrator.js";
|
|
23
28
|
import { microIndexForGroundedScope } from "./grounded-context-index.js";
|
|
24
|
-
import {
|
|
29
|
+
import { configuredGroundedSemanticRequest } from "./grounded-semantic-request.js";
|
|
30
|
+
import { createSemanticRefreshDocumentBudget } from "./grounded-repo-semantic-search.js";
|
|
25
31
|
import { createEntailmentStage } from "./grounded-entailment-stage.js";
|
|
26
|
-
import {
|
|
32
|
+
import { groundedSystemPrompt, sentGroundedFileCount } from "./grounded-prompt.js";
|
|
27
33
|
import { evidenceRetentionObserver } from "./evidence-retention-log.js";
|
|
28
34
|
import { assertUsableAssistantContent } from "./assistant-response.js";
|
|
29
35
|
import { splitExplorationBudgets } from "./grounded-multi-source-budget.js";
|
|
30
|
-
import { normalizeGroundedAnswerPayload, } from "./grounded-answer.js";
|
|
31
|
-
import {
|
|
36
|
+
import { createGroundedSynthesisCallBudget, normalizeGroundedAnswerPayload, } from "./grounded-answer.js";
|
|
37
|
+
import { callPluralGroundedSynthesis, pluralSynthesisMetadata, withPluralSynthesisUsage, capturePluralSynthesisCounts, } from "./grounded-plural-synthesis.js";
|
|
38
|
+
import { connectedSearchNoEvidenceAnswer, assessmentAwareUncertainty, groundedAnswerEvidenceFields, buildInsufficiencyScopeIndex, declaredInsufficiencyPaths, validateGroundedAnswerEvidence, buildPackCitationIndex, citationSourceIdForIndex, incompleteAnswerMarker, missingCitationMarkerFor, packsHaveUsableEvidence, noEvidenceMarker, unsupportedCitationMarker, } from "./grounded-faithfulness.js";
|
|
32
39
|
import { buildAnswerCitations, buildSourcedAnswerCitations, } from "./grounded-citation-projection.js";
|
|
33
|
-
import { appendGroundedAnswerEntailment, buildQuery, buildSelectedScopeFrom, clarificationRequest, deriveScopeIdFrom, ensureNotCancelled, evidenceLines, omissionReasonLines, groundedContextAssemblyInput, groundedContextSummaryInput, groundedEvidenceRunId, groundedPromptOptions, groundedScopeWorkspaceFs, internalError, mappedGatewayError, mappedWorkspaceError, modelWindowAwareBudget, modelInputPromptByteLimit, packBudgetSummary, promptExcerptCount, promptByteLength, registerGroundedTurn, redactString, uncertaintyLines, sizeExclusionLines, fitPromptOmissionMetadata, withPromptExcerptByteLimit, } from "./grounded-qa.js";
|
|
40
|
+
import { appendGroundedAnswerEntailment, assertGroundedPromptOverheadFits, buildQuery, buildSelectedScopeFrom, clarificationRequest, deriveScopeIdFrom, ensureNotCancelled, evidenceLines, omissionReasonLines, groundedContextAssemblyInput, groundedContextSummaryInput, groundedEvidenceRunId, groundedPromptOptions, groundedScopeWorkspaceFs, internalError, mappedGatewayError, mappedWorkspaceError, modelWindowAwareBudget, modelInputPromptByteLimit, packBudgetSummary, promptExcerptCount, promptByteLength, registerGroundedTurn, redactString, uncertaintyLines, sizeExclusionLines, fitPromptOmissionMetadata, withPromptExcerptByteLimit, withPromptExcerptBudget, groundedRetrievalContinuityFields, } from "./grounded-qa.js";
|
|
34
41
|
import { persistGroundedExchange } from "./grounded-message-persistence.js";
|
|
35
42
|
import { sentPromptContext } from "./grounded-prompt-context.js";
|
|
36
43
|
import { logPromptWindowFit } from "./knowledge-prompt-window.js";
|
|
44
|
+
import { buildCitationRepairPrompt } from "./grounded-citation-repair.js";
|
|
45
|
+
import { repairGroundedAnswer, observeGroundedCitationBehaviour, } from "./grounded-answer-repair.js";
|
|
46
|
+
import { citationBehaviourFor, citationBehaviourObserverFor, } from "./grounded-citation-capability.js";
|
|
47
|
+
import { emitServerDiagnostic, serverDiagnosticFromError } from "./diagnostics-log.js";
|
|
48
|
+
import { correlationIdOrUnknown } from "./correlation.js";
|
|
49
|
+
import { logGroundedPromptSelection } from "./chat-activity.js";
|
|
37
50
|
export { splitExplorationBudget, splitExplorationBudgets } from "./grounded-multi-source-budget.js";
|
|
38
51
|
// ─── Canonical reader + label/budget helpers ──────────────────────────────────
|
|
39
52
|
// Canonical reader rule (Epic #532 contract): `connectedScopes` supersedes the legacy single
|
|
@@ -215,6 +228,11 @@ function mergeCoverageSummaries(summaries) {
|
|
|
215
228
|
limits: mergeCoverageLimits(coverageSummaries),
|
|
216
229
|
};
|
|
217
230
|
}
|
|
231
|
+
function mergedSelectionConfidence(summaries) {
|
|
232
|
+
if (summaries.some((summary) => summary.selectionConfidence === "low"))
|
|
233
|
+
return "low";
|
|
234
|
+
return summaries.every((summary) => summary.selectionConfidence === "high") ? "high" : undefined;
|
|
235
|
+
}
|
|
218
236
|
export function mergeContextPackSummaries(summaries) {
|
|
219
237
|
const [first] = summaries;
|
|
220
238
|
if (first === undefined) {
|
|
@@ -224,6 +242,7 @@ export function mergeContextPackSummaries(summaries) {
|
|
|
224
242
|
// structurally path-free: fixed lane-id keys, numeric counts/tokens, a pressure enum, and a boolean.
|
|
225
243
|
const mergedContextSummary = mergeContextSummaries(summaries);
|
|
226
244
|
const mergedCoverage = mergeCoverageSummaries(summaries);
|
|
245
|
+
const selectionConfidence = mergedSelectionConfidence(summaries);
|
|
227
246
|
return {
|
|
228
247
|
schemaVersion: first.schemaVersion,
|
|
229
248
|
scopeId: `scope-${createHash("sha256")
|
|
@@ -240,6 +259,7 @@ export function mergeContextPackSummaries(summaries) {
|
|
|
240
259
|
omittedCounts: mergeOmittedCounts(summaries),
|
|
241
260
|
uncertaintyCount: summaries.reduce((acc, s) => acc + s.uncertaintyCount, 0),
|
|
242
261
|
elapsedMs: summaries.reduce((acc, s) => acc + s.elapsedMs, 0),
|
|
262
|
+
...(selectionConfidence === undefined ? {} : { selectionConfidence }),
|
|
243
263
|
...(mergedCoverage !== undefined ? { coverage: mergedCoverage } : {}),
|
|
244
264
|
...(mergedContextSummary !== undefined ? { contextSummary: mergedContextSummary } : {}),
|
|
245
265
|
};
|
|
@@ -266,20 +286,20 @@ function sourceSection(entry, index, redactor, omissionPathBytes) {
|
|
|
266
286
|
export function buildMultiSourceGatewayMessages(question, labeledPacks, redactor) {
|
|
267
287
|
return budgetedMultiSourceGatewayMessages(question, labeledPacks, redactor).messages;
|
|
268
288
|
}
|
|
269
|
-
function buildRawMultiSourceGatewayMessages(question, labeledPacks, redactor, omissionPathBytes) {
|
|
289
|
+
function buildRawMultiSourceGatewayMessages(question, labeledPacks, redactor, omissionPathBytes, ownAssessmentPolicy = "disabled", protectedSkill) {
|
|
270
290
|
const sections = labeledPacks.flatMap((entry, index) => sourceSection(entry, index, redactor, omissionPathBytes));
|
|
271
291
|
const userContent = [
|
|
272
|
-
|
|
273
|
-
redactString(redactor, question),
|
|
292
|
+
...sections,
|
|
274
293
|
"",
|
|
275
294
|
`Connected sources (${String(labeledPacks.length)}). For every repository claim, cite its`,
|
|
276
295
|
"source ordinal and file in one marker (e.g. [source:1|src/file.ts:10-20]).",
|
|
277
296
|
"",
|
|
278
|
-
|
|
297
|
+
"User question:",
|
|
298
|
+
redactString(redactor, question),
|
|
279
299
|
].join("\n");
|
|
280
300
|
return [
|
|
281
|
-
{ role: "system", content:
|
|
282
|
-
{ role: "user", content: userContent },
|
|
301
|
+
{ role: "system", content: groundedSystemPrompt(ownAssessmentPolicy) },
|
|
302
|
+
{ role: "user", content: withMarkdownSkillInstructions(userContent, protectedSkill) },
|
|
283
303
|
];
|
|
284
304
|
}
|
|
285
305
|
function withMultiSourcePromptExcerptByteLimit(labeledPacks, maxExcerptBytes) {
|
|
@@ -308,19 +328,19 @@ function sourceBudgetBytes(totalBytes, index, weights) {
|
|
|
308
328
|
const weighted = weightSum <= 0 ? 0 : (weightedPool * (weights[index] ?? 0)) / weightSum;
|
|
309
329
|
return Math.floor(equal + weighted);
|
|
310
330
|
}
|
|
311
|
-
function withMultiSourcePromptExcerptTotalBudget(labeledPacks, totalExcerptBytes) {
|
|
312
|
-
if (totalExcerptBytes <= 0 || labeledPacks.length === 0) {
|
|
313
|
-
return withMultiSourcePromptExcerptByteLimit(labeledPacks, 0);
|
|
314
|
-
}
|
|
331
|
+
function withMultiSourcePromptExcerptTotalBudget(labeledPacks, totalExcerptBytes, preserveSelectionMetadata = false) {
|
|
315
332
|
const weights = labeledPacks.map((entry) => bestPackScore(entry.pack));
|
|
316
333
|
return labeledPacks.map((entry, index) => {
|
|
317
334
|
const excerptCount = packExcerptCount(entry.pack);
|
|
318
335
|
const perExcerpt = excerptCount === 0
|
|
319
336
|
? 0
|
|
320
|
-
: Math.floor(sourceBudgetBytes(totalExcerptBytes, index, weights) / excerptCount);
|
|
337
|
+
: Math.floor(sourceBudgetBytes(Math.max(0, totalExcerptBytes), index, weights) / excerptCount);
|
|
338
|
+
const pack = entry.requiredEvidenceAtomIds?.length
|
|
339
|
+
? withPromptExcerptBudget(entry.pack, perExcerpt * excerptCount, undefined, entry.requiredEvidenceAtomIds)
|
|
340
|
+
: withPromptExcerptByteLimit(entry.pack, perExcerpt);
|
|
321
341
|
return {
|
|
322
342
|
...entry,
|
|
323
|
-
pack:
|
|
343
|
+
pack: preserveSelectionMetadata ? { ...entry.pack, files: pack.files } : pack,
|
|
324
344
|
};
|
|
325
345
|
});
|
|
326
346
|
}
|
|
@@ -329,8 +349,8 @@ function withMultiSourcePromptExcerptTotalBudget(labeledPacks, totalExcerptBytes
|
|
|
329
349
|
// (fitGroundedPrompt). The packs' budgets add up per source, so on their own they let three sources
|
|
330
350
|
// send three windows' worth of excerpts to one model (PR #3678 review).
|
|
331
351
|
function multiSourceInputTokens(labeledPacks, options) {
|
|
332
|
-
const packTokens = labeledPacks.reduce((sum, entry) => sum + entry.pack.budget.modelInputTokensMax, 0);
|
|
333
|
-
return Math.min(packTokens, options.modelInputTokensMax ?? packTokens);
|
|
352
|
+
const packTokens = labeledPacks.reduce((sum, entry) => sum + Math.max(0, entry.pack.budget.modelInputTokensMax - entry.pack.usage.modelInputTokens), 0);
|
|
353
|
+
return Math.min(packTokens, options.modelInputTokensMax ?? packTokens, options.callerInputTokensMax ?? packTokens);
|
|
334
354
|
}
|
|
335
355
|
function multiSourcePromptFit(labeledPacks, options) {
|
|
336
356
|
const tokensMax = multiSourceInputTokens(labeledPacks, options);
|
|
@@ -341,36 +361,56 @@ function multiSourcePromptFit(labeledPacks, options) {
|
|
|
341
361
|
countGatewayPromptTokens({ messages }, options.tokenAccounting) <= tokensMax,
|
|
342
362
|
};
|
|
343
363
|
}
|
|
364
|
+
function multiSourcePromptRenderer(question, redactor, options) {
|
|
365
|
+
return (packs, bytes) => buildRawMultiSourceGatewayMessages(question, packs, redactor, bytes, options.ownAssessmentPolicy, options.protectedSkill);
|
|
366
|
+
}
|
|
344
367
|
function budgetedMultiSourceGatewayMessages(question, labeledPacks, redactor, options = {}) {
|
|
345
368
|
const { limit, fits } = multiSourcePromptFit(labeledPacks, options);
|
|
346
|
-
const
|
|
369
|
+
const render = multiSourcePromptRenderer(question, redactor, options);
|
|
370
|
+
const fullMessages = render(labeledPacks);
|
|
347
371
|
if (fits(fullMessages))
|
|
348
372
|
return { messages: fullMessages, packs: labeledPacks };
|
|
349
|
-
const metadataFit = fitPromptOmissionMetadata((bytes) =>
|
|
373
|
+
const metadataFit = fitPromptOmissionMetadata((bytes) => render(labeledPacks, bytes), fits, limit);
|
|
350
374
|
if (metadataFit !== undefined)
|
|
351
375
|
return { ...metadataFit, packs: labeledPacks };
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
if (
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
376
|
+
// Dropping a subject adds uncertainty text. Find the source window with stable metadata,
|
|
377
|
+
// then admit only its truthful form; the empty prompt is not an absolute lower cost bound.
|
|
378
|
+
const optimistic = fitMultiSourceExcerptWindow(labeledPacks, render, fits, limit, options, true);
|
|
379
|
+
const packs = withMultiSourcePromptExcerptTotalBudget(labeledPacks, optimistic.totalExcerptBytes);
|
|
380
|
+
const messages = render(packs, 0);
|
|
381
|
+
if (fits(messages))
|
|
382
|
+
return { messages, packs, omissionPathBytes: 0 };
|
|
383
|
+
return fitMultiSourceExcerptWindow(labeledPacks, render, fits, limit, options, false);
|
|
384
|
+
}
|
|
385
|
+
function fitMultiSourceExcerptWindow(labeledPacks, render, fits, limit, options, preserveSelectionMetadata) {
|
|
386
|
+
const trim = (bytes) => withMultiSourcePromptExcerptTotalBudget(labeledPacks, bytes, preserveSelectionMetadata);
|
|
387
|
+
const emptyPacks = trim(0);
|
|
388
|
+
const overhead = render(emptyPacks, 0);
|
|
389
|
+
const overheadBytes = promptByteLength(overhead);
|
|
390
|
+
const aggregateLimit = multiSourceInputTokens(labeledPacks, {
|
|
391
|
+
...options,
|
|
392
|
+
callerInputTokensMax: undefined,
|
|
393
|
+
});
|
|
394
|
+
const callerLimit = options.callerInputTokensMax;
|
|
395
|
+
assertGroundedPromptOverheadFits({
|
|
396
|
+
bytes: overheadBytes,
|
|
397
|
+
tokens: countGatewayPromptTokens({ messages: overhead }, options.tokenAccounting),
|
|
398
|
+
}, callerLimit === undefined ? aggregateLimit : (options.modelInputTokensMax ?? aggregateLimit), callerLimit === undefined ? undefined : Math.min(aggregateLimit, callerLimit));
|
|
399
|
+
let low = 1;
|
|
400
|
+
let high = Math.max(0, limit - overheadBytes);
|
|
401
|
+
let best = { messages: overhead, packs: emptyPacks, omissionPathBytes: 0, totalExcerptBytes: 0 };
|
|
402
|
+
while (low <= high) {
|
|
403
|
+
const totalExcerptBytes = Math.floor((low + high) / 2);
|
|
404
|
+
const packs = trim(totalExcerptBytes);
|
|
405
|
+
const messages = render(packs, 0);
|
|
406
|
+
if (fits(messages)) {
|
|
407
|
+
best = { messages, packs, omissionPathBytes: 0, totalExcerptBytes };
|
|
408
|
+
low = totalExcerptBytes + 1;
|
|
366
409
|
}
|
|
367
|
-
|
|
410
|
+
else
|
|
411
|
+
high = totalExcerptBytes - 1;
|
|
368
412
|
}
|
|
369
|
-
return
|
|
370
|
-
messages: buildRawMultiSourceGatewayMessages(question, emptyPacks, redactor, 0),
|
|
371
|
-
packs: emptyPacks,
|
|
372
|
-
omissionPathBytes: 0,
|
|
373
|
-
};
|
|
413
|
+
return best;
|
|
374
414
|
}
|
|
375
415
|
// The fit decision on the existing `search.prompt.window-fitted` port, like the Knowledge Pod and
|
|
376
416
|
// hybrid prompts (PR #3678 review): a trim records the excerpts kept and the prompt sent, a refusal
|
|
@@ -384,9 +424,9 @@ function loggedMultiSourceFit(question, labeledPacks, redactor, options, correla
|
|
|
384
424
|
fitted = budgetedMultiSourceGatewayMessages(question, labeledPacks, redactor, options);
|
|
385
425
|
}
|
|
386
426
|
catch (error) {
|
|
387
|
-
if (error instanceof ContextOverflowError) {
|
|
427
|
+
if (error instanceof ContextOverflowError || error instanceof CallerAttemptAdmissionError) {
|
|
388
428
|
const empty = withMultiSourcePromptExcerptByteLimit(labeledPacks, 0);
|
|
389
|
-
const promptTokens = tokens(buildRawMultiSourceGatewayMessages(question, empty, redactor, 0));
|
|
429
|
+
const promptTokens = tokens(buildRawMultiSourceGatewayMessages(question, empty, redactor, 0, options.ownAssessmentPolicy, options.protectedSkill));
|
|
390
430
|
const fit = { referenceCount, sentReferenceCount: 0, promptTokens, inputBudget };
|
|
391
431
|
logPromptWindowFit({ state: "refused", ...fit }, correlationId);
|
|
392
432
|
}
|
|
@@ -407,8 +447,15 @@ function loggedMultiSourceFit(question, labeledPacks, redactor, options, correla
|
|
|
407
447
|
export function fittedMultiSourcePrompt(question, labeledPacks, redactor, options = {}, correlationId) {
|
|
408
448
|
const fitted = loggedMultiSourceFit(question, labeledPacks, redactor, options, correlationId);
|
|
409
449
|
return {
|
|
450
|
+
packs: fitted.packs,
|
|
410
451
|
messages: fitted.messages,
|
|
411
|
-
|
|
452
|
+
protectedSkill: options.protectedSkill === undefined
|
|
453
|
+
? undefined
|
|
454
|
+
: markdownSkillPromptUsage(options.protectedSkill, {
|
|
455
|
+
tokenAccounting: options.tokenAccounting,
|
|
456
|
+
maxInputTokens: multiSourceInputTokens(labeledPacks, options),
|
|
457
|
+
}),
|
|
458
|
+
withoutSources: buildRawMultiSourceGatewayMessages(question, fitted.packs.map((entry) => ({ ...entry, pack: { ...entry.pack, files: [] } })), redactor, -1, options.ownAssessmentPolicy, options.protectedSkill),
|
|
412
459
|
sentReferenceCount: promptExcerptCount(fitted.packs.map((entry) => entry.pack)),
|
|
413
460
|
availableReferenceCount: promptExcerptCount(labeledPacks.map((entry) => entry.pack)),
|
|
414
461
|
};
|
|
@@ -416,15 +463,18 @@ export function fittedMultiSourcePrompt(question, labeledPacks, redactor, option
|
|
|
416
463
|
// Production retriever: retrieval-only orchestrator pass with a per-scope micro-index cache. No
|
|
417
464
|
// modelId is needed — retrieval performs no model call.
|
|
418
465
|
export function defaultRetriever(signal, deps, correlationId) {
|
|
466
|
+
const refreshDocuments = deps === undefined ? undefined : createSemanticRefreshDocumentBudget(deps);
|
|
419
467
|
return (input, childSignal = signal) => {
|
|
420
468
|
const nowMs = Date.now;
|
|
421
469
|
const semanticLease = deps === undefined
|
|
422
|
-
? {
|
|
423
|
-
:
|
|
470
|
+
? { providerFor: undefined, close: () => undefined }
|
|
471
|
+
: configuredGroundedSemanticRequest(deps, input.workspaceRoot, refreshDocuments);
|
|
424
472
|
return retrieveConnectedContextPack(input, {
|
|
425
473
|
answerer: { answer: () => Promise.resolve("") },
|
|
426
474
|
nowMs,
|
|
427
475
|
signal: childSignal,
|
|
476
|
+
declarationVerificationSignal: signal,
|
|
477
|
+
ownAssessmentPolicy: deps === undefined ? undefined : currentOwnAssessmentPolicy(deps),
|
|
428
478
|
microIndex: microIndexForGroundedScope(input.scope, nowMs),
|
|
429
479
|
// ADR-0173 D5. A multi-folder or hybrid ask retrieves through THIS path, not through the
|
|
430
480
|
// single-folder one, so without the id every git-history read failure on the plural-source
|
|
@@ -433,9 +483,10 @@ export function defaultRetriever(signal, deps, correlationId) {
|
|
|
433
483
|
...(deps?.workspaceIndexForRoot === undefined
|
|
434
484
|
? {}
|
|
435
485
|
: { workspaceIndexForRoot: deps.workspaceIndexForRoot }),
|
|
436
|
-
|
|
486
|
+
diagnostics: deps?.diagnostics,
|
|
487
|
+
...(semanticLease.providerFor === undefined
|
|
437
488
|
? {}
|
|
438
|
-
: {
|
|
489
|
+
: { repoSemanticSearchProviderFor: semanticLease.providerFor }),
|
|
439
490
|
}).finally(() => {
|
|
440
491
|
semanticLease.close();
|
|
441
492
|
});
|
|
@@ -444,31 +495,202 @@ export function defaultRetriever(signal, deps, correlationId) {
|
|
|
444
495
|
// Like the folder answerer (createGatewayAnswerer): each attempt fits the prompt to the model's
|
|
445
496
|
// current input budget, and a provider overflow that states the real window re-fits and sends once
|
|
446
497
|
// more (withAdoptedContextWindowRetry). The prompt of the last attempt is the one reported.
|
|
447
|
-
export function createMultiSourceAnswerer(deps, model, modelId, signal, correlationId) {
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
498
|
+
export function createMultiSourceAnswerer(deps, model, modelId, signal, correlationId, answerOptions = {}) {
|
|
499
|
+
const ctx = {
|
|
500
|
+
synthesisBudget: createGroundedSynthesisCallBudget(),
|
|
501
|
+
originalBudget: modelWindowAwareBudget(deps, modelId),
|
|
502
|
+
startedAtMs: Date.now(),
|
|
503
|
+
deps,
|
|
504
|
+
model: withMarkdownSkillAdmission(model, deps.store.markdownSkills, answerOptions.userMessageId, deps.markdownSkillAuthority),
|
|
505
|
+
modelId,
|
|
506
|
+
signal,
|
|
507
|
+
correlationId,
|
|
508
|
+
answerOptions,
|
|
509
|
+
};
|
|
510
|
+
return Object.assign((question, packs) => multiSourceGatewayAnswer(ctx, question, packs), {
|
|
511
|
+
remainingSynthesisCalls: () => ctx.synthesisBudget.remaining(),
|
|
512
|
+
pendingSynthesisUsage: () => ctx.synthesisBudget.pendingUsage(),
|
|
513
|
+
takeFailedSynthesisUsage: () => ctx.synthesisBudget.takeUsage(),
|
|
514
|
+
reservedSynthesisOutputTokens: () => ctx.synthesisBudget.reservedOutputTokens(),
|
|
515
|
+
completedSynthesisCalls: () => ctx.synthesisBudget.completed(),
|
|
516
|
+
repair: (question, _pack, original, options) => multiSourceGatewayRepair(ctx, question, original, options),
|
|
517
|
+
});
|
|
518
|
+
}
|
|
519
|
+
async function multiSourceGatewayAnswer(ctx, question, labeledPacks) {
|
|
520
|
+
const countsBefore = capturePluralSynthesisCounts(ctx.synthesisBudget);
|
|
521
|
+
ensureNotCancelled(ctx.signal);
|
|
522
|
+
const response = await withAdoptedContextWindowRetry(ctx.deps, { modelId: ctx.modelId, surface: "grounded", correlationId: ctx.correlationId }, () => multiSourceGatewayAttempt(ctx, question, labeledPacks));
|
|
523
|
+
const sent = ctx.sent;
|
|
524
|
+
if (sent === undefined)
|
|
525
|
+
throw new TypeError("Multi-source fitted prompt is unavailable");
|
|
526
|
+
const answer = multiSourceAnswerResult(response, sent, ctx.answerOptions.currentQuestion ?? question, ctx.modelId, currentContextProfileForModel(ctx.deps, ctx.modelId));
|
|
527
|
+
return withPluralSynthesisUsage(answer, ctx.synthesisBudget, countsBefore);
|
|
528
|
+
}
|
|
529
|
+
async function multiSourceGatewayAttempt(ctx, question, packs) {
|
|
530
|
+
const accounting = currentContextProfileForModel(ctx.deps, ctx.modelId)?.tokenAccounting;
|
|
531
|
+
const options = multiSourceRemainingPromptOptions(ctx, packs, accounting);
|
|
532
|
+
const sent = fittedMultiSourcePrompt(question, packs, ctx.deps.redactor, options, ctx.correlationId);
|
|
533
|
+
ctx.sent = sent;
|
|
534
|
+
if (sent.sentReferenceCount === 0 &&
|
|
535
|
+
ctx.answerOptions.answerOnlyContextAvailable !== true &&
|
|
536
|
+
options.ownAssessmentPolicy !== "allowed")
|
|
537
|
+
return undefined;
|
|
538
|
+
logGroundedPromptSelection(ctx.correlationId, { ...sent, sentEvidencePacks: sent.packs.map((entry) => entry.pack) }, multiSourceInputTokens(packs, options), accounting);
|
|
539
|
+
const grants = multiSourceSynthesisGrants(ctx, packs);
|
|
540
|
+
return callPluralGroundedSynthesis({
|
|
541
|
+
model: ctx.model,
|
|
542
|
+
signal: ctx.signal,
|
|
543
|
+
budget: ctx.synthesisBudget,
|
|
544
|
+
grants,
|
|
545
|
+
accounting,
|
|
546
|
+
request: {
|
|
547
|
+
modelId: ctx.modelId,
|
|
548
|
+
messages: sent.messages,
|
|
549
|
+
stream: false,
|
|
550
|
+
maxOutputTokens: Math.min(modelWindowAwareBudget(ctx.deps, ctx.modelId).modelOutputTokensMax, grants.outputTokensMax - ctx.synthesisBudget.pendingUsage().completionTokens),
|
|
551
|
+
logContext: { correlationId: ctx.correlationId },
|
|
552
|
+
},
|
|
553
|
+
});
|
|
554
|
+
}
|
|
555
|
+
function multiSourceSynthesisGrants(ctx, packs) {
|
|
556
|
+
const elapsed = [
|
|
557
|
+
ctx.originalBudget.elapsedMsMax,
|
|
558
|
+
...packs.map((entry) => entry.pack.budget.elapsedMsMax),
|
|
559
|
+
].filter((limit) => limit !== null);
|
|
560
|
+
return {
|
|
561
|
+
inputTokensMax: remainingMultiSourceResource(ctx.originalBudget.modelInputTokensMax, packs, "modelInputTokensMax", "modelInputTokens"),
|
|
562
|
+
outputTokensMax: remainingMultiSourceResource(ctx.originalBudget.modelOutputTokensMax, packs, "modelOutputTokensMax", "modelOutputTokens"),
|
|
563
|
+
...(elapsed.length === 0 ? {} : { deadlineAtMs: ctx.startedAtMs + Math.min(...elapsed) }),
|
|
564
|
+
signal: ctx.signal,
|
|
565
|
+
};
|
|
566
|
+
}
|
|
567
|
+
function remainingMultiSourceResource(max, packs, budgetKey, usageKey) {
|
|
568
|
+
const original = Math.min(max, packs.reduce((sum, entry) => sum + entry.pack.budget[budgetKey], 0));
|
|
569
|
+
return Math.max(0, original - packs.reduce((sum, entry) => sum + entry.pack.usage[usageKey], 0));
|
|
570
|
+
}
|
|
571
|
+
function multiSourceRemainingPromptOptions(ctx, packs, accounting) {
|
|
572
|
+
const options = groundedPromptOptions(ctx.deps, ctx.modelId, accounting);
|
|
573
|
+
return {
|
|
574
|
+
...options,
|
|
575
|
+
protectedSkill: ctx.answerOptions.userMessageId === undefined
|
|
576
|
+
? undefined
|
|
577
|
+
: ctx.deps.store.markdownSkills.forTurn(ctx.answerOptions.userMessageId),
|
|
578
|
+
ownAssessmentPolicy: currentOwnAssessmentPolicy(ctx.deps),
|
|
579
|
+
callerInputTokensMax: Math.max(0, multiSourceSynthesisGrants(ctx, packs).inputTokensMax -
|
|
580
|
+
ctx.synthesisBudget.pendingUsage().promptTokens),
|
|
581
|
+
};
|
|
582
|
+
}
|
|
583
|
+
function multiSourceRepairPrompt(ctx, question, original, options) {
|
|
584
|
+
const packs = ctx.sent?.packs;
|
|
585
|
+
if (packs === undefined)
|
|
586
|
+
return undefined;
|
|
587
|
+
const accounting = currentContextProfileForModel(ctx.deps, ctx.modelId)?.tokenAccounting;
|
|
588
|
+
const promptOptions = groundedPromptOptions(ctx.deps, ctx.modelId, accounting);
|
|
589
|
+
try {
|
|
590
|
+
const fitted = fittedMultiSourcePrompt(`${question}\n\n${buildCitationRepairPrompt(original)}`, packs, ctx.deps.redactor, {
|
|
591
|
+
...promptOptions,
|
|
592
|
+
protectedSkill: ctx.answerOptions.userMessageId === undefined
|
|
593
|
+
? undefined
|
|
594
|
+
: ctx.deps.store.markdownSkills.forTurn(ctx.answerOptions.userMessageId),
|
|
595
|
+
ownAssessmentPolicy: currentOwnAssessmentPolicy(ctx.deps),
|
|
596
|
+
callerInputTokensMax: options.modelInputTokensMax ?? 0,
|
|
597
|
+
}, ctx.correlationId);
|
|
598
|
+
return fitted.packs === packs ? fitted : undefined;
|
|
599
|
+
}
|
|
600
|
+
catch (error) {
|
|
601
|
+
if (error instanceof ContextOverflowError || error instanceof CallerAttemptAdmissionError)
|
|
602
|
+
return undefined;
|
|
603
|
+
throw error;
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
async function multiSourceGatewayRepair(ctx, question, original, options) {
|
|
607
|
+
const countsBefore = capturePluralSynthesisCounts(ctx.synthesisBudget);
|
|
608
|
+
const sent = multiSourceRepairPrompt(ctx, question, original, options);
|
|
609
|
+
if (sent === undefined || ctx.synthesisBudget.remaining() <= 0)
|
|
610
|
+
return uninvokedCitationRepair(original);
|
|
611
|
+
const signal = multiSourceRepairSignal(ctx.signal, options);
|
|
612
|
+
if (signal === undefined)
|
|
613
|
+
return uninvokedCitationRepair(original);
|
|
614
|
+
logMultiSourceRepairPrompt(ctx, sent, options);
|
|
615
|
+
if (options.deadlineAtMs !== undefined && Date.now() >= options.deadlineAtMs)
|
|
616
|
+
return uninvokedCitationRepair(original);
|
|
617
|
+
ensureNotCancelled(signal);
|
|
618
|
+
const response = await callPluralGroundedSynthesis({
|
|
619
|
+
model: ctx.model,
|
|
620
|
+
signal,
|
|
621
|
+
budget: ctx.synthesisBudget,
|
|
622
|
+
grants: {
|
|
623
|
+
inputTokensMax: options.modelInputTokensMax ?? 0,
|
|
624
|
+
outputTokensMax: options.modelOutputTokensMax ?? 0,
|
|
625
|
+
signal,
|
|
626
|
+
deadlineAtMs: options.deadlineAtMs,
|
|
627
|
+
},
|
|
628
|
+
accounting: currentContextProfileForModel(ctx.deps, ctx.modelId)?.tokenAccounting,
|
|
629
|
+
request: {
|
|
630
|
+
modelId: ctx.modelId,
|
|
631
|
+
messages: sent.messages,
|
|
632
|
+
stream: false,
|
|
633
|
+
maxOutputTokens: options.modelOutputTokensMax,
|
|
634
|
+
logContext: { correlationId: ctx.correlationId },
|
|
635
|
+
},
|
|
636
|
+
});
|
|
637
|
+
assertUsableAssistantContent(response.content.trim(), ctx.modelId);
|
|
638
|
+
return withPluralSynthesisUsage({
|
|
639
|
+
content: response.content.trim(),
|
|
640
|
+
usage: { promptTokens: 0, completionTokens: 0 },
|
|
641
|
+
sentEvidencePacks: sent.packs.map((entry) => entry.pack),
|
|
642
|
+
modelInvoked: true,
|
|
643
|
+
}, ctx.synthesisBudget, countsBefore);
|
|
644
|
+
}
|
|
645
|
+
function logMultiSourceRepairPrompt(ctx, sent, options) {
|
|
646
|
+
logGroundedPromptSelection(ctx.correlationId, { ...sent, sentEvidencePacks: sent.packs.map((entry) => entry.pack) }, Math.min(options.modelInputTokensMax ?? 0, multiSourceInputTokens(sent.packs, groundedPromptOptions(ctx.deps, ctx.modelId, undefined))), currentContextProfileForModel(ctx.deps, ctx.modelId)?.tokenAccounting);
|
|
647
|
+
}
|
|
648
|
+
export function uninvokedCitationRepair(content) {
|
|
649
|
+
return { content, modelInvoked: false, usage: { promptTokens: 0, completionTokens: 0 } };
|
|
650
|
+
}
|
|
651
|
+
function multiSourceRepairSignal(parent, options) {
|
|
652
|
+
const remainingMs = options.deadlineAtMs === undefined ? undefined : options.deadlineAtMs - Date.now();
|
|
653
|
+
if (remainingMs !== undefined && remainingMs <= 0)
|
|
654
|
+
return undefined;
|
|
655
|
+
const signals = [parent, ...(options.signal === undefined ? [] : [options.signal])];
|
|
656
|
+
if (remainingMs !== undefined)
|
|
657
|
+
signals.push(AbortSignal.timeout(Math.ceil(remainingMs)));
|
|
658
|
+
return AbortSignal.any(signals);
|
|
659
|
+
}
|
|
660
|
+
function multiSourceAnswerResult(response, sent, question, modelId, profile) {
|
|
661
|
+
const content = response?.content.trim() ?? connectedSearchNoEvidenceAnswer(question);
|
|
662
|
+
if (response !== undefined)
|
|
458
663
|
assertUsableAssistantContent(content, modelId);
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
}
|
|
664
|
+
const packs = sent.packs.map((entry) => entry.pack);
|
|
665
|
+
return {
|
|
666
|
+
content,
|
|
667
|
+
modelInvoked: response !== undefined,
|
|
668
|
+
noEvidence: sent.sentReferenceCount === 0,
|
|
669
|
+
usage: {
|
|
670
|
+
promptTokens: response?.usage.promptTokens ?? 0,
|
|
671
|
+
completionTokens: response?.usage.completionTokens ?? 0,
|
|
672
|
+
},
|
|
673
|
+
evidenceScopeIndex: buildInsufficiencyScopeIndex(packs),
|
|
674
|
+
sentEvidencePacks: packs,
|
|
675
|
+
filesInPrompt: sentGroundedFileCount(packs),
|
|
676
|
+
...(response === undefined
|
|
677
|
+
? {}
|
|
678
|
+
: { promptContext: sentPromptContext(sent, response.usage.promptTokens, profile) }),
|
|
468
679
|
};
|
|
469
680
|
}
|
|
470
681
|
// ─── Retrieved-source record + worker ─────────────────────────────────────────
|
|
471
682
|
const MAX_RETRIEVAL_CONCURRENCY = 4;
|
|
683
|
+
/** Reuse canonical admission for declared paths; only final sent excerpts establish read-state. */
|
|
684
|
+
export function verifiedPluralInsufficiencyScopeIndex(sources, content, sentPacks, discovered) {
|
|
685
|
+
const paths = declaredInsufficiencyPaths(content);
|
|
686
|
+
const inventory = new Map(buildInsufficiencyScopeIndex([], discovered));
|
|
687
|
+
for (const source of sources) {
|
|
688
|
+
for (const [path, state] of source.declarationScopeIndexFor?.(paths) ?? []) {
|
|
689
|
+
inventory.set(path, state);
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
return buildInsufficiencyScopeIndex(sentPacks, inventory);
|
|
693
|
+
}
|
|
472
694
|
// GRD-006: classify a thrown per-source retrieve error. A recoverable workspace error becomes a
|
|
473
695
|
// skip (with the mapped RouteResult preserved as the all-bad fallback); anything else returns
|
|
474
696
|
// undefined so the caller re-throws it to the outer handler (ClarificationNeededError, cancel, …).
|
|
@@ -535,6 +757,7 @@ async function retrieveOneSource(ctx, query, perScopeBudgets, labels, acc, i) {
|
|
|
535
757
|
query,
|
|
536
758
|
workspaceRoot: scope.workspaceRoot,
|
|
537
759
|
budget,
|
|
760
|
+
...groundedRetrievalContinuityFields(ctx, scope, cs, ctx.sourceScopeFingerprints),
|
|
538
761
|
...(workspaceFs === undefined ? {} : { workspaceFs }),
|
|
539
762
|
}, ctx.signal);
|
|
540
763
|
ensureNotCancelled(ctx.signal);
|
|
@@ -557,6 +780,7 @@ async function retrieveOneSource(ctx, query, perScopeBudgets, labels, acc, i) {
|
|
|
557
780
|
elapsedMs: out.elapsedMs,
|
|
558
781
|
scope,
|
|
559
782
|
plan: out.plan,
|
|
783
|
+
declarationScopeIndexFor: out.declarationScopeIndexFor,
|
|
560
784
|
sourceScopeFingerprint: groundedSourceScopeFingerprint(scope, cs, ctx.sourceScopeFingerprints),
|
|
561
785
|
};
|
|
562
786
|
}
|
|
@@ -597,27 +821,33 @@ export function groundedSourceScopeFingerprint(scope, connectedScope, selectedFi
|
|
|
597
821
|
throw new TypeError("Connected source identity is unavailable");
|
|
598
822
|
return createHash("sha256").update(input).digest("hex");
|
|
599
823
|
}
|
|
600
|
-
function labelAnswerCitations(citations, sourceLabel, redactor, sourceScopeFingerprint) {
|
|
824
|
+
function labelAnswerCitations(citations, sourceLabel, redactor, sourceScopeFingerprint, sourceId) {
|
|
601
825
|
return citations.map((citation) => ({
|
|
602
826
|
...citation,
|
|
603
827
|
source: redactString(redactor, sourceLabel),
|
|
828
|
+
...(sourceId === undefined ? {} : { sourceId }),
|
|
604
829
|
...(sourceScopeFingerprint === undefined ? {} : { sourceScopeFingerprint }),
|
|
605
830
|
}));
|
|
606
831
|
}
|
|
607
832
|
export function buildLabeledAnswerCitations(pack, assistantContent, sourceLabel, redactor) {
|
|
608
833
|
return labelAnswerCitations(buildAnswerCitations(pack, assistantContent, (value) => redactString(redactor, value)), sourceLabel, redactor);
|
|
609
834
|
}
|
|
610
|
-
function sourceCitationBundles(sources, redactor, assistantContent) {
|
|
611
|
-
const projected = buildSourcedAnswerCitations(
|
|
835
|
+
function sourceCitationBundles(sources, redactor, assistantContent, sentPacks) {
|
|
836
|
+
const projected = buildSourcedAnswerCitations(sentPacks, assistantContent, (value) => redactString(redactor, value));
|
|
612
837
|
return sources.map((source, index) => {
|
|
613
838
|
const sourceId = citationSourceIdForIndex(index);
|
|
614
839
|
const citations = projected
|
|
615
840
|
.filter((entry) => entry.sourceId === sourceId)
|
|
616
841
|
.map((entry) => entry.citation);
|
|
842
|
+
const observed = withSentSelectionDiagnostics(source.pack, sentPacks, Date.now());
|
|
617
843
|
return {
|
|
618
|
-
source
|
|
844
|
+
source: {
|
|
845
|
+
...source,
|
|
846
|
+
pack: observed,
|
|
847
|
+
},
|
|
848
|
+
sentPack: withSentEvidenceInventory(observed, sentPacks),
|
|
619
849
|
citations,
|
|
620
|
-
labeledCitations: labelAnswerCitations(citations, source.label, redactor, source.sourceScopeFingerprint),
|
|
850
|
+
labeledCitations: labelAnswerCitations(citations, source.label, redactor, source.sourceScopeFingerprint, sourceId),
|
|
621
851
|
};
|
|
622
852
|
});
|
|
623
853
|
}
|
|
@@ -640,10 +870,10 @@ function mergedUncertainty(sources, skipped, preSkipped, redactor) {
|
|
|
640
870
|
// Persists ONE evidence run per source, each naming the root that source actually searched (L1
|
|
641
871
|
// honesty rule, mirrored from the single path). Returns the FIRST source's run id, which the
|
|
642
872
|
// answer surfaces as its primary evidenceRunId, plus the full set for audit discovery.
|
|
643
|
-
function persistPerSourceEvidence(ctx, bundles) {
|
|
873
|
+
function persistPerSourceEvidence(ctx, bundles, completedSynthesisCallCount) {
|
|
644
874
|
let firstRunId;
|
|
645
875
|
const runIds = [];
|
|
646
|
-
for (const [ordinal, { source: src, citations }] of bundles.entries()) {
|
|
876
|
+
for (const [ordinal, { source: src, sentPack, citations }] of bundles.entries()) {
|
|
647
877
|
const finishedAt = Date.now();
|
|
648
878
|
const startedAt = Math.max(0, finishedAt - src.elapsedMs);
|
|
649
879
|
const runId = groundedEvidenceRunId({
|
|
@@ -657,14 +887,17 @@ function persistPerSourceEvidence(ctx, bundles) {
|
|
|
657
887
|
runId,
|
|
658
888
|
modelId: ctx.modelId,
|
|
659
889
|
workspaceRoot: src.scope.workspaceRoot,
|
|
890
|
+
sourceScopeFingerprint: src.sourceScopeFingerprint,
|
|
660
891
|
chatId: ctx.chat.id,
|
|
661
892
|
plan: src.plan,
|
|
662
|
-
pack:
|
|
893
|
+
pack: sentPack,
|
|
894
|
+
retrievedFileCount: src.pack.files.length,
|
|
663
895
|
citationCount: citations.length,
|
|
896
|
+
completedSynthesisCallCount,
|
|
664
897
|
elapsedMs: src.elapsedMs,
|
|
665
898
|
startedAt,
|
|
666
899
|
finishedAt,
|
|
667
|
-
...groundedContextAssemblyInput({ contextProfile: ctx.contextProfile },
|
|
900
|
+
...groundedContextAssemblyInput({ contextProfile: ctx.contextProfile }, sentPack),
|
|
668
901
|
}, {
|
|
669
902
|
store: ctx.deps.evidenceStore,
|
|
670
903
|
env: ctx.deps.env,
|
|
@@ -677,16 +910,27 @@ function persistPerSourceEvidence(ctx, bundles) {
|
|
|
677
910
|
}
|
|
678
911
|
return { firstRunId, runIds };
|
|
679
912
|
}
|
|
913
|
+
function noSourceAnswerMarkers(assistant, redactor) {
|
|
914
|
+
if (assistant.noEvidence !== true)
|
|
915
|
+
return [];
|
|
916
|
+
const marker = noEvidenceMarker(Date.now());
|
|
917
|
+
return [{ kind: marker.kind, claim: redactString(redactor, marker.claim) }];
|
|
918
|
+
}
|
|
919
|
+
function multiSourceAnswerSummaries(ctx, bundles, modelInvoked) {
|
|
920
|
+
return bundles.map(({ source: src, citations }) => buildGroundedAnswerContextPackSummary(src.pack, modelInvoked ? citations.length : 0, src.elapsedMs, groundedContextSummaryInput({ contextProfile: ctx.contextProfile }, src.pack)));
|
|
921
|
+
}
|
|
922
|
+
function bundleSources(bundles) {
|
|
923
|
+
return bundles.map((bundle) => bundle.source);
|
|
924
|
+
}
|
|
680
925
|
function assembleMultiSourceAnswer(ctx, sources, skipped, assistant, ids) {
|
|
681
926
|
const { redactor } = ctx.deps;
|
|
682
|
-
const modelInvoked = !ids.abstained || ctx.answerOnlyContextAvailable === true;
|
|
683
|
-
const citationBundles = sourceCitationBundles(sources, redactor, assistant.content);
|
|
927
|
+
const modelInvoked = assistant.modelInvoked ?? (!ids.abstained || ctx.answerOnlyContextAvailable === true);
|
|
928
|
+
const citationBundles = sourceCitationBundles(sources, redactor, assistant.content, finalMultiSourceEvidence(assistant, sources));
|
|
684
929
|
const citations = modelInvoked ? mergedCitations(citationBundles) : [];
|
|
685
|
-
const summaries =
|
|
686
|
-
const mergedSummary = mergeContextPackSummaries(summaries);
|
|
930
|
+
const summaries = multiSourceAnswerSummaries(ctx, citationBundles, modelInvoked);
|
|
687
931
|
const { firstRunId, runIds } = ids.abstained
|
|
688
932
|
? { firstRunId: undefined, runIds: [] }
|
|
689
|
-
: persistPerSourceEvidence(ctx, citationBundles);
|
|
933
|
+
: persistPerSourceEvidence(ctx, citationBundles, assistant.completedSynthesisCallCount);
|
|
690
934
|
// GEN-AI-GROUNDING-001/-008 (RB-4): reconcile the model's inline citations against the merged
|
|
691
935
|
// evidence packs the model actually received; flag references to un-retrieved files.
|
|
692
936
|
const reconciliationUncertainty = modelInvoked
|
|
@@ -699,14 +943,16 @@ function assembleMultiSourceAnswer(ctx, sources, skipped, assistant, ids) {
|
|
|
699
943
|
...(firstRunId === undefined ? {} : { evidenceRunId: firstRunId }),
|
|
700
944
|
evidenceRunIds: runIds,
|
|
701
945
|
content: redactString(redactor, assistant.content),
|
|
946
|
+
...groundedAnswerEvidenceFields(assistant),
|
|
702
947
|
citations,
|
|
703
|
-
uncertainty: [
|
|
704
|
-
...mergedUncertainty(
|
|
948
|
+
uncertainty: assessmentAwareUncertainty(assistant.content, [
|
|
949
|
+
...mergedUncertainty(bundleSources(citationBundles), skipped, ctx.preSkipped ?? [], redactor),
|
|
705
950
|
...reconciliationUncertainty,
|
|
706
|
-
|
|
951
|
+
...noSourceAnswerMarkers(assistant, redactor),
|
|
952
|
+
]),
|
|
707
953
|
omittedCount: sources.reduce((acc, src) => acc + connectedContextOmittedCount(src.pack), 0),
|
|
708
954
|
elapsedMs: sources.reduce((acc, src) => acc + src.elapsedMs, 0),
|
|
709
|
-
contextPack: withMergedAssistantUsage(
|
|
955
|
+
contextPack: withMergedAssistantUsage(mergeContextPackSummaries(summaries), assistant),
|
|
710
956
|
...(modelInvoked && assistant.promptContext !== undefined
|
|
711
957
|
? { promptContext: assistant.promptContext }
|
|
712
958
|
: {}),
|
|
@@ -716,6 +962,7 @@ function assembleMultiSourceAnswer(ctx, sources, skipped, assistant, ids) {
|
|
|
716
962
|
function withMergedAssistantUsage(mergedSummary, assistant) {
|
|
717
963
|
return {
|
|
718
964
|
...mergedSummary,
|
|
965
|
+
...(assistant.filesInPrompt === undefined ? {} : { filesInPrompt: assistant.filesInPrompt }),
|
|
719
966
|
usage: {
|
|
720
967
|
...mergedSummary.usage,
|
|
721
968
|
modelInputTokens: mergedSummary.usage.modelInputTokens + assistant.usage.promptTokens,
|
|
@@ -723,14 +970,22 @@ function withMergedAssistantUsage(mergedSummary, assistant) {
|
|
|
723
970
|
},
|
|
724
971
|
};
|
|
725
972
|
}
|
|
973
|
+
function finalMultiSourceEvidence(assistant, sources) {
|
|
974
|
+
return assistant.sentEvidencePacks ?? sources.map((source) => source.pack);
|
|
975
|
+
}
|
|
726
976
|
// Wire-projected reconciliation markers (unsupported-citation + incomplete-answer) for the
|
|
727
977
|
// multi-source path. Mirrors the single-source reconciliation in runGroundedExploration.
|
|
728
978
|
function buildMultiSourceReconciliationUncertainty(assistant, sources, redactor, correlationId) {
|
|
729
979
|
const nowMs = Date.now();
|
|
730
|
-
const reconciliation = reconcileAndLogInlineCitations(assistant.content, buildPackCitationIndex(
|
|
980
|
+
const reconciliation = reconcileAndLogInlineCitations(assistant.content, buildPackCitationIndex(finalMultiSourceEvidence(assistant, sources)), correlationId, {
|
|
981
|
+
answerKind: assistant.answerKind,
|
|
982
|
+
citationBehaviour: assistant.citationBehaviour,
|
|
983
|
+
citationRepairDisposition: assistant.citationRepairDisposition,
|
|
984
|
+
...multiSourceInsufficiencyObservation(assistant),
|
|
985
|
+
});
|
|
731
986
|
const unsupported = unsupportedCitationMarker(reconciliation.unsupported, nowMs);
|
|
732
987
|
const missing = unsupported === undefined && reconciliation.citedScopePaths.size === 0
|
|
733
|
-
? missingCitationMarkerFor(assistant.content, nowMs)
|
|
988
|
+
? missingCitationMarkerFor(assistant.content, nowMs, assistant.answerKind)
|
|
734
989
|
: undefined;
|
|
735
990
|
const markers = [
|
|
736
991
|
...(unsupported === undefined ? [] : [unsupported]),
|
|
@@ -753,7 +1008,7 @@ async function applyMultiSourceEntailment(ctx, assembled, assistant, retrieved,
|
|
|
753
1008
|
if (stage === undefined) {
|
|
754
1009
|
return assembled;
|
|
755
1010
|
}
|
|
756
|
-
return appendGroundedAnswerEntailment(assembled, stage, assistant.content,
|
|
1011
|
+
return appendGroundedAnswerEntailment(assembled, stage, assistant.content, finalMultiSourceEvidence(assistant, retrieved), ctx.deps.redactor);
|
|
757
1012
|
}
|
|
758
1013
|
function persistMultiSourceExchange(ctx, assistant) {
|
|
759
1014
|
const [userMessage, assistantMessage] = persistGroundedExchange(ctx.deps, ctx.chat.id, redactString(ctx.deps.redactor, ctx.content), redactString(ctx.deps.redactor, assistant.content), ctx.userMessage);
|
|
@@ -802,17 +1057,18 @@ export async function runMultiSourceAsk(ctx) {
|
|
|
802
1057
|
// GEN-AI-GROUNDING-002/-003 (RB-4): abstain BEFORE the model call when no source carries usable
|
|
803
1058
|
// evidence — the folders path must not answer confidently over zero evidence, and no grounded
|
|
804
1059
|
// evidence manifest may be persisted.
|
|
805
|
-
const
|
|
806
|
-
const assistant = await answerMultiSource(ctx, retrieved,
|
|
1060
|
+
const noRetrievedEvidence = !packsHaveUsableEvidence(retrieved.map((s) => s.pack));
|
|
1061
|
+
const assistant = await answerMultiSource(ctx, retrieved, noRetrievedEvidence, startedAtMs);
|
|
807
1062
|
if (isRouteResult(assistant)) {
|
|
808
1063
|
return assistant;
|
|
809
1064
|
}
|
|
810
1065
|
ensureNotCancelled(ctx.signal);
|
|
1066
|
+
const abstained = noRetrievedEvidence || assistant.noEvidence === true;
|
|
811
1067
|
const persisted = persistMultiSourceExchange(ctx, assistant);
|
|
812
1068
|
const answer = await applyMultiSourceEntailment(ctx, assembleMultiSourceAnswer(ctx, retrieved, skipped, assistant, {
|
|
813
1069
|
...persisted,
|
|
814
1070
|
abstained,
|
|
815
|
-
}), assistant, retrieved, !abstained || ctx.answerOnlyContextAvailable === true);
|
|
1071
|
+
}), assistant, retrieved, assistant.modelInvoked ?? (!abstained || ctx.answerOnlyContextAvailable === true));
|
|
816
1072
|
ensureNotCancelled(ctx.signal);
|
|
817
1073
|
const completedAnswer = withAnswerDuration(answer, startedAtMs);
|
|
818
1074
|
recordMultiSourceAnswer(ctx, retrieved, completedAnswer, persisted.assistantMessageId, abstained);
|
|
@@ -824,23 +1080,167 @@ function isRouteResult(value) {
|
|
|
824
1080
|
// Produces the multi-source answer: a deterministic no-evidence answer when abstaining (no model
|
|
825
1081
|
// call), otherwise the model answer over the merged packs. Returns a RouteResult on failure so
|
|
826
1082
|
// runMultiSourceAsk stays under the LOC bound (GEN-AI-GROUNDING-002/-003, RB-4).
|
|
827
|
-
async function answerMultiSource(ctx, retrieved, abstained) {
|
|
1083
|
+
async function answerMultiSource(ctx, retrieved, abstained, startedAtMs) {
|
|
828
1084
|
ensureNotCancelled(ctx.signal);
|
|
829
|
-
if (abstained &&
|
|
1085
|
+
if (abstained &&
|
|
1086
|
+
ctx.answerOnlyContextAvailable !== true &&
|
|
1087
|
+
currentOwnAssessmentPolicy(ctx.deps) !== "allowed") {
|
|
830
1088
|
return {
|
|
831
1089
|
content: connectedSearchNoEvidenceAnswer(ctx.content),
|
|
1090
|
+
answerKind: "refusal",
|
|
832
1091
|
usage: { promptTokens: 0, completionTokens: 0 },
|
|
833
1092
|
};
|
|
834
1093
|
}
|
|
1094
|
+
const observeCitationBehaviour = citationBehaviourObserverFor(ctx.deps, ctx.modelId, ctx.correlationId);
|
|
835
1095
|
try {
|
|
836
|
-
const assistant =
|
|
1096
|
+
const assistant = await normalizedMultiSourceAnswer(ctx, retrieved);
|
|
837
1097
|
ensureNotCancelled(ctx.signal);
|
|
838
|
-
|
|
1098
|
+
const scopeIndex = verifiedPluralInsufficiencyScopeIndex(retrieved, assistant.content, assistant.sentEvidencePacks ?? [], ctx.insufficiencyScopeIndex);
|
|
1099
|
+
const validated = {
|
|
1100
|
+
...assistant,
|
|
1101
|
+
insufficiencyDeclarations: undefined,
|
|
1102
|
+
...validateGroundedAnswerEvidence(assistant.content, scopeIndex, ctx.content),
|
|
1103
|
+
};
|
|
1104
|
+
return await repairMultiSourceAnswer(ctx, retrieved, validated, startedAtMs, observeCitationBehaviour);
|
|
839
1105
|
}
|
|
840
1106
|
catch (error) {
|
|
841
1107
|
return mapMultiSourceError(error, ctx.deps, ctx.correlationId);
|
|
842
1108
|
}
|
|
843
1109
|
}
|
|
1110
|
+
function sourcePromptPack(ctx, source) {
|
|
1111
|
+
const requiredEvidenceAtomIds = assistantReferenceExcerptIds(source.pack, (ctx.assistantReferents ?? []).filter((reference) => reference.sourceScopeFingerprint === source.sourceScopeFingerprint));
|
|
1112
|
+
return {
|
|
1113
|
+
label: source.label,
|
|
1114
|
+
pack: source.pack,
|
|
1115
|
+
...(requiredEvidenceAtomIds.length === 0 ? {} : { requiredEvidenceAtomIds }),
|
|
1116
|
+
};
|
|
1117
|
+
}
|
|
1118
|
+
async function normalizedMultiSourceAnswer(ctx, retrieved) {
|
|
1119
|
+
const answer = normalizeGroundedAnswerPayload(await ctx.answerer(ctx.answerContent ?? ctx.content, retrieved.map((source) => sourcePromptPack(ctx, source))));
|
|
1120
|
+
return normalizeGroundedAnswerAssessment(answer, currentOwnAssessmentPolicy(ctx.deps), ctx.correlationId, ctx.content, undefined, retrieved.length > 0 &&
|
|
1121
|
+
retrieved.every((source) => source.plan.targetDecision?.conversationOnly === true) &&
|
|
1122
|
+
!packsHaveUsableEvidence(finalMultiSourceEvidence(answer, retrieved)));
|
|
1123
|
+
}
|
|
1124
|
+
function multiSourceInsufficiencyObservation(assistant) {
|
|
1125
|
+
const counts = assistant.insufficiencyObservation;
|
|
1126
|
+
return counts === undefined
|
|
1127
|
+
? {}
|
|
1128
|
+
: {
|
|
1129
|
+
insufficiencyDeclaredCount: counts.declaredCount,
|
|
1130
|
+
declaredInScopeCount: counts.inScopeCount,
|
|
1131
|
+
declaredUnreadInScopeCount: counts.unreadInScopeCount,
|
|
1132
|
+
declaredNotInScopeCount: counts.notInScopeCount,
|
|
1133
|
+
};
|
|
1134
|
+
}
|
|
1135
|
+
function multiSourceRepairPack(ctx, sources) {
|
|
1136
|
+
const first = sources[0]?.pack;
|
|
1137
|
+
if (first === undefined)
|
|
1138
|
+
return undefined;
|
|
1139
|
+
const budget = modelWindowAwareBudget(ctx.deps, ctx.modelId);
|
|
1140
|
+
const elapsedLimits = [
|
|
1141
|
+
budget.elapsedMsMax,
|
|
1142
|
+
...sources.map((source) => source.pack.budget.elapsedMsMax),
|
|
1143
|
+
].filter((limit) => limit !== null);
|
|
1144
|
+
return {
|
|
1145
|
+
...first,
|
|
1146
|
+
usage: {
|
|
1147
|
+
...first.usage,
|
|
1148
|
+
modelInputTokens: sources.reduce((sum, source) => sum + source.pack.usage.modelInputTokens, 0),
|
|
1149
|
+
modelOutputTokens: sources.reduce((sum, source) => sum + source.pack.usage.modelOutputTokens, 0),
|
|
1150
|
+
},
|
|
1151
|
+
budget: {
|
|
1152
|
+
...budget,
|
|
1153
|
+
elapsedMsMax: elapsedLimits.length === 0 ? null : Math.min(...elapsedLimits),
|
|
1154
|
+
modelInputTokensMax: Math.min(budget.modelInputTokensMax, sources.reduce((sum, source) => sum + source.pack.budget.modelInputTokensMax, 0)),
|
|
1155
|
+
modelOutputTokensMax: Math.min(budget.modelOutputTokensMax, sources.reduce((sum, source) => sum + source.pack.budget.modelOutputTokensMax, 0)),
|
|
1156
|
+
},
|
|
1157
|
+
};
|
|
1158
|
+
}
|
|
1159
|
+
async function repairMultiSourceAnswer(ctx, sources, assistant, startedAtMs, observeCitationBehaviour) {
|
|
1160
|
+
const pack = multiSourceRepairPack(ctx, sources);
|
|
1161
|
+
if (pack === undefined)
|
|
1162
|
+
return assistant;
|
|
1163
|
+
let budgetRefused = false;
|
|
1164
|
+
const repair = ctx.answerer.repair;
|
|
1165
|
+
const repairContext = {
|
|
1166
|
+
question: ctx.answerContent ?? ctx.content,
|
|
1167
|
+
pack,
|
|
1168
|
+
answer: assistant,
|
|
1169
|
+
nowMs: Date.now,
|
|
1170
|
+
...(pack.budget.elapsedMsMax === null
|
|
1171
|
+
? {}
|
|
1172
|
+
: { deadlineAtMs: startedAtMs + pack.budget.elapsedMsMax }),
|
|
1173
|
+
...(repair === undefined
|
|
1174
|
+
? {}
|
|
1175
|
+
: {
|
|
1176
|
+
invokeRepair: async (original, options) => {
|
|
1177
|
+
const result = normalizeGroundedAnswerPayload(await repair(ctx.answerContent ?? ctx.content, pack, original, options));
|
|
1178
|
+
budgetRefused = result.modelInvoked === false;
|
|
1179
|
+
return result;
|
|
1180
|
+
},
|
|
1181
|
+
}),
|
|
1182
|
+
deps: {
|
|
1183
|
+
answerer: pluralSynthesisMetadata(ctx.answerer),
|
|
1184
|
+
signal: ctx.signal,
|
|
1185
|
+
reliableCitationBehaviour: citationBehaviourFor(ctx.deps, ctx.modelId),
|
|
1186
|
+
observeCitationBehaviour,
|
|
1187
|
+
},
|
|
1188
|
+
};
|
|
1189
|
+
const repaired = await repairGroundedAnswer(repairContext);
|
|
1190
|
+
const finalAnswer = finalPluralRepairAnswer(repairContext, repaired, budgetRefused);
|
|
1191
|
+
recordMultiSourceRepair(ctx, sources, finalAnswer, repaired.failure);
|
|
1192
|
+
return finalAnswer;
|
|
1193
|
+
}
|
|
1194
|
+
function recordMultiSourceRepair(ctx, sources, answer, failure) {
|
|
1195
|
+
recordPluralGroundedAnswer(sources.map((source) => source.pack), answer, answer.citationRepairDisposition, ctx.correlationId, failure, currentOwnAssessmentPolicy(ctx.deps));
|
|
1196
|
+
}
|
|
1197
|
+
export function finalPluralRepairAnswer(context, repaired, budgetRefused) {
|
|
1198
|
+
return {
|
|
1199
|
+
...observeGroundedCitationBehaviour({ ...context, answer: repaired.answer }),
|
|
1200
|
+
citationRepairDisposition: budgetRefused ? "skipped-budget" : repaired.disposition,
|
|
1201
|
+
};
|
|
1202
|
+
}
|
|
1203
|
+
function declarationMatchesScope(path, scope) {
|
|
1204
|
+
if (scope.kind === "workspace-root")
|
|
1205
|
+
return true;
|
|
1206
|
+
return scope.relativePaths.some((selected) => path === selected || (scope.kind === "directory" && path.startsWith(`${selected}/`)));
|
|
1207
|
+
}
|
|
1208
|
+
function pluralAnswerForPack(pack, packs, answer) {
|
|
1209
|
+
const sent = (answer.sentEvidencePacks ?? []).filter((entry) => entry.scope.scopeId === pack.scope.scopeId &&
|
|
1210
|
+
entry.scope.workspaceRoot === pack.scope.workspaceRoot);
|
|
1211
|
+
const declarations = (answer.insufficiencyDeclarations ?? []).filter((declaration) => {
|
|
1212
|
+
const matches = packs.filter((entry) => declarationMatchesScope(declaration.scopePath, entry.scope));
|
|
1213
|
+
return matches.length === 1 && matches[0] === pack;
|
|
1214
|
+
});
|
|
1215
|
+
return {
|
|
1216
|
+
...answer,
|
|
1217
|
+
sentEvidencePacks: sent,
|
|
1218
|
+
filesInPrompt: sentGroundedFileCount(sent),
|
|
1219
|
+
insufficiencyDeclarations: declarations,
|
|
1220
|
+
insufficiencyObservation: {
|
|
1221
|
+
declaredCount: declarations.length,
|
|
1222
|
+
inScopeCount: declarations.length,
|
|
1223
|
+
unreadInScopeCount: declarations.filter((declaration) => declaration.state === "unread-in-scope").length,
|
|
1224
|
+
notInScopeCount: 0,
|
|
1225
|
+
},
|
|
1226
|
+
};
|
|
1227
|
+
}
|
|
1228
|
+
export function recordPluralGroundedAnswer(packs, answer, disposition, correlationId, failure, ownAssessmentPolicy) {
|
|
1229
|
+
for (const pack of packs)
|
|
1230
|
+
logGroundedAnswerForPack(pack, pluralAnswerForPack(pack, packs, answer), disposition, correlationId, failure, ownAssessmentPolicy);
|
|
1231
|
+
}
|
|
1232
|
+
export function recordPluralCitationRepairFailure(deps, correlationId, error) {
|
|
1233
|
+
emitServerDiagnostic(deps.diagnostics, {
|
|
1234
|
+
...serverDiagnosticFromError({
|
|
1235
|
+
correlationId: correlationIdOrUnknown(correlationId),
|
|
1236
|
+
operation: "POST /api/chats/messages/grounded",
|
|
1237
|
+
source: "grounded.qa.citation-repair",
|
|
1238
|
+
error,
|
|
1239
|
+
redact: (message) => deps.redactor(message),
|
|
1240
|
+
}),
|
|
1241
|
+
code: "GROUNDED_CITATION_REPAIR_FAILED",
|
|
1242
|
+
});
|
|
1243
|
+
}
|
|
844
1244
|
function mapMultiSourceError(error, deps, correlationId) {
|
|
845
1245
|
if (error instanceof ClarificationNeededError) {
|
|
846
1246
|
return clarificationRequest(clarificationUserMessage(error));
|