@oscharko-dev/keiko 1.1.13 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -5
- package/dist/ui/csp-hashes.json +6 -6
- package/dist/ui/static/404.html +1 -1
- package/dist/ui/static/__next.__PAGE__.txt +13 -13
- package/dist/ui/static/__next._full.txt +24 -22
- package/dist/ui/static/__next._tree.txt +3 -3
- package/dist/ui/static/_next/static/chunks/00_o0v2hokzqm.js +1 -0
- package/dist/ui/static/_next/static/chunks/014h2nyfet3kr.js +1 -0
- package/dist/ui/static/_next/static/chunks/02ahxxpsbao7z.js +1 -0
- package/dist/ui/static/_next/static/chunks/0339vdalk0q6h.js +3 -0
- package/dist/ui/static/_next/static/chunks/{13fx5sqcncq4_.js → 05k2u3763ih_i.js} +1 -1
- package/dist/ui/static/_next/static/chunks/07f-n_9zq-s8q.js +1 -0
- package/dist/ui/static/_next/static/chunks/07l0sfn1-mid2.js +1 -0
- package/dist/ui/static/_next/static/chunks/0851fl0j1ja4e.js +1 -0
- package/dist/ui/static/_next/static/chunks/08896ukd2zxg6.js +1 -0
- package/dist/ui/static/_next/static/chunks/08nml2svyd9vv.js +4 -0
- package/dist/ui/static/_next/static/chunks/08tg5xjyy073b.js +1 -0
- package/dist/ui/static/_next/static/chunks/{2cn33khz2ae-h.js → 08v-jyhi2uk8t.js} +1 -1
- package/dist/ui/static/_next/static/chunks/09p2ty64ellxo.js +1 -0
- package/dist/ui/static/_next/static/chunks/0_yx8_bs1t-27.js +1 -0
- package/dist/ui/static/_next/static/chunks/0b7xat6jxvrmr.js +1 -0
- package/dist/ui/static/_next/static/chunks/0bz731buimrpv.js +1 -0
- package/dist/ui/static/_next/static/chunks/0d3a8-uxb000v.js +1 -0
- package/dist/ui/static/_next/static/chunks/0gf88p0jy1g5w.js +1 -0
- package/dist/ui/static/_next/static/chunks/0jjhji-e9mg99.js +1 -0
- package/dist/ui/static/_next/static/chunks/0jtp8te-03j1-.js +1 -0
- package/dist/ui/static/_next/static/chunks/0lw_ax6yn_z8w.js +1 -0
- package/dist/ui/static/_next/static/chunks/0mcg_spbohpl3.css +1 -0
- package/dist/ui/static/_next/static/chunks/0oocu54xdbxf3.js +2 -0
- package/dist/ui/static/_next/static/chunks/{39w0xj7fyy7sp.js → 0pf5ot48kepng.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0rs9egrg2q85w.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1o2cihsnxhmh6.js → 0rsutf6da798_.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0rw0et8bt6w-b.js +1 -0
- package/dist/ui/static/_next/static/chunks/0su17ctiaqfp0.js +1 -0
- package/dist/ui/static/_next/static/chunks/0w2fp3hjrfx32.js +1 -0
- package/dist/ui/static/_next/static/chunks/0wdn9qetndtsj.js +1 -0
- package/dist/ui/static/_next/static/chunks/0wok-g3ndtvch.js +1 -0
- package/dist/ui/static/_next/static/chunks/0x42c1na2ia6m.js +1 -0
- package/dist/ui/static/_next/static/chunks/0xu2rnpdr4kzd.js +1 -0
- package/dist/ui/static/_next/static/chunks/0y3402xorco2c.js +1 -0
- package/dist/ui/static/_next/static/chunks/10p1rdlk7n_9w.js +1 -0
- package/dist/ui/static/_next/static/chunks/12aem44im45f-.js +1 -0
- package/dist/ui/static/_next/static/chunks/18kcx5kpyxr16.js +1 -0
- package/dist/ui/static/_next/static/chunks/1aivbuztyv67o.js +10 -0
- package/dist/ui/static/_next/static/chunks/1c0u0qq0vwkc4.js +1 -0
- package/dist/ui/static/_next/static/chunks/1f05h21irrvbs.js +1 -0
- package/dist/ui/static/_next/static/chunks/1ggcq_lho062y.js +1 -0
- package/dist/ui/static/_next/static/chunks/1o-own3kgpojf.js +1 -0
- package/dist/ui/static/_next/static/chunks/{25f22x86d_a1n.js → 1osovjtjgxmbl.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{29dj-5kj_vfl_.js → 1qh0x9_258ol2.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{2kh0qihno0n1w.js → 1rp_smu1jjw45.js} +1 -1
- package/dist/ui/static/_next/static/chunks/1uu9slkxpbe4y.js +1 -0
- package/dist/ui/static/_next/static/chunks/1vy80v9kp_rqv.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0l7cc8q83migz.css → 1wj7exxi550gi.css} +1 -1
- package/dist/ui/static/_next/static/chunks/1x-sfb1_rl15-.js +1 -0
- package/dist/ui/static/_next/static/chunks/1zczte6xkwvcl.js +1 -0
- package/dist/ui/static/_next/static/chunks/1zqfkyeqq5cl8.js +1 -0
- package/dist/ui/static/_next/static/chunks/1zudszthinjcb.js +1 -0
- package/dist/ui/static/_next/static/chunks/{18qu5m_in_h3x.js → 1zw11x_e-3fzu.js} +1 -1
- package/dist/ui/static/_next/static/chunks/20-u8pg5ve_cz.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1kacubgk0y2ki.js → 21-6b7rkmtvg8.js} +1 -1
- package/dist/ui/static/_next/static/chunks/22zxuap4am9bs.js +1 -0
- package/dist/ui/static/_next/static/chunks/23lstlpeh2rb-.js +1 -0
- package/dist/ui/static/_next/static/chunks/25x9hf4wdlde7.js +1 -0
- package/dist/ui/static/_next/static/chunks/261euyxjrb0lv.js +1 -0
- package/dist/ui/static/_next/static/chunks/2astwwmbb8e53.js +1 -0
- package/dist/ui/static/_next/static/chunks/2duxlo7cg_s7_.js +3 -0
- package/dist/ui/static/_next/static/chunks/2dwrkrp-gqyej.js +1 -0
- package/dist/ui/static/_next/static/chunks/2ef4l5re80dgi.js +1 -0
- package/dist/ui/static/_next/static/chunks/2g_pljoa8f0e-.js +1 -0
- package/dist/ui/static/_next/static/chunks/{199p3upt-xa37.js → 2h4vqb2rt3mr1.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{3inx1ugcc-jd-.css → 2hu5w89yy7_s-.css} +1 -0
- package/dist/ui/static/_next/static/chunks/2imh4llefx9d1.js +1 -0
- package/dist/ui/static/_next/static/chunks/2jsnrkl0syr4y.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0m1163red7mw7.js → 2nlmtsm3kjmbh.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{1c1gbfapof8m0.js → 2oq1uk07ft9l0.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2ov72plu69iiv.js +1 -0
- package/dist/ui/static/_next/static/chunks/2ta3jr_uw2j0x.js +1 -0
- package/dist/ui/static/_next/static/chunks/2u5_pu1uc6seh.js +1 -0
- package/dist/ui/static/_next/static/chunks/2wuj7qxm6mleh.js +1 -0
- package/dist/ui/static/_next/static/chunks/2xd3_a4jlxum2.css +1 -0
- package/dist/ui/static/_next/static/chunks/2yuvdrio9ki3a.css +39 -0
- package/dist/ui/static/_next/static/chunks/2z5c2glupanq_.js +1 -0
- package/dist/ui/static/_next/static/chunks/3-7tka4cib69h.js +1 -0
- package/dist/ui/static/_next/static/chunks/3-dorttkhs3i2.js +1 -0
- package/dist/ui/static/_next/static/chunks/3-pcgkdsv7x4z.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0o_lmzxpjfeky.js → 3007ncr8g751a.js} +1 -1
- package/dist/ui/static/_next/static/chunks/307xuhrdmetj7.js +1 -0
- package/dist/ui/static/_next/static/chunks/30og31pxg8wrp.js +1 -0
- package/dist/ui/static/_next/static/chunks/32jgtvf2y-f54.js +1 -0
- package/dist/ui/static/_next/static/chunks/35ivnhnxr9dmz.js +1 -0
- package/dist/ui/static/_next/static/chunks/363iuc3t94rie.js +1 -0
- package/dist/ui/static/_next/static/chunks/36c8jty3kllje.js +1 -0
- package/dist/ui/static/_next/static/chunks/37qsy798-g74f.js +1 -0
- package/dist/ui/static/_next/static/chunks/37v998g0cm36x.js +1 -0
- package/dist/ui/static/_next/static/chunks/3946_dfcd9xr-.js +1 -0
- package/dist/ui/static/_next/static/chunks/3b05n-007vc3e.js +1 -0
- package/dist/ui/static/_next/static/chunks/3cpuzx4fetu6y.js +1 -0
- package/dist/ui/static/_next/static/chunks/3d27ozm1boe_5.js +3 -0
- package/dist/ui/static/_next/static/chunks/3eg8pcox5copv.js +1 -0
- package/dist/ui/static/_next/static/chunks/3ftqojkan-5cl.js +1 -0
- package/dist/ui/static/_next/static/chunks/3fwt6-8rc2mya.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3kmozkq6tgqnz.js → 3g4px251sg85e.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3gyetohi_flhb.js +1 -0
- package/dist/ui/static/_next/static/chunks/3hjs3gk92eave.js +1 -0
- package/dist/ui/static/_next/static/chunks/3ksbq-nwkgwob.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1n3b0bhd9q0p6.js → 3l3xw2fmr7pct.js} +3 -3
- package/dist/ui/static/_next/static/chunks/3neoxf-shnu-d.js +1 -0
- package/dist/ui/static/_next/static/chunks/3or_0c84ozskx.js +1 -0
- package/dist/ui/static/_next/static/chunks/3payvp5ps2fne.css +3 -0
- package/dist/ui/static/_next/static/chunks/3q-93bizla3k1.js +1 -0
- package/dist/ui/static/_next/static/chunks/3qbbcm9fuk494.js +1 -0
- package/dist/ui/static/_next/static/chunks/3rhep1yhgo6a7.js +1 -0
- package/dist/ui/static/_next/static/chunks/3sgbsntbbci5y.js +1 -0
- package/dist/ui/static/_next/static/chunks/3tcw3qy3rrkyf.js +1 -0
- package/dist/ui/static/_next/static/chunks/3tqd6avtamgd5.js +1 -0
- package/dist/ui/static/_next/static/chunks/3ty06iqiblqi4.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1ydfda18zlx4w.js → 3vjm30f1if00s.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3wz98o059mhtf.js +1 -0
- package/dist/ui/static/_next/static/chunks/3x2p8mgrihuet.js +1 -0
- package/dist/ui/static/_next/static/chunks/3xi3iilmw9_vy.js +5 -0
- package/dist/ui/static/_next/static/chunks/3z5edm1fpkcuq.js +1 -0
- package/dist/ui/static/_next/static/chunks/3zxbqudoeow_a.js +1 -0
- package/dist/ui/static/_next/static/chunks/3zxwlxhzm5swe.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3chx0gpjqrhod.js → 405vbzo164i84.js} +3 -3
- package/dist/ui/static/_next/static/chunks/42pls95xys34g.js +1 -0
- package/dist/ui/static/_next/static/chunks/43kutp14mqi-j.js +1 -0
- package/dist/ui/static/_next/static/chunks/43y3xn64quyo2.js +1 -0
- package/dist/ui/static/_next/static/chunks/43z5mfwx4lk4w.js +1 -0
- package/dist/ui/static/_next/static/chunks/{turbopack-2fb3mn6go2p-t.js → turbopack-34k8wgx0iwdzg.js} +1 -1
- package/dist/ui/static/_not-found/__next._full.txt +22 -21
- package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +10 -10
- package/dist/ui/static/_not-found/__next._tree.txt +2 -2
- package/dist/ui/static/_not-found.html +1 -1
- package/dist/ui/static/_not-found.txt +22 -21
- package/dist/ui/static/atlassian-connectors/__next._full.txt +24 -23
- package/dist/ui/static/atlassian-connectors/__next._tree.txt +2 -2
- package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +12 -12
- package/dist/ui/static/atlassian-connectors.html +1 -1
- package/dist/ui/static/atlassian-connectors.txt +24 -23
- package/dist/ui/static/index.html +1 -1
- package/dist/ui/static/index.txt +24 -22
- package/dist/ui/static/launch/__next._full.txt +27 -26
- package/dist/ui/static/launch/__next._tree.txt +3 -3
- package/dist/ui/static/launch/__next.launch.__PAGE__.txt +13 -13
- package/dist/ui/static/launch.html +1 -1
- package/dist/ui/static/launch.txt +27 -26
- package/dist/ui/static/local-knowledge/__next._full.txt +27 -26
- package/dist/ui/static/local-knowledge/__next._tree.txt +3 -3
- package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +13 -13
- package/dist/ui/static/local-knowledge/capsule/__next._full.txt +25 -24
- package/dist/ui/static/local-knowledge/capsule/__next._tree.txt +2 -2
- package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.__PAGE__.txt +12 -12
- package/dist/ui/static/local-knowledge/capsule.html +1 -1
- package/dist/ui/static/local-knowledge/capsule.txt +25 -24
- package/dist/ui/static/local-knowledge.html +1 -1
- package/dist/ui/static/local-knowledge.txt +27 -26
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/activity-log-store.d.ts +6 -2
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/activity-log-store.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/activity-log-store.js +54 -8
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/defect-fingerprint.d.ts +35 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/defect-fingerprint.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/defect-fingerprint.js +66 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/index.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/index.js +2 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/log-redaction.d.ts +13 -2
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/log-redaction.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/log-redaction.js +67 -126
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/index.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/index.js +4 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze-sufficiency.d.ts +10 -2
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze-sufficiency.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze-sufficiency.js +59 -46
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze.d.ts +18 -3
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze.js +176 -53
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts +35 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.js +3650 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-desktop-report-attribution.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-desktop-report-attribution.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-desktop-report-attribution.js +74 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-desktop-report.d.ts +25 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-desktop-report.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-desktop-report.js +184 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-incident-resolution.d.ts +33 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-incident-resolution.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-incident-resolution.js +195 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-lifetime.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-lifetime.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-lifetime.js +19 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-local-query.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-local-query.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-local-query.js +20 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-query.d.ts +6 -2
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-query.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-query.js +442 -60
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts +45 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.js +53 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry.d.ts +27 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry.js +46 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report-json.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report-json.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report-json.js +5 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report-privacy.d.ts +12 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report-privacy.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report-privacy.js +226 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report.d.ts +41 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-report.js +672 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-retrieval-miss.d.ts +13 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-retrieval-miss.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-retrieval-miss.js +363 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-segment-manifest.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-segment-manifest.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-segment-manifest.js +17 -5
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-segment-scan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-segment-scan.js +16 -9
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/server-log.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/server-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/server-log.js +16 -10
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident-retention.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident-retention.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident-retention.js +21 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident-store.d.ts +11 -3
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident-store.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident-store.js +142 -23
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident.d.ts +25 -22
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident.js +694 -198
- package/node_modules/@oscharko-dev/keiko-activity-log/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-cli/dist/cli-control-state.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/cli-control-state.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/cli-control-state.js +25 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/init.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/init.js +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/investigate.js +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-browser-activity.d.ts +22 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-browser-activity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle-browser-activity.js +50 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.js +137 -32
- package/node_modules/@oscharko-dev/keiko-cli/dist/process-activity-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/process-activity-log.js +3 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/repair.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/repair.js +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/runner.js +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.d.ts +25 -4
- package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.js +144 -12
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-export.d.ts +16 -113
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-export.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-export.js +71 -358
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-incident.d.ts +1 -21
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-incident.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-incident.js +14 -112
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-cli.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-cli.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-cli.js +6 -18
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-evidence.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-evidence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-evidence.js +2 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-report-cli.d.ts +23 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-report-cli.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-report-cli.js +521 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-report-evidence.d.ts +647 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-report-evidence.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-report-evidence.js +338 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-selective-export.d.ts +3 -5
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-selective-export.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-selective-export.js +6 -42
- package/node_modules/@oscharko-dev/keiko-cli/dist/support.d.ts +0 -18
- package/node_modules/@oscharko-dev/keiko-cli/dist/support.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support.js +118 -1276
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui-browser-handoff.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui-browser-handoff.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui-browser-handoff.js +91 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui.js +31 -3
- package/node_modules/@oscharko-dev/keiko-cli/package.json +15 -15
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.d.ts +519 -139
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.js +783 -113
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-label-policy.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-label-policy.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-label-policy.js +123 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts +31805 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.js +35636 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts +12694 -34263
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.js +16845 -40229
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts +174 -5
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.js +99 -14
- package/node_modules/@oscharko-dev/keiko-contracts/dist/citation-markers.d.ts +49 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/citation-markers.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/citation-markers.js +380 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/client-defect-signature.d.ts +12 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/client-defect-signature.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/client-defect-signature.js +63 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session-pairing.d.ts +37 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session-pairing.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session-pairing.js +67 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session.d.ts +2 -35
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-app-session.js +1 -62
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-repository-search.d.ts +25 -5
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-repository-search.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-repository-search.js +28 -14
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.d.ts +38 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.js +94 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api-validation.d.ts +3 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api-validation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api-validation.js +64 -17
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.d.ts +8 -4
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.js +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.d.ts +17 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.js +13 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime.js +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-validation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-validation.js +27 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.d.ts +30 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.js +27 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-context.d.ts +39 -6
- package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-context.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-context.js +230 -100
- package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-search-abstention.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-search-abstention.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/connected-search-abstention.js +14 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering-compaction-validation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering-compaction-validation.js +4 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering-validation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering-validation.js +8 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering.d.ts +15 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering.js +20 -6
- package/node_modules/@oscharko-dev/keiko-contracts/dist/contract-validation-primitives.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/contract-validation-primitives.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/contract-validation-primitives.js +12 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts +184 -5
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.js +750 -11
- package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-agent.d.ts +17 -12
- package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-agent.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-agent.js +76 -36
- package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-m7.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-m7.js +0 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/evidence.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/evidence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.d.ts +92 -7
- package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.js +54 -10
- package/node_modules/@oscharko-dev/keiko-contracts/dist/git-repository.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/git-repository.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/git-repository.js +13 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/governed-tool-catalog.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/governed-tool-catalog.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/grounded-assessment.d.ts +35 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/grounded-assessment.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/grounded-assessment.js +125 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts +9 -9
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/no-evidence-answer.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/no-evidence-answer.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/no-evidence-answer.js +388 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/observability.d.ts +26 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/observability.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/observability.js +109 -6
- package/node_modules/@oscharko-dev/keiko-contracts/dist/opencode-service-host.d.ts +42 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/opencode-service-host.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/opencode-service-host.js +151 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/store-fingerprint.d.ts +5 -6
- package/node_modules/@oscharko-dev/keiko-contracts/dist/store-fingerprint.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/store-fingerprint.js +16 -16
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-incident.d.ts +33 -17
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-incident.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-incident.js +230 -26
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-json.d.ts +13 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-json.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-json.js +206 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-policy.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-policy.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-policy.js +11 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-producer.d.ts +26 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-producer.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report-producer.js +107 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report.d.ts +154 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-report.js +74 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/tools.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.d.ts +6 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.js +71 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace-contract-primitives.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace-contract-primitives.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace-contract-primitives.js +2 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace.d.ts +42 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/workspace.js +18 -0
- package/node_modules/@oscharko-dev/keiko-contracts/package.json +25 -1
- package/node_modules/@oscharko-dev/keiko-evaluations/package.json +9 -9
- package/node_modules/@oscharko-dev/keiko-evidence/dist/compaction-evidence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/compaction-evidence.js +3 -0
- package/node_modules/@oscharko-dev/keiko-evidence/dist/connected-context-evidence.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-evidence/dist/connected-context-evidence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/connected-context-evidence.js +28 -5
- package/node_modules/@oscharko-dev/keiko-evidence/dist/context-assembly-redaction.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/context-assembly-redaction.js +1 -0
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/package.json +4 -4
- package/node_modules/@oscharko-dev/keiko-git/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-git/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-git/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-git/package.json +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/package.json +7 -7
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/citation-attacher.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/citation-attacher.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/citation-attacher.js +49 -38
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/grounded-answer-runner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/grounded-answer-runner.js +64 -25
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/types.d.ts +14 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/conversation/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/embedding-activity-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/embedding-activity-log.js +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/orchestrator-activity-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/orchestrator-activity-log.js +6 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/_internal.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/_internal.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/_internal.js +2 -33
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/parsers/html-parser.js +5 -4
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/index.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/index.js +2 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/retrieval-runner.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/retrieval-runner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/retrieval-runner.js +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/scoped-vector-search.d.ts +9 -2
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/scoped-vector-search.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/scoped-vector-search.js +18 -10
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store-content-encryption.d.ts +0 -2
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store-content-encryption.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store-content-encryption.js +0 -11
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store.d.ts +0 -11
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store.js +9 -78
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/consolidate.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/consolidate.js +3 -0
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/cipher.d.ts +0 -12
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/cipher.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/cipher.js +0 -32
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/db.d.ts +2 -11
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/db.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/db.js +10 -144
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/index.d.ts +1 -2
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/index.js +7 -14
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/paths.d.ts +3 -2
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/paths.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/paths.js +17 -48
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/vault-log.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/vault-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/vault.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/capabilities.d.ts +9 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/capabilities.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/capabilities.js +24 -10
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/config.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/config.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/config.js +203 -2
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/embedding.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/embedding.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/embedding.js +2 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway-attempt-admission.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway-attempt-admission.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway-attempt-admission.js +44 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway.d.ts +113 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway.js +696 -138
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.js +28 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/index.d.ts +5 -4
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/index.js +3 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.d.ts +23 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.js +83 -10
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/normalize.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/normalize.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/normalize.js +54 -2
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/observability.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/observability.js +2 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.d.ts +17 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.js +377 -77
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-embedding-adapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-embedding-adapter.js +3 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/prDescription/generate.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/prDescription/generate.js +4 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/prompt-admission.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/prompt-admission.js +5 -2
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/readiness-probe.d.ts +18 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/readiness-probe.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/readiness-probe.js +49 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.d.ts +168 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.js +629 -72
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/toolCatalogBridge.d.ts +9 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/toolCatalogBridge.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/toolCatalogBridge.js +62 -16
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/types.d.ts +25 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/package.json +4 -4
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/backends.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/backends.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/backends.js +41 -15
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/index.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/index.js +1 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/local-docker-endpoint.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/local-docker-endpoint.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/local-docker-endpoint.js +128 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/plan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/plan.js +49 -7
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/runtime-gateway.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/runtime-gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/runtime-gateway.js +31 -6
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/seatbelt-execution-root.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/seatbelt-execution-root.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/seatbelt-execution-root.js +141 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/select.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/select.js +2 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/types.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/package.json +2 -2
- package/node_modules/@oscharko-dev/keiko-sdk/package.json +9 -9
- package/node_modules/@oscharko-dev/keiko-security/dist/errors/gateway.d.ts +18 -3
- package/node_modules/@oscharko-dev/keiko-security/dist/errors/gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/errors/gateway.js +40 -7
- package/node_modules/@oscharko-dev/keiko-security/dist/fs-hardening.d.ts +85 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/fs-hardening.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/fs-hardening.js +128 -3
- package/node_modules/@oscharko-dev/keiko-security/dist/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/portable-tree-attestation.d.ts +14 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/portable-tree-attestation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/portable-tree-attestation.js +183 -25
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction.d.ts +12 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/redaction.js +65 -15
- package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-security/package.json +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/bounded-concurrency.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/bounded-concurrency.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/bounded-concurrency.js +84 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/bounded-request-body.d.ts +13 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/bounded-request-body.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/bounded-request-body.js +14 -25
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-activity.d.ts +9 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-activity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-activity.js +48 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-resurfacing.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-resurfacing.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-resurfacing.js +28 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-thresholds.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-thresholds.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-thresholds.js +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-breakdown.d.ts +25 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-breakdown.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-breakdown.js +111 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-log.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-log.js +101 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-status.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-status.js +235 -33
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-log.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-log.js +9 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-grounding.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-grounding.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-grounding.js +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.js +161 -79
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-snapshot.d.ts +27 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-snapshot.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-snapshot.js +48 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-budget.js +3 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-compaction.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-prompt-compaction.js +4 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-scope-update-log.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-scope-update-log.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-scope-update-log.js +51 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.js +58 -21
- package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.js +790 -12
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/appSessionReadAuthority.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/appSessionReadAuthority.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/appSessionReadAuthority.js +112 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.d.ts +4 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.js +31 -17
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionChannel.d.ts +6 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionChannel.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionChannel.js +10 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionCookie.d.ts +9 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionCookie.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionCookie.js +13 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionRegistry.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionRegistry.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionRegistry.js +59 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/githubIssueReaderAuthorization.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/githubIssueReaderAuthorization.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/ciRepairPromptReservation.d.ts +11 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/ciRepairPromptReservation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/ciRepairPromptReservation.js +21 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingHistoryRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingHistoryRoutes.js +8 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRepositorySearchHandler.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRepositorySearchHandler.js +85 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.d.ts +50 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.js +25 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairController.d.ts +14 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairController.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairController.js +33 -26
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.d.ts +46 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.js +33 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEventHub.d.ts +51 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEventHub.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEventHub.js +97 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts +8 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.js +265 -29
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.d.ts +37 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.js +416 -34
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorState.d.ts +5 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorState.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorState.js +14 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorTypes.d.ts +21 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorTypes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRefusalEscalation.d.ts +79 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRefusalEscalation.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRefusalEscalation.js +305 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRepositoryInstructions.d.ts +100 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRepositoryInstructions.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRepositoryInstructions.js +363 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRoutes.js +13 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRunEffort.d.ts +71 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRunEffort.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRunEffort.js +294 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeTerminalCause.d.ts +47 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeTerminalCause.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeTerminalCause.js +65 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeVerificationContinuation.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeVerificationContinuation.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeVerificationContinuation.js +79 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.d.ts +18 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.js +201 -42
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.d.ts +6 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.js +733 -17
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.js +262 -57
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.d.ts +190 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.js +57 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolGovernedDelegate.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolGovernedDelegate.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolGovernedDelegate.js +14 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolInvocationRegistry.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolInvocationRegistry.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolInvocationRegistry.js +50 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.d.ts +21 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.js +143 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.d.ts +63 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.js +710 -170
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReplacementEdits.d.ts +108 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReplacementEdits.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReplacementEdits.js +477 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLanePortableCodingRuntime.d.ts +2 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLanePortableCodingRuntime.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLanePortableCodingRuntime.js +53 -46
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.js +51 -52
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.d.ts +48 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.js +179 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/materializedPatchRegistry.d.ts +60 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/materializedPatchRegistry.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/materializedPatchRegistry.js +61 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.d.ts +7 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.js +48 -15
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessPaths.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessPaths.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessPaths.js +14 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessProtocol.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessProtocol.js +11 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/npmLaneRuntimeApprovals.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/npmLaneRuntimeApprovals.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/npmLaneRuntimeApprovals.js +28 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeFunctionalHarness/_governedTools.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeFunctionalHarness/_governedTools.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeFunctionalHarness/_governedTools.js +48 -20
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeLaunchProfile.d.ts +5 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeLaunchProfile.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeLaunchProfile.js +15 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.js +27 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeReconciler.d.ts +6 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeReconciler.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeReconciler.js +15 -15
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.d.ts +17 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.js +198 -43
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.d.ts +97 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.js +1334 -103
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeServiceHostArtifact.d.ts +79 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeServiceHostArtifact.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeServiceHostArtifact.js +176 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.d.ts +177 -25
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.js +131 -38
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2History.d.ts +18 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2History.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2History.js +298 -32
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.js +14 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2LiveText.d.ts +33 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2LiveText.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2LiveText.js +213 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.js +2 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCiRepairRuntime.js +15 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeHost.js +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.d.ts +25 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.js +227 -40
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.d.ts +20 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.js +224 -12
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.js +20 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.d.ts +8 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.functional/repositorySearchProof.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.functional/repositorySearchProof.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.functional/skillDiscoveryProof.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.functional/skillDiscoveryProof.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.js +262 -60
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.d.ts +18 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.js +43 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionWorkspaceHeadReader.js +23 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts +38 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.js +115 -16
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.d.ts +20 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.js +48 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeProcessSupervisor.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeProcessSupervisor.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeProcessSupervisor.js +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextRead.d.ts +100 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextRead.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextRead.js +435 -25
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadAbsence.d.ts +61 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadAbsence.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadAbsence.js +123 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadArtifact.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadArtifact.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadArtifact.js +26 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadNodeProcess.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadNodeProcess.js +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProcess.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProcess.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProcess.js +17 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProtocol.d.ts +69 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProtocol.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProtocol.js +266 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.d.ts +15 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.js +792 -126
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-tool-facade.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-tool-facade.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-tool-facade.js +139 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/command-runner.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/command-runner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/command-runner.js +176 -19
- package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-admission.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-admission.js +72 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-log.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-log.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/conversation-readiness-log.js +48 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/correlation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/correlation.js +8 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/credentialVault.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/credentialVault.js +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts +61 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.js +281 -77
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts +15 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.js +108 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentAuthorityRegistry.d.ts +9 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentAuthorityRegistry.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentAuthorityRegistry.js +21 -94
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentProducerRoute.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentProducerRoute.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRootBoundary.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRootBoundary.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRootBoundary.js +60 -12
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.d.ts +13 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.js +180 -74
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentSessionRegistry.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentSessionRegistry.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentSessionRegistry.js +81 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyEvidence.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyEvidence.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyEvidence.js +35 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyTargets.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyTargets.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/bufferSafetyTargets.js +44 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/changesetLineBreakProvenance.d.ts +26 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/changesetLineBreakProvenance.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/changesetLineBreakProvenance.js +87 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/codingContextProviders.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/codingContextProviders.js +0 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecution.d.ts +5 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecution.js +91 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecutionLog.d.ts +128 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecutionLog.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecutionLog.js +213 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRunner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRunner.js +72 -24
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRuntimeTarget.d.ts +13 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRuntimeTarget.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRuntimeTarget.js +121 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchEvidence.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchEvidence.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchEvidence.js +75 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchRoutes.js +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchService.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchService.js +230 -34
- package/node_modules/@oscharko-dev/keiko-server/dist/files-deny.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/files-deny.js +3 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/files.d.ts +2 -25
- package/node_modules/@oscharko-dev/keiko-server/dist/files.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/files.js +76 -35
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-context-window.d.ts +56 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-context-window.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-context-window.js +432 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-discovery-log.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-discovery-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-discovery-log.js +59 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-instance-cache.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-instance-cache.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-instance-cache.js +16 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts +12 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.js +367 -109
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-reranker-probe.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-reranker-probe.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-reranker-probe.js +30 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-route-deadline.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-route-deadline.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-route-deadline.js +11 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts +38 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.js +1354 -184
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-spend-budget.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-spend-budget.js +6 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup-activity.d.ts +31 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup-activity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup-activity.js +74 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup.js +282 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-tool-calling-probe.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-tool-calling-probe.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-tool-calling-probe.js +12 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeRoutes.js +30 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/ciObservationService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/ciObservationService.js +17 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitDraftQuality.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitDraftQuality.js +5 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitRoutes.js +11 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyObservationService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyObservationService.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyRoutes.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionProjection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionProjection.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitService.js +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitPorcelainStatus.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitPorcelainStatus.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitPorcelainStatus.js +46 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitRepositoryRoutes.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitRepositoryRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitRepositoryRoutes.js +68 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/gitRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitRoutes.js +57 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-activity.d.ts +19 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-activity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-activity.js +177 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-assessment.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-assessment.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-assessment.js +69 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-evidence.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-evidence.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-evidence.js +53 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-repair.d.ts +25 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-repair.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer-repair.js +120 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer.d.ts +57 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-answer.js +195 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-assistant-referents.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-assistant-referents.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-assistant-referents.js +133 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-candidate-ordering.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-candidate-ordering.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-candidate-ordering.js +103 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-capability.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-capability.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-capability.js +79 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.d.ts +57 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-log.js +297 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-citation-repair.js +117 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-context-diagnostics.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-context-diagnostics.js +25 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-context-pack-reranker.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-context-pack-reranker.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-context-pack-reranker.js +39 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-contextual-fallback.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-contextual-fallback.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-contextual-fallback.js +41 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-conversation-continuity.d.ts +15 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-conversation-continuity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-conversation-continuity.js +126 -24
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-diagnostic-references.d.ts +42 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-diagnostic-references.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-diagnostic-references.js +91 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-directory-iteration.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-directory-iteration.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-directory-iteration.js +60 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-document-evidence.d.ts +7 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-document-evidence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-document-evidence.js +63 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-entailment-stage.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-entailment-stage.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-entailment-stage.js +61 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-eval-support.d.ts +28 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-eval-support.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-eval-support.js +140 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.d.ts +20 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-evidence-selection.js +116 -53
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-explicit-paths.d.ts +44 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-explicit-paths.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-explicit-paths.js +385 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness-eval.d.ts +5 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness-eval.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness-eval.js +123 -42
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness.d.ts +76 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-faithfulness.js +677 -121
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-follow-up.d.ts +27 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-follow-up.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-follow-up.js +198 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-latency-eval.d.ts +16 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-latency-eval.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-latency-eval.js +69 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-metadata-retention.d.ts +34 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-metadata-retention.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-metadata-retention.js +123 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-multi-source-budget.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-multi-source-budget.js +6 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.d.ts +128 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.js +4801 -850
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-overview-fallback.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-overview-fallback.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-overview-fallback.js +81 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-pack-validation.d.ts +22 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-pack-validation.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-pack-validation.js +87 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-plural-synthesis.d.ts +27 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-plural-synthesis.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-plural-synthesis.js +74 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-preselection-reranker.d.ts +25 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-preselection-reranker.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-preselection-reranker.js +93 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-context.d.ts +20 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-context.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt-context.js +33 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-prompt.js +35 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-hybrid.d.ts +37 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-hybrid.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-hybrid.js +712 -212
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-multi-source.d.ts +42 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-multi-source.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa-multi-source.js +682 -142
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.d.ts +49 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.js +756 -172
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-repo-semantic-search.d.ts +32 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-repo-semantic-search.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-repo-semantic-search.js +382 -58
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.js +57 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank.js +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-retrieval-eval.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-retrieval-eval.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-retrieval-eval.js +29 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-scope-context.d.ts +32 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-scope-context.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-scope-context.js +75 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-selection-quality.d.ts +19 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-selection-quality.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-selection-quality.js +55 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-semantic-request.d.ts +31 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-semantic-request.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-semantic-request.js +55 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-diagnostics.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-diagnostics.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-diagnostics.js +109 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace-cycles.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace-cycles.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace-cycles.js +90 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace.d.ts +47 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-symbol-trace.js +1054 -84
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-recency.d.ts +34 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-recency.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-recency.js +190 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-request.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-request.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-worktree-request.js +19 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/index.d.ts +1 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/index.js +8 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/knowledge-prompt-window.d.ts +44 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/knowledge-prompt-window.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/knowledge-prompt-window.js +136 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-grounded-qa.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-grounded-qa.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-grounded-qa.js +235 -65
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-handlers.js +19 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-consolidation-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-consolidation-handlers.js +11 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-conv-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-conv-handlers.js +11 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-handlers.js +43 -32
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/route-template.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/route-template.js +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figma/figmaSnapshotBuilder.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figma/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figma/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figma/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/handoffRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/handoffRoutes.js +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/modelPolicyRoutes.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/modelPolicyRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/modelPolicyRoutes.js +36 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/runRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/runRoutes.js +4 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/read-handlers.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/read-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/read-handlers.js +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/routes.js +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/server.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/server.js +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chat-grounding-scope-identity.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chat-grounding-scope-identity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chat-grounding-scope-identity.js +21 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chats.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chats.js +22 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/store/db.d.ts +0 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/store/db.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/db.js +26 -129
- package/node_modules/@oscharko-dev/keiko-server/dist/store/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/legacySchemaTestFixture.js +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/store/paths.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/paths.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/paths.js +26 -42
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.js +161 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/store-handlers.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store-handlers.js +102 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-download.d.ts +13 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-download.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-download.js +239 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-evidence.d.ts +19 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-evidence.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-evidence.js +347 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-job.d.ts +31 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-job.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-job.js +169 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-routes.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-routes.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-routes.js +149 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-worker.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-worker.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/support-report-worker.js +43 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/local-checkout.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/local-checkout.js +37 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/routes.js +3 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolDispatch.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolDispatch.js +10 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolFacadeBridge.d.ts +20 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolFacadeBridge.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolFacadeBridge.js +96 -20
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolPorts.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolPorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolRuntimeAuthority.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolRuntimeAuthority.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolRuntimeAuthority.js +47 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolSettlement.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolSettlement.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolSettlement.js +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-staging-verification.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-staging-verification.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-staging-verification.js +23 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-verification.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-verification.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-verification.js +12 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-registry.d.ts +1 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-registry.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-registry.js +3 -35
- package/node_modules/@oscharko-dev/keiko-server/dist/voice-speech-text.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/voice-speech-text.js +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-index-provider.js +4 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.js +76 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-state-handlers.d.ts +3 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-state-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-state-handlers.js +3 -100
- package/node_modules/@oscharko-dev/keiko-server/package.json +23 -23
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.d.ts +9 -25
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.js +210 -113
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/profile.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/profile.js +15 -2
- package/node_modules/@oscharko-dev/keiko-tool-catalog/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-tools/dist/exec.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/exec.js +80 -10
- package/node_modules/@oscharko-dev/keiko-tools/dist/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch-content.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch-content.js +142 -49
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch-parse.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch-parse.js +14 -3
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/patch.js +24 -9
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/package.json +7 -7
- package/node_modules/@oscharko-dev/keiko-verification/dist/dependencies.d.ts +16 -4
- package/node_modules/@oscharko-dev/keiko-verification/dist/dependencies.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/dependencies.js +198 -25
- package/node_modules/@oscharko-dev/keiko-verification/dist/failure-location.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/failure-location.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/failure-location.js +34 -17
- package/node_modules/@oscharko-dev/keiko-verification/dist/orchestrator.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/orchestrator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/orchestrator.js +35 -3
- package/node_modules/@oscharko-dev/keiko-verification/dist/plan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/plan.js +25 -16
- package/node_modules/@oscharko-dev/keiko-verification/dist/targeted-project.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-verification/dist/targeted-project.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-verification/dist/targeted-project.js +37 -0
- package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/failure-parse.d.ts +10 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/failure-parse.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/failure-parse.js +93 -15
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/bug-investigation/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.d.ts +10 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/assemble.js +331 -49
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/compaction.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/reranker.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/contextpack/reranker.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.d.ts +8 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/anchors.js +374 -42
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/governor.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/governor.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.d.ts +5 -3
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/index.js +2 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/intent.d.ts +7 -2
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/intent.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/intent.js +124 -7
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.d.ts +25 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/plan.js +707 -91
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/references.d.ts +19 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/references.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/planner/references.js +159 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/filter.js +21 -18
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/index.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/index.js +2 -2
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/rank.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/rank.js +28 -64
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/scoring.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/scoring.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/scoring.js +44 -29
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/signals.d.ts +5 -2
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/signals.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workflows/dist/ranking/signals.js +141 -45
- package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
- package/node_modules/@oscharko-dev/keiko-workspace/dist/_memfs.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/_memfs.js +7 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.d.ts +5 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/binaryDetect.js +235 -38
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligence.d.ts +22 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligence.js +660 -105
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligenceSurface.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligenceSurface.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codeIntelligenceSurface.js +4 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearch.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearch.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearch.js +140 -57
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearchResult.d.ts +1 -4
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearchResult.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearchResult.js +0 -15
- package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.d.ts +37 -3
- package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/discovery.js +306 -18
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractAdapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractAdapter.js +31 -9
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractGraph.d.ts +3 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractGraph.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractGraph.js +35 -5
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractSource.d.ts +7 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractSource.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractSource.js +40 -7
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractTypes.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/endpointContractTypes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/fs.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/fs.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/fs.js +48 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/ignore.js +2 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/importGraphEdges.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/importGraphEdges.js +11 -5
- package/node_modules/@oscharko-dev/keiko-workspace/dist/index.d.ts +10 -4
- package/node_modules/@oscharko-dev/keiko-workspace/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/index.js +9 -3
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.d.ts +57 -8
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearch.js +849 -144
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchEntries.d.ts +8 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchEntries.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchEntries.js +29 -24
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchExcerptWindow.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchExcerptWindow.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchExcerptWindow.js +189 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchHtml.js +21 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.d.ts +5 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchLineSelection.js +50 -21
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.d.ts +15 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchMatchers.js +121 -34
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPolicy.d.ts +26 -3
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPolicy.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchPolicy.js +65 -22
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.d.ts +14 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchQueryTerms.js +97 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRetention.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRetention.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRetention.js +70 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRoutes.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchRoutes.js +154 -18
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.d.ts +20 -7
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchScan.js +253 -56
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSemantic.d.ts +14 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSemantic.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSemantic.js +63 -5
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSourceInspection.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSourceInspection.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchSourceInspection.js +37 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchStream.d.ts +30 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchStream.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/repoSearchStream.js +473 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapterRequestContext.d.ts +10 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapterRequestContext.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapterRequestContext.js +237 -20
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapters.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapters.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralAdapters.js +18 -14
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralExecution.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralExecution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/structuralExecution.js +61 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/symbolGraphLexing.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/symbolGraphLexing.js +13 -7
- package/node_modules/@oscharko-dev/keiko-workspace/dist/testSourcePairing.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/testing.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/testing.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/testing.js +4 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/types.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-workspace/dist/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/types.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.d.ts +14 -5
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndex.js +119 -42
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexQueryMatch.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexQueryMatch.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexQueryMatch.js +71 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexStreaming.d.ts +47 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexStreaming.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspaceIndexStreaming.js +231 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/workspacePathDiscovery.js +178 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/xmlEntities.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/xmlEntities.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-workspace/dist/xmlEntities.js +34 -0
- package/node_modules/@oscharko-dev/keiko-workspace/package.json +4 -3
- package/package.json +33 -31
- package/release-impact.catalog.json +211 -0
- package/scripts/lib/local-state-audit.mjs +26 -11
- package/vendor/oscharko-dev-keiko-activity-log-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-cli-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-connectors-1.1.13.tgz → oscharko-dev-keiko-connectors-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-evaluations-1.1.13.tgz → oscharko-dev-keiko-evaluations-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-evidence-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-git-1.1.13.tgz → oscharko-dev-keiko-git-1.2.1.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-harness-1.1.13.tgz → oscharko-dev-keiko-harness-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-local-knowledge-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-capture-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-consolidation-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-memory-governance-1.1.13.tgz → oscharko-dev-keiko-memory-governance-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-memory-retrieval-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-vault-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-quality-intelligence-1.1.13.tgz → oscharko-dev-keiko-quality-intelligence-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-sandbox-1.2.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-sdk-1.1.13.tgz → oscharko-dev-keiko-sdk-1.2.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-security-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tools-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-verification-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workflows-1.2.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workspace-1.2.1.tgz +0 -0
- package/dist/ui/static/_next/static/chunks/000t9p2ysi3dv.css +0 -1
- package/dist/ui/static/_next/static/chunks/00dd_gyzi9unw.js +0 -1
- package/dist/ui/static/_next/static/chunks/00n029ow-5_tt.js +0 -3
- package/dist/ui/static/_next/static/chunks/01n8x8_z3012u.js +0 -1
- package/dist/ui/static/_next/static/chunks/02epwnm5oro9c.css +0 -26
- package/dist/ui/static/_next/static/chunks/04y8gqfjksqzo.js +0 -1
- package/dist/ui/static/_next/static/chunks/0cksy9u2ysiuy.js +0 -1
- package/dist/ui/static/_next/static/chunks/0elflgy2cg1jb.js +0 -1
- package/dist/ui/static/_next/static/chunks/0gia_iwqox3xm.js +0 -1
- package/dist/ui/static/_next/static/chunks/0k931k8qwqyft.js +0 -1
- package/dist/ui/static/_next/static/chunks/0kmepj4rmkj19.js +0 -1
- package/dist/ui/static/_next/static/chunks/0l46-80gche_i.js +0 -1
- package/dist/ui/static/_next/static/chunks/0ojvvjnsf38bk.js +0 -1
- package/dist/ui/static/_next/static/chunks/0p2ekj8g4s6t2.js +0 -1
- package/dist/ui/static/_next/static/chunks/0qt-w4yzb50ov.js +0 -1
- package/dist/ui/static/_next/static/chunks/0tl_05c5ux5ut.js +0 -1
- package/dist/ui/static/_next/static/chunks/0u7vyqk91gjb8.js +0 -1
- package/dist/ui/static/_next/static/chunks/0v9jkxfma7fks.js +0 -1
- package/dist/ui/static/_next/static/chunks/0y68jeskhcm2k.js +0 -1
- package/dist/ui/static/_next/static/chunks/0z5be09yla9lp.js +0 -1
- package/dist/ui/static/_next/static/chunks/0zlw46qz0crxg.css +0 -1
- package/dist/ui/static/_next/static/chunks/117xhn896fsmt.js +0 -1
- package/dist/ui/static/_next/static/chunks/13q3e5wnz6lps.css +0 -1
- package/dist/ui/static/_next/static/chunks/14rs31u4u36yy.js +0 -1
- package/dist/ui/static/_next/static/chunks/159szpr5ffygs.js +0 -1
- package/dist/ui/static/_next/static/chunks/15orau2hhjb1f.js +0 -1
- package/dist/ui/static/_next/static/chunks/1b7ig6f2t71i_.js +0 -1
- package/dist/ui/static/_next/static/chunks/1bdojlx9hv0c5.js +0 -1
- package/dist/ui/static/_next/static/chunks/1be0-x1mk56wu.js +0 -1
- package/dist/ui/static/_next/static/chunks/1d7xigpwq-xq8.js +0 -1
- package/dist/ui/static/_next/static/chunks/1dwc7p2rl-hs6.js +0 -1
- package/dist/ui/static/_next/static/chunks/1hk335vrug1rc.js +0 -1
- package/dist/ui/static/_next/static/chunks/1hucqkor7zgbn.js +0 -1
- package/dist/ui/static/_next/static/chunks/1j6nqp8yrqyhu.js +0 -1
- package/dist/ui/static/_next/static/chunks/1kxhf3ld28pzk.js +0 -1
- package/dist/ui/static/_next/static/chunks/1logclobi6726.js +0 -1
- package/dist/ui/static/_next/static/chunks/1lrj3d157kay1.js +0 -5
- package/dist/ui/static/_next/static/chunks/1nie2fvj8iyvq.js +0 -1
- package/dist/ui/static/_next/static/chunks/1o3z4r4xrlbda.js +0 -1
- package/dist/ui/static/_next/static/chunks/1pnysuel-a2r1.js +0 -1
- package/dist/ui/static/_next/static/chunks/1szpnddxqmzhy.js +0 -1
- package/dist/ui/static/_next/static/chunks/1tkt9f0xnc4fe.js +0 -1
- package/dist/ui/static/_next/static/chunks/1u_s3uvh9p4j7.js +0 -1
- package/dist/ui/static/_next/static/chunks/1uetvnnpa5z22.js +0 -1
- package/dist/ui/static/_next/static/chunks/1uigiy7xdzirs.js +0 -1
- package/dist/ui/static/_next/static/chunks/1uulmf99vtuyt.js +0 -1
- package/dist/ui/static/_next/static/chunks/1wa9m6c88mg3p.js +0 -1
- package/dist/ui/static/_next/static/chunks/1xzxhtenb7_sx.css +0 -1
- package/dist/ui/static/_next/static/chunks/202kx3p8axlmr.js +0 -1
- package/dist/ui/static/_next/static/chunks/20b456jf1ggzu.css +0 -1
- package/dist/ui/static/_next/static/chunks/2384n1pce2w1h.js +0 -1
- package/dist/ui/static/_next/static/chunks/252wybdcea74g.js +0 -1
- package/dist/ui/static/_next/static/chunks/271r_v0nh0vy-.js +0 -1
- package/dist/ui/static/_next/static/chunks/2_o61-akoq549.js +0 -1
- package/dist/ui/static/_next/static/chunks/2_u63ddjyhbpm.js +0 -3
- package/dist/ui/static/_next/static/chunks/2b78j2josay3e.js +0 -1
- package/dist/ui/static/_next/static/chunks/2cw7v8t4jg669.js +0 -1
- package/dist/ui/static/_next/static/chunks/2gqs8fif3137x.js +0 -3
- package/dist/ui/static/_next/static/chunks/2iehfums033xv.css +0 -3
- package/dist/ui/static/_next/static/chunks/2j16o4ghz4iqx.js +0 -1
- package/dist/ui/static/_next/static/chunks/2oxvgl3qb19wf.js +0 -1
- package/dist/ui/static/_next/static/chunks/2r4vn_6anv2cw.js +0 -5
- package/dist/ui/static/_next/static/chunks/2s5wt9bf-ox40.js +0 -1
- package/dist/ui/static/_next/static/chunks/2s9-91g2jic6u.js +0 -1
- package/dist/ui/static/_next/static/chunks/2tmor5n3xss6c.js +0 -3
- package/dist/ui/static/_next/static/chunks/2wd7di0z2l6il.js +0 -1
- package/dist/ui/static/_next/static/chunks/2ymm_n9gbcdcw.js +0 -1
- package/dist/ui/static/_next/static/chunks/2ywqac8g8us1n.css +0 -1
- package/dist/ui/static/_next/static/chunks/3-ys11qyww0y6.js +0 -1
- package/dist/ui/static/_next/static/chunks/30botqyyk9ugo.js +0 -1
- package/dist/ui/static/_next/static/chunks/30p9b535cwzhr.js +0 -1
- package/dist/ui/static/_next/static/chunks/31mnda46lo2b0.js +0 -1
- package/dist/ui/static/_next/static/chunks/338jl640mvtkg.js +0 -1
- package/dist/ui/static/_next/static/chunks/351uy__m9eafa.js +0 -1
- package/dist/ui/static/_next/static/chunks/3_cgafsc6hy1_.js +0 -1
- package/dist/ui/static/_next/static/chunks/3_exo95bp9tt2.js +0 -1
- package/dist/ui/static/_next/static/chunks/3aqtjd-a1ygis.js +0 -1
- package/dist/ui/static/_next/static/chunks/3bl12pe7lsanc.js +0 -1
- package/dist/ui/static/_next/static/chunks/3buu6m28ig2oz.js +0 -1
- package/dist/ui/static/_next/static/chunks/3hft62celuigp.js +0 -1
- package/dist/ui/static/_next/static/chunks/3i0iog52c1ajg.js +0 -1
- package/dist/ui/static/_next/static/chunks/3ibevys2o09xx.js +0 -1
- package/dist/ui/static/_next/static/chunks/3im1pldojqzmu.js +0 -1
- package/dist/ui/static/_next/static/chunks/3iptbrztxckih.js +0 -1
- package/dist/ui/static/_next/static/chunks/3iv5llh4xg-7v.js +0 -1
- package/dist/ui/static/_next/static/chunks/3jtbes4v4ouyw.js +0 -1
- package/dist/ui/static/_next/static/chunks/3lq5zd1qvhcfw.js +0 -1
- package/dist/ui/static/_next/static/chunks/3m_idsf90zq5u.js +0 -1
- package/dist/ui/static/_next/static/chunks/3mes_qld9wgti.js +0 -1
- package/dist/ui/static/_next/static/chunks/3n4gsbv-im5ia.js +0 -1
- package/dist/ui/static/_next/static/chunks/3timx0h4kcna0.js +0 -1
- package/dist/ui/static/_next/static/chunks/3u-4amh4iusi1.js +0 -1
- package/dist/ui/static/_next/static/chunks/3uacpjje41xz5.js +0 -1
- package/dist/ui/static/_next/static/chunks/3uovpxgynmdkk.js +0 -1
- package/dist/ui/static/_next/static/chunks/3wcuc7e2bz4-l.js +0 -1
- package/dist/ui/static/_next/static/chunks/3xaa0t5drdxz3.js +0 -1
- package/dist/ui/static/_next/static/chunks/3yqrxwndy9_f3.js +0 -1
- package/dist/ui/static/_next/static/chunks/40g2_9ovqiuiu.js +0 -1
- package/dist/ui/static/_next/static/chunks/40ol4dc9uptck.js +0 -10
- package/dist/ui/static/_next/static/chunks/413lmui4la1xe.js +0 -1
- package/dist/ui/static/_next/static/chunks/41ca6l5ikqt65.js +0 -1
- package/dist/ui/static/_next/static/chunks/44jv6p8ly-u3e.js +0 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-selective-export.d.ts +0 -29
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-selective-export.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-selective-export.js +0 -30
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figma/figmaConcurrency.d.ts +0 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figma/figmaConcurrency.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figma/figmaConcurrency.js +0 -34
- package/node_modules/@oscharko-dev/keiko-server/dist/store-fingerprints.d.ts +0 -29
- package/node_modules/@oscharko-dev/keiko-server/dist/store-fingerprints.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store-fingerprints.js +0 -135
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearchInventory.d.ts +0 -7
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearchInventory.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/codingRepositorySearchInventory.js +0 -24
- package/vendor/oscharko-dev-keiko-activity-log-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-cli-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-evidence-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-local-knowledge-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-capture-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-consolidation-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-retrieval-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-vault-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-sandbox-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-security-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tools-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-verification-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workflows-1.1.13.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workspace-1.1.13.tgz +0 -0
- /package/dist/ui/static/_next/static/{-GseUdaJoAYnEgt-Dl41f → FS1LLJ_p3joZhfRkXBRhf}/_buildManifest.js +0 -0
- /package/dist/ui/static/_next/static/{-GseUdaJoAYnEgt-Dl41f → FS1LLJ_p3joZhfRkXBRhf}/_clientMiddlewareManifest.js +0 -0
- /package/dist/ui/static/_next/static/{-GseUdaJoAYnEgt-Dl41f → FS1LLJ_p3joZhfRkXBRhf}/_ssgManifest.js +0 -0
|
@@ -1,101 +1,47 @@
|
|
|
1
|
-
//
|
|
2
|
-
|
|
3
|
-
// existing, hardened pieces into one redacted `.jsonl` bundle: the in-process `AuditResult`
|
|
4
|
-
// `keiko audit local-state --json` already produces, the evidence-index count from
|
|
5
|
-
// `listEvidence`, and a verbatim copy of `<state-dir>/logs/server*.log`. `analyze` groups a
|
|
6
|
-
// bundle's (or a raw Activity Log file's) lines by correlationId into reconstructed timelines.
|
|
7
|
-
//
|
|
8
|
-
// This file owns argv parsing, stdout/stderr, environment/state-dir resolution, and calling the
|
|
9
|
-
// audit/evidence subsystems. The exporter's and analyzer's own logic — file discovery, size-budget
|
|
10
|
-
// selection, manifest assembly, parsing, grouping, ordering, rendering — lives in
|
|
11
|
-
// ./support-export.ts and ./support-analyze.ts, each independently unit-tested on data, not argv.
|
|
12
|
-
import { createHash, randomUUID } from "node:crypto";
|
|
13
|
-
import { closeSync, mkdirSync, openSync, writeFileSync } from "node:fs";
|
|
1
|
+
// CLI parsing and composition for the closed offline support report (ADR-0173).
|
|
2
|
+
import { closeSync, mkdirSync, writeFileSync } from "node:fs";
|
|
14
3
|
import { homedir as defaultHomedir } from "node:os";
|
|
15
|
-
import {
|
|
16
|
-
import { activityLogEvent, defineActivityLogOperation,
|
|
17
|
-
import { KEIKO_PRODUCT_VERSION } from "@oscharko-dev/keiko-contracts/runtime/version";
|
|
4
|
+
import { dirname } from "node:path";
|
|
5
|
+
import { activityLogEvent, defineActivityLogOperation, MAX_SUPPORT_REPORT_BYTES, } from "@oscharko-dev/keiko-contracts/runtime/observability";
|
|
18
6
|
import { emitSecurityLogEvent, securityErrorKind } from "@oscharko-dev/keiko-security";
|
|
19
|
-
import {
|
|
20
|
-
import { AuditLoadError, auditLocalStateResult } from "./audit.js";
|
|
7
|
+
import { openSafeArtifactFile } from "@oscharko-dev/keiko-security/fs-hardening";
|
|
21
8
|
// KEIKO-0655: shared argv-parsing helper replaces the byte-identical flagValue copy this file held.
|
|
22
9
|
import { flagValue } from "./cli-arg-parsing.js";
|
|
23
10
|
import { cliControlStateConflictsWithTarget, cliTargetIdentitySha256, resolveCliControlStateDir, } from "./cli-control-state.js";
|
|
24
11
|
import { installLayoutOverrideEvidence, writeInstallLayoutOverrideEvidenceWithFactory, } from "./install-layout.js";
|
|
25
|
-
// GEN-PERF-CLI-001 — the evidence graph (and, below, the server module graph) load at dispatch,
|
|
26
|
-
// and only for `export`; tool-lifecycle analysis lazily loads its narrow validator subpath. Store-fingerprint collection (ui,
|
|
27
|
-
// local-knowledge, memory-vault) is owned by keiko-server (ADR-0019 direction rule 7: keiko-cli
|
|
28
|
-
// is a leaf consumer and must not import keiko-local-knowledge directly) and reached through the
|
|
29
|
-
// same lazily-loaded server module, via `server.collectStoreFingerprints`.
|
|
30
|
-
import { loadActivityLog, loadEvidence, loadServer, loadToolLifecycle } from "./lazy-modules.js";
|
|
31
12
|
import { createCliSecurityLogSink } from "./security-log.js";
|
|
32
13
|
import { inspectStateRoot, resolveStateDir } from "./state-paths.js";
|
|
33
|
-
import { ACTIVITY_LOG_EVIDENCE_INTEGRITY, analyzeLogLines, buildReproductionSeedFromAnalysis, findTimeline, hasIssueToPrJourneyOps, renderGatewayReplayScriptFixture, renderHumanAllTimelines, renderHumanClusters, renderHumanReproductionSeed, renderHumanTimeline, timelineSufficiency, ActivityLogReadError, readActivityLogFileLines, } from "@oscharko-dev/keiko-activity-log/reader";
|
|
34
14
|
import { runSupportIncidentCli } from "./support-incident.js";
|
|
35
15
|
import { parseSupportManifestArgs, parseSupportQueryArgs, runSupportManifestCli, runSupportQueryCli, SUPPORT_QUERY_USAGE, } from "./support-query-cli.js";
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
16
|
+
import { parseSupportExportSelector } from "./support-selective-export.js";
|
|
17
|
+
import { describeErrorKind } from "./support-export.js";
|
|
38
18
|
const USAGE = `Usage:
|
|
39
|
-
keiko support export [--out
|
|
40
|
-
[--include-evidence RUNID[,RUNID...]]
|
|
19
|
+
keiko support export [--out DIRECTORY] [--state-dir PATH] [--max-bytes N]
|
|
41
20
|
[--incident ID | --correlation-id ID | --defect-fingerprint SHA256]
|
|
42
21
|
keiko support analyze FILE [--correlation-id ID] [--json] [--clusters]
|
|
43
22
|
[--seed] [--emit-fixture PATH]
|
|
44
23
|
keiko support incident list|show|preview|report|dismiss [ID] [--state-dir PATH] [--json]
|
|
45
|
-
keiko support query ... and keiko support manifest rebuild|verify
|
|
24
|
+
keiko support query ... and keiko support manifest rebuild|verify
|
|
46
25
|
|
|
47
|
-
|
|
48
|
-
evidence
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
always named in the manifest's truncatedLogFiles. The newest log file is never dropped; if it
|
|
58
|
-
alone still exceeds the cap, only its tail is exported instead, named in the manifest's
|
|
59
|
-
currentFileTailTruncated. sourceLogFileLines records each copied file's line count and whether it
|
|
60
|
-
ended in a torn line, so analyze reports such a tail as truncated rather than corrupt.
|
|
61
|
-
With --incident, --correlation-id or --defect-fingerprint the report is selective: it carries only
|
|
62
|
-
that selection's registered causal closure plus a narrow process context, copied verbatim, and the
|
|
63
|
-
manifest's selection member states its versioned diagnostic sufficiency. A selection that does not
|
|
64
|
-
fit --max-bytes or cannot be found is never cut: nothing is written and the command exits 1.
|
|
65
|
-
A <output>.sha256 sidecar carries a SHA-256 digest of the bundle's bytes.
|
|
66
|
-
Publication exclusively creates the report and sidecar and never replaces an existing destination.
|
|
67
|
-
If a process stops mid-publication, rerun the same explicit --out command; for the default output,
|
|
68
|
-
rerun from the same working directory. Keiko recovers the durable prior bytes before taking a new
|
|
69
|
-
clock or log snapshot, or fails closed when the bounded recovery slot conflicts.
|
|
26
|
+
Export creates one private canonical report, with embedded integrity and selective registered
|
|
27
|
+
causal evidence. --out selects a directory, never a file: a new one is created owner-only, and an
|
|
28
|
+
existing one must not be writable by others. The filename always uses the closed class
|
|
29
|
+
keiko-support-v1-<incident-prefix>-<UTC-date>.json; the default directory is
|
|
30
|
+
<state-dir>/support-reports. The hard maximum is 10 MiB; --max-bytes may lower it. Required
|
|
31
|
+
evidence never silently disappears: a closure that cannot fit is explicitly insufficient, with its
|
|
32
|
+
closed reasons and the bytes it would need. Existing targets are never overwritten. An unknown
|
|
33
|
+
incident or fingerprint, or a correlation without retained evidence, records nothing and exits 1.
|
|
34
|
+
No attachments, raw logs, config snapshots, evidence manifests, sidecars or inclusion flags.
|
|
35
|
+
Nothing is sent. Manually share only through your organization's approved channel.
|
|
70
36
|
|
|
71
|
-
|
|
72
|
-
a
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
lines by correlationId, and prints one reconstructed timeline per id.
|
|
80
|
-
Each process lifetime is ordered by seq; lifetimes are ordered by the position of their first line
|
|
81
|
-
in the file, because the log envelope promises no order across processes. The default and
|
|
82
|
-
per-correlation reports identify the resolved input file, an inferable raw-log state directory,
|
|
83
|
-
newest valid event and instance, and whether the raw log is current and apparently active. A raw
|
|
84
|
-
log more than five minutes behind the analysis clock is reported as stale; bundles are historical
|
|
85
|
-
artifacts and are never presented as live processes.
|
|
86
|
-
--correlation-id narrows to a single id; --json emits the machine-readable form. --clusters prints
|
|
87
|
-
a whole-file view of every parsed line grouped by (category, op, errorKind), independent of
|
|
88
|
-
--correlation-id: a count and up to 5 sample correlation ids per group. --clusters --json is a
|
|
89
|
-
deprecated, unversioned bare array kept byte-compatible for existing readers; it prints a one-line
|
|
90
|
-
stderr deprecation notice on every use naming its versioned replacement, the clusters member of
|
|
91
|
-
plain --json (kind keiko.support.analyze, schemaVersion 1), which carries the same data inside a
|
|
92
|
-
versioned envelope. --seed (requires
|
|
93
|
-
--correlation-id) prints a ReproductionSeed — a gatewayScript/httpRequest/storeFingerprint/
|
|
94
|
-
indexingJob/issueToPrJourney/stackFrames/causeChain reconstruction for that one correlationId, plus
|
|
95
|
-
a warnings field naming exactly what could not be reconstructed and why. --emit-fixture PATH (requires
|
|
96
|
-
--correlation-id) writes a ready-to-paste TypeScript GatewayReplayScriptEntry[] fixture, derived
|
|
97
|
-
from that seed's gatewayScript, to PATH — refusing to overwrite an existing file and creating
|
|
98
|
-
parent directories as needed. --seed and --emit-fixture may be combined in one invocation.
|
|
37
|
+
Analyze bounds and validates the entire untrusted report before human or machine output. FILE must
|
|
38
|
+
be a private (owner-only, single-link) regular file. Analyze uses the recorded registry, performs
|
|
39
|
+
no embedded filesystem or network lookup, and reports authenticity as unknown. --json emits the
|
|
40
|
+
versioned body-free machine view; with --correlation-id it emits only that validated timeline, the
|
|
41
|
+
form keiko investigate --from-timeline reads. --seed prepares deterministic replay from the
|
|
42
|
+
incident's correlation or --correlation-id; --emit-fixture exclusively writes an explicitly
|
|
43
|
+
selected fixture. Legacy bundles and raw logs are refused as legacy-input: regenerate a report on
|
|
44
|
+
the originating installation.
|
|
99
45
|
`;
|
|
100
46
|
const CLI_SUPPORT_EXPORT_FAILED_OPERATION = defineActivityLogOperation({
|
|
101
47
|
contractKind: "activity-log-operation",
|
|
@@ -179,77 +125,102 @@ function prepareSupportInstallLayoutEvidence(stateDir, env, deps, io) {
|
|
|
179
125
|
"activity logging is unavailable.\n");
|
|
180
126
|
return false;
|
|
181
127
|
}
|
|
182
|
-
|
|
183
|
-
//
|
|
184
|
-
//
|
|
185
|
-
const
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
128
|
+
// The inclusion flags that once attached the raw `ui.log` or evidence manifests (#3532, #3534),
|
|
129
|
+
// in every spelling. They are refused explicitly rather than ignored, so an operator who still
|
|
130
|
+
// passes one learns that no report can carry raw output or attachments.
|
|
131
|
+
const RETIRED_INCLUSION_FLAG_PREFIXES = ["--include", "--i-understand"];
|
|
132
|
+
// The query's event filters are recognized only so the selector parser can name its own rule:
|
|
133
|
+
// export selects a closure, never an event filter.
|
|
134
|
+
const EXPORT_VALUE_FLAGS = new Set([
|
|
135
|
+
"--out",
|
|
136
|
+
"--state-dir",
|
|
137
|
+
"--max-bytes",
|
|
138
|
+
"--incident",
|
|
139
|
+
"--correlation-id",
|
|
140
|
+
"--defect-fingerprint",
|
|
141
|
+
"--op",
|
|
142
|
+
"--error-kind",
|
|
143
|
+
"--failure-class",
|
|
144
|
+
"--parent-correlation-id",
|
|
145
|
+
"--from",
|
|
146
|
+
"--to",
|
|
147
|
+
]);
|
|
148
|
+
const ANALYZE_VALUE_FLAGS = new Set(["--correlation-id", "--emit-fixture"]);
|
|
149
|
+
const ANALYZE_SWITCHES = new Set(["--json", "--clusters", "--seed"]);
|
|
150
|
+
// Every token is a known flag or its value. An unknown flag, a `--flag=value` spelling or a stray
|
|
151
|
+
// value is a usage error, never silently ignored (an ignored `--out=dir` would write elsewhere).
|
|
152
|
+
function unexpectedArgument(args, valueFlags, switches = new Set()) {
|
|
153
|
+
for (let index = 0; index < args.length; index += 1) {
|
|
154
|
+
const arg = args[index] ?? "";
|
|
155
|
+
if (valueFlags.has(arg))
|
|
156
|
+
index += 1;
|
|
157
|
+
else if (!switches.has(arg))
|
|
158
|
+
return arg;
|
|
159
|
+
}
|
|
160
|
+
return undefined;
|
|
161
|
+
}
|
|
162
|
+
// --out names a directory. A file-shaped value is the retired bundle form, and an empty value
|
|
163
|
+
// would silently mean the working directory.
|
|
164
|
+
function invalidOutDirectory(out) {
|
|
165
|
+
if (out === "")
|
|
166
|
+
return "--out is missing its value.";
|
|
167
|
+
if (out !== undefined && /\.jsonl?$/u.test(out))
|
|
168
|
+
return "--out selects a directory; the report filename is fixed (keiko-support-v1-…json).";
|
|
169
|
+
return undefined;
|
|
170
|
+
}
|
|
189
171
|
function parsePositiveInteger(value) {
|
|
190
172
|
if (!/^\d+$/.test(value))
|
|
191
173
|
return undefined;
|
|
192
174
|
const parsed = Number(value);
|
|
193
175
|
return Number.isInteger(parsed) && parsed > 0 ? parsed : undefined;
|
|
194
176
|
}
|
|
195
|
-
//
|
|
196
|
-
// trailing comma or repeated separator must not manufacture a phantom empty runId that
|
|
197
|
-
// `loadEvidence` would then reject.
|
|
198
|
-
function parseIncludeEvidenceIds(raw) {
|
|
199
|
-
if (raw === undefined)
|
|
200
|
-
return [];
|
|
201
|
-
return raw
|
|
202
|
-
.split(",")
|
|
203
|
-
.map((id) => id.trim())
|
|
204
|
-
.filter((id) => id.length > 0);
|
|
205
|
-
}
|
|
206
|
-
// The answers that need no flag parsing: help, and the refusal of a retired ui.log flag.
|
|
177
|
+
// The answers that need no value parsing: help, a retired inclusion flag, an unknown argument.
|
|
207
178
|
function exportArgsEarlyResult(args) {
|
|
208
179
|
if (args.includes("--help") || args.includes("-h"))
|
|
209
180
|
return { kind: "help" };
|
|
210
|
-
if (
|
|
211
|
-
return undefined;
|
|
212
|
-
return {
|
|
213
|
-
kind: "usage",
|
|
214
|
-
message: "keiko support export: --include-ui-log is no longer supported; raw UI output is never " +
|
|
215
|
-
`part of a support report. Every UI diagnostic is in the Activity Log.\n${USAGE}`,
|
|
216
|
-
};
|
|
217
|
-
}
|
|
218
|
-
function parseExportArgs(args) {
|
|
219
|
-
const early = exportArgsEarlyResult(args);
|
|
220
|
-
if (early !== undefined)
|
|
221
|
-
return early;
|
|
222
|
-
const out = flagValue(args, "--out");
|
|
223
|
-
const stateDir = flagValue(args, "--state-dir");
|
|
224
|
-
const maxBytesRaw = flagValue(args, "--max-bytes");
|
|
225
|
-
const includeEvidenceRaw = flagValue(args, "--include-evidence");
|
|
226
|
-
if (out === null || stateDir === null || maxBytesRaw === null || includeEvidenceRaw === null) {
|
|
181
|
+
if (args.some((arg) => RETIRED_INCLUSION_FLAG_PREFIXES.some((prefix) => arg.startsWith(prefix)))) {
|
|
227
182
|
return {
|
|
228
183
|
kind: "usage",
|
|
229
|
-
message:
|
|
184
|
+
message: "keiko support export: inclusion flags are no longer supported; raw output is never " +
|
|
185
|
+
`part of a support report. Every UI diagnostic is in the Activity Log.\n${USAGE}`,
|
|
230
186
|
};
|
|
231
187
|
}
|
|
232
|
-
const
|
|
233
|
-
|
|
234
|
-
|
|
188
|
+
const unexpected = unexpectedArgument(args, EXPORT_VALUE_FLAGS);
|
|
189
|
+
return unexpected === undefined
|
|
190
|
+
? undefined
|
|
191
|
+
: {
|
|
235
192
|
kind: "usage",
|
|
236
|
-
message: `keiko support export:
|
|
193
|
+
message: `keiko support export: unknown argument: ${unexpected}\n${USAGE}`,
|
|
237
194
|
};
|
|
195
|
+
}
|
|
196
|
+
// The export flag values, or the usage problem that refuses them.
|
|
197
|
+
function parseExportValues(args) {
|
|
198
|
+
const out = flagValue(args, "--out");
|
|
199
|
+
const stateDir = flagValue(args, "--state-dir");
|
|
200
|
+
const maxBytesRaw = flagValue(args, "--max-bytes");
|
|
201
|
+
if (out === null || stateDir === null || maxBytesRaw === null || stateDir === "")
|
|
202
|
+
return "a flag is missing its value.";
|
|
203
|
+
const outProblem = invalidOutDirectory(out);
|
|
204
|
+
if (outProblem !== undefined)
|
|
205
|
+
return outProblem;
|
|
206
|
+
const maxBytes = maxBytesRaw === undefined ? undefined : parsePositiveInteger(maxBytesRaw);
|
|
207
|
+
if (maxBytesRaw !== undefined && (maxBytes === undefined || maxBytes > MAX_SUPPORT_REPORT_BYTES))
|
|
208
|
+
return "--max-bytes must be between 1 and 10485760.";
|
|
209
|
+
return { out, stateDir, maxBytes };
|
|
210
|
+
}
|
|
211
|
+
function parseExportArgs(args) {
|
|
212
|
+
const early = exportArgsEarlyResult(args);
|
|
213
|
+
if (early !== undefined)
|
|
214
|
+
return early;
|
|
215
|
+
const values = parseExportValues(args);
|
|
216
|
+
if (typeof values === "string") {
|
|
217
|
+
return { kind: "usage", message: `keiko support export: ${values}\n${USAGE}` };
|
|
238
218
|
}
|
|
239
219
|
const selection = parseSupportExportSelector(args);
|
|
240
220
|
if (selection.kind === "usage") {
|
|
241
221
|
return { kind: "usage", message: `keiko support export: ${selection.message}\n${USAGE}` };
|
|
242
222
|
}
|
|
243
|
-
return {
|
|
244
|
-
kind: "ok",
|
|
245
|
-
value: {
|
|
246
|
-
out,
|
|
247
|
-
stateDir,
|
|
248
|
-
maxBytes,
|
|
249
|
-
includeEvidenceRunIds: parseIncludeEvidenceIds(includeEvidenceRaw),
|
|
250
|
-
selector: selection.selector,
|
|
251
|
-
},
|
|
252
|
-
};
|
|
223
|
+
return { kind: "ok", value: { ...values, selector: selection.selector } };
|
|
253
224
|
}
|
|
254
225
|
function parseAnalyzeArgs(args) {
|
|
255
226
|
if (args.includes("--help") || args.includes("-h"))
|
|
@@ -262,6 +233,13 @@ function parseAnalyzeArgs(args) {
|
|
|
262
233
|
};
|
|
263
234
|
}
|
|
264
235
|
const rest = args.slice(1);
|
|
236
|
+
const unexpected = unexpectedArgument(rest, ANALYZE_VALUE_FLAGS, ANALYZE_SWITCHES);
|
|
237
|
+
if (unexpected !== undefined) {
|
|
238
|
+
return {
|
|
239
|
+
kind: "usage",
|
|
240
|
+
message: `keiko support analyze: unknown argument: ${unexpected}\n${USAGE}`,
|
|
241
|
+
};
|
|
242
|
+
}
|
|
265
243
|
const correlationId = flagValue(rest, "--correlation-id");
|
|
266
244
|
if (correlationId === null) {
|
|
267
245
|
return {
|
|
@@ -270,19 +248,13 @@ function parseAnalyzeArgs(args) {
|
|
|
270
248
|
};
|
|
271
249
|
}
|
|
272
250
|
const emitFixture = flagValue(rest, "--emit-fixture");
|
|
273
|
-
if (emitFixture === null) {
|
|
251
|
+
if (emitFixture === null || emitFixture === "") {
|
|
274
252
|
return {
|
|
275
253
|
kind: "usage",
|
|
276
254
|
message: `keiko support analyze: --emit-fixture is missing its value.\n${USAGE}`,
|
|
277
255
|
};
|
|
278
256
|
}
|
|
279
257
|
const seed = rest.includes("--seed");
|
|
280
|
-
if ((seed || emitFixture !== undefined) && correlationId === undefined) {
|
|
281
|
-
return {
|
|
282
|
-
kind: "usage",
|
|
283
|
-
message: `keiko support analyze: --seed/--emit-fixture require --correlation-id.\n${USAGE}`,
|
|
284
|
-
};
|
|
285
|
-
}
|
|
286
258
|
return {
|
|
287
259
|
kind: "ok",
|
|
288
260
|
value: {
|
|
@@ -327,993 +299,12 @@ function parseQuerySubcommand(subcommand, rest) {
|
|
|
327
299
|
}
|
|
328
300
|
return { kind: "usage", message: `keiko support: unknown subcommand: ${subcommand}\n${USAGE}` };
|
|
329
301
|
}
|
|
330
|
-
function resolveStateDirSource(env, stateDirArg) {
|
|
331
|
-
const envSet = env.KEIKO_STATE_DIR !== undefined && env.KEIKO_STATE_DIR !== "";
|
|
332
|
-
return stateDirArg !== undefined || envSet ? "env-override" : "default";
|
|
333
|
-
}
|
|
334
|
-
function defaultOutFileName(generatedAt) {
|
|
335
|
-
return `keiko-support-${generatedAt.toISOString().replaceAll(":", "-")}.jsonl`;
|
|
336
|
-
}
|
|
337
|
-
export function resolveOutPath(cwd, outArg, generatedAt) {
|
|
338
|
-
const value = outArg ?? defaultOutFileName(generatedAt);
|
|
339
|
-
return isAbsolute(value) ? value : resolve(cwd, value);
|
|
340
|
-
}
|
|
341
|
-
// Nothing but the Activity Log store may create files in its directory: a report written there could
|
|
342
|
-
// take a segment's name, and retention owns every closed-grammar name in it.
|
|
343
|
-
function supportDestinationCollidesWithActivityLog(cwd, stateDir, outArg) {
|
|
344
|
-
if (outArg === undefined)
|
|
345
|
-
return false;
|
|
346
|
-
return dirname(resolve(cwd, outArg)) === resolve(stateDir, ACTIVITY_LOG_DIRECTORY_NAME);
|
|
347
|
-
}
|
|
348
|
-
// Never throws: a missing or unreadable evidence directory means zero evidence to report, never a
|
|
349
|
-
// failed export (the manifest field is a count, not a listing, so there is nothing sensitive to
|
|
350
|
-
// lose by reporting zero).
|
|
351
|
-
async function resolveEvidenceIndexCount(evidenceDir, deps) {
|
|
352
|
-
try {
|
|
353
|
-
const evidence = await loadEvidence();
|
|
354
|
-
const store = deps.evidenceStore ?? evidence.createNodeEvidenceStore(evidenceDir);
|
|
355
|
-
return evidence.listEvidence(store).length;
|
|
356
|
-
}
|
|
357
|
-
catch {
|
|
358
|
-
return 0;
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
// The exported detector (ADR-0173, `detectUpdateInstallMode`/`productionUpdateFacts`) answers
|
|
362
|
-
// "which install mode is this process running in" synchronously with no lock — the same call
|
|
363
|
-
// `keiko-cli`'s `ui.ts` already makes for `process.started`. Wrapped in a try/catch anyway because
|
|
364
|
-
// the detector walks the filesystem from `process.argv[1]` looking for this package's own
|
|
365
|
-
// `package.json`; a genuinely unreadable path must not fail the whole export. "unknown" is the
|
|
366
|
-
// same honest fallback the manifest used before this detector was reachable from here at all.
|
|
367
|
-
function resolveExportInstallMode(server) {
|
|
368
|
-
try {
|
|
369
|
-
const mode = server.detectUpdateInstallMode(server.productionUpdateFacts(process.env), process.env);
|
|
370
|
-
// `installKind` is optional on the wire contract (other producers of `UpdateInstallMode` may
|
|
371
|
-
// omit it), even though this detector always sets it in practice; "unknown" covers both that
|
|
372
|
-
// theoretical gap and a thrown error with the same fallback.
|
|
373
|
-
return mode.installKind ?? "unknown";
|
|
374
|
-
}
|
|
375
|
-
catch {
|
|
376
|
-
return "unknown";
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
// Discovers, budget-selects, and reads the state dir's server*.log files in one pass, tolerating
|
|
380
|
-
// concurrent removal of the current file or a compatible legacy archive at both boundaries
|
|
381
|
-
// (support-export.ts's `discoverServerLogFiles`, between `readdirSync` and the verified open, and
|
|
382
|
-
// `readKeptFiles`, between selection and the actual read): `sourceLogFiles` names only the files
|
|
383
|
-
// that actually contributed content; `skippedLogFiles` names every file that vanished or was
|
|
384
|
-
// refused (a link or non-regular entry) at either boundary, by name only, never by its absolute
|
|
385
|
-
// path. `budgetExceeded` and
|
|
386
|
-
// `currentFileTailTruncated` come from `readKeptFiles`, not `selection`: only the read step knows
|
|
387
|
-
// whether a tail read of the current file actually managed to keep a complete line, which is what
|
|
388
|
-
// decides whether the size budget was, in the end, honoured.
|
|
389
|
-
function collectLogContent(logsDir, maxBytes) {
|
|
390
|
-
const discovery = discoverServerLogFiles(logsDir);
|
|
391
|
-
const selection = selectLogFilesWithinBudget(discovery.files, maxBytes);
|
|
392
|
-
const read = readKeptFiles(selection.kept, selection.currentFileTailBudgetBytes);
|
|
393
|
-
const readSkipped = new Set(read.skippedLogFiles.map((skipped) => skipped.name));
|
|
394
|
-
const sourceLogFiles = selection.kept
|
|
395
|
-
.map((file) => file.name)
|
|
396
|
-
.filter((name) => !readSkipped.has(name));
|
|
397
|
-
return {
|
|
398
|
-
contentLines: read.contentLines,
|
|
399
|
-
terminalFragment: read.terminalFragment,
|
|
400
|
-
sourceLogFiles,
|
|
401
|
-
sourceLogFileLines: read.sourceLogFileLines,
|
|
402
|
-
truncatedLogFiles: selection.truncatedLogFiles,
|
|
403
|
-
currentFileTailTruncated: read.currentFileTailTruncated,
|
|
404
|
-
budgetExceeded: read.budgetExceeded,
|
|
405
|
-
skippedLogFiles: [...discovery.skippedLogFiles, ...read.skippedLogFiles],
|
|
406
|
-
};
|
|
407
|
-
}
|
|
408
|
-
function safeArtifactFailureRecord(error) {
|
|
409
|
-
if (typeof error !== "object" || error === null)
|
|
410
|
-
return undefined;
|
|
411
|
-
const artifactClass = Reflect.get(error, "artifactClass");
|
|
412
|
-
const kind = Reflect.get(error, "kind");
|
|
413
|
-
if (!isSafeArtifactClass(artifactClass) || !isSafeArtifactFailureKind(kind))
|
|
414
|
-
return undefined;
|
|
415
|
-
return { artifactClass, kind };
|
|
416
|
-
}
|
|
417
|
-
export function supportPublicationErrorKind(error) {
|
|
418
|
-
try {
|
|
419
|
-
return safeArtifactFailureRecord(error)?.kind ?? "unknown";
|
|
420
|
-
}
|
|
421
|
-
catch {
|
|
422
|
-
return "unknown";
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
function supportPublicationFailure(error) {
|
|
426
|
-
try {
|
|
427
|
-
const failure = safeArtifactFailureRecord(error);
|
|
428
|
-
if (failure !== undefined) {
|
|
429
|
-
const failedArtifactClass = failure.artifactClass === "integrity-artifact" || failure.artifactClass === "manifest"
|
|
430
|
-
? failure.artifactClass
|
|
431
|
-
: "support-report";
|
|
432
|
-
return { errorKind: failure.kind, failedArtifactClass };
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
catch {
|
|
436
|
-
return { errorKind: "unknown", failedArtifactClass: "support-report" };
|
|
437
|
-
}
|
|
438
|
-
return { errorKind: "unknown", failedArtifactClass: "support-report" };
|
|
439
|
-
}
|
|
440
|
-
export function supportPublicationContext(cwd, outArg) {
|
|
441
|
-
const explicitPath = outArg === undefined ? undefined : resolve(cwd, outArg);
|
|
442
|
-
const root = explicitPath === undefined ? resolve(cwd) : dirname(explicitPath);
|
|
443
|
-
const namespace = explicitPath === undefined ? "support-export/default" : "support-export/explicit";
|
|
444
|
-
return { root, slot: safeArtifactPublicationSlot(namespace, explicitPath ?? root) };
|
|
445
|
-
}
|
|
446
|
-
function publishSupportBundle(outPath, contents, io, context, recoveryState) {
|
|
447
|
-
const reportSha256 = bundleSha256Hex(contents);
|
|
448
|
-
try {
|
|
449
|
-
const result = publishSafeArtifactFileSet([
|
|
450
|
-
{ path: outPath, contents, artifactClass: "support-report" },
|
|
451
|
-
{
|
|
452
|
-
path: sha256SidecarPath(outPath),
|
|
453
|
-
contents: `${reportSha256}\n`,
|
|
454
|
-
artifactClass: "integrity-artifact",
|
|
455
|
-
},
|
|
456
|
-
], {
|
|
457
|
-
commitPath: outPath,
|
|
458
|
-
publicationSlot: context.slot,
|
|
459
|
-
trustedRoot: context.root,
|
|
460
|
-
});
|
|
461
|
-
return {
|
|
462
|
-
status: "published",
|
|
463
|
-
result,
|
|
464
|
-
reportBytes: Buffer.byteLength(contents),
|
|
465
|
-
reportSha256,
|
|
466
|
-
recoveryState,
|
|
467
|
-
};
|
|
468
|
-
}
|
|
469
|
-
catch (error) {
|
|
470
|
-
const failure = supportPublicationFailure(error);
|
|
471
|
-
const { errorKind } = failure;
|
|
472
|
-
io.err(`keiko support export: could not write the bundle: ${errorKind}\n`);
|
|
473
|
-
return { status: "failed", ...failure, recoveryState };
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
function recoverSupportBundle(context, io) {
|
|
477
|
-
try {
|
|
478
|
-
const result = recoverSafeArtifactFileSet({
|
|
479
|
-
publicationSlot: context.slot,
|
|
480
|
-
trustedRoot: context.root,
|
|
481
|
-
});
|
|
482
|
-
if (result.status === "rolled-back") {
|
|
483
|
-
return { status: "rolled-back", recoveryState: "rolled-back" };
|
|
484
|
-
}
|
|
485
|
-
if (result.status !== "recovered")
|
|
486
|
-
return { status: "none" };
|
|
487
|
-
return {
|
|
488
|
-
status: "recovered",
|
|
489
|
-
result,
|
|
490
|
-
reportBytes: result.commitByteCount,
|
|
491
|
-
reportSha256: result.commitSha256,
|
|
492
|
-
recoveryState: "recovered",
|
|
493
|
-
};
|
|
494
|
-
}
|
|
495
|
-
catch (error) {
|
|
496
|
-
const failure = supportPublicationFailure(error);
|
|
497
|
-
const { errorKind } = failure;
|
|
498
|
-
io.err(`keiko support export: could not recover the prior publication: ${errorKind}\n`);
|
|
499
|
-
return { status: "failed", ...failure, recoveryState: "conflict" };
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
function acknowledgeSupportPublication(context, io) {
|
|
503
|
-
try {
|
|
504
|
-
acknowledgeSafeArtifactFileSet({
|
|
505
|
-
publicationSlot: context.slot,
|
|
506
|
-
trustedRoot: context.root,
|
|
507
|
-
});
|
|
508
|
-
return undefined;
|
|
509
|
-
}
|
|
510
|
-
catch (error) {
|
|
511
|
-
const errorKind = supportPublicationErrorKind(error);
|
|
512
|
-
io.err(`keiko support export: could not acknowledge publication: ${errorKind}\n`);
|
|
513
|
-
return errorKind;
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
const SUPPORT_EXPORT_PUBLICATION_OPERATION = defineActivityLogOperation({
|
|
517
|
-
contractKind: "activity-log-operation",
|
|
518
|
-
schemaVersion: 1,
|
|
519
|
-
op: "support.export.publication",
|
|
520
|
-
category: "diagnostic",
|
|
521
|
-
owner: "keiko-cli",
|
|
522
|
-
emitter: "support.emitSupportPublicationEvidence",
|
|
523
|
-
fields: {
|
|
524
|
-
publicationArtifactClass: {
|
|
525
|
-
type: "string",
|
|
526
|
-
dataClass: "closed-enum",
|
|
527
|
-
required: true,
|
|
528
|
-
values: ["support-report"],
|
|
529
|
-
},
|
|
530
|
-
artifactCount: { type: "integer", dataClass: "count", required: true },
|
|
531
|
-
visibleArtifactCount: { type: "integer", dataClass: "count", required: false },
|
|
532
|
-
persistenceStatus: {
|
|
533
|
-
type: "string",
|
|
534
|
-
dataClass: "closed-enum",
|
|
535
|
-
required: true,
|
|
536
|
-
values: ["published", "recovered", "rolled-back", "acknowledgement-failed", "failed"],
|
|
537
|
-
},
|
|
538
|
-
publicationPersistenceStatus: {
|
|
539
|
-
type: "string",
|
|
540
|
-
dataClass: "closed-enum",
|
|
541
|
-
required: true,
|
|
542
|
-
values: ["published", "recovered", "rolled-back", "acknowledgement-failed", "failed"],
|
|
543
|
-
},
|
|
544
|
-
completeness: { type: "string", dataClass: "completeness-state", required: true },
|
|
545
|
-
publicationCompleteness: {
|
|
546
|
-
type: "string",
|
|
547
|
-
dataClass: "completeness-state",
|
|
548
|
-
required: true,
|
|
549
|
-
},
|
|
550
|
-
loss: { type: "string", dataClass: "loss-state", required: true },
|
|
551
|
-
publicationLoss: { type: "string", dataClass: "loss-state", required: true },
|
|
552
|
-
recoveryState: {
|
|
553
|
-
type: "string",
|
|
554
|
-
dataClass: "closed-enum",
|
|
555
|
-
required: true,
|
|
556
|
-
values: ["none", "rolled-back", "recovered", "conflict"],
|
|
557
|
-
},
|
|
558
|
-
publicationStatus: {
|
|
559
|
-
type: "string",
|
|
560
|
-
dataClass: "closed-enum",
|
|
561
|
-
required: false,
|
|
562
|
-
values: ["published", "recovered"],
|
|
563
|
-
},
|
|
564
|
-
permissionAssurance: {
|
|
565
|
-
type: "string",
|
|
566
|
-
dataClass: "closed-enum",
|
|
567
|
-
required: false,
|
|
568
|
-
values: ["verified-private", "platform-inherited"],
|
|
569
|
-
},
|
|
570
|
-
durabilityAssurance: {
|
|
571
|
-
type: "string",
|
|
572
|
-
dataClass: "closed-enum",
|
|
573
|
-
required: false,
|
|
574
|
-
values: ["verified", "directory-sync-unavailable"],
|
|
575
|
-
},
|
|
576
|
-
reportBytes: { type: "integer", dataClass: "count", required: false },
|
|
577
|
-
reportSha256: {
|
|
578
|
-
type: "string",
|
|
579
|
-
dataClass: "digest",
|
|
580
|
-
required: false,
|
|
581
|
-
maxLength: 64,
|
|
582
|
-
},
|
|
583
|
-
receiptState: {
|
|
584
|
-
type: "string",
|
|
585
|
-
dataClass: "closed-enum",
|
|
586
|
-
required: true,
|
|
587
|
-
values: ["consumed", "acknowledgement-uncertain", "unknown"],
|
|
588
|
-
},
|
|
589
|
-
failedArtifactClass: {
|
|
590
|
-
type: "string",
|
|
591
|
-
dataClass: "closed-enum",
|
|
592
|
-
required: false,
|
|
593
|
-
values: ["support-report", "integrity-artifact", "manifest"],
|
|
594
|
-
},
|
|
595
|
-
failureKind: {
|
|
596
|
-
type: "string",
|
|
597
|
-
dataClass: "closed-enum",
|
|
598
|
-
required: false,
|
|
599
|
-
values: [
|
|
600
|
-
"invalid-publication",
|
|
601
|
-
"close-failed",
|
|
602
|
-
"durability-failed",
|
|
603
|
-
"open-failed",
|
|
604
|
-
"permission-failed",
|
|
605
|
-
"permission-unsafe",
|
|
606
|
-
"publish-failed",
|
|
607
|
-
"publish-unsupported",
|
|
608
|
-
"read-failed",
|
|
609
|
-
"recovery-conflict",
|
|
610
|
-
"replace-failed",
|
|
611
|
-
"target-exists",
|
|
612
|
-
"target-mutated",
|
|
613
|
-
"unsafe-ancestor",
|
|
614
|
-
"unsafe-target",
|
|
615
|
-
"write-failed",
|
|
616
|
-
"unknown",
|
|
617
|
-
],
|
|
618
|
-
},
|
|
619
|
-
},
|
|
620
|
-
causal: "correlation",
|
|
621
|
-
lifecycle: "end",
|
|
622
|
-
analyzerProjection: "capability",
|
|
623
|
-
failureClasses: ["support-publication", "support-publication-acknowledgement"],
|
|
624
|
-
proofIds: [
|
|
625
|
-
"support.export.publication.publication-evidence",
|
|
626
|
-
"support.export.publication.commit-last",
|
|
627
|
-
],
|
|
628
|
-
releaseImpact: "patch",
|
|
629
|
-
});
|
|
630
|
-
const SUPPORT_ANALYZE_CLASSIFICATION_OPERATION = defineActivityLogOperation({
|
|
631
|
-
contractKind: "activity-log-operation",
|
|
632
|
-
schemaVersion: 1,
|
|
633
|
-
op: "support.analyze.classified",
|
|
634
|
-
category: "diagnostic",
|
|
635
|
-
owner: "keiko-cli",
|
|
636
|
-
emitter: "support.emitSupportAnalysisEvidence",
|
|
637
|
-
fields: {
|
|
638
|
-
sourceKind: {
|
|
639
|
-
type: "string",
|
|
640
|
-
dataClass: "closed-enum",
|
|
641
|
-
required: true,
|
|
642
|
-
values: ["bundle", "raw-log"],
|
|
643
|
-
},
|
|
644
|
-
evidenceClassification: {
|
|
645
|
-
type: "string",
|
|
646
|
-
dataClass: "closed-enum",
|
|
647
|
-
required: true,
|
|
648
|
-
values: ["supported", "legacy", "unsupported", "corrupt", "truncated", "incomplete"],
|
|
649
|
-
},
|
|
650
|
-
supportedLineCount: { type: "integer", dataClass: "count", required: true },
|
|
651
|
-
legacyLineCount: { type: "integer", dataClass: "count", required: true },
|
|
652
|
-
unsupportedLineCount: { type: "integer", dataClass: "count", required: true },
|
|
653
|
-
corruptLineCount: { type: "integer", dataClass: "count", required: true },
|
|
654
|
-
truncatedLineCount: { type: "integer", dataClass: "count", required: true },
|
|
655
|
-
incompleteLineCount: { type: "integer", dataClass: "count", required: true },
|
|
656
|
-
sequenceAnomalyCount: { type: "integer", dataClass: "count", required: true },
|
|
657
|
-
malformedLineCount: { type: "integer", dataClass: "count", required: true },
|
|
658
|
-
// #3532: the per-failure-class sufficiency projection of the analyzed artifact.
|
|
659
|
-
sufficiency: {
|
|
660
|
-
type: "string",
|
|
661
|
-
dataClass: "closed-enum",
|
|
662
|
-
required: true,
|
|
663
|
-
values: [...DIAGNOSTIC_SUFFICIENCY_STATUSES],
|
|
664
|
-
},
|
|
665
|
-
sufficiencyReasons: {
|
|
666
|
-
type: "string-array",
|
|
667
|
-
dataClass: "closed-enum",
|
|
668
|
-
required: false,
|
|
669
|
-
maxItems: 17,
|
|
670
|
-
values: [...DIAGNOSTIC_SUFFICIENCY_REASONS],
|
|
671
|
-
},
|
|
672
|
-
completeClassCount: { type: "integer", dataClass: "count", required: true },
|
|
673
|
-
degradedClassCount: { type: "integer", dataClass: "count", required: true },
|
|
674
|
-
insufficientClassCount: { type: "integer", dataClass: "count", required: true },
|
|
675
|
-
completeness: { type: "string", dataClass: "completeness-state", required: true },
|
|
676
|
-
loss: { type: "string", dataClass: "loss-state", required: true },
|
|
677
|
-
},
|
|
678
|
-
causal: "correlation",
|
|
679
|
-
lifecycle: "end",
|
|
680
|
-
analyzerProjection: "capability",
|
|
681
|
-
failureClasses: ["support-analysis"],
|
|
682
|
-
proofIds: ["support.analyze.classified.classification-evidence"],
|
|
683
|
-
releaseImpact: "patch",
|
|
684
|
-
});
|
|
685
|
-
function completedPublicationEvidenceFields(publication, persistenceStatus, receiptState) {
|
|
686
|
-
return {
|
|
687
|
-
publicationArtifactClass: "support-report",
|
|
688
|
-
artifactCount: 2,
|
|
689
|
-
visibleArtifactCount: 2,
|
|
690
|
-
persistenceStatus,
|
|
691
|
-
publicationPersistenceStatus: persistenceStatus,
|
|
692
|
-
completeness: "complete",
|
|
693
|
-
publicationCompleteness: "complete",
|
|
694
|
-
loss: "none",
|
|
695
|
-
publicationLoss: "none",
|
|
696
|
-
recoveryState: publication.recoveryState,
|
|
697
|
-
publicationStatus: publication.result.status,
|
|
698
|
-
permissionAssurance: publication.result.permissionAssurance,
|
|
699
|
-
durabilityAssurance: publication.result.durabilityAssurance,
|
|
700
|
-
reportBytes: publication.reportBytes,
|
|
701
|
-
reportSha256: publication.reportSha256,
|
|
702
|
-
receiptState,
|
|
703
|
-
};
|
|
704
|
-
}
|
|
705
|
-
function failedPublicationEvidenceFields(outcome) {
|
|
706
|
-
return {
|
|
707
|
-
publicationArtifactClass: "support-report",
|
|
708
|
-
artifactCount: 2,
|
|
709
|
-
persistenceStatus: "failed",
|
|
710
|
-
publicationPersistenceStatus: "failed",
|
|
711
|
-
completeness: "unknown",
|
|
712
|
-
publicationCompleteness: "unknown",
|
|
713
|
-
loss: "publication-unavailable",
|
|
714
|
-
publicationLoss: "publication-unavailable",
|
|
715
|
-
recoveryState: outcome.recoveryState,
|
|
716
|
-
receiptState: "unknown",
|
|
717
|
-
failedArtifactClass: outcome.failedArtifactClass,
|
|
718
|
-
failureKind: outcome.errorKind,
|
|
719
|
-
};
|
|
720
|
-
}
|
|
721
|
-
function supportPublicationActivityErrorKind(failure) {
|
|
722
|
-
switch (failure) {
|
|
723
|
-
case "invalid-publication":
|
|
724
|
-
return "validation-failed";
|
|
725
|
-
case "permission-failed":
|
|
726
|
-
return "permission-denied";
|
|
727
|
-
case "permission-unsafe":
|
|
728
|
-
case "unsafe-ancestor":
|
|
729
|
-
return "unsafe-target";
|
|
730
|
-
case "publish-failed":
|
|
731
|
-
case "replace-failed":
|
|
732
|
-
return "write-failed";
|
|
733
|
-
case "recovery-conflict":
|
|
734
|
-
return "conflict";
|
|
735
|
-
case "close-failed":
|
|
736
|
-
return "durability-failed";
|
|
737
|
-
default:
|
|
738
|
-
return failure;
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
|
-
function emitSupportPublicationEvidence(server, stateDir, correlationId, outcome) {
|
|
742
|
-
const activityLog = server.createFileServerLogSink(stateDir);
|
|
743
|
-
try {
|
|
744
|
-
if (outcome.status === "rolled-back") {
|
|
745
|
-
writeRolledBackRecovery(activityLog, correlationId, outcome);
|
|
746
|
-
return;
|
|
747
|
-
}
|
|
748
|
-
if (outcome.status === "acknowledgement-failed") {
|
|
749
|
-
writeAcknowledgementFailure(activityLog, correlationId, outcome);
|
|
750
|
-
return;
|
|
751
|
-
}
|
|
752
|
-
if (outcome.status !== "failed") {
|
|
753
|
-
writeCompletedPublication(activityLog, correlationId, outcome);
|
|
754
|
-
return;
|
|
755
|
-
}
|
|
756
|
-
writeFailedPublication(activityLog, correlationId, outcome);
|
|
757
|
-
}
|
|
758
|
-
finally {
|
|
759
|
-
activityLog.close?.();
|
|
760
|
-
}
|
|
761
|
-
}
|
|
762
|
-
function emitSupportAnalysisEvidence(server, stateDir, result) {
|
|
763
|
-
const activityLog = server.createFileServerLogSink(stateDir);
|
|
764
|
-
try {
|
|
765
|
-
activityLog.write(activityLogEvent(SUPPORT_ANALYZE_CLASSIFICATION_OPERATION, { correlationId: randomUUID() }, {
|
|
766
|
-
sourceKind: result.sourceKind,
|
|
767
|
-
evidenceClassification: result.evidence.classification,
|
|
768
|
-
supportedLineCount: result.evidence.supportedLineCount,
|
|
769
|
-
legacyLineCount: result.evidence.legacyLineCount,
|
|
770
|
-
unsupportedLineCount: result.evidence.unsupportedLineCount,
|
|
771
|
-
corruptLineCount: result.evidence.corruptLineCount,
|
|
772
|
-
truncatedLineCount: result.evidence.truncatedLineCount,
|
|
773
|
-
incompleteLineCount: result.evidence.incompleteLineCount,
|
|
774
|
-
sequenceAnomalyCount: result.evidence.sequenceAnomalies.length,
|
|
775
|
-
malformedLineCount: result.malformedLineCount,
|
|
776
|
-
sufficiency: result.sufficiency.status,
|
|
777
|
-
...(result.sufficiency.reasons.length === 0
|
|
778
|
-
? {}
|
|
779
|
-
: { sufficiencyReasons: result.sufficiency.reasons }),
|
|
780
|
-
completeClassCount: result.sufficiency.coverage.completeClassCount,
|
|
781
|
-
degradedClassCount: result.sufficiency.coverage.degradedClassCount,
|
|
782
|
-
insufficientClassCount: result.sufficiency.coverage.insufficientClassCount,
|
|
783
|
-
...ACTIVITY_LOG_EVIDENCE_INTEGRITY[result.evidence.classification],
|
|
784
|
-
}));
|
|
785
|
-
}
|
|
786
|
-
finally {
|
|
787
|
-
activityLog.close?.();
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
function writeRolledBackRecovery(activityLog, correlationId, outcome) {
|
|
791
|
-
activityLog.write(activityLogEvent(SUPPORT_EXPORT_PUBLICATION_OPERATION, { correlationId }, {
|
|
792
|
-
publicationArtifactClass: "support-report",
|
|
793
|
-
artifactCount: 2,
|
|
794
|
-
visibleArtifactCount: 0,
|
|
795
|
-
persistenceStatus: "rolled-back",
|
|
796
|
-
publicationPersistenceStatus: "rolled-back",
|
|
797
|
-
completeness: "complete",
|
|
798
|
-
publicationCompleteness: "complete",
|
|
799
|
-
loss: "none",
|
|
800
|
-
publicationLoss: "none",
|
|
801
|
-
recoveryState: outcome.recoveryState,
|
|
802
|
-
receiptState: "consumed",
|
|
803
|
-
}));
|
|
804
|
-
}
|
|
805
|
-
function writeAcknowledgementFailure(activityLog, correlationId, outcome) {
|
|
806
|
-
activityLog.write(activityLogEvent(SUPPORT_EXPORT_PUBLICATION_OPERATION, {
|
|
807
|
-
level: "error",
|
|
808
|
-
correlationId,
|
|
809
|
-
errorKind: supportPublicationActivityErrorKind(outcome.errorKind),
|
|
810
|
-
}, {
|
|
811
|
-
...completedPublicationEvidenceFields(outcome.publication, "acknowledgement-failed", "acknowledgement-uncertain"),
|
|
812
|
-
failedArtifactClass: "manifest",
|
|
813
|
-
failureKind: outcome.errorKind,
|
|
814
|
-
}));
|
|
815
|
-
}
|
|
816
|
-
function writeCompletedPublication(activityLog, correlationId, outcome) {
|
|
817
|
-
activityLog.write(activityLogEvent(SUPPORT_EXPORT_PUBLICATION_OPERATION, { correlationId }, completedPublicationEvidenceFields(outcome, outcome.status, "consumed")));
|
|
818
|
-
}
|
|
819
|
-
function writeFailedPublication(activityLog, correlationId, outcome) {
|
|
820
|
-
activityLog.write(activityLogEvent(SUPPORT_EXPORT_PUBLICATION_OPERATION, {
|
|
821
|
-
level: "error",
|
|
822
|
-
correlationId,
|
|
823
|
-
errorKind: supportPublicationActivityErrorKind(outcome.errorKind),
|
|
824
|
-
}, failedPublicationEvidenceFields(outcome)));
|
|
825
|
-
}
|
|
826
|
-
// Finding 1 (minor): store fingerprint collection runs a synchronous full-DB `quick_check` plus
|
|
827
|
-
// a row count per table for each store, which can take a while against a large local-knowledge
|
|
828
|
-
// index with nothing printed while it runs. This progress line keeps a slow run from looking
|
|
829
|
-
// hung, without changing the collection's synchronous, untimed behavior itself.
|
|
830
|
-
function reportStoreFingerprintProgress(io) {
|
|
831
|
-
io.err("keiko support export: computing store fingerprints (may take a while on a large local-knowledge index)...\n");
|
|
832
|
-
}
|
|
833
|
-
// Body-free like every other failure line in this file: an auditor error's text can quote the
|
|
834
|
-
// state tree it was reading, so only the closed `AuditLoadError` reason or the error's kind is
|
|
835
|
-
// printed, never its message.
|
|
836
|
-
function reportAuditFailure(error, io) {
|
|
837
|
-
if (!(error instanceof Error))
|
|
838
|
-
throw error;
|
|
839
|
-
const reason = error instanceof AuditLoadError ? error.reason : describeErrorKind(error);
|
|
840
|
-
io.err(`keiko support export: local-state audit could not produce a result (${reason}); ` +
|
|
841
|
-
"refusing to write a bundle without an audit summary.\n");
|
|
842
|
-
return 1;
|
|
843
|
-
}
|
|
844
|
-
function processProvenance(server, generatedAt, stateDirSource) {
|
|
845
|
-
return {
|
|
846
|
-
schemaVersion: server.SERVER_LOG_SCHEMA_VERSION,
|
|
847
|
-
productVersion: KEIKO_PRODUCT_VERSION,
|
|
848
|
-
platform: process.platform,
|
|
849
|
-
arch: process.arch,
|
|
850
|
-
nodeVersion: process.version,
|
|
851
|
-
generatedAt: generatedAt.toISOString(),
|
|
852
|
-
installMode: resolveExportInstallMode(server),
|
|
853
|
-
stateDirSource,
|
|
854
|
-
};
|
|
855
|
-
}
|
|
856
|
-
function logContentManifestFields(logContent) {
|
|
857
|
-
return {
|
|
858
|
-
sourceLogFiles: logContent.sourceLogFiles,
|
|
859
|
-
sourceLogFileLines: logContent.sourceLogFileLines,
|
|
860
|
-
truncatedLogFiles: logContent.truncatedLogFiles,
|
|
861
|
-
currentFileTailTruncated: logContent.currentFileTailTruncated,
|
|
862
|
-
budgetExceeded: logContent.budgetExceeded,
|
|
863
|
-
skippedLogFiles: logContent.skippedLogFiles,
|
|
864
|
-
};
|
|
865
|
-
}
|
|
866
|
-
// A `KEIKO_`-prefixed env name is collected with the prefix fused on, so `redactLogFields`'s
|
|
867
|
-
// field-NAME denylist (an exact match on the WHOLE normalized name, `log-redaction.ts`) can never
|
|
868
|
-
// fire on it: normalization turns `KEIKO_DEFAULT_API_KEY` into `keikodefaultapikey`, which does
|
|
869
|
-
// not equal the denylist's `apikey`/`key` entries. Leaving safety to the generic value-shape
|
|
870
|
-
// heuristics alone is not enough either — they do not catch, for example, a hex-only secret (no
|
|
871
|
-
// uppercase character, so the high-entropy check never fires) or any other operator-chosen
|
|
872
|
-
// credential shape they were never designed to enumerate. This is therefore a second, independent
|
|
873
|
-
// gate at the COLLECTION layer: a credential word (optionally plural) ENDING any `_`-separated
|
|
874
|
-
// segment refuses the field outright, before its value is ever read into the snapshot at all —
|
|
875
|
-
// whether the word stands alone (`KEIKO_API_KEY`) or is fused onto a qualifier
|
|
876
|
-
// (`KEIKO_CLIENTSECRET`, `KEIKO_APITOKEN`). The segment end, not any substring, is deliberate:
|
|
877
|
-
// `KEIKO_LOCAL_KNOWLEDGE_TOKENIZER` names a tokenizer mode, not a token.
|
|
878
|
-
const CREDENTIAL_NAME_WORDS = [
|
|
879
|
-
"key",
|
|
880
|
-
"secret",
|
|
881
|
-
"token",
|
|
882
|
-
"credential",
|
|
883
|
-
"password",
|
|
884
|
-
"passwd",
|
|
885
|
-
"pwd",
|
|
886
|
-
"auth",
|
|
887
|
-
"cert",
|
|
888
|
-
"certificate",
|
|
889
|
-
];
|
|
890
|
-
function isCredentialNameSegment(segment) {
|
|
891
|
-
return CREDENTIAL_NAME_WORDS.some((word) => segment.endsWith(word) || segment.endsWith(`${word}s`));
|
|
892
|
-
}
|
|
893
|
-
function isCredentialShapedEnvName(key) {
|
|
894
|
-
return key
|
|
895
|
-
.toLowerCase()
|
|
896
|
-
.split("_")
|
|
897
|
-
.some((segment) => isCredentialNameSegment(segment));
|
|
898
|
-
}
|
|
899
|
-
// "The resolved runtime configuration" scoped to what this CLI itself resolves from the
|
|
900
|
-
// environment — its own `KEIKO_*` vocabulary (KEIKO_STATE_DIR, KEIKO_CONFIG_FILE,
|
|
901
|
-
// KEIKO_EVIDENCE_DIR, …) — passed through the server's `redactLogFields` choke point (never a
|
|
902
|
-
// second redaction implementation, AGENTS.md §7) before embedding. Always attached, unlike
|
|
903
|
-
// ui-log/evidence-manifest, which are opt-in. `isCredentialShapedEnvName` runs first and is not a
|
|
904
|
-
// duplicate of that choke point: it refuses a credential-shaped NAME outright, a layer
|
|
905
|
-
// `redactLogFields` structurally cannot reach once the prefix has fused the name.
|
|
906
|
-
function keikoConfigEnvFields(env) {
|
|
907
|
-
const fields = {};
|
|
908
|
-
for (const [key, value] of Object.entries(env)) {
|
|
909
|
-
if (key.startsWith("KEIKO_") && value !== undefined && !isCredentialShapedEnvName(key)) {
|
|
910
|
-
fields[key] = value;
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
return fields;
|
|
914
|
-
}
|
|
915
|
-
function resolveConfigSnapshotSection(env, server) {
|
|
916
|
-
return buildConfigSnapshotSection(server.redactLogFields(keikoConfigEnvFields(env)) ?? {});
|
|
917
|
-
}
|
|
918
|
-
// Attaches the FULL EvidenceStore manifest for each `--include-evidence` runId, beyond the
|
|
919
|
-
// index-only `evidenceIndexCount` summary Wave 1 already carries — deep replay. A runId that does
|
|
920
|
-
// not resolve (never used from this state dir, or an unreadable/malformed manifest) contributes no
|
|
921
|
-
// section; this never fails the export, the same "count, don't fail" discipline
|
|
922
|
-
// `resolveEvidenceIndexCount` already uses.
|
|
923
|
-
async function resolveIncludedEvidenceSections(evidenceDir, runIds, deps) {
|
|
924
|
-
if (runIds.length === 0)
|
|
925
|
-
return [];
|
|
926
|
-
try {
|
|
927
|
-
const evidence = await loadEvidence();
|
|
928
|
-
const store = deps.evidenceStore ?? evidence.createNodeEvidenceStore(evidenceDir);
|
|
929
|
-
const sections = [];
|
|
930
|
-
for (const runId of runIds) {
|
|
931
|
-
const manifest = evidence.loadEvidence(store, runId);
|
|
932
|
-
if (manifest !== undefined)
|
|
933
|
-
sections.push(buildEvidenceManifestSection(runId, manifest));
|
|
934
|
-
}
|
|
935
|
-
return sections;
|
|
936
|
-
}
|
|
937
|
-
catch {
|
|
938
|
-
return [];
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
// Assembles every Wave 6 `$section` record in the bundle's fixed order: config-snapshot (always),
|
|
942
|
-
// then each requested evidence-manifest. No section ever carries raw UI output (#3532).
|
|
943
|
-
function assembleWave6Sections(env, server, evidenceSections) {
|
|
944
|
-
return [resolveConfigSnapshotSection(env, server), ...evidenceSections];
|
|
945
|
-
}
|
|
946
|
-
async function recordRolledBackRecovery(recovery, stateDir) {
|
|
947
|
-
emitSupportPublicationEvidence(await loadServer(), stateDir, randomUUID(), recovery);
|
|
948
|
-
}
|
|
949
|
-
async function recoveredSupportExportExitCode(recovery, stateDir, io, context) {
|
|
950
|
-
const server = await loadServer();
|
|
951
|
-
if (recovery.status === "failed") {
|
|
952
|
-
emitSupportPublicationEvidence(server, stateDir, randomUUID(), recovery);
|
|
953
|
-
return 1;
|
|
954
|
-
}
|
|
955
|
-
return completeSupportPublication(recovery, server, stateDir, io, context, `Recovered support report at ${recovery.result.commitPath}\n`);
|
|
956
|
-
}
|
|
957
|
-
// Success is claimed only once the receipt is acknowledged: an unacknowledged publication exits 1
|
|
958
|
-
// without a success line, and the next run recovers and announces the same durable report.
|
|
959
|
-
function completeSupportPublication(publication, server, stateDir, io, context, successLine) {
|
|
960
|
-
const correlationId = randomUUID();
|
|
961
|
-
const errorKind = acknowledgeSupportPublication(context, io);
|
|
962
|
-
if (errorKind === undefined) {
|
|
963
|
-
io.out(successLine);
|
|
964
|
-
emitSupportPublicationEvidence(server, stateDir, correlationId, publication);
|
|
965
|
-
return 0;
|
|
966
|
-
}
|
|
967
|
-
emitSupportPublicationEvidence(server, stateDir, correlationId, {
|
|
968
|
-
status: "acknowledgement-failed",
|
|
969
|
-
errorKind,
|
|
970
|
-
publication,
|
|
971
|
-
});
|
|
972
|
-
return 1;
|
|
973
|
-
}
|
|
974
|
-
function publishedSupportExportExitCode(publication, server, stateDir, lineCount, outPath, io, context) {
|
|
975
|
-
if (publication.status === "failed") {
|
|
976
|
-
emitSupportPublicationEvidence(server, stateDir, randomUUID(), publication);
|
|
977
|
-
return 1;
|
|
978
|
-
}
|
|
979
|
-
return completeSupportPublication(publication, server, stateDir, io, context, `Wrote ${String(lineCount)} lines to ${outPath}\n`);
|
|
980
|
-
}
|
|
981
|
-
// The whole log (oldest files dropped first to fit --max-bytes), or, with a selector, only the
|
|
982
|
-
// selection's causal closure, which is never cut to fit (#3531).
|
|
983
|
-
async function collectExportLogContent(args, stateDir, io, activityLog) {
|
|
984
|
-
const maxBytes = args.maxBytes ?? DEFAULT_MAX_BUNDLE_BYTES;
|
|
985
|
-
if (args.selector === undefined)
|
|
986
|
-
return collectLogContent(join(stateDir, "logs"), maxBytes);
|
|
987
|
-
return collectSelectedLogContent(args.selector, stateDir, maxBytes, io, activityLog);
|
|
988
|
-
}
|
|
989
|
-
async function collectFreshSupportData(args, io, env, deps, context) {
|
|
990
|
-
const [server, activityLog] = await Promise.all([loadServer(), loadActivityLog()]);
|
|
991
|
-
const logContent = await collectExportLogContent(args, context.stateDir, io, activityLog);
|
|
992
|
-
if (typeof logContent === "number")
|
|
993
|
-
return logContent;
|
|
994
|
-
const evidenceDir = env.KEIKO_EVIDENCE_DIR ?? join(context.stateDir, "evidence");
|
|
995
|
-
const evidenceIndexCount = await resolveEvidenceIndexCount(evidenceDir, deps);
|
|
996
|
-
try {
|
|
997
|
-
const activityLog = server.createFileServerLogSink(context.stateDir);
|
|
998
|
-
activityLog.close?.();
|
|
999
|
-
}
|
|
1000
|
-
catch (error) {
|
|
1001
|
-
io.err(`keiko support export: Activity Log unavailable: ${supportPublicationErrorKind(error)}\n`);
|
|
1002
|
-
return 1;
|
|
1003
|
-
}
|
|
1004
|
-
let auditSummary;
|
|
1005
|
-
try {
|
|
1006
|
-
auditSummary = await auditLocalStateResult(context.stateDir, env, deps.auditDeps ?? {});
|
|
1007
|
-
}
|
|
1008
|
-
catch (error) {
|
|
1009
|
-
return reportAuditFailure(error, io);
|
|
1010
|
-
}
|
|
1011
|
-
reportStoreFingerprintProgress(io);
|
|
1012
|
-
const stores = await server.collectStoreFingerprints({ stateDir: context.stateDir, env });
|
|
1013
|
-
const evidenceSections = await resolveIncludedEvidenceSections(evidenceDir, args.includeEvidenceRunIds, deps);
|
|
1014
|
-
return {
|
|
1015
|
-
logContent,
|
|
1016
|
-
evidenceIndexCount,
|
|
1017
|
-
server,
|
|
1018
|
-
auditSummary,
|
|
1019
|
-
stores,
|
|
1020
|
-
evidenceSections,
|
|
1021
|
-
generatedAtDate: context.now(),
|
|
1022
|
-
};
|
|
1023
|
-
}
|
|
1024
|
-
async function publishFreshSupportExport(args, io, env, deps, context) {
|
|
1025
|
-
const data = await collectFreshSupportData(args, io, env, deps, context);
|
|
1026
|
-
if (typeof data === "number")
|
|
1027
|
-
return data;
|
|
1028
|
-
const baseManifest = buildSupportBundleManifest({
|
|
1029
|
-
...processProvenance(data.server, data.generatedAtDate, context.stateDirSource),
|
|
1030
|
-
...logContentManifestFields(data.logContent),
|
|
1031
|
-
auditSummary: data.auditSummary,
|
|
1032
|
-
evidenceIndexCount: data.evidenceIndexCount,
|
|
1033
|
-
storeFingerprints: data.stores.fingerprints,
|
|
1034
|
-
storesUnavailable: data.stores.unavailable,
|
|
1035
|
-
// A legacy raw `ui.log` is never read into a report; the manifest keeps naming it as excluded.
|
|
1036
|
-
sectionsExcluded: [UI_LOG_SECTION],
|
|
1037
|
-
});
|
|
1038
|
-
const selection = data.logContent.selection;
|
|
1039
|
-
const manifest = selection === undefined ? baseManifest : { ...baseManifest, selection };
|
|
1040
|
-
const sections = assembleWave6Sections(env, data.server, data.evidenceSections);
|
|
1041
|
-
const lines = serializeBundleLines(manifest, sections, data.logContent.contentLines);
|
|
1042
|
-
const outPath = resolveOutPath(context.cwd, args.out, data.generatedAtDate);
|
|
1043
|
-
const publication = publishSupportBundle(outPath, bundleText(lines, data.logContent.terminalFragment), io, context.publication, context.recoveryState);
|
|
1044
|
-
return publishedSupportExportExitCode(publication, data.server, context.stateDir, lines.length, outPath, io, context.publication);
|
|
1045
|
-
}
|
|
1046
302
|
async function runSupportExport(args, io, env, deps) {
|
|
1047
303
|
const cwd = deps.cwd ?? process.cwd();
|
|
1048
|
-
const now = deps.now ?? (() => new Date());
|
|
1049
304
|
const stateDir = resolveStateDir(cwd, env, args.stateDir);
|
|
1050
305
|
if (!prepareSupportInstallLayoutEvidence(stateDir, env, deps, io))
|
|
1051
306
|
return 1;
|
|
1052
|
-
|
|
1053
|
-
if (supportDestinationCollidesWithActivityLog(cwd, stateDir, args.out)) {
|
|
1054
|
-
io.err("keiko support export: destination collides with the Activity Log\n");
|
|
1055
|
-
return 1;
|
|
1056
|
-
}
|
|
1057
|
-
const publicationContext = supportPublicationContext(cwd, args.out);
|
|
1058
|
-
const recovery = recoverSupportBundle(publicationContext, io);
|
|
1059
|
-
if (recovery.status === "recovered" || recovery.status === "failed") {
|
|
1060
|
-
return recoveredSupportExportExitCode(recovery, stateDir, io, publicationContext);
|
|
1061
|
-
}
|
|
1062
|
-
if (recovery.status === "rolled-back")
|
|
1063
|
-
await recordRolledBackRecovery(recovery, stateDir);
|
|
1064
|
-
const exitCode = await publishFreshSupportExport(args, io, env, deps, {
|
|
1065
|
-
cwd,
|
|
1066
|
-
now,
|
|
1067
|
-
stateDir,
|
|
1068
|
-
stateDirSource,
|
|
1069
|
-
publication: publicationContext,
|
|
1070
|
-
recoveryState: recovery.status,
|
|
1071
|
-
});
|
|
1072
|
-
if (exitCode === 0)
|
|
1073
|
-
await reportSupportReadiness(stateDir, env, io);
|
|
1074
|
-
return exitCode;
|
|
1075
|
-
}
|
|
1076
|
-
// `keiko support export` also states the exported directory's diagnostic readiness (#3532). The
|
|
1077
|
-
// self-check persists its own `activity-log.readiness` line after the export, so the report it just
|
|
1078
|
-
// wrote stays exactly the evidence that existed when it was taken. This command inspects a state
|
|
1079
|
-
// directory it does not serve, so its own logger's wiring is not part of that directory's answer.
|
|
1080
|
-
async function reportSupportReadiness(stateDir, env, io) {
|
|
1081
|
-
const snapshot = (await loadActivityLog()).checkActivityLogReadiness({
|
|
1082
|
-
stateDir,
|
|
1083
|
-
env,
|
|
1084
|
-
scope: "directory",
|
|
1085
|
-
});
|
|
1086
|
-
const reasons = snapshot.reasons.length === 0 ? "" : ` (${snapshot.reasons.join(", ")})`;
|
|
1087
|
-
io.out(`Diagnostic evidence: ${snapshot.readiness}${reasons}.\n`);
|
|
1088
|
-
}
|
|
1089
|
-
function reportMissingCorrelationId(correlationId, io) {
|
|
1090
|
-
io.err(`keiko support analyze: no lines found for correlation id: ${correlationId}\n`);
|
|
1091
|
-
return 1;
|
|
1092
|
-
}
|
|
1093
|
-
// A raw Activity Log file sits directly in `<state-dir>/logs/` under the closed grammar (a segment or
|
|
1094
|
-
// a legacy server*.log); anything else gives no state directory to infer.
|
|
1095
|
-
function inferAnalyzedStateDir(filePath, sourceKind) {
|
|
1096
|
-
const logDirectory = dirname(filePath);
|
|
1097
|
-
return sourceKind === "raw-log" &&
|
|
1098
|
-
basename(logDirectory) === ACTIVITY_LOG_DIRECTORY_NAME &&
|
|
1099
|
-
parseActivityLogFileName(basename(filePath)) !== undefined
|
|
1100
|
-
? dirname(logDirectory)
|
|
1101
|
-
: undefined;
|
|
1102
|
-
}
|
|
1103
|
-
function assessFreshness(latestTimestamp, now) {
|
|
1104
|
-
if (latestTimestamp === undefined)
|
|
1105
|
-
return { value: "unknown" };
|
|
1106
|
-
const latestMs = Date.parse(latestTimestamp);
|
|
1107
|
-
const ageMs = now.getTime() - latestMs;
|
|
1108
|
-
if (!Number.isFinite(latestMs) || ageMs < -SUPPORT_LOG_STALE_AFTER_MS) {
|
|
1109
|
-
return {
|
|
1110
|
-
value: "unknown",
|
|
1111
|
-
warning: "analyzed log has no credible newest event timestamp",
|
|
1112
|
-
};
|
|
1113
|
-
}
|
|
1114
|
-
return ageMs > SUPPORT_LOG_STALE_AFTER_MS
|
|
1115
|
-
? {
|
|
1116
|
-
value: "stale",
|
|
1117
|
-
warning: "analyzed log is stale: its newest valid event is older than 5 minutes",
|
|
1118
|
-
}
|
|
1119
|
-
: { value: "current" };
|
|
1120
|
-
}
|
|
1121
|
-
function errorCode(error) {
|
|
1122
|
-
if (typeof error !== "object" || error === null || !("code" in error))
|
|
1123
|
-
return undefined;
|
|
1124
|
-
return typeof error.code === "string" ? error.code : undefined;
|
|
1125
|
-
}
|
|
1126
|
-
function processIsRunning(pid) {
|
|
1127
|
-
try {
|
|
1128
|
-
process.kill(pid, 0);
|
|
1129
|
-
return true;
|
|
1130
|
-
}
|
|
1131
|
-
catch (error) {
|
|
1132
|
-
return errorCode(error) === "EPERM";
|
|
1133
|
-
}
|
|
1134
|
-
}
|
|
1135
|
-
function newestProcess(result) {
|
|
1136
|
-
if (result.latestInstanceId === undefined)
|
|
1137
|
-
return undefined;
|
|
1138
|
-
return result.processes.find((candidate) => candidate.instanceId === result.latestInstanceId);
|
|
1139
|
-
}
|
|
1140
|
-
function assessProcessActivity(result, freshness, isRunning) {
|
|
1141
|
-
if (result.sourceKind === "bundle")
|
|
1142
|
-
return { value: "not-applicable" };
|
|
1143
|
-
if (freshness === "stale")
|
|
1144
|
-
return { value: "inactive" };
|
|
1145
|
-
const candidate = newestProcess(result);
|
|
1146
|
-
if (candidate === undefined || freshness !== "current")
|
|
1147
|
-
return { value: "unknown" };
|
|
1148
|
-
if (candidate.exitReason !== undefined) {
|
|
1149
|
-
return {
|
|
1150
|
-
value: "inactive",
|
|
1151
|
-
warning: "analyzed raw log belongs to a process that recorded its exit",
|
|
1152
|
-
};
|
|
1153
|
-
}
|
|
1154
|
-
if (!Number.isSafeInteger(candidate.pid) || candidate.pid <= 0) {
|
|
1155
|
-
return {
|
|
1156
|
-
value: "unknown",
|
|
1157
|
-
warning: "analyzed raw log declares a non-positive process identifier",
|
|
1158
|
-
};
|
|
1159
|
-
}
|
|
1160
|
-
return isRunning(candidate.pid)
|
|
1161
|
-
? { value: "apparently-active" }
|
|
1162
|
-
: {
|
|
1163
|
-
value: "inactive",
|
|
1164
|
-
warning: "analyzed raw log does not belong to a running process",
|
|
1165
|
-
};
|
|
1166
|
-
}
|
|
1167
|
-
function buildAnalysisContext(result, filePath, deps) {
|
|
1168
|
-
const freshness = assessFreshness(result.latestTimestamp, deps.now?.() ?? new Date());
|
|
1169
|
-
const activity = assessProcessActivity(result, freshness.value, deps.processIsRunning ?? processIsRunning);
|
|
1170
|
-
const stateDir = inferAnalyzedStateDir(filePath, result.sourceKind);
|
|
1171
|
-
const warnings = [freshness.warning, activity.warning].filter((warning) => warning !== undefined);
|
|
1172
|
-
return {
|
|
1173
|
-
context: {
|
|
1174
|
-
sourceKind: result.sourceKind,
|
|
1175
|
-
inputFile: filePath,
|
|
1176
|
-
...(stateDir === undefined ? {} : { stateDir }),
|
|
1177
|
-
...(result.latestTimestamp === undefined ? {} : { latestTimestamp: result.latestTimestamp }),
|
|
1178
|
-
...(result.latestInstanceId === undefined
|
|
1179
|
-
? {}
|
|
1180
|
-
: { latestInstanceId: result.latestInstanceId }),
|
|
1181
|
-
freshness: freshness.value,
|
|
1182
|
-
processActivity: activity.value,
|
|
1183
|
-
},
|
|
1184
|
-
warnings,
|
|
1185
|
-
};
|
|
1186
|
-
}
|
|
1187
|
-
function buildAnalysisReport(result, filePath, deps) {
|
|
1188
|
-
const assessed = buildAnalysisContext(result, filePath, deps);
|
|
1189
|
-
return {
|
|
1190
|
-
...result,
|
|
1191
|
-
warnings: [...result.warnings, ...assessed.warnings],
|
|
1192
|
-
analysisContext: assessed.context,
|
|
1193
|
-
};
|
|
1194
|
-
}
|
|
1195
|
-
function renderAnalysisContext(context) {
|
|
1196
|
-
const lines = [
|
|
1197
|
-
`Analyzed log: ${context.inputFile}`,
|
|
1198
|
-
`State directory: ${context.stateDir ?? "not inferred from input"}`,
|
|
1199
|
-
`Source: ${context.sourceKind}`,
|
|
1200
|
-
`Newest event: ${context.latestTimestamp ?? "not reported"}`,
|
|
1201
|
-
`Newest instance: ${context.latestInstanceId ?? "not reported"}`,
|
|
1202
|
-
`Freshness: ${context.freshness}`,
|
|
1203
|
-
`Process activity: ${context.processActivity}`,
|
|
1204
|
-
];
|
|
1205
|
-
return `${lines.join("\n")}\n\n`;
|
|
1206
|
-
}
|
|
1207
|
-
// The versioned machine forms of `analyze --json` (#3531). Each names itself and its version ahead of
|
|
1208
|
-
// the fields the unversioned output already had, which stay unchanged, so an earlier reader (such as
|
|
1209
|
-
// `keiko investigate --from-timeline`) keeps working.
|
|
1210
|
-
const SUPPORT_ANALYZE_KIND = "keiko.support.analyze";
|
|
1211
|
-
const SUPPORT_ANALYZE_TIMELINE_KIND = "keiko.support.analyze-timeline";
|
|
1212
|
-
const SUPPORT_ANALYZE_SCHEMA_VERSION = 1;
|
|
1213
|
-
function analyzeProvenance() {
|
|
1214
|
-
return {
|
|
1215
|
-
productVersion: KEIKO_PRODUCT_VERSION,
|
|
1216
|
-
registryVersion: ACTIVITY_LOG_REGISTRY_VERSION,
|
|
1217
|
-
schemaDigest: ACTIVITY_LOG_SCHEMA_DIGEST,
|
|
1218
|
-
catalogDigest: ACTIVITY_LOG_CATALOG_DIGEST,
|
|
1219
|
-
};
|
|
1220
|
-
}
|
|
1221
|
-
function emitSingleTimeline(timeline, result, context, json, io) {
|
|
1222
|
-
if (json) {
|
|
1223
|
-
const payload = {
|
|
1224
|
-
kind: SUPPORT_ANALYZE_TIMELINE_KIND,
|
|
1225
|
-
schemaVersion: SUPPORT_ANALYZE_SCHEMA_VERSION,
|
|
1226
|
-
provenance: analyzeProvenance(),
|
|
1227
|
-
...timeline,
|
|
1228
|
-
malformedLineCount: result.malformedLineCount,
|
|
1229
|
-
sufficiency: timelineSufficiency(result, timeline),
|
|
1230
|
-
analysisContext: context,
|
|
1231
|
-
};
|
|
1232
|
-
io.out(`${JSON.stringify(payload)}\n`);
|
|
1233
|
-
}
|
|
1234
|
-
else {
|
|
1235
|
-
io.out(`${renderAnalysisContext(context)}${renderHumanTimeline(timeline)}`);
|
|
1236
|
-
}
|
|
1237
|
-
return 0;
|
|
1238
|
-
}
|
|
1239
|
-
function emitAllTimelines(result, json, io) {
|
|
1240
|
-
const payload = {
|
|
1241
|
-
kind: SUPPORT_ANALYZE_KIND,
|
|
1242
|
-
schemaVersion: SUPPORT_ANALYZE_SCHEMA_VERSION,
|
|
1243
|
-
provenance: analyzeProvenance(),
|
|
1244
|
-
};
|
|
1245
|
-
io.out(json
|
|
1246
|
-
? `${JSON.stringify({ ...payload, ...result })}\n`
|
|
1247
|
-
: `${renderAnalysisContext(result.analysisContext)}${renderHumanAllTimelines(result)}`);
|
|
1248
|
-
return 0;
|
|
1249
|
-
}
|
|
1250
|
-
// Wave 6 (epic #3233 closeout, gap #1) — `--clusters`: a standalone, whole-file view independent
|
|
1251
|
-
// of --correlation-id (support-analyze.ts's `renderHumanClusters` docstring reserves it for
|
|
1252
|
-
// exactly this flag). Emits the bare `OpCluster[]` under --json, never nested inside a larger
|
|
1253
|
-
// envelope, since this is deliberately a focused report, not a slice of the default output.
|
|
1254
|
-
//
|
|
1255
|
-
// That bare array predates the versioned machine profiles (#3531) and stays byte-compatible: no
|
|
1256
|
-
// reader of it breaks. But it is itself unversioned, with no stated compatibility or deprecation
|
|
1257
|
-
// path (#3531 Update Impact) — and `keiko support analyze --json`'s own `clusters` member (kind
|
|
1258
|
-
// `keiko.support.analyze`, schemaVersion 1) now carries exactly the same `OpCluster[]` data inside
|
|
1259
|
-
// a versioned envelope. `--clusters --json` is therefore the explicit deprecation path itself: keep
|
|
1260
|
-
// the array exactly as it was, and name the versioned replacement on stderr every time it is used.
|
|
1261
|
-
function emitClusters(clusters, json, io) {
|
|
1262
|
-
if (json) {
|
|
1263
|
-
io.err("keiko support analyze: --clusters --json is a deprecated, unversioned bare array; use " +
|
|
1264
|
-
`the clusters member of keiko support analyze --json (${SUPPORT_ANALYZE_KIND} v` +
|
|
1265
|
-
`${String(SUPPORT_ANALYZE_SCHEMA_VERSION)}) instead.\n`);
|
|
1266
|
-
}
|
|
1267
|
-
io.out(json ? `${JSON.stringify(clusters)}\n` : renderHumanClusters(clusters));
|
|
1268
|
-
return 0;
|
|
1269
|
-
}
|
|
1270
|
-
// Records what a reproduction seed states about its source while the analysis streams it (#3531):
|
|
1271
|
-
// the SHA-256 of the artifact's exact bytes, its line count, and its first line (a bundle's
|
|
1272
|
-
// manifest line). Digest and analysis come from the same pass, so they describe one snapshot.
|
|
1273
|
-
class SeedSourceObserver {
|
|
1274
|
-
hash = createHash("sha256");
|
|
1275
|
-
lineCount = 0;
|
|
1276
|
-
firstLine;
|
|
1277
|
-
observeChunk = (chunk) => {
|
|
1278
|
-
this.hash.update(chunk);
|
|
1279
|
-
};
|
|
1280
|
-
*observeLines(lines) {
|
|
1281
|
-
for (const line of lines) {
|
|
1282
|
-
if (this.lineCount === 0)
|
|
1283
|
-
this.firstLine = line.text;
|
|
1284
|
-
this.lineCount += 1;
|
|
1285
|
-
yield line;
|
|
1286
|
-
}
|
|
1287
|
-
}
|
|
1288
|
-
source() {
|
|
1289
|
-
return {
|
|
1290
|
-
lineCount: this.lineCount,
|
|
1291
|
-
sha256: this.hash.digest("hex"),
|
|
1292
|
-
firstLine: this.firstLine,
|
|
1293
|
-
};
|
|
1294
|
-
}
|
|
1295
|
-
}
|
|
1296
|
-
// Streams FILE through the bounded line reader (#3531) instead of loading it whole. A failure to
|
|
1297
|
-
// open or read it is reported content-free: the closed cause kind, never an fs message, which can
|
|
1298
|
-
// quote the path (AGENTS.md §7). Any other error propagates.
|
|
1299
|
-
function streamAnalyzeSource(filePath, options, io, observer) {
|
|
1300
|
-
let result;
|
|
1301
|
-
try {
|
|
1302
|
-
const lines = readActivityLogFileLines(() => openSync(filePath, "r"), {
|
|
1303
|
-
onChunk: observer?.observeChunk,
|
|
1304
|
-
});
|
|
1305
|
-
result = analyzeLogLines(observer === undefined ? lines : observer.observeLines(lines), options);
|
|
1306
|
-
}
|
|
1307
|
-
catch (error) {
|
|
1308
|
-
if (!(error instanceof ActivityLogReadError))
|
|
1309
|
-
throw error;
|
|
1310
|
-
io.err(`keiko support analyze: could not read ${filePath} — ${error.causeKind}\n`);
|
|
1311
|
-
result = 1;
|
|
1312
|
-
}
|
|
1313
|
-
return result;
|
|
1314
|
-
}
|
|
1315
|
-
function resolveFixturePath(cwd, path) {
|
|
1316
|
-
return isAbsolute(path) ? path : resolve(cwd, path);
|
|
307
|
+
return (await import("./support-report-cli.js")).runSafeSupportExport(args, io, env, deps);
|
|
1317
308
|
}
|
|
1318
309
|
// Fail-closed (disclosed gap #1's fix): never overwrites or follows an existing entry — a fixture
|
|
1319
310
|
// is meant to be hand-edited after generation, and silently clobbering that would destroy real
|
|
@@ -1322,10 +313,11 @@ function resolveFixturePath(cwd, path) {
|
|
|
1322
313
|
// dangling symlink, hard link, or FIFO at PATH is refused as an existing target, nothing is ever
|
|
1323
314
|
// created at a link's target, and no staging or recovery files are left beside it. The parent
|
|
1324
315
|
// directory is created first so `--emit-fixture some/new/dir/fixture.ts` does not require the
|
|
1325
|
-
// operator to `mkdir -p`. Content-free error reporting: only the closed failure kind is printed
|
|
1326
|
-
|
|
316
|
+
// operator to `mkdir -p`. Content-free error reporting: only the closed failure kind is printed,
|
|
317
|
+
// and the error is rethrown so the analysis settles as failed with that same closed kind.
|
|
318
|
+
function writeExclusiveFixture(path, contents, io) {
|
|
1327
319
|
try {
|
|
1328
|
-
mkdirSync(dirname(path), { recursive: true });
|
|
320
|
+
mkdirSync(dirname(path), { recursive: true, mode: 0o700 });
|
|
1329
321
|
const descriptor = openSafeArtifactFile(path, {
|
|
1330
322
|
artifactClass: "replay-fixture",
|
|
1331
323
|
mode: "exclusive-create",
|
|
@@ -1337,164 +329,14 @@ function writeFixtureOrExitCode(path, contents, io) {
|
|
|
1337
329
|
finally {
|
|
1338
330
|
closeSync(descriptor);
|
|
1339
331
|
}
|
|
1340
|
-
return undefined;
|
|
1341
332
|
}
|
|
1342
333
|
catch (error) {
|
|
1343
334
|
const kind = describeErrorKind(error);
|
|
1344
335
|
io.err(kind === "target-exists"
|
|
1345
336
|
? `keiko support analyze: refusing to overwrite existing file: ${path}\n`
|
|
1346
337
|
: `keiko support analyze: could not write fixture: ${kind}\n`);
|
|
1347
|
-
|
|
1348
|
-
}
|
|
1349
|
-
}
|
|
1350
|
-
// Writes the `--emit-fixture` file from `seed.gatewayScript`, when present and non-empty. Returns
|
|
1351
|
-
// undefined (nothing to report) when `--emit-fixture` was not requested; the resolved path on
|
|
1352
|
-
// success; or an exit code on a genuine failure (no reconstructible script, or a write error).
|
|
1353
|
-
function emitFixtureIfRequested(seed, emitFixture, correlationId, cwd, io) {
|
|
1354
|
-
if (emitFixture === undefined)
|
|
1355
|
-
return undefined;
|
|
1356
|
-
const fixtureText = seed.gatewayScript === undefined
|
|
1357
|
-
? undefined
|
|
1358
|
-
: renderGatewayReplayScriptFixture(seed.gatewayScript);
|
|
1359
|
-
if (fixtureText === undefined) {
|
|
1360
|
-
io.err(`keiko support analyze: no gateway replay script to write for correlationId=${correlationId}\n`);
|
|
1361
|
-
return { exitCode: 1 };
|
|
1362
|
-
}
|
|
1363
|
-
const path = resolveFixturePath(cwd, emitFixture);
|
|
1364
|
-
const failureCode = writeFixtureOrExitCode(path, fixtureText, io);
|
|
1365
|
-
return failureCode === undefined ? { path } : { exitCode: failureCode };
|
|
1366
|
-
}
|
|
1367
|
-
// `--emit-fixture` given without `--seed`: nothing to print but the write itself, kept in the
|
|
1368
|
-
// same JSON-vs-text discipline as every other emit* helper here.
|
|
1369
|
-
function reportFixtureOnly(fixturePath, json, io) {
|
|
1370
|
-
if (fixturePath === undefined)
|
|
1371
|
-
return;
|
|
1372
|
-
io.out(json ? `${JSON.stringify({ fixturePath })}\n` : `Wrote fixture to ${fixturePath}\n`);
|
|
1373
|
-
}
|
|
1374
|
-
// `--seed`: prints the seed itself, with `fixturePath` folded into the same JSON object when a
|
|
1375
|
-
// fixture was also written (so --json stays a single JSON object, never two), or a trailing
|
|
1376
|
-
// confirmation line in human mode.
|
|
1377
|
-
function emitSeedResult(seed, fixturePath, json, io) {
|
|
1378
|
-
if (json) {
|
|
1379
|
-
const payload = fixturePath === undefined ? seed : { ...seed, fixturePath };
|
|
1380
|
-
io.out(`${JSON.stringify(payload, null, 2)}\n`);
|
|
1381
|
-
return;
|
|
1382
|
-
}
|
|
1383
|
-
io.out(renderHumanReproductionSeed(seed));
|
|
1384
|
-
if (fixturePath !== undefined)
|
|
1385
|
-
io.out(`Wrote fixture to ${fixturePath}\n`);
|
|
1386
|
-
}
|
|
1387
|
-
// `--seed` / `--emit-fixture` (both require --correlation-id, enforced by `parseAnalyzeArgs`):
|
|
1388
|
-
// builds one `ReproductionSeed`, optionally writes the fixture derived from its `gatewayScript`,
|
|
1389
|
-
// then reports according to which of the two flags were actually requested.
|
|
1390
|
-
function runSeedAndFixture(analysis, source, context) {
|
|
1391
|
-
const { args, cwd, io, options } = context;
|
|
1392
|
-
const correlationId = args.correlationId;
|
|
1393
|
-
if (correlationId === undefined) {
|
|
1394
|
-
// Unreachable in practice: parseAnalyzeArgs rejects --seed/--emit-fixture without
|
|
1395
|
-
// --correlation-id before this function is ever called. Guarded so this function's own
|
|
1396
|
-
// string-typed correlationId use stays honest rather than relying on an external invariant.
|
|
1397
|
-
io.err(`keiko support analyze: --seed/--emit-fixture require --correlation-id.\n${USAGE}`);
|
|
1398
|
-
return 2;
|
|
1399
|
-
}
|
|
1400
|
-
const seed = buildReproductionSeedFromAnalysis(analysis, source, correlationId, new Date(), options);
|
|
1401
|
-
if (seed === undefined)
|
|
1402
|
-
return reportMissingCorrelationId(correlationId, io);
|
|
1403
|
-
const fixtureOutcome = emitFixtureIfRequested(seed, args.emitFixture, correlationId, cwd, io);
|
|
1404
|
-
if (fixtureOutcome !== undefined && "exitCode" in fixtureOutcome)
|
|
1405
|
-
return fixtureOutcome.exitCode;
|
|
1406
|
-
const fixturePath = fixtureOutcome?.path;
|
|
1407
|
-
if (args.seed) {
|
|
1408
|
-
emitSeedResult(seed, fixturePath, args.json, io);
|
|
1409
|
-
}
|
|
1410
|
-
else {
|
|
1411
|
-
reportFixtureOnly(fixturePath, args.json, io);
|
|
1412
|
-
}
|
|
1413
|
-
return 0;
|
|
1414
|
-
}
|
|
1415
|
-
function needsToolLifecycleValidator(result) {
|
|
1416
|
-
return result.timelines.some((timeline) => timeline.lines.some((line) => line.toolCatalog?.kind === "unavailable" ||
|
|
1417
|
-
(line.toolCatalog?.kind === "sink-failure" &&
|
|
1418
|
-
line.toolCatalog.diagnostics === "unavailable")));
|
|
1419
|
-
}
|
|
1420
|
-
// The tool-lifecycle validator and the redaction re-verifier `hasIssueToPrJourneyOps` needs (epic
|
|
1421
|
-
// #3384) both live in the same lazily-loaded subpath (`loadToolLifecycle`, GEN-PERF-CLI-001), so
|
|
1422
|
-
// either need loads it — one module load, not two, for two unrelated consumers of the same seam.
|
|
1423
|
-
async function loadToolAnalysisOptions(result, io) {
|
|
1424
|
-
if (!needsToolLifecycleValidator(result) && !hasIssueToPrJourneyOps(result))
|
|
1425
|
-
return {};
|
|
1426
|
-
try {
|
|
1427
|
-
const { validateToolLifecycleEvent, redactLogFields } = await loadToolLifecycle();
|
|
1428
|
-
return {
|
|
1429
|
-
toolLifecycleValidator: validateToolLifecycleEvent,
|
|
1430
|
-
toolDiagnosticRedactor: redactLogFields,
|
|
1431
|
-
};
|
|
1432
|
-
}
|
|
1433
|
-
catch (error) {
|
|
1434
|
-
io.err(`keiko support analyze: tool lifecycle validator unavailable — ${describeErrorKind(error)}\n`);
|
|
1435
|
-
return {};
|
|
1436
|
-
}
|
|
1437
|
-
}
|
|
1438
|
-
async function persistSupportAnalysisEvidence(result, cwd, env, io) {
|
|
1439
|
-
// Analysis input is immutable evidence. Persist the operator action to the CLI's local Activity
|
|
1440
|
-
// Log instead of appending to a raw input file, which may itself end in the crash fragment being
|
|
1441
|
-
// diagnosed.
|
|
1442
|
-
const stateDir = resolveStateDir(cwd, env);
|
|
1443
|
-
try {
|
|
1444
|
-
const server = await loadServer();
|
|
1445
|
-
emitSupportAnalysisEvidence(server, stateDir, result);
|
|
1446
|
-
return true;
|
|
1447
|
-
}
|
|
1448
|
-
catch (error) {
|
|
1449
|
-
io.err(`keiko support analyze: Activity Log unavailable: ${supportPublicationErrorKind(error)}\n`);
|
|
1450
|
-
return false;
|
|
1451
|
-
}
|
|
1452
|
-
}
|
|
1453
|
-
async function emitAnalyzedSupportResult(result, context) {
|
|
1454
|
-
if (!(await persistSupportAnalysisEvidence(result, context.cwd, context.env, context.io)))
|
|
1455
|
-
return 1;
|
|
1456
|
-
if (context.args.clusters)
|
|
1457
|
-
return emitClusters(result.clusters, context.args.json, context.io);
|
|
1458
|
-
if (context.args.seed || context.args.emitFixture !== undefined) {
|
|
1459
|
-
// The seed states its source's digest and line count, so it streams the artifact once more
|
|
1460
|
-
// and records both from the same pass as its analysis (#3531).
|
|
1461
|
-
const observer = new SeedSourceObserver();
|
|
1462
|
-
const analysis = streamAnalyzeSource(context.filePath, context.options, context.io, observer);
|
|
1463
|
-
if (typeof analysis === "number")
|
|
1464
|
-
return analysis;
|
|
1465
|
-
return runSeedAndFixture(analysis, observer.source(), context);
|
|
1466
|
-
}
|
|
1467
|
-
const report = buildAnalysisReport(result, context.filePath, context.deps);
|
|
1468
|
-
if (context.args.correlationId === undefined) {
|
|
1469
|
-
return emitAllTimelines(report, context.args.json, context.io);
|
|
1470
|
-
}
|
|
1471
|
-
const timeline = findTimeline(result, context.args.correlationId);
|
|
1472
|
-
if (timeline === undefined) {
|
|
1473
|
-
return reportMissingCorrelationId(context.args.correlationId, context.io);
|
|
338
|
+
throw error;
|
|
1474
339
|
}
|
|
1475
|
-
return emitSingleTimeline(timeline, result, report.analysisContext, context.args.json, context.io);
|
|
1476
|
-
}
|
|
1477
|
-
async function runSupportAnalyze(args, io, env, deps) {
|
|
1478
|
-
const cwd = deps.cwd ?? process.cwd();
|
|
1479
|
-
const filePath = isAbsolute(args.file) ? args.file : resolve(cwd, args.file);
|
|
1480
|
-
const basic = streamAnalyzeSource(filePath, {}, io);
|
|
1481
|
-
if (typeof basic === "number")
|
|
1482
|
-
return basic;
|
|
1483
|
-
const options = await loadToolAnalysisOptions(basic, io);
|
|
1484
|
-
const result = options.toolLifecycleValidator === undefined
|
|
1485
|
-
? basic
|
|
1486
|
-
: streamAnalyzeSource(filePath, options, io);
|
|
1487
|
-
if (typeof result === "number")
|
|
1488
|
-
return result;
|
|
1489
|
-
return emitAnalyzedSupportResult(result, {
|
|
1490
|
-
args,
|
|
1491
|
-
cwd,
|
|
1492
|
-
filePath,
|
|
1493
|
-
io,
|
|
1494
|
-
env,
|
|
1495
|
-
deps,
|
|
1496
|
-
options,
|
|
1497
|
-
});
|
|
1498
340
|
}
|
|
1499
341
|
export async function runSupportCli(args, io, env = {}, deps = {}) {
|
|
1500
342
|
const parsed = parseSupportArgs(args);
|
|
@@ -1521,5 +363,5 @@ export async function runSupportCli(args, io, env = {}, deps = {}) {
|
|
|
1521
363
|
if (parsed.kind === "manifest") {
|
|
1522
364
|
return runSupportManifestCli(parsed.value, io, env, { cwd: deps.cwd });
|
|
1523
365
|
}
|
|
1524
|
-
return
|
|
366
|
+
return (await import("./support-report-cli.js")).runSafeSupportAnalyze(parsed.value, io, env, deps, writeExclusiveFixture);
|
|
1525
367
|
}
|