@opencode/core 0.0.0-dev-20959 → 0.0.0-dev-20962
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 +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{state-6hjx5zpb.js → provider-0996nyz8.js} +5 -5
- package/dist/chunks/{state-78e17vhd.js → provider-0avkqsyh.js} +10 -10
- package/dist/chunks/{state-7d822byb.js → provider-0bg0bx69.js} +9 -9
- package/dist/chunks/{state-jwg9zzbj.js → provider-0chgmggq.js} +13 -13
- package/dist/chunks/{state-wfmp5q3p.js → provider-0edhb53e.js} +8 -8
- package/dist/chunks/{state-w1ba7bfx.js → provider-0fhevdjt.js} +5 -5
- package/dist/chunks/{state-a5bx919r.js → provider-0fpa5v37.js} +18 -18
- package/dist/chunks/{state-2k8khapm.js → provider-0jwsre1p.js} +5 -5
- package/dist/chunks/{state-bddt2pqj.js → provider-0mm9aq32.js} +16 -16
- package/dist/chunks/{state-6rabbq69.js → provider-0nyzhezz.js} +50 -50
- package/dist/chunks/{state-yfcg3am7.js → provider-0sa2fhnm.js} +14 -14
- package/dist/chunks/{state-7j2qha59.js → provider-0t9wd588.js} +8 -8
- package/dist/chunks/{state-0vbcp93d.js → provider-0vbcp93d.js} +2 -2
- package/dist/chunks/{state-kvq4f17p.js → provider-178yzz4c.js} +8 -8
- package/dist/chunks/{state-csmbza7v.js → provider-1ahdxtnp.js} +33 -33
- package/dist/chunks/{state-5yzzbxa7.js → provider-1ajx6rf5.js} +8 -8
- package/dist/chunks/{state-trya7axm.js → provider-1ja1wxmc.js} +8 -8
- package/dist/chunks/{state-c8kxp3ag.js → provider-27fne53y.js} +30 -30
- package/dist/chunks/{state-qwthf4cc.js → provider-2anx6zyp.js} +9 -9
- package/dist/chunks/{state-6xxnzgaw.js → provider-2dfgztks.js} +5 -5
- package/dist/chunks/{state-7zkbhs7g.js → provider-2p74at1f.js} +11 -11
- package/dist/chunks/{state-tc4yh57d.js → provider-2qjhvk9c.js} +18 -18
- package/dist/chunks/{state-khhf2f26.js → provider-2s2vbzb6.js} +17 -17
- package/dist/chunks/{state-dt7wv7f8.js → provider-2vkbbze0.js} +43 -43
- package/dist/chunks/{state-0ytnbz4y.js → provider-35rhfapn.js} +12 -12
- package/dist/chunks/{state-t6bxk4p3.js → provider-3fae5vwa.js} +5 -5
- package/dist/chunks/{state-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-0ssrq3ck.js → provider-3hs5mxmp.js} +13 -13
- package/dist/chunks/{state-3hwn7j4h.js → provider-3hwn7j4h.js} +2 -2
- package/dist/chunks/{state-tegs1ycp.js → provider-3ppptnan.js} +6 -6
- package/dist/chunks/provider-3qdqmnbt.js +26 -0
- package/dist/chunks/{state-3f6168p9.js → provider-3qtz8e24.js} +21 -21
- package/dist/chunks/{state-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-16g8e42c.js → provider-3wzwh970.js} +12 -12
- package/dist/chunks/{state-3zsf4n22.js → provider-3zsf4n22.js} +1 -1
- package/dist/chunks/{state-yqvmhwye.js → provider-41wrsvw7.js} +12 -12
- package/dist/chunks/{state-07cqgx07.js → provider-45ezyvr1.js} +11 -11
- package/dist/chunks/{state-h6ekpmck.js → provider-46s5zsn6.js} +190 -190
- package/dist/chunks/{state-jvc6xzak.js → provider-4p85ce3k.js} +8 -8
- package/dist/chunks/{state-fvgwbg7w.js → provider-4qrgz4fh.js} +4 -4
- package/dist/chunks/{state-r94pvvab.js → provider-54ma36ye.js} +4 -4
- package/dist/chunks/{state-1vgajgn8.js → provider-5bxt3wpb.js} +36 -36
- package/dist/chunks/{state-9pkkzrmj.js → provider-5d17xbav.js} +5 -5
- package/dist/chunks/{state-kxf45vx6.js → provider-5dpgnwm1.js} +14 -14
- package/dist/chunks/{state-nvms9vm5.js → provider-5h5cw0kb.js} +21 -21
- package/dist/chunks/{state-5m9w47nd.js → provider-5m9w47nd.js} +1 -1
- package/dist/chunks/{state-27vhf9q6.js → provider-5mjdgbh9.js} +12 -12
- package/dist/chunks/{state-en8cxtke.js → provider-5rf7prve.js} +11 -11
- package/dist/chunks/{state-nma959mg.js → provider-5rzwp8tz.js} +3 -3
- package/dist/chunks/{state-sbc7msky.js → provider-5tzxr2xg.js} +13 -13
- package/dist/chunks/{state-k0dpz6pn.js → provider-6ejbh5bw.js} +4 -4
- package/dist/chunks/{state-f41qqej9.js → provider-6msxjspv.js} +25 -25
- package/dist/chunks/{state-z1nrsbx9.js → provider-6vytd5f0.js} +10 -10
- package/dist/chunks/{state-6xb47vfp.js → provider-6xb47vfp.js} +1 -1
- package/dist/chunks/{state-dw6kxeb2.js → provider-6zzvxpwv.js} +10 -10
- package/dist/chunks/{state-wafka7g2.js → provider-71qj1krj.js} +26 -26
- package/dist/chunks/{state-775gj3j1.js → provider-775gj3j1.js} +2 -2
- package/dist/chunks/{state-mz33th8r.js → provider-79m1rfa1.js} +9 -9
- package/dist/chunks/{state-jck2sq56.js → provider-7aqn883v.js} +42 -42
- package/dist/chunks/{state-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-xzfz3f2s.js → provider-7k4ntbhc.js} +15 -15
- package/dist/chunks/{state-n1xqpdx7.js → provider-7pehn31s.js} +23 -23
- package/dist/chunks/{state-wvkm68ey.js → provider-7s41t4qk.js} +13 -13
- package/dist/chunks/{state-zm1pf2vj.js → provider-7xkdmskh.js} +3 -3
- package/dist/chunks/{state-yd30ynhp.js → provider-800bdyfv.js} +19 -19
- package/dist/chunks/{state-277eer69.js → provider-80scg3y3.js} +4 -4
- package/dist/chunks/{state-gwf5frq4.js → provider-83rw8dgr.js} +4 -4
- package/dist/chunks/{state-qz75znj9.js → provider-85wvk3p1.js} +37 -37
- package/dist/chunks/{state-46f1yx5v.js → provider-87skp6zd.js} +11 -11
- package/dist/chunks/{state-vvm2n8q4.js → provider-8dr4q500.js} +15 -15
- package/dist/chunks/{state-8m6m0r52.js → provider-8m6m0r52.js} +1 -1
- package/dist/chunks/{state-w6c139gn.js → provider-8n5kbdvf.js} +19 -19
- package/dist/chunks/{state-8a52xwty.js → provider-8na7k0g9.js} +8 -8
- package/dist/chunks/{state-8wmnw7vn.js → provider-8s9h0bgg.js} +10 -10
- package/dist/chunks/{state-7e2mtt8e.js → provider-8tqny9xt.js} +4 -4
- package/dist/chunks/{state-91qna3x0.js → provider-91qna3x0.js} +3 -3
- package/dist/chunks/{state-bmr56wjg.js → provider-97aeaand.js} +4 -4
- package/dist/chunks/{state-p9p8mz4a.js → provider-99gkggwm.js} +9 -9
- package/dist/chunks/{state-vss99rfh.js → provider-9av8bacp.js} +29 -29
- package/dist/chunks/{state-73ws374e.js → provider-9e25vn24.js} +4 -4
- package/dist/chunks/{state-hxtq825k.js → provider-9k3h9x7c.js} +26 -26
- package/dist/chunks/{state-wrt10v44.js → provider-a039zm1r.js} +19 -19
- package/dist/chunks/{state-bgmmm716.js → provider-a0a6dmtm.js} +37 -37
- package/dist/chunks/{state-3cejzrcb.js → provider-a8fjrhec.js} +3 -3
- package/dist/chunks/{state-05ma8sa0.js → provider-ajdckhzw.js} +11 -11
- package/dist/chunks/{state-q7s33m3q.js → provider-amby2w69.js} +7 -7
- package/dist/chunks/{state-xzv998fy.js → provider-arnqn5aq.js} +20 -20
- package/dist/chunks/{state-3f5wpygs.js → provider-as743q1n.js} +10 -10
- package/dist/chunks/{state-gdh7m9dr.js → provider-b5ybqcma.js} +4 -4
- package/dist/chunks/{state-7erbtyx3.js → provider-b8gd3dkx.js} +11 -11
- package/dist/chunks/{state-92zgvqyy.js → provider-bb96wvfv.js} +11 -11
- package/dist/chunks/{state-6v577egq.js → provider-bh92r7ax.js} +45 -45
- package/dist/chunks/{state-29qym6xz.js → provider-btbmdjwj.js} +4 -4
- package/dist/chunks/{state-b3szwjqv.js → provider-bty6dbnt.js} +25 -25
- package/dist/chunks/{state-1vn3zg3s.js → provider-bvjwexvn.js} +44 -44
- package/dist/chunks/{state-6kzp9tjq.js → provider-bx0gyb4h.js} +5 -5
- package/dist/chunks/{state-c1fqxshp.js → provider-c1fqxshp.js} +3 -3
- package/dist/chunks/{state-5rgnv25g.js → provider-c5zvwsmq.js} +13 -13
- package/dist/chunks/{state-mgc78m32.js → provider-cdvg6mh2.js} +4 -4
- package/dist/chunks/{state-fg4px4dg.js → provider-ce9taes4.js} +16 -16
- package/dist/chunks/{state-jmrbxsct.js → provider-cst3b3yb.js} +32 -32
- package/dist/chunks/{state-cef92ehe.js → provider-cy9sv6ck.js} +11 -11
- package/dist/chunks/{state-pqrvafsy.js → provider-d1nddhfv.js} +3 -3
- package/dist/chunks/{state-t6vsspdg.js → provider-d216944b.js} +4 -4
- package/dist/chunks/{state-n9zaxzrb.js → provider-d7rdamty.js} +12 -12
- package/dist/chunks/{state-r2m716tb.js → provider-djszqvmq.js} +9 -9
- package/dist/chunks/{state-dqxsqydv.js → provider-dqxsqydv.js} +1 -1
- package/dist/chunks/{state-bqntbsfe.js → provider-drgqqq0e.js} +34 -34
- package/dist/chunks/{state-v9gxz1md.js → provider-e8mvx7yd.js} +9 -9
- package/dist/chunks/{state-dvrve80v.js → provider-ebq43vw5.js} +21 -21
- package/dist/chunks/{state-eej6y6fw.js → provider-eej6y6fw.js} +2 -2
- package/dist/chunks/{state-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
- package/dist/chunks/{state-fqfr2d2w.js → provider-ehad32z2.js} +22 -22
- package/dist/chunks/{state-jb2p3fpn.js → provider-em3brvbs.js} +23 -23
- package/dist/chunks/{state-06a5dnqt.js → provider-enpwqqn0.js} +13 -13
- package/dist/chunks/{state-88hb3s0n.js → provider-es7kxqf0.js} +35 -35
- package/dist/chunks/{state-t8ybhpwc.js → provider-f27s4mgk.js} +326 -326
- package/dist/chunks/{state-6301kdm5.js → provider-f2frejk5.js} +5 -5
- package/dist/chunks/{state-rhraev7y.js → provider-f2n192rq.js} +4 -4
- package/dist/chunks/{state-3b9qt4hj.js → provider-f58gpcny.js} +9 -9
- package/dist/chunks/{state-0batmr09.js → provider-fet8v0n8.js} +21 -21
- package/dist/chunks/{state-t8h399t1.js → provider-fk7yywng.js} +16 -17
- package/dist/chunks/{state-9d97g4s8.js → provider-fnj7ew7f.js} +53 -53
- package/dist/chunks/{state-n5mn4s46.js → provider-fnpj0ea6.js} +15 -15
- package/dist/chunks/{state-czbw4cmk.js → provider-fww2ha2b.js} +10 -10
- package/dist/chunks/{state-abe2ntxt.js → provider-fxjy1gaz.js} +30 -30
- package/dist/chunks/{state-vrmrmq13.js → provider-g3f6525a.js} +23 -23
- package/dist/chunks/{state-b8hvt197.js → provider-gbcpnbg0.js} +28 -28
- package/dist/chunks/{state-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-z14c0ezc.js → provider-gqjfsscs.js} +6 -6
- package/dist/chunks/{state-afdssyjb.js → provider-gst7axd9.js} +4 -4
- package/dist/chunks/{state-06nkj3vg.js → provider-gtkys9g5.js} +14 -14
- package/dist/chunks/{state-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-31xfzrxg.js → provider-h7s7r6s9.js} +5 -5
- package/dist/chunks/{state-e77tbp3q.js → provider-hck0njnj.js} +24 -24
- package/dist/chunks/{state-hgz4x7wa.js → provider-hgz4x7wa.js} +1 -1
- package/dist/chunks/{state-mscwsevq.js → provider-hns8fa6k.js} +1 -1
- package/dist/chunks/{state-btgew72b.js → provider-hnyjm6g5.js} +7 -7
- package/dist/chunks/{state-kdwg27gz.js → provider-hs0emwqk.js} +34 -34
- package/dist/chunks/{state-p0dn96hm.js → provider-hs4s17a6.js} +29 -29
- package/dist/chunks/provider-ht5y0zrb.js +18 -0
- package/dist/chunks/{state-67nbb1d2.js → provider-hwfx9e0v.js} +3 -3
- package/dist/chunks/{state-6ew0807w.js → provider-hxpxs7m5.js} +35 -35
- package/dist/chunks/{state-00xey68d.js → provider-hyrayrht.js} +86 -86
- package/dist/chunks/{state-1w4hzgxt.js → provider-hzmxkg1x.js} +30 -30
- package/dist/chunks/{state-peh04qmw.js → provider-j1rz9bja.js} +22 -22
- package/dist/chunks/{state-txwayph5.js → provider-j2v9e2av.js} +17 -17
- package/dist/chunks/{state-x78kwme8.js → provider-j3pmf3xc.js} +13 -13
- package/dist/chunks/{state-wpdppf83.js → provider-j972kp05.js} +42 -42
- package/dist/chunks/{state-cx6mang1.js → provider-jf4mty79.js} +29 -29
- package/dist/chunks/{state-bd0nk3q4.js → provider-jfhb73ga.js} +16 -16
- package/dist/chunks/{state-vxp440pd.js → provider-jftcm1p2.js} +18 -18
- package/dist/chunks/{state-jk540des.js → provider-jk540des.js} +2 -2
- package/dist/chunks/provider-jp851rwh.js +253 -0
- package/dist/chunks/{state-6pc27hjz.js → provider-jws6fkes.js} +4 -4
- package/dist/chunks/{state-37r9m3qd.js → provider-k1w7jx6t.js} +36 -36
- package/dist/chunks/{state-317c38sv.js → provider-k2bz20w5.js} +39 -39
- package/dist/chunks/{state-yjpvjtxg.js → provider-k436a2zc.js} +7 -7
- package/dist/chunks/{state-pqe14sd0.js → provider-k6bpcq3t.js} +28 -28
- package/dist/chunks/{state-yyrkxex6.js → provider-kaqckjty.js} +34 -34
- package/dist/chunks/{state-82z684fv.js → provider-kd7gkzrj.js} +23 -23
- package/dist/chunks/{state-khmqacep.js → provider-khmqacep.js} +1 -1
- package/dist/chunks/{state-ra67jj04.js → provider-kjd40bgk.js} +9 -9
- package/dist/chunks/{state-kqx1b4hy.js → provider-kqx1b4hy.js} +4 -4
- package/dist/chunks/{state-rrt0a0ha.js → provider-m5jcjszt.js} +2 -2
- package/dist/chunks/{state-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-maspj1v3.js → provider-maspj1v3.js} +1 -1
- package/dist/chunks/{state-3mxtprej.js → provider-mfzbxada.js} +12 -12
- package/dist/chunks/{state-mznrgk7s.js → provider-mmvj8fee.js} +21 -21
- package/dist/chunks/{state-6khsczge.js → provider-mqe9x832.js} +70 -70
- package/dist/chunks/{state-rpyqww3d.js → provider-mw6hct32.js} +5 -5
- package/dist/chunks/{state-bfegkxfd.js → provider-n61013np.js} +8 -8
- package/dist/chunks/{state-qjjqb9p0.js → provider-n9rk3330.js} +5 -5
- package/dist/chunks/{state-en5pt065.js → provider-nggjaaey.js} +20 -20
- package/dist/chunks/{state-s5met55r.js → provider-ngts6ef0.js} +8 -8
- package/dist/chunks/{state-wyctmkaw.js → provider-nk15sya2.js} +16 -16
- package/dist/chunks/{state-5xbtdx13.js → provider-nmb6s6yx.js} +13 -13
- package/dist/chunks/{state-695pgmrz.js → provider-np95nkwd.js} +20 -20
- package/dist/chunks/{state-jbse4pv5.js → provider-p5g5pbnc.js} +37 -37
- package/dist/chunks/{state-3wrzs5nr.js → provider-p5h4w4th.js} +4 -4
- package/dist/chunks/{state-cpp34795.js → provider-p7xkakat.js} +25 -25
- package/dist/chunks/{state-8j6e69wk.js → provider-pdmy1nqv.js} +18 -18
- package/dist/chunks/{state-k7j3tctb.js → provider-pj8fb3qr.js} +10 -10
- package/dist/chunks/{state-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-pknna89w.js → provider-pknna89w.js} +1 -1
- package/dist/chunks/{state-6hqjk0t5.js → provider-pkt1g79k.js} +5 -5
- package/dist/chunks/{state-pnzf6mjf.js → provider-pnzf6mjf.js} +1 -1
- package/dist/chunks/{state-v0svnxqv.js → provider-pq3tqnwt.js} +20 -20
- package/dist/chunks/{state-33p39z69.js → provider-psgbjfb6.js} +19 -19
- package/dist/chunks/{state-q5t55cr7.js → provider-pxme7dsc.js} +17 -17
- package/dist/chunks/{state-q0xm7vwc.js → provider-q0xm7vwc.js} +2 -2
- package/dist/chunks/{state-ecnn9cc2.js → provider-q38a94v8.js} +32 -32
- package/dist/chunks/{state-xaf1e3dy.js → provider-qax75a92.js} +9 -9
- package/dist/chunks/{state-df13mnsx.js → provider-qenm3c1x.js} +52 -52
- package/dist/chunks/{state-cm734856.js → provider-qgzg545f.js} +18 -18
- package/dist/chunks/{state-pjxx77rw.js → provider-qhd8ymp6.js} +30 -30
- package/dist/chunks/{state-en6j97m7.js → provider-qkze3bem.js} +14 -14
- package/dist/chunks/{state-qnc92qwc.js → provider-qnc92qwc.js} +1 -1
- package/dist/chunks/{state-drwq78ky.js → provider-qqeeq2t9.js} +7 -7
- package/dist/chunks/{state-qsdy395h.js → provider-qsdy395h.js} +1 -1
- package/dist/chunks/{state-5aekxzw9.js → provider-qsg3v84t.js} +18 -18
- package/dist/chunks/{state-aha1fx7s.js → provider-qt4mgqne.js} +34 -34
- package/dist/chunks/{state-w09kgncp.js → provider-qvsmbsx7.js} +26 -26
- package/dist/chunks/{state-hb9gjms4.js → provider-qxmgy5v8.js} +20 -20
- package/dist/chunks/{state-qg5egbb1.js → provider-r2m1ycex.js} +32 -32
- package/dist/chunks/{state-h9ak3m4y.js → provider-r42rxzp2.js} +15 -15
- package/dist/chunks/{state-4hw4t8hc.js → provider-r66p9w6v.js} +3 -3
- package/dist/chunks/{state-39t7sh6v.js → provider-r70qewr9.js} +13 -13
- package/dist/chunks/{state-ddvq8pqf.js → provider-rc07w95g.js} +10 -10
- package/dist/chunks/{state-rdw6cm16.js → provider-rdw6cm16.js} +1 -1
- package/dist/chunks/{state-rert0e01.js → provider-rert0e01.js} +2 -2
- package/dist/chunks/{state-9q3v678q.js → provider-rfh3waba.js} +18 -18
- package/dist/chunks/{state-vvkashrh.js → provider-rh92rkmz.js} +5 -5
- package/dist/chunks/{state-rhjbct0v.js → provider-rhjbct0v.js} +1 -1
- package/dist/chunks/{state-rj3eygr5.js → provider-rj3eygr5.js} +2 -2
- package/dist/chunks/{state-ne8ahyn9.js → provider-rn2k52va.js} +16 -16
- package/dist/chunks/{state-ybqb7240.js → provider-rq8w23r5.js} +11 -11
- package/dist/chunks/{state-8qyv4v7y.js → provider-s5tkhmxc.js} +8 -8
- package/dist/chunks/{state-sa8ekw3f.js → provider-sa8ekw3f.js} +2 -2
- package/dist/chunks/{state-993g9nvg.js → provider-sr9gvwf8.js} +4 -4
- package/dist/chunks/{state-djqgfx53.js → provider-ss4vf093.js} +10 -10
- package/dist/chunks/{state-syv4x271.js → provider-syv4x271.js} +1 -1
- package/dist/chunks/{state-aavadf81.js → provider-t6m4fh97.js} +28 -28
- package/dist/chunks/{state-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-89znhe33.js → provider-tcezcvh9.js} +4 -4
- package/dist/chunks/{state-tdstcens.js → provider-tdstcens.js} +1 -1
- package/dist/chunks/{state-7zb1ag6b.js → provider-tdtcw4xa.js} +29 -29
- package/dist/chunks/{state-c8km4fhm.js → provider-te482g04.js} +9 -9
- package/dist/chunks/{state-skqar8q6.js → provider-thqhm7b8.js} +9 -9
- package/dist/chunks/{state-tm0kqsz3.js → provider-tm0kqsz3.js} +1 -1
- package/dist/chunks/{state-bbmb0x9b.js → provider-tpprgjsf.js} +11 -11
- package/dist/chunks/{state-f526sqyy.js → provider-ty907bk2.js} +9 -9
- package/dist/chunks/{state-tyytaxap.js → provider-tyytaxap.js} +1 -1
- package/dist/chunks/{state-9cwxf0zm.js → provider-tzhess53.js} +4 -4
- package/dist/chunks/{state-mbnxefga.js → provider-v0xmac3n.js} +2 -2
- package/dist/chunks/{state-2nmj9k6r.js → provider-v0y8rbp5.js} +20 -20
- package/dist/chunks/{state-435a5nd0.js → provider-v5x24k53.js} +33 -33
- package/dist/chunks/{state-v7p4zvkq.js → provider-v7p4zvkq.js} +2 -2
- package/dist/chunks/{state-w9agkv8a.js → provider-v7pgrky2.js} +18 -18
- package/dist/chunks/{state-7n2gwmyq.js → provider-vaz5qvqg.js} +26 -26
- package/dist/chunks/{state-veqvce7d.js → provider-veqvce7d.js} +1 -1
- package/dist/chunks/{state-vzs5sf6e.js → provider-vzs5sf6e.js} +1 -1
- package/dist/chunks/{state-pfz5tyak.js → provider-w0g3ptdb.js} +9 -9
- package/dist/chunks/{state-84txncab.js → provider-w1eejvng.js} +5 -5
- package/dist/chunks/{state-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-wd87259q.js → provider-wd87259q.js} +1 -1
- package/dist/chunks/{state-dssbfrwz.js → provider-wh6zw745.js} +5 -5
- package/dist/chunks/{state-bjx1sjef.js → provider-wjr9rjd7.js} +6 -6
- package/dist/chunks/{state-vvp1zypk.js → provider-wnbanjze.js} +3 -3
- package/dist/chunks/{state-xpeshqab.js → provider-wt86dmhn.js} +6 -6
- package/dist/chunks/{state-edcq6p70.js → provider-wxhs1qjx.js} +21 -21
- package/dist/chunks/{state-3tt0fxvw.js → provider-wz3sw48p.js} +8 -8
- package/dist/chunks/{state-mxvxcxwy.js → provider-x661k3y3.js} +4 -4
- package/dist/chunks/{state-g5j880g4.js → provider-x98ee4vw.js} +6 -6
- package/dist/chunks/{state-3grbbq2d.js → provider-xapeapez.js} +38 -38
- package/dist/chunks/{state-ja340vf7.js → provider-xd50x2en.js} +16 -16
- package/dist/chunks/{state-e51m94rx.js → provider-xhrgsrn3.js} +9 -9
- package/dist/chunks/{state-4e8cngzy.js → provider-xjy2aw5f.js} +2 -2
- package/dist/chunks/{state-fmd5032t.js → provider-xkqbx9x4.js} +5 -5
- package/dist/chunks/{state-z518b2ve.js → provider-xzvhangy.js} +9 -9
- package/dist/chunks/{state-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-y71avatq.js → provider-y71avatq.js} +1 -1
- package/dist/chunks/{state-6qr3rp4k.js → provider-y8p3zjbc.js} +6 -6
- package/dist/chunks/{state-34v44amg.js → provider-ybzwk8bv.js} +20 -20
- package/dist/chunks/{state-qegwm50a.js → provider-yh9ky8zt.js} +26 -26
- package/dist/chunks/{state-yrcj3v3g.js → provider-yrcj3v3g.js} +1 -1
- package/dist/chunks/{state-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-easapccs.js → provider-z2jd07rd.js} +6 -6
- package/dist/chunks/{state-z3bv93cy.js → provider-zbg202n1.js} +4 -4
- package/dist/chunks/{state-z38qwkds.js → provider-znm4dr2c.js} +88 -88
- package/dist/chunks/{state-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-k0xa6v94.js → provider-ztc63c18.js} +1 -1
- package/dist/chunks/{state-4h0sx8pt.js → provider-zx5x520x.js} +15 -15
- package/dist/chunks/{state-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
- package/dist/chunks/{state-b3f8fkhc.js → provider-zyk1yjk8.js} +5 -5
- 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 +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- 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 +72 -72
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +96 -96
- 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 +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 +101 -101
- 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 +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- 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 +94 -94
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/state-9sh4wc5j.js +0 -18
- package/dist/chunks/state-tvg7gr73.js +0 -253
- package/dist/chunks/state-yas4gz27.js +0 -26
- /package/dist/chunks/{state-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → provider-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → provider-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2bv980vf.js → provider-2bv980vf.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → provider-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → provider-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3t0ybcrp.js → provider-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → provider-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → provider-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-5qd3pb7m.js → provider-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → provider-6prwharc.js} +0 -0
- /package/dist/chunks/{state-6q2bdcd1.js → provider-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → provider-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → provider-822emrt2.js} +0 -0
- /package/dist/chunks/{state-84wd9syh.js → provider-84wd9syh.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → provider-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-8wj87zfr.js → provider-8wj87zfr.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → provider-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → provider-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → provider-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → provider-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → provider-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → provider-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → provider-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → provider-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → provider-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → provider-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → provider-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → provider-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hcxmzztb.js → provider-hcxmzztb.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → provider-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jze0r7bz.js → provider-jze0r7bz.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-m18g726c.js → provider-m18g726c.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → provider-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → provider-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-pkyv6v7h.js → provider-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{state-pyv0edze.js → provider-pyv0edze.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → provider-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-ve7vex1e.js → provider-ve7vex1e.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → provider-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wjj7prxr.js → provider-wjj7prxr.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → provider-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → provider-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → provider-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → provider-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → provider-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z5v4ffb3.js → provider-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → provider-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
3
|
Service48
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-5bxt3wpb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service35
|
|
7
|
+
} from "./provider-t6m4fh97.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin2
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin2 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
26
|
const config = yield* Service48;
|
|
27
|
-
const snapshot = yield*
|
|
27
|
+
const snapshot = yield* Service35;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin31 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin2, exports_snapshot };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./provider-hzmxkg1x.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-6ejbh5bw.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID12.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service81,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node85
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service81 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service81.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node85 = makeLocationNode({
|
|
137
|
+
service: Service81,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service81, node85, exports_tool_output2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./provider-qgzg545f.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info9
|
|
9
|
+
} from "./provider-n61013np.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-sr9gvwf8.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
15
|
Service48
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./provider-5bxt3wpb.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./provider-8m6m0r52.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./provider-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin15
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,11 +40,11 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info9);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin15 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
50
|
const config = yield* Service48;
|
|
@@ -76,13 +76,13 @@ var Plugin35 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID10.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID10.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin15, exports_agent };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-rq8w23r5.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-p5h4w4th.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service70
|
|
11
|
+
} from "./provider-gbcpnbg0.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service69
|
|
16
|
+
} from "./provider-vaz5qvqg.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./provider-hzmxkg1x.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./provider-6ejbh5bw.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID12.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID13.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service70;
|
|
57
|
+
const integrations = yield* Service69;
|
|
58
58
|
const bus = yield* Service84;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -186,7 +186,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
|
-
yield* bus.subscribe(
|
|
189
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
190
190
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
191
191
|
const token = envToken();
|
|
192
192
|
if (token)
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-a8fjrhec.js";
|
|
8
8
|
import {
|
|
9
9
|
Service84,
|
|
10
10
|
node88
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-p5h4w4th.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service78,
|
|
14
|
+
node82
|
|
15
|
+
} from "./provider-35rhfapn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info29,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-0bg0bx69.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./provider-rj3eygr5.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./provider-sa8ekw3f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./provider-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info28,
|
|
41
41
|
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service77,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node81,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
56
56
|
import { AppProcess } from "@opencode/util/process";
|
|
57
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Hash } from "@opencode/util/hash";
|
|
59
|
-
var
|
|
59
|
+
var ID17 = ID18;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info28 = Info29;
|
|
63
63
|
var UpdateInput3 = UpdateInput4;
|
|
64
64
|
|
|
65
65
|
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
|
-
projectID:
|
|
66
|
+
projectID: ID17
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
69
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service77 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,9 +98,9 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service78;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
105
|
const bus = yield* Service84;
|
|
106
106
|
const db = (yield* Service85).db;
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
112
112
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
113
113
|
const changed = replaced ?? unarchived;
|
|
114
114
|
if (changed)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event20.Updated, fromRow(changed));
|
|
116
116
|
if (!project.vcs)
|
|
117
117
|
return project;
|
|
118
118
|
const directories = [
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
148
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
149
149
|
projectID: item.projectID,
|
|
150
150
|
directory: item.directory,
|
|
151
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID17.global,
|
|
152
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
153
153
|
}, {
|
|
154
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
173
173
|
if (!row)
|
|
174
174
|
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
175
175
|
const project = fromRow(row);
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event20.Updated, project);
|
|
177
177
|
return project;
|
|
178
178
|
});
|
|
179
179
|
const activated = new Map;
|
|
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
184
184
|
activated.set(projectID, now);
|
|
185
185
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
186
186
|
if (row)
|
|
187
|
-
yield* bus.publish(
|
|
187
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
191
191
|
return;
|
|
192
192
|
}));
|
|
193
193
|
});
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
198
198
|
const normalized = url(origin);
|
|
199
199
|
if (!normalized)
|
|
200
200
|
return;
|
|
201
|
-
return
|
|
201
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
202
202
|
});
|
|
203
203
|
function url(input) {
|
|
204
204
|
const value = input.trim();
|
|
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
223
223
|
}
|
|
224
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
225
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
226
|
-
return root ?
|
|
226
|
+
return root ? ID17.make(root) : undefined;
|
|
227
227
|
});
|
|
228
228
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
229
229
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
239
239
|
return;
|
|
240
240
|
const node = result.stdout.toString("utf8").split(`
|
|
241
241
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
242
|
-
return node ?
|
|
242
|
+
return node ? ID17.make(node) : undefined;
|
|
243
243
|
});
|
|
244
244
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
245
245
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
248
248
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
249
249
|
return {
|
|
250
250
|
previous,
|
|
251
|
-
id: id ??
|
|
251
|
+
id: id ?? ID17.global,
|
|
252
252
|
directory: worktree,
|
|
253
253
|
vcs: { type: "hg", store }
|
|
254
254
|
};
|
|
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
265
265
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
266
266
|
return yield* persist({
|
|
267
267
|
previous,
|
|
268
|
-
id: id ??
|
|
268
|
+
id: id ?? ID17.global,
|
|
269
269
|
directory: repo.worktree,
|
|
270
270
|
canonical,
|
|
271
271
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
return yield* persist({
|
|
282
|
-
id:
|
|
282
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
283
283
|
directory,
|
|
284
284
|
canonical: directory,
|
|
285
285
|
vcs: undefined
|
|
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
288
288
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
289
289
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
290
290
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
291
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
291
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
|
|
292
292
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
293
293
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
294
294
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
301
301
|
return;
|
|
302
302
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
303
303
|
if (row)
|
|
304
|
-
yield* bus.publish(
|
|
304
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
305
305
|
}), { concurrency: 8, discard: true });
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service77.of({ list, update, activate, resolve, sweep });
|
|
308
308
|
}));
|
|
309
|
-
var
|
|
310
|
-
service:
|
|
309
|
+
var node81 = makeGlobalNode({
|
|
310
|
+
service: Service77,
|
|
311
311
|
layer,
|
|
312
|
-
deps: [node88, node89, FSUtil.node,
|
|
312
|
+
deps: [node88, node89, FSUtil.node, node82, AppProcess.node]
|
|
313
313
|
});
|
|
314
314
|
var sweepNode2 = makeGlobalNode({
|
|
315
315
|
name: "project-archive-sweep",
|
|
316
316
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
317
|
-
const project = yield*
|
|
317
|
+
const project = yield* Service77;
|
|
318
318
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
319
319
|
})),
|
|
320
|
-
deps: [
|
|
320
|
+
deps: [node81]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export {
|
|
323
|
+
export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError10, root2, Service77, node81, sweepNode2, exports_project };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./provider-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service78,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node82
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Cause, Context, Effect, Exit, Layer, Option, Schedule, Schema } from "effect";
|
|
@@ -100,9 +100,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
100
100
|
}) {
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service78 extends Context.Service()("@opencode/Git") {
|
|
104
104
|
}
|
|
105
|
-
var layer = Layer.effect(
|
|
105
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
106
106
|
const fs = yield* FSUtil.Service;
|
|
107
107
|
const proc = yield* AppProcess.Service;
|
|
108
108
|
const locks = makeUnsafe2();
|
|
@@ -717,7 +717,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
717
717
|
kind: index === 0 ? "main" : "linked"
|
|
718
718
|
}));
|
|
719
719
|
});
|
|
720
|
-
return
|
|
720
|
+
return Service78.of({
|
|
721
721
|
repo: { discover, clone, create },
|
|
722
722
|
remote: { get: remote },
|
|
723
723
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -734,7 +734,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
734
734
|
objects: { pack: packObjects }
|
|
735
735
|
});
|
|
736
736
|
}));
|
|
737
|
-
var
|
|
737
|
+
var node82 = makeGlobalNode({ service: Service78, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
738
738
|
function run(cwd, proc, args) {
|
|
739
739
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
740
740
|
}
|
|
@@ -801,4 +801,4 @@ function resolvePath(cwd, value) {
|
|
|
801
801
|
return path.resolve(cwd, normalized);
|
|
802
802
|
}
|
|
803
803
|
|
|
804
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
804
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service78, node82, exports_git3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
3
|
Service48
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-5bxt3wpb.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin30,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,7 +19,7 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin30 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
const config = yield* Service48;
|
|
@@ -96,4 +96,4 @@ var Plugin11 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin30, exports_warming };
|