@opencode/core 2.0.2 → 2.0.3
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{location-services-eaj1djv9.js → mime-02a7j1yb.js} +8 -8
- package/dist/chunks/{location-services-34cjg5aj.js → mime-05gwmh6x.js} +11 -11
- package/dist/chunks/{location-services-5adankya.js → mime-07jv6yz6.js} +15 -15
- package/dist/chunks/{location-services-js2cb58t.js → mime-0e70zyzp.js} +17 -17
- package/dist/chunks/{location-services-3qccx5hy.js → mime-0f9vejxt.js} +26 -26
- package/dist/chunks/{location-services-awf1vrqt.js → mime-0gc96ev3.js} +16 -16
- package/dist/chunks/{location-services-xwwz9aqf.js → mime-0gr7cw0d.js} +4 -4
- package/dist/chunks/{location-services-a2jtfxjw.js → mime-0kcg9p5c.js} +14 -14
- package/dist/chunks/{location-services-bx9k359n.js → mime-0mtmygp7.js} +12 -12
- package/dist/chunks/{location-services-3z34j0cx.js → mime-0nhe5bzg.js} +7 -7
- package/dist/chunks/{location-services-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-0q0f95c6.js → mime-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-services-r4p7g342.js → mime-0x7565bv.js} +8 -8
- package/dist/chunks/{location-services-p3sqqmz6.js → mime-0xcwyxas.js} +32 -32
- package/dist/chunks/{location-services-r9x9035c.js → mime-1ajjaskr.js} +17 -17
- package/dist/chunks/{location-services-1bbkgx8g.js → mime-1bbkgx8g.js} +1 -1
- package/dist/chunks/{location-services-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-mjbh00zx.js → mime-1drzz6a4.js} +6 -6
- package/dist/chunks/{location-services-1emffesh.js → mime-1h4ppwsj.js} +11 -11
- package/dist/chunks/{location-services-ghv2730f.js → mime-1khmrxma.js} +41 -41
- package/dist/chunks/{location-services-4tka16dg.js → mime-1s7fk0j0.js} +16 -16
- package/dist/chunks/{location-services-33w4ejhs.js → mime-1ygqh575.js} +6 -6
- package/dist/chunks/{location-services-21r38tys.js → mime-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-6h73sxmp.js → mime-2402vzrj.js} +5 -5
- package/dist/chunks/{location-services-wajnf5bs.js → mime-2419kjk7.js} +9 -9
- package/dist/chunks/{location-services-qr5f7037.js → mime-26m96hf0.js} +16 -16
- package/dist/chunks/{location-services-3hrj6hc1.js → mime-27cjkq2h.js} +22 -22
- package/dist/chunks/{location-services-hj95hp1y.js → mime-29seat8c.js} +22 -22
- package/dist/chunks/{location-services-z63w68vq.js → mime-29x78va6.js} +6 -6
- package/dist/chunks/{location-services-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-e1m73h80.js → mime-2b4vkxet.js} +32 -32
- package/dist/chunks/{location-services-wcg6xr7g.js → mime-2ff821eq.js} +11 -11
- package/dist/chunks/{location-services-vpbqjthg.js → mime-2h1k6vak.js} +10 -10
- package/dist/chunks/{location-services-jxyew9fw.js → mime-2magtmd2.js} +4 -4
- package/dist/chunks/{location-services-sas8pg5s.js → mime-2t5kqt1k.js} +1 -1
- package/dist/chunks/{location-services-byj6491s.js → mime-2vr1hr03.js} +20 -20
- package/dist/chunks/{location-services-vzaj5ab4.js → mime-2zdv8wt0.js} +26 -26
- package/dist/chunks/{location-services-0mt0kscd.js → mime-31je9t57.js} +24 -24
- package/dist/chunks/{location-services-ccxa221s.js → mime-348n1k1m.js} +5 -5
- package/dist/chunks/{location-services-t71tw57v.js → mime-34f33jfe.js} +13 -13
- package/dist/chunks/{location-services-csqhwd0e.js → mime-3ac6cy74.js} +23 -23
- package/dist/chunks/{location-services-2tfmgkzg.js → mime-3amprz0f.js} +4 -4
- package/dist/chunks/{location-services-vjngb1jq.js → mime-3ax7whkq.js} +7 -7
- package/dist/chunks/{location-services-03g9n59p.js → mime-3bca72pz.js} +4 -4
- package/dist/chunks/{location-services-pz39f4ja.js → mime-3c5r44ez.js} +33 -33
- package/dist/chunks/{location-services-2est6f04.js → mime-3es18rb9.js} +9 -9
- package/dist/chunks/{location-services-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-wv08tht3.js → mime-3k5rp9zq.js} +20 -20
- package/dist/chunks/{location-services-76h67nm5.js → mime-3mp8pt0x.js} +12 -12
- package/dist/chunks/{location-services-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-69j49pks.js → mime-3wjgak91.js} +4 -4
- package/dist/chunks/{location-services-b1h6aq5y.js → mime-3xz6hyac.js} +24 -24
- package/dist/chunks/{location-services-rmmsmjb4.js → mime-3zf9b344.js} +4 -4
- package/dist/chunks/{location-services-e7vk223c.js → mime-3zpd0x8a.js} +27 -27
- package/dist/chunks/{location-services-1cw6jyks.js → mime-4e18mqjd.js} +9 -9
- package/dist/chunks/{location-services-n9qvx0dx.js → mime-4ey0fprp.js} +14 -14
- package/dist/chunks/{location-services-nh7bjnck.js → mime-4nncm24z.js} +25 -25
- package/dist/chunks/{location-services-tbbfetw3.js → mime-4w46mhc5.js} +13 -13
- package/dist/chunks/{location-services-1m7gs3ah.js → mime-53c48grp.js} +49 -49
- package/dist/chunks/{location-services-rh0bdmv0.js → mime-56yeekyc.js} +13 -13
- package/dist/chunks/{location-services-219neeqh.js → mime-5ahh7ntp.js} +5 -5
- package/dist/chunks/{location-services-5daktx2q.js → mime-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-xvqk5qet.js → mime-5gzmb6dp.js} +32 -32
- package/dist/chunks/{location-services-tnrzkm65.js → mime-5hf3fyzy.js} +15 -15
- package/dist/chunks/{location-services-cgryk3d0.js → mime-5psmcwnn.js} +20 -20
- package/dist/chunks/{location-services-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-669tq793.js → mime-669tq793.js} +1 -1
- package/dist/chunks/{location-services-6xpnb31x.js → mime-66v7x5gy.js} +32 -32
- package/dist/chunks/{location-services-endx0wqw.js → mime-6b2vme4h.js} +2 -2
- package/dist/chunks/{location-services-d9627bvv.js → mime-6ean1s1z.js} +11 -11
- package/dist/chunks/{location-services-6hh8tjw2.js → mime-6hh8tjw2.js} +1 -1
- package/dist/chunks/{location-services-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-services-req99jdj.js → mime-6q31zrbr.js} +36 -36
- package/dist/chunks/{location-services-2xh74eyw.js → mime-6vz9gfbd.js} +15 -15
- package/dist/chunks/{location-services-71q4at8m.js → mime-71q4at8m.js} +1 -1
- package/dist/chunks/{location-services-q6fregp6.js → mime-771dt0vh.js} +3 -3
- package/dist/chunks/{location-services-20ct9c8y.js → mime-77hmfzz5.js} +41 -41
- package/dist/chunks/{location-services-cvtmmhw6.js → mime-79w795fr.js} +1 -1
- package/dist/chunks/{location-services-x0mzf5sc.js → mime-7assmfkm.js} +5 -5
- package/dist/chunks/{location-services-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-0jwsre1p.js → mime-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-services-2p1x4cae.js → mime-7rntk513.js} +18 -18
- package/dist/chunks/{location-services-xfm7bwgx.js → mime-824vcv1n.js} +20 -20
- package/dist/chunks/{location-services-c293rtmv.js → mime-83qrv3hw.js} +6 -6
- package/dist/chunks/{location-services-garbmm90.js → mime-8815nq26.js} +6 -6
- package/dist/chunks/{location-services-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-pqxmvtn6.js → mime-8fjx57rb.js} +13 -13
- package/dist/chunks/{location-services-cydqfn8g.js → mime-8kdf3zjj.js} +33 -33
- package/dist/chunks/{location-services-dgmwn8ez.js → mime-8mfdap3f.js} +8 -8
- package/dist/chunks/{location-services-dj2t23y0.js → mime-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-services-zk8c4w5t.js → mime-8ryk0bb9.js} +5 -5
- package/dist/chunks/{location-services-20tey5zg.js → mime-8z221vkh.js} +28 -28
- package/dist/chunks/{location-services-9q7w8qe9.js → mime-95wcbadv.js} +5 -5
- package/dist/chunks/{location-services-fmcxa852.js → mime-9e5xqeqt.js} +12 -12
- package/dist/chunks/mime-9jxymrt4.js +247 -0
- package/dist/chunks/{location-services-cfq2tqyc.js → mime-9k690w47.js} +27 -27
- package/dist/chunks/{location-services-h0e829jw.js → mime-9nydp2f6.js} +32 -32
- package/dist/chunks/{location-services-jj63jgrn.js → mime-9pm6y0s1.js} +8 -8
- package/dist/chunks/{location-services-w365kw1b.js → mime-9xrpzr2m.js} +8 -8
- package/dist/chunks/{location-services-a5nry4jq.js → mime-9zqg8qpq.js} +5 -5
- package/dist/chunks/{location-services-x8f1tbsj.js → mime-a0amxwx8.js} +14 -14
- package/dist/chunks/{location-services-r6qxwhmr.js → mime-a13hqwzr.js} +6 -6
- package/dist/chunks/{location-services-5c4hm403.js → mime-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-services-t0x5rdq8.js → mime-a5gt7g2r.js} +9 -9
- package/dist/chunks/{location-services-aaet6srn.js → mime-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-sczemkxt.js → mime-ak7sjf8k.js} +10 -10
- package/dist/chunks/{location-services-fkbdwje6.js → mime-ar6rwxgq.js} +18 -18
- package/dist/chunks/mime-b1jrztkg.js +26 -0
- package/dist/chunks/{location-services-70d2s7af.js → mime-b2vqmjat.js} +1 -1
- package/dist/chunks/{location-services-9yz08dhv.js → mime-b315ag2q.js} +17 -17
- package/dist/chunks/{location-services-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-k46ek28k.js → mime-b8cmw211.js} +9 -9
- package/dist/chunks/{location-services-k4e7wm7p.js → mime-bawj3v5d.js} +17 -17
- package/dist/chunks/{location-services-hajzqnjk.js → mime-bb4ztexx.js} +18 -18
- package/dist/chunks/{location-services-paegk39x.js → mime-bccb6npm.js} +4 -4
- package/dist/chunks/{location-services-v9b1dqp1.js → mime-bhp9fn5h.js} +3 -3
- package/dist/chunks/{location-services-fv23cpfe.js → mime-bjbqe5j4.js} +5 -5
- package/dist/chunks/{location-services-b1yrrjjr.js → mime-bst9cd68.js} +6 -6
- package/dist/chunks/{location-services-3w0fmcng.js → mime-c78bbtc9.js} +5 -5
- package/dist/chunks/{location-services-xd2p8b6x.js → mime-caw866h7.js} +11 -11
- package/dist/chunks/{location-services-m0jqrx5p.js → mime-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-services-dv1qgsyq.js → mime-cmwkp3r5.js} +8 -8
- package/dist/chunks/{location-services-1a66p2eq.js → mime-crfhge7d.js} +20 -20
- package/dist/chunks/{location-services-1ezhg5n2.js → mime-cvt7tjwh.js} +33 -33
- package/dist/chunks/{location-services-jwd472vv.js → mime-cx2dw8ng.js} +5 -5
- package/dist/chunks/{location-services-akybccbs.js → mime-depwzj9d.js} +9 -9
- package/dist/chunks/{location-services-bscb95cy.js → mime-dg5bcj4q.js} +6 -6
- package/dist/chunks/{location-services-4y66k410.js → mime-e5nv3ght.js} +12 -5
- package/dist/chunks/{location-services-c04yyk0p.js → mime-efp1nzpe.js} +12 -12
- package/dist/chunks/{location-services-tx9qvpbt.js → mime-eraanh1f.js} +2 -2
- package/dist/chunks/{location-services-hkn3d3em.js → mime-esaayfhr.js} +12 -12
- package/dist/chunks/{location-services-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-jxnawz51.js → mime-ex0mzm10.js} +9 -9
- package/dist/chunks/{location-services-t9wdc6hm.js → mime-ex105f0g.js} +7 -7
- package/dist/chunks/{location-services-1acjjqhc.js → mime-f2n192rq.js} +4 -4
- package/dist/chunks/{location-services-hdnk95c8.js → mime-f828m53h.js} +2 -2
- package/dist/chunks/{location-services-vbjhd26x.js → mime-fap8rsc6.js} +36 -36
- package/dist/chunks/{location-services-fme7gyv2.js → mime-fce3k32g.js} +21 -21
- package/dist/chunks/{location-services-fxbjtjnd.js → mime-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-services-2mk0xfrn.js → mime-g04bxtcn.js} +4 -4
- package/dist/chunks/{location-services-3kx4em2y.js → mime-g6878fex.js} +18 -18
- package/dist/chunks/{location-services-542ghrza.js → mime-g7jyz10z.js} +44 -44
- package/dist/chunks/{location-services-2gv9ss0t.js → mime-g7nm1tr2.js} +26 -26
- package/dist/chunks/{location-services-qwkytnft.js → mime-ga6hqhxm.js} +9 -9
- package/dist/chunks/{location-services-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-r986sde3.js → mime-ggch0ev5.js} +15 -15
- package/dist/chunks/{location-services-107p1e5w.js → mime-gmw5hd0s.js} +30 -30
- package/dist/chunks/{location-services-sxat3wmc.js → mime-gnq13918.js} +9 -9
- package/dist/chunks/{location-services-w79zsp0s.js → mime-gqrjg9m0.js} +2 -1
- package/dist/chunks/{location-services-0pb75hch.js → mime-gqrsst1j.js} +5 -5
- package/dist/chunks/{location-services-zvt5dnpc.js → mime-gst7axd9.js} +4 -4
- package/dist/chunks/{location-services-h43s0y1m.js → mime-gwk6svk5.js} +2 -2
- package/dist/chunks/{location-services-h03wrkyp.js → mime-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-services-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/mime-h7v0c4h9.js +97 -0
- package/dist/chunks/{location-services-6vgebzwc.js → mime-hdrc7pzh.js} +24 -24
- package/dist/chunks/{location-services-db0ywk9p.js → mime-hf6kd63r.js} +20 -20
- package/dist/chunks/{location-services-42etq36e.js → mime-hk1cyxmr.js} +49 -44
- package/dist/chunks/{location-services-b2r28sfe.js → mime-hkgwg6cc.js} +20 -20
- package/dist/chunks/{location-services-585kdyqn.js → mime-hkjvptd8.js} +19 -19
- package/dist/chunks/{location-services-jv01nqvq.js → mime-hnr5yq9h.js} +5 -5
- package/dist/chunks/{location-services-cj7k1vck.js → mime-hxnftcv1.js} +26 -26
- package/dist/chunks/{location-services-tf1j6dqp.js → mime-j0xvhg4t.js} +23 -23
- package/dist/chunks/{location-services-b3frasm9.js → mime-j1tqpjge.js} +11 -11
- package/dist/chunks/{location-services-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-paphc93g.js → mime-j935v87r.js} +2 -2
- package/dist/chunks/{location-services-2hf86re2.js → mime-jg33m14x.js} +38 -38
- package/dist/chunks/{location-services-pn0ragf5.js → mime-jq13afhk.js} +7 -7
- package/dist/chunks/{location-services-8pysh2wa.js → mime-js4jadbf.js} +4 -4
- package/dist/chunks/{location-services-sng378jj.js → mime-jvw2nnm0.js} +9 -9
- package/dist/chunks/{location-services-tqntqbg3.js → mime-jwttd70a.js} +32 -32
- package/dist/chunks/{location-services-bcb9n2af.js → mime-jzp1tdep.js} +13 -13
- package/dist/chunks/{location-services-t1y5sq03.js → mime-k12bwzmm.js} +86 -86
- package/dist/chunks/{location-services-kg06axw8.js → mime-kg06axw8.js} +1 -1
- package/dist/chunks/{location-services-pvdm847m.js → mime-kghzffp5.js} +18 -18
- package/dist/chunks/{location-services-cv4zdsrn.js → mime-kxmcqd0q.js} +25 -25
- package/dist/chunks/{location-services-xg9t41r3.js → mime-ky3seynh.js} +2 -2
- package/dist/chunks/{location-services-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-1txhhsar.js → mime-mkgf31e5.js} +4 -4
- package/dist/chunks/{location-services-j26kwb45.js → mime-mr645x8e.js} +63 -53
- package/dist/chunks/{location-services-fx8h9evn.js → mime-n0ta87th.js} +3 -3
- package/dist/chunks/{location-services-y5r1chhz.js → mime-n6wnmytb.js} +8 -8
- package/dist/chunks/{location-services-kj36tdkt.js → mime-n9pgkqx1.js} +9 -9
- package/dist/chunks/{location-services-hjt4xg1x.js → mime-nhy5jxhy.js} +4 -4
- package/dist/chunks/{location-services-5a8my2dm.js → mime-nxa5rjjz.js} +13 -13
- package/dist/chunks/{location-services-vv213pfm.js → mime-nxrdkmqf.js} +30 -30
- package/dist/chunks/{location-services-bna2jm49.js → mime-nzwzy72p.js} +9 -9
- package/dist/chunks/mime-p2h6zvwc.js +18 -0
- package/dist/chunks/{location-services-m9e6zxeh.js → mime-p7ks6zyz.js} +11 -11
- package/dist/chunks/{location-services-vgm7d86c.js → mime-pcedqjxk.js} +28 -28
- package/dist/chunks/{location-services-kqd2wwpf.js → mime-pck3w1ab.js} +4 -4
- package/dist/chunks/{location-services-mz6ae2yf.js → mime-pd4btrn7.js} +1 -1
- package/dist/chunks/{location-services-x9k84rm6.js → mime-pe4b2cf4.js} +173 -173
- package/dist/chunks/{location-services-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-m2d0j7c0.js → mime-pnv527nz.js} +9 -9
- package/dist/chunks/{location-services-1ewwg606.js → mime-q2fb3trg.js} +45 -45
- package/dist/chunks/{location-services-adadcvct.js → mime-q2yns0nb.js} +5 -5
- package/dist/chunks/{location-services-y7wy22rx.js → mime-q4w5h7cm.js} +28 -28
- package/dist/chunks/{location-services-8qgkpww5.js → mime-q6sszjbn.js} +9 -9
- package/dist/chunks/{location-services-p0a23dx6.js → mime-qfzde7bh.js} +6 -6
- package/dist/chunks/{location-services-drkq60sc.js → mime-qhvmp4yv.js} +35 -35
- package/dist/chunks/{location-services-h2r7bbkd.js → mime-qs001aqx.js} +11 -11
- package/dist/chunks/{location-services-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-ssjhvfxk.js → mime-qvkfnpew.js} +56 -56
- package/dist/chunks/{location-services-nqntf4eh.js → mime-r27v71mw.js} +62 -62
- package/dist/chunks/{location-services-vncycja5.js → mime-r98e92ep.js} +4 -4
- package/dist/chunks/{location-services-r9mregkx.js → mime-r9mregkx.js} +2 -2
- package/dist/chunks/{location-services-24w6x0js.js → mime-raczhzft.js} +18 -18
- package/dist/chunks/{location-services-rsym84ch.js → mime-rk0rec3h.js} +9 -9
- package/dist/chunks/{location-services-hyqjefsy.js → mime-rme0s8je.js} +108 -86
- package/dist/chunks/{location-services-1s3p39g4.js → mime-rph3zd4r.js} +6 -6
- package/dist/chunks/{location-services-kke3pb1j.js → mime-rpqc7xtd.js} +5 -5
- package/dist/chunks/{location-services-m91gvp7t.js → mime-rqcbxq1a.js} +8 -8
- package/dist/chunks/{location-services-948cxjmy.js → mime-rvw86qrh.js} +24 -24
- package/dist/chunks/{location-services-yj94a1d5.js → mime-s2azsgc2.js} +47 -47
- package/dist/chunks/{location-services-yrznvahk.js → mime-s4enseaf.js} +2 -2
- package/dist/chunks/{location-services-htcxsbd3.js → mime-s6khr2z3.js} +28 -28
- package/dist/chunks/{location-services-7mrkexn2.js → mime-s74jw2kt.js} +39 -39
- package/dist/chunks/{location-services-nvksyjxq.js → mime-s957sxhe.js} +21 -21
- package/dist/chunks/{location-services-0artwwxx.js → mime-sc497s7j.js} +3 -3
- package/dist/chunks/{location-services-5agpr7j3.js → mime-spb3hsfg.js} +16 -16
- package/dist/chunks/{location-services-jy6ssemz.js → mime-szb4ct1t.js} +20 -20
- package/dist/chunks/{location-services-p1qy1t52.js → mime-t1xxg50c.js} +11 -11
- package/dist/chunks/{location-services-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-services-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-ywn91hmh.js → mime-teqxmgy8.js} +20 -20
- package/dist/chunks/{location-services-gv6a8nnw.js → mime-th5km1p3.js} +5 -5
- package/dist/chunks/{location-services-yd6mkx5z.js → mime-tnf45s15.js} +5 -5
- package/dist/chunks/{location-services-v64gcnw2.js → mime-ttkasvj9.js} +5 -5
- package/dist/chunks/{location-services-tvtrv512.js → mime-tvtrv512.js} +1 -1
- package/dist/chunks/{location-services-rq8nv58m.js → mime-v5bprabd.js} +20 -20
- package/dist/chunks/{location-services-j7t2khjb.js → mime-vbedh2fb.js} +13 -13
- package/dist/chunks/{location-services-615073jg.js → mime-vc2f4mv3.js} +3 -3
- package/dist/chunks/{location-services-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-a8kyr2x4.js → mime-vz9r8jjr.js} +11 -11
- package/dist/chunks/{location-services-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-services-97gsetns.js → mime-w3mesfdc.js} +9 -9
- package/dist/chunks/{location-services-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-0r684n0p.js → mime-w49382pb.js} +8 -8
- package/dist/chunks/{location-services-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-z4fsc67a.js → mime-wgqr0wr2.js} +13 -13
- package/dist/chunks/{location-services-eqtkqxc7.js → mime-wq0697zs.js} +31 -31
- package/dist/chunks/{location-services-265kqrgy.js → mime-wqgnyshj.js} +1 -1
- package/dist/chunks/{location-services-9bxfga2g.js → mime-wwr0k6jb.js} +6 -6
- package/dist/chunks/{location-services-dpv3ckk4.js → mime-wzfbm1pf.js} +24 -24
- package/dist/chunks/{location-services-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-wavq5vqb.js → mime-xc0y5txa.js} +1 -1
- package/dist/chunks/{location-services-ha8q569c.js → mime-xcggh081.js} +4 -4
- package/dist/chunks/{location-services-sjzmzw6k.js → mime-xcz029a5.js} +22 -22
- package/dist/chunks/{location-services-jw80jp6b.js → mime-xdk9p2qn.js} +21 -21
- package/dist/chunks/{location-services-twbrtgyh.js → mime-xmvnw2y2.js} +6 -6
- package/dist/chunks/{location-services-33n3bzdy.js → mime-xnqxh1k4.js} +6 -6
- package/dist/chunks/{location-services-rkkpgdp7.js → mime-xnxgv7d0.js} +18 -18
- package/dist/chunks/mime-xrsqh21y.js +4 -0
- package/dist/chunks/{location-services-gsr2pv6w.js → mime-xvssc1kt.js} +17 -17
- package/dist/chunks/{location-services-j7wq2tw5.js → mime-xxynqx5z.js} +3 -3
- package/dist/chunks/{location-services-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-nwd6ekzm.js → mime-y1hy1c31.js} +30 -30
- package/dist/chunks/{location-services-35wynegs.js → mime-y6fqbdb6.js} +2 -2
- package/dist/chunks/{location-services-t6wppts7.js → mime-y6r7tp3a.js} +6 -6
- package/dist/chunks/{location-services-dpkg50ah.js → mime-y71avatq.js} +4 -4
- package/dist/chunks/{location-services-8ztsynak.js → mime-yk45fjth.js} +10 -10
- package/dist/chunks/{location-services-7fyj755m.js → mime-yrgys5zv.js} +40 -40
- package/dist/chunks/{location-services-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-services-7gvwkz6m.js → mime-yt0fqk68.js} +5 -5
- package/dist/chunks/{location-services-nsme3wtk.js → mime-yz87v98p.js} +24 -24
- package/dist/chunks/{location-services-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-15f8axbg.js → mime-z159gw3g.js} +17 -17
- package/dist/chunks/{location-services-yqzynv2p.js → mime-z2gbnfa5.js} +23 -23
- package/dist/chunks/{location-services-d5t04rjd.js → mime-z3af23pk.js} +19 -19
- package/dist/chunks/{location-services-fe7neb4g.js → mime-z3zadmjk.js} +57 -57
- package/dist/chunks/mime-z7q0mhzt.js +462 -0
- package/dist/chunks/{location-services-n5xg6qpj.js → mime-zch57v4g.js} +10 -10
- package/dist/chunks/{location-services-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-services-yz6937d7.js → mime-zg7qrvva.js} +16 -16
- package/dist/chunks/{location-services-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-97x9kwse.js → mime-zxh2e4w2.js} +37 -37
- package/dist/chunks/{location-services-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- 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 +82 -82
- package/dist/config/discovery.js +79 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -116
- package/dist/config/plugin/command.js +208 -206
- package/dist/config/plugin/compaction.js +157 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -118
- package/dist/config/plugin/image.js +117 -116
- package/dist/config/plugin/instruction.js +87 -86
- package/dist/config/plugin/location-watcher.js +119 -118
- package/dist/config/plugin/mcp.js +126 -125
- package/dist/config/plugin/policy.js +116 -115
- package/dist/config/plugin/provider.js +115 -114
- package/dist/config/plugin/reference.js +119 -118
- package/dist/config/plugin/shell.js +118 -117
- package/dist/config/plugin/skill-file.js +99 -98
- package/dist/config/plugin/skill.js +136 -135
- package/dist/config/plugin/snapshot.js +117 -116
- package/dist/config/plugin/source.js +117 -116
- package/dist/config/plugin/tool-output.js +119 -118
- package/dist/config/plugin/websearch.js +115 -114
- package/dist/config/plugin/worktree.js +120 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- 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 +363 -362
- 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 +90 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -91
- 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 +101 -100
- package/dist/file-mutation.js +91 -90
- 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 +224 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -101
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +84 -83
- package/dist/generate.js +92 -92
- package/dist/git.js +8 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- 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 +354 -353
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -83
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- 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 +132 -131
- package/dist/location-mutation.js +101 -100
- package/dist/location-service-map.js +85 -84
- package/dist/location-services.js +351 -350
- package/dist/location.js +86 -85
- package/dist/mcp/client.js +88 -87
- package/dist/mcp/index.js +105 -104
- package/dist/mcp/instructions.js +122 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +87 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +10 -10
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +99 -98
- package/dist/plugin/command.js +96 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +99 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +120 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +116 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +117 -116
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +119 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -116
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -157
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +114 -113
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -84
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -93
- package/dist/reference/instructions.js +86 -85
- package/dist/reference.js +88 -87
- package/dist/repository-cache.js +78 -77
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -94
- package/dist/rpc.js +83 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -130
- package/dist/session/context.js +149 -148
- package/dist/session/diff.js +94 -0
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -217
- package/dist/session/execution.js +124 -123
- package/dist/session/generate.js +148 -147
- package/dist/session/history.js +15 -15
- 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 +94 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +128 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +102 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +87 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -109
- package/dist/session/runner/step.js +123 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -170
- package/dist/session/shell.js +133 -132
- package/dist/session/skill.js +100 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -152
- package/dist/session/to-session-error.js +109 -108
- package/dist/session/transfer.js +215 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -214
- 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 +9 -9
- package/dist/shell.js +135 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -103
- package/dist/skill.js +109 -108
- package/dist/snapshot.js +86 -85
- 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 +121 -120
- package/dist/tool/plugin/edit.js +117 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -119
- package/dist/tool/plugin/grep.js +122 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -118
- package/dist/tool/plugin/question.js +98 -97
- package/dist/tool/plugin/read.js +123 -122
- package/dist/tool/plugin/shell.js +213 -211
- package/dist/tool/plugin/skill.js +110 -109
- package/dist/tool/plugin/subagent.js +217 -215
- package/dist/tool/plugin/webfetch.js +109 -108
- package/dist/tool/plugin/websearch.js +103 -102
- package/dist/tool/plugin/write.js +119 -118
- package/dist/tool/read-filesystem.js +98 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/session/diff.d.ts +48 -0
- package/dist/types/session/history.d.ts +40 -0
- package/dist/types/session/sql.d.ts +1 -1
- package/dist/types/session/transfer.d.ts +12 -1
- package/dist/types/session.d.ts +10 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +8 -7
- package/dist/worktree/refresh.js +343 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -90
- package/package.json +8 -8
- package/dist/chunks/location-services-0mesazry.js +0 -4
- package/dist/chunks/location-services-69vkpgwa.js +0 -26
- package/dist/chunks/location-services-pd96nw7e.js +0 -462
- package/dist/chunks/location-services-sakrjbba.js +0 -247
- package/dist/chunks/location-services-v1faaxn9.js +0 -18
- /package/dist/chunks/{location-services-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-922hggd3.js → mime-922hggd3.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-hrnqkpcd.js → mime-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-twg0f83k.js → mime-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-bhp9fn5h.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-3wjgak91.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service40
|
|
9
|
+
} from "./mime-qfzde7bh.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError6,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-ga6hqhxm.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service43
|
|
29
|
+
} from "./mime-spb3hsfg.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service38
|
|
34
|
+
} from "./mime-v5bprabd.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service36
|
|
37
|
+
} from "./mime-zxh2e4w2.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./mime-zg7qrvva.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./mime-1s7fk0j0.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./mime-2419kjk7.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./mime-4e18mqjd.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./mime-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make12
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
65
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service79;
|
|
67
67
|
const database = yield* Service80;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service43;
|
|
69
|
+
const instances = yield* Service40;
|
|
70
|
+
const execution = yield* Service36;
|
|
71
|
+
const admission = yield* Service38;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError6({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -131,7 +131,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
if (existing)
|
|
133
133
|
return existing;
|
|
134
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
134
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service40, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
135
135
|
if (session.revert)
|
|
136
136
|
yield* commit2(bus, session);
|
|
137
137
|
return yield* admission.admit({
|
|
@@ -147,7 +147,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
147
147
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
148
148
|
const session = yield* get(sessionID);
|
|
149
149
|
const running = yield* Effect.gen(function* () {
|
|
150
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
150
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service40, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
151
151
|
text: `User shell command failed to start:
|
|
152
152
|
${input.command}
|
|
153
153
|
|
|
@@ -176,7 +176,7 @@ ${error.message}`,
|
|
|
176
176
|
});
|
|
177
177
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
178
178
|
const session = yield* get(sessionID);
|
|
179
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
179
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service40, instances));
|
|
180
180
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
181
181
|
sessionID,
|
|
182
182
|
id: skill.id,
|
|
@@ -233,13 +233,13 @@ ${error.message}`,
|
|
|
233
233
|
const session = yield* get(sessionID);
|
|
234
234
|
if (yield* execution.isActive(sessionID))
|
|
235
235
|
return yield* new BusyError2({ sessionID });
|
|
236
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
236
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service40, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
|
|
237
237
|
});
|
|
238
238
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
239
239
|
const session = yield* get(sessionID);
|
|
240
240
|
if (yield* execution.isActive(sessionID))
|
|
241
241
|
return yield* new BusyError2({ sessionID });
|
|
242
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
242
|
+
yield* clear2(session).pipe(Effect.provideService(Service40, instances), Effect.provideService(Service79, bus));
|
|
243
243
|
return yield* execution.wake(sessionID);
|
|
244
244
|
});
|
|
245
245
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -322,4 +322,4 @@ ${error.message}`,
|
|
|
322
322
|
return { forSession };
|
|
323
323
|
});
|
|
324
324
|
|
|
325
|
-
export {
|
|
325
|
+
export { make12, exports_session2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-j1tqpjge.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin5,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin5 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin16 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin16 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint3, Plugin5, exports_tinyfish };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service44
|
|
4
|
+
} from "./mime-hdrc7pzh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./mime-bawj3v5d.js";
|
|
8
8
|
import {
|
|
9
9
|
Service55
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-6q31zrbr.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service61,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-wgqr0wr2.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service17
|
|
17
|
+
} from "./mime-rme0s8je.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make9
|
|
20
|
+
} from "./mime-2ff821eq.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command2 = {};
|
|
@@ -54,12 +54,12 @@ var Plugin31 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service66;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service61;
|
|
60
|
+
const sessions = yield* Service17;
|
|
61
|
+
const agents = yield* Service44;
|
|
62
|
+
const subagents = yield* make9;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin31 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID8.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service54,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node57
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service54 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service54.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node57 = makeLocationNode({
|
|
143
|
+
service: Service54,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service54, node57, exports_tool_output2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-bhp9fn5h.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service66,
|
|
18
|
+
node71
|
|
19
|
+
} from "./mime-bawj3v5d.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service59,
|
|
22
|
+
node62
|
|
23
|
+
} from "./mime-31je9t57.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-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: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service58,
|
|
33
|
+
node: () => node61
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service58,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node61,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service58 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service66;
|
|
66
|
+
const workspace = yield* Service59;
|
|
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 Service58.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node61 = makeLocationNode({
|
|
71
|
+
service: Service58,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node71, node62]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service58, node61, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-8ryk0bb9.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./mime-bawj3v5d.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service14
|
|
9
|
+
} from "./mime-ar6rwxgq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service10
|
|
12
|
+
} from "./mime-z3af23pk.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-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
|
+
Service6
|
|
27
|
+
} from "./mime-ggch0ev5.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-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: () => Plugin18,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name4,
|
|
39
|
+
toModelContent: () => toModelContent4
|
|
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 Plugin18 = {
|
|
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* Service6;
|
|
62
|
+
const access = yield* Service14;
|
|
63
|
+
const sessionInstructions = yield* Service10;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service66;
|
|
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 Plugin7 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent4(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 toModelContent4 = (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 toModelContent3 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name4, Input4, Plugin18, toModelContent4, exports_read };
|