@opencode/core 0.0.0-dev-19584 → 0.0.0-dev-19585
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +78 -78
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{persistent-pty-eaj1djv9.js → state-02nrjc1r.js} +4 -4
- package/dist/chunks/{persistent-pty-8sayvzft.js → state-047mx2wg.js} +30 -30
- package/dist/chunks/{persistent-pty-1vs9pjz2.js → state-0assndy4.js} +20 -20
- package/dist/chunks/{persistent-pty-hwwdw15z.js → state-0c9ykdxk.js} +2 -2
- package/dist/chunks/{persistent-pty-agkbaxng.js → state-0dpxzva5.js} +91 -91
- package/dist/chunks/{persistent-pty-qgn6gcr1.js → state-0jwsre1p.js} +5 -5
- package/dist/chunks/state-0mesazry.js +4 -0
- package/dist/chunks/{persistent-pty-aeah27kd.js → state-0n8wxves.js} +8 -8
- package/dist/chunks/{persistent-pty-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → state-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-qh1ywv3d.js → state-0r1a1fzg.js} +16 -16
- package/dist/chunks/{persistent-pty-0sd1vqbs.js → state-0sd1vqbs.js} +1 -1
- package/dist/chunks/{persistent-pty-scz5cghm.js → state-0tj6kgwv.js} +28 -28
- package/dist/chunks/{persistent-pty-5qkxfyep.js → state-10jtetaj.js} +4 -4
- package/dist/chunks/{persistent-pty-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-spgrcnb8.js → state-1gwwkbhx.js} +14 -14
- package/dist/chunks/{persistent-pty-m8jf7wk8.js → state-1m07gwnh.js} +34 -34
- package/dist/chunks/{persistent-pty-1vr0zdnx.js → state-1vr0zdnx.js} +3 -3
- package/dist/chunks/{persistent-pty-0g4mw5j5.js → state-1zjyrs07.js} +11 -11
- package/dist/chunks/{persistent-pty-2058e169.js → state-2058e169.js} +1 -1
- package/dist/chunks/{persistent-pty-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-j50xegtf.js → state-21r7wqbn.js} +16 -16
- package/dist/chunks/{persistent-pty-2402vzrj.js → state-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-7sznsykr.js → state-25b5wh1z.js} +90 -90
- package/dist/chunks/{persistent-pty-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-nrxrcqxy.js → state-2ad6nxyk.js} +6 -6
- package/dist/chunks/{persistent-pty-mj18h2aw.js → state-2bgyzf17.js} +59 -59
- package/dist/chunks/{persistent-pty-5ac1b84a.js → state-2dejydwk.js} +28 -28
- package/dist/chunks/{persistent-pty-7nqbnmvb.js → state-2f9behse.js} +41 -41
- package/dist/chunks/{persistent-pty-vfp1b9yp.js → state-2gm7q7x0.js} +25 -25
- package/dist/chunks/{persistent-pty-6fkbyjd1.js → state-2nx0ckft.js} +13 -13
- package/dist/chunks/{persistent-pty-e56mcz5p.js → state-3189tf5c.js} +4 -4
- package/dist/chunks/{persistent-pty-vnmr62xz.js → state-32y0495t.js} +17 -17
- package/dist/chunks/{persistent-pty-34rkz0x9.js → state-34rkz0x9.js} +1 -1
- package/dist/chunks/{persistent-pty-rwnsg6a6.js → state-37tv5sft.js} +27 -27
- package/dist/chunks/{persistent-pty-bha4atvq.js → state-3c4e3q8d.js} +4 -4
- package/dist/chunks/{persistent-pty-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3dd05w7p.js → state-3g5z5cbj.js} +12 -12
- package/dist/chunks/{persistent-pty-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-pj5203r7.js → state-3sqqgwh5.js} +9 -9
- package/dist/chunks/{persistent-pty-s4pktsq9.js → state-3t50nsv9.js} +30 -30
- package/dist/chunks/{persistent-pty-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-tn4ddmrt.js → state-3wr47b46.js} +156 -156
- package/dist/chunks/{persistent-pty-9jsys95r.js → state-3zb4tqpj.js} +11 -11
- package/dist/chunks/{persistent-pty-5gachfgg.js → state-4780s8zr.js} +9 -9
- package/dist/chunks/{persistent-pty-v1t8jh9k.js → state-4fvnr5ap.js} +5 -5
- package/dist/chunks/{persistent-pty-kbdb6esp.js → state-4j0xv7gy.js} +28 -28
- package/dist/chunks/{persistent-pty-0c81wqd1.js → state-4mmkc7sx.js} +5 -5
- package/dist/chunks/{persistent-pty-4mtmdvvs.js → state-4mtmdvvs.js} +1 -1
- package/dist/chunks/state-4v7qdvcn.js +18 -0
- package/dist/chunks/{persistent-pty-62xz1acx.js → state-4x368qdf.js} +29 -29
- package/dist/chunks/{persistent-pty-4ynbxhwa.js → state-4ynbxhwa.js} +2 -2
- package/dist/chunks/{persistent-pty-1ygqh575.js → state-56gdpj1q.js} +9 -9
- package/dist/chunks/{persistent-pty-hc63f9kn.js → state-56jtaqyy.js} +26 -26
- package/dist/chunks/{persistent-pty-589kjr7t.js → state-589kjr7t.js} +1 -1
- package/dist/chunks/{persistent-pty-0sx3nms7.js → state-5ay2cyx3.js} +30 -30
- package/dist/chunks/{persistent-pty-a1bz86dw.js → state-5c4hm403.js} +3 -3
- package/dist/chunks/{persistent-pty-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-t0x5rdq8.js → state-5kptn8c0.js} +9 -9
- package/dist/chunks/{persistent-pty-8pnhcw9n.js → state-5matf414.js} +16 -16
- package/dist/chunks/{persistent-pty-2b6sywcb.js → state-5r58m9f4.js} +8 -8
- package/dist/chunks/{persistent-pty-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-8pathdrb.js → state-5w0k2sgf.js} +17 -17
- package/dist/chunks/{persistent-pty-9d535vz8.js → state-5wzpv73x.js} +18 -18
- package/dist/chunks/{persistent-pty-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-2bjnfy8a.js → state-6b3csv91.js} +3 -3
- package/dist/chunks/{persistent-pty-bc3gadnq.js → state-6bp5h0s3.js} +11 -11
- package/dist/chunks/{persistent-pty-bf3rh841.js → state-6jpkznw2.js} +3 -3
- package/dist/chunks/{persistent-pty-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-dncyknv9.js → state-715dyzdp.js} +51 -51
- package/dist/chunks/{persistent-pty-71q4at8m.js → state-71q4at8m.js} +1 -1
- package/dist/chunks/{persistent-pty-jxeb4ebr.js → state-71tevz1s.js} +30 -30
- package/dist/chunks/{persistent-pty-dwx2f77e.js → state-73kb41h8.js} +44 -44
- package/dist/chunks/{persistent-pty-k5zxrj0d.js → state-74qhbg70.js} +8 -8
- package/dist/chunks/{persistent-pty-wm96rsv2.js → state-7b8c1rs0.js} +5 -5
- package/dist/chunks/{persistent-pty-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-5vnfk0kh.js → state-7c4jpfkn.js} +9 -9
- package/dist/chunks/{persistent-pty-84gqnz71.js → state-7f04ezez.js} +4 -4
- package/dist/chunks/state-7kk32ydz.js +247 -0
- package/dist/chunks/{persistent-pty-fp32mqfc.js → state-7wykakkp.js} +10 -10
- package/dist/chunks/{persistent-pty-3e34z61w.js → state-7zdrdht4.js} +6 -6
- package/dist/chunks/{persistent-pty-81swgkk7.js → state-81swgkk7.js} +2 -2
- package/dist/chunks/{persistent-pty-844ef7ks.js → state-844ef7ks.js} +1 -1
- package/dist/chunks/{persistent-pty-3e58ck0x.js → state-89yzkj5m.js} +18 -18
- package/dist/chunks/{persistent-pty-dn7wrvez.js → state-8a639n9f.js} +24 -24
- package/dist/chunks/{persistent-pty-z3gdfb1b.js → state-8ar20h4k.js} +4 -4
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-zfx059e4.js → state-8fmttspq.js} +15 -15
- package/dist/chunks/{persistent-pty-e09h8vmy.js → state-8ngx95f4.js} +4 -4
- package/dist/chunks/{persistent-pty-206yk4e9.js → state-8nk5pr3x.js} +4 -4
- package/dist/chunks/{persistent-pty-63jf72mk.js → state-8tccx195.js} +23 -23
- package/dist/chunks/{persistent-pty-38e07ncx.js → state-8yhy25dd.js} +41 -41
- package/dist/chunks/{persistent-pty-bwryp2h3.js → state-8ymaqm6w.js} +9 -9
- package/dist/chunks/{persistent-pty-d1w3xvsh.js → state-92efq58y.js} +22 -22
- package/dist/chunks/{persistent-pty-05xwxbj8.js → state-966x6kbg.js} +18 -18
- package/dist/chunks/{persistent-pty-1yvnvg7m.js → state-96a4pvf9.js} +9 -9
- package/dist/chunks/{persistent-pty-78x4yxpz.js → state-9gkk87pz.js} +4 -4
- package/dist/chunks/{persistent-pty-0thdkkg9.js → state-9qe9ae67.js} +22 -22
- package/dist/chunks/{persistent-pty-9sgpzjef.js → state-9sgpzjef.js} +1 -1
- package/dist/chunks/{persistent-pty-nv1yqemr.js → state-9wq3kma9.js} +15 -15
- package/dist/chunks/{persistent-pty-smt3zz30.js → state-a1xp0gqd.js} +9 -9
- package/dist/chunks/{persistent-pty-q31fgcfb.js → state-a5axy371.js} +2 -2
- package/dist/chunks/{persistent-pty-4mvw3hxq.js → state-a9ym64nf.js} +28 -28
- package/dist/chunks/{persistent-pty-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-0kg1b9bg.js → state-abzxsg4z.js} +26 -26
- package/dist/chunks/{persistent-pty-k7m853hp.js → state-ak2rmdky.js} +11 -11
- package/dist/chunks/{persistent-pty-fppfcy2a.js → state-anb97ys3.js} +8 -8
- package/dist/chunks/{persistent-pty-3v9hsfh8.js → state-arnsfa90.js} +13 -13
- package/dist/chunks/{persistent-pty-b6t4jbed.js → state-av3vfbkv.js} +18 -18
- package/dist/chunks/{persistent-pty-b165d2ep.js → state-b2bbmftg.js} +16 -16
- package/dist/chunks/{persistent-pty-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-496txj22.js → state-b9qrp43n.js} +7 -7
- package/dist/chunks/{persistent-pty-k2b2g35d.js → state-bd9a3hfc.js} +8 -8
- package/dist/chunks/{persistent-pty-qn4ba14w.js → state-bgxcxs0p.js} +5 -5
- package/dist/chunks/{persistent-pty-aax53f6n.js → state-bh8dz971.js} +18 -18
- package/dist/chunks/{persistent-pty-gdvyk2fc.js → state-bm1f71yt.js} +8 -8
- package/dist/chunks/{persistent-pty-e5nv3ght.js → state-bndc73cn.js} +5 -5
- package/dist/chunks/{persistent-pty-kkqjkt98.js → state-brkf7bse.js} +11 -11
- package/dist/chunks/{persistent-pty-sx4xr51h.js → state-bs9pjq03.js} +13 -13
- package/dist/chunks/{persistent-pty-n9a09xjq.js → state-c793mpbv.js} +22 -22
- package/dist/chunks/{persistent-pty-w9nng7hv.js → state-ccfa4wxs.js} +6 -6
- package/dist/chunks/{persistent-pty-k78143q9.js → state-cmqjtdmm.js} +32 -32
- package/dist/chunks/{persistent-pty-nqnxh7mc.js → state-cpy6gm2a.js} +4 -4
- package/dist/chunks/{persistent-pty-5k5yck0f.js → state-crgypqmg.js} +9 -9
- package/dist/chunks/{persistent-pty-czsydm57.js → state-czsydm57.js} +1 -1
- package/dist/chunks/{persistent-pty-xc4jr48e.js → state-d3xgb5wz.js} +41 -41
- package/dist/chunks/{persistent-pty-9tmzke5r.js → state-d4vvrd8f.js} +4 -4
- package/dist/chunks/{persistent-pty-8p4f9s12.js → state-dj2t23y0.js} +2 -2
- package/dist/chunks/{persistent-pty-dsqps89d.js → state-dsqps89d.js} +2 -2
- package/dist/chunks/{persistent-pty-7dw2qt1k.js → state-dzme2435.js} +9 -9
- package/dist/chunks/{persistent-pty-wb68eg2d.js → state-e2dt2hd0.js} +28 -28
- package/dist/chunks/{persistent-pty-22e7kr3t.js → state-e5564262.js} +35 -35
- package/dist/chunks/{persistent-pty-ka4yxbtw.js → state-e5f74rt9.js} +33 -33
- package/dist/chunks/{persistent-pty-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-dw69x1rn.js → state-ekrh3kxc.js} +11 -11
- package/dist/chunks/{persistent-pty-axp4ehpq.js → state-ep6q31w0.js} +8 -8
- package/dist/chunks/{persistent-pty-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-3cfzdc8e.js → state-evbgk2k8.js} +5 -5
- package/dist/chunks/{persistent-pty-59752w5j.js → state-ez36xfhn.js} +19 -19
- package/dist/chunks/{persistent-pty-f1zxfvwb.js → state-f1zxfvwb.js} +2 -2
- package/dist/chunks/{persistent-pty-krp391jj.js → state-f20n632k.js} +1 -1
- package/dist/chunks/{persistent-pty-f6hkkqkf.js → state-f6hkkqkf.js} +2 -2
- package/dist/chunks/{persistent-pty-626mqfzg.js → state-fsf1gf1x.js} +23 -23
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → state-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-yjajwhcv.js → state-fyqdaz8t.js} +7 -7
- package/dist/chunks/{persistent-pty-h6ceay40.js → state-g5rxsc28.js} +28 -28
- package/dist/chunks/{persistent-pty-f9yq8qfp.js → state-g7c4c9dq.js} +11 -11
- package/dist/chunks/{persistent-pty-bf2va0zq.js → state-g9xty11h.js} +36 -36
- package/dist/chunks/{persistent-pty-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-gznea914.js → state-gd7g0zde.js} +18 -18
- package/dist/chunks/{persistent-pty-t0z0qgy3.js → state-gg8ay5jm.js} +21 -21
- package/dist/chunks/{persistent-pty-pyge2gej.js → state-gk5mcbs5.js} +11 -11
- package/dist/chunks/{persistent-pty-s779q3a9.js → state-gn01w2cw.js} +13 -13
- package/dist/chunks/{persistent-pty-grt76b4b.js → state-grt76b4b.js} +4 -4
- package/dist/chunks/{persistent-pty-a7a6fc9p.js → state-gt7he45n.js} +18 -18
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-h03wrkyp.js → state-h03wrkyp.js} +2 -2
- package/dist/chunks/{persistent-pty-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-bc0b1cn5.js → state-hcp7me3j.js} +15 -15
- package/dist/chunks/{persistent-pty-f828m53h.js → state-hdnk95c8.js} +2 -2
- package/dist/chunks/{persistent-pty-hjt4xg1x.js → state-hjt4xg1x.js} +1 -1
- package/dist/chunks/{persistent-pty-pa491p54.js → state-j0bxb4ah.js} +3 -3
- package/dist/chunks/{persistent-pty-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-pmr4s4kc.js → state-j83byb14.js} +4 -4
- package/dist/chunks/{persistent-pty-3ythc6yv.js → state-jva4mgym.js} +4 -4
- package/dist/chunks/{persistent-pty-3n3mkc0a.js → state-jxahb5yh.js} +11 -11
- package/dist/chunks/{persistent-pty-qet0rm74.js → state-k6k8b8dr.js} +12 -12
- package/dist/chunks/{persistent-pty-9yt7w0rv.js → state-ka9nzrns.js} +15 -15
- package/dist/chunks/{persistent-pty-kg06axw8.js → state-kg06axw8.js} +1 -1
- package/dist/chunks/{persistent-pty-ha7sav0k.js → state-kmbsbtj2.js} +15 -15
- package/dist/chunks/{persistent-pty-azbmczjz.js → state-kpn23mpx.js} +8 -8
- package/dist/chunks/{persistent-pty-jwx4y25k.js → state-kpvyk30t.js} +9 -9
- package/dist/chunks/{persistent-pty-cfpkc3c9.js → state-m0jqrx5p.js} +2 -2
- package/dist/chunks/{persistent-pty-c0dsdm4e.js → state-m4r7hmz3.js} +5 -5
- package/dist/chunks/{persistent-pty-6jnybvqn.js → state-m86bnw2c.js} +9 -9
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-magykp64.js → state-magykp64.js} +1 -1
- package/dist/chunks/{persistent-pty-nzhrp77s.js → state-mcvf4ecq.js} +7 -7
- package/dist/chunks/{persistent-pty-s70jy2hq.js → state-md4zkmej.js} +11 -11
- package/dist/chunks/{persistent-pty-hm4t8meg.js → state-mhyrstae.js} +15 -15
- package/dist/chunks/state-mkcvx21g.js +466 -0
- package/dist/chunks/{persistent-pty-5p9h7pff.js → state-mm8kamv6.js} +19 -19
- package/dist/chunks/{persistent-pty-jvhzf42w.js → state-n8dg5zmh.js} +11 -11
- package/dist/chunks/{persistent-pty-sdch2j4x.js → state-n9vjy7vk.js} +12 -12
- package/dist/chunks/{persistent-pty-ehddvng3.js → state-nc9naz3s.js} +18 -18
- package/dist/chunks/{persistent-pty-kbyt3dpp.js → state-nh1ke53h.js} +9 -9
- package/dist/chunks/{persistent-pty-bhp3acg7.js → state-nmhn2qh6.js} +16 -16
- package/dist/chunks/{persistent-pty-hbm93p8d.js → state-nn79ydvy.js} +8 -8
- package/dist/chunks/{persistent-pty-nqzv378d.js → state-nqzv378d.js} +1 -1
- package/dist/chunks/{persistent-pty-nwbgmj8m.js → state-nsk2qhm1.js} +46 -46
- package/dist/chunks/{persistent-pty-kge582w3.js → state-nx7g23ta.js} +32 -32
- package/dist/chunks/{persistent-pty-p158fnhc.js → state-p158fnhc.js} +1 -1
- package/dist/chunks/{persistent-pty-p0hf09xn.js → state-p2h5zem2.js} +6 -6
- package/dist/chunks/{persistent-pty-rcpm74vd.js → state-p43gddxw.js} +23 -23
- package/dist/chunks/{persistent-pty-5svcwycr.js → state-p8d91xwk.js} +33 -33
- package/dist/chunks/{persistent-pty-w1k39n5e.js → state-paegk39x.js} +4 -4
- package/dist/chunks/{persistent-pty-pb1eahw5.js → state-pb1eahw5.js} +3 -3
- package/dist/chunks/{persistent-pty-bn34ha38.js → state-pbyctwrm.js} +9 -9
- package/dist/chunks/{persistent-pty-zats4t81.js → state-pbygh8wd.js} +27 -27
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-9qkncw00.js → state-pvpbdkha.js} +27 -27
- package/dist/chunks/{persistent-pty-s6dtgd81.js → state-q0jn4ry4.js} +15 -15
- package/dist/chunks/{persistent-pty-nvxvk6cq.js → state-q5sfm9wz.js} +22 -22
- package/dist/chunks/{persistent-pty-h9rm1rrn.js → state-qa7075pb.js} +5 -5
- package/dist/chunks/{persistent-pty-8de9g2wa.js → state-qd153e6s.js} +8 -8
- package/dist/chunks/{persistent-pty-ezvncnwm.js → state-qdecs828.js} +23 -23
- package/dist/chunks/{persistent-pty-r5fkrtf5.js → state-qe942eqv.js} +17 -17
- package/dist/chunks/{persistent-pty-g2xmwvbg.js → state-qhpsd41d.js} +25 -25
- package/dist/chunks/{persistent-pty-0z8xks3p.js → state-qkgaq2fd.js} +13 -13
- package/dist/chunks/{persistent-pty-pw9v3g6d.js → state-qm7jrdpz.js} +8 -8
- package/dist/chunks/{persistent-pty-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-t5whs6d7.js → state-qtp1kmbh.js} +69 -69
- package/dist/chunks/{persistent-pty-3sy2rmfm.js → state-r05swpc3.js} +18 -18
- package/dist/chunks/{persistent-pty-bcpx3kh8.js → state-r11d7zgh.js} +9 -9
- package/dist/chunks/{persistent-pty-eq1pz5kg.js → state-r5x6zcsm.js} +3 -3
- package/dist/chunks/{persistent-pty-17cze9zm.js → state-r7x5zkyr.js} +6 -6
- package/dist/chunks/{persistent-pty-r8xr0va3.js → state-r8xr0va3.js} +1 -1
- package/dist/chunks/{persistent-pty-r9mregkx.js → state-r9mregkx.js} +2 -2
- package/dist/chunks/{persistent-pty-5d15hsb6.js → state-rkn3s9yj.js} +13 -13
- package/dist/chunks/{persistent-pty-ddm8m3z4.js → state-rqh8sqwg.js} +8 -8
- package/dist/chunks/{persistent-pty-42yzd3fp.js → state-rspxbq4f.js} +11 -11
- package/dist/chunks/{persistent-pty-r9f3x48r.js → state-rwp9vqf6.js} +32 -32
- package/dist/chunks/{persistent-pty-9mzygsgd.js → state-s03e02j9.js} +24 -24
- package/dist/chunks/{persistent-pty-cr07tj7n.js → state-s8zy8myc.js} +5 -5
- package/dist/chunks/{persistent-pty-ssn2d03m.js → state-scf3wqrs.js} +9 -9
- package/dist/chunks/{persistent-pty-68bd668p.js → state-skbm2tv3.js} +20 -20
- package/dist/chunks/{persistent-pty-6f3x1sac.js → state-sy5x3wzp.js} +24 -24
- package/dist/chunks/{persistent-pty-xzpmzq69.js → state-t6n9dx9w.js} +5 -5
- package/dist/chunks/{persistent-pty-nvtvgz84.js → state-t9hrqajq.js} +28 -28
- package/dist/chunks/{persistent-pty-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → state-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-1kvn4pb6.js → state-tnkeyv2f.js} +13 -13
- package/dist/chunks/{persistent-pty-vx4t8ze6.js → state-tph5atj5.js} +5 -5
- package/dist/chunks/{persistent-pty-e970wt3q.js → state-trw41p2v.js} +17 -17
- package/dist/chunks/{persistent-pty-8gxqpgph.js → state-ttqh24zm.js} +4 -4
- package/dist/chunks/{persistent-pty-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-tx9qvpbt.js → state-tx9qvpbt.js} +2 -2
- package/dist/chunks/{persistent-pty-9f9vwzym.js → state-tye36bcg.js} +8 -8
- package/dist/chunks/{persistent-pty-z7h38qqt.js → state-vb7ycbc9.js} +14 -14
- package/dist/chunks/{persistent-pty-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-pzj2rmc9.js → state-vtqzksea.js} +29 -29
- package/dist/chunks/{persistent-pty-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-8408vx5q.js → state-w1907c88.js} +23 -23
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/state-w97wtb7e.js +26 -0
- package/dist/chunks/{persistent-pty-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-vj3eq5bp.js → state-we36wy78.js} +13 -13
- package/dist/chunks/{persistent-pty-e56fx67n.js → state-wqcb0hpm.js} +6 -6
- package/dist/chunks/{persistent-pty-afhxak9c.js → state-wsykb35p.js} +16 -16
- package/dist/chunks/{persistent-pty-na270pps.js → state-wzqj207d.js} +35 -35
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-5cd5fjqe.js → state-x569bdqa.js} +1 -1
- package/dist/chunks/{persistent-pty-czp9ge7b.js → state-x6pctmyv.js} +18 -18
- package/dist/chunks/{persistent-pty-rgze53b9.js → state-xdd3rs2c.js} +9 -9
- package/dist/chunks/{persistent-pty-xg9t41r3.js → state-xg9t41r3.js} +2 -2
- package/dist/chunks/{persistent-pty-vnqcaznc.js → state-xha59mwg.js} +8 -8
- package/dist/chunks/{persistent-pty-9vh4jr2k.js → state-xxzf0ejs.js} +13 -13
- package/dist/chunks/{persistent-pty-ysey65vb.js → state-y09t7566.js} +23 -23
- package/dist/chunks/{persistent-pty-wghwg6ra.js → state-y1dxsfsh.js} +35 -35
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-gnt37ab8.js → state-y232qd0c.js} +32 -32
- package/dist/chunks/{persistent-pty-82s8z8za.js → state-y3a4c9er.js} +18 -18
- package/dist/chunks/{persistent-pty-y71avatq.js → state-y71avatq.js} +1 -1
- package/dist/chunks/{persistent-pty-cteaegd3.js → state-y8ye8e9v.js} +13 -13
- package/dist/chunks/{persistent-pty-5xw2c6z8.js → state-yh58a55y.js} +31 -31
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-5v5spdss.js → state-yrtvc2gm.js} +22 -22
- package/dist/chunks/{persistent-pty-yrznvahk.js → state-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-sn6fh5zf.js → state-yv9w9dg0.js} +27 -27
- package/dist/chunks/{persistent-pty-xcwerhy1.js → state-yx8q910t.js} +19 -19
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-2b6fmm76.js → state-z30jd0vy.js} +45 -45
- package/dist/chunks/{persistent-pty-z63w68vq.js → state-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-j2mfdbp4.js → state-zc400w9e.js} +47 -47
- package/dist/chunks/{persistent-pty-ge5v2f0h.js → state-ze5b2pt8.js} +27 -27
- package/dist/chunks/{persistent-pty-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-fzvehgre.js → state-zrw639qq.js} +26 -26
- package/dist/chunks/{persistent-pty-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +120 -120
- package/dist/config/plugin/image.js +119 -119
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +121 -121
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +119 -119
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +121 -121
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +122 -122
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +90 -90
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +135 -135
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +2 -2
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +81 -81
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +137 -137
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +1 -1
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +134 -134
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +123 -123
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- 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 +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-0qxvqcep.js +0 -247
- package/dist/chunks/persistent-pty-4yg1bvbf.js +0 -466
- package/dist/chunks/persistent-pty-9sh4wc5j.js +0 -18
- package/dist/chunks/persistent-pty-qapv375x.js +0 -4
- package/dist/chunks/persistent-pty-znahqxh9.js +0 -26
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-hrnqkpcd.js → state-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-j7wq2tw5.js → state-j7wq2tw5.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-paphc93g.js → state-paphc93g.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → state-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service71,
|
|
8
|
+
node75
|
|
9
|
+
} from "./state-8a639n9f.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service38,
|
|
24
|
+
node: () => node42
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service38 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error3({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service71;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service38.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node42 = makeLocationNode({ service: Service38, layer, deps: [node75, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error3, InvalidPatternError2, Service38, node42, exports_ripgrep };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./state-ccfa4wxs.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-4v7qdvcn.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-1vr0zdnx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service50
|
|
12
|
+
} from "./state-zrw639qq.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service56;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service50), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-j7wq2tw5.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-5r58m9f4.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin38,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin38 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin6 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin6 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin38, exports_tavily };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-5r58m9f4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./state-5matf414.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./state-1m07gwnh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID7,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-0tj6kgwv.js";
|
|
15
15
|
import {
|
|
16
16
|
ID11,
|
|
17
17
|
packageName2,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-0sd1vqbs.js";
|
|
20
20
|
import {
|
|
21
21
|
iife2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./state-1kg9ymc8.js";
|
|
23
23
|
import {
|
|
24
24
|
which2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./state-qaymkmh1.js";
|
|
26
26
|
import {
|
|
27
27
|
configuredSettings2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./state-mcvf4ecq.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/azure.ts
|
|
31
31
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -47,7 +47,7 @@ var AzurePlugin2 = define({
|
|
|
47
47
|
effect: Effect.fn(function* (ctx) {
|
|
48
48
|
const configured = yield* configuredSettings2(ID11.azure);
|
|
49
49
|
const processes = yield* AppProcess.Service;
|
|
50
|
-
const bus = yield*
|
|
50
|
+
const bus = yield* Service76;
|
|
51
51
|
const tokens = new Map;
|
|
52
52
|
const loading = Semaphore.makeUnsafe(1);
|
|
53
53
|
const loaded = {};
|
|
@@ -157,7 +157,7 @@ var AzurePlugin2 = define({
|
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
159
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
160
|
-
yield* bus.subscribe(
|
|
160
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
161
161
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
162
162
|
if (evt.model.providerID !== ID11.azure)
|
|
163
163
|
return;
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./state-73kb41h8.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input2,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin3,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description2,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name2
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name2 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input2 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input9 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input2.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin3 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service66;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name2,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description2,
|
|
104
|
+
input: Input2,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin24 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name2,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name2, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input2, Plugin3, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service79,
|
|
3
|
-
node84
|
|
4
|
-
} from "./persistent-pty-8pnhcw9n.js";
|
|
5
|
-
import {
|
|
6
|
-
Service78,
|
|
7
|
-
node83
|
|
8
|
-
} from "./persistent-pty-3dd05w7p.js";
|
|
9
1
|
import {
|
|
10
2
|
Service76,
|
|
11
3
|
node81
|
|
12
|
-
} from "./
|
|
4
|
+
} from "./state-5matf414.js";
|
|
5
|
+
import {
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./state-3g5z5cbj.js";
|
|
9
|
+
import {
|
|
10
|
+
Service73,
|
|
11
|
+
node78
|
|
12
|
+
} from "./state-1gwwkbhx.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-4v7qdvcn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service44,
|
|
18
|
+
node48
|
|
19
|
+
} from "./state-9qe9ae67.js";
|
|
20
20
|
import {
|
|
21
21
|
node18
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./state-yx8q910t.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service10,
|
|
25
|
+
node13
|
|
26
|
+
} from "./state-5kptn8c0.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./state-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher = {};
|
|
33
|
+
__export(exports_location_watcher, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher,
|
|
35
|
+
Service: () => Service2,
|
|
36
|
+
node: () => node2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service73;
|
|
47
|
+
const watcher = yield* Service44;
|
|
48
|
+
const bus = yield* Service76;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service75;
|
|
51
|
+
const policy = yield* Service10;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service2.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node2 = makeLocationNode({
|
|
106
|
+
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node48, FSUtil.node, node78, node80, node81, node18, node13]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service2, node2, exports_location_watcher };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service75,
|
|
9
|
+
node80
|
|
10
|
+
} from "./state-3g5z5cbj.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service73,
|
|
13
|
+
node78
|
|
14
|
+
} from "./state-1gwwkbhx.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service32,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service32 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service75;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service73;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID4.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service32.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node36 = makeLocationNode({
|
|
144
|
+
service: Service32,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node80, Global.node, node78]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer2 = Layer.succeed(
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service32, Service32.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service38, Service38.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error2({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID4, Error2, Service32, node36, noopLayer2, exports_snapshot2 };
|