@opencode/core 0.0.0-dev-20437 → 0.0.0-dev-20439
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{filesystem-6vzgdzvk.js → variant-01n0fn3n.js} +5 -5
- package/dist/chunks/{filesystem-f05k46e0.js → variant-07q3v8ms.js} +37 -37
- package/dist/chunks/{filesystem-vh0ct6km.js → variant-0g91z8as.js} +23 -23
- package/dist/chunks/{filesystem-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-hab5jpb1.js → variant-0sep86pb.js} +50 -50
- package/dist/chunks/{filesystem-0vbcp93d.js → variant-0vbcp93d.js} +2 -2
- package/dist/chunks/{filesystem-2y34zzjz.js → variant-0z8vjex2.js} +7 -7
- package/dist/chunks/{filesystem-fv69kr5x.js → variant-10cxjgch.js} +8 -8
- package/dist/chunks/{filesystem-t0wjhbzp.js → variant-10zwexjt.js} +11 -11
- package/dist/chunks/{filesystem-bzs6kdmy.js → variant-14v92p14.js} +20 -20
- package/dist/chunks/{filesystem-2j3vk6t2.js → variant-16w9ecqz.js} +11 -11
- package/dist/chunks/{filesystem-fzg55a4d.js → variant-17bspyb1.js} +43 -43
- package/dist/chunks/{filesystem-r1x1110x.js → variant-18126dgn.js} +28 -28
- package/dist/chunks/{filesystem-cz58kz68.js → variant-19wa5dg2.js} +6 -6
- package/dist/chunks/{filesystem-r8xr0va3.js → variant-1acjjqhc.js} +4 -4
- package/dist/chunks/{filesystem-g30v9gca.js → variant-1brx5qyk.js} +43 -43
- package/dist/chunks/{filesystem-2b2kdvct.js → variant-1d10jwk2.js} +13 -13
- package/dist/chunks/{filesystem-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-1dvck2a7.js → variant-1dvck2a7.js} +2 -2
- package/dist/chunks/{filesystem-9emmf9qt.js → variant-1f3k22r2.js} +8 -8
- package/dist/chunks/{filesystem-cd88demr.js → variant-1hzkdvcb.js} +27 -27
- package/dist/chunks/{filesystem-249qvrry.js → variant-1qfm3kg7.js} +85 -85
- package/dist/chunks/{filesystem-5t1mqahn.js → variant-1qrvjt31.js} +15 -15
- package/dist/chunks/{filesystem-21r38tys.js → variant-21r38tys.js} +1 -1
- package/dist/chunks/{filesystem-8a1fg79c.js → variant-25a4t902.js} +18 -18
- package/dist/chunks/{filesystem-7yz2xr1t.js → variant-28m0ec4d.js} +42 -42
- package/dist/chunks/{filesystem-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-fqh1qya1.js → variant-2fhv8f0b.js} +44 -44
- package/dist/chunks/{filesystem-036ns257.js → variant-2g5mhw7z.js} +24 -24
- package/dist/chunks/{filesystem-0jwsre1p.js → variant-2k8khapm.js} +5 -5
- package/dist/chunks/{filesystem-fpq9acqp.js → variant-2myva995.js} +6 -6
- package/dist/chunks/variant-2v8pqagd.js +507 -0
- package/dist/chunks/{filesystem-v1fb46qy.js → variant-2y89dd9a.js} +13 -13
- package/dist/chunks/{filesystem-ddrhvhgz.js → variant-3160htdx.js} +5 -5
- package/dist/chunks/{filesystem-e2tkn9w7.js → variant-32grcv6n.js} +3 -3
- package/dist/chunks/{filesystem-9m60jvq0.js → variant-32jztgwf.js} +17 -17
- package/dist/chunks/{filesystem-bzn1wj9e.js → variant-367xe4pb.js} +16 -16
- package/dist/chunks/{filesystem-rnpnebxd.js → variant-396xe5we.js} +3 -3
- package/dist/chunks/{filesystem-pbdx9thr.js → variant-398qtpyw.js} +19 -19
- package/dist/chunks/{filesystem-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-hzdb9pk6.js → variant-3kcc9g8w.js} +18 -18
- package/dist/chunks/{filesystem-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-3v5tjer0.js → variant-3v5tjer0.js} +2 -2
- package/dist/chunks/{filesystem-3zsf4n22.js → variant-3zsf4n22.js} +1 -1
- package/dist/chunks/{filesystem-knevfgda.js → variant-41czef58.js} +4 -4
- package/dist/chunks/{filesystem-99pzt4jy.js → variant-49d935aw.js} +6 -6
- package/dist/chunks/{filesystem-pgcyf0hj.js → variant-4erxxbbf.js} +35 -35
- package/dist/chunks/{filesystem-0hx3wrkq.js → variant-4k5wkrh9.js} +26 -26
- package/dist/chunks/{filesystem-4ts7tf6z.js → variant-4ts7tf6z.js} +2 -2
- package/dist/chunks/{filesystem-53srf1q3.js → variant-50bj4n03.js} +21 -21
- package/dist/chunks/{filesystem-k1qrnqst.js → variant-517vs525.js} +8 -8
- package/dist/chunks/{filesystem-54ma36ye.js → variant-54ma36ye.js} +1 -1
- package/dist/chunks/{filesystem-q4tdxfva.js → variant-5bgh4dzz.js} +6 -6
- package/dist/chunks/{filesystem-5daktx2q.js → variant-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-10j2s16v.js → variant-5gd79jxb.js} +8 -8
- package/dist/chunks/{filesystem-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-n335nty0.js → variant-5w4kbhzj.js} +34 -34
- package/dist/chunks/{filesystem-04z6gqcg.js → variant-5xesbvpt.js} +14 -9
- package/dist/chunks/variant-611kkatt.js +252 -0
- package/dist/chunks/{filesystem-669tq793.js → variant-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-eh197s02.js → variant-67h7xkhv.js} +23 -23
- package/dist/chunks/{filesystem-p0zwa1vv.js → variant-6abt9vd9.js} +11 -11
- package/dist/chunks/{filesystem-skzznzbs.js → variant-6d98qxkn.js} +22 -22
- package/dist/chunks/{filesystem-v5dkyp31.js → variant-6hh8tjw2.js} +4 -4
- package/dist/chunks/{filesystem-nqdd843g.js → variant-6nd6aznx.js} +26 -26
- package/dist/chunks/{filesystem-fer7p6e5.js → variant-6qmtfge3.js} +11 -11
- package/dist/chunks/{filesystem-jth1hnpz.js → variant-6szg9m6g.js} +23 -23
- package/dist/chunks/{filesystem-40gv55tz.js → variant-6xwnd5n0.js} +43 -43
- package/dist/chunks/{filesystem-71az546q.js → variant-71az546q.js} +2 -2
- package/dist/chunks/{filesystem-t5qt6q14.js → variant-75dbh3sm.js} +24 -24
- package/dist/chunks/{filesystem-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-40n4jky6.js → variant-7cx9cvsh.js} +1 -1
- package/dist/chunks/{filesystem-9b186pma.js → variant-7ph72h93.js} +2 -2
- package/dist/chunks/{filesystem-hvcykgb7.js → variant-7r87hsp1.js} +13 -13
- package/dist/chunks/{filesystem-8x85r25d.js → variant-7wdw4sn7.js} +16 -16
- package/dist/chunks/{filesystem-vt2nsqzf.js → variant-84gad1zv.js} +9 -9
- package/dist/chunks/{filesystem-w1eejvng.js → variant-84txncab.js} +5 -5
- package/dist/chunks/{filesystem-aapnq670.js → variant-886x1de6.js} +26 -26
- package/dist/chunks/{filesystem-n39mkyex.js → variant-8arhm12g.js} +21 -21
- package/dist/chunks/{filesystem-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-2117cf5j.js → variant-8j08zm4r.js} +16 -16
- package/dist/chunks/{filesystem-gf8xtkbh.js → variant-8kq48qmj.js} +11 -11
- package/dist/chunks/{filesystem-ey93rq2c.js → variant-8vtqv0ab.js} +28 -28
- package/dist/chunks/{filesystem-w1xfvgnx.js → variant-94svnpff.js} +5 -5
- package/dist/chunks/{filesystem-9a0r6qpw.js → variant-97ch1fd3.js} +23 -23
- package/dist/chunks/{filesystem-t8qw8ht6.js → variant-9a5pyt9z.js} +4 -4
- package/dist/chunks/{filesystem-9e5bzkjp.js → variant-9e5bzkjp.js} +3 -3
- package/dist/chunks/{filesystem-ttjpp0qf.js → variant-9gn2e1q5.js} +54 -54
- package/dist/chunks/{filesystem-ygdna4kr.js → variant-9hwaqfsw.js} +5 -5
- package/dist/chunks/{filesystem-y3afyytz.js → variant-9jgd0g1z.js} +8 -8
- package/dist/chunks/{filesystem-m36dkgq1.js → variant-9tcgwzn8.js} +26 -26
- package/dist/chunks/{filesystem-a1gpj94z.js → variant-a1gpj94z.js} +1 -1
- package/dist/chunks/{filesystem-10w0d6yc.js → variant-a72r2k07.js} +13 -13
- package/dist/chunks/{filesystem-fnce5adh.js → variant-aacyrw2e.js} +25 -25
- package/dist/chunks/{filesystem-aaet6srn.js → variant-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-4n25jbh7.js → variant-abp7q8sa.js} +5 -5
- package/dist/chunks/{filesystem-y6bex35g.js → variant-addxnjmp.js} +4 -4
- package/dist/chunks/{filesystem-69db790d.js → variant-ag3xtcd7.js} +35 -35
- package/dist/chunks/{filesystem-htbac61m.js → variant-aj7xgpkt.js} +9 -9
- package/dist/chunks/{filesystem-v9m3g1t2.js → variant-ajwerf3h.js} +8 -8
- package/dist/chunks/{filesystem-czy4wnbd.js → variant-atg4dcqk.js} +4 -4
- package/dist/chunks/{filesystem-nsj1xyps.js → variant-atm978tp.js} +15 -15
- package/dist/chunks/{filesystem-4260m7mp.js → variant-awte1d78.js} +27 -27
- package/dist/chunks/{filesystem-16efbqx1.js → variant-b53k4bdr.js} +23 -23
- package/dist/chunks/{filesystem-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-fpq5n6b2.js → variant-b9dr4ekr.js} +16 -16
- package/dist/chunks/{filesystem-rqbby9tc.js → variant-baqpbr50.js} +9 -9
- package/dist/chunks/{filesystem-vdqezpb9.js → variant-bcrgek8j.js} +11 -11
- package/dist/chunks/{filesystem-v79100zg.js → variant-bq6v1dby.js} +84 -84
- package/dist/chunks/{filesystem-13bwbegs.js → variant-brp8zeym.js} +6 -6
- package/dist/chunks/{filesystem-x1c2mckn.js → variant-c0d2pnej.js} +24 -24
- package/dist/chunks/{filesystem-m8pgzgtv.js → variant-c0yg3yaa.js} +21 -21
- package/dist/chunks/{filesystem-03qp45f7.js → variant-c2cehf6b.js} +7 -7
- package/dist/chunks/{filesystem-3ykdjwsk.js → variant-c5xf5z0j.js} +6 -6
- package/dist/chunks/{filesystem-w5zzhgd0.js → variant-c73eachg.js} +8 -8
- package/dist/chunks/{filesystem-p7xtj0az.js → variant-cann05ez.js} +44 -44
- package/dist/chunks/{filesystem-jx72pgsy.js → variant-cjg42c8t.js} +26 -26
- package/dist/chunks/{filesystem-e2hjzebn.js → variant-ctmr8zqa.js} +4 -4
- package/dist/chunks/{filesystem-d4he2qe1.js → variant-cwa6csj7.js} +9 -9
- package/dist/chunks/{filesystem-bxthwjhd.js → variant-cx4dwxh6.js} +27 -27
- package/dist/chunks/{filesystem-zfa7ynd8.js → variant-d5fw341f.js} +20 -20
- package/dist/chunks/{filesystem-sx1n432n.js → variant-dfe8djrf.js} +4 -4
- package/dist/chunks/{filesystem-wq913sbs.js → variant-djsestcq.js} +22 -22
- package/dist/chunks/{filesystem-xkntkrq7.js → variant-dmqcgk4z.js} +5 -5
- package/dist/chunks/{filesystem-bvpw04s5.js → variant-dmsv4044.js} +18 -18
- package/dist/chunks/{filesystem-p4jmp3zn.js → variant-dss9tgbb.js} +20 -20
- package/dist/chunks/{filesystem-gnra7rc5.js → variant-e30mydyk.js} +12 -12
- package/dist/chunks/{filesystem-rhjbct0v.js → variant-eaj1djv9.js} +8 -8
- package/dist/chunks/{filesystem-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-z9917bqf.js → variant-eymke9sh.js} +2 -2
- package/dist/chunks/{filesystem-en65dp82.js → variant-f3sqmsb9.js} +13 -13
- package/dist/chunks/{filesystem-1sprwmy8.js → variant-fd4k4kgm.js} +5 -5
- package/dist/chunks/{filesystem-284z5c3g.js → variant-fhw597r0.js} +11 -11
- package/dist/chunks/{filesystem-dwq6ryhm.js → variant-fqj9nv8j.js} +8 -8
- package/dist/chunks/{filesystem-vjnb44yt.js → variant-fvxg17y2.js} +3 -3
- package/dist/chunks/{filesystem-94xx3qtf.js → variant-fw852r6x.js} +10 -10
- package/dist/chunks/{filesystem-0bpfe0ke.js → variant-fyqce8v0.js} +13 -13
- package/dist/chunks/{filesystem-wytcdbr4.js → variant-g0cknp2d.js} +10 -10
- package/dist/chunks/{filesystem-magykp64.js → variant-g190xswt.js} +4 -4
- package/dist/chunks/{filesystem-6mnjs94f.js → variant-g1r7w4ks.js} +4 -4
- package/dist/chunks/{filesystem-0var7w7b.js → variant-g8pm3x4z.js} +18 -18
- package/dist/chunks/{filesystem-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-fs3nq2yz.js → variant-gr8khd20.js} +20 -20
- package/dist/chunks/{filesystem-h2b79v29.js → variant-h2b79v29.js} +2 -2
- package/dist/chunks/{filesystem-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-0mbr7zrx.js → variant-hdtje8j6.js} +9 -9
- package/dist/chunks/{filesystem-a4ae1mqs.js → variant-hekxc47r.js} +1 -1
- package/dist/chunks/{filesystem-q80vxeqa.js → variant-hfa8a3rd.js} +20 -20
- package/dist/chunks/{filesystem-qbxnrrty.js → variant-hfgwpwpp.js} +9 -9
- package/dist/chunks/variant-hgd4btym.js +18 -0
- package/dist/chunks/{filesystem-rbvf45af.js → variant-hry7yjep.js} +19 -19
- package/dist/chunks/{filesystem-j56e64zr.js → variant-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-q3ztap5c.js → variant-jh4mddbt.js} +18 -18
- package/dist/chunks/{filesystem-jm5d91qr.js → variant-jkvxnthz.js} +3 -3
- package/dist/chunks/{filesystem-nzks3jc8.js → variant-k3c624dm.js} +3 -3
- package/dist/chunks/{filesystem-ph7yx3mv.js → variant-k844m94c.js} +70 -70
- package/dist/chunks/{filesystem-xa3h9a9a.js → variant-k86ryq5x.js} +14 -14
- package/dist/chunks/{filesystem-ahvq88ye.js → variant-kpbb4v73.js} +15 -15
- package/dist/chunks/{filesystem-sjrg0510.js → variant-kqsbn90b.js} +48 -48
- package/dist/chunks/{filesystem-q55sjswm.js → variant-kyd65svd.js} +25 -25
- package/dist/chunks/{filesystem-18x8m27a.js → variant-m359rxbq.js} +40 -17
- package/dist/chunks/{filesystem-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
- package/dist/chunks/{filesystem-c9wk9zmw.js → variant-m6pcnaq2.js} +20 -20
- package/dist/chunks/{filesystem-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-zspyrcp2.js → variant-mads3xza.js} +10 -10
- package/dist/chunks/{filesystem-mazbtkaa.js → variant-mazbtkaa.js} +2 -2
- package/dist/chunks/{filesystem-3z06kyty.js → variant-mc5axvaa.js} +4 -4
- package/dist/chunks/{filesystem-56gdpj1q.js → variant-mfqp6xfm.js} +6 -6
- package/dist/chunks/{filesystem-n8gabnpz.js → variant-mkfpjzad.js} +18 -18
- package/dist/chunks/{filesystem-6bctz05c.js → variant-mzseknbn.js} +6 -6
- package/dist/chunks/{filesystem-srq8z0b0.js → variant-n8sna2wb.js} +9 -9
- package/dist/chunks/{filesystem-dpkg50ah.js → variant-nxm207yx.js} +4 -4
- package/dist/chunks/{filesystem-qqc5b8jm.js → variant-nz6s4zm9.js} +13 -13
- package/dist/chunks/{filesystem-3k6sfp50.js → variant-p0b4ytnr.js} +6 -6
- package/dist/chunks/{filesystem-1vjvsfvk.js → variant-p226k876.js} +6 -6
- package/dist/chunks/{filesystem-8v6pyhej.js → variant-p37cw4rj.js} +8 -8
- package/dist/chunks/{filesystem-502acak7.js → variant-p4zjnn1b.js} +25 -25
- package/dist/chunks/{filesystem-d2czbp48.js → variant-p6wxjpka.js} +4 -4
- package/dist/chunks/{filesystem-vgepzxbh.js → variant-pcxghkgz.js} +4 -4
- package/dist/chunks/{filesystem-n7vf5rt3.js → variant-pfj2krk7.js} +17 -17
- package/dist/chunks/{filesystem-hp3qwkn2.js → variant-pgbadr74.js} +9 -9
- package/dist/chunks/{filesystem-as7cf5zz.js → variant-pgsrtt9v.js} +4 -4
- package/dist/chunks/{filesystem-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → variant-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-qb03crtp.js → variant-pmtnnnej.js} +11 -11
- package/dist/chunks/{filesystem-xsv69pbv.js → variant-pp48bh1f.js} +178 -178
- package/dist/chunks/{filesystem-qwqewt7m.js → variant-predqs4e.js} +24 -24
- package/dist/chunks/{filesystem-wp4j34tg.js → variant-px5nxgea.js} +7 -7
- package/dist/chunks/{filesystem-w92k2e0p.js → variant-py3kkmfq.js} +8 -8
- package/dist/chunks/{filesystem-ekrjqnnp.js → variant-pzw80991.js} +5 -5
- package/dist/chunks/{filesystem-q0xm7vwc.js → variant-q0xm7vwc.js} +2 -2
- package/dist/chunks/{filesystem-ntd8bhev.js → variant-q6gppffy.js} +22 -22
- package/dist/chunks/{filesystem-72373yy7.js → variant-qd6m6a6s.js} +17 -17
- package/dist/chunks/{filesystem-rmw2jszq.js → variant-qdp2stk8.js} +16 -16
- package/dist/chunks/{filesystem-k2kkzz2w.js → variant-qfb0b5c2.js} +1 -1
- package/dist/chunks/{filesystem-mmpp2d0a.js → variant-qkcvdzb0.js} +17 -17
- package/dist/chunks/{filesystem-f15hrzrf.js → variant-qkn9jtjt.js} +22 -22
- package/dist/chunks/{filesystem-qnc92qwc.js → variant-qnc92qwc.js} +1 -1
- package/dist/chunks/{filesystem-wwgj8rat.js → variant-qqtgdjgj.js} +3 -3
- package/dist/chunks/{filesystem-4gmk1bet.js → variant-qr0tztqq.js} +30 -30
- package/dist/chunks/{filesystem-qsdy395h.js → variant-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-1t2yejss.js → variant-qvf13fnr.js} +11 -11
- package/dist/chunks/{filesystem-77bwnxcq.js → variant-qxz90s08.js} +27 -27
- package/dist/chunks/{filesystem-xmjkc9yk.js → variant-qy1zqqd8.js} +3 -3
- package/dist/chunks/{filesystem-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-axs6pdy0.js → variant-reg6q42h.js} +5 -5
- package/dist/chunks/{filesystem-3mg3kbvc.js → variant-rpnewtr1.js} +25 -25
- package/dist/chunks/{filesystem-wecqtg5s.js → variant-scgrse2b.js} +5 -5
- package/dist/chunks/{filesystem-mxzx5kg9.js → variant-sf4zj9sn.js} +10 -10
- package/dist/chunks/{filesystem-0jtsdzd6.js → variant-shp9g25n.js} +6 -6
- package/dist/chunks/{filesystem-kt7s2gck.js → variant-skgznvtr.js} +12 -12
- package/dist/chunks/{filesystem-cze0x14q.js → variant-srjtz9mv.js} +35 -35
- package/dist/chunks/{filesystem-fqcgpcra.js → variant-svb96c7g.js} +9 -9
- package/dist/chunks/{filesystem-ayxfxvv4.js → variant-t2kw1cd0.js} +11 -11
- package/dist/chunks/{filesystem-ze807gy0.js → variant-t62k6cwy.js} +17 -17
- package/dist/chunks/{filesystem-qvb3nf84.js → variant-t89fqycx.js} +8 -8
- package/dist/chunks/{filesystem-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-89znhe33.js → variant-tcezcvh9.js} +4 -4
- package/dist/chunks/{filesystem-eyf4e8bx.js → variant-tdjsa322.js} +22 -22
- package/dist/chunks/{filesystem-9w4ppqge.js → variant-tdpndm1c.js} +5 -5
- package/dist/chunks/{filesystem-tdstcens.js → variant-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-926kcrbn.js → variant-tfwvc9sw.js} +5 -5
- package/dist/chunks/{filesystem-8fswdrtm.js → variant-tjx3ap9d.js} +37 -37
- package/dist/chunks/{filesystem-v2a7x3en.js → variant-tk612nqt.js} +5 -5
- package/dist/chunks/{filesystem-570xzm8z.js → variant-tkx9gh3c.js} +14 -14
- package/dist/chunks/{filesystem-wz6s39r0.js → variant-trf9v1m0.js} +10 -10
- package/dist/chunks/{filesystem-tvtrv512.js → variant-tvtrv512.js} +1 -1
- package/dist/chunks/{filesystem-csehsh8k.js → variant-v54kchrq.js} +11 -11
- package/dist/chunks/{filesystem-sx3bpmv2.js → variant-v86rjf98.js} +9 -9
- package/dist/chunks/{filesystem-y1g4qk85.js → variant-vcgjavzm.js} +12 -12
- package/dist/chunks/{filesystem-sza2hw6f.js → variant-vd86y6dk.js} +17 -17
- package/dist/chunks/{filesystem-veqvce7d.js → variant-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-mgm2328f.js → variant-vj7qk97t.js} +10 -10
- package/dist/chunks/{filesystem-fybjktbt.js → variant-vj9qpvrk.js} +3 -3
- package/dist/chunks/{filesystem-2yn03772.js → variant-vskqw7qy.js} +32 -32
- package/dist/chunks/{filesystem-eqhsfx8j.js → variant-vtfaj6fm.js} +5 -5
- package/dist/chunks/{filesystem-s5met55r.js → variant-vxby77fw.js} +8 -8
- package/dist/chunks/{filesystem-dxwm750g.js → variant-vxmbdp5g.js} +2 -2
- package/dist/chunks/{filesystem-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-vzs5sf6e.js → variant-vzs5sf6e.js} +1 -1
- package/dist/chunks/variant-w191f00y.js +26 -0
- package/dist/chunks/{filesystem-xdrba4jw.js → variant-w3jg838k.js} +9 -9
- package/dist/chunks/{filesystem-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-wd87259q.js → variant-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-1g7rajnm.js → variant-weg9ntdf.js} +18 -8
- package/dist/chunks/{filesystem-6yz0wx8n.js → variant-wh6zw745.js} +5 -5
- package/dist/chunks/{filesystem-9ty99bx7.js → variant-wtas89nq.js} +16 -16
- package/dist/chunks/{filesystem-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-j1qc8r1v.js → variant-x1fg9w2t.js} +20 -20
- package/dist/chunks/{filesystem-km7yg6gp.js → variant-x7kbtnka.js} +4 -4
- package/dist/chunks/{filesystem-gxc58qt5.js → variant-x8a719yx.js} +13 -13
- package/dist/chunks/{filesystem-6j8v6d3j.js → variant-x9m4a9xf.js} +35 -35
- package/dist/chunks/{filesystem-3r9vx1gf.js → variant-xeav5w26.js} +11 -11
- package/dist/chunks/{filesystem-57b9ws8p.js → variant-xfkkasph.js} +7 -7
- package/dist/chunks/{filesystem-jaf6ynan.js → variant-xjza7kx6.js} +8 -8
- package/dist/chunks/{filesystem-3y2v64q1.js → variant-xrsga2b8.js} +30 -30
- package/dist/chunks/{filesystem-2p2n3666.js → variant-xs9h3ep0.js} +8 -8
- package/dist/chunks/{filesystem-r1ha4sdk.js → variant-xzfnxand.js} +24 -24
- package/dist/chunks/{filesystem-ksmsdbk6.js → variant-xzrre6xp.js} +4 -4
- package/dist/chunks/{filesystem-a6cwp1se.js → variant-y0z8gwh2.js} +10 -10
- package/dist/chunks/{filesystem-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-wg48xxpp.js → variant-y1jyntcw.js} +45 -45
- package/dist/chunks/{filesystem-6pms16j6.js → variant-y6kgs8hj.js} +8 -8
- package/dist/chunks/{filesystem-kkp8zx71.js → variant-y6mhz57t.js} +4 -4
- package/dist/chunks/{filesystem-rejyrjqj.js → variant-ydr4sfaa.js} +8 -8
- package/dist/chunks/{filesystem-517w8nej.js → variant-yf6pnrx7.js} +34 -34
- package/dist/chunks/{filesystem-rrpq0de9.js → variant-ynpe6tcd.js} +5 -5
- package/dist/chunks/{filesystem-rcf4x2xx.js → variant-ypqp8gqh.js} +23 -23
- package/dist/chunks/{filesystem-k5n7mtkn.js → variant-yqwyk71w.js} +11 -11
- package/dist/chunks/{filesystem-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-gmmdfr2g.js → variant-yt6cqe55.js} +8 -8
- package/dist/chunks/{filesystem-xvzn4eft.js → variant-yy9wtzs9.js} +25 -25
- package/dist/chunks/{filesystem-gedjwras.js → variant-z01wj9c4.js} +14 -14
- package/dist/chunks/{filesystem-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-xv03hvvc.js → variant-z2zv94aj.js} +31 -31
- package/dist/chunks/{filesystem-ayq4cb10.js → variant-z4ym9awj.js} +41 -41
- package/dist/chunks/{filesystem-5vxg51km.js → variant-zc3c5803.js} +39 -39
- package/dist/chunks/{filesystem-dxp61821.js → variant-zfyd4z1t.js} +11 -11
- package/dist/chunks/{filesystem-v12tw1kt.js → variant-zkr7fetz.js} +18 -18
- package/dist/chunks/{filesystem-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-wz13sdny.js → variant-zw6qz0tx.js} +22 -22
- package/dist/chunks/{filesystem-dpk2q23m.js → variant-zxgz6j12.js} +10 -10
- package/dist/chunks/{filesystem-zxq2ej10.js → variant-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 +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +123 -123
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +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 +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -154
- 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 +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/vcs.d.ts +6 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/filesystem-33q1jrjr.js +0 -507
- package/dist/chunks/filesystem-619r8v3y.js +0 -18
- package/dist/chunks/filesystem-arh3zgt8.js +0 -26
- package/dist/chunks/filesystem-f7z0fqgw.js +0 -252
- /package/dist/chunks/{filesystem-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → variant-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → variant-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-34c7v6d4.js → variant-34c7v6d4.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → variant-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → variant-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → variant-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → variant-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5qd3pb7m.js → variant-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → variant-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → variant-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → variant-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → variant-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → variant-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → variant-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → variant-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → variant-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → variant-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → variant-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → variant-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → variant-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → variant-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → variant-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → variant-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → variant-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → variant-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → variant-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → variant-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → variant-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → variant-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-sk3qaz4a.js → variant-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → variant-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → variant-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → variant-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → variant-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → variant-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → variant-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → variant-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → variant-z9919s4g.js} +0 -0
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-x7kbtnka.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-tazgh4e4.js";
|
|
10
|
+
import {
|
|
11
|
+
root2
|
|
12
|
+
} from "./variant-xs9h3ep0.js";
|
|
10
13
|
import {
|
|
11
14
|
Service80,
|
|
12
15
|
node84
|
|
13
|
-
} from "./
|
|
16
|
+
} from "./variant-7ph72h93.js";
|
|
14
17
|
import {
|
|
15
18
|
reconcile2,
|
|
16
19
|
create3
|
|
17
|
-
} from "./
|
|
20
|
+
} from "./variant-rdw6cm16.js";
|
|
18
21
|
import {
|
|
19
22
|
__export
|
|
20
|
-
} from "./
|
|
23
|
+
} from "./variant-9rqn6x4v.js";
|
|
21
24
|
|
|
22
25
|
// src/vcs.ts
|
|
23
26
|
var exports_vcs = {};
|
|
@@ -26,17 +29,18 @@ __export(exports_vcs, {
|
|
|
26
29
|
BranchList: () => BranchList2,
|
|
27
30
|
DiffError: () => DiffError2,
|
|
28
31
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
32
|
+
Info: () => Info20,
|
|
33
|
+
InitializeError: () => InitializeError2,
|
|
30
34
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
35
|
+
Service: () => Service57,
|
|
32
36
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
37
|
+
node: () => node59
|
|
34
38
|
});
|
|
35
39
|
import path from "path";
|
|
36
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info20, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,9 +49,14 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
49
|
}) {
|
|
46
50
|
}
|
|
47
51
|
|
|
48
|
-
class
|
|
52
|
+
class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
53
|
+
kind: Schema.Literals(["missing", "conflict", "unknown", "unsupported", "failed"])
|
|
54
|
+
}) {
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
class Service57 extends Context.Service()("@opencode/Vcs") {
|
|
49
58
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
51
60
|
const fs = yield* FSUtil.Service;
|
|
52
61
|
const location = yield* Service80;
|
|
53
62
|
const bus = yield* Service83;
|
|
@@ -62,7 +71,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
62
71
|
canonical: location.project.canonical,
|
|
63
72
|
...vcs ? { store: vcs.store } : {}
|
|
64
73
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info20));
|
|
66
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -97,7 +106,9 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
97
106
|
const changed = yield* Effect.gen(function* () {
|
|
98
107
|
const provider = selected();
|
|
99
108
|
const next = provider ? {
|
|
100
|
-
...yield* protect(provider, "info", provider.info(scope).pipe(Effect.flatMap(decodeInfo)), {
|
|
109
|
+
...yield* protect(provider, "info", provider.info(scope).pipe(Effect.flatMap(decodeInfo)), {
|
|
110
|
+
branch: {}
|
|
111
|
+
}),
|
|
101
112
|
provider: provider.id
|
|
102
113
|
} : { branch: {} };
|
|
103
114
|
const changed = current.info.branch.current !== next.branch.current;
|
|
@@ -118,9 +129,21 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
118
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
131
|
}
|
|
121
|
-
return
|
|
132
|
+
return Service57.of({
|
|
122
133
|
transform: state.transform,
|
|
123
134
|
reload: state.reload,
|
|
135
|
+
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
136
|
+
if (!(yield* fs.isDir(location.project.directory)))
|
|
137
|
+
return yield* new InitializeError2({ kind: "missing" });
|
|
138
|
+
if (yield* root2(fs, location.project.directory))
|
|
139
|
+
return yield* new InitializeError2({ kind: "conflict" });
|
|
140
|
+
const provider = state.get().providers.get(providerID);
|
|
141
|
+
if (!provider)
|
|
142
|
+
return yield* new InitializeError2({ kind: "unknown" });
|
|
143
|
+
if (!provider.init)
|
|
144
|
+
return yield* new InitializeError2({ kind: "unsupported" });
|
|
145
|
+
yield* provider.init(scope).pipe(Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause).pipe(Effect.orDie) : Effect.logWarning("vcs initialization failed", { provider: providerID, cause }).pipe(Effect.andThen(Effect.fail(new InitializeError2({ kind: "failed" }))))));
|
|
146
|
+
}),
|
|
124
147
|
info: Effect.fn("Vcs.info")(function* () {
|
|
125
148
|
return current.info;
|
|
126
149
|
}),
|
|
@@ -164,10 +187,10 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
164
187
|
})
|
|
165
188
|
});
|
|
166
189
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
190
|
+
var node59 = makeLocationNode({
|
|
191
|
+
service: Service57,
|
|
169
192
|
layer,
|
|
170
193
|
deps: [FSUtil.node, node84, node87]
|
|
171
194
|
});
|
|
172
195
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info20, Mode2, DiffError2, InitializeError2, Service57, node59, exports_vcs };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-ynpe6tcd.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./variant-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service60,
|
|
16
|
+
node63
|
|
17
|
+
} from "./variant-trf9v1m0.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./variant-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service29,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node32,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service29 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service60;
|
|
110
|
+
return Service29.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node32 = makeGlobalNode({
|
|
171
|
+
service: Service29,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node86, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node63]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service29, isError2, validateBranch2, node32, exports_repository_cache };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-x7kbtnka.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service54,
|
|
6
|
+
Event11
|
|
7
|
+
} from "./variant-hfa8a3rd.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./variant-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin36,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin36 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service83;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service54;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin49 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin36, exports_plugin };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./variant-rpnewtr1.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-49d935aw.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID7.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
10
10
|
__export(exports_mcp2, {
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
12
|
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES2 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info7,
|
|
6
|
+
ID4,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./variant-75dbh3sm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service52
|
|
11
|
+
} from "./variant-z4ym9awj.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./variant-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin30,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin30 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info7.make({
|
|
434
|
+
id: ID4.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info7.make({
|
|
441
|
+
id: ID4.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service52;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin30, exports_skill2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-fvxg17y2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError10,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
24
|
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -31,7 +31,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
31
31
|
import { Skill } from "@opencode/schema/skill";
|
|
32
32
|
import { SessionError } from "@opencode/schema/session-error";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class NotFoundError10 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
35
35
|
sessionID: SessionSchema2.ID
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
@@ -116,4 +116,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
116
116
|
}) {
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
export {
|
|
119
|
+
export { NotFoundError10, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service6,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service6 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service6.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node7 = makeGlobalNode({ service: Service6, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service6, node7, exports_discovery };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make24,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make24 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make24, exports_keyed_mutex };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-7ph72h93.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service52
|
|
7
|
+
} from "./variant-z4ym9awj.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service55
|
|
10
|
+
} from "./variant-z01wj9c4.js";
|
|
11
11
|
import {
|
|
12
12
|
make11
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./variant-a1gpj94z.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./variant-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./variant-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin14
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,11 +30,11 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin14 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service52;
|
|
37
|
+
const formatter = yield* Service55;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
40
|
const location = yield* Service80;
|
|
@@ -74,4 +74,4 @@ var Plugin4 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin14, exports_formatter };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
7
7
|
__export(exports_lsp, {
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
|
-
Entry: () =>
|
|
11
|
-
Info: () =>
|
|
10
|
+
Entry: () => Entry4,
|
|
11
|
+
Info: () => Info19,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ import { Schema } from "effect";
|
|
|
16
16
|
var Disabled2 = Schema.Struct({
|
|
17
17
|
disabled: Schema.Literal(true)
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Entry4 = Schema.Union([
|
|
20
20
|
Disabled2,
|
|
21
21
|
Schema.Struct({
|
|
22
22
|
command: Schema.mutable(Schema.Array(Schema.String)),
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info19 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2,
|
|
84
|
+
export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info19, exports_lsp };
|