@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,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./ripgrep-dxkw8z59.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Info22
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-fk64qee0.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-m7y3f53v.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service71
|
|
16
|
+
} from "./ripgrep-kg76qfxw.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent = {};
|
|
26
26
|
__export(exports_agent, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin10
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -44,10 +44,10 @@ var decodeLegacyAgent = Schema.decodeUnknownOption(Info22);
|
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin10 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service71;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin11 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID12.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID12.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin10, exports_agent };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make14,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make14(tools) {
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render3, exports_system_prompt };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render3
|
|
3
|
+
} from "./ripgrep-nhy5jxhy.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render3(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,43 +1,43 @@
|
|
|
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
10
|
ID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service39,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node44
|
|
16
|
+
} from "./ripgrep-03m5yc2w.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: () => Event3,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
30
|
Info: () => Info2,
|
|
31
31
|
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service15,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node18
|
|
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 Event3 } 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"));
|
|
@@ -55,12 +55,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service15 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service15, 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* Service39;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service15.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node18 = makeLocationNode({
|
|
274
|
+
service: Service15,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node84,
|
|
276
|
+
deps: [node84, node81, node44]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2,
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service15, node18, exports_pty, Event3 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-189kb88v.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-tjncz0mj.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service49
|
|
9
|
+
} from "./ripgrep-0bps82y7.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID6,
|
|
15
|
+
Service43
|
|
16
|
+
} from "./ripgrep-82f74kwp.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./ripgrep-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./ripgrep-t3pn2srw.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./ripgrep-5c4hm403.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service49;
|
|
46
46
|
const database = yield* Service80;
|
|
47
47
|
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service43;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service49;
|
|
78
78
|
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service43;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID6.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Event20,
|
|
10
|
-
Service78,
|
|
11
|
-
node83
|
|
12
|
-
} from "./config-g1bjk10t.js";
|
|
7
|
+
} from "./ripgrep-tjncz0mj.js";
|
|
13
8
|
import {
|
|
9
|
+
Event19,
|
|
14
10
|
Service75,
|
|
15
11
|
node80
|
|
16
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-kd6sn3q5.js";
|
|
13
|
+
import {
|
|
14
|
+
Service76,
|
|
15
|
+
node81
|
|
16
|
+
} from "./ripgrep-tayeq9hg.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service61,
|
|
19
|
+
node65
|
|
20
|
+
} from "./ripgrep-j4c2y7gg.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID8,
|
|
23
|
+
Service57,
|
|
24
|
+
node61
|
|
25
|
+
} from "./ripgrep-r12m2gvw.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID7,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service55,
|
|
34
|
+
node59
|
|
35
|
+
} from "./ripgrep-g1sy3t6s.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError4,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,13 +56,13 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service31,
|
|
60
60
|
Status: () => Status2,
|
|
61
|
-
Tool: () =>
|
|
61
|
+
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
65
|
+
configured: () => configured4,
|
|
66
66
|
layer: () => layer14,
|
|
67
67
|
node: () => node36
|
|
68
68
|
});
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID7.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -91,7 +91,7 @@ class ServerInstructions2 extends Schema.Class("MCP.ServerInstructions")({
|
|
|
91
91
|
}) {
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Tool3 extends Schema.Class("MCP.Tool")({
|
|
95
95
|
server: ServerName2,
|
|
96
96
|
name: Schema.String,
|
|
97
97
|
codemode: Schema.Boolean.pipe(Schema.optional),
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service31 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options4 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var layer14 = (options) => Layer.effect(
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
176
|
+
var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service76;
|
|
178
|
+
const environment = yield* Service61;
|
|
179
179
|
const bus = yield* Service79;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service57;
|
|
181
|
+
const integration = yield* Service55;
|
|
182
|
+
const credentials = yield* Service75;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID7.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -315,7 +315,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID8.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -358,7 +358,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
358
358
|
yield* forms.reply({ id: formID, answer: { [URL_ELICITATION_FIELD_KEY]: true } }).pipe(Effect.ignore);
|
|
359
359
|
})
|
|
360
360
|
};
|
|
361
|
-
const toTool = (server, entry, def) => new
|
|
361
|
+
const toTool = (server, entry, def) => new Tool3({
|
|
362
362
|
server,
|
|
363
363
|
name: def.name,
|
|
364
364
|
codemode: entry.config.codemode,
|
|
@@ -433,7 +433,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service61, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service31.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured4(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
712
|
+
service: Service31,
|
|
713
713
|
layer: layer14(options),
|
|
714
|
-
deps: [
|
|
714
|
+
deps: [node81, node65, node84, node61, node59, node80]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var node36 =
|
|
717
|
+
var node36 = configured4();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service31, Options4, layer14, configured4, node36, exports_mcp4 };
|