@opencode/core 0.0.0-dev-19520 → 0.0.0-dev-19526
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{ripgrep-2k2kkdba.js → location-service-map-02ewr2by.js} +11 -11
- package/dist/chunks/{ripgrep-makktzfn.js → location-service-map-056n2m1g.js} +11 -11
- package/dist/chunks/{ripgrep-zpd6x7fe.js → location-service-map-0af7c97v.js} +2 -2
- package/dist/chunks/{ripgrep-4wnp65at.js → location-service-map-0b8gwnph.js} +7 -7
- package/dist/chunks/{ripgrep-7dqw4kz8.js → location-service-map-0jwsre1p.js} +5 -5
- package/dist/chunks/{ripgrep-rqy9czj1.js → location-service-map-0khhz0x2.js} +15 -15
- package/dist/chunks/{ripgrep-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-0q0f95c6.js → location-service-map-0q0f95c6.js} +1 -1
- package/dist/chunks/{ripgrep-n0prnbcg.js → location-service-map-0wa7p661.js} +12 -12
- package/dist/chunks/{ripgrep-a6ztjttg.js → location-service-map-0ytf8312.js} +15 -15
- package/dist/chunks/{ripgrep-yp2x3t23.js → location-service-map-1acjjqhc.js} +4 -4
- package/dist/chunks/{ripgrep-7yh4e7ss.js → location-service-map-1bbkgx8g.js} +3 -3
- package/dist/chunks/{ripgrep-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-r12m2gvw.js → location-service-map-21fn2vng.js} +26 -26
- package/dist/chunks/{ripgrep-21r38tys.js → location-service-map-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-2402vzrj.js → location-service-map-2402vzrj.js} +1 -1
- package/dist/chunks/{ripgrep-nz99f8xd.js → location-service-map-26k6twgg.js} +34 -34
- package/dist/chunks/{ripgrep-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-tt6n2bdb.js → location-service-map-2aptycgy.js} +7 -7
- package/dist/chunks/{ripgrep-3916sf1y.js → location-service-map-2dckjqza.js} +27 -27
- package/dist/chunks/{ripgrep-52zfrmt1.js → location-service-map-2dgw9s7c.js} +1 -1
- package/dist/chunks/{ripgrep-k9gn0ad9.js → location-service-map-2g9xpxn7.js} +10 -10
- package/dist/chunks/{ripgrep-gj6rcz70.js → location-service-map-2hnb5zpz.js} +16 -16
- package/dist/chunks/{ripgrep-rt0tzyzc.js → location-service-map-2jmhezps.js} +20 -20
- package/dist/chunks/{ripgrep-23va4g8n.js → location-service-map-2t2p0k4y.js} +11 -11
- package/dist/chunks/{ripgrep-bnaeqmzy.js → location-service-map-2t6pc9fw.js} +22 -22
- package/dist/chunks/{ripgrep-tayeq9hg.js → location-service-map-31e57ssv.js} +16 -16
- package/dist/chunks/{ripgrep-t3cqppxt.js → location-service-map-34ha2cd1.js} +11 -11
- package/dist/chunks/{ripgrep-3svns4sc.js → location-service-map-35vexpw6.js} +6 -6
- package/dist/chunks/{ripgrep-9gyd2w40.js → location-service-map-39r80e1r.js} +1 -1
- package/dist/chunks/{ripgrep-q7vxj98b.js → location-service-map-3b11dhj6.js} +8 -8
- package/dist/chunks/{ripgrep-8qvgnq7a.js → location-service-map-3bxse654.js} +10 -10
- package/dist/chunks/{ripgrep-189kb88v.js → location-service-map-3dj6qs5p.js} +3 -3
- package/dist/chunks/{ripgrep-vvww6z2v.js → location-service-map-3ep00wvs.js} +11 -11
- package/dist/chunks/{ripgrep-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-x4jgrabg.js → location-service-map-3ft3p6xv.js} +4 -4
- package/dist/chunks/{ripgrep-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-h5eqzpkj.js → location-service-map-3vw45jna.js} +166 -166
- package/dist/chunks/{ripgrep-585pw9ae.js → location-service-map-41raftcs.js} +24 -24
- package/dist/chunks/{ripgrep-w5enr2n1.js → location-service-map-44wkazz6.js} +10 -10
- package/dist/chunks/{ripgrep-9xx88crh.js → location-service-map-4bw7nj7e.js} +57 -57
- package/dist/chunks/{ripgrep-jeanpfns.js → location-service-map-4bytqjtr.js} +1 -1
- package/dist/chunks/{ripgrep-hb36k1xj.js → location-service-map-4c22vnh1.js} +9 -9
- package/dist/chunks/{ripgrep-693j5c0s.js → location-service-map-4r27yeqf.js} +6 -6
- package/dist/chunks/{ripgrep-jn8gnkkx.js → location-service-map-4s1bbv2b.js} +12 -12
- package/dist/chunks/{ripgrep-4y66k410.js → location-service-map-4y66k410.js} +2 -2
- package/dist/chunks/{ripgrep-56gdpj1q.js → location-service-map-56gdpj1q.js} +2 -2
- package/dist/chunks/{ripgrep-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-9pf502c0.js → location-service-map-5dd1v3sc.js} +12 -12
- package/dist/chunks/{ripgrep-cza9j1er.js → location-service-map-5h0nedhb.js} +1 -1
- package/dist/chunks/location-service-map-5n0hn1pm.js +462 -0
- package/dist/chunks/{ripgrep-s69d0rhj.js → location-service-map-5qev0qcg.js} +25 -25
- package/dist/chunks/{ripgrep-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-7y5jkdce.js → location-service-map-62b5vckm.js} +10 -10
- package/dist/chunks/{ripgrep-9c1qwqga.js → location-service-map-63kywkak.js} +9 -9
- package/dist/chunks/{ripgrep-669tq793.js → location-service-map-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-n39gyvgw.js → location-service-map-6705qv0g.js} +22 -22
- package/dist/chunks/{ripgrep-qmy7xtej.js → location-service-map-6ddbedq8.js} +1 -1
- package/dist/chunks/{ripgrep-6msgmcgs.js → location-service-map-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-pvx4ycye.js → location-service-map-70ghb00d.js} +10 -10
- package/dist/chunks/{ripgrep-71q4at8m.js → location-service-map-71q4at8m.js} +1 -1
- package/dist/chunks/{ripgrep-9fqgd0wm.js → location-service-map-72j5x3sg.js} +13 -13
- package/dist/chunks/{ripgrep-x38mj0ya.js → location-service-map-761wwe1s.js} +79 -79
- package/dist/chunks/{ripgrep-yxtae5qy.js → location-service-map-76qxyhw0.js} +32 -32
- package/dist/chunks/{ripgrep-awbdwcvp.js → location-service-map-7azwfx08.js} +9 -9
- package/dist/chunks/{ripgrep-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-2zr7sd05.js → location-service-map-7exjqjm0.js} +20 -20
- package/dist/chunks/{ripgrep-xpn5exb3.js → location-service-map-7m9vf5rx.js} +5 -5
- package/dist/chunks/{ripgrep-scqya4gj.js → location-service-map-7sfr0s8h.js} +7 -7
- package/dist/chunks/{ripgrep-82f74kwp.js → location-service-map-7z4xahb4.js} +33 -33
- package/dist/chunks/{ripgrep-798sgk8w.js → location-service-map-816k9hah.js} +11 -11
- package/dist/chunks/{ripgrep-ngn3zv13.js → location-service-map-81fdkyjj.js} +14 -14
- package/dist/chunks/{ripgrep-tarep50r.js → location-service-map-81g1qsdc.js} +13 -13
- package/dist/chunks/{ripgrep-dh46x48g.js → location-service-map-86f6e8sz.js} +16 -16
- package/dist/chunks/{ripgrep-t6dm0qrg.js → location-service-map-88s37jky.js} +30 -30
- package/dist/chunks/{ripgrep-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-dj2t23y0.js → location-service-map-8p4f9s12.js} +2 -2
- package/dist/chunks/location-service-map-8vj7k6c5.js +26 -0
- package/dist/chunks/{ripgrep-sh6mjzwx.js → location-service-map-8y6qdvyf.js} +18 -18
- package/dist/chunks/{ripgrep-ra8yf1dm.js → location-service-map-94zcscr3.js} +9 -9
- package/dist/chunks/{ripgrep-xntwgtxc.js → location-service-map-96nkrwpx.js} +15 -15
- package/dist/chunks/{ripgrep-6x7sck92.js → location-service-map-9fh4948w.js} +17 -17
- package/dist/chunks/{ripgrep-3xagmvq1.js → location-service-map-9na6ydfm.js} +8 -8
- package/dist/chunks/{ripgrep-hsgwetrq.js → location-service-map-9nrh9r5h.js} +9 -9
- package/dist/chunks/{ripgrep-rt5nc7f1.js → location-service-map-9we513x8.js} +6 -6
- package/dist/chunks/{ripgrep-5c4hm403.js → location-service-map-a1bz86dw.js} +3 -3
- package/dist/chunks/{ripgrep-gqm3etmd.js → location-service-map-a6qgqttc.js} +23 -23
- package/dist/chunks/{ripgrep-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-rp8jz6x1.js → location-service-map-ab9238g2.js} +6 -6
- package/dist/chunks/{ripgrep-bj2hb5dm.js → location-service-map-ara44wmm.js} +30 -30
- package/dist/chunks/{ripgrep-zwzhnca6.js → location-service-map-b0y5dw0t.js} +24 -24
- package/dist/chunks/{ripgrep-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-qbc1vncp.js → location-service-map-bg55d598.js} +24 -24
- package/dist/chunks/{ripgrep-ar8vnhha.js → location-service-map-bj73k9qk.js} +33 -33
- package/dist/chunks/{ripgrep-x84xvd1n.js → location-service-map-bjykd02c.js} +18 -18
- package/dist/chunks/{ripgrep-rz87j40z.js → location-service-map-bn8z4hgt.js} +26 -26
- package/dist/chunks/{ripgrep-ez9ncaqn.js → location-service-map-bpn4p6tf.js} +16 -16
- package/dist/chunks/{ripgrep-g1sy3t6s.js → location-service-map-bsqxgfej.js} +24 -24
- package/dist/chunks/{ripgrep-dwcdeas1.js → location-service-map-bwchgx6d.js} +41 -41
- package/dist/chunks/{ripgrep-18e56dsp.js → location-service-map-c5gn303e.js} +4 -4
- package/dist/chunks/{ripgrep-m0jqrx5p.js → location-service-map-cfpkc3c9.js} +2 -2
- package/dist/chunks/{ripgrep-eynhbbrp.js → location-service-map-cgfbfj64.js} +11 -11
- package/dist/chunks/{ripgrep-sasnma5y.js → location-service-map-cjbknnmw.js} +28 -26
- package/dist/chunks/{ripgrep-k7c8rbx5.js → location-service-map-ckyhaqeq.js} +32 -32
- package/dist/chunks/{ripgrep-7b15y959.js → location-service-map-cmwkp3r5.js} +8 -8
- package/dist/chunks/{ripgrep-g14zqp48.js → location-service-map-cmwqdmc2.js} +6 -6
- package/dist/chunks/{ripgrep-89smrnyf.js → location-service-map-cq37gk0t.js} +4 -4
- package/dist/chunks/{ripgrep-8jxztqqt.js → location-service-map-cr07tj7n.js} +5 -5
- package/dist/chunks/{ripgrep-1902bdn8.js → location-service-map-cr14a9k8.js} +25 -25
- package/dist/chunks/{ripgrep-wy91bkd0.js → location-service-map-cwbx0rfg.js} +20 -20
- package/dist/chunks/{ripgrep-tjjqevy4.js → location-service-map-d29d5e4w.js} +10 -10
- package/dist/chunks/{ripgrep-j4c2y7gg.js → location-service-map-d35n3ytx.js} +24 -24
- package/dist/chunks/{ripgrep-fgjcw7nx.js → location-service-map-dd8nvef4.js} +11 -11
- package/dist/chunks/{ripgrep-pwr8fgkg.js → location-service-map-dea0ze15.js} +10 -10
- package/dist/chunks/{ripgrep-t3pn2srw.js → location-service-map-df1gd0ha.js} +9 -9
- package/dist/chunks/{ripgrep-8a0b7fze.js → location-service-map-dmxszfc8.js} +4 -4
- package/dist/chunks/{ripgrep-qxd59bx2.js → location-service-map-dnhktrnt.js} +10 -10
- package/dist/chunks/{ripgrep-vfefw32n.js → location-service-map-drkcdcj5.js} +4 -4
- package/dist/chunks/{ripgrep-15t60dpg.js → location-service-map-dtw4xqq5.js} +39 -39
- package/dist/chunks/{ripgrep-7mbgx17m.js → location-service-map-e240csg8.js} +24 -24
- package/dist/chunks/{ripgrep-tjncz0mj.js → location-service-map-e4emtts5.js} +4 -4
- package/dist/chunks/{ripgrep-a5m36ryz.js → location-service-map-e8vep78m.js} +5 -5
- package/dist/chunks/{ripgrep-a4xw13fr.js → location-service-map-eky9x2ec.js} +15 -15
- package/dist/chunks/{ripgrep-bw0vgseb.js → location-service-map-et0rkxxj.js} +8 -8
- package/dist/chunks/{ripgrep-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-ja0fapct.js → location-service-map-extvp8fg.js} +20 -20
- package/dist/chunks/{ripgrep-thqzz5bd.js → location-service-map-ezb7zwca.js} +24 -24
- package/dist/chunks/{ripgrep-mgrb5prq.js → location-service-map-ezjty4fe.js} +20 -20
- package/dist/chunks/{ripgrep-hdnk95c8.js → location-service-map-f828m53h.js} +2 -2
- package/dist/chunks/{ripgrep-k4cgc9a3.js → location-service-map-fgj68e1w.js} +63 -63
- package/dist/chunks/{ripgrep-e8ac3wj7.js → location-service-map-fgzdj8zs.js} +14 -14
- package/dist/chunks/{ripgrep-gk2407r3.js → location-service-map-fq9618wy.js} +6 -6
- package/dist/chunks/{ripgrep-fxbjtjnd.js → location-service-map-fxbjtjnd.js} +1 -1
- package/dist/chunks/{ripgrep-mqgn8hcj.js → location-service-map-fzj6gxj4.js} +26 -26
- package/dist/chunks/{ripgrep-m7y3f53v.js → location-service-map-fzy32552.js} +4 -4
- package/dist/chunks/{ripgrep-a45m2fkf.js → location-service-map-g2pa3hw7.js} +25 -25
- package/dist/chunks/{ripgrep-r14b6q3s.js → location-service-map-g4yfjkxt.js} +43 -43
- package/dist/chunks/{ripgrep-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-c7gc6yv9.js → location-service-map-gk3dk4ww.js} +27 -27
- package/dist/chunks/{ripgrep-8evqb545.js → location-service-map-gk84n282.js} +17 -17
- package/dist/chunks/{ripgrep-19d3sct9.js → location-service-map-gv6a8nnw.js} +5 -5
- package/dist/chunks/{ripgrep-h03wrkyp.js → location-service-map-h03wrkyp.js} +2 -2
- package/dist/chunks/{ripgrep-68sqcc23.js → location-service-map-h29kfqze.js} +11 -11
- package/dist/chunks/{ripgrep-vv5etkqr.js → location-service-map-h2qnwgpk.js} +21 -21
- package/dist/chunks/{ripgrep-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-qa4rp7fn.js → location-service-map-h71w788e.js} +9 -9
- package/dist/chunks/location-service-map-hgd4btym.js +18 -0
- package/dist/chunks/{ripgrep-gnrgb9v9.js → location-service-map-htw1ycyk.js} +9 -9
- package/dist/chunks/{ripgrep-55ec9169.js → location-service-map-hwk14yfv.js} +9 -9
- package/dist/chunks/{ripgrep-65jk6x65.js → location-service-map-hwp109rr.js} +23 -23
- package/dist/chunks/{ripgrep-4sfcqppx.js → location-service-map-hz1mcyvk.js} +2 -2
- package/dist/chunks/{ripgrep-y2wcncat.js → location-service-map-j4kxwsds.js} +22 -22
- package/dist/chunks/{ripgrep-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-f0zqv8cz.js → location-service-map-j8eq448m.js} +46 -46
- package/dist/chunks/{ripgrep-s5kxrhz6.js → location-service-map-j8pqb2xg.js} +10 -10
- package/dist/chunks/{ripgrep-19vea52x.js → location-service-map-jfe769zj.js} +11 -11
- package/dist/chunks/{ripgrep-9pm6y0s1.js → location-service-map-jj63jgrn.js} +8 -8
- package/dist/chunks/{ripgrep-zj1vh5fc.js → location-service-map-jqhjw8sv.js} +14 -14
- package/dist/chunks/{ripgrep-dhmh7aw6.js → location-service-map-jvf3yq6v.js} +4 -4
- package/dist/chunks/{ripgrep-k1t251yf.js → location-service-map-k9s3w0m2.js} +18 -18
- package/dist/chunks/{ripgrep-hbqwmcym.js → location-service-map-kb9ghrr9.js} +16 -16
- package/dist/chunks/{ripgrep-kg06axw8.js → location-service-map-kg06axw8.js} +1 -1
- package/dist/chunks/{ripgrep-neqk7dw9.js → location-service-map-knw8azhs.js} +28 -28
- package/dist/chunks/{ripgrep-5425k34f.js → location-service-map-kppgwn69.js} +14 -14
- package/dist/chunks/{ripgrep-sa4c2d0v.js → location-service-map-ks9p6dk0.js} +4 -4
- package/dist/chunks/{ripgrep-g0zjwb8j.js → location-service-map-kv4vw2nb.js} +29 -29
- package/dist/chunks/{ripgrep-g2a831m9.js → location-service-map-kwekmzq6.js} +15 -15
- package/dist/chunks/{ripgrep-xk1mwkvz.js → location-service-map-m15xpe5b.js} +28 -28
- package/dist/chunks/{ripgrep-ket1x0yc.js → location-service-map-m2d0j7c0.js} +9 -9
- package/dist/chunks/{ripgrep-0bps82y7.js → location-service-map-m46exch3.js} +6 -6
- package/dist/chunks/{ripgrep-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-wh1eej68.js → location-service-map-macjbbq7.js} +13 -13
- package/dist/chunks/{ripgrep-ybpn653b.js → location-service-map-mbmajcqq.js} +4 -4
- package/dist/chunks/{ripgrep-hrndf12w.js → location-service-map-mfhfdr54.js} +4 -4
- package/dist/chunks/{ripgrep-kg76qfxw.js → location-service-map-mfkt00wb.js} +43 -43
- package/dist/chunks/location-service-map-mj4svvj3.js +247 -0
- package/dist/chunks/{ripgrep-t51qk8jz.js → location-service-map-mjymc32g.js} +21 -21
- package/dist/chunks/{ripgrep-795tw062.js → location-service-map-mn5vge6e.js} +25 -25
- package/dist/chunks/{ripgrep-kcb8efe6.js → location-service-map-mqhbcrz9.js} +15 -15
- package/dist/chunks/{ripgrep-wahmyx3j.js → location-service-map-mst48ss9.js} +6 -6
- package/dist/chunks/{ripgrep-dw1fjyb0.js → location-service-map-n061tvb2.js} +5 -5
- package/dist/chunks/{ripgrep-ea8nv0r7.js → location-service-map-n0a4p06j.js} +2 -2
- package/dist/chunks/{ripgrep-bn56f23d.js → location-service-map-n1jps1an.js} +11 -11
- package/dist/chunks/{ripgrep-y361e8w3.js → location-service-map-n79p6j0f.js} +20 -20
- package/dist/chunks/location-service-map-n858xwcz.js +76 -0
- package/dist/chunks/{ripgrep-2ve45fd6.js → location-service-map-ncx1zfyg.js} +5 -5
- package/dist/chunks/{ripgrep-nhy5jxhy.js → location-service-map-nhy5jxhy.js} +1 -1
- package/dist/chunks/{ripgrep-ebtmksy4.js → location-service-map-nmt3ecvr.js} +13 -13
- package/dist/chunks/{ripgrep-5pegjrmw.js → location-service-map-nnzxvn8r.js} +32 -32
- package/dist/chunks/{ripgrep-nv5vn7qx.js → location-service-map-nv5vn7qx.js} +2 -2
- package/dist/chunks/{ripgrep-e17bkqjz.js → location-service-map-p0cntz7p.js} +1 -1
- package/dist/chunks/{ripgrep-4svbav50.js → location-service-map-p4ra41gf.js} +47 -47
- package/dist/chunks/{ripgrep-2k28pc1g.js → location-service-map-p8psh417.js} +14 -14
- package/dist/chunks/{ripgrep-jfpf741x.js → location-service-map-p96jhc2f.js} +10 -10
- package/dist/chunks/{ripgrep-j935v87r.js → location-service-map-paphc93g.js} +2 -2
- package/dist/chunks/{ripgrep-73gmm198.js → location-service-map-pbfwh0cy.js} +7 -7
- package/dist/chunks/{ripgrep-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-zv8jbdmn.js → location-service-map-pmr4s4kc.js} +4 -4
- package/dist/chunks/{ripgrep-9d8v8ke2.js → location-service-map-pp0wchrp.js} +10 -10
- package/dist/chunks/{ripgrep-esxf2z81.js → location-service-map-q10f7s3e.js} +10 -10
- package/dist/chunks/{ripgrep-56gqpxz5.js → location-service-map-q1gq60c3.js} +53 -53
- package/dist/chunks/{ripgrep-j9e0mrh2.js → location-service-map-qa515kys.js} +38 -38
- package/dist/chunks/location-service-map-qapv375x.js +4 -0
- package/dist/chunks/{ripgrep-3cfxxyky.js → location-service-map-qj8qcdcr.js} +17 -17
- package/dist/chunks/{ripgrep-n92pz7zc.js → location-service-map-qn4ba14w.js} +5 -5
- package/dist/chunks/{ripgrep-2a4sgpmw.js → location-service-map-qr8csav2.js} +5 -5
- package/dist/chunks/{ripgrep-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-qj6a8geq.js → location-service-map-qtvfk11k.js} +6 -6
- package/dist/chunks/{ripgrep-c4pfxw5s.js → location-service-map-qx1bsczb.js} +9 -9
- package/dist/chunks/{ripgrep-tfk1j7dq.js → location-service-map-r3fekxty.js} +43 -43
- package/dist/chunks/{ripgrep-r9mregkx.js → location-service-map-r9mregkx.js} +2 -2
- package/dist/chunks/{ripgrep-tvbftpt7.js → location-service-map-rbbbqjtt.js} +6 -6
- package/dist/chunks/{ripgrep-nftwv1dv.js → location-service-map-rd68kf8k.js} +33 -33
- package/dist/chunks/{ripgrep-s8d7rejh.js → location-service-map-rhjbct0v.js} +4 -4
- package/dist/chunks/{ripgrep-tgqjfyja.js → location-service-map-rmj8e3tp.js} +3 -3
- package/dist/chunks/{ripgrep-ked90xm8.js → location-service-map-s7t06fzn.js} +3 -3
- package/dist/chunks/{ripgrep-9vad26s7.js → location-service-map-s8esax8r.js} +42 -42
- package/dist/chunks/{ripgrep-q6jxhr7p.js → location-service-map-sb1hd4c5.js} +12 -12
- package/dist/chunks/{ripgrep-kd6sn3q5.js → location-service-map-sc041ka6.js} +28 -28
- package/dist/chunks/{ripgrep-w36hd28z.js → location-service-map-sv3tjegf.js} +9 -9
- package/dist/chunks/{ripgrep-fyjp43ss.js → location-service-map-t0sqncza.js} +5 -5
- package/dist/chunks/{ripgrep-p6s6v31b.js → location-service-map-t1gg20rg.js} +20 -20
- package/dist/chunks/{ripgrep-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-6hegse3n.js → location-service-map-tcemetme.js} +17 -17
- package/dist/chunks/{ripgrep-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{ripgrep-fk64qee0.js → location-service-map-tdhe5xga.js} +11 -11
- package/dist/chunks/{ripgrep-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-ds2mmwsg.js → location-service-map-te0y5yvz.js} +8 -8
- package/dist/chunks/{ripgrep-ecbpcs26.js → location-service-map-temrxnya.js} +5 -5
- package/dist/chunks/{ripgrep-j7twb6sd.js → location-service-map-tf0c8dww.js} +27 -27
- package/dist/chunks/{ripgrep-hkf2qys9.js → location-service-map-tfe8r9yw.js} +9 -9
- package/dist/chunks/{ripgrep-mqhr8xm6.js → location-service-map-tfsvbd81.js} +24 -24
- package/dist/chunks/{ripgrep-4fzjfb08.js → location-service-map-trmn0xjy.js} +26 -26
- package/dist/chunks/{ripgrep-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-029gxqke.js → location-service-map-tvwcnnqz.js} +36 -36
- package/dist/chunks/{ripgrep-rvjgzqwq.js → location-service-map-tw96capc.js} +82 -82
- package/dist/chunks/{ripgrep-0a0yz20b.js → location-service-map-v39hw6t4.js} +29 -29
- package/dist/chunks/{ripgrep-qvmqnmmt.js → location-service-map-v8zv6t8m.js} +37 -37
- package/dist/chunks/{ripgrep-yhemyvg6.js → location-service-map-va5qff5x.js} +6 -6
- package/dist/chunks/{ripgrep-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-273h6293.js → location-service-map-vmb1g9yg.js} +3 -3
- package/dist/chunks/{ripgrep-tfk0ak3w.js → location-service-map-vmcg8w16.js} +5 -5
- package/dist/chunks/{ripgrep-tkn615h0.js → location-service-map-vnraxnqt.js} +3 -3
- package/dist/chunks/{ripgrep-mttv9c64.js → location-service-map-vy5x89ec.js} +14 -14
- package/dist/chunks/{ripgrep-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-jwjk52g2.js → location-service-map-vze96k0n.js} +4 -4
- package/dist/chunks/{ripgrep-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-8recqrg4.js → location-service-map-wdq75b5e.js} +6 -6
- package/dist/chunks/{ripgrep-etjd8m3h.js → location-service-map-wgjsebpd.js} +9 -9
- package/dist/chunks/{ripgrep-3e0pbzwc.js → location-service-map-wjqg5mtv.js} +8 -8
- package/dist/chunks/{ripgrep-hrvd6t1f.js → location-service-map-ws4yv80v.js} +9 -9
- package/dist/chunks/{ripgrep-4z15ngcr.js → location-service-map-wseagqzp.js} +11 -11
- package/dist/chunks/{ripgrep-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-hw6f026f.js → location-service-map-x85ct4pa.js} +4 -4
- package/dist/chunks/{ripgrep-03m5yc2w.js → location-service-map-x8cnzhn9.js} +22 -22
- package/dist/chunks/{ripgrep-4ypr07qq.js → location-service-map-xdaq4n9p.js} +41 -41
- package/dist/chunks/{ripgrep-3cwb9jzf.js → location-service-map-xn5rvdk3.js} +8 -8
- package/dist/chunks/{ripgrep-56tq4mad.js → location-service-map-xrk2t408.js} +14 -14
- package/dist/chunks/{ripgrep-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-aph4g9qx.js → location-service-map-y4tf6mjn.js} +20 -20
- package/dist/chunks/{ripgrep-y71avatq.js → location-service-map-y71avatq.js} +1 -1
- package/dist/chunks/{ripgrep-syz7yhpm.js → location-service-map-ya1kd0gg.js} +20 -20
- package/dist/chunks/{ripgrep-pqbv8h9y.js → location-service-map-yhsntfs8.js} +50 -50
- package/dist/chunks/{ripgrep-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-s4enseaf.js → location-service-map-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-4786se8r.js → location-service-map-yt6tv3nz.js} +1 -1
- package/dist/chunks/{ripgrep-wdxjhaa6.js → location-service-map-ywzm6tvd.js} +18 -18
- package/dist/chunks/{ripgrep-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-dv250zvr.js → location-service-map-z143cnk6.js} +3 -3
- package/dist/chunks/{ripgrep-29x78va6.js → location-service-map-z63w68vq.js} +6 -6
- package/dist/chunks/{ripgrep-cg3re8yn.js → location-service-map-z6km8w65.js} +12 -12
- package/dist/chunks/{ripgrep-s6xr1hpd.js → location-service-map-z8v5b26b.js} +22 -22
- package/dist/chunks/{ripgrep-dxkw8z59.js → location-service-map-z8xc4d6k.js} +18 -18
- package/dist/chunks/{ripgrep-k8kd5w7n.js → location-service-map-z8zdqtej.js} +11 -11
- package/dist/chunks/{ripgrep-rq775frq.js → location-service-map-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.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 +362 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- 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 +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +92 -92
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +353 -352
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- 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 +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +350 -349
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +6 -6
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +13 -0
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +5 -5
- 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 +95 -95
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- 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 +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- 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 +89 -89
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- 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 +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +102 -102
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- 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 +15 -15
- package/dist/types/plugin/websearch/index.d.ts +1 -1
- package/dist/types/plugin/websearch/tinyfish.d.ts +5 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/ripgrep-0mesazry.js +0 -4
- package/dist/chunks/ripgrep-5sag4wt5.js +0 -22
- package/dist/chunks/ripgrep-7q1g2eq3.js +0 -462
- package/dist/chunks/ripgrep-9sh4wc5j.js +0 -18
- package/dist/chunks/ripgrep-pr17jsva.js +0 -247
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → location-service-map-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-hrnqkpcd.js → location-service-map-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-twg0f83k.js → location-service-map-twg0f83k.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
17
|
+
var exports_instructions3 = {};
|
|
18
|
+
__export(exports_instructions3, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions3,
|
|
20
20
|
make: () => make13,
|
|
21
21
|
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
@@ -115,7 +115,7 @@ var key = Key3.make("core/codemode");
|
|
|
115
115
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
116
|
var make13 = (inventory) => {
|
|
117
117
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
118
|
-
return
|
|
118
|
+
return make20({
|
|
119
119
|
key,
|
|
120
120
|
codec,
|
|
121
121
|
read: Effect.succeed(catalog),
|
|
@@ -127,4 +127,4 @@ var make13 = (inventory) => {
|
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export { render2, update3, make13,
|
|
130
|
+
export { render2, update3, make13, exports_instructions3 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-cmwqdmc2.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service35
|
|
8
|
+
} from "./location-service-map-mfkt00wb.js";
|
|
9
9
|
import {
|
|
10
10
|
observe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-qsdy395h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/config/plugin/provider.ts
|
|
17
17
|
var exports_provider = {};
|
|
18
18
|
__export(exports_provider, {
|
|
19
19
|
ConfigProviderPlugin: () => exports_provider,
|
|
20
|
-
Plugin: () =>
|
|
20
|
+
Plugin: () => Plugin23
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin23 = define({
|
|
26
26
|
id: "opencode.config.provider",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
28
|
+
const config = yield* Service35;
|
|
29
29
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
30
30
|
yield* ctx.integration.transform((integrations) => {
|
|
31
31
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -159,4 +159,4 @@ function configuredProviders(entries) {
|
|
|
159
159
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
export {
|
|
162
|
+
export { Plugin23, exports_provider };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-e4emtts5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node83
|
|
8
|
+
} from "./location-service-map-2g9xpxn7.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-kg06axw8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event20,
|
|
21
|
+
ID: () => ID18,
|
|
22
22
|
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service77,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node82
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event20 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID18 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID18, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID18
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID18,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service77 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service79;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service78;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service77.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node82 = makeLocationNode({
|
|
188
|
+
service: Service77,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node84,
|
|
190
|
+
deps: [node84, node83]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID18, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service77, node82, exports_websearch3, Event20 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-0b8gwnph.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-e4emtts5.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-4bw7nj7e.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event10,
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Info: () => Info18,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service47,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node51,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event10 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source3 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info18 = Skill.Info;
|
|
43
|
+
var ID4 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service47 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service79;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID4.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID4.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID4.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID4.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service47.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node51 = makeLocationNode({
|
|
112
|
+
service: Service47,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node84]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info18, ID4, Name2, available2, toModelOutput3, prepare3, Service47, node51, exports_skill5, Event10 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-e4emtts5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service68,
|
|
7
|
+
node73
|
|
8
|
+
} from "./location-service-map-31e57ssv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service63,
|
|
11
|
+
node67
|
|
12
|
+
} from "./location-service-map-d35n3ytx.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service76,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node81
|
|
20
|
+
} from "./location-service-map-x8cnzhn9.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service73,
|
|
23
|
+
node78
|
|
24
|
+
} from "./location-service-map-jj63jgrn.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service34,
|
|
27
|
+
node38
|
|
28
|
+
} from "./location-service-map-xn5rvdk3.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-service-map-z143cnk6.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service35,
|
|
35
|
+
node39
|
|
36
|
+
} from "./location-service-map-mfkt00wb.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./location-service-map-sb1hd4c5.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError4,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service33,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node37
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service33 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service33, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service79;
|
|
91
|
-
const location = yield*
|
|
91
|
+
const location = yield* Service68;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service76;
|
|
94
|
+
const environment = yield* Service63;
|
|
95
|
+
const hooks = yield* Service73;
|
|
96
|
+
const environments = yield* Service34;
|
|
97
|
+
const config = yield* Service35;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError4({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError4({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service33.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node37 = makeLocationNode({
|
|
320
|
+
service: Service33,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node84,
|
|
324
|
-
|
|
324
|
+
node73,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
326
|
+
node81,
|
|
327
|
+
node67,
|
|
328
|
+
node78,
|
|
329
|
+
node38,
|
|
329
330
|
node39,
|
|
330
|
-
node76,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError4, RETENTION2, DIRECTORY2, Service33, cleanup2, node37, exports_shell4 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-pp0wchrp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service35
|
|
7
|
+
} from "./location-service-map-mfkt00wb.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-7sfr0s8h.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service35;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
catalog.model.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID9.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make4();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make4, OllamaPlugin2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-cgfbfj64.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service60
|
|
7
|
+
} from "./location-service-map-sc041ka6.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID8,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-bsqxgfej.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID10
|
|
14
|
+
} from "./location-service-map-cmwqdmc2.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID10.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID8.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -68,8 +68,8 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
71
|
+
const credentials = yield* Service60;
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID8.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service73,
|
|
10
|
+
node: () => node78
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service73 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service73.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node78 = makeLocationNode({ service: Service73, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service73, node78, exports_hooks };
|