@opencode/core 0.0.0-dev-20290 → 0.0.0-dev-20292
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{pty-h5w29vws.js → ripgrep-0bfcnrg1.js} +1 -1
- package/dist/chunks/{pty-gy1zn137.js → ripgrep-0czp0bk4.js} +24 -24
- package/dist/chunks/{pty-yt0fqk68.js → ripgrep-0f9afca0.js} +5 -5
- package/dist/chunks/{pty-3sm5tmhn.js → ripgrep-0j45e4a4.js} +28 -28
- package/dist/chunks/{pty-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/ripgrep-0qk019jc.js +26 -0
- package/dist/chunks/{pty-kadk3yqy.js → ripgrep-0spqb8br.js} +40 -40
- package/dist/chunks/{pty-tebcm7m3.js → ripgrep-14yyfa4b.js} +24 -24
- package/dist/chunks/{pty-eq1pz5kg.js → ripgrep-1bbkgx8g.js} +3 -3
- package/dist/chunks/{pty-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-4fj5vy9w.js → ripgrep-1j6r9yf3.js} +33 -33
- package/dist/chunks/{pty-nsd6ttt2.js → ripgrep-1jqh21ez.js} +40 -40
- package/dist/chunks/{pty-q607fvbk.js → ripgrep-1ynb6qa0.js} +23 -23
- package/dist/chunks/{pty-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{pty-fq6n6ras.js → ripgrep-29jfjc42.js} +8 -8
- package/dist/chunks/{pty-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-wkj69y2r.js → ripgrep-2d0eq7f5.js} +6 -6
- package/dist/chunks/{pty-69eq3qtv.js → ripgrep-2dch9cv2.js} +4 -4
- package/dist/chunks/{pty-93xvzgtc.js → ripgrep-2dfsp93b.js} +41 -41
- package/dist/chunks/{pty-f7csm4ve.js → ripgrep-2f7cedef.js} +28 -28
- package/dist/chunks/{pty-6hcnmam1.js → ripgrep-2wts5qzq.js} +6 -6
- package/dist/chunks/{pty-pgwpntn4.js → ripgrep-2wyx13rv.js} +4 -4
- package/dist/chunks/ripgrep-34d822yn.js +252 -0
- package/dist/chunks/{pty-7v81x33d.js → ripgrep-3b9qt4hj.js} +9 -9
- package/dist/chunks/{pty-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-8qkhqjvg.js → ripgrep-3fn1d266.js} +9 -9
- package/dist/chunks/{pty-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-9hn6k4tm.js → ripgrep-3hfr6h8q.js} +8 -8
- package/dist/chunks/{pty-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-c36kazt5.js → ripgrep-3tfp5dh2.js} +11 -11
- package/dist/chunks/{pty-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{pty-z236ez34.js → ripgrep-40p1p2fq.js} +14 -14
- package/dist/chunks/{pty-dh4n3axn.js → ripgrep-464yenze.js} +33 -33
- package/dist/chunks/{pty-1r4hg1ab.js → ripgrep-46tkexde.js} +87 -87
- package/dist/chunks/{pty-91p1v22t.js → ripgrep-4c2df9zx.js} +8 -8
- package/dist/chunks/{pty-nwmgq5md.js → ripgrep-4djqy3b1.js} +27 -27
- package/dist/chunks/{pty-5v9sj2jh.js → ripgrep-4fx0v051.js} +7 -7
- package/dist/chunks/{pty-4seh7fh4.js → ripgrep-4hkxpksb.js} +30 -30
- package/dist/chunks/{pty-31j2dbav.js → ripgrep-4ndvwbzn.js} +3 -3
- package/dist/chunks/{pty-6z415m3h.js → ripgrep-4vznd14g.js} +5 -5
- package/dist/chunks/{pty-gy9sb033.js → ripgrep-52dfra55.js} +10 -10
- package/dist/chunks/{pty-v6pj48ph.js → ripgrep-54j2g604.js} +8 -8
- package/dist/chunks/{pty-54ma36ye.js → ripgrep-54ma36ye.js} +1 -1
- package/dist/chunks/{pty-bskxk100.js → ripgrep-54n8g67r.js} +11 -11
- package/dist/chunks/{pty-57ez7d0k.js → ripgrep-57ez7d0k.js} +2 -2
- package/dist/chunks/{pty-f02r5e20.js → ripgrep-5848hxr9.js} +11 -11
- package/dist/chunks/{pty-5epte933.js → ripgrep-5cmxdwv8.js} +3 -3
- package/dist/chunks/{pty-qmqgtz8f.js → ripgrep-5d607bsg.js} +9 -9
- package/dist/chunks/{pty-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-p6sc6xf4.js → ripgrep-5g11er5x.js} +7 -7
- package/dist/chunks/{pty-wet12kzw.js → ripgrep-5nf5fkza.js} +9 -9
- package/dist/chunks/{pty-e3qxr5gk.js → ripgrep-5qd3pb7m.js} +2 -2
- package/dist/chunks/{pty-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-25wmepd2.js → ripgrep-5vtq9k1b.js} +13 -13
- package/dist/chunks/{pty-cyyr2ryx.js → ripgrep-5yjg4844.js} +14 -14
- package/dist/chunks/{pty-tkg4d23p.js → ripgrep-614e606q.js} +17 -17
- package/dist/chunks/{pty-9mwkpmby.js → ripgrep-669mnavw.js} +27 -27
- package/dist/chunks/{pty-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{pty-ash4hwch.js → ripgrep-67r4mtw2.js} +9 -9
- package/dist/chunks/{pty-4m37mf4n.js → ripgrep-6dwdgb0a.js} +5 -5
- package/dist/chunks/{pty-n05etbth.js → ripgrep-6g6nvm69.js} +20 -20
- package/dist/chunks/{pty-8p7750b3.js → ripgrep-6gsfn1dv.js} +34 -34
- package/dist/chunks/{pty-6hjx5zpb.js → ripgrep-6hjx5zpb.js} +2 -2
- package/dist/chunks/{pty-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-db9gxvpc.js → ripgrep-6wgqnbhb.js} +31 -31
- package/dist/chunks/{pty-q82q9exb.js → ripgrep-6ydrntg5.js} +6 -6
- package/dist/chunks/{pty-nwcqeccj.js → ripgrep-70m7fb3k.js} +5 -5
- package/dist/chunks/{pty-xdbc7yds.js → ripgrep-72mdmaav.js} +11 -11
- package/dist/chunks/{pty-t9teg1yf.js → ripgrep-73a2vzjg.js} +11 -11
- package/dist/chunks/{pty-mjk8ns3s.js → ripgrep-7ab4f44s.js} +18 -18
- package/dist/chunks/{pty-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-6n7pjf9k.js → ripgrep-7d4qx0wr.js} +11 -11
- package/dist/chunks/{pty-q3dqc3h2.js → ripgrep-7dftej1j.js} +33 -33
- package/dist/chunks/{pty-zmzm6hpq.js → ripgrep-7nm77vb3.js} +3 -3
- package/dist/chunks/{pty-m0r31qfn.js → ripgrep-80scg3y3.js} +4 -4
- package/dist/chunks/{pty-84txncab.js → ripgrep-84txncab.js} +1 -1
- package/dist/chunks/{pty-705e2ap1.js → ripgrep-84zcxbc9.js} +5 -5
- package/dist/chunks/{pty-vz4jexq7.js → ripgrep-8d0p2m37.js} +8 -8
- package/dist/chunks/{pty-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-7hs0hr17.js → ripgrep-8v9axdqq.js} +20 -20
- package/dist/chunks/{pty-qjzxgxpv.js → ripgrep-8vp0jrea.js} +3 -3
- package/dist/chunks/{pty-va5acnyd.js → ripgrep-91wvh588.js} +9 -9
- package/dist/chunks/{pty-sp625ab5.js → ripgrep-937m9zg6.js} +3 -3
- package/dist/chunks/{pty-94ek1h2f.js → ripgrep-94ek1h2f.js} +2 -2
- package/dist/chunks/{pty-hzgv6j90.js → ripgrep-97d1gz13.js} +11 -11
- package/dist/chunks/{pty-9aja3qk6.js → ripgrep-97ffttsr.js} +11 -11
- package/dist/chunks/{pty-q9e230a9.js → ripgrep-9979gqg8.js} +60 -60
- package/dist/chunks/{pty-pj681x6p.js → ripgrep-9gqwmv79.js} +23 -23
- package/dist/chunks/{pty-4t6c091a.js → ripgrep-9r5kv9cm.js} +15 -15
- package/dist/chunks/{pty-qn8304n9.js → ripgrep-9seqqng0.js} +322 -322
- package/dist/chunks/{pty-k94pa5tz.js → ripgrep-9xpmj48t.js} +7 -7
- package/dist/chunks/{pty-qby9dwvd.js → ripgrep-a2qe2ev9.js} +8 -8
- package/dist/chunks/{pty-9r73yh2k.js → ripgrep-a4691zpg.js} +19 -19
- package/dist/chunks/{pty-547v9var.js → ripgrep-a48m945n.js} +17 -17
- package/dist/chunks/{pty-p7hfcpb1.js → ripgrep-a6znh3jt.js} +12 -12
- package/dist/chunks/{pty-vsp1fds9.js → ripgrep-a8bn8zg0.js} +21 -21
- package/dist/chunks/{pty-dhwr7h25.js → ripgrep-a8zr1srk.js} +11 -11
- package/dist/chunks/{pty-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-dnxkq42g.js → ripgrep-addxnjmp.js} +4 -4
- package/dist/chunks/{pty-5rqh976q.js → ripgrep-aj930q3s.js} +3 -3
- package/dist/chunks/{pty-zp56f3pw.js → ripgrep-ajskgwrh.js} +30 -30
- package/dist/chunks/{pty-dyhjeyw1.js → ripgrep-ap544ky7.js} +32 -32
- package/dist/chunks/{pty-a3ymefbh.js → ripgrep-apcpvt2b.js} +6 -6
- package/dist/chunks/{pty-krfrp5kz.js → ripgrep-aq3yrsfq.js} +11 -11
- package/dist/chunks/{pty-wcdd63eg.js → ripgrep-asrgbh96.js} +22 -22
- package/dist/chunks/{pty-v6dqrb48.js → ripgrep-atg39wsg.js} +11 -11
- package/dist/chunks/{pty-nh7v3r81.js → ripgrep-atvavzdr.js} +5 -5
- package/dist/chunks/{pty-mxmb5cw3.js → ripgrep-avzdjs5z.js} +9 -9
- package/dist/chunks/{pty-n7j8ea7m.js → ripgrep-b446k4sn.js} +23 -23
- package/dist/chunks/{pty-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-j5208yae.js → ripgrep-bdqrk2vk.js} +4 -4
- package/dist/chunks/{pty-t94cx5vh.js → ripgrep-bjb1q8ez.js} +8 -8
- package/dist/chunks/{pty-pqnsbq8t.js → ripgrep-bm12swdw.js} +11 -11
- package/dist/chunks/{pty-rac3vem9.js → ripgrep-bn30swxx.js} +31 -31
- package/dist/chunks/{pty-k4wv29t5.js → ripgrep-bv8nht0w.js} +48 -48
- package/dist/chunks/{pty-8rz6jvcp.js → ripgrep-c5zhzd6d.js} +19 -19
- package/dist/chunks/{pty-9wn9fhxy.js → ripgrep-ce6ce29e.js} +2 -2
- package/dist/chunks/{pty-4yn5zrg4.js → ripgrep-cgkq456e.js} +15 -15
- package/dist/chunks/{pty-ckecvw8r.js → ripgrep-ckecvw8r.js} +2 -2
- package/dist/chunks/{pty-vfjhn2wd.js → ripgrep-cp937pt4.js} +4 -4
- package/dist/chunks/{pty-3gxahddg.js → ripgrep-cpgvmsmz.js} +9 -9
- package/dist/chunks/{pty-fvanntqq.js → ripgrep-cpy6gm2a.js} +4 -4
- package/dist/chunks/{pty-k2q1nrn1.js → ripgrep-cznrqaaz.js} +1 -1
- package/dist/chunks/{pty-a14qddyf.js → ripgrep-d5y0ve3n.js} +22 -22
- package/dist/chunks/{pty-w1rhgxjx.js → ripgrep-dbdkqs60.js} +22 -22
- package/dist/chunks/{pty-hehaxqkv.js → ripgrep-de52ckkz.js} +4 -4
- package/dist/chunks/{pty-5ynr4ewv.js → ripgrep-dnpyyfmr.js} +33 -33
- package/dist/chunks/{pty-wjahz7sy.js → ripgrep-dnwg479b.js} +22 -22
- package/dist/chunks/{pty-vzxynfrx.js → ripgrep-dppfvz3f.js} +16 -16
- package/dist/chunks/{pty-ywv187z9.js → ripgrep-dq0v80fr.js} +12 -12
- package/dist/chunks/{pty-vb9k7s1g.js → ripgrep-dqp0ptjh.js} +8 -8
- package/dist/chunks/{pty-x9d5zs2r.js → ripgrep-dqx57jvk.js} +7 -7
- package/dist/chunks/{pty-2qp1m1e2.js → ripgrep-drtcq7dv.js} +15 -15
- package/dist/chunks/{pty-tffeed3q.js → ripgrep-dxczsaw9.js} +12 -12
- package/dist/chunks/{pty-zmqnc1z2.js → ripgrep-e5jn2fa5.js} +28 -28
- package/dist/chunks/{pty-etnqkgne.js → ripgrep-e6te0wgx.js} +10 -10
- package/dist/chunks/{pty-2xv95c3w.js → ripgrep-e7ncmn5y.js} +15 -15
- package/dist/chunks/{pty-xh9bnhqc.js → ripgrep-ea8e1byc.js} +47 -47
- package/dist/chunks/{pty-0gdmqesm.js → ripgrep-eaj1djv9.js} +8 -8
- package/dist/chunks/{pty-ecfe7b91.js → ripgrep-ecfe7b91.js} +2 -2
- package/dist/chunks/{pty-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-m5gekzn4.js → ripgrep-eqd5qykg.js} +13 -13
- package/dist/chunks/{pty-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-rr0hpwez.js → ripgrep-ew2ae9f5.js} +12 -12
- package/dist/chunks/{pty-f9g9yax9.js → ripgrep-ez62b8nj.js} +9 -9
- package/dist/chunks/{pty-yf10kn3d.js → ripgrep-f5gy8qwh.js} +8 -8
- package/dist/chunks/{pty-gee5yzwp.js → ripgrep-f8yxf6yh.js} +2 -2
- package/dist/chunks/{pty-00pys7g3.js → ripgrep-fqhn89qk.js} +30 -30
- package/dist/chunks/{pty-kefs7twp.js → ripgrep-fr2byary.js} +20 -20
- package/dist/chunks/{pty-kcjjyj53.js → ripgrep-fvy6pxa1.js} +20 -20
- package/dist/chunks/{pty-qr5c3gzw.js → ripgrep-g0qymqv1.js} +28 -28
- package/dist/chunks/{pty-wh872f6y.js → ripgrep-g3p8qp1x.js} +10 -10
- package/dist/chunks/{pty-mbeja11x.js → ripgrep-g4ev0w7y.js} +13 -13
- package/dist/chunks/{pty-g5agzp2h.js → ripgrep-g5agzp2h.js} +2 -2
- package/dist/chunks/{pty-pghs74jm.js → ripgrep-gc0xbwck.js} +7 -7
- package/dist/chunks/{pty-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-4zpej1ag.js → ripgrep-gmddfe7k.js} +8 -5
- package/dist/chunks/{pty-ymjj4a8f.js → ripgrep-gn14yt0k.js} +28 -28
- package/dist/chunks/{pty-839b17zc.js → ripgrep-gpp31qn3.js} +39 -39
- package/dist/chunks/{pty-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-wfr11ckr.js → ripgrep-h5r8400x.js} +11 -11
- package/dist/chunks/{pty-sgc66tsc.js → ripgrep-h6b50tg5.js} +23 -23
- package/dist/chunks/{pty-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-12m9tcs5.js → ripgrep-h90y3pkt.js} +13 -13
- package/dist/chunks/{pty-5ggvksrg.js → ripgrep-harp7y6f.js} +29 -29
- package/dist/chunks/{pty-ebqraxde.js → ripgrep-hjpq76f0.js} +22 -22
- package/dist/chunks/{pty-z8njfdrm.js → ripgrep-hnefe9tq.js} +44 -44
- package/dist/chunks/{pty-7tnxghr4.js → ripgrep-hr01dqex.js} +20 -20
- package/dist/chunks/{pty-gkjzek3h.js → ripgrep-hw1tkaa7.js} +16 -16
- package/dist/chunks/{pty-qg0jgkcp.js → ripgrep-j3s2z371.js} +9 -9
- package/dist/chunks/{pty-bvz46swk.js → ripgrep-j4g07zwy.js} +30 -30
- package/dist/chunks/{pty-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-v9efh8jq.js → ripgrep-j6bb8g4d.js} +11 -11
- package/dist/chunks/{pty-166nas2n.js → ripgrep-j7y92zpc.js} +73 -73
- package/dist/chunks/{pty-cz9at8s3.js → ripgrep-jgnf2bvc.js} +12 -12
- package/dist/chunks/{pty-mvfdckk2.js → ripgrep-jj72jhew.js} +6 -6
- package/dist/chunks/{pty-ppxj9f8n.js → ripgrep-jpcvf65v.js} +18 -18
- package/dist/chunks/{pty-wbkyxrgf.js → ripgrep-jv01nqvq.js} +5 -5
- package/dist/chunks/{pty-nzks3jc8.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{pty-gx3m57p0.js → ripgrep-k7sekcqa.js} +24 -24
- package/dist/chunks/{pty-mxe8gkry.js → ripgrep-m1gcv8kj.js} +51 -51
- package/dist/chunks/{pty-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-33w4ejhs.js → ripgrep-mfqp6xfm.js} +9 -9
- package/dist/chunks/{pty-fw473rf4.js → ripgrep-mwymx5eg.js} +44 -44
- package/dist/chunks/{pty-9gca7nqa.js → ripgrep-mxfbfm56.js} +1 -1
- package/dist/chunks/{pty-g2eq9m13.js → ripgrep-n00nrqde.js} +43 -43
- package/dist/chunks/{pty-47rn6gb0.js → ripgrep-n3vygs5b.js} +9 -9
- package/dist/chunks/{pty-g1ja7mqv.js → ripgrep-n542nw20.js} +22 -22
- package/dist/chunks/{pty-95ws1gjh.js → ripgrep-n5qb4bnc.js} +3 -3
- package/dist/chunks/{pty-skxtpxf8.js → ripgrep-nd3632dr.js} +3 -3
- package/dist/chunks/{pty-nna5ba44.js → ripgrep-ndhs64pk.js} +9 -9
- package/dist/chunks/{pty-9gqjtvj6.js → ripgrep-ner28t5a.js} +85 -85
- package/dist/chunks/{pty-f4c1ttaq.js → ripgrep-ng5rtwhy.js} +3 -3
- package/dist/chunks/{pty-4j5pe0vj.js → ripgrep-nndvp20a.js} +26 -26
- package/dist/chunks/{pty-eracma60.js → ripgrep-p2szdq98.js} +54 -54
- package/dist/chunks/{pty-bwv6jga4.js → ripgrep-pj6tenb7.js} +175 -175
- package/dist/chunks/{pty-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{pty-6pc27hjz.js → ripgrep-py3kkmfq.js} +6 -6
- package/dist/chunks/{pty-7101ktrf.js → ripgrep-pymq7jkz.js} +8 -8
- package/dist/chunks/{pty-a51vj2sy.js → ripgrep-q4e7vy2b.js} +24 -24
- package/dist/chunks/{pty-f6gb79hb.js → ripgrep-q826ync2.js} +13 -13
- package/dist/chunks/{pty-xb02k0wq.js → ripgrep-qa3qhgw8.js} +4 -4
- package/dist/chunks/{pty-pvh8k8j6.js → ripgrep-qbbmae1w.js} +5 -5
- package/dist/chunks/{pty-7dqw4kz8.js → ripgrep-qgn6gcr1.js} +5 -5
- package/dist/chunks/{pty-zv15rf3h.js → ripgrep-qkn179pw.js} +13 -13
- package/dist/chunks/{pty-r4vqcvbj.js → ripgrep-qndte7za.js} +32 -32
- package/dist/chunks/{pty-1sspf4zp.js → ripgrep-qnj1ev0v.js} +11 -11
- package/dist/chunks/{pty-56d7j3tv.js → ripgrep-qp7sx9de.js} +28 -28
- package/dist/chunks/{pty-5xrxk02f.js → ripgrep-qpwf5ett.js} +8 -8
- package/dist/chunks/{pty-6bncvy53.js → ripgrep-qq5y994f.js} +20 -20
- package/dist/chunks/{pty-b1xes142.js → ripgrep-qr0v61ms.js} +27 -27
- package/dist/chunks/{pty-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-engkm2d6.js → ripgrep-r4yqrmdq.js} +5 -5
- package/dist/chunks/{pty-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-m21hmhy7.js → ripgrep-rgwtw4pk.js} +19 -19
- package/dist/chunks/{pty-zav06jzw.js → ripgrep-rpg9c19m.js} +4 -4
- package/dist/chunks/{pty-dtpcx3sj.js → ripgrep-rx84aht4.js} +20 -20
- package/dist/chunks/{pty-5dkn69vz.js → ripgrep-s30fyz93.js} +4 -4
- package/dist/chunks/{pty-sxzc4anv.js → ripgrep-s5v1wr1y.js} +14 -14
- package/dist/chunks/{pty-f05szktz.js → ripgrep-s7cej264.js} +21 -21
- package/dist/chunks/{pty-nw0j14yf.js → ripgrep-s9mggv36.js} +15 -15
- package/dist/chunks/{pty-mh6b7rh2.js → ripgrep-sh80pnfr.js} +37 -37
- package/dist/chunks/{pty-r5e5zwbb.js → ripgrep-snrx9wzx.js} +32 -32
- package/dist/chunks/{pty-gm6y06j9.js → ripgrep-ss37jsxd.js} +14 -14
- package/dist/chunks/{pty-k3zkbgx7.js → ripgrep-svxtz2p3.js} +25 -25
- package/dist/chunks/{pty-an7cqtb7.js → ripgrep-sx1n432n.js} +4 -4
- package/dist/chunks/{pty-q3dzamve.js → ripgrep-sypvhjmn.js} +15 -15
- package/dist/chunks/{pty-0kptsf41.js → ripgrep-t3fh9vjv.js} +4 -4
- package/dist/chunks/{pty-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-77p2n3ka.js → ripgrep-tb18kw1r.js} +29 -29
- package/dist/chunks/{pty-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
- package/dist/chunks/{pty-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{pty-spg8qqh0.js → ripgrep-te91bpk3.js} +26 -26
- package/dist/chunks/{pty-ag9w8cw1.js → ripgrep-tn0aqsam.js} +5 -5
- package/dist/chunks/{pty-t713ny8j.js → ripgrep-tn8eqcjj.js} +8 -8
- package/dist/chunks/{pty-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/ripgrep-v1faaxn9.js +18 -0
- package/dist/chunks/{pty-7tha5tbn.js → ripgrep-v2p4rfxw.js} +6 -6
- package/dist/chunks/{pty-b8pxkphb.js → ripgrep-v88ypzx6.js} +13 -13
- package/dist/chunks/{pty-6faamtbd.js → ripgrep-vb3rn859.js} +24 -24
- package/dist/chunks/{pty-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-k06rjv8x.js → ripgrep-vg7bdtvb.js} +13 -13
- package/dist/chunks/{pty-8ym6e508.js → ripgrep-vkchd65f.js} +12 -12
- package/dist/chunks/{pty-g97bb4fb.js → ripgrep-vmgq4x8b.js} +2 -2
- package/dist/chunks/{pty-6zycmakc.js → ripgrep-vv97ra8n.js} +11 -11
- package/dist/chunks/{pty-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{pty-xtcsdhc6.js → ripgrep-w29ra1z6.js} +3 -3
- package/dist/chunks/{pty-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-w9xbefsq.js → ripgrep-wbd0sh62.js} +22 -22
- package/dist/chunks/{pty-wd3x2cqz.js → ripgrep-wd3x2cqz.js} +2 -2
- package/dist/chunks/{pty-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{pty-md3t2qq1.js → ripgrep-wexprs6b.js} +29 -29
- package/dist/chunks/{pty-6gp8watj.js → ripgrep-wnj5dgs2.js} +14 -14
- package/dist/chunks/{pty-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-903617vw.js → ripgrep-x3ggs2d6.js} +12 -12
- package/dist/chunks/{pty-d6zc0yrw.js → ripgrep-x4k31b5q.js} +43 -43
- package/dist/chunks/{pty-emvsgpqw.js → ripgrep-xdfgknmx.js} +21 -21
- package/dist/chunks/{pty-drwq78ky.js → ripgrep-xfkkasph.js} +4 -4
- package/dist/chunks/{pty-5r8pgr53.js → ripgrep-xhfc0ae0.js} +5 -5
- package/dist/chunks/{pty-xkntkrq7.js → ripgrep-xkntkrq7.js} +2 -2
- package/dist/chunks/{pty-gghfkarr.js → ripgrep-xm47dg1f.js} +4 -4
- package/dist/chunks/{pty-5k8pr68x.js → ripgrep-xq1s1hxa.js} +4 -4
- package/dist/chunks/{pty-tazp3vs0.js → ripgrep-xwm6bryg.js} +4 -4
- package/dist/chunks/{pty-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-js3ryzpr.js → ripgrep-y3c47kq2.js} +17 -17
- package/dist/chunks/{pty-22pf21tc.js → ripgrep-y5mjhv0c.js} +4 -4
- package/dist/chunks/{pty-y71avatq.js → ripgrep-y71avatq.js} +1 -1
- package/dist/chunks/{pty-hdab2k61.js → ripgrep-yf4jcbx9.js} +6 -6
- package/dist/chunks/{pty-vdjz1shn.js → ripgrep-ymtchxmw.js} +34 -34
- package/dist/chunks/{pty-f2n192rq.js → ripgrep-yp2x3t23.js} +4 -4
- package/dist/chunks/{pty-63xt2gg6.js → ripgrep-yp4zak5f.js} +23 -23
- package/dist/chunks/{pty-6rqaarfj.js → ripgrep-yrdcmk37.js} +14 -14
- package/dist/chunks/{pty-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-s4enseaf.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{pty-z07pqspn.js → ripgrep-z07pqspn.js} +3 -3
- package/dist/chunks/{pty-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-298khz9n.js → ripgrep-z508a32f.js} +9 -9
- package/dist/chunks/{pty-29x78va6.js → ripgrep-z63w68vq.js} +6 -6
- package/dist/chunks/{pty-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-gb7cfa7m.js → ripgrep-zpmxzwgb.js} +8 -8
- package/dist/chunks/{pty-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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 +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +94 -94
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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 +91 -91
- 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 +362 -362
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +69 -69
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- 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 +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- 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 +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +162 -162
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +225 -225
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- 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 +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/pty-erp3bzqc.js +0 -252
- package/dist/chunks/pty-jqh9b0xq.js +0 -18
- package/dist/chunks/pty-pm9ypstk.js +0 -26
- /package/dist/chunks/{pty-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./ripgrep-vkchd65f.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-wbd0sh62.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
@@ -19,11 +19,11 @@ __export(exports_persistent_pty, {
|
|
|
19
19
|
NotFoundError: () => NotFoundError4,
|
|
20
20
|
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service37,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
24
|
configured: () => configured4,
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
layer: () => layer15,
|
|
26
|
+
node: () => node40
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -37,7 +37,7 @@ import { resolveBinary } from "#persistent-pty-binary";
|
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
@@ -47,10 +47,10 @@ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError",
|
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service37 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service37, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service83;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service37.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
258
|
+
var layer15 = makeLayer();
|
|
259
259
|
var configured4 = (options) => makeGlobalNode({
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
260
|
+
service: Service37,
|
|
261
|
+
layer: options === undefined ? layer15 : makeLayer(options),
|
|
262
|
+
deps: [node87, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node40 = configured4();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export { Options4,
|
|
304
|
+
export { Options4, UnavailableError3, NotFoundError4, Service37, layer15, configured4, node40, exports_persistent_pty, Handoff2 };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node87
|
|
7
|
+
} from "./ripgrep-vkchd65f.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event15,
|
|
10
|
+
Service67,
|
|
11
|
+
node71
|
|
12
|
+
} from "./ripgrep-1j6r9yf3.js";
|
|
13
13
|
import {
|
|
14
14
|
Service80,
|
|
15
15
|
node84
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-ce6ce29e.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service60,
|
|
19
|
+
node62
|
|
20
|
+
} from "./ripgrep-s7cej264.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID11,
|
|
23
|
+
Service71,
|
|
24
|
+
node75
|
|
25
|
+
} from "./ripgrep-gn14yt0k.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service66,
|
|
34
|
+
node70
|
|
35
|
+
} from "./ripgrep-dnpyyfmr.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service31,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
|
+
layer: () => layer12,
|
|
57
|
+
node: () => node34
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -91,21 +91,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
91
91
|
var endpointLoads = makeUnsafe2();
|
|
92
92
|
var cloneConfig = (config) => structuredClone(config);
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Service31 extends Context.Service()("@opencode/MCP") {
|
|
95
95
|
}
|
|
96
|
-
var
|
|
96
|
+
var Options3 = Schema.Struct({
|
|
97
97
|
clientInfo: Schema.optional(Schema.Struct({
|
|
98
98
|
name: Schema.String,
|
|
99
99
|
version: Schema.String
|
|
100
100
|
}))
|
|
101
101
|
});
|
|
102
|
-
var
|
|
102
|
+
var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
103
103
|
const location = yield* Service80;
|
|
104
|
-
const environment = yield*
|
|
105
|
-
const bus = yield*
|
|
106
|
-
const forms = yield*
|
|
107
|
-
const integration = yield*
|
|
108
|
-
const credentials = yield*
|
|
104
|
+
const environment = yield* Service60;
|
|
105
|
+
const bus = yield* Service83;
|
|
106
|
+
const forms = yield* Service71;
|
|
107
|
+
const integration = yield* Service66;
|
|
108
|
+
const credentials = yield* Service67;
|
|
109
109
|
const root = yield* Effect.scope;
|
|
110
110
|
const fork = yield* FiberSet.makeRuntime();
|
|
111
111
|
const entries = new Map;
|
|
@@ -117,7 +117,7 @@ var layer14 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
117
117
|
return;
|
|
118
118
|
const remote = entry.config;
|
|
119
119
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
120
|
-
const integrationID =
|
|
120
|
+
const integrationID = ID9.make(suffix);
|
|
121
121
|
entry.integrationID = integrationID;
|
|
122
122
|
owned.add(integrationID);
|
|
123
123
|
const methodID = MethodID2.make(suffix);
|
|
@@ -133,7 +133,7 @@ var layer14 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
133
133
|
method: { id: methodID, type: "oauth", label: name },
|
|
134
134
|
authorize: () => Effect.gen(function* () {
|
|
135
135
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
136
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
136
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service67, credentials));
|
|
137
137
|
})
|
|
138
138
|
});
|
|
139
139
|
}).pipe(Scope.provide(scope));
|
|
@@ -142,19 +142,19 @@ var layer14 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
142
142
|
const name = ServerName2.make(server);
|
|
143
143
|
const entry = entries.get(name);
|
|
144
144
|
if (!entry)
|
|
145
|
-
return yield* new
|
|
145
|
+
return yield* new NotFoundError3({ server: name });
|
|
146
146
|
return { name, entry };
|
|
147
147
|
});
|
|
148
148
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
149
149
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
150
150
|
return;
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service67, credentials));
|
|
153
153
|
});
|
|
154
154
|
const elicitation = {
|
|
155
155
|
create: (input) => Effect.gen(function* () {
|
|
156
156
|
if (input.params.mode === "url") {
|
|
157
|
-
const formID =
|
|
157
|
+
const formID = ID11.create();
|
|
158
158
|
const elicitationID = input.params.elicitationId;
|
|
159
159
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
160
160
|
if (key)
|
|
@@ -257,7 +257,7 @@ var layer14 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
257
257
|
entry.scope = scope;
|
|
258
258
|
const authProvider = yield* connectProvider(entry);
|
|
259
259
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
260
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
260
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service60, environment), Scope.provide(scope));
|
|
261
261
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
262
262
|
if (Exit.isSuccess(result)) {
|
|
263
263
|
entry.client = result.value.connection;
|
|
@@ -382,7 +382,7 @@ var layer14 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
382
382
|
yield* startServer(name, entry);
|
|
383
383
|
}).pipe(locks.withLock(name));
|
|
384
384
|
});
|
|
385
|
-
fork(bus.subscribe(
|
|
385
|
+
fork(bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
386
386
|
const state = create3({
|
|
387
387
|
name: "mcp",
|
|
388
388
|
initial: () => ({
|
|
@@ -408,7 +408,7 @@ var layer14 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
408
408
|
}),
|
|
409
409
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
410
410
|
});
|
|
411
|
-
return
|
|
411
|
+
return Service31.of({
|
|
412
412
|
transform: state.transform,
|
|
413
413
|
reload: state.reload,
|
|
414
414
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -514,14 +514,14 @@ function mergeCatalogs(catalogs) {
|
|
|
514
514
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
515
515
|
});
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function configured3(options) {
|
|
518
518
|
return makeLocationNode({
|
|
519
|
-
service:
|
|
520
|
-
layer:
|
|
521
|
-
deps: [node84,
|
|
519
|
+
service: Service31,
|
|
520
|
+
layer: layer12(options),
|
|
521
|
+
deps: [node84, node62, node87, node75, node70, node71]
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
|
-
var
|
|
524
|
+
var node34 = configured3();
|
|
525
525
|
function toElicitationField(key, property, required) {
|
|
526
526
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
527
527
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -572,4 +572,4 @@ function toElicitationField(key, property, required) {
|
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
575
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service31, Options3, layer12, configured3, node34, exports_mcp4 };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-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,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp2 = {};
|
|
10
|
+
__export(exports_mcp2, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
|
+
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES2 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service66,
|
|
4
|
+
node70
|
|
5
|
+
} from "./ripgrep-dnpyyfmr.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID8,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
modelSettings2,
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service65,
|
|
16
|
+
node69
|
|
17
|
+
} from "./ripgrep-ap544ky7.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service57,
|
|
20
|
+
node59
|
|
21
|
+
} from "./ripgrep-7d4qx0wr.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID7,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service64,
|
|
27
|
+
node68
|
|
28
|
+
} from "./ripgrep-4hkxpksb.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError2,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service56,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
44
44
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer22,
|
|
48
|
+
node: () => node58,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
55
55
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
56
56
|
import { Npm } from "@opencode/util/npm";
|
|
57
57
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
58
|
-
providerID:
|
|
59
|
-
modelID:
|
|
58
|
+
providerID: ID8,
|
|
59
|
+
modelID: ID7,
|
|
60
60
|
variant: VariantID2
|
|
61
61
|
}) {
|
|
62
62
|
get message() {
|
|
@@ -65,8 +65,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
68
|
-
providerID:
|
|
69
|
-
modelID:
|
|
68
|
+
providerID: ID8,
|
|
69
|
+
modelID: ID7,
|
|
70
70
|
package: Schema.String
|
|
71
71
|
}) {
|
|
72
72
|
get message() {
|
|
@@ -76,8 +76,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
76
76
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
77
77
|
|
|
78
78
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
79
|
-
providerID:
|
|
80
|
-
modelID:
|
|
79
|
+
providerID: ID8,
|
|
80
|
+
modelID: ID7,
|
|
81
81
|
package: Schema.String,
|
|
82
82
|
detail: Schema.String
|
|
83
83
|
}) {
|
|
@@ -87,8 +87,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
90
|
-
providerID:
|
|
91
|
-
modelID:
|
|
90
|
+
providerID: ID8,
|
|
91
|
+
modelID: ID7,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
phase: InitializationPhase2,
|
|
94
94
|
detail: Schema.String
|
|
@@ -99,8 +99,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
102
|
-
providerID:
|
|
103
|
-
modelID:
|
|
102
|
+
providerID: ID8,
|
|
103
|
+
modelID: ID7,
|
|
104
104
|
variables: Schema.Array(Schema.String)
|
|
105
105
|
}) {
|
|
106
106
|
get message() {
|
|
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
112
|
-
providerID:
|
|
113
|
-
modelID:
|
|
112
|
+
providerID: ID8,
|
|
113
|
+
modelID: ID7,
|
|
114
114
|
route: Schema.String
|
|
115
115
|
}) {
|
|
116
116
|
get message() {
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service56 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var
|
|
262
|
-
const providers = yield*
|
|
263
|
-
const models = yield*
|
|
264
|
-
const integrations = yield*
|
|
261
|
+
var layer22 = Layer.effect(Service56, Effect.gen(function* () {
|
|
262
|
+
const providers = yield* Service65;
|
|
263
|
+
const models = yield* Service64;
|
|
264
|
+
const integrations = yield* Service66;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service57;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
269
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
|
|
270
270
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
271
271
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
272
272
|
const runtimeInfo = {
|
|
@@ -293,7 +293,7 @@ var layer21 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
293
293
|
chunkTimeout: provider?.settings?.chunkTimeout
|
|
294
294
|
};
|
|
295
295
|
});
|
|
296
|
-
return
|
|
296
|
+
return Service56.of({
|
|
297
297
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
298
298
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
299
299
|
if (!selected)
|
|
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
310
310
|
const name = packageName2(packageName);
|
|
311
311
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
312
312
|
}
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
315
|
-
layer:
|
|
316
|
-
deps: [
|
|
313
|
+
var node58 = makeLocationNode({
|
|
314
|
+
service: Service56,
|
|
315
|
+
layer: layer22,
|
|
316
|
+
deps: [node69, node68, node70, Npm.node, node59]
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
319
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service56, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node58, exports_model_resolver };
|