@opencode/core 0.0.0-beta-19365 → 0.0.0-beta-19381
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{location-services-qx0n0hnh.js → ripgrep-02vzrq4v.js} +19 -19
- package/dist/chunks/{location-services-pn1pd4vv.js → ripgrep-02wxma9h.js} +23 -23
- package/dist/chunks/{location-services-cf55n9f0.js → ripgrep-08rsf5c2.js} +6 -6
- package/dist/chunks/{location-services-4twgxvm9.js → ripgrep-0bqp4044.js} +16 -16
- package/dist/chunks/{location-services-g4k0nsm5.js → ripgrep-0d2qkrjy.js} +4 -4
- package/dist/chunks/{location-services-0jwsre1p.js → ripgrep-0jwsre1p.js} +1 -1
- package/dist/chunks/{location-services-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-0q0f95c6.js → ripgrep-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-services-q6fregp6.js → ripgrep-0ztccmq1.js} +8 -8
- package/dist/chunks/{location-services-z69s9t6b.js → ripgrep-1ah30sey.js} +5 -5
- package/dist/chunks/{location-services-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-1dfhrqqs.js → ripgrep-1dfhrqqs.js} +2 -2
- package/dist/chunks/{location-services-hzzdchkt.js → ripgrep-1psq7yq3.js} +9 -9
- package/dist/chunks/{location-services-hapx9efs.js → ripgrep-1v7ta698.js} +11 -11
- package/dist/chunks/{location-services-qq2qyb22.js → ripgrep-20as3pn0.js} +18 -18
- package/dist/chunks/{location-services-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-6h73sxmp.js → ripgrep-2402vzrj.js} +5 -5
- package/dist/chunks/{location-services-az0y13ra.js → ripgrep-29c8gkgr.js} +14 -14
- package/dist/chunks/{location-services-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-m27pyyd3.js → ripgrep-2d6j2h4j.js} +6 -6
- package/dist/chunks/{location-services-qq79xw43.js → ripgrep-2fbtx2rb.js} +41 -41
- package/dist/chunks/{location-services-wh6nx8gk.js → ripgrep-2j7qy3p8.js} +4 -4
- package/dist/chunks/ripgrep-2rkkddv9.js +22 -0
- package/dist/chunks/{location-services-qwnhvfyv.js → ripgrep-2stzc2h4.js} +41 -41
- package/dist/chunks/{location-services-pvg1h8v8.js → ripgrep-30hc21n9.js} +13 -13
- package/dist/chunks/{location-services-r9babyk8.js → ripgrep-31dz7cp4.js} +1 -1
- package/dist/chunks/{location-services-w79zsp0s.js → ripgrep-39r80e1r.js} +1 -1
- package/dist/chunks/{location-services-e6hd9jay.js → ripgrep-3b1q5j1v.js} +6 -6
- package/dist/chunks/{location-services-cag037j2.js → ripgrep-3ddgt7af.js} +40 -40
- package/dist/chunks/{location-services-gdvy8fx6.js → ripgrep-3fc6dm20.js} +4 -4
- package/dist/chunks/{location-services-zpdf8d1q.js → ripgrep-3fzpdmpf.js} +16 -16
- package/dist/chunks/{location-services-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-v6x176th.js → ripgrep-3krnmj08.js} +61 -61
- package/dist/chunks/{location-services-6fwabw78.js → ripgrep-3n2394pg.js} +9 -9
- package/dist/chunks/{location-services-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-sm54wpq2.js → ripgrep-3sxvqcgp.js} +79 -79
- package/dist/chunks/{location-services-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-gyr4z3nc.js → ripgrep-4890d2ba.js} +13 -13
- package/dist/chunks/{location-services-dsgqmc9d.js → ripgrep-4ayvwj3v.js} +28 -19
- package/dist/chunks/{location-services-0r684n0p.js → ripgrep-4c2df9zx.js} +8 -8
- package/dist/chunks/{location-services-ew99gprq.js → ripgrep-4eetnmxa.js} +3 -3
- package/dist/chunks/{location-services-1x1zf2vh.js → ripgrep-50ztztte.js} +11 -11
- package/dist/chunks/{location-services-7vvv1tr8.js → ripgrep-52tre6wp.js} +23 -23
- package/dist/chunks/{location-services-zmcbp07n.js → ripgrep-52vg5n1p.js} +24 -24
- package/dist/chunks/{location-services-33w4ejhs.js → ripgrep-56gdpj1q.js} +6 -6
- package/dist/chunks/{location-services-b6khz9cq.js → ripgrep-5aveev3e.js} +5 -5
- package/dist/chunks/{location-services-5c4hm403.js → ripgrep-5c4hm403.js} +3 -3
- package/dist/chunks/{location-services-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-n71swj86.js → ripgrep-5gjh7yps.js} +20 -17
- package/dist/chunks/{location-services-ksz0h0wp.js → ripgrep-5jtdmvnp.js} +1 -1
- package/dist/chunks/{location-services-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-sk12407m.js → ripgrep-5x18cq5v.js} +20 -20
- package/dist/chunks/{location-services-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{location-services-eay15qda.js → ripgrep-6a8fxjwh.js} +15 -15
- package/dist/chunks/{location-services-sas8pg5s.js → ripgrep-6e3xc085.js} +1 -1
- package/dist/chunks/{location-services-p8pncxt6.js → ripgrep-6h3e8j5e.js} +8 -8
- package/dist/chunks/{location-services-01dqx1kz.js → ripgrep-6jxebzjh.js} +32 -32
- package/dist/chunks/{location-services-pbmqy3fk.js → ripgrep-6kcarc2j.js} +9 -9
- package/dist/chunks/{location-services-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-services-rkkpgdp7.js → ripgrep-6nkhkk13.js} +20 -20
- package/dist/chunks/{location-services-dgskfwz0.js → ripgrep-70vwcewg.js} +18 -18
- package/dist/chunks/{location-services-71q4at8m.js → ripgrep-71q4at8m.js} +1 -1
- package/dist/chunks/{location-services-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-26h9dnh4.js → ripgrep-7cbawamr.js} +17 -17
- package/dist/chunks/{location-services-d2aac7k2.js → ripgrep-7gvwkz6m.js} +5 -5
- package/dist/chunks/{location-services-n0yhhsrm.js → ripgrep-7s6v6vsj.js} +26 -26
- package/dist/chunks/{location-services-ma4jf699.js → ripgrep-7whvx7cs.js} +10 -10
- package/dist/chunks/{location-services-pkgn47pe.js → ripgrep-7xy84fyg.js} +7 -7
- package/dist/chunks/{location-services-1bbkgx8g.js → ripgrep-7yh4e7ss.js} +3 -3
- package/dist/chunks/{location-services-r3qsfapx.js → ripgrep-7z6zz8kn.js} +4 -4
- package/dist/chunks/{location-services-rwvbz859.js → ripgrep-80n2194z.js} +38 -38
- package/dist/chunks/{location-services-rsym84ch.js → ripgrep-81swgkk7.js} +7 -7
- package/dist/chunks/{location-services-dv1qgsyq.js → ripgrep-844ef7ks.js} +8 -8
- package/dist/chunks/{location-services-tcezcvh9.js → ripgrep-89znhe33.js} +4 -4
- package/dist/chunks/{location-services-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-7scnp8fh.js → ripgrep-8eyq8xab.js} +11 -11
- package/dist/chunks/{location-services-65py24zx.js → ripgrep-8rr9h0km.js} +11 -11
- package/dist/chunks/{location-services-n5deg3hq.js → ripgrep-8ykhp4ac.js} +29 -29
- package/dist/chunks/{location-services-weghmnna.js → ripgrep-9f12xdp3.js} +27 -27
- package/dist/chunks/{location-services-4k80sd60.js → ripgrep-9g5bfw8n.js} +23 -23
- package/dist/chunks/{location-services-7h61b3js.js → ripgrep-9knsa76r.js} +20 -20
- package/dist/chunks/{location-services-aewz22a9.js → ripgrep-9r4w88hc.js} +19 -19
- package/dist/chunks/ripgrep-9sh4wc5j.js +18 -0
- package/dist/chunks/{location-services-b84tpdk1.js → ripgrep-9txjdh67.js} +9 -9
- package/dist/chunks/{location-services-3aa8y6y8.js → ripgrep-9w9dfj1g.js} +46 -46
- package/dist/chunks/{location-services-py6h8ymf.js → ripgrep-a2kk223a.js} +46 -46
- package/dist/chunks/{location-services-28mykjjc.js → ripgrep-a2t11qfx.js} +15 -15
- package/dist/chunks/{location-services-rmmsmjb4.js → ripgrep-a37fyb3j.js} +4 -4
- package/dist/chunks/{location-services-t8zm0rfy.js → ripgrep-a3dh94hw.js} +27 -27
- package/dist/chunks/{location-services-ead5n236.js → ripgrep-a5tp4yjy.js} +21 -21
- package/dist/chunks/{location-services-p7jc52kh.js → ripgrep-a7j8tqav.js} +20 -20
- package/dist/chunks/{location-services-7tw5v7xe.js → ripgrep-a94v7mat.js} +14 -14
- package/dist/chunks/{location-services-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-r4yvx32h.js → ripgrep-afbcmxhy.js} +9 -9
- package/dist/chunks/{location-services-9q7w8qe9.js → ripgrep-as33ahc0.js} +5 -5
- package/dist/chunks/{location-services-25mgdrrq.js → ripgrep-atb1k4sq.js} +16 -16
- package/dist/chunks/{location-services-1kxjkr9e.js → ripgrep-awqa4j6r.js} +10 -10
- package/dist/chunks/{location-services-sqtkc2m2.js → ripgrep-b00bre06.js} +50 -50
- package/dist/chunks/{location-services-k41knq1q.js → ripgrep-b0sam31v.js} +11 -11
- package/dist/chunks/{location-services-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-3cdbrfwe.js → ripgrep-bj2cfy38.js} +18 -18
- package/dist/chunks/{location-services-zqgbsb8r.js → ripgrep-brwkg70z.js} +22 -22
- package/dist/chunks/{location-services-zk8c4w5t.js → ripgrep-btec747f.js} +5 -5
- package/dist/chunks/{location-services-13v8yyep.js → ripgrep-bxcskdh3.js} +20 -20
- package/dist/chunks/{location-services-w0vkrcvg.js → ripgrep-by90618a.js} +33 -33
- package/dist/chunks/{location-services-sy3r942d.js → ripgrep-bz3gfsg9.js} +6 -6
- package/dist/chunks/{location-services-77h4sy2b.js → ripgrep-c0mv5cq0.js} +5 -5
- package/dist/chunks/{location-services-y8n92kwn.js → ripgrep-c769d21z.js} +3 -3
- package/dist/chunks/{location-services-77tk9we0.js → ripgrep-c7fm68m0.js} +15 -15
- package/dist/chunks/{location-services-76h67nm5.js → ripgrep-c8kn0e1j.js} +12 -12
- package/dist/chunks/{location-services-dpqseq3m.js → ripgrep-ca00p06f.js} +41 -41
- package/dist/chunks/{location-services-kqd2wwpf.js → ripgrep-ctjfg1hr.js} +4 -4
- package/dist/chunks/{location-services-qtcbh1xh.js → ripgrep-d3f09xgd.js} +10 -10
- package/dist/chunks/{location-services-14qjdv8x.js → ripgrep-d85tbr7r.js} +21 -21
- package/dist/chunks/{location-services-5p05h9hk.js → ripgrep-ddb4hmaq.js} +15 -15
- package/dist/chunks/{location-services-zvt5dnpc.js → ripgrep-ddt2bs9e.js} +4 -4
- package/dist/chunks/{location-services-dj2t23y0.js → ripgrep-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-services-dgmwn8ez.js → ripgrep-dwq6ryhm.js} +8 -8
- package/dist/chunks/{location-services-y3fm6296.js → ripgrep-e4hv03qr.js} +27 -27
- package/dist/chunks/{location-services-6zb9h53h.js → ripgrep-e4pgevt3.js} +20 -20
- package/dist/chunks/{location-services-510m7gjw.js → ripgrep-e6hmchc5.js} +5 -5
- package/dist/chunks/{location-services-9h41vc4j.js → ripgrep-ec8389mk.js} +4 -4
- package/dist/chunks/{location-services-5bgb8413.js → ripgrep-ed25785e.js} +32 -32
- package/dist/chunks/{location-services-t9wdc6hm.js → ripgrep-egzrnntm.js} +7 -7
- package/dist/chunks/{location-services-t7t4ctms.js → ripgrep-emfk09z3.js} +13 -13
- package/dist/chunks/{location-services-cxp4ejjw.js → ripgrep-ep1rz70n.js} +28 -28
- package/dist/chunks/{location-services-818pfwc9.js → ripgrep-ep6z9mt6.js} +8 -8
- package/dist/chunks/{location-services-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-d9sn21bc.js → ripgrep-etq9z835.js} +2 -2
- package/dist/chunks/{location-services-xwxrb2wb.js → ripgrep-eye0aa55.js} +14 -14
- package/dist/chunks/{location-services-zxpvnfs4.js → ripgrep-f6p1bxgw.js} +9 -9
- package/dist/chunks/{location-services-rcqzqd81.js → ripgrep-f7jct6gx.js} +16 -16
- package/dist/chunks/{location-services-f8q7mv7a.js → ripgrep-f9bavhm2.js} +1 -1
- package/dist/chunks/{location-services-2tfmgkzg.js → ripgrep-fab8hzt3.js} +4 -4
- package/dist/chunks/{location-services-38h8a3yf.js → ripgrep-fcsv9ew2.js} +37 -37
- package/dist/chunks/{location-services-tyedwpwk.js → ripgrep-fewzy991.js} +32 -32
- package/dist/chunks/{location-services-zz7n74gb.js → ripgrep-ffatf9pa.js} +8 -8
- package/dist/chunks/{location-services-t0x5rdq8.js → ripgrep-fjmrr6sh.js} +9 -9
- package/dist/chunks/{location-services-hg3kf1wh.js → ripgrep-fsf0tb3g.js} +25 -25
- package/dist/chunks/{location-services-fxbjtjnd.js → ripgrep-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-services-endx0wqw.js → ripgrep-fxxh0p3a.js} +2 -2
- package/dist/chunks/{location-services-z4cnv83b.js → ripgrep-g8jspvs5.js} +9 -9
- package/dist/chunks/{location-services-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-jg1v5s7w.js → ripgrep-gez7w0gg.js} +36 -36
- package/dist/chunks/{location-services-dw47z06m.js → ripgrep-gmg4hxzv.js} +18 -18
- package/dist/chunks/{location-services-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-services-prn1pyrq.js → ripgrep-gvjndn77.js} +19 -19
- package/dist/chunks/{location-services-h03wrkyp.js → ripgrep-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-services-zc4z9477.js → ripgrep-h4yb03sr.js} +16 -16
- package/dist/chunks/{location-services-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-nt7gfj6r.js → ripgrep-haj4pygx.js} +37 -37
- package/dist/chunks/{location-services-hdnk95c8.js → ripgrep-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-services-sbpg0tan.js → ripgrep-hds8kbqn.js} +12 -12
- package/dist/chunks/{location-services-yh913qbr.js → ripgrep-hgyqz33r.js} +28 -28
- package/dist/chunks/{location-services-f2mbwh22.js → ripgrep-hj9fj50h.js} +23 -23
- package/dist/chunks/{location-services-hjt4xg1x.js → ripgrep-hjt4xg1x.js} +1 -1
- package/dist/chunks/{location-services-2w3rb6m7.js → ripgrep-ht6mk1vy.js} +28 -28
- package/dist/chunks/{location-services-rxc2end9.js → ripgrep-hvshqg9g.js} +10 -10
- package/dist/chunks/{location-services-9fg9wkmf.js → ripgrep-hwcsphzk.js} +24 -24
- package/dist/chunks/{location-services-qq8x5mwt.js → ripgrep-j5208yae.js} +6 -6
- package/dist/chunks/{location-services-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-qh692y7z.js → ripgrep-j7pvfhjt.js} +11 -11
- package/dist/chunks/{location-services-8vzn018h.js → ripgrep-j8xe2y08.js} +10 -10
- package/dist/chunks/ripgrep-jnj6t7er.js +462 -0
- package/dist/chunks/{location-services-96yt6zt0.js → ripgrep-jy16bfac.js} +1 -1
- package/dist/chunks/{location-services-kefkpy3s.js → ripgrep-jzm7scjc.js} +13 -13
- package/dist/chunks/{location-services-xy39xcbf.js → ripgrep-kfnz8wqc.js} +8 -8
- package/dist/chunks/{location-services-kg06axw8.js → ripgrep-kg06axw8.js} +1 -1
- package/dist/chunks/{location-services-17vcgm03.js → ripgrep-kq4qnvrc.js} +27 -27
- package/dist/chunks/{location-services-1w78zr67.js → ripgrep-krvjrxqy.js} +30 -30
- package/dist/chunks/{location-services-3dh3hjhe.js → ripgrep-kvqzzzem.js} +9 -9
- package/dist/chunks/{location-services-48btbcp5.js → ripgrep-kx703q2s.js} +26 -26
- package/dist/chunks/{location-services-m0jqrx5p.js → ripgrep-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-services-7vrm16hs.js → ripgrep-m54dcv1g.js} +25 -25
- package/dist/chunks/{location-services-q7rews6h.js → ripgrep-m59gvg9q.js} +20 -20
- package/dist/chunks/{location-services-m2d0j7c0.js → ripgrep-m86bnw2c.js} +9 -9
- package/dist/chunks/{location-services-na9jc3zz.js → ripgrep-m9s8d3d3.js} +17 -17
- package/dist/chunks/{location-services-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-g190xswt.js → ripgrep-magykp64.js} +4 -4
- package/dist/chunks/{location-services-paegk39x.js → ripgrep-mfhfdr54.js} +4 -4
- package/dist/chunks/{location-services-0q0kb4ad.js → ripgrep-mjrzrfrb.js} +11 -11
- package/dist/chunks/{location-services-mkcjrzeh.js → ripgrep-mkcjrzeh.js} +1 -1
- package/dist/chunks/{location-services-938tgqqs.js → ripgrep-mn4bv945.js} +20 -20
- package/dist/chunks/{location-services-j2er9mpe.js → ripgrep-mqrms0tp.js} +18 -18
- package/dist/chunks/{location-services-sdb4t7xa.js → ripgrep-mrngs3tk.js} +38 -38
- package/dist/chunks/{location-services-typb56dn.js → ripgrep-n5hw7tw3.js} +11 -11
- package/dist/chunks/{location-services-qvk4e0h1.js → ripgrep-ncz5f2kx.js} +41 -41
- package/dist/chunks/{location-services-y3c1traj.js → ripgrep-nh837eg3.js} +4 -4
- package/dist/chunks/{location-services-ypf42t62.js → ripgrep-p235624p.js} +19 -19
- package/dist/chunks/{location-services-4te6grs0.js → ripgrep-pa3883ab.js} +4 -4
- package/dist/chunks/{location-services-d5kwtv32.js → ripgrep-pdqsczmv.js} +47 -47
- package/dist/chunks/{location-services-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/ripgrep-psscsn3t.js +247 -0
- package/dist/chunks/{location-services-j7wq2tw5.js → ripgrep-pxt4kznk.js} +3 -3
- package/dist/chunks/{location-services-tbvegfey.js → ripgrep-q1a7cndp.js} +11 -11
- package/dist/chunks/{location-services-bcnz578n.js → ripgrep-q3hev8r4.js} +2 -2
- package/dist/chunks/{location-services-twbrtgyh.js → ripgrep-q4bhxwf1.js} +6 -6
- package/dist/chunks/{location-services-9qx34ve8.js → ripgrep-q5pbp2gz.js} +15 -15
- package/dist/chunks/{location-services-fygdb7h7.js → ripgrep-q6mfqnjt.js} +28 -4
- package/dist/chunks/{location-services-akybccbs.js → ripgrep-qa4rp7fn.js} +9 -9
- package/dist/chunks/{location-services-1emffesh.js → ripgrep-qaed280k.js} +5 -5
- package/dist/chunks/{location-services-p9npvqvf.js → ripgrep-qbhwwr14.js} +25 -25
- package/dist/chunks/{location-services-8hy619a9.js → ripgrep-qerr83y0.js} +24 -24
- package/dist/chunks/{location-services-28ansd8c.js → ripgrep-qfxnftan.js} +17 -17
- package/dist/chunks/{location-services-fgh0kbhd.js → ripgrep-qmr73083.js} +1 -1
- package/dist/chunks/{location-services-bna2jm49.js → ripgrep-qpprd5ad.js} +9 -9
- package/dist/chunks/{location-services-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-bvfebvap.js → ripgrep-r198awpg.js} +15 -15
- package/dist/chunks/{location-services-7194xbzc.js → ripgrep-r8452npv.js} +6 -6
- package/dist/chunks/{location-services-3n9z35hx.js → ripgrep-resyjkwk.js} +39 -39
- package/dist/chunks/{location-services-k57m1jzp.js → ripgrep-rg3k9syq.js} +4 -4
- package/dist/chunks/{location-services-eaj1djv9.js → ripgrep-rhjbct0v.js} +8 -8
- package/dist/chunks/{location-services-vzdxznzr.js → ripgrep-rhrhnb2s.js} +28 -28
- package/dist/chunks/{location-services-bjtft5hn.js → ripgrep-rnnepbab.js} +14 -14
- package/dist/chunks/{location-services-v5dkyp31.js → ripgrep-ryr25ayn.js} +4 -4
- package/dist/chunks/{location-services-v8nbvaxc.js → ripgrep-s3d361zp.js} +3 -3
- package/dist/chunks/{location-services-t6wppts7.js → ripgrep-scqgp3m4.js} +6 -6
- package/dist/chunks/{location-services-wzgdh32c.js → ripgrep-seydh4nr.js} +7 -7
- package/dist/chunks/{location-services-vqfxkn1p.js → ripgrep-sfah34qq.js} +13 -13
- package/dist/chunks/{location-services-35cqnyv0.js → ripgrep-sjhz9xyn.js} +10 -10
- package/dist/chunks/{location-services-1j4f8vqa.js → ripgrep-smrq66nq.js} +20 -20
- package/dist/chunks/{location-services-n76fdqym.js → ripgrep-sv9bpgvh.js} +5 -5
- package/dist/chunks/{location-services-xzx8bjh9.js → ripgrep-t083vv5c.js} +22 -22
- package/dist/chunks/{location-services-dpjp4nqx.js → ripgrep-t4sxm5c8.js} +20 -20
- package/dist/chunks/{location-services-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-x1091fq2.js → ripgrep-tc6vzjsq.js} +12 -12
- package/dist/chunks/{location-services-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-kdqxszpx.js → ripgrep-tek5ng0y.js} +25 -17
- package/dist/chunks/{location-services-1jht073e.js → ripgrep-teteq0qc.js} +12 -12
- package/dist/chunks/{location-services-c78bbtc9.js → ripgrep-tn0aqsam.js} +5 -5
- package/dist/chunks/{location-services-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{location-services-03v3txqr.js → ripgrep-v0rk1y30.js} +6 -6
- package/dist/chunks/{location-services-za8kymys.js → ripgrep-v18p0m5c.js} +11 -11
- package/dist/chunks/{location-services-k16ay38w.js → ripgrep-v8ch97zc.js} +1 -1
- package/dist/chunks/{location-services-pmr4s4kc.js → ripgrep-ve4pfa0n.js} +4 -4
- package/dist/chunks/{location-services-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-services-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-4p58venj.js → ripgrep-w4jw514d.js} +4 -4
- package/dist/chunks/{location-services-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-afn8c1vq.js → ripgrep-wg38wxpd.js} +23 -23
- package/dist/chunks/{location-services-j26kwb45.js → ripgrep-wk58jv74.js} +10 -10
- package/dist/chunks/{location-services-7btp50nq.js → ripgrep-wm6gh047.js} +26 -26
- package/dist/chunks/{location-services-x0ws3ag5.js → ripgrep-wm98esrr.js} +6 -6
- package/dist/chunks/{location-services-j3e7j141.js → ripgrep-wmbs8tb3.js} +80 -80
- package/dist/chunks/{location-services-m91gvp7t.js → ripgrep-wpm2rk0p.js} +6 -6
- package/dist/chunks/{location-services-pm3pscn2.js → ripgrep-wt7k4asa.js} +28 -28
- package/dist/chunks/{location-services-jx9yc53e.js → ripgrep-wx69xc2v.js} +26 -26
- package/dist/chunks/{location-services-j5pcr10t.js → ripgrep-wy90n05w.js} +20 -20
- package/dist/chunks/{location-services-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-x43y2vfs.js → ripgrep-x43y2vfs.js} +2 -2
- package/dist/chunks/{location-services-926w9v4r.js → ripgrep-x9p92xwv.js} +17 -17
- package/dist/chunks/{location-services-rzvnvf72.js → ripgrep-xged7na4.js} +5 -5
- package/dist/chunks/{location-services-2wgr2zhm.js → ripgrep-xnnv5aca.js} +9 -9
- package/dist/chunks/{location-services-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-x2hsxp9g.js → ripgrep-y1ja9cm0.js} +167 -167
- package/dist/chunks/{location-services-dpkg50ah.js → ripgrep-y71avatq.js} +4 -4
- package/dist/chunks/{location-services-3rdnfe1a.js → ripgrep-y9wxxghe.js} +11 -11
- package/dist/chunks/{location-services-pzr03x85.js → ripgrep-ya4xqnab.js} +26 -26
- package/dist/chunks/{location-services-dbvb3fc3.js → ripgrep-ycnbnhj5.js} +46 -46
- package/dist/chunks/{location-services-d3vw0k0a.js → ripgrep-ynqmra9q.js} +27 -27
- package/dist/chunks/{location-services-1acjjqhc.js → ripgrep-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-services-qdprg751.js → ripgrep-yq9pgtk6.js} +10 -10
- package/dist/chunks/{location-services-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-services-yrznvahk.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{location-services-jj63jgrn.js → ripgrep-ywjt7tq6.js} +8 -8
- package/dist/chunks/{location-services-27zz9e36.js → ripgrep-yxam8y99.js} +6 -6
- package/dist/chunks/{location-services-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-z63w68vq.js → ripgrep-z63w68vq.js} +2 -2
- package/dist/chunks/{location-services-y5r1chhz.js → ripgrep-zb8dnpk3.js} +5 -5
- package/dist/chunks/{location-services-p0a23dx6.js → ripgrep-zcqf6png.js} +6 -6
- package/dist/chunks/{location-services-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-services-bv56xrks.js → ripgrep-zerdtc7d.js} +6 -6
- package/dist/chunks/{location-services-90016ntc.js → ripgrep-zfzzzsd1.js} +36 -36
- package/dist/chunks/{location-services-b3frasm9.js → ripgrep-zgnck06n.js} +11 -11
- package/dist/chunks/{location-services-d3fc49e9.js → ripgrep-zh9nb1mr.js} +23 -23
- package/dist/chunks/{location-services-cqm39syx.js → ripgrep-zj7nydea.js} +6 -6
- package/dist/chunks/{location-services-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +5 -3
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- 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 +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +82 -82
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +109 -109
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/plugin/provider/amazon-bedrock.d.ts +1 -0
- package/dist/types/rpc.d.ts +1 -0
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +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 +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/location-services-21w3pn94.js +0 -462
- package/dist/chunks/location-services-2mhm0ygy.js +0 -247
- package/dist/chunks/location-services-mvrygv8d.js +0 -22
- package/dist/chunks/location-services-v1faaxn9.js +0 -18
- /package/dist/chunks/{location-services-0mesazry.js → ripgrep-0mesazry.js} +0 -0
- /package/dist/chunks/{location-services-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a1tpkmh4.js → ripgrep-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-hrnqkpcd.js → ripgrep-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-paphc93g.js → ripgrep-paphc93g.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-twg0f83k.js → ripgrep-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-magykp64.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info12
|
|
9
|
+
} from "./ripgrep-ep6z9mt6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info17
|
|
12
|
+
} from "./ripgrep-tn0aqsam.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info11
|
|
15
|
+
} from "./ripgrep-ryr25ayn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info19
|
|
18
|
+
} from "./ripgrep-7gvwkz6m.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./ripgrep-0jwsre1p.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info13
|
|
24
|
+
} from "./ripgrep-e6hmchc5.js";
|
|
25
25
|
import {
|
|
26
26
|
Info10
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./ripgrep-3ddgt7af.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./ripgrep-w4jw514d.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -87,7 +87,7 @@ function normalize2(input) {
|
|
|
87
87
|
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info10.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info17, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info11, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info12, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info12, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info19, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info13, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-0d2qkrjy.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service70,
|
|
8
|
+
node74
|
|
9
|
+
} from "./ripgrep-awqa4j6r.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event10,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service51,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node54,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service51 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event10 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service70;
|
|
81
81
|
const bus = yield* Service79;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event10.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service51.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event10.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event10.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node54 = makeGlobalNode({ service: Service51, layer, deps: [httpClient, node74, node84] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service51, Event10, inspect2, resolve3, node54, exports_wellknown };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node83
|
|
7
|
+
} from "./ripgrep-wk58jv74.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
ID18
|
|
10
|
+
} from "./ripgrep-81swgkk7.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-s3d361zp.js";
|
|
18
18
|
import {
|
|
19
19
|
Service79,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./ripgrep-0d2qkrjy.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./ripgrep-dj2t23y0.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./ripgrep-m0jqrx5p.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service76,
|
|
30
|
+
node81
|
|
31
|
+
} from "./ripgrep-h4yb03sr.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
34
|
canonical2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./ripgrep-gv6a8nnw.js";
|
|
36
36
|
import {
|
|
37
37
|
make12
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./ripgrep-qaed280k.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./ripgrep-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event5,
|
|
53
|
+
Info: () => Info4,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service18,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node22
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -82,11 +82,11 @@ var RefreshResult2 = Schema.Struct({
|
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info4 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
89
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
89
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -100,17 +100,17 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event5 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service18 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
109
|
const database = yield* Service80;
|
|
110
110
|
const db = database.db;
|
|
111
111
|
const bus = yield* Service79;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service76;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event5.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
257
257
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
258
258
|
return changes;
|
|
259
259
|
});
|
|
260
|
-
return
|
|
260
|
+
return Service18.of({
|
|
261
261
|
transform: state.transform,
|
|
262
262
|
reload: state.reload,
|
|
263
263
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
269
269
|
refresh
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node22 = makeLocationNode({
|
|
273
|
+
service: Service18,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [FSUtil.node,
|
|
275
|
+
deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
|
|
276
276
|
});
|
|
277
277
|
function operationError(strategy, operation, error) {
|
|
278
278
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2,
|
|
285
|
+
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event5, Service18, node22, exports_worktree2, OperationError2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-zgnck06n.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin37,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
16
|
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin37 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -93,4 +93,4 @@ var Plugin16 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export { endpoint4,
|
|
96
|
+
export { endpoint4, Plugin37, exports_parallel };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-wm6gh047.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID9,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-ep1rz70n.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID9.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-pxt4kznk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-zgnck06n.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-0d2qkrjy.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
9
|
+
Event17,
|
|
10
10
|
Service66
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-wm6gh047.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID9,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service64
|
|
16
|
+
} from "./ripgrep-ep1rz70n.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID15
|
|
23
|
+
} from "./ripgrep-2d6j2h4j.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-seydh4nr.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID15.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID9.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -54,7 +54,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
56
|
const credentials = yield* Service66;
|
|
57
|
-
const integrations = yield*
|
|
57
|
+
const integrations = yield* Service64;
|
|
58
58
|
const bus = yield* Service79;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -178,7 +178,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
178
178
|
model.settings.baseURL = endpoint(model.settings.baseURL, account.value);
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
|
-
yield* bus.subscribe(
|
|
181
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
182
182
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
183
183
|
const token = envToken();
|
|
184
184
|
if (token)
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service47,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node50
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service47 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service47.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node50 = makeLocationNode({
|
|
143
|
+
service: Service47,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service47, node50, exports_tool_output2 };
|