@opencode/core 0.0.0-dev-20635 → 0.0.0-dev-20637
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/{snapshot-hee39r59.js → provider-02jgg23j.js} +43 -43
- package/dist/chunks/{snapshot-5vmvc5he.js → provider-09q1rvk8.js} +12 -12
- package/dist/chunks/{snapshot-r5nnafs2.js → provider-0jq8n27z.js} +23 -23
- package/dist/chunks/{snapshot-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
- package/dist/chunks/{snapshot-0vbcp93d.js → provider-0vbcp93d.js} +2 -2
- package/dist/chunks/{snapshot-wb6xtyp7.js → provider-0ym7r8mw.js} +1 -1
- package/dist/chunks/{snapshot-r8xr0va3.js → provider-1acjjqhc.js} +4 -4
- package/dist/chunks/{snapshot-1dazxqgg.js → provider-1dazxqgg.js} +2 -2
- package/dist/chunks/{snapshot-1dvck2a7.js → provider-1dvck2a7.js} +2 -2
- package/dist/chunks/{snapshot-914tbbjm.js → provider-1qwpq4r3.js} +3 -3
- package/dist/chunks/{snapshot-ansmabqy.js → provider-1vcbmft8.js} +25 -25
- package/dist/chunks/{snapshot-1ygqh575.js → provider-1ygqh575.js} +2 -2
- package/dist/chunks/{snapshot-9ts1yjxr.js → provider-2502a444.js} +11 -11
- package/dist/chunks/{snapshot-2a5m3afh.js → provider-2a5m3afh.js} +1 -1
- package/dist/chunks/{snapshot-tmhxmxf3.js → provider-2dsr8txv.js} +31 -31
- package/dist/chunks/{snapshot-9z1jz1fd.js → provider-2jdp9x1k.js} +5 -5
- package/dist/chunks/{snapshot-2k8khapm.js → provider-2k8khapm.js} +1 -1
- package/dist/chunks/{snapshot-cb7caa3e.js → provider-2tfb63jn.js} +1 -1
- package/dist/chunks/{snapshot-tz3w7kyf.js → provider-2xj975mh.js} +3 -3
- package/dist/chunks/{snapshot-8t7k386x.js → provider-33cp61c9.js} +7 -7
- package/dist/chunks/{snapshot-ejcmw1aa.js → provider-394yer4d.js} +24 -24
- package/dist/chunks/{snapshot-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
- package/dist/chunks/{snapshot-4c9vz95h.js → provider-3ffq614d.js} +8 -8
- package/dist/chunks/{snapshot-azzye172.js → provider-3fgq8q2e.js} +9 -9
- package/dist/chunks/{snapshot-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
- package/dist/chunks/{snapshot-9ftsng1y.js → provider-3qp2570d.js} +21 -21
- package/dist/chunks/{snapshot-24p06p9j.js → provider-3rctq0x8.js} +25 -25
- package/dist/chunks/{snapshot-h9wp8z5w.js → provider-3sj8yt8v.js} +4 -4
- package/dist/chunks/{snapshot-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
- package/dist/chunks/{snapshot-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
- package/dist/chunks/{snapshot-p1np5d7s.js → provider-3v7w85me.js} +9 -9
- package/dist/chunks/{snapshot-snd1jtws.js → provider-3vtrhh30.js} +7 -7
- package/dist/chunks/{snapshot-hw2n9bc3.js → provider-3xtchf3h.js} +8 -8
- package/dist/chunks/{snapshot-3zsf4n22.js → provider-3zsf4n22.js} +1 -1
- package/dist/chunks/{snapshot-bf8bbf38.js → provider-3zwwsd0z.js} +29 -29
- package/dist/chunks/{snapshot-f92frnky.js → provider-435p4ksb.js} +16 -16
- package/dist/chunks/{snapshot-bq1xg9wr.js → provider-470p4mvx.js} +17 -17
- package/dist/chunks/{snapshot-w5wtk1sj.js → provider-4ezdp9ng.js} +35 -35
- package/dist/chunks/{snapshot-2ccvkpx1.js → provider-4ts7tf6z.js} +2 -2
- package/dist/chunks/{snapshot-4v7qdvcn.js → provider-4v7qdvcn.js} +1 -1
- package/dist/chunks/{snapshot-1qe672pv.js → provider-50wdke11.js} +6 -6
- package/dist/chunks/{snapshot-r23b2p45.js → provider-51jbw7dx.js} +4 -4
- package/dist/chunks/{snapshot-qxd7ea1r.js → provider-53p9d5ea.js} +9 -9
- package/dist/chunks/{snapshot-s54j65n9.js → provider-54bf5ftt.js} +25 -25
- package/dist/chunks/{snapshot-54ma36ye.js → provider-54ma36ye.js} +1 -1
- package/dist/chunks/{snapshot-5daktx2q.js → provider-5daktx2q.js} +1 -1
- package/dist/chunks/{snapshot-s43e8fnf.js → provider-5jrbfcyk.js} +7 -7
- package/dist/chunks/{snapshot-5m9w47nd.js → provider-5m9w47nd.js} +1 -1
- package/dist/chunks/{snapshot-34c0j3ep.js → provider-5mffh87d.js} +25 -25
- package/dist/chunks/{snapshot-5ngaw42y.js → provider-5ngaw42y.js} +3 -3
- package/dist/chunks/{snapshot-6xkm719f.js → provider-5ptdqdpf.js} +37 -37
- package/dist/chunks/{snapshot-e3qxr5gk.js → provider-5qd3pb7m.js} +2 -2
- package/dist/chunks/{snapshot-5t3nmthw.js → provider-5t3nmthw.js} +2 -2
- package/dist/chunks/{snapshot-9hn6k4tm.js → provider-5yzzbxa7.js} +8 -8
- package/dist/chunks/{snapshot-fw2v9256.js → provider-63j7grd1.js} +8 -8
- package/dist/chunks/{snapshot-phm1sawz.js → provider-671h762m.js} +16 -16
- package/dist/chunks/{snapshot-easr7c7j.js → provider-69n11mhg.js} +24 -24
- package/dist/chunks/{snapshot-82cr96wn.js → provider-6abn6fbv.js} +19 -19
- package/dist/chunks/{snapshot-ambwxayc.js → provider-6bdkjnee.js} +5 -5
- package/dist/chunks/{snapshot-v0es1rhs.js → provider-6g7e4dd5.js} +7 -7
- package/dist/chunks/{snapshot-01wy2qek.js → provider-6gp95x7h.js} +36 -36
- package/dist/chunks/{snapshot-fqq9xsk7.js → provider-6hb4axps.js} +22 -22
- package/dist/chunks/{snapshot-qa3qhgw8.js → provider-6hh8tjw2.js} +4 -4
- package/dist/chunks/{snapshot-j4gcvdzz.js → provider-6hz8g0en.js} +18 -18
- package/dist/chunks/{snapshot-dzfez6bd.js → provider-6j3fzm1y.js} +19 -19
- package/dist/chunks/{snapshot-nnfq7fft.js → provider-6vnksd4p.js} +28 -28
- package/dist/chunks/{snapshot-6xb47vfp.js → provider-6xb47vfp.js} +1 -1
- package/dist/chunks/{snapshot-98a7fcd2.js → provider-6yx9cdwm.js} +11 -11
- package/dist/chunks/{snapshot-k3a0as7r.js → provider-70wfxkqk.js} +5 -5
- package/dist/chunks/{snapshot-8t2r0pt2.js → provider-7178zsq4.js} +39 -39
- package/dist/chunks/{snapshot-71az546q.js → provider-71az546q.js} +2 -2
- package/dist/chunks/{snapshot-a1gpj94z.js → provider-73tb2d7t.js} +3 -3
- package/dist/chunks/{snapshot-xqrmy91b.js → provider-79wzcjsa.js} +6 -6
- package/dist/chunks/{snapshot-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
- package/dist/chunks/{snapshot-pevdf72a.js → provider-7cd1ytca.js} +10 -10
- package/dist/chunks/{snapshot-55mrs20k.js → provider-7e5rfcwt.js} +8 -8
- package/dist/chunks/{snapshot-wq9n3fgh.js → provider-802940vn.js} +11 -11
- package/dist/chunks/{snapshot-84txncab.js → provider-84txncab.js} +1 -1
- package/dist/chunks/{snapshot-1rpkqfbc.js → provider-853df498.js} +1 -1
- package/dist/chunks/{snapshot-9smjc29v.js → provider-869sfs2n.js} +45 -45
- package/dist/chunks/{snapshot-7nnpek7x.js → provider-880chn4z.js} +11 -11
- package/dist/chunks/{snapshot-tcezcvh9.js → provider-89znhe33.js} +4 -4
- package/dist/chunks/{snapshot-8d7r5vzw.js → provider-8d7r5vzw.js} +1 -1
- package/dist/chunks/{snapshot-1wcts50h.js → provider-8hbyspe1.js} +18 -18
- package/dist/chunks/{snapshot-kdarkz0k.js → provider-8nh1x9qx.js} +15 -15
- package/dist/chunks/{snapshot-d19e4dwh.js → provider-8phmhy56.js} +4 -4
- package/dist/chunks/{snapshot-cfsekr6v.js → provider-8sze2n9a.js} +6 -6
- package/dist/chunks/{snapshot-qg56zsrf.js → provider-8xcdsqe2.js} +12 -12
- package/dist/chunks/{snapshot-dchsmdq5.js → provider-8xr2jsn8.js} +15 -15
- package/dist/chunks/{snapshot-mgsp47xb.js → provider-90rktb5s.js} +9 -9
- package/dist/chunks/{snapshot-qrk3b11x.js → provider-950tcz88.js} +1 -1
- package/dist/chunks/{snapshot-9e5bzkjp.js → provider-9e5bzkjp.js} +3 -3
- package/dist/chunks/{snapshot-nt7v8mep.js → provider-9g978t7c.js} +32 -32
- package/dist/chunks/{snapshot-x5v93ytx.js → provider-9kangp0z.js} +11 -11
- package/dist/chunks/{snapshot-zerjt0v5.js → provider-9sy89r0f.js} +4 -4
- package/dist/chunks/{snapshot-tea830r9.js → provider-9szwjyee.js} +6 -6
- package/dist/chunks/{snapshot-tx9w5tca.js → provider-9y0w708y.js} +8 -8
- package/dist/chunks/{snapshot-wtrdqwsw.js → provider-9ztar93x.js} +8 -8
- package/dist/chunks/{snapshot-rfdthp1y.js → provider-a1r079t2.js} +12 -12
- package/dist/chunks/{snapshot-2qdat27r.js → provider-a7ne0pbq.js} +21 -21
- package/dist/chunks/{snapshot-2pnhn36q.js → provider-a8bn8zg0.js} +21 -21
- package/dist/chunks/{snapshot-79zv7g62.js → provider-a8ded0f6.js} +13 -13
- package/dist/chunks/{snapshot-y6b024td.js → provider-a8wp3vm3.js} +8 -8
- package/dist/chunks/{snapshot-aaet6srn.js → provider-aaet6srn.js} +2 -2
- package/dist/chunks/{snapshot-b72deqvz.js → provider-aekpz6sr.js} +48 -48
- package/dist/chunks/{snapshot-fex70s02.js → provider-af1qyrwf.js} +4 -4
- package/dist/chunks/{snapshot-55m8fdgd.js → provider-ap47h660.js} +17 -17
- package/dist/chunks/{snapshot-sj37d163.js → provider-ax2gd5n1.js} +18 -18
- package/dist/chunks/{snapshot-490jtnz7.js → provider-axvgx5r8.js} +19 -19
- package/dist/chunks/{snapshot-pzaq0q3h.js → provider-b122n9p4.js} +14 -14
- package/dist/chunks/{snapshot-2gybq4dr.js → provider-b32z9e7n.js} +3 -3
- package/dist/chunks/{snapshot-b6gygkdw.js → provider-b6gygkdw.js} +2 -2
- package/dist/chunks/{snapshot-2cbph903.js → provider-b9m8jyf5.js} +11 -11
- package/dist/chunks/{snapshot-ckqv7ffe.js → provider-bya5pgnz.js} +25 -25
- package/dist/chunks/{snapshot-4jfgyrzt.js → provider-bzd9mpph.js} +61 -61
- package/dist/chunks/{snapshot-pbgrrt8q.js → provider-c4r1z0h4.js} +5 -5
- package/dist/chunks/{snapshot-9syttpxn.js → provider-cq1crqf5.js} +35 -35
- package/dist/chunks/{snapshot-p9jn0jc6.js → provider-cr6zmxap.js} +3 -3
- package/dist/chunks/{snapshot-kpt54jka.js → provider-crkpb7cs.js} +24 -24
- package/dist/chunks/{snapshot-djszqvmq.js → provider-cwa6csj7.js} +9 -9
- package/dist/chunks/{snapshot-45gfdbj6.js → provider-cywzwz9x.js} +30 -30
- package/dist/chunks/{snapshot-vc6qc4g1.js → provider-d5577vah.js} +8 -8
- package/dist/chunks/{snapshot-13d5j3xz.js → provider-d63p7tmf.js} +5 -5
- package/dist/chunks/{snapshot-yfbfpsvk.js → provider-db0cs2kz.js} +24 -24
- package/dist/chunks/{snapshot-z2pg85mw.js → provider-dky9q78m.js} +27 -27
- package/dist/chunks/{snapshot-dmqcgk4z.js → provider-dmqcgk4z.js} +2 -2
- package/dist/chunks/{snapshot-nxm207yx.js → provider-dpkg50ah.js} +4 -4
- package/dist/chunks/{snapshot-xx0efrt7.js → provider-dtqny3g5.js} +11 -11
- package/dist/chunks/{snapshot-0byq2k6w.js → provider-dwhba9yv.js} +33 -33
- package/dist/chunks/{snapshot-j238m2wq.js → provider-ecf7yx0s.js} +1 -1
- package/dist/chunks/{snapshot-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
- package/dist/chunks/{snapshot-bs0her6n.js → provider-epfa530k.js} +17 -17
- package/dist/chunks/{snapshot-yqw633vx.js → provider-erxm7rkb.js} +20 -20
- package/dist/chunks/{snapshot-etq0c3wd.js → provider-etq0c3wd.js} +1 -1
- package/dist/chunks/{snapshot-0sx48w9z.js → provider-evz588nn.js} +9 -9
- package/dist/chunks/{snapshot-ebmvv24b.js → provider-ezr7p14b.js} +23 -23
- package/dist/chunks/{snapshot-dh7acrtn.js → provider-f62pbbwn.js} +8 -8
- package/dist/chunks/{snapshot-4mwpykj0.js → provider-ff0htmxq.js} +6 -6
- package/dist/chunks/{snapshot-8sf9g9bn.js → provider-fp9sff3r.js} +39 -39
- package/dist/chunks/{snapshot-sd7me009.js → provider-fs772d02.js} +6 -6
- package/dist/chunks/{snapshot-kbj2dgab.js → provider-fyjp43ss.js} +5 -5
- package/dist/chunks/{snapshot-k70p9jzb.js → provider-g31erja1.js} +9 -9
- package/dist/chunks/{snapshot-mpqann26.js → provider-g66y9f43.js} +18 -18
- package/dist/chunks/{snapshot-1rh4yqvv.js → provider-g762atc6.js} +9 -9
- package/dist/chunks/{snapshot-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
- package/dist/chunks/{snapshot-n8vdnqrc.js → provider-gj71zhbs.js} +5 -5
- package/dist/chunks/{snapshot-kmfd25t4.js → provider-gpw458b7.js} +3 -3
- package/dist/chunks/{snapshot-mxxxa8pc.js → provider-grbwyzfx.js} +25 -25
- package/dist/chunks/{snapshot-q8a356d0.js → provider-gytvncbh.js} +17 -17
- package/dist/chunks/{snapshot-06w4bmrz.js → provider-gyx3rp2r.js} +10 -10
- package/dist/chunks/{snapshot-h2b79v29.js → provider-h2b79v29.js} +2 -2
- package/dist/chunks/{snapshot-tc14gx3q.js → provider-h4ckqw4f.js} +11 -11
- package/dist/chunks/{snapshot-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
- package/dist/chunks/{snapshot-4v7ngy20.js → provider-h9pnpq88.js} +4 -4
- package/dist/chunks/{snapshot-qnmybv1b.js → provider-hewdcjdf.js} +80 -80
- package/dist/chunks/{snapshot-fdqb3sd9.js → provider-hkh1gyze.js} +32 -32
- package/dist/chunks/{snapshot-ymfkwayz.js → provider-hxt8j9vk.js} +15 -15
- package/dist/chunks/{snapshot-9xw1zsfh.js → provider-j36g3wgd.js} +4 -4
- package/dist/chunks/{snapshot-j56e64zr.js → provider-j56e64zr.js} +1 -1
- package/dist/chunks/{snapshot-gz41n4pb.js → provider-j82d6hxx.js} +51 -51
- package/dist/chunks/{snapshot-tmrrbz73.js → provider-jp0zb534.js} +23 -23
- package/dist/chunks/{snapshot-6j7y2wwk.js → provider-jpb5mf9j.js} +13 -13
- package/dist/chunks/{snapshot-qv8c18b1.js → provider-jy6n4x97.js} +12 -12
- package/dist/chunks/{snapshot-hfnn6h40.js → provider-k423vsa4.js} +22 -22
- package/dist/chunks/{snapshot-1e8vqbs5.js → provider-kadn9d92.js} +16 -16
- package/dist/chunks/{snapshot-v606x47v.js → provider-kfxyjhp2.js} +6 -6
- package/dist/chunks/{snapshot-vf1tjk7q.js → provider-kgx9j78r.js} +58 -58
- package/dist/chunks/{snapshot-qkrx527r.js → provider-khr9akvx.js} +32 -32
- package/dist/chunks/{snapshot-zcrspsvn.js → provider-kne8f3cn.js} +4 -4
- package/dist/chunks/{snapshot-savmkeh3.js → provider-kvgh0332.js} +15 -15
- package/dist/chunks/{snapshot-wqxkxsqv.js → provider-kw2wghq3.js} +13 -13
- package/dist/chunks/{snapshot-6rxkb1t6.js → provider-kwe77dsa.js} +5 -5
- package/dist/chunks/{snapshot-m3fdjcah.js → provider-m3fdjcah.js} +1 -1
- package/dist/chunks/{snapshot-58072hz9.js → provider-m5jcjszt.js} +3 -3
- package/dist/chunks/{snapshot-wmv7jh55.js → provider-m7wfyeg7.js} +16 -16
- package/dist/chunks/{snapshot-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
- package/dist/chunks/{snapshot-y06ady85.js → provider-mcb0hy3p.js} +24 -24
- package/dist/chunks/{snapshot-zchqraft.js → provider-mcrs9awc.js} +5 -5
- package/dist/chunks/{snapshot-4qedgxnx.js → provider-me3a999s.js} +9 -9
- package/dist/chunks/{snapshot-kks5n0mm.js → provider-mkr0nv12.js} +32 -32
- package/dist/chunks/{snapshot-qhz5c7yg.js → provider-mt1f1117.js} +13 -13
- package/dist/chunks/{snapshot-1zjs6h3e.js → provider-my8rj7kn.js} +19 -19
- package/dist/chunks/{snapshot-znsx74x0.js → provider-n2thn3nx.js} +1 -1
- package/dist/chunks/{snapshot-pnrzkzcv.js → provider-n8hzfk5n.js} +15 -15
- package/dist/chunks/{snapshot-ebpfwzpf.js → provider-nfe4rdr7.js} +78 -78
- package/dist/chunks/{snapshot-6ym8qnhr.js → provider-npjxmaz5.js} +12 -12
- package/dist/chunks/{snapshot-p47p3x6n.js → provider-p0r2k5hr.js} +13 -13
- package/dist/chunks/provider-p8msd6xk.js +253 -0
- package/dist/chunks/{snapshot-7c7sv9k2.js → provider-p98bz656.js} +17 -17
- package/dist/chunks/{snapshot-zyn8fsgh.js → provider-p9tbp9qs.js} +11 -11
- package/dist/chunks/{snapshot-kc2whj5y.js → provider-pe07j12a.js} +24 -24
- package/dist/chunks/{snapshot-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
- package/dist/chunks/{snapshot-pknna89w.js → provider-pknna89w.js} +1 -1
- package/dist/chunks/{snapshot-xjvdbam7.js → provider-pmv6ntjp.js} +18 -18
- package/dist/chunks/{snapshot-yr715y08.js → provider-prq7hedt.js} +9 -9
- package/dist/chunks/{snapshot-30pz7tss.js → provider-pxchgtyc.js} +4 -4
- package/dist/chunks/{snapshot-0j77ygfz.js → provider-q0xm7vwc.js} +6 -6
- package/dist/chunks/{snapshot-e1kg5xcc.js → provider-q3y1480k.js} +160 -160
- package/dist/chunks/{snapshot-hxek7tcc.js → provider-q4c9f7y5.js} +10 -10
- package/dist/chunks/{snapshot-809mkkbx.js → provider-q72rqnyr.js} +24 -24
- package/dist/chunks/{snapshot-wfnc7ck1.js → provider-qj5ds43h.js} +38 -38
- package/dist/chunks/{snapshot-qnc92qwc.js → provider-qnc92qwc.js} +1 -1
- package/dist/chunks/{snapshot-qsdy395h.js → provider-qsdy395h.js} +1 -1
- package/dist/chunks/{snapshot-sa6rnwcm.js → provider-qx78w7x0.js} +42 -42
- package/dist/chunks/{snapshot-b3f8fkhc.js → provider-qygbw77c.js} +5 -5
- package/dist/chunks/{snapshot-38kf5rm2.js → provider-r2gk0ttq.js} +27 -27
- package/dist/chunks/{snapshot-k808h248.js → provider-r5rttqkx.js} +26 -26
- package/dist/chunks/{snapshot-rav9e4bf.js → provider-r9t00hsy.js} +8 -8
- package/dist/chunks/{snapshot-rdw6cm16.js → provider-rdw6cm16.js} +1 -1
- package/dist/chunks/{snapshot-qn7mss41.js → provider-rdz0fprs.js} +36 -36
- package/dist/chunks/{snapshot-dxdqybfr.js → provider-rh2bshgf.js} +14 -14
- package/dist/chunks/{snapshot-egn78er9.js → provider-rj109cpc.js} +8 -8
- package/dist/chunks/{snapshot-a3a3tq5e.js → provider-rxqangmd.js} +11 -11
- package/dist/chunks/{snapshot-8s1fj8xg.js → provider-rzs3gq0x.js} +8 -8
- package/dist/chunks/{snapshot-s8d7rejh.js → provider-s8d7rejh.js} +1 -1
- package/dist/chunks/{snapshot-jn7tmx4p.js → provider-skwdgpes.js} +9 -9
- package/dist/chunks/{snapshot-pp9frasb.js → provider-syvex6wj.js} +7 -7
- package/dist/chunks/{snapshot-j739v9j7.js → provider-szp9cm9d.js} +11 -11
- package/dist/chunks/{snapshot-0td4cz49.js → provider-t8h9k6kt.js} +3 -3
- package/dist/chunks/{snapshot-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
- package/dist/chunks/{snapshot-tdstcens.js → provider-tdstcens.js} +1 -1
- package/dist/chunks/{snapshot-606e7s57.js → provider-tge9ftn1.js} +6 -6
- package/dist/chunks/{snapshot-yg3k0d53.js → provider-tpykdk7e.js} +20 -20
- package/dist/chunks/{snapshot-x9h5zfcv.js → provider-txn8qske.js} +2 -2
- package/dist/chunks/{snapshot-gccjnz6h.js → provider-v0xmac3n.js} +2 -2
- package/dist/chunks/{snapshot-vbfgae2j.js → provider-vbfgae2j.js} +1 -1
- package/dist/chunks/{snapshot-4zwmvgkw.js → provider-veqfhemw.js} +9 -9
- package/dist/chunks/{snapshot-veqvce7d.js → provider-veqvce7d.js} +1 -1
- package/dist/chunks/{snapshot-7zt2q3h7.js → provider-vj3nwvwh.js} +17 -17
- package/dist/chunks/{snapshot-ejwvf004.js → provider-vq6phmds.js} +308 -308
- package/dist/chunks/{snapshot-emmbmbyr.js → provider-vxxh4q2n.js} +1 -1
- package/dist/chunks/{snapshot-vzs5sf6e.js → provider-vzs5sf6e.js} +1 -1
- package/dist/chunks/{snapshot-w2h15q85.js → provider-w39jehkq.js} +5 -5
- package/dist/chunks/{snapshot-bh23es7j.js → provider-w3ejnnxx.js} +23 -23
- package/dist/chunks/{snapshot-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
- package/dist/chunks/{snapshot-30rd5yfg.js → provider-w4bq55ta.js} +15 -15
- package/dist/chunks/{snapshot-3f6key9q.js → provider-w8rdajxk.js} +58 -58
- package/dist/chunks/{snapshot-a8kks0d9.js → provider-w90th1wq.js} +8 -8
- package/dist/chunks/{snapshot-rbg0p6rj.js → provider-wac6chsn.js} +19 -19
- package/dist/chunks/{snapshot-wd87259q.js → provider-wd87259q.js} +1 -1
- package/dist/chunks/{snapshot-xch80j94.js → provider-wgn1zfzh.js} +2 -2
- package/dist/chunks/{snapshot-tv4pwrvh.js → provider-wjrctzxe.js} +3 -3
- package/dist/chunks/{snapshot-8bvzxqk6.js → provider-wxckm61x.js} +27 -27
- package/dist/chunks/{snapshot-f62qkzqr.js → provider-x2rw7g36.js} +5 -5
- package/dist/chunks/{snapshot-addxnjmp.js → provider-x661k3y3.js} +4 -4
- package/dist/chunks/{snapshot-h33t1xt5.js → provider-x8fg1acq.js} +7 -7
- package/dist/chunks/{snapshot-xf0nr9dv.js → provider-xb50yt4b.js} +4 -4
- package/dist/chunks/{snapshot-9pz2n9rd.js → provider-xb7ytst9.js} +16 -16
- package/dist/chunks/{snapshot-fe8gwfr5.js → provider-xbtqc3yy.js} +13 -13
- package/dist/chunks/{snapshot-c60ns7m9.js → provider-xcmk6yw7.js} +11 -11
- package/dist/chunks/{snapshot-7ta4bv20.js → provider-xcyyqy34.js} +34 -34
- package/dist/chunks/{snapshot-g5w8qwbj.js → provider-xfkkasph.js} +4 -4
- package/dist/chunks/{snapshot-qd87qnby.js → provider-xr86wyz0.js} +26 -26
- package/dist/chunks/{snapshot-5b6yg4p8.js → provider-xrh33zgb.js} +21 -21
- package/dist/chunks/{snapshot-4j3g2wcv.js → provider-xs6s4b8w.js} +4 -4
- package/dist/chunks/{snapshot-xgnfr18s.js → provider-xt8envp2.js} +30 -30
- package/dist/chunks/{snapshot-qxjc9qry.js → provider-xyafkbt0.js} +3 -3
- package/dist/chunks/{snapshot-84zqq0g0.js → provider-y117vq4z.js} +19 -19
- package/dist/chunks/{snapshot-jkhhterb.js → provider-y1bxg4cw.js} +38 -38
- package/dist/chunks/{snapshot-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
- package/dist/chunks/{snapshot-qnpjnc21.js → provider-y31c2br0.js} +4 -4
- package/dist/chunks/{snapshot-5s00wypw.js → provider-y32xjbbv.js} +2 -2
- package/dist/chunks/{snapshot-p4kgtw5x.js → provider-y6t797ad.js} +12 -12
- package/dist/chunks/{snapshot-s8qjwx7s.js → provider-y7gnf2d1.js} +14 -14
- package/dist/chunks/{snapshot-1gp9qjqr.js → provider-yb860a13.js} +7 -7
- package/dist/chunks/{snapshot-kkya6hqm.js → provider-ydm09vy0.js} +9 -9
- package/dist/chunks/{snapshot-vxj5c8sz.js → provider-ykbx70vn.js} +35 -35
- package/dist/chunks/{snapshot-ams72g5c.js → provider-ypnqz5gf.js} +11 -11
- package/dist/chunks/{snapshot-50h1eett.js → provider-yspr33n3.js} +3 -3
- package/dist/chunks/{snapshot-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
- package/dist/chunks/{snapshot-ms0e1w2a.js → provider-z2zdbf9m.js} +33 -33
- package/dist/chunks/{snapshot-zxbpt09z.js → provider-z7pebwj2.js} +10 -10
- package/dist/chunks/{snapshot-zfs8ae4p.js → provider-zfs8ae4p.js} +4 -4
- package/dist/chunks/{snapshot-ef3dmj4g.js → provider-zgfgymxp.js} +6 -6
- package/dist/chunks/{snapshot-njmzpw5k.js → provider-zmzek11k.js} +16 -16
- package/dist/chunks/{snapshot-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
- package/dist/chunks/{snapshot-cm9hswnw.js → provider-zwh81tv5.js} +27 -27
- package/dist/chunks/{snapshot-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- 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 +116 -116
- package/dist/config/plugin/command.js +203 -203
- 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 +123 -123
- 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 +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- 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 +121 -121
- 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 +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 +363 -363
- 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 +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 +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- 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 +134 -134
- 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 +105 -105
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +94 -94
- 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 +90 -90
- 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 +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +1 -1
- 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 +5 -5
- 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/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 +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- 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 +116 -116
- 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 +74 -74
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +84 -84
- package/dist/plugin/vcs/hg.js +84 -84
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +4 -4
- package/dist/plugin.js +212 -212
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +93 -93
- 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 +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +212 -212
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +5 -5
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- 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 +123 -123
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +105 -105
- package/dist/skill.js +114 -114
- 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 +101 -101
- 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 +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 +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +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 +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/snapshot-4ajnt9eg.js +0 -253
- /package/dist/chunks/{snapshot-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{snapshot-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
- /package/dist/chunks/{snapshot-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
- /package/dist/chunks/{snapshot-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
- /package/dist/chunks/{snapshot-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{snapshot-24dcb14g.js → provider-24dcb14g.js} +0 -0
- /package/dist/chunks/{snapshot-2710q6r3.js → provider-2710q6r3.js} +0 -0
- /package/dist/chunks/{snapshot-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
- /package/dist/chunks/{snapshot-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{snapshot-34c7v6d4.js → provider-34c7v6d4.js} +0 -0
- /package/dist/chunks/{snapshot-359p4xyc.js → provider-359p4xyc.js} +0 -0
- /package/dist/chunks/{snapshot-3asan66x.js → provider-3asan66x.js} +0 -0
- /package/dist/chunks/{snapshot-3t0ybcrp.js → provider-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{snapshot-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
- /package/dist/chunks/{snapshot-3w5fmr99.js → provider-3w5fmr99.js} +0 -0
- /package/dist/chunks/{snapshot-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
- /package/dist/chunks/{snapshot-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
- /package/dist/chunks/{snapshot-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
- /package/dist/chunks/{snapshot-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{snapshot-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
- /package/dist/chunks/{snapshot-53557ph1.js → provider-53557ph1.js} +0 -0
- /package/dist/chunks/{snapshot-550bvhaj.js → provider-550bvhaj.js} +0 -0
- /package/dist/chunks/{snapshot-6prwharc.js → provider-6prwharc.js} +0 -0
- /package/dist/chunks/{snapshot-6q2bdcd1.js → provider-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{snapshot-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
- /package/dist/chunks/{snapshot-7m9af43g.js → provider-7m9af43g.js} +0 -0
- /package/dist/chunks/{snapshot-822emrt2.js → provider-822emrt2.js} +0 -0
- /package/dist/chunks/{snapshot-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
- /package/dist/chunks/{snapshot-8n3pysct.js → provider-8n3pysct.js} +0 -0
- /package/dist/chunks/{snapshot-8wj87zfr.js → provider-8wj87zfr.js} +0 -0
- /package/dist/chunks/{snapshot-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
- /package/dist/chunks/{snapshot-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{snapshot-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
- /package/dist/chunks/{snapshot-af5trqkr.js → provider-af5trqkr.js} +0 -0
- /package/dist/chunks/{snapshot-afrmfg78.js → provider-afrmfg78.js} +0 -0
- /package/dist/chunks/{snapshot-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{snapshot-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
- /package/dist/chunks/{snapshot-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{snapshot-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{snapshot-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
- /package/dist/chunks/{snapshot-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{snapshot-d9fn303g.js → provider-d9fn303g.js} +0 -0
- /package/dist/chunks/{snapshot-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{snapshot-dajrwvna.js → provider-dajrwvna.js} +0 -0
- /package/dist/chunks/{snapshot-dap0rakb.js → provider-dap0rakb.js} +0 -0
- /package/dist/chunks/{snapshot-df08tz66.js → provider-df08tz66.js} +0 -0
- /package/dist/chunks/{snapshot-dy18nga0.js → provider-dy18nga0.js} +0 -0
- /package/dist/chunks/{snapshot-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
- /package/dist/chunks/{snapshot-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
- /package/dist/chunks/{snapshot-ec1grn59.js → provider-ec1grn59.js} +0 -0
- /package/dist/chunks/{snapshot-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
- /package/dist/chunks/{snapshot-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
- /package/dist/chunks/{snapshot-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
- /package/dist/chunks/{snapshot-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{snapshot-faypxj3z.js → provider-faypxj3z.js} +0 -0
- /package/dist/chunks/{snapshot-fd410y7t.js → provider-fd410y7t.js} +0 -0
- /package/dist/chunks/{snapshot-fxgpk5d8.js → provider-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{snapshot-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
- /package/dist/chunks/{snapshot-g86h250q.js → provider-g86h250q.js} +0 -0
- /package/dist/chunks/{snapshot-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
- /package/dist/chunks/{snapshot-gftt206x.js → provider-gftt206x.js} +0 -0
- /package/dist/chunks/{snapshot-hk9envan.js → provider-hk9envan.js} +0 -0
- /package/dist/chunks/{snapshot-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
- /package/dist/chunks/{snapshot-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{snapshot-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
- /package/dist/chunks/{snapshot-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{snapshot-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{snapshot-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{snapshot-mp448xyj.js → provider-mp448xyj.js} +0 -0
- /package/dist/chunks/{snapshot-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
- /package/dist/chunks/{snapshot-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
- /package/dist/chunks/{snapshot-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
- /package/dist/chunks/{snapshot-njntx4h6.js → provider-njntx4h6.js} +0 -0
- /package/dist/chunks/{snapshot-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
- /package/dist/chunks/{snapshot-q74kybfr.js → provider-q74kybfr.js} +0 -0
- /package/dist/chunks/{snapshot-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
- /package/dist/chunks/{snapshot-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
- /package/dist/chunks/{snapshot-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
- /package/dist/chunks/{snapshot-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
- /package/dist/chunks/{snapshot-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
- /package/dist/chunks/{snapshot-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{snapshot-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{snapshot-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
- /package/dist/chunks/{snapshot-w803qqfp.js → provider-w803qqfp.js} +0 -0
- /package/dist/chunks/{snapshot-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{snapshot-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
- /package/dist/chunks/{snapshot-wtztk69x.js → provider-wtztk69x.js} +0 -0
- /package/dist/chunks/{snapshot-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
- /package/dist/chunks/{snapshot-x61499pn.js → provider-x61499pn.js} +0 -0
- /package/dist/chunks/{snapshot-y44na4kk.js → provider-y44na4kk.js} +0 -0
- /package/dist/chunks/{snapshot-y8cydn3q.js → provider-y8cydn3q.js} +0 -0
- /package/dist/chunks/{snapshot-y8f7s663.js → provider-y8f7s663.js} +0 -0
- /package/dist/chunks/{snapshot-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{snapshot-ym463w8f.js → provider-ym463w8f.js} +0 -0
- /package/dist/chunks/{snapshot-z5v4ffb3.js → provider-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{snapshot-z9919s4g.js → provider-z9919s4g.js} +0 -0
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
node86
|
|
10
|
-
} from "./snapshot-qv8c18b1.js";
|
|
11
|
-
import {
|
|
12
|
-
Service80,
|
|
8
|
+
Service81,
|
|
13
9
|
node84
|
|
14
|
-
} from "./
|
|
10
|
+
} from "./provider-jy6n4x97.js";
|
|
11
|
+
import {
|
|
12
|
+
Service79,
|
|
13
|
+
node82
|
|
14
|
+
} from "./provider-435p4ksb.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./provider-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service34,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node37,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service34 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service34.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node37 = makeLocationNode({
|
|
144
|
+
service: Service34,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node84, Global.node, node82]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service34, Service34.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service59, Service59.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error2({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error2, Service34, node37, noopLayer2, exports_snapshot2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./provider-435p4ksb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./provider-869sfs2n.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service17
|
|
9
|
+
} from "./provider-n8hzfk5n.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make10
|
|
12
|
+
} from "./provider-73tb2d7t.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./provider-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin39
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin39 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service53;
|
|
36
|
+
const formatter = yield* Service17;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service79;
|
|
40
40
|
const npm = yield* Npm.Service;
|
|
41
41
|
const processes = yield* AppProcess.Service;
|
|
42
42
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -44,7 +44,7 @@ var Plugin40 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make10({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin39, exports_formatter };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./provider-w8rdajxk.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input6,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin24,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description3,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name6
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name6 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input6 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input4 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input6.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin24 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service62;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name6,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description3,
|
|
104
|
+
input: Input6,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin21 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name6,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name6, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input6, Plugin24, extractTextFromHTML2, exports_webfetch };
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-q72rqnyr.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service69,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node72
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service69 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service69, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service69.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node72 = makeLocationNode({ service: Service69, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service69, locationLayer2, node72, exports_aisdk };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node85
|
|
4
|
+
} from "./provider-y7gnf2d1.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
@@ -15,19 +15,19 @@ __export(exports_command4, {
|
|
|
15
15
|
Command: () => exports_command4,
|
|
16
16
|
Event: () => Event6,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info5,
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Service: () => Service35,
|
|
21
|
+
layer: () => layer15,
|
|
22
|
+
node: () => node38
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
import { Event as Event6 } from "@opencode/schema/command";
|
|
28
|
-
var
|
|
28
|
+
var Info5 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service35 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer15 = Layer.effect(Service35, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service82;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info5.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service35.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node38 = makeLocationNode({
|
|
75
|
+
service: Service35,
|
|
76
|
+
layer: layer15,
|
|
77
|
+
deps: [node85]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info5, NotFoundError5, ExecutionError2, Service35, layer15, node38, exports_command4, Event6 };
|
|
@@ -3,27 +3,27 @@ import {
|
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
5
|
Service30
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-02jgg23j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service62
|
|
9
|
+
} from "./provider-w8rdajxk.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin19
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin19 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
25
|
const mcp = yield* Service30;
|
|
26
|
-
const permission = yield*
|
|
26
|
+
const permission = yield* Service62;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin29 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin19, exports_mcp_resource };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service45,
|
|
10
|
+
node: () => node48
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service45 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node48 = LayerNode.unbound(Service45, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service45, node48, exports_service2 };
|