@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
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info15
|
|
7
|
+
} from "./agent-magykp64.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info14
|
|
10
|
+
} from "./agent-pb1eahw5.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info19
|
|
13
|
+
} from "./agent-3w2b2yj4.js";
|
|
14
14
|
import {
|
|
15
15
|
Info16
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-b27vhd2z.js";
|
|
17
17
|
import {
|
|
18
18
|
Info13
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-sv3vsz9b.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
23
|
-
import {
|
|
24
|
-
Info18
|
|
25
|
-
} from "./persistent-pty-fvanntqq.js";
|
|
22
|
+
} from "./agent-21r38tys.js";
|
|
26
23
|
import {
|
|
27
24
|
Info17
|
|
28
|
-
} from "./
|
|
25
|
+
} from "./agent-2d57kztd.js";
|
|
26
|
+
import {
|
|
27
|
+
Info18
|
|
28
|
+
} from "./agent-d2aac7k2.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./agent-2k8khapm.js";
|
|
32
32
|
import {
|
|
33
33
|
Info12
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./agent-qn4ba14w.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./agent-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info11
|
|
40
|
+
} from "./agent-t9zs3egg.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./agent-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info10,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info10 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -71,7 +71,7 @@ var Info11 = Schema.Struct({
|
|
|
71
71
|
command: Schema.optional(Schema.Record(Schema.String, Info16)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info11).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info11 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info14), plan: Schema.optional(Info14) }), [Schema.Record(Schema.String, Info14)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info14),
|
|
119
|
+
build: Schema.optional(Info14),
|
|
120
|
+
general: Schema.optional(Info14),
|
|
121
|
+
explore: Schema.optional(Info14),
|
|
122
|
+
title: Schema.optional(Info14),
|
|
123
|
+
summary: Schema.optional(Info14),
|
|
124
|
+
compaction: Schema.optional(Info14)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info14)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
126
|
provider: Schema.optional(Schema.Record(Schema.String, Info12)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info18, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
130
|
formatter: Schema.optional(Info13).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info17).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info15),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info19).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info11 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info10, exports_config2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options9,
|
|
15
|
+
Service: () => Service53,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured9,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list3,
|
|
@@ -23,7 +23,7 @@ __export(exports_select, {
|
|
|
23
23
|
name: () => name15,
|
|
24
24
|
node: () => node57,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options9 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service53 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve4(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve4.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list3(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service53.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list3(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured9(options) {
|
|
210
|
+
return makeLocationNode({ service: Service53, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var node57 =
|
|
212
|
+
var node57 = configured9();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options9, Service53, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list3, configured9, node57, exports_select };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./agent-pj88hhxz.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names3
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names3 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service79;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names3, discover3, exports_discovery2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES2 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./agent-bkyn6bwe.js";
|
|
4
4
|
import {
|
|
5
5
|
Service9
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-348gb89b.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigCompactionPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_compaction2 = {};
|
|
16
|
+
__export(exports_compaction2, {
|
|
17
|
+
ConfigCompactionPlugin: () => exports_compaction2,
|
|
18
|
+
Plugin: () => Plugin32
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin32 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service50;
|
|
26
26
|
const compaction = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
@@ -39,4 +39,4 @@ var Plugin29 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin32, exports_compaction2 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-ykcyj6g6.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-5dr2wz0s.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service57
|
|
9
|
+
} from "./agent-eqkxs06z.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError8,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./agent-2e96adxv.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./agent-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service62
|
|
29
|
+
} from "./agent-x9hcbvs5.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service56
|
|
34
|
+
} from "./agent-m2k0n4kz.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service54
|
|
37
|
+
} from "./agent-ddjv2rf1.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./agent-5758n57s.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./agent-v452jk09.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./agent-q5qvysx4.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./agent-s2v47wsv.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./agent-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -65,16 +65,16 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
65
65
|
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service82;
|
|
67
67
|
const database = yield* Service83;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service62;
|
|
69
|
+
const instances = yield* Service57;
|
|
70
|
+
const execution = yield* Service54;
|
|
71
|
+
const admission = yield* Service56;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError8({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -131,7 +131,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
if (existing)
|
|
133
133
|
return existing;
|
|
134
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
134
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service57, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
135
135
|
if (session.revert)
|
|
136
136
|
yield* commit2(bus, session);
|
|
137
137
|
return yield* admission.admit({
|
|
@@ -147,7 +147,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
147
147
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
148
148
|
const session = yield* get(sessionID);
|
|
149
149
|
const running = yield* Effect.gen(function* () {
|
|
150
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
150
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service57, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
151
151
|
text: `User shell command failed to start:
|
|
152
152
|
${input.command}
|
|
153
153
|
|
|
@@ -176,7 +176,7 @@ ${error.message}`,
|
|
|
176
176
|
});
|
|
177
177
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
178
178
|
const session = yield* get(sessionID);
|
|
179
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
179
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service57, instances));
|
|
180
180
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
181
181
|
sessionID,
|
|
182
182
|
id: skill.id,
|
|
@@ -233,13 +233,13 @@ ${error.message}`,
|
|
|
233
233
|
const session = yield* get(sessionID);
|
|
234
234
|
if (yield* execution.isActive(sessionID))
|
|
235
235
|
return yield* new BusyError2({ sessionID });
|
|
236
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
236
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service57, instances), Effect.provideService(Service83, database), Effect.provideService(Service82, bus));
|
|
237
237
|
});
|
|
238
238
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
239
239
|
const session = yield* get(sessionID);
|
|
240
240
|
if (yield* execution.isActive(sessionID))
|
|
241
241
|
return yield* new BusyError2({ sessionID });
|
|
242
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
242
|
+
yield* clear2(session).pipe(Effect.provideService(Service57, instances), Effect.provideService(Service82, bus));
|
|
243
243
|
return yield* execution.wake(sessionID);
|
|
244
244
|
});
|
|
245
245
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./agent-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./agent-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|