@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,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./instance-0eqhm7rh.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instance-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./instance-n1zptjba.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID8,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service68,
|
|
20
|
+
node72,
|
|
21
|
+
Event14
|
|
22
|
+
} from "./instance-xkfs854w.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./instance-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,26 +30,26 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event13,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID7,
|
|
36
|
+
Info: () => Info21,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service67,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node70,
|
|
45
45
|
parse: () => parse5
|
|
46
46
|
});
|
|
47
47
|
import { Model } from "@opencode/schema/model";
|
|
48
48
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import { freeze } from "immer";
|
|
51
|
-
import { Event as
|
|
52
|
-
var
|
|
51
|
+
import { Event as Event13 } from "@opencode/schema/model";
|
|
52
|
+
var ID7 = Model.ID;
|
|
53
53
|
var VariantID2 = Model.VariantID;
|
|
54
54
|
var Family2 = Model.Family;
|
|
55
55
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -65,14 +65,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
65
65
|
};
|
|
66
66
|
var Cost2 = Model.Cost;
|
|
67
67
|
var Ref2 = Model.Ref;
|
|
68
|
-
var
|
|
68
|
+
var Info21 = Model.Info;
|
|
69
69
|
|
|
70
|
-
class
|
|
70
|
+
class Service67 extends Context.Service()("@opencode/Model") {
|
|
71
71
|
}
|
|
72
|
-
var layer = Layer.effect(
|
|
73
|
-
const providers = yield*
|
|
74
|
-
const bus = yield*
|
|
75
|
-
const location = yield*
|
|
72
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
73
|
+
const providers = yield* Service68;
|
|
74
|
+
const bus = yield* Service82;
|
|
75
|
+
const location = yield* Service80;
|
|
76
76
|
let input;
|
|
77
77
|
const state = create3({
|
|
78
78
|
name: "model",
|
|
@@ -117,7 +117,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
117
117
|
const models = writable(providerID);
|
|
118
118
|
if (!models)
|
|
119
119
|
return;
|
|
120
|
-
const model = draft(providerID, modelID) ??
|
|
120
|
+
const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
|
|
121
121
|
update(model);
|
|
122
122
|
model.id = modelID;
|
|
123
123
|
model.providerID = providerID;
|
|
@@ -206,8 +206,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
206
206
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
207
207
|
});
|
|
208
208
|
});
|
|
209
|
-
yield* bus.subscribe(
|
|
210
|
-
return
|
|
209
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
210
|
+
return Service67.of({
|
|
211
211
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
212
212
|
reload,
|
|
213
213
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -226,7 +226,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
226
226
|
})
|
|
227
227
|
});
|
|
228
228
|
}));
|
|
229
|
-
var
|
|
229
|
+
var node70 = makeLocationNode({ service: Service67, layer, deps: [node72, node86, node84] });
|
|
230
230
|
function compatibility2(input) {
|
|
231
231
|
if (typeof input === "string")
|
|
232
232
|
return { reasoningField: input };
|
|
@@ -237,9 +237,9 @@ function compatibility2(input) {
|
|
|
237
237
|
function parse5(input) {
|
|
238
238
|
const index = input.indexOf("/");
|
|
239
239
|
return {
|
|
240
|
-
providerID:
|
|
241
|
-
modelID:
|
|
240
|
+
providerID: ID8.make(index === -1 ? input : input.slice(0, index)),
|
|
241
|
+
modelID: ID7.make(index === -1 ? "" : input.slice(index + 1))
|
|
242
242
|
};
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
export {
|
|
245
|
+
export { ID7, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service67, node70, compatibility2, parse5, exports_model2, Event13 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./instance-xkfs854w.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-aq0y7818.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
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID9,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instance-cxcvymjt.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID8,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service68
|
|
22
|
+
} from "./instance-xkfs854w.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID7,
|
|
25
|
+
Info21
|
|
26
|
+
} from "./instance-yvzmdd7n.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instance-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID8.gitlab;
|
|
39
|
+
var integrationID = ID9.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,8 +57,8 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
61
|
-
const bus = yield*
|
|
60
|
+
const providers = yield* Service68;
|
|
61
|
+
const bus = yield* Service82;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
64
64
|
const loaded = {};
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info21.default(providerID, ID7.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID8.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service83,
|
|
9
|
+
node87
|
|
10
|
+
} from "./instance-ckcmchv9.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service80,
|
|
13
|
+
node84
|
|
14
|
+
} from "./instance-n1zptjba.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instance-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instance-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
26
|
ID: () => ID5,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service54,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node56,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service54 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service83;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service54.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node56 = makeLocationNode({
|
|
144
|
+
service: Service54,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node87, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer3 = Layer.succeed(
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service54, Service54.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -163,4 +163,4 @@ function failure(operation, cause) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export { ID5, Error3,
|
|
166
|
+
export { ID5, Error3, Service54, node56, noopLayer3, exports_snapshot2 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-aq0y7818.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./instance-0eqhm7rh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID10,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event16,
|
|
11
|
+
Service70
|
|
12
|
+
} from "./instance-vhnpw4kp.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-addxnjmp.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID9,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instance-cxcvymjt.js";
|
|
20
20
|
import {
|
|
21
21
|
which2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./instance-qaymkmh1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID8,
|
|
25
|
+
Service68
|
|
26
|
+
} from "./instance-xkfs854w.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID7
|
|
29
|
+
} from "./instance-yvzmdd7n.js";
|
|
30
30
|
import {
|
|
31
31
|
iife2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./instance-1kg9ymc8.js";
|
|
33
33
|
import {
|
|
34
34
|
configuredSettings2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./instance-97251qbp.js";
|
|
36
36
|
|
|
37
37
|
// src/plugin/provider/azure.ts
|
|
38
38
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -67,18 +67,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
67
67
|
}));
|
|
68
68
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
69
69
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
70
|
-
function
|
|
70
|
+
function make10(endpoints = {
|
|
71
71
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
72
72
|
management: "https://management.azure.com"
|
|
73
73
|
}) {
|
|
74
74
|
return define({
|
|
75
75
|
id: "opencode.provider.azure",
|
|
76
76
|
effect: Effect.fn(function* (ctx) {
|
|
77
|
-
const configured = yield* configuredSettings2(
|
|
77
|
+
const configured = yield* configuredSettings2(ID8.azure);
|
|
78
78
|
const processes = yield* AppProcess.Service;
|
|
79
|
-
const bus = yield*
|
|
80
|
-
const credentials = yield*
|
|
81
|
-
const providers = yield*
|
|
79
|
+
const bus = yield* Service82;
|
|
80
|
+
const credentials = yield* Service70;
|
|
81
|
+
const providers = yield* Service68;
|
|
82
82
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
83
83
|
const tokens = new Map;
|
|
84
84
|
const resourceIDs = new Map;
|
|
@@ -116,13 +116,13 @@ function make3(endpoints = {
|
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.integration.transform((editor) => {
|
|
118
118
|
editor.method.update({
|
|
119
|
-
integrationID:
|
|
119
|
+
integrationID: ID8.azure,
|
|
120
120
|
method: { type: "key", label: "API key", form: form() }
|
|
121
121
|
});
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID8.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -152,8 +152,8 @@ function make3(endpoints = {
|
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
155
|
-
const connection = yield* ctx.integration.connection.active(
|
|
156
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
155
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
156
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID10.make(connection.id)) : undefined;
|
|
157
157
|
return { connection, resource: credentialResource(stored?.value) };
|
|
158
158
|
});
|
|
159
159
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -192,7 +192,7 @@ function make3(endpoints = {
|
|
|
192
192
|
}));
|
|
193
193
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
194
194
|
const connection = loaded.connection;
|
|
195
|
-
const settings = (yield* providers.get(
|
|
195
|
+
const settings = (yield* providers.get(ID8.azure))?.settings;
|
|
196
196
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
197
197
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
198
198
|
if (loaded.connection !== connection)
|
|
@@ -214,11 +214,11 @@ function make3(endpoints = {
|
|
|
214
214
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
215
215
|
if (!found)
|
|
216
216
|
return;
|
|
217
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
217
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID8.azure)))
|
|
218
218
|
return;
|
|
219
219
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
220
220
|
return;
|
|
221
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
221
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID8.azure)?.models.keys() ?? [], (id) => [
|
|
222
222
|
id.toLowerCase(),
|
|
223
223
|
id
|
|
224
224
|
]));
|
|
@@ -231,11 +231,11 @@ function make3(endpoints = {
|
|
|
231
231
|
yield* ctx.model.reload();
|
|
232
232
|
});
|
|
233
233
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
234
|
-
const resourceFor = (provider) => provider.id ===
|
|
234
|
+
const resourceFor = (provider) => provider.id === ID8.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
235
235
|
Object.assign(loaded, yield* load());
|
|
236
236
|
yield* ctx.provider.transform((evt) => {
|
|
237
237
|
for (const item of evt.list()) {
|
|
238
|
-
if (item.provider.id !==
|
|
238
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
239
239
|
continue;
|
|
240
240
|
const resourceName = resourceFor(item.provider);
|
|
241
241
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -250,7 +250,7 @@ function make3(endpoints = {
|
|
|
250
250
|
};
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
const item = evt.get(
|
|
253
|
+
const item = evt.get(ID8.azure);
|
|
254
254
|
if (!item)
|
|
255
255
|
return;
|
|
256
256
|
evt.add({
|
|
@@ -261,7 +261,7 @@ function make3(endpoints = {
|
|
|
261
261
|
});
|
|
262
262
|
yield* ctx.model.transform((models) => {
|
|
263
263
|
for (const item of models.provider.list()) {
|
|
264
|
-
if (item.provider.id !==
|
|
264
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
265
265
|
continue;
|
|
266
266
|
const resourceName = resourceFor(item.provider);
|
|
267
267
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -273,20 +273,20 @@ function make3(endpoints = {
|
|
|
273
273
|
}
|
|
274
274
|
if (!loaded.deployments)
|
|
275
275
|
return;
|
|
276
|
-
const catalog = models.list(
|
|
276
|
+
const catalog = models.list(ID8.azure);
|
|
277
277
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
278
278
|
for (const model of catalog) {
|
|
279
279
|
if (!deployed.has(model.id))
|
|
280
|
-
models.remove(
|
|
280
|
+
models.remove(ID8.azure, model.id);
|
|
281
281
|
}
|
|
282
282
|
for (const [id, model] of deployed) {
|
|
283
|
-
models.update(
|
|
283
|
+
models.update(ID8.azure, id, (draft) => Object.assign(draft, model));
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
|
-
yield* bus.subscribe(
|
|
286
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
287
287
|
yield* refresh().pipe(Effect.forkScoped);
|
|
288
288
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
289
|
-
const connection = yield* ctx.integration.connection.active(
|
|
289
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
290
290
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
291
291
|
return;
|
|
292
292
|
})) : undefined;
|
|
@@ -298,7 +298,7 @@ function make3(endpoints = {
|
|
|
298
298
|
return `Bearer ${current.access}`;
|
|
299
299
|
});
|
|
300
300
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
301
|
-
if (evt.model.providerID !==
|
|
301
|
+
if (evt.model.providerID !== ID8.azure)
|
|
302
302
|
return;
|
|
303
303
|
const authorization = yield* bearer(evt.request.url);
|
|
304
304
|
if (!authorization)
|
|
@@ -307,9 +307,9 @@ function make3(endpoints = {
|
|
|
307
307
|
evt.request.headers.delete("x-api-key");
|
|
308
308
|
evt.request.headers.set("authorization", authorization);
|
|
309
309
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
310
|
-
}), { providerID:
|
|
310
|
+
}), { providerID: ID8.azure });
|
|
311
311
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
312
|
-
if (evt.model.providerID !==
|
|
312
|
+
if (evt.model.providerID !== ID8.azure)
|
|
313
313
|
return;
|
|
314
314
|
const authorization = yield* bearer(evt.url);
|
|
315
315
|
if (!authorization)
|
|
@@ -318,11 +318,11 @@ function make3(endpoints = {
|
|
|
318
318
|
delete evt.headers["x-api-key"];
|
|
319
319
|
evt.headers.authorization = authorization;
|
|
320
320
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
321
|
-
}), { providerID:
|
|
321
|
+
}), { providerID: ID8.azure });
|
|
322
322
|
})
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
var AzurePlugin2 =
|
|
325
|
+
var AzurePlugin2 = make10();
|
|
326
326
|
function resolveResourceName(settings, fallback) {
|
|
327
327
|
const configured = settings?.resourceName;
|
|
328
328
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -352,11 +352,11 @@ function deployedModels(deployments, catalog) {
|
|
|
352
352
|
const model = catalogModel(models, deployment);
|
|
353
353
|
if (!model)
|
|
354
354
|
return [];
|
|
355
|
-
const id =
|
|
355
|
+
const id = ID7.make(deployment.name.toLowerCase());
|
|
356
356
|
const info = {
|
|
357
357
|
...structuredClone(model),
|
|
358
358
|
id,
|
|
359
|
-
modelID:
|
|
359
|
+
modelID: ID7.make(deployment.name),
|
|
360
360
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
361
361
|
};
|
|
362
362
|
return [[id, info]];
|
|
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
378
378
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
export {
|
|
381
|
+
export { make10, AzurePlugin2 };
|