@opencode/core 0.0.0-dev-19583 → 0.0.0-dev-19585
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +78 -78
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +80 -80
- package/dist/chunks/{aisdk-native-eaj1djv9.js → state-02nrjc1r.js} +4 -4
- package/dist/chunks/{aisdk-native-e47xecx5.js → state-047mx2wg.js} +19 -19
- package/dist/chunks/{aisdk-native-eh12wnnt.js → state-0assndy4.js} +20 -20
- package/dist/chunks/{aisdk-native-pa7bj0vb.js → state-0c9ykdxk.js} +2 -2
- package/dist/chunks/{aisdk-native-hnymxeh9.js → state-0dpxzva5.js} +74 -74
- package/dist/chunks/{aisdk-native-2k8khapm.js → state-0jwsre1p.js} +5 -5
- package/dist/chunks/{aisdk-native-c8x9jjqs.js → state-0n8wxves.js} +11 -11
- package/dist/chunks/{aisdk-native-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{aisdk-native-0q0f95c6.js → state-0q0f95c6.js} +1 -1
- package/dist/chunks/{aisdk-native-2vyj2bg7.js → state-0r1a1fzg.js} +9 -9
- package/dist/chunks/{aisdk-native-tp9p8sx2.js → state-0sd1vqbs.js} +4 -4
- package/dist/chunks/{aisdk-native-9qvs7rmv.js → state-0tj6kgwv.js} +15 -15
- package/dist/chunks/{aisdk-native-cmbqfntm.js → state-10jtetaj.js} +6 -6
- package/dist/chunks/{aisdk-native-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{aisdk-native-g0jgrjzw.js → state-1gwwkbhx.js} +2 -2
- package/dist/chunks/{aisdk-native-w5bfkw37.js → state-1m07gwnh.js} +24 -24
- package/dist/chunks/{aisdk-native-1vr0zdnx.js → state-1vr0zdnx.js} +3 -3
- package/dist/chunks/{aisdk-native-fg560hfa.js → state-1zjyrs07.js} +3 -3
- package/dist/chunks/{aisdk-native-abs6wmd0.js → state-2058e169.js} +1 -1
- package/dist/chunks/{aisdk-native-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{aisdk-native-tehvapsj.js → state-21r7wqbn.js} +9 -9
- package/dist/chunks/{aisdk-native-2402vzrj.js → state-2402vzrj.js} +1 -1
- package/dist/chunks/{aisdk-native-5srx1v4n.js → state-25b5wh1z.js} +70 -70
- package/dist/chunks/{aisdk-native-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{aisdk-native-c915801w.js → state-2ad6nxyk.js} +6 -6
- package/dist/chunks/{aisdk-native-eae1b7yd.js → state-2bgyzf17.js} +48 -48
- package/dist/chunks/{aisdk-native-7jxzrmt8.js → state-2dejydwk.js} +23 -23
- package/dist/chunks/{aisdk-native-xbh4a5kt.js → state-2f9behse.js} +28 -28
- package/dist/chunks/{aisdk-native-3m22v5tc.js → state-2gm7q7x0.js} +28 -28
- package/dist/chunks/{aisdk-native-2srawrcq.js → state-2nx0ckft.js} +11 -11
- package/dist/chunks/{aisdk-native-35vdht0v.js → state-3189tf5c.js} +4 -4
- package/dist/chunks/{aisdk-native-m493fsx1.js → state-32y0495t.js} +24 -24
- package/dist/chunks/{aisdk-native-b27vhd2z.js → state-34rkz0x9.js} +7 -7
- package/dist/chunks/{aisdk-native-6ygytmvg.js → state-37tv5sft.js} +26 -26
- package/dist/chunks/{aisdk-native-bha4atvq.js → state-3c4e3q8d.js} +4 -4
- package/dist/chunks/{aisdk-native-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{aisdk-native-h1jm0tsh.js → state-3g5z5cbj.js} +5 -5
- package/dist/chunks/{aisdk-native-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-native-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-native-eyh98pqe.js → state-3sqqgwh5.js} +7 -7
- package/dist/chunks/{aisdk-native-39br3r91.js → state-3t50nsv9.js} +22 -22
- package/dist/chunks/{aisdk-native-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-native-v7g373cq.js → state-3wr47b46.js} +100 -100
- package/dist/chunks/{aisdk-native-tq6bwazz.js → state-3zb4tqpj.js} +9 -9
- package/dist/chunks/{aisdk-native-4780s8zr.js → state-4780s8zr.js} +2 -2
- package/dist/chunks/{aisdk-native-vdq2zgn0.js → state-4fvnr5ap.js} +3 -3
- package/dist/chunks/{aisdk-native-qrc132q8.js → state-4j0xv7gy.js} +18 -18
- package/dist/chunks/{aisdk-native-1yafe312.js → state-4mmkc7sx.js} +5 -5
- package/dist/chunks/{aisdk-native-43fg28p8.js → state-4mtmdvvs.js} +1 -1
- package/dist/chunks/state-4v7qdvcn.js +18 -0
- package/dist/chunks/{aisdk-native-2gyjhdrq.js → state-4x368qdf.js} +21 -21
- package/dist/chunks/{aisdk-native-kr54cx8m.js → state-4ynbxhwa.js} +2 -2
- package/dist/chunks/{aisdk-native-56gdpj1q.js → state-56gdpj1q.js} +2 -2
- package/dist/chunks/{aisdk-native-czytgxr9.js → state-56jtaqyy.js} +43 -43
- package/dist/chunks/{aisdk-native-zdfvmjgv.js → state-589kjr7t.js} +1 -1
- package/dist/chunks/{aisdk-native-3cq30546.js → state-5ay2cyx3.js} +23 -23
- package/dist/chunks/{aisdk-native-a1bz86dw.js → state-5c4hm403.js} +3 -3
- package/dist/chunks/{aisdk-native-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{aisdk-native-p1wf2k30.js → state-5kptn8c0.js} +9 -9
- package/dist/chunks/{aisdk-native-kghz7czx.js → state-5matf414.js} +4 -4
- package/dist/chunks/{aisdk-native-td195knq.js → state-5r58m9f4.js} +11 -11
- package/dist/chunks/{aisdk-native-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{aisdk-native-4q4cc79w.js → state-5w0k2sgf.js} +25 -25
- package/dist/chunks/{aisdk-native-wjf2ryf5.js → state-5wzpv73x.js} +19 -19
- package/dist/chunks/{aisdk-native-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{aisdk-native-yz3vd6vv.js → state-6b3csv91.js} +3 -3
- package/dist/chunks/{aisdk-native-nfepxh1f.js → state-6bp5h0s3.js} +8 -8
- package/dist/chunks/{aisdk-native-eppr9y53.js → state-6jpkznw2.js} +6 -6
- package/dist/chunks/{aisdk-native-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{aisdk-native-s8qm2a7g.js → state-715dyzdp.js} +30 -30
- package/dist/chunks/{aisdk-native-71q4at8m.js → state-71q4at8m.js} +1 -1
- package/dist/chunks/{aisdk-native-r2spsd22.js → state-71tevz1s.js} +27 -27
- package/dist/chunks/{aisdk-native-2g0d4v0m.js → state-73kb41h8.js} +36 -36
- package/dist/chunks/{aisdk-native-xsmg1cqw.js → state-74qhbg70.js} +8 -8
- package/dist/chunks/{aisdk-native-rwq67zjw.js → state-7b8c1rs0.js} +5 -5
- package/dist/chunks/{aisdk-native-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-native-jzvd87es.js → state-7c4jpfkn.js} +9 -9
- package/dist/chunks/{aisdk-native-t8ydx3ks.js → state-7f04ezez.js} +4 -4
- package/dist/chunks/state-7kk32ydz.js +247 -0
- package/dist/chunks/{aisdk-native-akxe4ez8.js → state-7wykakkp.js} +5 -5
- package/dist/chunks/{aisdk-native-pk6g247z.js → state-7zdrdht4.js} +6 -6
- package/dist/chunks/{aisdk-native-81swgkk7.js → state-81swgkk7.js} +2 -2
- package/dist/chunks/{aisdk-native-844ef7ks.js → state-844ef7ks.js} +1 -1
- package/dist/chunks/{aisdk-native-z4hphegc.js → state-89yzkj5m.js} +17 -17
- package/dist/chunks/{aisdk-native-pwrqcwe9.js → state-8a639n9f.js} +21 -21
- package/dist/chunks/{aisdk-native-y7xma9xt.js → state-8ar20h4k.js} +4 -4
- package/dist/chunks/{aisdk-native-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{aisdk-native-fhs1bjrf.js → state-8fmttspq.js} +15 -15
- package/dist/chunks/{aisdk-native-r1zny7pr.js → state-8ngx95f4.js} +4 -4
- package/dist/chunks/{aisdk-native-p7cb5w0v.js → state-8nk5pr3x.js} +4 -4
- package/dist/chunks/{aisdk-native-ddcsd7vw.js → state-8tccx195.js} +14 -14
- package/dist/chunks/{aisdk-native-qrvws2y5.js → state-8yhy25dd.js} +44 -44
- package/dist/chunks/{aisdk-native-43crx2w2.js → state-8ymaqm6w.js} +6 -6
- package/dist/chunks/{aisdk-native-arbhw10g.js → state-92efq58y.js} +21 -21
- package/dist/chunks/{aisdk-native-2y4ndx7s.js → state-966x6kbg.js} +15 -15
- package/dist/chunks/{aisdk-native-38n43c4a.js → state-96a4pvf9.js} +9 -9
- package/dist/chunks/{aisdk-native-vemy5j9p.js → state-9gkk87pz.js} +4 -4
- package/dist/chunks/{aisdk-native-pehvz7x4.js → state-9qe9ae67.js} +22 -22
- package/dist/chunks/{aisdk-native-41te7r6z.js → state-9sgpzjef.js} +1 -1
- package/dist/chunks/{aisdk-native-50mxj0bj.js → state-9wq3kma9.js} +11 -11
- package/dist/chunks/{aisdk-native-v02qgg8n.js → state-a1xp0gqd.js} +6 -6
- package/dist/chunks/{aisdk-native-5n3vgq58.js → state-a5axy371.js} +2 -2
- package/dist/chunks/{aisdk-native-w6qt98jr.js → state-a9ym64nf.js} +23 -23
- package/dist/chunks/{aisdk-native-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{aisdk-native-99a7ebt7.js → state-abzxsg4z.js} +8 -8
- package/dist/chunks/{aisdk-native-w802fkc1.js → state-ak2rmdky.js} +11 -11
- package/dist/chunks/{aisdk-native-3fad0q0e.js → state-anb97ys3.js} +8 -8
- package/dist/chunks/{aisdk-native-a135vfzn.js → state-arnsfa90.js} +10 -10
- package/dist/chunks/{aisdk-native-1we85rsf.js → state-av3vfbkv.js} +4 -4
- package/dist/chunks/{aisdk-native-0p3r241p.js → state-b2bbmftg.js} +9 -9
- package/dist/chunks/{aisdk-native-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{aisdk-native-5ejrhezz.js → state-b9qrp43n.js} +7 -7
- package/dist/chunks/{aisdk-native-p8wdnmcp.js → state-bd9a3hfc.js} +8 -8
- package/dist/chunks/{aisdk-native-0r7yqxbf.js → state-bgxcxs0p.js} +5 -5
- package/dist/chunks/{aisdk-native-es9gdetj.js → state-bh8dz971.js} +10 -10
- package/dist/chunks/{aisdk-native-23279rje.js → state-bm1f71yt.js} +8 -8
- package/dist/chunks/{aisdk-native-bndc73cn.js → state-bndc73cn.js} +2 -2
- package/dist/chunks/{aisdk-native-bntn61xv.js → state-brkf7bse.js} +11 -11
- package/dist/chunks/{aisdk-native-xeg3kepc.js → state-bs9pjq03.js} +11 -11
- package/dist/chunks/{aisdk-native-2xhpx24b.js → state-c793mpbv.js} +25 -25
- package/dist/chunks/{aisdk-native-9yr2yfq4.js → state-ccfa4wxs.js} +6 -6
- package/dist/chunks/{aisdk-native-0fp389vf.js → state-cmqjtdmm.js} +33 -33
- package/dist/chunks/{aisdk-native-35agz59w.js → state-cpy6gm2a.js} +6 -6
- package/dist/chunks/{aisdk-native-s2hxv7vm.js → state-crgypqmg.js} +9 -9
- package/dist/chunks/{aisdk-native-a7vehekd.js → state-czsydm57.js} +1 -1
- package/dist/chunks/{aisdk-native-1k9w40nb.js → state-d3xgb5wz.js} +35 -35
- package/dist/chunks/{aisdk-native-8txk5vvv.js → state-d4vvrd8f.js} +4 -4
- package/dist/chunks/{aisdk-native-8p4f9s12.js → state-dj2t23y0.js} +2 -2
- package/dist/chunks/{aisdk-native-ah0nee8a.js → state-dsqps89d.js} +2 -2
- package/dist/chunks/{aisdk-native-52psjfn1.js → state-dzme2435.js} +9 -9
- package/dist/chunks/{aisdk-native-jcs6w01c.js → state-e2dt2hd0.js} +25 -25
- package/dist/chunks/{aisdk-native-n413b6kb.js → state-e5564262.js} +19 -19
- package/dist/chunks/{aisdk-native-yt6rpptf.js → state-e5f74rt9.js} +34 -34
- package/dist/chunks/{aisdk-native-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{aisdk-native-7zct076f.js → state-ekrh3kxc.js} +14 -14
- package/dist/chunks/{aisdk-native-e0a154fg.js → state-ep6q31w0.js} +6 -6
- package/dist/chunks/{aisdk-native-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{aisdk-native-3w0fmcng.js → state-evbgk2k8.js} +5 -5
- package/dist/chunks/{aisdk-native-2rczm6na.js → state-ez36xfhn.js} +15 -15
- package/dist/chunks/{aisdk-native-c6yj5s2g.js → state-f1zxfvwb.js} +2 -2
- package/dist/chunks/{aisdk-native-jnsa8b46.js → state-f20n632k.js} +1 -1
- package/dist/chunks/{aisdk-native-4v5k9n23.js → state-f6hkkqkf.js} +5 -5
- package/dist/chunks/{aisdk-native-rm21g7pf.js → state-fsf1gf1x.js} +21 -21
- package/dist/chunks/{aisdk-native-fxbjtjnd.js → state-fxbjtjnd.js} +1 -1
- package/dist/chunks/{aisdk-native-mcme06m0.js → state-fyqdaz8t.js} +7 -7
- package/dist/chunks/{aisdk-native-hqhvm2fh.js → state-g5rxsc28.js} +19 -19
- package/dist/chunks/{aisdk-native-t616d1h2.js → state-g7c4c9dq.js} +11 -11
- package/dist/chunks/{aisdk-native-60strtre.js → state-g9xty11h.js} +21 -21
- package/dist/chunks/{aisdk-native-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-native-r0a65dvs.js → state-gd7g0zde.js} +18 -18
- package/dist/chunks/{aisdk-native-nzf6ngw4.js → state-gg8ay5jm.js} +16 -16
- package/dist/chunks/{aisdk-native-0f6xhysr.js → state-gk5mcbs5.js} +6 -6
- package/dist/chunks/{aisdk-native-p0bhpq8n.js → state-gn01w2cw.js} +2 -2
- package/dist/chunks/{aisdk-native-3kdyy1m8.js → state-grt76b4b.js} +4 -4
- package/dist/chunks/{aisdk-native-xkh206w4.js → state-gt7he45n.js} +17 -17
- package/dist/chunks/{aisdk-native-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/{aisdk-native-h03wrkyp.js → state-h03wrkyp.js} +2 -2
- package/dist/chunks/{aisdk-native-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-native-b0x37p0a.js → state-hcp7me3j.js} +14 -14
- package/dist/chunks/{aisdk-native-f828m53h.js → state-hdnk95c8.js} +2 -2
- package/dist/chunks/{aisdk-native-hjt4xg1x.js → state-hjt4xg1x.js} +1 -1
- package/dist/chunks/{aisdk-native-rccdk6ga.js → state-j0bxb4ah.js} +5 -5
- package/dist/chunks/{aisdk-native-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{aisdk-native-pmr4s4kc.js → state-j83byb14.js} +4 -4
- package/dist/chunks/{aisdk-native-h6jr292a.js → state-jva4mgym.js} +4 -4
- package/dist/chunks/{aisdk-native-851r6173.js → state-jxahb5yh.js} +11 -11
- package/dist/chunks/{aisdk-native-0qtdzsaf.js → state-k6k8b8dr.js} +11 -11
- package/dist/chunks/{aisdk-native-ra0zgg5j.js → state-ka9nzrns.js} +13 -13
- package/dist/chunks/{aisdk-native-kg06axw8.js → state-kg06axw8.js} +1 -1
- package/dist/chunks/{aisdk-native-d4p60p50.js → state-kmbsbtj2.js} +15 -15
- package/dist/chunks/{aisdk-native-4xnse8v3.js → state-kpn23mpx.js} +8 -8
- package/dist/chunks/{aisdk-native-yb94xmg0.js → state-kpvyk30t.js} +9 -9
- package/dist/chunks/{aisdk-native-cfpkc3c9.js → state-m0jqrx5p.js} +2 -2
- package/dist/chunks/{aisdk-native-skcteb1m.js → state-m4r7hmz3.js} +3 -3
- package/dist/chunks/{aisdk-native-xekzrwwc.js → state-m86bnw2c.js} +9 -9
- package/dist/chunks/{aisdk-native-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-native-k2h4r4s0.js → state-magykp64.js} +4 -4
- package/dist/chunks/{aisdk-native-tkyzgwz1.js → state-mcvf4ecq.js} +5 -5
- package/dist/chunks/{aisdk-native-6j6t7x08.js → state-md4zkmej.js} +11 -11
- package/dist/chunks/{aisdk-native-drdwhv0y.js → state-mhyrstae.js} +13 -13
- package/dist/chunks/{aisdk-native-bdez0z91.js → state-mkcvx21g.js} +275 -275
- package/dist/chunks/{aisdk-native-2nrx02nr.js → state-mm8kamv6.js} +15 -15
- package/dist/chunks/{aisdk-native-84rszb02.js → state-n8dg5zmh.js} +10 -10
- package/dist/chunks/{aisdk-native-pg4ajkmw.js → state-n9vjy7vk.js} +12 -12
- package/dist/chunks/{aisdk-native-xpmwf0wq.js → state-nc9naz3s.js} +15 -15
- package/dist/chunks/{aisdk-native-z41ktzmy.js → state-nh1ke53h.js} +10 -10
- package/dist/chunks/{aisdk-native-2xs5qa53.js → state-nmhn2qh6.js} +13 -13
- package/dist/chunks/{aisdk-native-q31ye7s4.js → state-nn79ydvy.js} +8 -8
- package/dist/chunks/{aisdk-native-cagxq5rv.js → state-nqzv378d.js} +1 -1
- package/dist/chunks/{aisdk-native-h7xh45rs.js → state-nsk2qhm1.js} +40 -40
- package/dist/chunks/{aisdk-native-8aw2rxvt.js → state-nx7g23ta.js} +33 -33
- package/dist/chunks/{aisdk-native-enf5c3ym.js → state-p158fnhc.js} +1 -1
- package/dist/chunks/{aisdk-native-8hzm9gkc.js → state-p2h5zem2.js} +9 -9
- package/dist/chunks/{aisdk-native-5xh4fsqf.js → state-p43gddxw.js} +30 -30
- package/dist/chunks/{aisdk-native-89y8sbmb.js → state-p8d91xwk.js} +10 -10
- package/dist/chunks/{aisdk-native-paegk39x.js → state-paegk39x.js} +1 -1
- package/dist/chunks/{aisdk-native-6n88yxkj.js → state-pb1eahw5.js} +8 -8
- package/dist/chunks/{aisdk-native-1x7ersxg.js → state-pbyctwrm.js} +6 -6
- package/dist/chunks/{aisdk-native-gjd82kzp.js → state-pbygh8wd.js} +25 -25
- package/dist/chunks/{aisdk-native-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{aisdk-native-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-native-59e652aq.js → state-pvpbdkha.js} +12 -12
- package/dist/chunks/{aisdk-native-xr03y1nz.js → state-q0jn4ry4.js} +12 -12
- package/dist/chunks/{aisdk-native-4kc9aps2.js → state-q5sfm9wz.js} +27 -27
- package/dist/chunks/{aisdk-native-rmk2c50f.js → state-qa7075pb.js} +5 -5
- package/dist/chunks/{aisdk-native-qd153e6s.js → state-qd153e6s.js} +1 -1
- package/dist/chunks/{aisdk-native-tsdy83j7.js → state-qdecs828.js} +16 -16
- package/dist/chunks/{aisdk-native-w3pkdr35.js → state-qe942eqv.js} +11 -11
- package/dist/chunks/{aisdk-native-t349jfgm.js → state-qhpsd41d.js} +16 -16
- package/dist/chunks/{aisdk-native-pxz6bvnr.js → state-qkgaq2fd.js} +13 -13
- package/dist/chunks/{aisdk-native-hr5bc81f.js → state-qm7jrdpz.js} +8 -8
- package/dist/chunks/{aisdk-native-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-native-fn9ex9dt.js → state-qtp1kmbh.js} +57 -57
- package/dist/chunks/{aisdk-native-pgzcamss.js → state-r05swpc3.js} +22 -22
- package/dist/chunks/{aisdk-native-semx9jrf.js → state-r11d7zgh.js} +9 -9
- package/dist/chunks/{aisdk-native-73tb2d7t.js → state-r5x6zcsm.js} +3 -3
- package/dist/chunks/{aisdk-native-4d03v7dn.js → state-r7x5zkyr.js} +2 -2
- package/dist/chunks/{aisdk-native-r8xr0va3.js → state-r8xr0va3.js} +1 -1
- package/dist/chunks/{aisdk-native-r9mregkx.js → state-r9mregkx.js} +2 -2
- package/dist/chunks/{aisdk-native-2g4ad3zr.js → state-rkn3s9yj.js} +10 -10
- package/dist/chunks/{aisdk-native-298jyxsx.js → state-rqh8sqwg.js} +5 -5
- package/dist/chunks/{aisdk-native-amjfz4j5.js → state-rspxbq4f.js} +11 -11
- package/dist/chunks/{aisdk-native-he9kyzhb.js → state-rwp9vqf6.js} +34 -34
- package/dist/chunks/{aisdk-native-w93b8rs8.js → state-s03e02j9.js} +16 -16
- package/dist/chunks/{aisdk-native-yt0fqk68.js → state-s8zy8myc.js} +5 -5
- package/dist/chunks/{aisdk-native-2sayakk2.js → state-scf3wqrs.js} +9 -9
- package/dist/chunks/{aisdk-native-frpv932d.js → state-skbm2tv3.js} +17 -17
- package/dist/chunks/{aisdk-native-sy5x3wzp.js → state-sy5x3wzp.js} +7 -7
- package/dist/chunks/{aisdk-native-75bekd79.js → state-t6n9dx9w.js} +5 -5
- package/dist/chunks/{aisdk-native-mj9g1kjq.js → state-t9hrqajq.js} +17 -17
- package/dist/chunks/{aisdk-native-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-native-tcezcvh9.js → state-tcezcvh9.js} +1 -1
- package/dist/chunks/{aisdk-native-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{aisdk-native-2n2de82x.js → state-tnkeyv2f.js} +10 -10
- package/dist/chunks/{aisdk-native-5dftfqxv.js → state-tph5atj5.js} +3 -3
- package/dist/chunks/{aisdk-native-8vcmq4cd.js → state-trw41p2v.js} +15 -15
- package/dist/chunks/{aisdk-native-embw8kgh.js → state-ttqh24zm.js} +4 -4
- package/dist/chunks/{aisdk-native-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{aisdk-native-da6kr1wx.js → state-tx9qvpbt.js} +6 -6
- package/dist/chunks/{aisdk-native-zn09men2.js → state-tye36bcg.js} +6 -6
- package/dist/chunks/{aisdk-native-9fcqxxf8.js → state-vb7ycbc9.js} +16 -16
- package/dist/chunks/{aisdk-native-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-native-djgr9m87.js → state-vtqzksea.js} +32 -32
- package/dist/chunks/{aisdk-native-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{aisdk-native-52vhnsmh.js → state-w1907c88.js} +20 -20
- package/dist/chunks/{aisdk-native-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-native-7h1jrkgs.js → state-w97wtb7e.js} +12 -12
- package/dist/chunks/{aisdk-native-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-native-tkqhb0v4.js → state-we36wy78.js} +9 -9
- package/dist/chunks/{aisdk-native-vc3wkb8v.js → state-wqcb0hpm.js} +6 -6
- package/dist/chunks/{aisdk-native-g39ac3w8.js → state-wsykb35p.js} +12 -12
- package/dist/chunks/{aisdk-native-55mcnncg.js → state-wzqj207d.js} +31 -31
- package/dist/chunks/{aisdk-native-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{aisdk-native-x569bdqa.js → state-x569bdqa.js} +1 -1
- package/dist/chunks/{aisdk-native-z0ckehw0.js → state-x6pctmyv.js} +14 -14
- package/dist/chunks/{aisdk-native-3g1c19xf.js → state-xdd3rs2c.js} +9 -9
- package/dist/chunks/{aisdk-native-xg9t41r3.js → state-xg9t41r3.js} +2 -2
- package/dist/chunks/{aisdk-native-7qrw4mgx.js → state-xha59mwg.js} +8 -8
- package/dist/chunks/{aisdk-native-84gm4ahf.js → state-xxzf0ejs.js} +10 -10
- package/dist/chunks/{aisdk-native-baccn41y.js → state-y09t7566.js} +20 -20
- package/dist/chunks/{aisdk-native-ph0efptw.js → state-y1dxsfsh.js} +18 -18
- package/dist/chunks/{aisdk-native-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{aisdk-native-ryyq0fza.js → state-y232qd0c.js} +14 -14
- package/dist/chunks/{aisdk-native-71tckj1e.js → state-y3a4c9er.js} +15 -15
- package/dist/chunks/{aisdk-native-dpkg50ah.js → state-y71avatq.js} +4 -4
- package/dist/chunks/{aisdk-native-2fwrkc5e.js → state-y8ye8e9v.js} +13 -13
- package/dist/chunks/{aisdk-native-41jzy71a.js → state-yh58a55y.js} +22 -22
- package/dist/chunks/{aisdk-native-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{aisdk-native-eq0b4vv6.js → state-yrtvc2gm.js} +19 -19
- package/dist/chunks/{aisdk-native-yrznvahk.js → state-yrznvahk.js} +2 -2
- package/dist/chunks/{aisdk-native-3566en2x.js → state-yv9w9dg0.js} +26 -26
- package/dist/chunks/{aisdk-native-hdq9d5ef.js → state-yx8q910t.js} +13 -13
- package/dist/chunks/{aisdk-native-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-native-qzmvy3cm.js → state-z30jd0vy.js} +39 -39
- package/dist/chunks/{aisdk-native-z63w68vq.js → state-z63w68vq.js} +2 -2
- package/dist/chunks/{aisdk-native-qn17exnn.js → state-zc400w9e.js} +47 -47
- package/dist/chunks/{aisdk-native-stje0xbs.js → state-ze5b2pt8.js} +14 -14
- package/dist/chunks/{aisdk-native-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{aisdk-native-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{aisdk-native-kk8jb7yg.js → state-zrw639qq.js} +24 -24
- package/dist/chunks/{aisdk-native-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- 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 +119 -119
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +120 -120
- package/dist/config/plugin/image.js +119 -119
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +128 -128
- 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 +115 -115
- 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 +65 -65
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +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 +92 -92
- 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 +69 -69
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +94 -94
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +2 -2
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +356 -356
- package/dist/instruction-discovery.js +78 -78
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- 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 +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +99 -99
- 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 +3 -3
- package/dist/model-resolver.js +87 -87
- 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 +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +1 -1
- 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 +121 -121
- 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 +119 -119
- 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 +69 -69
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +3 -3
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +85 -85
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- 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 +217 -217
- 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 +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +7 -7
- 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 +1 -1
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +134 -134
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +205 -205
- 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 +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +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 +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- 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 +7 -7
- 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 +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- 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-442en5yq.js +0 -247
- package/dist/chunks/aisdk-native-ht5y0zrb.js +0 -18
- /package/dist/chunks/{aisdk-native-0mesazry.js → state-0mesazry.js} +0 -0
- /package/dist/chunks/{aisdk-native-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-native-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-native-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-native-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-native-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-native-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-native-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-native-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-native-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-native-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-native-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-native-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{aisdk-native-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-native-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-native-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-native-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-native-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-native-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-native-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-native-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-native-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-native-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-native-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-native-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-native-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{aisdk-native-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-native-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-native-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-native-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-native-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-native-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-native-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-native-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-native-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-native-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-native-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-native-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-native-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-native-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-native-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-native-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-native-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-native-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-native-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-native-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-native-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-native-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-native-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-native-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-native-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{aisdk-native-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-native-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-native-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-native-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-native-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{aisdk-native-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-native-hrnqkpcd.js → state-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{aisdk-native-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-native-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-native-j7wq2tw5.js → state-j7wq2tw5.js} +0 -0
- /package/dist/chunks/{aisdk-native-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-native-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-native-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-native-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-native-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-native-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-native-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-native-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-native-paphc93g.js → state-paphc93g.js} +0 -0
- /package/dist/chunks/{aisdk-native-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-native-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-native-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-native-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-native-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-native-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-native-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-native-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{aisdk-native-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-native-twg0f83k.js → state-twg0f83k.js} +0 -0
- /package/dist/chunks/{aisdk-native-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-native-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-native-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-native-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-native-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-native-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-native-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-native-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-native-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-5matf414.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service32
|
|
6
|
+
} from "./state-y232qd0c.js";
|
|
7
7
|
import {
|
|
8
8
|
Error5
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-sy5x3wzp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service45
|
|
12
|
+
} from "./state-n9vjy7vk.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-1vr0zdnx.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./state-d4vvrd8f.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./state-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./state-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-2ad6nxyk.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./state-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service76;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service32;
|
|
58
|
+
const toolOutput = yield* Service45;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service25,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
15
|
node: () => node29
|
|
16
16
|
});
|
|
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
32
32
|
});
|
|
33
33
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service25 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
36
36
|
}
|
|
37
37
|
var transportError = (message, input) => new AIError({
|
|
38
38
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
|
|
|
56
56
|
return Effect.fail(observation.error);
|
|
57
57
|
};
|
|
58
58
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
59
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
59
|
+
var makeLayer2 = (connector) => Layer.effect(Service25, Effect.gen(function* () {
|
|
60
60
|
const scope = yield* Scope.Scope;
|
|
61
61
|
const states = new Map;
|
|
62
62
|
const state = (sessionID) => {
|
|
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service24, Effect.gen(function* ()
|
|
|
356
356
|
}, { discard: true });
|
|
357
357
|
});
|
|
358
358
|
yield* Effect.addFinalizer(() => closeAll);
|
|
359
|
-
return
|
|
359
|
+
return Service25.of({ bind, close, closeAll });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
361
|
+
var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
362
362
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
363
363
|
})));
|
|
364
|
-
var node29 = makeGlobalNode({ service:
|
|
364
|
+
var node29 = makeGlobalNode({ service: Service25, layer: layer12, deps: [webSocketConstructor2] });
|
|
365
365
|
|
|
366
|
-
export {
|
|
366
|
+
export { Service25, makeLayer2, layer12, node29, exports_model_transport };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-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: () => Service45,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node49
|
|
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 Service45 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(Service45, 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 Service45.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 node49 = makeLocationNode({
|
|
143
|
+
service: Service45,
|
|
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, Service45, node49, exports_tool_output2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info18,
|
|
6
|
+
ID6,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-zrw639qq.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service43
|
|
11
|
+
} from "./state-nsk2qhm1.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill3 = {};
|
|
18
18
|
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin43,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
@@ -421,20 +421,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
421
421
|
var ReportContent2 = report_default;
|
|
422
422
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
423
423
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
424
|
-
var
|
|
424
|
+
var Plugin43 = define({
|
|
425
425
|
id: "opencode.skill",
|
|
426
426
|
effect: Effect.fn(function* (ctx) {
|
|
427
427
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
428
428
|
yield* ctx.skill.transform((editor) => {
|
|
429
|
-
editor.add(
|
|
430
|
-
id:
|
|
429
|
+
editor.add(Info18.make({
|
|
430
|
+
id: ID6.make("opencode"),
|
|
431
431
|
name: Name2.make("OpenCode"),
|
|
432
432
|
description: OpencodeDescription2,
|
|
433
433
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
434
434
|
content: OpencodeContent2
|
|
435
435
|
}));
|
|
436
|
-
editor.add(
|
|
437
|
-
id:
|
|
436
|
+
editor.add(Info18.make({
|
|
437
|
+
id: ID6.make("report"),
|
|
438
438
|
name: Name2.make("Report"),
|
|
439
439
|
description: REPORT_DESCRIPTION,
|
|
440
440
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -462,7 +462,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
462
462
|
`);
|
|
463
463
|
});
|
|
464
464
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
465
|
-
const config = yield*
|
|
465
|
+
const config = yield* Service43;
|
|
466
466
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
467
467
|
});
|
|
468
468
|
function terminal() {
|
|
@@ -476,4 +476,4 @@ function shell() {
|
|
|
476
476
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
477
477
|
}
|
|
478
478
|
|
|
479
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
479
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin43, exports_skill3 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-5matf414.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service46,
|
|
6
|
+
Event10
|
|
7
|
+
} from "./state-w1907c88.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin2,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin2 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service76;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service46;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin32 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin2, exports_plugin };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service73,
|
|
3
3
|
node78
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-1gwwkbhx.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
7
|
+
make20,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-02nrjc1r.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service19,
|
|
19
|
+
node: () => node23
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service19 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
28
|
const location = yield* Service73;
|
|
29
|
-
return
|
|
29
|
+
return Service19.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make20({
|
|
32
32
|
key: Key4.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
@@ -49,7 +49,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
49
49
|
`)
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
|
-
|
|
52
|
+
make20({
|
|
53
53
|
key: Key4.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node23 = makeLocationNode({ service: Service19, layer, deps: [Global.node, node78] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service19, node23, exports_builtins };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./state-92efq58y.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./state-ccfa4wxs.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-4v7qdvcn.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service56;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service51), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76,
|
|
3
3
|
node81
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-5matf414.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event17,
|
|
7
|
+
Service64,
|
|
8
|
+
node68
|
|
9
|
+
} from "./state-1m07gwnh.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service44,
|
|
12
|
+
node48
|
|
13
|
+
} from "./state-9qe9ae67.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-922hggd3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service73,
|
|
19
19
|
node78
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-1gwwkbhx.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./state-32y0495t.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-m4r7hmz3.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./state-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service46,
|
|
36
|
+
Event10,
|
|
37
|
+
node50
|
|
38
|
+
} from "./state-w1907c88.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./state-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options5,
|
|
48
|
+
Service: () => Service43,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured5,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer16,
|
|
53
|
+
node: () => node47,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options5 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service43 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service43, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer16 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
96
|
const location = yield* Service73;
|
|
97
|
-
const watcher = yield*
|
|
97
|
+
const watcher = yield* Service44;
|
|
98
98
|
const bus = yield* Service76;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service64;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service46;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -221,8 +221,8 @@ var layer19 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer19 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service43.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer19 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured5(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service43,
|
|
268
|
+
layer: layer16(options),
|
|
269
|
+
deps: [node48, node81, FSUtil.node, Global.node, node78, node68, node50]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node47 = configured5();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options5, Service43, Test2, testLayer2, layer16, configured5, node47, exports_config };
|