@opencode/core 0.0.0-dev-19518 → 0.0.0-dev-19520
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +78 -78
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +82 -82
- package/dist/chunks/{config-2y9pqqb3.js → ripgrep-029gxqke.js} +33 -33
- package/dist/chunks/{config-bdnmvxp8.js → ripgrep-03m5yc2w.js} +16 -16
- package/dist/chunks/{config-w3vqsqf8.js → ripgrep-0a0yz20b.js} +26 -26
- package/dist/chunks/{config-jkp0d30b.js → ripgrep-0bps82y7.js} +6 -6
- package/dist/chunks/{config-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-0q0f95c6.js → ripgrep-0q0f95c6.js} +1 -1
- package/dist/chunks/{config-rmn9a4a2.js → ripgrep-15t60dpg.js} +27 -27
- package/dist/chunks/{config-jr349qs2.js → ripgrep-189kb88v.js} +3 -3
- package/dist/chunks/{config-mqy0jkn2.js → ripgrep-18e56dsp.js} +4 -4
- package/dist/chunks/{config-bzr21bb0.js → ripgrep-1902bdn8.js} +27 -27
- package/dist/chunks/{config-th5km1p3.js → ripgrep-19d3sct9.js} +2 -2
- package/dist/chunks/{config-9zfc7dfc.js → ripgrep-19vea52x.js} +11 -11
- package/dist/chunks/{config-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{config-t20bzte8.js → ripgrep-23va4g8n.js} +11 -11
- package/dist/chunks/{config-2402vzrj.js → ripgrep-2402vzrj.js} +1 -1
- package/dist/chunks/{config-sahb3924.js → ripgrep-273h6293.js} +6 -6
- package/dist/chunks/{config-29x78va6.js → ripgrep-29x78va6.js} +2 -2
- package/dist/chunks/{config-2f0bjgcj.js → ripgrep-2a4sgpmw.js} +5 -5
- package/dist/chunks/{config-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-fmc2g6nv.js → ripgrep-2k28pc1g.js} +16 -16
- package/dist/chunks/{config-txsys697.js → ripgrep-2k2kkdba.js} +11 -11
- package/dist/chunks/{config-500m5zw2.js → ripgrep-2ve45fd6.js} +5 -5
- package/dist/chunks/{config-dhd4eaqs.js → ripgrep-2zr7sd05.js} +16 -16
- package/dist/chunks/{config-rsqzvx49.js → ripgrep-3916sf1y.js} +27 -27
- package/dist/chunks/{config-mhfjrman.js → ripgrep-3cfxxyky.js} +17 -17
- package/dist/chunks/{config-0h54jqbs.js → ripgrep-3cwb9jzf.js} +8 -8
- package/dist/chunks/{config-6s1e1kc4.js → ripgrep-3e0pbzwc.js} +6 -6
- package/dist/chunks/{config-gdvy8fx6.js → ripgrep-3fc6dm20.js} +4 -4
- package/dist/chunks/{config-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-7cst06m3.js → ripgrep-3svns4sc.js} +6 -6
- package/dist/chunks/{config-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-x5tyfv2w.js → ripgrep-3xagmvq1.js} +8 -8
- package/dist/chunks/{config-as02qwds.js → ripgrep-4786se8r.js} +1 -1
- package/dist/chunks/{config-qmp2a6yc.js → ripgrep-4fzjfb08.js} +17 -17
- package/dist/chunks/{config-92k859we.js → ripgrep-4sfcqppx.js} +2 -2
- package/dist/chunks/{config-t93ydmx7.js → ripgrep-4svbav50.js} +47 -47
- package/dist/chunks/{config-2trk0nf7.js → ripgrep-4wnp65at.js} +7 -7
- package/dist/chunks/{config-4y66k410.js → ripgrep-4y66k410.js} +2 -2
- package/dist/chunks/{config-ca4pzekc.js → ripgrep-4ypr07qq.js} +41 -41
- package/dist/chunks/{config-mt4184cb.js → ripgrep-4z15ngcr.js} +11 -11
- package/dist/chunks/{config-x1gpjyj9.js → ripgrep-52zfrmt1.js} +1 -1
- package/dist/chunks/{config-qx96c0x2.js → ripgrep-5425k34f.js} +12 -12
- package/dist/chunks/{config-fgf2dbrw.js → ripgrep-55ec9169.js} +9 -9
- package/dist/chunks/{config-mfqp6xfm.js → ripgrep-56gdpj1q.js} +6 -6
- package/dist/chunks/{config-tdmbm035.js → ripgrep-56gqpxz5.js} +44 -44
- package/dist/chunks/{config-40es9cn4.js → ripgrep-56tq4mad.js} +11 -11
- package/dist/chunks/{config-jzyea8st.js → ripgrep-585pw9ae.js} +20 -20
- package/dist/chunks/{config-a1bz86dw.js → ripgrep-5c4hm403.js} +3 -3
- package/dist/chunks/{config-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{config-k5g1wwwc.js → ripgrep-5pegjrmw.js} +34 -34
- package/dist/chunks/ripgrep-5sag4wt5.js +22 -0
- package/dist/chunks/{config-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-xvfxhta6.js → ripgrep-65jk6x65.js} +23 -23
- package/dist/chunks/{config-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{config-we0x1hdb.js → ripgrep-68sqcc23.js} +8 -8
- package/dist/chunks/{config-dggcr3pv.js → ripgrep-693j5c0s.js} +6 -6
- package/dist/chunks/{config-dp3nd3hs.js → ripgrep-6hegse3n.js} +17 -17
- package/dist/chunks/{config-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-fdypcd13.js → ripgrep-6x7sck92.js} +17 -17
- package/dist/chunks/{config-71q4at8m.js → ripgrep-71q4at8m.js} +1 -1
- package/dist/chunks/{config-at5d07az.js → ripgrep-73gmm198.js} +4 -4
- package/dist/chunks/{config-sadtqs4n.js → ripgrep-795tw062.js} +20 -20
- package/dist/chunks/{config-0jjy22eq.js → ripgrep-798sgk8w.js} +17 -17
- package/dist/chunks/{config-dv1qgsyq.js → ripgrep-7b15y959.js} +8 -8
- package/dist/chunks/{config-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-7dqw4kz8.js → ripgrep-7dqw4kz8.js} +1 -1
- package/dist/chunks/{config-v3yrm497.js → ripgrep-7mbgx17m.js} +22 -22
- package/dist/chunks/{config-b037pt3h.js → ripgrep-7q1g2eq3.js} +292 -292
- package/dist/chunks/{config-z4ghpq8m.js → ripgrep-7y5jkdce.js} +7 -7
- package/dist/chunks/{config-73tb2d7t.js → ripgrep-7yh4e7ss.js} +3 -3
- package/dist/chunks/{config-jw4srkvv.js → ripgrep-82f74kwp.js} +24 -24
- package/dist/chunks/{config-szgy4byf.js → ripgrep-89smrnyf.js} +4 -4
- package/dist/chunks/{config-w7dwrt65.js → ripgrep-8a0b7fze.js} +4 -4
- package/dist/chunks/{config-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-yb6gj76h.js → ripgrep-8evqb545.js} +14 -14
- package/dist/chunks/{config-7gvwkz6m.js → ripgrep-8jxztqqt.js} +5 -5
- package/dist/chunks/{config-03tj29fc.js → ripgrep-8qvgnq7a.js} +11 -11
- package/dist/chunks/{config-ndnrqb0q.js → ripgrep-8recqrg4.js} +6 -6
- package/dist/chunks/{config-n6p3hzby.js → ripgrep-9c1qwqga.js} +9 -9
- package/dist/chunks/{config-rbsfdkxp.js → ripgrep-9d8v8ke2.js} +10 -10
- package/dist/chunks/{config-dmbf89sn.js → ripgrep-9fqgd0wm.js} +13 -13
- package/dist/chunks/{config-b3wkxfg9.js → ripgrep-9gyd2w40.js} +1 -1
- package/dist/chunks/{config-jc11nwvx.js → ripgrep-9pf502c0.js} +18 -18
- package/dist/chunks/{config-q928s5sj.js → ripgrep-9pm6y0s1.js} +8 -8
- package/dist/chunks/ripgrep-9sh4wc5j.js +18 -0
- package/dist/chunks/{config-pdtg10ej.js → ripgrep-9vad26s7.js} +35 -35
- package/dist/chunks/{config-xch1wn2v.js → ripgrep-9xx88crh.js} +54 -54
- package/dist/chunks/{config-7e96baxm.js → ripgrep-a45m2fkf.js} +35 -35
- package/dist/chunks/{config-jzghpn6f.js → ripgrep-a4xw13fr.js} +15 -15
- package/dist/chunks/{config-kdr9yt9m.js → ripgrep-a5m36ryz.js} +5 -5
- package/dist/chunks/{config-7zdx8nxd.js → ripgrep-a6ztjttg.js} +18 -18
- package/dist/chunks/{config-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{config-6028kv6n.js → ripgrep-aph4g9qx.js} +20 -20
- package/dist/chunks/{config-6e7x5tab.js → ripgrep-ar8vnhha.js} +32 -32
- package/dist/chunks/{config-9pv0dm11.js → ripgrep-awbdwcvp.js} +9 -9
- package/dist/chunks/{config-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-0f25z0zc.js → ripgrep-bj2hb5dm.js} +26 -26
- package/dist/chunks/{config-1ng2fnc2.js → ripgrep-bn56f23d.js} +11 -11
- package/dist/chunks/{config-vcd6kxeh.js → ripgrep-bnaeqmzy.js} +18 -18
- package/dist/chunks/{config-y397pytd.js → ripgrep-bw0vgseb.js} +8 -8
- package/dist/chunks/{config-sc5xtfr6.js → ripgrep-c4pfxw5s.js} +9 -9
- package/dist/chunks/{config-4bjs7nez.js → ripgrep-c7gc6yv9.js} +32 -32
- package/dist/chunks/{config-mq1bq8jw.js → ripgrep-cg3re8yn.js} +19 -19
- package/dist/chunks/{config-24zysf4r.js → ripgrep-cza9j1er.js} +1 -1
- package/dist/chunks/{config-71rg6xx2.js → ripgrep-dh46x48g.js} +16 -16
- package/dist/chunks/{config-dhmh7aw6.js → ripgrep-dhmh7aw6.js} +1 -1
- package/dist/chunks/{config-8p4f9s12.js → ripgrep-dj2t23y0.js} +2 -2
- package/dist/chunks/{config-jj72jhew.js → ripgrep-ds2mmwsg.js} +6 -6
- package/dist/chunks/{config-9ky66zz9.js → ripgrep-dv250zvr.js} +3 -3
- package/dist/chunks/{config-524b8jaz.js → ripgrep-dw1fjyb0.js} +5 -5
- package/dist/chunks/{config-w5ybyj9d.js → ripgrep-dwcdeas1.js} +35 -35
- package/dist/chunks/{config-93d817ps.js → ripgrep-dxkw8z59.js} +18 -18
- package/dist/chunks/{config-kd92mjtq.js → ripgrep-e17bkqjz.js} +1 -1
- package/dist/chunks/{config-wy2fmmjc.js → ripgrep-e8ac3wj7.js} +14 -14
- package/dist/chunks/{config-t97x3sry.js → ripgrep-ea8nv0r7.js} +2 -2
- package/dist/chunks/{config-g0xjha3d.js → ripgrep-ebtmksy4.js} +13 -13
- package/dist/chunks/{config-6txkt4xs.js → ripgrep-ecbpcs26.js} +5 -5
- package/dist/chunks/{config-w363maz7.js → ripgrep-esxf2z81.js} +10 -10
- package/dist/chunks/{config-d4eh0prg.js → ripgrep-etjd8m3h.js} +8 -8
- package/dist/chunks/{config-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-rh2ber99.js → ripgrep-eynhbbrp.js} +11 -11
- package/dist/chunks/{config-d96gh7mt.js → ripgrep-ez9ncaqn.js} +16 -16
- package/dist/chunks/{config-x39n36dp.js → ripgrep-f0zqv8cz.js} +42 -42
- package/dist/chunks/{config-cyh7fw84.js → ripgrep-fgjcw7nx.js} +8 -8
- package/dist/chunks/{config-49w8mb30.js → ripgrep-fk64qee0.js} +3 -3
- package/dist/chunks/{config-fxbjtjnd.js → ripgrep-fxbjtjnd.js} +1 -1
- package/dist/chunks/{config-xh49vxj8.js → ripgrep-fyjp43ss.js} +5 -5
- package/dist/chunks/{config-zfexs0ry.js → ripgrep-g0zjwb8j.js} +25 -25
- package/dist/chunks/{config-xjk8cg32.js → ripgrep-g14zqp48.js} +6 -6
- package/dist/chunks/{config-vqrqq3f3.js → ripgrep-g1sy3t6s.js} +22 -22
- package/dist/chunks/{config-1vhg4r3c.js → ripgrep-g2a831m9.js} +15 -15
- package/dist/chunks/{config-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-5kmgv739.js → ripgrep-gj6rcz70.js} +16 -16
- package/dist/chunks/{config-mrrn9raq.js → ripgrep-gk2407r3.js} +6 -6
- package/dist/chunks/{config-k3exstdw.js → ripgrep-gnrgb9v9.js} +12 -12
- package/dist/chunks/{config-nw7c34jt.js → ripgrep-gqm3etmd.js} +25 -25
- package/dist/chunks/{config-h03wrkyp.js → ripgrep-h03wrkyp.js} +2 -2
- package/dist/chunks/{config-9ecaftbj.js → ripgrep-h5eqzpkj.js} +159 -159
- package/dist/chunks/{config-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-9j0f6msb.js → ripgrep-hb36k1xj.js} +9 -9
- package/dist/chunks/{config-0r2cj6n5.js → ripgrep-hbqwmcym.js} +18 -18
- package/dist/chunks/{config-f828m53h.js → ripgrep-hdnk95c8.js} +2 -2
- package/dist/chunks/{config-akfj6bkv.js → ripgrep-hkf2qys9.js} +9 -9
- package/dist/chunks/{config-88sz8qcd.js → ripgrep-hrndf12w.js} +4 -4
- package/dist/chunks/{config-t0x5rdq8.js → ripgrep-hrvd6t1f.js} +9 -9
- package/dist/chunks/{config-fv2f4h05.js → ripgrep-hsgwetrq.js} +9 -9
- package/dist/chunks/{config-ga2gmxwj.js → ripgrep-hw6f026f.js} +4 -4
- package/dist/chunks/{config-5svkr433.js → ripgrep-j4c2y7gg.js} +24 -24
- package/dist/chunks/{config-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{config-abmqkkp1.js → ripgrep-j7twb6sd.js} +24 -24
- package/dist/chunks/{config-msd430t5.js → ripgrep-j9e0mrh2.js} +28 -28
- package/dist/chunks/{config-vyd2mddb.js → ripgrep-ja0fapct.js} +19 -19
- package/dist/chunks/{config-3ztdxds0.js → ripgrep-jeanpfns.js} +1 -1
- package/dist/chunks/{config-mqzdvsp0.js → ripgrep-jfpf741x.js} +10 -10
- package/dist/chunks/{config-7g37pjt1.js → ripgrep-jn8gnkkx.js} +23 -23
- package/dist/chunks/{config-2hgjbaq7.js → ripgrep-jwjk52g2.js} +4 -4
- package/dist/chunks/{config-chv1jva4.js → ripgrep-k1t251yf.js} +11 -11
- package/dist/chunks/{config-apr7yhtx.js → ripgrep-k4cgc9a3.js} +58 -58
- package/dist/chunks/{config-fm9rw644.js → ripgrep-k7c8rbx5.js} +32 -32
- package/dist/chunks/{config-zg5p3s2w.js → ripgrep-k8kd5w7n.js} +9 -9
- package/dist/chunks/{config-ptybd0xs.js → ripgrep-k9gn0ad9.js} +10 -10
- package/dist/chunks/{config-qdhtn9s1.js → ripgrep-kcb8efe6.js} +15 -15
- package/dist/chunks/{config-g1bjk10t.js → ripgrep-kd6sn3q5.js} +28 -28
- package/dist/chunks/{config-tx0fev4m.js → ripgrep-ked90xm8.js} +5 -5
- package/dist/chunks/{config-m2d0j7c0.js → ripgrep-ket1x0yc.js} +9 -9
- package/dist/chunks/{config-kg06axw8.js → ripgrep-kg06axw8.js} +1 -1
- package/dist/chunks/{config-b3cthcd0.js → ripgrep-kg76qfxw.js} +41 -41
- package/dist/chunks/{config-cfpkc3c9.js → ripgrep-m0jqrx5p.js} +2 -2
- package/dist/chunks/{config-yhaaxm75.js → ripgrep-m7y3f53v.js} +4 -4
- package/dist/chunks/{config-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-67nnzeww.js → ripgrep-makktzfn.js} +8 -8
- package/dist/chunks/{config-5gb554bv.js → ripgrep-mgrb5prq.js} +20 -20
- package/dist/chunks/{config-mb834ncm.js → ripgrep-mqgn8hcj.js} +26 -26
- package/dist/chunks/{config-ananwaz5.js → ripgrep-mqhr8xm6.js} +19 -19
- package/dist/chunks/{config-xk0e2k2b.js → ripgrep-mttv9c64.js} +13 -13
- package/dist/chunks/{config-xhbc1wmm.js → ripgrep-n0prnbcg.js} +16 -16
- package/dist/chunks/{config-j4a1nx2y.js → ripgrep-n39gyvgw.js} +25 -25
- package/dist/chunks/{config-jk9a1ysw.js → ripgrep-n92pz7zc.js} +5 -5
- package/dist/chunks/{config-ndst5pn8.js → ripgrep-neqk7dw9.js} +30 -30
- package/dist/chunks/{config-kn3ebdxh.js → ripgrep-nftwv1dv.js} +33 -33
- package/dist/chunks/{config-r2g10xvh.js → ripgrep-ngn3zv13.js} +15 -15
- package/dist/chunks/{config-e82z9tr0.js → ripgrep-nhy5jxhy.js} +7 -7
- package/dist/chunks/{config-wvmhx4nb.js → ripgrep-nv5vn7qx.js} +8 -8
- package/dist/chunks/{config-yqbxhepw.js → ripgrep-nz99f8xd.js} +23 -23
- package/dist/chunks/{config-n06bkfsk.js → ripgrep-p6s6v31b.js} +20 -20
- package/dist/chunks/{config-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{config-s70x6cty.js → ripgrep-pqbv8h9y.js} +46 -46
- package/dist/chunks/ripgrep-pr17jsva.js +247 -0
- package/dist/chunks/{config-9edcvf27.js → ripgrep-pvx4ycye.js} +10 -10
- package/dist/chunks/{config-22hkawpp.js → ripgrep-pwr8fgkg.js} +5 -5
- package/dist/chunks/{config-s76nk363.js → ripgrep-q6jxhr7p.js} +12 -12
- package/dist/chunks/{config-dzwrky7c.js → ripgrep-q7vxj98b.js} +8 -8
- package/dist/chunks/{config-n37c4crj.js → ripgrep-qa4rp7fn.js} +9 -9
- package/dist/chunks/{config-fptn8mvr.js → ripgrep-qbc1vncp.js} +14 -14
- package/dist/chunks/{config-pc34g5xs.js → ripgrep-qj6a8geq.js} +12 -12
- package/dist/chunks/{config-k6vfasqn.js → ripgrep-qmy7xtej.js} +1 -1
- package/dist/chunks/{config-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{config-tzw8cs40.js → ripgrep-qvmqnmmt.js} +39 -39
- package/dist/chunks/{config-4g5zjqyt.js → ripgrep-qxd59bx2.js} +7 -7
- package/dist/chunks/{config-x9yka4mj.js → ripgrep-r12m2gvw.js} +23 -23
- package/dist/chunks/{config-ycp3dazx.js → ripgrep-r14b6q3s.js} +41 -41
- package/dist/chunks/{config-r9mregkx.js → ripgrep-r9mregkx.js} +2 -2
- package/dist/chunks/{config-kjfmk7ct.js → ripgrep-ra8yf1dm.js} +9 -9
- package/dist/chunks/{config-1tq060df.js → ripgrep-rp8jz6x1.js} +6 -6
- package/dist/chunks/{config-zeh9ct20.js → ripgrep-rq775frq.js} +2 -2
- package/dist/chunks/{config-sbkm8zpx.js → ripgrep-rqy9czj1.js} +15 -15
- package/dist/chunks/{config-ge7mz5hd.js → ripgrep-rt0tzyzc.js} +20 -20
- package/dist/chunks/{config-g3wmjmt9.js → ripgrep-rt5nc7f1.js} +6 -6
- package/dist/chunks/{config-wpg1dpye.js → ripgrep-rvjgzqwq.js} +83 -83
- package/dist/chunks/{config-vrt6kmsc.js → ripgrep-rz87j40z.js} +26 -26
- package/dist/chunks/{config-s4enseaf.js → ripgrep-s4enseaf.js} +2 -2
- package/dist/chunks/{config-1gsh612e.js → ripgrep-s5kxrhz6.js} +10 -10
- package/dist/chunks/{config-fkx4c0gs.js → ripgrep-s69d0rhj.js} +23 -23
- package/dist/chunks/{config-1edmbcdr.js → ripgrep-s6xr1hpd.js} +19 -19
- package/dist/chunks/{config-t550f9t1.js → ripgrep-s8d7rejh.js} +4 -4
- package/dist/chunks/{config-fex1r3p4.js → ripgrep-sa4c2d0v.js} +4 -4
- package/dist/chunks/{config-m4esdr3n.js → ripgrep-sasnma5y.js} +24 -24
- package/dist/chunks/{config-88e20h4f.js → ripgrep-scqya4gj.js} +7 -7
- package/dist/chunks/{config-8sf41kz2.js → ripgrep-sh6mjzwx.js} +18 -18
- package/dist/chunks/{config-zfzb5y7k.js → ripgrep-syz7yhpm.js} +18 -18
- package/dist/chunks/{config-4r6jt0gr.js → ripgrep-t3cqppxt.js} +11 -11
- package/dist/chunks/{config-hfs8yx7p.js → ripgrep-t3pn2srw.js} +6 -6
- package/dist/chunks/{config-t51qk8jz.js → ripgrep-t51qk8jz.js} +1 -1
- package/dist/chunks/{config-tmagtvn3.js → ripgrep-t6dm0qrg.js} +30 -30
- package/dist/chunks/{config-1vcqa5wr.js → ripgrep-tarep50r.js} +12 -12
- package/dist/chunks/{config-b53k7nra.js → ripgrep-tayeq9hg.js} +16 -16
- package/dist/chunks/{config-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{config-rbdwhr82.js → ripgrep-tfk0ak3w.js} +5 -5
- package/dist/chunks/{config-rs9bm7ga.js → ripgrep-tfk1j7dq.js} +31 -31
- package/dist/chunks/{config-y3gka0kp.js → ripgrep-tgqjfyja.js} +3 -3
- package/dist/chunks/{config-11zceq2r.js → ripgrep-thqzz5bd.js} +24 -24
- package/dist/chunks/{config-0d0dgjqj.js → ripgrep-tjjqevy4.js} +10 -10
- package/dist/chunks/{config-6zpeh5ef.js → ripgrep-tjncz0mj.js} +4 -4
- package/dist/chunks/{config-f6ydgv65.js → ripgrep-tkn615h0.js} +3 -3
- package/dist/chunks/{config-btpj8paq.js → ripgrep-tt6n2bdb.js} +7 -7
- package/dist/chunks/{config-j8vmgnn0.js → ripgrep-tvbftpt7.js} +6 -6
- package/dist/chunks/{config-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{config-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{config-sjwktnnh.js → ripgrep-vfefw32n.js} +4 -4
- package/dist/chunks/{config-thg7yc29.js → ripgrep-vv5etkqr.js} +19 -19
- package/dist/chunks/{config-dg3w4ggv.js → ripgrep-vvww6z2v.js} +8 -8
- package/dist/chunks/{config-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-a5tbwcpe.js → ripgrep-w36hd28z.js} +9 -9
- package/dist/chunks/{config-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-fnem5a14.js → ripgrep-w5enr2n1.js} +10 -10
- package/dist/chunks/{config-n9f5sn04.js → ripgrep-wahmyx3j.js} +6 -6
- package/dist/chunks/{config-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{config-c2e2kqp2.js → ripgrep-wdxjhaa6.js} +14 -14
- package/dist/chunks/{config-hktst2rm.js → ripgrep-wh1eej68.js} +13 -13
- package/dist/chunks/{config-dm96vh24.js → ripgrep-wy91bkd0.js} +20 -20
- package/dist/chunks/{config-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-nesjbnnj.js → ripgrep-x38mj0ya.js} +78 -78
- package/dist/chunks/{config-ncm0m5yr.js → ripgrep-x4jgrabg.js} +4 -4
- package/dist/chunks/{config-qyjg9y2x.js → ripgrep-x84xvd1n.js} +18 -18
- package/dist/chunks/{config-06gpdxnt.js → ripgrep-xk1mwkvz.js} +35 -29
- package/dist/chunks/{config-t6r4qr4w.js → ripgrep-xntwgtxc.js} +15 -15
- package/dist/chunks/{config-e9anbn9n.js → ripgrep-xpn5exb3.js} +5 -5
- package/dist/chunks/{config-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-tjdk9e36.js → ripgrep-y2wcncat.js} +18 -18
- package/dist/chunks/{config-0c6qpskm.js → ripgrep-y361e8w3.js} +17 -17
- package/dist/chunks/{config-dpkg50ah.js → ripgrep-y71avatq.js} +4 -4
- package/dist/chunks/{config-chn16zvr.js → ripgrep-ybpn653b.js} +4 -4
- package/dist/chunks/{config-1d626cn7.js → ripgrep-yhemyvg6.js} +9 -9
- package/dist/chunks/{config-f2n192rq.js → ripgrep-yp2x3t23.js} +4 -4
- package/dist/chunks/{config-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-fj7e7hth.js → ripgrep-yxtae5qy.js} +32 -32
- package/dist/chunks/{config-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-pecphg4c.js → ripgrep-zj1vh5fc.js} +14 -14
- package/dist/chunks/{config-57was9j6.js → ripgrep-zpd6x7fe.js} +2 -2
- package/dist/chunks/{config-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-an7cqtb7.js → ripgrep-zv8jbdmn.js} +4 -4
- package/dist/chunks/{config-gxr0t54p.js → ripgrep-zwzhnca6.js} +21 -21
- package/dist/chunks/{config-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +78 -78
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +359 -359
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +103 -101
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +94 -94
- 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 +7 -7
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +125 -125
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +80 -80
- package/dist/location-services.js +349 -349
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +6 -6
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +83 -83
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +213 -213
- package/dist/session/execution.js +121 -121
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +102 -102
- package/dist/snapshot.js +85 -85
- 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 +116 -116
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +115 -115
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +209 -209
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/filesystem.d.ts +6 -1
- 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 +7 -7
- 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 +1 -1
- package/dist/v1/config/plugin.js +1 -1
- 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 +84 -84
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +75 -75
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/config-662xge47.js +0 -22
- package/dist/chunks/config-pf31ssb9.js +0 -18
- package/dist/chunks/config-ttqtcj3t.js +0 -247
- /package/dist/chunks/{config-0mesazry.js → ripgrep-0mesazry.js} +0 -0
- /package/dist/chunks/{config-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{config-hrnqkpcd.js → ripgrep-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-j935v87r.js → ripgrep-j935v87r.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-twg0f83k.js → ripgrep-twg0f83k.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service69,
|
|
10
|
+
node: () => node74
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service69 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service69.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node74 = makeLocationNode({ service: Service69, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service69, node74, exports_hooks };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service32,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service32 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service32.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service32, awaitActivation2, exports_service };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node83
|
|
7
|
+
} from "./ripgrep-pvx4ycye.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
ID18
|
|
10
|
+
} from "./ripgrep-awbdwcvp.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-189kb88v.js";
|
|
18
18
|
import {
|
|
19
19
|
Service79,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./ripgrep-tjncz0mj.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./ripgrep-dj2t23y0.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./ripgrep-m0jqrx5p.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service76,
|
|
30
|
+
node81
|
|
31
|
+
} from "./ripgrep-tayeq9hg.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
34
|
canonical3
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./ripgrep-19d3sct9.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make20
|
|
38
|
+
} from "./ripgrep-vvww6z2v.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./ripgrep-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event13,
|
|
53
|
+
Info: () => Info13,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service63,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node68
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -82,11 +82,11 @@ var RefreshResult2 = Schema.Struct({
|
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info13 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
89
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
89
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event13 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service63 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
109
|
const database = yield* Service80;
|
|
110
110
|
const db = database.db;
|
|
111
111
|
const bus = yield* Service79;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service76;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
117
|
-
const gitStrategy = yield*
|
|
117
|
+
const gitStrategy = yield* make20;
|
|
118
118
|
const state = create3({
|
|
119
119
|
name: "worktree",
|
|
120
120
|
initial: () => ({
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event13.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
257
257
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
258
258
|
return changes;
|
|
259
259
|
});
|
|
260
|
-
return
|
|
260
|
+
return Service63.of({
|
|
261
261
|
transform: state.transform,
|
|
262
262
|
reload: state.reload,
|
|
263
263
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
269
269
|
refresh
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node68 = makeLocationNode({
|
|
273
|
+
service: Service63,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [FSUtil.node,
|
|
275
|
+
deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
|
|
276
276
|
});
|
|
277
277
|
function operationError(strategy, operation, error) {
|
|
278
278
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2,
|
|
285
|
+
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info13, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event13, Service63, node68, exports_worktree2, OperationError2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-tjncz0mj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./ripgrep-tayeq9hg.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID12,
|
|
11
|
+
Service70,
|
|
12
|
+
node75
|
|
13
|
+
} from "./ripgrep-dxkw8z59.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError10
|
|
16
|
+
} from "./ripgrep-t3pn2srw.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service68,
|
|
19
|
+
node73
|
|
20
|
+
} from "./ripgrep-5425k34f.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service67,
|
|
26
|
+
node72
|
|
27
|
+
} from "./ripgrep-kcb8efe6.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service69,
|
|
30
|
+
node74
|
|
31
|
+
} from "./ripgrep-9pm6y0s1.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission = {};
|
|
@@ -42,30 +42,30 @@ __export(exports_permission, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event15,
|
|
46
|
+
ID: () => ID10,
|
|
47
|
+
NotFoundError: () => NotFoundError9,
|
|
48
48
|
Permission: () => exports_permission,
|
|
49
|
-
Reply: () =>
|
|
49
|
+
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
55
|
-
Source: () =>
|
|
54
|
+
Service: () => Service66,
|
|
55
|
+
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node71
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event15 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
68
|
-
var
|
|
67
|
+
var ID10 = Permission.ID;
|
|
68
|
+
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
71
71
|
action: Permission.Request.fields.action,
|
|
@@ -75,19 +75,19 @@ var RequestFields = {
|
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
|
-
var
|
|
78
|
+
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID10.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID12.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID10,
|
|
86
|
+
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID10,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID10
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service66 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service79;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service76;
|
|
133
|
+
const agents = yield* Service70;
|
|
134
|
+
const sessions = yield* Service68;
|
|
135
|
+
const saved = yield* Service67;
|
|
136
|
+
const hooks = yield* Service69;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError10({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID10.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError9({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service66.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node71 = makeLocationNode({
|
|
289
|
+
service: Service66,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [node84,
|
|
291
|
+
deps: [node84, node81, node75, node73, node72, node74]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID10, Source5, Request2, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service66, node71, exports_permission, Rule2, Ruleset2, Event15 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./ripgrep-tayeq9hg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service61
|
|
12
|
+
} from "./ripgrep-j4c2y7gg.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service60
|
|
16
|
+
} from "./ripgrep-sh6mjzwx.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-xk1mwkvz.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service66
|
|
26
|
+
} from "./ripgrep-9xx88crh.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service65
|
|
29
|
+
} from "./ripgrep-x84xvd1n.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input11,
|
|
39
|
+
Output: () => Output7,
|
|
40
|
+
Plugin: () => Plugin30,
|
|
41
|
+
name: () => name11,
|
|
42
|
+
toModelContent: () => toModelContent5
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name11 = "grep";
|
|
48
|
+
var Input11 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input5 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output7 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent5 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent3 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin30 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service61;
|
|
90
|
+
const ripgrep = yield* Service60;
|
|
91
|
+
const location = yield* Service76;
|
|
92
|
+
const access = yield* Service65;
|
|
93
|
+
const permission = yield* Service66;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name11,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input11,
|
|
99
|
+
output: Output7,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name11,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin35 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent5(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin35 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name11, Input11, Output7, toModelContent5, Plugin30, exports_grep };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-tjncz0mj.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-tayeq9hg.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: () => Service17,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node21
|
|
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 Service17 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(Service17, 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(Service18, 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 Service17.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node21 = makeLocationNode({ service: Service17, 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 { Service17, node21, exports_rpc, define2 };
|