@oscharko-dev/keiko 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -2
- package/dist/ui/csp-hashes.json +7 -7
- package/dist/ui/static/404.html +1 -1
- package/dist/ui/static/__next.__PAGE__.txt +12 -12
- package/dist/ui/static/__next._full.txt +23 -22
- package/dist/ui/static/__next._tree.txt +2 -2
- package/dist/ui/static/_next/static/chunks/014h2nyfet3kr.js +1 -0
- package/dist/ui/static/_next/static/chunks/02ahxxpsbao7z.js +1 -0
- package/dist/ui/static/_next/static/chunks/0851fl0j1ja4e.js +1 -0
- package/dist/ui/static/_next/static/chunks/08896ukd2zxg6.js +1 -0
- package/dist/ui/static/_next/static/chunks/08nml2svyd9vv.js +4 -0
- package/dist/ui/static/_next/static/chunks/08tg5xjyy073b.js +1 -0
- package/dist/ui/static/_next/static/chunks/09p2ty64ellxo.js +1 -0
- package/dist/ui/static/_next/static/chunks/0b7xat6jxvrmr.js +1 -0
- package/dist/ui/static/_next/static/chunks/{196257vfyrtgu.js → 0d3a8-uxb000v.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{388eokaf_2t9k.js → 0jjhji-e9mg99.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0jtp8te-03j1-.js +1 -0
- package/dist/ui/static/_next/static/chunks/0lw_ax6yn_z8w.js +1 -0
- package/dist/ui/static/_next/static/chunks/0oocu54xdbxf3.js +2 -0
- package/dist/ui/static/_next/static/chunks/{3h-rh_lx0l8_3.js → 0pf5ot48kepng.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0rs9egrg2q85w.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3hclt6m3ok4n9.js → 0rsutf6da798_.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0rw0et8bt6w-b.js +1 -0
- package/dist/ui/static/_next/static/chunks/{2b_t95bbpmtej.js → 0su17ctiaqfp0.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0wok-g3ndtvch.js +1 -0
- package/dist/ui/static/_next/static/chunks/0y3402xorco2c.js +1 -0
- package/dist/ui/static/_next/static/chunks/10p1rdlk7n_9w.js +1 -0
- package/dist/ui/static/_next/static/chunks/12aem44im45f-.js +1 -0
- package/dist/ui/static/_next/static/chunks/18kcx5kpyxr16.js +1 -0
- package/dist/ui/static/_next/static/chunks/1ggcq_lho062y.js +1 -0
- package/dist/ui/static/_next/static/chunks/1o-own3kgpojf.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0l72usw6suk0h.js → 1osovjtjgxmbl.js} +1 -1
- package/dist/ui/static/_next/static/chunks/1uu9slkxpbe4y.js +1 -0
- package/dist/ui/static/_next/static/chunks/1vy80v9kp_rqv.js +1 -0
- package/dist/ui/static/_next/static/chunks/1x-sfb1_rl15-.js +1 -0
- package/dist/ui/static/_next/static/chunks/1zqfkyeqq5cl8.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3603jy78awb1p.js → 1zw11x_e-3fzu.js} +1 -1
- package/dist/ui/static/_next/static/chunks/20-u8pg5ve_cz.js +1 -0
- package/dist/ui/static/_next/static/chunks/22zxuap4am9bs.js +1 -0
- package/dist/ui/static/_next/static/chunks/23lstlpeh2rb-.js +1 -0
- package/dist/ui/static/_next/static/chunks/261euyxjrb0lv.js +1 -0
- package/dist/ui/static/_next/static/chunks/2astwwmbb8e53.js +1 -0
- package/dist/ui/static/_next/static/chunks/2duxlo7cg_s7_.js +3 -0
- package/dist/ui/static/_next/static/chunks/2dwrkrp-gqyej.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1m-9yzfpcm7wc.js → 2ef4l5re80dgi.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2g_pljoa8f0e-.js +1 -0
- package/dist/ui/static/_next/static/chunks/{09zc5hgtb7s-z.js → 2h4vqb2rt3mr1.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{3qjkuhjy_-_br.js → 2imh4llefx9d1.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2jsnrkl0syr4y.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0--s8pmsbkf62.js → 2ta3jr_uw2j0x.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{2y98z-sun8_ew.js → 2u5_pu1uc6seh.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2xd3_a4jlxum2.css +1 -0
- package/dist/ui/static/_next/static/chunks/{0mjsj7bp-ukgh.css → 2yuvdrio9ki3a.css} +26 -9
- package/dist/ui/static/_next/static/chunks/3-pcgkdsv7x4z.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0yzmg9aoglud6.js → 3007ncr8g751a.js} +1 -1
- package/dist/ui/static/_next/static/chunks/307xuhrdmetj7.js +1 -0
- package/dist/ui/static/_next/static/chunks/30og31pxg8wrp.js +1 -0
- package/dist/ui/static/_next/static/chunks/32jgtvf2y-f54.js +1 -0
- package/dist/ui/static/_next/static/chunks/35ivnhnxr9dmz.js +1 -0
- package/dist/ui/static/_next/static/chunks/363iuc3t94rie.js +1 -0
- package/dist/ui/static/_next/static/chunks/37qsy798-g74f.js +1 -0
- package/dist/ui/static/_next/static/chunks/37v998g0cm36x.js +1 -0
- package/dist/ui/static/_next/static/chunks/3b05n-007vc3e.js +1 -0
- package/dist/ui/static/_next/static/chunks/3cpuzx4fetu6y.js +1 -0
- package/dist/ui/static/_next/static/chunks/3d27ozm1boe_5.js +3 -0
- package/dist/ui/static/_next/static/chunks/{1a6ri-sriyu-m.js → 3ftqojkan-5cl.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3fwt6-8rc2mya.js +1 -0
- package/dist/ui/static/_next/static/chunks/{196x_tfexoucg.js → 3g4px251sg85e.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3hjs3gk92eave.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1n3b0bhd9q0p6.js → 3l3xw2fmr7pct.js} +3 -3
- package/dist/ui/static/_next/static/chunks/3neoxf-shnu-d.js +1 -0
- package/dist/ui/static/_next/static/chunks/3payvp5ps2fne.css +3 -0
- package/dist/ui/static/_next/static/chunks/3q-93bizla3k1.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3eduf6vevclfm.js → 3qbbcm9fuk494.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{2ta3xj9td_qot.js → 3rhep1yhgo6a7.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{0bpexy600ffpg.js → 3ty06iqiblqi4.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{0iu3dyqe7m7_7.js → 3wz98o059mhtf.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{2kylv1kq1_4p1.js → 3x2p8mgrihuet.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3xi3iilmw9_vy.js +5 -0
- package/dist/ui/static/_next/static/chunks/3zxbqudoeow_a.js +1 -0
- package/dist/ui/static/_next/static/chunks/3zxwlxhzm5swe.js +1 -0
- package/dist/ui/static/_next/static/chunks/{24u-5fslcj3n9.js → 405vbzo164i84.js} +2 -2
- package/dist/ui/static/_next/static/chunks/42pls95xys34g.js +1 -0
- package/dist/ui/static/_next/static/chunks/43z5mfwx4lk4w.js +1 -0
- package/dist/ui/static/_next/static/chunks/{turbopack-2rwr7ign9ynaa.js → turbopack-34k8wgx0iwdzg.js} +1 -1
- package/dist/ui/static/_not-found/__next._full.txt +21 -20
- package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +9 -9
- package/dist/ui/static/_not-found/__next._tree.txt +1 -1
- package/dist/ui/static/_not-found.html +1 -1
- package/dist/ui/static/_not-found.txt +21 -20
- package/dist/ui/static/atlassian-connectors/__next._full.txt +23 -22
- package/dist/ui/static/atlassian-connectors/__next._tree.txt +1 -1
- package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +11 -11
- package/dist/ui/static/atlassian-connectors.html +1 -1
- package/dist/ui/static/atlassian-connectors.txt +23 -22
- package/dist/ui/static/index.html +1 -1
- package/dist/ui/static/index.txt +23 -22
- package/dist/ui/static/launch/__next._full.txt +26 -25
- package/dist/ui/static/launch/__next._tree.txt +2 -2
- package/dist/ui/static/launch/__next.launch.__PAGE__.txt +12 -12
- package/dist/ui/static/launch.html +1 -1
- package/dist/ui/static/launch.txt +26 -25
- package/dist/ui/static/local-knowledge/__next._full.txt +26 -25
- package/dist/ui/static/local-knowledge/__next._tree.txt +2 -2
- package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +12 -12
- package/dist/ui/static/local-knowledge/capsule/__next._full.txt +11 -11
- package/dist/ui/static/local-knowledge/capsule/__next._tree.txt +1 -1
- package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.__PAGE__.txt +11 -11
- package/dist/ui/static/local-knowledge/capsule.html +1 -1
- package/dist/ui/static/local-knowledge/capsule.txt +11 -11
- package/dist/ui/static/local-knowledge.html +1 -1
- package/dist/ui/static/local-knowledge.txt +26 -25
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze.js +26 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.js +112 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts +12 -5
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.js +14 -6
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-retrieval-miss.d.ts +13 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-retrieval-miss.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-retrieval-miss.js +363 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-cli/dist/init.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/init.js +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-browser-activity.d.ts +22 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-browser-activity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-browser-activity.js +50 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.js +137 -32
- package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.d.ts +24 -3
- package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.js +126 -5
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui-browser-handoff.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui-browser-handoff.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui-browser-handoff.js +91 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui.js +31 -3
- package/node_modules/@oscharko-dev/keiko-cli/package.json +15 -15
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.d.ts +229 -49
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.js +313 -24
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts +2406 -98
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.js +2924 -183
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts +2489 -206
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.js +2867 -35
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts +35 -5
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.js +63 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session-pairing.d.ts +37 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session-pairing.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session-pairing.js +67 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session.d.ts +2 -35
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session.js +1 -62
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-repository-search.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-repository-search.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-repository-search.js +12 -9
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.d.ts +38 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.js +94 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api-validation.d.ts +3 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api-validation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api-validation.js +64 -17
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.d.ts +8 -4
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.js +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.d.ts +17 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.js +13 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime.js +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-validation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-validation.js +27 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.d.ts +28 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.js +27 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-context.d.ts +28 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-context.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-context.js +60 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/contract-validation-primitives.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/contract-validation-primitives.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/contract-validation-primitives.js +12 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts +70 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.js +266 -5
- package/node_modules/@oscharko-dev/keiko-contracts/dist/evidence.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/evidence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.d.ts +57 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.js +4 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/governed-tool-catalog.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/governed-tool-catalog.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/grounded-assessment.d.ts +10 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/grounded-assessment.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/grounded-assessment.js +52 -12
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts +5 -5
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/no-evidence-answer.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/no-evidence-answer.js +29 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/opencode-service-host.d.ts +42 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/opencode-service-host.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/opencode-service-host.js +151 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report.d.ts +36 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report.js +11 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/tools.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.js +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace.d.ts +41 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace.js +18 -0
- package/node_modules/@oscharko-dev/keiko-contracts/package.json +9 -1
- package/node_modules/@oscharko-dev/keiko-evaluations/package.json +9 -9
- package/node_modules/@oscharko-dev/keiko-evidence/dist/connected-context-evidence.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-evidence/dist/connected-context-evidence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/connected-context-evidence.js +23 -3
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/package.json +4 -4
- package/node_modules/@oscharko-dev/keiko-git/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-git/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-git/package.json +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/package.json +7 -7
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/grounded-answer-runner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/grounded-answer-runner.js +3 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/_internal.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/_internal.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/_internal.js +2 -33
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/html-parser.js +5 -4
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/index.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/index.js +2 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/retrieval-runner.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/retrieval-runner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/retrieval-runner.js +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/scoped-vector-search.d.ts +9 -2
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/scoped-vector-search.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/scoped-vector-search.js +18 -10
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/config.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/config.js +103 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/embedding.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/embedding.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/embedding.js +2 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway-attempt-admission.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway-attempt-admission.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway-attempt-admission.js +44 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway.d.ts +89 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway.js +617 -129
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.js +28 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/index.d.ts +3 -2
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/index.js +2 -2
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.d.ts +23 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.js +50 -5
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/normalize.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/normalize.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/normalize.js +54 -2
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/observability.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/observability.js +2 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.d.ts +11 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.js +262 -58
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/readiness-probe.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/readiness-probe.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/readiness-probe.js +1 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.d.ts +143 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.js +361 -39
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/toolCatalogBridge.d.ts +9 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/toolCatalogBridge.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/toolCatalogBridge.js +62 -16
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/types.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/package.json +4 -4
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/backends.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/backends.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/backends.js +30 -15
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/plan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/plan.js +24 -3
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/runtime-gateway.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/runtime-gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/runtime-gateway.js +31 -6
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/seatbelt-execution-root.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/seatbelt-execution-root.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/seatbelt-execution-root.js +141 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/select.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/select.js +2 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/types.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/package.json +2 -2
- package/node_modules/@oscharko-dev/keiko-sdk/package.json +9 -9
- package/node_modules/@oscharko-dev/keiko-security/dist/errors/gateway.d.ts +10 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/errors/gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/errors/gateway.js +25 -2
- package/node_modules/@oscharko-dev/keiko-security/dist/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/portable-tree-attestation.d.ts +14 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/portable-tree-attestation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/portable-tree-attestation.js +183 -25
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction.d.ts +9 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction.js +16 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-security/package.json +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-activity.d.ts +9 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-activity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-activity.js +47 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.js +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.js +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.js +274 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/ciRepairPromptReservation.d.ts +11 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/ciRepairPromptReservation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/ciRepairPromptReservation.js +21 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.d.ts +50 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.js +25 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairController.d.ts +14 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairController.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairController.js +33 -26
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.d.ts +46 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.js +33 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEventHub.d.ts +51 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEventHub.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEventHub.js +97 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts +8 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.js +265 -29
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.d.ts +37 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.js +416 -34
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorState.d.ts +5 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorState.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorState.js +14 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorTypes.d.ts +21 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorTypes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRefusalEscalation.d.ts +79 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRefusalEscalation.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRefusalEscalation.js +305 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRepositoryInstructions.d.ts +100 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRepositoryInstructions.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRepositoryInstructions.js +363 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRoutes.js +13 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRunEffort.d.ts +71 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRunEffort.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRunEffort.js +294 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeTerminalCause.d.ts +47 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeTerminalCause.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeTerminalCause.js +65 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeVerificationContinuation.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeVerificationContinuation.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeVerificationContinuation.js +79 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.d.ts +18 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.js +201 -42
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.d.ts +6 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.js +733 -17
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.js +262 -57
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.d.ts +185 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.js +57 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolGovernedDelegate.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolGovernedDelegate.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolGovernedDelegate.js +14 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolInvocationRegistry.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolInvocationRegistry.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolInvocationRegistry.js +50 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.d.ts +21 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.js +143 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.d.ts +63 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.js +710 -170
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReplacementEdits.d.ts +108 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReplacementEdits.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReplacementEdits.js +477 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLanePortableCodingRuntime.d.ts +2 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLanePortableCodingRuntime.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLanePortableCodingRuntime.js +53 -46
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.js +51 -52
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.d.ts +48 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.js +179 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/materializedPatchRegistry.d.ts +60 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/materializedPatchRegistry.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/materializedPatchRegistry.js +61 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.d.ts +7 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.js +48 -15
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessPaths.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessPaths.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessPaths.js +14 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessProtocol.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessProtocol.js +11 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/npmLaneRuntimeApprovals.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/npmLaneRuntimeApprovals.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/npmLaneRuntimeApprovals.js +28 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeFunctionalHarness/_governedTools.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeFunctionalHarness/_governedTools.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeFunctionalHarness/_governedTools.js +48 -20
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeLaunchProfile.d.ts +5 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeLaunchProfile.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeLaunchProfile.js +11 -12
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.js +27 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeReconciler.d.ts +6 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeReconciler.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeReconciler.js +15 -15
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.d.ts +17 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.js +198 -43
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.d.ts +97 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.js +1334 -103
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeServiceHostArtifact.d.ts +79 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeServiceHostArtifact.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeServiceHostArtifact.js +176 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.d.ts +177 -25
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.js +131 -38
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2History.d.ts +18 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2History.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2History.js +298 -32
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.js +14 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2LiveText.d.ts +33 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2LiveText.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2LiveText.js +213 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.js +2 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCiRepairRuntime.js +15 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeHost.js +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.d.ts +25 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.js +227 -40
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.d.ts +20 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.js +217 -12
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.js +20 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.d.ts +8 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.functional/repositorySearchProof.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.functional/repositorySearchProof.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.functional/skillDiscoveryProof.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.functional/skillDiscoveryProof.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.js +262 -60
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.d.ts +18 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.js +43 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts +38 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.js +115 -16
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.d.ts +20 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.js +48 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeProcessSupervisor.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeProcessSupervisor.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeProcessSupervisor.js +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextRead.d.ts +100 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextRead.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextRead.js +435 -25
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadAbsence.d.ts +61 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadAbsence.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadAbsence.js +123 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadArtifact.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadArtifact.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadArtifact.js +26 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadNodeProcess.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadNodeProcess.js +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProcess.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProcess.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProcess.js +17 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProtocol.d.ts +69 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProtocol.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProtocol.js +266 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.d.ts +14 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.js +761 -122
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-tool-facade.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-tool-facade.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-tool-facade.js +139 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/command-runner.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/command-runner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/command-runner.js +176 -19
- package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-admission.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-admission.js +72 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-log.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-log.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-log.js +48 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/correlation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/correlation.js +8 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/credentialVault.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/credentialVault.js +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts +39 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.js +234 -77
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.js +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentAuthorityRegistry.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentAuthorityRegistry.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentAuthorityRegistry.js +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRootBoundary.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRootBoundary.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRootBoundary.js +60 -12
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.d.ts +13 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.js +131 -18
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyTargets.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyTargets.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyTargets.js +44 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/changesetLineBreakProvenance.d.ts +26 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/changesetLineBreakProvenance.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/changesetLineBreakProvenance.js +87 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/codingContextProviders.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/codingContextProviders.js +0 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecution.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecution.js +62 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecutionLog.d.ts +128 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecutionLog.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecutionLog.js +213 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRunner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRunner.js +68 -24
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRuntimeTarget.d.ts +13 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRuntimeTarget.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRuntimeTarget.js +121 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts +10 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.js +280 -88
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-route-deadline.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-route-deadline.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-route-deadline.js +11 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts +15 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.js +445 -45
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup-activity.d.ts +31 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup-activity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup-activity.js +74 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup.js +282 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-tool-calling-probe.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-tool-calling-probe.js +7 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitRoutes.js +7 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/gitPorcelainStatus.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitPorcelainStatus.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitPorcelainStatus.js +46 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-activity.d.ts +19 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-activity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-activity.js +177 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-assessment.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-assessment.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-assessment.js +69 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-evidence.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-evidence.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-evidence.js +53 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-repair.d.ts +25 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-repair.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-repair.js +120 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer.d.ts +56 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer.js +194 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-assistant-referents.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-assistant-referents.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-assistant-referents.js +133 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-candidate-ordering.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-candidate-ordering.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-candidate-ordering.js +103 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-capability.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-capability.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-capability.js +79 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.d.ts +22 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.js +112 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.js +117 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-context-pack-reranker.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-context-pack-reranker.js +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-contextual-fallback.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-contextual-fallback.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-contextual-fallback.js +41 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-conversation-continuity.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-conversation-continuity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-conversation-continuity.js +54 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-diagnostic-references.d.ts +42 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-diagnostic-references.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-diagnostic-references.js +91 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-document-evidence.d.ts +6 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-document-evidence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-document-evidence.js +61 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-eval-support.d.ts +28 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-eval-support.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-eval-support.js +140 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.d.ts +9 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.js +40 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-explicit-paths.d.ts +44 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-explicit-paths.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-explicit-paths.js +385 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness-eval.d.ts +5 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness-eval.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness-eval.js +91 -39
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness.d.ts +43 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness.js +247 -34
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-follow-up.d.ts +27 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-follow-up.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-follow-up.js +198 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-latency-eval.d.ts +16 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-latency-eval.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-latency-eval.js +69 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.d.ts +106 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.js +2618 -376
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-plural-synthesis.d.ts +27 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-plural-synthesis.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-plural-synthesis.js +74 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-preselection-reranker.d.ts +25 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-preselection-reranker.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-preselection-reranker.js +93 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-context.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-context.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt.js +26 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-hybrid.d.ts +23 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-hybrid.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-hybrid.js +403 -90
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-multi-source.d.ts +31 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-multi-source.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-multi-source.js +485 -99
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.d.ts +24 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.js +395 -90
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-repo-semantic-search.d.ts +32 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-repo-semantic-search.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-repo-semantic-search.js +370 -48
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.js +22 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank.js +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-retrieval-eval.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-retrieval-eval.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-retrieval-eval.js +25 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-selection-quality.d.ts +19 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-selection-quality.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-selection-quality.js +55 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-semantic-request.d.ts +31 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-semantic-request.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-semantic-request.js +55 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace-cycles.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace-cycles.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace-cycles.js +90 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace.d.ts +44 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace.js +1053 -83
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-recency.d.ts +34 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-recency.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-recency.js +190 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-request.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-request.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-request.js +19 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-grounded-qa.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-grounded-qa.js +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/read-handlers.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/read-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/read-handlers.js +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/server.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/server.js +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chats.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chats.js +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/legacySchemaTestFixture.js +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.js +159 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-routes.js +4 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/routes.js +3 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolDispatch.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolDispatch.js +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolFacadeBridge.d.ts +20 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolFacadeBridge.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolFacadeBridge.js +96 -20
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolPorts.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolPorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolRuntimeAuthority.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolRuntimeAuthority.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolRuntimeAuthority.js +47 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-staging-verification.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-staging-verification.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-staging-verification.js +23 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-verification.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-verification.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-verification.js +12 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-index-provider.js +4 -4
- package/node_modules/@oscharko-dev/keiko-server/package.json +23 -23
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.d.ts +9 -25
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.js +207 -112
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/profile.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/profile.js +15 -2
- package/node_modules/@oscharko-dev/keiko-tool-catalog/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-tools/dist/exec.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/exec.js +44 -5
- package/node_modules/@oscharko-dev/keiko-tools/dist/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch-content.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch-content.js +142 -49
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch-parse.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch-parse.js +14 -3
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch.js +24 -9
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/package.json +7 -7
- package/node_modules/@oscharko-dev/keiko-verification/dist/dependencies.d.ts +16 -4
- package/node_modules/@oscharko-dev/keiko-verification/dist/dependencies.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/dependencies.js +198 -25
- package/node_modules/@oscharko-dev/keiko-verification/dist/failure-location.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/failure-location.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/failure-location.js +34 -17
- package/node_modules/@oscharko-dev/keiko-verification/dist/orchestrator.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/orchestrator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/orchestrator.js +32 -2
- package/node_modules/@oscharko-dev/keiko-verification/dist/plan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/plan.js +25 -16
- package/node_modules/@oscharko-dev/keiko-verification/dist/targeted-project.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-verification/dist/targeted-project.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-verification/dist/targeted-project.js +37 -0
- package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/failure-parse.d.ts +10 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/failure-parse.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/failure-parse.js +93 -15
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.js +16 -16
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/reranker.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/reranker.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.js +296 -15
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/governor.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.js +1 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/intent.d.ts +7 -2
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/intent.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/intent.js +85 -5
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.js +507 -32
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/references.d.ts +19 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/references.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/references.js +159 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.js +13 -16
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/index.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/index.js +2 -2
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/rank.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/rank.js +21 -4
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/scoring.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/scoring.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/scoring.js +44 -29
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/signals.d.ts +5 -2
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/signals.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/signals.js +141 -45
- package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
- package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.js +91 -15
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligence.d.ts +22 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligence.js +661 -106
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligenceSurface.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligenceSurface.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligenceSurface.js +3 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.d.ts +24 -4
- package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.js +89 -26
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractAdapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractAdapter.js +31 -9
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractGraph.d.ts +3 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractGraph.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractGraph.js +35 -5
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractSource.d.ts +7 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractSource.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractSource.js +40 -7
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractTypes.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractTypes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/importGraphEdges.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/importGraphEdges.js +11 -5
- package/node_modules/@oscharko-dev/keiko-workspace/dist/index.d.ts +8 -3
- package/node_modules/@oscharko-dev/keiko-workspace/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/index.js +7 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.d.ts +26 -5
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.js +418 -35
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.js +21 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.js +5 -3
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.js +32 -4
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPolicy.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPolicy.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPolicy.js +41 -22
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.d.ts +14 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.js +97 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRoutes.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRoutes.js +154 -18
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.d.ts +6 -5
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.js +88 -24
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchStream.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchStream.js +21 -14
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapterRequestContext.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapterRequestContext.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapterRequestContext.js +205 -14
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapters.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapters.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapters.js +17 -13
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralExecution.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralExecution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralExecution.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/symbolGraphLexing.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/symbolGraphLexing.js +13 -7
- package/node_modules/@oscharko-dev/keiko-workspace/dist/testSourcePairing.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/types.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/types.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.d.ts +13 -5
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.js +112 -42
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexQueryMatch.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexQueryMatch.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexQueryMatch.js +71 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexStreaming.d.ts +47 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexStreaming.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexStreaming.js +231 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.js +178 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/xmlEntities.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/xmlEntities.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/xmlEntities.js +34 -0
- package/node_modules/@oscharko-dev/keiko-workspace/package.json +4 -3
- package/package.json +28 -27
- package/release-impact.catalog.json +100 -0
- package/vendor/oscharko-dev-keiko-activity-log-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-cli-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-connectors-1.2.0.tgz → oscharko-dev-keiko-connectors-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-evaluations-1.2.0.tgz → oscharko-dev-keiko-evaluations-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-evidence-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-git-1.2.0.tgz → oscharko-dev-keiko-git-1.2.1.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-harness-1.2.0.tgz → oscharko-dev-keiko-harness-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-local-knowledge-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-memory-capture-1.2.0.tgz → oscharko-dev-keiko-memory-capture-1.2.1.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-consolidation-1.2.0.tgz → oscharko-dev-keiko-memory-consolidation-1.2.1.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-governance-1.2.0.tgz → oscharko-dev-keiko-memory-governance-1.2.1.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-retrieval-1.2.0.tgz → oscharko-dev-keiko-memory-retrieval-1.2.1.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-vault-1.2.0.tgz → oscharko-dev-keiko-memory-vault-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-quality-intelligence-1.2.0.tgz → oscharko-dev-keiko-quality-intelligence-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-sandbox-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-sdk-1.2.0.tgz → oscharko-dev-keiko-sdk-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-security-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tools-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-verification-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workflows-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workspace-1.2.1.tgz +0 -0
- package/dist/ui/static/_next/static/chunks/07skh7tlpfo1v.js +0 -1
- package/dist/ui/static/_next/static/chunks/09i_8713x46yr.js +0 -1
- package/dist/ui/static/_next/static/chunks/0a6ri2ug5xf10.js +0 -1
- package/dist/ui/static/_next/static/chunks/0bbrrvuzilpy5.js +0 -1
- package/dist/ui/static/_next/static/chunks/0bg7uh6tq8-dx.js +0 -1
- package/dist/ui/static/_next/static/chunks/0cwy6mtvshbuo.js +0 -1
- package/dist/ui/static/_next/static/chunks/0fpbvpzg-omn0.js +0 -1
- package/dist/ui/static/_next/static/chunks/0fz9qig_5p73f.js +0 -1
- package/dist/ui/static/_next/static/chunks/0hvxxuef1gw9p.js +0 -1
- package/dist/ui/static/_next/static/chunks/0ktvc8fs3spkb.js +0 -1
- package/dist/ui/static/_next/static/chunks/0kvy_ru-kodgv.js +0 -1
- package/dist/ui/static/_next/static/chunks/0parm4c86umwk.js +0 -1
- package/dist/ui/static/_next/static/chunks/0q_08tk2d3m2n.js +0 -1
- package/dist/ui/static/_next/static/chunks/0r2lwkgws6jm8.js +0 -1
- package/dist/ui/static/_next/static/chunks/0t73kckx3olud.js +0 -1
- package/dist/ui/static/_next/static/chunks/0u7vyqk91gjb8.js +0 -1
- package/dist/ui/static/_next/static/chunks/0weojtwxo6qw7.js +0 -1
- package/dist/ui/static/_next/static/chunks/0x-r45yl06rdn.js +0 -1
- package/dist/ui/static/_next/static/chunks/0zlw46qz0crxg.css +0 -1
- package/dist/ui/static/_next/static/chunks/0zuaq_9l5pma_.js +0 -1
- package/dist/ui/static/_next/static/chunks/10kb8j7vggfwk.js +0 -1
- package/dist/ui/static/_next/static/chunks/14qdwomthzucj.js +0 -1
- package/dist/ui/static/_next/static/chunks/1a7ko-_7t4wjo.js +0 -1
- package/dist/ui/static/_next/static/chunks/1czgn62g6km38.js +0 -3
- package/dist/ui/static/_next/static/chunks/1juiifi_xnx68.js +0 -1
- package/dist/ui/static/_next/static/chunks/1wg1s3jm779ro.js +0 -3
- package/dist/ui/static/_next/static/chunks/224bbe_3ksnlw.js +0 -1
- package/dist/ui/static/_next/static/chunks/263_uck8el32f.js +0 -1
- package/dist/ui/static/_next/static/chunks/26gmn1z4oegqh.js +0 -1
- package/dist/ui/static/_next/static/chunks/28ylcw-leje_k.js +0 -1
- package/dist/ui/static/_next/static/chunks/2937s9os9u2tn.js +0 -1
- package/dist/ui/static/_next/static/chunks/29rlw6dih8owf.js +0 -1
- package/dist/ui/static/_next/static/chunks/2hq0zlnvfqol9.js +0 -1
- package/dist/ui/static/_next/static/chunks/2o584howfzzak.js +0 -3
- package/dist/ui/static/_next/static/chunks/2p66e_a0j23r8.js +0 -1
- package/dist/ui/static/_next/static/chunks/2r4vn_6anv2cw.js +0 -5
- package/dist/ui/static/_next/static/chunks/2ribv7pn1hr-l.js +0 -1
- package/dist/ui/static/_next/static/chunks/2tb2nt2wvu643.js +0 -1
- package/dist/ui/static/_next/static/chunks/2yot6vshhc19p.css +0 -1
- package/dist/ui/static/_next/static/chunks/30j8jo5v60ga1.js +0 -2
- package/dist/ui/static/_next/static/chunks/30q9b_aw8driv.js +0 -1
- package/dist/ui/static/_next/static/chunks/387k5c-bf1b2e.js +0 -1
- package/dist/ui/static/_next/static/chunks/3_alxp77ewgk_.js +0 -1
- package/dist/ui/static/_next/static/chunks/3_ycy0h8pq58a.js +0 -1
- package/dist/ui/static/_next/static/chunks/3ho1f5n8lir4r.js +0 -1
- package/dist/ui/static/_next/static/chunks/3kgc_j74tblcn.js +0 -1
- package/dist/ui/static/_next/static/chunks/3mxpjroefk8ou.js +0 -1
- package/dist/ui/static/_next/static/chunks/3q5jidle0lb3-.js +0 -1
- package/dist/ui/static/_next/static/chunks/3ua7si017r4dg.js +0 -1
- package/dist/ui/static/_next/static/chunks/3v2iluxqnsug9.css +0 -15
- package/dist/ui/static/_next/static/chunks/3z5f2s7yd35cu.js +0 -1
- package/dist/ui/static/_next/static/chunks/40co1uetczqcs.js +0 -1
- package/vendor/oscharko-dev-keiko-activity-log-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-cli-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-evidence-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-local-knowledge-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-sandbox-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-security-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tools-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-verification-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workflows-1.2.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workspace-1.2.0.tgz +0 -0
- /package/dist/ui/static/_next/static/{LNCY1B2FJBOe2AHFXpzB- → FS1LLJ_p3joZhfRkXBRhf}/_buildManifest.js +0 -0
- /package/dist/ui/static/_next/static/{LNCY1B2FJBOe2AHFXpzB- → FS1LLJ_p3joZhfRkXBRhf}/_clientMiddlewareManifest.js +0 -0
- /package/dist/ui/static/_next/static/{LNCY1B2FJBOe2AHFXpzB- → FS1LLJ_p3joZhfRkXBRhf}/_ssgManifest.js +0 -0
package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.js
CHANGED
|
@@ -1,15 +1,24 @@
|
|
|
1
|
+
import { createHash } from "node:crypto";
|
|
2
|
+
import { isDenied } from "@oscharko-dev/keiko-workspace";
|
|
1
3
|
import { isDraftToolRequest } from "./codingRuntimeDeliveryIpc.js";
|
|
2
4
|
import { codingWorkbenchCodeTaskDeliveryEffectFor, codingWorkbenchPolicyEffectFor, } from "@oscharko-dev/keiko-contracts/runtime/coding-workbench";
|
|
3
5
|
import { activityLogEvent, defineActivityLogOperation, } from "@oscharko-dev/keiko-contracts/runtime/observability";
|
|
4
6
|
import { createCodingToolFacade } from "./codingToolFacade.js";
|
|
7
|
+
import { changesetPayloadBytes } from "./codingToolReplacementEdits.js";
|
|
5
8
|
import { createCodingToolGovernedDelegate, } from "./codingToolGovernedDelegate.js";
|
|
6
|
-
import { codingToolRequiredActionClasses } from "./codingToolIpc.js";
|
|
9
|
+
import { CODING_TOOL_MAX_BODY_BYTES, parseCodingToolRequest, codingToolRequiredActionClasses, } from "./codingToolIpc.js";
|
|
7
10
|
import { isApprovableToolRequest, commitClaim, } from "./codingToolApprovalBridge.js";
|
|
8
11
|
import { createCanonicalCatalogFacadeBridge, } from "../tool-catalog/catalogToolFacadeBridge.js";
|
|
12
|
+
import { wholeFileDigest, WORKSPACE_READ_REFUSAL_CODES, } from "./codingToolReadEditPorts.js";
|
|
13
|
+
import { isSecureWorkspaceNativeRelativePath, isSecureWorkspaceNativeRange, } from "./secureWorkspaceTextRead.js";
|
|
14
|
+
import { CatalogDispatchFault } from "../tool-catalog/catalogToolRuntimeAuthority.js";
|
|
9
15
|
import { createCodingToolInvocationRegistry } from "./codingToolInvocationRegistry.js";
|
|
10
16
|
import { UNKNOWN_CORRELATION_ID } from "../correlation.js";
|
|
11
17
|
import { processServerLogSink } from "../process-log-sink.js";
|
|
12
18
|
import { defaultServerDiagnosticSink } from "../diagnostics-log.js";
|
|
19
|
+
import { causeChain, keikoStackFrames } from "@oscharko-dev/keiko-activity-log";
|
|
20
|
+
import { CODING_RUNTIME_TOOL_RESULT_OPERATION } from "./codingRuntimeActivityOperations.js";
|
|
21
|
+
import { emitServerDiagnostic, serverDiagnosticFromError } from "../diagnostics-log.js";
|
|
13
22
|
const CODING_RUNTIME_TOOL_AUTHORITY_DENIED_OPERATION = defineActivityLogOperation({
|
|
14
23
|
contractKind: "activity-log-operation",
|
|
15
24
|
schemaVersion: 1,
|
|
@@ -151,7 +160,9 @@ function finishAdmission(input) {
|
|
|
151
160
|
const lease = approvalProofVerifier?.consumeDelivery?.(trusted.runId, request);
|
|
152
161
|
if (lease === undefined)
|
|
153
162
|
return { ok: false, reason: "action-not-authorized" };
|
|
154
|
-
return guarded(authority, context, capability, request, binding, true,
|
|
163
|
+
return guarded(authority, context, capability, request, binding, true, {
|
|
164
|
+
deliveryApproval: lease,
|
|
165
|
+
});
|
|
155
166
|
}
|
|
156
167
|
// #3384 F4 (executeApproved consumes before preflight): the one-use commit approval must
|
|
157
168
|
// NOT be consumed here. `admissionPreflight`'s `approved()` already confirmed a matching,
|
|
@@ -162,13 +173,20 @@ function finishAdmission(input) {
|
|
|
162
173
|
// decides whether to spend it, only once that preflight has cleared (mirrors executeOne's
|
|
163
174
|
// HTTP-route parity comment in verifiedCommitService.ts).
|
|
164
175
|
const approval = { claim: commitClaim(request) };
|
|
165
|
-
return guarded(authority, context, capability, request, binding, true,
|
|
176
|
+
return guarded(authority, context, capability, request, binding, true, {
|
|
177
|
+
deliveryApproval: approval,
|
|
178
|
+
});
|
|
166
179
|
}
|
|
167
180
|
const stage = finishStageAdmission(input);
|
|
168
181
|
if (stage !== undefined)
|
|
169
182
|
return stage;
|
|
170
183
|
const approvalVerified = consumeMatchedApproval(approvalMatched, trusted, request, approvalProofVerifier);
|
|
171
|
-
|
|
184
|
+
// An edit reaches this line only when its admission reserved the run's edit budget
|
|
185
|
+
// (`reserveEditDelegation`), so its guard may top that reservation up once the edit is
|
|
186
|
+
// materialized; a wiring that leaves edits to the editor route never arrives here.
|
|
187
|
+
return guarded(authority, context, capability, request, binding, approvalVerified, {
|
|
188
|
+
chargesMaterializedPatch: request.action === "edit",
|
|
189
|
+
});
|
|
172
190
|
}
|
|
173
191
|
function finishStageAdmission(input) {
|
|
174
192
|
const { request, trusted, approvalProofVerifier, authority, context, capability, binding, approvalMatched, } = input;
|
|
@@ -205,13 +223,19 @@ function approved(envelope, context, request, verifier) {
|
|
|
205
223
|
return (actionClassesAllowed(envelope, request, true) &&
|
|
206
224
|
verifyApprovalProof(envelope, context, request, verifier));
|
|
207
225
|
}
|
|
208
|
-
function guarded(authority, context, capability, request, binding, approvalVerified,
|
|
226
|
+
function guarded(authority, context, capability, request, binding, approvalVerified, extras = {}) {
|
|
227
|
+
const { deliveryApproval, chargesMaterializedPatch } = extras;
|
|
209
228
|
const mutationGuard = {
|
|
210
229
|
...(deliveryApproval === undefined ? {} : { deliveryApproval }),
|
|
211
230
|
check: () => revalidate(authority, context, capability, request, approvalVerified),
|
|
212
231
|
resolveParentAuthority: () => revalidateEnvelope(authority, context, capability, request, approvalVerified)?.authority,
|
|
213
232
|
chargeDelegatedRead: (delegationId, idempotencyKey) => chargeDelegatedRead(authority, context, capability, delegationId, idempotencyKey),
|
|
214
233
|
canChargeDelegatedRead: () => canChargeDelegatedRead(authority, context, capability),
|
|
234
|
+
...(chargesMaterializedPatch === true
|
|
235
|
+
? {
|
|
236
|
+
chargeMaterializedPatch: (patchBytes) => chargeMaterializedPatch(authority, context, capability, request, patchBytes),
|
|
237
|
+
}
|
|
238
|
+
: {}),
|
|
215
239
|
...(binding === undefined ? {} : { binding }),
|
|
216
240
|
};
|
|
217
241
|
return {
|
|
@@ -220,6 +244,37 @@ function guarded(authority, context, capability, request, binding, approvalVerif
|
|
|
220
244
|
...(binding === undefined ? {} : { binding }),
|
|
221
245
|
};
|
|
222
246
|
}
|
|
247
|
+
// #3873 review: the run's patch budget bounds what is applied, and a replacement changeset is only
|
|
248
|
+
// known in that form once it is materialized. Admission reserved the request payload as the floor;
|
|
249
|
+
// the materialized diff's excess is charged here as one more delegation on the same authority
|
|
250
|
+
// record, identified by the action it belongs to and carrying no tool call of its own. A refused
|
|
251
|
+
// charge refuses the edit before any editor action exists, with the authority's closed reason: only
|
|
252
|
+
// `authority-budget-exceeded` is an exhausted budget (#3873 review).
|
|
253
|
+
function chargeMaterializedPatch(authority, context, capability, request, patchBytes) {
|
|
254
|
+
if (!Number.isSafeInteger(patchBytes) || patchBytes < 0) {
|
|
255
|
+
return { ok: false, reason: "invalid-intent" };
|
|
256
|
+
}
|
|
257
|
+
if (patchBytes === 0)
|
|
258
|
+
return { ok: true };
|
|
259
|
+
const trusted = context();
|
|
260
|
+
const resolved = authority.resolveCapabilityForDelegation({
|
|
261
|
+
capability,
|
|
262
|
+
adapterKind: trusted.adapterKind,
|
|
263
|
+
liveFacts: trusted.liveFacts,
|
|
264
|
+
delegationId: materializedPatchIdentity(request.actionId),
|
|
265
|
+
idempotencyKey: materializedPatchIdentity(request.idempotencyKey),
|
|
266
|
+
usage: { toolCalls: 0, patchBytes, promptTokens: 0 },
|
|
267
|
+
workspaceRoot: trusted.workspaceRoot,
|
|
268
|
+
deploymentCeiling: trusted.deploymentCeiling,
|
|
269
|
+
nowIso: trusted.nowIso,
|
|
270
|
+
});
|
|
271
|
+
return resolved.ok ? { ok: true } : { ok: false, reason: resolved.reason };
|
|
272
|
+
}
|
|
273
|
+
// Derived, bounded and collision-free: the registry holds a delegation identity to 256 characters
|
|
274
|
+
// while an action identity may carry 512 bytes, so the suffix rides a digest, never the raw id.
|
|
275
|
+
function materializedPatchIdentity(identity) {
|
|
276
|
+
return `materialized-patch:${createHash("sha256").update(identity, "utf8").digest("hex")}`;
|
|
277
|
+
}
|
|
223
278
|
function producerBinding(context) {
|
|
224
279
|
if (context.runId === undefined ||
|
|
225
280
|
context.envelopeDigest === undefined ||
|
|
@@ -237,32 +292,45 @@ function producerBinding(context) {
|
|
|
237
292
|
};
|
|
238
293
|
}
|
|
239
294
|
export function createRuntimeCodingToolFacade(authority, context, governedPorts, options = {}) {
|
|
240
|
-
const
|
|
295
|
+
const configuration = { ...options };
|
|
296
|
+
const activityLog = configuration.catalogActivityLog ?? processServerLogSink();
|
|
297
|
+
const nativeOptions = {
|
|
298
|
+
...configuration,
|
|
299
|
+
invocationContext: context,
|
|
300
|
+
invocationRegistry: configuration.invocationRegistry ??
|
|
301
|
+
createCodingToolInvocationRegistry({ now: lazyContextClock(context) }),
|
|
302
|
+
};
|
|
241
303
|
const authorityPort = createCodingToolAuthorityPort(authority, context, {
|
|
242
|
-
approvalProofVerifier:
|
|
304
|
+
approvalProofVerifier: configuration.approvalProofVerifier,
|
|
243
305
|
activityLog,
|
|
244
306
|
requireProducerBinding: true,
|
|
245
|
-
reserveEditDelegation:
|
|
307
|
+
reserveEditDelegation: configuration.reserveEditDelegation === true,
|
|
246
308
|
});
|
|
247
|
-
|
|
309
|
+
const catalogBridge = configuration.disableCatalogBridge === true
|
|
310
|
+
? undefined
|
|
311
|
+
: catalogFacadeBridgeFor(authority, authorityPort, context, nativeOptions, activityLog);
|
|
312
|
+
const facade = createCodingToolFacade({
|
|
248
313
|
authority: authorityPort,
|
|
249
|
-
delegate: createCodingToolGovernedDelegate(governedPorts,
|
|
314
|
+
delegate: createCodingToolGovernedDelegate(governedPorts, configuration.ciRepairBudget),
|
|
250
315
|
}, {
|
|
251
|
-
...
|
|
316
|
+
...configuration,
|
|
252
317
|
requireInvocationRegistryForEdits: true,
|
|
253
|
-
catalogBridge
|
|
254
|
-
? undefined
|
|
255
|
-
: catalogFacadeBridgeFor(authority, authorityPort, context, options, activityLog),
|
|
318
|
+
catalogBridge,
|
|
256
319
|
});
|
|
320
|
+
const nativeTextRead = nativeTextReadFacet(catalogBridge, governedPorts, nativeOptions, activityLog);
|
|
321
|
+
return nativeTextRead === undefined ? facade : { ...facade, nativeTextRead };
|
|
257
322
|
}
|
|
258
323
|
/** F8 (#3413): the production CatalogToolBinder-backed bridge for the facade's covered actions
|
|
259
324
|
* (see catalogToolFacadeBridge.ts). Built from the same real catalog used to advertise tools to
|
|
260
|
-
* the model (createOpenCodeGatewayToolCatalogAdvertisement)
|
|
261
|
-
*
|
|
325
|
+
* the model (createOpenCodeGatewayToolCatalogAdvertisement). The fixed private text snapshot
|
|
326
|
+
* contract is compiled by the same catalog owner, without entering that advertisement. */
|
|
262
327
|
function catalogFacadeBridgeFor(authority, authorityPort, context, options, activityLog) {
|
|
263
328
|
const invocationRegistry = options.invocationRegistry ??
|
|
264
329
|
createCodingToolInvocationRegistry({ now: lazyContextClock(context) });
|
|
265
330
|
return createCanonicalCatalogFacadeBridge({
|
|
331
|
+
captureNativeReadAction: nativeReadInvocationRequest,
|
|
332
|
+
toolProfile: options.toolProfile,
|
|
333
|
+
nativeTextSnapshotAvailable: options.nativeTextRead !== undefined,
|
|
266
334
|
authority: authorityPort,
|
|
267
335
|
previewAuthority: createCodingToolAuthorityPreview(authority, context, {
|
|
268
336
|
approvalProofVerifier: options.approvalProofVerifier,
|
|
@@ -549,13 +617,661 @@ function hasClasses(actual, required) {
|
|
|
549
617
|
function hasScope(actual, required) {
|
|
550
618
|
return actual.includes(required);
|
|
551
619
|
}
|
|
620
|
+
// The patch bytes reserved at admission are the request's own payload: the exact bytes of a unified
|
|
621
|
+
// diff, or the replacement text and paths of the replacement form. For the replacement form that is
|
|
622
|
+
// the floor and the request-size pre-check; the materialized diff's excess is charged through the
|
|
623
|
+
// guard's `chargeMaterializedPatch` once it exists (#3873 review: the budget bounds what is applied).
|
|
552
624
|
function delegationUsage(request) {
|
|
553
625
|
return {
|
|
554
626
|
toolCalls: 1,
|
|
555
|
-
patchBytes: request.action === "edit" ?
|
|
627
|
+
patchBytes: request.action === "edit" ? changesetPayloadBytes(request.changeset) : 0,
|
|
556
628
|
promptTokens: 0,
|
|
557
629
|
};
|
|
558
630
|
}
|
|
559
631
|
function deliveryHasScopedApproval(request) {
|
|
560
632
|
return request.intent === "commit" || isDraftToolRequest(request);
|
|
561
633
|
}
|
|
634
|
+
function nativeTextReadFacet(bridge, ports, options, activityLog) {
|
|
635
|
+
const producer = captureNativeTextProducer(options.nativeTextRead);
|
|
636
|
+
const execute = bridge?.executeTextSnapshot;
|
|
637
|
+
const budget = options.ciRepairBudget;
|
|
638
|
+
const maxBodyBytes = Math.min(options.maxBodyBytes ?? CODING_TOOL_MAX_BODY_BYTES, CODING_TOOL_MAX_BODY_BYTES);
|
|
639
|
+
if (bridge === undefined || execute === undefined || producer === undefined)
|
|
640
|
+
return undefined;
|
|
641
|
+
const invocations = nativeReadInvocations(bridge, ports, options, producer, activityLog);
|
|
642
|
+
return Object.freeze({
|
|
643
|
+
...(invocations === undefined ? {} : { invocations }),
|
|
644
|
+
readTextSnapshot: (input) => readNativeTextSnapshot({ bridge, ports, options, activityLog, producer, budget, maxBodyBytes, execute }, input),
|
|
645
|
+
});
|
|
646
|
+
}
|
|
647
|
+
async function readNativeTextSnapshot(deps, input) {
|
|
648
|
+
let correlationId = UNKNOWN_CORRELATION_ID;
|
|
649
|
+
let producerFailure;
|
|
650
|
+
try {
|
|
651
|
+
const request = nativeSnapshotRequest(input, deps.maxBodyBytes);
|
|
652
|
+
if (request === undefined) {
|
|
653
|
+
deps.bridge.recordUnbound({ action: "read" }, input);
|
|
654
|
+
return { ok: false, reason: "invalid-request" };
|
|
655
|
+
}
|
|
656
|
+
const context = deps.options.invocationContext();
|
|
657
|
+
correlationId = context.correlationId ?? context.runId ?? UNKNOWN_CORRELATION_ID;
|
|
658
|
+
return await dispatchNativeTextSnapshot(deps, request, input, (error) => {
|
|
659
|
+
producerFailure = { error };
|
|
660
|
+
reportNativeSnapshotFailure(deps.activityLog, deps.options.catalogDiagnostics, error, {
|
|
661
|
+
correlationId,
|
|
662
|
+
reason: "native-producer-failed",
|
|
663
|
+
});
|
|
664
|
+
});
|
|
665
|
+
}
|
|
666
|
+
catch (error) {
|
|
667
|
+
if (producerFailure === undefined || producerFailure.error !== error)
|
|
668
|
+
reportNativeSnapshotFailure(deps.activityLog, deps.options.catalogDiagnostics, error, {
|
|
669
|
+
correlationId,
|
|
670
|
+
reason: "authority-resolution-failed",
|
|
671
|
+
});
|
|
672
|
+
return { ok: false, reason: "dispatch-refused" };
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
function nativeSnapshotRequest(input, maxBodyBytes) {
|
|
676
|
+
const request = parseCodingToolRequest(input.body, maxBodyBytes);
|
|
677
|
+
return input.headers !== undefined ||
|
|
678
|
+
request?.action !== "read" ||
|
|
679
|
+
request.startLine !== undefined ||
|
|
680
|
+
request.maxLines !== undefined
|
|
681
|
+
? undefined
|
|
682
|
+
: request;
|
|
683
|
+
}
|
|
684
|
+
function captureNativeTextProducer(selected) {
|
|
685
|
+
return selected === undefined
|
|
686
|
+
? undefined
|
|
687
|
+
: Object.freeze({
|
|
688
|
+
readTextSnapshot: selected.readTextSnapshot.bind(selected),
|
|
689
|
+
});
|
|
690
|
+
}
|
|
691
|
+
async function dispatchNativeTextSnapshot(deps, request, input, reportFailure) {
|
|
692
|
+
const { execute, ports, producer, budget, activityLog } = deps;
|
|
693
|
+
let snapshot;
|
|
694
|
+
const delegate = createCodingToolGovernedDelegate({
|
|
695
|
+
...ports,
|
|
696
|
+
repositoryRead: {
|
|
697
|
+
execute: async (read, signal, guard) => {
|
|
698
|
+
snapshot = await readNativeSnapshotProducer(producer, read.relativePath, signal, guard, reportFailure);
|
|
699
|
+
return snapshot.ok ? { status: "completed" } : snapshotFailure(snapshot.reason);
|
|
700
|
+
},
|
|
701
|
+
},
|
|
702
|
+
}, budget, activityLog);
|
|
703
|
+
let delegateWork;
|
|
704
|
+
const result = await execute(request, input, (signal, guard) => {
|
|
705
|
+
delegateWork = delegate.execute(request, signal, guard);
|
|
706
|
+
return delegateWork.then((outcome) => completedSnapshotOutcome(outcome) && snapshot?.ok === true
|
|
707
|
+
? nativeSnapshotReceipt(snapshot)
|
|
708
|
+
: nativeSnapshotFailureOutcome(outcome));
|
|
709
|
+
});
|
|
710
|
+
// The catalog can cancel its response before the admitted read settles. This private facet's
|
|
711
|
+
// promise owns that real work so the composition's existing drain never releases it early.
|
|
712
|
+
if (delegateWork !== undefined)
|
|
713
|
+
await delegateWork;
|
|
714
|
+
if (result.status === "completed" && snapshot?.ok === true)
|
|
715
|
+
return snapshot;
|
|
716
|
+
if (snapshot?.ok === false)
|
|
717
|
+
return snapshot;
|
|
718
|
+
return { ok: false, reason: "dispatch-refused" };
|
|
719
|
+
}
|
|
720
|
+
async function readNativeSnapshotProducer(producer, relativePath, signal, guard, reportFailure) {
|
|
721
|
+
try {
|
|
722
|
+
return await producer.readTextSnapshot({ relativePath, purpose: "native-tool-io" }, signal, guard);
|
|
723
|
+
}
|
|
724
|
+
catch (error) {
|
|
725
|
+
reportFailure(error);
|
|
726
|
+
throw error;
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
function snapshotFailure(reason) {
|
|
730
|
+
const code = Object.entries(WORKSPACE_READ_REFUSAL_CODES).find(([key]) => key === reason)?.[1];
|
|
731
|
+
let reasonCode = code;
|
|
732
|
+
if (reason === "snapshot-unavailable")
|
|
733
|
+
reasonCode = "native-snapshot-unavailable";
|
|
734
|
+
else if (reason === "preflight-refused" || reason === "postflight-refused")
|
|
735
|
+
reasonCode = "native-snapshot-refused";
|
|
736
|
+
return { status: "failed", ...(reasonCode === undefined ? {} : { reasonCode }) };
|
|
737
|
+
}
|
|
738
|
+
function completedSnapshotOutcome(value) {
|
|
739
|
+
return (typeof value === "object" &&
|
|
740
|
+
value !== null &&
|
|
741
|
+
"outcome" in value &&
|
|
742
|
+
value.outcome === "completed");
|
|
743
|
+
}
|
|
744
|
+
function nativeSnapshotFailureOutcome(value) {
|
|
745
|
+
const code = typeof value === "object" &&
|
|
746
|
+
value !== null &&
|
|
747
|
+
"reasonCode" in value &&
|
|
748
|
+
typeof value.reasonCode === "string"
|
|
749
|
+
? value.reasonCode
|
|
750
|
+
: "failed";
|
|
751
|
+
if (code === "native-snapshot-unavailable")
|
|
752
|
+
throw new CatalogDispatchFault("invalid", "unsupported-capability");
|
|
753
|
+
if (code === "native-snapshot-refused")
|
|
754
|
+
throw new CatalogDispatchFault("denied", "hard-denial");
|
|
755
|
+
if (code === "ci-repair-budget-blocked")
|
|
756
|
+
throw new CatalogDispatchFault("denied", "budget-exhausted");
|
|
757
|
+
if (code === "ci-observation-required")
|
|
758
|
+
throw new CatalogDispatchFault("denied", "hard-denial");
|
|
759
|
+
return { status: "failed", evidence: [{ kind: "native-text-snapshot", code }] };
|
|
760
|
+
}
|
|
761
|
+
function nativeSnapshotReceipt(snapshot) {
|
|
762
|
+
const result = {
|
|
763
|
+
status: "completed",
|
|
764
|
+
evidence: [{ kind: "native-text-snapshot", code: "completed" }],
|
|
765
|
+
snapshot: {
|
|
766
|
+
digest: wholeFileDigest(snapshot.text),
|
|
767
|
+
byteCount: snapshot.info.size,
|
|
768
|
+
info: snapshot.info,
|
|
769
|
+
},
|
|
770
|
+
};
|
|
771
|
+
return result;
|
|
772
|
+
}
|
|
773
|
+
const DEFAULT_NATIVE_READ_FAILURE_CONTEXT = Object.freeze({
|
|
774
|
+
correlationId: UNKNOWN_CORRELATION_ID,
|
|
775
|
+
reason: "authority-resolution-failed",
|
|
776
|
+
});
|
|
777
|
+
function reportNativeSnapshotFailure(activityLog, diagnostics, error, context = DEFAULT_NATIVE_READ_FAILURE_CONTEXT) {
|
|
778
|
+
activityLog.write(activityLogEvent(CODING_RUNTIME_TOOL_RESULT_OPERATION, {
|
|
779
|
+
correlationId: context.correlationId,
|
|
780
|
+
level: "warn",
|
|
781
|
+
errorKind: "unavailable",
|
|
782
|
+
}, {
|
|
783
|
+
actionKind: "read",
|
|
784
|
+
state: "discarded",
|
|
785
|
+
reason: context.reason,
|
|
786
|
+
frames: keikoStackFrames(error),
|
|
787
|
+
causeChain: causeChain(error),
|
|
788
|
+
}));
|
|
789
|
+
emitServerDiagnostic(diagnostics, serverDiagnosticFromError({
|
|
790
|
+
correlationId: context.correlationId,
|
|
791
|
+
operation: "coding-runtime.tool-result",
|
|
792
|
+
source: "coding-runtime.native-text-snapshot",
|
|
793
|
+
error,
|
|
794
|
+
redact: () => context.reason === "native-producer-failed"
|
|
795
|
+
? "native-snapshot-producer-unavailable"
|
|
796
|
+
: "native-snapshot-authority-unavailable",
|
|
797
|
+
}));
|
|
798
|
+
}
|
|
799
|
+
function nativeReadInvocations(bridge, ports, options, producer, log) {
|
|
800
|
+
const execute = bridge.executeNativeReadInvocation;
|
|
801
|
+
const registry = options.invocationRegistry;
|
|
802
|
+
if (execute === undefined || registry === undefined)
|
|
803
|
+
return undefined;
|
|
804
|
+
const reportFailure = (error, context) => {
|
|
805
|
+
reportNativeSnapshotFailure(log, options.catalogDiagnostics, error, context);
|
|
806
|
+
};
|
|
807
|
+
const fileIO = captureNativeFileProducer(options.nativeFileIO);
|
|
808
|
+
const deps = { bridge, execute, registry, ports, options, producer, fileIO, log, reportFailure };
|
|
809
|
+
return Object.freeze({
|
|
810
|
+
...(fileIO === undefined ? {} : { fileIO: nativeInvocationFileIO(deps) }),
|
|
811
|
+
signalFor: (identity) => nativeReadOwnerFor(deps, identity)?.signal,
|
|
812
|
+
begin: (input) => beginNativeReadInvocation(deps, input),
|
|
813
|
+
readTextSnapshot: (identity, input) => readNativeInvocationSnapshot(deps, identity, input),
|
|
814
|
+
close: (identity, outcome) => {
|
|
815
|
+
if (!nativeReadOutcome(outcome))
|
|
816
|
+
return Promise.resolve(false);
|
|
817
|
+
return nativeReadOwnerFor(deps, identity)?.close(outcome) ?? Promise.resolve(false);
|
|
818
|
+
},
|
|
819
|
+
});
|
|
820
|
+
}
|
|
821
|
+
function captureNativeFileProducer(selected) {
|
|
822
|
+
return selected === undefined
|
|
823
|
+
? undefined
|
|
824
|
+
: Object.freeze({
|
|
825
|
+
readBytes: selected.readBytes.bind(selected),
|
|
826
|
+
stat: selected.stat.bind(selected),
|
|
827
|
+
list: selected.list.bind(selected),
|
|
828
|
+
});
|
|
829
|
+
}
|
|
830
|
+
function nativeInvocationFileIO(deps) {
|
|
831
|
+
return Object.freeze({
|
|
832
|
+
readBytes: (identity, input) => executeNativeInvocationFile(deps, identity, input, "readBytes", (owner, request) => owner.fileIO?.readBytes(request)),
|
|
833
|
+
stat: (identity, input) => executeNativeInvocationFile(deps, identity, input, "stat", (owner, request) => owner.fileIO?.stat(request)),
|
|
834
|
+
list: (identity, input) => executeNativeInvocationFile(deps, identity, input, "list", (owner, request) => owner.fileIO?.list(request)),
|
|
835
|
+
});
|
|
836
|
+
}
|
|
837
|
+
async function executeNativeInvocationFile(deps, identity, input, operation, invoke) {
|
|
838
|
+
let correlationId = UNKNOWN_CORRELATION_ID;
|
|
839
|
+
try {
|
|
840
|
+
const packet = captureNativeFilePacket(input, operation);
|
|
841
|
+
const bound = nativeReadRegistryIdentity(deps.options, identity);
|
|
842
|
+
if (packet === undefined || bound === undefined)
|
|
843
|
+
return { ok: false, reason: "invalid-request" };
|
|
844
|
+
correlationId = bound.correlationId;
|
|
845
|
+
const digest = createHash("sha256")
|
|
846
|
+
.update(JSON.stringify([operation, packet.relativePath, packet.purpose, packet.range ?? null]))
|
|
847
|
+
.digest("hex");
|
|
848
|
+
const claim = deps.registry.claimNativeReadOperation(bound, bound.invocationId, packet.ordinal, digest);
|
|
849
|
+
if (claim !== "ready")
|
|
850
|
+
return refuseNativeReadPacket(deps, bound.runId, claim);
|
|
851
|
+
const owner = deps.registry.nativeReadOwner(bound, bound.invocationId);
|
|
852
|
+
return ((owner === undefined ? undefined : await invoke(owner, packet)) ?? {
|
|
853
|
+
ok: false,
|
|
854
|
+
reason: "dispatch-refused",
|
|
855
|
+
});
|
|
856
|
+
}
|
|
857
|
+
catch (error) {
|
|
858
|
+
reportNativeSnapshotFailure(deps.log, deps.options.catalogDiagnostics, error, {
|
|
859
|
+
correlationId,
|
|
860
|
+
reason: "authority-resolution-failed",
|
|
861
|
+
});
|
|
862
|
+
return { ok: false, reason: "dispatch-refused" };
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
function captureNativeFilePacket(input, operation) {
|
|
866
|
+
const record = nativeDataRecord(input, ["ordinal", "relativePath", "purpose", "range"]);
|
|
867
|
+
if (!nativeFilePacketHead(record))
|
|
868
|
+
return undefined;
|
|
869
|
+
const range = captureNativeRange(record.range);
|
|
870
|
+
if (range === false || (operation !== "readBytes" && range !== undefined))
|
|
871
|
+
return undefined;
|
|
872
|
+
return Object.freeze({
|
|
873
|
+
ordinal: record.ordinal,
|
|
874
|
+
relativePath: record.relativePath,
|
|
875
|
+
purpose: record.purpose,
|
|
876
|
+
...(range === undefined ? {} : { range }),
|
|
877
|
+
});
|
|
878
|
+
}
|
|
879
|
+
function nativeFilePacketHead(record) {
|
|
880
|
+
if (record === undefined || typeof record.ordinal !== "number")
|
|
881
|
+
return false;
|
|
882
|
+
if (typeof record.relativePath !== "string")
|
|
883
|
+
return false;
|
|
884
|
+
return (isSecureWorkspaceNativeRelativePath(record.relativePath) &&
|
|
885
|
+
!isDenied(record.relativePath) &&
|
|
886
|
+
(record.purpose === "native-tool-io" || record.purpose === "native-instructions"));
|
|
887
|
+
}
|
|
888
|
+
function captureNativeRange(input) {
|
|
889
|
+
if (input === undefined)
|
|
890
|
+
return undefined;
|
|
891
|
+
const record = nativeDataRecord(input, ["offset", "length"]);
|
|
892
|
+
if (typeof record?.offset !== "number" || typeof record.length !== "number")
|
|
893
|
+
return false;
|
|
894
|
+
const range = Object.freeze({ offset: record.offset, length: record.length });
|
|
895
|
+
return isSecureWorkspaceNativeRange(range) ? range : false;
|
|
896
|
+
}
|
|
897
|
+
function nativeReadOwnerFor(deps, identity) {
|
|
898
|
+
try {
|
|
899
|
+
const bound = nativeReadRegistryIdentity(deps.options, identity);
|
|
900
|
+
return bound === undefined
|
|
901
|
+
? undefined
|
|
902
|
+
: deps.registry.nativeReadOwner(bound, bound.invocationId);
|
|
903
|
+
}
|
|
904
|
+
catch (error) {
|
|
905
|
+
reportNativeSnapshotFailure(deps.log, deps.options.catalogDiagnostics, error);
|
|
906
|
+
return undefined;
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
function nativeReadRegistryIdentity(options, identity) {
|
|
910
|
+
const captured = nativeStringRecord(identity, ["actionId", "idempotencyKey", "invocationId"]);
|
|
911
|
+
if (captured === undefined)
|
|
912
|
+
return undefined;
|
|
913
|
+
// The run binding comes from the same actual authority context that produced this facade.
|
|
914
|
+
const context = options.invocationContext();
|
|
915
|
+
const runId = context.runId;
|
|
916
|
+
return runId === undefined
|
|
917
|
+
? undefined
|
|
918
|
+
: { runId, correlationId: context.correlationId ?? runId, ...captured };
|
|
919
|
+
}
|
|
920
|
+
async function readNativeInvocationSnapshot(deps, identity, input) {
|
|
921
|
+
let correlationId = UNKNOWN_CORRELATION_ID;
|
|
922
|
+
try {
|
|
923
|
+
const packet = nativeDataRecord(input, ["ordinal", "relativePath"]);
|
|
924
|
+
const bound = nativeReadRegistryIdentity(deps.options, identity);
|
|
925
|
+
if (packet === undefined || bound === undefined || typeof packet.relativePath !== "string")
|
|
926
|
+
return { ok: false, reason: "invalid-request" };
|
|
927
|
+
if (typeof packet.ordinal !== "number" || !nativeReadPacketPath(packet.relativePath))
|
|
928
|
+
return { ok: false, reason: "invalid-request" };
|
|
929
|
+
correlationId = bound.correlationId;
|
|
930
|
+
const digest = createHash("sha256")
|
|
931
|
+
.update(JSON.stringify(["read-text-snapshot", packet.relativePath]))
|
|
932
|
+
.digest("hex");
|
|
933
|
+
const claim = deps.registry.claimNativeReadOperation(bound, bound.invocationId, packet.ordinal, digest);
|
|
934
|
+
if (claim !== "ready")
|
|
935
|
+
return refuseNativeReadPacket(deps, bound.runId, claim);
|
|
936
|
+
return ((await deps.registry
|
|
937
|
+
.nativeReadOwner(bound, bound.invocationId)
|
|
938
|
+
?.readTextSnapshot(packet.relativePath)) ?? { ok: false, reason: "dispatch-refused" });
|
|
939
|
+
}
|
|
940
|
+
catch (error) {
|
|
941
|
+
reportNativeSnapshotFailure(deps.log, deps.options.catalogDiagnostics, error, {
|
|
942
|
+
correlationId,
|
|
943
|
+
reason: "authority-resolution-failed",
|
|
944
|
+
});
|
|
945
|
+
return { ok: false, reason: "dispatch-refused" };
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
function refuseNativeReadPacket(deps, runId, claim) {
|
|
949
|
+
deps.log.write(activityLogEvent(CODING_RUNTIME_TOOL_RESULT_OPERATION, {
|
|
950
|
+
correlationId: runId,
|
|
951
|
+
level: "warn",
|
|
952
|
+
errorKind: claim === "busy" ? "unavailable" : "authority-denied",
|
|
953
|
+
}, {
|
|
954
|
+
actionKind: "read",
|
|
955
|
+
state: "discarded",
|
|
956
|
+
reason: claim === "busy" ? "unavailable" : "denied",
|
|
957
|
+
}));
|
|
958
|
+
return { ok: false, reason: claim === "busy" ? "busy" : "dispatch-refused" };
|
|
959
|
+
}
|
|
960
|
+
function nativeReadPacketPath(relativePath) {
|
|
961
|
+
if (relativePath.length > 512)
|
|
962
|
+
return false;
|
|
963
|
+
return (parseCodingToolRequest(JSON.stringify({
|
|
964
|
+
action: "read",
|
|
965
|
+
actionId: "native-read-packet",
|
|
966
|
+
idempotencyKey: "native-read-packet",
|
|
967
|
+
relativePath,
|
|
968
|
+
}), CODING_TOOL_MAX_BODY_BYTES)?.action === "read");
|
|
969
|
+
}
|
|
970
|
+
async function beginNativeReadInvocation(deps, input) {
|
|
971
|
+
try {
|
|
972
|
+
return await admitNativeReadInvocation(deps, input);
|
|
973
|
+
}
|
|
974
|
+
catch (error) {
|
|
975
|
+
reportNativeSnapshotFailure(deps.log, deps.options.catalogDiagnostics, error);
|
|
976
|
+
return { ok: false, reason: "dispatch-refused" };
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
function admitNativeReadInvocation(deps, input) {
|
|
980
|
+
const owned = captureNativeReadBegin(input);
|
|
981
|
+
const maxBytes = Math.min(deps.options.maxBodyBytes ?? CODING_TOOL_MAX_BODY_BYTES, CODING_TOOL_MAX_BODY_BYTES);
|
|
982
|
+
const request = owned === undefined || Buffer.byteLength(owned.body) > maxBytes
|
|
983
|
+
? undefined
|
|
984
|
+
: nativeReadInvocationRequest(owned.body);
|
|
985
|
+
if (owned === undefined || request === undefined) {
|
|
986
|
+
deps.bridge.recordUnbound({ action: "read" }, input);
|
|
987
|
+
return Promise.resolve({ ok: false, reason: "invalid-request" });
|
|
988
|
+
}
|
|
989
|
+
let ready;
|
|
990
|
+
const started = new Promise((resolve) => {
|
|
991
|
+
ready = resolve;
|
|
992
|
+
});
|
|
993
|
+
let complete;
|
|
994
|
+
const terminal = new Promise((resolve) => {
|
|
995
|
+
complete = resolve;
|
|
996
|
+
});
|
|
997
|
+
const dispatch = deps.execute(request, owned, (signal, guard, invocationId) => dispatchNativeReadInvocation(deps, request, signal, guard, invocationId, ready, terminal));
|
|
998
|
+
void dispatch.then((result) => {
|
|
999
|
+
complete(result.status === "completed");
|
|
1000
|
+
ready({ ok: false, reason: "dispatch-refused" });
|
|
1001
|
+
}, (error) => {
|
|
1002
|
+
deps.reportFailure(error);
|
|
1003
|
+
complete(false);
|
|
1004
|
+
ready({ ok: false, reason: "dispatch-refused" });
|
|
1005
|
+
});
|
|
1006
|
+
return started;
|
|
1007
|
+
}
|
|
1008
|
+
function parseNativeReadJson(body) {
|
|
1009
|
+
try {
|
|
1010
|
+
return JSON.parse(body);
|
|
1011
|
+
}
|
|
1012
|
+
catch (error) {
|
|
1013
|
+
if (error instanceof SyntaxError)
|
|
1014
|
+
return undefined;
|
|
1015
|
+
throw error;
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
function nativeReadInvocationRequest(body) {
|
|
1019
|
+
const record = nativeDataRecord(parseNativeReadJson(body), [
|
|
1020
|
+
"action",
|
|
1021
|
+
"actionId",
|
|
1022
|
+
"idempotencyKey",
|
|
1023
|
+
"relativePath",
|
|
1024
|
+
]);
|
|
1025
|
+
if (record === undefined ||
|
|
1026
|
+
Object.keys(record).length !== 4 ||
|
|
1027
|
+
record.action !== "read" ||
|
|
1028
|
+
!nativeReadIdentityString(record.actionId) ||
|
|
1029
|
+
!nativeReadIdentityString(record.idempotencyKey) ||
|
|
1030
|
+
typeof record.relativePath !== "string" ||
|
|
1031
|
+
!isSecureWorkspaceNativeRelativePath(record.relativePath) ||
|
|
1032
|
+
isDenied(record.relativePath))
|
|
1033
|
+
return undefined;
|
|
1034
|
+
return {
|
|
1035
|
+
action: "read",
|
|
1036
|
+
actionId: record.actionId,
|
|
1037
|
+
idempotencyKey: record.idempotencyKey,
|
|
1038
|
+
relativePath: record.relativePath,
|
|
1039
|
+
};
|
|
1040
|
+
}
|
|
1041
|
+
function nativeReadIdentityString(value) {
|
|
1042
|
+
return (typeof value === "string" &&
|
|
1043
|
+
value.length > 0 &&
|
|
1044
|
+
value.length <= 256 &&
|
|
1045
|
+
Buffer.byteLength(value, "utf8") <= 512);
|
|
1046
|
+
}
|
|
1047
|
+
function dispatchNativeReadInvocation(deps, request, signal, guard, invocationId, ready, terminal) {
|
|
1048
|
+
let release;
|
|
1049
|
+
const settled = new Promise((resolve) => {
|
|
1050
|
+
release = resolve;
|
|
1051
|
+
});
|
|
1052
|
+
const delegate = createCodingToolGovernedDelegate({
|
|
1053
|
+
...deps.ports,
|
|
1054
|
+
repositoryRead: {
|
|
1055
|
+
execute: (_read, childSignal, childGuard) => {
|
|
1056
|
+
return attachNativeReadLifetime(deps, request, childSignal ?? signal, childGuard, invocationId, { ready, settled, terminal });
|
|
1057
|
+
},
|
|
1058
|
+
},
|
|
1059
|
+
}, deps.options.ciRepairBudget, deps.log);
|
|
1060
|
+
const work = delegate.execute(request, signal, guard);
|
|
1061
|
+
void work.then(release, release);
|
|
1062
|
+
return work.then((value) => completedSnapshotOutcome(value)
|
|
1063
|
+
? { status: "completed", evidence: [{ kind: "native-read-invocation", code: "completed" }] }
|
|
1064
|
+
: nativeSnapshotFailureOutcome(value));
|
|
1065
|
+
}
|
|
1066
|
+
function attachNativeReadLifetime(deps, request, signal, guard, invocationId, completion) {
|
|
1067
|
+
const { ready, settled, terminal } = completion;
|
|
1068
|
+
const identity = Object.freeze({
|
|
1069
|
+
actionId: request.actionId,
|
|
1070
|
+
idempotencyKey: request.idempotencyKey,
|
|
1071
|
+
invocationId,
|
|
1072
|
+
});
|
|
1073
|
+
const bound = nativeReadRegistryIdentity(deps.options, identity);
|
|
1074
|
+
const reportFailure = (error, producerFailure) => {
|
|
1075
|
+
deps.reportFailure(error, {
|
|
1076
|
+
correlationId: bound?.correlationId ?? UNKNOWN_CORRELATION_ID,
|
|
1077
|
+
reason: producerFailure === true ? "native-producer-failed" : "authority-resolution-failed",
|
|
1078
|
+
});
|
|
1079
|
+
};
|
|
1080
|
+
const lifetime = nativeReadLifetime(invocationId, signal, guard, deps, reportFailure, terminal);
|
|
1081
|
+
if (bound === undefined || !deps.registry.attachNativeRead(bound, lifetime.owner)) {
|
|
1082
|
+
lifetime.owner.revoke();
|
|
1083
|
+
ready({ ok: false, reason: "dispatch-refused" });
|
|
1084
|
+
}
|
|
1085
|
+
else
|
|
1086
|
+
ready({ ok: true, identity, settled });
|
|
1087
|
+
return lifetime.work;
|
|
1088
|
+
}
|
|
1089
|
+
function nativeDataRecord(value, keys) {
|
|
1090
|
+
if (typeof value !== "object" || value === null)
|
|
1091
|
+
return undefined;
|
|
1092
|
+
const prototype = Object.getPrototypeOf(value);
|
|
1093
|
+
if (prototype !== Object.prototype && prototype !== null)
|
|
1094
|
+
return undefined;
|
|
1095
|
+
const allowed = new Set(keys);
|
|
1096
|
+
const result = {};
|
|
1097
|
+
for (const key of Reflect.ownKeys(value)) {
|
|
1098
|
+
if (typeof key !== "string" || !allowed.has(key))
|
|
1099
|
+
return undefined;
|
|
1100
|
+
const descriptor = Object.getOwnPropertyDescriptor(value, key);
|
|
1101
|
+
if (descriptor === undefined || !("value" in descriptor))
|
|
1102
|
+
return undefined;
|
|
1103
|
+
result[key] = descriptor.value;
|
|
1104
|
+
}
|
|
1105
|
+
return Object.freeze(result);
|
|
1106
|
+
}
|
|
1107
|
+
function nativeStringRecord(value, keys) {
|
|
1108
|
+
const record = nativeDataRecord(value, keys);
|
|
1109
|
+
if (record === undefined || Object.keys(record).length !== keys.length)
|
|
1110
|
+
return undefined;
|
|
1111
|
+
if (!keys.every((key) => nativeReadIdentityString(record[key])))
|
|
1112
|
+
return undefined;
|
|
1113
|
+
return record;
|
|
1114
|
+
}
|
|
1115
|
+
function captureNativeReadBegin(input) {
|
|
1116
|
+
const record = nativeDataRecord(input, [
|
|
1117
|
+
"body",
|
|
1118
|
+
"capability",
|
|
1119
|
+
"headers",
|
|
1120
|
+
"signal",
|
|
1121
|
+
"context",
|
|
1122
|
+
"offset",
|
|
1123
|
+
"limit",
|
|
1124
|
+
]);
|
|
1125
|
+
if (record === undefined || record.headers !== undefined)
|
|
1126
|
+
return undefined;
|
|
1127
|
+
const { body, capability, signal, offset, limit } = record;
|
|
1128
|
+
const context = nativeStringRecord(record.context, ["sessionID", "messageID", "id", "agent"]);
|
|
1129
|
+
if (context === undefined || !nativeReadBeginValues(body, capability, signal, offset, limit))
|
|
1130
|
+
return undefined;
|
|
1131
|
+
return {
|
|
1132
|
+
body: typeof body === "string" ? body : body.toString("utf8"),
|
|
1133
|
+
capability: capability,
|
|
1134
|
+
signal: signal,
|
|
1135
|
+
context,
|
|
1136
|
+
...(offset === undefined ? {} : { offset: offset }),
|
|
1137
|
+
...(limit === undefined ? {} : { limit: limit }),
|
|
1138
|
+
};
|
|
1139
|
+
}
|
|
1140
|
+
function nativeReadBeginValues(body, capability, signal, offset, limit) {
|
|
1141
|
+
return ((typeof body === "string" || Buffer.isBuffer(body)) &&
|
|
1142
|
+
Buffer.byteLength(body) <= CODING_TOOL_MAX_BODY_BYTES &&
|
|
1143
|
+
(capability === undefined || typeof capability === "string") &&
|
|
1144
|
+
(signal === undefined || signal instanceof AbortSignal) &&
|
|
1145
|
+
optionalNativeInteger(offset, 0) &&
|
|
1146
|
+
validNativeReadLimit(limit));
|
|
1147
|
+
}
|
|
1148
|
+
function validNativeReadLimit(value) {
|
|
1149
|
+
return optionalNativeInteger(value, 0) && (value === undefined || Number(value) <= 2_000);
|
|
1150
|
+
}
|
|
1151
|
+
function optionalNativeInteger(value, minimum) {
|
|
1152
|
+
return (value === undefined ||
|
|
1153
|
+
(typeof value === "number" && Number.isSafeInteger(value) && value >= minimum));
|
|
1154
|
+
}
|
|
1155
|
+
function nativeReadOutcome(value) {
|
|
1156
|
+
return value === "completed" || value === "failed" || value === "cancelled";
|
|
1157
|
+
}
|
|
1158
|
+
function nativeReadLifetime(invocationId, signal, guard, producers, failure, terminal) {
|
|
1159
|
+
const state = { closed: false, pending: 0, outcome: "cancelled" };
|
|
1160
|
+
const { work, resolve } = nativeReadCompletion();
|
|
1161
|
+
const finish = () => {
|
|
1162
|
+
if (!state.closed || state.pending !== 0)
|
|
1163
|
+
return;
|
|
1164
|
+
signal.removeEventListener("abort", abort);
|
|
1165
|
+
let passed = false;
|
|
1166
|
+
try {
|
|
1167
|
+
passed = state.outcome === "completed" && nativeReadLive(signal, guard, failure);
|
|
1168
|
+
}
|
|
1169
|
+
finally {
|
|
1170
|
+
resolve({ status: passed ? "completed" : "failed" });
|
|
1171
|
+
}
|
|
1172
|
+
};
|
|
1173
|
+
const close = (outcome) => {
|
|
1174
|
+
if (!state.closed) {
|
|
1175
|
+
state.closed = true;
|
|
1176
|
+
state.outcome = outcome;
|
|
1177
|
+
}
|
|
1178
|
+
finish();
|
|
1179
|
+
return terminal;
|
|
1180
|
+
};
|
|
1181
|
+
const abort = () => {
|
|
1182
|
+
void close("cancelled");
|
|
1183
|
+
};
|
|
1184
|
+
signal.addEventListener("abort", abort, { once: true });
|
|
1185
|
+
if (signal.aborted)
|
|
1186
|
+
abort();
|
|
1187
|
+
return {
|
|
1188
|
+
work,
|
|
1189
|
+
owner: nativeReadLifetimeOwner(invocationId, signal, guard, producers, failure, {
|
|
1190
|
+
state,
|
|
1191
|
+
close,
|
|
1192
|
+
abort,
|
|
1193
|
+
finish,
|
|
1194
|
+
}),
|
|
1195
|
+
};
|
|
1196
|
+
}
|
|
1197
|
+
function nativeReadCompletion() {
|
|
1198
|
+
let resolve;
|
|
1199
|
+
const work = new Promise((done) => {
|
|
1200
|
+
resolve = done;
|
|
1201
|
+
});
|
|
1202
|
+
return { work, resolve };
|
|
1203
|
+
}
|
|
1204
|
+
function nativeReadLifetimeOwner(invocationId, signal, guard, producers, failure, control) {
|
|
1205
|
+
const { state, close, abort, finish } = control;
|
|
1206
|
+
return Object.freeze({
|
|
1207
|
+
invocationId,
|
|
1208
|
+
signal,
|
|
1209
|
+
revoke: abort,
|
|
1210
|
+
close,
|
|
1211
|
+
...(producers.fileIO === undefined
|
|
1212
|
+
? {}
|
|
1213
|
+
: {
|
|
1214
|
+
fileIO: nativeLifetimeFileIO(state, signal, guard, producers.fileIO, finish, failure),
|
|
1215
|
+
}),
|
|
1216
|
+
readTextSnapshot: (relativePath) => nativeLifetimeSnapshot(state, signal, guard, producers.producer, relativePath, finish, failure),
|
|
1217
|
+
});
|
|
1218
|
+
}
|
|
1219
|
+
function nativeReadLive(signal, guard, reportFailure) {
|
|
1220
|
+
try {
|
|
1221
|
+
return !signal.aborted && guard.check();
|
|
1222
|
+
}
|
|
1223
|
+
catch (error) {
|
|
1224
|
+
reportFailure(error);
|
|
1225
|
+
return false;
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1228
|
+
function nativeReadOpen(state, signal, guard, failure) {
|
|
1229
|
+
return !state.closed && nativeReadLive(signal, guard, failure);
|
|
1230
|
+
}
|
|
1231
|
+
function nativeLifetimeFileIO(state, signal, guard, producer, finish, failure) {
|
|
1232
|
+
return Object.freeze({
|
|
1233
|
+
readBytes: (request) => nativeLifetimeFile(state, signal, guard, () => producer.readBytes(request, signal, guard), finish, failure),
|
|
1234
|
+
stat: (request) => nativeLifetimeFile(state, signal, guard, () => producer.stat(request, signal, guard), finish, failure),
|
|
1235
|
+
list: (request) => nativeLifetimeFile(state, signal, guard, () => producer.list(request, signal, guard), finish, failure),
|
|
1236
|
+
});
|
|
1237
|
+
}
|
|
1238
|
+
async function nativeLifetimeFile(state, signal, guard, invoke, finish, reportFailure) {
|
|
1239
|
+
if (!nativeReadOpen(state, signal, guard, reportFailure))
|
|
1240
|
+
return { ok: false, reason: "dispatch-refused" };
|
|
1241
|
+
state.pending++;
|
|
1242
|
+
try {
|
|
1243
|
+
const result = await invoke();
|
|
1244
|
+
if (nativeReadOpen(state, signal, guard, reportFailure))
|
|
1245
|
+
return result;
|
|
1246
|
+
if (result.ok && "bytes" in result)
|
|
1247
|
+
result.bytes.fill(0);
|
|
1248
|
+
return { ok: false, reason: "dispatch-refused" };
|
|
1249
|
+
}
|
|
1250
|
+
catch (error) {
|
|
1251
|
+
reportFailure(error, true);
|
|
1252
|
+
return { ok: false, reason: "dispatch-refused" };
|
|
1253
|
+
}
|
|
1254
|
+
finally {
|
|
1255
|
+
state.pending--;
|
|
1256
|
+
finish();
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
async function nativeLifetimeSnapshot(state, signal, guard, producer, relativePath, finish, reportFailure) {
|
|
1260
|
+
if (!nativeReadOpen(state, signal, guard, reportFailure))
|
|
1261
|
+
return { ok: false, reason: "dispatch-refused" };
|
|
1262
|
+
state.pending++;
|
|
1263
|
+
try {
|
|
1264
|
+
const result = await producer.readTextSnapshot({ relativePath, purpose: "native-tool-io" }, signal, guard);
|
|
1265
|
+
return !nativeReadOpen(state, signal, guard, reportFailure)
|
|
1266
|
+
? { ok: false, reason: "dispatch-refused" }
|
|
1267
|
+
: result;
|
|
1268
|
+
}
|
|
1269
|
+
catch (error) {
|
|
1270
|
+
reportFailure(error, true);
|
|
1271
|
+
return { ok: false, reason: "dispatch-refused" };
|
|
1272
|
+
}
|
|
1273
|
+
finally {
|
|
1274
|
+
state.pending--;
|
|
1275
|
+
finish();
|
|
1276
|
+
}
|
|
1277
|
+
}
|