@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,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse4,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse4(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse5(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse4(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./variant-ypqp8gqh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./variant-9gn2e1q5.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service59
|
|
14
|
+
} from "./variant-kyd65svd.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./variant-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input12,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin48,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description5,
|
|
27
|
+
name: () => name12
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name12 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input12 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID5,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin48 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service71;
|
|
53
|
+
const forms = yield* Service70;
|
|
54
|
+
const websearch = yield* Service59;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name12,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description5,
|
|
59
|
+
input: Input12,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name12,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name12];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name12, NO_RESULTS2, description5, Input12, Plugin48, exports_websearch2 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
17
|
Service80,
|
|
18
18
|
node84
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./variant-7ph72h93.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service78,
|
|
22
|
+
node81
|
|
23
|
+
} from "./variant-2g5mhw7z.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./variant-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service77,
|
|
33
|
+
node: () => node80
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service77,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node80,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service77 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
65
|
const location = yield* Service80;
|
|
66
|
-
const workspace = yield*
|
|
66
|
+
const workspace = yield* Service78;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service77.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node80 = makeLocationNode({
|
|
71
|
+
service: Service77,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node, node84,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node84, node81]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service77, node80, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service44
|
|
3
|
+
} from "./variant-w3jg838k.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service33
|
|
6
|
+
} from "./variant-2myva995.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-hgd4btym.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service75
|
|
15
|
+
} from "./variant-vxby77fw.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./variant-mzseknbn.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service36
|
|
23
|
+
} from "./variant-75dbh3sm.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./variant-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service33;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service75;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service36;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service44;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID16,
|
|
6
|
+
Service79
|
|
7
|
+
} from "./variant-6nd6aznx.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./variant-fvxg17y2.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./variant-mzseknbn.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./variant-9e5bzkjp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./variant-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service79;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID16.make(from),
|
|
91
|
+
to: ID16.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-x7kbtnka.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key3,
|
|
7
|
+
Service64,
|
|
8
|
+
node67
|
|
9
|
+
} from "./variant-djsestcq.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-addxnjmp.js";
|
|
16
16
|
import {
|
|
17
17
|
validateAnswer2,
|
|
18
18
|
validateFields2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./variant-ypqp8gqh.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./variant-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/integration.ts
|
|
25
25
|
var exports_integration = {};
|
|
@@ -35,16 +35,16 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandMethod: () => CommandMethod2,
|
|
36
36
|
EnvMethod: () => EnvMethod2,
|
|
37
37
|
Event: () => Event16,
|
|
38
|
-
ID: () =>
|
|
39
|
-
Info: () =>
|
|
38
|
+
ID: () => ID8,
|
|
39
|
+
Info: () => Info23,
|
|
40
40
|
Integration: () => exports_integration,
|
|
41
41
|
KeyMethod: () => KeyMethod2,
|
|
42
42
|
Method: () => Method2,
|
|
43
43
|
MethodID: () => MethodID2,
|
|
44
44
|
OAuthMethod: () => OAuthMethod2,
|
|
45
45
|
Ref: () => Ref3,
|
|
46
|
-
Service: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
Service: () => Service63,
|
|
47
|
+
node: () => node66
|
|
48
48
|
});
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import {
|
|
@@ -67,7 +67,7 @@ import { Integration } from "@opencode/schema/integration";
|
|
|
67
67
|
import { AppProcess } from "@opencode/util/process";
|
|
68
68
|
import { ChildProcess } from "effect/unstable/process";
|
|
69
69
|
import { Event as Event16 } from "@opencode/schema/integration";
|
|
70
|
-
var
|
|
70
|
+
var ID8 = Integration.ID;
|
|
71
71
|
var MethodID2 = Integration.MethodID;
|
|
72
72
|
var AttemptID2 = Integration.AttemptID;
|
|
73
73
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
75
75
|
var KeyMethod2 = Integration.KeyMethod;
|
|
76
76
|
var EnvMethod2 = Integration.EnvMethod;
|
|
77
77
|
var Method2 = Integration.Method;
|
|
78
|
-
var
|
|
78
|
+
var Info23 = Integration.Info;
|
|
79
79
|
var Attempt2 = Integration.Attempt;
|
|
80
80
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
81
81
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -98,19 +98,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
101
|
-
integrationID:
|
|
101
|
+
integrationID: ID8,
|
|
102
102
|
attemptID: AttemptID2
|
|
103
103
|
}) {
|
|
104
104
|
}
|
|
105
105
|
var Ref3 = Integration.Ref;
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service63 extends Context.Service()("@opencode/Integration") {
|
|
108
108
|
}
|
|
109
109
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
110
110
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
111
111
|
var scrubInterval = Duration.seconds(30);
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const credentials = yield*
|
|
112
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service64;
|
|
114
114
|
const bus = yield* Service83;
|
|
115
115
|
const processes = yield* AppProcess.Service;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
207
207
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
208
208
|
return [...credentials, ...env];
|
|
209
209
|
};
|
|
210
|
-
const project = (entry, connections) =>
|
|
210
|
+
const project = (entry, connections) => Info23.make({
|
|
211
211
|
id: entry.ref.id,
|
|
212
212
|
name: entry.ref.name,
|
|
213
213
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -294,7 +294,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
294
294
|
const persistence = yield* createCredential({
|
|
295
295
|
integrationID: attempt.integrationID,
|
|
296
296
|
label: attempt.label,
|
|
297
|
-
value:
|
|
297
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
298
298
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
299
299
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
300
300
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
440
440
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
441
441
|
return CommandAttempt2.make({ attemptID, time });
|
|
442
442
|
});
|
|
443
|
-
return
|
|
443
|
+
return Service63.of({
|
|
444
444
|
transform: state.transform,
|
|
445
445
|
reload: state.reload,
|
|
446
446
|
revision: state.revision,
|
|
@@ -462,7 +462,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
462
462
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
463
463
|
if (connection.type === "env") {
|
|
464
464
|
const key = process.env[connection.name];
|
|
465
|
-
return key ?
|
|
465
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
466
466
|
}
|
|
467
467
|
const credential = yield* credentials.get(connection.id);
|
|
468
468
|
if (!credential)
|
|
@@ -495,7 +495,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
495
495
|
yield* createCredential({
|
|
496
496
|
integrationID: input.integrationID,
|
|
497
497
|
label: input.label,
|
|
498
|
-
value:
|
|
498
|
+
value: Key3.make({
|
|
499
499
|
type: "key",
|
|
500
500
|
key: input.key,
|
|
501
501
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
}));
|
|
602
|
-
var
|
|
603
|
-
service:
|
|
602
|
+
var node66 = makeLocationNode({
|
|
603
|
+
service: Service63,
|
|
604
604
|
layer,
|
|
605
|
-
deps: [
|
|
605
|
+
deps: [node67, node87, AppProcess.node]
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
export {
|
|
608
|
+
export { ID8, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service63, node66, exports_integration, Event16 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-mzseknbn.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./variant-9gn2e1q5.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./variant-8vtqv0ab.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./variant-cann05ez.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./variant-7r87hsp1.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|