@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,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID8,
|
|
3
|
+
Info23,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-pxt4kznk.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-s3d361zp.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service79,
|
|
16
16
|
node84
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-0d2qkrjy.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service77,
|
|
20
|
+
node82
|
|
21
|
+
} from "./ripgrep-80n2194z.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service39,
|
|
24
|
+
node42
|
|
25
|
+
} from "./ripgrep-zcqf6png.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./ripgrep-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./ripgrep-5c4hm403.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node41
|
|
34
|
+
} from "./ripgrep-a7j8tqav.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./ripgrep-fab8hzt3.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./ripgrep-7cbawamr.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./ripgrep-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
46
|
node29
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./ripgrep-sfah34qq.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node63
|
|
51
|
+
} from "./ripgrep-zgnck06n.js";
|
|
52
52
|
import {
|
|
53
53
|
NotFoundError8,
|
|
54
54
|
MessageNotFoundError2,
|
|
@@ -61,50 +61,50 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./ripgrep-c769d21z.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput3,
|
|
67
|
+
Service53,
|
|
68
|
+
node56
|
|
69
|
+
} from "./ripgrep-29c8gkgr.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service40,
|
|
72
|
+
node43
|
|
73
|
+
} from "./ripgrep-x9p92xwv.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service35,
|
|
76
|
+
node39
|
|
77
|
+
} from "./ripgrep-mrngs3tk.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./ripgrep-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service24,
|
|
83
|
+
node28
|
|
84
|
+
} from "./ripgrep-n5hw7tw3.js";
|
|
85
85
|
import {
|
|
86
86
|
generate3
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./ripgrep-tc6vzjsq.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./ripgrep-ffatf9pa.js";
|
|
91
91
|
import {
|
|
92
92
|
DestinationNotFoundError2,
|
|
93
93
|
DestinationNotDirectoryError2,
|
|
94
94
|
DestinationUnavailableError2,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./
|
|
95
|
+
Service21,
|
|
96
|
+
node25
|
|
97
|
+
} from "./ripgrep-b00bre06.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service46,
|
|
100
|
+
node49
|
|
101
|
+
} from "./ripgrep-4c2df9zx.js";
|
|
102
102
|
import {
|
|
103
103
|
make13
|
|
104
|
-
} from "./
|
|
104
|
+
} from "./ripgrep-hgyqz33r.js";
|
|
105
105
|
import {
|
|
106
106
|
__export
|
|
107
|
-
} from "./
|
|
107
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
108
108
|
|
|
109
109
|
// src/session.ts
|
|
110
110
|
var exports_session = {};
|
|
@@ -115,21 +115,21 @@ __export(exports_session, {
|
|
|
115
115
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
116
116
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
117
117
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
118
|
-
ID: () =>
|
|
118
|
+
ID: () => ID8,
|
|
119
119
|
InboxConflictError: () => InboxConflictError2,
|
|
120
|
-
Info: () =>
|
|
120
|
+
Info: () => Info23,
|
|
121
121
|
ListAnchor: () => ListAnchor2,
|
|
122
|
-
ListInput: () =>
|
|
122
|
+
ListInput: () => ListInput2,
|
|
123
123
|
MessageDecodeError: () => MessageDecodeError2,
|
|
124
124
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
125
125
|
NotFoundError: () => NotFoundError8,
|
|
126
126
|
PromptConflictError: () => PromptConflictError2,
|
|
127
|
-
Service: () =>
|
|
127
|
+
Service: () => Service20,
|
|
128
128
|
Session: () => exports_session,
|
|
129
129
|
SessionSchema: () => SessionSchema2,
|
|
130
130
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
131
131
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
132
|
-
node: () =>
|
|
132
|
+
node: () => node24
|
|
133
133
|
});
|
|
134
134
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
135
135
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -139,26 +139,26 @@ import { Model } from "@opencode/schema/model";
|
|
|
139
139
|
import path from "path";
|
|
140
140
|
import { Node } from "@opencode/util/effect/app-node";
|
|
141
141
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
142
|
-
var
|
|
143
|
-
class
|
|
142
|
+
var ListInput2 = ListInput3;
|
|
143
|
+
class Service20 extends Context.Service()("@opencode/Session") {
|
|
144
144
|
}
|
|
145
|
-
var layer = Layer.effect(
|
|
145
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
146
146
|
const app = yield* Metadata2;
|
|
147
147
|
const database = yield* Service80;
|
|
148
148
|
const db = database.db;
|
|
149
149
|
const bus = yield* Service79;
|
|
150
|
-
const projects = yield*
|
|
151
|
-
const execution = yield*
|
|
150
|
+
const projects = yield* Service77;
|
|
151
|
+
const execution = yield* Service35;
|
|
152
152
|
const llm = yield* LLMClient.Service;
|
|
153
|
-
const transport = yield*
|
|
154
|
-
const store = yield*
|
|
155
|
-
const instances = yield*
|
|
156
|
-
const moves = yield*
|
|
157
|
-
const jobs = yield*
|
|
158
|
-
const environments = yield*
|
|
153
|
+
const transport = yield* Service24;
|
|
154
|
+
const store = yield* Service53;
|
|
155
|
+
const instances = yield* Service39;
|
|
156
|
+
const moves = yield* Service21;
|
|
157
|
+
const jobs = yield* Service40;
|
|
158
|
+
const environments = yield* Service46;
|
|
159
159
|
const sessions = yield* make13();
|
|
160
160
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
161
|
-
const result =
|
|
161
|
+
const result = Service20.of({
|
|
162
162
|
create: Effect.fn("Session.create")(function* (input) {
|
|
163
163
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
164
164
|
const recorded = yield* store.get(sessionID);
|
|
@@ -259,11 +259,11 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
259
259
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
260
260
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
261
261
|
const session = yield* result.get(input.sessionID);
|
|
262
|
-
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
262
|
+
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service39, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
|
|
263
263
|
}),
|
|
264
264
|
command: Effect.fn("Session.command")(function* (input) {
|
|
265
265
|
const session = yield* result.get(input.sessionID);
|
|
266
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
266
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service39, instances));
|
|
267
267
|
}),
|
|
268
268
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
269
269
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -303,26 +303,26 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
303
303
|
});
|
|
304
304
|
return result;
|
|
305
305
|
}));
|
|
306
|
-
var
|
|
307
|
-
service:
|
|
306
|
+
var node24 = Node.makeGlobalNode({
|
|
307
|
+
service: Service20,
|
|
308
308
|
layer,
|
|
309
309
|
deps: [
|
|
310
|
-
|
|
311
|
-
|
|
310
|
+
node43,
|
|
311
|
+
node49,
|
|
312
312
|
node85,
|
|
313
313
|
node84,
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
node38,
|
|
317
|
-
llmClient2,
|
|
318
|
-
node76,
|
|
319
|
-
node49,
|
|
320
|
-
node50,
|
|
314
|
+
node82,
|
|
315
|
+
node39,
|
|
321
316
|
node28,
|
|
317
|
+
llmClient2,
|
|
318
|
+
node56,
|
|
319
|
+
node42,
|
|
320
|
+
node41,
|
|
321
|
+
node25,
|
|
322
322
|
node29,
|
|
323
323
|
FSUtil.node,
|
|
324
|
-
|
|
324
|
+
node63
|
|
325
325
|
]
|
|
326
326
|
});
|
|
327
327
|
|
|
328
|
-
export { ListAnchor2,
|
|
328
|
+
export { ListAnchor2, ListInput2, Service20, node24, exports_session };
|
|
@@ -3,28 +3,28 @@ import {
|
|
|
3
3
|
UnsupportedPackageError3,
|
|
4
4
|
UnresolvedProviderVariablesError3,
|
|
5
5
|
UnsupportedCompactionError3,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service61,
|
|
7
|
+
node65
|
|
8
|
+
} from "./ripgrep-2fbtx2rb.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-pxt4kznk.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/session/runner/model.ts
|
|
17
17
|
var exports_model = {};
|
|
18
18
|
__export(exports_model, {
|
|
19
19
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
20
20
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service37,
|
|
22
22
|
SessionRunnerModel: () => exports_model,
|
|
23
23
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
24
24
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
25
25
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
26
26
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node40,
|
|
28
28
|
resolved: () => resolved2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var UnsupportedPackageError2 = UnsupportedPackageError3;
|
|
|
51
51
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
52
52
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service37 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
55
55
|
}
|
|
56
56
|
var resolved2 = (model, options) => ({
|
|
57
57
|
model,
|
|
@@ -65,9 +65,9 @@ var resolved2 = (model, options) => ({
|
|
|
65
65
|
limit: options.limit,
|
|
66
66
|
compaction: options.compaction
|
|
67
67
|
});
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const resolver = yield*
|
|
70
|
-
return
|
|
68
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
69
|
+
const resolver = yield* Service61;
|
|
70
|
+
return Service37.of({
|
|
71
71
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
72
72
|
if (!session.model) {
|
|
73
73
|
const resolved = yield* resolver.resolve();
|
|
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
88
|
+
var node40 = makeLocationNode({ service: Service37, layer, deps: [node65] });
|
|
89
89
|
|
|
90
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
90
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service37, resolved2, node40, exports_model };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-0d2qkrjy.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event17
|
|
7
|
+
} from "./ripgrep-wm6gh047.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID9,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-ep1rz70n.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID15,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-2d6j2h4j.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID14,
|
|
19
19
|
Input14,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./ripgrep-wg38wxpd.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID14
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -45,7 +45,8 @@ var Device = Schema.Struct({
|
|
|
45
45
|
var Token = Schema.Struct({
|
|
46
46
|
access_token: Schema.String,
|
|
47
47
|
refresh_token: Schema.String,
|
|
48
|
-
expires_in: Schema.Number
|
|
48
|
+
expires_in: Schema.Number,
|
|
49
|
+
org_id: Schema.optional(Schema.NullOr(Schema.String))
|
|
49
50
|
});
|
|
50
51
|
var TokenPending = Schema.Struct({ error: Schema.String });
|
|
51
52
|
var DeviceToken = Schema.Union([Token, TokenPending]);
|
|
@@ -53,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
53
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
54
55
|
function oauth(http) {
|
|
55
56
|
return {
|
|
56
|
-
integrationID:
|
|
57
|
+
integrationID: ID9.make("opencode"),
|
|
57
58
|
method: {
|
|
58
59
|
id: methodID,
|
|
59
60
|
type: "oauth",
|
|
@@ -61,7 +62,7 @@ function oauth(http) {
|
|
|
61
62
|
},
|
|
62
63
|
authorize: (answer) => Effect.gen(function* () {
|
|
63
64
|
const server = yield* normalizeServer(answer.server ?? defaultServer);
|
|
64
|
-
const device = yield* post(http, `${server}/auth/device/code`, { client_id: clientID }, Device);
|
|
65
|
+
const device = yield* post(http, `${server}/auth/device/code`, { client_id: clientID, supports_org_scope: true }, Device);
|
|
65
66
|
const verification = yield* Effect.try({
|
|
66
67
|
try: () => {
|
|
67
68
|
const url = new URL(device.verification_uri_complete, `${server}/`);
|
|
@@ -84,7 +85,12 @@ function oauth(http) {
|
|
|
84
85
|
...credential,
|
|
85
86
|
access: token.access_token,
|
|
86
87
|
refresh: token.refresh_token,
|
|
87
|
-
expires: Date.now() + token.expires_in * 1000
|
|
88
|
+
expires: Date.now() + token.expires_in * 1000,
|
|
89
|
+
metadata: token.org_id == null ? credential.metadata : {
|
|
90
|
+
...credential.metadata,
|
|
91
|
+
orgID: token.org_id,
|
|
92
|
+
orgName: credential.metadata?.orgID === token.org_id && typeof credential.metadata.orgName === "string" ? credential.metadata.orgName : token.org_id
|
|
93
|
+
}
|
|
88
94
|
};
|
|
89
95
|
}),
|
|
90
96
|
label: (credential) => typeof credential.metadata?.orgName === "string" ? credential.metadata.orgName : undefined
|
|
@@ -119,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
119
125
|
catalog.provider.update(providerID, (provider) => {
|
|
120
126
|
if (source && source.provider !== provider)
|
|
121
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
122
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID9.make("opencode");
|
|
123
129
|
if (item.canonical !== undefined)
|
|
124
130
|
provider.canonical = item.canonical;
|
|
125
131
|
if (item.name !== undefined)
|
|
@@ -182,7 +188,7 @@ var OpencodePlugin2 = define({
|
|
|
182
188
|
});
|
|
183
189
|
}
|
|
184
190
|
}
|
|
185
|
-
const item = catalog.provider.get(
|
|
191
|
+
const item = catalog.provider.get(ID15.opencode);
|
|
186
192
|
if (!item)
|
|
187
193
|
return;
|
|
188
194
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -243,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
243
249
|
yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
244
250
|
});
|
|
245
251
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
246
|
-
yield* bus.subscribe(
|
|
252
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
247
253
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
248
254
|
})
|
|
249
255
|
});
|
|
@@ -301,7 +307,10 @@ function credential(http, server, token) {
|
|
|
301
307
|
get(http, `${server}/api/user`, token.access_token, User),
|
|
302
308
|
get(http, `${server}/api/orgs`, token.access_token, Schema.Array(Org))
|
|
303
309
|
], { concurrency: 2 });
|
|
304
|
-
const org = orgs.toSorted((a, b) => a.name.localeCompare(b.name) || a.id.localeCompare(b.id))[0];
|
|
310
|
+
const org = token.org_id == null ? orgs.toSorted((a, b) => a.name.localeCompare(b.name) || a.id.localeCompare(b.id))[0] : orgs.find((org) => org.id === token.org_id);
|
|
311
|
+
if (token.org_id != null && !org) {
|
|
312
|
+
return yield* Effect.fail(new Error(`OpenCode organization not found: ${token.org_id}`));
|
|
313
|
+
}
|
|
305
314
|
return OAuth3.make({
|
|
306
315
|
type: "oauth",
|
|
307
316
|
methodID,
|
|
@@ -322,7 +331,7 @@ function get(http, url, token, schema) {
|
|
|
322
331
|
return HttpClient.filterStatusOk(http).execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token))).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(schema)));
|
|
323
332
|
}
|
|
324
333
|
function post(http, url, body, schema, statusOk = true) {
|
|
325
|
-
return HttpClientRequest.post(url).pipe(HttpClientRequest.acceptJson, HttpClientRequest.schemaBodyJson(Schema.Record(Schema.String, Schema.String))(body), Effect.flatMap((request) => http.execute(request)), Effect.flatMap((response) => statusOk ? HttpClientResponse.filterStatusOk(response) : Effect.succeed(response)), Effect.flatMap(HttpClientResponse.schemaBodyJson(schema)));
|
|
334
|
+
return HttpClientRequest.post(url).pipe(HttpClientRequest.acceptJson, HttpClientRequest.schemaBodyJson(Schema.Record(Schema.String, Schema.Union([Schema.String, Schema.Boolean])))(body), Effect.flatMap((request) => http.execute(request)), Effect.flatMap((response) => statusOk ? HttpClientResponse.filterStatusOk(response) : Effect.succeed(response)), Effect.flatMap(HttpClientResponse.schemaBodyJson(schema)));
|
|
326
335
|
}
|
|
327
336
|
|
|
328
337
|
export { OpencodePlugin2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service46,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node49
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service46 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service46, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service46.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service54, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node49 = makeGlobalNode({ service: Service46, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service46, node49, exports_environment };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-a2kk223a.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./ripgrep-2stzc2h4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./ripgrep-qpprd5ad.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin14
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin14 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service48;
|
|
26
|
+
const image = yield* Service58;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin41 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin14, exports_image };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-0d2qkrjy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./ripgrep-h4yb03sr.js";
|
|
9
9
|
import {
|
|
10
10
|
ID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service50,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node53
|
|
16
|
+
} from "./ripgrep-02vzrq4v.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput2,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event2,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
30
|
Info: () => Info2,
|
|
31
31
|
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service14,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node17
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event2 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
@@ -55,12 +55,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service14 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service79;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service76;
|
|
63
|
+
const shell = yield* Service50;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service14.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node17 = makeLocationNode({
|
|
274
|
+
service: Service14,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node84,
|
|
276
|
+
deps: [node84, node81, node53]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2,
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node17, exports_pty, Event2 };
|