@opencode/core 0.0.0-dev-19684 → 0.0.0-dev-19686
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{shell-j9yp876j.js → location-008kyx1w.js} +9 -9
- package/dist/chunks/{shell-64kphnzf.js → location-06dxphr1.js} +4 -4
- package/dist/chunks/{shell-353ec5xa.js → location-0a2xtww1.js} +5 -5
- package/dist/chunks/{shell-9d1719jx.js → location-0bvasyrh.js} +6 -6
- package/dist/chunks/{shell-68rq69k6.js → location-0g6jym90.js} +17 -17
- package/dist/chunks/{shell-j58c5xyq.js → location-0jq9fyba.js} +9 -9
- package/dist/chunks/location-0m0tvs7x.js +164 -0
- package/dist/chunks/{shell-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{shell-0q0f95c6.js → location-0q0f95c6.js} +1 -1
- package/dist/chunks/location-0w7pwmpa.js +26 -0
- package/dist/chunks/{shell-hpdj5hc5.js → location-12s3v6mp.js} +1 -1
- package/dist/chunks/{shell-0arp08hh.js → location-184488cr.js} +23 -23
- package/dist/chunks/{shell-3vwe38gh.js → location-1a99h9dp.js} +11 -11
- package/dist/chunks/{shell-mvfsc1pv.js → location-1bbkgx8g.js} +3 -3
- package/dist/chunks/{shell-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{shell-56gdpj1q.js → location-1ygqh575.js} +9 -9
- package/dist/chunks/{shell-kagt2kqb.js → location-20zwj74y.js} +11 -11
- package/dist/chunks/{shell-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{shell-2402vzrj.js → location-2402vzrj.js} +1 -1
- package/dist/chunks/{shell-atwvjk3g.js → location-249fq4hk.js} +13 -13
- package/dist/chunks/{shell-b2da4m4w.js → location-277eer69.js} +7 -8
- package/dist/chunks/{shell-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{shell-jva4mgym.js → location-2evyaa68.js} +4 -4
- package/dist/chunks/{shell-5mjd0tcc.js → location-2sark3gv.js} +11 -11
- package/dist/chunks/{shell-89awe219.js → location-2w1s74yj.js} +21 -21
- package/dist/chunks/{shell-bt2e4tjd.js → location-35tmvh3j.js} +24 -24
- package/dist/chunks/{shell-hygwp9nt.js → location-383bdqn6.js} +10 -10
- package/dist/chunks/{shell-59msrm9x.js → location-3f9g2x3f.js} +53 -53
- package/dist/chunks/{shell-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{shell-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-stdy45ne.js → location-3zffk7df.js} +25 -25
- package/dist/chunks/{shell-knb7evpn.js → location-44ke2mar.js} +2 -2
- package/dist/chunks/{shell-z378wvez.js → location-48wwg9sw.js} +13 -13
- package/dist/chunks/{shell-fsjyrg72.js → location-4b7rnnqb.js} +88 -88
- package/dist/chunks/{shell-h6r3nrb9.js → location-4dgbcxzg.js} +4 -4
- package/dist/chunks/{shell-vjb1j6zt.js → location-4ekfwt2e.js} +13 -13
- package/dist/chunks/{shell-jsgky646.js → location-4jxd50ct.js} +46 -46
- package/dist/chunks/{shell-fnqcnrwr.js → location-4pfyybdp.js} +13 -13
- package/dist/chunks/{shell-1vmngn2p.js → location-4pjc1ph3.js} +47 -47
- package/dist/chunks/{shell-pkqjmvx8.js → location-4q1v9c1t.js} +17 -17
- package/dist/chunks/{shell-650p1vgr.js → location-4q3bx44t.js} +11 -11
- package/dist/chunks/{shell-vqtmypvq.js → location-4rjyk3c7.js} +15 -15
- package/dist/chunks/{shell-gdm3qam3.js → location-4thtkfjm.js} +166 -166
- package/dist/chunks/{shell-g582528b.js → location-4zxt70vg.js} +37 -37
- package/dist/chunks/{shell-e1g62edg.js → location-54s6wecj.js} +5 -5
- package/dist/chunks/{shell-2fgn2we9.js → location-57ez7d0k.js} +9 -9
- package/dist/chunks/{shell-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{shell-crxm8vhj.js → location-5h3qddj0.js} +14 -14
- package/dist/chunks/{shell-e3qxr5gk.js → location-5qd3pb7m.js} +2 -2
- package/dist/chunks/{shell-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{shell-kfvqsgwq.js → location-5v4p7pyv.js} +22 -22
- package/dist/chunks/{shell-ak1ej6q8.js → location-5wpyz990.js} +15 -15
- package/dist/chunks/{shell-1y02ekvx.js → location-5yernesq.js} +37 -37
- package/dist/chunks/{shell-p42hj8p8.js → location-5yzzbxa7.js} +8 -8
- package/dist/chunks/{shell-t4ep399p.js → location-633s5get.js} +12 -12
- package/dist/chunks/{shell-h2t8ymee.js → location-64q882h2.js} +24 -24
- package/dist/chunks/{shell-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{shell-tqhjqp4x.js → location-676zts7t.js} +35 -35
- package/dist/chunks/{shell-6ch53rs1.js → location-6d8421km.js} +22 -22
- package/dist/chunks/{shell-dt5xy0kq.js → location-6k70ak8m.js} +5 -5
- package/dist/chunks/{shell-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{shell-cfmg5f2e.js → location-6r1js6vv.js} +25 -25
- package/dist/chunks/{shell-cywpmpyh.js → location-6r6s2m1q.js} +43 -43
- package/dist/chunks/{shell-p9p1rr13.js → location-6vk930va.js} +25 -25
- package/dist/chunks/{shell-02scvt0n.js → location-73xc2593.js} +12 -12
- package/dist/chunks/{shell-bvvhb128.js → location-74azehs1.js} +14 -14
- package/dist/chunks/{shell-72j6m2ks.js → location-76mz653q.js} +4 -4
- package/dist/chunks/{shell-dwz51f9r.js → location-78e6np4t.js} +5 -5
- package/dist/chunks/{shell-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-2k8khapm.js → location-7dqw4kz8.js} +5 -5
- package/dist/chunks/{shell-wvd3r0fc.js → location-7g9bvtff.js} +13 -13
- package/dist/chunks/{shell-p53qb2xk.js → location-7j7qd4de.js} +25 -25
- package/dist/chunks/{shell-6bsje7ws.js → location-7w99qc9d.js} +3 -3
- package/dist/chunks/{shell-5pak3zwf.js → location-7znvkeks.js} +19 -19
- package/dist/chunks/{shell-7h1fndp2.js → location-81qfgkv2.js} +17 -17
- package/dist/chunks/{shell-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{shell-px4zqas9.js → location-8kx0bg8y.js} +11 -11
- package/dist/chunks/{shell-8p4f9s12.js → location-8p4f9s12.js} +2 -2
- package/dist/chunks/{shell-dzse07y5.js → location-8q9myf25.js} +6 -6
- package/dist/chunks/{shell-9sdzjm5d.js → location-8vgbp9kc.js} +9 -9
- package/dist/chunks/{shell-05dbw8h7.js → location-9eg4jjgq.js} +8 -8
- package/dist/chunks/{shell-421r5d5v.js → location-9g3kc011.js} +12 -12
- package/dist/chunks/{shell-wk6d9gtz.js → location-9q89dbhk.js} +51 -51
- package/dist/chunks/{shell-465w2j5b.js → location-9sbs8jya.js} +4 -4
- package/dist/chunks/{shell-6769hash.js → location-9sw7694m.js} +26 -26
- package/dist/chunks/{shell-1z5xhg71.js → location-9tnhk3sw.js} +25 -25
- package/dist/chunks/{shell-fepbnb8j.js → location-9w4ppqge.js} +5 -5
- package/dist/chunks/{shell-3w0fmcng.js → location-9xvq3m7s.js} +5 -5
- package/dist/chunks/{shell-a1bz86dw.js → location-a1bz86dw.js} +3 -3
- package/dist/chunks/{shell-x83kfe59.js → location-a2m2wc9b.js} +16 -16
- package/dist/chunks/{shell-jg3dk2mq.js → location-a9at85v6.js} +11 -11
- package/dist/chunks/{shell-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{shell-qsfdbege.js → location-ac3fkhra.js} +14 -14
- package/dist/chunks/{shell-3xyw1x35.js → location-acm2cd52.js} +20 -20
- package/dist/chunks/{shell-avm8jn6n.js → location-af04s6ss.js} +5 -5
- package/dist/chunks/{shell-cdxkea2x.js → location-afy1jmxr.js} +7 -7
- package/dist/chunks/{shell-nbv082sw.js → location-agrejx4p.js} +16 -16
- package/dist/chunks/{shell-2bzw6bfd.js → location-ar3rf71y.js} +4 -4
- package/dist/chunks/{shell-j0ky2qbp.js → location-ar825hn2.js} +20 -20
- package/dist/chunks/{shell-2kjmkjjh.js → location-atjpx8bb.js} +23 -23
- package/dist/chunks/{shell-yj6jvem3.js → location-b279e66f.js} +7 -7
- package/dist/chunks/{shell-hqm43xfh.js → location-b470x9gv.js} +6 -6
- package/dist/chunks/{shell-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{shell-c88xsj4b.js → location-bdjrcx3c.js} +11 -11
- package/dist/chunks/{shell-13tqay2c.js → location-bdsn0hg4.js} +40 -40
- package/dist/chunks/{shell-521mg670.js → location-bx37qhk3.js} +19 -19
- package/dist/chunks/{shell-wy8b5sm2.js → location-bz85s9hh.js} +1 -1
- package/dist/chunks/{shell-75yx4wx5.js → location-c0c130gm.js} +2 -2
- package/dist/chunks/{shell-xsgk3b13.js → location-c8jj867k.js} +9 -9
- package/dist/chunks/{shell-myx08xq4.js → location-cfj703js.js} +64 -64
- package/dist/chunks/{shell-cfpkc3c9.js → location-cfpkc3c9.js} +2 -2
- package/dist/chunks/{shell-a77f6hq0.js → location-cfr0h88y.js} +24 -24
- package/dist/chunks/{shell-baaqp4zd.js → location-ckf8nxjz.js} +4 -4
- package/dist/chunks/{shell-g6q9qykm.js → location-cpneeje0.js} +9 -9
- package/dist/chunks/{shell-cq37gk0t.js → location-cq37gk0t.js} +4 -4
- package/dist/chunks/{shell-d6kea4np.js → location-cw4sea0t.js} +8 -8
- package/dist/chunks/{shell-k0b72eat.js → location-cyfsp3wv.js} +11 -11
- package/dist/chunks/{shell-3egzarba.js → location-d2h9na68.js} +4 -4
- package/dist/chunks/{shell-reqevd7p.js → location-d4sp9rf7.js} +9 -9
- package/dist/chunks/{shell-m282vmjm.js → location-dfby5msv.js} +30 -30
- package/dist/chunks/{shell-jft4q2kn.js → location-dnp5f34d.js} +26 -26
- package/dist/chunks/{shell-60scm90h.js → location-dqmenwa9.js} +3 -3
- package/dist/chunks/{shell-vdtbp9xk.js → location-dqygf0fb.js} +5 -5
- package/dist/chunks/{shell-0pkw8ty1.js → location-dsp2whwc.js} +29 -29
- package/dist/chunks/{shell-n980jsng.js → location-dvxgyqr5.js} +13 -13
- package/dist/chunks/{shell-29xvb5bk.js → location-e0kn3hfv.js} +4 -4
- package/dist/chunks/{shell-e80am09j.js → location-e97qct74.js} +6 -6
- package/dist/chunks/{shell-qbeegk5c.js → location-eav5nksb.js} +40 -40
- package/dist/chunks/{shell-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{shell-y3ky0ywj.js → location-eqzt0dae.js} +5 -5
- package/dist/chunks/{shell-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{shell-abs7vd7m.js → location-f33b9p90.js} +21 -21
- package/dist/chunks/{shell-y00gbe2a.js → location-f5bgqzgb.js} +9 -9
- package/dist/chunks/{shell-f828m53h.js → location-f828m53h.js} +2 -2
- package/dist/chunks/{shell-a46v4e4v.js → location-fdv30zvt.js} +7 -7
- package/dist/chunks/{shell-k0yx29k2.js → location-fetws26q.js} +1 -1
- package/dist/chunks/{shell-ecszv4cx.js → location-fp4mk58e.js} +41 -41
- package/dist/chunks/{shell-s2ctwpa3.js → location-fpbsfvc3.js} +29 -29
- package/dist/chunks/{shell-tfzrzead.js → location-frj49c8h.js} +11 -11
- package/dist/chunks/{shell-c8wevtrk.js → location-fsgveznc.js} +8 -8
- package/dist/chunks/{shell-czztawnv.js → location-fwm1wfch.js} +18 -18
- package/dist/chunks/{shell-497trp6d.js → location-fx80e2z0.js} +24 -24
- package/dist/chunks/{shell-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/{shell-ne3jdqry.js → location-g17w5wg1.js} +6 -6
- package/dist/chunks/{shell-jase78w4.js → location-gb2rmtkw.js} +4 -4
- package/dist/chunks/{shell-htanjsaa.js → location-gc70bhff.js} +16 -16
- package/dist/chunks/{shell-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/location-ge6zmjjk.js +247 -0
- package/dist/chunks/{shell-p0sy0rdw.js → location-ghf1akwt.js} +8 -8
- package/dist/chunks/{shell-r69n8pfr.js → location-gty5atak.js} +11 -11
- package/dist/chunks/{shell-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{shell-9cd5mnda.js → location-gwfhg9zv.js} +18 -18
- package/dist/chunks/{shell-h03wrkyp.js → location-h03wrkyp.js} +2 -2
- package/dist/chunks/{shell-qrnb0zs5.js → location-h6fk7gxt.js} +9 -9
- package/dist/chunks/{shell-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-938kg93p.js → location-h6y219ca.js} +24 -24
- package/dist/chunks/{shell-hp42fy7s.js → location-h8s9z3z5.js} +8 -8
- package/dist/chunks/{shell-pxf5smj0.js → location-hdt8t46w.js} +9 -9
- package/dist/chunks/{shell-9yk7fe3p.js → location-hejvrh0f.js} +14 -14
- package/dist/chunks/{shell-w337vvwy.js → location-hhztpha1.js} +20 -20
- package/dist/chunks/{shell-cgkf6hyz.js → location-hzchk1pk.js} +14 -14
- package/dist/chunks/{shell-tprea2w6.js → location-j0f29qwa.js} +5 -5
- package/dist/chunks/{shell-9h9fjp2r.js → location-j3ff95xa.js} +24 -24
- package/dist/chunks/{shell-zn5jhmnr.js → location-j3rsss4t.js} +20 -20
- package/dist/chunks/{shell-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{shell-ntqyxcyw.js → location-jjmgaw8t.js} +24 -24
- package/dist/chunks/{shell-n56h5hy7.js → location-jn0ng521.js} +43 -43
- package/dist/chunks/{shell-4hqjaqv1.js → location-jnn1pg4s.js} +32 -32
- package/dist/chunks/{shell-jppvw2tx.js → location-jppvw2tx.js} +2 -2
- package/dist/chunks/location-jqh9b0xq.js +18 -0
- package/dist/chunks/{shell-60vgchqy.js → location-k3faz1zp.js} +17 -17
- package/dist/chunks/{shell-8zds8w79.js → location-k9anmv7q.js} +26 -26
- package/dist/chunks/{shell-f1zbxv7x.js → location-k9avtbwf.js} +9 -9
- package/dist/chunks/{shell-k17bahsd.js → location-kaqg86x3.js} +18 -18
- package/dist/chunks/{shell-zxn051w9.js → location-ke78d0tt.js} +8 -8
- package/dist/chunks/{shell-ywj8m2vt.js → location-kwk1sjzt.js} +25 -25
- package/dist/chunks/{shell-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{shell-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-4f127xgv.js → location-mc2w0rmh.js} +15 -15
- package/dist/chunks/{shell-gj2ms1nq.js → location-mhsaa535.js} +4 -4
- package/dist/chunks/{shell-xdk9p2qn.js → location-mjymc32g.js} +21 -21
- package/dist/chunks/{shell-yqr6xnaq.js → location-mmggakvt.js} +4 -4
- package/dist/chunks/{shell-58tcc6dc.js → location-mqvxd9y4.js} +36 -36
- package/dist/chunks/{shell-xw5sd8ft.js → location-msyhx82m.js} +15 -15
- package/dist/chunks/{shell-f76eektm.js → location-n9zez4wf.js} +5 -5
- package/dist/chunks/{shell-xdy7smra.js → location-neyqvzdr.js} +46 -46
- package/dist/chunks/{shell-ff0svapt.js → location-nng2ktcm.js} +2 -2
- package/dist/chunks/{shell-xcby1x0a.js → location-nqjse9n6.js} +9 -9
- package/dist/chunks/{shell-k3c624dm.js → location-nzks3jc8.js} +3 -3
- package/dist/chunks/{shell-xaz5wxvk.js → location-p0jpxftg.js} +9 -9
- package/dist/chunks/{shell-xt6n5xqm.js → location-p4fngkfm.js} +6 -6
- package/dist/chunks/{shell-shaj1jnf.js → location-p7gte5gn.js} +26 -26
- package/dist/chunks/{shell-bmmmk9rh.js → location-pc8bba18.js} +20 -20
- package/dist/chunks/{shell-2d57kztd.js → location-pf2hb43r.js} +4 -4
- package/dist/chunks/{shell-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-36prqbxs.js → location-pk2vfkre.js} +7 -7
- package/dist/chunks/{shell-e948v4m2.js → location-pkjkgdks.js} +81 -81
- package/dist/chunks/{shell-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{shell-bct739vz.js → location-pmr4s4kc.js} +4 -4
- package/dist/chunks/{shell-mhbjb662.js → location-pp3dp5ad.js} +8 -8
- package/dist/chunks/{shell-8qmgx6wx.js → location-pr3rc07j.js} +15 -15
- package/dist/chunks/{shell-avvd1tnc.js → location-py33a53q.js} +16 -16
- package/dist/chunks/{shell-4mqp54gq.js → location-pyxx3fcm.js} +3 -3
- package/dist/chunks/{shell-t257nz5t.js → location-q34kr2rc.js} +12 -12
- package/dist/chunks/{shell-c6s8azb0.js → location-q7qrw62a.js} +11 -11
- package/dist/chunks/location-qapv375x.js +4 -0
- package/dist/chunks/{shell-pa3hft97.js → location-qh5wzrdr.js} +22 -22
- package/dist/chunks/{shell-p1nm93x7.js → location-qjnxxf51.js} +5 -5
- package/dist/chunks/{shell-2vpn5atd.js → location-qkra8k3h.js} +26 -26
- package/dist/chunks/{shell-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-y1qqcj8h.js → location-qvb3nf84.js} +8 -8
- package/dist/chunks/{shell-6qbs7j8e.js → location-r685v1fg.js} +11 -11
- package/dist/chunks/{shell-sz0fczdy.js → location-r9q77sm8.js} +6 -6
- package/dist/chunks/{shell-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{shell-59ckvsfw.js → location-rfpa0h4r.js} +30 -30
- package/dist/chunks/{shell-gagp6v9m.js → location-rgrenpz7.js} +10 -10
- package/dist/chunks/{shell-rhjbct0v.js → location-rhjbct0v.js} +1 -1
- package/dist/chunks/{shell-1acjjqhc.js → location-rhraev7y.js} +4 -4
- package/dist/chunks/{shell-9cdqq2er.js → location-rs311by5.js} +305 -305
- package/dist/chunks/{shell-5g8n0xjn.js → location-rsa3r8e2.js} +32 -32
- package/dist/chunks/{shell-hb7sxhhb.js → location-rx3k5raz.js} +32 -32
- package/dist/chunks/{shell-ghc9cygp.js → location-ryv4b98b.js} +41 -41
- package/dist/chunks/{shell-9923zjtq.js → location-s42fsk39.js} +31 -31
- package/dist/chunks/{shell-qq3hkfz9.js → location-setb4p7q.js} +6 -6
- package/dist/chunks/{shell-9zxh70gf.js → location-ss8k8k84.js} +13 -13
- package/dist/chunks/{shell-qwjmgwmn.js → location-t1dawjzh.js} +8 -8
- package/dist/chunks/{shell-pqk0pen6.js → location-t2s8k3h0.js} +3 -3
- package/dist/chunks/{shell-4m2e3er3.js → location-t60ccsm1.js} +9 -9
- package/dist/chunks/{shell-0vk4a8bm.js → location-t67yxjf3.js} +33 -33
- package/dist/chunks/{shell-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{shell-3k0nn0ne.js → location-tdhe5xga.js} +11 -11
- package/dist/chunks/{shell-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{shell-sm38kpj9.js → location-tfr1qeh3.js} +11 -11
- package/dist/chunks/{shell-13y8bxtp.js → location-tjsv0jpk.js} +18 -18
- package/dist/chunks/{shell-eywjeeez.js → location-tnb3g43e.js} +3 -3
- package/dist/chunks/{shell-2a482amk.js → location-tq42g4mv.js} +11 -11
- package/dist/chunks/{shell-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{shell-xj2wfzmj.js → location-v8q6jw7g.js} +18 -18
- package/dist/chunks/{shell-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{shell-7zrdb7rw.js → location-vn7byakt.js} +15 -15
- package/dist/chunks/{shell-xg79878d.js → location-vrz5rpz8.js} +24 -24
- package/dist/chunks/{shell-dhzcx2dk.js → location-vsc8sj6t.js} +18 -18
- package/dist/chunks/{shell-jrqntfpr.js → location-vsv60gqs.js} +8 -8
- package/dist/chunks/{shell-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{shell-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{shell-jthyvkq9.js → location-we3en8w2.js} +16 -16
- package/dist/chunks/{shell-r84ewcn4.js → location-wfj6d4tq.js} +3 -3
- package/dist/chunks/{shell-dpq5pt5b.js → location-wjyt06sc.js} +30 -30
- package/dist/chunks/{shell-80pjn6xv.js → location-wp64hyeq.js} +17 -17
- package/dist/chunks/{shell-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{shell-50aape0s.js → location-x3v0mxye.js} +5 -5
- package/dist/chunks/{shell-t3479h02.js → location-x6p4d2c5.js} +16 -16
- package/dist/chunks/{shell-8k29n9b8.js → location-xcehmcv4.js} +11 -11
- package/dist/chunks/{shell-drwq78ky.js → location-xfkkasph.js} +4 -4
- package/dist/chunks/{shell-dnszgtsj.js → location-xk747vep.js} +9 -9
- package/dist/chunks/{shell-ebd4b9hd.js → location-xrfrhdks.js} +30 -30
- package/dist/chunks/{shell-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-j7jtjs4b.js → location-y1taq29h.js} +5 -5
- package/dist/chunks/{shell-wm8ejcqt.js → location-y3gk2rae.js} +13 -13
- package/dist/chunks/{shell-dpkg50ah.js → location-y71avatq.js} +4 -4
- package/dist/chunks/{shell-z2htvd61.js → location-yar33tf7.js} +27 -27
- package/dist/chunks/{shell-qbp2nq94.js → location-ycx81gtv.js} +23 -23
- package/dist/chunks/{shell-jxm9g8ke.js → location-yj50hhw4.js} +1 -1
- package/dist/chunks/{shell-7yvm4rav.js → location-ymnhf11g.js} +10 -10
- package/dist/chunks/{shell-qq8x5mwt.js → location-yq2cczkq.js} +7 -7
- package/dist/chunks/{shell-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{shell-s4enseaf.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{shell-cza3p4qy.js → location-ywsdzc9e.js} +10 -10
- package/dist/chunks/{shell-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-fwmjdqts.js → location-z1cbwd81.js} +74 -40
- package/dist/chunks/{shell-v0x7c1q7.js → location-z1e15hfs.js} +11 -11
- package/dist/chunks/{shell-29x78va6.js → location-z63w68vq.js} +6 -6
- package/dist/chunks/{shell-1fcrsx1q.js → location-ze5v0a14.js} +8 -8
- package/dist/chunks/{shell-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{shell-fmbfr9zq.js → location-znxkka7s.js} +18 -18
- package/dist/chunks/{shell-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{shell-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +90 -90
- 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 +356 -356
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +95 -95
- package/dist/models-dev.js +96 -96
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +98 -98
- 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 +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- 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 +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +90 -90
- 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 +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +5 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +10 -10
- package/dist/types/plugin/identity.d.ts +0 -1
- package/dist/types/tool/plugin/opencode.d.ts +7 -0
- package/dist/types/tool/plugin/subagent.d.ts +3 -1
- 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 +5 -5
- 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 +91 -91
- 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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/shell-5h6q456q.js +0 -247
- package/dist/chunks/shell-6a0k7haa.js +0 -26
- package/dist/chunks/shell-6kdq0pjd.js +0 -4
- package/dist/chunks/shell-rap9a73h.js +0 -18
- package/dist/chunks/shell-vmp141m3.js +0 -80
- /package/dist/chunks/{shell-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-gb2rmtkw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./location-x6p4d2c5.js";
|
|
9
9
|
import {
|
|
10
10
|
ID9,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service62,
|
|
12
|
+
node66
|
|
13
|
+
} from "./location-agrejx4p.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError9
|
|
16
|
+
} from "./location-k9avtbwf.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service61,
|
|
19
|
+
node65
|
|
20
|
+
} from "./location-ac3fkhra.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service60,
|
|
26
|
+
node64
|
|
27
|
+
} from "./location-73xc2593.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service63,
|
|
30
|
+
node67
|
|
31
|
+
} from "./location-t1dawjzh.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission2 = {};
|
|
38
|
+
__export(exports_permission2, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
@@ -44,23 +44,23 @@ __export(exports_permission, {
|
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
45
|
Event: () => Event12,
|
|
46
46
|
ID: () => ID7,
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
47
|
+
NotFoundError: () => NotFoundError8,
|
|
48
|
+
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service59,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node63
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
63
|
+
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
64
|
import { Event as Event12 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
@@ -110,7 +110,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
113
|
+
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
114
|
requestID: ID7
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service59 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service81;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service78;
|
|
133
|
+
const agents = yield* Service62;
|
|
134
|
+
const sessions = yield* Service61;
|
|
135
|
+
const saved = yield* Service60;
|
|
136
|
+
const hooks = yield* Service63;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError9({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
156
156
|
});
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError8({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service59.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node63 = makeLocationNode({
|
|
289
|
+
service: Service59,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [node85,
|
|
291
|
+
deps: [node85, node82, node66, node65, node64, node67]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2,
|
|
294
|
+
export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service59, node63, exports_permission2, Rule3, Ruleset2, Event12 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./location-x6p4d2c5.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service15
|
|
9
|
+
} from "./location-tjsv0jpk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service12
|
|
12
|
+
} from "./location-7znvkeks.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -24,25 +24,25 @@ import {
|
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
26
|
Service5
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-cyfsp3wv.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input9,
|
|
36
|
+
Plugin: () => Plugin23,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name9,
|
|
39
|
+
toModelContent: () => toModelContent6
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name9 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input9 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin23 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
61
|
const reader = yield* Service5;
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
62
|
+
const access = yield* Service15;
|
|
63
|
+
const sessionInstructions = yield* Service12;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service78;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name9,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input9,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin21 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent6 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name9, Input9, Plugin23, toModelContent6, exports_read };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-t2s8k3h0.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
16
|
ID: () => ID8,
|
|
17
|
-
Info: () =>
|
|
17
|
+
Info: () => Info21,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service60,
|
|
21
|
+
node: () => node64
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -26,7 +26,7 @@ import { Project } from "@opencode/schema/project";
|
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
28
|
var ID8 = PermissionSaved.ID;
|
|
29
|
-
var
|
|
29
|
+
var Info21 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service60 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service82).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service60.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node64 = makeGlobalNode({ service: Service60, layer, deps: [node86] });
|
|
72
72
|
|
|
73
|
-
export { ID8,
|
|
73
|
+
export { ID8, Info21, ListInput4, AddInput2, Service60, node64, exports_saved };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service50,
|
|
8
|
+
node54
|
|
9
|
+
} from "./location-fx80e2z0.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service23,
|
|
24
|
+
node: () => node26
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service23 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service50;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service23.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node26 = makeLocationNode({ service: Service23, layer, deps: [node54, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error2, InvalidPatternError2,
|
|
180
|
+
export { Error2, InvalidPatternError2, Service23, node26, exports_ripgrep };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-k9avtbwf.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-6r6s2m1q.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-7j7qd4de.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-y3gk2rae.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID13,
|
|
3
|
+
Service70
|
|
4
|
+
} from "./location-7j7qd4de.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service70;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID13.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options9,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options9 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options9, Spec2, exports_plugin3 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-gb2rmtkw.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-4dgbcxzg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event18
|
|
9
|
+
} from "./location-acm2cd52.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID13
|
|
12
|
+
} from "./location-7j7qd4de.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID12,
|
|
15
|
+
Service69
|
|
16
|
+
} from "./location-xrfrhdks.js";
|
|
17
17
|
import {
|
|
18
18
|
load2,
|
|
19
19
|
derive2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-y1taq29h.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service69;
|
|
30
30
|
const bus = yield* Service81;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|