@opencode/core 0.0.0-dev-19309 → 0.0.0-dev-19311
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{catalog-x24zbaxc.js → model-resolver-0aq3bv6p.js} +27 -27
- package/dist/chunks/{catalog-0hpxrkyb.js → model-resolver-0hpxrkyb.js} +2 -2
- package/dist/chunks/{catalog-g0mr4btt.js → model-resolver-0hxph87b.js} +5 -5
- package/dist/chunks/{catalog-5tfj1zwh.js → model-resolver-0jmjzee4.js} +17 -17
- package/dist/chunks/model-resolver-0mesazry.js +4 -0
- package/dist/chunks/{catalog-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{catalog-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
- package/dist/chunks/{catalog-r441rk8t.js → model-resolver-0sawsjns.js} +18 -18
- package/dist/chunks/{catalog-82a5wx02.js → model-resolver-0v867qyd.js} +15 -15
- package/dist/chunks/{catalog-dkr6v1jj.js → model-resolver-13bj4jyc.js} +6 -6
- package/dist/chunks/{catalog-43ptgj31.js → model-resolver-19aya85j.js} +7 -7
- package/dist/chunks/{catalog-wr9en1my.js → model-resolver-1bs4t1p1.js} +41 -41
- package/dist/chunks/{catalog-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{catalog-b5n790m1.js → model-resolver-1mtcg6ar.js} +25 -25
- package/dist/chunks/{catalog-mp02gzc9.js → model-resolver-1r3p2k7g.js} +28 -28
- package/dist/chunks/{catalog-493f7437.js → model-resolver-21gmtf5s.js} +11 -11
- package/dist/chunks/{catalog-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{catalog-b5x3zw73.js → model-resolver-23n5nc7p.js} +9 -9
- package/dist/chunks/{catalog-2402vzrj.js → model-resolver-2402vzrj.js} +1 -1
- package/dist/chunks/model-resolver-27ajfczk.js +247 -0
- package/dist/chunks/{catalog-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{catalog-vyrd71eq.js → model-resolver-2ekhvkds.js} +11 -11
- package/dist/chunks/{catalog-1w9a9pv3.js → model-resolver-2f04pwep.js} +3 -3
- package/dist/chunks/{catalog-sx4z2wkx.js → model-resolver-2gp30egj.js} +4 -4
- package/dist/chunks/{catalog-ea4szbf4.js → model-resolver-2gvahrj6.js} +15 -15
- package/dist/chunks/{catalog-crn2g2j7.js → model-resolver-2rw3mzdd.js} +25 -25
- package/dist/chunks/{catalog-hfe15vta.js → model-resolver-2taagk0w.js} +27 -27
- package/dist/chunks/{catalog-ddt2bs9e.js → model-resolver-2vs2nh1n.js} +4 -4
- package/dist/chunks/{catalog-x36451fn.js → model-resolver-35m6n0h8.js} +9 -9
- package/dist/chunks/{catalog-4ck6zdkc.js → model-resolver-3d05yrhf.js} +20 -20
- package/dist/chunks/{catalog-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{catalog-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{catalog-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{catalog-vk7myt1t.js → model-resolver-3tkg1v6e.js} +22 -22
- package/dist/chunks/{catalog-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{catalog-83x6p9kd.js → model-resolver-3y2vzd8j.js} +1 -1
- package/dist/chunks/{catalog-e3t7z67s.js → model-resolver-423zw90g.js} +8 -8
- package/dist/chunks/{catalog-t8mcaem5.js → model-resolver-4am1wjpn.js} +1 -1
- package/dist/chunks/{catalog-2twcyph9.js → model-resolver-4f4xg237.js} +10 -10
- package/dist/chunks/{catalog-3mp8tw93.js → model-resolver-4mq91456.js} +2 -2
- package/dist/chunks/{catalog-c8kn0e1j.js → model-resolver-4sgjj86v.js} +12 -12
- package/dist/chunks/{catalog-yvmq8qxx.js → model-resolver-4sp1fpdf.js} +12 -12
- package/dist/chunks/{catalog-rkqame75.js → model-resolver-4tehx1tz.js} +24 -24
- package/dist/chunks/{catalog-hs0dft44.js → model-resolver-51k0a2ck.js} +42 -42
- package/dist/chunks/{catalog-4as1skcx.js → model-resolver-53kakmxw.js} +88 -88
- package/dist/chunks/{catalog-w2f3tag7.js → model-resolver-5a3e4t2e.js} +53 -53
- package/dist/chunks/{catalog-bpggscz5.js → model-resolver-5b8g7156.js} +22 -22
- package/dist/chunks/{catalog-a1bz86dw.js → model-resolver-5c4hm403.js} +3 -3
- package/dist/chunks/{catalog-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{catalog-6kdk6nqh.js → model-resolver-5gvs0vy6.js} +3 -3
- package/dist/chunks/{catalog-annfvqzd.js → model-resolver-5reahhcp.js} +62 -62
- package/dist/chunks/{catalog-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{catalog-dv1qgsyq.js → model-resolver-5xtgfte3.js} +8 -8
- package/dist/chunks/{catalog-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{catalog-277t2eea.js → model-resolver-6fb6cyfd.js} +17 -17
- package/dist/chunks/{catalog-19vf66h0.js → model-resolver-6hh8tjw2.js} +4 -4
- package/dist/chunks/{catalog-s3na88hc.js → model-resolver-6jt15jam.js} +16 -16
- package/dist/chunks/{catalog-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/model-resolver-6nbzjb56.js +462 -0
- package/dist/chunks/{catalog-sg6ndnsg.js → model-resolver-6tdy5psv.js} +24 -24
- package/dist/chunks/{catalog-en89ywvk.js → model-resolver-70rhfn1p.js} +19 -19
- package/dist/chunks/{catalog-71q4at8m.js → model-resolver-71q4at8m.js} +1 -1
- package/dist/chunks/{catalog-w834zwzr.js → model-resolver-76yzkxkp.js} +46 -46
- package/dist/chunks/{catalog-z4rzbvzf.js → model-resolver-7aa1cj5w.js} +9 -9
- package/dist/chunks/{catalog-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{catalog-0n9gyfew.js → model-resolver-7g1znek2.js} +4 -4
- package/dist/chunks/{catalog-0pcfrhz7.js → model-resolver-7hd0m9s1.js} +9 -9
- package/dist/chunks/{catalog-hjyq8txy.js → model-resolver-7htwxs73.js} +19 -19
- package/dist/chunks/{catalog-9yzgp4j1.js → model-resolver-7ptgkj9x.js} +30 -30
- package/dist/chunks/{catalog-avf8efec.js → model-resolver-7pvzsz6j.js} +46 -46
- package/dist/chunks/{catalog-7g3sek8k.js → model-resolver-7z7893y4.js} +9 -9
- package/dist/chunks/{catalog-ghk9cxjs.js → model-resolver-81rrwt6s.js} +6 -6
- package/dist/chunks/{catalog-bjfdh5sq.js → model-resolver-8485p8c8.js} +25 -25
- package/dist/chunks/{catalog-2t8xysc7.js → model-resolver-868qdqs3.js} +11 -11
- package/dist/chunks/{catalog-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{catalog-f20xgh69.js → model-resolver-8ns0hvns.js} +23 -23
- package/dist/chunks/{catalog-pdcqshfj.js → model-resolver-94mafesx.js} +29 -29
- package/dist/chunks/{catalog-trdmtmn1.js → model-resolver-96jy3nrs.js} +31 -31
- package/dist/chunks/{catalog-ynj9sc9b.js → model-resolver-983ft7s8.js} +7 -7
- package/dist/chunks/{catalog-pygrm44j.js → model-resolver-9cbpths4.js} +24 -24
- package/dist/chunks/{catalog-v01artfa.js → model-resolver-9t2yae5y.js} +16 -16
- package/dist/chunks/{catalog-887bxmqj.js → model-resolver-9wc31ee9.js} +9 -9
- package/dist/chunks/{catalog-nfj734wy.js → model-resolver-9yd8p6fr.js} +41 -41
- package/dist/chunks/{catalog-4h427kqb.js → model-resolver-a3nnj4kk.js} +51 -51
- package/dist/chunks/{catalog-gg87hdr1.js → model-resolver-a6y89zjg.js} +90 -90
- package/dist/chunks/{catalog-t41sh3fy.js → model-resolver-a71pjsc9.js} +12 -12
- package/dist/chunks/{catalog-wmhr3c7y.js → model-resolver-a9b9x376.js} +7 -7
- package/dist/chunks/{catalog-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{catalog-jfw7ranw.js → model-resolver-aaxaqk19.js} +4 -4
- package/dist/chunks/{catalog-8f447577.js → model-resolver-acsehg7c.js} +22 -22
- package/dist/chunks/{catalog-86vv7gh8.js → model-resolver-ajztzy0x.js} +9 -9
- package/dist/chunks/{catalog-v33xfvcj.js → model-resolver-awbdwcvp.js} +9 -9
- package/dist/chunks/{catalog-sv2dresp.js → model-resolver-ax70fxdt.js} +11 -11
- package/dist/chunks/{catalog-vtss28jw.js → model-resolver-b1ajx0g1.js} +7 -7
- package/dist/chunks/{catalog-ne6jr7py.js → model-resolver-b3xbanpc.js} +8 -8
- package/dist/chunks/{catalog-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{catalog-en74w496.js → model-resolver-bd9nqr2t.js} +5 -5
- package/dist/chunks/{catalog-sra9araw.js → model-resolver-bhj4y43k.js} +5 -5
- package/dist/chunks/{catalog-bv56xrks.js → model-resolver-bv56xrks.js} +2 -2
- package/dist/chunks/{catalog-kxfy9v2j.js → model-resolver-bzvjbgc5.js} +19 -19
- package/dist/chunks/{catalog-w7t7hmp4.js → model-resolver-bzzsz1b8.js} +11 -11
- package/dist/chunks/{catalog-51mnv1qp.js → model-resolver-c0qy3m8p.js} +15 -15
- package/dist/chunks/{catalog-c7ecgrk6.js → model-resolver-c1g6mvbq.js} +8 -8
- package/dist/chunks/{catalog-kqnty0aw.js → model-resolver-c5m6q3p0.js} +21 -21
- package/dist/chunks/{catalog-ncmz7v5j.js → model-resolver-c68b4qab.js} +10 -10
- package/dist/chunks/{catalog-k0nnq3t9.js → model-resolver-cdqe3acw.js} +6 -6
- package/dist/chunks/{catalog-cavm9het.js → model-resolver-cm6p1s29.js} +23 -23
- package/dist/chunks/{catalog-c64pkv7q.js → model-resolver-cmj3wvnf.js} +19 -19
- package/dist/chunks/{catalog-21s79zm0.js → model-resolver-cqnjb978.js} +22 -22
- package/dist/chunks/{catalog-3518rj0x.js → model-resolver-crvrtykq.js} +20 -20
- package/dist/chunks/{catalog-5nsrms9d.js → model-resolver-cz2fjc0t.js} +1 -1
- package/dist/chunks/{catalog-9hxjxzzj.js → model-resolver-d4bs6nh8.js} +35 -35
- package/dist/chunks/{catalog-jvgf59s5.js → model-resolver-d6axdhgm.js} +46 -46
- package/dist/chunks/{catalog-3yjx2qxr.js → model-resolver-daem90sq.js} +35 -35
- package/dist/chunks/{catalog-dfe8djrf.js → model-resolver-dfe8djrf.js} +1 -1
- package/dist/chunks/{catalog-gda9nas2.js → model-resolver-dj14fq5x.js} +15 -15
- package/dist/chunks/{catalog-8p4f9s12.js → model-resolver-dj2t23y0.js} +2 -2
- package/dist/chunks/{catalog-ssd64hap.js → model-resolver-dp2desqw.js} +24 -24
- package/dist/chunks/{catalog-e34b6n40.js → model-resolver-dy83786h.js} +26 -26
- package/dist/chunks/{catalog-g85prm42.js → model-resolver-dz4bsems.js} +8 -8
- package/dist/chunks/{catalog-s8d7rejh.js → model-resolver-eaj1djv9.js} +6 -6
- package/dist/chunks/{catalog-n41t07j9.js → model-resolver-eez3sah5.js} +28 -28
- package/dist/chunks/{catalog-sse12fwf.js → model-resolver-ek34y162.js} +8 -8
- package/dist/chunks/{catalog-3ypbmvbe.js → model-resolver-eqhsskwv.js} +4 -4
- package/dist/chunks/{catalog-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{catalog-3w2b2yj4.js → model-resolver-ez47arx5.js} +5 -5
- package/dist/chunks/{catalog-kk00bynn.js → model-resolver-f3ngv102.js} +21 -21
- package/dist/chunks/{catalog-3m0hcevc.js → model-resolver-fkjex2d7.js} +40 -40
- package/dist/chunks/{catalog-xycjtdwc.js → model-resolver-fkvyrnmv.js} +2 -2
- package/dist/chunks/{catalog-pv83a8g9.js → model-resolver-fnb1tm2q.js} +5 -5
- package/dist/chunks/{catalog-p17pfsmd.js → model-resolver-fs30ryqv.js} +25 -25
- package/dist/chunks/{catalog-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
- package/dist/chunks/{catalog-shh6fz4q.js → model-resolver-fyymr9xg.js} +4 -4
- package/dist/chunks/{catalog-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{catalog-fe83msa9.js → model-resolver-gkjrds9h.js} +13 -13
- package/dist/chunks/{catalog-63ypb7gw.js → model-resolver-gmnw41t9.js} +24 -24
- package/dist/chunks/{catalog-qjq8d7da.js → model-resolver-gmykmxzz.js} +18 -18
- package/dist/chunks/{catalog-c0gpyqcs.js → model-resolver-gsv4ca8f.js} +43 -43
- package/dist/chunks/{catalog-ekxqnygj.js → model-resolver-gwgds8rz.js} +20 -20
- package/dist/chunks/{catalog-h03wrkyp.js → model-resolver-h03wrkyp.js} +2 -2
- package/dist/chunks/{catalog-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{catalog-gc7xqtvn.js → model-resolver-h7gdqzd6.js} +6 -6
- package/dist/chunks/{catalog-jhetwysa.js → model-resolver-h94x1q5y.js} +3 -3
- package/dist/chunks/{catalog-f828m53h.js → model-resolver-hdnk95c8.js} +2 -2
- package/dist/chunks/{catalog-4fq0az5r.js → model-resolver-hg29js9c.js} +5 -5
- package/dist/chunks/{catalog-hjt4xg1x.js → model-resolver-hjt4xg1x.js} +1 -1
- package/dist/chunks/{catalog-hccqy9de.js → model-resolver-hm085mrq.js} +25 -25
- package/dist/chunks/{catalog-mncc4vzv.js → model-resolver-hmyxjnbw.js} +15 -15
- package/dist/chunks/{catalog-1bbkgx8g.js → model-resolver-j028xdjb.js} +3 -3
- package/dist/chunks/{catalog-qqtwvk4z.js → model-resolver-j15mfg1p.js} +6 -6
- package/dist/chunks/{catalog-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{catalog-eks9y43h.js → model-resolver-j7wqg36k.js} +13 -13
- package/dist/chunks/{catalog-cpsw9aga.js → model-resolver-jdh6s7jq.js} +8 -8
- package/dist/chunks/{catalog-3p5n9sjf.js → model-resolver-jfcm55kc.js} +7 -7
- package/dist/chunks/{catalog-rpz3wezz.js → model-resolver-jh3mr9fx.js} +4 -4
- package/dist/chunks/{catalog-6mav0crw.js → model-resolver-jrec0msh.js} +33 -33
- package/dist/chunks/{catalog-jsckaant.js → model-resolver-jzhcgjv7.js} +13 -13
- package/dist/chunks/{catalog-p6sy7vrx.js → model-resolver-k3drw8gy.js} +11 -11
- package/dist/chunks/{catalog-jz7qjw6y.js → model-resolver-k7d0894y.js} +9 -9
- package/dist/chunks/{catalog-kcj2091p.js → model-resolver-k8aynvez.js} +10 -10
- package/dist/chunks/{catalog-0e1sw8g7.js → model-resolver-k8m05cxs.js} +18 -18
- package/dist/chunks/{catalog-3n15d110.js → model-resolver-kbm5ywhv.js} +35 -35
- package/dist/chunks/{catalog-kg06axw8.js → model-resolver-kg06axw8.js} +1 -1
- package/dist/chunks/{catalog-cfpkc3c9.js → model-resolver-m0jqrx5p.js} +2 -2
- package/dist/chunks/{catalog-c3d70zs9.js → model-resolver-m13kr8wx.js} +13 -13
- package/dist/chunks/{catalog-n2w5zf4y.js → model-resolver-m18gzt7g.js} +30 -30
- package/dist/chunks/{catalog-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{catalog-3tt1qkhr.js → model-resolver-ma48de29.js} +5 -5
- package/dist/chunks/{catalog-1ygqh575.js → model-resolver-mfqp6xfm.js} +6 -6
- package/dist/chunks/{catalog-mkcjrzeh.js → model-resolver-mkcjrzeh.js} +1 -1
- package/dist/chunks/{catalog-4rt9mjng.js → model-resolver-mym5xwza.js} +11 -11
- package/dist/chunks/{catalog-d3zdjdg4.js → model-resolver-n6aetzp4.js} +39 -39
- package/dist/chunks/{catalog-n68ab1tc.js → model-resolver-n7qdmp8m.js} +20 -20
- package/dist/chunks/{catalog-fq51289s.js → model-resolver-n93cvmfp.js} +32 -32
- package/dist/chunks/{catalog-styqsms2.js → model-resolver-n95h4grp.js} +17 -17
- package/dist/chunks/{catalog-m5ehmq0h.js → model-resolver-nmrsa8tb.js} +21 -21
- package/dist/chunks/{catalog-xrdn9kgh.js → model-resolver-np146xf0.js} +13 -13
- package/dist/chunks/{catalog-4sqgnae3.js → model-resolver-nzcr7xy5.js} +22 -22
- package/dist/chunks/{catalog-t89hfesc.js → model-resolver-nzwzy72p.js} +9 -9
- package/dist/chunks/{catalog-4xjg4q2t.js → model-resolver-p07p7dxg.js} +16 -16
- package/dist/chunks/{catalog-a8j8hhs2.js → model-resolver-p72z5xx6.js} +2 -2
- package/dist/chunks/{catalog-zxwpk2nb.js → model-resolver-p905rm1f.js} +1 -1
- package/dist/chunks/{catalog-88sz8qcd.js → model-resolver-paegk39x.js} +4 -4
- package/dist/chunks/{catalog-j935v87r.js → model-resolver-paphc93g.js} +2 -2
- package/dist/chunks/{catalog-h9v53t8b.js → model-resolver-pdc8edc9.js} +28 -28
- package/dist/chunks/{catalog-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{catalog-5mphm999.js → model-resolver-pk6gzyws.js} +24 -24
- package/dist/chunks/{catalog-w17639j7.js → model-resolver-pkmavskt.js} +4 -4
- package/dist/chunks/{catalog-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{catalog-96qecsp7.js → model-resolver-ptbz0kzz.js} +19 -19
- package/dist/chunks/{catalog-m2d0j7c0.js → model-resolver-px1hepbq.js} +9 -9
- package/dist/chunks/{catalog-324g3shg.js → model-resolver-q15ghr61.js} +15 -15
- package/dist/chunks/{catalog-0evts91x.js → model-resolver-q5bwphvd.js} +18 -18
- package/dist/chunks/{catalog-xn5rvdk3.js → model-resolver-qe26s0zb.js} +8 -8
- package/dist/chunks/{catalog-fcrkznn8.js → model-resolver-qgn6gcr1.js} +5 -5
- package/dist/chunks/{catalog-s7sd9pj0.js → model-resolver-qja371g1.js} +18 -18
- package/dist/chunks/{catalog-agqtpwbj.js → model-resolver-qnmw77rf.js} +5 -5
- package/dist/chunks/{catalog-gw93046e.js → model-resolver-qpp5wgcs.js} +10 -10
- package/dist/chunks/{catalog-509mfy7b.js → model-resolver-qpt5r044.js} +6 -6
- package/dist/chunks/{catalog-n71y3dbp.js → model-resolver-qqazqvjv.js} +11 -11
- package/dist/chunks/{catalog-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{catalog-m74w19w0.js → model-resolver-qvrt22yc.js} +168 -168
- package/dist/chunks/{catalog-fppsb3b5.js → model-resolver-qzt97rh9.js} +36 -36
- package/dist/chunks/{catalog-g07620wm.js → model-resolver-r1gq2p73.js} +26 -26
- package/dist/chunks/{catalog-c9whyjqe.js → model-resolver-r8er4w6q.js} +10 -10
- package/dist/chunks/model-resolver-rap9a73h.js +18 -0
- package/dist/chunks/{catalog-2j0cq4hw.js → model-resolver-rgst1ddg.js} +11 -11
- package/dist/chunks/{catalog-vzr1015d.js → model-resolver-rma5z0ck.js} +26 -26
- package/dist/chunks/{catalog-zeh9ct20.js → model-resolver-rq775frq.js} +2 -2
- package/dist/chunks/{catalog-nh5sasdk.js → model-resolver-rswbxkdz.js} +22 -22
- package/dist/chunks/{catalog-n4ejk7vt.js → model-resolver-rz8cg23q.js} +34 -34
- package/dist/chunks/{catalog-91brfrwq.js → model-resolver-rzr29mjv.js} +1 -1
- package/dist/chunks/{catalog-k52252t7.js → model-resolver-s9yxznb6.js} +4 -4
- package/dist/chunks/{catalog-kmzz9pas.js → model-resolver-sath0g0v.js} +15 -15
- package/dist/chunks/{catalog-xdh98823.js → model-resolver-sfzmaz10.js} +17 -17
- package/dist/chunks/{catalog-te5wzfm2.js → model-resolver-smayg48v.js} +33 -33
- package/dist/chunks/{catalog-4mkcvr19.js → model-resolver-snxhrb6z.js} +5 -5
- package/dist/chunks/{catalog-ezewvdhd.js → model-resolver-sz79wj9p.js} +11 -11
- package/dist/chunks/{catalog-6ck2t1rv.js → model-resolver-t0x5rdq8.js} +9 -9
- package/dist/chunks/{catalog-v4v7wqz2.js → model-resolver-t294w80x.js} +27 -27
- package/dist/chunks/{catalog-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{catalog-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{catalog-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{catalog-wdg8v3k8.js → model-resolver-tpqcq9ma.js} +32 -32
- package/dist/chunks/{catalog-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{catalog-0zgh7kk5.js → model-resolver-txf4gfjj.js} +61 -61
- package/dist/chunks/{catalog-bxphq6yf.js → model-resolver-v03cbedv.js} +37 -37
- package/dist/chunks/{catalog-4zbwj09h.js → model-resolver-v22jagvy.js} +11 -11
- package/dist/chunks/{catalog-v9nb272c.js → model-resolver-v28yx9rk.js} +6 -6
- package/dist/chunks/{catalog-8k4hkv5d.js → model-resolver-v2p4rfxw.js} +6 -6
- package/dist/chunks/{catalog-jv01nqvq.js → model-resolver-v5hpcsb0.js} +5 -5
- package/dist/chunks/{catalog-rxjrk2nw.js → model-resolver-v5p5jd5d.js} +16 -16
- package/dist/chunks/{catalog-ap7992nw.js → model-resolver-vazvxs3c.js} +12 -12
- package/dist/chunks/{catalog-cd3kn8g3.js → model-resolver-vd56qj1s.js} +11 -11
- package/dist/chunks/{catalog-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{catalog-dwgyz8t6.js → model-resolver-vj4a8mq6.js} +5 -5
- package/dist/chunks/{catalog-cye7csfb.js → model-resolver-vn05ks9g.js} +14 -14
- package/dist/chunks/{catalog-jt93vp5f.js → model-resolver-vs5zg3ka.js} +9 -9
- package/dist/chunks/{catalog-w6dsm74z.js → model-resolver-vxcpq89m.js} +13 -13
- package/dist/chunks/{catalog-mjncxbbh.js → model-resolver-vyqn3nqs.js} +6 -6
- package/dist/chunks/{catalog-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{catalog-rade8k7x.js → model-resolver-w0cebxam.js} +6 -6
- package/dist/chunks/{catalog-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{catalog-b3wkxfg9.js → model-resolver-w79zsp0s.js} +1 -1
- package/dist/chunks/{catalog-1wxb385z.js → model-resolver-wbqy31zn.js} +1 -1
- package/dist/chunks/{catalog-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{catalog-n37c4crj.js → model-resolver-wk5z6jzv.js} +9 -9
- package/dist/chunks/{catalog-3mfye48b.js → model-resolver-wtz344pq.js} +20 -20
- package/dist/chunks/{catalog-1nqyn2md.js → model-resolver-wzb930f5.js} +14 -14
- package/dist/chunks/{catalog-439dx3w9.js → model-resolver-x0e6qwje.js} +9 -9
- package/dist/chunks/{catalog-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{catalog-x43y2vfs.js → model-resolver-x43y2vfs.js} +2 -2
- package/dist/chunks/{catalog-yvz2amb9.js → model-resolver-xjvpf4s6.js} +8 -8
- package/dist/chunks/{catalog-j58tsep0.js → model-resolver-xmryvm6r.js} +18 -18
- package/dist/chunks/{catalog-9d82n428.js → model-resolver-xpbmavdy.js} +57 -57
- package/dist/chunks/{catalog-v1sz7r3a.js → model-resolver-xse2fbac.js} +16 -16
- package/dist/chunks/{catalog-qgxradse.js → model-resolver-xv77w4m4.js} +23 -23
- package/dist/chunks/{catalog-sgfkh1bp.js → model-resolver-xzjqnjyt.js} +4 -4
- package/dist/chunks/{catalog-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{catalog-j22ne1jm.js → model-resolver-y1rdatpn.js} +35 -35
- package/dist/chunks/{catalog-6tt5evqq.js → model-resolver-y31b318c.js} +4 -4
- package/dist/chunks/{catalog-2336b01z.js → model-resolver-y397pytd.js} +8 -8
- package/dist/chunks/{catalog-181agvn4.js → model-resolver-y6wtm4ga.js} +13 -13
- package/dist/chunks/{catalog-dpkg50ah.js → model-resolver-y71avatq.js} +4 -4
- package/dist/chunks/{catalog-qx9naz5h.js → model-resolver-y9ndmn06.js} +27 -27
- package/dist/chunks/{catalog-1acjjqhc.js → model-resolver-yp2x3t23.js} +4 -4
- package/dist/chunks/{catalog-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{catalog-s4enseaf.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{catalog-85eqaws9.js → model-resolver-ys435pyz.js} +9 -9
- package/dist/chunks/{catalog-gv6a8nnw.js → model-resolver-yyb7tjpc.js} +2 -2
- package/dist/chunks/{catalog-6ymtcdfp.js → model-resolver-yyw6y8kf.js} +11 -11
- package/dist/chunks/{catalog-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{catalog-7nzmz6w9.js → model-resolver-z3bd92a5.js} +28 -28
- package/dist/chunks/{catalog-29x78va6.js → model-resolver-z63w68vq.js} +6 -6
- package/dist/chunks/{catalog-takea01j.js → model-resolver-z6ccwhj9.js} +30 -30
- package/dist/chunks/model-resolver-z6nw9z3j.js +22 -0
- package/dist/chunks/{catalog-bfg6wmvt.js → model-resolver-z6qgwyj5.js} +6 -6
- package/dist/chunks/{catalog-bbjrxcfr.js → model-resolver-z7h0bx9a.js} +23 -23
- package/dist/chunks/{catalog-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{catalog-gt0cxfk7.js → model-resolver-zsjw64s0.js} +1 -1
- package/dist/chunks/{catalog-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +87 -87
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +352 -352
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +84 -84
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +123 -123
- package/dist/session/context.js +147 -147
- 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 +219 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +84 -84
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +105 -105
- package/dist/tool/plugin/write.js +115 -115
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- 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 +4 -4
- 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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +8 -8
- package/dist/chunks/catalog-0kwcw7fy.js +0 -4
- package/dist/chunks/catalog-1ce0xttj.js +0 -247
- package/dist/chunks/catalog-4v7qdvcn.js +0 -18
- package/dist/chunks/catalog-7sh2c558.js +0 -462
- package/dist/chunks/catalog-atswkcm9.js +0 -22
- /package/dist/chunks/{catalog-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{catalog-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{catalog-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{catalog-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{catalog-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{catalog-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{catalog-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{catalog-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{catalog-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{catalog-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{catalog-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{catalog-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{catalog-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{catalog-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{catalog-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{catalog-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{catalog-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{catalog-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{catalog-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{catalog-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{catalog-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{catalog-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{catalog-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{catalog-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{catalog-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{catalog-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{catalog-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{catalog-a1tpkmh4.js → model-resolver-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{catalog-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{catalog-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{catalog-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{catalog-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{catalog-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{catalog-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{catalog-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{catalog-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{catalog-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{catalog-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{catalog-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{catalog-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{catalog-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{catalog-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{catalog-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{catalog-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{catalog-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{catalog-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{catalog-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{catalog-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{catalog-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{catalog-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{catalog-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{catalog-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{catalog-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{catalog-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{catalog-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{catalog-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{catalog-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{catalog-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{catalog-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{catalog-hrnqkpcd.js → model-resolver-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{catalog-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{catalog-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{catalog-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{catalog-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{catalog-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{catalog-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{catalog-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{catalog-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{catalog-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{catalog-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{catalog-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{catalog-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{catalog-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{catalog-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{catalog-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{catalog-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{catalog-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{catalog-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{catalog-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{catalog-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{catalog-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
- /package/dist/chunks/{catalog-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{catalog-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{catalog-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{catalog-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{catalog-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{catalog-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{catalog-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{catalog-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{catalog-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{catalog-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-c1g6mvbq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service60,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node64
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID7,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service60 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service60, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service60.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node64 = makeLocationNode({ service: Service60, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service60, locationLayer2, node64, exports_aisdk };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-2f04pwep.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
12
|
+
var exports_error2 = {};
|
|
13
|
+
__export(exports_error2, {
|
|
14
14
|
AgentNotFoundError: () => AgentNotFoundError2,
|
|
15
15
|
AttachmentError: () => AttachmentError2,
|
|
16
16
|
BusyError: () => BusyError2,
|
|
@@ -22,9 +22,9 @@ __export(exports_error, {
|
|
|
22
22
|
MessageNotAssistantError: () => MessageNotAssistantError2,
|
|
23
23
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
24
24
|
MessageToolIncompleteError: () => MessageToolIncompleteError2,
|
|
25
|
-
NotFoundError: () =>
|
|
25
|
+
NotFoundError: () => NotFoundError9,
|
|
26
26
|
PromptConflictError: () => PromptConflictError2,
|
|
27
|
-
SessionErrors: () =>
|
|
27
|
+
SessionErrors: () => exports_error2,
|
|
28
28
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
29
29
|
StepFailedError: () => StepFailedError2,
|
|
30
30
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
@@ -35,7 +35,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
35
35
|
import { Skill } from "@opencode/schema/skill";
|
|
36
36
|
import { SessionError } from "@opencode/schema/session-error";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
39
39
|
sessionID: SessionSchema2.ID
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
@@ -144,4 +144,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
144
144
|
}) {
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { NotFoundError9, MessageNotFoundError2, MessageNotAssistantError2, MessageIncompleteError2, MessageToolIncompleteError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID6,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-4sp1fpdf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service49
|
|
7
|
+
} from "./model-resolver-d6axdhgm.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-b1ajx0g1.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service49;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
catalog.model.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID6.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make5();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make5, LMStudioPlugin2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./model-resolver-868qdqs3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-5c4hm403.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service32,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node37,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service32 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
64
|
var source = (entry) => make21({
|
|
65
|
-
key:
|
|
65
|
+
key: Key4.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,8 +75,8 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
79
|
-
const { db } = yield*
|
|
78
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
79
|
+
const { db } = yield* Service79;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
82
82
|
key: InstructionEntryTable2.key,
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service32.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node37 = makeLocationNode({ service: Service32, layer, deps: [node84] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node37, exports_instruction_entry };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service75
|
|
9
|
+
} from "./model-resolver-6fb6cyfd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service64
|
|
12
|
+
} from "./model-resolver-6tdy5psv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service25
|
|
15
|
+
} from "./model-resolver-gmykmxzz.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-nmrsa8tb.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service71
|
|
24
|
+
} from "./model-resolver-5reahhcp.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service69
|
|
27
|
+
} from "./model-resolver-q5bwphvd.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input12,
|
|
37
|
+
Output: () => Output8,
|
|
38
|
+
Plugin: () => Plugin43,
|
|
39
|
+
name: () => name12,
|
|
40
|
+
toModelContent: () => toModelContent6
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name12 = "glob";
|
|
46
|
+
var Input12 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input9 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output8 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent6 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin43 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service64;
|
|
70
|
+
const ripgrep = yield* Service25;
|
|
71
|
+
const location = yield* Service75;
|
|
72
|
+
const access = yield* Service69;
|
|
73
|
+
const permission = yield* Service71;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name12,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input12,
|
|
79
|
+
output: Output8,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name12,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin41 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name12, Input12, Output8, toModelContent6, Plugin43, exports_glob };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-dj2t23y0.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service64,
|
|
6
|
+
node68
|
|
7
|
+
} from "./model-resolver-6tdy5psv.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service21,
|
|
17
|
+
node: () => node25,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service21 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service64;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service21.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node25 = makeLocationNode({ service: Service21, layer, deps: [node68] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service21, readText2, syncTextBom2, node25, exports_file_mutation };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-c1g6mvbq.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID6
|
|
8
|
+
} from "./model-resolver-4sp1fpdf.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service78
|
|
11
|
+
} from "./model-resolver-9t2yae5y.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event15
|
|
15
|
+
} from "./model-resolver-d4bs6nh8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID8,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-96jy3nrs.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service61
|
|
22
|
+
} from "./model-resolver-pdc8edc9.js";
|
|
23
23
|
import {
|
|
24
24
|
get2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-21gmtf5s.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-sz79wj9p.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID8.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,8 +155,8 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
159
|
-
const bus = yield*
|
|
158
|
+
const catalog = yield* Service61;
|
|
159
|
+
const bus = yield* Service78;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
162
162
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -170,8 +170,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID7.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID7.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
176
|
try: () => get2(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID7.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID6.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID6.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID6.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID7.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID7.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|