@opencode/core 0.0.0-dev-19583 → 0.0.0-dev-19584
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 +74 -74
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{aisdk-native-2y4ndx7s.js → persistent-pty-05xwxbj8.js} +14 -14
- package/dist/chunks/{aisdk-native-1yafe312.js → persistent-pty-0c81wqd1.js} +5 -5
- package/dist/chunks/{aisdk-native-fg560hfa.js → persistent-pty-0g4mw5j5.js} +11 -11
- package/dist/chunks/{aisdk-native-99a7ebt7.js → persistent-pty-0kg1b9bg.js} +26 -26
- package/dist/chunks/{aisdk-native-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{aisdk-native-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/persistent-pty-0qxvqcep.js +247 -0
- package/dist/chunks/{aisdk-native-tp9p8sx2.js → persistent-pty-0sd1vqbs.js} +4 -4
- package/dist/chunks/{aisdk-native-3cq30546.js → persistent-pty-0sx3nms7.js} +30 -30
- package/dist/chunks/{aisdk-native-pehvz7x4.js → persistent-pty-0thdkkg9.js} +20 -20
- package/dist/chunks/{aisdk-native-pxz6bvnr.js → persistent-pty-0z8xks3p.js} +13 -13
- package/dist/chunks/{aisdk-native-4d03v7dn.js → persistent-pty-17cze9zm.js} +6 -6
- package/dist/chunks/{aisdk-native-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{aisdk-native-2n2de82x.js → persistent-pty-1kvn4pb6.js} +13 -13
- package/dist/chunks/{aisdk-native-1vr0zdnx.js → persistent-pty-1vr0zdnx.js} +3 -3
- package/dist/chunks/{aisdk-native-eh12wnnt.js → persistent-pty-1vs9pjz2.js} +18 -18
- package/dist/chunks/{aisdk-native-56gdpj1q.js → persistent-pty-1ygqh575.js} +9 -9
- package/dist/chunks/{aisdk-native-38n43c4a.js → persistent-pty-1yvnvg7m.js} +9 -9
- package/dist/chunks/{aisdk-native-abs6wmd0.js → persistent-pty-2058e169.js} +1 -1
- package/dist/chunks/{aisdk-native-p7cb5w0v.js → persistent-pty-206yk4e9.js} +4 -4
- package/dist/chunks/{aisdk-native-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{aisdk-native-n413b6kb.js → persistent-pty-22e7kr3t.js} +35 -35
- package/dist/chunks/{aisdk-native-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{aisdk-native-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{aisdk-native-qzmvy3cm.js → persistent-pty-2b6fmm76.js} +48 -48
- package/dist/chunks/{aisdk-native-td195knq.js → persistent-pty-2b6sywcb.js} +11 -11
- package/dist/chunks/{aisdk-native-yz3vd6vv.js → persistent-pty-2bjnfy8a.js} +3 -3
- package/dist/chunks/{aisdk-native-b27vhd2z.js → persistent-pty-34rkz0x9.js} +7 -7
- package/dist/chunks/{aisdk-native-qrvws2y5.js → persistent-pty-38e07ncx.js} +46 -46
- package/dist/chunks/{aisdk-native-3w0fmcng.js → persistent-pty-3cfzdc8e.js} +5 -5
- package/dist/chunks/{aisdk-native-h1jm0tsh.js → persistent-pty-3dd05w7p.js} +12 -12
- package/dist/chunks/{aisdk-native-pk6g247z.js → persistent-pty-3e34z61w.js} +6 -6
- package/dist/chunks/{aisdk-native-z4hphegc.js → persistent-pty-3e58ck0x.js} +17 -17
- package/dist/chunks/{aisdk-native-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{aisdk-native-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-native-851r6173.js → persistent-pty-3n3mkc0a.js} +10 -10
- package/dist/chunks/{aisdk-native-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-native-pgzcamss.js → persistent-pty-3sy2rmfm.js} +21 -21
- package/dist/chunks/{aisdk-native-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-native-a135vfzn.js → persistent-pty-3v9hsfh8.js} +14 -14
- package/dist/chunks/{aisdk-native-h6jr292a.js → persistent-pty-3ythc6yv.js} +4 -4
- package/dist/chunks/{aisdk-native-amjfz4j5.js → persistent-pty-42yzd3fp.js} +11 -11
- package/dist/chunks/{aisdk-native-5ejrhezz.js → persistent-pty-496txj22.js} +7 -7
- package/dist/chunks/{aisdk-native-43fg28p8.js → persistent-pty-4mtmdvvs.js} +1 -1
- package/dist/chunks/{aisdk-native-w6qt98jr.js → persistent-pty-4mvw3hxq.js} +28 -28
- package/dist/chunks/persistent-pty-4yg1bvbf.js +466 -0
- package/dist/chunks/{aisdk-native-kr54cx8m.js → persistent-pty-4ynbxhwa.js} +2 -2
- package/dist/chunks/{aisdk-native-zdfvmjgv.js → persistent-pty-589kjr7t.js} +1 -1
- package/dist/chunks/{aisdk-native-2rczm6na.js → persistent-pty-59752w5j.js} +16 -16
- package/dist/chunks/{aisdk-native-7jxzrmt8.js → persistent-pty-5ac1b84a.js} +26 -26
- package/dist/chunks/{aisdk-native-x569bdqa.js → persistent-pty-5cd5fjqe.js} +1 -1
- package/dist/chunks/{aisdk-native-2g4ad3zr.js → persistent-pty-5d15hsb6.js} +13 -13
- package/dist/chunks/{aisdk-native-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{aisdk-native-4780s8zr.js → persistent-pty-5gachfgg.js} +9 -9
- package/dist/chunks/{aisdk-native-s2hxv7vm.js → persistent-pty-5k5yck0f.js} +9 -9
- package/dist/chunks/{aisdk-native-2nrx02nr.js → persistent-pty-5p9h7pff.js} +19 -19
- package/dist/chunks/{aisdk-native-cmbqfntm.js → persistent-pty-5qkxfyep.js} +6 -6
- package/dist/chunks/{aisdk-native-89y8sbmb.js → persistent-pty-5svcwycr.js} +33 -33
- package/dist/chunks/{aisdk-native-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{aisdk-native-eq0b4vv6.js → persistent-pty-5v5spdss.js} +13 -13
- package/dist/chunks/{aisdk-native-jzvd87es.js → persistent-pty-5vnfk0kh.js} +9 -9
- package/dist/chunks/{aisdk-native-41jzy71a.js → persistent-pty-5xw2c6z8.js} +25 -25
- package/dist/chunks/{aisdk-native-rm21g7pf.js → persistent-pty-626mqfzg.js} +29 -29
- package/dist/chunks/{aisdk-native-2gyjhdrq.js → persistent-pty-62xz1acx.js} +27 -27
- package/dist/chunks/{aisdk-native-ddcsd7vw.js → persistent-pty-63jf72mk.js} +28 -28
- package/dist/chunks/{aisdk-native-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{aisdk-native-frpv932d.js → persistent-pty-68bd668p.js} +20 -20
- package/dist/chunks/{aisdk-native-sy5x3wzp.js → persistent-pty-6f3x1sac.js} +24 -24
- package/dist/chunks/{aisdk-native-2srawrcq.js → persistent-pty-6fkbyjd1.js} +13 -13
- package/dist/chunks/{aisdk-native-xekzrwwc.js → persistent-pty-6jnybvqn.js} +9 -9
- package/dist/chunks/{aisdk-native-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{aisdk-native-71q4at8m.js → persistent-pty-71q4at8m.js} +1 -1
- package/dist/chunks/{aisdk-native-vemy5j9p.js → persistent-pty-78x4yxpz.js} +4 -4
- package/dist/chunks/{aisdk-native-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-native-52psjfn1.js → persistent-pty-7dw2qt1k.js} +9 -9
- package/dist/chunks/{aisdk-native-xbh4a5kt.js → persistent-pty-7nqbnmvb.js} +39 -39
- package/dist/chunks/{aisdk-native-5srx1v4n.js → persistent-pty-7sznsykr.js} +89 -89
- package/dist/chunks/{aisdk-native-81swgkk7.js → persistent-pty-81swgkk7.js} +2 -2
- package/dist/chunks/{aisdk-native-71tckj1e.js → persistent-pty-82s8z8za.js} +18 -18
- package/dist/chunks/{aisdk-native-52vhnsmh.js → persistent-pty-8408vx5q.js} +21 -21
- package/dist/chunks/{aisdk-native-844ef7ks.js → persistent-pty-844ef7ks.js} +1 -1
- package/dist/chunks/{aisdk-native-t8ydx3ks.js → persistent-pty-84gqnz71.js} +4 -4
- package/dist/chunks/{aisdk-native-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{aisdk-native-qd153e6s.js → persistent-pty-8de9g2wa.js} +8 -8
- package/dist/chunks/{aisdk-native-embw8kgh.js → persistent-pty-8gxqpgph.js} +4 -4
- package/dist/chunks/{aisdk-native-8p4f9s12.js → persistent-pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{aisdk-native-4q4cc79w.js → persistent-pty-8pathdrb.js} +25 -25
- package/dist/chunks/{aisdk-native-kghz7czx.js → persistent-pty-8pnhcw9n.js} +16 -16
- package/dist/chunks/{aisdk-native-e47xecx5.js → persistent-pty-8sayvzft.js} +30 -30
- package/dist/chunks/{aisdk-native-wjf2ryf5.js → persistent-pty-9d535vz8.js} +18 -18
- package/dist/chunks/{aisdk-native-zn09men2.js → persistent-pty-9f9vwzym.js} +8 -8
- package/dist/chunks/{aisdk-native-tq6bwazz.js → persistent-pty-9jsys95r.js} +11 -11
- package/dist/chunks/{aisdk-native-w93b8rs8.js → persistent-pty-9mzygsgd.js} +24 -24
- package/dist/chunks/{aisdk-native-59e652aq.js → persistent-pty-9qkncw00.js} +27 -27
- package/dist/chunks/{aisdk-native-41te7r6z.js → persistent-pty-9sgpzjef.js} +1 -1
- package/dist/chunks/persistent-pty-9sh4wc5j.js +18 -0
- package/dist/chunks/{aisdk-native-8txk5vvv.js → persistent-pty-9tmzke5r.js} +4 -4
- package/dist/chunks/{aisdk-native-84gm4ahf.js → persistent-pty-9vh4jr2k.js} +12 -12
- package/dist/chunks/{aisdk-native-ra0zgg5j.js → persistent-pty-9yt7w0rv.js} +15 -15
- package/dist/chunks/{aisdk-native-a1bz86dw.js → persistent-pty-a1bz86dw.js} +3 -3
- package/dist/chunks/{aisdk-native-xkh206w4.js → persistent-pty-a7a6fc9p.js} +12 -12
- package/dist/chunks/{aisdk-native-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{aisdk-native-es9gdetj.js → persistent-pty-aax53f6n.js} +17 -17
- package/dist/chunks/{aisdk-native-c8x9jjqs.js → persistent-pty-aeah27kd.js} +11 -11
- package/dist/chunks/{aisdk-native-g39ac3w8.js → persistent-pty-afhxak9c.js} +16 -16
- package/dist/chunks/{aisdk-native-hnymxeh9.js → persistent-pty-agkbaxng.js} +88 -88
- package/dist/chunks/{aisdk-native-e0a154fg.js → persistent-pty-axp4ehpq.js} +8 -8
- package/dist/chunks/{aisdk-native-4xnse8v3.js → persistent-pty-azbmczjz.js} +8 -8
- package/dist/chunks/{aisdk-native-0p3r241p.js → persistent-pty-b165d2ep.js} +15 -15
- package/dist/chunks/{aisdk-native-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{aisdk-native-1we85rsf.js → persistent-pty-b6t4jbed.js} +18 -18
- package/dist/chunks/{aisdk-native-b0x37p0a.js → persistent-pty-bc0b1cn5.js} +17 -17
- package/dist/chunks/{aisdk-native-nfepxh1f.js → persistent-pty-bc3gadnq.js} +11 -11
- package/dist/chunks/{aisdk-native-semx9jrf.js → persistent-pty-bcpx3kh8.js} +6 -6
- package/dist/chunks/{aisdk-native-60strtre.js → persistent-pty-bf2va0zq.js} +29 -29
- package/dist/chunks/{aisdk-native-eppr9y53.js → persistent-pty-bf3rh841.js} +6 -6
- package/dist/chunks/{aisdk-native-bha4atvq.js → persistent-pty-bha4atvq.js} +4 -4
- package/dist/chunks/{aisdk-native-2xs5qa53.js → persistent-pty-bhp3acg7.js} +13 -13
- package/dist/chunks/{aisdk-native-1x7ersxg.js → persistent-pty-bn34ha38.js} +9 -9
- package/dist/chunks/{aisdk-native-43crx2w2.js → persistent-pty-bwryp2h3.js} +12 -12
- package/dist/chunks/{aisdk-native-skcteb1m.js → persistent-pty-c0dsdm4e.js} +5 -5
- package/dist/chunks/{aisdk-native-cfpkc3c9.js → persistent-pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{aisdk-native-yt0fqk68.js → persistent-pty-cr07tj7n.js} +5 -5
- package/dist/chunks/{aisdk-native-2fwrkc5e.js → persistent-pty-cteaegd3.js} +13 -13
- package/dist/chunks/{aisdk-native-z0ckehw0.js → persistent-pty-czp9ge7b.js} +18 -18
- package/dist/chunks/{aisdk-native-a7vehekd.js → persistent-pty-czsydm57.js} +1 -1
- package/dist/chunks/{aisdk-native-arbhw10g.js → persistent-pty-d1w3xvsh.js} +28 -28
- package/dist/chunks/{aisdk-native-298jyxsx.js → persistent-pty-ddm8m3z4.js} +8 -8
- package/dist/chunks/{aisdk-native-pwrqcwe9.js → persistent-pty-dn7wrvez.js} +24 -24
- package/dist/chunks/{aisdk-native-s8qm2a7g.js → persistent-pty-dncyknv9.js} +51 -51
- package/dist/chunks/{aisdk-native-ah0nee8a.js → persistent-pty-dsqps89d.js} +2 -2
- package/dist/chunks/{aisdk-native-7zct076f.js → persistent-pty-dw69x1rn.js} +14 -14
- package/dist/chunks/{aisdk-native-2g0d4v0m.js → persistent-pty-dwx2f77e.js} +32 -32
- package/dist/chunks/{aisdk-native-r1zny7pr.js → persistent-pty-e09h8vmy.js} +4 -4
- package/dist/chunks/{aisdk-native-vc3wkb8v.js → persistent-pty-e56fx67n.js} +6 -6
- package/dist/chunks/{aisdk-native-35vdht0v.js → persistent-pty-e56mcz5p.js} +4 -4
- package/dist/chunks/{aisdk-native-bndc73cn.js → persistent-pty-e5nv3ght.js} +5 -5
- package/dist/chunks/{aisdk-native-8vcmq4cd.js → persistent-pty-e970wt3q.js} +17 -17
- package/dist/chunks/{aisdk-native-eaj1djv9.js → persistent-pty-eaj1djv9.js} +1 -1
- package/dist/chunks/{aisdk-native-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{aisdk-native-xpmwf0wq.js → persistent-pty-ehddvng3.js} +18 -18
- package/dist/chunks/{aisdk-native-73tb2d7t.js → persistent-pty-eq1pz5kg.js} +3 -3
- package/dist/chunks/{aisdk-native-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{aisdk-native-tsdy83j7.js → persistent-pty-ezvncnwm.js} +20 -20
- package/dist/chunks/{aisdk-native-c6yj5s2g.js → persistent-pty-f1zxfvwb.js} +2 -2
- package/dist/chunks/{aisdk-native-4v5k9n23.js → persistent-pty-f6hkkqkf.js} +5 -5
- package/dist/chunks/{aisdk-native-f828m53h.js → persistent-pty-f828m53h.js} +2 -2
- package/dist/chunks/{aisdk-native-t616d1h2.js → persistent-pty-f9yq8qfp.js} +11 -11
- package/dist/chunks/{aisdk-native-akxe4ez8.js → persistent-pty-fp32mqfc.js} +10 -10
- package/dist/chunks/{aisdk-native-3fad0q0e.js → persistent-pty-fppfcy2a.js} +8 -8
- package/dist/chunks/{aisdk-native-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{aisdk-native-kk8jb7yg.js → persistent-pty-fzvehgre.js} +28 -28
- package/dist/chunks/{aisdk-native-t349jfgm.js → persistent-pty-g2xmwvbg.js} +25 -25
- package/dist/chunks/{aisdk-native-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-native-23279rje.js → persistent-pty-gdvyk2fc.js} +8 -8
- package/dist/chunks/{aisdk-native-stje0xbs.js → persistent-pty-ge5v2f0h.js} +25 -25
- package/dist/chunks/{aisdk-native-ryyq0fza.js → persistent-pty-gnt37ab8.js} +32 -32
- package/dist/chunks/{aisdk-native-3kdyy1m8.js → persistent-pty-grt76b4b.js} +4 -4
- package/dist/chunks/{aisdk-native-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{aisdk-native-r0a65dvs.js → persistent-pty-gznea914.js} +16 -16
- package/dist/chunks/{aisdk-native-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{aisdk-native-hqhvm2fh.js → persistent-pty-h6ceay40.js} +26 -26
- package/dist/chunks/{aisdk-native-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-native-rmk2c50f.js → persistent-pty-h9rm1rrn.js} +5 -5
- package/dist/chunks/{aisdk-native-d4p60p50.js → persistent-pty-ha7sav0k.js} +15 -15
- package/dist/chunks/{aisdk-native-q31ye7s4.js → persistent-pty-hbm93p8d.js} +8 -8
- package/dist/chunks/{aisdk-native-czytgxr9.js → persistent-pty-hc63f9kn.js} +41 -41
- package/dist/chunks/{aisdk-native-hjt4xg1x.js → persistent-pty-hjt4xg1x.js} +1 -1
- package/dist/chunks/{aisdk-native-drdwhv0y.js → persistent-pty-hm4t8meg.js} +13 -13
- package/dist/chunks/{aisdk-native-pa7bj0vb.js → persistent-pty-hwwdw15z.js} +2 -2
- package/dist/chunks/{aisdk-native-qn17exnn.js → persistent-pty-j2mfdbp4.js} +47 -47
- package/dist/chunks/{aisdk-native-tehvapsj.js → persistent-pty-j50xegtf.js} +16 -16
- package/dist/chunks/{aisdk-native-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{aisdk-native-84rszb02.js → persistent-pty-jvhzf42w.js} +11 -11
- package/dist/chunks/{aisdk-native-yb94xmg0.js → persistent-pty-jwx4y25k.js} +9 -9
- package/dist/chunks/{aisdk-native-r2spsd22.js → persistent-pty-jxeb4ebr.js} +30 -30
- package/dist/chunks/{aisdk-native-p8wdnmcp.js → persistent-pty-k2b2g35d.js} +8 -8
- package/dist/chunks/{aisdk-native-xsmg1cqw.js → persistent-pty-k5zxrj0d.js} +5 -5
- package/dist/chunks/{aisdk-native-0fp389vf.js → persistent-pty-k78143q9.js} +33 -33
- package/dist/chunks/{aisdk-native-w802fkc1.js → persistent-pty-k7m853hp.js} +11 -11
- package/dist/chunks/{aisdk-native-yt6rpptf.js → persistent-pty-ka4yxbtw.js} +36 -36
- package/dist/chunks/{aisdk-native-qrc132q8.js → persistent-pty-kbdb6esp.js} +28 -28
- package/dist/chunks/{aisdk-native-z41ktzmy.js → persistent-pty-kbyt3dpp.js} +12 -12
- package/dist/chunks/{aisdk-native-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
- package/dist/chunks/{aisdk-native-8aw2rxvt.js → persistent-pty-kge582w3.js} +35 -35
- package/dist/chunks/{aisdk-native-bntn61xv.js → persistent-pty-kkqjkt98.js} +9 -9
- package/dist/chunks/{aisdk-native-jnsa8b46.js → persistent-pty-krp391jj.js} +1 -1
- package/dist/chunks/{aisdk-native-w5bfkw37.js → persistent-pty-m8jf7wk8.js} +26 -26
- package/dist/chunks/{aisdk-native-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-native-k2h4r4s0.js → persistent-pty-magykp64.js} +4 -4
- package/dist/chunks/{aisdk-native-eae1b7yd.js → persistent-pty-mj18h2aw.js} +59 -59
- package/dist/chunks/{aisdk-native-2xhpx24b.js → persistent-pty-n9a09xjq.js} +27 -27
- package/dist/chunks/{aisdk-native-55mcnncg.js → persistent-pty-na270pps.js} +32 -32
- package/dist/chunks/{aisdk-native-35agz59w.js → persistent-pty-nqnxh7mc.js} +6 -6
- package/dist/chunks/{aisdk-native-cagxq5rv.js → persistent-pty-nqzv378d.js} +1 -1
- package/dist/chunks/{aisdk-native-c915801w.js → persistent-pty-nrxrcqxy.js} +6 -6
- package/dist/chunks/{aisdk-native-50mxj0bj.js → persistent-pty-nv1yqemr.js} +15 -15
- package/dist/chunks/{aisdk-native-mj9g1kjq.js → persistent-pty-nvtvgz84.js} +26 -26
- package/dist/chunks/{aisdk-native-4kc9aps2.js → persistent-pty-nvxvk6cq.js} +31 -31
- package/dist/chunks/{aisdk-native-h7xh45rs.js → persistent-pty-nwbgmj8m.js} +44 -44
- package/dist/chunks/{aisdk-native-tkyzgwz1.js → persistent-pty-nzhrp77s.js} +7 -7
- package/dist/chunks/{aisdk-native-8hzm9gkc.js → persistent-pty-p0hf09xn.js} +9 -9
- package/dist/chunks/{aisdk-native-enf5c3ym.js → persistent-pty-p158fnhc.js} +1 -1
- package/dist/chunks/{aisdk-native-rccdk6ga.js → persistent-pty-pa491p54.js} +5 -5
- package/dist/chunks/{aisdk-native-6n88yxkj.js → persistent-pty-pb1eahw5.js} +8 -8
- package/dist/chunks/{aisdk-native-eyh98pqe.js → persistent-pty-pj5203r7.js} +9 -9
- package/dist/chunks/{aisdk-native-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{aisdk-native-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-native-pmr4s4kc.js → persistent-pty-pmr4s4kc.js} +1 -1
- package/dist/chunks/{aisdk-native-hr5bc81f.js → persistent-pty-pw9v3g6d.js} +8 -8
- package/dist/chunks/{aisdk-native-0f6xhysr.js → persistent-pty-pyge2gej.js} +11 -11
- package/dist/chunks/{aisdk-native-djgr9m87.js → persistent-pty-pzj2rmc9.js} +32 -32
- package/dist/chunks/{aisdk-native-5n3vgq58.js → persistent-pty-q31fgcfb.js} +2 -2
- package/dist/chunks/persistent-pty-qapv375x.js +4 -0
- package/dist/chunks/{aisdk-native-0qtdzsaf.js → persistent-pty-qet0rm74.js} +14 -14
- package/dist/chunks/{aisdk-native-2k8khapm.js → persistent-pty-qgn6gcr1.js} +5 -5
- package/dist/chunks/{aisdk-native-2vyj2bg7.js → persistent-pty-qh1ywv3d.js} +15 -15
- package/dist/chunks/{aisdk-native-0r7yqxbf.js → persistent-pty-qn4ba14w.js} +5 -5
- package/dist/chunks/{aisdk-native-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-native-w3pkdr35.js → persistent-pty-r5fkrtf5.js} +15 -15
- package/dist/chunks/{aisdk-native-r8xr0va3.js → persistent-pty-r8xr0va3.js} +1 -1
- package/dist/chunks/{aisdk-native-he9kyzhb.js → persistent-pty-r9f3x48r.js} +34 -34
- package/dist/chunks/{aisdk-native-r9mregkx.js → persistent-pty-r9mregkx.js} +2 -2
- package/dist/chunks/{aisdk-native-5xh4fsqf.js → persistent-pty-rcpm74vd.js} +32 -32
- package/dist/chunks/{aisdk-native-3g1c19xf.js → persistent-pty-rgze53b9.js} +9 -9
- package/dist/chunks/{aisdk-native-6ygytmvg.js → persistent-pty-rwnsg6a6.js} +29 -29
- package/dist/chunks/{aisdk-native-39br3r91.js → persistent-pty-s4pktsq9.js} +30 -30
- package/dist/chunks/{aisdk-native-xr03y1nz.js → persistent-pty-s6dtgd81.js} +9 -9
- package/dist/chunks/{aisdk-native-6j6t7x08.js → persistent-pty-s70jy2hq.js} +14 -14
- package/dist/chunks/{aisdk-native-p0bhpq8n.js → persistent-pty-s779q3a9.js} +13 -13
- package/dist/chunks/{aisdk-native-9qvs7rmv.js → persistent-pty-scz5cghm.js} +26 -26
- package/dist/chunks/{aisdk-native-pg4ajkmw.js → persistent-pty-sdch2j4x.js} +12 -12
- package/dist/chunks/{aisdk-native-v02qgg8n.js → persistent-pty-smt3zz30.js} +12 -12
- package/dist/chunks/{aisdk-native-3566en2x.js → persistent-pty-sn6fh5zf.js} +27 -27
- package/dist/chunks/{aisdk-native-g0jgrjzw.js → persistent-pty-spgrcnb8.js} +14 -14
- package/dist/chunks/{aisdk-native-2sayakk2.js → persistent-pty-ssn2d03m.js} +9 -9
- package/dist/chunks/{aisdk-native-xeg3kepc.js → persistent-pty-sx4xr51h.js} +13 -13
- package/dist/chunks/{aisdk-native-p1wf2k30.js → persistent-pty-t0x5rdq8.js} +9 -9
- package/dist/chunks/{aisdk-native-nzf6ngw4.js → persistent-pty-t0z0qgy3.js} +21 -21
- package/dist/chunks/{aisdk-native-fn9ex9dt.js → persistent-pty-t5whs6d7.js} +65 -65
- package/dist/chunks/{aisdk-native-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-native-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{aisdk-native-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{aisdk-native-v7g373cq.js → persistent-pty-tn4ddmrt.js} +150 -150
- package/dist/chunks/{aisdk-native-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{aisdk-native-da6kr1wx.js → persistent-pty-tx9qvpbt.js} +6 -6
- package/dist/chunks/{aisdk-native-vdq2zgn0.js → persistent-pty-v1t8jh9k.js} +5 -5
- package/dist/chunks/{aisdk-native-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-native-3m22v5tc.js → persistent-pty-vfp1b9yp.js} +18 -18
- package/dist/chunks/{aisdk-native-tkqhb0v4.js → persistent-pty-vj3eq5bp.js} +11 -11
- package/dist/chunks/{aisdk-native-m493fsx1.js → persistent-pty-vnmr62xz.js} +23 -23
- package/dist/chunks/{aisdk-native-7qrw4mgx.js → persistent-pty-vnqcaznc.js} +8 -8
- package/dist/chunks/{aisdk-native-5dftfqxv.js → persistent-pty-vx4t8ze6.js} +5 -5
- package/dist/chunks/{aisdk-native-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{aisdk-native-paegk39x.js → persistent-pty-w1k39n5e.js} +4 -4
- package/dist/chunks/{aisdk-native-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-native-9yr2yfq4.js → persistent-pty-w9nng7hv.js} +6 -6
- package/dist/chunks/{aisdk-native-jcs6w01c.js → persistent-pty-wb68eg2d.js} +32 -32
- package/dist/chunks/{aisdk-native-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-native-ph0efptw.js → persistent-pty-wghwg6ra.js} +35 -35
- package/dist/chunks/{aisdk-native-rwq67zjw.js → persistent-pty-wm96rsv2.js} +5 -5
- package/dist/chunks/{aisdk-native-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{aisdk-native-1k9w40nb.js → persistent-pty-xc4jr48e.js} +41 -41
- package/dist/chunks/{aisdk-native-hdq9d5ef.js → persistent-pty-xcwerhy1.js} +19 -19
- package/dist/chunks/{aisdk-native-xg9t41r3.js → persistent-pty-xg9t41r3.js} +2 -2
- package/dist/chunks/{aisdk-native-75bekd79.js → persistent-pty-xzpmzq69.js} +5 -5
- package/dist/chunks/{aisdk-native-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{aisdk-native-dpkg50ah.js → persistent-pty-y71avatq.js} +4 -4
- package/dist/chunks/{aisdk-native-mcme06m0.js → persistent-pty-yjajwhcv.js} +7 -7
- package/dist/chunks/{aisdk-native-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{aisdk-native-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{aisdk-native-baccn41y.js → persistent-pty-ysey65vb.js} +23 -23
- package/dist/chunks/{aisdk-native-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-native-y7xma9xt.js → persistent-pty-z3gdfb1b.js} +4 -4
- package/dist/chunks/{aisdk-native-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
- package/dist/chunks/{aisdk-native-9fcqxxf8.js → persistent-pty-z7h38qqt.js} +18 -18
- package/dist/chunks/{aisdk-native-gjd82kzp.js → persistent-pty-zats4t81.js} +27 -27
- package/dist/chunks/{aisdk-native-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{aisdk-native-fhs1bjrf.js → persistent-pty-zfx059e4.js} +15 -15
- package/dist/chunks/persistent-pty-znahqxh9.js +26 -0
- package/dist/chunks/{aisdk-native-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{aisdk-native-zxq2ej10.js → persistent-pty-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 +84 -84
- 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 +121 -121
- 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 +121 -121
- 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 +119 -119
- 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 +80 -80
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +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 +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +94 -94
- 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 +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +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 +107 -107
- package/dist/mcp/instructions.js +126 -126
- 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 +85 -85
- package/dist/model.js +4 -4
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +75 -75
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- 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 +4 -4
- 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 +119 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/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 +3 -3
- 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 +129 -129
- 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 +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +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 +170 -170
- 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 +86 -86
- 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 +13 -13
- package/dist/shell.js +136 -136
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- 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 +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- 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 +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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +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 +89 -89
- package/package.json +8 -8
- package/dist/chunks/aisdk-native-0mesazry.js +0 -4
- package/dist/chunks/aisdk-native-442en5yq.js +0 -247
- package/dist/chunks/aisdk-native-7h1jrkgs.js +0 -26
- package/dist/chunks/aisdk-native-bdez0z91.js +0 -466
- package/dist/chunks/aisdk-native-ht5y0zrb.js +0 -18
- /package/dist/chunks/{aisdk-native-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-native-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-native-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-native-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-native-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-native-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-native-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-native-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-native-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-native-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-native-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-native-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{aisdk-native-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-native-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-native-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-native-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-native-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-native-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-native-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-native-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-native-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-native-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-native-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-native-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-native-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{aisdk-native-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-native-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-native-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-native-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-native-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-native-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-native-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-native-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-native-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-native-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-native-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-native-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-native-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-native-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-native-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-native-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-native-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-native-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-native-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-native-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-native-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-native-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-native-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-native-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-native-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{aisdk-native-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-native-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-native-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-native-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-native-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{aisdk-native-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-native-hrnqkpcd.js → persistent-pty-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{aisdk-native-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-native-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-native-j7wq2tw5.js → persistent-pty-j7wq2tw5.js} +0 -0
- /package/dist/chunks/{aisdk-native-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-native-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-native-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-native-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-native-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-native-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-native-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-native-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-native-paphc93g.js → persistent-pty-paphc93g.js} +0 -0
- /package/dist/chunks/{aisdk-native-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-native-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-native-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-native-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-native-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-native-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-native-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-native-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{aisdk-native-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-native-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{aisdk-native-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-native-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-native-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-native-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-native-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-native-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-native-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-native-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-native-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node81
|
|
7
|
+
} from "./persistent-pty-spgrcnb8.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service23,
|
|
10
|
+
node27
|
|
11
|
+
} from "./persistent-pty-czp9ge7b.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options3,
|
|
25
|
+
Service: () => Service22,
|
|
26
|
+
configured: () => configured3,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer10,
|
|
29
|
+
node: () => node26,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service22 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service22, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service76;
|
|
63
|
+
const ripgrep = yield* Service23;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service22.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service22, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service76;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service22.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service22.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer10 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service76;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured3(options) {
|
|
186
|
+
return makeLocationNode({ service: Service22, layer: layer10(options), deps: [node81, node27] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node26 = configured3();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options3, Service22, ripgrepLayer2, fffLayer2, layer10, configured3, node26, exports_search };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-paphc93g.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
14
|
Event: () => Event10,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options8,
|
|
17
|
+
Service: () => Service45,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured8,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer19,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node50,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options8 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service45 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer19 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service45.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer20 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service45.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service45).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service45, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured8(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service45, layer: layer19(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node50 = configured8();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export { Event10, hasNativeBinding2, Native3,
|
|
190
|
+
export { Event10, hasNativeBinding2, Native3, Options8, Service45, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured8, node50, exports_watcher };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service65,
|
|
6
|
+
node69
|
|
7
|
+
} from "./persistent-pty-dn7wrvez.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service64,
|
|
17
|
+
node: () => node68,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service64 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service65;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service64.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node68 = makeLocationNode({ service: Service64, layer, deps: [node69] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service64, readText2, syncTextBom2, node68, exports_file_mutation };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID6,
|
|
3
|
+
Service58
|
|
4
|
+
} from "./persistent-pty-scz5cghm.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-0sd1vqbs.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -13,7 +13,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
13
13
|
var LLMGatewayPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.llmgateway",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
16
|
-
const integrations = yield*
|
|
16
|
+
const integrations = yield* Service58;
|
|
17
17
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
18
18
|
yield* ctx.catalog.transform((evt) => {
|
|
19
19
|
for (const item of evt.provider.list()) {
|
|
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
25
25
|
continue;
|
|
26
26
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
27
27
|
continue;
|
|
28
|
-
if (!configured.has(
|
|
28
|
+
if (!configured.has(ID6.make(item.provider.id)))
|
|
29
29
|
continue;
|
|
30
30
|
evt.provider.update(item.provider.id, (provider) => {
|
|
31
31
|
provider.headers = {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./persistent-pty-0g4mw5j5.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service68,
|
|
17
|
+
node: () => node73
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service68 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service80).db;
|
|
26
|
+
return Service68.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node73 = makeGlobalNode({ service: Service68, layer, deps: [node85] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service68, node73, exports_kv };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-j7wq2tw5.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -4,29 +4,29 @@ import {
|
|
|
4
4
|
empty3,
|
|
5
5
|
make21,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-eaj1djv9.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID9,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service61,
|
|
13
|
+
node65
|
|
14
|
+
} from "./persistent-pty-fzvehgre.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Service: () =>
|
|
23
|
-
SkillInstructions: () =>
|
|
24
|
-
node: () =>
|
|
20
|
+
var exports_instructions2 = {};
|
|
21
|
+
__export(exports_instructions2, {
|
|
22
|
+
Service: () => Service27,
|
|
23
|
+
SkillInstructions: () => exports_instructions2,
|
|
24
|
+
node: () => node32
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
28
|
var Summary = Schema.Struct({
|
|
29
|
-
id:
|
|
29
|
+
id: ID9,
|
|
30
30
|
name: Name2,
|
|
31
31
|
description: Schema.String
|
|
32
32
|
});
|
|
@@ -60,11 +60,11 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service27 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service61;
|
|
67
|
+
return Service27.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
86
|
+
var node32 = makeLocationNode({ service: Service27, layer, deps: [node65] });
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Service27, node32, exports_instructions2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES2 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./persistent-pty-w9nng7hv.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9sh4wc5j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service39
|
|
9
|
+
} from "./persistent-pty-2b6fmm76.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service51;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service39), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
7
7
|
__export(exports_opencode, {
|
|
8
8
|
MoveInput: () => MoveInput2,
|
|
9
9
|
OpenCodeTools: () => exports_opencode,
|
|
10
|
-
Plugin: () =>
|
|
10
|
+
Plugin: () => Plugin26,
|
|
11
11
|
RenameInput: () => RenameInput2
|
|
12
12
|
});
|
|
13
13
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -26,7 +26,7 @@ var MoveInput2 = Schema.Struct({
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
|
|
29
|
-
var
|
|
29
|
+
var Plugin26 = {
|
|
30
30
|
id: "opencode.tools",
|
|
31
31
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
32
32
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -77,4 +77,4 @@ var Plugin30 = {
|
|
|
77
77
|
})
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
export { RenameInput2, MoveInput2,
|
|
80
|
+
export { RenameInput2, MoveInput2, Plugin26, exports_opencode };
|