@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
|
@@ -3,33 +3,33 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service78,
|
|
18
|
+
node82
|
|
19
|
+
} from "./ripgrep-e6qp4kc5.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service60,
|
|
22
22
|
node62
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-q34rxkyh.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service59,
|
|
33
33
|
node: () => node61
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
@@ -43,7 +43,7 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service59,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service59 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service78;
|
|
66
|
+
const workspace = yield* Service60;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service59.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
70
|
var node61 = makeLocationNode({
|
|
71
|
-
service:
|
|
71
|
+
service: Service59,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node82, node62]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service59, node61, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-cy14vcgm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service63,
|
|
6
6
|
Event12
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-mvst46h0.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
@@ -21,7 +21,7 @@ var Plugin46 = define({
|
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service81;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service63;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./ripgrep-b3a3benk.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-5149gher.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-cy14vcgm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./ripgrep-enmmrcfv.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-vc59xfej.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID13,
|
|
20
20
|
mergeOverlay2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./ripgrep-b3a3benk.js";
|
|
22
22
|
import {
|
|
23
23
|
iife2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./ripgrep-1kg9ymc8.js";
|
|
25
25
|
import {
|
|
26
26
|
configuredSettings2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./ripgrep-ydnpd9e9.js";
|
|
28
28
|
|
|
29
29
|
// src/plugin/provider/azure.ts
|
|
30
30
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -44,7 +44,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
44
44
|
var AzurePlugin2 = define({
|
|
45
45
|
id: "opencode.provider.azure",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const configured = yield* configuredSettings2(
|
|
47
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
48
48
|
const processes = yield* AppProcess.Service;
|
|
49
49
|
const bus = yield* Service81;
|
|
50
50
|
const tokens = new Map;
|
|
@@ -80,13 +80,13 @@ var AzurePlugin2 = define({
|
|
|
80
80
|
});
|
|
81
81
|
yield* ctx.integration.transform((editor) => {
|
|
82
82
|
editor.method.update({
|
|
83
|
-
integrationID:
|
|
83
|
+
integrationID: ID13.azure,
|
|
84
84
|
method: { type: "key", label: "API key", form: form() }
|
|
85
85
|
});
|
|
86
86
|
if (!available)
|
|
87
87
|
return;
|
|
88
88
|
editor.method.update({
|
|
89
|
-
integrationID:
|
|
89
|
+
integrationID: ID13.azure,
|
|
90
90
|
method: {
|
|
91
91
|
id: methodID,
|
|
92
92
|
type: "oauth",
|
|
@@ -118,7 +118,7 @@ var AzurePlugin2 = define({
|
|
|
118
118
|
});
|
|
119
119
|
});
|
|
120
120
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
121
|
-
const connection = yield* ctx.integration.connection.active(
|
|
121
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
122
122
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
123
123
|
return;
|
|
124
124
|
})) : undefined;
|
|
@@ -132,7 +132,7 @@ var AzurePlugin2 = define({
|
|
|
132
132
|
yield* load();
|
|
133
133
|
yield* ctx.provider.transform((evt) => {
|
|
134
134
|
for (const item of evt.list()) {
|
|
135
|
-
if (item.provider.id !==
|
|
135
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
136
136
|
continue;
|
|
137
137
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
138
138
|
if (resourceName)
|
|
@@ -147,7 +147,7 @@ var AzurePlugin2 = define({
|
|
|
147
147
|
});
|
|
148
148
|
yield* ctx.model.transform((models) => {
|
|
149
149
|
for (const item of models.provider.list()) {
|
|
150
|
-
if (item.provider.id !==
|
|
150
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
151
151
|
continue;
|
|
152
152
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
153
153
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID13.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID13.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID13.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID13.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-vtcp04qa.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service81,
|
|
8
8
|
node85
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-cy14vcgm.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-qsbynavx.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service68,
|
|
21
|
+
node72
|
|
22
|
+
} from "./ripgrep-avfc6w3p.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service25,
|
|
25
|
+
node28
|
|
26
|
+
} from "./ripgrep-m6aadvxh.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service12,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer7,
|
|
42
|
+
node: () => node14
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service12 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service81;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service25;
|
|
65
|
+
const store = yield* Service68;
|
|
66
66
|
const db = (yield* Service82).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service12.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [node85, llmClient2,
|
|
150
|
+
var node14 = makeLocationNode({
|
|
151
|
+
service: Service12,
|
|
152
|
+
layer: layer7,
|
|
153
|
+
deps: [node85, llmClient2, node28, node72, node86]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service12, isUntitled2, layer7, node14, exports_title };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-cy14vcgm.js";
|
|
4
4
|
import {
|
|
5
5
|
Service64
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-dz5p8mjs.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service24,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-v1faaxn9.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./ripgrep-3r2erwe8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event3,
|
|
30
30
|
ID: () => ID2,
|
|
31
31
|
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service24,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node18
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event3, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service81;
|
|
45
45
|
const kv = yield* Service64;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service24.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node18 = Node.makeLocationNode({
|
|
226
|
+
service: Service24,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node18, exports_plugin2, Event3, ID2, Info2, Source2, State2 };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin25
|
|
3
|
+
} from "./ripgrep-q6d53jre.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin22
|
|
6
|
+
} from "./ripgrep-s323gek4.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin20
|
|
9
|
+
} from "./ripgrep-a12n6xvh.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin21
|
|
12
|
+
} from "./ripgrep-zw7perxp.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin26
|
|
15
|
+
} from "./ripgrep-waezr4dz.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin25,
|
|
20
|
+
Plugin22,
|
|
21
|
+
Plugin20,
|
|
22
|
+
Plugin21,
|
|
23
|
+
Plugin26
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
7
7
|
__export(exports_lsp, {
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
|
-
Entry: () =>
|
|
11
|
-
Info: () =>
|
|
10
|
+
Entry: () => Entry4,
|
|
11
|
+
Info: () => Info16,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ import { Schema } from "effect";
|
|
|
16
16
|
var Disabled2 = Schema.Struct({
|
|
17
17
|
disabled: Schema.Literal(true)
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Entry4 = Schema.Union([
|
|
20
20
|
Disabled2,
|
|
21
21
|
Schema.Struct({
|
|
22
22
|
command: Schema.mutable(Schema.Array(Schema.String)),
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info16 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2,
|
|
84
|
+
export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info16, exports_lsp };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service81,
|
|
4
4
|
node85
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-cy14vcgm.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service8,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
16
|
layer: () => layer5,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node9
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service8 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var layer5 = Layer.effect(
|
|
25
|
+
var layer5 = Layer.effect(Service8, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service81;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service8.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node9 = makeGlobalNode({ service: Service8, layer: layer5, deps: [node85] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service8, layer5, node9, exports_sdk };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./ripgrep-jvgez6pn.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info11
|
|
9
|
+
} from "./ripgrep-a8zr1srk.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-nmqjzj6h.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service47
|
|
16
|
+
} from "./ripgrep-gdzyqw3g.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent = {};
|
|
26
26
|
__export(exports_agent, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin7
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info11);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin7 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service47;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin18 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID10.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID10.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin7, exports_agent };
|