@opencode/core 0.0.0-dev-20558 → 0.0.0-dev-20560
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{form-83qnhswv.js → provider-01285jvk.js} +39 -39
- package/dist/chunks/{form-zftvh7g0.js → provider-0631dk44.js} +31 -31
- package/dist/chunks/{form-410ybt9f.js → provider-0hs982sg.js} +10 -10
- package/dist/chunks/{form-f6cpxsan.js → provider-0jq8n27z.js} +23 -23
- package/dist/chunks/{form-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-0vbcp93d.js → provider-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-g7v0c87a.js → provider-0ym7r8mw.js} +1 -1
- package/dist/chunks/{form-qqte0x82.js → provider-17n19r01.js} +38 -38
- package/dist/chunks/{form-1acjjqhc.js → provider-1acjjqhc.js} +1 -1
- package/dist/chunks/{form-79katkn0.js → provider-1b47cdh9.js} +9 -9
- package/dist/chunks/{form-ed2paqxd.js → provider-1d6v1ma9.js} +24 -24
- package/dist/chunks/{form-1dazxqgg.js → provider-1dazxqgg.js} +2 -2
- package/dist/chunks/{form-1dvck2a7.js → provider-1dvck2a7.js} +2 -2
- package/dist/chunks/{form-3ns2az59.js → provider-1qwpq4r3.js} +9 -9
- package/dist/chunks/{form-850qbkw0.js → provider-1vcbmft8.js} +22 -22
- package/dist/chunks/{form-56gdpj1q.js → provider-1ygqh575.js} +9 -9
- package/dist/chunks/{form-b1ktxh04.js → provider-29takrd9.js} +3 -3
- package/dist/chunks/{form-2a5m3afh.js → provider-2a5m3afh.js} +1 -1
- package/dist/chunks/{form-3y1bc7de.js → provider-2bx1hchp.js} +3 -3
- package/dist/chunks/{form-1rgkr28y.js → provider-2hcv837r.js} +12 -12
- package/dist/chunks/{form-pejrxmjd.js → provider-2j8811pr.js} +38 -38
- package/dist/chunks/{form-2k8khapm.js → provider-2k8khapm.js} +1 -1
- package/dist/chunks/{form-266yt33y.js → provider-33cp61c9.js} +15 -15
- package/dist/chunks/{form-vrqs2q7k.js → provider-3ch8yd3e.js} +15 -15
- package/dist/chunks/{form-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-4z58m4b4.js → provider-3sj8yt8v.js} +4 -4
- package/dist/chunks/{form-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-mn94j7kz.js → provider-3v7w85me.js} +9 -9
- package/dist/chunks/{form-bwp2vssd.js → provider-3vtrhh30.js} +11 -11
- package/dist/chunks/{form-hb63cgcb.js → provider-3x10bfpz.js} +17 -17
- package/dist/chunks/{form-c8zvfsgk.js → provider-3xtchf3h.js} +5 -5
- package/dist/chunks/{form-b45wjgqf.js → provider-3ynjgzpx.js} +3 -3
- package/dist/chunks/{form-3zsf4n22.js → provider-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-vvkr8kkt.js → provider-3zwwsd0z.js} +24 -24
- package/dist/chunks/{form-8tmgfbm7.js → provider-435p4ksb.js} +16 -16
- package/dist/chunks/{form-ba0vw6r1.js → provider-470p4mvx.js} +15 -15
- package/dist/chunks/{form-2r4x9gdw.js → provider-49d8wj3j.js} +11 -11
- package/dist/chunks/{form-r60y1j1r.js → provider-4jvsrzf3.js} +23 -23
- package/dist/chunks/{form-b3b12yn7.js → provider-4m14wrc9.js} +13 -13
- package/dist/chunks/{form-2ccvkpx1.js → provider-4ts7tf6z.js} +2 -2
- package/dist/chunks/provider-4v7qdvcn.js +18 -0
- package/dist/chunks/{form-20hj0g8t.js → provider-50wdke11.js} +6 -6
- package/dist/chunks/{form-nwsgejtt.js → provider-52p7fva6.js} +45 -45
- package/dist/chunks/{form-3gj081ay.js → provider-54bf5ftt.js} +27 -27
- package/dist/chunks/{form-54ma36ye.js → provider-54ma36ye.js} +1 -1
- package/dist/chunks/{form-5daktx2q.js → provider-5daktx2q.js} +1 -1
- package/dist/chunks/{form-3f2j97tm.js → provider-5jrbfcyk.js} +7 -7
- package/dist/chunks/{form-yj4aadch.js → provider-5mffh87d.js} +23 -23
- package/dist/chunks/{form-ckbnwpw7.js → provider-5ngaw42y.js} +11 -11
- package/dist/chunks/{form-e3qxr5gk.js → provider-5qd3pb7m.js} +2 -2
- package/dist/chunks/{form-5t3nmthw.js → provider-5t3nmthw.js} +2 -2
- package/dist/chunks/{form-cmwkp3r5.js → provider-5yzzbxa7.js} +8 -8
- package/dist/chunks/{form-k1qrnqst.js → provider-63j7grd1.js} +8 -8
- package/dist/chunks/{form-669tq793.js → provider-669tq793.js} +1 -1
- package/dist/chunks/{form-1hwfwv7m.js → provider-680jt4jr.js} +16 -16
- package/dist/chunks/{form-j7mhatt8.js → provider-69n11mhg.js} +24 -24
- package/dist/chunks/{form-39te63p7.js → provider-6e7wsvmk.js} +20 -20
- package/dist/chunks/{form-6kwj5r58.js → provider-6es9ekve.js} +29 -29
- package/dist/chunks/{form-v0es1rhs.js → provider-6g7e4dd5.js} +7 -7
- package/dist/chunks/{form-3yebr94x.js → provider-6gp95x7h.js} +36 -36
- package/dist/chunks/{form-139zgem4.js → provider-6hb4axps.js} +22 -22
- package/dist/chunks/{form-fm2qvscf.js → provider-6hh8tjw2.js} +4 -4
- package/dist/chunks/{form-cgcjmp7z.js → provider-6j3fzm1y.js} +26 -26
- package/dist/chunks/{form-amv9ph3x.js → provider-6jmnagmy.js} +18 -18
- package/dist/chunks/{form-0cymt7sw.js → provider-6vnksd4p.js} +16 -16
- package/dist/chunks/{form-tbybmkrm.js → provider-70wfxkqk.js} +5 -5
- package/dist/chunks/{form-71az546q.js → provider-71az546q.js} +2 -2
- package/dist/chunks/{form-47epm23s.js → provider-73szrdfc.js} +18 -18
- package/dist/chunks/{form-r5x6zcsm.js → provider-73tb2d7t.js} +3 -3
- package/dist/chunks/{form-sv69nfwm.js → provider-74mwd0vm.js} +11 -11
- package/dist/chunks/{form-8y62cfgq.js → provider-79wzcjsa.js} +6 -6
- package/dist/chunks/{form-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-y51gb3fq.js → provider-7cd1ytca.js} +10 -10
- package/dist/chunks/{form-4r5dvdf8.js → provider-7cp65q13.js} +50 -50
- package/dist/chunks/{form-59tzm8as.js → provider-7pna4pjx.js} +23 -23
- package/dist/chunks/{form-03szxm6d.js → provider-7syq4jmg.js} +14 -14
- package/dist/chunks/{form-84txncab.js → provider-84txncab.js} +1 -1
- package/dist/chunks/{form-tcezcvh9.js → provider-89znhe33.js} +4 -4
- package/dist/chunks/{form-2khecp4x.js → provider-8a762xj8.js} +182 -182
- package/dist/chunks/{form-8d7r5vzw.js → provider-8d7r5vzw.js} +1 -1
- package/dist/chunks/{form-w742576v.js → provider-8hbyspe1.js} +10 -10
- package/dist/chunks/{form-cfsekr6v.js → provider-8sze2n9a.js} +6 -6
- package/dist/chunks/{form-nymf30pn.js → provider-8xrn7n4t.js} +4 -4
- package/dist/chunks/{form-v2dz1vdf.js → provider-90rktb5s.js} +9 -9
- package/dist/chunks/{form-nnn7p406.js → provider-986x86b7.js} +41 -41
- package/dist/chunks/{form-9e5bzkjp.js → provider-9e5bzkjp.js} +3 -3
- package/dist/chunks/{form-pndgmahk.js → provider-9epr5phe.js} +19 -19
- package/dist/chunks/{form-5b66h5dm.js → provider-9kangp0z.js} +8 -8
- package/dist/chunks/{form-8j6h8xtz.js → provider-9n2aebv8.js} +7 -7
- package/dist/chunks/{form-be221666.js → provider-9q9rjagx.js} +54 -54
- package/dist/chunks/{form-jj9ye6kg.js → provider-9r803xq9.js} +11 -11
- package/dist/chunks/{form-5a3a8qy1.js → provider-9sy89r0f.js} +4 -4
- package/dist/chunks/{form-hj5bkg0c.js → provider-9szwjyee.js} +4 -4
- package/dist/chunks/{form-1szfzhnp.js → provider-9t52bdds.js} +49 -49
- package/dist/chunks/{form-73kdj4zj.js → provider-9y0w708y.js} +8 -8
- package/dist/chunks/provider-9ztar93x.js +26 -0
- package/dist/chunks/{form-0kh8q2cz.js → provider-a1r079t2.js} +13 -13
- package/dist/chunks/{form-gsjmd0bt.js → provider-a2ky4jhc.js} +70 -70
- package/dist/chunks/{form-c20khjev.js → provider-a8bn8zg0.js} +21 -21
- package/dist/chunks/{form-fyjtj9y6.js → provider-a8ded0f6.js} +16 -16
- package/dist/chunks/{form-aaet6srn.js → provider-aaet6srn.js} +2 -2
- package/dist/chunks/{form-8243bb6r.js → provider-aekpz6sr.js} +48 -48
- package/dist/chunks/{form-6qmgps4y.js → provider-af1qyrwf.js} +4 -4
- package/dist/chunks/{form-j5w5frs6.js → provider-ap47h660.js} +20 -20
- package/dist/chunks/{form-vktry8n7.js → provider-ax2gd5n1.js} +18 -18
- package/dist/chunks/{form-h5fanne1.js → provider-aydwb50t.js} +11 -11
- package/dist/chunks/{form-b6gygkdw.js → provider-b6gygkdw.js} +2 -2
- package/dist/chunks/{form-pw11r9y7.js → provider-bzvxwtgf.js} +47 -47
- package/dist/chunks/{form-1zqcwm4c.js → provider-c4r1z0h4.js} +5 -5
- package/dist/chunks/{form-s6jwspqv.js → provider-c6dhd04y.js} +20 -20
- package/dist/chunks/{form-pvtskdjk.js → provider-cg5tt1tt.js} +28 -28
- package/dist/chunks/{form-dbnnge52.js → provider-cg82180e.js} +11 -11
- package/dist/chunks/{form-y2541frd.js → provider-cjzg55rp.js} +8 -8
- package/dist/chunks/{form-rh400emc.js → provider-cq1crqf5.js} +23 -23
- package/dist/chunks/{form-4acqjqp7.js → provider-crkpb7cs.js} +20 -20
- package/dist/chunks/{form-2sejkfem.js → provider-cwa6csj7.js} +9 -9
- package/dist/chunks/{form-xdj26av2.js → provider-cywzwz9x.js} +28 -28
- package/dist/chunks/{form-w5ystqj3.js → provider-d5577vah.js} +8 -8
- package/dist/chunks/{form-4nt6zhnm.js → provider-d63p7tmf.js} +5 -5
- package/dist/chunks/{form-21zzetpa.js → provider-db0cs2kz.js} +31 -31
- package/dist/chunks/{form-ct00nwgz.js → provider-dky9q78m.js} +23 -23
- package/dist/chunks/{form-xkntkrq7.js → provider-dmqcgk4z.js} +5 -5
- package/dist/chunks/{form-dpkg50ah.js → provider-dpkg50ah.js} +1 -1
- package/dist/chunks/{form-fb4649a6.js → provider-dtqny3g5.js} +11 -11
- package/dist/chunks/{form-9t3p0xs6.js → provider-dwhba9yv.js} +22 -22
- package/dist/chunks/{form-z2azaray.js → provider-e4ng0cwh.js} +15 -15
- package/dist/chunks/{form-jb9k9xr1.js → provider-e8c09gwn.js} +329 -329
- package/dist/chunks/{form-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-z4bjpn68.js → provider-erxm7rkb.js} +23 -23
- package/dist/chunks/{form-etq0c3wd.js → provider-etq0c3wd.js} +1 -1
- package/dist/chunks/{form-mpkfyece.js → provider-ezr7p14b.js} +23 -23
- package/dist/chunks/{form-xzqnqwe5.js → provider-f8t71jt9.js} +21 -21
- package/dist/chunks/{form-909p1r3q.js → provider-ff0htmxq.js} +5 -5
- package/dist/chunks/{form-prd0dw70.js → provider-fqb0yfph.js} +22 -22
- package/dist/chunks/{form-dtqg9ce1.js → provider-fyjp43ss.js} +5 -5
- package/dist/chunks/{form-953hpm28.js → provider-g1axe9mw.js} +15 -15
- package/dist/chunks/{form-gh5z95q3.js → provider-g31erja1.js} +9 -9
- package/dist/chunks/{form-sqmzwr9m.js → provider-g762atc6.js} +9 -9
- package/dist/chunks/{form-3mdp71a3.js → provider-g91m6ns0.js} +5 -5
- package/dist/chunks/{form-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-47jkzegy.js → provider-gj71zhbs.js} +5 -5
- package/dist/chunks/{form-kaa5qdt6.js → provider-gmkravmr.js} +13 -13
- package/dist/chunks/{form-8bgx1k0m.js → provider-grbwyzfx.js} +25 -25
- package/dist/chunks/{form-b290rm04.js → provider-gstkmqpe.js} +5 -5
- package/dist/chunks/{form-njt1r4jv.js → provider-gyx3rp2r.js} +10 -10
- package/dist/chunks/{form-h2b79v29.js → provider-h2b79v29.js} +2 -2
- package/dist/chunks/{form-7c08hygz.js → provider-h4ckqw4f.js} +11 -11
- package/dist/chunks/{form-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-bgc5ggmx.js → provider-h9pnpq88.js} +4 -4
- package/dist/chunks/{form-4cnvczny.js → provider-hc48ba3f.js} +22 -22
- package/dist/chunks/{form-ve8n8r8t.js → provider-hj6p1ak3.js} +19 -19
- package/dist/chunks/{form-0askjry2.js → provider-hkh1gyze.js} +23 -23
- package/dist/chunks/{form-963t4b8d.js → provider-hnp531gc.js} +9 -9
- package/dist/chunks/{form-j56e64zr.js → provider-j56e64zr.js} +1 -1
- package/dist/chunks/{form-bbf6ycgz.js → provider-j7ab7yhq.js} +10 -10
- package/dist/chunks/{form-6nktm29f.js → provider-jcwdcbg9.js} +4 -4
- package/dist/chunks/{form-0a6m0sn5.js → provider-jjaddj82.js} +17 -17
- package/dist/chunks/{form-vkqe175g.js → provider-jp0zb534.js} +19 -19
- package/dist/chunks/{form-was3je4q.js → provider-jx6439b8.js} +20 -20
- package/dist/chunks/{form-9j8xz9qv.js → provider-jxh05zr6.js} +11 -11
- package/dist/chunks/{form-mjqndqed.js → provider-jy6n4x97.js} +12 -12
- package/dist/chunks/{form-psbd2vry.js → provider-k1bc9b3q.js} +12 -12
- package/dist/chunks/{form-hnkd7amx.js → provider-k423vsa4.js} +22 -22
- package/dist/chunks/{form-jxj94jpx.js → provider-kadn9d92.js} +14 -14
- package/dist/chunks/{form-0yb9snjw.js → provider-kfxyjhp2.js} +3 -3
- package/dist/chunks/{form-0pw168n3.js → provider-khr9akvx.js} +23 -23
- package/dist/chunks/{form-fzfwmgw5.js → provider-kjhbxppm.js} +32 -32
- package/dist/chunks/{form-kne8f3cn.js → provider-kne8f3cn.js} +1 -1
- package/dist/chunks/{form-0scwa2te.js → provider-kwe77dsa.js} +8 -8
- package/dist/chunks/{form-m3fdjcah.js → provider-m3fdjcah.js} +1 -1
- package/dist/chunks/{form-my4zabxr.js → provider-m5jcjszt.js} +3 -3
- package/dist/chunks/{form-png00w38.js → provider-m7wfyeg7.js} +16 -16
- package/dist/chunks/{form-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-2dt4k0ps.js → provider-mcb0hy3p.js} +26 -26
- package/dist/chunks/{form-d418jqtc.js → provider-mcdat7hx.js} +8 -8
- package/dist/chunks/{form-0rxhd4fp.js → provider-mcrs9awc.js} +3 -3
- package/dist/chunks/{form-59hq1pwc.js → provider-me3a999s.js} +9 -9
- package/dist/chunks/{form-5qw8dnms.js → provider-mkr0nv12.js} +32 -32
- package/dist/chunks/{form-zqtc8gvw.js → provider-mt1f1117.js} +13 -13
- package/dist/chunks/{form-3556dn8t.js → provider-n2thn3nx.js} +1 -1
- package/dist/chunks/{form-wx3ch3wa.js → provider-n8hzfk5n.js} +15 -15
- package/dist/chunks/{form-022dhnk7.js → provider-nrgk47gy.js} +10 -10
- package/dist/chunks/{form-yh4yt34p.js → provider-p98bz656.js} +17 -17
- package/dist/chunks/{form-g4sxyesw.js → provider-p9tbp9qs.js} +11 -11
- package/dist/chunks/{form-nmkj0za1.js → provider-pe07j12a.js} +24 -24
- package/dist/chunks/{form-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → provider-pknna89w.js} +1 -1
- package/dist/chunks/{form-vwqx2j5z.js → provider-pmv6ntjp.js} +18 -18
- package/dist/chunks/{form-bydnjh3t.js → provider-prq7hedt.js} +9 -9
- package/dist/chunks/{form-0j77ygfz.js → provider-q0xm7vwc.js} +6 -6
- package/dist/chunks/{form-f78p0ezd.js → provider-q2y38gbr.js} +6 -6
- package/dist/chunks/{form-k10g0m9h.js → provider-q4c9f7y5.js} +10 -10
- package/dist/chunks/{form-e7rphtjg.js → provider-qds735d4.js} +43 -43
- package/dist/chunks/{form-7rnsdfke.js → provider-qj5ds43h.js} +38 -38
- package/dist/chunks/{form-qnc92qwc.js → provider-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-qsdy395h.js → provider-qsdy395h.js} +1 -1
- package/dist/chunks/{form-mha52fg8.js → provider-qygbw77c.js} +5 -5
- package/dist/chunks/{form-5tmpnkg7.js → provider-r2gk0ttq.js} +27 -27
- package/dist/chunks/{form-gek98axs.js → provider-r5rttqkx.js} +26 -26
- package/dist/chunks/{form-rc1dmyce.js → provider-r9t00hsy.js} +8 -8
- package/dist/chunks/{form-p1jffgmm.js → provider-raxp2c9r.js} +3 -3
- package/dist/chunks/{form-rdw6cm16.js → provider-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-4hywwe8w.js → provider-rdz0fprs.js} +36 -36
- package/dist/chunks/{form-ej6bmym5.js → provider-rhwvwbyq.js} +11 -11
- package/dist/chunks/{form-hkymnnk0.js → provider-rnbem8r2.js} +5 -5
- package/dist/chunks/{form-7rwqf82v.js → provider-rzs3gq0x.js} +8 -8
- package/dist/chunks/{form-pw3wzpsy.js → provider-s783479j.js} +44 -44
- package/dist/chunks/{form-rhjbct0v.js → provider-s8d7rejh.js} +4 -4
- package/dist/chunks/{form-8k27bntb.js → provider-s9n824c4.js} +3 -3
- package/dist/chunks/{form-wfpnxbz2.js → provider-sg97scqd.js} +27 -27
- package/dist/chunks/{form-6kew3p49.js → provider-sh9zb4hv.js} +86 -86
- package/dist/chunks/{form-rmdwjes8.js → provider-skwdgpes.js} +12 -12
- package/dist/chunks/{form-44x2tf61.js → provider-t08kermd.js} +13 -13
- package/dist/chunks/{form-vq1ezhbs.js → provider-t55zzdc3.js} +27 -27
- package/dist/chunks/{form-6s8wajv0.js → provider-t6ybzkhe.js} +29 -29
- package/dist/chunks/{form-rz8fmr7m.js → provider-t8h9k6kt.js} +3 -3
- package/dist/chunks/{form-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-tdstcens.js → provider-tdstcens.js} +1 -1
- package/dist/chunks/{form-dh6ejakv.js → provider-tge9ftn1.js} +11 -11
- package/dist/chunks/{form-721rh6ja.js → provider-tpykdk7e.js} +20 -20
- package/dist/chunks/{form-2rd5edbk.js → provider-tr8bqbe2.js} +10 -10
- package/dist/chunks/{form-d1vtevgw.js → provider-trdyvw7q.js} +8 -8
- package/dist/chunks/{form-drnf6xwf.js → provider-v0xmac3n.js} +2 -2
- package/dist/chunks/{form-831b6nc2.js → provider-v6ee4kkz.js} +29 -29
- package/dist/chunks/{form-3ewed21c.js → provider-vbfgae2j.js} +4 -4
- package/dist/chunks/{form-1xy6xe00.js → provider-ve9zm8mm.js} +11 -11
- package/dist/chunks/{form-w05x0cfw.js → provider-veqfhemw.js} +9 -9
- package/dist/chunks/{form-veqvce7d.js → provider-veqvce7d.js} +1 -1
- package/dist/chunks/{form-e9t3gnr2.js → provider-vkrws2w1.js} +16 -16
- package/dist/chunks/{form-3bjes9s2.js → provider-vnrsjt5v.js} +1 -1
- package/dist/chunks/{form-mmwx4d7d.js → provider-vreax0eq.js} +44 -44
- package/dist/chunks/{form-vzcthcp8.js → provider-vzcthcp8.js} +1 -1
- package/dist/chunks/{form-vzs5sf6e.js → provider-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-tk14y25j.js → provider-w39jehkq.js} +5 -5
- package/dist/chunks/{form-vwpvz4rm.js → provider-w3ejnnxx.js} +37 -37
- package/dist/chunks/{form-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-qz7nmp4w.js → provider-w8rdajxk.js} +58 -58
- package/dist/chunks/{form-8yxcpbcn.js → provider-w90th1wq.js} +8 -8
- package/dist/chunks/{form-8zqtvbyg.js → provider-wac6chsn.js} +21 -21
- package/dist/chunks/{form-wd87259q.js → provider-wd87259q.js} +1 -1
- package/dist/chunks/{form-63r7rbtf.js → provider-we6nqpaf.js} +22 -22
- package/dist/chunks/{form-nex88e4j.js → provider-wgn1zfzh.js} +2 -2
- package/dist/chunks/{form-kb6n023e.js → provider-wymd7d8j.js} +88 -88
- package/dist/chunks/{form-6101zcv1.js → provider-wzj2gnv1.js} +45 -45
- package/dist/chunks/{form-x1ezjp6w.js → provider-x1ezjp6w.js} +1 -1
- package/dist/chunks/{form-axs6pdy0.js → provider-x2rw7g36.js} +5 -5
- package/dist/chunks/{form-addxnjmp.js → provider-x661k3y3.js} +4 -4
- package/dist/chunks/{form-nh0012fv.js → provider-x8fg1acq.js} +10 -10
- package/dist/chunks/{form-4eq8w0dz.js → provider-xb50yt4b.js} +4 -4
- package/dist/chunks/{form-yg62bcth.js → provider-xcmk6yw7.js} +11 -11
- package/dist/chunks/{form-cg670mff.js → provider-xd27s6m4.js} +18 -18
- package/dist/chunks/{form-g5w8qwbj.js → provider-xfkkasph.js} +4 -4
- package/dist/chunks/{form-f3fh568b.js → provider-xqsqk9sp.js} +11 -11
- package/dist/chunks/{form-snnjz9px.js → provider-xr86wyz0.js} +25 -25
- package/dist/chunks/{form-5th92fqm.js → provider-xrh33zgb.js} +21 -21
- package/dist/chunks/{form-qxjc9qry.js → provider-xyafkbt0.js} +3 -3
- package/dist/chunks/{form-dwh3vr9x.js → provider-y117vq4z.js} +23 -23
- package/dist/chunks/{form-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-jd1jhfts.js → provider-y3gt2pxq.js} +5 -5
- package/dist/chunks/{form-ecgk3wpe.js → provider-y7gnf2d1.js} +14 -14
- package/dist/chunks/{form-8d6dgrgb.js → provider-ydm09vy0.js} +9 -9
- package/dist/chunks/provider-yhapg49b.js +253 -0
- package/dist/chunks/{form-nv063apg.js → provider-ykbx70vn.js} +30 -30
- package/dist/chunks/{form-aqp720et.js → provider-yps7s2q8.js} +35 -35
- package/dist/chunks/{form-z1j80smy.js → provider-yspr33n3.js} +3 -3
- package/dist/chunks/{form-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-nd2282pj.js → provider-z2zdbf9m.js} +26 -26
- package/dist/chunks/{form-yttcfxr3.js → provider-z4hyjh59.js} +4 -4
- package/dist/chunks/{form-axnsfap1.js → provider-z6saq0r8.js} +33 -33
- package/dist/chunks/{form-7x21407k.js → provider-z6x3qavv.js} +29 -29
- package/dist/chunks/{form-as7cf5zz.js → provider-zfs8ae4p.js} +4 -4
- package/dist/chunks/{form-8kp3yy8k.js → provider-zgfgymxp.js} +9 -9
- package/dist/chunks/{form-0wq2r79s.js → provider-zmzek11k.js} +16 -16
- package/dist/chunks/{form-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-2bt9r67e.js → provider-zwh81tv5.js} +27 -27
- package/dist/chunks/{form-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.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 +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +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 +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +3 -3
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +74 -74
- 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 +351 -351
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +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 +98 -98
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- 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 +114 -114
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- 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 +135 -135
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +213 -213
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- 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 +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +128 -128
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +122 -122
- 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 +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- 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 +7 -7
- package/dist/tool.js +12 -12
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/form-a1mrvsqs.js +0 -253
- package/dist/chunks/form-pdg9vknw.js +0 -26
- package/dist/chunks/form-qc068m1q.js +0 -18
- /package/dist/chunks/{form-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → provider-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → provider-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-34c7v6d4.js → provider-34c7v6d4.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → provider-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → provider-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → provider-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3w5fmr99.js → provider-3w5fmr99.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → provider-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → provider-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → provider-6prwharc.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → provider-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → provider-822emrt2.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → provider-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → provider-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → provider-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → provider-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → provider-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → provider-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → provider-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → provider-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → provider-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → provider-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → provider-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → provider-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fxgpk5d8.js → provider-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → provider-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → provider-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hjbc5kem.js → provider-hjbc5kem.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → provider-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → provider-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → provider-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → provider-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → provider-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → provider-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → provider-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → provider-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8cydn3q.js → provider-y8cydn3q.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → provider-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → provider-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → provider-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → provider-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./provider-y7gnf2d1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service55,
|
|
6
|
+
Event11
|
|
7
|
+
} from "./provider-0jq8n27z.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin18,
|
|
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 Plugin18 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service82;
|
|
24
|
+
const wellknown = yield* Service55;
|
|
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 Plugin33 = 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 { Plugin18, exports_plugin };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service68,
|
|
3
|
+
node71
|
|
4
|
+
} from "./provider-s783479j.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-m5jcjszt.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service46,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node49,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service46 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service68;
|
|
59
|
+
return Service46.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node49 = makeLocationNode({ service: Service46, layer, deps: [node71] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service46, resolved2, node49, exports_model };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./provider-crkpb7cs.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./provider-435p4ksb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./provider-wzj2gnv1.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source4
|
|
17
|
+
} from "./provider-cywzwz9x.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service8
|
|
20
|
+
} from "./provider-g31erja1.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-50wdke11.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./provider-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill3 = {};
|
|
30
|
+
__export(exports_skill3, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill3,
|
|
32
|
+
Plugin: () => Plugin44
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin44 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service53;
|
|
43
|
+
const discovery = yield* Service8;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service79;
|
|
47
|
+
const watcher = yield* Service54;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin17 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source4.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin17 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source4.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin17 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source4.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin17 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source4.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin17 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin44, exports_skill3 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node85
|
|
4
|
+
} from "./provider-y7gnf2d1.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./provider-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-x661k3y3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ID13,
|
|
14
|
+
Service73,
|
|
15
|
+
node76,
|
|
16
16
|
Event18
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./provider-54bf5ftt.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node82
|
|
21
|
+
} from "./provider-435p4ksb.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./provider-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -39,12 +39,12 @@ __export(exports_provider3, {
|
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
41
41
|
Event: () => Event17,
|
|
42
|
-
ID: () =>
|
|
43
|
-
Info: () =>
|
|
42
|
+
ID: () => ID12,
|
|
43
|
+
Info: () => Info21,
|
|
44
44
|
LoadError: () => LoadError3,
|
|
45
45
|
Provider: () => exports_provider3,
|
|
46
46
|
Request: () => Request3,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service72,
|
|
48
48
|
Settings: () => Settings2,
|
|
49
49
|
Transport: () => Transport2,
|
|
50
50
|
aisdk: () => aisdk2,
|
|
@@ -54,7 +54,7 @@ __export(exports_provider3, {
|
|
|
54
54
|
mergeOverlay: () => mergeOverlay2,
|
|
55
55
|
modelSettings: () => modelSettings2,
|
|
56
56
|
nativeSettings: () => nativeSettings2,
|
|
57
|
-
node: () =>
|
|
57
|
+
node: () => node75,
|
|
58
58
|
packageName: () => packageName2,
|
|
59
59
|
timeout: () => timeout2,
|
|
60
60
|
timeouts: () => timeouts2
|
|
@@ -69,7 +69,7 @@ import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
|
69
69
|
import { Credential } from "@opencode/schema/credential";
|
|
70
70
|
import { freeze } from "immer";
|
|
71
71
|
import { Event as Event17 } from "@opencode/schema/provider";
|
|
72
|
-
var
|
|
72
|
+
var ID12 = Provider.ID;
|
|
73
73
|
var AISDK_PREFIX2 = "aisdk:";
|
|
74
74
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
75
75
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -231,9 +231,9 @@ var Request3 = Provider.Request;
|
|
|
231
231
|
var Compaction3 = Provider.Compaction;
|
|
232
232
|
var Transport2 = Provider.Transport;
|
|
233
233
|
var Settings2 = Provider.Settings;
|
|
234
|
-
var
|
|
234
|
+
var Info21 = Provider.Info;
|
|
235
235
|
|
|
236
|
-
class
|
|
236
|
+
class Service72 extends Context.Service()("@opencode/Provider") {
|
|
237
237
|
}
|
|
238
238
|
var definitions = new WeakMap;
|
|
239
239
|
function index(providerID, models) {
|
|
@@ -246,10 +246,10 @@ function index(providerID, models) {
|
|
|
246
246
|
definitions.set(models, indexes);
|
|
247
247
|
return result;
|
|
248
248
|
}
|
|
249
|
-
var layer = Layer.effect(
|
|
250
|
-
const bus = yield*
|
|
251
|
-
const integrations = yield*
|
|
252
|
-
const location = yield*
|
|
249
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
250
|
+
const bus = yield* Service82;
|
|
251
|
+
const integrations = yield* Service73;
|
|
252
|
+
const location = yield* Service79;
|
|
253
253
|
const state = create3({
|
|
254
254
|
name: "provider",
|
|
255
255
|
initial: () => new Map,
|
|
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
260
260
|
const current = records.get(id);
|
|
261
261
|
if (current)
|
|
262
262
|
return current;
|
|
263
|
-
const added = { provider:
|
|
263
|
+
const added = { provider: Info21.empty(id), models: new Map };
|
|
264
264
|
records.set(id, added);
|
|
265
265
|
maps.add(added.models);
|
|
266
266
|
return added;
|
|
@@ -341,7 +341,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
341
341
|
const available = Array.from(records.values()).filter((record) => {
|
|
342
342
|
if (record.provider.activation === "disabled")
|
|
343
343
|
return false;
|
|
344
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
344
|
+
const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
|
|
345
345
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
346
346
|
return false;
|
|
347
347
|
if (record.provider.activation === "enabled")
|
|
@@ -368,7 +368,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
368
368
|
});
|
|
369
369
|
});
|
|
370
370
|
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
371
|
-
return
|
|
371
|
+
return Service72.of({
|
|
372
372
|
transform: state.transform,
|
|
373
373
|
reload: state.reload,
|
|
374
374
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -377,7 +377,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
377
377
|
snapshot
|
|
378
378
|
});
|
|
379
379
|
}));
|
|
380
|
-
var
|
|
380
|
+
var node75 = makeLocationNode({ service: Service72, layer, deps: [node85, node76, node82] });
|
|
381
381
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
382
382
|
const module = yield* Effect.tryPromise({
|
|
383
383
|
try: () => {
|
|
@@ -650,4 +650,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
650
650
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
651
651
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
652
652
|
|
|
653
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
653
|
+
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info21, Service72, node75, exports_provider3, Event17 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-aekpz6sr.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service32,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node35
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service32 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service32, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service31, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service32.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node35 = makeGlobalNode({ service: Service32, layer: layer14, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service32, makeLayer2, layer14, node35, exports_model_transport };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node84
|
|
7
|
+
} from "./provider-jy6n4x97.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service56,
|
|
16
|
+
node59
|
|
17
|
+
} from "./provider-7cd1ytca.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-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: () => Service48,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node51,
|
|
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 Service48 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,13 +101,13 @@ 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(Service48, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service81;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service56;
|
|
110
|
+
return Service48.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node51 = makeGlobalNode({
|
|
171
|
+
service: Service48,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node59]
|
|
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, Service48, isError2, validateBranch2, node51, exports_repository_cache };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-6es9ekve.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service53
|
|
7
|
+
} from "./provider-wzj2gnv1.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-q2y38gbr.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service53;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make9(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID11.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make9(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make4();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make4, LMStudioPlugin2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./provider-y7gnf2d1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service14,
|
|
6
|
+
Event4
|
|
7
|
+
} from "./provider-17n19r01.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
33
|
-
const bus = yield*
|
|
32
|
+
const modelsDev = yield* Service14;
|
|
33
|
+
const bus = yield* Service82;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
36
36
|
for (const provider of loaded.data) {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event4.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-m5jcjszt.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|