@opencode/core 0.0.0-dev-19519 → 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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +3 -3
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{aisdk-axzgnajw.js → ripgrep-029gxqke.js} +36 -36
- package/dist/chunks/{aisdk-0bm6edds.js → ripgrep-03m5yc2w.js} +15 -15
- package/dist/chunks/{aisdk-yd9wcedj.js → ripgrep-0a0yz20b.js} +23 -23
- package/dist/chunks/{aisdk-6sth7kcr.js → ripgrep-0bps82y7.js} +6 -6
- package/dist/chunks/ripgrep-0mesazry.js +4 -0
- package/dist/chunks/{aisdk-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{aisdk-0q0f95c6.js → ripgrep-0q0f95c6.js} +1 -1
- package/dist/chunks/{aisdk-gxsccdtc.js → ripgrep-15t60dpg.js} +41 -41
- package/dist/chunks/{aisdk-ncwp57gn.js → ripgrep-189kb88v.js} +11 -11
- package/dist/chunks/{aisdk-epaqsvmn.js → ripgrep-18e56dsp.js} +4 -4
- package/dist/chunks/{aisdk-ze2vws08.js → ripgrep-1902bdn8.js} +27 -27
- package/dist/chunks/{aisdk-gv6a8nnw.js → ripgrep-19d3sct9.js} +5 -5
- package/dist/chunks/{aisdk-y5h36fh7.js → ripgrep-19vea52x.js} +11 -11
- package/dist/chunks/{aisdk-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{aisdk-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{aisdk-c3fsn6h2.js → ripgrep-23va4g8n.js} +11 -11
- package/dist/chunks/{aisdk-2402vzrj.js → ripgrep-2402vzrj.js} +1 -1
- package/dist/chunks/{aisdk-xt6sjn1c.js → ripgrep-273h6293.js} +6 -6
- package/dist/chunks/{aisdk-z63w68vq.js → ripgrep-29x78va6.js} +6 -6
- package/dist/chunks/{aisdk-dj9sq318.js → ripgrep-2a4sgpmw.js} +5 -5
- package/dist/chunks/{aisdk-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{aisdk-bqmb3fxw.js → ripgrep-2k28pc1g.js} +16 -16
- package/dist/chunks/{aisdk-mce7j10b.js → ripgrep-2k2kkdba.js} +11 -11
- package/dist/chunks/{aisdk-219neeqh.js → ripgrep-2ve45fd6.js} +5 -5
- package/dist/chunks/{aisdk-eyg9ws1k.js → ripgrep-2zr7sd05.js} +21 -21
- package/dist/chunks/{aisdk-t1f31a8j.js → ripgrep-3916sf1y.js} +27 -27
- package/dist/chunks/{aisdk-dg3h0a92.js → ripgrep-3cfxxyky.js} +17 -17
- package/dist/chunks/{aisdk-s1awdw9x.js → ripgrep-3cwb9jzf.js} +7 -7
- package/dist/chunks/{aisdk-pzhysev7.js → ripgrep-3e0pbzwc.js} +8 -8
- package/dist/chunks/{aisdk-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{aisdk-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-3cgpfn1y.js → ripgrep-3svns4sc.js} +6 -6
- package/dist/chunks/{aisdk-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-kw3rpzz6.js → ripgrep-3xagmvq1.js} +8 -8
- package/dist/chunks/{aisdk-265kqrgy.js → ripgrep-4786se8r.js} +1 -1
- package/dist/chunks/{aisdk-wa0m3aez.js → ripgrep-4fzjfb08.js} +29 -29
- package/dist/chunks/{aisdk-anqp1ket.js → ripgrep-4sfcqppx.js} +2 -2
- package/dist/chunks/{aisdk-kt3y8h6r.js → ripgrep-4svbav50.js} +47 -47
- package/dist/chunks/{aisdk-m6g7jkxp.js → ripgrep-4wnp65at.js} +7 -7
- package/dist/chunks/{aisdk-4y66k410.js → ripgrep-4y66k410.js} +2 -2
- package/dist/chunks/{aisdk-hec2v6w6.js → ripgrep-4ypr07qq.js} +47 -47
- package/dist/chunks/{aisdk-p1a96z2b.js → ripgrep-4z15ngcr.js} +14 -14
- package/dist/chunks/{aisdk-xghvv9rn.js → ripgrep-52zfrmt1.js} +1 -1
- package/dist/chunks/{aisdk-3970aszm.js → ripgrep-5425k34f.js} +19 -19
- package/dist/chunks/{aisdk-1awgbxp7.js → ripgrep-55ec9169.js} +9 -9
- package/dist/chunks/{aisdk-1ygqh575.js → ripgrep-56gdpj1q.js} +9 -9
- package/dist/chunks/{aisdk-p8wja8y5.js → ripgrep-56gqpxz5.js} +63 -63
- package/dist/chunks/{aisdk-pzd97zp3.js → ripgrep-56tq4mad.js} +11 -11
- package/dist/chunks/{aisdk-kzwbfm8p.js → ripgrep-585pw9ae.js} +22 -22
- package/dist/chunks/{aisdk-a1bz86dw.js → ripgrep-5c4hm403.js} +3 -3
- package/dist/chunks/{aisdk-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{aisdk-xw4p555a.js → ripgrep-5pegjrmw.js} +32 -32
- package/dist/chunks/ripgrep-5sag4wt5.js +22 -0
- package/dist/chunks/{aisdk-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{aisdk-26688qyv.js → ripgrep-65jk6x65.js} +26 -26
- package/dist/chunks/{aisdk-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{aisdk-kwh8rdnc.js → ripgrep-68sqcc23.js} +8 -8
- package/dist/chunks/{aisdk-1vang8nn.js → ripgrep-693j5c0s.js} +6 -6
- package/dist/chunks/{aisdk-2bdehndw.js → ripgrep-6hegse3n.js} +19 -19
- package/dist/chunks/{aisdk-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{aisdk-5pddvan8.js → ripgrep-6x7sck92.js} +17 -17
- package/dist/chunks/{aisdk-71q4at8m.js → ripgrep-71q4at8m.js} +1 -1
- package/dist/chunks/{aisdk-jfqtm2ew.js → ripgrep-73gmm198.js} +4 -4
- package/dist/chunks/{aisdk-4z8f8a6g.js → ripgrep-795tw062.js} +23 -23
- package/dist/chunks/{aisdk-k5gqmr58.js → ripgrep-798sgk8w.js} +11 -11
- package/dist/chunks/{aisdk-5xtgfte3.js → ripgrep-7b15y959.js} +8 -8
- package/dist/chunks/{aisdk-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-7dqw4kz8.js → ripgrep-7dqw4kz8.js} +1 -1
- package/dist/chunks/{aisdk-ybax85s4.js → ripgrep-7mbgx17m.js} +26 -26
- package/dist/chunks/{aisdk-pxgfjhef.js → ripgrep-7q1g2eq3.js} +286 -286
- package/dist/chunks/{aisdk-2bvfj2rk.js → ripgrep-7y5jkdce.js} +13 -13
- package/dist/chunks/{aisdk-mhkvc446.js → ripgrep-7yh4e7ss.js} +3 -3
- package/dist/chunks/{aisdk-e33xfcyq.js → ripgrep-82f74kwp.js} +29 -29
- package/dist/chunks/{aisdk-6tt5evqq.js → ripgrep-89smrnyf.js} +4 -4
- package/dist/chunks/{aisdk-t2p9dx1c.js → ripgrep-8a0b7fze.js} +4 -4
- package/dist/chunks/{aisdk-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{aisdk-vpznpbtb.js → ripgrep-8evqb545.js} +17 -17
- package/dist/chunks/{aisdk-nxhqveyz.js → ripgrep-8jxztqqt.js} +5 -5
- package/dist/chunks/{aisdk-jxt4v063.js → ripgrep-8qvgnq7a.js} +5 -5
- package/dist/chunks/{aisdk-gnmm0eyh.js → ripgrep-8recqrg4.js} +6 -6
- package/dist/chunks/{aisdk-cmcggjyd.js → ripgrep-9c1qwqga.js} +9 -9
- package/dist/chunks/{aisdk-244ce5kg.js → ripgrep-9d8v8ke2.js} +12 -12
- package/dist/chunks/{aisdk-jvjn3aa2.js → ripgrep-9fqgd0wm.js} +13 -13
- package/dist/chunks/{aisdk-d50f2zf5.js → ripgrep-9gyd2w40.js} +1 -1
- package/dist/chunks/{aisdk-hq13sp65.js → ripgrep-9pf502c0.js} +12 -12
- package/dist/chunks/{aisdk-jdh6s7jq.js → ripgrep-9pm6y0s1.js} +8 -8
- package/dist/chunks/ripgrep-9sh4wc5j.js +18 -0
- package/dist/chunks/{aisdk-g6cp7sgb.js → ripgrep-9vad26s7.js} +46 -46
- package/dist/chunks/{aisdk-4d4ewk63.js → ripgrep-9xx88crh.js} +60 -60
- package/dist/chunks/{aisdk-wpqx8hg0.js → ripgrep-a45m2fkf.js} +32 -32
- package/dist/chunks/{aisdk-f7e914y9.js → ripgrep-a4xw13fr.js} +23 -23
- package/dist/chunks/{aisdk-wa6svv6d.js → ripgrep-a5m36ryz.js} +5 -5
- package/dist/chunks/{aisdk-70n0c9wz.js → ripgrep-a6ztjttg.js} +15 -15
- package/dist/chunks/{aisdk-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{aisdk-r9359xqd.js → ripgrep-aph4g9qx.js} +22 -22
- package/dist/chunks/{aisdk-19dwmd9m.js → ripgrep-ar8vnhha.js} +36 -36
- package/dist/chunks/{aisdk-rk0rec3h.js → ripgrep-awbdwcvp.js} +9 -9
- package/dist/chunks/{aisdk-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{aisdk-5svkfz8e.js → ripgrep-bj2hb5dm.js} +34 -34
- package/dist/chunks/{aisdk-qjwa214h.js → ripgrep-bn56f23d.js} +11 -11
- package/dist/chunks/{aisdk-b6b3hb57.js → ripgrep-bnaeqmzy.js} +25 -25
- package/dist/chunks/{aisdk-gwydwvmj.js → ripgrep-bw0vgseb.js} +8 -8
- package/dist/chunks/{aisdk-qm02pys1.js → ripgrep-c4pfxw5s.js} +9 -9
- package/dist/chunks/{aisdk-ddxwkhz9.js → ripgrep-c7gc6yv9.js} +21 -21
- package/dist/chunks/{aisdk-sd60vjdv.js → ripgrep-cg3re8yn.js} +22 -22
- package/dist/chunks/{aisdk-wavq5vqb.js → ripgrep-cza9j1er.js} +1 -1
- package/dist/chunks/{aisdk-5td81y36.js → ripgrep-dh46x48g.js} +16 -16
- package/dist/chunks/{aisdk-e2hjzebn.js → ripgrep-dhmh7aw6.js} +4 -4
- package/dist/chunks/{aisdk-8p4f9s12.js → ripgrep-dj2t23y0.js} +2 -2
- package/dist/chunks/{aisdk-wsrtcsj8.js → ripgrep-ds2mmwsg.js} +8 -8
- package/dist/chunks/{aisdk-7w99qc9d.js → ripgrep-dv250zvr.js} +3 -3
- package/dist/chunks/{aisdk-0pb75hch.js → ripgrep-dw1fjyb0.js} +5 -5
- package/dist/chunks/{aisdk-ps5sf8py.js → ripgrep-dwcdeas1.js} +45 -45
- package/dist/chunks/{aisdk-sy6czt1v.js → ripgrep-dxkw8z59.js} +27 -27
- package/dist/chunks/{aisdk-cvtmmhw6.js → ripgrep-e17bkqjz.js} +1 -1
- package/dist/chunks/{aisdk-0xmhxrpt.js → ripgrep-e8ac3wj7.js} +14 -14
- package/dist/chunks/{aisdk-35wynegs.js → ripgrep-ea8nv0r7.js} +2 -2
- package/dist/chunks/{aisdk-w0888ddm.js → ripgrep-ebtmksy4.js} +15 -15
- package/dist/chunks/{aisdk-5h7adtbk.js → ripgrep-ecbpcs26.js} +5 -5
- package/dist/chunks/{aisdk-7tsf3dvt.js → ripgrep-esxf2z81.js} +10 -10
- package/dist/chunks/{aisdk-4780s8zr.js → ripgrep-etjd8m3h.js} +9 -9
- package/dist/chunks/{aisdk-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{aisdk-t1pd95j1.js → ripgrep-eynhbbrp.js} +4 -4
- package/dist/chunks/{aisdk-rjhjfq7n.js → ripgrep-ez9ncaqn.js} +22 -22
- package/dist/chunks/{aisdk-w79n40hd.js → ripgrep-f0zqv8cz.js} +47 -47
- package/dist/chunks/{aisdk-fnsnmz3s.js → ripgrep-fgjcw7nx.js} +11 -11
- package/dist/chunks/{aisdk-h2r7bbkd.js → ripgrep-fk64qee0.js} +11 -11
- package/dist/chunks/{aisdk-fxbjtjnd.js → ripgrep-fxbjtjnd.js} +1 -1
- package/dist/chunks/{aisdk-9eh6sf6d.js → ripgrep-fyjp43ss.js} +5 -5
- package/dist/chunks/{aisdk-6dxd8b4m.js → ripgrep-g0zjwb8j.js} +35 -35
- package/dist/chunks/{aisdk-33n3bzdy.js → ripgrep-g14zqp48.js} +6 -6
- package/dist/chunks/{aisdk-5cegyqsx.js → ripgrep-g1sy3t6s.js} +29 -29
- package/dist/chunks/{aisdk-3kasv3ej.js → ripgrep-g2a831m9.js} +15 -15
- package/dist/chunks/{aisdk-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-nk984zqg.js → ripgrep-gj6rcz70.js} +9 -9
- package/dist/chunks/{aisdk-n0pywpq4.js → ripgrep-gk2407r3.js} +6 -6
- package/dist/chunks/{aisdk-n3gg6d5p.js → ripgrep-gnrgb9v9.js} +7 -7
- package/dist/chunks/{aisdk-q7j71zxc.js → ripgrep-gqm3etmd.js} +28 -28
- package/dist/chunks/{aisdk-h03wrkyp.js → ripgrep-h03wrkyp.js} +2 -2
- package/dist/chunks/{aisdk-9wxns9qt.js → ripgrep-h5eqzpkj.js} +171 -171
- package/dist/chunks/{aisdk-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-m05zvapk.js → ripgrep-hb36k1xj.js} +9 -9
- package/dist/chunks/{aisdk-xbvrr98x.js → ripgrep-hbqwmcym.js} +18 -18
- package/dist/chunks/{aisdk-f828m53h.js → ripgrep-hdnk95c8.js} +2 -2
- package/dist/chunks/{aisdk-m91kavyw.js → ripgrep-hkf2qys9.js} +6 -6
- package/dist/chunks/{aisdk-06dxphr1.js → ripgrep-hrndf12w.js} +4 -4
- package/dist/chunks/{aisdk-5kptn8c0.js → ripgrep-hrvd6t1f.js} +9 -9
- package/dist/chunks/{aisdk-ww8p5b1k.js → ripgrep-hsgwetrq.js} +9 -9
- package/dist/chunks/{aisdk-a0e3cbw8.js → ripgrep-hw6f026f.js} +4 -4
- package/dist/chunks/{aisdk-msk50a9j.js → ripgrep-j4c2y7gg.js} +24 -24
- package/dist/chunks/{aisdk-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{aisdk-5cge38yz.js → ripgrep-j7twb6sd.js} +26 -26
- package/dist/chunks/{aisdk-paphc93g.js → ripgrep-j935v87r.js} +2 -2
- package/dist/chunks/{aisdk-924smr84.js → ripgrep-j9e0mrh2.js} +43 -43
- package/dist/chunks/{aisdk-ne2cd2m1.js → ripgrep-ja0fapct.js} +20 -20
- package/dist/chunks/{aisdk-mz6ae2yf.js → ripgrep-jeanpfns.js} +1 -1
- package/dist/chunks/{aisdk-xbpna4bp.js → ripgrep-jfpf741x.js} +12 -12
- package/dist/chunks/{aisdk-wp00kwxt.js → ripgrep-jn8gnkkx.js} +23 -23
- package/dist/chunks/{aisdk-s9yxznb6.js → ripgrep-jwjk52g2.js} +4 -4
- package/dist/chunks/{aisdk-ey7s2smf.js → ripgrep-k1t251yf.js} +18 -18
- package/dist/chunks/{aisdk-4z647y8j.js → ripgrep-k4cgc9a3.js} +63 -63
- package/dist/chunks/{aisdk-sk749243.js → ripgrep-k7c8rbx5.js} +32 -32
- package/dist/chunks/{aisdk-mk2528ak.js → ripgrep-k8kd5w7n.js} +11 -11
- package/dist/chunks/{aisdk-saf0zegx.js → ripgrep-k9gn0ad9.js} +13 -13
- package/dist/chunks/{aisdk-qbteesy0.js → ripgrep-kcb8efe6.js} +20 -20
- package/dist/chunks/{aisdk-yhz9n5rz.js → ripgrep-kd6sn3q5.js} +34 -34
- package/dist/chunks/{aisdk-th38bspn.js → ripgrep-ked90xm8.js} +5 -5
- package/dist/chunks/{aisdk-gsx0ryk4.js → ripgrep-ket1x0yc.js} +2 -2
- package/dist/chunks/{aisdk-kg06axw8.js → ripgrep-kg06axw8.js} +1 -1
- package/dist/chunks/{aisdk-7d86regf.js → ripgrep-kg76qfxw.js} +43 -43
- package/dist/chunks/{aisdk-cfpkc3c9.js → ripgrep-m0jqrx5p.js} +2 -2
- package/dist/chunks/{aisdk-k3a2w7sd.js → ripgrep-m7y3f53v.js} +4 -4
- package/dist/chunks/{aisdk-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-gfm5qb5s.js → ripgrep-makktzfn.js} +11 -11
- package/dist/chunks/{aisdk-c1p0t0c6.js → ripgrep-mgrb5prq.js} +22 -22
- package/dist/chunks/{aisdk-9wh61bgm.js → ripgrep-mqgn8hcj.js} +29 -29
- package/dist/chunks/{aisdk-fa8bhyre.js → ripgrep-mqhr8xm6.js} +24 -24
- package/dist/chunks/{aisdk-6rxp5wnv.js → ripgrep-mttv9c64.js} +12 -12
- package/dist/chunks/{aisdk-pt65ttd0.js → ripgrep-n0prnbcg.js} +12 -12
- package/dist/chunks/{aisdk-7gtpvgdx.js → ripgrep-n39gyvgw.js} +17 -17
- package/dist/chunks/{aisdk-0r7yqxbf.js → ripgrep-n92pz7zc.js} +5 -5
- package/dist/chunks/{aisdk-rphdqnvd.js → ripgrep-neqk7dw9.js} +30 -30
- package/dist/chunks/{aisdk-858cj2yj.js → ripgrep-nftwv1dv.js} +36 -36
- package/dist/chunks/{aisdk-ng5bkzwz.js → ripgrep-ngn3zv13.js} +20 -20
- package/dist/chunks/{aisdk-nhy5jxhy.js → ripgrep-nhy5jxhy.js} +1 -1
- package/dist/chunks/{aisdk-nv5vn7qx.js → ripgrep-nv5vn7qx.js} +2 -2
- package/dist/chunks/{aisdk-azy7dvcj.js → ripgrep-nz99f8xd.js} +35 -35
- package/dist/chunks/{aisdk-5q7r74pf.js → ripgrep-p6s6v31b.js} +21 -21
- package/dist/chunks/{aisdk-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{aisdk-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-n4x12xf7.js → ripgrep-pqbv8h9y.js} +41 -41
- package/dist/chunks/ripgrep-pr17jsva.js +247 -0
- package/dist/chunks/{aisdk-252gv536.js → ripgrep-pvx4ycye.js} +10 -10
- package/dist/chunks/{aisdk-73h4t500.js → ripgrep-pwr8fgkg.js} +12 -12
- package/dist/chunks/{aisdk-pf455e0p.js → ripgrep-q6jxhr7p.js} +10 -10
- package/dist/chunks/{aisdk-9dq8a76t.js → ripgrep-q7vxj98b.js} +8 -8
- package/dist/chunks/{aisdk-akybccbs.js → ripgrep-qa4rp7fn.js} +9 -9
- package/dist/chunks/{aisdk-m5mymr4j.js → ripgrep-qbc1vncp.js} +22 -22
- package/dist/chunks/{aisdk-kwk78dnv.js → ripgrep-qj6a8geq.js} +15 -15
- package/dist/chunks/{aisdk-70d2s7af.js → ripgrep-qmy7xtej.js} +1 -1
- package/dist/chunks/{aisdk-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-zdw85t5j.js → ripgrep-qvmqnmmt.js} +43 -43
- package/dist/chunks/{aisdk-5y0b1sf4.js → ripgrep-qxd59bx2.js} +11 -11
- package/dist/chunks/{aisdk-224w1t6x.js → ripgrep-r12m2gvw.js} +29 -29
- package/dist/chunks/{aisdk-xp1j24tq.js → ripgrep-r14b6q3s.js} +45 -45
- package/dist/chunks/{aisdk-r9mregkx.js → ripgrep-r9mregkx.js} +2 -2
- package/dist/chunks/{aisdk-tryx8gd9.js → ripgrep-ra8yf1dm.js} +9 -9
- package/dist/chunks/{aisdk-6ersrjne.js → ripgrep-rp8jz6x1.js} +6 -6
- package/dist/chunks/{aisdk-zeh9ct20.js → ripgrep-rq775frq.js} +2 -2
- package/dist/chunks/{aisdk-j7se7r15.js → ripgrep-rqy9czj1.js} +18 -18
- package/dist/chunks/{aisdk-m4z4h769.js → ripgrep-rt0tzyzc.js} +17 -17
- package/dist/chunks/{aisdk-f3vnnygg.js → ripgrep-rt5nc7f1.js} +6 -6
- package/dist/chunks/{aisdk-peryqyrz.js → ripgrep-rvjgzqwq.js} +73 -73
- package/dist/chunks/{aisdk-kvexghzj.js → ripgrep-rz87j40z.js} +30 -30
- package/dist/chunks/{aisdk-yrznvahk.js → ripgrep-s4enseaf.js} +2 -2
- package/dist/chunks/{aisdk-fmrt92vm.js → ripgrep-s5kxrhz6.js} +10 -10
- package/dist/chunks/{aisdk-fbxj5bg3.js → ripgrep-s69d0rhj.js} +28 -28
- package/dist/chunks/{aisdk-qdw968f8.js → ripgrep-s6xr1hpd.js} +25 -25
- package/dist/chunks/{aisdk-s8d7rejh.js → ripgrep-s8d7rejh.js} +1 -1
- package/dist/chunks/{aisdk-s617fcbn.js → ripgrep-sa4c2d0v.js} +4 -4
- package/dist/chunks/{aisdk-zgfa8dqj.js → ripgrep-sasnma5y.js} +25 -25
- package/dist/chunks/{aisdk-s7z8792h.js → ripgrep-scqya4gj.js} +7 -7
- package/dist/chunks/{aisdk-139g1kzm.js → ripgrep-sh6mjzwx.js} +18 -18
- package/dist/chunks/{aisdk-a4mz35v6.js → ripgrep-syz7yhpm.js} +21 -21
- package/dist/chunks/{aisdk-sp9f9gq5.js → ripgrep-t3cqppxt.js} +9 -9
- package/dist/chunks/{aisdk-2e96adxv.js → ripgrep-t3pn2srw.js} +9 -9
- package/dist/chunks/{aisdk-jw80jp6b.js → ripgrep-t51qk8jz.js} +21 -21
- package/dist/chunks/{aisdk-sednt3jq.js → ripgrep-t6dm0qrg.js} +30 -30
- package/dist/chunks/{aisdk-ccsjbhvb.js → ripgrep-tarep50r.js} +13 -13
- package/dist/chunks/{aisdk-tddm3rmf.js → ripgrep-tayeq9hg.js} +17 -17
- package/dist/chunks/{aisdk-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
- package/dist/chunks/{aisdk-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{aisdk-jr3e8pb9.js → ripgrep-tfk0ak3w.js} +5 -5
- package/dist/chunks/{aisdk-dkvgqwgn.js → ripgrep-tfk1j7dq.js} +43 -43
- package/dist/chunks/{aisdk-0artwwxx.js → ripgrep-tgqjfyja.js} +3 -3
- package/dist/chunks/{aisdk-kdhns56g.js → ripgrep-thqzz5bd.js} +23 -23
- package/dist/chunks/{aisdk-1jf9k91m.js → ripgrep-tjjqevy4.js} +11 -11
- package/dist/chunks/{aisdk-mdgf1tr5.js → ripgrep-tjncz0mj.js} +16 -16
- package/dist/chunks/{aisdk-0mh9zxm8.js → ripgrep-tkn615h0.js} +3 -3
- package/dist/chunks/{aisdk-y6y6c1gd.js → ripgrep-tt6n2bdb.js} +7 -7
- package/dist/chunks/{aisdk-ems07c8m.js → ripgrep-tvbftpt7.js} +6 -6
- package/dist/chunks/{aisdk-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{aisdk-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-awhc7e7g.js → ripgrep-vfefw32n.js} +4 -4
- package/dist/chunks/{aisdk-0smbfg2x.js → ripgrep-vv5etkqr.js} +17 -17
- package/dist/chunks/{aisdk-ek5ar3qc.js → ripgrep-vvww6z2v.js} +11 -11
- package/dist/chunks/{aisdk-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{aisdk-cvp7ggs2.js → ripgrep-w36hd28z.js} +9 -9
- package/dist/chunks/{aisdk-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-nnk8dd8x.js → ripgrep-w5enr2n1.js} +10 -10
- package/dist/chunks/{aisdk-aw8000ag.js → ripgrep-wahmyx3j.js} +8 -8
- package/dist/chunks/{aisdk-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-d5w2qn28.js → ripgrep-wdxjhaa6.js} +16 -16
- package/dist/chunks/{aisdk-2j2abz0x.js → ripgrep-wh1eej68.js} +13 -13
- package/dist/chunks/{aisdk-478b42xc.js → ripgrep-wy91bkd0.js} +20 -20
- package/dist/chunks/{aisdk-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{aisdk-hq59abab.js → ripgrep-x38mj0ya.js} +86 -86
- package/dist/chunks/{aisdk-2gpc374w.js → ripgrep-x4jgrabg.js} +4 -4
- package/dist/chunks/{aisdk-h09j9c2e.js → ripgrep-x84xvd1n.js} +17 -17
- package/dist/chunks/{aisdk-fnnct887.js → ripgrep-xk1mwkvz.js} +35 -29
- package/dist/chunks/{aisdk-e9nz6801.js → ripgrep-xntwgtxc.js} +15 -15
- package/dist/chunks/{aisdk-hz9157mg.js → ripgrep-xpn5exb3.js} +5 -5
- package/dist/chunks/{aisdk-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{aisdk-0tpmsbdx.js → ripgrep-y2wcncat.js} +28 -28
- package/dist/chunks/{aisdk-3978dcz8.js → ripgrep-y361e8w3.js} +20 -20
- package/dist/chunks/{aisdk-dpkg50ah.js → ripgrep-y71avatq.js} +4 -4
- package/dist/chunks/{aisdk-5fg8kh1z.js → ripgrep-ybpn653b.js} +4 -4
- package/dist/chunks/{aisdk-vyqn3nqs.js → ripgrep-yhemyvg6.js} +6 -6
- package/dist/chunks/{aisdk-rhraev7y.js → ripgrep-yp2x3t23.js} +4 -4
- package/dist/chunks/{aisdk-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{aisdk-pvp6d6mk.js → ripgrep-yxtae5qy.js} +29 -29
- package/dist/chunks/{aisdk-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-de74m766.js → ripgrep-zj1vh5fc.js} +16 -16
- package/dist/chunks/{aisdk-nng2ktcm.js → ripgrep-zpd6x7fe.js} +2 -2
- package/dist/chunks/{aisdk-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{aisdk-ve4pfa0n.js → ripgrep-zv8jbdmn.js} +4 -4
- package/dist/chunks/{aisdk-sqcj7v6g.js → ripgrep-zwzhnca6.js} +24 -24
- package/dist/chunks/{aisdk-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- 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 +118 -118
- package/dist/config/plugin/command.js +210 -210
- 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 +127 -127
- 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 +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- 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 +69 -69
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +73 -73
- 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 +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +103 -101
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +81 -81
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +349 -349
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +96 -96
- package/dist/mcp/instructions.js +119 -119
- 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 +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- 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 +100 -100
- package/dist/plugin/command.js +97 -97
- 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 +2 -2
- 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 +79 -79
- 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 +75 -75
- 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 +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +223 -223
- 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 +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +85 -85
- 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 +124 -124
- package/dist/session/context.js +146 -146
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +15 -15
- 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 +110 -110
- package/dist/session/model-transport.js +5 -5
- 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 +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- 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 +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +219 -219
- 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 +2 -2
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +108 -108
- 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 +118 -118
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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 +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- 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/aisdk-3c9tahfk.js +0 -247
- package/dist/chunks/aisdk-gyce5qg1.js +0 -18
- package/dist/chunks/aisdk-qapv375x.js +0 -4
- package/dist/chunks/aisdk-za368f76.js +0 -22
- /package/dist/chunks/{aisdk-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{aisdk-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{aisdk-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{aisdk-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{aisdk-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-hrnqkpcd.js → ripgrep-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{aisdk-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{aisdk-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-twg0f83k.js → ripgrep-twg0f83k.js} +0 -0
- /package/dist/chunks/{aisdk-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{aisdk-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service76
|
|
8
|
+
} from "./ripgrep-tayeq9hg.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service61
|
|
11
|
+
} from "./ripgrep-j4c2y7gg.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./ripgrep-a6ztjttg.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service13,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-9fqgd0wm.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service66
|
|
22
|
+
} from "./ripgrep-9xx88crh.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service65,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-x84xvd1n.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input12,
|
|
39
|
+
Output: () => Output8,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin31,
|
|
42
|
+
name: () => name12,
|
|
43
|
+
toModelContent: () => toModelContent6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name12 = "patch";
|
|
89
|
+
var Input12 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output8 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent6 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin31 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service61;
|
|
112
|
+
const access = yield* Service65;
|
|
113
|
+
const fileMutation = yield* Service13;
|
|
114
|
+
const formatter = yield* Service16;
|
|
115
|
+
const location = yield* Service76;
|
|
116
|
+
const permission = yield* Service66;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name12,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input12,
|
|
122
|
+
output: Output8,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin41 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent6(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -323,4 +323,4 @@ function trimDiff(diff) {
|
|
|
323
323
|
`);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { name12, Input12, Applied2, Output8, toModelContent6, Plugin31, exports_patch };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options5,
|
|
15
|
+
Service: () => Service39,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured6,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list3,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node44,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve2
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options5 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service39 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list3(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service39.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list3(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured6(options) {
|
|
210
|
+
return makeLocationNode({ service: Service39, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node44 = configured6();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options5, Service39, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list3, configured6, node44, exports_select };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./ripgrep-r12m2gvw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./ripgrep-9xx88crh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service37
|
|
14
|
+
} from "./ripgrep-65jk6x65.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input5,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin23,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
26
|
description: () => description4,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name5
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name5 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
@@ -39,28 +39,28 @@ var httpErrors = new Map([
|
|
|
39
39
|
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input5 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin23 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service66;
|
|
53
|
+
const forms = yield* Service57;
|
|
54
|
+
const websearch = yield* Service37;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name5,
|
|
57
57
|
options: { codemode: false },
|
|
58
58
|
description: description4,
|
|
59
|
-
input:
|
|
59
|
+
input: Input5,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name5,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name5];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name5, NO_RESULTS2, description4, Input5, Plugin23, exports_websearch2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service49,
|
|
10
|
+
node: () => node53
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service49 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node53 = LayerNode.unbound(Service49, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service49, node53, exports_service2 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID12,
|
|
3
|
+
Service70
|
|
4
|
+
} from "./ripgrep-dxkw8z59.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service71
|
|
8
|
+
} from "./ripgrep-kg76qfxw.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-dv250zvr.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service51
|
|
14
|
+
} from "./ripgrep-8evqb545.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service66
|
|
18
|
+
} from "./ripgrep-9xx88crh.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service20
|
|
21
|
+
} from "./ripgrep-x38mj0ya.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./ripgrep-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make5
|
|
27
|
+
} from "./ripgrep-k8kd5w7n.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input3,
|
|
36
|
+
Output: () => Output3,
|
|
37
|
+
Plugin: () => Plugin21,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
|
-
description: () =>
|
|
40
|
-
name: () =>
|
|
39
|
+
description: () => description2,
|
|
40
|
+
name: () => name3
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name3 = "subagent";
|
|
45
45
|
var backgroundResult = (sessionID) => ({
|
|
46
46
|
sessionID,
|
|
47
47
|
status: "running",
|
|
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
52
52
|
].join(`
|
|
53
53
|
`)
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input3 = Schema.Struct({
|
|
56
56
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
57
57
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
58
58
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
@@ -63,12 +63,12 @@ var Input12 = Schema.Struct({
|
|
|
63
63
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
|
-
var
|
|
66
|
+
var Output3 = Schema.Struct({
|
|
67
67
|
sessionID: SessionSchema2.ID,
|
|
68
68
|
status: Schema.Literals(["completed", "running"]),
|
|
69
69
|
output: Schema.String
|
|
70
70
|
});
|
|
71
|
-
var
|
|
71
|
+
var description2 = [
|
|
72
72
|
"Spawns an agent in a child session to work on the specified task.",
|
|
73
73
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
74
74
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -77,21 +77,21 @@ var description5 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin21 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
84
|
-
const jobs = yield*
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
88
|
-
const subagents = yield*
|
|
83
|
+
const sessions = yield* Service20;
|
|
84
|
+
const jobs = yield* Service51;
|
|
85
|
+
const agents = yield* Service70;
|
|
86
|
+
const config = yield* Service71;
|
|
87
|
+
const permission = yield* Service66;
|
|
88
|
+
const subagents = yield* make5;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name3,
|
|
91
91
|
options: { codemode: false },
|
|
92
|
-
description:
|
|
93
|
-
input:
|
|
94
|
-
output:
|
|
92
|
+
description: description2,
|
|
93
|
+
input: Input3,
|
|
94
|
+
output: Output3,
|
|
95
95
|
execute: (input, context) => Effect.gen(function* () {
|
|
96
96
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
97
97
|
let current = parent;
|
|
@@ -111,7 +111,7 @@ var Plugin44 = {
|
|
|
111
111
|
if (agent.mode === "primary")
|
|
112
112
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name3,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -134,7 +134,7 @@ var Plugin44 = {
|
|
|
134
134
|
const child = existing ?? (yield* sessions.create({
|
|
135
135
|
parentID: context.sessionID,
|
|
136
136
|
title: input.description,
|
|
137
|
-
agent:
|
|
137
|
+
agent: ID12.make(input.agent),
|
|
138
138
|
model
|
|
139
139
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
140
140
|
const background = input.background === true;
|
|
@@ -184,13 +184,13 @@ ${output.output}
|
|
|
184
184
|
})))
|
|
185
185
|
})).pipe(Effect.orDie);
|
|
186
186
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
187
|
-
const tool = event.tools[
|
|
187
|
+
const tool = event.tools[name3];
|
|
188
188
|
if (!tool)
|
|
189
189
|
return;
|
|
190
190
|
const selected = yield* agents.resolve(event.agent);
|
|
191
191
|
if (!selected)
|
|
192
192
|
return;
|
|
193
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
193
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
194
194
|
if (available.length === 0)
|
|
195
195
|
return;
|
|
196
196
|
tool.description = [
|
|
@@ -204,4 +204,4 @@ ${output.output}
|
|
|
204
204
|
})
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { name3, Input3, Output3, description2, Plugin21, exports_subagent };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-273h6293.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-tkn615h0.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service80,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer26,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node85
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -30,9 +30,9 @@ var Options11 = Schema.Struct({
|
|
|
30
30
|
path: Schema.optional(Schema.String)
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class Service80 extends Context.Service()("@opencode/storage/Database") {
|
|
34
34
|
}
|
|
35
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
35
|
+
var databaseLayer = (lock) => Layer.effect(Service80, Effect.gen(function* () {
|
|
36
36
|
const db = yield* makeDatabase;
|
|
37
37
|
if (supportsTuningPragmas) {
|
|
38
38
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -68,15 +68,15 @@ function layer26(options = { path: ":memory:" }) {
|
|
|
68
68
|
}
|
|
69
69
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
70
70
|
function configured13(options) {
|
|
71
|
-
return makeGlobalNode({ service:
|
|
71
|
+
return makeGlobalNode({ service: Service80, layer: layer26(options), deps: [Global.node] });
|
|
72
72
|
}
|
|
73
73
|
function configuredClient2(client) {
|
|
74
74
|
return makeGlobalNode({
|
|
75
|
-
service:
|
|
75
|
+
service: Service80,
|
|
76
76
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
77
77
|
deps: [Global.node]
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var node85 = configured13({ path: ":memory:" });
|
|
81
81
|
|
|
82
|
-
export { Options11,
|
|
82
|
+
export { Options11, Service80, layer26, layerFromClient2, configured13, configuredClient2, node85, exports_database };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin42
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin42 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin8 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin42, exports_mcp_codemode_exclusion };
|