@opencode/core 0.0.0-dev-19646 → 0.0.0-dev-19648
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 +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{location-services-xpqk3eh0.js → reference-0045qx7c.js} +44 -44
- package/dist/chunks/{location-services-je647k4c.js → reference-02qvqdkf.js} +12 -12
- package/dist/chunks/{location-services-4cb531x0.js → reference-03b5bxzy.js} +15 -15
- package/dist/chunks/{location-services-ryaverbc.js → reference-0n7seg06.js} +10 -10
- package/dist/chunks/{location-services-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-0q0f95c6.js → reference-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-services-rwejf1ab.js → reference-0rq8bjrt.js} +9 -9
- package/dist/chunks/{location-services-yaw0dvfn.js → reference-10c8x8f6.js} +38 -38
- package/dist/chunks/{location-services-escff1en.js → reference-134kf2wt.js} +25 -25
- package/dist/chunks/{location-services-vk829m9g.js → reference-14k51jca.js} +15 -15
- package/dist/chunks/{location-services-y25vqx85.js → reference-14mggxhb.js} +28 -28
- package/dist/chunks/{location-services-1bbkgx8g.js → reference-1bbkgx8g.js} +1 -1
- package/dist/chunks/{location-services-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-deadhj81.js → reference-1h7fvzqe.js} +17 -17
- package/dist/chunks/{location-services-bvf11d5q.js → reference-1hmm269h.js} +6 -6
- package/dist/chunks/{location-services-1v6wmkfd.js → reference-1jfn0zqb.js} +12 -12
- package/dist/chunks/{location-services-a4w185c3.js → reference-1k5by4aq.js} +40 -40
- package/dist/chunks/{location-services-rf569v5d.js → reference-1vp1f7c9.js} +6 -6
- package/dist/chunks/{location-services-21r38tys.js → reference-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-n8bvb90d.js → reference-25ksdg08.js} +10 -10
- package/dist/chunks/{location-services-np7skr3v.js → reference-27wf16dy.js} +9 -9
- package/dist/chunks/{location-services-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-fvsy7c6q.js → reference-2c609f5b.js} +23 -23
- package/dist/chunks/{location-services-zgxes4ak.js → reference-2dqx1b4a.js} +5 -5
- package/dist/chunks/{location-services-57ez7d0k.js → reference-2fgn2we9.js} +9 -9
- package/dist/chunks/{location-services-w3krsc1n.js → reference-2k7rez0t.js} +10 -10
- package/dist/chunks/{location-services-sp39rzf0.js → reference-2m4s448y.js} +23 -23
- package/dist/chunks/{location-services-ywfgr7ts.js → reference-2tn7d7pp.js} +14 -14
- package/dist/chunks/{location-services-v3b6g8zk.js → reference-32kve5rw.js} +20 -20
- package/dist/chunks/{location-services-gc2d77n3.js → reference-36gw4j2m.js} +26 -26
- package/dist/chunks/{location-services-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-g8pq9weq.js → reference-3fr1jb2b.js} +22 -22
- package/dist/chunks/{location-services-adt7kv3m.js → reference-3h9hgzm4.js} +3 -3
- package/dist/chunks/{location-services-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-bdqj2w6e.js → reference-3wyww8w1.js} +19 -19
- package/dist/chunks/{location-services-kz603ydr.js → reference-3xne0rkq.js} +32 -32
- package/dist/chunks/{location-services-zv3d04tz.js → reference-3xvzxc70.js} +27 -27
- package/dist/chunks/{location-services-j4nftgh5.js → reference-40zbstrq.js} +8 -8
- package/dist/chunks/{location-services-nq7qqy46.js → reference-44faxhpp.js} +25 -25
- package/dist/chunks/{location-services-h3vnthrd.js → reference-44xq9en3.js} +10 -10
- package/dist/chunks/{location-services-qwjmgwmn.js → reference-4e8vs6eh.js} +8 -8
- package/dist/chunks/{location-services-6rybd781.js → reference-4jc5c4h4.js} +1 -1
- package/dist/chunks/{location-services-5gg6f7ne.js → reference-4r69v978.js} +24 -24
- package/dist/chunks/{location-services-68fytkrv.js → reference-4s1yk193.js} +29 -29
- package/dist/chunks/{location-services-v7yf89ty.js → reference-4t6jmgq9.js} +33 -33
- package/dist/chunks/{location-services-v75vanfq.js → reference-51qrhgsb.js} +91 -91
- package/dist/chunks/{location-services-jcrjmqjq.js → reference-52r7d24f.js} +9 -9
- package/dist/chunks/{location-services-nqm4p04r.js → reference-5ap9q5kf.js} +32 -32
- package/dist/chunks/{location-services-cwa6csj7.js → reference-5d607bsg.js} +9 -9
- package/dist/chunks/{location-services-5daktx2q.js → reference-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-rnk60ejx.js → reference-5erzqq8j.js} +10 -10
- package/dist/chunks/{location-services-781n25pw.js → reference-5ffjw098.js} +11 -11
- package/dist/chunks/{location-services-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-2rrz687z.js → reference-5x1bh28b.js} +16 -16
- package/dist/chunks/{location-services-azqhcxjd.js → reference-604ftt35.js} +5 -5
- package/dist/chunks/{location-services-gk2jh81v.js → reference-61gxz8zw.js} +11 -11
- package/dist/chunks/{location-services-669tq793.js → reference-669tq793.js} +1 -1
- package/dist/chunks/{location-services-8y62cfgq.js → reference-6h3wybc7.js} +6 -6
- package/dist/chunks/{location-services-6h73sxmp.js → reference-6h73sxmp.js} +1 -1
- package/dist/chunks/{location-services-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-services-ezrbh4zz.js → reference-6pwhbvw4.js} +18 -18
- package/dist/chunks/{location-services-atqsbchn.js → reference-6r5g6tjt.js} +6 -6
- package/dist/chunks/reference-6rqqxte6.js +478 -0
- package/dist/chunks/{location-services-7ac170kv.js → reference-6tt5evqq.js} +4 -4
- package/dist/chunks/{location-services-hdvwcw0z.js → reference-71y3sgmq.js} +64 -64
- package/dist/chunks/{location-services-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-d5mtgc27.js → reference-7f3re3ee.js} +32 -32
- package/dist/chunks/{location-services-y66019s9.js → reference-7gjg976t.js} +14 -14
- package/dist/chunks/{location-services-aj9pnh4n.js → reference-865g0eh4.js} +11 -11
- package/dist/chunks/{location-services-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-dj2t23y0.js → reference-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-services-tbp620s5.js → reference-8p8s83ww.js} +28 -28
- package/dist/chunks/{location-services-82zyvcah.js → reference-8srhhvcs.js} +11 -11
- package/dist/chunks/{location-services-vhyp5dk4.js → reference-8t7r2jb8.js} +16 -16
- package/dist/chunks/{location-services-gr09cxn6.js → reference-8t83zea3.js} +13 -13
- package/dist/chunks/{location-services-gp57js1t.js → reference-8ynznrcf.js} +179 -179
- package/dist/chunks/{location-services-h6r3nrb9.js → reference-8z00fdkb.js} +4 -4
- package/dist/chunks/{location-services-g3kb93e8.js → reference-93cvdxb3.js} +13 -13
- package/dist/chunks/{location-services-z59fwxgv.js → reference-95mgk45z.js} +5 -5
- package/dist/chunks/{location-services-yebec9g6.js → reference-981b0br5.js} +12 -12
- package/dist/chunks/{location-services-hg2ajb6b.js → reference-9fkctmz4.js} +4 -4
- package/dist/chunks/{location-services-myjt55zq.js → reference-9w2869zr.js} +18 -18
- package/dist/chunks/{location-services-f068e6wh.js → reference-9y4077kg.js} +46 -46
- package/dist/chunks/{location-services-5c4hm403.js → reference-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-services-nb0n8t9k.js → reference-aa2skrxv.js} +11 -11
- package/dist/chunks/{location-services-aaet6srn.js → reference-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-yx32magx.js → reference-abm9hpd7.js} +33 -33
- package/dist/chunks/{location-services-pa0gt5x9.js → reference-arecezhq.js} +24 -24
- package/dist/chunks/{location-services-xc3sk8sy.js → reference-b342pyrz.js} +35 -35
- package/dist/chunks/{location-services-v4nysbcg.js → reference-b3x7keah.js} +1 -1
- package/dist/chunks/{location-services-gf19svat.js → reference-b68c1mkf.js} +4 -4
- package/dist/chunks/{location-services-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-wsd1ss6t.js → reference-b9qa799g.js} +53 -53
- package/dist/chunks/{location-services-ydtevv15.js → reference-bhhrrwb2.js} +22 -22
- package/dist/chunks/{location-services-s6zy68bd.js → reference-bhmgakb5.js} +5 -5
- package/dist/chunks/{location-services-e5nv3ght.js → reference-bndc73cn.js} +5 -5
- package/dist/chunks/{location-services-1f98cwtd.js → reference-c1fv4dkx.js} +51 -51
- package/dist/chunks/{location-services-2bmpyzcd.js → reference-c5pd54gy.js} +8 -8
- package/dist/chunks/{location-services-ybkzn9j1.js → reference-cdada34a.js} +25 -25
- package/dist/chunks/{location-services-bvjrvzat.js → reference-cex7s4hh.js} +15 -15
- package/dist/chunks/{location-services-m0jqrx5p.js → reference-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-services-2q8hmj7g.js → reference-chzjgv92.js} +17 -17
- package/dist/chunks/{location-services-mcfrtzmy.js → reference-cxgjevne.js} +5 -5
- package/dist/chunks/{location-services-ep9bxrrg.js → reference-cxt45380.js} +9 -9
- package/dist/chunks/{location-services-fqnmpcgq.js → reference-d3vn7cdf.js} +10 -10
- package/dist/chunks/{location-services-netmb1kz.js → reference-d4w8kf3r.js} +20 -20
- package/dist/chunks/{location-services-e1a1pwhq.js → reference-d8c7rh5j.js} +17 -17
- package/dist/chunks/{location-services-y1xhwned.js → reference-dhgpazgq.js} +13 -13
- package/dist/chunks/{location-services-1p39h8sh.js → reference-djakxvzp.js} +32 -32
- package/dist/chunks/{location-services-6kkxyhkv.js → reference-dkbfs573.js} +4 -4
- package/dist/chunks/{location-services-28tn16s0.js → reference-dr0vfmy3.js} +32 -32
- package/dist/chunks/{location-services-bbpz3t8j.js → reference-drfaqnzf.js} +7 -7
- package/dist/chunks/{location-services-xfkkasph.js → reference-drwq78ky.js} +4 -4
- package/dist/chunks/{location-services-p3ayzxyn.js → reference-e3r06aex.js} +12 -12
- package/dist/chunks/{location-services-7xspgfqj.js → reference-e9djx9ep.js} +15 -15
- package/dist/chunks/{location-services-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-yv65nh8h.js → reference-ekj9s94f.js} +20 -20
- package/dist/chunks/{location-services-ph4cn991.js → reference-emh2q5yj.js} +13 -13
- package/dist/chunks/{location-services-1ch5qaya.js → reference-enc3c1en.js} +12 -12
- package/dist/chunks/{location-services-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-gwns8bgm.js → reference-ezgzkxar.js} +35 -35
- package/dist/chunks/{location-services-5n4xgvhz.js → reference-f4w1sefg.js} +18 -18
- package/dist/chunks/{location-services-evfh7863.js → reference-f7ta5rfa.js} +32 -32
- package/dist/chunks/{location-services-hdnk95c8.js → reference-f828m53h.js} +2 -2
- package/dist/chunks/{location-services-dkt3e60b.js → reference-fcymrbm6.js} +4 -4
- package/dist/chunks/{location-services-yvnj23bv.js → reference-fpw6v5x5.js} +3 -3
- package/dist/chunks/{location-services-xgyv9tjv.js → reference-fpxser7j.js} +7 -7
- package/dist/chunks/{location-services-fxbjtjnd.js → reference-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-services-keat3kjn.js → reference-fyymr9xg.js} +4 -4
- package/dist/chunks/{location-services-2et47t4y.js → reference-g1823667.js} +15 -15
- package/dist/chunks/{location-services-s5vpnh3h.js → reference-g34hxex7.js} +11 -11
- package/dist/chunks/{location-services-m91p7e2t.js → reference-g3y70r00.js} +18 -18
- package/dist/chunks/{location-services-hcp4grc4.js → reference-g5a5y1mz.js} +36 -36
- package/dist/chunks/{location-services-1sxjw9hv.js → reference-g6kf3b8w.js} +22 -22
- package/dist/chunks/{location-services-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-139zgem4.js → reference-gj9znxmq.js} +11 -11
- package/dist/chunks/{location-services-s7tseabv.js → reference-gmffswna.js} +4 -4
- package/dist/chunks/{location-services-gv6a8nnw.js → reference-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-services-h03wrkyp.js → reference-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-services-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/reference-h7tfxyx6.js +26 -0
- package/dist/chunks/{location-services-39rqm1tv.js → reference-h8bmxzy2.js} +43 -43
- package/dist/chunks/{location-services-ff0svapt.js → reference-hkagk5ex.js} +2 -2
- package/dist/chunks/{location-services-fc1cjeqt.js → reference-hw1bdftb.js} +7 -7
- package/dist/chunks/{location-services-gx0vxm5t.js → reference-hwgr52re.js} +30 -30
- package/dist/chunks/reference-hxa7m5za.js +4 -0
- package/dist/chunks/{location-services-t4x8ybjh.js → reference-j18tycq9.js} +3 -3
- package/dist/chunks/{location-services-j56e64zr.js → reference-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-em227t39.js → reference-jdpkqg09.js} +20 -20
- package/dist/chunks/{location-services-1qghmjy0.js → reference-jemfgm91.js} +6 -6
- package/dist/chunks/{location-services-avjf5276.js → reference-jm6dm3k4.js} +14 -14
- package/dist/chunks/{location-services-djrp4qhb.js → reference-jpaa4kn2.js} +26 -26
- package/dist/chunks/{location-services-8ks451pa.js → reference-jpmxzj60.js} +27 -27
- package/dist/chunks/{location-services-f3ngv102.js → reference-jw80jp6b.js} +4 -4
- package/dist/chunks/{location-services-m91gvp7t.js → reference-k18ytf7m.js} +6 -6
- package/dist/chunks/{location-services-76v7th7s.js → reference-k2ednzn6.js} +15 -15
- package/dist/chunks/{location-services-wk8kxcxf.js → reference-kbnzd5ek.js} +20 -20
- package/dist/chunks/{location-services-pg1wgx4z.js → reference-kmnkk0k6.js} +6 -6
- package/dist/chunks/{location-services-k9kj6xed.js → reference-knb7evpn.js} +6 -6
- package/dist/chunks/{location-services-r9w3djhf.js → reference-kp8q1t60.js} +9 -9
- package/dist/chunks/{location-services-kgfzjyt4.js → reference-kvkwxqvc.js} +9 -9
- package/dist/chunks/{location-services-5cq9r6wf.js → reference-kvqct8d7.js} +19 -19
- package/dist/chunks/{location-services-j15mfg1p.js → reference-kxpygcw9.js} +6 -6
- package/dist/chunks/{location-services-6x40s7vz.js → reference-kxw0p7t7.js} +4 -4
- package/dist/chunks/{location-services-kktnm5cw.js → reference-m3agvr0s.js} +11 -11
- package/dist/chunks/{location-services-rmm45jmv.js → reference-m64xvjj1.js} +5 -5
- package/dist/chunks/{location-services-nyfcz8dg.js → reference-m8ejta5g.js} +3 -3
- package/dist/chunks/{location-services-yjt0sm5p.js → reference-m8zkp0x2.js} +54 -54
- package/dist/chunks/{location-services-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-g6hxn58d.js → reference-mahgktyj.js} +33 -33
- package/dist/chunks/{location-services-33w4ejhs.js → reference-mfqp6xfm.js} +9 -9
- package/dist/chunks/{location-services-w7e82c7b.js → reference-mp9pavxw.js} +4 -4
- package/dist/chunks/{location-services-w21bzq9q.js → reference-mrvjcs5x.js} +6 -6
- package/dist/chunks/{location-services-hpfvhvya.js → reference-ms93yq6r.js} +8 -8
- package/dist/chunks/{location-services-7b6g25ep.js → reference-mvfq7z39.js} +6 -6
- package/dist/chunks/{location-services-cdbhm1yn.js → reference-n1ytvyqk.js} +13 -13
- package/dist/chunks/{location-services-z7wrdhz3.js → reference-n396qpd7.js} +5 -5
- package/dist/chunks/{location-services-dt2x0zh0.js → reference-n76hx912.js} +8 -8
- package/dist/chunks/{location-services-hjhsnn6c.js → reference-nawp3sa8.js} +17 -17
- package/dist/chunks/{location-services-6bsje7ws.js → reference-ndmv45hp.js} +3 -3
- package/dist/chunks/{location-services-7w3s9kd0.js → reference-ndqtf2h8.js} +6 -6
- package/dist/chunks/{location-services-s4mk8tc4.js → reference-ndska8nx.js} +18 -18
- package/dist/chunks/{location-services-269f66cv.js → reference-ngads3cw.js} +1 -1
- package/dist/chunks/{location-services-s2y6tv1r.js → reference-nm61wxq0.js} +7 -7
- package/dist/chunks/{location-services-xsn4scgh.js → reference-nm88qpht.js} +13 -13
- package/dist/chunks/{location-services-24dd53tp.js → reference-nq7qbqzc.js} +9 -9
- package/dist/chunks/{location-services-yzvbtrh0.js → reference-nvt68vec.js} +20 -20
- package/dist/chunks/{location-services-v8r25ppc.js → reference-p10yth8x.js} +11 -11
- package/dist/chunks/{location-services-5yzzbxa7.js → reference-p37cw4rj.js} +8 -8
- package/dist/chunks/{location-services-vs7hrzt9.js → reference-pdfyt4tn.js} +11 -11
- package/dist/chunks/{location-services-0f9afca0.js → reference-pecb0brz.js} +5 -5
- package/dist/chunks/reference-phz3h32g.js +18 -0
- package/dist/chunks/{location-services-0jr2e6y1.js → reference-pj5amqmw.js} +21 -21
- package/dist/chunks/{location-services-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-3s77hqr9.js → reference-pk5sdxey.js} +11 -11
- package/dist/chunks/{location-services-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-3d4q28mx.js → reference-ppn8xss7.js} +3 -3
- package/dist/chunks/{location-services-xqfzcbkh.js → reference-pz21jr5g.js} +13 -13
- package/dist/chunks/{location-services-b2frq1xf.js → reference-q9g8rvr0.js} +15 -15
- package/dist/chunks/{location-services-b27vhd2z.js → reference-qa3qhgw8.js} +4 -4
- package/dist/chunks/{location-services-0jwsre1p.js → reference-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-services-gx3sq1pv.js → reference-qmbakkq8.js} +21 -21
- package/dist/chunks/{location-services-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-vzh6wn7r.js → reference-qv6jaz9v.js} +4 -4
- package/dist/chunks/reference-qw05y2jm.js +247 -0
- package/dist/chunks/{location-services-r9mregkx.js → reference-r9mregkx.js} +2 -2
- package/dist/chunks/{location-services-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-services-c09q68jz.js → reference-rh3h661e.js} +2 -2
- package/dist/chunks/{location-services-ct1qeewn.js → reference-rv9pf5qx.js} +89 -89
- package/dist/chunks/{location-services-1y4p7nrp.js → reference-s1vw05sc.js} +9 -9
- package/dist/chunks/{location-services-vy7zhves.js → reference-s87jav8w.js} +30 -30
- package/dist/chunks/{location-services-s8d7rejh.js → reference-s8d7rejh.js} +1 -1
- package/dist/chunks/{location-services-6hbnmab1.js → reference-sa7v3xbp.js} +5 -5
- package/dist/chunks/{location-services-t408tbvg.js → reference-sbn35ts9.js} +26 -26
- package/dist/chunks/{location-services-bzq0czea.js → reference-shr2sdsm.js} +23 -23
- package/dist/chunks/{location-services-10ggzwzy.js → reference-spt16dfm.js} +30 -30
- package/dist/chunks/{location-services-tm1heg02.js → reference-swvnyk58.js} +8 -8
- package/dist/chunks/{location-services-atrbvfby.js → reference-sxmp26qp.js} +13 -13
- package/dist/chunks/{location-services-dfe8djrf.js → reference-t9zs3egg.js} +4 -4
- package/dist/chunks/{location-services-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-services-ne66tkmq.js → reference-td40qxmx.js} +21 -21
- package/dist/chunks/{location-services-tdstcens.js → reference-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-h0v62rke.js → reference-tkbt61sv.js} +41 -41
- package/dist/chunks/{location-services-zmw5anwf.js → reference-tnt42qtz.js} +11 -11
- package/dist/chunks/{location-services-tvtrv512.js → reference-tvtrv512.js} +1 -1
- package/dist/chunks/{location-services-3w2b2yj4.js → reference-tz2bjj40.js} +5 -5
- package/dist/chunks/{location-services-1rzrj0t8.js → reference-v3d30ngf.js} +15 -15
- package/dist/chunks/{location-services-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-167waerb.js → reference-vgfjjsrb.js} +5 -5
- package/dist/chunks/{location-services-b9txhqnf.js → reference-vrg0y3vt.js} +24 -24
- package/dist/chunks/{location-services-a36t319h.js → reference-vttrqb4n.js} +8 -8
- package/dist/chunks/{location-services-kht76ygp.js → reference-vtwtbqc7.js} +5 -5
- package/dist/chunks/{location-services-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-services-rsdf2nvv.js → reference-w1k39n5e.js} +4 -4
- package/dist/chunks/{location-services-btnc3pk1.js → reference-w1rs9k2x.js} +25 -25
- package/dist/chunks/{location-services-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-mp6drm3w.js → reference-w5eb0z32.js} +3 -3
- package/dist/chunks/{location-services-e9qsksz7.js → reference-w94zwhkx.js} +46 -46
- package/dist/chunks/{location-services-qn4ba14w.js → reference-wbkyxrgf.js} +5 -5
- package/dist/chunks/{location-services-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-nqh98rja.js → reference-wn7brba8.js} +23 -23
- package/dist/chunks/{location-services-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-kv9e5br2.js → reference-x9dg854n.js} +9 -9
- package/dist/chunks/{location-services-fbqqrxjq.js → reference-xa5y1v1s.js} +47 -47
- package/dist/chunks/{location-services-mfe713bv.js → reference-xcm12kff.js} +8 -8
- package/dist/chunks/{location-services-fr6z3a7g.js → reference-xkp3n9nh.js} +15 -15
- package/dist/chunks/{location-services-t7n9q6bq.js → reference-xw0r27ex.js} +4 -4
- package/dist/chunks/{location-services-yz88ab0y.js → reference-xwn03wp9.js} +9 -9
- package/dist/chunks/{location-services-2fajfwx1.js → reference-xx83pe84.js} +9 -9
- package/dist/chunks/{location-services-b3frasm9.js → reference-xye9w2dv.js} +10 -10
- package/dist/chunks/{location-services-zszn2v6m.js → reference-y0w5bt7m.js} +36 -36
- package/dist/chunks/{location-services-st5ykjtm.js → reference-y15fhebr.js} +17 -17
- package/dist/chunks/{location-services-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-f4rta1r6.js → reference-y61jd4yh.js} +5 -5
- package/dist/chunks/{location-services-5pgkrn72.js → reference-y64wkpzd.js} +5 -5
- package/dist/chunks/{location-services-dpkg50ah.js → reference-y71avatq.js} +4 -4
- package/dist/chunks/{location-services-mthvd3x6.js → reference-y8r82tqy.js} +14 -14
- package/dist/chunks/{location-services-1dnbpee6.js → reference-ycqmpjnx.js} +13 -13
- package/dist/chunks/{location-services-rq2ev7pp.js → reference-yejsh80d.js} +29 -29
- package/dist/chunks/{location-services-y8saezta.js → reference-ynhtccz1.js} +43 -43
- package/dist/chunks/{location-services-1acjjqhc.js → reference-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-services-hc9acsgr.js → reference-ypx73geg.js} +5 -5
- package/dist/chunks/{location-services-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-services-yrznvahk.js → reference-yrznvahk.js} +2 -2
- package/dist/chunks/{location-services-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-z63w68vq.js → reference-z63w68vq.js} +2 -2
- package/dist/chunks/{location-services-2bah9vp1.js → reference-z9bkweyj.js} +20 -20
- package/dist/chunks/{location-services-12q1t22t.js → reference-zd2jvyct.js} +20 -20
- package/dist/chunks/{location-services-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-services-70kjx1n8.js → reference-zf2x6a7d.js} +24 -24
- package/dist/chunks/{location-services-s5gt9c9b.js → reference-zfhw6n37.js} +7 -7
- package/dist/chunks/{location-services-k5ynfrnd.js → reference-znz75wx4.js} +15 -15
- package/dist/chunks/{location-services-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-services-rrmvx1xt.js → reference-zyaqxzpp.js} +18 -18
- package/dist/chunks/{location-services-srt412n5.js → reference-zyghnjwz.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +124 -124
- package/dist/config/plugin/command.js +212 -212
- 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 +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- 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 +100 -100
- 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 +4 -4
- 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 +72 -72
- 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 +101 -79
- 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 +99 -99
- 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 +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/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 +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- 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 +344 -344
- 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 +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- 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 +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +132 -132
- 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 +5 -5
- 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 +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- 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 +96 -96
- 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 +3 -3
- 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 +113 -113
- package/dist/session/runner/step.js +124 -124
- 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 +208 -208
- 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 +7 -7
- 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 +119 -119
- 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 +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- 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 +15 -15
- package/dist/types/mcp/oauth.d.ts +4 -0
- package/dist/types/v1/config/migrate.d.ts +1 -0
- 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 +3 -3
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- 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 +95 -95
- package/package.json +9 -8
- package/dist/chunks/location-services-0mesazry.js +0 -4
- package/dist/chunks/location-services-10w680va.js +0 -478
- package/dist/chunks/location-services-74b8z681.js +0 -26
- package/dist/chunks/location-services-q509s3k3.js +0 -18
- package/dist/chunks/location-services-qghmpbmc.js +0 -247
- /package/dist/chunks/{location-services-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → reference-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-5qd3pb7m.js → reference-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-922hggd3.js → reference-922hggd3.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-twg0f83k.js → reference-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-8z00fdkb.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-fcymrbm6.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event21
|
|
10
|
+
} from "./reference-14mggxhb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-44faxhpp.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID7,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service55
|
|
20
|
+
} from "./reference-7f3re3ee.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID6
|
|
23
|
+
} from "./reference-hwgr52re.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./reference-8srhhvcs.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./reference-xye9w2dv.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID9.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,7 +157,7 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
160
|
+
const providers = yield* Service55;
|
|
161
161
|
const bus = yield* Service81;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID7.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
178
|
try: () => load2(url, {
|
|
179
179
|
...provider?.headers,
|
|
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID7.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID7.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID7.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./reference-8t7r2jb8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service65
|
|
9
|
+
} from "./reference-9w2869zr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service11
|
|
12
|
+
} from "./reference-3wyww8w1.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service8
|
|
27
|
+
} from "./reference-nawp3sa8.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./reference-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input4,
|
|
36
|
+
Plugin: () => Plugin36,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name4,
|
|
39
|
+
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name4 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input4 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin36 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service8;
|
|
62
|
+
const access = yield* Service65;
|
|
63
|
+
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service75;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name4,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input4,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin10 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent3 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name4, Input4, Plugin36, toModelContent3, exports_read };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info17,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info17 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info17, exports_permission };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make19,
|
|
14
|
+
node: () => node63,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make19 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node63 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make19, RegistryService2, registry2, registryNode2, node63, exports_driver };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node79
|
|
4
|
+
} from "./reference-8t7r2jb8.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service37,
|
|
17
|
+
node: () => node39
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service37 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service75;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service37.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node39 = makeLocationNode({
|
|
91
|
+
service: Service37,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node79, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service37, node39, exports_formatter2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-fpw6v5x5.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-fcymrbm6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service31
|
|
9
|
+
} from "./reference-mrvjcs5x.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID3,
|
|
15
|
+
Service33
|
|
16
|
+
} from "./reference-cdada34a.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./reference-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./reference-jemfgm91.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./reference-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./reference-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service31;
|
|
46
46
|
const database = yield* Service82;
|
|
47
47
|
const bus = yield* Service81;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service33;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID3.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service31;
|
|
78
78
|
const bus = yield* Service81;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service33;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID3.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID3.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
Service74
|
|
4
|
-
} from "./location-services-d5mtgc27.js";
|
|
5
|
-
import {
|
|
6
3
|
Service55
|
|
7
|
-
} from "./
|
|
4
|
+
} from "./reference-7f3re3ee.js";
|
|
5
|
+
import {
|
|
6
|
+
Service52
|
|
7
|
+
} from "./reference-h8bmxzy2.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service55;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service52);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-drwq78ky.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin3,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service7,
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service7 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service7.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node8 = makeGlobalNode({ service: Service7, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service7, node8, exports_update };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service75
|
|
13
|
+
} from "./reference-8t7r2jb8.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-nvt68vec.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin26,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin26 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service75;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin26, exports_hg };
|