@opencode/core 0.0.0-dev-19674 → 0.0.0-dev-19676
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{pty-3ekjvzbw.js → mime-02w4s5j2.js} +20 -20
- package/dist/chunks/{pty-jg9eaab2.js → mime-03vjrbdx.js} +9 -9
- package/dist/chunks/{pty-p42y1bm5.js → mime-04tfxcdr.js} +12 -12
- package/dist/chunks/{pty-s222w9ys.js → mime-0aa0h9xn.js} +1 -1
- package/dist/chunks/{pty-s8d7rejh.js → mime-0gdmqesm.js} +4 -4
- package/dist/chunks/mime-0mesazry.js +4 -0
- package/dist/chunks/{pty-xjr9ayca.js → mime-0p4r5z7z.js} +3 -3
- package/dist/chunks/{pty-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0q0f95c6.js → mime-0q0f95c6.js} +1 -1
- package/dist/chunks/{pty-1qxk71h7.js → mime-0szpgk4d.js} +31 -31
- package/dist/chunks/{pty-935t04zr.js → mime-11qgt1va.js} +6 -6
- package/dist/chunks/{pty-5exzrj16.js → mime-1765dzhp.js} +12 -12
- package/dist/chunks/{pty-3ythc6yv.js → mime-18e56dsp.js} +4 -4
- package/dist/chunks/{pty-q2b1ymqp.js → mime-1a6p2twq.js} +4 -4
- package/dist/chunks/{pty-rmg0m3t1.js → mime-1bx7pb99.js} +8 -8
- package/dist/chunks/{pty-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-18hqe85b.js → mime-1mc3rdpb.js} +11 -11
- package/dist/chunks/{pty-f3chkn2v.js → mime-1qzraqgc.js} +43 -43
- package/dist/chunks/{pty-bx8e55ya.js → mime-1s8fjf9r.js} +8 -8
- package/dist/chunks/{pty-ab8cnxkj.js → mime-1v6wmkfd.js} +5 -5
- package/dist/chunks/{pty-k0xymqd0.js → mime-1zpnajcw.js} +11 -11
- package/dist/chunks/{pty-21r38tys.js → mime-21r38tys.js} +1 -1
- package/dist/chunks/{pty-qbbxh0je.js → mime-21rnv1zr.js} +4 -4
- package/dist/chunks/{pty-2402vzrj.js → mime-2402vzrj.js} +1 -1
- package/dist/chunks/{pty-2h71m0y1.js → mime-2593zg0c.js} +24 -24
- package/dist/chunks/{pty-z63w68vq.js → mime-29x78va6.js} +6 -6
- package/dist/chunks/{pty-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-8bjgc9mz.js → mime-2f2be1sz.js} +11 -11
- package/dist/chunks/{pty-0jwsre1p.js → mime-2k8khapm.js} +5 -5
- package/dist/chunks/{pty-z8av1v4k.js → mime-2n5k2cty.js} +27 -27
- package/dist/chunks/{pty-mjymc32g.js → mime-2pnhn36q.js} +21 -21
- package/dist/chunks/{pty-t0fxg8b9.js → mime-2qp6y8xf.js} +5 -5
- package/dist/chunks/{pty-kxdabtfm.js → mime-2zjw9q23.js} +21 -21
- package/dist/chunks/{pty-v220wb3t.js → mime-31besbt1.js} +14 -14
- package/dist/chunks/{pty-xey2vz2p.js → mime-35bpgycj.js} +13 -13
- package/dist/chunks/{pty-m0f8gg3e.js → mime-3aemhp6x.js} +25 -25
- package/dist/chunks/{pty-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-9hn6k4tm.js → mime-3hfr6h8q.js} +8 -8
- package/dist/chunks/{pty-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-bhvqp75t.js → mime-3wkg3shk.js} +26 -26
- package/dist/chunks/{pty-k1603mw5.js → mime-4416c72h.js} +12 -12
- package/dist/chunks/{pty-bqv8mcm8.js → mime-49g88a08.js} +2 -2
- package/dist/chunks/{pty-pyymvkzv.js → mime-4b3a3k2s.js} +22 -22
- package/dist/chunks/{pty-ywspvke4.js → mime-4bfa0ewn.js} +51 -51
- package/dist/chunks/{pty-fbbqv6gz.js → mime-4d0m0hwd.js} +43 -43
- package/dist/chunks/{pty-bxgfab9d.js → mime-4jpncxq3.js} +10 -10
- package/dist/chunks/mime-4v7qdvcn.js +18 -0
- package/dist/chunks/{pty-71w766xh.js → mime-4vy2cx8a.js} +28 -28
- package/dist/chunks/{pty-1wc8ev08.js → mime-50px0bpn.js} +14 -14
- package/dist/chunks/{pty-1ygqh575.js → mime-56gdpj1q.js} +9 -9
- package/dist/chunks/{pty-57ez7d0k.js → mime-57ez7d0k.js} +2 -2
- package/dist/chunks/{pty-972ydv8n.js → mime-59zrdmmg.js} +15 -15
- package/dist/chunks/{pty-pqp3n84c.js → mime-5b28hma2.js} +31 -31
- package/dist/chunks/{pty-2sejkfem.js → mime-5d607bsg.js} +9 -9
- package/dist/chunks/{pty-5daktx2q.js → mime-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-t04gerxp.js → mime-5mc1avxv.js} +9 -9
- package/dist/chunks/{pty-w3tj97cz.js → mime-5qmhr9cv.js} +24 -24
- package/dist/chunks/{pty-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-6kqz0sw2.js → mime-6217hwpf.js} +20 -20
- package/dist/chunks/{pty-qybw96f7.js → mime-658y826x.js} +17 -17
- package/dist/chunks/{pty-q97sgnf3.js → mime-65ay1smp.js} +23 -23
- package/dist/chunks/{pty-669tq793.js → mime-669tq793.js} +1 -1
- package/dist/chunks/{pty-yztwhtj4.js → mime-6jhr0q17.js} +6 -6
- package/dist/chunks/{pty-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-a5tya8df.js → mime-6rhtevmb.js} +3 -3
- package/dist/chunks/{pty-wz87yraf.js → mime-6s8mww07.js} +11 -11
- package/dist/chunks/{pty-mnys6tec.js → mime-6vjs791k.js} +24 -24
- package/dist/chunks/{pty-3qjwzzap.js → mime-78rkm6ft.js} +13 -13
- package/dist/chunks/{pty-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-tc37dsfn.js → mime-7hx8j49b.js} +13 -13
- package/dist/chunks/{pty-q1rph7bj.js → mime-7jws6rem.js} +294 -294
- package/dist/chunks/{pty-ps02k4bp.js → mime-7s5w9y6x.js} +33 -33
- package/dist/chunks/{pty-q9nw0fkx.js → mime-7tbaktnp.js} +24 -24
- package/dist/chunks/{pty-1cxhbzgd.js → mime-859cc6bp.js} +33 -33
- package/dist/chunks/{pty-sm965ndy.js → mime-89bb6baa.js} +8 -8
- package/dist/chunks/{pty-89znhe33.js → mime-89znhe33.js} +1 -1
- package/dist/chunks/{pty-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-v88sgxh0.js → mime-8htb71ed.js} +15 -15
- package/dist/chunks/{pty-yx6bawja.js → mime-8m9832bt.js} +34 -34
- package/dist/chunks/{pty-dj2t23y0.js → mime-8p4f9s12.js} +2 -2
- package/dist/chunks/{pty-r9mregkx.js → mime-8phwd4yj.js} +29 -25
- package/dist/chunks/{pty-bqdz6k7x.js → mime-92atbx3b.js} +11 -11
- package/dist/chunks/{pty-p9zf421h.js → mime-9cg1cz13.js} +14 -14
- package/dist/chunks/{pty-dhw9tk05.js → mime-9jq91ht4.js} +22 -22
- package/dist/chunks/{pty-5sh9x8dt.js → mime-9r7qax81.js} +13 -13
- package/dist/chunks/{pty-dc77grpk.js → mime-9tpvgkm4.js} +6 -6
- package/dist/chunks/{pty-3c3dzs67.js → mime-9w5xwdkh.js} +20 -20
- package/dist/chunks/{pty-005agstz.js → mime-9wp7cw93.js} +16 -16
- package/dist/chunks/{pty-xr777zyz.js → mime-9xx6hc8d.js} +26 -26
- package/dist/chunks/{pty-5c4hm403.js → mime-a1bz86dw.js} +3 -3
- package/dist/chunks/{pty-aaet6srn.js → mime-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-0f9afca0.js → mime-af04s6ss.js} +5 -5
- package/dist/chunks/{pty-fm1t1259.js → mime-aya75d5a.js} +9 -9
- package/dist/chunks/{pty-kcpq4mkg.js → mime-azt3m59k.js} +19 -19
- package/dist/chunks/{pty-r72bb3g5.js → mime-b1vqta1q.js} +6 -6
- package/dist/chunks/{pty-dxrx5bve.js → mime-b4ahrz2h.js} +20 -20
- package/dist/chunks/{pty-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-fbtpmqp8.js → mime-b9spxxcf.js} +6 -6
- package/dist/chunks/{pty-njv35c9c.js → mime-bbe2nkwj.js} +15 -15
- package/dist/chunks/{pty-qdw5vfwv.js → mime-bg2g1xyx.js} +20 -20
- package/dist/chunks/{pty-7tz5zdeh.js → mime-bk4n5516.js} +12 -12
- package/dist/chunks/{pty-27pm8xwp.js → mime-bnf67f0t.js} +6 -6
- package/dist/chunks/{pty-ykprmxnv.js → mime-c6s0q70p.js} +2 -2
- package/dist/chunks/{pty-0p9dtxs1.js → mime-c82sf4kt.js} +43 -43
- package/dist/chunks/{pty-m0jqrx5p.js → mime-cfpkc3c9.js} +2 -2
- package/dist/chunks/{pty-syqyze50.js → mime-cfzsy5dn.js} +8 -8
- package/dist/chunks/{pty-nb2s3qfq.js → mime-cgxdsxqf.js} +8 -8
- package/dist/chunks/{pty-fzgxakwn.js → mime-cjwramev.js} +6 -6
- package/dist/chunks/{pty-zyr9wvqd.js → mime-cpqxnny0.js} +18 -18
- package/dist/chunks/{pty-06dxphr1.js → mime-csf2jhsg.js} +4 -4
- package/dist/chunks/{pty-pjx857cd.js → mime-cswecm5v.js} +24 -24
- package/dist/chunks/{pty-3b1q5j1v.js → mime-d1b248br.js} +4 -4
- package/dist/chunks/{pty-v8jfbz3g.js → mime-d1mtykxg.js} +6 -6
- package/dist/chunks/{pty-2y0fysv8.js → mime-d338qq6w.js} +65 -65
- package/dist/chunks/{pty-87gqba2t.js → mime-d3xmts5k.js} +25 -25
- package/dist/chunks/{pty-cddb4mff.js → mime-d5zrkzmf.js} +3 -3
- package/dist/chunks/{pty-mh29eyjv.js → mime-d89gs2xh.js} +3 -3
- package/dist/chunks/{pty-e2673aay.js → mime-d9age9tx.js} +2 -2
- package/dist/chunks/{pty-9172rkmk.js → mime-dab9gdbe.js} +4 -4
- package/dist/chunks/{pty-bv3ar4t8.js → mime-db3cn5xg.js} +3 -3
- package/dist/chunks/{pty-dhmh7aw6.js → mime-ddt2bs9e.js} +4 -4
- package/dist/chunks/{pty-ffn2kdck.js → mime-de09dxhj.js} +1 -1
- package/dist/chunks/{pty-yjq1h8wq.js → mime-dfg0bpnz.js} +11 -11
- package/dist/chunks/{pty-dpkg50ah.js → mime-dpkg50ah.js} +1 -1
- package/dist/chunks/{pty-xfkkasph.js → mime-drwq78ky.js} +4 -4
- package/dist/chunks/{pty-zpfv5b56.js → mime-dtqm20v3.js} +6 -6
- package/dist/chunks/{pty-qncn4jq9.js → mime-dv2t2cas.js} +24 -24
- package/dist/chunks/{pty-5fyzn1g0.js → mime-dv7jba04.js} +1 -1
- package/dist/chunks/{pty-fy2wv845.js → mime-dys6fa9v.js} +14 -14
- package/dist/chunks/{pty-0v4tm5rw.js → mime-dyte7aq0.js} +37 -37
- package/dist/chunks/{pty-ph20cxtq.js → mime-dzw83ac5.js} +9 -9
- package/dist/chunks/{pty-5qd3pb7m.js → mime-e3qxr5gk.js} +2 -2
- package/dist/chunks/{pty-ngz4ns8d.js → mime-e5b7myd9.js} +4 -4
- package/dist/chunks/{pty-marnn1hp.js → mime-e6d6pdps.js} +7 -7
- package/dist/chunks/{pty-qfk7wg4g.js → mime-e6yqvfab.js} +17 -17
- package/dist/chunks/{pty-dmje0bsk.js → mime-ebd70zp7.js} +3 -3
- package/dist/chunks/{pty-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-b8tjeqry.js → mime-et3m3hv9.js} +11 -11
- package/dist/chunks/{pty-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-qxdvme72.js → mime-ewpsdr79.js} +15 -15
- package/dist/chunks/{pty-yx4zy76q.js → mime-ex7fm8gg.js} +4 -4
- package/dist/chunks/{pty-1acjjqhc.js → mime-f2n192rq.js} +4 -4
- package/dist/chunks/{pty-hdnk95c8.js → mime-f828m53h.js} +2 -2
- package/dist/chunks/{pty-r3p3phz8.js → mime-f8vcdpta.js} +30 -30
- package/dist/chunks/{pty-k2gcmxmw.js → mime-fejzv7cs.js} +13 -13
- package/dist/chunks/{pty-px1xpczn.js → mime-fka8s72p.js} +25 -25
- package/dist/chunks/{pty-fxbjtjnd.js → mime-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-s8bmxf4b.js → mime-g70g2r7n.js} +9 -9
- package/dist/chunks/{pty-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-qvzt4t8k.js → mime-ggj56nfp.js} +8 -8
- package/dist/chunks/{pty-ntcnr6d2.js → mime-gnrjfmn5.js} +10 -10
- package/dist/chunks/{pty-0zz4rd6y.js → mime-gq9ay3kp.js} +12 -12
- package/dist/chunks/{pty-gv6a8nnw.js → mime-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-xnwnz12t.js → mime-gyv66jpz.js} +1 -1
- package/dist/chunks/{pty-h03wrkyp.js → mime-h03wrkyp.js} +2 -2
- package/dist/chunks/{pty-2gdwawmb.js → mime-h1957gbp.js} +37 -37
- package/dist/chunks/{pty-v1h7jmyp.js → mime-h4c27ev9.js} +1 -1
- package/dist/chunks/{pty-h6r3nrb9.js → mime-h6r3nrb9.js} +1 -1
- package/dist/chunks/{pty-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-bh4tknr0.js → mime-hag8cqx7.js} +20 -20
- package/dist/chunks/{pty-2a64njz4.js → mime-hefg7mzt.js} +2 -2
- package/dist/chunks/{pty-1s7za8r8.js → mime-hnbtvde1.js} +20 -20
- package/dist/chunks/{pty-nq7qbqzc.js → mime-j3s2z371.js} +9 -9
- package/dist/chunks/{pty-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-3a958b5j.js → mime-jenzj19r.js} +3 -3
- package/dist/chunks/{pty-g8d3gcyj.js → mime-jfqtm2ew.js} +7 -7
- package/dist/chunks/{pty-9fday5he.js → mime-jm4d1k5k.js} +24 -24
- package/dist/chunks/{pty-jppvw2tx.js → mime-k3gnzxs0.js} +5 -5
- package/dist/chunks/{pty-wt5vh4p5.js → mime-k7p6gza5.js} +18 -18
- package/dist/chunks/{pty-4a9jgtk8.js → mime-kb5bv2n4.js} +37 -37
- package/dist/chunks/{pty-11dqjexa.js → mime-kdq8v965.js} +9 -9
- package/dist/chunks/{pty-vmgmz9ta.js → mime-khfmzn3h.js} +9 -9
- package/dist/chunks/{pty-mrk7h3sm.js → mime-khwtb84z.js} +5 -5
- package/dist/chunks/{pty-44ke2mar.js → mime-knb7evpn.js} +2 -2
- package/dist/chunks/{pty-4wp66bzr.js → mime-ky8k1321.js} +10 -10
- package/dist/chunks/{pty-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-g02dc5pq.js → mime-mbhmg47f.js} +7 -7
- package/dist/chunks/{pty-ckxk042a.js → mime-me1tt2vw.js} +9 -9
- package/dist/chunks/mime-mggzc1am.js +26 -0
- package/dist/chunks/{pty-1frb376n.js → mime-mjhwwr1h.js} +8 -8
- package/dist/chunks/{pty-rjnqjvjb.js → mime-mkf4aqmw.js} +18 -18
- package/dist/chunks/{pty-pdnjh9qx.js → mime-mkhs8n3r.js} +4 -4
- package/dist/chunks/{pty-6y3v0yak.js → mime-mqb6w0rk.js} +4 -4
- package/dist/chunks/{pty-73tb2d7t.js → mime-mvfsc1pv.js} +3 -3
- package/dist/chunks/{pty-g51vc6t9.js → mime-na6wbzjd.js} +81 -81
- package/dist/chunks/{pty-hp2jeqkr.js → mime-nagyd8v8.js} +25 -25
- package/dist/chunks/{pty-tn7fkxn8.js → mime-nknd4ny9.js} +7 -7
- package/dist/chunks/{pty-9j2e64em.js → mime-nszcs87g.js} +7 -7
- package/dist/chunks/{pty-jexxy024.js → mime-nvxqht09.js} +3 -3
- package/dist/chunks/{pty-0bn9wq69.js → mime-ny4f3s0v.js} +1 -1
- package/dist/chunks/{pty-rkdvqggb.js → mime-p3p972wa.js} +5 -5
- package/dist/chunks/{pty-ybhbtxjg.js → mime-p8vshhkt.js} +9 -9
- package/dist/chunks/{pty-pddgv2bp.js → mime-p8z9n6pf.js} +3 -3
- package/dist/chunks/{pty-z4jy6304.js → mime-pbpjca3p.js} +7 -7
- package/dist/chunks/{pty-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-bavdgngm.js → mime-pk5h2d3g.js} +4 -4
- package/dist/chunks/{pty-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{pty-v0af3wsg.js → mime-pky3fvqk.js} +5 -5
- package/dist/chunks/{pty-m733xxny.js → mime-pn533w1y.js} +85 -85
- package/dist/chunks/{pty-e25vxe6e.js → mime-px5d9yap.js} +8 -8
- package/dist/chunks/{pty-f0bgfh1c.js → mime-pzbdg5ae.js} +4 -4
- package/dist/chunks/{pty-4bwnmqz9.js → mime-q5ptgr8r.js} +12 -12
- package/dist/chunks/{pty-yqcj214x.js → mime-qqevf9na.js} +24 -24
- package/dist/chunks/{pty-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-ge5c1s9a.js → mime-qst8j85x.js} +18 -18
- package/dist/chunks/{pty-6g11pzee.js → mime-qvwwf4fp.js} +24 -24
- package/dist/chunks/{pty-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-j2bad2st.js → mime-rqd9fwpe.js} +1 -1
- package/dist/chunks/{pty-736q711b.js → mime-rqv9ygtn.js} +20 -20
- package/dist/chunks/{pty-hh3pbsjs.js → mime-rvws15xt.js} +14 -14
- package/dist/chunks/{pty-3m13cm4e.js → mime-rw2tks3h.js} +25 -25
- package/dist/chunks/{pty-yrznvahk.js → mime-s4enseaf.js} +2 -2
- package/dist/chunks/{pty-hemqm6a0.js → mime-s5a290ta.js} +13 -13
- package/dist/chunks/{pty-4st5ggns.js → mime-s6wmy0wz.js} +3 -3
- package/dist/chunks/{pty-zgqa5fck.js → mime-sarbwdm8.js} +11 -11
- package/dist/chunks/{pty-q5rhn9x0.js → mime-sat34sqy.js} +14 -14
- package/dist/chunks/{pty-ag7cc6ae.js → mime-stxr33d1.js} +8 -8
- package/dist/chunks/{pty-850skrb0.js → mime-t8pjkv49.js} +6 -6
- package/dist/chunks/{pty-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{pty-0vr0cdvh.js → mime-tphheadp.js} +10 -10
- package/dist/chunks/{pty-x9h4gx6t.js → mime-tprcptpe.js} +39 -39
- package/dist/chunks/{pty-a3r4dcrj.js → mime-tqkrwgse.js} +2 -2
- package/dist/chunks/{pty-bz85s9hh.js → mime-ts2x07a1.js} +1 -1
- package/dist/chunks/{pty-hw6s7maf.js → mime-tt83xs7d.js} +22 -22
- package/dist/chunks/{pty-bbbg5gcy.js → mime-ttvrg1dv.js} +33 -33
- package/dist/chunks/{pty-b7eb1kpf.js → mime-tvjtxmeb.js} +16 -16
- package/dist/chunks/{pty-tvtrv512.js → mime-tvtrv512.js} +1 -1
- package/dist/chunks/mime-twjzhaa3.js +247 -0
- package/dist/chunks/{pty-s6wn0jv5.js → mime-v5anqx5b.js} +9 -9
- package/dist/chunks/{pty-3r43kab8.js → mime-v9shbp9h.js} +30 -30
- package/dist/chunks/{pty-hkcbg3z4.js → mime-veh1f6j0.js} +7 -7
- package/dist/chunks/{pty-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-7ac170kv.js → mime-vkxpz7g2.js} +4 -4
- package/dist/chunks/{pty-p9rg9ssf.js → mime-vme96mrp.js} +13 -13
- package/dist/chunks/{pty-p96q0vzc.js → mime-vv2e8ggb.js} +26 -26
- package/dist/chunks/{pty-2497c3gb.js → mime-vwpcvpsn.js} +23 -23
- package/dist/chunks/{pty-pgwf6rpj.js → mime-vx1605wv.js} +2 -2
- package/dist/chunks/{pty-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-71506k9g.js → mime-w22xa3ag.js} +10 -10
- package/dist/chunks/{pty-63wpvyg5.js → mime-w3byk4vz.js} +125 -125
- package/dist/chunks/{pty-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-z8mhsqtq.js → mime-w93avjv0.js} +8 -8
- package/dist/chunks/{pty-jwn5qy9f.js → mime-wa5xcfdj.js} +22 -22
- package/dist/chunks/{pty-w1ad28wa.js → mime-was7srj9.js} +8 -8
- package/dist/chunks/{pty-qjnxxf51.js → mime-wbkyxrgf.js} +5 -5
- package/dist/chunks/{pty-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{pty-emvra4z4.js → mime-wgcccx00.js} +35 -35
- package/dist/chunks/{pty-5vfe9zkh.js → mime-wpdxnz6z.js} +11 -11
- package/dist/chunks/{pty-zr15egg9.js → mime-wryja361.js} +16 -16
- package/dist/chunks/{pty-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-wtpgbvbt.js → mime-x1q5t1cj.js} +20 -20
- package/dist/chunks/{pty-wx6s0tts.js → mime-x233q2fk.js} +28 -28
- package/dist/chunks/{pty-1040s6af.js → mime-x2q6da39.js} +4 -4
- package/dist/chunks/{pty-e3yfb1af.js → mime-x3ws3syc.js} +47 -47
- package/dist/chunks/{pty-jsh81p2x.js → mime-xf04dma3.js} +32 -32
- package/dist/chunks/{pty-fj0bt93f.js → mime-xgtksw21.js} +4 -4
- package/dist/chunks/{pty-90cw4v64.js → mime-xhj2ag2n.js} +16 -16
- package/dist/chunks/{pty-s7k5x4g9.js → mime-xj9vawve.js} +5 -5
- package/dist/chunks/{pty-jy9pcjq0.js → mime-xvw106k3.js} +11 -11
- package/dist/chunks/{pty-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-qwjmgwmn.js → mime-y2yt4szk.js} +8 -8
- package/dist/chunks/{pty-zffc062v.js → mime-yn99wfgb.js} +17 -17
- package/dist/chunks/{pty-9n8fqfgq.js → mime-yp7kb132.js} +5 -5
- package/dist/chunks/{pty-rx2s3z3c.js → mime-yqz1tghx.js} +11 -11
- package/dist/chunks/{pty-qqs6wgn3.js → mime-yr3ynvqg.js} +50 -50
- package/dist/chunks/{pty-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-k6ed90aj.js → mime-ysv8z11j.js} +8 -8
- package/dist/chunks/{pty-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-vfy19pwe.js → mime-z8jfcem0.js} +9 -9
- package/dist/chunks/{pty-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-2z45ferc.js → mime-zhq7v0p7.js} +9 -9
- package/dist/chunks/{pty-gns6rj52.js → mime-zn83cexa.js} +8 -8
- package/dist/chunks/{pty-97mj29ww.js → mime-zqcrhym3.js} +11 -11
- package/dist/chunks/{pty-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-pvkmyqfe.js → mime-zshjmg5c.js} +24 -24
- package/dist/chunks/{pty-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/chunks/{pty-tdhe5xga.js → mime-zyr433b0.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +158 -158
- 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 +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +72 -72
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- 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 +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 +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +69 -69
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +355 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +75 -75
- 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-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +352 -352
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +74 -74
- 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 +93 -93
- 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 +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- 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 +2 -2
- 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 +91 -91
- 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 +344 -344
- 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 +6 -6
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +88 -88
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +74 -74
- 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 +115 -115
- package/dist/session/model-transport.js +7 -7
- 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 +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- 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 +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- 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 +123 -123
- 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 +213 -213
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- 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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/pty-1tm0r3ht.js +0 -4
- package/dist/chunks/pty-40cvr20j.js +0 -26
- package/dist/chunks/pty-b8vveb32.js +0 -247
- package/dist/chunks/pty-vnkjks7b.js +0 -18
- /package/dist/chunks/{pty-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → mime-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → mime-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-t8pjkv49.js";
|
|
6
6
|
import {
|
|
7
7
|
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
10
|
Info26
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-1765dzhp.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp2 = {};
|
|
10
|
+
__export(exports_mcp2, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
+
WebSearchMcp: () => exports_mcp2,
|
|
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_BYTES3 = 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_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} 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_BYTES3, parseResponse2, call2, exports_mcp2 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service69,
|
|
8
|
+
node72
|
|
9
|
+
} from "./mime-2zjw9q23.js";
|
|
10
10
|
import {
|
|
11
11
|
Content3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-d3xmts5k.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service4,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node5,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service4 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service69;
|
|
331
|
+
return Service4.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node5 = makeLocationNode({ service: Service4, layer, deps: [node72] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service4, read2, node5, exports_read_filesystem };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-pk5h2d3g.js";
|
|
5
5
|
import {
|
|
6
6
|
Service78,
|
|
7
7
|
node82
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-d9age9tx.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./mime-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service56,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node58
|
|
16
|
+
} from "./mime-azt3m59k.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./mime-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput2,
|
|
28
|
+
Event: () => Event2,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service13,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node15
|
|
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 Event2 } 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
|
|
45
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
|
+
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service13 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service81;
|
|
62
62
|
const location = yield* Service78;
|
|
63
|
-
const shell = yield*
|
|
63
|
+
const shell = yield* Service56;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service64, 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 = ID2.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(Service64, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service13.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node15 = makeLocationNode({
|
|
274
|
+
service: Service13,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node85, node82,
|
|
276
|
+
deps: [node85, node82, node58]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node15, exports_pty, Event2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node6
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service5 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service5.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node6 = makeLocationNode({ service: Service5, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service5, node6, exports_location_watcher_policy };
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-t8pjkv49.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service73,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node77
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service73 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service73, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service73.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -817,6 +817,6 @@ function providerErrorMessage(error) {
|
|
|
817
817
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
818
818
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
819
819
|
}
|
|
820
|
-
var
|
|
820
|
+
var node77 = makeLocationNode({ service: Service73, layer: locationLayer2, deps: [] });
|
|
821
821
|
|
|
822
|
-
export { InitError2,
|
|
822
|
+
export { InitError2, Service73, locationLayer2, node77, exports_aisdk };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-2pnhn36q.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info17
|
|
9
|
+
} from "./mime-zyr433b0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info20
|
|
12
|
+
} from "./mime-2qp6y8xf.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info19
|
|
15
|
+
} from "./mime-jfqtm2ew.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info16
|
|
18
|
+
} from "./mime-af04s6ss.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./mime-2k8khapm.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info15
|
|
24
|
+
} from "./mime-wbkyxrgf.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info14
|
|
27
|
+
} from "./mime-1qzraqgc.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./mime-x2q6da39.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./mime-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info14.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info20, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info19, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info17, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info17, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info16, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info15, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service81,
|
|
4
4
|
node85
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-pk5h2d3g.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service62,
|
|
8
|
+
node64
|
|
9
|
+
} from "./mime-gnrjfmn5.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event12,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service60,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node62,
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service60 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event12 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service62;
|
|
81
81
|
const bus = yield* Service81;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event12.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service60.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event12.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event12.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node62 = makeGlobalNode({ service: Service60, layer, deps: [httpClient, node64, node85] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service60, Event12, inspect2, resolve4, node62, exports_wellknown };
|