@opencode/core 0.0.0-dev-19884 → 0.0.0-dev-19886
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/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{ripgrep-wa8gayma.js → schema-00kf9hgr.js} +84 -84
- package/dist/chunks/{ripgrep-tvmycyz8.js → schema-0g5nqv50.js} +5 -5
- package/dist/chunks/{ripgrep-yh6dn83m.js → schema-0jpk42xm.js} +12 -12
- package/dist/chunks/{ripgrep-vzfyj1ka.js → schema-0jpvnn7p.js} +10 -10
- package/dist/chunks/schema-0mesazry.js +4 -0
- package/dist/chunks/{ripgrep-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
- package/dist/chunks/{ripgrep-jkka0c6f.js → schema-0tzy42a9.js} +8 -8
- package/dist/chunks/{ripgrep-ap58tr72.js → schema-0vwe55z4.js} +17 -17
- package/dist/chunks/{ripgrep-zb5wqgkq.js → schema-0ztt3je3.js} +47 -47
- package/dist/chunks/{ripgrep-p51w04et.js → schema-14h2k2kq.js} +8 -8
- package/dist/chunks/schema-18yxx2zm.js +252 -0
- package/dist/chunks/schema-1d3x4d8x.js +26 -0
- package/dist/chunks/{ripgrep-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-naw1myqz.js → schema-1f65vsja.js} +22 -22
- package/dist/chunks/{ripgrep-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-0gaj4617.js → schema-23pqda6t.js} +6 -6
- package/dist/chunks/{ripgrep-2402vzrj.js → schema-2402vzrj.js} +1 -1
- package/dist/chunks/{ripgrep-bccb6npm.js → schema-26k5bknw.js} +4 -4
- package/dist/chunks/{ripgrep-rvtvfpzy.js → schema-27fda2dc.js} +6 -6
- package/dist/chunks/{ripgrep-8q3y7ehd.js → schema-27nsnsgt.js} +21 -21
- package/dist/chunks/{ripgrep-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-43h198y8.js → schema-2eegacq4.js} +8 -8
- package/dist/chunks/{ripgrep-w9k11mtt.js → schema-2ew1f5mw.js} +16 -16
- package/dist/chunks/{ripgrep-r83etpq8.js → schema-2hgcm4ge.js} +6 -6
- package/dist/chunks/{ripgrep-7dqw4kz8.js → schema-2k8khapm.js} +5 -5
- package/dist/chunks/{ripgrep-xrbsbc41.js → schema-2vvmycb5.js} +7 -7
- package/dist/chunks/{ripgrep-j68eznfn.js → schema-2zb4g7yy.js} +3 -3
- package/dist/chunks/{ripgrep-vfpvfcad.js → schema-31j0m047.js} +31 -31
- package/dist/chunks/{ripgrep-mfqp6xfm.js → schema-33w4ejhs.js} +9 -9
- package/dist/chunks/{ripgrep-m2cwgzsz.js → schema-35xpfejb.js} +25 -25
- package/dist/chunks/{ripgrep-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-4p8111z8.js → schema-3pjcshv1.js} +16 -16
- package/dist/chunks/{ripgrep-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-595ycqh3.js → schema-3xsz3272.js} +12 -12
- package/dist/chunks/{ripgrep-dmpxpvyd.js → schema-430xfz4c.js} +11 -11
- package/dist/chunks/{ripgrep-4dgbcxzg.js → schema-44h5tttr.js} +4 -4
- package/dist/chunks/{ripgrep-ydzmr5w4.js → schema-46dkj1aa.js} +24 -24
- package/dist/chunks/{ripgrep-hqh6p6yn.js → schema-49g14z3y.js} +4 -4
- package/dist/chunks/{ripgrep-00drppa2.js → schema-4ap4625a.js} +10 -10
- package/dist/chunks/{ripgrep-c8br9twv.js → schema-4dgwxax1.js} +19 -19
- package/dist/chunks/{ripgrep-fy1t25hs.js → schema-4dxzcd5q.js} +10 -10
- package/dist/chunks/{ripgrep-n91rd0qh.js → schema-4hndh7d1.js} +302 -302
- package/dist/chunks/{ripgrep-3e38qjvr.js → schema-4s8c6nrb.js} +22 -22
- package/dist/chunks/{ripgrep-xz99hjyp.js → schema-53614fhz.js} +8 -8
- package/dist/chunks/{ripgrep-57ez7d0k.js → schema-57ez7d0k.js} +2 -2
- package/dist/chunks/{ripgrep-9k4hstdt.js → schema-5cm2z16n.js} +42 -42
- package/dist/chunks/{ripgrep-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-p3jb5j7b.js → schema-5gz442hs.js} +33 -33
- package/dist/chunks/{ripgrep-bf0ztrs3.js → schema-5q02cxx3.js} +4 -4
- package/dist/chunks/{ripgrep-e3qxr5gk.js → schema-5qd3pb7m.js} +2 -2
- package/dist/chunks/{ripgrep-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-t0w9tswa.js → schema-61bj6qxp.js} +11 -11
- package/dist/chunks/{ripgrep-62cs28jb.js → schema-620c9p0e.js} +5 -5
- package/dist/chunks/{ripgrep-tv5x03kr.js → schema-62dkdkge.js} +33 -33
- package/dist/chunks/{ripgrep-vyrd71eq.js → schema-63zbbs1j.js} +11 -11
- package/dist/chunks/{ripgrep-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-0996nyz8.js → schema-6hjx5zpb.js} +5 -5
- package/dist/chunks/{ripgrep-5jbzwjgm.js → schema-6hwb3kgj.js} +17 -17
- package/dist/chunks/{ripgrep-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-tgaz0dtb.js → schema-6phpyabk.js} +5 -5
- package/dist/chunks/{ripgrep-p39gsrf5.js → schema-6ybjtjh6.js} +43 -43
- package/dist/chunks/{ripgrep-nyqx1cb3.js → schema-705e2ap1.js} +5 -5
- package/dist/chunks/{ripgrep-pzz9wtjp.js → schema-715jhr6j.js} +4 -4
- package/dist/chunks/{ripgrep-n06c4v83.js → schema-77dpymfj.js} +41 -41
- package/dist/chunks/{ripgrep-qfpwt3wt.js → schema-788gb7w8.js} +11 -11
- package/dist/chunks/{ripgrep-v19709j4.js → schema-7atvkj40.js} +30 -30
- package/dist/chunks/{ripgrep-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-wqkfmf7p.js → schema-7erxeq1k.js} +10 -10
- package/dist/chunks/{ripgrep-b46t8qcq.js → schema-7stb2mtn.js} +11 -11
- package/dist/chunks/{ripgrep-sh1v16f4.js → schema-82dy80yx.js} +30 -30
- package/dist/chunks/{ripgrep-xvyew5bh.js → schema-87sxhkrx.js} +296 -296
- package/dist/chunks/{ripgrep-ztyn76tz.js → schema-89kj8kbd.js} +12 -12
- package/dist/chunks/{ripgrep-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-f06c2dtw.js → schema-8gb5m816.js} +15 -15
- package/dist/chunks/{ripgrep-bpagpxd9.js → schema-8mrsjb6t.js} +9 -9
- package/dist/chunks/{ripgrep-dj2t23y0.js → schema-8p4f9s12.js} +2 -2
- package/dist/chunks/{ripgrep-g5xx7w73.js → schema-8pje5h6d.js} +13 -13
- package/dist/chunks/{ripgrep-xgw0etvz.js → schema-8z86kdgr.js} +2 -2
- package/dist/chunks/{ripgrep-dw1q9xcc.js → schema-8zxj1h0d.js} +30 -30
- package/dist/chunks/{ripgrep-9xbg11md.js → schema-96hmnfjn.js} +24 -24
- package/dist/chunks/{ripgrep-x8dfedm0.js → schema-99g1e68g.js} +5 -5
- package/dist/chunks/{ripgrep-y34kqq23.js → schema-9hhss0a2.js} +22 -22
- package/dist/chunks/{ripgrep-02kg8zjk.js → schema-9kn500pz.js} +30 -30
- package/dist/chunks/{ripgrep-mqc96y4z.js → schema-9vpczy1a.js} +11 -11
- package/dist/chunks/{ripgrep-7pnjd3fd.js → schema-9waxqwzk.js} +13 -13
- package/dist/chunks/{ripgrep-hyr91dj2.js → schema-9ydytpw2.js} +3 -3
- package/dist/chunks/{ripgrep-d2aac7k2.js → schema-a1a50ys5.js} +5 -5
- package/dist/chunks/{ripgrep-5c4hm403.js → schema-a1bz86dw.js} +3 -3
- package/dist/chunks/{ripgrep-bvvrmhe1.js → schema-a48qxba4.js} +17 -17
- package/dist/chunks/{ripgrep-g790jytp.js → schema-a67c24cf.js} +47 -47
- package/dist/chunks/{ripgrep-kk00bynn.js → schema-a8bn8zg0.js} +21 -21
- package/dist/chunks/{ripgrep-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-2k97ax98.js → schema-ac987dqs.js} +3 -3
- package/dist/chunks/{ripgrep-1yv162eq.js → schema-ajed71fh.js} +4 -4
- package/dist/chunks/{ripgrep-qdcqwhjs.js → schema-am548r7s.js} +20 -20
- package/dist/chunks/{ripgrep-ad9f3vzh.js → schema-asc6r62w.js} +18 -18
- package/dist/chunks/{ripgrep-1nrdxkt6.js → schema-aw4pcnvy.js} +20 -20
- package/dist/chunks/{ripgrep-jntbakwj.js → schema-awv3wa2m.js} +13 -13
- package/dist/chunks/{ripgrep-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-ryt7pzqc.js → schema-b97cbvw3.js} +1 -1
- package/dist/chunks/{ripgrep-bywg4f5n.js → schema-ba2a7ra8.js} +41 -41
- package/dist/chunks/{ripgrep-p1nm93x7.js → schema-bgxcxs0p.js} +5 -5
- package/dist/chunks/{ripgrep-jmphe03k.js → schema-bha4atvq.js} +4 -4
- package/dist/chunks/{ripgrep-txwbxve6.js → schema-bx5rv0r1.js} +16 -16
- package/dist/chunks/{ripgrep-8p9yqp1g.js → schema-by61nw3t.js} +20 -20
- package/dist/chunks/{ripgrep-qd7cft6p.js → schema-c47c9t6q.js} +9 -9
- package/dist/chunks/{ripgrep-zmgjwfd0.js → schema-c4h0rghh.js} +39 -39
- package/dist/chunks/{ripgrep-m0jqrx5p.js → schema-cfpkc3c9.js} +2 -2
- package/dist/chunks/{ripgrep-9dsm0yy8.js → schema-crd295za.js} +9 -9
- package/dist/chunks/{ripgrep-98cb2jh6.js → schema-crhmmv87.js} +168 -168
- package/dist/chunks/{ripgrep-jhewz3v4.js → schema-cv1ac0c6.js} +13 -13
- package/dist/chunks/{ripgrep-fm2qvscf.js → schema-d216944b.js} +7 -7
- package/dist/chunks/{ripgrep-4sra3427.js → schema-d8ekvs43.js} +14 -14
- package/dist/chunks/{ripgrep-47axers8.js → schema-d8j7pmpr.js} +23 -23
- package/dist/chunks/{ripgrep-wws8y0j5.js → schema-daqxfzz2.js} +7 -7
- package/dist/chunks/{ripgrep-x9ayx9my.js → schema-dcyzc3a4.js} +5 -5
- package/dist/chunks/{ripgrep-hvtp2efv.js → schema-dgkjxssa.js} +27 -27
- package/dist/chunks/{ripgrep-ena3twxc.js → schema-dhexvm6n.js} +33 -33
- package/dist/chunks/{ripgrep-sgwh5nyn.js → schema-dpahde6h.js} +8 -8
- package/dist/chunks/{ripgrep-p6r503wj.js → schema-dqd6nw8h.js} +26 -26
- package/dist/chunks/{ripgrep-qqeeq2t9.js → schema-drwq78ky.js} +7 -7
- package/dist/chunks/{ripgrep-erbxqsgg.js → schema-dvym74kg.js} +15 -15
- package/dist/chunks/{ripgrep-m6yarymk.js → schema-dzx47qqb.js} +24 -24
- package/dist/chunks/{ripgrep-dm8e8cqc.js → schema-e0vrtrrw.js} +14 -14
- package/dist/chunks/{ripgrep-0rrms05z.js → schema-e8f72s9g.js} +30 -30
- package/dist/chunks/{ripgrep-77b9qh7g.js → schema-e9j26s5a.js} +13 -13
- package/dist/chunks/{ripgrep-t550f9t1.js → schema-eaj1djv9.js} +8 -8
- package/dist/chunks/{ripgrep-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-j75a2xa8.js → schema-efx6pn78.js} +9 -9
- package/dist/chunks/{ripgrep-ranyrkk2.js → schema-eh3tg283.js} +11 -11
- package/dist/chunks/{ripgrep-a5ws9a8a.js → schema-epqfg76v.js} +13 -13
- package/dist/chunks/{ripgrep-erw5rpbs.js → schema-erw5rpbs.js} +2 -2
- package/dist/chunks/{ripgrep-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-3cfzdc8e.js → schema-evbgk2k8.js} +5 -5
- package/dist/chunks/{ripgrep-g5rgvkph.js → schema-f11mwxkr.js} +26 -26
- package/dist/chunks/{ripgrep-m3wcxb4h.js → schema-f1pvj740.js} +18 -18
- package/dist/chunks/{ripgrep-mw03hhna.js → schema-f68wk4tz.js} +18 -18
- package/dist/chunks/{ripgrep-hdnk95c8.js → schema-f828m53h.js} +2 -2
- package/dist/chunks/{ripgrep-tp9tgz8k.js → schema-fg4bngfk.js} +11 -11
- package/dist/chunks/{ripgrep-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
- package/dist/chunks/{ripgrep-1ajx6rf5.js → schema-g0445xdp.js} +8 -8
- package/dist/chunks/{ripgrep-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-88fr6h4a.js → schema-gh1qyndc.js} +28 -28
- package/dist/chunks/{ripgrep-08qs2p70.js → schema-gmhayzrc.js} +28 -28
- package/dist/chunks/{ripgrep-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-t0ac4kqt.js → schema-gw0rdnge.js} +16 -16
- package/dist/chunks/{ripgrep-gc5ex385.js → schema-gwwb91fp.js} +14 -14
- package/dist/chunks/{ripgrep-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-ps7p92m4.js → schema-hag420rg.js} +11 -11
- package/dist/chunks/{ripgrep-fpnx24t4.js → schema-hbznj76v.js} +3 -3
- package/dist/chunks/{ripgrep-jvdt4jv7.js → schema-hg46y0kh.js} +6 -6
- package/dist/chunks/{ripgrep-hv38ezqz.js → schema-hw0zd49b.js} +30 -30
- package/dist/chunks/{ripgrep-3zh0859w.js → schema-hxgdaxe3.js} +13 -13
- package/dist/chunks/{ripgrep-j26cqbwq.js → schema-hztmyek9.js} +3 -3
- package/dist/chunks/{ripgrep-86cf9fw2.js → schema-j1x1vf2y.js} +11 -11
- package/dist/chunks/{ripgrep-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-p82qgwm6.js → schema-j59ym81b.js} +13 -13
- package/dist/chunks/{ripgrep-n8ha5vbr.js → schema-jagm69te.js} +55 -55
- package/dist/chunks/{ripgrep-fg7qhaex.js → schema-jhbs716j.js} +61 -61
- package/dist/chunks/{ripgrep-hv6rh1ah.js → schema-jkh6xme0.js} +27 -27
- package/dist/chunks/{ripgrep-7ye0eskq.js → schema-jy1h2w15.js} +5 -5
- package/dist/chunks/{ripgrep-h3qh9gwx.js → schema-k0nnn7te.js} +26 -26
- package/dist/chunks/{ripgrep-nzks3jc8.js → schema-k3c624dm.js} +3 -3
- package/dist/chunks/{ripgrep-pmryb5d7.js → schema-k3yens6r.js} +28 -28
- package/dist/chunks/{ripgrep-r51gqmb4.js → schema-kgaqkgqz.js} +4 -4
- package/dist/chunks/{ripgrep-777p5kr8.js → schema-kgczsn21.js} +21 -21
- package/dist/chunks/{ripgrep-mmr7bq34.js → schema-knb7evpn.js} +8 -8
- package/dist/chunks/{ripgrep-rqwcfhke.js → schema-kxxcztw2.js} +11 -11
- package/dist/chunks/{ripgrep-tfzngn12.js → schema-kzc3h1h3.js} +4 -4
- package/dist/chunks/{ripgrep-3mc0mxvn.js → schema-m0pezh0b.js} +6 -6
- package/dist/chunks/{ripgrep-7c7tqtfq.js → schema-m2gwkkre.js} +9 -9
- package/dist/chunks/{ripgrep-80nc4spm.js → schema-m31hrvtp.js} +20 -20
- package/dist/chunks/{ripgrep-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-7h053g4f.js → schema-m4d3rech.js} +15 -15
- package/dist/chunks/{ripgrep-w8ee3ykt.js → schema-m50cybhv.js} +28 -28
- package/dist/chunks/{ripgrep-f8mhce1d.js → schema-m63dm8t2.js} +9 -9
- package/dist/chunks/{ripgrep-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-73tb2d7t.js → schema-mhkvc446.js} +3 -3
- package/dist/chunks/{ripgrep-engkm2d6.js → schema-mjagy123.js} +5 -5
- package/dist/chunks/{ripgrep-hn3c4ey4.js → schema-mkry9cbt.js} +15 -15
- package/dist/chunks/{ripgrep-kv9ap8w1.js → schema-mtd9q3qz.js} +11 -11
- package/dist/chunks/{ripgrep-8jzekk46.js → schema-mwe9m6y1.js} +12 -12
- package/dist/chunks/{ripgrep-qrn1gxgv.js → schema-n41zvqn3.js} +85 -85
- package/dist/chunks/{ripgrep-t2az9yje.js → schema-n4r3xatb.js} +4 -4
- package/dist/chunks/{ripgrep-6yvbrjax.js → schema-nd17pecj.js} +25 -25
- package/dist/chunks/{ripgrep-3mc3a2sf.js → schema-nf9eh295.js} +23 -23
- package/dist/chunks/{ripgrep-bpcm8v83.js → schema-nfey5btx.js} +9 -9
- package/dist/chunks/{ripgrep-dbxp2k0j.js → schema-nrphw12n.js} +7 -7
- package/dist/chunks/{ripgrep-e34x8y7p.js → schema-nsarsp7q.js} +8 -8
- package/dist/chunks/{ripgrep-jjs74g98.js → schema-nscznvay.js} +9 -9
- package/dist/chunks/{ripgrep-taxxp7qa.js → schema-nw8j1rps.js} +28 -28
- package/dist/chunks/{ripgrep-pm5byaap.js → schema-nwmd1prx.js} +20 -20
- package/dist/chunks/{ripgrep-y3kqwzhp.js → schema-nwt3vm70.js} +9 -9
- package/dist/chunks/{ripgrep-yyaayjfj.js → schema-p24szhfn.js} +74 -74
- package/dist/chunks/{ripgrep-mh050mx3.js → schema-p42z03n1.js} +29 -29
- package/dist/chunks/{ripgrep-8s5tghjp.js → schema-p5m4wkry.js} +25 -25
- package/dist/chunks/{ripgrep-enx68je3.js → schema-p5wnv3kx.js} +17 -17
- package/dist/chunks/schema-pf31ssb9.js +18 -0
- package/dist/chunks/{ripgrep-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-nqjmnyjs.js → schema-pwkmx0nv.js} +11 -11
- package/dist/chunks/{ripgrep-jegn5rpz.js → schema-q01vrhz0.js} +44 -44
- package/dist/chunks/{ripgrep-pvwh1q8t.js → schema-q2k638zh.js} +25 -25
- package/dist/chunks/{ripgrep-94zshge0.js → schema-qd9qsd3y.js} +26 -26
- package/dist/chunks/{ripgrep-jbj27hk3.js → schema-qk3ss27q.js} +5 -5
- package/dist/chunks/{ripgrep-fyvg84yx.js → schema-qm9z9m0p.js} +15 -15
- package/dist/chunks/{ripgrep-cwa6csj7.js → schema-qmqgtz8f.js} +9 -9
- package/dist/chunks/{ripgrep-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-57z5z4v1.js → schema-r0e90pz6.js} +6 -6
- package/dist/chunks/{ripgrep-sdgam4xr.js → schema-r216a26w.js} +1 -1
- package/dist/chunks/{ripgrep-3wcxc2ne.js → schema-r7w93r7k.js} +8 -8
- package/dist/chunks/{ripgrep-f2n192rq.js → schema-r8xr0va3.js} +4 -4
- package/dist/chunks/{ripgrep-h3g2mynz.js → schema-ra56mcsr.js} +7 -7
- package/dist/chunks/{ripgrep-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-q970vn6j.js → schema-rp4sv622.js} +2 -2
- package/dist/chunks/{ripgrep-ysddpjww.js → schema-rpprv63a.js} +6 -6
- package/dist/chunks/{ripgrep-eae6hk2f.js → schema-rpz6drrn.js} +17 -17
- package/dist/chunks/{ripgrep-5a6ex2zm.js → schema-rrx9jv1h.js} +34 -34
- package/dist/chunks/{ripgrep-60bahft7.js → schema-rw3hxt2z.js} +11 -11
- package/dist/chunks/{ripgrep-xyssbcjp.js → schema-rxat3bmm.js} +8 -8
- package/dist/chunks/{ripgrep-762am0a2.js → schema-rz3ttxsc.js} +3 -3
- package/dist/chunks/{ripgrep-kh0v43c1.js → schema-s16nvs90.js} +7 -7
- package/dist/chunks/{ripgrep-kv8tb5ny.js → schema-s5vydnba.js} +20 -20
- package/dist/chunks/{ripgrep-a7q5ytqy.js → schema-smeb82kt.js} +10 -10
- package/dist/chunks/{ripgrep-emqpgmd6.js → schema-sqg1zh0r.js} +25 -25
- package/dist/chunks/{ripgrep-h47rfed7.js → schema-sqwknf6n.js} +26 -26
- package/dist/chunks/{ripgrep-4pjcr2w6.js → schema-svthz80f.js} +5 -5
- package/dist/chunks/{ripgrep-npch8yde.js → schema-sxqpj4ry.js} +39 -39
- package/dist/chunks/{ripgrep-96y38d67.js → schema-t8tjryy7.js} +40 -40
- package/dist/chunks/{ripgrep-7ak0evkr.js → schema-t9gmmc62.js} +4 -4
- package/dist/chunks/{ripgrep-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-p28j5sbe.js → schema-tbz0fdvh.js} +5 -5
- package/dist/chunks/{ripgrep-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/{ripgrep-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-b5dg6b6d.js → schema-te5aq0s8.js} +19 -19
- package/dist/chunks/{ripgrep-9ae44cfy.js → schema-tegs1ycp.js} +6 -6
- package/dist/chunks/{ripgrep-eszpxc5c.js → schema-thp9hxey.js} +5 -5
- package/dist/chunks/{ripgrep-8wb0zfrh.js → schema-tkef11z1.js} +17 -17
- package/dist/chunks/{ripgrep-tvtrv512.js → schema-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-wsfhs49f.js → schema-v32h01d6.js} +3 -3
- package/dist/chunks/{ripgrep-npm9gzvc.js → schema-v4q4m78p.js} +1 -1
- package/dist/chunks/{ripgrep-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-576taz8z.js → schema-vkzh714j.js} +39 -39
- package/dist/chunks/{ripgrep-7arsjac4.js → schema-vwv45jwz.js} +11 -11
- package/dist/chunks/{ripgrep-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-3m25mxr5.js → schema-w16ahr6b.js} +47 -47
- package/dist/chunks/{ripgrep-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-5zv2xz0x.js → schema-w3xeasz5.js} +17 -17
- package/dist/chunks/{ripgrep-vspmzc2d.js → schema-w71eb5dq.js} +11 -11
- package/dist/chunks/{ripgrep-kw9xdzv2.js → schema-wd6nv646.js} +9 -9
- package/dist/chunks/{ripgrep-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-tynr2gr2.js → schema-wjj6t90t.js} +27 -27
- package/dist/chunks/{ripgrep-kkgwyedr.js → schema-wkayzp5j.js} +16 -16
- package/dist/chunks/{ripgrep-szb7x5e7.js → schema-wkehh1kx.js} +24 -24
- package/dist/chunks/{ripgrep-f4ysmyc6.js → schema-wn9776zt.js} +4 -4
- package/dist/chunks/{ripgrep-f2aqmkqm.js → schema-wv5rnem4.js} +11 -11
- package/dist/chunks/{ripgrep-xyb0jyg8.js → schema-wy0rv5a1.js} +9 -9
- package/dist/chunks/{ripgrep-9p41r4tx.js → schema-x1b0enpz.js} +25 -25
- package/dist/chunks/{ripgrep-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-6pc7fx7t.js → schema-x3h06d7w.js} +28 -28
- package/dist/chunks/{ripgrep-rxcdjwh1.js → schema-xnv6xhp0.js} +8 -8
- package/dist/chunks/{ripgrep-terq9fxp.js → schema-xptk6zwz.js} +26 -26
- package/dist/chunks/{ripgrep-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-hc7vac20.js → schema-y4ryaafw.js} +16 -16
- package/dist/chunks/{ripgrep-y71avatq.js → schema-y71avatq.js} +1 -1
- package/dist/chunks/{ripgrep-xb6f42dc.js → schema-y79g4z7g.js} +14 -14
- package/dist/chunks/{ripgrep-dbvccpaz.js → schema-ydbs56mh.js} +6 -6
- package/dist/chunks/{ripgrep-b7wj3gyt.js → schema-yfkgz838.js} +26 -26
- package/dist/chunks/{ripgrep-pjedbq3k.js → schema-yq2cczkq.js} +9 -9
- package/dist/chunks/{ripgrep-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-s4enseaf.js → schema-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-5d771mpt.js → schema-ysht8f4g.js} +4 -4
- package/dist/chunks/{ripgrep-yanrta8x.js → schema-yx64nkv6.js} +27 -27
- package/dist/chunks/{ripgrep-wdkpcg2j.js → schema-z07ec4ej.js} +24 -24
- package/dist/chunks/{ripgrep-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-29x78va6.js → schema-z63w68vq.js} +6 -6
- package/dist/chunks/{ripgrep-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-cdawn80v.js → schema-zfv3dwnm.js} +11 -11
- package/dist/chunks/{ripgrep-h6z8d5tn.js → schema-zj09a0ew.js} +4 -4
- package/dist/chunks/{ripgrep-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +71 -71
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +71 -71
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +118 -118
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/ripgrep-1x11rq2a.js +0 -18
- package/dist/chunks/ripgrep-7bm43ve7.js +0 -252
- package/dist/chunks/ripgrep-cd7q2513.js +0 -26
- package/dist/chunks/ripgrep-h47he10w.js +0 -4
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → schema-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-twg0f83k.js → schema-twg0f83k.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./schema-hag420rg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service72,
|
|
7
|
+
node76
|
|
8
|
+
} from "./schema-9vpczy1a.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event7,
|
|
21
|
+
ID: () => ID4,
|
|
22
22
|
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service38,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node42
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event7 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID4
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID4,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service38 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service82;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service72;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service38.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node42 = makeLocationNode({
|
|
188
|
+
service: Service38,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node86, node76]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service38, node42, exports_websearch3, Event7 };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-nfey5btx.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-jhbs716j.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-jkh6xme0.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./schema-cv1ac0c6.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID16,
|
|
6
|
+
Service78
|
|
7
|
+
} from "./schema-gh1qyndc.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-hbznj76v.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-nfey5btx.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service78;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID16.make(from),
|
|
91
|
+
to: ID16.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-pwkmx0nv.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin19,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin19 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin28 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint5, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin28 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin19, exports_firecrawl };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service40,
|
|
3
|
+
node44
|
|
4
|
+
} from "./schema-96hmnfjn.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node83
|
|
8
|
+
} from "./schema-2vvmycb5.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service39,
|
|
11
|
+
node43
|
|
12
|
+
} from "./schema-77dpymfj.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service10,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer6,
|
|
28
|
+
node: () => node12
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service10 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service39;
|
|
40
|
+
const watcher = yield* Service40;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service79;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service10.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node12 = makeLocationNode({
|
|
74
|
+
service: Service10,
|
|
75
|
+
layer: layer6,
|
|
76
|
+
deps: [node43, FSUtil.node, node44, node83]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service10,
|
|
80
|
+
layer: Layer.succeed(Service10, Service10.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service10, layer6, node12, empty2, exports_source };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./schema-hag420rg.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node83
|
|
12
|
+
} from "./schema-2vvmycb5.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
ID11,
|
|
14
|
+
ID8,
|
|
16
15
|
modelSettings2,
|
|
17
16
|
mergeOverlay2,
|
|
18
17
|
mergeHeaders2,
|
|
19
|
-
|
|
18
|
+
Service68,
|
|
20
19
|
node72,
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
Event15,
|
|
21
|
+
rewrite2
|
|
22
|
+
} from "./schema-87sxhkrx.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./schema-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,14 +30,14 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event14,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID7,
|
|
36
|
+
Info: () => Info22,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service66,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
node: () => node70,
|
|
@@ -47,8 +47,8 @@ import { Model } from "@opencode/schema/model";
|
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
51
|
-
var
|
|
50
|
+
import { Event as Event14 } from "@opencode/schema/model";
|
|
51
|
+
var ID7 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,12 +56,12 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info22 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service66 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
63
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service68;
|
|
65
65
|
const bus = yield* Service82;
|
|
66
66
|
const location = yield* Service79;
|
|
67
67
|
let input;
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info22.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service66.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var node70 = makeLocationNode({ service:
|
|
220
|
+
var node70 = makeLocationNode({ service: Service66, layer, deps: [node72, node86, node83] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -228,9 +228,9 @@ function compatibility2(input) {
|
|
|
228
228
|
function parse5(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID8.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID7.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID7, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info22, Service66, node70, compatibility2, parse5, exports_model2, Event14 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error4,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make16,
|
|
14
|
+
node: () => node55,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make16 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node55 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error4, ProviderNotFound2, make16, RegistryService2, registry2, registryNode2, node55, exports_driver };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-44h5tttr.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-hag420rg.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./schema-31j0m047.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-jkh6xme0.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID8,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service68
|
|
20
|
+
} from "./schema-87sxhkrx.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID7
|
|
23
|
+
} from "./schema-x3h06d7w.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./schema-vwv45jwz.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-pwkmx0nv.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID9.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,7 +157,7 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
160
|
+
const providers = yield* Service68;
|
|
161
161
|
const bus = yield* Service82;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID8.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
178
|
try: () => load2(url, {
|
|
179
179
|
...provider?.headers,
|
|
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID8.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID8.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID8.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|