@opencode/core 0.0.0-dev-20472 → 0.0.0-dev-20476
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{tool-jcws1aax.js → instance-01wg1yqz.js} +30 -30
- package/dist/chunks/{tool-6yrb0ee6.js → instance-0bz65bjs.js} +46 -46
- package/dist/chunks/{tool-vx3qjymf.js → instance-0c9k0mz0.js} +83 -83
- package/dist/chunks/{tool-5rrd0wgj.js → instance-0eqhm7rh.js} +12 -12
- package/dist/chunks/{tool-0paq2nw3.js → instance-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-r98e92ep.js → instance-0v53mg2y.js} +4 -4
- package/dist/chunks/{tool-r4w453tt.js → instance-0v737x6s.js} +15 -15
- package/dist/chunks/{tool-0vbcp93d.js → instance-0vbcp93d.js} +2 -2
- package/dist/chunks/{tool-3ensxc03.js → instance-0wk1nske.js} +12 -12
- package/dist/chunks/{tool-prwmz47j.js → instance-18ebv095.js} +11 -11
- package/dist/chunks/{tool-7z0hsedk.js → instance-19vsgebf.js} +10 -10
- package/dist/chunks/{tool-1acjjqhc.js → instance-1acjjqhc.js} +1 -1
- package/dist/chunks/{tool-1dazxqgg.js → instance-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-6mz873gg.js → instance-1fy2xeby.js} +35 -35
- package/dist/chunks/{tool-tzhbwgz4.js → instance-1hb1smca.js} +37 -37
- package/dist/chunks/{tool-tk14y25j.js → instance-1pxz8ven.js} +5 -5
- package/dist/chunks/{tool-x2ywm3mq.js → instance-1ry3jr5c.js} +10 -10
- package/dist/chunks/{tool-21r38tys.js → instance-21r38tys.js} +1 -1
- package/dist/chunks/{tool-w3v0pvk9.js → instance-232eb19v.js} +12 -12
- package/dist/chunks/{tool-n9p5arwt.js → instance-25djnbww.js} +28 -28
- package/dist/chunks/{tool-2a5m3afh.js → instance-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-3sthn561.js → instance-2e0rs3cs.js} +16 -16
- package/dist/chunks/{tool-4pf9cp6z.js → instance-2j29jmpr.js} +8 -8
- package/dist/chunks/{tool-0jwsre1p.js → instance-2k8khapm.js} +5 -5
- package/dist/chunks/instance-2n6vf0pk.js +507 -0
- package/dist/chunks/{tool-w3nq1sqw.js → instance-2zmfhp2c.js} +9 -9
- package/dist/chunks/{tool-5hjzwc51.js → instance-36da6jvz.js} +26 -26
- package/dist/chunks/{tool-h2b79v29.js → instance-3cegwx68.js} +2 -2
- package/dist/chunks/{tool-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-64mbz47k.js → instance-3hdwt0xa.js} +6 -6
- package/dist/chunks/{tool-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-adrzke39.js → instance-3v5tjer0.js} +9 -9
- package/dist/chunks/{tool-55n934x1.js → instance-3w2qwj5y.js} +11 -11
- package/dist/chunks/{tool-3zsf4n22.js → instance-3zsf4n22.js} +1 -1
- package/dist/chunks/{tool-k3vbf9cz.js → instance-48e62kpt.js} +13 -13
- package/dist/chunks/{tool-fxp95myf.js → instance-4b7cd9tp.js} +17 -17
- package/dist/chunks/{tool-h6nxw0pd.js → instance-4jk0qxj4.js} +6 -6
- package/dist/chunks/{tool-dq6jrfnm.js → instance-4mxhd8dc.js} +23 -23
- package/dist/chunks/{tool-0qa6hg2d.js → instance-4n25jbh7.js} +5 -5
- package/dist/chunks/{tool-4ts7tf6z.js → instance-4ts7tf6z.js} +2 -2
- package/dist/chunks/instance-4vq385ec.js +252 -0
- package/dist/chunks/{tool-hva7ke4f.js → instance-51xp84zw.js} +22 -22
- package/dist/chunks/{tool-39087s82.js → instance-5462znf8.js} +5 -5
- package/dist/chunks/{tool-54ma36ye.js → instance-54ma36ye.js} +1 -1
- package/dist/chunks/{tool-p2fthcwt.js → instance-5a5z1rw4.js} +8 -8
- package/dist/chunks/{tool-5daktx2q.js → instance-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-tb0c9yyk.js → instance-5gq2eeca.js} +24 -24
- package/dist/chunks/{tool-5t3nmthw.js → instance-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-ndqtf2h8.js → instance-5yeq06a0.js} +7 -7
- package/dist/chunks/instance-619r8v3y.js +18 -0
- package/dist/chunks/{tool-669tq793.js → instance-669tq793.js} +1 -1
- package/dist/chunks/{tool-6hh8tjw2.js → instance-6hh8tjw2.js} +1 -1
- package/dist/chunks/{tool-2t0ky1d2.js → instance-6jyara3m.js} +13 -13
- package/dist/chunks/{tool-mp1xsmy4.js → instance-6mv4twmg.js} +11 -11
- package/dist/chunks/{tool-rx58ztr1.js → instance-6nj48chv.js} +7 -7
- package/dist/chunks/{tool-6f0yry1r.js → instance-6qz5skr7.js} +19 -19
- package/dist/chunks/{tool-xagah8e0.js → instance-6xk0jnn4.js} +5 -5
- package/dist/chunks/{tool-3r13hppx.js → instance-746ykzny.js} +2 -2
- package/dist/chunks/{tool-8nykf3n3.js → instance-79fx3xr2.js} +22 -22
- package/dist/chunks/{tool-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-azvg6g4c.js → instance-7p8jtpv4.js} +6 -6
- package/dist/chunks/{tool-pg4efk5v.js → instance-7rsb2ppx.js} +23 -23
- package/dist/chunks/{tool-pg6zqtd0.js → instance-7tvha9pt.js} +3 -3
- package/dist/chunks/{tool-ze55f0m3.js → instance-80ggeeef.js} +28 -28
- package/dist/chunks/{tool-s26hbv8p.js → instance-80scg3y3.js} +4 -4
- package/dist/chunks/{tool-1dvck2a7.js → instance-84h8c373.js} +2 -2
- package/dist/chunks/{tool-84txncab.js → instance-84txncab.js} +1 -1
- package/dist/chunks/{tool-mvzzranc.js → instance-8a71zkax.js} +21 -21
- package/dist/chunks/{tool-8d7r5vzw.js → instance-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-2vs2nh1n.js → instance-8gxqpgph.js} +4 -4
- package/dist/chunks/{tool-17e7mjev.js → instance-8vpghwyk.js} +9 -9
- package/dist/chunks/{tool-83zz9by4.js → instance-8ztq0vvp.js} +10 -10
- package/dist/chunks/{tool-4ve89d8e.js → instance-97251qbp.js} +6 -6
- package/dist/chunks/{tool-46j8w8vf.js → instance-9809j148.js} +15 -15
- package/dist/chunks/{tool-kkbh4h1z.js → instance-9abh92c7.js} +23 -23
- package/dist/chunks/{tool-367tnyhe.js → instance-9vr3szkz.js} +15 -15
- package/dist/chunks/{tool-9eyjn78q.js → instance-9x4b2052.js} +30 -30
- package/dist/chunks/{tool-at1kfnmk.js → instance-a2qe2ev9.js} +8 -8
- package/dist/chunks/{tool-a694798e.js → instance-a694798e.js} +5 -5
- package/dist/chunks/{tool-0gtjmwnv.js → instance-a6t3fmq5.js} +27 -27
- package/dist/chunks/{tool-aaet6srn.js → instance-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-068serwz.js → instance-addxnjmp.js} +4 -4
- package/dist/chunks/{tool-35nvda3r.js → instance-adnf1z0x.js} +24 -24
- package/dist/chunks/{tool-4h10ah5b.js → instance-akkfc5de.js} +8 -8
- package/dist/chunks/{tool-emd75jk3.js → instance-aq0y7818.js} +8 -8
- package/dist/chunks/{tool-0psyspmj.js → instance-aw9d3d2x.js} +17 -17
- package/dist/chunks/{tool-cq43qyqm.js → instance-b3vavpdr.js} +15 -15
- package/dist/chunks/{tool-cfsekr6v.js → instance-b4twkq7r.js} +6 -6
- package/dist/chunks/{tool-b6gygkdw.js → instance-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-2xap9sjc.js → instance-bbbdzr42.js} +26 -26
- package/dist/chunks/{tool-d0w45w1g.js → instance-bwtbar9r.js} +6 -6
- package/dist/chunks/{tool-jn6gv895.js → instance-bzz1zx5q.js} +23 -23
- package/dist/chunks/{tool-sp2t3vey.js → instance-c4360nc7.js} +27 -27
- package/dist/chunks/{tool-f3y2xgd9.js → instance-c43p3acc.js} +22 -22
- package/dist/chunks/{tool-bzchk968.js → instance-c593kggh.js} +12 -12
- package/dist/chunks/{tool-6713qhv3.js → instance-c73sfpsx.js} +3 -3
- package/dist/chunks/instance-c74ypyny.js +26 -0
- package/dist/chunks/{tool-nas0hrdm.js → instance-ccankje6.js} +28 -28
- package/dist/chunks/{tool-7wnkabmt.js → instance-ckcmchv9.js} +12 -12
- package/dist/chunks/{tool-d6x8wjh2.js → instance-cvekx5je.js} +40 -40
- package/dist/chunks/{tool-cxhqznm4.js → instance-cxcvymjt.js} +35 -35
- package/dist/chunks/{tool-b8svndy5.js → instance-cyd7m5m9.js} +15 -15
- package/dist/chunks/{tool-bxy1ctzg.js → instance-d7y20y2n.js} +11 -11
- package/dist/chunks/{tool-59376ey9.js → instance-dpxaqvjw.js} +11 -11
- package/dist/chunks/{tool-ndknajfb.js → instance-dv3mmeeq.js} +21 -21
- package/dist/chunks/{tool-0ma4vy4p.js → instance-dxxqjbv7.js} +4 -4
- package/dist/chunks/{tool-rg7q0c5m.js → instance-dy3ned2z.js} +28 -28
- package/dist/chunks/{tool-j0yek2qa.js → instance-e521br1y.js} +22 -22
- package/dist/chunks/{tool-qcjxs7e0.js → instance-e7s1avkw.js} +29 -29
- package/dist/chunks/{tool-ef5x83kb.js → instance-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-hv7gj7jm.js → instance-egg9xjc7.js} +73 -73
- package/dist/chunks/{tool-0vz2twak.js → instance-ert7ja4f.js} +16 -16
- package/dist/chunks/{tool-gvv136sf.js → instance-esc0t9mz.js} +4 -4
- package/dist/chunks/{tool-etq0c3wd.js → instance-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-3vddgz3b.js → instance-eyz64kwr.js} +6 -6
- package/dist/chunks/{tool-n1edfwxj.js → instance-ezszgray.js} +4 -4
- package/dist/chunks/{tool-qkfezwh6.js → instance-f00eh3k7.js} +11 -11
- package/dist/chunks/{tool-89fvn49q.js → instance-f5brqk13.js} +34 -34
- package/dist/chunks/{tool-71az546q.js → instance-f75zav2x.js} +2 -2
- package/dist/chunks/{tool-3hqn980y.js → instance-fbxnhb59.js} +24 -24
- package/dist/chunks/{tool-rh254cas.js → instance-fepyq996.js} +22 -22
- package/dist/chunks/{tool-rtsswkxs.js → instance-fh6v5ga4.js} +22 -22
- package/dist/chunks/{tool-rvwqj9y7.js → instance-fk1cp8tx.js} +50 -50
- package/dist/chunks/{tool-xvfphvy7.js → instance-fr6zwza1.js} +44 -44
- package/dist/chunks/{tool-g5w8qwbj.js → instance-g5w8qwbj.js} +1 -1
- package/dist/chunks/{tool-djszqvmq.js → instance-g6q9qykm.js} +9 -9
- package/dist/chunks/{tool-etpckvav.js → instance-g8jhgfrm.js} +11 -11
- package/dist/chunks/{tool-n5w4zgy3.js → instance-g8kt12y3.js} +5 -5
- package/dist/chunks/{tool-72rw85ce.js → instance-g8ytx0e6.js} +11 -11
- package/dist/chunks/{tool-v9k40k21.js → instance-g9hetd9t.js} +11 -11
- package/dist/chunks/{tool-j92d0j7v.js → instance-ga2czjs0.js} +37 -37
- package/dist/chunks/{tool-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-gce79w0q.js → instance-gzy9xfrv.js} +19 -19
- package/dist/chunks/{tool-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-89t0bv35.js → instance-h8dark0n.js} +91 -91
- package/dist/chunks/{tool-331jtpav.js → instance-h9277kzw.js} +7 -7
- package/dist/chunks/{tool-4mwpykj0.js → instance-hdab2k61.js} +6 -6
- package/dist/chunks/{tool-scgrse2b.js → instance-hdkng2sj.js} +5 -5
- package/dist/chunks/{tool-wxyynt4w.js → instance-hekxc47r.js} +1 -1
- package/dist/chunks/{tool-8sbrsbjz.js → instance-hhrtmvyg.js} +32 -32
- package/dist/chunks/{tool-mx83wbf3.js → instance-hrvwh63m.js} +6 -6
- package/dist/chunks/{tool-xdf1fj3c.js → instance-htn17qhj.js} +40 -40
- package/dist/chunks/{tool-j56e64zr.js → instance-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-6f1n1136.js → instance-j8tzgt58.js} +28 -28
- package/dist/chunks/{tool-jad3eb5n.js → instance-jadz3b08.js} +3 -3
- package/dist/chunks/{tool-s73kxs4y.js → instance-jd1ny4tp.js} +27 -27
- package/dist/chunks/{tool-fw3dky2w.js → instance-jtrk7n88.js} +15 -15
- package/dist/chunks/{tool-rbch4nfr.js → instance-jv3dn8t5.js} +27 -27
- package/dist/chunks/{tool-k2h4r4s0.js → instance-jw80jp6b.js} +4 -4
- package/dist/chunks/{tool-f5gy8qwh.js → instance-k1qrnqst.js} +8 -8
- package/dist/chunks/{tool-xa1b8akp.js → instance-k4g1x1vc.js} +24 -24
- package/dist/chunks/{tool-ev9z8jfx.js → instance-k4xgjck9.js} +5 -5
- package/dist/chunks/{tool-g9xjst3r.js → instance-k70bh5dh.js} +19 -19
- package/dist/chunks/{tool-8a6ws7jr.js → instance-k70p9jzb.js} +9 -9
- package/dist/chunks/{tool-9e5bzkjp.js → instance-kb9j3d72.js} +3 -3
- package/dist/chunks/{tool-56r9g34b.js → instance-kkf1yk8m.js} +21 -21
- package/dist/chunks/{tool-ftynxttp.js → instance-kqr04ykg.js} +15 -15
- package/dist/chunks/{tool-3dxcfbvg.js → instance-krrqp0kr.js} +8 -8
- package/dist/chunks/{tool-pbcje335.js → instance-ktndhprr.js} +13 -13
- package/dist/chunks/{tool-mydkh4yr.js → instance-kz3sz2wn.js} +24 -24
- package/dist/chunks/{tool-m3fdjcah.js → instance-m3fdjcah.js} +1 -1
- package/dist/chunks/{tool-xhf2mpzw.js → instance-m3j82fkz.js} +20 -20
- package/dist/chunks/{tool-8vg2w7m1.js → instance-m3j8y7ec.js} +3 -3
- package/dist/chunks/{tool-0h1m2r9k.js → instance-m99xjc8s.js} +10 -10
- package/dist/chunks/{tool-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-mazbtkaa.js → instance-mazbtkaa.js} +2 -2
- package/dist/chunks/{tool-33w4ejhs.js → instance-mfqp6xfm.js} +9 -9
- package/dist/chunks/{tool-f4rymznk.js → instance-mkqzfx4b.js} +13 -13
- package/dist/chunks/{tool-q0vx6mrg.js → instance-mpzz8whs.js} +11 -11
- package/dist/chunks/{tool-mpcan42b.js → instance-my0g8vxz.js} +9 -9
- package/dist/chunks/{tool-dxjv2ykb.js → instance-n1zptjba.js} +17 -17
- package/dist/chunks/{tool-zkd6xqbv.js → instance-n78ae22e.js} +1 -1
- package/dist/chunks/{tool-4nj4bn9q.js → instance-n9j73x72.js} +9 -9
- package/dist/chunks/{tool-zepa019x.js → instance-nbsy6p1t.js} +14 -14
- package/dist/chunks/{tool-qhyrk8n4.js → instance-nd0j4rpa.js} +8 -8
- package/dist/chunks/{tool-nzk3n54h.js → instance-nkc75drr.js} +22 -22
- package/dist/chunks/{tool-k3xmg675.js → instance-nm972z9d.js} +16 -16
- package/dist/chunks/{tool-a5my4mnh.js → instance-nw32y057.js} +45 -45
- package/dist/chunks/{tool-q4bnvgms.js → instance-nw4t76p1.js} +185 -185
- package/dist/chunks/{tool-dpkg50ah.js → instance-nxm207yx.js} +4 -4
- package/dist/chunks/{tool-h85krvk7.js → instance-nxxntxbk.js} +56 -56
- package/dist/chunks/{tool-grq1sczm.js → instance-p03w4rrh.js} +11 -11
- package/dist/chunks/{tool-sjgd5m2j.js → instance-p273wrj4.js} +9 -9
- package/dist/chunks/{tool-5yzzbxa7.js → instance-p42hj8p8.js} +8 -8
- package/dist/chunks/{tool-gw7cjrad.js → instance-p6wxjpka.js} +4 -4
- package/dist/chunks/{tool-pf2hb43r.js → instance-pf2hb43r.js} +1 -1
- package/dist/chunks/{tool-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → instance-pknna89w.js} +1 -1
- package/dist/chunks/{tool-2ywzxrtj.js → instance-pn4nth1p.js} +44 -44
- package/dist/chunks/{tool-b8y6m0vr.js → instance-ppbmff8h.js} +13 -13
- package/dist/chunks/{tool-5hsj21bq.js → instance-prz49x53.js} +12 -12
- package/dist/chunks/{tool-h2fzzx8t.js → instance-ps54kkyr.js} +6 -6
- package/dist/chunks/{tool-q0xm7vwc.js → instance-q0xm7vwc.js} +2 -2
- package/dist/chunks/{tool-0xvj5dy1.js → instance-q1k75mjk.js} +10 -10
- package/dist/chunks/{tool-93hpb89x.js → instance-q3t37ft6.js} +3 -3
- package/dist/chunks/{tool-4xh45ynr.js → instance-qca96x6y.js} +13 -13
- package/dist/chunks/{tool-kxcd4fwb.js → instance-qe8bxjyt.js} +5 -5
- package/dist/chunks/{tool-qnc92qwc.js → instance-qnc92qwc.js} +1 -1
- package/dist/chunks/{tool-3q5heb5a.js → instance-qp96w36v.js} +1 -1
- package/dist/chunks/{tool-a2954sdm.js → instance-qq22e6m5.js} +19 -19
- package/dist/chunks/{tool-w9wcng5w.js → instance-qrgrefkk.js} +12 -12
- package/dist/chunks/{tool-qsdy395h.js → instance-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-7dkh56cg.js → instance-qwh1g3nc.js} +38 -38
- package/dist/chunks/{tool-xyafkbt0.js → instance-qxjc9qry.js} +3 -3
- package/dist/chunks/{tool-0wt4yx46.js → instance-r00qyvb3.js} +3 -3
- package/dist/chunks/{tool-hvb31e4h.js → instance-r0apxah9.js} +18 -18
- package/dist/chunks/{tool-73tb2d7t.js → instance-r5x6zcsm.js} +3 -3
- package/dist/chunks/{tool-xv2d93bz.js → instance-r9kcywd8.js} +8 -8
- package/dist/chunks/{tool-xf69e5gb.js → instance-rdcxwqtg.js} +8 -8
- package/dist/chunks/{tool-rdw6cm16.js → instance-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-150yg2gd.js → instance-reg6q42h.js} +5 -5
- package/dist/chunks/{tool-h8jdcdjx.js → instance-s6y4vwmw.js} +13 -13
- package/dist/chunks/{tool-8efxrb1d.js → instance-s7t9xjzd.js} +5 -5
- package/dist/chunks/{tool-sg9xgrkp.js → instance-scwdmt5m.js} +4 -4
- package/dist/chunks/{tool-bnfyw5ja.js → instance-sdas1p27.js} +4 -4
- package/dist/chunks/{tool-var7mrn0.js → instance-se4agfh7.js} +59 -59
- package/dist/chunks/{tool-hwzc49pr.js → instance-sgmq1jmv.js} +20 -20
- package/dist/chunks/{tool-vqzmbesx.js → instance-shhkxfat.js} +9 -9
- package/dist/chunks/{tool-p9dad75k.js → instance-snvf0g6c.js} +44 -44
- package/dist/chunks/{tool-vn72gsba.js → instance-sqvzcy4n.js} +4 -4
- package/dist/chunks/{tool-g7xsht76.js → instance-ss33t2y8.js} +8 -8
- package/dist/chunks/{tool-53eqz1v2.js → instance-sya75y6y.js} +2 -2
- package/dist/chunks/{tool-xw2p2fks.js → instance-t46zvw5b.js} +18 -18
- package/dist/chunks/{tool-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-tcezcvh9.js → instance-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-tdstcens.js → instance-tdstcens.js} +1 -1
- package/dist/chunks/{tool-pjf8abb1.js → instance-tm20e9w4.js} +14 -14
- package/dist/chunks/{tool-yexd41ms.js → instance-txb6s9yv.js} +11 -11
- package/dist/chunks/{tool-ekpgh6d5.js → instance-tyvawhmd.js} +19 -19
- package/dist/chunks/{tool-sb3r03a7.js → instance-v0a0h8wg.js} +25 -25
- package/dist/chunks/{tool-7zrcenrt.js → instance-v1spfc0f.js} +32 -32
- package/dist/chunks/{tool-va7zg5qg.js → instance-v25z6dve.js} +39 -39
- package/dist/chunks/{tool-1m5kq2rb.js → instance-v4xdwztb.js} +8 -8
- package/dist/chunks/{tool-n2ckjg3g.js → instance-v6neg5j4.js} +27 -27
- package/dist/chunks/{tool-veqvce7d.js → instance-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-0xqyf95c.js → instance-vfjhn2wd.js} +4 -4
- package/dist/chunks/{tool-4gtnaf1q.js → instance-vhnpw4kp.js} +33 -33
- package/dist/chunks/{tool-wpd1znwd.js → instance-vjv7x8zx.js} +14 -14
- package/dist/chunks/{tool-qws6d5dh.js → instance-vsf41ajb.js} +19 -19
- package/dist/chunks/{tool-5qwkxp89.js → instance-vxzh5eqq.js} +4 -4
- package/dist/chunks/{tool-n5bh2s1p.js → instance-vz19va3m.js} +24 -24
- package/dist/chunks/{tool-vzcthcp8.js → instance-vzcthcp8.js} +1 -1
- package/dist/chunks/{tool-2tmdj2y2.js → instance-vzd0z6pq.js} +54 -54
- package/dist/chunks/{tool-vzs5sf6e.js → instance-vzs5sf6e.js} +1 -1
- package/dist/chunks/{tool-01vj6crb.js → instance-w2gt052g.js} +11 -11
- package/dist/chunks/{tool-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-8aaqm6qj.js → instance-w3x9v1nk.js} +8 -8
- package/dist/chunks/{tool-2rwb967c.js → instance-w869r1qx.js} +34 -34
- package/dist/chunks/{tool-wk3n8732.js → instance-w9r1ynnv.js} +5 -5
- package/dist/chunks/{tool-wd87259q.js → instance-wd87259q.js} +1 -1
- package/dist/chunks/{tool-apw32n9p.js → instance-wg3trc7r.js} +33 -33
- package/dist/chunks/{tool-90p59b3a.js → instance-wh3mwy9y.js} +8 -8
- package/dist/chunks/{tool-9t7a50xb.js → instance-wv396vej.js} +6 -6
- package/dist/chunks/{tool-x1ezjp6w.js → instance-x1ezjp6w.js} +1 -1
- package/dist/chunks/{tool-jgb1x1d9.js → instance-x2357nd8.js} +48 -48
- package/dist/chunks/{tool-798nffs7.js → instance-x4vjby4r.js} +7 -7
- package/dist/chunks/{tool-frna90m0.js → instance-x5xbtv5g.js} +19 -19
- package/dist/chunks/{tool-je52f75z.js → instance-x8qq0baj.js} +10 -10
- package/dist/chunks/{tool-m028xtpq.js → instance-xegt7ebh.js} +22 -22
- package/dist/chunks/{tool-d1mxnk9b.js → instance-xfff5fz6.js} +5 -5
- package/dist/chunks/{tool-5spq5w86.js → instance-xkfs854w.js} +33 -33
- package/dist/chunks/{tool-xkntkrq7.js → instance-xkntkrq7.js} +2 -2
- package/dist/chunks/{tool-16rtyza8.js → instance-xp46kt7b.js} +25 -25
- package/dist/chunks/{tool-zb7rsj08.js → instance-xw2hpfvb.js} +22 -22
- package/dist/chunks/{tool-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-rnk9zdcq.js → instance-y3znqg9c.js} +33 -33
- package/dist/chunks/{tool-47jkzegy.js → instance-ygdna4kr.js} +5 -5
- package/dist/chunks/{tool-x6kcbe24.js → instance-yr5j8c5n.js} +6 -6
- package/dist/chunks/{tool-yrhqyw5v.js → instance-yrhqyw5v.js} +1 -1
- package/dist/chunks/{tool-fnyka1s1.js → instance-ysns2405.js} +7 -7
- package/dist/chunks/{tool-a3wk7f1b.js → instance-yvzmdd7n.js} +33 -33
- package/dist/chunks/{tool-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-kn3m44fm.js → instance-z0hf0jsk.js} +5 -5
- package/dist/chunks/{tool-7vd0q4gx.js → instance-z3kgr7f9.js} +22 -22
- package/dist/chunks/{tool-5dwsqdnn.js → instance-zaf9x9e7.js} +21 -21
- package/dist/chunks/{tool-0q6e04md.js → instance-zbqfjb44.js} +47 -47
- package/dist/chunks/{tool-j255ygs0.js → instance-zf5qc2da.js} +18 -18
- package/dist/chunks/{tool-p7t1r6rx.js → instance-zmgs3rk6.js} +3 -3
- package/dist/chunks/{tool-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-1egym0t3.js → instance-zrr02gce.js} +38 -38
- package/dist/chunks/{tool-3ym878v0.js → instance-zwb17bx0.js} +22 -22
- package/dist/chunks/{tool-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
- package/dist/chunks/{tool-5sb33w33.js → instance-zz9bj52c.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +99 -99
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +224 -224
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +87 -87
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/tool-99qazkpk.js +0 -26
- package/dist/chunks/tool-hqm5br06.js +0 -507
- package/dist/chunks/tool-ht5y0zrb.js +0 -18
- package/dist/chunks/tool-zm2m1bym.js +0 -252
- /package/dist/chunks/{tool-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → instance-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → instance-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-34c7v6d4.js → instance-34c7v6d4.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → instance-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → instance-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → instance-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → instance-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → instance-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → instance-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5qd3pb7m.js → instance-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → instance-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → instance-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → instance-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → instance-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → instance-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → instance-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → instance-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → instance-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → instance-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → instance-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → instance-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → instance-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → instance-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → instance-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → instance-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → instance-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → instance-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → instance-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hjbc5kem.js → instance-hjbc5kem.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → instance-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → instance-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → instance-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → instance-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → instance-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → instance-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-sk3qaz4a.js → instance-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → instance-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → instance-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → instance-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → instance-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → instance-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → instance-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → instance-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → instance-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → instance-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → instance-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-jadz3b08.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./instance-hdab2k61.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-619r8v3y.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-p6wxjpka.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-2j29jmpr.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-xp46kt7b.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service30
|
|
21
|
+
} from "./instance-0c9k0mz0.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./instance-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service51;
|
|
36
36
|
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service30;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-xkfs854w.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-yvzmdd7n.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve4
|
|
16
16
|
});
|
|
17
|
-
function
|
|
17
|
+
function resolve4(model, supports = [{ type: "effort" }]) {
|
|
18
18
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
19
19
|
if (!protocol)
|
|
20
20
|
return [];
|
|
@@ -511,4 +511,4 @@ var PROTOCOLS = {
|
|
|
511
511
|
[aisdk2("@jerome-benoit/sap-ai-provider-v2")]: sapAICore
|
|
512
512
|
};
|
|
513
513
|
|
|
514
|
-
export {
|
|
514
|
+
export { resolve4, exports_variant };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-jadz3b08.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service72,
|
|
17
|
+
node: () => node76
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service72 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service72.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node76 = makeGlobalNode({ service: Service72, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service72, node76, exports_kv };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID15 = Session.ID;
|
|
5
|
+
var Info30 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID15, Info30, SessionSchema2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-nxm207yx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service62,
|
|
6
|
+
node64
|
|
7
|
+
} from "./instance-kz3sz2wn.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service17,
|
|
17
|
+
node: () => node19,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service17 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service62;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service17.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node19 = makeLocationNode({ service: Service17, layer, deps: [node64] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service17, readText2, syncTextBom2, node19, exports_file_mutation };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./instance-xkfs854w.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID8.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-jadz3b08.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./instance-0eqhm7rh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./instance-hdab2k61.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
14
|
ID5,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service54
|
|
16
|
+
} from "./instance-zaf9x9e7.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instance-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./instance-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./instance-eyz64kwr.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./instance-kb9j3d72.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./instance-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -41,11 +41,11 @@ __export(exports_revert, {
|
|
|
41
41
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
44
|
+
const instances = yield* Service51;
|
|
45
45
|
const database = yield* Service84;
|
|
46
|
-
const bus = yield*
|
|
46
|
+
const bus = yield* Service82;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
48
|
+
const snapshot = yield* Service54;
|
|
49
49
|
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
@@ -73,10 +73,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
73
|
}).pipe(instances.provide(input.session));
|
|
74
74
|
});
|
|
75
75
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
77
|
-
const bus = yield*
|
|
76
|
+
const instances = yield* Service51;
|
|
77
|
+
const bus = yield* Service82;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service54;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
82
|
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./instance-0bz65bjs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service13
|
|
6
|
+
} from "./instance-k1qrnqst.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin18
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin18 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
29
|
-
const managed = yield*
|
|
28
|
+
const config = yield* Service45;
|
|
29
|
+
const managed = yield* Service13;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
32
32
|
const organization = managed.current();
|
|
@@ -57,4 +57,4 @@ var Plugin46 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin18, exports_policy };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-addxnjmp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./instance-0eqhm7rh.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./instance-vhnpw4kp.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instance-cxcvymjt.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID8,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service68
|
|
20
|
+
} from "./instance-xkfs854w.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID7
|
|
23
|
+
} from "./instance-yvzmdd7n.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./instance-fh6v5ga4.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instance-aq0y7818.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID16
|
|
33
|
+
} from "./instance-adnf1z0x.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./instance-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID9.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,8 +163,8 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
167
|
-
const bus = yield*
|
|
166
|
+
const providers = yield* Service68;
|
|
167
|
+
const bus = yield* Service82;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID8.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
|
-
try: () =>
|
|
185
|
+
try: () => load2(url, {
|
|
186
186
|
...provider?.headers,
|
|
187
187
|
Authorization: `Bearer ${credential.refresh}`,
|
|
188
188
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID8.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
209
209
|
evt.add({
|
|
210
210
|
info: item.provider,
|
|
211
|
-
models: Array.from(
|
|
211
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
212
212
|
sourceConnection: loaded.connection
|
|
213
213
|
});
|
|
214
214
|
return;
|
|
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
224
|
yield* ctx.model.transform((models) => {
|
|
225
|
-
if (models.get(
|
|
226
|
-
models.update(
|
|
225
|
+
if (models.get(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
|
|
226
|
+
models.update(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
|
|
227
227
|
model.enabled = false;
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
232
|
-
yield* bus.subscribe(
|
|
232
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
233
233
|
yield* refresh().pipe(Effect.forkScoped);
|
|
234
234
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
235
|
-
if (evt.model.providerID !==
|
|
235
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
236
236
|
return;
|
|
237
237
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
238
238
|
return;
|
|
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
241
241
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
242
242
|
}));
|
|
243
243
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
247
247
|
return;
|
|
@@ -251,13 +251,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
251
251
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
252
252
|
if (interaction !== "conversation-agent")
|
|
253
253
|
evt.headers["x-initiator"] = "agent";
|
|
254
|
-
}), { providerID:
|
|
254
|
+
}), { providerID: ID8.githubCopilot });
|
|
255
255
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
256
|
-
if (evt.model.providerID !==
|
|
256
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
260
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
260
|
+
const agent = yield* ctx.agent.get({ agentID: ID16.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
261
261
|
return;
|
|
262
262
|
}));
|
|
263
263
|
if (agent?.data.model)
|
|
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
268
268
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
|
-
}), { providerID:
|
|
271
|
+
}), { providerID: ID8.githubCopilot });
|
|
272
272
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
273
|
-
if (evt.model.providerID !==
|
|
273
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
274
274
|
return;
|
|
275
275
|
const token = evt.request.headers.get("x-api-key");
|
|
276
276
|
if (!token)
|
|
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
278
278
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
279
279
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
280
280
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
281
|
-
}), { providerID:
|
|
281
|
+
}), { providerID: ID8.githubCopilot });
|
|
282
282
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
283
|
-
if (evt.model.providerID !==
|
|
283
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
284
284
|
return;
|
|
285
285
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
286
286
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instance-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./instance-xkfs854w.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.integration.transform((editor) => {
|
|
20
20
|
editor.method.update({
|
|
21
|
-
integrationID:
|
|
21
|
+
integrationID: ID8.amazonBedrock,
|
|
22
22
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
23
23
|
});
|
|
24
24
|
});
|