@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,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-0d2qkrjy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./ripgrep-h4yb03sr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./ripgrep-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service50,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node53
|
|
16
|
+
} from "./ripgrep-02vzrq4v.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput2,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event2,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service14,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node17
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event2 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
45
|
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service14 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service79;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service76;
|
|
63
|
+
const shell = yield* Service50;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID2.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service14.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node17 = makeLocationNode({
|
|
274
|
+
service: Service14,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node84,
|
|
276
|
+
deps: [node84, node81, node53]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node17, exports_pty, Event2 };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node83
|
|
10
|
+
} from "./ripgrep-wk58jv74.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service76,
|
|
13
|
+
node81
|
|
14
|
+
} from "./ripgrep-h4yb03sr.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID13,
|
|
27
|
+
Service: () => Service68,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node72,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID13 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service68 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service78;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID13.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service68.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node72 = makeLocationNode({
|
|
139
|
+
service: Service68,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node83, Global.node, node81]
|
|
142
142
|
});
|
|
143
|
-
var
|
|
143
|
+
var noopLayer3 = Layer.succeed(Service68, Service68.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer2 = Layer.succeed(Service52, Service52.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error3({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID13, Error3, Service68, node72, noopLayer3, exports_snapshot2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
10
10
|
__export(exports_mcp2, {
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
12
|
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-2d6j2h4j.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/variant.ts
|
|
10
10
|
var exports_variant = {};
|
|
11
11
|
__export(exports_variant, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin42,
|
|
13
13
|
VariantPlugin: () => exports_variant,
|
|
14
14
|
generate: () => generate2
|
|
15
15
|
});
|
|
16
16
|
import { Effect } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Model } from "@opencode/schema/model";
|
|
19
|
-
var
|
|
19
|
+
var Plugin42 = define({
|
|
20
20
|
id: "opencode.variant",
|
|
21
21
|
effect: Effect.fn(function* (ctx) {
|
|
22
22
|
yield* ctx.catalog.transform((catalog) => {
|
|
@@ -52,4 +52,4 @@ function generate2(model, provider) {
|
|
|
52
52
|
}));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Plugin42, generate2, exports_variant };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-dj2t23y0.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-0d2qkrjy.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service76,
|
|
12
|
+
node81
|
|
13
|
+
} from "./ripgrep-h4yb03sr.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service56,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node59
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service56 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service79;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service76;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service76, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service56.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node59 = makeLocationNode({ service: Service56, layer, deps: [node84, node81] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service56, node59, exports_rpc, define2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-0d2qkrjy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./ripgrep-h4yb03sr.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info28,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service67,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node71
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info28, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service67 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const bus = yield* Service79;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info28));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service67.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node71 = makeLocationNode({
|
|
165
|
+
service: Service67,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node81, node84]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info28, Mode2, DiffError2, Service67, node71, exports_vcs };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./ripgrep-6nkhkk13.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service60
|
|
13
|
+
} from "./ripgrep-7s6v6vsj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service76
|
|
16
|
+
} from "./ripgrep-h4yb03sr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin6
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin6 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service60;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service76;
|
|
42
|
+
const watcher = yield* Service49;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin6, exports_instruction };
|