@opencode/core 0.0.0-dev-19552 → 0.0.0-dev-19553
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/catalog.js +84 -84
- package/dist/chunks/{location-service-map-1hc11dc4.js → tool-output-06dxphr1.js} +4 -4
- package/dist/chunks/{location-service-map-hkfg6fzm.js → tool-output-0f9afca0.js} +5 -5
- package/dist/chunks/{location-service-map-qgn6gcr1.js → tool-output-0jwsre1p.js} +5 -5
- package/dist/chunks/{location-service-map-0paq2nw3.js → tool-output-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-service-map-0q0f95c6.js → tool-output-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-service-map-jzfqxv0w.js → tool-output-0rx68sr6.js} +34 -34
- package/dist/chunks/{location-service-map-2x3gmgzq.js → tool-output-0x6k1yyf.js} +8 -8
- package/dist/chunks/{location-service-map-r47pemy4.js → tool-output-0y6ej3m2.js} +47 -47
- package/dist/chunks/{location-service-map-ygzcvm48.js → tool-output-0zg9j80n.js} +16 -16
- package/dist/chunks/{location-service-map-ke09fp5x.js → tool-output-17ymfh2y.js} +70 -70
- package/dist/chunks/{location-service-map-yp2x3t23.js → tool-output-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-service-map-7yh4e7ss.js → tool-output-1bbkgx8g.js} +3 -3
- package/dist/chunks/{location-service-map-c0y6yxzg.js → tool-output-1cmb3mqm.js} +9 -9
- package/dist/chunks/{location-service-map-1dazxqgg.js → tool-output-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-service-map-pmqjxjy4.js → tool-output-1sw69r4e.js} +15 -15
- package/dist/chunks/{location-service-map-e8f63d7z.js → tool-output-1xsnzhxk.js} +31 -31
- package/dist/chunks/{location-service-map-21r38tys.js → tool-output-21r38tys.js} +1 -1
- package/dist/chunks/{location-service-map-6h73sxmp.js → tool-output-2402vzrj.js} +5 -5
- package/dist/chunks/{location-service-map-se72k407.js → tool-output-2448zhsg.js} +11 -11
- package/dist/chunks/{location-service-map-4m4tze6k.js → tool-output-25a3s41e.js} +31 -31
- package/dist/chunks/{location-service-map-b3c2pfxq.js → tool-output-27m8pmk1.js} +25 -25
- package/dist/chunks/{location-service-map-x0f4tm25.js → tool-output-29pd7jmr.js} +4 -4
- package/dist/chunks/{location-service-map-2a5m3afh.js → tool-output-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-service-map-kzcdzd76.js → tool-output-3081eqt5.js} +9 -9
- package/dist/chunks/{location-service-map-s2bwkcja.js → tool-output-32yqznb7.js} +24 -24
- package/dist/chunks/{location-service-map-xc92hv3t.js → tool-output-33nevm3v.js} +34 -34
- package/dist/chunks/{location-service-map-56gdpj1q.js → tool-output-33w4ejhs.js} +6 -6
- package/dist/chunks/{location-service-map-d216944b.js → tool-output-34rkz0x9.js} +4 -4
- package/dist/chunks/{location-service-map-7vxzg2vc.js → tool-output-3bbcshph.js} +14 -14
- package/dist/chunks/{location-service-map-3fc6dm20.js → tool-output-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-service-map-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-3smtnn6g.js → tool-output-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-3tvqynh2.js → tool-output-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-vf28y74r.js → tool-output-3zz31926.js} +3 -3
- package/dist/chunks/{location-service-map-997cse46.js → tool-output-410f9172.js} +35 -35
- package/dist/chunks/{location-service-map-317r0s1v.js → tool-output-44br5crg.js} +13 -13
- package/dist/chunks/{location-service-map-ew77m1g6.js → tool-output-48w4w6ne.js} +15 -15
- package/dist/chunks/{location-service-map-tzetj9gw.js → tool-output-500ye4gx.js} +21 -21
- package/dist/chunks/{location-service-map-6prt122c.js → tool-output-51d9jexv.js} +11 -11
- package/dist/chunks/{location-service-map-aec01vg2.js → tool-output-53h6jvr4.js} +13 -13
- package/dist/chunks/{location-service-map-v3920tdr.js → tool-output-56n9fxap.js} +11 -11
- package/dist/chunks/{location-service-map-a1bz86dw.js → tool-output-5c4hm403.js} +3 -3
- package/dist/chunks/{location-service-map-5daktx2q.js → tool-output-5daktx2q.js} +1 -1
- package/dist/chunks/{location-service-map-8vabwf9j.js → tool-output-5ns0hmk4.js} +34 -34
- package/dist/chunks/{location-service-map-y27d2q66.js → tool-output-5q8917fr.js} +17 -17
- package/dist/chunks/{location-service-map-4zer0vva.js → tool-output-5rj7e89z.js} +23 -23
- package/dist/chunks/{location-service-map-5t3nmthw.js → tool-output-5t3nmthw.js} +2 -2
- package/dist/chunks/tool-output-5zrr549n.js +247 -0
- package/dist/chunks/{location-service-map-2akkhxs7.js → tool-output-62am4esv.js} +41 -41
- package/dist/chunks/{location-service-map-3q9crshv.js → tool-output-64ddj6v7.js} +1 -1
- package/dist/chunks/{location-service-map-669tq793.js → tool-output-669tq793.js} +1 -1
- package/dist/chunks/{location-service-map-6msgmcgs.js → tool-output-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-service-map-654442pr.js → tool-output-6v9s4sje.js} +35 -35
- package/dist/chunks/{location-service-map-fg9ka16a.js → tool-output-6xvztx9x.js} +16 -16
- package/dist/chunks/{location-service-map-71q4at8m.js → tool-output-71q4at8m.js} +1 -1
- package/dist/chunks/tool-output-7apsgyan.js +26 -0
- package/dist/chunks/{location-service-map-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-bjvqytpm.js → tool-output-7n2dt51x.js} +7 -7
- package/dist/chunks/{location-service-map-dwvzh0g2.js → tool-output-7w3s9kd0.js} +6 -6
- package/dist/chunks/{location-service-map-10jrjq8g.js → tool-output-7z1dbq5f.js} +11 -11
- package/dist/chunks/{location-service-map-gt91ywfc.js → tool-output-80va3pbr.js} +18 -18
- package/dist/chunks/{location-service-map-81swgkk7.js → tool-output-81swgkk7.js} +2 -2
- package/dist/chunks/{location-service-map-hcgra2vb.js → tool-output-82ypv6pv.js} +29 -29
- package/dist/chunks/{location-service-map-5mmafj64.js → tool-output-84r56gr5.js} +1 -1
- package/dist/chunks/{location-service-map-ynxdgvan.js → tool-output-85dpmdhy.js} +26 -26
- package/dist/chunks/{location-service-map-z76rvear.js → tool-output-8bcx3nez.js} +4 -4
- package/dist/chunks/{location-service-map-8d7r5vzw.js → tool-output-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-service-map-7qfhcbsz.js → tool-output-8k55qeyd.js} +19 -19
- package/dist/chunks/{location-service-map-gjmk74th.js → tool-output-8q9myf25.js} +6 -6
- package/dist/chunks/{location-service-map-tk63fv4z.js → tool-output-8zqda560.js} +30 -30
- package/dist/chunks/{location-service-map-g7g2taf3.js → tool-output-97fmyryk.js} +6 -6
- package/dist/chunks/{location-service-map-j64q48wm.js → tool-output-983zejhe.js} +28 -28
- package/dist/chunks/{location-service-map-jjjbjh7r.js → tool-output-9bxy0ra3.js} +30 -30
- package/dist/chunks/{location-service-map-0tgsmd7v.js → tool-output-9cxz2p3g.js} +30 -30
- package/dist/chunks/{location-service-map-mm9xhac3.js → tool-output-9e47yq11.js} +8 -8
- package/dist/chunks/{location-service-map-9nafkwrb.js → tool-output-9k24p8hs.js} +23 -23
- package/dist/chunks/{location-service-map-be40ghdv.js → tool-output-9kmbd9mt.js} +2 -2
- package/dist/chunks/{location-service-map-cr3108w9.js → tool-output-9kvbt2b0.js} +169 -169
- package/dist/chunks/{location-service-map-vdyyrf70.js → tool-output-9vtsvkk2.js} +6 -6
- package/dist/chunks/{location-service-map-5d17xbav.js → tool-output-9w4ppqge.js} +5 -5
- package/dist/chunks/{location-service-map-2rn2h9f8.js → tool-output-9xd5w3qq.js} +11 -11
- package/dist/chunks/{location-service-map-pb1eahw5.js → tool-output-a68v6zx7.js} +8 -8
- package/dist/chunks/{location-service-map-0pbvnr44.js → tool-output-a9v01vfp.js} +11 -11
- package/dist/chunks/{location-service-map-aaet6srn.js → tool-output-aaet6srn.js} +2 -2
- package/dist/chunks/{location-service-map-d9q2j4ef.js → tool-output-atmy3q3t.js} +13 -13
- package/dist/chunks/{location-service-map-b6gygkdw.js → tool-output-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-service-map-0bqdyxn3.js → tool-output-b6r17kzf.js} +59 -59
- package/dist/chunks/{location-service-map-0aq61y81.js → tool-output-bep0w5gt.js} +13 -13
- package/dist/chunks/{location-service-map-ve70vzjq.js → tool-output-bfbcq9g8.js} +25 -25
- package/dist/chunks/tool-output-bjr9n51k.js +462 -0
- package/dist/chunks/{location-service-map-zfq801h6.js → tool-output-bqszwq89.js} +6 -6
- package/dist/chunks/{location-service-map-tjgznnzj.js → tool-output-bsd21wvh.js} +32 -32
- package/dist/chunks/{location-service-map-ksptet1t.js → tool-output-bvbrzwy4.js} +7 -7
- package/dist/chunks/{location-service-map-g71e5xjd.js → tool-output-c9arwkaa.js} +8 -8
- package/dist/chunks/{location-service-map-z1zkz7bk.js → tool-output-c9ycaxtf.js} +28 -28
- package/dist/chunks/{location-service-map-jk6ry76n.js → tool-output-cgagfye5.js} +4 -4
- package/dist/chunks/{location-service-map-a3j4qjep.js → tool-output-chkb7edh.js} +13 -13
- package/dist/chunks/{location-service-map-cvsewcrj.js → tool-output-cp507nym.js} +5 -5
- package/dist/chunks/{location-service-map-ftyndhpk.js → tool-output-d4jews6t.js} +23 -23
- package/dist/chunks/{location-service-map-j7tjkwgq.js → tool-output-d5d1bzfc.js} +18 -18
- package/dist/chunks/{location-service-map-scyxgb5t.js → tool-output-d76dz6fc.js} +94 -94
- package/dist/chunks/{location-service-map-8x525ht7.js → tool-output-d9jac9yd.js} +5 -5
- package/dist/chunks/{location-service-map-4czx790g.js → tool-output-ddkxxk60.js} +18 -18
- package/dist/chunks/{location-service-map-zt5h3yfa.js → tool-output-depwzj9d.js} +9 -9
- package/dist/chunks/{location-service-map-8p4f9s12.js → tool-output-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-service-map-mb6b436h.js → tool-output-dt2vszrs.js} +18 -18
- package/dist/chunks/{location-service-map-wphpgvta.js → tool-output-dtza9wsp.js} +30 -30
- package/dist/chunks/{location-service-map-z6yn5rdq.js → tool-output-dym5mc0w.js} +9 -9
- package/dist/chunks/{location-service-map-p5pv5dqm.js → tool-output-e3hd6zgs.js} +10 -10
- package/dist/chunks/{location-service-map-e5nv3ght.js → tool-output-e5nv3ght.js} +2 -2
- package/dist/chunks/{location-service-map-7add2r42.js → tool-output-e6599acx.js} +25 -25
- package/dist/chunks/{location-service-map-qy7pps2e.js → tool-output-ea6zyd4v.js} +4 -4
- package/dist/chunks/{location-service-map-c5rbgjy2.js → tool-output-eh7kfqe7.js} +29 -29
- package/dist/chunks/{location-service-map-da6kr1wx.js → tool-output-eraanh1f.js} +6 -6
- package/dist/chunks/{location-service-map-etq0c3wd.js → tool-output-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-service-map-jsp84pdj.js → tool-output-evsz25f7.js} +14 -14
- package/dist/chunks/{location-service-map-w4w5xb5g.js → tool-output-ex94xgb3.js} +18 -18
- package/dist/chunks/{location-service-map-mdh9akjb.js → tool-output-eyqffhkg.js} +28 -28
- package/dist/chunks/{location-service-map-ssg3q9nf.js → tool-output-f711xdp6.js} +42 -42
- package/dist/chunks/{location-service-map-1g07dsdm.js → tool-output-fegtcdpg.js} +6 -6
- package/dist/chunks/{location-service-map-9cgxzq7f.js → tool-output-fjqhqcz7.js} +22 -22
- package/dist/chunks/{location-service-map-bqf5xey6.js → tool-output-fk7wkjv4.js} +11 -11
- package/dist/chunks/{location-service-map-g9anyfky.js → tool-output-fkt296b9.js} +18 -18
- package/dist/chunks/{location-service-map-fxbjtjnd.js → tool-output-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-service-map-bfzg93v9.js → tool-output-g0kzx32f.js} +10 -10
- package/dist/chunks/{location-service-map-hgb4h9fq.js → tool-output-g4bd99vw.js} +16 -16
- package/dist/chunks/{location-service-map-e9yc490d.js → tool-output-gbt50e34.js} +27 -27
- package/dist/chunks/{location-service-map-abxpafsh.js → tool-output-gd35dwva.js} +14 -14
- package/dist/chunks/{location-service-map-gd4qta3r.js → tool-output-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-service-map-cst0wzct.js → tool-output-gea7vc3h.js} +5 -5
- package/dist/chunks/{location-service-map-hsxajhbd.js → tool-output-gewkt4tc.js} +13 -13
- package/dist/chunks/{location-service-map-p1wf2k30.js → tool-output-gfqzzqy5.js} +9 -9
- package/dist/chunks/{location-service-map-wntp8vrc.js → tool-output-gkg6avwa.js} +42 -42
- package/dist/chunks/{location-service-map-enxy5whv.js → tool-output-gsezjzb9.js} +16 -16
- package/dist/chunks/{location-service-map-gv6a8nnw.js → tool-output-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-service-map-h03wrkyp.js → tool-output-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-service-map-gcyndpkk.js → tool-output-h6nbnr35.js} +14 -14
- package/dist/chunks/{location-service-map-h6vf3j39.js → tool-output-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-f828m53h.js → tool-output-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-service-map-yg5frs05.js → tool-output-hn9cpaxe.js} +8 -8
- package/dist/chunks/{location-service-map-987964v3.js → tool-output-hndr1rtw.js} +87 -87
- package/dist/chunks/{location-service-map-qjnxxf51.js → tool-output-hnr5yq9h.js} +5 -5
- package/dist/chunks/{location-service-map-q5t0te5a.js → tool-output-j15mfg1p.js} +6 -6
- package/dist/chunks/{location-service-map-j56e64zr.js → tool-output-j56e64zr.js} +1 -1
- package/dist/chunks/{location-service-map-6s6yzpxb.js → tool-output-j5bk5ffn.js} +6 -6
- package/dist/chunks/{location-service-map-9wxvjxv5.js → tool-output-jwfsf2kw.js} +29 -29
- package/dist/chunks/{location-service-map-9gp2hts1.js → tool-output-k5t8czcn.js} +15 -15
- package/dist/chunks/{location-service-map-a5t9jfkz.js → tool-output-k7q6hj49.js} +20 -20
- package/dist/chunks/{location-service-map-vgs16dzz.js → tool-output-k9e137ey.js} +13 -13
- package/dist/chunks/{location-service-map-kg06axw8.js → tool-output-kg06axw8.js} +1 -1
- package/dist/chunks/{location-service-map-04dw59v1.js → tool-output-kwd7jcpa.js} +11 -11
- package/dist/chunks/{location-service-map-cfpkc3c9.js → tool-output-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-service-map-9pa73182.js → tool-output-m1t2h00z.js} +7 -7
- package/dist/chunks/{location-service-map-h7ygw6q4.js → tool-output-m2d0j7c0.js} +9 -9
- package/dist/chunks/{location-service-map-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-93hpb89x.js → tool-output-mf9m2v67.js} +3 -3
- package/dist/chunks/{location-service-map-r60jfj5j.js → tool-output-mjydk635.js} +9 -9
- package/dist/chunks/{location-service-map-q45tp9fg.js → tool-output-mxy7bqqm.js} +4 -4
- package/dist/chunks/{location-service-map-9rqr5dz2.js → tool-output-myk4ckkr.js} +5 -5
- package/dist/chunks/{location-service-map-xxmcww3w.js → tool-output-n10ns13s.js} +8 -8
- package/dist/chunks/{location-service-map-dafzyq9v.js → tool-output-n6sw2qcy.js} +11 -11
- package/dist/chunks/{location-service-map-hjt4xg1x.js → tool-output-nhy5jxhy.js} +4 -4
- package/dist/chunks/{location-service-map-3zqjh76q.js → tool-output-nn7883ae.js} +51 -51
- package/dist/chunks/{location-service-map-magykp64.js → tool-output-nrdmrqsx.js} +4 -4
- package/dist/chunks/{location-service-map-qhqrvy71.js → tool-output-nvskbz6s.js} +28 -28
- package/dist/chunks/{location-service-map-paedcfg6.js → tool-output-nzn05r5g.js} +6 -6
- package/dist/chunks/{location-service-map-n10h5dcc.js → tool-output-p0ydpdje.js} +1 -1
- package/dist/chunks/{location-service-map-mgv4r7hs.js → tool-output-p1g84q7q.js} +17 -17
- package/dist/chunks/{location-service-map-q8m64rd2.js → tool-output-p3dmqj27.js} +6 -6
- package/dist/chunks/{location-service-map-vswh10km.js → tool-output-p6d5ygvj.js} +22 -22
- package/dist/chunks/{location-service-map-b3p2rche.js → tool-output-p730pwrk.js} +31 -31
- package/dist/chunks/{location-service-map-844ef7ks.js → tool-output-pa8pe2x7.js} +6 -6
- package/dist/chunks/{location-service-map-ya7f0mnv.js → tool-output-pbky73a2.js} +3 -3
- package/dist/chunks/{location-service-map-rmx7d75k.js → tool-output-pjhhwqp3.js} +6 -6
- package/dist/chunks/{location-service-map-pjvnvgmy.js → tool-output-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-zmqdb3c2.js → tool-output-pxexgfqn.js} +5 -5
- package/dist/chunks/{location-service-map-zq6pbv0a.js → tool-output-q0hpqd2h.js} +1 -1
- package/dist/chunks/{location-service-map-78qgck3m.js → tool-output-q5a2pztx.js} +12 -12
- package/dist/chunks/{location-service-map-zav06jzw.js → tool-output-q5asdkn4.js} +4 -4
- package/dist/chunks/{location-service-map-1f8bms4k.js → tool-output-q5e9w6qx.js} +10 -10
- package/dist/chunks/{location-service-map-0ebpgxeh.js → tool-output-qa3vdgc2.js} +9 -9
- package/dist/chunks/{location-service-map-gz9sd8ds.js → tool-output-qc5sn4cp.js} +4 -4
- package/dist/chunks/{location-service-map-rtathh62.js → tool-output-qcr3pcr3.js} +8 -8
- package/dist/chunks/{location-service-map-3zz4dsv8.js → tool-output-qjr7sh6r.js} +6 -6
- package/dist/chunks/{location-service-map-9yeeq8z5.js → tool-output-qjzr9d90.js} +9 -9
- package/dist/chunks/{location-service-map-m0e5qf6k.js → tool-output-qmdnxg00.js} +12 -12
- package/dist/chunks/{location-service-map-c8zs60ab.js → tool-output-qpde438z.js} +55 -55
- package/dist/chunks/{location-service-map-qsdy395h.js → tool-output-qsdy395h.js} +1 -1
- package/dist/chunks/{location-service-map-tv567pe4.js → tool-output-qshh0se8.js} +43 -43
- package/dist/chunks/{location-service-map-x41as614.js → tool-output-qy6qxnan.js} +24 -24
- package/dist/chunks/{location-service-map-q6b944ev.js → tool-output-r28dgecg.js} +43 -43
- package/dist/chunks/{location-service-map-2ht9wr58.js → tool-output-r5j91kvy.js} +20 -20
- package/dist/chunks/{location-service-map-r9mregkx.js → tool-output-r9mregkx.js} +2 -2
- package/dist/chunks/{location-service-map-5ay59zs2.js → tool-output-rd3jsed3.js} +10 -10
- package/dist/chunks/{location-service-map-gbt6w4kb.js → tool-output-rhjbct0v.js} +8 -8
- package/dist/chunks/{location-service-map-pqjwfpfc.js → tool-output-rj0m9tej.js} +16 -16
- package/dist/chunks/{location-service-map-zvtyh981.js → tool-output-rk3xpj8q.js} +11 -11
- package/dist/chunks/{location-service-map-hb7jvn94.js → tool-output-rkd9zq17.js} +26 -26
- package/dist/chunks/{location-service-map-3hf7z3yq.js → tool-output-rngvahqc.js} +11 -11
- package/dist/chunks/{location-service-map-kxgkzzte.js → tool-output-rrhh8349.js} +32 -32
- package/dist/chunks/{location-service-map-x19khr0k.js → tool-output-rxjvbk8n.js} +1 -1
- package/dist/chunks/{location-service-map-9sbh5z1p.js → tool-output-s143544w.js} +13 -13
- package/dist/chunks/{location-service-map-6kjb5nmm.js → tool-output-s4g69t21.js} +10 -10
- package/dist/chunks/{location-service-map-e66rv14v.js → tool-output-s7n3ne41.js} +8 -8
- package/dist/chunks/{location-service-map-0emhk73y.js → tool-output-sdwfzfqg.js} +20 -20
- package/dist/chunks/{location-service-map-43wywh7z.js → tool-output-sjdbjet5.js} +28 -28
- package/dist/chunks/{location-service-map-vfm9gp6q.js → tool-output-smh9r5za.js} +15 -15
- package/dist/chunks/{location-service-map-92azbete.js → tool-output-sr17v8dg.js} +4 -4
- package/dist/chunks/{location-service-map-37s12vcn.js → tool-output-t0fxg8b9.js} +5 -5
- package/dist/chunks/{location-service-map-6espw6g8.js → tool-output-t3j0f89m.js} +18 -18
- package/dist/chunks/{location-service-map-q2b1ymqp.js → tool-output-t9zs3egg.js} +4 -4
- package/dist/chunks/{location-service-map-tazgh4e4.js → tool-output-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-tcezcvh9.js → tool-output-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-service-map-f6ppewy4.js → tool-output-tdegjb08.js} +29 -29
- package/dist/chunks/{location-service-map-tdstcens.js → tool-output-tdstcens.js} +1 -1
- package/dist/chunks/{location-service-map-mq96jf65.js → tool-output-tk4wgrh8.js} +11 -11
- package/dist/chunks/{location-service-map-e8zqc9x3.js → tool-output-tqv7368x.js} +18 -18
- package/dist/chunks/{location-service-map-j2ty36mn.js → tool-output-tsn7a10h.js} +20 -20
- package/dist/chunks/{location-service-map-qz57tn8f.js → tool-output-tsqvd881.js} +36 -36
- package/dist/chunks/{location-service-map-tvtrv512.js → tool-output-tvtrv512.js} +1 -1
- package/dist/chunks/{location-service-map-era4rpc7.js → tool-output-tw82j2bg.js} +20 -20
- package/dist/chunks/{location-service-map-zbsbj1es.js → tool-output-twh77t5b.js} +30 -30
- package/dist/chunks/{location-service-map-08fkss2z.js → tool-output-v45wa97a.js} +20 -20
- package/dist/chunks/{location-service-map-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
- package/dist/chunks/{location-service-map-whdpvypb.js → tool-output-vmarth84.js} +28 -28
- package/dist/chunks/tool-output-vnkjks7b.js +18 -0
- package/dist/chunks/{location-service-map-yhqybqhb.js → tool-output-vp0b3tb4.js} +23 -23
- package/dist/chunks/{location-service-map-axhk3gw2.js → tool-output-vp59gbjy.js} +4 -4
- package/dist/chunks/{location-service-map-8tyg6ffg.js → tool-output-vp702ess.js} +15 -15
- package/dist/chunks/{location-service-map-snhpdyga.js → tool-output-vve6xm6r.js} +22 -22
- package/dist/chunks/{location-service-map-3198gv8b.js → tool-output-vxtx4rpx.js} +9 -9
- package/dist/chunks/{location-service-map-bbyzhkdb.js → tool-output-vywwb7xw.js} +2 -2
- package/dist/chunks/{location-service-map-86v902bt.js → tool-output-vz41dpjb.js} +10 -10
- package/dist/chunks/{location-service-map-j10w18fe.js → tool-output-vz6wxk13.js} +20 -20
- package/dist/chunks/{location-service-map-vzcthcp8.js → tool-output-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-service-map-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-p007xxfp.js → tool-output-w556py1h.js} +11 -11
- package/dist/chunks/{location-service-map-vyy6cxw9.js → tool-output-wcge806m.js} +4 -4
- package/dist/chunks/{location-service-map-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-wzeezdkg.js → tool-output-wfz0ytz1.js} +18 -18
- package/dist/chunks/{location-service-map-27p1k2h6.js → tool-output-wg0bp805.js} +8 -8
- package/dist/chunks/{location-service-map-hgdz7fj9.js → tool-output-wg0fnz40.js} +41 -41
- package/dist/chunks/{location-service-map-shj1d2j6.js → tool-output-wptqc3da.js} +22 -22
- package/dist/chunks/{location-service-map-jv4nf67n.js → tool-output-wqk2ast5.js} +8 -8
- package/dist/chunks/{location-service-map-fw2c9v4r.js → tool-output-x0qm4064.js} +7 -7
- package/dist/chunks/{location-service-map-x1ezjp6w.js → tool-output-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-service-map-f0ah23sg.js → tool-output-x3812y1v.js} +20 -20
- package/dist/chunks/{location-service-map-a98ysnss.js → tool-output-x46dne7g.js} +13 -13
- package/dist/chunks/{location-service-map-wbjms32a.js → tool-output-x65d1ngh.js} +7 -7
- package/dist/chunks/{location-service-map-c2wmt4cg.js → tool-output-xcgcvrcw.js} +11 -11
- package/dist/chunks/{location-service-map-dz7374aj.js → tool-output-xg954myy.js} +8 -8
- package/dist/chunks/{location-service-map-xs5622zf.js → tool-output-xjqj3swt.js} +13 -13
- package/dist/chunks/{location-service-map-0h54jqbs.js → tool-output-xn5rvdk3.js} +8 -8
- package/dist/chunks/{location-service-map-pz69wcke.js → tool-output-xs60qhkz.js} +11 -11
- package/dist/chunks/{location-service-map-d8nc1xcx.js → tool-output-xwwz9aqf.js} +4 -4
- package/dist/chunks/{location-service-map-nzxmnaqk.js → tool-output-xxj3pgp3.js} +1 -1
- package/dist/chunks/{location-service-map-9687ankn.js → tool-output-xy08ds9x.js} +13 -13
- package/dist/chunks/{location-service-map-y1fvbwt7.js → tool-output-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-service-map-86ba19xk.js → tool-output-y2ha7ynf.js} +3 -3
- package/dist/chunks/{location-service-map-bam9yq1b.js → tool-output-y68xz9fb.js} +22 -22
- package/dist/chunks/{location-service-map-jwcy2c2z.js → tool-output-y71avatq.js} +4 -4
- package/dist/chunks/{location-service-map-96jnx1h8.js → tool-output-y8rq7gk1.js} +22 -22
- package/dist/chunks/{location-service-map-vvgz4s0w.js → tool-output-yacgqk72.js} +2 -2
- package/dist/chunks/{location-service-map-x5xt91nb.js → tool-output-yd58s3pz.js} +13 -13
- package/dist/chunks/{location-service-map-03t8xqg9.js → tool-output-ym7qtc9x.js} +11 -11
- package/dist/chunks/{location-service-map-cj21nk0n.js → tool-output-yqtqx2tb.js} +1 -1
- package/dist/chunks/{location-service-map-yrhqyw5v.js → tool-output-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-service-map-wabr7zyh.js → tool-output-yrz8q0k0.js} +5 -5
- package/dist/chunks/{location-service-map-yrznvahk.js → tool-output-yrznvahk.js} +2 -2
- package/dist/chunks/{location-service-map-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-bkd71825.js → tool-output-z3dhw9aw.js} +31 -31
- package/dist/chunks/{location-service-map-gsh65bkt.js → tool-output-z5893sa5.js} +49 -49
- package/dist/chunks/{location-service-map-z63w68vq.js → tool-output-z63w68vq.js} +2 -2
- package/dist/chunks/{location-service-map-9dyac9w5.js → tool-output-za5mjvka.js} +6 -6
- package/dist/chunks/{location-service-map-zeh9ct20.js → tool-output-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-service-map-8ga9vm0q.js → tool-output-zgcqd1q7.js} +6 -6
- package/dist/chunks/{location-service-map-rb8vb6bw.js → tool-output-znaqgwg4.js} +16 -16
- package/dist/chunks/{location-service-map-zr2ceqn5.js → tool-output-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-service-map-zxq2ej10.js → tool-output-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 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +99 -99
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +71 -71
- 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 -363
- 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 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +97 -97
- package/dist/file-mutation.js +91 -91
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +94 -94
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +94 -94
- package/dist/git.js +6 -6
- 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 -354
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +82 -82
- 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 +133 -133
- package/dist/location-mutation.js +97 -97
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +351 -351
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +88 -88
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +87 -87
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -215
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +99 -99
- 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 -120
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +116 -116
- 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 +119 -119
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- 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 -119
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- 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 +135 -135
- 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/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 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +84 -84
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +85 -85
- 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 +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +90 -90
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +128 -128
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +102 -102
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +87 -87
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -227
- 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 +112 -112
- package/dist/session/runner/step.js +123 -123
- 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 +133 -133
- package/dist/session/skill.js +100 -100
- 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 +153 -153
- package/dist/session/to-session-error.js +109 -109
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -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 +11 -11
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +107 -107
- 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 +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- 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 +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 +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/location-service-map-5j56thpe.js +0 -462
- package/dist/chunks/location-service-map-619r8v3y.js +0 -18
- package/dist/chunks/location-service-map-b1j1vcef.js +0 -26
- package/dist/chunks/location-service-map-egq9dkps.js +0 -247
- /package/dist/chunks/{location-service-map-0mesazry.js → tool-output-0mesazry.js} +0 -0
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → tool-output-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → tool-output-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3w5fmr99.js → tool-output-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-922hggd3.js → tool-output-922hggd3.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-fxgpk5d8.js → tool-output-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hjbc5kem.js → tool-output-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-hrnqkpcd.js → tool-output-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-paphc93g.js → tool-output-paphc93g.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-sk3qaz4a.js → tool-output-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-twg0f83k.js → tool-output-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8cydn3q.js → tool-output-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./tool-output-znaqgwg4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service64,
|
|
7
|
+
node68
|
|
8
|
+
} from "./tool-output-56n9fxap.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-kg06axw8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event11,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service42,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node46
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event11 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID5 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID5
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID5,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service42 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service79;
|
|
70
|
+
const kv = yield* Service64;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service42.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node46 = makeLocationNode({
|
|
188
|
+
service: Service42,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node84, node68]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID5, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service42, node46, exports_websearch3, Event11 };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./tool-output-znaqgwg4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node44
|
|
7
|
+
} from "./tool-output-y68xz9fb.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service9,
|
|
10
|
+
node11
|
|
11
|
+
} from "./tool-output-d4jews6t.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service22
|
|
14
|
+
} from "./tool-output-vnkjks7b.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
node23,
|
|
17
17
|
ID3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-ddkxxk60.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
Service6,
|
|
21
21
|
node8
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./tool-output-pa8pe2x7.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
list2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-output-bjr9n51k.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
make6,
|
|
29
29
|
LoadError2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-output-wqk2ast5.js";
|
|
31
31
|
import {
|
|
32
32
|
Updated2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service5,
|
|
34
|
+
node7
|
|
35
|
+
} from "./tool-output-chkb7edh.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service3,
|
|
38
|
+
node5
|
|
39
|
+
} from "./tool-output-depwzj9d.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/supervisor.ts
|
|
45
45
|
var exports_supervisor = {};
|
|
46
46
|
__export(exports_supervisor, {
|
|
47
47
|
PluginSupervisor: () => exports_supervisor,
|
|
48
|
-
layer: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
layer: () => layer3,
|
|
49
|
+
node: () => node4
|
|
50
50
|
});
|
|
51
51
|
import { Event } from "@opencode/schema/config";
|
|
52
52
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -124,14 +124,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
124
124
|
pending: [...pending]
|
|
125
125
|
};
|
|
126
126
|
});
|
|
127
|
-
var
|
|
128
|
-
const registry = yield*
|
|
129
|
-
const sdk = yield*
|
|
130
|
-
const instance = yield*
|
|
131
|
-
const sources = yield*
|
|
132
|
-
const modules = yield*
|
|
133
|
-
const bus = yield*
|
|
134
|
-
const updates = yield*
|
|
127
|
+
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
128
|
+
const registry = yield* Service22;
|
|
129
|
+
const sdk = yield* Service5;
|
|
130
|
+
const instance = yield* Service6;
|
|
131
|
+
const sources = yield* Service9;
|
|
132
|
+
const modules = yield* make6();
|
|
133
|
+
const bus = yield* Service79;
|
|
134
|
+
const updates = yield* Service3;
|
|
135
135
|
const internal = yield* list2();
|
|
136
136
|
let release = yield* registry.hold();
|
|
137
137
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
206
206
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
207
207
|
}));
|
|
208
208
|
var nodeDeps = [
|
|
209
|
-
|
|
210
|
-
node9,
|
|
211
|
-
node8,
|
|
209
|
+
node23,
|
|
212
210
|
node7,
|
|
213
|
-
|
|
214
|
-
|
|
211
|
+
node8,
|
|
212
|
+
node11,
|
|
213
|
+
node5,
|
|
214
|
+
node84,
|
|
215
215
|
Npm.node,
|
|
216
|
-
|
|
216
|
+
node44,
|
|
217
217
|
requirements2
|
|
218
218
|
];
|
|
219
219
|
function pluginSource(target) {
|
|
@@ -221,6 +221,6 @@ function pluginSource(target) {
|
|
|
221
221
|
return { type: "local", path: target };
|
|
222
222
|
return { type: "package", target };
|
|
223
223
|
}
|
|
224
|
-
var
|
|
224
|
+
var node4 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { layer3, node4, exports_supervisor };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-rngvahqc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID15
|
|
6
|
+
} from "./tool-output-xg954myy.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-bvbrzwy4.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID15.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
17
|
Service74,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
node79
|
|
19
|
+
} from "./tool-output-xcgcvrcw.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service73,
|
|
22
|
+
node77
|
|
23
|
+
} from "./tool-output-gbt50e34.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-output-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: () => Service72,
|
|
33
|
+
node: () => node76
|
|
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: () => Service72,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node76,
|
|
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 Service72 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
65
|
const location = yield* Service74;
|
|
66
|
-
const workspace = yield*
|
|
66
|
+
const workspace = yield* Service73;
|
|
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 Service72.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node76 = makeLocationNode({
|
|
71
|
+
service: Service72,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node79, node77]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service72, node76, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service74
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-xcgcvrcw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service39
|
|
9
|
+
} from "./tool-output-gkg6avwa.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-jwfsf2kw.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin41
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin41 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service39;
|
|
35
35
|
const location = yield* Service74;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin41, exports_reference };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./tool-output-znaqgwg4.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event18
|
|
7
|
+
} from "./tool-output-0rx68sr6.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID11,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-z3dhw9aw.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID15,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-xg954myy.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID5,
|
|
19
|
+
Input14,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-output-eyqffhkg.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID5
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID11.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -99,7 +99,7 @@ function oauth(http) {
|
|
|
99
99
|
var OpencodePlugin2 = define({
|
|
100
100
|
id: "opencode.provider.opencode",
|
|
101
101
|
effect: Effect.fn(function* (ctx) {
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service79;
|
|
103
103
|
const http = yield* HttpClient.HttpClient;
|
|
104
104
|
const loading = Semaphore.makeUnsafe(1);
|
|
105
105
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
catalog.provider.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID11.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
|
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
const item = catalog.provider.get(
|
|
191
|
+
const item = catalog.provider.get(ID15.opencode);
|
|
192
192
|
if (!item)
|
|
193
193
|
return;
|
|
194
194
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -228,7 +228,7 @@ var OpencodePlugin2 = define({
|
|
|
228
228
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
229
229
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
230
230
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
231
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
231
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
232
232
|
query: input.query,
|
|
233
233
|
providerID: descriptor.providerID
|
|
234
234
|
}));
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
250
250
|
});
|
|
251
251
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
252
|
-
yield* bus.subscribe(
|
|
252
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
253
253
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
254
254
|
})
|
|
255
255
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/git.ts
|
|
18
18
|
var exports_git3 = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_git3, {
|
|
|
20
20
|
Git: () => exports_git3,
|
|
21
21
|
OperationError: () => OperationError3,
|
|
22
22
|
Repository: () => Repository2,
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service78,
|
|
24
24
|
TreeID: () => TreeID2,
|
|
25
25
|
Worktree: () => Worktree2,
|
|
26
26
|
WorktreeError: () => WorktreeError2,
|
|
@@ -90,9 +90,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service78 extends Context.Service()("@opencode/Git") {
|
|
94
94
|
}
|
|
95
|
-
var layer = Layer.effect(
|
|
95
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
96
96
|
const fs = yield* FSUtil.Service;
|
|
97
97
|
const proc = yield* AppProcess.Service;
|
|
98
98
|
const locks = makeUnsafe2();
|
|
@@ -416,7 +416,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
416
416
|
kind: index === 0 ? "main" : "linked"
|
|
417
417
|
}));
|
|
418
418
|
});
|
|
419
|
-
return
|
|
419
|
+
return Service78.of({
|
|
420
420
|
repo: { discover, clone, create },
|
|
421
421
|
remote: { get: remote },
|
|
422
422
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -432,7 +432,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
432
432
|
}
|
|
433
433
|
});
|
|
434
434
|
}));
|
|
435
|
-
var node83 = makeGlobalNode({ service:
|
|
435
|
+
var node83 = makeGlobalNode({ service: Service78, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
436
436
|
function run(cwd, proc, args) {
|
|
437
437
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
438
438
|
}
|
|
@@ -460,4 +460,4 @@ function resolvePath(cwd, value) {
|
|
|
460
460
|
return path.resolve(cwd, normalized);
|
|
461
461
|
}
|
|
462
462
|
|
|
463
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
463
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service78, node83, exports_git3 };
|