@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,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./ripgrep-tayeq9hg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./ripgrep-j4c2y7gg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service13,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-9fqgd0wm.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./ripgrep-a6ztjttg.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service66
|
|
17
|
+
} from "./ripgrep-9xx88crh.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service65,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./ripgrep-x84xvd1n.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./ripgrep-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input6,
|
|
34
|
+
Output: () => Output5,
|
|
35
|
+
Plugin: () => Plugin24,
|
|
36
|
+
name: () => name6
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name6 = "edit";
|
|
43
|
+
var Input6 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input12 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output5 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin24 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service65;
|
|
110
|
+
const fileMutation = yield* Service13;
|
|
111
|
+
const environment = yield* Service61;
|
|
112
|
+
const formatter = yield* Service16;
|
|
113
|
+
const location = yield* Service76;
|
|
114
|
+
const permission = yield* Service66;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name6,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input6,
|
|
120
|
+
output: Output5,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin43 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name6, Input6, Output5, Plugin24, exports_edit };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service51
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-8evqb545.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service20
|
|
6
|
+
} from "./ripgrep-x38mj0ya.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make5
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
22
|
+
var make5 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service20;
|
|
24
24
|
const jobs = yield* Service51;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
@@ -58,4 +58,4 @@ var make8 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make5, exports_subagent_job };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-189kb88v.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service74,
|
|
17
|
+
node: () => node79
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service74 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service80).db;
|
|
26
|
-
return
|
|
26
|
+
return Service74.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node79 = makeGlobalNode({ service: Service74, layer, deps: [node85] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service74, node79, exports_kv };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-189kb88v.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-hdnk95c8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID11,
|
|
17
|
+
Info: () => Info14,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service67,
|
|
21
|
+
node: () => node72
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID11 = PermissionSaved.ID;
|
|
29
|
+
var Info14 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service67 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service80).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID11.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service67.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node72 = makeGlobalNode({ service: Service67, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID11, Info14, ListInput4, AddInput2, Service67, node72, exports_saved };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-189kb88v.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-tjncz0mj.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID14,
|
|
25
|
+
Info: () => Info28,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service75,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node80
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID14 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info28 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID14,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service75 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info28({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service75.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info28({
|
|
80
|
+
id: ID14.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node80 = makeGlobalNode({ service: Service75, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID14, OAuth3, Key4, Value2, Event19, Info28, Service75, node80, exports_credential };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-52zfrmt1.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-273h6293.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make23,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service8,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service8.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node11 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service8, node11, exports_discovery };
|