@opencode/core 0.0.0-beta-19378 → 0.0.0-beta-19381
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{location-activity-k26phcva.js → ripgrep-02vzrq4v.js} +17 -17
- package/dist/chunks/{location-activity-xe2s3j6k.js → ripgrep-02wxma9h.js} +20 -20
- package/dist/chunks/{location-activity-czbfvjvm.js → ripgrep-08rsf5c2.js} +6 -6
- package/dist/chunks/{location-activity-ke8rdhgb.js → ripgrep-0bqp4044.js} +16 -16
- package/dist/chunks/{location-activity-z1bm4ydg.js → ripgrep-0d2qkrjy.js} +4 -4
- package/dist/chunks/{location-activity-qgn6gcr1.js → ripgrep-0jwsre1p.js} +5 -5
- package/dist/chunks/ripgrep-0mesazry.js +4 -0
- package/dist/chunks/{location-activity-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-activity-0q0f95c6.js → ripgrep-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-activity-0afvdvbz.js → ripgrep-0ztccmq1.js} +5 -5
- package/dist/chunks/{location-activity-1ah30sey.js → ripgrep-1ah30sey.js} +2 -2
- package/dist/chunks/{location-activity-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-activity-0hpxrkyb.js → ripgrep-1dfhrqqs.js} +5 -5
- package/dist/chunks/{location-activity-8aa3qmb5.js → ripgrep-1psq7yq3.js} +9 -9
- package/dist/chunks/{location-activity-jycs0kxj.js → ripgrep-1v7ta698.js} +11 -11
- package/dist/chunks/{location-activity-nqr6tth1.js → ripgrep-20as3pn0.js} +14 -14
- package/dist/chunks/{location-activity-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{location-activity-2402vzrj.js → ripgrep-2402vzrj.js} +1 -1
- package/dist/chunks/{location-activity-sr6y54hj.js → ripgrep-29c8gkgr.js} +14 -14
- package/dist/chunks/{location-activity-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-activity-2d6j2h4j.js → ripgrep-2d6j2h4j.js} +1 -1
- package/dist/chunks/{location-activity-f1cnfddz.js → ripgrep-2fbtx2rb.js} +32 -32
- package/dist/chunks/{location-activity-emp8qfp9.js → ripgrep-2j7qy3p8.js} +4 -4
- package/dist/chunks/ripgrep-2rkkddv9.js +22 -0
- package/dist/chunks/{location-activity-w24zfv24.js → ripgrep-2stzc2h4.js} +43 -43
- package/dist/chunks/{location-activity-7r5tycht.js → ripgrep-30hc21n9.js} +13 -13
- package/dist/chunks/{location-activity-31dz7cp4.js → ripgrep-31dz7cp4.js} +1 -1
- package/dist/chunks/{location-activity-d50f2zf5.js → ripgrep-39r80e1r.js} +1 -1
- package/dist/chunks/{location-activity-e6hd9jay.js → ripgrep-3b1q5j1v.js} +6 -6
- package/dist/chunks/{location-activity-agqbx0g6.js → ripgrep-3ddgt7af.js} +33 -33
- package/dist/chunks/{location-activity-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-activity-n6y09nd9.js → ripgrep-3fzpdmpf.js} +14 -14
- package/dist/chunks/{location-activity-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-ywrv3v9h.js → ripgrep-3krnmj08.js} +59 -59
- package/dist/chunks/{location-activity-7p42ykeq.js → ripgrep-3n2394pg.js} +9 -9
- package/dist/chunks/{location-activity-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-activity-hk7m1wkp.js → ripgrep-3sxvqcgp.js} +78 -78
- package/dist/chunks/{location-activity-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-activity-rqvnyjvr.js → ripgrep-4890d2ba.js} +13 -13
- package/dist/chunks/{location-activity-5xasq6s3.js → ripgrep-4ayvwj3v.js} +26 -17
- package/dist/chunks/{location-activity-g3v9p4fy.js → ripgrep-4c2df9zx.js} +8 -8
- package/dist/chunks/{location-activity-gnn6hezp.js → ripgrep-4eetnmxa.js} +3 -3
- package/dist/chunks/{location-activity-00a34zy0.js → ripgrep-50ztztte.js} +11 -11
- package/dist/chunks/{location-activity-1shx2wbe.js → ripgrep-52tre6wp.js} +32 -32
- package/dist/chunks/{location-activity-4254qnwp.js → ripgrep-52vg5n1p.js} +33 -33
- package/dist/chunks/{location-activity-mfqp6xfm.js → ripgrep-56gdpj1q.js} +6 -6
- package/dist/chunks/{location-activity-f8pdk657.js → ripgrep-5aveev3e.js} +5 -5
- package/dist/chunks/{location-activity-5c4hm403.js → ripgrep-5c4hm403.js} +3 -3
- package/dist/chunks/{location-activity-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{location-activity-bn705ar6.js → ripgrep-5gjh7yps.js} +15 -15
- package/dist/chunks/{location-activity-5jtdmvnp.js → ripgrep-5jtdmvnp.js} +1 -1
- package/dist/chunks/{location-activity-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-activity-859yqr65.js → ripgrep-5x18cq5v.js} +20 -20
- package/dist/chunks/{location-activity-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{location-activity-my4vnwa3.js → ripgrep-6a8fxjwh.js} +15 -15
- package/dist/chunks/{location-activity-v9vs3966.js → ripgrep-6e3xc085.js} +1 -1
- package/dist/chunks/{location-activity-m0yfwppw.js → ripgrep-6h3e8j5e.js} +8 -8
- package/dist/chunks/{location-activity-52cty0e2.js → ripgrep-6jxebzjh.js} +32 -32
- package/dist/chunks/{location-activity-33g8s88m.js → ripgrep-6kcarc2j.js} +9 -9
- package/dist/chunks/{location-activity-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-activity-p8abbexs.js → ripgrep-6nkhkk13.js} +20 -20
- package/dist/chunks/{location-activity-db9wgh5z.js → ripgrep-70vwcewg.js} +20 -20
- package/dist/chunks/{location-activity-71q4at8m.js → ripgrep-71q4at8m.js} +1 -1
- package/dist/chunks/{location-activity-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-4n7xph43.js → ripgrep-7cbawamr.js} +17 -17
- package/dist/chunks/{location-activity-af04s6ss.js → ripgrep-7gvwkz6m.js} +5 -5
- package/dist/chunks/{location-activity-nemf6q9a.js → ripgrep-7s6v6vsj.js} +26 -26
- package/dist/chunks/{location-activity-e6ascd8c.js → ripgrep-7whvx7cs.js} +10 -10
- package/dist/chunks/{location-activity-k5tt97xy.js → ripgrep-7xy84fyg.js} +7 -7
- package/dist/chunks/{location-activity-eq1pz5kg.js → ripgrep-7yh4e7ss.js} +3 -3
- package/dist/chunks/{location-activity-a4exdnt3.js → ripgrep-7z6zz8kn.js} +4 -4
- package/dist/chunks/{location-activity-v34bn7tb.js → ripgrep-80n2194z.js} +23 -23
- package/dist/chunks/{location-activity-pjmw00w1.js → ripgrep-81swgkk7.js} +5 -5
- package/dist/chunks/{location-activity-asmz7wyz.js → ripgrep-844ef7ks.js} +8 -8
- package/dist/chunks/{location-activity-tcezcvh9.js → ripgrep-89znhe33.js} +4 -4
- package/dist/chunks/{location-activity-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-activity-q0ps9qd8.js → ripgrep-8eyq8xab.js} +11 -11
- package/dist/chunks/{location-activity-brjwckvq.js → ripgrep-8rr9h0km.js} +11 -11
- package/dist/chunks/{location-activity-gp1y76ks.js → ripgrep-8ykhp4ac.js} +26 -26
- package/dist/chunks/{location-activity-zs3sstkw.js → ripgrep-9f12xdp3.js} +18 -18
- package/dist/chunks/{location-activity-618j0hnn.js → ripgrep-9g5bfw8n.js} +25 -25
- package/dist/chunks/{location-activity-z3y1r608.js → ripgrep-9knsa76r.js} +17 -17
- package/dist/chunks/{location-activity-j6crfws7.js → ripgrep-9r4w88hc.js} +19 -19
- package/dist/chunks/ripgrep-9sh4wc5j.js +18 -0
- package/dist/chunks/{location-activity-h2pfpfqq.js → ripgrep-9txjdh67.js} +9 -9
- package/dist/chunks/{location-activity-c7z31w3z.js → ripgrep-9w9dfj1g.js} +47 -47
- package/dist/chunks/{location-activity-348jnv36.js → ripgrep-a2kk223a.js} +46 -46
- package/dist/chunks/{location-activity-6rxqrnv7.js → ripgrep-a2t11qfx.js} +15 -15
- package/dist/chunks/{location-activity-ftszrenp.js → ripgrep-a37fyb3j.js} +4 -4
- package/dist/chunks/{location-activity-3jez0z66.js → ripgrep-a3dh94hw.js} +24 -24
- package/dist/chunks/{location-activity-2v3d5b21.js → ripgrep-a5tp4yjy.js} +21 -21
- package/dist/chunks/{location-activity-vm4enn8p.js → ripgrep-a7j8tqav.js} +24 -24
- package/dist/chunks/{location-activity-80e0yyk8.js → ripgrep-a94v7mat.js} +8 -8
- package/dist/chunks/{location-activity-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{location-activity-tqhm5rcc.js → ripgrep-afbcmxhy.js} +6 -6
- package/dist/chunks/{location-activity-gvrb3dy5.js → ripgrep-as33ahc0.js} +5 -5
- package/dist/chunks/{location-activity-a9e5f5ea.js → ripgrep-atb1k4sq.js} +20 -20
- package/dist/chunks/{location-activity-57p6bv2g.js → ripgrep-awqa4j6r.js} +10 -10
- package/dist/chunks/{location-activity-1njc6h9e.js → ripgrep-b00bre06.js} +52 -52
- package/dist/chunks/{location-activity-67369bxz.js → ripgrep-b0sam31v.js} +7 -7
- package/dist/chunks/{location-activity-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-activity-5wzqhapf.js → ripgrep-bj2cfy38.js} +18 -18
- package/dist/chunks/{location-activity-cexm7c43.js → ripgrep-brwkg70z.js} +21 -21
- package/dist/chunks/{location-activity-7x2gvtfy.js → ripgrep-btec747f.js} +5 -5
- package/dist/chunks/{location-activity-y3wp52fb.js → ripgrep-bxcskdh3.js} +13 -13
- package/dist/chunks/{location-activity-16mh6re1.js → ripgrep-by90618a.js} +33 -33
- package/dist/chunks/{location-activity-c93sphf6.js → ripgrep-bz3gfsg9.js} +6 -6
- package/dist/chunks/{location-activity-3jk5sn2d.js → ripgrep-c0mv5cq0.js} +5 -5
- package/dist/chunks/{location-activity-7nhrbb6w.js → ripgrep-c769d21z.js} +3 -3
- package/dist/chunks/{location-activity-whshhy0j.js → ripgrep-c7fm68m0.js} +15 -15
- package/dist/chunks/{location-activity-y4xdwtzr.js → ripgrep-c8kn0e1j.js} +12 -12
- package/dist/chunks/{location-activity-951tnds7.js → ripgrep-ca00p06f.js} +50 -50
- package/dist/chunks/{location-activity-q5j1bp2v.js → ripgrep-ctjfg1hr.js} +4 -4
- package/dist/chunks/{location-activity-pyc1fa6j.js → ripgrep-d3f09xgd.js} +10 -10
- package/dist/chunks/{location-activity-7xtz06qw.js → ripgrep-d85tbr7r.js} +22 -22
- package/dist/chunks/{location-activity-th95tt52.js → ripgrep-ddb4hmaq.js} +12 -12
- package/dist/chunks/{location-activity-q5asdkn4.js → ripgrep-ddt2bs9e.js} +4 -4
- package/dist/chunks/{location-activity-dj2t23y0.js → ripgrep-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-activity-hvbks3tt.js → ripgrep-dwq6ryhm.js} +8 -8
- package/dist/chunks/{location-activity-5btyxwch.js → ripgrep-e4hv03qr.js} +24 -24
- package/dist/chunks/{location-activity-x5e7xrt3.js → ripgrep-e4pgevt3.js} +20 -20
- package/dist/chunks/{location-activity-bgxcxs0p.js → ripgrep-e6hmchc5.js} +5 -5
- package/dist/chunks/{location-activity-zj09a0ew.js → ripgrep-ec8389mk.js} +4 -4
- package/dist/chunks/{location-activity-j34ttrqz.js → ripgrep-ed25785e.js} +33 -33
- package/dist/chunks/{location-activity-h5670nt2.js → ripgrep-egzrnntm.js} +7 -7
- package/dist/chunks/{location-activity-vcfrfmpq.js → ripgrep-emfk09z3.js} +13 -13
- package/dist/chunks/{location-activity-396sg1zz.js → ripgrep-ep1rz70n.js} +28 -28
- package/dist/chunks/{location-activity-swvnyk58.js → ripgrep-ep6z9mt6.js} +5 -5
- package/dist/chunks/{location-activity-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-activity-zv3e7t68.js → ripgrep-etq9z835.js} +2 -2
- package/dist/chunks/{location-activity-2hjdk5d6.js → ripgrep-eye0aa55.js} +11 -11
- package/dist/chunks/{location-activity-60hbeabj.js → ripgrep-f6p1bxgw.js} +9 -9
- package/dist/chunks/{location-activity-927qm25y.js → ripgrep-f7jct6gx.js} +13 -13
- package/dist/chunks/{location-activity-f9bavhm2.js → ripgrep-f9bavhm2.js} +1 -1
- package/dist/chunks/{location-activity-gnx4ytbv.js → ripgrep-fab8hzt3.js} +4 -4
- package/dist/chunks/{location-activity-wra4df7y.js → ripgrep-fcsv9ew2.js} +34 -34
- package/dist/chunks/{location-activity-rcf5br0w.js → ripgrep-fewzy991.js} +32 -32
- package/dist/chunks/{location-activity-2mnmazsw.js → ripgrep-ffatf9pa.js} +8 -8
- package/dist/chunks/{location-activity-t0x5rdq8.js → ripgrep-fjmrr6sh.js} +9 -9
- package/dist/chunks/{location-activity-4v2n1w6j.js → ripgrep-fsf0tb3g.js} +25 -25
- package/dist/chunks/{location-activity-fxbjtjnd.js → ripgrep-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-activity-4r30jxym.js → ripgrep-fxxh0p3a.js} +2 -2
- package/dist/chunks/{location-activity-m533chh2.js → ripgrep-g8jspvs5.js} +9 -9
- package/dist/chunks/{location-activity-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-activity-sfnv7wqz.js → ripgrep-gez7w0gg.js} +36 -36
- package/dist/chunks/{location-activity-y9ef67nq.js → ripgrep-gmg4hxzv.js} +18 -18
- package/dist/chunks/{location-activity-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-activity-jc036g84.js → ripgrep-gvjndn77.js} +19 -19
- package/dist/chunks/{location-activity-h03wrkyp.js → ripgrep-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-activity-c3csjc0q.js → ripgrep-h4yb03sr.js} +14 -14
- package/dist/chunks/{location-activity-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-activity-gm8m0yxy.js → ripgrep-haj4pygx.js} +34 -34
- package/dist/chunks/{location-activity-hdnk95c8.js → ripgrep-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-activity-2gtdtjh2.js → ripgrep-hds8kbqn.js} +11 -11
- package/dist/chunks/{location-activity-b4rsyp8d.js → ripgrep-hgyqz33r.js} +31 -31
- package/dist/chunks/{location-activity-0r79kjbx.js → ripgrep-hj9fj50h.js} +23 -23
- package/dist/chunks/{location-activity-nhy5jxhy.js → ripgrep-hjt4xg1x.js} +4 -4
- package/dist/chunks/{location-activity-r5y40bzn.js → ripgrep-ht6mk1vy.js} +25 -25
- package/dist/chunks/{location-activity-c796v1jc.js → ripgrep-hvshqg9g.js} +8 -8
- package/dist/chunks/{location-activity-wwrc5967.js → ripgrep-hwcsphzk.js} +24 -24
- package/dist/chunks/{location-activity-awaee7qt.js → ripgrep-j5208yae.js} +6 -6
- package/dist/chunks/{location-activity-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{location-activity-wk2zc65r.js → ripgrep-j7pvfhjt.js} +9 -9
- package/dist/chunks/{location-activity-m4097ye3.js → ripgrep-j8xe2y08.js} +10 -10
- package/dist/chunks/ripgrep-jnj6t7er.js +462 -0
- package/dist/chunks/{location-activity-jy16bfac.js → ripgrep-jy16bfac.js} +1 -1
- package/dist/chunks/{location-activity-wqrc7jat.js → ripgrep-jzm7scjc.js} +11 -11
- package/dist/chunks/{location-activity-t4r00hkd.js → ripgrep-kfnz8wqc.js} +8 -8
- package/dist/chunks/{location-activity-kg06axw8.js → ripgrep-kg06axw8.js} +1 -1
- package/dist/chunks/{location-activity-9s6fj2bq.js → ripgrep-kq4qnvrc.js} +27 -27
- package/dist/chunks/{location-activity-ag1vabtw.js → ripgrep-krvjrxqy.js} +31 -31
- package/dist/chunks/{location-activity-5a8rbssj.js → ripgrep-kvqzzzem.js} +9 -9
- package/dist/chunks/{location-activity-n639bkp1.js → ripgrep-kx703q2s.js} +17 -17
- package/dist/chunks/{location-activity-m0jqrx5p.js → ripgrep-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-activity-c0bw4ys8.js → ripgrep-m54dcv1g.js} +22 -22
- package/dist/chunks/{location-activity-egzh2mw5.js → ripgrep-m59gvg9q.js} +20 -20
- package/dist/chunks/{location-activity-es1gkq3r.js → ripgrep-m86bnw2c.js} +9 -9
- package/dist/chunks/{location-activity-nv5zez4k.js → ripgrep-m9s8d3d3.js} +17 -17
- package/dist/chunks/{location-activity-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-jw80jp6b.js → ripgrep-magykp64.js} +4 -4
- package/dist/chunks/{location-activity-06dxphr1.js → ripgrep-mfhfdr54.js} +4 -4
- package/dist/chunks/{location-activity-xahy7cq3.js → ripgrep-mjrzrfrb.js} +10 -10
- package/dist/chunks/{location-activity-mkcjrzeh.js → ripgrep-mkcjrzeh.js} +1 -1
- package/dist/chunks/{location-activity-rmwmcdd3.js → ripgrep-mn4bv945.js} +17 -17
- package/dist/chunks/{location-activity-dkx4dv15.js → ripgrep-mqrms0tp.js} +18 -18
- package/dist/chunks/{location-activity-haw4zzv8.js → ripgrep-mrngs3tk.js} +38 -38
- package/dist/chunks/{location-activity-jyq96w4f.js → ripgrep-n5hw7tw3.js} +11 -11
- package/dist/chunks/{location-activity-yzkzczaz.js → ripgrep-ncz5f2kx.js} +41 -41
- package/dist/chunks/{location-activity-fwvevxsk.js → ripgrep-nh837eg3.js} +2 -2
- package/dist/chunks/{location-activity-nq7m120e.js → ripgrep-p235624p.js} +21 -21
- package/dist/chunks/{location-activity-re6rz4e2.js → ripgrep-pa3883ab.js} +4 -4
- package/dist/chunks/{location-activity-5gkr0wxv.js → ripgrep-pdqsczmv.js} +44 -44
- package/dist/chunks/{location-activity-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-activity-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/ripgrep-psscsn3t.js +247 -0
- package/dist/chunks/{location-activity-mf9m2v67.js → ripgrep-pxt4kznk.js} +2 -2
- package/dist/chunks/{location-activity-m31hrvtp.js → ripgrep-q1a7cndp.js} +16 -16
- package/dist/chunks/{location-activity-q3hev8r4.js → ripgrep-q3hev8r4.js} +2 -2
- package/dist/chunks/{location-activity-swabsky0.js → ripgrep-q4bhxwf1.js} +6 -6
- package/dist/chunks/{location-activity-q04et8e8.js → ripgrep-q5pbp2gz.js} +15 -15
- package/dist/chunks/{location-activity-q6mfqnjt.js → ripgrep-q6mfqnjt.js} +1 -1
- package/dist/chunks/{location-activity-b8b3f19r.js → ripgrep-qa4rp7fn.js} +9 -9
- package/dist/chunks/{location-activity-nfkc2kma.js → ripgrep-qaed280k.js} +8 -8
- package/dist/chunks/{location-activity-p3ra5cex.js → ripgrep-qbhwwr14.js} +25 -25
- package/dist/chunks/{location-activity-keam2wa4.js → ripgrep-qerr83y0.js} +24 -24
- package/dist/chunks/{location-activity-eb794zwt.js → ripgrep-qfxnftan.js} +17 -17
- package/dist/chunks/{location-activity-qmr73083.js → ripgrep-qmr73083.js} +1 -1
- package/dist/chunks/{location-activity-4j4p0yst.js → ripgrep-qpprd5ad.js} +9 -9
- package/dist/chunks/{location-activity-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{location-activity-x6999xkf.js → ripgrep-r198awpg.js} +13 -13
- package/dist/chunks/{location-activity-5f3eqset.js → ripgrep-r8452npv.js} +6 -6
- package/dist/chunks/{location-activity-0hdmvmb8.js → ripgrep-resyjkwk.js} +36 -36
- package/dist/chunks/{location-activity-damrgrq3.js → ripgrep-rg3k9syq.js} +4 -4
- package/dist/chunks/{location-activity-eaj1djv9.js → ripgrep-rhjbct0v.js} +8 -8
- package/dist/chunks/{location-activity-6ma959f6.js → ripgrep-rhrhnb2s.js} +18 -18
- package/dist/chunks/{location-activity-dh2vsna1.js → ripgrep-rnnepbab.js} +14 -14
- package/dist/chunks/{location-activity-a2ew8a62.js → ripgrep-ryr25ayn.js} +4 -4
- package/dist/chunks/{location-activity-z1gbfdnk.js → ripgrep-s3d361zp.js} +3 -3
- package/dist/chunks/{location-activity-ac5dy6fj.js → ripgrep-scqgp3m4.js} +6 -6
- package/dist/chunks/{location-activity-g3hp02dx.js → ripgrep-seydh4nr.js} +7 -7
- package/dist/chunks/{location-activity-wanayg32.js → ripgrep-sfah34qq.js} +18 -18
- package/dist/chunks/{location-activity-0jts7jf0.js → ripgrep-sjhz9xyn.js} +10 -10
- package/dist/chunks/{location-activity-73f5nd0s.js → ripgrep-smrq66nq.js} +17 -17
- package/dist/chunks/{location-activity-sv9bpgvh.js → ripgrep-sv9bpgvh.js} +1 -1
- package/dist/chunks/{location-activity-djeyhg11.js → ripgrep-t083vv5c.js} +11 -11
- package/dist/chunks/{location-activity-86b5mhhy.js → ripgrep-t4sxm5c8.js} +15 -15
- package/dist/chunks/{location-activity-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-activity-5ej0vzhk.js → ripgrep-tc6vzjsq.js} +12 -12
- package/dist/chunks/{location-activity-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{location-activity-gt733e4q.js → ripgrep-tek5ng0y.js} +13 -13
- package/dist/chunks/{location-activity-gvphacjb.js → ripgrep-teteq0qc.js} +10 -10
- package/dist/chunks/{location-activity-evbgk2k8.js → ripgrep-tn0aqsam.js} +5 -5
- package/dist/chunks/{location-activity-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{location-activity-trqcjmgk.js → ripgrep-v0rk1y30.js} +6 -6
- package/dist/chunks/{location-activity-3f6sd70p.js → ripgrep-v18p0m5c.js} +8 -8
- package/dist/chunks/{location-activity-v8ch97zc.js → ripgrep-v8ch97zc.js} +1 -1
- package/dist/chunks/{location-activity-0v53mg2y.js → ripgrep-ve4pfa0n.js} +4 -4
- package/dist/chunks/{location-activity-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{location-activity-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-activity-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-qr27hz8v.js → ripgrep-w4jw514d.js} +4 -4
- package/dist/chunks/{location-activity-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-0xrr2dv7.js → ripgrep-wg38wxpd.js} +23 -23
- package/dist/chunks/{location-activity-9edcvf27.js → ripgrep-wk58jv74.js} +10 -10
- package/dist/chunks/{location-activity-gcvdmamd.js → ripgrep-wm6gh047.js} +30 -30
- package/dist/chunks/{location-activity-nd0fwzvn.js → ripgrep-wm98esrr.js} +4 -4
- package/dist/chunks/{location-activity-846rq9r8.js → ripgrep-wmbs8tb3.js} +88 -88
- package/dist/chunks/{location-activity-r7nsrefv.js → ripgrep-wpm2rk0p.js} +6 -6
- package/dist/chunks/{location-activity-m9cv3c5b.js → ripgrep-wt7k4asa.js} +25 -25
- package/dist/chunks/{location-activity-hzj3vraf.js → ripgrep-wx69xc2v.js} +24 -24
- package/dist/chunks/{location-activity-0z4v37kr.js → ripgrep-wy90n05w.js} +23 -23
- package/dist/chunks/{location-activity-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-activity-x43y2vfs.js → ripgrep-x43y2vfs.js} +2 -2
- package/dist/chunks/{location-activity-wjz6wxx4.js → ripgrep-x9p92xwv.js} +15 -15
- package/dist/chunks/{location-activity-kav1367t.js → ripgrep-xged7na4.js} +5 -5
- package/dist/chunks/{location-activity-v53svfm7.js → ripgrep-xnnv5aca.js} +9 -9
- package/dist/chunks/{location-activity-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-activity-yyrm6yp6.js → ripgrep-y1ja9cm0.js} +159 -159
- package/dist/chunks/{location-activity-dpkg50ah.js → ripgrep-y71avatq.js} +4 -4
- package/dist/chunks/{location-activity-d4zhj7fm.js → ripgrep-y9wxxghe.js} +9 -9
- package/dist/chunks/{location-activity-eysccbq8.js → ripgrep-ya4xqnab.js} +26 -26
- package/dist/chunks/{location-activity-w72xb559.js → ripgrep-ycnbnhj5.js} +43 -43
- package/dist/chunks/{location-activity-xc01wsyf.js → ripgrep-ynqmra9q.js} +30 -30
- package/dist/chunks/{location-activity-1acjjqhc.js → ripgrep-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-activity-rsb6yf7h.js → ripgrep-yq9pgtk6.js} +9 -9
- package/dist/chunks/{location-activity-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-activity-yrznvahk.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{location-activity-9cg0vjy1.js → ripgrep-ywjt7tq6.js} +8 -8
- package/dist/chunks/{location-activity-wqmmz14w.js → ripgrep-yxam8y99.js} +6 -6
- package/dist/chunks/{location-activity-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-activity-z63w68vq.js → ripgrep-z63w68vq.js} +2 -2
- package/dist/chunks/{location-activity-y21e2par.js → ripgrep-zb8dnpk3.js} +8 -8
- package/dist/chunks/{location-activity-eqkxs06z.js → ripgrep-zcqf6png.js} +6 -6
- package/dist/chunks/{location-activity-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-activity-nhvhf6q8.js → ripgrep-zerdtc7d.js} +6 -6
- package/dist/chunks/{location-activity-t0rxewrm.js → ripgrep-zfzzzsd1.js} +36 -36
- package/dist/chunks/{location-activity-z8gyv9zj.js → ripgrep-zgnck06n.js} +7 -7
- package/dist/chunks/{location-activity-bcnfg02j.js → ripgrep-zh9nb1mr.js} +32 -32
- package/dist/chunks/{location-activity-0am4kazy.js → ripgrep-zj7nydea.js} +4 -4
- package/dist/chunks/{location-activity-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-activity-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- 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 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +84 -84
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +1 -1
- 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 +92 -92
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +123 -123
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- 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 +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- 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 +3 -3
- 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 +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +75 -75
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +74 -74
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/location-activity-4e03ysjk.js +0 -462
- package/dist/chunks/location-activity-6kdq0pjd.js +0 -4
- package/dist/chunks/location-activity-qdyb70sk.js +0 -18
- package/dist/chunks/location-activity-wey5zw64.js +0 -247
- package/dist/chunks/location-activity-y7nw2am7.js +0 -22
- /package/dist/chunks/{location-activity-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-a1tpkmh4.js → ripgrep-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{location-activity-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-hrnqkpcd.js → ripgrep-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-paphc93g.js → ripgrep-paphc93g.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-twg0f83k.js → ripgrep-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./ripgrep-h4yb03sr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./ripgrep-2stzc2h4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service18
|
|
12
|
+
} from "./ripgrep-by90618a.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin11
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin11 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service48;
|
|
34
|
+
const location = yield* Service76;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service18;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin15 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin11, exports_worktree };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service12,
|
|
13
|
+
node: () => node15
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service12 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service12.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node15 = makeGlobalNode({ service: Service12, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service12, node15, exports_update };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./ripgrep-wk58jv74.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make12
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service78;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make15 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make12, exports_git2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service49,
|
|
3
|
+
node52
|
|
4
|
+
} from "./ripgrep-6nkhkk13.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./ripgrep-h4yb03sr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service48,
|
|
11
|
+
node51
|
|
12
|
+
} from "./ripgrep-2stzc2h4.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service4,
|
|
26
26
|
empty: () => empty2,
|
|
27
27
|
layer: () => layer5,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node7
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var layer5 = Layer.effect(
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service48;
|
|
40
|
+
const watcher = yield* Service49;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service76;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service4.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
73
|
+
var node7 = makeLocationNode({
|
|
74
|
+
service: Service4,
|
|
75
75
|
layer: layer5,
|
|
76
|
-
deps: [
|
|
76
|
+
deps: [node51, FSUtil.node, node52, node81]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service4,
|
|
80
|
+
layer: Layer.succeed(Service4, Service4.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service4, layer5, node7, empty2, exports_source };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-0d2qkrjy.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-pdqsczmv.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-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: () => Event7,
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Info: () => Info7,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service34,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node38,
|
|
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 Event7 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info7 = 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 Service34 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service34, 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 Service34.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(Service27, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node38 = makeLocationNode({
|
|
112
|
+
service: Service34,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node84]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID4, Name2, available2, toModelOutput3, prepare3, Service34, node38, exports_skill5, Event7 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node78
|
|
9
|
+
} from "./ripgrep-hwcsphzk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content3
|
|
12
|
+
} from "./ripgrep-kq4qnvrc.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service11,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node14,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content3.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service11 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service74;
|
|
331
|
+
return Service11.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node14 = makeLocationNode({ service: Service11, layer, deps: [node78] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service11, read2, node14, exports_read_filesystem };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service58,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node61
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service58 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service58.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node61 = makeLocationNode({ service: Service58, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service58, node61, exports_image2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-s3d361zp.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-hdnk95c8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-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
|
-
ID: () =>
|
|
16
|
+
ID: () => ID6,
|
|
17
17
|
Info: () => Info21,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service54,
|
|
21
|
+
node: () => node57
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
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
|
-
var
|
|
28
|
+
var ID6 = PermissionSaved.ID;
|
|
29
29
|
var Info21 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
@@ -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 Service54 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service80).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);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID6.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service54.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node57 = makeGlobalNode({ service: Service54, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID6, Info21, ListInput4, AddInput2, Service54, node57, exports_saved };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service64
|
|
4
|
+
} from "./ripgrep-ep1rz70n.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-2d6j2h4j.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -13,7 +13,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
13
13
|
var LLMGatewayPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.llmgateway",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
16
|
-
const integrations = yield*
|
|
16
|
+
const integrations = yield* Service64;
|
|
17
17
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
18
18
|
yield* ctx.catalog.transform((evt) => {
|
|
19
19
|
for (const item of evt.provider.list()) {
|
|
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
25
25
|
continue;
|
|
26
26
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
27
27
|
continue;
|
|
28
|
-
if (!configured.has(
|
|
28
|
+
if (!configured.has(ID9.make(item.provider.id)))
|
|
29
29
|
continue;
|
|
30
30
|
evt.provider.update(item.provider.id, (provider) => {
|
|
31
31
|
provider.headers = {
|