@opencode/core 0.0.0-dev-19937 → 0.0.0-dev-19939
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 +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{persistent-pty-9ex8f1cq.js → agent-00x4qneg.js} +8 -8
- package/dist/chunks/{persistent-pty-z52a6mw5.js → agent-036j9pep.js} +20 -20
- package/dist/chunks/{persistent-pty-tnasdg6y.js → agent-03heh432.js} +37 -37
- package/dist/chunks/{persistent-pty-nqyhrfcc.js → agent-0m0tvs7x.js} +4 -4
- package/dist/chunks/{persistent-pty-t71v2ka4.js → agent-0nde5ztd.js} +5 -5
- package/dist/chunks/{persistent-pty-0paq2nw3.js → agent-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → agent-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-n2eg1d0h.js → agent-0qths4nn.js} +18 -18
- package/dist/chunks/{persistent-pty-w65z2jz3.js → agent-178916dd.js} +8 -8
- package/dist/chunks/{persistent-pty-1dazxqgg.js → agent-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-41ssmn02.js → agent-1h68bbz1.js} +89 -89
- package/dist/chunks/{persistent-pty-sz24j28z.js → agent-1jqm4hqw.js} +23 -23
- package/dist/chunks/{persistent-pty-554knveg.js → agent-1mhtqdf9.js} +34 -34
- package/dist/chunks/{persistent-pty-tvtydw96.js → agent-1qsp6rhw.js} +37 -37
- package/dist/chunks/{persistent-pty-zsphfh87.js → agent-1qyqkqe4.js} +18 -18
- package/dist/chunks/{persistent-pty-deq2z4hf.js → agent-1t7nvzsm.js} +10 -10
- package/dist/chunks/{persistent-pty-56gdpj1q.js → agent-1ygqh575.js} +9 -9
- package/dist/chunks/{persistent-pty-21r38tys.js → agent-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-2402vzrj.js → agent-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-ytpw4txd.js → agent-2421mgk7.js} +12 -12
- package/dist/chunks/{persistent-pty-1w7qre35.js → agent-273f65v8.js} +30 -30
- package/dist/chunks/{persistent-pty-twca9fjq.js → agent-27s8bqjz.js} +7 -7
- package/dist/chunks/{persistent-pty-2a5m3afh.js → agent-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-kkzayper.js → agent-2ajemesj.js} +25 -25
- package/dist/chunks/{persistent-pty-fvanntqq.js → agent-2d57kztd.js} +6 -6
- package/dist/chunks/{persistent-pty-t4nhm12y.js → agent-2dd34nca.js} +7 -7
- package/dist/chunks/{persistent-pty-ybhbtxjg.js → agent-2e96adxv.js} +6 -6
- package/dist/chunks/{persistent-pty-2gbsvbx5.js → agent-2gbsvbx5.js} +4 -4
- package/dist/chunks/{persistent-pty-2k8khapm.js → agent-2k8khapm.js} +1 -1
- package/dist/chunks/{persistent-pty-d4he2qe1.js → agent-2sejkfem.js} +9 -9
- package/dist/chunks/{persistent-pty-yr8p71ks.js → agent-2yc73x9z.js} +14 -14
- package/dist/chunks/{persistent-pty-6zthmp17.js → agent-348gb89b.js} +14 -14
- package/dist/chunks/{persistent-pty-jsqr29s7.js → agent-34gj4vpn.js} +23 -23
- package/dist/chunks/{persistent-pty-6p7zr8ep.js → agent-35zpsenw.js} +21 -21
- package/dist/chunks/{persistent-pty-yqz4sd6t.js → agent-36x1j5qv.js} +8 -8
- package/dist/chunks/{persistent-pty-e8qyrgb1.js → agent-3801kdgp.js} +5 -5
- package/dist/chunks/{persistent-pty-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-zq3sp2de.js → agent-3g2nmk79.js} +18 -18
- package/dist/chunks/{persistent-pty-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-3w0fmcng.js → agent-3w2b2yj4.js} +5 -5
- package/dist/chunks/{persistent-pty-wayd1cz3.js → agent-3y8yawqa.js} +14 -14
- package/dist/chunks/{persistent-pty-mmmrdbr8.js → agent-408rqjm7.js} +11 -11
- package/dist/chunks/{persistent-pty-p0h2c1j9.js → agent-40ttqsg0.js} +8 -8
- package/dist/chunks/{persistent-pty-75q2ps1k.js → agent-43zyxgq8.js} +1 -1
- package/dist/chunks/{persistent-pty-qsx6xwjc.js → agent-4h52jw7j.js} +18 -18
- package/dist/chunks/{persistent-pty-mg83pbjr.js → agent-4ns3h2re.js} +8 -8
- package/dist/chunks/{persistent-pty-tfxzrdmk.js → agent-5544h6er.js} +10 -10
- package/dist/chunks/{persistent-pty-0akym11d.js → agent-5758n57s.js} +16 -16
- package/dist/chunks/{persistent-pty-0ke265bw.js → agent-57ez7d0k.js} +5 -5
- package/dist/chunks/{persistent-pty-r449bwkw.js → agent-5akn35ws.js} +11 -11
- package/dist/chunks/{persistent-pty-5c4hm403.js → agent-5c4hm403.js} +3 -3
- package/dist/chunks/{persistent-pty-5daktx2q.js → agent-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-4e13r3ts.js → agent-5dr2wz0s.js} +4 -4
- package/dist/chunks/{persistent-pty-cv5frkqy.js → agent-5e7r050g.js} +1 -1
- package/dist/chunks/{persistent-pty-1g2zd6q9.js → agent-5h6kfehj.js} +3 -3
- package/dist/chunks/{persistent-pty-mfs5sj5t.js → agent-5pvas20d.js} +9 -9
- package/dist/chunks/{persistent-pty-6p5ms1em.js → agent-5sqqcv2m.js} +22 -22
- package/dist/chunks/{persistent-pty-5t3nmthw.js → agent-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-7fmgbjr3.js → agent-5taftw3n.js} +9 -9
- package/dist/chunks/{persistent-pty-1p0trksj.js → agent-5zs99abn.js} +7 -7
- package/dist/chunks/{persistent-pty-sxn79y37.js → agent-60ng53x8.js} +9 -9
- package/dist/chunks/{persistent-pty-669tq793.js → agent-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-431eg44t.js → agent-6f2v6d3h.js} +13 -13
- package/dist/chunks/{persistent-pty-xcjhgh37.js → agent-6h3wybc7.js} +6 -6
- package/dist/chunks/{persistent-pty-q8pxfdwq.js → agent-6hft2jmv.js} +4 -4
- package/dist/chunks/{persistent-pty-sqdxss6w.js → agent-6hvxcsy0.js} +9 -9
- package/dist/chunks/agent-6kdq0pjd.js +4 -0
- package/dist/chunks/{persistent-pty-6msgmcgs.js → agent-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-ze9ygk7z.js → agent-6nfzt672.js} +11 -11
- package/dist/chunks/{persistent-pty-fsy2n4n3.js → agent-6x899grp.js} +9 -9
- package/dist/chunks/{persistent-pty-k6w2t1ya.js → agent-75hzh59n.js} +4 -4
- package/dist/chunks/{persistent-pty-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-2hsgj57k.js → agent-7fqa2d9w.js} +23 -23
- package/dist/chunks/{persistent-pty-p3x7gx7a.js → agent-7gvs7gck.js} +28 -28
- package/dist/chunks/{persistent-pty-jvekhsax.js → agent-7t7d5q2p.js} +6 -6
- package/dist/chunks/{persistent-pty-jexxy024.js → agent-7w99qc9d.js} +3 -3
- package/dist/chunks/{persistent-pty-h6jr292a.js → agent-7z7az0f5.js} +4 -4
- package/dist/chunks/{persistent-pty-kftvnv3j.js → agent-81eajdsq.js} +20 -20
- package/dist/chunks/{persistent-pty-mbgq0mmx.js → agent-85xfn293.js} +6 -6
- package/dist/chunks/{persistent-pty-tcezcvh9.js → agent-89znhe33.js} +4 -4
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → agent-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-jfcm29bp.js → agent-8qvkbm9p.js} +4 -4
- package/dist/chunks/{persistent-pty-bph3v013.js → agent-8r83crvb.js} +19 -19
- package/dist/chunks/{persistent-pty-78b8afjy.js → agent-9aaedtqt.js} +8 -8
- package/dist/chunks/{persistent-pty-5rfwsh5d.js → agent-9gfem6tc.js} +3 -3
- package/dist/chunks/{persistent-pty-qt5mdn6g.js → agent-9kz8gdr8.js} +15 -15
- package/dist/chunks/{persistent-pty-tvc0b3mj.js → agent-a3n0gq8j.js} +7 -7
- package/dist/chunks/{persistent-pty-aaet6srn.js → agent-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-wcycnpg6.js → agent-abxv7css.js} +11 -11
- package/dist/chunks/{persistent-pty-d0fsejzd.js → agent-afbgadfc.js} +34 -34
- package/dist/chunks/{persistent-pty-w6qqzf7t.js → agent-ak1tpw6q.js} +2 -2
- package/dist/chunks/{persistent-pty-qdwxcfza.js → agent-as7cad1b.js} +9 -9
- package/dist/chunks/{persistent-pty-b27vhd2z.js → agent-b27vhd2z.js} +1 -1
- package/dist/chunks/{persistent-pty-b6gygkdw.js → agent-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-mnaz46m9.js → agent-b7b1bvw5.js} +84 -84
- package/dist/chunks/{persistent-pty-r4wc6fxm.js → agent-bcwpxhz1.js} +5 -5
- package/dist/chunks/{persistent-pty-ysfwx83j.js → agent-bd3mgvaw.js} +8 -8
- package/dist/chunks/{persistent-pty-rr6jacvf.js → agent-bkyn6bwe.js} +42 -42
- package/dist/chunks/{persistent-pty-t808dn5w.js → agent-bp4eqg1s.js} +34 -34
- package/dist/chunks/{persistent-pty-57sn279e.js → agent-bv2m8j2f.js} +10 -10
- package/dist/chunks/{persistent-pty-0zkrmmra.js → agent-c0mr470r.js} +15 -15
- package/dist/chunks/{persistent-pty-6vrsc7tt.js → agent-c85qzh5t.js} +18 -18
- package/dist/chunks/{persistent-pty-s9ax1raf.js → agent-c9rn2ffm.js} +33 -33
- package/dist/chunks/{persistent-pty-afdssyjb.js → agent-ckf8nxjz.js} +4 -4
- package/dist/chunks/{persistent-pty-2ym62d1y.js → agent-cpvt4mkc.js} +1 -1
- package/dist/chunks/{persistent-pty-26v7198b.js → agent-cqtv3ntd.js} +32 -32
- package/dist/chunks/{persistent-pty-rvt9ga0f.js → agent-cwp77bqy.js} +16 -16
- package/dist/chunks/{persistent-pty-yt0fqk68.js → agent-d2aac7k2.js} +5 -5
- package/dist/chunks/{persistent-pty-hds23wzw.js → agent-d4sp9rf7.js} +14 -14
- package/dist/chunks/{persistent-pty-xcrk435t.js → agent-d6jhtwvw.js} +18 -18
- package/dist/chunks/{persistent-pty-b7r080c3.js → agent-d72aarx9.js} +15 -15
- package/dist/chunks/{persistent-pty-hq654dja.js → agent-d7b96y43.js} +23 -23
- package/dist/chunks/{persistent-pty-3ewed21c.js → agent-d858xzj7.js} +4 -4
- package/dist/chunks/{persistent-pty-p52j3anj.js → agent-ddjv2rf1.js} +35 -35
- package/dist/chunks/{persistent-pty-btpphd88.js → agent-dfmg44zt.js} +22 -22
- package/dist/chunks/{persistent-pty-dj2t23y0.js → agent-dj2t23y0.js} +2 -2
- package/dist/chunks/{persistent-pty-8hz3g5y0.js → agent-dv7xn15p.js} +19 -19
- package/dist/chunks/{persistent-pty-brg56pc6.js → agent-dv98y0zm.js} +24 -24
- package/dist/chunks/{persistent-pty-cwtvnkts.js → agent-dxk73e61.js} +8 -8
- package/dist/chunks/{persistent-pty-9c77jpjf.js → agent-e4q8186z.js} +3 -3
- package/dist/chunks/agent-eceerw08.js +252 -0
- package/dist/chunks/{persistent-pty-xjbekv6e.js → agent-edf18fwt.js} +23 -23
- package/dist/chunks/{persistent-pty-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-tbgyadps.js → agent-eqfk2yd1.js} +8 -8
- package/dist/chunks/{persistent-pty-tegs1ycp.js → agent-eqkxs06z.js} +6 -6
- package/dist/chunks/{persistent-pty-74fmk9vn.js → agent-ercet7pm.js} +10 -10
- package/dist/chunks/{persistent-pty-erw5rpbs.js → agent-erw5rpbs.js} +2 -2
- package/dist/chunks/{persistent-pty-bmcyf7gj.js → agent-esjpzfqh.js} +20 -20
- package/dist/chunks/{persistent-pty-etq0c3wd.js → agent-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-jdvrzx2t.js → agent-eyxhp5jq.js} +17 -17
- package/dist/chunks/{persistent-pty-5531r29v.js → agent-f7xr7q4y.js} +28 -28
- package/dist/chunks/{persistent-pty-gnx4ytbv.js → agent-fab8hzt3.js} +4 -4
- package/dist/chunks/{persistent-pty-q3j5ebgq.js → agent-fb6r9czn.js} +15 -15
- package/dist/chunks/{persistent-pty-4z7tbtat.js → agent-fex5691d.js} +6 -6
- package/dist/chunks/{persistent-pty-s8cev9wy.js → agent-fhsfb5wx.js} +20 -20
- package/dist/chunks/{persistent-pty-2rnnjxth.js → agent-fkf189j2.js} +7 -7
- package/dist/chunks/{persistent-pty-ffw5jcp2.js → agent-fpx40r7k.js} +15 -15
- package/dist/chunks/{persistent-pty-jsx9wcxe.js → agent-fwgtty9p.js} +9 -9
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → agent-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-5h8807ma.js → agent-g3dvzzsn.js} +20 -20
- package/dist/chunks/{persistent-pty-p513dnzd.js → agent-g71wmdzk.js} +142 -142
- package/dist/chunks/{persistent-pty-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-de5mzfxd.js → agent-geknskw0.js} +26 -26
- package/dist/chunks/{persistent-pty-r72bb3g5.js → agent-gf7f2369.js} +5 -5
- package/dist/chunks/{persistent-pty-71vt42kc.js → agent-ggcsatw5.js} +3 -3
- package/dist/chunks/{persistent-pty-r2w5wzr7.js → agent-gsdsh762.js} +10 -10
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → agent-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-va45f1s8.js → agent-gw84rn5c.js} +30 -30
- package/dist/chunks/{persistent-pty-vmnj2x1v.js → agent-gxzbat11.js} +31 -31
- package/dist/chunks/{persistent-pty-edwvx061.js → agent-h5wn60w9.js} +4 -4
- package/dist/chunks/{persistent-pty-0rqdjtcb.js → agent-h6b8nah8.js} +4 -4
- package/dist/chunks/{persistent-pty-h6r3nrb9.js → agent-h6r3nrb9.js} +1 -1
- package/dist/chunks/{persistent-pty-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-hdnk95c8.js → agent-hdnk95c8.js} +2 -2
- package/dist/chunks/{persistent-pty-61h0qsnp.js → agent-hra2zf6w.js} +10 -10
- package/dist/chunks/{persistent-pty-aba8dj31.js → agent-hrekjq5z.js} +15 -15
- package/dist/chunks/{persistent-pty-ta417yjh.js → agent-hvge4a7b.js} +24 -24
- package/dist/chunks/{persistent-pty-j56e64zr.js → agent-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-k3c624dm.js → agent-k3c624dm.js} +3 -3
- package/dist/chunks/{persistent-pty-patgj9rf.js → agent-k7myrtme.js} +9 -9
- package/dist/chunks/{persistent-pty-r5zvm12r.js → agent-k8awv4zh.js} +2 -2
- package/dist/chunks/{persistent-pty-44ke2mar.js → agent-k9kj6xed.js} +6 -6
- package/dist/chunks/{persistent-pty-3gs18der.js → agent-kbsfj81n.js} +19 -19
- package/dist/chunks/{persistent-pty-4kg54np8.js → agent-kcjc17br.js} +19 -19
- package/dist/chunks/{persistent-pty-vcdb3gbk.js → agent-kfgkb3w8.js} +1 -1
- package/dist/chunks/{persistent-pty-s83kg3p0.js → agent-m0cf690c.js} +17 -17
- package/dist/chunks/{persistent-pty-m0jqrx5p.js → agent-m0jqrx5p.js} +2 -2
- package/dist/chunks/{persistent-pty-2wzrjk5c.js → agent-m2k0n4kz.js} +19 -19
- package/dist/chunks/{persistent-pty-m3fdjcah.js → agent-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-4acetgwp.js → agent-m85h0kfj.js} +2 -2
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-k2h4r4s0.js → agent-magykp64.js} +4 -4
- package/dist/chunks/{persistent-pty-h4eh15d6.js → agent-mf1nywb3.js} +20 -20
- package/dist/chunks/{persistent-pty-92xv3hjf.js → agent-mhh2wvta.js} +17 -17
- package/dist/chunks/{persistent-pty-mvfsc1pv.js → agent-mhkvc446.js} +3 -3
- package/dist/chunks/{persistent-pty-5dbxvay1.js → agent-mjhmz48d.js} +27 -27
- package/dist/chunks/{persistent-pty-epqb7qpy.js → agent-mjq5y8n2.js} +3 -3
- package/dist/chunks/{persistent-pty-06dxphr1.js → agent-msq0jde0.js} +4 -4
- package/dist/chunks/{persistent-pty-j9vp638d.js → agent-na3cbkd8.js} +41 -41
- package/dist/chunks/{persistent-pty-a3r4dcrj.js → agent-nng2ktcm.js} +2 -2
- package/dist/chunks/{persistent-pty-p4a5cx5p.js → agent-np2d4m60.js} +15 -15
- package/dist/chunks/{persistent-pty-x38sqvf4.js → agent-nrm6eza0.js} +6 -6
- package/dist/chunks/{persistent-pty-vg6ckggx.js → agent-nv0zfvs3.js} +53 -53
- package/dist/chunks/{persistent-pty-ytqvkck2.js → agent-nxnb0v57.js} +5 -5
- package/dist/chunks/{persistent-pty-tbz0fdvh.js → agent-p28j5sbe.js} +5 -5
- package/dist/chunks/{persistent-pty-65w3833t.js → agent-p3gycn8b.js} +13 -13
- package/dist/chunks/{persistent-pty-br0tr5aq.js → agent-pa8pe2x7.js} +8 -8
- package/dist/chunks/{persistent-pty-6n88yxkj.js → agent-pb1eahw5.js} +8 -8
- package/dist/chunks/{persistent-pty-jzphxtev.js → agent-phr2avsp.js} +10 -10
- package/dist/chunks/{persistent-pty-n4j23rry.js → agent-pj88hhxz.js} +14 -14
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-bz85s9hh.js → agent-pstg3rfm.js} +1 -1
- package/dist/chunks/{persistent-pty-nm55ymfc.js → agent-psw0wqrt.js} +13 -13
- package/dist/chunks/{persistent-pty-6yh2fsej.js → agent-ptadzx8h.js} +12 -12
- package/dist/chunks/{persistent-pty-axwsqknt.js → agent-py6xadtm.js} +32 -32
- package/dist/chunks/{persistent-pty-13f6jh0f.js → agent-q06j225y.js} +32 -32
- package/dist/chunks/{persistent-pty-grhxn6he.js → agent-q2q7z127.js} +27 -27
- package/dist/chunks/{persistent-pty-yppwdz7t.js → agent-q5qvysx4.js} +9 -9
- package/dist/chunks/{persistent-pty-k1gkpfdk.js → agent-qby9dwvd.js} +8 -8
- package/dist/chunks/{persistent-pty-m2d0j7c0.js → agent-qg0jgkcp.js} +9 -9
- package/dist/chunks/{persistent-pty-qn4ba14w.js → agent-qn4ba14w.js} +2 -2
- package/dist/chunks/{persistent-pty-qsdy395h.js → agent-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-4yy5d4qw.js → agent-qyjnxv1z.js} +1 -1
- package/dist/chunks/{persistent-pty-e84rd1xk.js → agent-r23bba5b.js} +28 -28
- package/dist/chunks/{persistent-pty-encztx8n.js → agent-r8d6a4tf.js} +22 -22
- package/dist/chunks/{persistent-pty-rhraev7y.js → agent-r8xr0va3.js} +4 -4
- package/dist/chunks/agent-rap9a73h.js +18 -0
- package/dist/chunks/{persistent-pty-hv2snex1.js → agent-rbbtr4pm.js} +10 -10
- package/dist/chunks/{persistent-pty-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-eaj1djv9.js → agent-rhjbct0v.js} +8 -8
- package/dist/chunks/{persistent-pty-qryrftmh.js → agent-rvs7jmzp.js} +47 -47
- package/dist/chunks/agent-rz1656kd.js +492 -0
- package/dist/chunks/{persistent-pty-p84dsdfh.js → agent-s0agc963.js} +8 -8
- package/dist/chunks/{persistent-pty-5rt7pep6.js → agent-s2jjmt0q.js} +3 -3
- package/dist/chunks/{persistent-pty-s4b84khr.js → agent-s2v47wsv.js} +9 -9
- package/dist/chunks/{persistent-pty-kfgf5fep.js → agent-sm46077v.js} +23 -23
- package/dist/chunks/{persistent-pty-68tggvtb.js → agent-sr79cq9d.js} +11 -11
- package/dist/chunks/{persistent-pty-4vdcjjmt.js → agent-stv5gz7c.js} +13 -13
- package/dist/chunks/{persistent-pty-2y34zzjz.js → agent-sv3vsz9b.js} +5 -5
- package/dist/chunks/{persistent-pty-vncycja5.js → agent-t9zs3egg.js} +4 -4
- package/dist/chunks/{persistent-pty-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → agent-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-tvtrv512.js → agent-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-v4px02z6.js → agent-v452jk09.js} +20 -20
- package/dist/chunks/{persistent-pty-veqvce7d.js → agent-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-4pxrwfad.js → agent-vfyx1xy1.js} +24 -24
- package/dist/chunks/{persistent-pty-gxr7q3nf.js → agent-vg3tvwdk.js} +25 -25
- package/dist/chunks/{persistent-pty-td55jj2j.js → agent-vgmb0hzp.js} +21 -21
- package/dist/chunks/{persistent-pty-9tx45s8b.js → agent-vhvn8xxs.js} +44 -44
- package/dist/chunks/{persistent-pty-jpxb4059.js → agent-vk3p7bbt.js} +11 -11
- package/dist/chunks/{persistent-pty-nyacxbzj.js → agent-vwpw6jr3.js} +40 -40
- package/dist/chunks/{persistent-pty-wngp58at.js → agent-vx884nfc.js} +20 -20
- package/dist/chunks/{persistent-pty-vzcthcp8.js → agent-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-dtwkq6be.js → agent-w28840qy.js} +13 -13
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-69cccy7z.js → agent-w9rjmhg2.js} +18 -18
- package/dist/chunks/{persistent-pty-jtwa0aj6.js → agent-wavj6ccy.js} +13 -13
- package/dist/chunks/{persistent-pty-rya495mf.js → agent-wavy99wc.js} +11 -11
- package/dist/chunks/{persistent-pty-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/agent-wgj0x3s5.js +26 -0
- package/dist/chunks/{persistent-pty-n36xcpgr.js → agent-wh950sxe.js} +10 -10
- package/dist/chunks/{persistent-pty-j58c5xyq.js → agent-wk5z6jzv.js} +9 -9
- package/dist/chunks/{persistent-pty-qr405v0d.js → agent-wmvgvm9g.js} +10 -10
- package/dist/chunks/{persistent-pty-63mpdmm6.js → agent-wrrgj8p2.js} +30 -30
- package/dist/chunks/{persistent-pty-wk2ay995.js → agent-ww76mnf4.js} +32 -32
- package/dist/chunks/{persistent-pty-bsgfsq91.js → agent-wyx8ky32.js} +16 -16
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → agent-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-x5x7kcgs.js → agent-x9hcbvs5.js} +14 -14
- package/dist/chunks/{persistent-pty-jcz9anth.js → agent-x9s20f53.js} +47 -47
- package/dist/chunks/{persistent-pty-xfkkasph.js → agent-xfkkasph.js} +1 -1
- package/dist/chunks/{persistent-pty-cdq49ytp.js → agent-xgec815d.js} +27 -27
- package/dist/chunks/{persistent-pty-90y57r1y.js → agent-xm6kpq0w.js} +19 -19
- package/dist/chunks/{persistent-pty-7s8gb34t.js → agent-xr4jxd3n.js} +26 -26
- package/dist/chunks/{persistent-pty-fwft7q1r.js → agent-xryzejns.js} +3 -3
- package/dist/chunks/{persistent-pty-3fs6smyb.js → agent-xxcf9j2r.js} +11 -11
- package/dist/chunks/{persistent-pty-82ahnwkf.js → agent-xy5p8xg6.js} +20 -20
- package/dist/chunks/{persistent-pty-xaftkv44.js → agent-xydn9a3q.js} +54 -54
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-ab8cnxkj.js → agent-y5df08dr.js} +12 -12
- package/dist/chunks/{persistent-pty-r2a07nrz.js → agent-y68y97fv.js} +13 -13
- package/dist/chunks/{persistent-pty-dpkg50ah.js → agent-y71avatq.js} +4 -4
- package/dist/chunks/{persistent-pty-4113bgx8.js → agent-y8zr9mrm.js} +11 -11
- package/dist/chunks/{persistent-pty-6tr59r50.js → agent-yhykjk6q.js} +27 -27
- package/dist/chunks/{persistent-pty-hmp6wt3x.js → agent-ykcyj6g6.js} +3 -3
- package/dist/chunks/{persistent-pty-gb9jw3zf.js → agent-ymf79dpk.js} +6 -6
- package/dist/chunks/{persistent-pty-w18y63wv.js → agent-ynx1zemv.js} +25 -25
- package/dist/chunks/{persistent-pty-ace40s22.js → agent-yp1ctj3c.js} +8 -8
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → agent-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-yrznvahk.js → agent-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-8y3s9r1h.js → agent-z1gnkr1t.js} +6 -6
- package/dist/chunks/{persistent-pty-qw85ht6d.js → agent-z24rsk7e.js} +37 -37
- package/dist/chunks/{persistent-pty-z63w68vq.js → agent-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-zeh9ct20.js → agent-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-xjebcb6c.js → agent-zh9a0jmt.js} +9 -9
- package/dist/chunks/{persistent-pty-s4mb84p1.js → agent-zqq6ndec.js} +47 -47
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-hnac9jpe.js → agent-zryg9yjn.js} +18 -18
- package/dist/chunks/{persistent-pty-9h0hyds4.js → agent-zwmb00wq.js} +17 -17
- package/dist/chunks/{persistent-pty-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +76 -76
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- 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 +368 -368
- 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 +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +107 -107
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +104 -104
- 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 +98 -98
- 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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- 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 +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- 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 +106 -106
- 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/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- 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/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- 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 +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +94 -94
- 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 +84 -84
- 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 +127 -127
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +123 -123
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- 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 +3 -3
- 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 +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- 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 +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +124 -124
- package/dist/tool/plugin/edit.js +115 -115
- 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 +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- 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 +4 -4
- package/dist/tool.js +16 -16
- 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 +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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/variant.js +90 -90
- 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 +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/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-0mesazry.js +0 -4
- package/dist/chunks/persistent-pty-7h3cdw3p.js +0 -252
- package/dist/chunks/persistent-pty-a7qcy6v8.js +0 -26
- package/dist/chunks/persistent-pty-dxj72tfx.js +0 -18
- package/dist/chunks/persistent-pty-mj93e3gy.js +0 -492
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → agent-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → agent-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5qd3pb7m.js → agent-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → agent-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → agent-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → agent-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → agent-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → agent-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → agent-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → agent-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → agent-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → agent-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → agent-z9919s4g.js} +0 -0
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-7fqa2d9w.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service74,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node78
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -138,9 +138,9 @@ function initError(providerID) {
|
|
|
138
138
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
class
|
|
141
|
+
class Service74 extends Context.Service()("@opencode/AISDK") {
|
|
142
142
|
}
|
|
143
|
-
var locationLayer2 = Layer.effect(
|
|
143
|
+
var locationLayer2 = Layer.effect(Service74, Effect.gen(function* () {
|
|
144
144
|
let sdkHooks = [];
|
|
145
145
|
let languageHooks = [];
|
|
146
146
|
const languages = new Map;
|
|
@@ -178,7 +178,7 @@ var locationLayer2 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
178
178
|
}
|
|
179
179
|
return event;
|
|
180
180
|
});
|
|
181
|
-
const service =
|
|
181
|
+
const service = Service74.of({
|
|
182
182
|
hook: {
|
|
183
183
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
184
184
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -819,6 +819,6 @@ function providerErrorMessage(error) {
|
|
|
819
819
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
820
820
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
821
821
|
}
|
|
822
|
-
var
|
|
822
|
+
var node78 = makeLocationNode({ service: Service74, layer: locationLayer2, deps: [] });
|
|
823
823
|
|
|
824
|
-
export { InitError2,
|
|
824
|
+
export { InitError2, Service74, locationLayer2, node78, exports_aisdk };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./agent-81eajdsq.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info14
|
|
9
|
+
} from "./agent-pb1eahw5.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-6hft2jmv.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service50
|
|
16
|
+
} from "./agent-bkyn6bwe.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./agent-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin46
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info14);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin46 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service50;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin19 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID11.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID11.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin46, exports_agent2 };
|
|
@@ -1,131 +1,131 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node50
|
|
4
|
+
} from "./agent-9aaedtqt.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./agent-5dr2wz0s.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
ID11,
|
|
11
|
+
Service67,
|
|
12
12
|
node70
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-81eajdsq.js";
|
|
14
14
|
import {
|
|
15
15
|
ID15,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./agent-dfmg44zt.js";
|
|
18
18
|
import {
|
|
19
19
|
ID14,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service76,
|
|
24
|
+
node80
|
|
25
|
+
} from "./agent-34gj4vpn.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./agent-922hggd3.js";
|
|
29
29
|
import {
|
|
30
30
|
Info32,
|
|
31
31
|
Ref4,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service79,
|
|
33
|
+
node83
|
|
34
|
+
} from "./agent-pj88hhxz.js";
|
|
35
35
|
import {
|
|
36
36
|
ID13,
|
|
37
|
+
Service75,
|
|
38
|
+
node79
|
|
39
|
+
} from "./agent-7fqa2d9w.js";
|
|
40
|
+
import {
|
|
37
41
|
Service74,
|
|
38
42
|
node78
|
|
39
|
-
} from "./
|
|
40
|
-
import {
|
|
41
|
-
Service72,
|
|
42
|
-
node76
|
|
43
|
-
} from "./persistent-pty-jsx9wcxe.js";
|
|
43
|
+
} from "./agent-fwgtty9p.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
45
|
+
Service43,
|
|
46
|
+
node46
|
|
47
|
+
} from "./agent-psw0wqrt.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
49
|
+
Service65,
|
|
50
|
+
node68
|
|
51
|
+
} from "./agent-5544h6er.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service68,
|
|
54
|
+
node71
|
|
55
|
+
} from "./agent-5taftw3n.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
57
|
+
ID9,
|
|
58
|
+
Service64,
|
|
59
|
+
node67
|
|
60
|
+
} from "./agent-r23bba5b.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
62
|
+
ID12
|
|
63
|
+
} from "./agent-geknskw0.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./
|
|
65
|
+
Service38,
|
|
66
|
+
node41
|
|
67
|
+
} from "./agent-rvs7jmzp.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
69
|
+
Service66,
|
|
70
|
+
node69
|
|
71
|
+
} from "./agent-qby9dwvd.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
73
|
+
Service61,
|
|
74
|
+
node64
|
|
75
|
+
} from "./agent-zqq6ndec.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
77
|
+
Service40,
|
|
78
|
+
node43
|
|
79
|
+
} from "./agent-ynx1zemv.js";
|
|
80
80
|
import {
|
|
81
81
|
Source4,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service45,
|
|
83
|
+
node48
|
|
84
|
+
} from "./agent-3g2nmk79.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
86
|
+
Info8,
|
|
87
|
+
Service44,
|
|
88
|
+
node47
|
|
89
|
+
} from "./agent-r8d6a4tf.js";
|
|
90
90
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
91
|
+
Service26,
|
|
92
|
+
node29
|
|
93
|
+
} from "./agent-1h68bbz1.js";
|
|
94
94
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./
|
|
95
|
+
Service17,
|
|
96
|
+
node20
|
|
97
|
+
} from "./agent-mjhmz48d.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
102
|
-
import {
|
|
103
|
-
Service41,
|
|
104
|
-
node45
|
|
105
|
-
} from "./persistent-pty-h4eh15d6.js";
|
|
106
|
-
import {
|
|
107
|
-
ID4,
|
|
108
|
-
Service19,
|
|
109
|
-
node22
|
|
110
|
-
} from "./persistent-pty-xjbekv6e.js";
|
|
99
|
+
Service25,
|
|
100
|
+
node28
|
|
101
|
+
} from "./agent-np2d4m60.js";
|
|
111
102
|
import {
|
|
112
103
|
Service16,
|
|
113
104
|
node19
|
|
114
|
-
} from "./
|
|
105
|
+
} from "./agent-mf1nywb3.js";
|
|
115
106
|
import {
|
|
116
|
-
|
|
117
|
-
Info4,
|
|
118
|
-
ListEntry3,
|
|
107
|
+
ID3,
|
|
119
108
|
Service15,
|
|
120
109
|
node18
|
|
121
|
-
} from "./
|
|
110
|
+
} from "./agent-edf18fwt.js";
|
|
122
111
|
import {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
} from "./
|
|
112
|
+
Service22,
|
|
113
|
+
node25
|
|
114
|
+
} from "./agent-xm6kpq0w.js";
|
|
115
|
+
import {
|
|
116
|
+
StrategyID2,
|
|
117
|
+
Info5,
|
|
118
|
+
ListEntry3,
|
|
119
|
+
Service21,
|
|
120
|
+
node24
|
|
121
|
+
} from "./agent-bp4eqg1s.js";
|
|
122
|
+
import {
|
|
123
|
+
Service18,
|
|
124
|
+
node21
|
|
125
|
+
} from "./agent-vg3tvwdk.js";
|
|
126
126
|
import {
|
|
127
127
|
__export
|
|
128
|
-
} from "./
|
|
128
|
+
} from "./agent-9rqn6x4v.js";
|
|
129
129
|
|
|
130
130
|
// src/plugin/host.ts
|
|
131
131
|
var exports_host = {};
|
|
@@ -143,30 +143,30 @@ var mutable = (value) => value;
|
|
|
143
143
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
144
144
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
145
145
|
const app = yield* Metadata2;
|
|
146
|
-
const agents = yield*
|
|
147
|
-
const aisdk = yield*
|
|
148
|
-
const providers = yield*
|
|
149
|
-
const models = yield*
|
|
150
|
-
const commands = yield*
|
|
146
|
+
const agents = yield* Service67;
|
|
147
|
+
const aisdk = yield* Service74;
|
|
148
|
+
const providers = yield* Service75;
|
|
149
|
+
const models = yield* Service64;
|
|
150
|
+
const commands = yield* Service43;
|
|
151
151
|
const bus = yield* Service82;
|
|
152
|
-
const integration = yield*
|
|
153
|
-
const kv = yield*
|
|
154
|
-
const mcp = yield*
|
|
155
|
-
const location = yield*
|
|
156
|
-
const reference = yield*
|
|
157
|
-
const rpc = yield*
|
|
158
|
-
const skill = yield*
|
|
159
|
-
const tools = yield*
|
|
160
|
-
const vcs = yield*
|
|
161
|
-
const websearch = yield*
|
|
162
|
-
const generate = yield*
|
|
163
|
-
const permission = yield*
|
|
164
|
-
const hooks = yield*
|
|
165
|
-
const sessions = yield*
|
|
166
|
-
const persistentPty = yield*
|
|
167
|
-
const locations = yield*
|
|
168
|
-
const worktrees = yield*
|
|
169
|
-
const worktreeStrategies = yield*
|
|
152
|
+
const integration = yield* Service76;
|
|
153
|
+
const kv = yield* Service65;
|
|
154
|
+
const mcp = yield* Service38;
|
|
155
|
+
const location = yield* Service79;
|
|
156
|
+
const reference = yield* Service45;
|
|
157
|
+
const rpc = yield* Service25;
|
|
158
|
+
const skill = yield* Service44;
|
|
159
|
+
const tools = yield* Service40;
|
|
160
|
+
const vcs = yield* Service16;
|
|
161
|
+
const websearch = yield* Service15;
|
|
162
|
+
const generate = yield* Service18;
|
|
163
|
+
const permission = yield* Service61;
|
|
164
|
+
const hooks = yield* Service66;
|
|
165
|
+
const sessions = yield* Service26;
|
|
166
|
+
const persistentPty = yield* Service17;
|
|
167
|
+
const locations = yield* Service68;
|
|
168
|
+
const worktrees = yield* Service21;
|
|
169
|
+
const worktreeStrategies = yield* Service22;
|
|
170
170
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
171
171
|
const locationInfo = () => new Info32({
|
|
172
172
|
directory: location.directory,
|
|
@@ -175,15 +175,15 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
175
175
|
});
|
|
176
176
|
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
177
177
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
178
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
178
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID12.make(input.location.workspace)
|
|
179
179
|
});
|
|
180
180
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
181
181
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
182
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
182
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info5);
|
|
183
183
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
184
184
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
185
|
-
const location = yield*
|
|
186
|
-
const agents = yield*
|
|
185
|
+
const location = yield* Service79;
|
|
186
|
+
const agents = yield* Service67;
|
|
187
187
|
return {
|
|
188
188
|
location: new Info32({
|
|
189
189
|
directory: location.directory,
|
|
@@ -217,10 +217,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
217
217
|
transform: (callback) => agents.transform((editor) => {
|
|
218
218
|
callback({
|
|
219
219
|
list: () => mutable(editor.list()),
|
|
220
|
-
get: (id) => mutable(editor.get(
|
|
221
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
222
|
-
update: (id, update) => editor.update(
|
|
223
|
-
remove: (id) => editor.remove(
|
|
220
|
+
get: (id) => mutable(editor.get(ID11.make(id))),
|
|
221
|
+
default: (id) => editor.default(id === undefined ? undefined : ID11.make(id)),
|
|
222
|
+
update: (id, update) => editor.update(ID11.make(id), update),
|
|
223
|
+
remove: (id) => editor.remove(ID11.make(id))
|
|
224
224
|
});
|
|
225
225
|
})
|
|
226
226
|
},
|
|
@@ -268,8 +268,8 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
268
268
|
remove: (id) => editor.remove(ID13.make(id)),
|
|
269
269
|
models: {
|
|
270
270
|
set: (id, models) => editor.models.set(ID13.make(id), models),
|
|
271
|
-
update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID),
|
|
272
|
-
remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID),
|
|
271
|
+
update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID9.make(modelID), update),
|
|
272
|
+
remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID9.make(modelID))
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
275
|
})
|
|
@@ -280,12 +280,12 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
280
280
|
reload: models.reload,
|
|
281
281
|
transform: (callback) => models.transform((editor) => callback({
|
|
282
282
|
list: (providerID) => editor.list(providerID === undefined ? undefined : ID13.make(providerID)),
|
|
283
|
-
get: (providerID, modelID) => editor.get(ID13.make(providerID),
|
|
284
|
-
update: (providerID, modelID, update) => editor.update(ID13.make(providerID),
|
|
285
|
-
remove: (providerID, modelID) => editor.remove(ID13.make(providerID),
|
|
283
|
+
get: (providerID, modelID) => editor.get(ID13.make(providerID), ID9.make(modelID)),
|
|
284
|
+
update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID9.make(modelID), update),
|
|
285
|
+
remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID9.make(modelID)),
|
|
286
286
|
default: {
|
|
287
287
|
get: editor.default.get,
|
|
288
|
-
set: (providerID, modelID) => editor.default.set(ID13.make(providerID),
|
|
288
|
+
set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID9.make(modelID))
|
|
289
289
|
},
|
|
290
290
|
provider: {
|
|
291
291
|
list: editor.provider.list,
|
|
@@ -385,8 +385,8 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
385
385
|
const ref = locationRef(input);
|
|
386
386
|
if (ref && !isCurrentLocation(ref))
|
|
387
387
|
return Effect.gen(function* () {
|
|
388
|
-
const location = yield*
|
|
389
|
-
const mcp = yield*
|
|
388
|
+
const location = yield* Service79;
|
|
389
|
+
const mcp = yield* Service38;
|
|
390
390
|
return {
|
|
391
391
|
location: new Info32({
|
|
392
392
|
directory: location.directory,
|
|
@@ -437,7 +437,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
437
437
|
callback({
|
|
438
438
|
list: () => mutable(editor.list()),
|
|
439
439
|
get: editor.get,
|
|
440
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
440
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info8)(value)),
|
|
441
441
|
update: editor.update,
|
|
442
442
|
remove: editor.remove
|
|
443
443
|
});
|
|
@@ -468,19 +468,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
468
468
|
providers: () => response(websearch.providers()),
|
|
469
469
|
query: (input) => response(websearch.query({
|
|
470
470
|
query: input.query,
|
|
471
|
-
providerID: input.providerID === undefined ? undefined :
|
|
471
|
+
providerID: input.providerID === undefined ? undefined : ID3.make(input.providerID)
|
|
472
472
|
})),
|
|
473
473
|
reload: websearch.reload,
|
|
474
474
|
transform: (callback) => websearch.transform((editor) => {
|
|
475
475
|
callback({
|
|
476
476
|
add: (definition) => editor.add({
|
|
477
|
-
id:
|
|
477
|
+
id: ID3.make(definition.id),
|
|
478
478
|
name: definition.name,
|
|
479
479
|
execute: definition.execute
|
|
480
480
|
}),
|
|
481
481
|
default: {
|
|
482
482
|
get: editor.default.get,
|
|
483
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
483
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID3.make(selection))
|
|
484
484
|
}
|
|
485
485
|
});
|
|
486
486
|
})
|
|
@@ -534,31 +534,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
534
534
|
return context;
|
|
535
535
|
});
|
|
536
536
|
var requirements3 = LayerNode.group([
|
|
537
|
-
|
|
537
|
+
node50,
|
|
538
538
|
node70,
|
|
539
|
-
node76,
|
|
540
539
|
node78,
|
|
541
|
-
node77,
|
|
542
|
-
node44,
|
|
543
|
-
node86,
|
|
544
540
|
node79,
|
|
545
|
-
|
|
546
|
-
node35,
|
|
547
|
-
node82,
|
|
541
|
+
node67,
|
|
548
542
|
node46,
|
|
543
|
+
node86,
|
|
544
|
+
node80,
|
|
545
|
+
node68,
|
|
546
|
+
node41,
|
|
547
|
+
node83,
|
|
548
|
+
node48,
|
|
549
|
+
node28,
|
|
550
|
+
node47,
|
|
549
551
|
node43,
|
|
550
|
-
node36,
|
|
551
|
-
node58,
|
|
552
|
-
node45,
|
|
553
|
-
node22,
|
|
554
|
-
node18,
|
|
555
552
|
node19,
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
553
|
+
node18,
|
|
554
|
+
node24,
|
|
555
|
+
node25,
|
|
556
|
+
node21,
|
|
557
|
+
node64,
|
|
558
|
+
node69,
|
|
559
|
+
node29,
|
|
560
|
+
node20,
|
|
561
|
+
node71
|
|
562
562
|
]);
|
|
563
563
|
function storage2(kv, pluginID) {
|
|
564
564
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|