@oscharko-dev/keiko 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -2
- package/dist/ui/csp-hashes.json +7 -7
- 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/014h2nyfet3kr.js +1 -0
- package/dist/ui/static/_next/static/chunks/02ahxxpsbao7z.js +1 -0
- package/dist/ui/static/_next/static/chunks/0851fl0j1ja4e.js +1 -0
- package/dist/ui/static/_next/static/chunks/08896ukd2zxg6.js +1 -0
- package/dist/ui/static/_next/static/chunks/08nml2svyd9vv.js +4 -0
- package/dist/ui/static/_next/static/chunks/08tg5xjyy073b.js +1 -0
- package/dist/ui/static/_next/static/chunks/09p2ty64ellxo.js +1 -0
- package/dist/ui/static/_next/static/chunks/0b7xat6jxvrmr.js +1 -0
- package/dist/ui/static/_next/static/chunks/{196257vfyrtgu.js → 0d3a8-uxb000v.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{388eokaf_2t9k.js → 0jjhji-e9mg99.js} +1 -1
- 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/0oocu54xdbxf3.js +2 -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/{3hclt6m3ok4n9.js → 0rsutf6da798_.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0rw0et8bt6w-b.js +1 -0
- package/dist/ui/static/_next/static/chunks/{2b_t95bbpmtej.js → 0su17ctiaqfp0.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0wok-g3ndtvch.js +1 -0
- package/dist/ui/static/_next/static/chunks/0y3402xorco2c.js +1 -0
- package/dist/ui/static/_next/static/chunks/10p1rdlk7n_9w.js +1 -0
- package/dist/ui/static/_next/static/chunks/12aem44im45f-.js +1 -0
- package/dist/ui/static/_next/static/chunks/18kcx5kpyxr16.js +1 -0
- package/dist/ui/static/_next/static/chunks/1ggcq_lho062y.js +1 -0
- package/dist/ui/static/_next/static/chunks/1o-own3kgpojf.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0l72usw6suk0h.js → 1osovjtjgxmbl.js} +1 -1
- package/dist/ui/static/_next/static/chunks/1uu9slkxpbe4y.js +1 -0
- package/dist/ui/static/_next/static/chunks/1vy80v9kp_rqv.js +1 -0
- package/dist/ui/static/_next/static/chunks/1x-sfb1_rl15-.js +1 -0
- package/dist/ui/static/_next/static/chunks/1zqfkyeqq5cl8.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3603jy78awb1p.js → 1zw11x_e-3fzu.js} +1 -1
- package/dist/ui/static/_next/static/chunks/20-u8pg5ve_cz.js +1 -0
- package/dist/ui/static/_next/static/chunks/22zxuap4am9bs.js +1 -0
- package/dist/ui/static/_next/static/chunks/23lstlpeh2rb-.js +1 -0
- package/dist/ui/static/_next/static/chunks/261euyxjrb0lv.js +1 -0
- package/dist/ui/static/_next/static/chunks/2astwwmbb8e53.js +1 -0
- package/dist/ui/static/_next/static/chunks/2duxlo7cg_s7_.js +3 -0
- package/dist/ui/static/_next/static/chunks/2dwrkrp-gqyej.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1m-9yzfpcm7wc.js → 2ef4l5re80dgi.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2g_pljoa8f0e-.js +1 -0
- package/dist/ui/static/_next/static/chunks/{09zc5hgtb7s-z.js → 2h4vqb2rt3mr1.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{3qjkuhjy_-_br.js → 2imh4llefx9d1.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2jsnrkl0syr4y.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0--s8pmsbkf62.js → 2ta3jr_uw2j0x.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/2xd3_a4jlxum2.css +1 -0
- package/dist/ui/static/_next/static/chunks/{0mjsj7bp-ukgh.css → 2yuvdrio9ki3a.css} +26 -9
- package/dist/ui/static/_next/static/chunks/3-pcgkdsv7x4z.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0yzmg9aoglud6.js → 3007ncr8g751a.js} +1 -1
- package/dist/ui/static/_next/static/chunks/307xuhrdmetj7.js +1 -0
- package/dist/ui/static/_next/static/chunks/30og31pxg8wrp.js +1 -0
- package/dist/ui/static/_next/static/chunks/32jgtvf2y-f54.js +1 -0
- package/dist/ui/static/_next/static/chunks/35ivnhnxr9dmz.js +1 -0
- package/dist/ui/static/_next/static/chunks/363iuc3t94rie.js +1 -0
- package/dist/ui/static/_next/static/chunks/37qsy798-g74f.js +1 -0
- package/dist/ui/static/_next/static/chunks/37v998g0cm36x.js +1 -0
- package/dist/ui/static/_next/static/chunks/3b05n-007vc3e.js +1 -0
- package/dist/ui/static/_next/static/chunks/3cpuzx4fetu6y.js +1 -0
- package/dist/ui/static/_next/static/chunks/3d27ozm1boe_5.js +3 -0
- package/dist/ui/static/_next/static/chunks/{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/3hjs3gk92eave.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1n3b0bhd9q0p6.js → 3l3xw2fmr7pct.js} +3 -3
- package/dist/ui/static/_next/static/chunks/3neoxf-shnu-d.js +1 -0
- package/dist/ui/static/_next/static/chunks/3payvp5ps2fne.css +3 -0
- package/dist/ui/static/_next/static/chunks/3q-93bizla3k1.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3eduf6vevclfm.js → 3qbbcm9fuk494.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{2ta3xj9td_qot.js → 3rhep1yhgo6a7.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{0bpexy600ffpg.js → 3ty06iqiblqi4.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{0iu3dyqe7m7_7.js → 3wz98o059mhtf.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{2kylv1kq1_4p1.js → 3x2p8mgrihuet.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3xi3iilmw9_vy.js +5 -0
- package/dist/ui/static/_next/static/chunks/3zxbqudoeow_a.js +1 -0
- package/dist/ui/static/_next/static/chunks/3zxwlxhzm5swe.js +1 -0
- package/dist/ui/static/_next/static/chunks/{24u-5fslcj3n9.js → 405vbzo164i84.js} +2 -2
- 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 +5 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.js +112 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts +12 -5
- 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 +14 -6
- 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 +229 -49
- 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 +313 -24
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts +2406 -98
- 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 +2924 -183
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts +2489 -206
- 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 +2867 -35
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts +35 -5
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.js +63 -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/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/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 +47 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.js +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.js +4 -0
- 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-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 +39 -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 +1 -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.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 +403 -90
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-multi-source.d.ts +31 -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 +485 -99
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.d.ts +24 -8
- 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 +395 -90
- 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.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-grounded-qa.js +4 -0
- 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/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/legacySchemaTestFixture.js +2 -2
- 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 +159 -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/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 +100 -0
- package/vendor/oscharko-dev-keiko-activity-log-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-cli-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-connectors-1.2.0.tgz → oscharko-dev-keiko-connectors-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-evaluations-1.2.0.tgz → oscharko-dev-keiko-evaluations-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-evidence-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-git-1.2.0.tgz → oscharko-dev-keiko-git-1.2.1.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-harness-1.2.0.tgz → oscharko-dev-keiko-harness-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-local-knowledge-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-memory-capture-1.2.0.tgz → oscharko-dev-keiko-memory-capture-1.2.1.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-consolidation-1.2.0.tgz → oscharko-dev-keiko-memory-consolidation-1.2.1.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-governance-1.2.0.tgz → oscharko-dev-keiko-memory-governance-1.2.1.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-retrieval-1.2.0.tgz → oscharko-dev-keiko-memory-retrieval-1.2.1.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-vault-1.2.0.tgz → oscharko-dev-keiko-memory-vault-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-quality-intelligence-1.2.0.tgz → oscharko-dev-keiko-quality-intelligence-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-sandbox-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-sdk-1.2.0.tgz → oscharko-dev-keiko-sdk-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-security-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tools-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-verification-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workflows-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workspace-1.2.1.tgz +0 -0
- package/dist/ui/static/_next/static/chunks/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/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/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/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- → FS1LLJ_p3joZhfRkXBRhf}/_buildManifest.js +0 -0
- /package/dist/ui/static/_next/static/{LNCY1B2FJBOe2AHFXpzB- → FS1LLJ_p3joZhfRkXBRhf}/_clientMiddlewareManifest.js +0 -0
- /package/dist/ui/static/_next/static/{LNCY1B2FJBOe2AHFXpzB- → FS1LLJ_p3joZhfRkXBRhf}/_ssgManifest.js +0 -0
|
@@ -1,7 +1,34 @@
|
|
|
1
|
+
import { type ExplorationUsage } from "@oscharko-dev/keiko-contracts";
|
|
1
2
|
import { type KnowledgeStore, type VectorIndexOptions } from "@oscharko-dev/keiko-local-knowledge";
|
|
2
3
|
import { type SemanticSearchProvider, type WorkspaceFs } from "@oscharko-dev/keiko-workspace";
|
|
3
4
|
import { type UiHandlerDeps } from "./deps.js";
|
|
4
|
-
export interface
|
|
5
|
+
export interface RepositorySemanticFreshnessObservation {
|
|
6
|
+
readonly stalePaths: readonly string[];
|
|
7
|
+
readonly refreshedPaths: readonly string[];
|
|
8
|
+
readonly unavailableFileCount: number;
|
|
9
|
+
/** Attempted optional work; token/byte values are conservative admission bounds, not usage reports. */
|
|
10
|
+
readonly refreshUsage?: Readonly<SemanticRefreshUsage> | undefined;
|
|
11
|
+
}
|
|
12
|
+
interface SemanticRefreshUsage {
|
|
13
|
+
embeddingCallCount: number;
|
|
14
|
+
readFileCount: number;
|
|
15
|
+
readBytes: number;
|
|
16
|
+
inputTokens: number;
|
|
17
|
+
}
|
|
18
|
+
export interface SemanticRefreshDocumentBudget {
|
|
19
|
+
readonly remaining: () => number;
|
|
20
|
+
readonly tryReserve: () => boolean;
|
|
21
|
+
}
|
|
22
|
+
interface SemanticRefreshOptions {
|
|
23
|
+
readonly semanticRefreshDocumentBudget?: SemanticRefreshDocumentBudget | undefined;
|
|
24
|
+
readonly tryReserveRefreshUsage?: ((delta: Readonly<Partial<ExplorationUsage>>) => boolean) | undefined;
|
|
25
|
+
readonly semanticRefreshFilesMax?: number | undefined;
|
|
26
|
+
readonly deadlineAtMs?: number | undefined;
|
|
27
|
+
readonly nowMs?: (() => number) | undefined;
|
|
28
|
+
readonly correlationId?: string | undefined;
|
|
29
|
+
readonly observeSemanticFreshness?: ((observation: RepositorySemanticFreshnessObservation) => void) | undefined;
|
|
30
|
+
}
|
|
31
|
+
export interface ConfiguredRepoSemanticSearchOptions extends SemanticRefreshOptions {
|
|
5
32
|
/**
|
|
6
33
|
* Called once with the identity of the pod that answered, when one resolved. The same observation
|
|
7
34
|
* idiom as `observePodRetrieval` below, and the only way a caller learns WHICH index it read
|
|
@@ -35,6 +62,9 @@ export interface ConfiguredRepoSemanticSearchProviderLease {
|
|
|
35
62
|
close(): void;
|
|
36
63
|
}
|
|
37
64
|
export declare function localizeMatchLine(sourceText: string, queryTerms: readonly string[]): number;
|
|
65
|
+
/** One logical ask shares these permits across its root leases, searches and follow-up. */
|
|
66
|
+
export declare function createSemanticRefreshDocumentBudget(deps: UiHandlerDeps): SemanticRefreshDocumentBudget;
|
|
38
67
|
export declare function configuredRepoSemanticSearchProviderFor(deps: UiHandlerDeps, signal: AbortSignal | undefined, options?: ConfiguredRepoSemanticSearchOptions): SemanticSearchProvider | undefined;
|
|
39
|
-
export declare function configuredRepoSemanticSearchProviderLeaseFor(deps: UiHandlerDeps, signal: AbortSignal | undefined, repositoryRoot: string): ConfiguredRepoSemanticSearchProviderLease;
|
|
68
|
+
export declare function configuredRepoSemanticSearchProviderLeaseFor(deps: UiHandlerDeps, signal: AbortSignal | undefined, repositoryRoot: string, options?: ConfiguredRepoSemanticSearchOptions): ConfiguredRepoSemanticSearchProviderLease;
|
|
69
|
+
export {};
|
|
40
70
|
//# sourceMappingURL=grounded-repo-semantic-search.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grounded-repo-semantic-search.d.ts","sourceRoot":"","sources":["../src/grounded-repo-semantic-search.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"grounded-repo-semantic-search.d.ts","sourceRoot":"","sources":["../src/grounded-repo-semantic-search.ts"],"names":[],"mappings":"AAGA,OAAO,EAKL,KAAK,gBAAgB,EACtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAWL,KAAK,cAAc,EAGnB,KAAK,kBAAkB,EACxB,MAAM,qCAAqC,CAAC;AAQ7C,OAAO,EAGL,KAAK,sBAAsB,EAC3B,KAAK,WAAW,EAGjB,MAAM,+BAA+B,CAAC;AAQvC,OAAO,EAAwB,KAAK,aAAa,EAAE,MAAM,WAAW,CAAC;AAkBrE,MAAM,WAAW,sCAAsC;IAErD,QAAQ,CAAC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;IACvC,QAAQ,CAAC,cAAc,EAAE,SAAS,MAAM,EAAE,CAAC;IAC3C,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;IACtC,uGAAuG;IACvG,QAAQ,CAAC,YAAY,CAAC,EAAE,QAAQ,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC;CACpE;AAED,UAAU,oBAAoB;IAC5B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC;IACjC,QAAQ,CAAC,UAAU,EAAE,MAAM,OAAO,CAAC;CACpC;AAED,UAAU,sBAAsB;IAC9B,QAAQ,CAAC,6BAA6B,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;IACnF,QAAQ,CAAC,sBAAsB,CAAC,EAC9B,CAAC,CAAC,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,KAAK,OAAO,CAAC,GAAG,SAAS,CAAC;IACxE,QAAQ,CAAC,uBAAuB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtD,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,MAAM,MAAM,CAAC,GAAG,SAAS,CAAC;IAC5C,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5C,QAAQ,CAAC,wBAAwB,CAAC,EAChC,CAAC,CAAC,WAAW,EAAE,sCAAsC,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;CAC/E;AA2CD,MAAM,WAAW,mCAAoC,SAAQ,sBAAsB;IACjF;;;;OAIG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAC1B,CAAC,CAAC,QAAQ,EAAE;QAAE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAC9F,QAAQ,CAAC,EAAE,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5C,QAAQ,CAAC,aAAa,CAAC,EAAE,kCAAkC,GAAG,SAAS,CAAC;IACxE,QAAQ,CAAC,mBAAmB,CAAC,EAC3B,CAAC,CAAC,WAAW,EAAE,iCAAiC,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;CAC1E;AAED,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC;IACvC,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAC;CACzC;AAED,MAAM,WAAW,kCAAkC;IACjD,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC;IAC/B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,WAAW,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;CACvD;AAED,MAAM,WAAW,yCAAyC;IACxD,QAAQ,CAAC,QAAQ,EAAE,sBAAsB,GAAG,SAAS,CAAC;IACtD,uFAAuF;IACvF,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClD,KAAK,IAAI,IAAI,CAAC;CACf;AAwKD,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,CAwB3F;AA2eD,2FAA2F;AAC3F,wBAAgB,mCAAmC,CACjD,IAAI,EAAE,aAAa,GAClB,6BAA6B,CAU/B;AAiTD,wBAAgB,uCAAuC,CACrD,IAAI,EAAE,aAAa,EACnB,MAAM,EAAE,WAAW,GAAG,SAAS,EAC/B,OAAO,GAAE,mCAAwC,GAChD,sBAAsB,GAAG,SAAS,CA4CpC;AAED,wBAAgB,4CAA4C,CAC1D,IAAI,EAAE,aAAa,EACnB,MAAM,EAAE,WAAW,GAAG,SAAS,EAC/B,cAAc,EAAE,MAAM,EACtB,OAAO,GAAE,mCAAwC,GAChD,yCAAyC,CA2C3C"}
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
import { isAbsolute, relative, resolve } from "node:path";
|
|
2
2
|
import { createHash } from "node:crypto";
|
|
3
3
|
import {} from "@oscharko-dev/keiko-contracts";
|
|
4
|
-
import { createLocalKnowledgeStoreVectorIndexPort, listCapsuleSources, listCapsules, listRepositoryChunkLineRanges, readRepositoryFileFingerprints, repositoryContentFingerprint, searchVectorsForScope, vectorIndexPortAsRepoAdapter, } from "@oscharko-dev/keiko-local-knowledge";
|
|
5
|
-
import {} from "@oscharko-dev/keiko-
|
|
4
|
+
import { createLocalKnowledgeStoreVectorIndexPort, listCapsuleSources, listCapsules, listRepositoryChunkLineRanges, readRepositoryFileFingerprints, repositoryContentFingerprint, searchVectorsForScope, scoreVector, shapeEmbeddingQuery, vectorIndexPortAsRepoAdapter, } from "@oscharko-dev/keiko-local-knowledge";
|
|
5
|
+
import { assertCompatibleEmbeddingIdentity, l2NormalizeVector, } from "@oscharko-dev/keiko-model-gateway";
|
|
6
|
+
import { containedRealPathInfo, isDenied, } from "@oscharko-dev/keiko-workspace";
|
|
6
7
|
import { isWorkspacePathSnapshotCurrent, nodeWorkspaceFs, } from "@oscharko-dev/keiko-workspace/internal/fs";
|
|
8
|
+
import { isCanonicalAllowedContainedPath } from "@oscharko-dev/keiko-workspace/internal/realpath-policy";
|
|
9
|
+
import { isValidScopePath } from "@oscharko-dev/keiko-contracts/connected-context";
|
|
10
|
+
import { raceAbortDeadline } from "./abort-race.js";
|
|
7
11
|
import { currentGatewayConfig } from "./deps.js";
|
|
8
12
|
import { configuredEmbeddingProviders, localKnowledgeEmbeddingAdapterForProvider, } from "./local-knowledge-handlers.js";
|
|
9
13
|
import { openKnowledgeStoreForDeps } from "./local-knowledge-store-open.js";
|
|
14
|
+
import { reserveGatewaySpendForAttempt } from "./gateway-spend-budget.js";
|
|
15
|
+
import { correlationIdOrUnknown } from "./correlation.js";
|
|
10
16
|
const MAX_SEMANTIC_CANDIDATES = 32;
|
|
11
17
|
const SEMANTIC_CANDIDATE_RESULT_MULTIPLIER = 4;
|
|
12
18
|
const POD_FRESHNESS_MAX_BYTES = 64 * 1024 * 1024;
|
|
19
|
+
const SEMANTIC_REFRESH_FILE_CAP = 8;
|
|
20
|
+
const SEMANTIC_REFRESH_FRAGMENT_BYTES = 16_384;
|
|
13
21
|
function canonicalRoot(fs, root) {
|
|
14
22
|
try {
|
|
15
23
|
return fs.realPath(root);
|
|
@@ -184,10 +192,6 @@ function containedDocumentPath(repositoryRoot, scopePath) {
|
|
|
184
192
|
return undefined;
|
|
185
193
|
return candidate;
|
|
186
194
|
}
|
|
187
|
-
function isContainedPath(root, candidate) {
|
|
188
|
-
const fromRoot = relative(root, candidate);
|
|
189
|
-
return fromRoot.length > 0 && !fromRoot.startsWith("..") && !isAbsolute(fromRoot);
|
|
190
|
-
}
|
|
191
195
|
function fingerprintByteLength(fingerprint) {
|
|
192
196
|
const byteLength = fingerprint.byteLength;
|
|
193
197
|
return Number.isSafeInteger(byteLength) &&
|
|
@@ -196,55 +200,106 @@ function fingerprintByteLength(fingerprint) {
|
|
|
196
200
|
? byteLength
|
|
197
201
|
: undefined;
|
|
198
202
|
}
|
|
199
|
-
function liveFingerprintFile(ctx, pod, scopePath
|
|
203
|
+
function liveFingerprintFile(ctx, pod, scopePath) {
|
|
204
|
+
if (semanticOperationStopped(ctx))
|
|
205
|
+
return undefined;
|
|
206
|
+
if (!isValidScopePath(scopePath, { mustBeRelative: true }) || isDenied(scopePath))
|
|
207
|
+
return undefined;
|
|
200
208
|
const absolutePath = containedDocumentPath(pod.context.repositoryRoot, scopePath);
|
|
201
209
|
if (absolutePath === undefined)
|
|
202
210
|
return undefined;
|
|
203
|
-
const
|
|
204
|
-
|
|
205
|
-
if (!isContainedPath(rootRealPath, realPath))
|
|
211
|
+
const contained = containedRealPathInfo(ctx.fs, pod.context.repositoryRoot, absolutePath);
|
|
212
|
+
if (!isCanonicalAllowedContainedPath(contained, pod.context.repositoryRoot, scopePath))
|
|
206
213
|
return undefined;
|
|
214
|
+
const realPath = contained.path;
|
|
207
215
|
const before = ctx.fs.stat(absolutePath);
|
|
208
|
-
if (!before.isFile || before.isSymbolicLink || before.
|
|
216
|
+
if (!before.isFile || before.isSymbolicLink || (before.hardLinkCount ?? 1) > 1)
|
|
209
217
|
return undefined;
|
|
210
218
|
return { absolutePath, realPath, before };
|
|
211
219
|
}
|
|
212
|
-
async function readLiveFingerprintBytes(ctx,
|
|
220
|
+
async function readLiveFingerprintBytes(ctx, file, fingerprint) {
|
|
213
221
|
const byteLength = fingerprintByteLength(fingerprint);
|
|
214
|
-
if (byteLength === undefined ||
|
|
222
|
+
if (byteLength === undefined ||
|
|
223
|
+
ctx.fs.readFileBytes === undefined ||
|
|
224
|
+
semanticOperationStopped(ctx))
|
|
215
225
|
return undefined;
|
|
216
226
|
try {
|
|
217
|
-
|
|
218
|
-
if (file === undefined)
|
|
227
|
+
if (file.before.size !== byteLength)
|
|
219
228
|
return undefined;
|
|
220
|
-
const bytes = await ctx
|
|
221
|
-
return bytes
|
|
222
|
-
isWorkspacePathSnapshotCurrent(ctx.fs, file.absolutePath, file.realPath, file.before)
|
|
223
|
-
? bytes
|
|
224
|
-
: undefined;
|
|
229
|
+
const bytes = await readSemanticFileBytes(ctx, file, byteLength + 1);
|
|
230
|
+
return verifiedLiveBytes(ctx, file, bytes, byteLength);
|
|
225
231
|
}
|
|
226
232
|
catch {
|
|
227
233
|
return undefined;
|
|
228
234
|
}
|
|
229
235
|
}
|
|
230
|
-
|
|
236
|
+
function verifiedLiveBytes(ctx, file, bytes, byteLength) {
|
|
237
|
+
return bytes !== undefined &&
|
|
238
|
+
!semanticOperationStopped(ctx) &&
|
|
239
|
+
bytes.byteLength === byteLength &&
|
|
240
|
+
isWorkspacePathSnapshotCurrent(ctx.fs, file.absolutePath, file.realPath, file.before)
|
|
241
|
+
? bytes
|
|
242
|
+
: undefined;
|
|
243
|
+
}
|
|
244
|
+
async function readSemanticFileBytes(ctx, file, maxBytes, deadlineAtMs = ctx.deadlineAtMs ?? Infinity, onRead) {
|
|
245
|
+
const read = ctx.fs.readFileBytes;
|
|
246
|
+
if (read === undefined)
|
|
247
|
+
return undefined;
|
|
248
|
+
return raceAbortDeadline(() => {
|
|
249
|
+
onRead?.();
|
|
250
|
+
return read.call(ctx.fs, file.realPath, maxBytes, "reject", file.before);
|
|
251
|
+
}, { deadlineAtMs, nowMs: ctx.nowMs ?? Date.now, signal: ctx.signal });
|
|
252
|
+
}
|
|
253
|
+
async function podDocumentFreshness(ctx, pod, document) {
|
|
231
254
|
if (!pod.indexedPaths.has(document.scopePath))
|
|
232
|
-
return
|
|
255
|
+
return "unindexed";
|
|
233
256
|
const fingerprint = pod.fingerprints.get(document.scopePath);
|
|
234
|
-
if (fingerprint === undefined)
|
|
235
|
-
return
|
|
236
|
-
const
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
257
|
+
if (fingerprint === undefined || fingerprintByteLength(fingerprint) === undefined)
|
|
258
|
+
return "unavailable";
|
|
259
|
+
const preflight = fingerprintPreflight(ctx, pod, document.scopePath, fingerprint);
|
|
260
|
+
if (preflight.kind !== "ready")
|
|
261
|
+
return preflight.kind;
|
|
262
|
+
// Reuse this validated snapshot. The descriptor reader and post-read pathname/metadata check
|
|
263
|
+
// still reject replacement; reconstructing the same preflight would add metadata I/O only.
|
|
264
|
+
const bytes = await readLiveFingerprintBytes(ctx, preflight.file, fingerprint);
|
|
265
|
+
if (bytes === undefined || semanticOperationStopped(ctx))
|
|
266
|
+
return "unavailable";
|
|
267
|
+
return repositoryContentFingerprint(bytes, fingerprint.fingerprintKind) ===
|
|
268
|
+
fingerprint.contentFingerprint
|
|
269
|
+
? "fresh"
|
|
270
|
+
: "stale";
|
|
271
|
+
}
|
|
272
|
+
function fingerprintPreflight(ctx, pod, scopePath, fingerprint) {
|
|
273
|
+
try {
|
|
274
|
+
const file = liveFingerprintFile(ctx, pod, scopePath);
|
|
275
|
+
if (file === undefined ||
|
|
276
|
+
semanticOperationStopped(ctx) ||
|
|
277
|
+
!isWorkspacePathSnapshotCurrent(ctx.fs, file.absolutePath, file.realPath, file.before))
|
|
278
|
+
return { kind: "unavailable" };
|
|
279
|
+
if (file.before.size !== fingerprint.byteLength)
|
|
280
|
+
return { kind: "stale" };
|
|
281
|
+
return { kind: "ready", file };
|
|
282
|
+
}
|
|
283
|
+
catch {
|
|
284
|
+
return { kind: "unavailable" };
|
|
285
|
+
}
|
|
240
286
|
}
|
|
241
287
|
async function freshPodDocuments(ctx, pod, documents) {
|
|
242
|
-
const
|
|
288
|
+
const fresh = [];
|
|
289
|
+
const stale = [];
|
|
290
|
+
let unavailableFileCount = 0;
|
|
243
291
|
for (const document of documents) {
|
|
244
|
-
if (
|
|
245
|
-
|
|
292
|
+
if (semanticOperationStopped(ctx))
|
|
293
|
+
break;
|
|
294
|
+
const state = await podDocumentFreshness(ctx, pod, document);
|
|
295
|
+
if (state === "fresh")
|
|
296
|
+
fresh.push(document);
|
|
297
|
+
else if (state === "stale")
|
|
298
|
+
stale.push(document);
|
|
299
|
+
else if (state === "unavailable")
|
|
300
|
+
unavailableFileCount += 1;
|
|
246
301
|
}
|
|
247
|
-
return
|
|
302
|
+
return { fresh, stale, unavailableFileCount };
|
|
248
303
|
}
|
|
249
304
|
function chunkAnchoredLine(document, range, queryTerms) {
|
|
250
305
|
const chunkText = document.sourceText
|
|
@@ -299,7 +354,8 @@ function candidateChunkIds(pod, documents) {
|
|
|
299
354
|
}
|
|
300
355
|
return chunkIds.sort(compareOpaqueIds);
|
|
301
356
|
}
|
|
302
|
-
async function repositoryPodHits(ctx, pod, documents,
|
|
357
|
+
async function repositoryPodHits(ctx, pod, documents, prepared, observeQueryEmbedding) {
|
|
358
|
+
const { queryText, queryTerms, signal, maxResults } = prepared;
|
|
303
359
|
const chunkFilter = candidateChunkIds(pod, documents);
|
|
304
360
|
if (chunkFilter.length === 0)
|
|
305
361
|
return { matches: [] };
|
|
@@ -313,6 +369,7 @@ async function repositoryPodHits(ctx, pod, documents, queryText, queryTerms, sig
|
|
|
313
369
|
chunkFilter,
|
|
314
370
|
...(signal === undefined ? {} : { signal }),
|
|
315
371
|
...(pod.context.vectorIndex === undefined ? {} : { vectorIndex: pod.context.vectorIndex }),
|
|
372
|
+
...(observeQueryEmbedding === undefined ? {} : { observeQueryEmbedding }),
|
|
316
373
|
});
|
|
317
374
|
ctx.observePodRetrieval?.({
|
|
318
375
|
mode: outcome.diagnostics.mode,
|
|
@@ -324,9 +381,11 @@ async function repositoryPodHits(ctx, pod, documents, queryText, queryTerms, sig
|
|
|
324
381
|
return repositoryPodMatches(outcome.references, pod, documents, queryTerms);
|
|
325
382
|
}
|
|
326
383
|
function prepareSemanticSearch(ctx, request) {
|
|
327
|
-
const signal =
|
|
384
|
+
const signal = combinedSemanticSignal(ctx.signal, request.signal);
|
|
328
385
|
const maxResults = Math.max(0, Math.min(request.query.maxResults, ctx.maxCandidates));
|
|
329
|
-
if (maxResults <= 0 ||
|
|
386
|
+
if (maxResults <= 0 ||
|
|
387
|
+
request.query.text.trim().length === 0 ||
|
|
388
|
+
semanticOperationStopped(ctx, signal))
|
|
330
389
|
return undefined;
|
|
331
390
|
const documents = candidateDocuments(ctx, request, signal);
|
|
332
391
|
if (documents.length === 0 || isAborted(signal))
|
|
@@ -342,9 +401,19 @@ function prepareSemanticSearch(ctx, request) {
|
|
|
342
401
|
queryTerms: localizeQueryTerms(request.query.text),
|
|
343
402
|
};
|
|
344
403
|
}
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
404
|
+
function combinedSemanticSignal(outer, request) {
|
|
405
|
+
if (outer === undefined)
|
|
406
|
+
return request;
|
|
407
|
+
return request === undefined ? outer : AbortSignal.any([outer, request]);
|
|
408
|
+
}
|
|
409
|
+
function semanticOperationStopped(ctx, signal = ctx.signal) {
|
|
410
|
+
const deadline = ctx.deadlineAtMs;
|
|
411
|
+
return (isAborted(signal) ||
|
|
412
|
+
(deadline !== undefined && (Number.isNaN(deadline) || (ctx.nowMs ?? Date.now)() >= deadline)));
|
|
413
|
+
}
|
|
414
|
+
// Repository semantic search reuses indexed vectors by default. Missing, stale, or unreadable pod
|
|
415
|
+
// state degrades to the lexical lane; explicitly enabled bounded refresh may embed safe live
|
|
416
|
+
// fragments without mutating the pod. Freshness observations remain request-private.
|
|
348
417
|
function observePodDegradation(ctx, mode) {
|
|
349
418
|
ctx.observePodRetrieval?.({
|
|
350
419
|
mode,
|
|
@@ -354,9 +423,11 @@ function observePodDegradation(ctx, mode) {
|
|
|
354
423
|
lexicalOrFallbackUsed: true,
|
|
355
424
|
});
|
|
356
425
|
}
|
|
357
|
-
async function podRankedHits(ctx, pod, prepared, freshDocuments) {
|
|
358
|
-
|
|
359
|
-
|
|
426
|
+
async function podRankedHits(ctx, pod, prepared, freshDocuments, observeQueryEmbedding) {
|
|
427
|
+
if (freshDocuments.length === 0)
|
|
428
|
+
return [];
|
|
429
|
+
const { documents, maxResults } = prepared;
|
|
430
|
+
const podOutcome = await repositoryPodHits(ctx, pod, freshDocuments, prepared, observeQueryEmbedding);
|
|
360
431
|
return rankHits(podOutcome.matches, documents, maxResults);
|
|
361
432
|
}
|
|
362
433
|
async function semanticSearch(ctx, request) {
|
|
@@ -364,19 +435,259 @@ async function semanticSearch(ctx, request) {
|
|
|
364
435
|
if (prepared === undefined)
|
|
365
436
|
return [];
|
|
366
437
|
const { documents, signal } = prepared;
|
|
367
|
-
const
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
}
|
|
438
|
+
const active = {
|
|
439
|
+
...ctx,
|
|
440
|
+
signal,
|
|
441
|
+
refreshUsage: { embeddingCallCount: 0, readFileCount: 0, readBytes: 0, inputTokens: 0 },
|
|
442
|
+
};
|
|
443
|
+
const classified = await freshPodDocuments(active, active.repositoryPod, documents);
|
|
444
|
+
const queryCapture = reusableSemanticQuery(active, prepared, classified.stale.length);
|
|
445
|
+
const refreshed = [];
|
|
372
446
|
try {
|
|
373
|
-
|
|
447
|
+
if (semanticOperationStopped(active, signal))
|
|
448
|
+
return [];
|
|
449
|
+
const hits = await podRankedHits(active, active.repositoryPod, prepared, classified.fresh, queryCapture?.observe);
|
|
450
|
+
refreshed.push(...(await refreshedSemanticHits(active, prepared, classified.stale, queryCapture?.vector())));
|
|
451
|
+
if (classified.fresh.length === 0)
|
|
452
|
+
observePodDegradation(ctx, "pod-no-fresh-candidates");
|
|
453
|
+
return rankHits([...hits, ...refreshed], documents, prepared.maxResults);
|
|
374
454
|
}
|
|
375
455
|
catch {
|
|
376
456
|
if (!isAborted(signal))
|
|
377
457
|
observePodDegradation(ctx, "pod-query-failed");
|
|
378
458
|
return [];
|
|
379
459
|
}
|
|
460
|
+
finally {
|
|
461
|
+
ctx.observeSemanticFreshness?.({
|
|
462
|
+
stalePaths: classified.stale.map((document) => document.scopePath),
|
|
463
|
+
refreshedPaths: refreshed.map((hit) => hit.scopePath),
|
|
464
|
+
unavailableFileCount: classified.unavailableFileCount,
|
|
465
|
+
...(active.refreshUsage.embeddingCallCount + active.refreshUsage.readFileCount === 0
|
|
466
|
+
? {}
|
|
467
|
+
: { refreshUsage: { ...active.refreshUsage } }),
|
|
468
|
+
});
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
function reusableSemanticQuery(ctx, prepared, staleCount) {
|
|
472
|
+
if (!refreshAllowed(ctx, prepared, staleCount, refreshFileLimit(ctx), refreshDeadline(ctx)))
|
|
473
|
+
return undefined;
|
|
474
|
+
const expected = ctx.repositoryPod.capsule.embeddingModelIdentity;
|
|
475
|
+
let captured;
|
|
476
|
+
return {
|
|
477
|
+
vector: () => captured,
|
|
478
|
+
observe: (observation) => {
|
|
479
|
+
if (semanticOperationStopped(ctx, prepared.signal) ||
|
|
480
|
+
observation.query !== prepared.queryText ||
|
|
481
|
+
observation.identity.modelId !== expected.modelId ||
|
|
482
|
+
!assertCompatibleEmbeddingIdentity(expected, observation.identity).ok ||
|
|
483
|
+
observation.vector.length !== expected.vectorDimensions ||
|
|
484
|
+
!observation.vector.every(Number.isFinite))
|
|
485
|
+
return;
|
|
486
|
+
captured = Float32Array.from(observation.vector);
|
|
487
|
+
},
|
|
488
|
+
};
|
|
489
|
+
}
|
|
490
|
+
function refreshFileLimit(ctx) {
|
|
491
|
+
const cap = ctx.semanticRefreshFilesMax;
|
|
492
|
+
return cap !== undefined && Number.isInteger(cap) && cap >= 0
|
|
493
|
+
? Math.min(SEMANTIC_REFRESH_FILE_CAP, cap)
|
|
494
|
+
: 0;
|
|
495
|
+
}
|
|
496
|
+
// Document embedding is a separate, explicit opt-in from query embedding. Missing, malformed,
|
|
497
|
+
// fractional, or negative values stay off; enabled requests still need a live elapsed budget.
|
|
498
|
+
function configuredRefreshFileLimit(deps, options) {
|
|
499
|
+
return refreshFileLimit({
|
|
500
|
+
semanticRefreshFilesMax: options.semanticRefreshFilesMax ?? Number(deps.env.KEIKO_REPO_SEMANTIC_REFRESH_FILES_MAX),
|
|
501
|
+
});
|
|
502
|
+
}
|
|
503
|
+
/** One logical ask shares these permits across its root leases, searches and follow-up. */
|
|
504
|
+
export function createSemanticRefreshDocumentBudget(deps) {
|
|
505
|
+
let remaining = configuredRefreshFileLimit(deps, {});
|
|
506
|
+
return {
|
|
507
|
+
remaining: () => remaining,
|
|
508
|
+
tryReserve: () => {
|
|
509
|
+
if (remaining === 0)
|
|
510
|
+
return false;
|
|
511
|
+
remaining -= 1;
|
|
512
|
+
return true;
|
|
513
|
+
},
|
|
514
|
+
};
|
|
515
|
+
}
|
|
516
|
+
function refreshDeadline(ctx) {
|
|
517
|
+
const now = (ctx.nowMs ?? Date.now)();
|
|
518
|
+
const deadline = ctx.deadlineAtMs;
|
|
519
|
+
return deadline === undefined || Number.isNaN(deadline) ? now : Math.min(deadline, now + 5_000);
|
|
520
|
+
}
|
|
521
|
+
function boundedRefreshFile(file) {
|
|
522
|
+
return (file !== undefined &&
|
|
523
|
+
Number.isSafeInteger(file.before.size) &&
|
|
524
|
+
file.before.size >= 0 &&
|
|
525
|
+
file.before.size <= SEMANTIC_REFRESH_FRAGMENT_BYTES);
|
|
526
|
+
}
|
|
527
|
+
function verifiedRefreshBytes(ctx, file, bytes, deadlineAtMs) {
|
|
528
|
+
return (bytes !== undefined &&
|
|
529
|
+
!refreshStopped(ctx, ctx.signal, deadlineAtMs) &&
|
|
530
|
+
bytes.byteLength === file.before.size &&
|
|
531
|
+
!bytes.includes(0) &&
|
|
532
|
+
isWorkspacePathSnapshotCurrent(ctx.fs, file.absolutePath, file.realPath, file.before));
|
|
533
|
+
}
|
|
534
|
+
function observeRefreshRead(ctx, size) {
|
|
535
|
+
if (ctx.refreshUsage === undefined)
|
|
536
|
+
return;
|
|
537
|
+
ctx.refreshUsage.readFileCount += 1;
|
|
538
|
+
ctx.refreshUsage.readBytes += size;
|
|
539
|
+
}
|
|
540
|
+
function reserveRefreshRead(ctx, file, deadlineAtMs) {
|
|
541
|
+
if (refreshStopped(ctx, ctx.signal, deadlineAtMs) ||
|
|
542
|
+
ctx.semanticRefreshDocumentBudget?.remaining() === 0 ||
|
|
543
|
+
ctx.tryReserveRefreshUsage?.({ filesRead: 1, excerptBytes: file.before.size }) !== true)
|
|
544
|
+
return false;
|
|
545
|
+
if (refreshStopped(ctx, ctx.signal, deadlineAtMs))
|
|
546
|
+
return false;
|
|
547
|
+
// Synchronous admission immediately precedes the read. A failed/cancelled attempt keeps its
|
|
548
|
+
// permit: another root or a later pass must not reopen the original document allowance.
|
|
549
|
+
return ctx.semanticRefreshDocumentBudget?.tryReserve() !== false;
|
|
550
|
+
}
|
|
551
|
+
async function liveRefreshFragment(ctx, document, deadlineAtMs) {
|
|
552
|
+
if (ctx.fs.readFileBytes === undefined)
|
|
553
|
+
return undefined;
|
|
554
|
+
try {
|
|
555
|
+
const file = liveFingerprintFile(ctx, ctx.repositoryPod, document.scopePath);
|
|
556
|
+
if (!boundedRefreshFile(file))
|
|
557
|
+
return undefined;
|
|
558
|
+
if (!reserveRefreshRead(ctx, file, deadlineAtMs))
|
|
559
|
+
return undefined;
|
|
560
|
+
const bytes = await readSemanticFileBytes(ctx, file, SEMANTIC_REFRESH_FRAGMENT_BYTES + 1, deadlineAtMs, () => {
|
|
561
|
+
observeRefreshRead(ctx, file.before.size);
|
|
562
|
+
});
|
|
563
|
+
if (!verifiedRefreshBytes(ctx, file, bytes, deadlineAtMs))
|
|
564
|
+
return undefined;
|
|
565
|
+
const sourceText = ctx.redactText(new TextDecoder("utf-8", { fatal: true }).decode(bytes));
|
|
566
|
+
return { file, document: { ...document, sourceText, startLine: 1 } };
|
|
567
|
+
}
|
|
568
|
+
catch {
|
|
569
|
+
recordSemanticRefreshFailure(ctx, deadlineAtMs);
|
|
570
|
+
return undefined;
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
function recordSemanticRefreshFailure(ctx, deadlineAtMs) {
|
|
574
|
+
if (semanticOperationStopped(ctx) || refreshStopped(ctx, ctx.signal, deadlineAtMs))
|
|
575
|
+
return;
|
|
576
|
+
observePodDegradation(ctx, "pod-query-failed");
|
|
577
|
+
}
|
|
578
|
+
function compatibleRefreshVector(identity, outcome) {
|
|
579
|
+
if (outcome.vector.length === 0 || !outcome.vector.every(Number.isFinite))
|
|
580
|
+
return undefined;
|
|
581
|
+
const current = {
|
|
582
|
+
...identity,
|
|
583
|
+
modelId: outcome.modelId,
|
|
584
|
+
vectorDimensions: outcome.vector.length,
|
|
585
|
+
...(outcome.modelRevision === undefined ? {} : { modelRevision: outcome.modelRevision }),
|
|
586
|
+
};
|
|
587
|
+
if (!assertCompatibleEmbeddingIdentity(identity, current).ok)
|
|
588
|
+
return undefined;
|
|
589
|
+
return identity.normalization === "l2" ? l2NormalizeVector(outcome.vector) : outcome.vector;
|
|
590
|
+
}
|
|
591
|
+
function callRefreshEmbedding(ctx, input, signal, timeoutMs, inputTokens) {
|
|
592
|
+
const adapter = ctx.localKnowledgeEmbeddingAdapter;
|
|
593
|
+
const identity = ctx.repositoryPod.capsule.embeddingModelIdentity;
|
|
594
|
+
if (ctx.refreshUsage !== undefined) {
|
|
595
|
+
ctx.refreshUsage.embeddingCallCount += 1;
|
|
596
|
+
ctx.refreshUsage.inputTokens += inputTokens;
|
|
597
|
+
}
|
|
598
|
+
return adapter.request({
|
|
599
|
+
endpoint: adapter.endpoint,
|
|
600
|
+
apiKey: adapter.apiKey,
|
|
601
|
+
modelId: identity.modelId,
|
|
602
|
+
input,
|
|
603
|
+
...(adapter.apiKeyHeaderName === undefined
|
|
604
|
+
? {}
|
|
605
|
+
: { apiKeyHeaderName: adapter.apiKeyHeaderName }),
|
|
606
|
+
...(identity.dimensionsParam === undefined ? {} : { dimensions: identity.dimensionsParam }),
|
|
607
|
+
...(ctx.correlationId === undefined
|
|
608
|
+
? {}
|
|
609
|
+
: { logContext: { correlationId: ctx.correlationId } }),
|
|
610
|
+
signal,
|
|
611
|
+
...(timeoutMs === undefined ? {} : { timeoutMs }),
|
|
612
|
+
});
|
|
613
|
+
}
|
|
614
|
+
async function refreshEmbedding(ctx, input, signal, deadlineAtMs) {
|
|
615
|
+
const identity = ctx.repositoryPod.capsule.embeddingModelIdentity;
|
|
616
|
+
// UTF-8 bytes are a conservative token upper bound when no embedding tokenizer is available.
|
|
617
|
+
const inputTokens = Buffer.byteLength(input, "utf8");
|
|
618
|
+
if (refreshStopped(ctx, signal, deadlineAtMs) ||
|
|
619
|
+
ctx.tryReserveRefreshUsage?.({ modelInputTokens: inputTokens }) !== true)
|
|
620
|
+
return undefined;
|
|
621
|
+
if (refreshStopped(ctx, signal, deadlineAtMs))
|
|
622
|
+
return undefined;
|
|
623
|
+
const reservation = ctx.reserveRefreshSpend(input);
|
|
624
|
+
try {
|
|
625
|
+
const outcome = await raceAbortDeadline(({ signal: boundedSignal, timeoutMs }) => callRefreshEmbedding(ctx, input, boundedSignal, timeoutMs, inputTokens), { deadlineAtMs, nowMs: ctx.nowMs ?? Date.now, signal });
|
|
626
|
+
return outcome.ok ? compatibleRefreshVector(identity, outcome.value) : undefined;
|
|
627
|
+
}
|
|
628
|
+
finally {
|
|
629
|
+
// The adapter has no measured token usage; preserve the existing durable upper reservation.
|
|
630
|
+
reservation?.settle(undefined);
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
function refreshMatch(ctx, fragment, query, vector, terms) {
|
|
634
|
+
if (!isWorkspacePathSnapshotCurrent(ctx.fs, fragment.file.absolutePath, fragment.file.realPath, fragment.file.before))
|
|
635
|
+
return undefined;
|
|
636
|
+
const metric = ctx.repositoryPod.capsule.embeddingModelIdentity.vectorMetric;
|
|
637
|
+
const rawScore = scoreVector(metric, query, vector);
|
|
638
|
+
const score = metric === "euclidean" ? 1 / (1 - rawScore) : Math.max(0, Math.min(1, rawScore));
|
|
639
|
+
return Number.isFinite(score) && score > 0
|
|
640
|
+
? {
|
|
641
|
+
scopePath: fragment.document.scopePath,
|
|
642
|
+
line: localizeMatchLine(fragment.document.sourceText, terms),
|
|
643
|
+
score,
|
|
644
|
+
}
|
|
645
|
+
: undefined;
|
|
646
|
+
}
|
|
647
|
+
async function refreshedSemanticHits(ctx, prepared, stale, queryVector) {
|
|
648
|
+
const limit = refreshFileLimit(ctx);
|
|
649
|
+
const deadlineAtMs = refreshDeadline(ctx);
|
|
650
|
+
if (!refreshAllowed(ctx, prepared, stale.length, limit, deadlineAtMs))
|
|
651
|
+
return [];
|
|
652
|
+
const hits = [];
|
|
653
|
+
try {
|
|
654
|
+
const identity = ctx.repositoryPod.capsule.embeddingModelIdentity;
|
|
655
|
+
const query = queryVector ??
|
|
656
|
+
(await refreshEmbedding(ctx, shapeEmbeddingQuery(identity, prepared.queryText), prepared.signal, deadlineAtMs));
|
|
657
|
+
if (query === undefined)
|
|
658
|
+
return [];
|
|
659
|
+
for (const document of stale.slice(0, limit)) {
|
|
660
|
+
if (refreshStopped(ctx, prepared.signal, deadlineAtMs))
|
|
661
|
+
break;
|
|
662
|
+
const hit = await refreshedDocumentHit(ctx, prepared, document, query, deadlineAtMs);
|
|
663
|
+
if (hit !== undefined)
|
|
664
|
+
hits.push(hit);
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
catch {
|
|
668
|
+
recordSemanticRefreshFailure(ctx, deadlineAtMs);
|
|
669
|
+
return hits;
|
|
670
|
+
}
|
|
671
|
+
return hits;
|
|
672
|
+
}
|
|
673
|
+
function refreshStopped(ctx, signal, deadlineAtMs) {
|
|
674
|
+
return (ctx.nowMs ?? Date.now)() >= deadlineAtMs || isAborted(signal);
|
|
675
|
+
}
|
|
676
|
+
function refreshAllowed(ctx, prepared, staleCount, limit, deadlineAtMs) {
|
|
677
|
+
return (ctx.tryReserveRefreshUsage !== undefined &&
|
|
678
|
+
ctx.semanticRefreshDocumentBudget?.remaining() !== 0 &&
|
|
679
|
+
limit > 0 &&
|
|
680
|
+
staleCount > 0 &&
|
|
681
|
+
!refreshStopped(ctx, prepared.signal, deadlineAtMs));
|
|
682
|
+
}
|
|
683
|
+
async function refreshedDocumentHit(ctx, prepared, document, query, deadlineAtMs) {
|
|
684
|
+
const fragment = await liveRefreshFragment(ctx, document, deadlineAtMs);
|
|
685
|
+
if (fragment === undefined || refreshStopped(ctx, prepared.signal, deadlineAtMs))
|
|
686
|
+
return undefined;
|
|
687
|
+
const vector = await refreshEmbedding(ctx, `Path: ${document.scopePath}\n${fragment.document.sourceText}`, prepared.signal, deadlineAtMs);
|
|
688
|
+
return vector === undefined || refreshStopped(ctx, prepared.signal, deadlineAtMs)
|
|
689
|
+
? undefined
|
|
690
|
+
: refreshMatch(ctx, fragment, query, vector, prepared.queryTerms);
|
|
380
691
|
}
|
|
381
692
|
// Reports the resolved pod's identity to a caller that asked for it, and returns the resolution
|
|
382
693
|
// unchanged. Never resolves anything itself: the identity a caller discloses must be the identity
|
|
@@ -387,6 +698,11 @@ function observedPodIdentity(resolution, observe) {
|
|
|
387
698
|
}
|
|
388
699
|
return resolution;
|
|
389
700
|
}
|
|
701
|
+
function refreshSpendReserver(deps, config, modelId, correlationId) {
|
|
702
|
+
const capability = config?.capabilities?.find((candidate) => candidate.kind === "embedding" && candidate.id === modelId);
|
|
703
|
+
const correlation = correlationIdOrUnknown(correlationId);
|
|
704
|
+
return (input) => reserveGatewaySpendForAttempt(deps.env, capability, { modelId, messages: [{ role: "user", content: input }], maxOutputTokens: 0 }, correlation);
|
|
705
|
+
}
|
|
390
706
|
export function configuredRepoSemanticSearchProviderFor(deps, signal, options = {}) {
|
|
391
707
|
const config = currentGatewayConfig(deps);
|
|
392
708
|
const provider = configuredEmbeddingProviders(config)[0];
|
|
@@ -400,10 +716,14 @@ export function configuredRepoSemanticSearchProviderFor(deps, signal, options =
|
|
|
400
716
|
return undefined;
|
|
401
717
|
}
|
|
402
718
|
const ctx = {
|
|
719
|
+
...options,
|
|
720
|
+
semanticRefreshFilesMax: configuredRefreshFileLimit(deps, options),
|
|
403
721
|
fs,
|
|
722
|
+
redactText: (text) => String(deps.redactor(text)),
|
|
404
723
|
signal,
|
|
405
724
|
maxCandidates: Math.max(0, Math.min(MAX_SEMANTIC_CANDIDATES, options.maxCandidates ?? MAX_SEMANTIC_CANDIDATES)),
|
|
406
725
|
localKnowledgeEmbeddingAdapter: localKnowledgeEmbeddingAdapterForProvider(deps, provider),
|
|
726
|
+
reserveRefreshSpend: refreshSpendReserver(deps, config, provider.modelId, options.correlationId),
|
|
407
727
|
repositoryPod: repositoryPod.pod,
|
|
408
728
|
...(options.observePodRetrieval === undefined
|
|
409
729
|
? {}
|
|
@@ -414,7 +734,7 @@ export function configuredRepoSemanticSearchProviderFor(deps, signal, options =
|
|
|
414
734
|
search: (request) => semanticSearch(ctx, request),
|
|
415
735
|
};
|
|
416
736
|
}
|
|
417
|
-
export function configuredRepoSemanticSearchProviderLeaseFor(deps, signal, repositoryRoot) {
|
|
737
|
+
export function configuredRepoSemanticSearchProviderLeaseFor(deps, signal, repositoryRoot, options = {}) {
|
|
418
738
|
try {
|
|
419
739
|
const opened = openKnowledgeStoreForDeps(deps);
|
|
420
740
|
// ADR-0152 D3: repository-pod retrieval is served through the pillar-neutral
|
|
@@ -432,6 +752,7 @@ export function configuredRepoSemanticSearchProviderLeaseFor(deps, signal, repos
|
|
|
432
752
|
};
|
|
433
753
|
let indexIdentityDigest;
|
|
434
754
|
const provider = configuredRepoSemanticSearchProviderFor(deps, signal, {
|
|
755
|
+
...options,
|
|
435
756
|
repositoryPod: {
|
|
436
757
|
store: opened.store,
|
|
437
758
|
repositoryRoot,
|
|
@@ -441,6 +762,7 @@ export function configuredRepoSemanticSearchProviderLeaseFor(deps, signal, repos
|
|
|
441
762
|
indexIdentityDigest = createHash("sha256")
|
|
442
763
|
.update(`${identity.capsuleId}\n${identity.sourceId}`)
|
|
443
764
|
.digest("hex");
|
|
765
|
+
options.observePodIdentity?.(identity);
|
|
444
766
|
},
|
|
445
767
|
});
|
|
446
768
|
return {
|
|
@@ -26,6 +26,8 @@ export interface RerankSelectionInput<T> {
|
|
|
26
26
|
readonly policy?: RerankSelectionPolicy | undefined;
|
|
27
27
|
readonly applyScore?: ((candidate: T, result: RerankResult) => T) | undefined;
|
|
28
28
|
readonly fallbackMode: RerankFallbackMode;
|
|
29
|
+
/** An already-admitted candidate identity; this never adds provider-visible documents. */
|
|
30
|
+
readonly requiredCandidateKey?: (candidate: T) => string | undefined;
|
|
29
31
|
/**
|
|
30
32
|
* Pins the gateway-config generation this call reports against. `currentGatewayConfig` is a live
|
|
31
33
|
* accessor whose backing closure is replaced by the gateway-setup save route, so a caller that
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grounded-rerank-facade.d.ts","sourceRoot":"","sources":["../src/grounded-rerank-facade.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAE5B,MAAM,wCAAwC,CAAC;AAMhD,OAAO,EAGL,KAAK,aAAa,EAKlB,KAAK,YAAY,EAElB,MAAM,mCAAmC,CAAC;AAE3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAM/C,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG,UAAU,CAAC;AA8D3D,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,iBAAiB,EAAE,OAAO,GAAG,MAAM,CAAC;IAC7C,sFAAsF;IACtF,QAAQ,CAAC,cAAc,EAAE,OAAO,GAAG,MAAM,CAAC;CAC3C;AAED,MAAM,WAAW,oBAAoB,CAAC,CAAC;IACrC,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,EAAE,SAAS,CAAC,EAAE,CAAC;IAClC;;;OAGG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,SAAS,CAAC,EAAE,GAAG,SAAS,CAAC;IACvD,kFAAkF;IAClF,QAAQ,CAAC,6BAA6B,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7D,QAAQ,CAAC,WAAW,EAAE,CAAC,SAAS,EAAE,CAAC,KAAK,MAAM,CAAC;IAC/C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IAC1C,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,KAAK,GAAG,SAAS,CAAC;IAC9C,QAAQ,CAAC,MAAM,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IACpD,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,YAAY,KAAK,CAAC,CAAC,GAAG,SAAS,CAAC;IAC9E,QAAQ,CAAC,YAAY,EAAE,kBAAkB,CAAC;IAC1C;;;;;;OAMG;IAEH,QAAQ,CAAC,aAAa,CAAC,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1D,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7C;AAED,MAAM,WAAW,eAAe,CAAC,CAAC;IAChC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC,EAAE,CAAC;IAChC,QAAQ,CAAC,WAAW,EAAE,2BAA2B,CAAC;CACnD;AA0BD,wBAAgB,uBAAuB,CAAC,CAAC,EACvC,UAAU,EAAE,SAAS,CAAC,EAAE,EACxB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,kBAAkB,GACvB,SAAS,CAAC,EAAE,CAGd;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAClC,UAAU,EAAE,SAAS,CAAC,EAAE,EACxB,OAAO,EAAE,SAAS,YAAY,EAAE,EAChC,IAAI,EAAE,MAAM,EACZ,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,YAAY,KAAK,CAAC,GACrD,SAAS,CAAC,EAAE,GAAG,SAAS,CAW1B;AA6SD,wBAAsB,eAAe,CAAC,CAAC,EACrC,KAAK,EAAE,oBAAoB,CAAC,CAAC,CAAC,GAC7B,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"grounded-rerank-facade.d.ts","sourceRoot":"","sources":["../src/grounded-rerank-facade.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAE5B,MAAM,wCAAwC,CAAC;AAMhD,OAAO,EAGL,KAAK,aAAa,EAKlB,KAAK,YAAY,EAElB,MAAM,mCAAmC,CAAC;AAE3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAM/C,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG,UAAU,CAAC;AA8D3D,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,iBAAiB,EAAE,OAAO,GAAG,MAAM,CAAC;IAC7C,sFAAsF;IACtF,QAAQ,CAAC,cAAc,EAAE,OAAO,GAAG,MAAM,CAAC;CAC3C;AAED,MAAM,WAAW,oBAAoB,CAAC,CAAC;IACrC,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,EAAE,SAAS,CAAC,EAAE,CAAC;IAClC;;;OAGG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,SAAS,CAAC,EAAE,GAAG,SAAS,CAAC;IACvD,kFAAkF;IAClF,QAAQ,CAAC,6BAA6B,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7D,QAAQ,CAAC,WAAW,EAAE,CAAC,SAAS,EAAE,CAAC,KAAK,MAAM,CAAC;IAC/C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IAC1C,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,KAAK,GAAG,SAAS,CAAC;IAC9C,QAAQ,CAAC,MAAM,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IACpD,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,YAAY,KAAK,CAAC,CAAC,GAAG,SAAS,CAAC;IAC9E,QAAQ,CAAC,YAAY,EAAE,kBAAkB,CAAC;IAC1C,0FAA0F;IAC1F,QAAQ,CAAC,oBAAoB,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;IACrE;;;;;;OAMG;IAEH,QAAQ,CAAC,aAAa,CAAC,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1D,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7C;AAED,MAAM,WAAW,eAAe,CAAC,CAAC;IAChC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC,EAAE,CAAC;IAChC,QAAQ,CAAC,WAAW,EAAE,2BAA2B,CAAC;CACnD;AA0BD,wBAAgB,uBAAuB,CAAC,CAAC,EACvC,UAAU,EAAE,SAAS,CAAC,EAAE,EACxB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,kBAAkB,GACvB,SAAS,CAAC,EAAE,CAGd;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAClC,UAAU,EAAE,SAAS,CAAC,EAAE,EACxB,OAAO,EAAE,SAAS,YAAY,EAAE,EAChC,IAAI,EAAE,MAAM,EACZ,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,YAAY,KAAK,CAAC,GACrD,SAAS,CAAC,EAAE,GAAG,SAAS,CAW1B;AA6SD,wBAAsB,eAAe,CAAC,CAAC,EACrC,KAAK,EAAE,oBAAoB,CAAC,CAAC,CAAC,GAC7B,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAc7B"}
|