@opencode/core 0.0.0-dev-19648 → 0.0.0-dev-19651
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{reference-xa5y1v1s.js → ripgrep-090p04ra.js} +47 -47
- package/dist/chunks/{reference-02qvqdkf.js → ripgrep-09sfstvz.js} +16 -16
- package/dist/chunks/{reference-b3x7keah.js → ripgrep-0czxdnwf.js} +1 -1
- package/dist/chunks/{reference-pecb0brz.js → ripgrep-0f9afca0.js} +5 -5
- package/dist/chunks/{reference-abm9hpd7.js → ripgrep-0gt7v72w.js} +19 -19
- package/dist/chunks/{reference-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{reference-0q0f95c6.js → ripgrep-0q0f95c6.js} +1 -1
- package/dist/chunks/{reference-fyymr9xg.js → ripgrep-179189h4.js} +4 -4
- package/dist/chunks/{reference-1bbkgx8g.js → ripgrep-1bbkgx8g.js} +1 -1
- package/dist/chunks/{reference-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{reference-n1ytvyqk.js → ripgrep-1tgtm9xq.js} +13 -13
- package/dist/chunks/{reference-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{reference-6h73sxmp.js → ripgrep-2402vzrj.js} +5 -5
- package/dist/chunks/{reference-shr2sdsm.js → ripgrep-24krv7xn.js} +20 -20
- package/dist/chunks/{reference-0n7seg06.js → ripgrep-252wh90r.js} +10 -10
- package/dist/chunks/{reference-spt16dfm.js → ripgrep-253g34ze.js} +30 -30
- package/dist/chunks/{reference-p10yth8x.js → ripgrep-29j6d3vm.js} +11 -11
- package/dist/chunks/{reference-d8c7rh5j.js → ripgrep-2a0dx3gy.js} +15 -15
- package/dist/chunks/{reference-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{reference-drfaqnzf.js → ripgrep-2mr0mq8k.js} +11 -11
- package/dist/chunks/{reference-v3d30ngf.js → ripgrep-2s3d9dsp.js} +15 -15
- package/dist/chunks/{reference-c1fv4dkx.js → ripgrep-2sns7k14.js} +50 -50
- package/dist/chunks/{reference-zyghnjwz.js → ripgrep-2wyx13rv.js} +4 -4
- package/dist/chunks/{reference-f4w1sefg.js → ripgrep-348jn79r.js} +22 -22
- package/dist/chunks/{reference-pdfyt4tn.js → ripgrep-3ap7mgrf.js} +11 -11
- package/dist/chunks/{reference-5x1bh28b.js → ripgrep-3b0jx1ke.js} +16 -16
- package/dist/chunks/{reference-ypx73geg.js → ripgrep-3b9qt4hj.js} +9 -9
- package/dist/chunks/{reference-6h3wybc7.js → ripgrep-3dw0yn7k.js} +6 -6
- package/dist/chunks/{reference-sa7v3xbp.js → ripgrep-3f7eawa7.js} +5 -5
- package/dist/chunks/{reference-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{reference-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-p37cw4rj.js → ripgrep-3hfr6h8q.js} +8 -8
- package/dist/chunks/{reference-bhmgakb5.js → ripgrep-3pn063cz.js} +5 -5
- package/dist/chunks/{reference-8ynznrcf.js → ripgrep-3r2erwe8.js} +175 -175
- package/dist/chunks/{reference-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{reference-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{reference-8srhhvcs.js → ripgrep-40hkqv6b.js} +11 -11
- package/dist/chunks/{reference-chzjgv92.js → ripgrep-43y6qqc6.js} +27 -19
- package/dist/chunks/{reference-knb7evpn.js → ripgrep-44ke2mar.js} +2 -2
- package/dist/chunks/{reference-nvt68vec.js → ripgrep-48exnw03.js} +20 -20
- package/dist/chunks/{reference-03b5bxzy.js → ripgrep-48y73nye.js} +15 -15
- package/dist/chunks/{reference-ms93yq6r.js → ripgrep-4c2df9zx.js} +8 -8
- package/dist/chunks/{reference-n396qpd7.js → ripgrep-4ndvwbzn.js} +3 -3
- package/dist/chunks/{reference-134kf2wt.js → ripgrep-4pa2cjn6.js} +22 -22
- package/dist/chunks/{reference-zyaqxzpp.js → ripgrep-4r3kphav.js} +9 -9
- package/dist/chunks/{reference-1jfn0zqb.js → ripgrep-4y72ap3v.js} +12 -12
- package/dist/chunks/{reference-b9qa799g.js → ripgrep-4yfzzjgx.js} +49 -49
- package/dist/chunks/{reference-xye9w2dv.js → ripgrep-5149gher.js} +11 -11
- package/dist/chunks/{reference-2fgn2we9.js → ripgrep-57ez7d0k.js} +9 -9
- package/dist/chunks/{reference-w1k39n5e.js → ripgrep-5c0f1prt.js} +4 -4
- package/dist/chunks/{reference-5d607bsg.js → ripgrep-5d607bsg.js} +2 -2
- package/dist/chunks/{reference-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{reference-dhgpazgq.js → ripgrep-5dmft2ek.js} +13 -13
- package/dist/chunks/{reference-nm88qpht.js → ripgrep-5saq5gnw.js} +13 -13
- package/dist/chunks/{reference-y8r82tqy.js → ripgrep-5sc1p3pa.js} +16 -16
- package/dist/chunks/{reference-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{reference-ppn8xss7.js → ripgrep-5x65af3d.js} +6 -6
- package/dist/chunks/{reference-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{reference-1hmm269h.js → ripgrep-6gv9q03x.js} +3 -3
- package/dist/chunks/{reference-kp8q1t60.js → ripgrep-6hjx5zpb.js} +9 -9
- package/dist/chunks/{reference-b342pyrz.js → ripgrep-6mrn9vmw.js} +34 -34
- package/dist/chunks/{reference-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{reference-3wyww8w1.js → ripgrep-6pmkj1a3.js} +12 -12
- package/dist/chunks/{reference-g5a5y1mz.js → ripgrep-6tgkqtb7.js} +36 -36
- package/dist/chunks/{reference-sxmp26qp.js → ripgrep-6tnb4hg1.js} +12 -12
- package/dist/chunks/{reference-6tt5evqq.js → ripgrep-6tt5evqq.js} +4 -4
- package/dist/chunks/{reference-xx83pe84.js → ripgrep-6y7j38z1.js} +9 -9
- package/dist/chunks/{reference-8t83zea3.js → ripgrep-75cgqmea.js} +10 -10
- package/dist/chunks/{reference-k2ednzn6.js → ripgrep-76d2vfts.js} +15 -15
- package/dist/chunks/{reference-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-w94zwhkx.js → ripgrep-7dgexg80.js} +45 -45
- package/dist/chunks/{reference-vtwtbqc7.js → ripgrep-7km188d0.js} +5 -5
- package/dist/chunks/{reference-32kve5rw.js → ripgrep-7sr68zac.js} +15 -15
- package/dist/chunks/{reference-7gjg976t.js → ripgrep-7wzgrp26.js} +11 -11
- package/dist/chunks/{reference-4s1yk193.js → ripgrep-8av4ea0y.js} +26 -26
- package/dist/chunks/{reference-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{reference-vgfjjsrb.js → ripgrep-8fv676xw.js} +5 -5
- package/dist/chunks/{reference-g1823667.js → ripgrep-8ncj45nv.js} +15 -15
- package/dist/chunks/{reference-8p4f9s12.js → ripgrep-8p4f9s12.js} +2 -2
- package/dist/chunks/{reference-6pwhbvw4.js → ripgrep-92rdngqa.js} +18 -18
- package/dist/chunks/{reference-y64wkpzd.js → ripgrep-9f2y37s0.js} +5 -5
- package/dist/chunks/{reference-bhhrrwb2.js → ripgrep-9kpqy124.js} +19 -19
- package/dist/chunks/{reference-x9dg854n.js → ripgrep-a12n6xvh.js} +3 -3
- package/dist/chunks/{reference-a1bz86dw.js → ripgrep-a1bz86dw.js} +3 -3
- package/dist/chunks/{reference-hkagk5ex.js → ripgrep-a3r4dcrj.js} +2 -2
- package/dist/chunks/{reference-cdada34a.js → ripgrep-a7gfxea1.js} +25 -25
- package/dist/chunks/{reference-jpaa4kn2.js → ripgrep-a7y95dg8.js} +26 -26
- package/dist/chunks/{reference-jw80jp6b.js → ripgrep-a8bn8zg0.js} +4 -4
- package/dist/chunks/{reference-swvnyk58.js → ripgrep-a8zr1srk.js} +8 -8
- package/dist/chunks/{reference-zfhw6n37.js → ripgrep-a9f26sj6.js} +4 -4
- package/dist/chunks/{reference-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{reference-s87jav8w.js → ripgrep-ac373s4s.js} +28 -28
- package/dist/chunks/{reference-4t6jmgq9.js → ripgrep-adj67hrf.js} +31 -31
- package/dist/chunks/{reference-1vp1f7c9.js → ripgrep-aj930q3s.js} +3 -3
- package/dist/chunks/{reference-e3r06aex.js → ripgrep-avfc6w3p.js} +12 -12
- package/dist/chunks/{reference-kvkwxqvc.js → ripgrep-awg9kq3k.js} +9 -9
- package/dist/chunks/{reference-7f3re3ee.js → ripgrep-b3a3benk.js} +32 -32
- package/dist/chunks/{reference-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{reference-n76hx912.js → ripgrep-b8hzf7nw.js} +8 -8
- package/dist/chunks/{reference-td40qxmx.js → ripgrep-bcphrpfy.js} +21 -21
- package/dist/chunks/{reference-ndqtf2h8.js → ripgrep-bdqrk2vk.js} +6 -6
- package/dist/chunks/{reference-dr0vfmy3.js → ripgrep-bkkzjt1w.js} +17 -17
- package/dist/chunks/{reference-6rqqxte6.js → ripgrep-bpb88xcm.js} +283 -283
- package/dist/chunks/{reference-4r69v978.js → ripgrep-bprqj5v0.js} +20 -20
- package/dist/chunks/{reference-fpxser7j.js → ripgrep-bqqqenec.js} +5 -5
- package/dist/chunks/{reference-2dqx1b4a.js → ripgrep-btjz98dh.js} +5 -5
- package/dist/chunks/{reference-2c609f5b.js → ripgrep-bxje3ty2.js} +23 -23
- package/dist/chunks/{reference-sbn35ts9.js → ripgrep-ce8ybvb1.js} +26 -26
- package/dist/chunks/{reference-cfpkc3c9.js → ripgrep-cfpkc3c9.js} +2 -2
- package/dist/chunks/{reference-z9bkweyj.js → ripgrep-ck10g682.js} +16 -16
- package/dist/chunks/ripgrep-cn8hjhwa.js +26 -0
- package/dist/chunks/{reference-kxpygcw9.js → ripgrep-cpy6gm2a.js} +6 -6
- package/dist/chunks/{reference-44xq9en3.js → ripgrep-cq55yzqn.js} +9 -9
- package/dist/chunks/{reference-ekj9s94f.js → ripgrep-ct5mx16d.js} +17 -17
- package/dist/chunks/{reference-fcymrbm6.js → ripgrep-cy14vcgm.js} +4 -4
- package/dist/chunks/{reference-tkbt61sv.js → ripgrep-cyz92fbd.js} +41 -41
- package/dist/chunks/{reference-wn7brba8.js → ripgrep-dpsj4cd4.js} +24 -24
- package/dist/chunks/{reference-hw1bdftb.js → ripgrep-dqx57jvk.js} +7 -7
- package/dist/chunks/{reference-25ksdg08.js → ripgrep-dz5p8mjs.js} +3 -3
- package/dist/chunks/{reference-dkbfs573.js → ripgrep-e3wb4dtq.js} +4 -4
- package/dist/chunks/{reference-bndc73cn.js → ripgrep-e5nv3ght.js} +5 -5
- package/dist/chunks/{reference-8t7r2jb8.js → ripgrep-e6qp4kc5.js} +16 -16
- package/dist/chunks/{reference-93cvdxb3.js → ripgrep-e70wmrry.js} +13 -13
- package/dist/chunks/{reference-61gxz8zw.js → ripgrep-e73xc17j.js} +8 -8
- package/dist/chunks/{reference-3xvzxc70.js → ripgrep-e935xhvr.js} +15 -15
- package/dist/chunks/{reference-kvqct8d7.js → ripgrep-ebt2v526.js} +19 -19
- package/dist/chunks/{reference-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{reference-d3vn7cdf.js → ripgrep-eh8sk6sx.js} +10 -10
- package/dist/chunks/{reference-14mggxhb.js → ripgrep-enmmrcfv.js} +28 -28
- package/dist/chunks/{reference-5ap9q5kf.js → ripgrep-ep11t42c.js} +36 -36
- package/dist/chunks/{reference-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{reference-10c8x8f6.js → ripgrep-f269mvek.js} +36 -36
- package/dist/chunks/{reference-f828m53h.js → ripgrep-f828m53h.js} +2 -2
- package/dist/chunks/{reference-rh3h661e.js → ripgrep-f8yxf6yh.js} +2 -2
- package/dist/chunks/{reference-5ffjw098.js → ripgrep-fee70ycn.js} +11 -11
- package/dist/chunks/{reference-2k7rez0t.js → ripgrep-frhj4dms.js} +12 -12
- package/dist/chunks/{reference-fxbjtjnd.js → ripgrep-fxbjtjnd.js} +1 -1
- package/dist/chunks/{reference-g6kf3b8w.js → ripgrep-g51abb3s.js} +22 -22
- package/dist/chunks/{reference-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{reference-h8bmxzy2.js → ripgrep-gdzyqw3g.js} +39 -39
- package/dist/chunks/{reference-40zbstrq.js → ripgrep-ge4kd7q2.js} +8 -8
- package/dist/chunks/{reference-vrg0y3vt.js → ripgrep-gsf1yvdt.js} +22 -22
- package/dist/chunks/{reference-e9djx9ep.js → ripgrep-gtm0r2yw.js} +15 -15
- package/dist/chunks/{reference-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{reference-ezgzkxar.js → ripgrep-gvr6y9jr.js} +33 -33
- package/dist/chunks/{reference-h03wrkyp.js → ripgrep-h03wrkyp.js} +2 -2
- package/dist/chunks/{reference-w1rs9k2x.js → ripgrep-h092eefw.js} +25 -25
- package/dist/chunks/{reference-8z00fdkb.js → ripgrep-h6r3nrb9.js} +4 -4
- package/dist/chunks/{reference-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{reference-3xne0rkq.js → ripgrep-h8xv34qf.js} +30 -30
- package/dist/chunks/{reference-k18ytf7m.js → ripgrep-hm24pp5g.js} +4 -4
- package/dist/chunks/{reference-ycqmpjnx.js → ripgrep-hr56d05f.js} +13 -13
- package/dist/chunks/{reference-aa2skrxv.js → ripgrep-hryd4p41.js} +11 -11
- package/dist/chunks/{reference-nq7qbqzc.js → ripgrep-j3s2z371.js} +9 -9
- package/dist/chunks/{reference-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{reference-znz75wx4.js → ripgrep-j7x63ng9.js} +15 -15
- package/dist/chunks/{reference-tnt42qtz.js → ripgrep-jec41gjm.js} +9 -9
- package/dist/chunks/{reference-ndmv45hp.js → ripgrep-jexxy024.js} +3 -3
- package/dist/chunks/{reference-arecezhq.js → ripgrep-jjcjwdby.js} +18 -18
- package/dist/chunks/{reference-s1vw05sc.js → ripgrep-jp7ckd89.js} +9 -9
- package/dist/chunks/{reference-1k5by4aq.js → ripgrep-jpbjg4xy.js} +42 -42
- package/dist/chunks/{reference-wbkyxrgf.js → ripgrep-jv01nqvq.js} +5 -5
- package/dist/chunks/{reference-qmbakkq8.js → ripgrep-jvgez6pn.js} +21 -21
- package/dist/chunks/{reference-3fr1jb2b.js → ripgrep-k2r7sfhd.js} +22 -22
- package/dist/chunks/{reference-y61jd4yh.js → ripgrep-kqab4rks.js} +5 -5
- package/dist/chunks/{reference-mahgktyj.js → ripgrep-m4h5krzp.js} +31 -31
- package/dist/chunks/{reference-rv9pf5qx.js → ripgrep-m6aadvxh.js} +88 -88
- package/dist/chunks/{reference-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-865g0eh4.js → ripgrep-mbx6ky7y.js} +8 -8
- package/dist/chunks/{reference-mfqp6xfm.js → ripgrep-mfqp6xfm.js} +2 -2
- package/dist/chunks/{reference-9w2869zr.js → ripgrep-ms5gt4ej.js} +18 -18
- package/dist/chunks/{reference-ndska8nx.js → ripgrep-mvst46h0.js} +12 -12
- package/dist/chunks/{reference-ngads3cw.js → ripgrep-mxfbfm56.js} +1 -1
- package/dist/chunks/{reference-enc3c1en.js → ripgrep-mzvzs703.js} +12 -12
- package/dist/chunks/{reference-ynhtccz1.js → ripgrep-n00nrqde.js} +41 -41
- package/dist/chunks/{reference-vttrqb4n.js → ripgrep-n1czd7vp.js} +8 -8
- package/dist/chunks/{reference-m8zkp0x2.js → ripgrep-n2jambzy.js} +51 -51
- package/dist/chunks/{reference-mp9pavxw.js → ripgrep-nmqjzj6h.js} +4 -4
- package/dist/chunks/{reference-8p8s83ww.js → ripgrep-nmtykjd1.js} +23 -23
- package/dist/chunks/{reference-yejsh80d.js → ripgrep-ntygj04g.js} +33 -33
- package/dist/chunks/{reference-xkp3n9nh.js → ripgrep-p2f705pb.js} +15 -15
- package/dist/chunks/{reference-q9g8rvr0.js → ripgrep-p89m3vhk.js} +17 -17
- package/dist/chunks/{reference-f7ta5rfa.js → ripgrep-pgr85bm1.js} +32 -32
- package/dist/chunks/{reference-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{reference-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{reference-zf2x6a7d.js → ripgrep-pma9pq0s.js} +26 -26
- package/dist/chunks/{reference-4e8vs6eh.js → ripgrep-pnaxc6j9.js} +8 -8
- package/dist/chunks/{reference-6r5g6tjt.js → ripgrep-ps6d77n5.js} +6 -6
- package/dist/chunks/{reference-51qrhgsb.js → ripgrep-pt0e9nek.js} +87 -87
- package/dist/chunks/{reference-pj5amqmw.js → ripgrep-q34rxkyh.js} +20 -20
- package/dist/chunks/{reference-cxt45380.js → ripgrep-q5rhn9x0.js} +12 -12
- package/dist/chunks/{reference-c5pd54gy.js → ripgrep-q6d53jre.js} +5 -5
- package/dist/chunks/{reference-jdpkqg09.js → ripgrep-q8td851s.js} +24 -24
- package/dist/chunks/{reference-qa3qhgw8.js → ripgrep-qa3qhgw8.js} +1 -1
- package/dist/chunks/{reference-27wf16dy.js → ripgrep-qecpqjj2.js} +11 -11
- package/dist/chunks/{reference-qgn6gcr1.js → ripgrep-qgn6gcr1.js} +1 -1
- package/dist/chunks/{reference-pk5sdxey.js → ripgrep-qhd4nzg7.js} +11 -11
- package/dist/chunks/{reference-9y4077kg.js → ripgrep-qhrjm1kp.js} +43 -43
- package/dist/chunks/{reference-cex7s4hh.js → ripgrep-qpg5v3mm.js} +12 -12
- package/dist/chunks/{reference-xcm12kff.js → ripgrep-qsbynavx.js} +8 -8
- package/dist/chunks/{reference-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{reference-d4w8kf3r.js → ripgrep-r00sg9dg.js} +20 -20
- package/dist/chunks/{reference-m64xvjj1.js → ripgrep-r4yqrmdq.js} +5 -5
- package/dist/chunks/{reference-gmffswna.js → ripgrep-r8bhxde6.js} +4 -4
- package/dist/chunks/{reference-r9mregkx.js → ripgrep-r9mregkx.js} +2 -2
- package/dist/chunks/{reference-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{reference-xw0r27ex.js → ripgrep-rpg9c19m.js} +4 -4
- package/dist/chunks/{reference-zd2jvyct.js → ripgrep-rq60b8cd.js} +20 -20
- package/dist/chunks/{reference-52r7d24f.js → ripgrep-s0b4cn51.js} +9 -9
- package/dist/chunks/{reference-xwn03wp9.js → ripgrep-s323gek4.js} +9 -9
- package/dist/chunks/{reference-s8d7rejh.js → ripgrep-s8d7rejh.js} +1 -1
- package/dist/chunks/{reference-nawp3sa8.js → ripgrep-sd98cdqm.js} +16 -16
- package/dist/chunks/ripgrep-sgrk0bmb.js +247 -0
- package/dist/chunks/{reference-y15fhebr.js → ripgrep-sm51y2s9.js} +17 -17
- package/dist/chunks/{reference-95mgk45z.js → ripgrep-svsy9rmq.js} +5 -5
- package/dist/chunks/{reference-t9zs3egg.js → ripgrep-sx1n432n.js} +4 -4
- package/dist/chunks/{reference-jpmxzj60.js → ripgrep-syr8hw1k.js} +25 -25
- package/dist/chunks/{reference-kbnzd5ek.js → ripgrep-t4nv35py.js} +20 -20
- package/dist/chunks/{reference-j18tycq9.js → ripgrep-ta523pqp.js} +3 -3
- package/dist/chunks/{reference-0045qx7c.js → ripgrep-tahaqeyb.js} +44 -44
- package/dist/chunks/{reference-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{reference-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
- package/dist/chunks/{reference-m3agvr0s.js → ripgrep-tctec8mv.js} +11 -11
- package/dist/chunks/{reference-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{reference-14k51jca.js → ripgrep-teb3r9wt.js} +15 -15
- package/dist/chunks/{reference-604ftt35.js → ripgrep-th2e34zp.js} +2 -2
- package/dist/chunks/{reference-mvfq7z39.js → ripgrep-tj7hexbd.js} +6 -6
- package/dist/chunks/{reference-tz2bjj40.js → ripgrep-tn0aqsam.js} +5 -5
- package/dist/chunks/{reference-djakxvzp.js → ripgrep-ttbky7b8.js} +30 -30
- package/dist/chunks/{reference-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{reference-y0w5bt7m.js → ripgrep-tzp42dcf.js} +29 -29
- package/dist/chunks/ripgrep-v1faaxn9.js +18 -0
- package/dist/chunks/{reference-44faxhpp.js → ripgrep-vc59xfej.js} +25 -25
- package/dist/chunks/{reference-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-kxw0p7t7.js → ripgrep-vft62zwd.js} +4 -4
- package/dist/chunks/{reference-nm61wxq0.js → ripgrep-vmfeg136.js} +7 -7
- package/dist/chunks/{reference-2m4s448y.js → ripgrep-vqha9mct.js} +21 -21
- package/dist/chunks/{reference-fpw6v5x5.js → ripgrep-vtcp04qa.js} +3 -3
- package/dist/chunks/{reference-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{reference-qv6jaz9v.js → ripgrep-w2p2yfvn.js} +4 -4
- package/dist/chunks/{reference-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-pz21jr5g.js → ripgrep-w9232wac.js} +13 -13
- package/dist/chunks/{reference-0rq8bjrt.js → ripgrep-waezr4dz.js} +6 -6
- package/dist/chunks/{reference-gj9znxmq.js → ripgrep-wbd0sh62.js} +22 -22
- package/dist/chunks/{reference-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{reference-w5eb0z32.js → ripgrep-wee84rza.js} +3 -3
- package/dist/chunks/{reference-5erzqq8j.js → ripgrep-wna05xfk.js} +10 -10
- package/dist/chunks/{reference-2tn7d7pp.js → ripgrep-wzryet09.js} +9 -9
- package/dist/chunks/{reference-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{reference-drwq78ky.js → ripgrep-xfkkasph.js} +4 -4
- package/dist/chunks/{reference-9fkctmz4.js → ripgrep-xm47dg1f.js} +4 -4
- package/dist/chunks/{reference-hwgr52re.js → ripgrep-xsh2gjj9.js} +32 -32
- package/dist/chunks/{reference-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{reference-3h9hgzm4.js → ripgrep-y22499gx.js} +3 -3
- package/dist/chunks/{reference-y71avatq.js → ripgrep-y71avatq.js} +1 -1
- package/dist/chunks/{reference-jemfgm91.js → ripgrep-ybhbtxjg.js} +3 -3
- package/dist/chunks/{reference-kmnkk0k6.js → ripgrep-ydnpd9e9.js} +6 -6
- package/dist/chunks/{reference-mrvjcs5x.js → ripgrep-yf4jcbx9.js} +6 -6
- package/dist/chunks/{reference-jm6dm3k4.js → ripgrep-yhk486qm.js} +8 -8
- package/dist/chunks/{reference-981b0br5.js → ripgrep-yj0vbjjc.js} +12 -12
- package/dist/chunks/{reference-b68c1mkf.js → ripgrep-ykdp11k0.js} +4 -4
- package/dist/chunks/{reference-yp2x3t23.js → ripgrep-yp2x3t23.js} +1 -1
- package/dist/chunks/{reference-g3y70r00.js → ripgrep-yp6r65vs.js} +18 -18
- package/dist/chunks/{reference-emh2q5yj.js → ripgrep-ypsb1mmg.js} +13 -13
- package/dist/chunks/{reference-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{reference-yrznvahk.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{reference-g34hxex7.js → ripgrep-yyn26yh6.js} +11 -11
- package/dist/chunks/{reference-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-36gw4j2m.js → ripgrep-z1ej3c62.js} +26 -26
- package/dist/chunks/{reference-m8ejta5g.js → ripgrep-z541ag29.js} +3 -3
- package/dist/chunks/{reference-1h7fvzqe.js → ripgrep-z5cdbbre.js} +20 -20
- package/dist/chunks/{reference-71y3sgmq.js → ripgrep-z5kf7ndz.js} +57 -57
- package/dist/chunks/{reference-z63w68vq.js → ripgrep-z63w68vq.js} +2 -2
- package/dist/chunks/{reference-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{reference-4jc5c4h4.js → ripgrep-zhq6vg7a.js} +1 -1
- package/dist/chunks/{reference-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{reference-cxgjevne.js → ripgrep-zw7perxp.js} +8 -8
- package/dist/chunks/{reference-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +76 -76
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +105 -105
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +68 -68
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +352 -352
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +99 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +118 -118
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +123 -123
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +111 -111
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- 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 +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +75 -75
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/reference-h7tfxyx6.js +0 -26
- package/dist/chunks/reference-phz3h32g.js +0 -18
- package/dist/chunks/reference-qw05y2jm.js +0 -247
- /package/dist/chunks/{reference-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-hxa7m5za.js → ripgrep-hxa7m5za.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-twg0f83k.js → ripgrep-twg0f83k.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-b3a3benk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID12,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info26,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-xsh2gjj9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID12.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info26.make({
|
|
98
|
+
...Info26.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID12.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin30,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin30 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -36,4 +36,4 @@ var Plugin28 = define({
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
|
|
39
|
-
export { identity2,
|
|
39
|
+
export { identity2, Plugin30, exports_identity };
|
|
@@ -4,29 +4,29 @@ import {
|
|
|
4
4
|
empty3,
|
|
5
5
|
make21,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-s8d7rejh.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID7,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service65,
|
|
13
|
+
node69
|
|
14
|
+
} from "./ripgrep-k2r7sfhd.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Service: () =>
|
|
23
|
-
SkillInstructions: () =>
|
|
24
|
-
node: () =>
|
|
20
|
+
var exports_instructions2 = {};
|
|
21
|
+
__export(exports_instructions2, {
|
|
22
|
+
Service: () => Service27,
|
|
23
|
+
SkillInstructions: () => exports_instructions2,
|
|
24
|
+
node: () => node30
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
28
|
var Summary = Schema.Struct({
|
|
29
|
-
id:
|
|
29
|
+
id: ID7,
|
|
30
30
|
name: Name2,
|
|
31
31
|
description: Schema.String
|
|
32
32
|
});
|
|
@@ -60,11 +60,11 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service27 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service65;
|
|
67
|
+
return Service27.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
86
|
+
var node30 = makeLocationNode({ service: Service27, layer, deps: [node69] });
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Service27, node30, exports_instructions2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service56,
|
|
3
|
+
node58,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-ge4kd7q2.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service54,
|
|
8
|
+
node56
|
|
9
|
+
} from "./ripgrep-yf4jcbx9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service21
|
|
12
|
+
} from "./ripgrep-48y73nye.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-sgrk0bmb.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service56, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
28
28
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
29
29
|
return Effect.void;
|
|
30
30
|
if (Exit.isSuccess(exit)) {
|
|
31
|
-
build.close = Context.get(exit.value,
|
|
31
|
+
build.close = Context.get(exit.value, Service21).close;
|
|
32
32
|
return Effect.void;
|
|
33
33
|
}
|
|
34
34
|
MutableHashMap.remove(builds, ref);
|
|
@@ -50,11 +50,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
50
50
|
})
|
|
51
51
|
};
|
|
52
52
|
const bindings = [
|
|
53
|
-
|
|
53
|
+
node56.replace(Layer.succeed(Service54, {
|
|
54
54
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
55
55
|
})),
|
|
56
56
|
...replacements,
|
|
57
|
-
|
|
57
|
+
node58.replace(Layer.succeed(Service56, map))
|
|
58
58
|
];
|
|
59
59
|
return map;
|
|
60
60
|
}));
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-5149gher.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service76
|
|
7
|
+
} from "./ripgrep-enmmrcfv.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-vc59xfej.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID13
|
|
14
|
+
} from "./ripgrep-b3a3benk.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID13.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID14.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -68,8 +68,8 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
71
|
+
const credentials = yield* Service76;
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-cy14vcgm.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event20,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID16,
|
|
20
|
+
Info: () => Info31,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
|
+
Reply: () => Reply3,
|
|
25
|
+
Service: () => Service77,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node81,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID16 = Form.ID;
|
|
39
|
+
var Info31 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID16
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID16
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID16
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID16,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service77 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer25 = Layer.effect(Service77, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service81;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID16.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer24 = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service77.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node81 = makeLocationNode({ service: Service77, layer: layer25, deps: [node85] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID16, Info31, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service77, layer25, node81, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./ripgrep-xsh2gjj9.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service71,
|
|
6
|
+
node75
|
|
7
|
+
} from "./ripgrep-tahaqeyb.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate = {};
|
|
14
|
+
__export(exports_generate, {
|
|
15
|
+
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service20,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer9,
|
|
20
|
+
node: () => node23
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -33,11 +33,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service20 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer9 = Layer.effect(Service20, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service71;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -63,12 +63,12 @@ var layer15 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
63
63
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service20.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node23 = makeLocationNode({
|
|
69
|
+
service: Service20,
|
|
70
|
+
layer: layer9,
|
|
71
|
+
deps: [node75, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError2, Service20, layer9, node23, exports_generate };
|