@opencode/core 0.0.0-dev-20151 → 0.0.0-dev-20155
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 +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{websearch-sgcgxeca.js → schema-05ensxqt.js} +31 -31
- package/dist/chunks/{websearch-ne7a8ayf.js → schema-07739wyb.js} +1 -1
- package/dist/chunks/{websearch-h6dda5h8.js → schema-07f32r4c.js} +2 -2
- package/dist/chunks/{websearch-8hfvq3hc.js → schema-07fk4vdp.js} +5 -5
- package/dist/chunks/{websearch-2g564ktp.js → schema-0bhxxk9k.js} +10 -10
- package/dist/chunks/{websearch-sefks3xs.js → schema-0h0a48ec.js} +10 -10
- package/dist/chunks/{websearch-6bkwpg0x.js → schema-0hj7f8b1.js} +12 -12
- package/dist/chunks/schema-0mesazry.js +4 -0
- package/dist/chunks/{websearch-r0142dpz.js → schema-0mezm8v3.js} +48 -48
- package/dist/chunks/{websearch-n02tzs3k.js → schema-0naybkd4.js} +43 -43
- package/dist/chunks/{websearch-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{websearch-1jgxsjvz.js → schema-0qmq1g2y.js} +3 -3
- package/dist/chunks/{websearch-8vq0fbaz.js → schema-0w6h42sd.js} +23 -23
- package/dist/chunks/{websearch-qphk93gx.js → schema-0xdddkhd.js} +27 -27
- package/dist/chunks/{websearch-rqv3m603.js → schema-0yxpqf9q.js} +26 -26
- package/dist/chunks/{websearch-ggxf5pt4.js → schema-13q95dca.js} +11 -11
- package/dist/chunks/{websearch-d1xc4y2a.js → schema-157g1820.js} +24 -24
- package/dist/chunks/{websearch-b4ne7bhv.js → schema-16q9vxtt.js} +27 -27
- package/dist/chunks/{websearch-v0w844jm.js → schema-16s9kdw5.js} +30 -30
- package/dist/chunks/{websearch-f2n192rq.js → schema-1acjjqhc.js} +4 -4
- package/dist/chunks/{websearch-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{websearch-r33ff4dw.js → schema-1s3p39g4.js} +4 -4
- package/dist/chunks/{websearch-ejn7rwhb.js → schema-1tmpsw1r.js} +24 -24
- package/dist/chunks/{websearch-nx0kdavb.js → schema-1xkahdzt.js} +81 -81
- package/dist/chunks/{websearch-56gdpj1q.js → schema-1ygqh575.js} +9 -9
- package/dist/chunks/{websearch-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{websearch-2402vzrj.js → schema-2402vzrj.js} +1 -1
- package/dist/chunks/{websearch-13aajxj1.js → schema-27hrx2m2.js} +4 -4
- package/dist/chunks/{websearch-026npp9j.js → schema-27prgbw4.js} +15 -15
- package/dist/chunks/{websearch-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{websearch-ph2vf1zj.js → schema-2af3vg7e.js} +9 -9
- package/dist/chunks/{websearch-tpg80jye.js → schema-2b17ndm2.js} +12 -12
- package/dist/chunks/{websearch-zvgw43n1.js → schema-2h1ppkz8.js} +25 -25
- package/dist/chunks/{websearch-k00ze9h8.js → schema-2nzqjkgh.js} +11 -11
- package/dist/chunks/{websearch-9gacg3te.js → schema-2qqmafn9.js} +24 -24
- package/dist/chunks/{websearch-qmqgtz8f.js → schema-2sejkfem.js} +9 -9
- package/dist/chunks/{websearch-2f52zj7s.js → schema-2tr3yddq.js} +29 -29
- package/dist/chunks/{websearch-vhxjwkp7.js → schema-31nz5m34.js} +13 -13
- package/dist/chunks/{websearch-rvf7c2rq.js → schema-32nda6gh.js} +10 -10
- package/dist/chunks/{websearch-270k6s7e.js → schema-39ctaptd.js} +11 -11
- package/dist/chunks/{websearch-rw311e4v.js → schema-3dg2xvfq.js} +25 -25
- package/dist/chunks/{websearch-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-j9z4wg6b.js → schema-3gsz5zgg.js} +16 -16
- package/dist/chunks/{websearch-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-96a2wy2r.js → schema-3pghag89.js} +25 -25
- package/dist/chunks/{websearch-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{websearch-2ppj4dha.js → schema-3tnj4nc2.js} +20 -20
- package/dist/chunks/{websearch-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-pw64qnn1.js → schema-3x6k1mts.js} +10 -10
- package/dist/chunks/{websearch-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
- package/dist/chunks/{websearch-p2ejrmjr.js → schema-404v594m.js} +9 -9
- package/dist/chunks/{websearch-9gag9787.js → schema-42v6676k.js} +37 -37
- package/dist/chunks/{websearch-sxpcjwsm.js → schema-48vb8zcm.js} +8 -8
- package/dist/chunks/{websearch-yt3hy1g9.js → schema-4n607a2z.js} +5 -5
- package/dist/chunks/{websearch-szzpc92w.js → schema-4ng17raw.js} +3 -3
- package/dist/chunks/{websearch-x4k5swv2.js → schema-4rgrvx78.js} +2 -2
- package/dist/chunks/{websearch-q9860tk8.js → schema-4tq94sws.js} +6 -6
- package/dist/chunks/{websearch-81mvp6db.js → schema-4w8174cf.js} +23 -23
- package/dist/chunks/{websearch-7gvwkz6m.js → schema-4xz89tjk.js} +5 -5
- package/dist/chunks/{websearch-3g33scay.js → schema-53fyba40.js} +4 -4
- package/dist/chunks/{websearch-ckecvw8r.js → schema-54tcyq79.js} +2 -2
- package/dist/chunks/{websearch-z20rdm1x.js → schema-5aegf1xj.js} +27 -27
- package/dist/chunks/{websearch-jexxy024.js → schema-5cmxdwv8.js} +3 -3
- package/dist/chunks/{websearch-2w0y6wkg.js → schema-5cv6t2zq.js} +16 -16
- package/dist/chunks/{websearch-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{websearch-hcz3zddy.js → schema-5e19p4dw.js} +5 -5
- package/dist/chunks/{websearch-9dc6hk7b.js → schema-5jk2m439.js} +14 -14
- package/dist/chunks/{websearch-e3qxr5gk.js → schema-5qd3pb7m.js} +2 -2
- package/dist/chunks/{websearch-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{websearch-0s4pwxt6.js → schema-5xwq33r5.js} +57 -57
- package/dist/chunks/{websearch-8644923d.js → schema-637bt013.js} +38 -38
- package/dist/chunks/{websearch-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{websearch-vrk97n7n.js → schema-686bxqs3.js} +11 -11
- package/dist/chunks/{websearch-nb9rs9fh.js → schema-6mb9rkag.js} +17 -17
- package/dist/chunks/{websearch-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
- package/dist/chunks/{websearch-2qnsdmsd.js → schema-6v8w5ehg.js} +3 -3
- package/dist/chunks/schema-6z3xdhh4.js +252 -0
- package/dist/chunks/{websearch-r5x6zcsm.js → schema-73tb2d7t.js} +3 -3
- package/dist/chunks/{websearch-vm5657n0.js → schema-79t7xk98.js} +15 -15
- package/dist/chunks/{websearch-pjsbaxaj.js → schema-79wrnan4.js} +11 -11
- package/dist/chunks/{websearch-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-yawrq4yy.js → schema-7bmwqyq6.js} +5 -5
- package/dist/chunks/{websearch-rkprpv83.js → schema-7fkffz83.js} +4 -4
- package/dist/chunks/{websearch-kxrbh14d.js → schema-7j016h96.js} +9 -9
- package/dist/chunks/{websearch-jgg6hn5z.js → schema-7mggrsj0.js} +16 -16
- package/dist/chunks/{websearch-hswb95x4.js → schema-81fh9vc9.js} +11 -11
- package/dist/chunks/{websearch-3md9nf60.js → schema-85k8ep8b.js} +15 -15
- package/dist/chunks/{websearch-jkb2mnhj.js → schema-87j1vk5m.js} +14 -14
- package/dist/chunks/{websearch-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{websearch-4bat6w68.js → schema-8f4y0pp5.js} +15 -15
- package/dist/chunks/{websearch-9ex3k00r.js → schema-8gm0xqx6.js} +8 -8
- package/dist/chunks/{websearch-qwat3dyd.js → schema-8gxfpvk4.js} +22 -22
- package/dist/chunks/{websearch-j26gqgr4.js → schema-8n2g1t1q.js} +3 -3
- package/dist/chunks/{websearch-8z439g2c.js → schema-8n8aydd2.js} +8 -8
- package/dist/chunks/{websearch-n042b7jq.js → schema-8p3bvsm6.js} +18 -18
- package/dist/chunks/{websearch-mn39jvh5.js → schema-8re3920x.js} +20 -20
- package/dist/chunks/{websearch-ngy2rse0.js → schema-99yn8t20.js} +6 -6
- package/dist/chunks/{websearch-fdk5p36s.js → schema-9mz9sh48.js} +5 -5
- package/dist/chunks/{websearch-jd74j2np.js → schema-9r2n4vbx.js} +4 -4
- package/dist/chunks/{websearch-acbpsmkm.js → schema-9rfkbpbj.js} +4 -4
- package/dist/chunks/{websearch-f6gt5aa8.js → schema-9z0cwd9w.js} +15 -15
- package/dist/chunks/{websearch-at1kfnmk.js → schema-a2qe2ev9.js} +8 -8
- package/dist/chunks/{websearch-ah6gdbsa.js → schema-a3m0kdh5.js} +12 -12
- package/dist/chunks/{websearch-h71w1jed.js → schema-a9dbrvcp.js} +44 -44
- package/dist/chunks/{websearch-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{websearch-c19dh1j0.js → schema-ac760hkj.js} +24 -24
- package/dist/chunks/{websearch-kmx0na6r.js → schema-afjydgk3.js} +4 -4
- package/dist/chunks/{websearch-7rwqf82v.js → schema-ahd542yp.js} +8 -8
- package/dist/chunks/{websearch-8gm3emt9.js → schema-anbjwd12.js} +26 -26
- package/dist/chunks/{websearch-3qq43k1v.js → schema-anbm6d0v.js} +20 -20
- package/dist/chunks/{websearch-5h5j54wa.js → schema-anz3vhts.js} +12 -12
- package/dist/chunks/{websearch-ry9dspd2.js → schema-b3hkrvzm.js} +6 -6
- package/dist/chunks/{websearch-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{websearch-24v8r3n0.js → schema-b7nzzxtj.js} +29 -29
- package/dist/chunks/{websearch-z07pqspn.js → schema-bjtzbw4r.js} +3 -3
- package/dist/chunks/{websearch-q8ddp7df.js → schema-c05pc369.js} +20 -20
- package/dist/chunks/{websearch-r72vh36z.js → schema-c4p53n0j.js} +15 -15
- package/dist/chunks/{websearch-h1esvyq0.js → schema-c4q1b81p.js} +3 -3
- package/dist/chunks/{websearch-r2jew814.js → schema-c5c0bz0t.js} +5 -5
- package/dist/chunks/{websearch-ma9cj8pq.js → schema-ccjk4f54.js} +33 -33
- package/dist/chunks/{websearch-xe1sz0bn.js → schema-ccx1dw7q.js} +30 -30
- package/dist/chunks/{websearch-ff2vahy8.js → schema-chd5dxat.js} +7 -7
- package/dist/chunks/{websearch-br0tr5aq.js → schema-cmwkp3r5.js} +8 -8
- package/dist/chunks/{websearch-x8k8ss3k.js → schema-csxrjpxm.js} +11 -11
- package/dist/chunks/{websearch-qa3fb321.js → schema-d1c25d3q.js} +7 -7
- package/dist/chunks/{websearch-w3ffgm11.js → schema-d41te630.js} +5 -5
- package/dist/chunks/{websearch-0fyzm8xj.js → schema-d50xxcr3.js} +5 -5
- package/dist/chunks/{websearch-57ez7d0k.js → schema-d9s573fh.js} +2 -2
- package/dist/chunks/{websearch-8b564nhv.js → schema-dbt5d3v2.js} +8 -8
- package/dist/chunks/{websearch-wk5z6jzv.js → schema-depwzj9d.js} +9 -9
- package/dist/chunks/{websearch-49q8tgwx.js → schema-dfm2zw35.js} +5 -5
- package/dist/chunks/{websearch-t1fqb5s2.js → schema-djpyvzbj.js} +10 -10
- package/dist/chunks/{websearch-c7476aq3.js → schema-dk7kjneb.js} +24 -24
- package/dist/chunks/{websearch-pf9wq1rz.js → schema-drysh76x.js} +29 -29
- package/dist/chunks/{websearch-58btjskb.js → schema-dst2nx90.js} +20 -20
- package/dist/chunks/{websearch-9rgt8jqc.js → schema-dvm4mghw.js} +14 -14
- package/dist/chunks/{websearch-w73yn65a.js → schema-dxan09mr.js} +8 -8
- package/dist/chunks/{websearch-arndb05z.js → schema-e2wbz5rg.js} +6 -6
- package/dist/chunks/{websearch-4238gvvk.js → schema-e3qz6zmn.js} +24 -24
- package/dist/chunks/{websearch-rhjbct0v.js → schema-eaj1djv9.js} +8 -8
- package/dist/chunks/{websearch-yshwmv3n.js → schema-eca2xt2e.js} +22 -22
- package/dist/chunks/{websearch-ecfe7b91.js → schema-ecfe7b91.js} +2 -2
- package/dist/chunks/{websearch-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{websearch-re37wgqj.js → schema-eg0rmd38.js} +326 -326
- package/dist/chunks/{websearch-rypfn5ye.js → schema-ep74v7fx.js} +13 -13
- package/dist/chunks/{websearch-07770t2t.js → schema-eq20ba7x.js} +6 -6
- package/dist/chunks/{websearch-69ad3t6w.js → schema-eqmd3425.js} +11 -11
- package/dist/chunks/{websearch-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{websearch-738yxbg0.js → schema-exf3dd23.js} +20 -20
- package/dist/chunks/{websearch-jkw8ab1z.js → schema-f2xfk6hw.js} +43 -43
- package/dist/chunks/{websearch-qg0jgkcp.js → schema-f7j90zp2.js} +9 -9
- package/dist/chunks/{websearch-ss3jxmem.js → schema-f84xm9jy.js} +23 -23
- package/dist/chunks/{websearch-49w8mb30.js → schema-fa0vx1vq.js} +11 -11
- package/dist/chunks/{websearch-a2ew8a62.js → schema-fdv30zvt.js} +7 -7
- package/dist/chunks/{websearch-fca204ar.js → schema-fn0717px.js} +29 -29
- package/dist/chunks/{websearch-qpbc7zwf.js → schema-g2y161wv.js} +8 -8
- package/dist/chunks/{websearch-ep3z477b.js → schema-g9a18t79.js} +11 -11
- package/dist/chunks/{websearch-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-94ek1h2f.js → schema-gfvb90ym.js} +2 -2
- package/dist/chunks/{websearch-z3pw5915.js → schema-gqchpbtd.js} +5 -5
- package/dist/chunks/{websearch-7qshtjyh.js → schema-h088vvky.js} +170 -170
- package/dist/chunks/{websearch-fhg5zwa0.js → schema-h5n6cr9x.js} +32 -32
- package/dist/chunks/{websearch-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-ved5are8.js → schema-hjssj8fz.js} +13 -13
- package/dist/chunks/{websearch-hyxthraj.js → schema-hv2hgy02.js} +13 -13
- package/dist/chunks/{websearch-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{websearch-dnd1ddjx.js → schema-j8mz9s4x.js} +11 -11
- package/dist/chunks/{websearch-3tber816.js → schema-jbz4z0yy.js} +21 -21
- package/dist/chunks/{websearch-ff678qhv.js → schema-jdgpxcbk.js} +11 -11
- package/dist/chunks/{websearch-3c03nx73.js → schema-jeqr0vjg.js} +27 -27
- package/dist/chunks/{websearch-xjn7r0j6.js → schema-jz40f57j.js} +17 -17
- package/dist/chunks/{websearch-9qtpgwac.js → schema-k6a20zcv.js} +14 -14
- package/dist/chunks/{websearch-068gpmm3.js → schema-k8z9p47p.js} +26 -26
- package/dist/chunks/{websearch-s178yrnp.js → schema-kgey82cw.js} +12 -12
- package/dist/chunks/{websearch-p55p7gjv.js → schema-kvk0vnsc.js} +35 -35
- package/dist/chunks/{websearch-as68cy63.js → schema-kvy0p52m.js} +6 -6
- package/dist/chunks/{websearch-m66smpx7.js → schema-m1vshg1d.js} +4 -4
- package/dist/chunks/{websearch-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
- package/dist/chunks/{websearch-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-m4rasfgg.js → schema-ma8x6edw.js} +25 -25
- package/dist/chunks/{websearch-t51qk8jz.js → schema-magykp64.js} +21 -21
- package/dist/chunks/{websearch-9dm3gnhk.js → schema-maqbyvg5.js} +13 -13
- package/dist/chunks/{websearch-fjy6k2t9.js → schema-mnsrx4h9.js} +4 -4
- package/dist/chunks/{websearch-est0q85z.js → schema-mnwje68x.js} +13 -13
- package/dist/chunks/{websearch-ws5qwdf0.js → schema-mq740twr.js} +10 -10
- package/dist/chunks/{websearch-hqtqhwxa.js → schema-my33rnxx.js} +11 -11
- package/dist/chunks/{websearch-xvmckbd1.js → schema-na0j43z6.js} +24 -24
- package/dist/chunks/{websearch-ppd1p50b.js → schema-ndxbn6j7.js} +24 -24
- package/dist/chunks/{websearch-9n655km2.js → schema-nf54004p.js} +8 -8
- package/dist/chunks/{websearch-sr56qa84.js → schema-nkxtb3dm.js} +10 -10
- package/dist/chunks/{websearch-947ggv4w.js → schema-nqvz83n0.js} +9 -9
- package/dist/chunks/{websearch-23x87d5f.js → schema-nyp9r3yv.js} +5 -5
- package/dist/chunks/{websearch-k3c624dm.js → schema-nzks3jc8.js} +3 -3
- package/dist/chunks/{websearch-h6r3nrb9.js → schema-nzyhnfxz.js} +4 -4
- package/dist/chunks/{websearch-8j4984r1.js → schema-p31rxwxp.js} +20 -20
- package/dist/chunks/{websearch-n3byxp5c.js → schema-pcp3kjxr.js} +9 -9
- package/dist/chunks/{websearch-3pk0d26x.js → schema-pd58mre0.js} +7 -7
- package/dist/chunks/{websearch-mepyejys.js → schema-pgsr89hy.js} +1 -1
- package/dist/chunks/{websearch-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-wd3x2cqz.js → schema-psazpmmj.js} +2 -2
- package/dist/chunks/{websearch-jhhbcj17.js → schema-psqa84kj.js} +18 -18
- package/dist/chunks/{websearch-e56nnahp.js → schema-pt110b9x.js} +30 -30
- package/dist/chunks/{websearch-yyfgwqez.js → schema-q3hm2ja7.js} +8 -8
- package/dist/chunks/schema-q509s3k3.js +18 -0
- package/dist/chunks/{websearch-gbrv9ggv.js → schema-q6pbqyca.js} +37 -37
- package/dist/chunks/{websearch-4hfxqkq1.js → schema-q8d50280.js} +3 -3
- package/dist/chunks/{websearch-hbkhk6kn.js → schema-q9trfcxy.js} +43 -43
- package/dist/chunks/{websearch-87rkj7hm.js → schema-qan3rc7n.js} +16 -16
- package/dist/chunks/{websearch-2k8khapm.js → schema-qgn6gcr1.js} +5 -5
- package/dist/chunks/{websearch-e1n46n1t.js → schema-qm6nak0e.js} +49 -49
- package/dist/chunks/{websearch-v5mb01ar.js → schema-qn0byfb6.js} +11 -11
- package/dist/chunks/{websearch-drwq78ky.js → schema-qqeeq2t9.js} +7 -7
- package/dist/chunks/{websearch-s8mtwxf3.js → schema-qr81hr1d.js} +82 -82
- package/dist/chunks/{websearch-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-0vr0hcvm.js → schema-qz25ctfn.js} +25 -25
- package/dist/chunks/{websearch-vtd2qwnf.js → schema-r3c4069c.js} +1 -1
- package/dist/chunks/{websearch-97pd6k0k.js → schema-r5cmcmkd.js} +10 -10
- package/dist/chunks/{websearch-18vjd2kq.js → schema-r6kw3eaj.js} +16 -16
- package/dist/chunks/{websearch-0yx2kg4q.js → schema-r8503ksh.js} +16 -16
- package/dist/chunks/{websearch-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{websearch-fc7x1jcn.js → schema-rgad3y2c.js} +48 -48
- package/dist/chunks/{websearch-rcsd3yaw.js → schema-rmeqj50k.js} +16 -16
- package/dist/chunks/{websearch-zeh9ct20.js → schema-rq775frq.js} +2 -2
- package/dist/chunks/{websearch-91rxdh5f.js → schema-rw5zsebr.js} +22 -22
- package/dist/chunks/{websearch-41fffbdz.js → schema-ry6yywad.js} +17 -17
- package/dist/chunks/{websearch-qecj0jt8.js → schema-s271antv.js} +12 -12
- package/dist/chunks/{websearch-vy4zg7qh.js → schema-s2ynmxvy.js} +5 -5
- package/dist/chunks/{websearch-gpk600j1.js → schema-s8ac38hc.js} +17 -17
- package/dist/chunks/{websearch-t7j54sd4.js → schema-s9ny3s1p.js} +16 -16
- package/dist/chunks/{websearch-sxzvkvgj.js → schema-sd5f6jdk.js} +6 -6
- package/dist/chunks/{websearch-76zdkzzt.js → schema-sk3sbtp0.js} +4 -4
- package/dist/chunks/{websearch-bct739vz.js → schema-sx1n432n.js} +4 -4
- package/dist/chunks/{websearch-vc5dppgg.js → schema-syyemct7.js} +20 -20
- package/dist/chunks/{websearch-42yw2kjc.js → schema-szwj1mk0.js} +17 -17
- package/dist/chunks/{websearch-ecsa09d5.js → schema-t6s1y3ss.js} +40 -40
- package/dist/chunks/{websearch-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/{websearch-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-7z0c58z6.js → schema-tmddb601.js} +6 -6
- package/dist/chunks/{websearch-2vs2nh1n.js → schema-ttqh24zm.js} +4 -4
- package/dist/chunks/{websearch-tvtrv512.js → schema-tvtrv512.js} +1 -1
- package/dist/chunks/{websearch-rk7s9xkn.js → schema-v7z2bvyd.js} +4 -4
- package/dist/chunks/{websearch-bdqrk2vk.js → schema-va5qff5x.js} +4 -4
- package/dist/chunks/{websearch-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{websearch-v76by4bg.js → schema-vfnexndp.js} +6 -6
- package/dist/chunks/schema-vhsgvesh.js +26 -0
- package/dist/chunks/{websearch-9dg7zxs9.js → schema-vjf4vvvf.js} +17 -17
- package/dist/chunks/{websearch-a3r4dcrj.js → schema-vmgq4x8b.js} +2 -2
- package/dist/chunks/{websearch-2qq7qy34.js → schema-vmwh049b.js} +9 -9
- package/dist/chunks/{websearch-5ptzjwb4.js → schema-vnd02eqn.js} +13 -13
- package/dist/chunks/{websearch-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{websearch-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
- package/dist/chunks/{websearch-3vgavdt2.js → schema-w31gwtfd.js} +6 -6
- package/dist/chunks/{websearch-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-0a3hzmd5.js → schema-wgzfjrfp.js} +17 -17
- package/dist/chunks/{websearch-mvksx64m.js → schema-wpwj4s2y.js} +4 -4
- package/dist/chunks/{websearch-8makzfd8.js → schema-wsh63xm2.js} +11 -11
- package/dist/chunks/{websearch-e386cdc4.js → schema-wvdys2zg.js} +26 -26
- package/dist/chunks/{websearch-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{websearch-3whqsqhb.js → schema-x46rem9p.js} +3 -3
- package/dist/chunks/{websearch-6c7yw9pm.js → schema-x74r3nk3.js} +8 -8
- package/dist/chunks/{websearch-h01hbd1y.js → schema-xdrt6sd9.js} +3 -3
- package/dist/chunks/{websearch-xkntkrq7.js → schema-xkntkrq7.js} +2 -2
- package/dist/chunks/{websearch-8247kj1d.js → schema-xm5mtrqn.js} +22 -22
- package/dist/chunks/{websearch-ycpwvzbp.js → schema-xreqyrjh.js} +45 -45
- package/dist/chunks/{websearch-jvvc3tfq.js → schema-xsgk3b13.js} +9 -9
- package/dist/chunks/{websearch-brdm0fzs.js → schema-xtrjfq07.js} +11 -11
- package/dist/chunks/{websearch-3ewed21c.js → schema-xxxym934.js} +4 -4
- package/dist/chunks/{websearch-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-y71avatq.js → schema-y71avatq.js} +1 -1
- package/dist/chunks/{websearch-fghtb5tb.js → schema-ybnjss4v.js} +24 -24
- package/dist/chunks/{websearch-yze6d0jy.js → schema-ynwt6cba.js} +18 -18
- package/dist/chunks/{websearch-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
- package/dist/chunks/{websearch-s4enseaf.js → schema-yrznvahk.js} +2 -2
- package/dist/chunks/{websearch-gv6a8nnw.js → schema-yyb7tjpc.js} +2 -2
- package/dist/chunks/{websearch-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-t99r6es5.js → schema-z59jkery.js} +24 -24
- package/dist/chunks/{websearch-29x78va6.js → schema-z63w68vq.js} +6 -6
- package/dist/chunks/{websearch-fz2dh189.js → schema-z7cbn86z.js} +10 -10
- package/dist/chunks/{websearch-jh9h9zmd.js → schema-zjycbmx8.js} +9 -9
- package/dist/chunks/{websearch-93knh8xf.js → schema-zksm58n9.js} +61 -61
- package/dist/chunks/{websearch-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-kakrpwzw.js → schema-zwrpf1jc.js} +26 -26
- package/dist/chunks/{websearch-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/chunks/{websearch-y8tjx8tm.js → schema-zysz17mm.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- 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 +371 -371
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- 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 +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- 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 +2 -2
- 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 +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +85 -85
- 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 +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- 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 +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- 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 +79 -79
- 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 +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- 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 +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +116 -116
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- 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 +8 -8
- package/dist/tool.js +14 -14
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- 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 +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/websearch-dxj72tfx.js +0 -18
- package/dist/chunks/websearch-qapv375x.js +0 -4
- package/dist/chunks/websearch-qhjfgcss.js +0 -26
- package/dist/chunks/websearch-vg86szwk.js +0 -252
- /package/dist/chunks/{websearch-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{websearch-922hggd3.js → schema-922hggd3.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./schema-1tmpsw1r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./schema-sd5f6jdk.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-q509s3k3.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service55;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service51), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin12,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin12 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin12, exports_tool_input_repair };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./schema-fn0717px.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID8.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-27hrx2m2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service16,
|
|
6
|
+
Event3
|
|
7
|
+
} from "./schema-42v6676k.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ 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*
|
|
32
|
+
const modelsDev = yield* Service16;
|
|
33
33
|
const bus = yield* Service83;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -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(Event3.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,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./schema-5xwq33r5.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-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: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input12,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin31,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name12
|
|
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
|
|
34
|
-
var
|
|
33
|
+
var name12 = "webfetch";
|
|
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 description5 = `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 Input12 = 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 Input9 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input12.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin31 = {
|
|
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* Service75;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name12,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description5,
|
|
104
|
+
input: Input12,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin9 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name12,
|
|
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 { name12, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin31, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info13,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info13 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info13, exports_mcp5 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info29,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info29 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -49,4 +49,4 @@ var encode2 = (provenance, replacement) => ({
|
|
|
49
49
|
var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
|
|
50
50
|
var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
|
|
51
51
|
|
|
52
|
-
export {
|
|
52
|
+
export { Info29, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-psazpmmj.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-27hrx2m2.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-s2ynmxvy.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-4rgrvx78.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-q509s3k3.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service42,
|
|
18
|
+
node46
|
|
19
|
+
} from "./schema-e3qz6zmn.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node22
|
|
22
|
+
} from "./schema-syyemct7.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service11,
|
|
25
|
+
node13
|
|
26
|
+
} from "./schema-2sejkfem.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./schema-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher2 = {};
|
|
33
|
+
__export(exports_location_watcher2, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
+
Service: () => Service10,
|
|
36
|
+
node: () => node12
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service10 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
46
46
|
const location = yield* Service80;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service42;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
|
-
const policy = yield*
|
|
51
|
+
const policy = yield* Service11;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service10.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node12 = makeLocationNode({
|
|
106
|
+
service: Service10,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node46, FSUtil.node, node84, node86, node87, node22, node13]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service10, node12, exports_location_watcher2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID16 = Session.ID;
|
|
5
|
+
var Info31 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID16, Info31, SessionSchema2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-27hrx2m2.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-4rgrvx78.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service77,
|
|
14
|
+
node81
|
|
15
|
+
} from "./schema-dvm4mghw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service6,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node8
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service6 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service83;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service77;
|
|
41
41
|
const location = yield* Service80;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service6.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node8 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node87, FSUtil.node, node84,
|
|
101
|
+
deps: [node87, FSUtil.node, node84, node81]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service6, node8, exports_instructions };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info9,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info9 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info20 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info9, exports_provider2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service41
|
|
3
|
+
} from "./schema-t6s1y3ss.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service9
|
|
6
|
+
} from "./schema-2qqmafn9.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigCompactionPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_compaction2 = {};
|
|
16
|
+
__export(exports_compaction2, {
|
|
17
|
+
ConfigCompactionPlugin: () => exports_compaction2,
|
|
18
|
+
Plugin: () => Plugin45
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin45 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service41;
|
|
26
|
+
const compaction = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin24 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin45, exports_compaction2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load4() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load4 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|