@opencode/core 0.0.0-beta-19288 → 0.0.0-beta-19296
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{location-p72z5xx6.js → websearch-021awceq.js} +2 -2
- package/dist/chunks/{location-pg1rtztb.js → websearch-04zx74aq.js} +53 -53
- package/dist/chunks/{location-5kw0n2ma.js → websearch-05xfxpq7.js} +8 -8
- package/dist/chunks/{location-k7d0894y.js → websearch-067w384p.js} +9 -9
- package/dist/chunks/{location-gxq3v17r.js → websearch-0755jzb2.js} +15 -15
- package/dist/chunks/{location-9tk4atd8.js → websearch-0erg3m1e.js} +17 -17
- package/dist/chunks/{location-xwwz9aqf.js → websearch-0gr7cw0d.js} +4 -4
- package/dist/chunks/{location-apys6pqf.js → websearch-0n9gyfew.js} +4 -4
- package/dist/chunks/{location-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-0q0f95c6.js → websearch-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-bw60cda1.js → websearch-0vc4g4y4.js} +35 -35
- package/dist/chunks/{location-t6dzybgg.js → websearch-11crq5fk.js} +18 -18
- package/dist/chunks/{location-g8d3gcyj.js → websearch-19vf66h0.js} +7 -7
- package/dist/chunks/{location-ac0cyhm9.js → websearch-1bj5saeq.js} +43 -43
- package/dist/chunks/{location-0bzsvv4f.js → websearch-1cc28rc9.js} +8 -8
- package/dist/chunks/{location-37hegrs4.js → websearch-1d8a1kez.js} +13 -13
- package/dist/chunks/{location-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-1dfhrqqs.js → websearch-1dfhrqqs.js} +2 -2
- package/dist/chunks/{location-6cd6tdvt.js → websearch-1fz7hf79.js} +6 -6
- package/dist/chunks/{location-6zyexpsp.js → websearch-1nx7yvga.js} +15 -15
- package/dist/chunks/{location-3xt2dn0n.js → websearch-1q463h1w.js} +13 -13
- package/dist/chunks/{location-k1e9d5er.js → websearch-1sfa2a0d.js} +13 -13
- package/dist/chunks/{location-d36y1n73.js → websearch-1wc53y1e.js} +12 -12
- package/dist/chunks/{location-wyam1r5m.js → websearch-1wxb385z.js} +1 -1
- package/dist/chunks/{location-1x11rq2a.js → websearch-1x11rq2a.js} +1 -1
- package/dist/chunks/{location-33w4ejhs.js → websearch-1ygqh575.js} +6 -6
- package/dist/chunks/{location-21r38tys.js → websearch-21r38tys.js} +1 -1
- package/dist/chunks/{location-2402vzrj.js → websearch-2402vzrj.js} +1 -1
- package/dist/chunks/{location-q3m96704.js → websearch-26xtjh69.js} +30 -30
- package/dist/chunks/{location-z63w68vq.js → websearch-29x78va6.js} +6 -6
- package/dist/chunks/{location-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-gsx0ryk4.js → websearch-2bt6bea8.js} +9 -9
- package/dist/chunks/{location-qgn6gcr1.js → websearch-2k8khapm.js} +5 -5
- package/dist/chunks/{location-ph9kp892.js → websearch-2my2jec7.js} +5 -5
- package/dist/chunks/{location-5892jdtn.js → websearch-2n295dmf.js} +8 -8
- package/dist/chunks/{location-zkt8qzze.js → websearch-2nkb2xdd.js} +38 -38
- package/dist/chunks/{location-3280sxnm.js → websearch-2pfmtds4.js} +3 -3
- package/dist/chunks/{location-g190xswt.js → websearch-2pnhn36q.js} +21 -21
- package/dist/chunks/{location-gj6r9tb3.js → websearch-2qda5vxm.js} +8 -8
- package/dist/chunks/{location-dc76j9wz.js → websearch-2s50d4an.js} +8 -8
- package/dist/chunks/{location-v3xga481.js → websearch-2swp24h4.js} +9 -9
- package/dist/chunks/{location-07cpqq5c.js → websearch-2xd0aq0j.js} +30 -30
- package/dist/chunks/{location-9g2mmtg8.js → websearch-31y9be5w.js} +24 -24
- package/dist/chunks/{location-k74qewf5.js → websearch-33jfmvf3.js} +15 -15
- package/dist/chunks/{location-24xcqkxa.js → websearch-3are32kr.js} +10 -10
- package/dist/chunks/{location-s7pvzq3g.js → websearch-3cftakhg.js} +23 -23
- package/dist/chunks/{location-fzhxzx5q.js → websearch-3d2zznj1.js} +28 -28
- package/dist/chunks/websearch-3d6cm71h.js +22 -0
- package/dist/chunks/{location-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-grrcjh3r.js → websearch-3q76zk4e.js} +6 -6
- package/dist/chunks/{location-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-nty3ym86.js → websearch-3vhd93cw.js} +5 -5
- package/dist/chunks/{location-th0feps4.js → websearch-45emdgqj.js} +11 -11
- package/dist/chunks/{location-v4p0vwen.js → websearch-478vk9r5.js} +14 -14
- package/dist/chunks/{location-e46r4s3c.js → websearch-493f7437.js} +11 -11
- package/dist/chunks/{location-nmxf6tf3.js → websearch-49v45h60.js} +21 -21
- package/dist/chunks/{location-fmxbrafm.js → websearch-4mkcvr19.js} +5 -5
- package/dist/chunks/{location-7ny1t5fr.js → websearch-4x3w2b9w.js} +27 -27
- package/dist/chunks/{location-xhg80140.js → websearch-50crwb10.js} +23 -23
- package/dist/chunks/{location-r6yj4sg3.js → websearch-5cmjskm6.js} +11 -11
- package/dist/chunks/{location-mmx9f08p.js → websearch-5d35sq1p.js} +44 -44
- package/dist/chunks/{location-5daktx2q.js → websearch-5daktx2q.js} +1 -1
- package/dist/chunks/{location-a1z1dycg.js → websearch-5dxe2w0c.js} +24 -24
- package/dist/chunks/websearch-5fhb7dgn.js +462 -0
- package/dist/chunks/{location-t0x5rdq8.js → websearch-5kptn8c0.js} +9 -9
- package/dist/chunks/{location-m43qeqsy.js → websearch-5nsrms9d.js} +1 -1
- package/dist/chunks/{location-q221t5h0.js → websearch-5r8gm5p4.js} +9 -9
- package/dist/chunks/{location-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-2erkhkk3.js → websearch-61j69c1n.js} +35 -35
- package/dist/chunks/{location-w1k39n5e.js → websearch-64kphnzf.js} +4 -4
- package/dist/chunks/{location-669tq793.js → websearch-669tq793.js} +1 -1
- package/dist/chunks/{location-6qr3rp4k.js → websearch-6ea2fwcg.js} +6 -6
- package/dist/chunks/{location-w54brc8f.js → websearch-6j3xmf2b.js} +12 -12
- package/dist/chunks/{location-dsd22mfz.js → websearch-6mmbv679.js} +3 -3
- package/dist/chunks/{location-6msgmcgs.js → websearch-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-vxp3kcg3.js → websearch-6xw3seg4.js} +5 -5
- package/dist/chunks/{location-71q4at8m.js → websearch-71q4at8m.js} +1 -1
- package/dist/chunks/{location-vqkn863g.js → websearch-72gev72r.js} +26 -26
- package/dist/chunks/{location-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-bbwyhmbr.js → websearch-7ftp1p3n.js} +14 -14
- package/dist/chunks/{location-p44d8wdy.js → websearch-7gvwkz6m.js} +5 -5
- package/dist/chunks/{location-kqrx6mz9.js → websearch-7jpweqvj.js} +32 -32
- package/dist/chunks/{location-vt07bx5r.js → websearch-7ktgg3cs.js} +8 -8
- package/dist/chunks/{location-xywxz97c.js → websearch-7zjjknfr.js} +6 -6
- package/dist/chunks/{location-x7728wc6.js → websearch-8301y4zq.js} +27 -27
- package/dist/chunks/{location-nc3fjawf.js → websearch-83x6p9kd.js} +1 -1
- package/dist/chunks/{location-59m3ejf3.js → websearch-89sr0xjz.js} +13 -13
- package/dist/chunks/{location-nc09bz1g.js → websearch-8a3zjqsd.js} +32 -32
- package/dist/chunks/{location-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-8p4f9s12.js → websearch-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-v74jsawt.js → websearch-8t6t38nc.js} +32 -32
- package/dist/chunks/{location-nxts4mre.js → websearch-8xch1t93.js} +24 -24
- package/dist/chunks/{location-p8vbaxe4.js → websearch-8yxyf177.js} +27 -27
- package/dist/chunks/{location-kkedg04s.js → websearch-94sf61n7.js} +11 -11
- package/dist/chunks/{location-dtyxkw1z.js → websearch-98raenma.js} +26 -26
- package/dist/chunks/{location-ztj8pse5.js → websearch-9c1zk87q.js} +15 -15
- package/dist/chunks/{location-7x5129vx.js → websearch-9g8bh1ef.js} +12 -12
- package/dist/chunks/{location-gxbbas38.js → websearch-9j5rkn4p.js} +15 -15
- package/dist/chunks/{location-mgcrt4av.js → websearch-9jvy7ydv.js} +43 -43
- package/dist/chunks/{location-qgzeej5c.js → websearch-9np0bycx.js} +5 -5
- package/dist/chunks/{location-a1bz86dw.js → websearch-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-aaet6srn.js → websearch-aaet6srn.js} +2 -2
- package/dist/chunks/{location-sx1n432n.js → websearch-an7cqtb7.js} +4 -4
- package/dist/chunks/{location-qa467n4w.js → websearch-awadhvm4.js} +3 -3
- package/dist/chunks/{location-0zzhyfap.js → websearch-b2zg7s1d.js} +11 -11
- package/dist/chunks/{location-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-6wfj5a9a.js → websearch-b7ns8anh.js} +6 -6
- package/dist/chunks/{location-0yq2vxwx.js → websearch-c29cwycq.js} +23 -23
- package/dist/chunks/{location-gwzbkwjt.js → websearch-c5ykpkef.js} +17 -17
- package/dist/chunks/{location-27xkhkzw.js → websearch-c6vv51zx.js} +24 -24
- package/dist/chunks/{location-r8a1vay2.js → websearch-c76p7jxk.js} +9 -9
- package/dist/chunks/{location-7ny3kv6n.js → websearch-c7ecgrk6.js} +8 -8
- package/dist/chunks/{location-cfpkc3c9.js → websearch-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-q26tgv94.js → websearch-cmwkp3r5.js} +8 -8
- package/dist/chunks/{location-bha4atvq.js → websearch-cq37gk0t.js} +4 -4
- package/dist/chunks/{location-jp8bt662.js → websearch-czx16w8t.js} +23 -23
- package/dist/chunks/{location-0dh601sh.js → websearch-d4egmwvg.js} +9 -9
- package/dist/chunks/{location-at3ax2rg.js → websearch-d6nr5nr7.js} +30 -30
- package/dist/chunks/{location-g72gjvtz.js → websearch-d95h25nb.js} +8 -8
- package/dist/chunks/{location-6y8723ne.js → websearch-dbehg565.js} +29 -29
- package/dist/chunks/{location-jzx475sk.js → websearch-dbyn5c67.js} +60 -60
- package/dist/chunks/{location-depwzj9d.js → websearch-depwzj9d.js} +2 -2
- package/dist/chunks/{location-zb0kem16.js → websearch-dfvdhkr9.js} +20 -20
- package/dist/chunks/{location-nvpsz6mb.js → websearch-dhrxvkq0.js} +1 -1
- package/dist/chunks/{location-t0fxg8b9.js → websearch-dqmwfghx.js} +5 -5
- package/dist/chunks/{location-barpv3dv.js → websearch-dr2w76rp.js} +31 -31
- package/dist/chunks/{location-9jbrb7s7.js → websearch-dyn65gx1.js} +17 -17
- package/dist/chunks/{location-akj0j9h5.js → websearch-e5q5a43z.js} +2 -2
- package/dist/chunks/{location-8dr2m966.js → websearch-e90e9h05.js} +9 -9
- package/dist/chunks/{location-dj7v5w9k.js → websearch-ed6htbmz.js} +4 -4
- package/dist/chunks/{location-xvs1sa11.js → websearch-en74w496.js} +5 -5
- package/dist/chunks/{location-mhkvc446.js → websearch-eq1pz5kg.js} +3 -3
- package/dist/chunks/{location-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-5dgmpcyt.js → websearch-f0a6vjf3.js} +19 -19
- package/dist/chunks/{location-34njjamc.js → websearch-f1qy17ef.js} +10 -10
- package/dist/chunks/{location-7wpt1821.js → websearch-f6j0t076.js} +19 -19
- package/dist/chunks/{location-f828m53h.js → websearch-f828m53h.js} +2 -2
- package/dist/chunks/{location-02hgpx06.js → websearch-fgtgmky3.js} +7 -7
- package/dist/chunks/{location-41jkd1br.js → websearch-fm348ene.js} +24 -24
- package/dist/chunks/{location-fxbjtjnd.js → websearch-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-t45krj2e.js → websearch-g0xxe7ep.js} +6 -6
- package/dist/chunks/{location-vjv4gnc9.js → websearch-g196mbqx.js} +26 -26
- package/dist/chunks/{location-t21qt4wp.js → websearch-g1pypaes.js} +8 -8
- package/dist/chunks/{location-x8pfpgt4.js → websearch-gbr9kgm4.js} +9 -9
- package/dist/chunks/{location-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
- package/dist/chunks/websearch-gnzk2c3p.js +228 -0
- package/dist/chunks/{location-9k1y1b4w.js → websearch-gpamd96a.js} +6 -6
- package/dist/chunks/{location-nrg6p0d7.js → websearch-gqbb51sz.js} +20 -20
- package/dist/chunks/{location-astwgj0c.js → websearch-gqvas9p6.js} +11 -11
- package/dist/chunks/{location-9h3amn4q.js → websearch-gt0cxfk7.js} +1 -1
- package/dist/chunks/{location-gv6a8nnw.js → websearch-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-rfnzy394.js → websearch-gx1zhcta.js} +1 -1
- package/dist/chunks/{location-h03wrkyp.js → websearch-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-tz2p0jnc.js → websearch-h212frhe.js} +62 -62
- package/dist/chunks/{location-8t891vs4.js → websearch-h6tzq0g1.js} +11 -11
- package/dist/chunks/{location-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-x1aqk77e.js → websearch-h7nqhz63.js} +10 -10
- package/dist/chunks/{location-bbd53drz.js → websearch-ha64d30f.js} +177 -177
- package/dist/chunks/{location-atdh1fr1.js → websearch-hgsze466.js} +33 -33
- package/dist/chunks/{location-cy6spc12.js → websearch-hj64bk9y.js} +7 -7
- package/dist/chunks/{location-81c9b8hz.js → websearch-hjcw82wr.js} +4 -4
- package/dist/chunks/{location-afdssyjb.js → websearch-hn57h045.js} +4 -4
- package/dist/chunks/{location-22zgx542.js → websearch-hpm7wbtc.js} +4 -4
- package/dist/chunks/{location-xgcvvaqd.js → websearch-htmh7j47.js} +12 -12
- package/dist/chunks/{location-t97t2t7r.js → websearch-htw1ycyk.js} +11 -11
- package/dist/chunks/{location-3cxp5vcp.js → websearch-hyj2vz80.js} +4 -4
- package/dist/chunks/{location-e328z05c.js → websearch-j22b20c9.js} +14 -14
- package/dist/chunks/{location-dwvzh0g2.js → websearch-j5208yae.js} +6 -6
- package/dist/chunks/{location-j56e64zr.js → websearch-j56e64zr.js} +1 -1
- package/dist/chunks/{location-paphc93g.js → websearch-j935v87r.js} +2 -2
- package/dist/chunks/{location-9k0trt10.js → websearch-jgjn4qh1.js} +11 -11
- package/dist/chunks/{location-3rx2nwvc.js → websearch-jhetwysa.js} +3 -3
- package/dist/chunks/{location-bgeh6wn9.js → websearch-jskxt0f7.js} +17 -17
- package/dist/chunks/{location-jwye7syw.js → websearch-jx8g4evx.js} +9 -9
- package/dist/chunks/{location-7w1wksne.js → websearch-k2w7c5ek.js} +4 -4
- package/dist/chunks/{location-y6498y89.js → websearch-k5jec5xd.js} +20 -20
- package/dist/chunks/{location-2f04pwep.js → websearch-k6yq57aq.js} +3 -3
- package/dist/chunks/{location-eb6ejpsy.js → websearch-k8exn2cw.js} +23 -23
- package/dist/chunks/{location-kg06axw8.js → websearch-kg06axw8.js} +1 -1
- package/dist/chunks/{location-xpbp2ggf.js → websearch-kkyjec0m.js} +22 -22
- package/dist/chunks/{location-d2412gps.js → websearch-kq8jn941.js} +17 -17
- package/dist/chunks/{location-7zmb2mwr.js → websearch-kxwbgyam.js} +3 -3
- package/dist/chunks/{location-essgt512.js → websearch-m2f4f69a.js} +84 -84
- package/dist/chunks/{location-yg5x8fk4.js → websearch-m5q1xh1y.js} +16 -16
- package/dist/chunks/{location-p2fyd12k.js → websearch-m68hgq7s.js} +20 -20
- package/dist/chunks/{location-qfrw2mns.js → websearch-m71ma2ar.js} +19 -19
- package/dist/chunks/{location-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-jjmq01nn.js → websearch-mgj6a2ns.js} +36 -36
- package/dist/chunks/{location-h9kgsp7e.js → websearch-mjqsc3m4.js} +30 -30
- package/dist/chunks/{location-mkcjrzeh.js → websearch-mkcjrzeh.js} +1 -1
- package/dist/chunks/{location-qy2vc8de.js → websearch-mma61h02.js} +11 -11
- package/dist/chunks/{location-r5paa9gw.js → websearch-mrgdqvct.js} +13 -13
- package/dist/chunks/{location-95c54xjs.js → websearch-mss67jyv.js} +41 -41
- package/dist/chunks/{location-3v0ddjaj.js → websearch-n08x0d0z.js} +11 -11
- package/dist/chunks/{location-vma08mpn.js → websearch-n57936qs.js} +18 -18
- package/dist/chunks/{location-nhy5jxhy.js → websearch-nhy5jxhy.js} +1 -1
- package/dist/chunks/{location-66sq9ze3.js → websearch-nxjw51y5.js} +26 -26
- package/dist/chunks/{location-td52w80p.js → websearch-p08t8n2g.js} +20 -20
- package/dist/chunks/{location-5h99c1kf.js → websearch-p0vcawym.js} +6 -6
- package/dist/chunks/{location-0njzyrny.js → websearch-p4q4hee3.js} +28 -28
- package/dist/chunks/{location-yzcb4rs3.js → websearch-pcpkg30b.js} +12 -12
- package/dist/chunks/{location-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{location-6h508dp1.js → websearch-pn3svwfm.js} +17 -17
- package/dist/chunks/{location-a1qbdnb3.js → websearch-q1hatp1z.js} +84 -84
- package/dist/chunks/{location-q636n16a.js → websearch-q7h5d3m6.js} +44 -44
- package/dist/chunks/{location-4m2pmvxz.js → websearch-qfzde7bh.js} +6 -6
- package/dist/chunks/{location-4n03wa3j.js → websearch-qs9hxpkb.js} +35 -35
- package/dist/chunks/{location-qsdy395h.js → websearch-qsdy395h.js} +1 -1
- package/dist/chunks/{location-77vyn52g.js → websearch-qttzxqf3.js} +32 -32
- package/dist/chunks/{location-xtbntpkm.js → websearch-qvnm1bpb.js} +7 -7
- package/dist/chunks/{location-fw0f0qsw.js → websearch-qy32snha.js} +46 -46
- package/dist/chunks/{location-v75cpdd6.js → websearch-r3zq2d2f.js} +15 -15
- package/dist/chunks/{location-1hfsjvjf.js → websearch-r4tjn19r.js} +27 -27
- package/dist/chunks/{location-2ydbzgba.js → websearch-r76bmaj0.js} +4 -4
- package/dist/chunks/{location-ydpmm19b.js → websearch-rf53tn46.js} +17 -17
- package/dist/chunks/{location-eaj1djv9.js → websearch-rhjbct0v.js} +8 -8
- package/dist/chunks/{location-d6x20h48.js → websearch-rhpv4pef.js} +40 -40
- package/dist/chunks/{location-81swgkk7.js → websearch-rk0rec3h.js} +9 -9
- package/dist/chunks/{location-jefma2gq.js → websearch-rme5v0wm.js} +10 -10
- package/dist/chunks/{location-sm589ezq.js → websearch-rmvjz9y5.js} +39 -39
- package/dist/chunks/{location-yrznvahk.js → websearch-s4enseaf.js} +2 -2
- package/dist/chunks/{location-m3g1yjqx.js → websearch-sdet2h3j.js} +22 -22
- package/dist/chunks/{location-kkcepbrv.js → websearch-sgfkh1bp.js} +4 -4
- package/dist/chunks/{location-2dqf8fez.js → websearch-snxt8tdc.js} +4 -4
- package/dist/chunks/{location-w4arg62q.js → websearch-ss0awb04.js} +6 -6
- package/dist/chunks/{location-9zb490gy.js → websearch-svekdxsq.js} +10 -10
- package/dist/chunks/{location-61f9xf4r.js → websearch-sx0p1kt4.js} +5 -5
- package/dist/chunks/websearch-szyg4q7j.js +247 -0
- package/dist/chunks/{location-fvz0rdtn.js → websearch-t41sh3fy.js} +12 -12
- package/dist/chunks/{location-cek2cznd.js → websearch-t8mcaem5.js} +1 -1
- package/dist/chunks/{location-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → websearch-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-1kqd8z3g.js → websearch-tct0adjb.js} +4 -4
- package/dist/chunks/{location-tdstcens.js → websearch-tdstcens.js} +1 -1
- package/dist/chunks/{location-2n69zwpj.js → websearch-thph018j.js} +23 -23
- package/dist/chunks/{location-dt587sme.js → websearch-tpq6rqx4.js} +33 -33
- package/dist/chunks/{location-tvtrv512.js → websearch-tvtrv512.js} +1 -1
- package/dist/chunks/{location-veqvce7d.js → websearch-veqvce7d.js} +1 -1
- package/dist/chunks/{location-rqay9ghw.js → websearch-vfwqcd3q.js} +24 -24
- package/dist/chunks/{location-f3wm46p4.js → websearch-vn6k26c2.js} +10 -10
- package/dist/chunks/{location-p7tj0pd3.js → websearch-vqdnz30e.js} +15 -15
- package/dist/chunks/{location-vzcthcp8.js → websearch-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-hapt17z5.js → websearch-w8cshh8g.js} +24 -24
- package/dist/chunks/{location-yjptyezs.js → websearch-wbkyxrgf.js} +5 -5
- package/dist/chunks/{location-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{location-51e3a5p7.js → websearch-wg42tg3h.js} +6 -6
- package/dist/chunks/{location-t4a9fvmm.js → websearch-wshz9cdg.js} +26 -26
- package/dist/chunks/{location-6xkqp8dp.js → websearch-wxbxhdt4.js} +10 -10
- package/dist/chunks/{location-x1ezjp6w.js → websearch-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-ap0kd4ae.js → websearch-x3y69024.js} +15 -15
- package/dist/chunks/{location-x43y2vfs.js → websearch-x43y2vfs.js} +2 -2
- package/dist/chunks/{location-av62z334.js → websearch-xgz9es2x.js} +35 -35
- package/dist/chunks/{location-n2qrf0kt.js → websearch-xh5pks4n.js} +51 -51
- package/dist/chunks/{location-2699pam8.js → websearch-xrn84mgy.js} +28 -28
- package/dist/chunks/{location-8pa9qqqg.js → websearch-xsg863kr.js} +19 -19
- package/dist/chunks/{location-hnbxh1ec.js → websearch-xycjtdwc.js} +2 -2
- package/dist/chunks/{location-4ctep4ed.js → websearch-y19x3nk6.js} +16 -16
- package/dist/chunks/{location-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-y71avatq.js → websearch-y71avatq.js} +1 -1
- package/dist/chunks/{location-7zfdt07m.js → websearch-yet3n8wb.js} +7 -7
- package/dist/chunks/{location-r8xr0va3.js → websearch-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-1xnwpsdb.js → websearch-ypmm91wz.js} +28 -28
- package/dist/chunks/{location-t2y4ag3j.js → websearch-yr3g59gf.js} +18 -18
- package/dist/chunks/{location-yrhqyw5v.js → websearch-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-djxjwwc9.js → websearch-yvmq8qxx.js} +12 -12
- package/dist/chunks/{location-4ycpd48q.js → websearch-yzjzatkn.js} +11 -11
- package/dist/chunks/{location-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-9enfn6ca.js → websearch-z19yvwwa.js} +65 -65
- package/dist/chunks/{location-zeh9ct20.js → websearch-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-ejcg2d9c.js → websearch-zgt86zhe.js} +27 -27
- package/dist/chunks/{location-bjyyddbn.js → websearch-zqcqevqh.js} +11 -11
- package/dist/chunks/{location-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-39gsfx95.js → websearch-zvx2hyhz.js} +24 -24
- package/dist/chunks/{location-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-3rran09x.js → websearch-zxwpk2nb.js} +1 -1
- package/dist/chunks/{location-gxr1dr9e.js → websearch-zyr433b0.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +112 -112
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -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 +3 -3
- 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 +352 -352
- package/dist/instruction-discovery.js +79 -79
- 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 +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +74 -74
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- 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 +118 -5
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- 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 +86 -86
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- 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 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +103 -103
- package/dist/snapshot.js +86 -86
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/plugin/provider/snowflake-cortex.d.ts +5 -4
- 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 +5 -5
- 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 +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/location-cbzcwh25.js +0 -22
- package/dist/chunks/location-d5hy5d1s.js +0 -71
- package/dist/chunks/location-nzwad44m.js +0 -462
- package/dist/chunks/location-w6mxp700.js +0 -247
- /package/dist/chunks/{location-0mesazry.js → websearch-0mesazry.js} +0 -0
- /package/dist/chunks/{location-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → websearch-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a1tpkmh4.js → websearch-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → websearch-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{location-hrnqkpcd.js → websearch-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → websearch-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → websearch-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → websearch-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service78,
|
|
6
|
+
node83
|
|
7
|
+
} from "./websearch-htmh7j47.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service77,
|
|
11
|
+
node82
|
|
12
|
+
} from "./websearch-hgsze466.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service71,
|
|
15
|
+
node76
|
|
16
|
+
} from "./websearch-pn3svwfm.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service65,
|
|
19
|
+
node68
|
|
20
|
+
} from "./websearch-zvx2hyhz.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID15,
|
|
23
|
+
Service76,
|
|
24
|
+
node81
|
|
25
|
+
} from "./websearch-ypmm91wz.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./websearch-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service75,
|
|
34
|
+
node80
|
|
35
|
+
} from "./websearch-dr2w76rp.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./websearch-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service30,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured4,
|
|
66
|
+
layer: () => layer12,
|
|
67
|
+
node: () => node34
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID14.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service30 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options4 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
179
|
-
const bus = yield*
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
176
|
+
var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service71;
|
|
178
|
+
const environment = yield* Service65;
|
|
179
|
+
const bus = yield* Service78;
|
|
180
|
+
const forms = yield* Service76;
|
|
181
|
+
const integration = yield* Service75;
|
|
182
|
+
const credentials = yield* Service77;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID14.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -216,7 +216,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError3({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -315,7 +315,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID15.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -433,7 +433,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service65, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service30.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured4(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [
|
|
712
|
+
service: Service30,
|
|
713
|
+
layer: layer12(options),
|
|
714
|
+
deps: [node76, node68, node83, node81, node80, node82]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node34 = configured4();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service30, Options4, layer12, configured4, node34, exports_mcp4 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-1ygqh575.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin7,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin7 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin16 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint4);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint4, Plugin7, exports_exa };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-k6yq57aq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
12
|
+
var exports_error = {};
|
|
13
|
+
__export(exports_error, {
|
|
14
14
|
AgentNotFoundError: () => AgentNotFoundError2,
|
|
15
15
|
AttachmentError: () => AttachmentError2,
|
|
16
16
|
BusyError: () => BusyError2,
|
|
@@ -22,9 +22,9 @@ __export(exports_error2, {
|
|
|
22
22
|
MessageNotAssistantError: () => MessageNotAssistantError2,
|
|
23
23
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
24
24
|
MessageToolIncompleteError: () => MessageToolIncompleteError2,
|
|
25
|
-
NotFoundError: () =>
|
|
25
|
+
NotFoundError: () => NotFoundError7,
|
|
26
26
|
PromptConflictError: () => PromptConflictError2,
|
|
27
|
-
SessionErrors: () =>
|
|
27
|
+
SessionErrors: () => exports_error,
|
|
28
28
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
29
29
|
StepFailedError: () => StepFailedError2,
|
|
30
30
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
@@ -35,7 +35,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
35
35
|
import { Skill } from "@opencode/schema/skill";
|
|
36
36
|
import { SessionError } from "@opencode/schema/session-error";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class NotFoundError7 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
39
39
|
sessionID: SessionSchema2.ID
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
@@ -144,4 +144,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
144
144
|
}) {
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { NotFoundError7, MessageNotFoundError2, MessageNotAssistantError2, MessageIncompleteError2, MessageToolIncompleteError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./websearch-8xch1t93.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service69
|
|
13
|
+
} from "./websearch-g196mbqx.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service71
|
|
16
|
+
} from "./websearch-pn3svwfm.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin40
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin40 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service69;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service71;
|
|
42
|
+
const watcher = yield* Service61;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin40, exports_instruction };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-awadhvm4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-a1bz86dw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./websearch-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info4,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service26,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node31,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info4 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service26 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make20({
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service80;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service26.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node31 = makeLocationNode({ service: Service26, layer, deps: [node85] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service26, node31, exports_instruction_entry };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin10
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin10 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin26 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin10, exports_mcp_codemode_exclusion };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-c7ecgrk6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
ID16
|
|
7
|
+
} from "./websearch-yvmq8qxx.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/openrouter.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
evt.provider.update(item.provider.id, (provider) => {
|
|
22
22
|
provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
|
|
23
23
|
});
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID16.make("gpt-5-chat-latest"), ID16.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!item.models.has(modelID))
|
|
26
26
|
continue;
|
|
27
27
|
evt.model.update(item.provider.id, modelID, (model) => {
|