@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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./persistent-pty-0g4mw5j5.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node71
|
|
12
|
+
} from "./persistent-pty-axp4ehpq.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID12,
|
|
25
|
+
Info: () => Info26,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service66,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured11,
|
|
30
|
+
node: () => node70
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID12 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info26 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID12,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,25 +46,25 @@ class Info10 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID12 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID12,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service66 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service66,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [
|
|
64
|
+
deps: [node85, node71]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
67
|
-
const db = (yield*
|
|
66
|
+
var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
67
|
+
const db = (yield* Service80).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
70
70
|
const connections = new Map;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info26({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service66.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID12.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node70 = configured11();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID12, Info26, NotFound3, CreateConflict2, Service66, configured11, node70, exports_workspace };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node42
|
|
5
|
+
} from "./persistent-pty-2b6sywcb.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-w1k39n5e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service73,
|
|
12
|
+
node78
|
|
13
|
+
} from "./persistent-pty-8de9g2wa.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-dwx2f77e.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-s70jy2hq.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error4
|
|
22
|
+
} from "./persistent-pty-6f3x1sac.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service36,
|
|
25
|
+
node40
|
|
26
|
+
} from "./persistent-pty-jvhzf42w.js";
|
|
27
27
|
import {
|
|
28
28
|
make15
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./persistent-pty-hjt4xg1x.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./persistent-pty-5cd5fjqe.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service35,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer14,
|
|
45
|
+
node: () => node39,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
|
|
|
150
150
|
}));
|
|
151
151
|
};
|
|
152
152
|
|
|
153
|
-
class
|
|
153
|
+
class Service35 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
154
154
|
}
|
|
155
|
-
var
|
|
156
|
-
const hooks = yield*
|
|
157
|
-
const transport = yield*
|
|
155
|
+
var layer14 = Layer.effect(Service35, Effect.gen(function* () {
|
|
156
|
+
const hooks = yield* Service73;
|
|
157
|
+
const transport = yield* Service36;
|
|
158
158
|
const app = yield* Metadata2;
|
|
159
159
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
160
160
|
const session = input.session;
|
|
@@ -162,7 +162,7 @@ var layer8 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
162
162
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
163
163
|
const tools = input.tools ?? {
|
|
164
164
|
definitions: [],
|
|
165
|
-
execute: () => new
|
|
165
|
+
execute: () => new Error4({ message: "Tools are not available for this request" })
|
|
166
166
|
};
|
|
167
167
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
168
168
|
const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
|
|
@@ -244,17 +244,17 @@ var layer8 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
246
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
247
|
-
return
|
|
247
|
+
return Service35.of({
|
|
248
248
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
249
249
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
250
250
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
251
251
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
252
252
|
});
|
|
253
253
|
}));
|
|
254
|
-
var
|
|
255
|
-
service:
|
|
256
|
-
layer:
|
|
257
|
-
deps: [
|
|
254
|
+
var node39 = makeLocationNode({
|
|
255
|
+
service: Service35,
|
|
256
|
+
layer: layer14,
|
|
257
|
+
deps: [node78, node40, node42]
|
|
258
258
|
});
|
|
259
259
|
|
|
260
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
260
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service35, layer14, node39, exports_model_request };
|
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
ID16,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-5v5spdss.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-dwx2f77e.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent = {};
|
|
15
|
+
__export(exports_agent, {
|
|
16
|
+
AgentPlugin: () => exports_agent,
|
|
17
|
+
Plugin: () => Plugin15
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin15 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -148,4 +148,4 @@ var Plugin46 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin15, exports_agent };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./persistent-pty-ge5v2f0h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./persistent-pty-dwx2f77e.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin47,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin47 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service59;
|
|
57
|
+
const permission = yield* Service70;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin47, exports_question };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service79,
|
|
4
|
+
node84
|
|
5
|
+
} from "./persistent-pty-8pnhcw9n.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service3,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer5,
|
|
17
|
+
node: () => node6
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service3 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer5 = Layer.effect(Service3, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service79;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service3.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node6 = makeGlobalNode({ service: Service3, layer: layer5, deps: [node84] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service3, layer5, node6, exports_sdk };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./persistent-pty-8pnhcw9n.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service60,
|
|
8
|
+
node64
|
|
9
|
+
} from "./persistent-pty-m8jf7wk8.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-ge5v2f0h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -32,16 +32,16 @@ __export(exports_integration, {
|
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
34
|
Event: () => Event13,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID6,
|
|
36
|
+
Info: () => Info20,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref2,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service58,
|
|
44
|
+
node: () => node62
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -63,7 +63,7 @@ import { Integration } from "@opencode/schema/integration";
|
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
65
|
import { Event as Event13 } from "@opencode/schema/integration";
|
|
66
|
-
var
|
|
66
|
+
var ID6 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info20 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -88,20 +88,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
91
|
-
integrationID:
|
|
91
|
+
integrationID: ID6,
|
|
92
92
|
attemptID: AttemptID2
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
var Ref2 = Integration.Ref;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service58 extends Context.Service()("@opencode/Integration") {
|
|
98
98
|
}
|
|
99
99
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
100
100
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
101
101
|
var scrubInterval = Duration.seconds(30);
|
|
102
|
-
var layer = Layer.effect(
|
|
103
|
-
const credentials = yield*
|
|
104
|
-
const bus = yield*
|
|
102
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
103
|
+
const credentials = yield* Service60;
|
|
104
|
+
const bus = yield* Service79;
|
|
105
105
|
const processes = yield* AppProcess.Service;
|
|
106
106
|
const scope = yield* Scope.Scope;
|
|
107
107
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -194,7 +194,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
194
194
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
195
195
|
return [...credentials, ...env];
|
|
196
196
|
};
|
|
197
|
-
const project = (entry, connections) =>
|
|
197
|
+
const project = (entry, connections) => Info20.make({
|
|
198
198
|
id: entry.ref.id,
|
|
199
199
|
name: entry.ref.name,
|
|
200
200
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -424,7 +424,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
424
424
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
425
425
|
return CommandAttempt2.make({ attemptID, time });
|
|
426
426
|
});
|
|
427
|
-
return
|
|
427
|
+
return Service58.of({
|
|
428
428
|
transform: state.transform,
|
|
429
429
|
reload: state.reload,
|
|
430
430
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -572,10 +572,10 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
572
572
|
}
|
|
573
573
|
});
|
|
574
574
|
}));
|
|
575
|
-
var
|
|
576
|
-
service:
|
|
575
|
+
var node62 = makeLocationNode({
|
|
576
|
+
service: Service58,
|
|
577
577
|
layer,
|
|
578
|
-
deps: [
|
|
578
|
+
deps: [node64, node84, AppProcess.node]
|
|
579
579
|
});
|
|
580
580
|
|
|
581
|
-
export {
|
|
581
|
+
export { ID6, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info20, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref2, Service58, node62, exports_integration, Event13 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service41,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node46
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service41 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service41.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node46 = makeLocationNode({
|
|
143
|
+
service: Service41,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service41, node46, exports_tool_output2 };
|
|
@@ -2,22 +2,22 @@ import {
|
|
|
2
2
|
ID11,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-0sd1vqbs.js";
|
|
6
6
|
import {
|
|
7
7
|
ID10,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info24
|
|
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/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
get: () => get2
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
@@ -66,7 +66,7 @@ var RemoteModel = Schema.Struct({
|
|
|
66
66
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
67
67
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
68
68
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
69
|
-
async function
|
|
69
|
+
async function get2(baseURL, headers, existing) {
|
|
70
70
|
const response = await fetch(`${baseURL}/models`, {
|
|
71
71
|
headers,
|
|
72
72
|
signal: AbortSignal.timeout(5000)
|
|
@@ -111,8 +111,8 @@ function build(id, remote, baseURL, previous) {
|
|
|
111
111
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
112
112
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
113
113
|
const released = previous?.time.released || Date.parse(version);
|
|
114
|
-
return
|
|
115
|
-
...
|
|
114
|
+
return Info24.make({
|
|
115
|
+
...Info24.default(ID11.githubCopilot, id),
|
|
116
116
|
id,
|
|
117
117
|
modelID: ID10.make(remote.id),
|
|
118
118
|
providerID: ID11.githubCopilot,
|
|
@@ -190,4 +190,4 @@ function variants(remote, messages) {
|
|
|
190
190
|
];
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { get2, exports_models };
|