@opencode/core 0.0.0-dev-19936 → 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 +76 -76
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{vcs-pakcngh0.js → agent-00x4qneg.js} +8 -8
- package/dist/chunks/{vcs-8xyxe0k6.js → agent-036j9pep.js} +9 -9
- package/dist/chunks/{vcs-hae7xxqe.js → agent-03heh432.js} +37 -37
- package/dist/chunks/{vcs-1rmaqtrx.js → agent-0m0tvs7x.js} +4 -4
- package/dist/chunks/{vcs-4v4bfvma.js → agent-0nde5ztd.js} +5 -5
- package/dist/chunks/{vcs-0paq2nw3.js → agent-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-0q0f95c6.js → agent-0q0f95c6.js} +1 -1
- package/dist/chunks/{vcs-m7ra2w5s.js → agent-0qths4nn.js} +20 -20
- package/dist/chunks/{vcs-7d8zg9gx.js → agent-178916dd.js} +8 -8
- package/dist/chunks/{vcs-1dazxqgg.js → agent-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-zgs7zzqg.js → agent-1h68bbz1.js} +95 -95
- package/dist/chunks/{vcs-3gz6fvbw.js → agent-1jqm4hqw.js} +23 -23
- package/dist/chunks/{vcs-mhxfxc91.js → agent-1mhtqdf9.js} +42 -42
- package/dist/chunks/{vcs-51b2bmqd.js → agent-1qsp6rhw.js} +42 -42
- package/dist/chunks/{vcs-xm8y3y9s.js → agent-1qyqkqe4.js} +22 -22
- package/dist/chunks/{vcs-0f2p0cnd.js → agent-1t7nvzsm.js} +10 -10
- package/dist/chunks/{vcs-mfqp6xfm.js → agent-1ygqh575.js} +6 -6
- package/dist/chunks/{vcs-21r38tys.js → agent-21r38tys.js} +1 -1
- package/dist/chunks/{vcs-6h73sxmp.js → agent-2402vzrj.js} +5 -5
- package/dist/chunks/{vcs-df2ntcbh.js → agent-2421mgk7.js} +14 -14
- package/dist/chunks/{vcs-tr206bvd.js → agent-273f65v8.js} +37 -37
- package/dist/chunks/{vcs-d00kjjsm.js → agent-27s8bqjz.js} +7 -7
- package/dist/chunks/{vcs-2a5m3afh.js → agent-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-rbnp9ynp.js → agent-2ajemesj.js} +30 -30
- package/dist/chunks/{vcs-j15mfg1p.js → agent-2d57kztd.js} +6 -6
- package/dist/chunks/{vcs-emnb89zc.js → agent-2dd34nca.js} +15 -15
- package/dist/chunks/{vcs-k9avtbwf.js → agent-2e96adxv.js} +6 -6
- package/dist/chunks/{vcs-csxdrzv8.js → agent-2gbsvbx5.js} +12 -12
- package/dist/chunks/{vcs-7dqw4kz8.js → agent-2k8khapm.js} +5 -5
- package/dist/chunks/{vcs-5d607bsg.js → agent-2sejkfem.js} +9 -9
- package/dist/chunks/{vcs-qg6dnfrp.js → agent-2yc73x9z.js} +14 -14
- package/dist/chunks/{vcs-6ta9z22m.js → agent-348gb89b.js} +30 -30
- package/dist/chunks/{vcs-2amj1e7d.js → agent-34gj4vpn.js} +20 -20
- package/dist/chunks/{vcs-812nv9mx.js → agent-35zpsenw.js} +21 -21
- package/dist/chunks/{vcs-4327cfd7.js → agent-36x1j5qv.js} +8 -8
- package/dist/chunks/{vcs-3qaj82j9.js → agent-3801kdgp.js} +5 -5
- package/dist/chunks/{vcs-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-qzn4r9yc.js → agent-3g2nmk79.js} +31 -31
- package/dist/chunks/{vcs-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-3cfzdc8e.js → agent-3w2b2yj4.js} +5 -5
- package/dist/chunks/{vcs-yq9bb241.js → agent-3y8yawqa.js} +16 -16
- package/dist/chunks/{vcs-ky36v99m.js → agent-408rqjm7.js} +11 -11
- package/dist/chunks/{vcs-wnjpenje.js → agent-40ttqsg0.js} +7 -7
- package/dist/chunks/{vcs-w6bagakh.js → agent-43zyxgq8.js} +1 -1
- package/dist/chunks/{vcs-rc2k9h5j.js → agent-4h52jw7j.js} +22 -22
- package/dist/chunks/{vcs-z2qvtray.js → agent-4ns3h2re.js} +6 -6
- package/dist/chunks/{vcs-x5whvs7g.js → agent-5544h6er.js} +13 -13
- package/dist/chunks/{vcs-47b46ckc.js → agent-5758n57s.js} +16 -16
- package/dist/chunks/{vcs-57ez7d0k.js → agent-57ez7d0k.js} +2 -2
- package/dist/chunks/{vcs-jgtdf2ky.js → agent-5akn35ws.js} +8 -8
- package/dist/chunks/{vcs-5c4hm403.js → agent-5c4hm403.js} +3 -3
- package/dist/chunks/{vcs-5daktx2q.js → agent-5daktx2q.js} +1 -1
- package/dist/chunks/{vcs-b78gz254.js → agent-5dr2wz0s.js} +16 -16
- package/dist/chunks/{vcs-1nb1b4r0.js → agent-5e7r050g.js} +1 -1
- package/dist/chunks/{vcs-4sgj07f0.js → agent-5h6kfehj.js} +3 -3
- package/dist/chunks/{vcs-29pcd0xy.js → agent-5pvas20d.js} +6 -6
- package/dist/chunks/{vcs-39zd88tj.js → agent-5sqqcv2m.js} +27 -27
- package/dist/chunks/{vcs-5t3nmthw.js → agent-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-3b9j3znx.js → agent-5taftw3n.js} +9 -9
- package/dist/chunks/{vcs-8jrz81g3.js → agent-5zs99abn.js} +10 -10
- package/dist/chunks/{vcs-tk9vbt1t.js → agent-60ng53x8.js} +9 -9
- package/dist/chunks/{vcs-669tq793.js → agent-669tq793.js} +1 -1
- package/dist/chunks/{vcs-hx4rvhe7.js → agent-6f2v6d3h.js} +13 -13
- package/dist/chunks/{vcs-wad31dta.js → agent-6h3wybc7.js} +6 -6
- package/dist/chunks/{vcs-hk0qcfr9.js → agent-6hft2jmv.js} +4 -4
- package/dist/chunks/{vcs-0hy412gj.js → agent-6hvxcsy0.js} +11 -11
- package/dist/chunks/agent-6kdq0pjd.js +4 -0
- package/dist/chunks/{vcs-6msgmcgs.js → agent-6msgmcgs.js} +1 -1
- package/dist/chunks/{vcs-vqnj8dxw.js → agent-6nfzt672.js} +11 -11
- package/dist/chunks/{vcs-jdbkxndk.js → agent-6x899grp.js} +9 -9
- package/dist/chunks/{vcs-2ketmxte.js → agent-75hzh59n.js} +4 -4
- package/dist/chunks/{vcs-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-pstxsap6.js → agent-7fqa2d9w.js} +22 -22
- package/dist/chunks/{vcs-xa75ctwz.js → agent-7gvs7gck.js} +25 -25
- package/dist/chunks/{vcs-bg1f9jg4.js → agent-7t7d5q2p.js} +8 -8
- package/dist/chunks/{vcs-zj09a0ew.js → agent-7z7az0f5.js} +4 -4
- package/dist/chunks/{vcs-4dq7w5d5.js → agent-81eajdsq.js} +15 -15
- package/dist/chunks/{vcs-h6y08xfm.js → agent-85xfn293.js} +6 -6
- package/dist/chunks/{vcs-tcezcvh9.js → agent-89znhe33.js} +4 -4
- package/dist/chunks/{vcs-8d7r5vzw.js → agent-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-5pfc8d83.js → agent-8qvkbm9p.js} +4 -4
- package/dist/chunks/{vcs-rtxfz5fz.js → agent-8r83crvb.js} +19 -19
- package/dist/chunks/{vcs-qsaqrdx1.js → agent-9aaedtqt.js} +11 -11
- package/dist/chunks/{vcs-7y8kks1y.js → agent-9gfem6tc.js} +3 -3
- package/dist/chunks/{vcs-f003b7jf.js → agent-9kz8gdr8.js} +9 -9
- package/dist/chunks/{vcs-srmpna97.js → agent-a3n0gq8j.js} +11 -11
- package/dist/chunks/{vcs-aaet6srn.js → agent-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-zcdeq6ts.js → agent-abxv7css.js} +14 -14
- package/dist/chunks/{vcs-0jvye1j3.js → agent-afbgadfc.js} +36 -36
- package/dist/chunks/{vcs-wmgzx6be.js → agent-ak1tpw6q.js} +2 -2
- package/dist/chunks/{vcs-akmzmx51.js → agent-as7cad1b.js} +9 -9
- package/dist/chunks/{vcs-6hh8tjw2.js → agent-b27vhd2z.js} +4 -4
- package/dist/chunks/{vcs-b6gygkdw.js → agent-b6gygkdw.js} +2 -2
- package/dist/chunks/{vcs-7h67ny3t.js → agent-b7b1bvw5.js} +89 -89
- package/dist/chunks/{vcs-fmrwzk15.js → agent-bcwpxhz1.js} +5 -5
- package/dist/chunks/{vcs-19k94sh9.js → agent-bd3mgvaw.js} +5 -5
- package/dist/chunks/{vcs-ya6x4a7c.js → agent-bkyn6bwe.js} +43 -43
- package/dist/chunks/{vcs-az8a6wh9.js → agent-bp4eqg1s.js} +41 -41
- package/dist/chunks/{vcs-fydb8hdh.js → agent-bv2m8j2f.js} +12 -12
- package/dist/chunks/{vcs-9qdxdzys.js → agent-c0mr470r.js} +17 -17
- package/dist/chunks/{vcs-ecdgphmt.js → agent-c85qzh5t.js} +18 -18
- package/dist/chunks/{vcs-j18p6by6.js → agent-c9rn2ffm.js} +33 -33
- package/dist/chunks/{vcs-tz4n1mmd.js → agent-ckf8nxjz.js} +4 -4
- package/dist/chunks/{vcs-a4ygzzn7.js → agent-cpvt4mkc.js} +1 -1
- package/dist/chunks/{vcs-g2y5hfts.js → agent-cqtv3ntd.js} +32 -32
- package/dist/chunks/{vcs-jksx53dk.js → agent-cwp77bqy.js} +32 -32
- package/dist/chunks/{vcs-hkfg6fzm.js → agent-d2aac7k2.js} +5 -5
- package/dist/chunks/{vcs-bep0w5gt.js → agent-d4sp9rf7.js} +6 -6
- package/dist/chunks/{vcs-hr8jfkms.js → agent-d6jhtwvw.js} +22 -22
- package/dist/chunks/{vcs-dbbj9rpz.js → agent-d72aarx9.js} +15 -15
- package/dist/chunks/{vcs-caqaq1fh.js → agent-d7b96y43.js} +17 -17
- package/dist/chunks/{vcs-z0aj456m.js → agent-d858xzj7.js} +4 -4
- package/dist/chunks/{vcs-yfdygd1b.js → agent-ddjv2rf1.js} +43 -43
- package/dist/chunks/{vcs-x7pnhj05.js → agent-dfmg44zt.js} +17 -17
- package/dist/chunks/{vcs-dj2t23y0.js → agent-dj2t23y0.js} +2 -2
- package/dist/chunks/{vcs-0ekmhm49.js → agent-dv7xn15p.js} +22 -22
- package/dist/chunks/{vcs-3kkapxkb.js → agent-dv98y0zm.js} +32 -32
- package/dist/chunks/{vcs-51sx1yec.js → agent-dxk73e61.js} +11 -11
- package/dist/chunks/{vcs-5rj8bxsq.js → agent-e4q8186z.js} +3 -3
- package/dist/chunks/agent-eceerw08.js +252 -0
- package/dist/chunks/{vcs-1ev0r8qr.js → agent-edf18fwt.js} +26 -26
- package/dist/chunks/{vcs-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-zhk3mejr.js → agent-eqfk2yd1.js} +8 -8
- package/dist/chunks/{vcs-p7a39gy5.js → agent-eqkxs06z.js} +6 -6
- package/dist/chunks/{vcs-sr0e3xdc.js → agent-ercet7pm.js} +10 -10
- package/dist/chunks/{vcs-erw5rpbs.js → agent-erw5rpbs.js} +2 -2
- package/dist/chunks/{vcs-ycnz6d4p.js → agent-esjpzfqh.js} +16 -16
- package/dist/chunks/{vcs-etq0c3wd.js → agent-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-gb5fbz62.js → agent-eyxhp5jq.js} +20 -20
- package/dist/chunks/{vcs-h189dv89.js → agent-f7xr7q4y.js} +24 -24
- package/dist/chunks/{vcs-fab8hzt3.js → agent-fab8hzt3.js} +4 -4
- package/dist/chunks/{vcs-mpqf5yw5.js → agent-fb6r9czn.js} +20 -20
- package/dist/chunks/{vcs-3v5p2af4.js → agent-fex5691d.js} +6 -6
- package/dist/chunks/{vcs-b8ph01mp.js → agent-fhsfb5wx.js} +20 -20
- package/dist/chunks/{vcs-dr8rk799.js → agent-fkf189j2.js} +7 -7
- package/dist/chunks/{vcs-6ryx9ps2.js → agent-fpx40r7k.js} +16 -16
- package/dist/chunks/{vcs-bt6xph39.js → agent-fwgtty9p.js} +9 -9
- package/dist/chunks/{vcs-fxbjtjnd.js → agent-fxbjtjnd.js} +1 -1
- package/dist/chunks/{vcs-z9e3n7tj.js → agent-g3dvzzsn.js} +17 -17
- package/dist/chunks/{vcs-bbcxste1.js → agent-g71wmdzk.js} +145 -145
- package/dist/chunks/{vcs-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-7mwckwg9.js → agent-geknskw0.js} +29 -29
- package/dist/chunks/{vcs-9r3s6h1d.js → agent-gf7f2369.js} +8 -8
- package/dist/chunks/{vcs-2mpk35kb.js → agent-ggcsatw5.js} +3 -3
- package/dist/chunks/{vcs-sjpq2v3x.js → agent-gsdsh762.js} +12 -12
- package/dist/chunks/{vcs-gv6a8nnw.js → agent-gv6a8nnw.js} +2 -2
- package/dist/chunks/{vcs-w0173919.js → agent-gw84rn5c.js} +30 -30
- package/dist/chunks/{vcs-k0w3k13e.js → agent-gxzbat11.js} +32 -32
- package/dist/chunks/{vcs-9q2xgg2a.js → agent-h5wn60w9.js} +4 -4
- package/dist/chunks/{vcs-fvmzft5f.js → agent-h6b8nah8.js} +4 -4
- package/dist/chunks/{vcs-h6r3nrb9.js → agent-h6r3nrb9.js} +1 -1
- package/dist/chunks/{vcs-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-hdnk95c8.js → agent-hdnk95c8.js} +2 -2
- package/dist/chunks/{vcs-0x71c255.js → agent-hra2zf6w.js} +10 -10
- package/dist/chunks/{vcs-z5cw6b3r.js → agent-hrekjq5z.js} +15 -15
- package/dist/chunks/{vcs-jz609cgm.js → agent-hvge4a7b.js} +30 -30
- package/dist/chunks/{vcs-j56e64zr.js → agent-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-k3c624dm.js → agent-k3c624dm.js} +3 -3
- package/dist/chunks/{vcs-w3jg838k.js → agent-k7myrtme.js} +9 -9
- package/dist/chunks/{vcs-b6d70fxy.js → agent-k8awv4zh.js} +2 -2
- package/dist/chunks/{vcs-knb7evpn.js → agent-k9kj6xed.js} +6 -6
- package/dist/chunks/{vcs-a54p35w8.js → agent-kbsfj81n.js} +18 -18
- package/dist/chunks/{vcs-jbvv2m36.js → agent-kcjc17br.js} +13 -13
- package/dist/chunks/{vcs-8tpp31a7.js → agent-kfgkb3w8.js} +1 -1
- package/dist/chunks/{vcs-km3nayh5.js → agent-m0cf690c.js} +17 -17
- package/dist/chunks/{vcs-m0jqrx5p.js → agent-m0jqrx5p.js} +2 -2
- package/dist/chunks/{vcs-6kga2vek.js → agent-m2k0n4kz.js} +30 -30
- package/dist/chunks/{vcs-m3fdjcah.js → agent-m3fdjcah.js} +1 -1
- package/dist/chunks/{vcs-z6xvyrz8.js → agent-m85h0kfj.js} +2 -2
- package/dist/chunks/{vcs-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-f3ngv102.js → agent-magykp64.js} +4 -4
- package/dist/chunks/{vcs-m4fq2941.js → agent-mf1nywb3.js} +23 -23
- package/dist/chunks/{vcs-xn3k6s4r.js → agent-mhh2wvta.js} +16 -16
- package/dist/chunks/{vcs-j028xdjb.js → agent-mhkvc446.js} +3 -3
- package/dist/chunks/{vcs-yrwszt74.js → agent-mjhmz48d.js} +26 -26
- package/dist/chunks/{vcs-pv91942f.js → agent-mjq5y8n2.js} +3 -3
- package/dist/chunks/{vcs-06dxphr1.js → agent-msq0jde0.js} +4 -4
- package/dist/chunks/{vcs-f3dknz62.js → agent-na3cbkd8.js} +46 -46
- package/dist/chunks/{vcs-nng2ktcm.js → agent-nng2ktcm.js} +2 -2
- package/dist/chunks/{vcs-16p9b2hb.js → agent-np2d4m60.js} +18 -18
- package/dist/chunks/{vcs-9satqzp7.js → agent-nrm6eza0.js} +6 -6
- package/dist/chunks/{vcs-p5k1ykss.js → agent-nv0zfvs3.js} +75 -75
- package/dist/chunks/{vcs-hkezz57s.js → agent-nxnb0v57.js} +5 -5
- package/dist/chunks/{vcs-p28j5sbe.js → agent-p28j5sbe.js} +2 -2
- package/dist/chunks/{vcs-zvkdwvzy.js → agent-p3gycn8b.js} +13 -13
- package/dist/chunks/{vcs-3hfr6h8q.js → agent-pa8pe2x7.js} +6 -6
- package/dist/chunks/{vcs-3pbjq009.js → agent-pb1eahw5.js} +8 -8
- package/dist/chunks/{vcs-ghp0w54x.js → agent-phr2avsp.js} +10 -10
- package/dist/chunks/{vcs-hngd1esa.js → agent-pj88hhxz.js} +14 -14
- package/dist/chunks/{vcs-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-bz85s9hh.js → agent-pstg3rfm.js} +1 -1
- package/dist/chunks/{vcs-es4mmrw2.js → agent-psw0wqrt.js} +20 -20
- package/dist/chunks/{vcs-pzn0jms3.js → agent-ptadzx8h.js} +12 -12
- package/dist/chunks/{vcs-88xe3h0x.js → agent-py6xadtm.js} +37 -37
- package/dist/chunks/{vcs-avdnydw5.js → agent-q06j225y.js} +32 -32
- package/dist/chunks/{vcs-70gcdeha.js → agent-q2q7z127.js} +30 -30
- package/dist/chunks/{vcs-tk4ydb92.js → agent-q5qvysx4.js} +9 -9
- package/dist/chunks/{vcs-gs3s1a1g.js → agent-qby9dwvd.js} +8 -8
- package/dist/chunks/{vcs-j3s2z371.js → agent-qg0jgkcp.js} +9 -9
- package/dist/chunks/{vcs-yjptyezs.js → agent-qn4ba14w.js} +5 -5
- package/dist/chunks/{vcs-qsdy395h.js → agent-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-v2j8ahbr.js → agent-qyjnxv1z.js} +1 -1
- package/dist/chunks/{vcs-1earv0bc.js → agent-r23bba5b.js} +31 -31
- package/dist/chunks/{vcs-qxnmhf0h.js → agent-r8d6a4tf.js} +28 -28
- package/dist/chunks/{vcs-yp2x3t23.js → agent-r8xr0va3.js} +4 -4
- package/dist/chunks/agent-rap9a73h.js +18 -0
- package/dist/chunks/{vcs-k5ssnk24.js → agent-rbbtr4pm.js} +10 -10
- package/dist/chunks/{vcs-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-rhjbct0v.js → agent-rhjbct0v.js} +1 -1
- package/dist/chunks/{vcs-f9hj67e2.js → agent-rvs7jmzp.js} +45 -45
- package/dist/chunks/{vcs-zg80xw90.js → agent-rz1656kd.js} +313 -313
- package/dist/chunks/{vcs-wh3mwy9y.js → agent-s0agc963.js} +8 -8
- package/dist/chunks/{vcs-w170pgjs.js → agent-s2jjmt0q.js} +6 -6
- package/dist/chunks/{vcs-rtybfwtv.js → agent-s2v47wsv.js} +9 -9
- package/dist/chunks/{vcs-dx0dvesr.js → agent-sm46077v.js} +18 -18
- package/dist/chunks/{vcs-1g3fsypj.js → agent-sr79cq9d.js} +11 -11
- package/dist/chunks/{vcs-7xysjcne.js → agent-stv5gz7c.js} +13 -13
- package/dist/chunks/{vcs-5qkxfyep.js → agent-sv3vsz9b.js} +6 -6
- package/dist/chunks/{vcs-vncycja5.js → agent-t9zs3egg.js} +4 -4
- package/dist/chunks/{vcs-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-tdstcens.js → agent-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-tvtrv512.js → agent-tvtrv512.js} +1 -1
- package/dist/chunks/{vcs-96a94ynr.js → agent-v452jk09.js} +21 -21
- package/dist/chunks/{vcs-veqvce7d.js → agent-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-gm22bbjf.js → agent-vfyx1xy1.js} +24 -24
- package/dist/chunks/{vcs-jm1eh7vn.js → agent-vg3tvwdk.js} +20 -20
- package/dist/chunks/{vcs-5b4qx53s.js → agent-vgmb0hzp.js} +24 -24
- package/dist/chunks/{vcs-7bx1v618.js → agent-vhvn8xxs.js} +25 -25
- package/dist/chunks/{vcs-cwd41q9p.js → agent-vk3p7bbt.js} +11 -11
- package/dist/chunks/{vcs-abp10mhy.js → agent-vwpw6jr3.js} +50 -50
- package/dist/chunks/{vcs-4ezb7q2p.js → agent-vx884nfc.js} +24 -24
- package/dist/chunks/{vcs-vzcthcp8.js → agent-vzcthcp8.js} +1 -1
- package/dist/chunks/{vcs-jwxzbpf5.js → agent-w28840qy.js} +13 -13
- package/dist/chunks/{vcs-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-3zssdy64.js → agent-w9rjmhg2.js} +18 -18
- package/dist/chunks/{vcs-cmapt9ge.js → agent-wavj6ccy.js} +13 -13
- package/dist/chunks/{vcs-jetea0vp.js → agent-wavy99wc.js} +11 -11
- package/dist/chunks/{vcs-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/agent-wgj0x3s5.js +26 -0
- package/dist/chunks/{vcs-j72e7fz8.js → agent-wh950sxe.js} +10 -10
- package/dist/chunks/{vcs-r9w3djhf.js → agent-wk5z6jzv.js} +9 -9
- package/dist/chunks/{vcs-2pe4qx6f.js → agent-wmvgvm9g.js} +7 -7
- package/dist/chunks/{vcs-8r5e5k2b.js → agent-wrrgj8p2.js} +32 -32
- package/dist/chunks/{vcs-c0f5yvkw.js → agent-ww76mnf4.js} +35 -35
- package/dist/chunks/{vcs-h8cmfs3y.js → agent-wyx8ky32.js} +18 -18
- package/dist/chunks/{vcs-x1ezjp6w.js → agent-x1ezjp6w.js} +1 -1
- package/dist/chunks/{vcs-0h9cdpmt.js → agent-x9hcbvs5.js} +17 -17
- package/dist/chunks/{vcs-0eaen06d.js → agent-x9s20f53.js} +47 -47
- package/dist/chunks/{vcs-drwq78ky.js → agent-xfkkasph.js} +4 -4
- package/dist/chunks/{vcs-wrgbtw9m.js → agent-xgec815d.js} +24 -24
- package/dist/chunks/{vcs-h9hj8dvh.js → agent-xm6kpq0w.js} +21 -21
- package/dist/chunks/{vcs-nawy2c6h.js → agent-xr4jxd3n.js} +26 -26
- package/dist/chunks/{vcs-fnrq1gfx.js → agent-xryzejns.js} +3 -3
- package/dist/chunks/{vcs-2y4j37hv.js → agent-xxcf9j2r.js} +8 -8
- package/dist/chunks/{vcs-1129d28p.js → agent-xy5p8xg6.js} +23 -23
- package/dist/chunks/{vcs-pc0mvq6d.js → agent-xydn9a3q.js} +60 -60
- package/dist/chunks/{vcs-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-1v6wmkfd.js → agent-y5df08dr.js} +12 -12
- package/dist/chunks/{vcs-tcfhdmjk.js → agent-y68y97fv.js} +13 -13
- package/dist/chunks/{vcs-dpkg50ah.js → agent-y71avatq.js} +4 -4
- package/dist/chunks/{vcs-9zt3rpbx.js → agent-y8zr9mrm.js} +11 -11
- package/dist/chunks/{vcs-c5sgv8bh.js → agent-yhykjk6q.js} +27 -27
- package/dist/chunks/{vcs-v4hh2g4f.js → agent-ykcyj6g6.js} +11 -11
- package/dist/chunks/{vcs-06h4x05t.js → agent-ymf79dpk.js} +6 -6
- package/dist/chunks/{vcs-4e3rb2jf.js → agent-ynx1zemv.js} +24 -24
- package/dist/chunks/{vcs-g5fx37j3.js → agent-yp1ctj3c.js} +10 -10
- package/dist/chunks/{vcs-yrhqyw5v.js → agent-yrhqyw5v.js} +1 -1
- package/dist/chunks/{vcs-yrznvahk.js → agent-yrznvahk.js} +2 -2
- package/dist/chunks/{vcs-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-7fmqyxrg.js → agent-z1gnkr1t.js} +6 -6
- package/dist/chunks/{vcs-14b7wbmv.js → agent-z24rsk7e.js} +37 -37
- package/dist/chunks/{vcs-z63w68vq.js → agent-z63w68vq.js} +2 -2
- package/dist/chunks/{vcs-zeh9ct20.js → agent-zeh9ct20.js} +2 -2
- package/dist/chunks/{vcs-2zh6qkk0.js → agent-zh9a0jmt.js} +9 -9
- package/dist/chunks/{vcs-rffnqpzc.js → agent-zqq6ndec.js} +49 -49
- package/dist/chunks/{vcs-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-wa9tvrt4.js → agent-zryg9yjn.js} +18 -18
- package/dist/chunks/{vcs-cgqr5041.js → agent-zwmb00wq.js} +17 -17
- package/dist/chunks/{vcs-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +78 -78
- 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 +124 -124
- 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 +123 -123
- 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 +76 -76
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +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 +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +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 +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +73 -73
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- 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 +105 -105
- package/dist/mcp/instructions.js +123 -123
- 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 +97 -97
- package/dist/model.js +101 -101
- 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 +85 -85
- 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 +3 -3
- 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 +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/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 +121 -121
- 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 +119 -119
- 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 +73 -73
- 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 +349 -349
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +92 -92
- 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 +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- 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 +133 -133
- 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 +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +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 +230 -230
- 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 +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +171 -171
- 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 +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- 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/vcs-0mesazry.js +0 -4
- package/dist/chunks/vcs-4v7qdvcn.js +0 -18
- package/dist/chunks/vcs-5sp2ncag.js +0 -26
- package/dist/chunks/vcs-ba8pdmgh.js +0 -252
- /package/dist/chunks/{vcs-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → agent-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → agent-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5qd3pb7m.js → agent-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-7w99qc9d.js → agent-7w99qc9d.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-922hggd3.js → agent-922hggd3.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → agent-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → agent-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hjbc5kem.js → agent-hjbc5kem.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-sk3qaz4a.js → agent-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-twg0f83k.js → agent-twg0f83k.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → agent-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → agent-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → agent-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → agent-z9919s4g.js} +0 -0
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service82,
|
|
4
|
+
node86
|
|
5
|
+
} from "./agent-5dr2wz0s.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./agent-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service4,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
16
|
layer: () => layer5,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node6
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service4 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var layer5 = Layer.effect(
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service82;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service4.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node6 = makeGlobalNode({ service: Service4, layer: layer5, deps: [node86] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service4, layer5, node6, exports_sdk };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node50
|
|
5
|
+
} from "./agent-9aaedtqt.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-msq0jde0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service66,
|
|
12
|
+
node69
|
|
13
|
+
} from "./agent-qby9dwvd.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-zqq6ndec.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-a3n0gq8j.js";
|
|
20
20
|
import {
|
|
21
21
|
Error3
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./agent-ynx1zemv.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service37,
|
|
25
|
+
node40
|
|
26
|
+
} from "./agent-wavy99wc.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
make15
|
|
29
|
+
} from "./agent-xfkkasph.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./agent-pstg3rfm.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./agent-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service36,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer13,
|
|
45
|
+
node: () => node39,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
|
|
|
66
66
|
return {
|
|
67
67
|
providerMetadataKey,
|
|
68
68
|
system: [
|
|
69
|
-
input.agent.system ? input.agent.system :
|
|
69
|
+
input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
|
|
70
70
|
input.initial
|
|
71
71
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
72
72
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
|
|
|
150
150
|
}));
|
|
151
151
|
};
|
|
152
152
|
|
|
153
|
-
class
|
|
153
|
+
class Service36 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
154
154
|
}
|
|
155
|
-
var
|
|
156
|
-
const hooks = yield*
|
|
157
|
-
const transport = yield*
|
|
155
|
+
var layer13 = Layer.effect(Service36, Effect.gen(function* () {
|
|
156
|
+
const hooks = yield* Service66;
|
|
157
|
+
const transport = yield* Service37;
|
|
158
158
|
const app = yield* Metadata2;
|
|
159
159
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
160
160
|
const session = input.session;
|
|
@@ -252,17 +252,17 @@ var layer9 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
252
252
|
};
|
|
253
253
|
});
|
|
254
254
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
255
|
-
return
|
|
255
|
+
return Service36.of({
|
|
256
256
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
257
257
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
258
258
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
259
259
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
service:
|
|
264
|
-
layer:
|
|
265
|
-
deps: [
|
|
262
|
+
var node39 = makeLocationNode({
|
|
263
|
+
service: Service36,
|
|
264
|
+
layer: layer13,
|
|
265
|
+
deps: [node69, node40, node50]
|
|
266
266
|
});
|
|
267
267
|
|
|
268
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
268
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service36, layer13, node39, exports_model_request };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./agent-5dr2wz0s.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./agent-pj88hhxz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID4
|
|
11
|
+
} from "./agent-6kdq0pjd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service53,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node57
|
|
16
|
+
} from "./agent-1qyqkqe4.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./agent-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput2,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event4,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
30
|
+
Info: () => Info4,
|
|
31
31
|
NotFoundError: () => NotFoundError3,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service20,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node23
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event4 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
44
|
+
var Info4 = Pty.Info;
|
|
45
45
|
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
48
|
class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
-
ptyID:
|
|
49
|
+
ptyID: ID4
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID4
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service20 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const bus = yield*
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
60
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
61
|
+
const bus = yield* Service82;
|
|
62
|
+
const location = yield* Service79;
|
|
63
|
+
const shell = yield* Service53;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID4.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service20.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node23 = makeLocationNode({
|
|
274
|
+
service: Service20,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node86, node83, node57]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info4, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service20, node23, exports_pty, Event4 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-0nde5ztd.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./agent-2e96adxv.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./agent-zqq6ndec.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-34gj4vpn.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./agent-y68y97fv.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-dj2t23y0.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-9aaedtqt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./agent-5dr2wz0s.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-dfmg44zt.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-34gj4vpn.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./agent-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
20
|
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./agent-7fqa2d9w.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -159,10 +159,10 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service82;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -318,4 +318,4 @@ function claim(token) {
|
|
|
318
318
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
-
export {
|
|
321
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,39 +1,39 @@
|
|
|
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
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service50
|
|
9
|
+
} from "./agent-bkyn6bwe.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service22
|
|
12
|
+
} from "./agent-xm6kpq0w.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./agent-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin39
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin39 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service50;
|
|
34
|
+
const location = yield* Service79;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service22;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin16 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin39, exports_worktree };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service81,
|
|
9
|
+
node85
|
|
10
|
+
} from "./agent-y5df08dr.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service79,
|
|
13
|
+
node83
|
|
14
|
+
} from "./agent-pj88hhxz.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./agent-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./agent-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
26
|
ID: () => ID5,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service39,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node42,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service39 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service39.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node42 = makeLocationNode({
|
|
144
|
+
service: Service39,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node85, Global.node, node83]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service39, Service39.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service46, Service46.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error2({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export { ID5,
|
|
166
|
+
export { ID5, Error2, Service39, node42, noopLayer2, exports_snapshot2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./agent-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|