@opencode/core 0.0.0-dev-20760 → 0.0.0-dev-20761
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +70 -70
- package/dist/chunks/{skill-r70ycx4n.js → formatter-05seepyb.js} +25 -25
- package/dist/chunks/{skill-6xb3g4e9.js → formatter-0a12a5n5.js} +16 -16
- package/dist/chunks/{skill-0paq2nw3.js → formatter-0paq2nw3.js} +1 -1
- package/dist/chunks/{skill-74ye0k76.js → formatter-0sdjwrsq.js} +3 -3
- package/dist/chunks/{skill-0vbcp93d.js → formatter-0vbcp93d.js} +2 -2
- package/dist/chunks/{skill-2sd1nppe.js → formatter-0x6kqycp.js} +45 -45
- package/dist/chunks/{skill-q5960j2k.js → formatter-111mdxyv.js} +11 -11
- package/dist/chunks/{skill-bg9jftvn.js → formatter-12nabd9j.js} +17 -17
- package/dist/chunks/{skill-8t1p2d4f.js → formatter-146js436.js} +33 -33
- package/dist/chunks/{skill-0y5zvsv8.js → formatter-182behz8.js} +16 -16
- package/dist/chunks/{skill-hgh7nzp1.js → formatter-187vfvf2.js} +11 -11
- package/dist/chunks/{skill-mkynkq7z.js → formatter-1956cf4w.js} +27 -27
- package/dist/chunks/{skill-1dazxqgg.js → formatter-1dazxqgg.js} +2 -2
- package/dist/chunks/{skill-r8nd9bcd.js → formatter-1g8wmmwn.js} +10 -10
- package/dist/chunks/{skill-eb7s4h44.js → formatter-1gwfb09f.js} +13 -13
- package/dist/chunks/{skill-4xpgt2w9.js → formatter-1pxz8ven.js} +5 -5
- package/dist/chunks/{skill-7rspqtd7.js → formatter-1ysc8jye.js} +77 -77
- package/dist/chunks/{skill-2a5m3afh.js → formatter-2a5m3afh.js} +1 -1
- package/dist/chunks/{skill-5jpmtgs8.js → formatter-2d2jz7xv.js} +18 -18
- package/dist/chunks/{skill-p8ws4y22.js → formatter-2g22r7zd.js} +3 -3
- package/dist/chunks/{skill-ksaabt2j.js → formatter-2qynme82.js} +7 -7
- package/dist/chunks/{skill-0wdexvxm.js → formatter-2t9jdhh9.js} +7 -7
- package/dist/chunks/{skill-12x48tfh.js → formatter-32bdxtjn.js} +9 -9
- package/dist/chunks/{skill-j6d2rgta.js → formatter-3avvjkzt.js} +21 -21
- package/dist/chunks/{skill-3cegwx68.js → formatter-3cegwx68.js} +2 -2
- package/dist/chunks/{skill-3fc6dm20.js → formatter-3fc6dm20.js} +1 -1
- package/dist/chunks/{skill-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-hrvhj6xt.js → formatter-3phzs51q.js} +15 -15
- package/dist/chunks/{skill-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
- package/dist/chunks/{skill-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
- package/dist/chunks/{skill-3zsf4n22.js → formatter-3zsf4n22.js} +1 -1
- package/dist/chunks/{skill-cqekztpy.js → formatter-40vvehrd.js} +5 -5
- package/dist/chunks/{skill-fwtyrwy7.js → formatter-413d8qf1.js} +4 -4
- package/dist/chunks/{skill-xmctppxr.js → formatter-4268jqqb.js} +32 -32
- package/dist/chunks/{skill-c5qe4erg.js → formatter-441m476c.js} +11 -11
- package/dist/chunks/{skill-tsvyk731.js → formatter-4909s710.js} +9 -9
- package/dist/chunks/{skill-vcvsrew2.js → formatter-4gjsgka5.js} +6 -6
- package/dist/chunks/{skill-spc3bnnm.js → formatter-4gsb3kkd.js} +6 -6
- package/dist/chunks/{skill-4jyvzrab.js → formatter-4jyvzrab.js} +2 -2
- package/dist/chunks/{skill-wqe2r5bg.js → formatter-4kevwqk0.js} +18 -18
- package/dist/chunks/{skill-4ts7tf6z.js → formatter-4ts7tf6z.js} +2 -2
- package/dist/chunks/{skill-54ma36ye.js → formatter-54ma36ye.js} +1 -1
- package/dist/chunks/{skill-jxf73drv.js → formatter-56pkd6tw.js} +19 -19
- package/dist/chunks/{skill-30m2v4sk.js → formatter-578z3azw.js} +15 -15
- package/dist/chunks/{skill-vwy9zyw6.js → formatter-5b7nt3zn.js} +11 -11
- package/dist/chunks/{skill-ha20kep4.js → formatter-5d2b2mh7.js} +6 -6
- package/dist/chunks/{skill-265w8d3s.js → formatter-5fzhj6vr.js} +13 -13
- package/dist/chunks/{skill-zkdhenw2.js → formatter-5kdws1mq.js} +8 -8
- package/dist/chunks/{skill-r1nb17gn.js → formatter-5kqrehbr.js} +74 -74
- package/dist/chunks/{skill-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
- package/dist/chunks/{skill-5t3nmthw.js → formatter-5t3nmthw.js} +2 -2
- package/dist/chunks/{skill-70kp3xh7.js → formatter-652yv2n1.js} +42 -42
- package/dist/chunks/{skill-1fmrbde1.js → formatter-68dcddmz.js} +6 -6
- package/dist/chunks/{skill-yc5pcqk4.js → formatter-69746gda.js} +13 -13
- package/dist/chunks/{skill-a1fvq3z4.js → formatter-6dgher1t.js} +22 -22
- package/dist/chunks/{skill-hd2p1ez5.js → formatter-6fqx441j.js} +36 -36
- package/dist/chunks/{skill-jjt8f5e2.js → formatter-6mm8g3xf.js} +6 -6
- package/dist/chunks/{skill-6mdae8er.js → formatter-6nzr4syt.js} +22 -22
- package/dist/chunks/{skill-ysg08fks.js → formatter-6sz1nr65.js} +27 -27
- package/dist/chunks/{skill-da0e8ynk.js → formatter-6vrvdfgp.js} +174 -174
- package/dist/chunks/{skill-6xb47vfp.js → formatter-6xb47vfp.js} +1 -1
- package/dist/chunks/{skill-7zt5x37y.js → formatter-6xcvt31d.js} +1 -1
- package/dist/chunks/{skill-f59ep6tb.js → formatter-77f241gp.js} +11 -11
- package/dist/chunks/{skill-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-ty91ypxj.js → formatter-7hv02s19.js} +8 -8
- package/dist/chunks/{skill-ctz7jbry.js → formatter-7j2qha59.js} +8 -8
- package/dist/chunks/{skill-mjkbcby4.js → formatter-7jv0m88d.js} +8 -8
- package/dist/chunks/{skill-mzxeka0h.js → formatter-7ss4pkb7.js} +8 -8
- package/dist/chunks/{skill-e9p0h47t.js → formatter-7v0hehas.js} +20 -20
- package/dist/chunks/{skill-pf3eytb1.js → formatter-7w4jzbgq.js} +9 -9
- package/dist/chunks/{skill-84h8c373.js → formatter-84h8c373.js} +2 -2
- package/dist/chunks/{skill-84txncab.js → formatter-84txncab.js} +1 -1
- package/dist/chunks/{skill-h4ckqw4f.js → formatter-89rvcjqs.js} +8 -8
- package/dist/chunks/{skill-8d7r5vzw.js → formatter-8d7r5vzw.js} +1 -1
- package/dist/chunks/{skill-8m6m0r52.js → formatter-8m6m0r52.js} +1 -1
- package/dist/chunks/{skill-04mbc03a.js → formatter-8sypcg3t.js} +20 -20
- package/dist/chunks/{skill-ynqckmcw.js → formatter-955psc1t.js} +3 -3
- package/dist/chunks/{skill-vnyzbnjy.js → formatter-967syq3g.js} +30 -30
- package/dist/chunks/{skill-6c1xbava.js → formatter-96qq3yd9.js} +33 -33
- package/dist/chunks/{skill-yw3hddg9.js → formatter-9a22ycbb.js} +11 -11
- package/dist/chunks/{skill-0rtws61d.js → formatter-9gdnj9aq.js} +11 -11
- package/dist/chunks/{skill-w9famnvv.js → formatter-9hmbzyz9.js} +17 -17
- package/dist/chunks/{skill-47jkzegy.js → formatter-9hwaqfsw.js} +5 -5
- package/dist/chunks/{skill-ncbd9k1n.js → formatter-9jxhz5gs.js} +22 -22
- package/dist/chunks/{skill-k6963dvz.js → formatter-9qzaq7bj.js} +13 -13
- package/dist/chunks/{skill-nv3pc6qf.js → formatter-9x2r4bwb.js} +52 -52
- package/dist/chunks/{skill-a2qe2ev9.js → formatter-9y0w708y.js} +8 -8
- package/dist/chunks/{skill-aaet6srn.js → formatter-aaet6srn.js} +2 -2
- package/dist/chunks/{skill-db2wf4at.js → formatter-addxnjmp.js} +4 -4
- package/dist/chunks/{skill-1dy6vzzp.js → formatter-afys868y.js} +20 -20
- package/dist/chunks/{skill-52yrtfe6.js → formatter-ajn1y86a.js} +31 -31
- package/dist/chunks/{skill-tejbjf59.js → formatter-b0rabd7v.js} +4 -4
- package/dist/chunks/{skill-3pc526mj.js → formatter-b4ha2rs8.js} +43 -43
- package/dist/chunks/{skill-b6gygkdw.js → formatter-b6gygkdw.js} +2 -2
- package/dist/chunks/{skill-6b6zkn31.js → formatter-bnmdvgqs.js} +26 -26
- package/dist/chunks/{skill-y961xtxg.js → formatter-br7snsge.js} +24 -24
- package/dist/chunks/{skill-207ajt2h.js → formatter-btec747f.js} +5 -5
- package/dist/chunks/{skill-vv4myjfv.js → formatter-bxer3mz6.js} +4 -4
- package/dist/chunks/{skill-pp9929yk.js → formatter-c00z7kst.js} +3 -3
- package/dist/chunks/{skill-9wf975y4.js → formatter-c2xa3yvw.js} +6 -6
- package/dist/chunks/{skill-jx90kh1x.js → formatter-c7mdmw8n.js} +18 -18
- package/dist/chunks/{skill-e9f0cxdm.js → formatter-cf7hwrjt.js} +25 -25
- package/dist/chunks/{skill-m70sbz6t.js → formatter-ckf8nxjz.js} +4 -4
- package/dist/chunks/{skill-drrd09b1.js → formatter-cn4hkr65.js} +11 -11
- package/dist/chunks/{skill-zcc6ndmc.js → formatter-cxa8zwq4.js} +3 -3
- package/dist/chunks/{skill-e12ezkd1.js → formatter-cztmcb65.js} +5 -5
- package/dist/chunks/{skill-pbd1thjg.js → formatter-d4avb9t2.js} +20 -20
- package/dist/chunks/{skill-djszqvmq.js → formatter-d4he2qe1.js} +9 -9
- package/dist/chunks/{skill-0902bvg8.js → formatter-d82bvszf.js} +31 -31
- package/dist/chunks/{skill-n5ae90wp.js → formatter-d9nd5m7k.js} +45 -45
- package/dist/chunks/{skill-ynypt0bw.js → formatter-dah2pafv.js} +307 -307
- package/dist/chunks/{skill-2p92bsdk.js → formatter-dbr03gmn.js} +20 -20
- package/dist/chunks/{skill-6znh0kbk.js → formatter-dd14dg4b.js} +26 -26
- package/dist/chunks/{skill-w5yatvn3.js → formatter-des67zbn.js} +65 -65
- package/dist/chunks/{skill-phamkerz.js → formatter-dnpg0cy3.js} +20 -20
- package/dist/chunks/{skill-dj8ntj6r.js → formatter-dqahtrna.js} +9 -9
- package/dist/chunks/{skill-b3xqyrms.js → formatter-e5x5vm11.js} +24 -24
- package/dist/chunks/{skill-vdt2qea3.js → formatter-e646syvj.js} +11 -11
- package/dist/chunks/{skill-1r53ywk9.js → formatter-e7s2hhr5.js} +17 -17
- package/dist/chunks/{skill-g55y0fm8.js → formatter-ea14h7c6.js} +11 -11
- package/dist/chunks/{skill-ef5x83kb.js → formatter-ef5x83kb.js} +1 -1
- package/dist/chunks/{skill-6das53tm.js → formatter-ef8pjxkk.js} +30 -30
- package/dist/chunks/{skill-kva4bpmc.js → formatter-ehjv0q1x.js} +3 -3
- package/dist/chunks/{skill-hk2agn7d.js → formatter-ek95yswj.js} +5 -5
- package/dist/chunks/{skill-yykvp7t2.js → formatter-ers33zjm.js} +11 -11
- package/dist/chunks/{skill-6jd7hqhx.js → formatter-et6cb3je.js} +15 -15
- package/dist/chunks/{skill-etq0c3wd.js → formatter-etq0c3wd.js} +1 -1
- package/dist/chunks/{skill-6a89nmhr.js → formatter-f2fs9h5k.js} +25 -25
- package/dist/chunks/{skill-f75zav2x.js → formatter-f75zav2x.js} +2 -2
- package/dist/chunks/{skill-m55qy151.js → formatter-f80tffhg.js} +10 -10
- package/dist/chunks/{skill-kw9xdzv2.js → formatter-faj2svbs.js} +9 -9
- package/dist/chunks/{skill-tnsxnedn.js → formatter-fzfvnzw6.js} +11 -11
- package/dist/chunks/{skill-nr63hy47.js → formatter-g2vpa6g8.js} +20 -20
- package/dist/chunks/{skill-bkw14apt.js → formatter-g48b57vg.js} +3 -3
- package/dist/chunks/{skill-80z4mvhs.js → formatter-g6t9350c.js} +5 -5
- package/dist/chunks/{skill-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
- package/dist/chunks/{skill-fgber3cj.js → formatter-gerxg5wa.js} +23 -23
- package/dist/chunks/{skill-srq8z0b0.js → formatter-gh5z95q3.js} +9 -9
- package/dist/chunks/{skill-erpxhmj9.js → formatter-ghqaq6b3.js} +3 -3
- package/dist/chunks/{skill-380qvp89.js → formatter-gjbmgrhc.js} +43 -43
- package/dist/chunks/{skill-4psgr168.js → formatter-gr904wny.js} +8 -8
- package/dist/chunks/{skill-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
- package/dist/chunks/{skill-ygawr200.js → formatter-h7zcy97x.js} +11 -11
- package/dist/chunks/{skill-mhaxke0e.js → formatter-hd75vd23.js} +11 -11
- package/dist/chunks/formatter-ht5y0zrb.js +18 -0
- package/dist/chunks/{skill-dnywem4c.js → formatter-hx0a76nn.js} +13 -13
- package/dist/chunks/{skill-nv0bg10t.js → formatter-hyg1vt4n.js} +11 -11
- package/dist/chunks/{skill-wv3agxff.js → formatter-j23kp47h.js} +31 -31
- package/dist/chunks/{skill-j56e64zr.js → formatter-j56e64zr.js} +1 -1
- package/dist/chunks/{skill-tqk69v2v.js → formatter-jfan4vg4.js} +4 -4
- package/dist/chunks/{skill-y0q8w9kt.js → formatter-jjw66fma.js} +17 -17
- package/dist/chunks/{skill-5xaj4ggx.js → formatter-jmv0w02j.js} +11 -11
- package/dist/chunks/{skill-6t4hr8r6.js → formatter-jpqeh2wc.js} +4 -4
- package/dist/chunks/{skill-eaapcx4q.js → formatter-k1526a4z.js} +32 -32
- package/dist/chunks/{skill-1khdm3wj.js → formatter-k5a65910.js} +17 -17
- package/dist/chunks/{skill-tzmf1m41.js → formatter-k788bznc.js} +15 -15
- package/dist/chunks/{skill-xxndcd6m.js → formatter-kb6gw2zp.js} +4 -4
- package/dist/chunks/{skill-kb9j3d72.js → formatter-kb9j3d72.js} +3 -3
- package/dist/chunks/{skill-ekzt55v3.js → formatter-kfbhpbwq.js} +10 -10
- package/dist/chunks/{skill-tj46nj0w.js → formatter-kgd1zbpx.js} +25 -25
- package/dist/chunks/{skill-5ahstw8v.js → formatter-kjb6x653.js} +5 -5
- package/dist/chunks/{skill-mqgk8n7h.js → formatter-kkpjb290.js} +7 -7
- package/dist/chunks/{skill-a8bn8zg0.js → formatter-kvvk39gs.js} +4 -4
- package/dist/chunks/{skill-tg5df4wz.js → formatter-kwx820js.js} +7 -7
- package/dist/chunks/{skill-m3fdjcah.js → formatter-m3fdjcah.js} +1 -1
- package/dist/chunks/{skill-0eqx75h4.js → formatter-m599nq64.js} +10 -10
- package/dist/chunks/{skill-ss358qx3.js → formatter-m5jcjszt.js} +3 -3
- package/dist/chunks/{skill-qjpmqgzf.js → formatter-m9n8negv.js} +7 -7
- package/dist/chunks/{skill-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-8bqkepy5.js → formatter-mc57t5dc.js} +1 -1
- package/dist/chunks/{skill-mfqp6xfm.js → formatter-mfqp6xfm.js} +2 -2
- package/dist/chunks/{skill-c9rrg4sq.js → formatter-mp4yneke.js} +33 -33
- package/dist/chunks/{skill-qgh7kmwr.js → formatter-naf52ke2.js} +35 -35
- package/dist/chunks/{skill-a5qvk4tq.js → formatter-nbcx5sdf.js} +37 -37
- package/dist/chunks/{skill-s0gnmrjq.js → formatter-necp402n.js} +35 -35
- package/dist/chunks/{skill-2mfvpe9w.js → formatter-nhb4k98j.js} +41 -41
- package/dist/chunks/{skill-j9rkfp81.js → formatter-nqj3666b.js} +29 -29
- package/dist/chunks/{skill-y5djr555.js → formatter-nqvx5zpw.js} +15 -15
- package/dist/chunks/{skill-gw7cjrad.js → formatter-nxe4pcap.js} +4 -4
- package/dist/chunks/{skill-nxm207yx.js → formatter-nxm207yx.js} +1 -1
- package/dist/chunks/{skill-zp0bj7j8.js → formatter-nz84ab76.js} +18 -18
- package/dist/chunks/{skill-pepm8dby.js → formatter-p734n3dq.js} +16 -16
- package/dist/chunks/{skill-nt83ta39.js → formatter-p7hdmtan.js} +2 -2
- package/dist/chunks/{skill-wrey65kc.js → formatter-p8vrnvt6.js} +11 -11
- package/dist/chunks/{skill-xdn82s8w.js → formatter-pg0cyarh.js} +5 -5
- package/dist/chunks/{skill-kb3wdknj.js → formatter-pjcdc1eb.js} +6 -6
- package/dist/chunks/{skill-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
- package/dist/chunks/{skill-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{skill-arjx5va6.js → formatter-ps7kxe9a.js} +24 -24
- package/dist/chunks/{skill-q0xm7vwc.js → formatter-q0xm7vwc.js} +2 -2
- package/dist/chunks/{skill-dcbwehgs.js → formatter-q63peekz.js} +9 -9
- package/dist/chunks/{skill-hyeaefyw.js → formatter-q6q73qn9.js} +21 -21
- package/dist/chunks/{skill-2xrg438h.js → formatter-q9gsjjyz.js} +8 -8
- package/dist/chunks/{skill-2k8khapm.js → formatter-qgn6gcr1.js} +5 -5
- package/dist/chunks/{skill-0hffe5rb.js → formatter-qgr2r415.js} +4 -4
- package/dist/chunks/{skill-jx1rpkq3.js → formatter-qky8mzgr.js} +24 -24
- package/dist/chunks/{skill-qnc92qwc.js → formatter-qnc92qwc.js} +1 -1
- package/dist/chunks/{skill-qsdy395h.js → formatter-qsdy395h.js} +1 -1
- package/dist/chunks/{skill-qxjc9qry.js → formatter-qxjc9qry.js} +3 -3
- package/dist/chunks/{skill-7yh4e7ss.js → formatter-r5x6zcsm.js} +3 -3
- package/dist/chunks/{skill-av9mcy8y.js → formatter-ra6fqd91.js} +26 -26
- package/dist/chunks/{skill-rdw6cm16.js → formatter-rdw6cm16.js} +1 -1
- package/dist/chunks/{skill-84zcxbc9.js → formatter-reg6q42h.js} +5 -5
- package/dist/chunks/{skill-7333qy8y.js → formatter-rf4xy6dj.js} +9 -9
- package/dist/chunks/{skill-yp2x3t23.js → formatter-rhraev7y.js} +4 -4
- package/dist/chunks/{skill-sgfsa1gf.js → formatter-rmzybef8.js} +27 -27
- package/dist/chunks/{skill-83q2r6tn.js → formatter-rpbvprrj.js} +4 -4
- package/dist/chunks/{skill-3a45ycq8.js → formatter-rq5v6z90.js} +16 -16
- package/dist/chunks/{skill-gz1mej8d.js → formatter-rsgvate9.js} +24 -24
- package/dist/chunks/{skill-sqvzcy4n.js → formatter-rx9ava5n.js} +4 -4
- package/dist/chunks/{skill-agd1asbq.js → formatter-s21nf3rq.js} +4 -4
- package/dist/chunks/{skill-wv396vej.js → formatter-s8d7rejh.js} +8 -8
- package/dist/chunks/{skill-xs5h1qdz.js → formatter-sacz22za.js} +25 -25
- package/dist/chunks/{skill-93tfm6kk.js → formatter-scggp4v7.js} +21 -21
- package/dist/chunks/{skill-q3vqk3xr.js → formatter-sfwf9rc4.js} +20 -20
- package/dist/chunks/formatter-sgjy82vw.js +26 -0
- package/dist/chunks/{skill-n2tcwf5b.js → formatter-ssnh0g9s.js} +6 -6
- package/dist/chunks/{skill-5dwqhvmm.js → formatter-swa1ang0.js} +14 -14
- package/dist/chunks/{skill-sjd79hyp.js → formatter-syq0zh6w.js} +11 -11
- package/dist/chunks/{skill-k4sc78tn.js → formatter-t469wz72.js} +11 -11
- package/dist/chunks/{skill-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
- package/dist/chunks/{skill-yh7qhpc0.js → formatter-tbfz7sz5.js} +30 -30
- package/dist/chunks/{skill-89znhe33.js → formatter-tcezcvh9.js} +4 -4
- package/dist/chunks/{skill-vf0qy17w.js → formatter-tcjh7x7b.js} +11 -11
- package/dist/chunks/{skill-tdstcens.js → formatter-tdstcens.js} +1 -1
- package/dist/chunks/{skill-cmwkp3r5.js → formatter-tpw6cwsb.js} +8 -8
- package/dist/chunks/{skill-21fz40hq.js → formatter-trkkz53a.js} +5 -5
- package/dist/chunks/{skill-py3kkmfq.js → formatter-ts23464c.js} +4 -4
- package/dist/chunks/{skill-8axdpjc9.js → formatter-tvp4by9h.js} +14 -14
- package/dist/chunks/{skill-v0es1rhs.js → formatter-v0es1rhs.js} +2 -2
- package/dist/chunks/{skill-qpn1zdvw.js → formatter-v0kt4h1e.js} +17 -17
- package/dist/chunks/{skill-63db42yp.js → formatter-v0xmac3n.js} +2 -2
- package/dist/chunks/{skill-68abg5kb.js → formatter-v1pc8fa1.js} +17 -17
- package/dist/chunks/{skill-2f42t4e4.js → formatter-v3cf9ktn.js} +2 -2
- package/dist/chunks/{skill-ratrq7cm.js → formatter-v5dkyp31.js} +4 -4
- package/dist/chunks/formatter-vd4bf68b.js +253 -0
- package/dist/chunks/{skill-mkpw75cb.js → formatter-vemxbn5z.js} +20 -20
- package/dist/chunks/{skill-veqvce7d.js → formatter-veqvce7d.js} +1 -1
- package/dist/chunks/{skill-8hj8r0wk.js → formatter-vq6dzy0v.js} +22 -22
- package/dist/chunks/{skill-vzs5sf6e.js → formatter-vzs5sf6e.js} +1 -1
- package/dist/chunks/{skill-xfkkasph.js → formatter-w19d8598.js} +5 -5
- package/dist/chunks/{skill-2wh5fw73.js → formatter-w3py4050.js} +20 -20
- package/dist/chunks/{skill-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-yv0br436.js → formatter-w8jh9azx.js} +31 -31
- package/dist/chunks/{skill-2833za8j.js → formatter-w8my3ska.js} +34 -34
- package/dist/chunks/{skill-fkfgeacz.js → formatter-w9vkhkej.js} +20 -20
- package/dist/chunks/{skill-1154za8m.js → formatter-wbdwm9jt.js} +18 -18
- package/dist/chunks/{skill-wnjvpe9v.js → formatter-wbxp7nx3.js} +42 -42
- package/dist/chunks/{skill-yz5wyvkn.js → formatter-wc20fpmx.js} +19 -19
- package/dist/chunks/{skill-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{skill-zyk1yjk8.js → formatter-wecqtg5s.js} +5 -5
- package/dist/chunks/{skill-hwmwb64m.js → formatter-wsbctvc5.js} +13 -13
- package/dist/chunks/{skill-qj9j2a2q.js → formatter-wyh9vnvk.js} +49 -49
- package/dist/chunks/{skill-npdfa7bp.js → formatter-wzvt4r95.js} +4 -4
- package/dist/chunks/{skill-g7b3b0xt.js → formatter-x0b110sz.js} +16 -16
- package/dist/chunks/{skill-c3nqfkhw.js → formatter-x2859ts3.js} +40 -40
- package/dist/chunks/{skill-h6n6d8sv.js → formatter-x2sdnm38.js} +4 -4
- package/dist/chunks/{skill-rzgqzdfw.js → formatter-xbt5mkr1.js} +12 -12
- package/dist/chunks/{skill-wd57n0dr.js → formatter-xdedz7hg.js} +1 -1
- package/dist/chunks/{skill-dmqcgk4z.js → formatter-xkntkrq7.js} +5 -5
- package/dist/chunks/{skill-xfd536vj.js → formatter-xq4xd5zy.js} +9 -9
- package/dist/chunks/{skill-4xhhjths.js → formatter-xs12am9p.js} +8 -8
- package/dist/chunks/{skill-n954ms1x.js → formatter-xsv3j8px.js} +30 -30
- package/dist/chunks/{skill-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
- package/dist/chunks/{skill-qknacate.js → formatter-y2gcm8rh.js} +5 -5
- package/dist/chunks/{skill-m0r31qfn.js → formatter-y6mhz57t.js} +4 -4
- package/dist/chunks/{skill-vm2jbb5h.js → formatter-y7kbswjf.js} +8 -8
- package/dist/chunks/{skill-xxaqsrmm.js → formatter-ynjs7hd3.js} +14 -14
- package/dist/chunks/{skill-ayepesx3.js → formatter-yqedg5yd.js} +17 -17
- package/dist/chunks/{skill-8zf35w4m.js → formatter-yr4vky8k.js} +5 -5
- package/dist/chunks/{skill-erqn936q.js → formatter-yv71fmm2.js} +17 -17
- package/dist/chunks/{skill-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
- package/dist/chunks/{skill-d9aav9jb.js → formatter-z1952mbe.js} +10 -10
- package/dist/chunks/{skill-e8vwfchq.js → formatter-z2jd07rd.js} +6 -6
- package/dist/chunks/{skill-jhf3jymm.js → formatter-zdwe30dy.js} +6 -6
- package/dist/chunks/{skill-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
- package/dist/chunks/{skill-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +85 -85
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +114 -114
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +86 -86
- package/dist/database/database.js +67 -67
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- 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 +71 -71
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- 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 +219 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +100 -100
- 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 +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +354 -354
- package/dist/location.js +82 -82
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +101 -101
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +75 -75
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -100
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +98 -98
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +89 -89
- 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 +212 -212
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +205 -205
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +115 -115
- package/dist/snapshot.js +92 -92
- 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 +127 -127
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +209 -209
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- 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/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +85 -85
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +99 -99
- package/package.json +8 -8
- package/dist/chunks/skill-4v7qdvcn.js +0 -18
- package/dist/chunks/skill-czp4hz1t.js +0 -26
- package/dist/chunks/skill-ycmvxzz8.js +0 -253
- /package/dist/chunks/{skill-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{skill-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-34c7v6d4.js → formatter-34c7v6d4.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3t0ybcrp.js → formatter-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3w5fmr99.js → formatter-3w5fmr99.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-5qd3pb7m.js → formatter-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-84wd9syh.js → formatter-84wd9syh.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-bw78ga2c.js → formatter-bw78ga2c.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fxgpk5d8.js → formatter-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8cydn3q.js → formatter-y8cydn3q.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-ym463w8f.js → formatter-ym463w8f.js} +0 -0
- /package/dist/chunks/{skill-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-rpbvprrj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event19,
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./formatter-967syq3g.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service47,
|
|
12
|
+
node50
|
|
13
|
+
} from "./formatter-g2vpa6g8.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service80,
|
|
19
19
|
node84
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-v3cf9ktn.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-4ts7tf6z.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-nz84ab76.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./formatter-gr904wny.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./formatter-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service51,
|
|
36
|
+
Event12,
|
|
37
|
+
node55
|
|
38
|
+
} from "./formatter-sfwf9rc4.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./formatter-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options5,
|
|
48
|
+
Service: () => Service46,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured5,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer17,
|
|
53
|
+
node: () => node49,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options5 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service46 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service46, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer17 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
96
|
const location = yield* Service80;
|
|
97
|
-
const watcher = yield*
|
|
97
|
+
const watcher = yield* Service47;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service78;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service51;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -163,7 +163,7 @@ var layer21 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
163
163
|
});
|
|
164
164
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
165
165
|
return [
|
|
166
|
-
...yield* Effect.forEach(
|
|
166
|
+
...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
167
167
|
new Directory({ type: "directory", path: directory })
|
|
168
168
|
];
|
|
169
169
|
});
|
|
@@ -217,8 +217,8 @@ var layer21 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
217
217
|
}, (effect) => reloadLock.withPermit(effect));
|
|
218
218
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
219
219
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
220
|
-
yield* bus.subscribe(
|
|
221
|
-
yield* bus.subscribe(
|
|
220
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
221
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
222
222
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
223
223
|
if (!wellknown.snapshot().length)
|
|
224
224
|
return Effect.void;
|
|
@@ -231,7 +231,7 @@ var layer21 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
231
231
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
232
232
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
233
233
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
234
|
-
const candidates =
|
|
234
|
+
const candidates = names4.map((name) => path.join(directory, name));
|
|
235
235
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
236
236
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
237
237
|
`;
|
|
@@ -246,7 +246,7 @@ var layer21 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
246
246
|
`);
|
|
247
247
|
yield* requestReload;
|
|
248
248
|
}, (effect) => updateLock.withPermit(effect));
|
|
249
|
-
return
|
|
249
|
+
return Service46.of({
|
|
250
250
|
entries: Effect.fnUntraced(function* () {
|
|
251
251
|
return configs;
|
|
252
252
|
}),
|
|
@@ -258,13 +258,13 @@ var layer21 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
258
258
|
update
|
|
259
259
|
});
|
|
260
260
|
}));
|
|
261
|
-
function
|
|
261
|
+
function configured5(options) {
|
|
262
262
|
return makeLocationNode({
|
|
263
|
-
service:
|
|
264
|
-
layer:
|
|
265
|
-
deps: [
|
|
263
|
+
service: Service46,
|
|
264
|
+
layer: layer17(options),
|
|
265
|
+
deps: [node50, node87, FSUtil.node, Global.node, node84, node82, node55]
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
|
-
var
|
|
268
|
+
var node49 = configured5();
|
|
269
269
|
|
|
270
|
-
export { latest2,
|
|
270
|
+
export { latest2, Options5, Service46, Test2, testLayer2, layer17, configured5, node49, exports_config };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-c00z7kst.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-nxm207yx.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node75
|
|
12
|
+
} from "./formatter-68dcddmz.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID10,
|
|
25
|
+
Info: () => Info18,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service71,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured10,
|
|
30
|
+
node: () => node74
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID10 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info18 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID10,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info16 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID10,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service71 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured10 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service71,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node75]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info18({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service71.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID10.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node74 = configured10();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID10, Info18, NotFound3, CreateConflict2, Service71, configured10, node74, exports_workspace };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-ea14h7c6.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-rpbvprrj.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./formatter-967syq3g.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-ef8pjxkk.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service39
|
|
21
|
+
} from "./formatter-f80tffhg.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-nqj3666b.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./formatter-1956cf4w.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
ID3,
|
|
32
|
+
Input13,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./formatter-f2fs9h5k.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
|
|
|
47
47
|
var RemoteResponse = Schema.Struct({
|
|
48
48
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
49
49
|
websearch: Schema.Struct({
|
|
50
|
-
providerID:
|
|
50
|
+
providerID: ID3
|
|
51
51
|
}).pipe(Schema.optional),
|
|
52
52
|
mcp: Schema.Struct({
|
|
53
53
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -105,7 +105,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
105
105
|
}
|
|
106
106
|
function oauth(http) {
|
|
107
107
|
return {
|
|
108
|
-
integrationID:
|
|
108
|
+
integrationID: ID14.make("opencode"),
|
|
109
109
|
method: {
|
|
110
110
|
id: methodID,
|
|
111
111
|
type: "oauth",
|
|
@@ -172,7 +172,7 @@ var OpencodePlugin2 = define({
|
|
|
172
172
|
const bus = yield* Service83;
|
|
173
173
|
const client = yield* HttpClient.HttpClient;
|
|
174
174
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
175
|
-
const managed = yield*
|
|
175
|
+
const managed = yield* Service39;
|
|
176
176
|
const scope = yield* Scope.Scope;
|
|
177
177
|
const loading = Semaphore.makeUnsafe(1);
|
|
178
178
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -221,7 +221,7 @@ var OpencodePlugin2 = define({
|
|
|
221
221
|
providers.update(providerID, (provider) => {
|
|
222
222
|
if (source && source.provider !== provider)
|
|
223
223
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
224
|
-
provider.integrationID =
|
|
224
|
+
provider.integrationID = ID14.make("opencode");
|
|
225
225
|
if (item.canonical !== undefined)
|
|
226
226
|
provider.canonical = item.canonical;
|
|
227
227
|
if (item.name !== undefined)
|
|
@@ -287,7 +287,7 @@ var OpencodePlugin2 = define({
|
|
|
287
287
|
sourceConnection: snapshot.connection
|
|
288
288
|
});
|
|
289
289
|
}
|
|
290
|
-
const item = providers.get(
|
|
290
|
+
const item = providers.get(ID13.opencode);
|
|
291
291
|
if (!item)
|
|
292
292
|
return;
|
|
293
293
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -299,7 +299,7 @@ var OpencodePlugin2 = define({
|
|
|
299
299
|
});
|
|
300
300
|
});
|
|
301
301
|
yield* ctx.model.transform((models) => {
|
|
302
|
-
const item = models.provider.get(
|
|
302
|
+
const item = models.provider.get(ID13.opencode);
|
|
303
303
|
if (!item)
|
|
304
304
|
return;
|
|
305
305
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -333,7 +333,7 @@ var OpencodePlugin2 = define({
|
|
|
333
333
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
334
334
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
335
335
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
336
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
336
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
337
337
|
query: input.query,
|
|
338
338
|
providerID: descriptor.providerID
|
|
339
339
|
}));
|
|
@@ -388,10 +388,10 @@ var OpencodePlugin2 = define({
|
|
|
388
388
|
});
|
|
389
389
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
390
390
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
391
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
391
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
392
392
|
});
|
|
393
393
|
yield* guard(snapshot);
|
|
394
|
-
yield* bus.subscribe(
|
|
394
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
395
395
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
396
396
|
})
|
|
397
397
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-btec747f.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-0sdjwrsq.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-ghqaq6b3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-ea14h7c6.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin26,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
16
|
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin26 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin30 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint6,
|
|
80
|
+
export { endpoint6, Plugin26, exports_firecrawl };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-rpbvprrj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID15,
|
|
6
|
+
Event19,
|
|
7
|
+
Service78
|
|
8
|
+
} from "./formatter-967syq3g.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID13
|
|
11
|
+
} from "./formatter-nqj3666b.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-4gjsgka5.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
44
|
+
const credentials = yield* Service78;
|
|
45
45
|
const bus = yield* Service83;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID13.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID13.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID13.googleVertex,
|
|
82
82
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
83
|
});
|
|
84
84
|
editor.method.update({
|
|
85
|
-
integrationID:
|
|
85
|
+
integrationID: ID13.googleVertex,
|
|
86
86
|
method: {
|
|
87
87
|
id: ADC_METHOD,
|
|
88
88
|
type: "external",
|
|
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
120
120
|
});
|
|
121
121
|
yield* ctx.provider.transform((evt) => {
|
|
122
122
|
for (const item of evt.list()) {
|
|
123
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
124
124
|
continue;
|
|
125
125
|
const settings = settingsFor(item.provider);
|
|
126
126
|
const project = resolveProject(settings);
|
|
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
139
139
|
});
|
|
140
140
|
yield* ctx.model.transform((models) => {
|
|
141
141
|
for (const item of models.provider.list()) {
|
|
142
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
143
143
|
continue;
|
|
144
144
|
const settings = settingsFor(item.provider);
|
|
145
145
|
const project = resolveProject(settings);
|
|
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
yield* bus.subscribe([
|
|
159
|
+
yield* bus.subscribe([Event19.Updated, Event19.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
160
160
|
const next = yield* load();
|
|
161
161
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
162
162
|
return;
|