@oscharko-dev/keiko 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -2
- package/dist/ui/csp-hashes.json +6 -6
- package/dist/ui/static/404.html +1 -1
- package/dist/ui/static/__next.__PAGE__.txt +12 -12
- package/dist/ui/static/__next._full.txt +23 -22
- package/dist/ui/static/__next._tree.txt +2 -2
- package/dist/ui/static/_next/static/chunks/00h6kszysb2wr.js +1 -0
- package/dist/ui/static/_next/static/chunks/013tmcojxoy8z.js +1 -0
- package/dist/ui/static/_next/static/chunks/014h2nyfet3kr.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0mjsj7bp-ukgh.css → 02ycexmxeqhmx.css} +28 -10
- package/dist/ui/static/_next/static/chunks/{2kylv1kq1_4p1.js → 0650rzqxvrg4k.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0851fl0j1ja4e.js +1 -0
- package/dist/ui/static/_next/static/chunks/08896ukd2zxg6.js +1 -0
- package/dist/ui/static/_next/static/chunks/08tg5xjyy073b.js +1 -0
- package/dist/ui/static/_next/static/chunks/0b7xat6jxvrmr.js +1 -0
- package/dist/ui/static/_next/static/chunks/0e0h-sia4dm93.js +2 -0
- package/dist/ui/static/_next/static/chunks/0e3x-8o_fjsn_.js +1 -0
- package/dist/ui/static/_next/static/chunks/0eeyfcixqqfab.js +1 -0
- package/dist/ui/static/_next/static/chunks/0eyoirips0ket.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0--s8pmsbkf62.js → 0gns083_remf0.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0ji_km0dqy8qj.js +1 -0
- package/dist/ui/static/_next/static/chunks/0jtp8te-03j1-.js +1 -0
- package/dist/ui/static/_next/static/chunks/0lw_ax6yn_z8w.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3h-rh_lx0l8_3.js → 0pf5ot48kepng.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0rs9egrg2q85w.js +1 -0
- package/dist/ui/static/_next/static/chunks/0sjewje-u3bqg.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0iu3dyqe7m7_7.js → 0t10yxd1t9qeg.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{0l72usw6suk0h.js → 0ta8ifx4mr6gi.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0wok-g3ndtvch.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0yzmg9aoglud6.js → 0y0r5znrj9qw-.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0y3402xorco2c.js +1 -0
- package/dist/ui/static/_next/static/chunks/14ytv6jraivph.js +1 -0
- package/dist/ui/static/_next/static/chunks/15tj-r-c7bs-p.js +1 -0
- package/dist/ui/static/_next/static/chunks/18idxjg523mhp.js +1 -0
- package/dist/ui/static/_next/static/chunks/18kcx5kpyxr16.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3hclt6m3ok4n9.js → 1g_d_8a7vlqgu.js} +1 -1
- package/dist/ui/static/_next/static/chunks/1lm4kkulhv0b_.js +1 -0
- package/dist/ui/static/_next/static/chunks/1o-own3kgpojf.js +1 -0
- package/dist/ui/static/_next/static/chunks/1pe5ee9wh-qwa.js +1 -0
- package/dist/ui/static/_next/static/chunks/1qcpuq815jtog.js +3 -0
- package/dist/ui/static/_next/static/chunks/1s3u1scfdjjd9.js +1 -0
- package/dist/ui/static/_next/static/chunks/1zqfkyeqq5cl8.js +1 -0
- package/dist/ui/static/_next/static/chunks/20-u8pg5ve_cz.js +1 -0
- package/dist/ui/static/_next/static/chunks/21rpgm75hndoe.js +1 -0
- package/dist/ui/static/_next/static/chunks/21s3ugswalpzt.js +1 -0
- package/dist/ui/static/_next/static/chunks/22zxuap4am9bs.js +1 -0
- package/dist/ui/static/_next/static/chunks/27e2u3lrksak4.js +1 -0
- package/dist/ui/static/_next/static/chunks/2g_pljoa8f0e-.js +1 -0
- package/dist/ui/static/_next/static/chunks/2go0k_akgnv11.js +1 -0
- package/dist/ui/static/_next/static/chunks/2jsnrkl0syr4y.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3qjkuhjy_-_br.js → 2m7wxgg82-7yj.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2pg4yzdak17yp.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0bpexy600ffpg.js → 2tlvii78gzv6c.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{2y98z-sun8_ew.js → 2u5_pu1uc6seh.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{3eduf6vevclfm.js → 2v4u52qc4tcdm.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2xd3_a4jlxum2.css +1 -0
- package/dist/ui/static/_next/static/chunks/{196257vfyrtgu.js → 2ywljh6s1u2zd.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3-pcgkdsv7x4z.js +1 -0
- package/dist/ui/static/_next/static/chunks/307xuhrdmetj7.js +1 -0
- package/dist/ui/static/_next/static/chunks/32jgtvf2y-f54.js +1 -0
- package/dist/ui/static/_next/static/chunks/35ivnhnxr9dmz.js +1 -0
- package/dist/ui/static/_next/static/chunks/363iuc3t94rie.js +1 -0
- package/dist/ui/static/_next/static/chunks/37qsy798-g74f.js +1 -0
- package/dist/ui/static/_next/static/chunks/37v998g0cm36x.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3603jy78awb1p.js → 38rjnjhuttjqs.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3_m42xgt33mnw.js +4 -0
- package/dist/ui/static/_next/static/chunks/3b05n-007vc3e.js +1 -0
- package/dist/ui/static/_next/static/chunks/3cpuzx4fetu6y.js +1 -0
- package/dist/ui/static/_next/static/chunks/3d27ozm1boe_5.js +3 -0
- package/dist/ui/static/_next/static/chunks/{1a6ri-sriyu-m.js → 3ftqojkan-5cl.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3fwt6-8rc2mya.js +1 -0
- package/dist/ui/static/_next/static/chunks/{196x_tfexoucg.js → 3g4px251sg85e.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3hb_wkp14tb6b.js +1 -0
- package/dist/ui/static/_next/static/chunks/3ifa0dznjb9z9.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1n3b0bhd9q0p6.js → 3l3xw2fmr7pct.js} +3 -3
- package/dist/ui/static/_next/static/chunks/3payvp5ps2fne.css +3 -0
- package/dist/ui/static/_next/static/chunks/3q-93bizla3k1.js +1 -0
- package/dist/ui/static/_next/static/chunks/{2ta3xj9td_qot.js → 3rhep1yhgo6a7.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3umqj2wkb8goj.js +1 -0
- package/dist/ui/static/_next/static/chunks/3xi3iilmw9_vy.js +5 -0
- package/dist/ui/static/_next/static/chunks/{09zc5hgtb7s-z.js → 3ya92_ies62hp.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3zxbqudoeow_a.js +1 -0
- package/dist/ui/static/_next/static/chunks/{2b_t95bbpmtej.js → 4014adorwuv48.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{24u-5fslcj3n9.js → 42otn3fqwlbyi.js} +1 -1
- package/dist/ui/static/_next/static/chunks/42pls95xys34g.js +1 -0
- package/dist/ui/static/_next/static/chunks/43z5mfwx4lk4w.js +1 -0
- package/dist/ui/static/_next/static/chunks/{turbopack-2rwr7ign9ynaa.js → turbopack-34k8wgx0iwdzg.js} +1 -1
- package/dist/ui/static/_not-found/__next._full.txt +21 -20
- package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +9 -9
- package/dist/ui/static/_not-found/__next._tree.txt +1 -1
- package/dist/ui/static/_not-found.html +1 -1
- package/dist/ui/static/_not-found.txt +21 -20
- package/dist/ui/static/atlassian-connectors/__next._full.txt +23 -22
- package/dist/ui/static/atlassian-connectors/__next._tree.txt +1 -1
- package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +11 -11
- package/dist/ui/static/atlassian-connectors.html +1 -1
- package/dist/ui/static/atlassian-connectors.txt +23 -22
- package/dist/ui/static/index.html +1 -1
- package/dist/ui/static/index.txt +23 -22
- package/dist/ui/static/launch/__next._full.txt +26 -25
- package/dist/ui/static/launch/__next._tree.txt +2 -2
- package/dist/ui/static/launch/__next.launch.__PAGE__.txt +12 -12
- package/dist/ui/static/launch.html +1 -1
- package/dist/ui/static/launch.txt +26 -25
- package/dist/ui/static/local-knowledge/__next._full.txt +26 -25
- package/dist/ui/static/local-knowledge/__next._tree.txt +2 -2
- package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +12 -12
- package/dist/ui/static/local-knowledge/capsule/__next._full.txt +11 -11
- package/dist/ui/static/local-knowledge/capsule/__next._tree.txt +1 -1
- package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.__PAGE__.txt +11 -11
- package/dist/ui/static/local-knowledge/capsule.html +1 -1
- package/dist/ui/static/local-knowledge/capsule.txt +11 -11
- package/dist/ui/static/local-knowledge.html +1 -1
- package/dist/ui/static/local-knowledge.txt +26 -25
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze.js +26 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.js +140 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts +14 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.js +17 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-retrieval-miss.d.ts +13 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-retrieval-miss.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-retrieval-miss.js +363 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-cli/dist/init.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/init.js +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-browser-activity.d.ts +22 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-browser-activity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-browser-activity.js +50 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.js +137 -32
- package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.d.ts +24 -3
- package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.js +126 -5
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui-browser-handoff.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui-browser-handoff.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui-browser-handoff.js +91 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui.js +31 -3
- package/node_modules/@oscharko-dev/keiko-cli/package.json +15 -15
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.d.ts +250 -50
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.js +342 -25
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts +2618 -246
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.js +3079 -263
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts +2509 -153
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.js +2962 -36
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts +51 -6
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.js +64 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session-pairing.d.ts +37 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session-pairing.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session-pairing.js +67 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session.d.ts +2 -35
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session.js +1 -62
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-repository-search.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-repository-search.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-repository-search.js +12 -9
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.d.ts +38 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.js +94 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api-validation.d.ts +3 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api-validation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api-validation.js +64 -17
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.d.ts +8 -4
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.js +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.d.ts +17 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.js +13 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime.js +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-validation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-validation.js +27 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.d.ts +28 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.js +27 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-context.d.ts +28 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-context.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-context.js +60 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/contract-validation-primitives.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/contract-validation-primitives.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/contract-validation-primitives.js +12 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts +70 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.js +266 -5
- package/node_modules/@oscharko-dev/keiko-contracts/dist/evidence.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/evidence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.d.ts +57 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.js +4 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/governed-tool-catalog.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/governed-tool-catalog.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/grounded-assessment.d.ts +10 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/grounded-assessment.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/grounded-assessment.js +52 -12
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts +5 -5
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/markdown-skills.d.ts +41 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/markdown-skills.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/markdown-skills.js +9 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/no-evidence-answer.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/no-evidence-answer.js +29 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/opencode-service-host.d.ts +42 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/opencode-service-host.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/opencode-service-host.js +151 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/prompt-enhancer-bff.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/prompt-enhancer-bff.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/prompt-enhancer-bff.js +7 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report.d.ts +36 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report.js +11 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/tools.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.js +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace.d.ts +41 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace.js +18 -0
- package/node_modules/@oscharko-dev/keiko-contracts/package.json +9 -1
- package/node_modules/@oscharko-dev/keiko-evaluations/package.json +9 -9
- package/node_modules/@oscharko-dev/keiko-evidence/dist/connected-context-evidence.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-evidence/dist/connected-context-evidence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/connected-context-evidence.js +23 -3
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/package.json +4 -4
- package/node_modules/@oscharko-dev/keiko-git/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-git/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-git/package.json +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/package.json +7 -7
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/grounded-answer-runner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/grounded-answer-runner.js +3 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/_internal.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/_internal.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/_internal.js +2 -33
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/html-parser.js +5 -4
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/index.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/index.js +2 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/retrieval-runner.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/retrieval-runner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/retrieval-runner.js +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/scoped-vector-search.d.ts +9 -2
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/scoped-vector-search.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/scoped-vector-search.js +18 -10
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/config.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/config.js +103 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/embedding.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/embedding.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/embedding.js +2 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway-attempt-admission.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway-attempt-admission.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway-attempt-admission.js +44 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway.d.ts +89 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway.js +617 -129
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.js +28 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/index.d.ts +3 -2
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/index.js +2 -2
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.d.ts +23 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.js +50 -5
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/normalize.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/normalize.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/normalize.js +54 -2
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/observability.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/observability.js +2 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.d.ts +11 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.js +262 -58
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/readiness-probe.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/readiness-probe.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/readiness-probe.js +1 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.d.ts +143 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.js +361 -39
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/toolCatalogBridge.d.ts +9 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/toolCatalogBridge.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/toolCatalogBridge.js +62 -16
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/types.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/package.json +4 -4
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/backends.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/backends.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/backends.js +30 -15
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/plan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/plan.js +24 -3
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/runtime-gateway.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/runtime-gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/runtime-gateway.js +31 -6
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/seatbelt-execution-root.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/seatbelt-execution-root.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/seatbelt-execution-root.js +141 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/select.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/select.js +2 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/types.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/package.json +2 -2
- package/node_modules/@oscharko-dev/keiko-sdk/package.json +9 -9
- package/node_modules/@oscharko-dev/keiko-security/dist/errors/gateway.d.ts +10 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/errors/gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/errors/gateway.js +25 -2
- package/node_modules/@oscharko-dev/keiko-security/dist/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/portable-tree-attestation.d.ts +14 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/portable-tree-attestation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/portable-tree-attestation.js +183 -25
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction.d.ts +9 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction.js +16 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-security/package.json +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-activity.d.ts +9 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-activity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-activity.js +64 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-model-summary.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-model-summary.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-model-summary.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-breakdown.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-breakdown.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-breakdown.js +23 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-status.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-status.js +27 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts +7 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.js +37 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget-diagnostics.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget-diagnostics.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget-diagnostics.js +7 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget-token-summary.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget-token-summary.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget-token-summary.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget.js +18 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-compaction.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-compaction.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-compaction.js +4 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.js +11 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-turn-identity.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-turn-identity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.js +274 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionCookie.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionCookie.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionCookie.js +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/ciRepairPromptReservation.d.ts +11 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/ciRepairPromptReservation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/ciRepairPromptReservation.js +21 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.d.ts +50 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.js +25 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairController.d.ts +14 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairController.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairController.js +33 -26
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.d.ts +46 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.js +33 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEventHub.d.ts +51 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEventHub.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEventHub.js +97 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts +8 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.js +265 -29
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.d.ts +37 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.js +416 -34
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorState.d.ts +5 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorState.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorState.js +14 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorTypes.d.ts +21 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorTypes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRefusalEscalation.d.ts +79 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRefusalEscalation.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRefusalEscalation.js +305 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRepositoryInstructions.d.ts +100 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRepositoryInstructions.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRepositoryInstructions.js +363 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRoutes.js +13 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRunEffort.d.ts +71 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRunEffort.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRunEffort.js +294 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeTerminalCause.d.ts +47 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeTerminalCause.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeTerminalCause.js +65 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeVerificationContinuation.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeVerificationContinuation.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeVerificationContinuation.js +79 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.d.ts +18 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.js +201 -42
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.d.ts +6 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.js +733 -17
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.js +262 -57
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.d.ts +185 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.js +57 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolGovernedDelegate.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolGovernedDelegate.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolGovernedDelegate.js +14 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolInvocationRegistry.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolInvocationRegistry.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolInvocationRegistry.js +50 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.d.ts +21 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.js +143 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.d.ts +63 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.js +710 -170
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReplacementEdits.d.ts +108 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReplacementEdits.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReplacementEdits.js +477 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLanePortableCodingRuntime.d.ts +2 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLanePortableCodingRuntime.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLanePortableCodingRuntime.js +53 -46
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.js +51 -52
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.d.ts +48 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.js +179 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/materializedPatchRegistry.d.ts +60 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/materializedPatchRegistry.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/materializedPatchRegistry.js +61 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.d.ts +7 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.js +48 -15
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessPaths.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessPaths.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessPaths.js +14 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessProtocol.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessProtocol.js +11 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/npmLaneRuntimeApprovals.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/npmLaneRuntimeApprovals.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/npmLaneRuntimeApprovals.js +28 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeFunctionalHarness/_governedTools.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeFunctionalHarness/_governedTools.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeFunctionalHarness/_governedTools.js +48 -20
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeLaunchProfile.d.ts +5 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeLaunchProfile.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeLaunchProfile.js +11 -12
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.js +27 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeReconciler.d.ts +6 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeReconciler.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeReconciler.js +15 -15
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.d.ts +17 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.js +198 -43
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.d.ts +97 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.js +1334 -103
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeServiceHostArtifact.d.ts +79 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeServiceHostArtifact.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeServiceHostArtifact.js +176 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.d.ts +177 -25
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.js +131 -38
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2History.d.ts +18 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2History.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2History.js +298 -32
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.js +14 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2LiveText.d.ts +33 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2LiveText.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2LiveText.js +213 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.js +2 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCiRepairRuntime.js +15 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeHost.js +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.d.ts +25 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.js +227 -40
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.d.ts +20 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.js +217 -12
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.js +20 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.d.ts +8 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.functional/repositorySearchProof.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.functional/repositorySearchProof.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.functional/skillDiscoveryProof.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.functional/skillDiscoveryProof.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.js +262 -60
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.d.ts +18 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.js +43 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts +38 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.js +115 -16
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.d.ts +20 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.js +48 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeProcessSupervisor.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeProcessSupervisor.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeProcessSupervisor.js +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextRead.d.ts +100 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextRead.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextRead.js +435 -25
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadAbsence.d.ts +61 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadAbsence.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadAbsence.js +123 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadArtifact.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadArtifact.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadArtifact.js +26 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadNodeProcess.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadNodeProcess.js +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProcess.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProcess.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProcess.js +17 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProtocol.d.ts +69 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProtocol.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProtocol.js +266 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.d.ts +14 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.js +761 -122
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-tool-facade.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-tool-facade.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-tool-facade.js +139 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/command-runner.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/command-runner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/command-runner.js +176 -19
- package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-admission.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-admission.js +72 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-log.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-log.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-log.js +48 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/correlation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/correlation.js +8 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/credentialVault.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/credentialVault.js +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts +41 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.js +234 -77
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.js +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentAuthorityRegistry.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentAuthorityRegistry.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentAuthorityRegistry.js +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRootBoundary.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRootBoundary.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRootBoundary.js +60 -12
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.d.ts +13 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.js +131 -18
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyTargets.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyTargets.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyTargets.js +44 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/changesetLineBreakProvenance.d.ts +26 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/changesetLineBreakProvenance.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/changesetLineBreakProvenance.js +87 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/codingContextProviders.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/codingContextProviders.js +0 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecution.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecution.js +62 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecutionLog.d.ts +128 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecutionLog.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecutionLog.js +213 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRunner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRunner.js +68 -24
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRuntimeTarget.d.ts +13 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRuntimeTarget.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRuntimeTarget.js +121 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts +10 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.js +280 -88
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-route-deadline.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-route-deadline.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-route-deadline.js +11 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts +15 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.js +445 -45
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup-activity.d.ts +31 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup-activity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup-activity.js +74 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup.js +282 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-tool-calling-probe.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-tool-calling-probe.js +7 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitRoutes.js +7 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/gitPorcelainStatus.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitPorcelainStatus.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitPorcelainStatus.js +46 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-activity.d.ts +19 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-activity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-activity.js +177 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-assessment.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-assessment.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-assessment.js +69 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-evidence.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-evidence.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-evidence.js +53 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-repair.d.ts +25 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-repair.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-repair.js +120 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer.d.ts +56 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer.js +194 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-assistant-referents.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-assistant-referents.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-assistant-referents.js +133 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-candidate-ordering.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-candidate-ordering.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-candidate-ordering.js +103 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-capability.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-capability.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-capability.js +79 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.d.ts +22 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.js +112 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.js +117 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-context-pack-reranker.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-context-pack-reranker.js +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-contextual-fallback.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-contextual-fallback.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-contextual-fallback.js +41 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-conversation-continuity.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-conversation-continuity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-conversation-continuity.js +54 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-diagnostic-references.d.ts +42 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-diagnostic-references.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-diagnostic-references.js +91 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-document-evidence.d.ts +6 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-document-evidence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-document-evidence.js +61 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-eval-support.d.ts +28 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-eval-support.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-eval-support.js +140 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.d.ts +9 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.js +40 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-explicit-paths.d.ts +44 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-explicit-paths.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-explicit-paths.js +385 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness-eval.d.ts +5 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness-eval.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness-eval.js +91 -39
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness.d.ts +43 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness.js +247 -34
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-follow-up.d.ts +27 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-follow-up.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-follow-up.js +198 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-latency-eval.d.ts +16 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-latency-eval.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-latency-eval.js +69 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.d.ts +106 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.js +2618 -376
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-plural-synthesis.d.ts +27 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-plural-synthesis.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-plural-synthesis.js +74 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-preselection-reranker.d.ts +25 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-preselection-reranker.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-preselection-reranker.js +93 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-context.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-context.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-context.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt.js +26 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-hybrid.d.ts +23 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-hybrid.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-hybrid.js +429 -97
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-multi-source.d.ts +33 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-multi-source.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-multi-source.js +500 -100
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.d.ts +28 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.js +442 -99
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-repo-semantic-search.d.ts +32 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-repo-semantic-search.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-repo-semantic-search.js +370 -48
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.js +22 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank.js +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-retrieval-eval.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-retrieval-eval.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-retrieval-eval.js +25 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-selection-quality.d.ts +19 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-selection-quality.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-selection-quality.js +55 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-semantic-request.d.ts +31 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-semantic-request.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-semantic-request.js +55 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace-cycles.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace-cycles.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace-cycles.js +90 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace.d.ts +44 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace.js +1053 -83
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-recency.d.ts +34 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-recency.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-recency.js +190 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-request.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-request.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-request.js +19 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-grounded-qa.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-grounded-qa.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-grounded-qa.js +27 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-admission.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-admission.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-admission.js +36 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-authority.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-authority.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-authority.js +28 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-log.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-log.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-log.js +47 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-prompt.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-prompt.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-prompt.js +41 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-routes.d.ts +13 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-routes.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-routes.js +150 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-selection-admission.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-selection-admission.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/markdown-skill-selection-admission.js +36 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/route-template.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/route-template.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/promptEnhancer/orchestrate.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/promptEnhancer/orchestrate.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/promptEnhancer/orchestrate.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/promptEnhancer/routes.d.ts +0 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/promptEnhancer/routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/promptEnhancer/routes.js +70 -28
- package/node_modules/@oscharko-dev/keiko-server/dist/read-handlers.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/read-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/read-handlers.js +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/routes.js +9 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/server.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/server.js +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chats.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chats.js +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/db.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/db.js +12 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/legacySchemaTestFixture.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/legacySchemaTestFixture.js +7 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkillSelections.d.ts +9 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkillSelections.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkillSelections.js +58 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkillValidation.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkillValidation.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkillValidation.js +63 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkills.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkills.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/markdownSkills.js +111 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.js +195 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-routes.js +4 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/routes.js +3 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolDispatch.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolDispatch.js +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolFacadeBridge.d.ts +20 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolFacadeBridge.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolFacadeBridge.js +96 -20
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolPorts.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolPorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolRuntimeAuthority.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolRuntimeAuthority.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolRuntimeAuthority.js +47 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-staging-verification.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-staging-verification.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-staging-verification.js +23 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-verification.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-verification.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-verification.js +12 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-index-provider.js +4 -4
- package/node_modules/@oscharko-dev/keiko-server/package.json +23 -23
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.d.ts +9 -25
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.js +207 -112
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/profile.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/profile.js +15 -2
- package/node_modules/@oscharko-dev/keiko-tool-catalog/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-tools/dist/exec.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/exec.js +44 -5
- package/node_modules/@oscharko-dev/keiko-tools/dist/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch-content.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch-content.js +142 -49
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch-parse.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch-parse.js +14 -3
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch.js +24 -9
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/package.json +7 -7
- package/node_modules/@oscharko-dev/keiko-verification/dist/dependencies.d.ts +16 -4
- package/node_modules/@oscharko-dev/keiko-verification/dist/dependencies.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/dependencies.js +198 -25
- package/node_modules/@oscharko-dev/keiko-verification/dist/failure-location.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/failure-location.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/failure-location.js +34 -17
- package/node_modules/@oscharko-dev/keiko-verification/dist/orchestrator.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/orchestrator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/orchestrator.js +32 -2
- package/node_modules/@oscharko-dev/keiko-verification/dist/plan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/plan.js +25 -16
- package/node_modules/@oscharko-dev/keiko-verification/dist/targeted-project.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-verification/dist/targeted-project.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-verification/dist/targeted-project.js +37 -0
- package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/failure-parse.d.ts +10 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/failure-parse.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/failure-parse.js +93 -15
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.js +16 -16
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/reranker.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/reranker.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.js +296 -15
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/governor.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.js +1 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/intent.d.ts +7 -2
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/intent.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/intent.js +85 -5
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.js +507 -32
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/references.d.ts +19 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/references.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/references.js +159 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/promptEnhancer/index.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/promptEnhancer/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/promptEnhancer/index.js +31 -13
- package/node_modules/@oscharko-dev/keiko-workflows/dist/promptEnhancer/markdownSkillDraft.d.ts +20 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/promptEnhancer/markdownSkillDraft.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/promptEnhancer/markdownSkillDraft.js +77 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.js +13 -16
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/index.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/index.js +2 -2
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/rank.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/rank.js +21 -4
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/scoring.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/scoring.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/scoring.js +44 -29
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/signals.d.ts +5 -2
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/signals.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/signals.js +141 -45
- package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
- package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.js +91 -15
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligence.d.ts +22 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligence.js +661 -106
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligenceSurface.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligenceSurface.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligenceSurface.js +3 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.d.ts +24 -4
- package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.js +89 -26
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractAdapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractAdapter.js +31 -9
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractGraph.d.ts +3 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractGraph.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractGraph.js +35 -5
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractSource.d.ts +7 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractSource.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractSource.js +40 -7
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractTypes.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractTypes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/importGraphEdges.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/importGraphEdges.js +11 -5
- package/node_modules/@oscharko-dev/keiko-workspace/dist/index.d.ts +8 -3
- package/node_modules/@oscharko-dev/keiko-workspace/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/index.js +7 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.d.ts +26 -5
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.js +418 -35
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.js +21 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.js +5 -3
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.js +32 -4
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPolicy.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPolicy.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPolicy.js +41 -22
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.d.ts +14 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.js +97 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRoutes.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRoutes.js +154 -18
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.d.ts +6 -5
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.js +88 -24
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchStream.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchStream.js +21 -14
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapterRequestContext.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapterRequestContext.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapterRequestContext.js +205 -14
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapters.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapters.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapters.js +17 -13
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralExecution.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralExecution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralExecution.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/symbolGraphLexing.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/symbolGraphLexing.js +13 -7
- package/node_modules/@oscharko-dev/keiko-workspace/dist/testSourcePairing.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/types.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/types.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.d.ts +13 -5
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.js +112 -42
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexQueryMatch.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexQueryMatch.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexQueryMatch.js +71 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexStreaming.d.ts +47 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexStreaming.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexStreaming.js +231 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.js +178 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/xmlEntities.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/xmlEntities.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/xmlEntities.js +34 -0
- package/node_modules/@oscharko-dev/keiko-workspace/package.json +4 -3
- package/package.json +28 -27
- package/release-impact.catalog.json +170 -0
- package/vendor/oscharko-dev-keiko-activity-log-1.2.2.tgz +0 -0
- package/vendor/oscharko-dev-keiko-cli-1.2.2.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-connectors-1.2.0.tgz → oscharko-dev-keiko-connectors-1.2.2.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.2.2.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-evaluations-1.2.0.tgz → oscharko-dev-keiko-evaluations-1.2.2.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-evidence-1.2.2.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-git-1.2.0.tgz → oscharko-dev-keiko-git-1.2.2.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-harness-1.2.0.tgz → oscharko-dev-keiko-harness-1.2.2.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-local-knowledge-1.2.2.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-memory-capture-1.2.0.tgz → oscharko-dev-keiko-memory-capture-1.2.2.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-consolidation-1.2.0.tgz → oscharko-dev-keiko-memory-consolidation-1.2.2.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-governance-1.2.0.tgz → oscharko-dev-keiko-memory-governance-1.2.2.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-retrieval-1.2.0.tgz → oscharko-dev-keiko-memory-retrieval-1.2.2.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-vault-1.2.0.tgz → oscharko-dev-keiko-memory-vault-1.2.2.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.2.2.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-quality-intelligence-1.2.0.tgz → oscharko-dev-keiko-quality-intelligence-1.2.2.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-sandbox-1.2.2.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-sdk-1.2.0.tgz → oscharko-dev-keiko-sdk-1.2.2.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-security-1.2.2.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.2.2.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.2.2.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tools-1.2.2.tgz +0 -0
- package/vendor/oscharko-dev-keiko-verification-1.2.2.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workflows-1.2.2.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workspace-1.2.2.tgz +0 -0
- package/dist/ui/static/_next/static/chunks/07skh7tlpfo1v.js +0 -1
- package/dist/ui/static/_next/static/chunks/09i_8713x46yr.js +0 -1
- package/dist/ui/static/_next/static/chunks/0a6ri2ug5xf10.js +0 -1
- package/dist/ui/static/_next/static/chunks/0bbrrvuzilpy5.js +0 -1
- package/dist/ui/static/_next/static/chunks/0bg7uh6tq8-dx.js +0 -1
- package/dist/ui/static/_next/static/chunks/0cwy6mtvshbuo.js +0 -1
- package/dist/ui/static/_next/static/chunks/0fpbvpzg-omn0.js +0 -1
- package/dist/ui/static/_next/static/chunks/0fz9qig_5p73f.js +0 -1
- package/dist/ui/static/_next/static/chunks/0hvxxuef1gw9p.js +0 -1
- package/dist/ui/static/_next/static/chunks/0ktvc8fs3spkb.js +0 -1
- package/dist/ui/static/_next/static/chunks/0kvy_ru-kodgv.js +0 -1
- package/dist/ui/static/_next/static/chunks/0parm4c86umwk.js +0 -1
- package/dist/ui/static/_next/static/chunks/0q_08tk2d3m2n.js +0 -1
- package/dist/ui/static/_next/static/chunks/0r2lwkgws6jm8.js +0 -1
- package/dist/ui/static/_next/static/chunks/0t73kckx3olud.js +0 -1
- package/dist/ui/static/_next/static/chunks/0u7vyqk91gjb8.js +0 -1
- package/dist/ui/static/_next/static/chunks/0weojtwxo6qw7.js +0 -1
- package/dist/ui/static/_next/static/chunks/0x-r45yl06rdn.js +0 -1
- package/dist/ui/static/_next/static/chunks/0zlw46qz0crxg.css +0 -1
- package/dist/ui/static/_next/static/chunks/0zuaq_9l5pma_.js +0 -1
- package/dist/ui/static/_next/static/chunks/10kb8j7vggfwk.js +0 -1
- package/dist/ui/static/_next/static/chunks/14qdwomthzucj.js +0 -1
- package/dist/ui/static/_next/static/chunks/1a7ko-_7t4wjo.js +0 -1
- package/dist/ui/static/_next/static/chunks/1czgn62g6km38.js +0 -3
- package/dist/ui/static/_next/static/chunks/1juiifi_xnx68.js +0 -1
- package/dist/ui/static/_next/static/chunks/1m-9yzfpcm7wc.js +0 -1
- package/dist/ui/static/_next/static/chunks/1wg1s3jm779ro.js +0 -3
- package/dist/ui/static/_next/static/chunks/224bbe_3ksnlw.js +0 -1
- package/dist/ui/static/_next/static/chunks/263_uck8el32f.js +0 -1
- package/dist/ui/static/_next/static/chunks/26gmn1z4oegqh.js +0 -1
- package/dist/ui/static/_next/static/chunks/28ylcw-leje_k.js +0 -1
- package/dist/ui/static/_next/static/chunks/2937s9os9u2tn.js +0 -1
- package/dist/ui/static/_next/static/chunks/29rlw6dih8owf.js +0 -1
- package/dist/ui/static/_next/static/chunks/2hq0zlnvfqol9.js +0 -1
- package/dist/ui/static/_next/static/chunks/2o584howfzzak.js +0 -3
- package/dist/ui/static/_next/static/chunks/2p66e_a0j23r8.js +0 -1
- package/dist/ui/static/_next/static/chunks/2r4vn_6anv2cw.js +0 -5
- package/dist/ui/static/_next/static/chunks/2ribv7pn1hr-l.js +0 -1
- package/dist/ui/static/_next/static/chunks/2tb2nt2wvu643.js +0 -1
- package/dist/ui/static/_next/static/chunks/2wuj7qxm6mleh.js +0 -1
- package/dist/ui/static/_next/static/chunks/2yot6vshhc19p.css +0 -1
- package/dist/ui/static/_next/static/chunks/30j8jo5v60ga1.js +0 -2
- package/dist/ui/static/_next/static/chunks/30q9b_aw8driv.js +0 -1
- package/dist/ui/static/_next/static/chunks/387k5c-bf1b2e.js +0 -1
- package/dist/ui/static/_next/static/chunks/388eokaf_2t9k.js +0 -1
- package/dist/ui/static/_next/static/chunks/3_alxp77ewgk_.js +0 -1
- package/dist/ui/static/_next/static/chunks/3_ycy0h8pq58a.js +0 -1
- package/dist/ui/static/_next/static/chunks/3ho1f5n8lir4r.js +0 -1
- package/dist/ui/static/_next/static/chunks/3kgc_j74tblcn.js +0 -1
- package/dist/ui/static/_next/static/chunks/3mxpjroefk8ou.js +0 -1
- package/dist/ui/static/_next/static/chunks/3q5jidle0lb3-.js +0 -1
- package/dist/ui/static/_next/static/chunks/3ua7si017r4dg.js +0 -1
- package/dist/ui/static/_next/static/chunks/3v2iluxqnsug9.css +0 -15
- package/dist/ui/static/_next/static/chunks/3z5f2s7yd35cu.js +0 -1
- package/dist/ui/static/_next/static/chunks/40co1uetczqcs.js +0 -1
- package/vendor/oscharko-dev-keiko-activity-log-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-cli-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-evidence-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-local-knowledge-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-sandbox-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-security-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tools-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-verification-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workflows-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workspace-1.2.0.tgz +0 -0
- /package/dist/ui/static/_next/static/{LNCY1B2FJBOe2AHFXpzB- → Z7PX-H79azsma78__tTUN}/_buildManifest.js +0 -0
- /package/dist/ui/static/_next/static/{LNCY1B2FJBOe2AHFXpzB- → Z7PX-H79azsma78__tTUN}/_clientMiddlewareManifest.js +0 -0
- /package/dist/ui/static/_next/static/{LNCY1B2FJBOe2AHFXpzB- → Z7PX-H79azsma78__tTUN}/_ssgManifest.js +0 -0
|
@@ -16,12 +16,13 @@ DEFAULT_CIRCUIT_BREAKER_CONFIG, } from "@oscharko-dev/keiko-model-gateway";
|
|
|
16
16
|
import { boundedUnsupportedReason, isChatCompatibleDeclaredMode, isLikelyRerankModelId, modelKindForDeclaredMode, } from "@oscharko-dev/keiko-contracts/runtime/gateway";
|
|
17
17
|
import { GATEWAY_SETUP_AUDIT_SCHEMA_VERSION, validateGatewaySetupAuditRecord, } from "@oscharko-dev/keiko-contracts/runtime/gateway-setup-audit";
|
|
18
18
|
import { activityLogEvent, defineActivityLogOperation, } from "@oscharko-dev/keiko-contracts/runtime/observability";
|
|
19
|
-
import { classifyOutboundHost, gatewayFetch, readJsonCapped, } from "@oscharko-dev/keiko-model-gateway/internal/http";
|
|
19
|
+
import { classifyOutboundHost, gatewayFetch, readJsonCapped, GatewayResponseBodyValidationError, } from "@oscharko-dev/keiko-model-gateway/internal/http";
|
|
20
20
|
import { errorBody } from "./routes.js";
|
|
21
21
|
import { currentGatewayConfig, currentGatewayEgressConfig } from "./deps.js";
|
|
22
22
|
import { correlationIdOrUnknown, UNKNOWN_CORRELATION_ID } from "./correlation.js";
|
|
23
23
|
import { emitServerDiagnostic, serverDiagnosticFromError, } from "./diagnostics-log.js";
|
|
24
24
|
import { CONVERSATION_SYSTEM_PROMPT } from "./conversation-prompt.js";
|
|
25
|
+
import { logAutomaticCatalog } from "./gateway-startup-activity.js";
|
|
25
26
|
import { processServerLogSink } from "./process-log-sink.js";
|
|
26
27
|
import { classifyFigmaTransportError, FigmaConnectorError, } from "./qualityIntelligence/figma/figmaConnectorErrors.js";
|
|
27
28
|
import { classifyTokenFailure } from "./qualityIntelligence/figma/figmaTokenSource.js";
|
|
@@ -190,9 +191,9 @@ const GATEWAY_SETUP_METADATA_OPERATION = defineActivityLogOperation({
|
|
|
190
191
|
proofIds: ["gateway.setup.metadata.resolved.line"],
|
|
191
192
|
releaseImpact: "patch",
|
|
192
193
|
});
|
|
193
|
-
function logSetupMetadataOutcome(input, trace, startedAt, correlationId) {
|
|
194
|
+
function logSetupMetadataOutcome(input, trace, startedAt, correlationId, sink = processServerLogSink()) {
|
|
194
195
|
const failure = input.outcome === "available" ? undefined : input.failure;
|
|
195
|
-
|
|
196
|
+
sink.write(activityLogEvent(GATEWAY_SETUP_METADATA_OPERATION, {
|
|
196
197
|
correlationId: correlationIdOrUnknown(correlationId),
|
|
197
198
|
...(failure === undefined ? {} : { errorKind: failure.errorKind }),
|
|
198
199
|
}, {
|
|
@@ -575,6 +576,17 @@ function genericEndpointProtocolRaw(options) {
|
|
|
575
576
|
...(options.apiVersion === undefined ? {} : { apiVersion: options.apiVersion }),
|
|
576
577
|
};
|
|
577
578
|
}
|
|
579
|
+
function providerCatalogOrigin(modelId, options) {
|
|
580
|
+
const existing = (options.stored ?? options.current)?.providers.find((provider) => provider.modelId === modelId);
|
|
581
|
+
let origin;
|
|
582
|
+
if (options.explicitDeploymentNames?.includes(modelId) === true)
|
|
583
|
+
origin = "explicit";
|
|
584
|
+
else if (existing === undefined)
|
|
585
|
+
origin = options.catalogOrigin;
|
|
586
|
+
else
|
|
587
|
+
origin = existing.catalogOrigin;
|
|
588
|
+
return origin === undefined ? {} : { catalogOrigin: origin };
|
|
589
|
+
}
|
|
578
590
|
function providerRaw(modelId, baseUrl, apiKey, options = {}) {
|
|
579
591
|
const defaultCapability = createDefaultSetupCapability(modelId, baseUrl, options.embeddingModelIds, options);
|
|
580
592
|
const supportsResponseFormat = options.responseFormatModelIds?.includes(modelId) === true;
|
|
@@ -584,6 +596,7 @@ function providerRaw(modelId, baseUrl, apiKey, options = {}) {
|
|
|
584
596
|
apiKey,
|
|
585
597
|
apiKeyHeaderName: options.apiKeyHeaderName ?? DEFAULT_API_KEY_HEADER_NAME,
|
|
586
598
|
...genericEndpointProtocolRaw(options),
|
|
599
|
+
...providerCatalogOrigin(modelId, options),
|
|
587
600
|
...modelTokenCounterMetadata(options, modelId),
|
|
588
601
|
capability: {
|
|
589
602
|
...defaultCapability,
|
|
@@ -891,12 +904,16 @@ function stripDerivedVoicePersonas(capability) {
|
|
|
891
904
|
// the preserve-existing save path round-trips a parsed config back to raw for persistence, and the
|
|
892
905
|
// Issue #1557 voice-persona round-trip (voiceProfiles preserved, derived supportedVoicePersonas
|
|
893
906
|
// stripped and re-derived on reload — ADR-0094 D2) is pinned directly against this function.
|
|
907
|
+
function storedCatalogOrigin(provider) {
|
|
908
|
+
return provider.catalogOrigin === undefined ? {} : { catalogOrigin: provider.catalogOrigin };
|
|
909
|
+
}
|
|
894
910
|
function rawProviderFromCurrent(provider, capability, timeoutMs) {
|
|
895
911
|
return {
|
|
896
912
|
modelId: provider.modelId,
|
|
897
913
|
baseUrl: provider.baseUrl,
|
|
898
|
-
|
|
914
|
+
...rawProviderCredential(provider),
|
|
899
915
|
apiKeyHeaderName: provider.apiKeyHeaderName ?? DEFAULT_API_KEY_HEADER_NAME,
|
|
916
|
+
...storedCatalogOrigin(provider),
|
|
900
917
|
...(provider.endpointStyle === undefined ? {} : { endpointStyle: provider.endpointStyle }),
|
|
901
918
|
...(provider.apiVersion === undefined ? {} : { apiVersion: provider.apiVersion }),
|
|
902
919
|
...(provider.outputTokenParameter === undefined
|
|
@@ -918,6 +935,28 @@ function rawProviderFromCurrent(provider, capability, timeoutMs) {
|
|
|
918
935
|
...(capability === undefined ? {} : { capability: stripDerivedVoicePersonas(capability) }),
|
|
919
936
|
};
|
|
920
937
|
}
|
|
938
|
+
function rawProviderCredential(provider) {
|
|
939
|
+
return provider.apiKeySourceModelId === undefined
|
|
940
|
+
? {
|
|
941
|
+
apiKey: provider.apiKey,
|
|
942
|
+
...(provider.apiKeySecretRef === undefined
|
|
943
|
+
? {}
|
|
944
|
+
: { apiKeySecretRef: provider.apiKeySecretRef }),
|
|
945
|
+
}
|
|
946
|
+
: { apiKeySourceModelId: provider.apiKeySourceModelId };
|
|
947
|
+
}
|
|
948
|
+
// The operator's coding opt-outs (owner decision 2026-10-06: live streaming and the model
|
|
949
|
+
// reasoning display are on unless switched off) are operator blocks no setup step produces: a
|
|
950
|
+
// setup save keeps them verbatim, or an unrelated credential or capability update would silently
|
|
951
|
+
// switch an operator back to the default.
|
|
952
|
+
function codingOperatorSwitches(config) {
|
|
953
|
+
return {
|
|
954
|
+
...(config?.codingStreaming === undefined ? {} : { codingStreaming: config.codingStreaming }),
|
|
955
|
+
...(config?.codingReasoningDisplay === undefined
|
|
956
|
+
? {}
|
|
957
|
+
: { codingReasoningDisplay: config.codingReasoningDisplay }),
|
|
958
|
+
};
|
|
959
|
+
}
|
|
921
960
|
export function rawConfigFromCurrent(config, figmaAccessToken, timeoutMs) {
|
|
922
961
|
return {
|
|
923
962
|
providers: config.providers.map((provider) => rawProviderFromCurrent(provider, config.capabilities?.find((item) => item.id === provider.modelId), timeoutMs)),
|
|
@@ -929,14 +968,20 @@ export function rawConfigFromCurrent(config, figmaAccessToken, timeoutMs) {
|
|
|
929
968
|
...(config.reranker === undefined ? {} : { reranker: config.reranker }),
|
|
930
969
|
...(figmaAccessToken === undefined ? {} : { figma: { accessToken: figmaAccessToken } }),
|
|
931
970
|
...operatorPolicyBlocks(config),
|
|
971
|
+
...codingOperatorSwitches(config),
|
|
932
972
|
};
|
|
933
973
|
}
|
|
934
974
|
// Operator-declared blocks no setup step produces: they survive every rebuild verbatim, so a
|
|
935
|
-
// capability update never drops the grounded-answer policy
|
|
975
|
+
// capability update never drops the grounded-answer policy, the PR branding (PR #3678) or the
|
|
976
|
+
// coding outage window (#3873). Present-only, never truthy: an explicit `codingOutageWindowMs: 0`
|
|
977
|
+
// is the operator's fail-fast opt-out and must survive a save as well.
|
|
936
978
|
function operatorPolicyBlocks(config) {
|
|
937
979
|
return {
|
|
938
980
|
...(config?.groundedAnswers === undefined ? {} : { groundedAnswers: config.groundedAnswers }),
|
|
939
981
|
...(config?.branding === undefined ? {} : { branding: config.branding }),
|
|
982
|
+
...(config?.codingOutageWindowMs === undefined
|
|
983
|
+
? {}
|
|
984
|
+
: { codingOutageWindowMs: config.codingOutageWindowMs }),
|
|
940
985
|
};
|
|
941
986
|
}
|
|
942
987
|
function rawCapabilityIsVoice(value) {
|
|
@@ -1216,23 +1261,15 @@ export function modelIdFromDiscoveryItem(item) {
|
|
|
1216
1261
|
? undefined
|
|
1217
1262
|
: classified.id;
|
|
1218
1263
|
}
|
|
1219
|
-
//
|
|
1220
|
-
//
|
|
1221
|
-
|
|
1222
|
-
export function parseModelDiscovery(payload, correlationId) {
|
|
1264
|
+
// Setup remains strict on empty discovery. Runtime refresh admits a complete empty listing,
|
|
1265
|
+
// but rejects malformed entries so a partial response cannot remove active models.
|
|
1266
|
+
export function parseModelDiscovery(payload, correlationId, options) {
|
|
1223
1267
|
if (!isRecord(payload) || !Array.isArray(payload.data)) {
|
|
1224
1268
|
throw new Error("model discovery response must contain a data array");
|
|
1225
1269
|
}
|
|
1226
1270
|
// An alias may route to any deployment. Its usable geometry is their intersection; list order
|
|
1227
1271
|
// must never grant the largest deployment's capabilities to its smaller peers.
|
|
1228
|
-
const
|
|
1229
|
-
for (const item of payload.data) {
|
|
1230
|
-
const classified = classifyDiscoveryItem(item);
|
|
1231
|
-
if (classified === undefined)
|
|
1232
|
-
continue;
|
|
1233
|
-
collectDiscoveryDeployment(byId, classified);
|
|
1234
|
-
}
|
|
1235
|
-
const entries = [...byId.values()];
|
|
1272
|
+
const entries = discoveryEntries(payload.data, options?.allowEmpty === true);
|
|
1236
1273
|
// LiteLLM declares audio roles in /model/info. Preserve the existing chat/embedding discovery
|
|
1237
1274
|
// contract while routing these declarations to Voice setup; a Whisper alias is never a chat model.
|
|
1238
1275
|
const voiceEntries = entries.filter((entry) => entry.kind === "voice");
|
|
@@ -1251,9 +1288,23 @@ export function parseModelDiscovery(payload, correlationId) {
|
|
|
1251
1288
|
const boundedVoice = voiceEntries.slice(0, MAX_DISCOVERED_MODELS);
|
|
1252
1289
|
for (const entry of [...usable, ...boundedVoice, ...unsupported.slice(0, MAX_DISCOVERED_MODELS)])
|
|
1253
1290
|
logDiscoveryMerge(entry, correlationId);
|
|
1254
|
-
|
|
1291
|
+
if (options?.allowEmpty !== true)
|
|
1292
|
+
assertDiscoveryYieldedUsableModels([...usable, ...boundedVoice], unsupported);
|
|
1255
1293
|
return discoveredModelLists(usable, boundedVoice, unsupported, wasTruncated);
|
|
1256
1294
|
}
|
|
1295
|
+
function discoveryEntries(data, runtime) {
|
|
1296
|
+
const byId = new Map();
|
|
1297
|
+
for (const item of data) {
|
|
1298
|
+
const classified = classifyDiscoveryItem(item);
|
|
1299
|
+
if (classified === undefined) {
|
|
1300
|
+
if (runtime)
|
|
1301
|
+
throw new Error("runtime model catalog contains an invalid entry");
|
|
1302
|
+
continue;
|
|
1303
|
+
}
|
|
1304
|
+
collectDiscoveryDeployment(byId, classified);
|
|
1305
|
+
}
|
|
1306
|
+
return [...byId.values()];
|
|
1307
|
+
}
|
|
1257
1308
|
function collectDiscoveryDeployment(byId, incoming) {
|
|
1258
1309
|
const existing = byId.get(incoming.id);
|
|
1259
1310
|
byId.set(incoming.id, {
|
|
@@ -1437,9 +1488,14 @@ async function fetchDiscoveryJson(url, apiKey, apiKeyHeaderName, egress, signal
|
|
|
1437
1488
|
try {
|
|
1438
1489
|
return await readJsonCapped(response);
|
|
1439
1490
|
}
|
|
1440
|
-
catch {
|
|
1491
|
+
catch (cause) {
|
|
1441
1492
|
signal.throwIfAborted();
|
|
1442
|
-
|
|
1493
|
+
if (cause instanceof GatewayResponseBodyValidationError) {
|
|
1494
|
+
throw discoveryTerminal("model discovery response was not readable JSON", "DISCOVERY_INVALID_RESPONSE");
|
|
1495
|
+
}
|
|
1496
|
+
if (cause instanceof TypeError)
|
|
1497
|
+
throw new Error("Model metadata transport was unavailable.", { cause });
|
|
1498
|
+
throw cause;
|
|
1443
1499
|
}
|
|
1444
1500
|
}
|
|
1445
1501
|
async function fetchDiscoveryResponse(url, apiKey, apiKeyHeaderName, egress, signal) {
|
|
@@ -1478,14 +1534,12 @@ async function discoverLiteLlmModelInfo(baseUrl, apiKey, apiKeyHeaderName, egres
|
|
|
1478
1534
|
trace.discoverySource = index === 0 ? "model-info" : "model-group-info";
|
|
1479
1535
|
const outcomeKey = index === 0 ? "modelInfoOutcome" : "modelGroupInfoOutcome";
|
|
1480
1536
|
try {
|
|
1481
|
-
const
|
|
1537
|
+
const payload = await fetchDiscoveryJson(endpoint, apiKey, apiKeyHeaderName, egress, discoveryManagementSignal(signal, deadlineAt, endpoints.length - index));
|
|
1538
|
+
const discovered = parseModelDiscovery(payload, correlationId);
|
|
1482
1539
|
trace[outcomeKey] = "available";
|
|
1483
1540
|
return {
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
id,
|
|
1487
|
-
{ ...discovered.modelMetadata?.[id], tokenCounter: "litellm" },
|
|
1488
|
-
])),
|
|
1541
|
+
payload,
|
|
1542
|
+
models: withLiteLlmTokenCounter(discovered),
|
|
1489
1543
|
};
|
|
1490
1544
|
}
|
|
1491
1545
|
catch (cause) {
|
|
@@ -1508,7 +1562,8 @@ function discoveryManagementSignal(signal, deadlineAt, routesLeft) {
|
|
|
1508
1562
|
AbortSignal.timeout(Math.max(1, remaining - routesLeft * DISCOVERY_FALLBACK_RESERVE_MS)),
|
|
1509
1563
|
]);
|
|
1510
1564
|
}
|
|
1511
|
-
async function defaultGatewayModelDiscovery(baseUrl, apiKey, requestedApiKeyHeaderName, egress, correlationId, trace,
|
|
1565
|
+
async function defaultGatewayModelDiscovery(baseUrl, apiKey, requestedApiKeyHeaderName, egress, correlationId, trace, options) {
|
|
1566
|
+
const { callerSignal, metadataOnly, allowEmpty } = options;
|
|
1512
1567
|
const apiKeyHeaderName = requestedApiKeyHeaderName ?? DEFAULT_API_KEY_HEADER_NAME;
|
|
1513
1568
|
// One existing discovery budget covers the management fallbacks and model list together.
|
|
1514
1569
|
const deadlineAt = Date.now() + DISCOVERY_TIMEOUT_MS;
|
|
@@ -1517,20 +1572,294 @@ async function defaultGatewayModelDiscovery(baseUrl, apiKey, requestedApiKeyHead
|
|
|
1517
1572
|
...(callerSignal === undefined ? [] : [callerSignal]),
|
|
1518
1573
|
]);
|
|
1519
1574
|
const litellmModels = await discoverLiteLlmModelInfo(baseUrl, apiKey, apiKeyHeaderName, egress, correlationId, { signal, deadlineAt, trace });
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1575
|
+
// Explicit human deployment names remain authoritative on gateways without a models route.
|
|
1576
|
+
if (litellmModels !== undefined && metadataOnly)
|
|
1577
|
+
return litellmModels.models;
|
|
1578
|
+
if (litellmModels === undefined)
|
|
1579
|
+
trace.discoverySource = "model-list";
|
|
1524
1580
|
try {
|
|
1525
|
-
const
|
|
1581
|
+
const payload = await fetchDiscoveryJson(modelsEndpoint(baseUrl), apiKey, apiKeyHeaderName, egress, signal);
|
|
1582
|
+
const discovered = listedDiscoveryResult(payload, litellmModels, correlationId, allowEmpty);
|
|
1526
1583
|
trace.modelListOutcome = "available";
|
|
1527
|
-
return discovered;
|
|
1584
|
+
return litellmModels === undefined ? discovered : withLiteLlmTokenCounter(discovered);
|
|
1528
1585
|
}
|
|
1529
1586
|
catch (cause) {
|
|
1530
1587
|
trace.modelListOutcome = discoveryRouteOutcome(cause, signal);
|
|
1531
1588
|
throw cause;
|
|
1532
1589
|
}
|
|
1533
1590
|
}
|
|
1591
|
+
function withLiteLlmTokenCounter(discovered) {
|
|
1592
|
+
return {
|
|
1593
|
+
...discovered,
|
|
1594
|
+
modelMetadata: Object.fromEntries(discovered.modelIds.map((id) => [
|
|
1595
|
+
id,
|
|
1596
|
+
{ ...discovered.modelMetadata?.[id], tokenCounter: "litellm" },
|
|
1597
|
+
])),
|
|
1598
|
+
};
|
|
1599
|
+
}
|
|
1600
|
+
function listedDiscoveryResult(payload, metadata, correlationId, allowEmpty) {
|
|
1601
|
+
if (allowEmpty)
|
|
1602
|
+
assertRuntimeListingComplete(payload);
|
|
1603
|
+
return parseModelDiscovery(metadata === undefined ? payload : listedCatalogWithMetadata(payload, metadata.payload), correlationId, { allowEmpty });
|
|
1604
|
+
}
|
|
1605
|
+
function assertRuntimeListingComplete(payload) {
|
|
1606
|
+
if (discoveryData(payload).some((entry) => classifyDiscoveryItem(entry) === undefined))
|
|
1607
|
+
throw new Error("runtime model catalog contains an invalid entry");
|
|
1608
|
+
}
|
|
1609
|
+
/** Management records enrich exact listed IDs; listing alone is not a live health proof. */
|
|
1610
|
+
function listedCatalogWithMetadata(serving, metadata) {
|
|
1611
|
+
const servingEntries = discoveryData(serving);
|
|
1612
|
+
const byId = discoveryMetadataById(metadata);
|
|
1613
|
+
const seen = new Set();
|
|
1614
|
+
const data = [];
|
|
1615
|
+
for (const entry of servingEntries) {
|
|
1616
|
+
const id = isRecord(entry) ? modelIdFromKnownFields(entry) : undefined;
|
|
1617
|
+
if (id === undefined)
|
|
1618
|
+
continue;
|
|
1619
|
+
const group = byId.get(id);
|
|
1620
|
+
if (group === undefined)
|
|
1621
|
+
data.push(entry);
|
|
1622
|
+
else if (!seen.has(id))
|
|
1623
|
+
data.push(...group);
|
|
1624
|
+
seen.add(id);
|
|
1625
|
+
}
|
|
1626
|
+
return { data };
|
|
1627
|
+
}
|
|
1628
|
+
function discoveryMetadataById(metadata) {
|
|
1629
|
+
const byId = new Map();
|
|
1630
|
+
for (const entry of discoveryData(metadata)) {
|
|
1631
|
+
const id = isRecord(entry) ? modelIdFromKnownFields(entry) : undefined;
|
|
1632
|
+
if (id === undefined)
|
|
1633
|
+
continue;
|
|
1634
|
+
const group = byId.get(id);
|
|
1635
|
+
if (group === undefined)
|
|
1636
|
+
byId.set(id, [entry]);
|
|
1637
|
+
else
|
|
1638
|
+
group.push(entry);
|
|
1639
|
+
}
|
|
1640
|
+
return byId;
|
|
1641
|
+
}
|
|
1642
|
+
function discoveryData(payload) {
|
|
1643
|
+
if (!isRecord(payload) || !Array.isArray(payload.data))
|
|
1644
|
+
throw new Error("model discovery response must contain a data array");
|
|
1645
|
+
return payload.data;
|
|
1646
|
+
}
|
|
1647
|
+
/** Refresh the active LiteLLM catalog using the same bounded, egress-checked discovery as setup. */
|
|
1648
|
+
export function liteLlmDiscoveryConnections(config) {
|
|
1649
|
+
return config.providers.filter((provider, index, providers) => provider.tokenCounter === "litellm" &&
|
|
1650
|
+
!providers
|
|
1651
|
+
.slice(0, index)
|
|
1652
|
+
.some((previous) => previous.tokenCounter === "litellm" && catalogConnectionMatches(provider, previous)));
|
|
1653
|
+
}
|
|
1654
|
+
const CONCLUSIVE_CATALOG_HTTP_STATUSES = new Set([400, 404]);
|
|
1655
|
+
function startupCatalogLogger(deps, provider, config, correlationId, startedAt, background) {
|
|
1656
|
+
const configuredModelCount = config.providers.filter((candidate) => catalogConnectionMatches(candidate, provider)).length;
|
|
1657
|
+
return (outcome, updatedModelCount, retryable, errorKind) => {
|
|
1658
|
+
logAutomaticCatalog(deps, {
|
|
1659
|
+
correlationId,
|
|
1660
|
+
outcome,
|
|
1661
|
+
...(background === undefined ? {} : { phase: "catalog", ...background }),
|
|
1662
|
+
configuredModelCount,
|
|
1663
|
+
updatedModelCount,
|
|
1664
|
+
elapsedMs: Math.max(0, Date.now() - startedAt),
|
|
1665
|
+
retryable,
|
|
1666
|
+
...(errorKind === undefined ? {} : { errorKind }),
|
|
1667
|
+
});
|
|
1668
|
+
};
|
|
1669
|
+
}
|
|
1670
|
+
export async function refreshLiteLlmGatewayCatalog(deps, provider, signal, correlationId, background) {
|
|
1671
|
+
const holder = deps.gatewayConfig;
|
|
1672
|
+
const config = holder?.configured?.() ?? holder?.current();
|
|
1673
|
+
if (config === undefined || holder === undefined)
|
|
1674
|
+
return { succeeded: false, retryable: false };
|
|
1675
|
+
const generation = holder.generation();
|
|
1676
|
+
const trace = createSetupDiscoveryTrace();
|
|
1677
|
+
const startedAt = Date.now();
|
|
1678
|
+
const log = startupCatalogLogger(deps, provider, config, correlationId, startedAt, background);
|
|
1679
|
+
try {
|
|
1680
|
+
const result = await discoverConfiguredGatewayCatalog(deps, provider, config, signal, trace, correlationId);
|
|
1681
|
+
signal.throwIfAborted();
|
|
1682
|
+
const outcome = applyStartupCatalog(holder, generation, provider, result, correlationId, log);
|
|
1683
|
+
logSetupMetadataOutcome({ outcome: "available" }, trace, startedAt, correlationId, deps.activityLog);
|
|
1684
|
+
return outcome;
|
|
1685
|
+
}
|
|
1686
|
+
catch (cause) {
|
|
1687
|
+
const outcome = metadataFailureOutcome(cause, signal);
|
|
1688
|
+
const failure = discoveryFailureDetail(cause, outcome === "cancelled");
|
|
1689
|
+
logSetupMetadataOutcome({ outcome, failure }, trace, startedAt, correlationId, deps.activityLog);
|
|
1690
|
+
const retryable = catalogFailureRetryable(outcome, failure);
|
|
1691
|
+
log(outcome === "cancelled" ? "cancelled" : "failed", 0, retryable, failure.errorKind);
|
|
1692
|
+
return { succeeded: false, retryable };
|
|
1693
|
+
}
|
|
1694
|
+
}
|
|
1695
|
+
function catalogFailureRetryable(outcome, failure) {
|
|
1696
|
+
return (outcome !== "cancelled" &&
|
|
1697
|
+
failure.errorKind !== "permission-denied" &&
|
|
1698
|
+
failure.errorKind !== "validation-failed" &&
|
|
1699
|
+
!CONCLUSIVE_CATALOG_HTTP_STATUSES.has(failure.evidence.httpStatus ?? 0));
|
|
1700
|
+
}
|
|
1701
|
+
function catalogChangeCount(before, after) {
|
|
1702
|
+
const previous = new Map(listConfiguredCapabilities(before).map((model) => [model.id, model]));
|
|
1703
|
+
const next = new Map(listConfiguredCapabilities(after).map((model) => [model.id, model]));
|
|
1704
|
+
return [...new Set([...previous.keys(), ...next.keys()])].filter((id) => JSON.stringify(previous.get(id)) !== JSON.stringify(next.get(id))).length;
|
|
1705
|
+
}
|
|
1706
|
+
function currentCatalogConnection(holder, generation, provider) {
|
|
1707
|
+
const configured = holder.configured?.() ?? holder.current();
|
|
1708
|
+
return holder.generation() === generation &&
|
|
1709
|
+
configured?.providers.some((candidate) => catalogConnectionMatches(candidate, provider)) ===
|
|
1710
|
+
true
|
|
1711
|
+
? configured
|
|
1712
|
+
: undefined;
|
|
1713
|
+
}
|
|
1714
|
+
function commitStartupCatalog(holder, current, updated, generation, correlationId) {
|
|
1715
|
+
if (updated === current)
|
|
1716
|
+
return true;
|
|
1717
|
+
const inventoryChanged = JSON.stringify(updated.providers) !== JSON.stringify(current.providers);
|
|
1718
|
+
if (inventoryChanged)
|
|
1719
|
+
return holder.replaceCatalog?.(updated, generation, correlationId) ?? false;
|
|
1720
|
+
if (holder.refine === undefined)
|
|
1721
|
+
return false;
|
|
1722
|
+
holder.refine(updated, correlationId);
|
|
1723
|
+
return true;
|
|
1724
|
+
}
|
|
1725
|
+
function applyStartupCatalog(holder, generation, provider, result, correlationId, log) {
|
|
1726
|
+
const current = holder.current();
|
|
1727
|
+
const configured = currentCatalogConnection(holder, generation, provider);
|
|
1728
|
+
if (current === undefined || configured === undefined) {
|
|
1729
|
+
log("stale", 0, true);
|
|
1730
|
+
return { succeeded: false, retryable: true };
|
|
1731
|
+
}
|
|
1732
|
+
const updated = refreshedLiteLlmCatalog(current, configured, provider, normalizeDiscoveryResult(result));
|
|
1733
|
+
if (!commitStartupCatalog(holder, current, updated, generation, correlationId)) {
|
|
1734
|
+
log("stale", 0, true);
|
|
1735
|
+
return { succeeded: false, retryable: true };
|
|
1736
|
+
}
|
|
1737
|
+
log(updated === current ? "unchanged" : "applied", catalogChangeCount(current, updated), false);
|
|
1738
|
+
return { succeeded: true, retryable: false };
|
|
1739
|
+
}
|
|
1740
|
+
function discoverConfiguredGatewayCatalog(deps, provider, config, signal, trace, correlationId) {
|
|
1741
|
+
if (deps.gatewayModelDiscovery === undefined)
|
|
1742
|
+
return defaultGatewayModelDiscovery(provider.baseUrl, provider.apiKey, provider.apiKeyHeaderName, config.egress, correlationId, trace, {
|
|
1743
|
+
callerSignal: signal,
|
|
1744
|
+
metadataOnly: !usesAutomaticCatalog(config, provider),
|
|
1745
|
+
allowEmpty: true,
|
|
1746
|
+
});
|
|
1747
|
+
return awaitSetupOperation(deps.gatewayModelDiscovery(provider.baseUrl, provider.apiKey, provider.apiKeyHeaderName, config.egress, correlationId), signal);
|
|
1748
|
+
}
|
|
1749
|
+
function usesAutomaticCatalog(config, connection) {
|
|
1750
|
+
return config.providers.some((provider) => provider.catalogOrigin === "discovered" && catalogConnectionMatches(provider, connection));
|
|
1751
|
+
}
|
|
1752
|
+
export function catalogConnectionMatches(candidate, connection) {
|
|
1753
|
+
return (sharesStoredGatewayConnection(candidate, connection) &&
|
|
1754
|
+
effectiveEndpointStyle(candidate.endpointStyle) ===
|
|
1755
|
+
effectiveEndpointStyle(connection.endpointStyle) &&
|
|
1756
|
+
candidate.apiVersion === connection.apiVersion);
|
|
1757
|
+
}
|
|
1758
|
+
function discoveredProviderConfig(config, connection, id, discovery) {
|
|
1759
|
+
const provider = providerRaw(id, connection.baseUrl, connection.apiKey, {
|
|
1760
|
+
catalogOrigin: "discovered",
|
|
1761
|
+
current: config,
|
|
1762
|
+
apiKeyHeaderName: connection.apiKeyHeaderName,
|
|
1763
|
+
endpointStyle: connection.endpointStyle,
|
|
1764
|
+
apiVersion: connection.apiVersion,
|
|
1765
|
+
timeoutMs: connection.timeoutMs,
|
|
1766
|
+
maxRetries: connection.maxRetries,
|
|
1767
|
+
retryBaseDelayMs: connection.retryBaseDelayMs,
|
|
1768
|
+
embeddingModelIds: discovery.embeddingModelIds,
|
|
1769
|
+
imageInputModelIds: discovery.imageInputModelIds,
|
|
1770
|
+
modelMetadata: { [id]: { ...discovery.modelMetadata[id], tokenCounter: "litellm" } },
|
|
1771
|
+
});
|
|
1772
|
+
const produced = parseGatewayConfig({
|
|
1773
|
+
providers: [
|
|
1774
|
+
{
|
|
1775
|
+
...provider,
|
|
1776
|
+
...(connection.circuitBreaker === undefined
|
|
1777
|
+
? {}
|
|
1778
|
+
: { circuitBreaker: connection.circuitBreaker }),
|
|
1779
|
+
...(connection.outputTokenParameter === undefined
|
|
1780
|
+
? {}
|
|
1781
|
+
: { outputTokenParameter: connection.outputTokenParameter }),
|
|
1782
|
+
},
|
|
1783
|
+
],
|
|
1784
|
+
circuitBreaker: config.circuitBreaker,
|
|
1785
|
+
...(config.egress === undefined ? {} : { egress: config.egress }),
|
|
1786
|
+
});
|
|
1787
|
+
const sourceId = connection.apiKeySourceModelId ?? connection.modelId;
|
|
1788
|
+
return id === sourceId
|
|
1789
|
+
? produced
|
|
1790
|
+
: {
|
|
1791
|
+
...produced,
|
|
1792
|
+
providers: produced.providers.map((candidate) => ({
|
|
1793
|
+
...candidate,
|
|
1794
|
+
apiKeySourceModelId: sourceId,
|
|
1795
|
+
})),
|
|
1796
|
+
};
|
|
1797
|
+
}
|
|
1798
|
+
function reconcileCatalogInventory(active, configured, connection, discovery) {
|
|
1799
|
+
const listed = new Set(discovery.modelIds);
|
|
1800
|
+
const providers = active.providers.filter((provider) => provider.catalogOrigin !== "discovered" ||
|
|
1801
|
+
!catalogConnectionMatches(provider, connection) ||
|
|
1802
|
+
listed.has(provider.modelId) ||
|
|
1803
|
+
discovery.truncated === true);
|
|
1804
|
+
const capabilities = listConfiguredCapabilities(active).filter((model) => providers.some((provider) => provider.modelId === model.id));
|
|
1805
|
+
const automatic = usesAutomaticCatalog(configured, connection);
|
|
1806
|
+
for (const id of automatic ? discovery.modelIds : []) {
|
|
1807
|
+
if (providers.some((provider) => provider.modelId === id))
|
|
1808
|
+
continue;
|
|
1809
|
+
const stored = configured.providers.find((provider) => provider.modelId === id);
|
|
1810
|
+
if (stored !== undefined && !catalogConnectionMatches(stored, connection))
|
|
1811
|
+
continue;
|
|
1812
|
+
const produced = discoveredProviderConfig(configured, connection, id, discovery);
|
|
1813
|
+
providers.push(...produced.providers);
|
|
1814
|
+
capabilities.push(...listConfiguredCapabilities(produced).map((model) => {
|
|
1815
|
+
const retained = stored === undefined ? undefined : findConfiguredCapability(configured, model.id);
|
|
1816
|
+
return retained?.kind === model.kind ? retained : model;
|
|
1817
|
+
}));
|
|
1818
|
+
}
|
|
1819
|
+
return { ...active, providers, capabilities };
|
|
1820
|
+
}
|
|
1821
|
+
function refreshedLiteLlmCatalog(config, configured, connection, discovery) {
|
|
1822
|
+
const inventory = reconcileCatalogInventory(config, configured, connection, discovery);
|
|
1823
|
+
const refreshed = listConfiguredCapabilities(inventory).reduce((updated, model) => {
|
|
1824
|
+
const provider = inventory.providers.find((candidate) => candidate.modelId === model.id);
|
|
1825
|
+
const metadata = discovery.modelMetadata[model.id];
|
|
1826
|
+
if (model.kind !== "chat" ||
|
|
1827
|
+
provider === undefined ||
|
|
1828
|
+
!catalogConnectionMatches(provider, connection) ||
|
|
1829
|
+
metadata === undefined)
|
|
1830
|
+
return updated;
|
|
1831
|
+
const replacement = catalogDeclaredCapability(model, metadata);
|
|
1832
|
+
return {
|
|
1833
|
+
...updated,
|
|
1834
|
+
capabilities: listConfiguredCapabilities(updated).map((existing) => existing.id === model.id ? replacement : existing),
|
|
1835
|
+
};
|
|
1836
|
+
}, inventory);
|
|
1837
|
+
return JSON.stringify(refreshed) === JSON.stringify(config) ? config : refreshed;
|
|
1838
|
+
}
|
|
1839
|
+
function catalogDeclaredLimit(stored, declared) {
|
|
1840
|
+
if (declared === undefined || declared <= 0)
|
|
1841
|
+
return stored;
|
|
1842
|
+
return stored === undefined || stored === 0 ? declared : Math.min(stored, declared);
|
|
1843
|
+
}
|
|
1844
|
+
function catalogDeclaredCapability(model, metadata) {
|
|
1845
|
+
const window = declaresContextWindow(metadata) ? metadata.contextWindow : undefined;
|
|
1846
|
+
const contextWindow = catalogDeclaredContextWindow(model, window);
|
|
1847
|
+
const maxInputTokens = catalogDeclaredLimit(model.maxInputTokens, metadata.maxInputTokens);
|
|
1848
|
+
// A catalog declaration establishes a ceiling; retain smaller accepted or live learned limits.
|
|
1849
|
+
return {
|
|
1850
|
+
...withContextWindowProvenance(model, metadata, { ...model, contextWindow }),
|
|
1851
|
+
...(maxInputTokens === undefined ? {} : { maxInputTokens }),
|
|
1852
|
+
maxOutputTokens: catalogDeclaredLimit(model.maxOutputTokens, metadata.maxOutputTokens) ??
|
|
1853
|
+
model.maxOutputTokens,
|
|
1854
|
+
};
|
|
1855
|
+
}
|
|
1856
|
+
function catalogDeclaredContextWindow(model, window) {
|
|
1857
|
+
if (window === undefined)
|
|
1858
|
+
return model.contextWindow;
|
|
1859
|
+
if (model.contextWindowAssumed === true)
|
|
1860
|
+
return window;
|
|
1861
|
+
return Math.min(model.contextWindow, window);
|
|
1862
|
+
}
|
|
1534
1863
|
function deploymentNameValues(value) {
|
|
1535
1864
|
if (typeof value === "string") {
|
|
1536
1865
|
return value.split(/[\n,]/u);
|
|
@@ -3485,6 +3814,7 @@ function assembleSetupRequest(input) {
|
|
|
3485
3814
|
...input.credentials,
|
|
3486
3815
|
timeoutMs: input.timeoutMs,
|
|
3487
3816
|
deploymentNames: resolved.deploymentNames,
|
|
3817
|
+
explicitDeploymentNames: input.modelLists.deploymentNames,
|
|
3488
3818
|
imageInputModelIds: resolved.imageInputModelIds,
|
|
3489
3819
|
imageInputModelIdsProvided: hasListField(input.raw, "imageInputModelIds"),
|
|
3490
3820
|
submittedEmbeddingModelIds: input.modelLists.embeddingModelIds ?? [],
|
|
@@ -3872,10 +4202,14 @@ async function enrichSelectedDeploymentMetadata(input, validationConfig, selecte
|
|
|
3872
4202
|
return selected;
|
|
3873
4203
|
}
|
|
3874
4204
|
}
|
|
4205
|
+
function setupCatalogOriginOptions(input) {
|
|
4206
|
+
return { explicitDeploymentNames: input.explicitDeploymentNames, catalogOrigin: "discovered" };
|
|
4207
|
+
}
|
|
3875
4208
|
function finalRawConfigForSetup(input, testedModelIds, embeddingModelIds, imageInputModelIds, responseFormatModelIds, modelMetadata, admittedModels) {
|
|
3876
4209
|
const configuredModelIds = mergeChatAndEmbeddingModelIds(testedModelIds, embeddingModelIds);
|
|
3877
4210
|
const rawConfig = buildRawConfig(input.baseUrl, input.apiKey, configuredModelIds, {
|
|
3878
4211
|
preserveExisting: input.preserveExisting,
|
|
4212
|
+
...setupCatalogOriginOptions(input),
|
|
3879
4213
|
apiKeyHeaderName: input.apiKeyHeaderName,
|
|
3880
4214
|
endpointStyle: input.endpointStyle,
|
|
3881
4215
|
apiVersion: input.apiVersion,
|
|
@@ -3900,6 +4234,7 @@ function finalRawConfigForSetup(input, testedModelIds, embeddingModelIds, imageI
|
|
|
3900
4234
|
? {}
|
|
3901
4235
|
: { figma: { accessToken: input.figmaAccessToken } }),
|
|
3902
4236
|
...operatorPolicyBlocks(input.current),
|
|
4237
|
+
...codingOperatorSwitches(input.current),
|
|
3903
4238
|
};
|
|
3904
4239
|
// Verbatim restoration reads the DURABLE stored view: restored values are what the FILE
|
|
3905
4240
|
// holds, so a transient per-model env override neither hides a sharing relationship nor gets
|
|
@@ -4830,6 +5165,7 @@ async function trySetupCandidate(baseUrl, request, deps, gatewayConfig, seams, c
|
|
|
4830
5165
|
apiVersion: request.apiVersion,
|
|
4831
5166
|
timeoutMs: request.timeoutMs,
|
|
4832
5167
|
deploymentNames: request.deploymentNames,
|
|
5168
|
+
explicitDeploymentNames: request.explicitDeploymentNames,
|
|
4833
5169
|
imageInputModelIds: request.imageInputModelIds,
|
|
4834
5170
|
imageInputModelIdsProvided: request.imageInputModelIdsProvided,
|
|
4835
5171
|
storedEmbeddingModelIds: request.storedEmbeddingModelIds,
|
|
@@ -5075,7 +5411,10 @@ function saveExistingConfigUpdate(request, current, deps, gatewayConfig) {
|
|
|
5075
5411
|
const persistedRawConfig = withPersistedGatewayEgress(rawConfig, gatewayConfig.storagePath, deps);
|
|
5076
5412
|
const config = parseGatewayConfig(withInheritedEgress(persistedRawConfig, currentGatewayEgressConfig(deps)), deps.env, linkLocalGatewayOverrideOptions(deps.env));
|
|
5077
5413
|
persistGatewayConfig(persistedRawConfig, gatewayConfig.storagePath, deps, request.correlationId);
|
|
5078
|
-
gatewayConfig.
|
|
5414
|
+
if (gatewayConfig.replaceConfigured === undefined)
|
|
5415
|
+
gatewayConfig.set(config, true, request.correlationId);
|
|
5416
|
+
else
|
|
5417
|
+
gatewayConfig.replaceConfigured(config, request.correlationId);
|
|
5079
5418
|
logVoiceSetupResolution(config, request.correlationId);
|
|
5080
5419
|
recordGatewaySetupAudit(deps, request, config, "existing-config-updated");
|
|
5081
5420
|
return setupSuccessResult(config, config.providers.map((provider) => provider.modelId), []);
|
|
@@ -5107,7 +5446,11 @@ async function verifyAndSaveGatewaySetup(request, current, deps, gatewayConfig)
|
|
|
5107
5446
|
embeddingProbe: gatewayEmbeddingProbe(deps, request.correlationId, request.signal),
|
|
5108
5447
|
rerankerProbe: gatewayRerankerProbe(deps, request.correlationId, request.signal),
|
|
5109
5448
|
discovery: deps.gatewayModelDiscovery ??
|
|
5110
|
-
((...args) => defaultGatewayModelDiscovery(...args,
|
|
5449
|
+
((...args) => defaultGatewayModelDiscovery(...args, {
|
|
5450
|
+
callerSignal: request.signal,
|
|
5451
|
+
metadataOnly: request.deploymentNames.length > 0,
|
|
5452
|
+
allowEmpty: false,
|
|
5453
|
+
})),
|
|
5111
5454
|
};
|
|
5112
5455
|
const figmaFailure = await verifySubmittedFigmaCredential(request, deps);
|
|
5113
5456
|
if (figmaFailure !== undefined) {
|
|
@@ -5187,7 +5530,7 @@ export async function handleGatewaySetup(ctx, deps) {
|
|
|
5187
5530
|
return gatewayUnavailableResult();
|
|
5188
5531
|
}
|
|
5189
5532
|
const { gatewayConfig } = deps;
|
|
5190
|
-
const current = currentGatewayConfig(deps);
|
|
5533
|
+
const current = gatewayConfig.configured?.() ?? currentGatewayConfig(deps);
|
|
5191
5534
|
const stored = durableStoredGatewayConfig(current, gatewayConfig.storagePath, deps, ctx.correlationId);
|
|
5192
5535
|
const bodyResult = await readJsonSetupBody(ctx);
|
|
5193
5536
|
if ("status" in bodyResult) {
|
|
@@ -5366,7 +5709,8 @@ function withPersistedGatewayEgress(raw, storagePath, deps) {
|
|
|
5366
5709
|
return withEgress;
|
|
5367
5710
|
}
|
|
5368
5711
|
function rawConfigForVerifiedCapabilityUpdate(updated, storagePath, deps) {
|
|
5369
|
-
const
|
|
5712
|
+
const configured = deps.gatewayConfig?.forPersistence?.(updated) ?? updated;
|
|
5713
|
+
const raw = rawConfigFromCurrent(configured, configured.figma?.accessToken);
|
|
5370
5714
|
return withPersistedGatewayEgress(raw, storagePath, deps);
|
|
5371
5715
|
}
|
|
5372
5716
|
function persistVerifiedCapabilityUpdate(gatewayConfig, deps, modelId, generation, updated, consumeObservation = true, correlationId = UNKNOWN_CORRELATION_ID) {
|
|
@@ -5389,12 +5733,9 @@ function applyVerifiedCapabilityUpdate(gatewayConfig, modelId, generation, updat
|
|
|
5389
5733
|
// Persistence is synchronous, so no configuration mutation can interleave between the
|
|
5390
5734
|
// generation check in the handler and this consumption. Keep the live observation available
|
|
5391
5735
|
// when durable storage fails, allowing the operator to retry the exact verified update.
|
|
5392
|
-
//
|
|
5393
|
-
//
|
|
5394
|
-
//
|
|
5395
|
-
// probe-only evidence), so preserve that one readiness fact across the wipe. Never replay
|
|
5396
|
-
// feature observations under a new generation: an unrelated apply must not re-stamp a model's
|
|
5397
|
-
// old tool proof as if the model had just been probed.
|
|
5736
|
+
// Applying feature evidence consumes it. Preserve conversation readiness at its original
|
|
5737
|
+
// checkedAt on unchanged active connections; never re-stamp an unrelated model's old tool proof.
|
|
5738
|
+
// The source-retaining catalog facet also keeps inactive credentials out of the active inventory.
|
|
5398
5739
|
const observations = updated.providers
|
|
5399
5740
|
.map((provider) => ({
|
|
5400
5741
|
modelId: provider.modelId,
|
|
@@ -5411,12 +5752,20 @@ function applyVerifiedCapabilityUpdate(gatewayConfig, modelId, generation, updat
|
|
|
5411
5752
|
if (consumeObservation && !gatewayConfig.clearVerifiedCapability(modelId, generation)) {
|
|
5412
5753
|
return staleCapabilityObservationResult();
|
|
5413
5754
|
}
|
|
5414
|
-
gatewayConfig.
|
|
5755
|
+
if (gatewayConfig.replaceCatalog === undefined)
|
|
5756
|
+
gatewayConfig.set(updated, true, correlationId);
|
|
5757
|
+
else if (!gatewayConfig.replaceCatalog(updated, generation, correlationId))
|
|
5758
|
+
return staleCapabilityObservationResult();
|
|
5759
|
+
clearAppliedCapabilityObservations(gatewayConfig, updated);
|
|
5415
5760
|
for (const entry of observations) {
|
|
5416
|
-
gatewayConfig.recordVerifiedCapability(entry.modelId, entry.fields, entry.observation?.checkedAt ?? new Date().toISOString());
|
|
5761
|
+
gatewayConfig.recordVerifiedCapability(entry.modelId, entry.fields, entry.observation?.checkedAt ?? new Date().toISOString(), undefined, entry.observation?.conversationCheckedAt);
|
|
5417
5762
|
}
|
|
5418
5763
|
return { status: 200, body: { ok: true, model: findConfiguredCapability(updated, modelId) } };
|
|
5419
5764
|
}
|
|
5765
|
+
function clearAppliedCapabilityObservations(holder, updated) {
|
|
5766
|
+
for (const provider of updated.providers)
|
|
5767
|
+
holder.clearVerifiedCapability(provider.modelId);
|
|
5768
|
+
}
|
|
5420
5769
|
function preservedVerifiedCapabilityFields(fields) {
|
|
5421
5770
|
return fields.conversationReady === true ? { conversationReady: true } : {};
|
|
5422
5771
|
}
|
|
@@ -5510,6 +5859,57 @@ export function persistAdoptedContextWindow(deps, modelId, contextWindowTokens,
|
|
|
5510
5859
|
wasAssumed: stored.contextWindowAssumed === true,
|
|
5511
5860
|
};
|
|
5512
5861
|
}
|
|
5862
|
+
/** Refines observed citation metadata through the existing sealed capability persistence path. */
|
|
5863
|
+
export function persistObservedCitationBehaviour(deps, modelId, citationBehaviour, observedGeneration, deploymentIdentitySha256, correlationId = UNKNOWN_CORRELATION_ID) {
|
|
5864
|
+
const reconciliation = currentToolCallingReconciliation(deps, observedGeneration);
|
|
5865
|
+
if (reconciliation === undefined)
|
|
5866
|
+
return false;
|
|
5867
|
+
const { current, gatewayConfig } = reconciliation;
|
|
5868
|
+
const refine = gatewayConfig.refine;
|
|
5869
|
+
if (refine === undefined)
|
|
5870
|
+
return false;
|
|
5871
|
+
const provider = current.providers.find((candidate) => candidate.modelId === modelId);
|
|
5872
|
+
const stored = findConfiguredCapability(current, modelId);
|
|
5873
|
+
if (provider === undefined ||
|
|
5874
|
+
stored?.kind !== "chat" ||
|
|
5875
|
+
toolCallingConfigurationFingerprint(provider) !== deploymentIdentitySha256)
|
|
5876
|
+
return false;
|
|
5877
|
+
if (stored.citationBehaviour === citationBehaviour)
|
|
5878
|
+
return true;
|
|
5879
|
+
const updated = withObservedCitationBehaviour(current, stored, citationBehaviour);
|
|
5880
|
+
try {
|
|
5881
|
+
const raw = rawConfigForVerifiedCapabilityUpdate(updated, gatewayConfig.storagePath, deps);
|
|
5882
|
+
persistGatewayConfig(raw, gatewayConfig.storagePath, deps, correlationId);
|
|
5883
|
+
refine.call(gatewayConfig, updated, correlationId);
|
|
5884
|
+
return true;
|
|
5885
|
+
}
|
|
5886
|
+
catch (error) {
|
|
5887
|
+
refine.call(gatewayConfig, withObservedCitationBehaviour(current, stored, undefined), correlationId);
|
|
5888
|
+
emitServerDiagnostic(deps.diagnostics, serverDiagnosticFromError({
|
|
5889
|
+
correlationId,
|
|
5890
|
+
operation: "gateway.capability",
|
|
5891
|
+
source: "gateway-setup.citation-behaviour",
|
|
5892
|
+
error,
|
|
5893
|
+
summary: "Audit or evidence persistence failed.",
|
|
5894
|
+
redact: () => "Observed citation metadata could not be persisted.",
|
|
5895
|
+
}));
|
|
5896
|
+
return false;
|
|
5897
|
+
}
|
|
5898
|
+
}
|
|
5899
|
+
function withObservedCitationBehaviour(current, stored, citationBehaviour) {
|
|
5900
|
+
const { citationBehaviour: _previous, ...withoutObservation } = stored;
|
|
5901
|
+
const replacement = {
|
|
5902
|
+
...withoutObservation,
|
|
5903
|
+
...(citationBehaviour === undefined ? {} : { citationBehaviour }),
|
|
5904
|
+
};
|
|
5905
|
+
const capabilities = [...(current.capabilities ?? [])];
|
|
5906
|
+
const index = capabilities.findIndex((capability) => capability.id === stored.id);
|
|
5907
|
+
if (index === -1)
|
|
5908
|
+
capabilities.push(replacement);
|
|
5909
|
+
else
|
|
5910
|
+
capabilities[index] = replacement;
|
|
5911
|
+
return { ...current, capabilities };
|
|
5912
|
+
}
|
|
5513
5913
|
function applyContextWindowRefinement(gatewayConfig, deps, modelId, updated, correlationId) {
|
|
5514
5914
|
try {
|
|
5515
5915
|
if (gatewayConfig.refine === undefined) {
|