@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
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./persistent-pty-8pnhcw9n.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-dwx2f77e.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event16,
|
|
21
|
+
ID: () => ID9,
|
|
22
|
+
Info: () => Info23,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service61,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node65,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event16 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source4 = Skill.Source;
|
|
42
|
+
var Info23 = Skill.Info;
|
|
43
|
+
var ID9 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service61 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service79;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID9.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID9.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID9.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID9.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service61.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node65 = makeLocationNode({
|
|
112
|
+
service: Service61,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node84]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info23, ID9, Name2, available2, toModelOutput3, prepare3, Service61, node65, exports_skill5, Event16 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./persistent-pty-0g4mw5j5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./persistent-pty-8pnhcw9n.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./persistent-pty-w9nng7hv.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service38
|
|
16
|
+
} from "./persistent-pty-gnt37ab8.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./persistent-pty-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./persistent-pty-1vr0zdnx.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./persistent-pty-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
46
|
-
const database = yield*
|
|
47
|
-
const bus = yield*
|
|
45
|
+
const instances = yield* Service51;
|
|
46
|
+
const database = yield* Service80;
|
|
47
|
+
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service38;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
78
|
-
const bus = yield*
|
|
77
|
+
const instances = yield* Service51;
|
|
78
|
+
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service38;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service40,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node45
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service40 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service40, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service40.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service33, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node45 = makeGlobalNode({ service: Service40, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service40, node45, exports_environment };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./persistent-pty-8pnhcw9n.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -16,17 +16,17 @@ __export(exports_form, {
|
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID7,
|
|
20
|
+
Info: () => Info21,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError7,
|
|
24
24
|
Reply: () => Reply2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service59,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer24,
|
|
29
|
+
node: () => node63,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
@@ -35,8 +35,8 @@ import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema
|
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Event as Event14 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID7 = Form.ID;
|
|
39
|
+
var Info21 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID7
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID7
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID7
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID7,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service59 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer24 = Layer.effect(Service59, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service79;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError7({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID7.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer23 = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service59.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node63 = makeLocationNode({ service: Service59, layer: layer24, deps: [node84] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID7, Info21, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError7, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service59, layer24, node63, validateAnswer2, validateFields2, exports_form, Event14 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node83
|
|
10
|
+
} from "./persistent-pty-3dd05w7p.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service76,
|
|
13
|
+
node81
|
|
14
|
+
} from "./persistent-pty-spgrcnb8.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-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: () => Error3,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service38,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node43,
|
|
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 ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 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 Service38 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service78;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service30, 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 Error3({ 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(Service30, 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 Error3({ 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(Service30, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.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(Service30, 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 Error3({ 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 Error3({ 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 Service38.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node43 = makeLocationNode({
|
|
144
|
+
service: Service38,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node83, Global.node, node81]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer2 = Layer.succeed(
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service38, Service38.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(Service30, Service30.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
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 { ID5, Error3, Service38, node43, noopLayer2, exports_snapshot2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-0sd1vqbs.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-f6hkkqkf.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/directory.ts
|
|
9
9
|
var exports_directory = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service42,
|
|
3
|
+
node47
|
|
4
|
+
} from "./persistent-pty-sn6fh5zf.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions5 = {};
|
|
17
|
+
__export(exports_instructions5, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
+
Service: () => Service29,
|
|
20
|
+
node: () => node34
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,11 +57,11 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service29 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service42;
|
|
64
|
+
return Service29.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node34 = makeLocationNode({ service: Service29, layer, deps: [node47] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service29, node34, exports_instructions5 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|