@opencode/core 0.0.0-dev-21695 → 0.0.0-dev-21708
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{bus-wre4fh0b.js → agent-00n6seg6.js} +33 -33
- package/dist/chunks/{bus-1ya82mrw.js → agent-01crwgf8.js} +7 -7
- package/dist/chunks/{bus-wpcz644m.js → agent-02kv643b.js} +15 -15
- package/dist/chunks/{bus-034tev2y.js → agent-034tev2y.js} +2 -2
- package/dist/chunks/{bus-558jb3j2.js → agent-036gtng7.js} +3 -3
- package/dist/chunks/{bus-pdjw8hws.js → agent-0aydfmfd.js} +10 -10
- package/dist/chunks/{bus-ywxn696m.js → agent-0bxps2dt.js} +30 -30
- package/dist/chunks/{bus-5dj834cv.js → agent-0cpnqkys.js} +5 -5
- package/dist/chunks/{bus-0h8y3ex8.js → agent-0h8y3ex8.js} +1 -1
- package/dist/chunks/{bus-kedzwwnr.js → agent-0p88zpcm.js} +4 -4
- package/dist/chunks/{bus-pz0hzqp4.js → agent-0pes53yc.js} +45 -45
- package/dist/chunks/{bus-wncd5gvv.js → agent-0teydma5.js} +13 -13
- package/dist/chunks/{bus-1ep2p91f.js → agent-1ep2p91f.js} +2 -2
- package/dist/chunks/{bus-za6yq9hg.js → agent-1q5awywt.js} +5 -5
- package/dist/chunks/{bus-dfv3sd11.js → agent-1vpzeawt.js} +21 -21
- package/dist/chunks/{bus-1x2knyw4.js → agent-1x2knyw4.js} +1 -1
- package/dist/chunks/{bus-qv7y9773.js → agent-1y0wdj51.js} +4 -4
- package/dist/chunks/{bus-8ss74ppy.js → agent-1zsaqb4r.js} +9 -9
- package/dist/chunks/{bus-c9k9wqyf.js → agent-2cxr0spy.js} +11 -11
- package/dist/chunks/{bus-etmf56fp.js → agent-2fhsvw3b.js} +10 -10
- package/dist/chunks/{bus-4jars7ak.js → agent-2j4fkc1b.js} +9 -9
- package/dist/chunks/{bus-a9h5srre.js → agent-2rb0wgje.js} +50 -50
- package/dist/chunks/{bus-zfh6qh7b.js → agent-2yj94xj3.js} +13 -13
- package/dist/chunks/{bus-2z1j29yd.js → agent-2z1j29yd.js} +1 -1
- package/dist/chunks/{bus-0rj3103z.js → agent-30wk5qzn.js} +5 -5
- package/dist/chunks/{bus-1622r1ga.js → agent-34s5tdcd.js} +4 -4
- package/dist/chunks/{bus-3f5zfv5g.js → agent-3e6zmnwb.js} +17 -17
- package/dist/chunks/{bus-0syemgjh.js → agent-3fq3g97k.js} +4 -4
- package/dist/chunks/{bus-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-rxt7kx39.js → agent-3hg15haz.js} +40 -40
- package/dist/chunks/{bus-3nnrz6f6.js → agent-3nnrz6f6.js} +1 -1
- package/dist/chunks/{bus-sqvkc2gg.js → agent-3s89fne6.js} +19 -19
- package/dist/chunks/{bus-gyvvxe68.js → agent-3wx5r2aw.js} +84 -84
- package/dist/chunks/{bus-ck9t0a91.js → agent-43pxryb4.js} +35 -35
- package/dist/chunks/{bus-ksqksx3k.js → agent-45wkcxp1.js} +21 -21
- package/dist/chunks/{bus-jsjjdmy1.js → agent-4edy420v.js} +9 -9
- package/dist/chunks/{bus-dxvj00dw.js → agent-4fqqg07t.js} +32 -32
- package/dist/chunks/{bus-2m54h93x.js → agent-4n19pvv2.js} +16 -16
- package/dist/chunks/{bus-t63bt17c.js → agent-4q4hrjc3.js} +11 -11
- package/dist/chunks/{bus-4v008n1t.js → agent-4v008n1t.js} +1 -1
- package/dist/chunks/{bus-4xvmh7wp.js → agent-4xvmh7wp.js} +3 -3
- package/dist/chunks/{bus-8t64g0wg.js → agent-5465mdww.js} +23 -23
- package/dist/chunks/{bus-b7wm22tc.js → agent-58wwcftr.js} +19 -19
- package/dist/chunks/{bus-1mfyhvm9.js → agent-5agv5pnb.js} +9 -9
- package/dist/chunks/{bus-qzr9ezbv.js → agent-5e5fd4m6.js} +5 -5
- package/dist/chunks/{bus-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
- package/dist/chunks/{bus-3h5qsd4j.js → agent-5pr0e8th.js} +5 -5
- package/dist/chunks/{bus-x9e6ksmw.js → agent-5sgdhf0y.js} +46 -46
- package/dist/chunks/{bus-tnhdtpkv.js → agent-5sgw76x3.js} +17 -17
- package/dist/chunks/{bus-97h34c8v.js → agent-5vk473bb.js} +12 -12
- package/dist/chunks/{bus-bm2mqchg.js → agent-5y6gyw07.js} +11 -11
- package/dist/chunks/{bus-5jnymmb4.js → agent-5zmew617.js} +25 -25
- package/dist/chunks/{bus-5zrxpy3q.js → agent-5zrxpy3q.js} +1 -1
- package/dist/chunks/{bus-pdy1hqnf.js → agent-605j6g36.js} +29 -29
- package/dist/chunks/{bus-6esdw8yj.js → agent-6esdw8yj.js} +1 -1
- package/dist/chunks/{bus-6pjqjmy2.js → agent-6pjqjmy2.js} +1 -1
- package/dist/chunks/{bus-zwzj79wc.js → agent-6rgwxkf7.js} +16 -16
- package/dist/chunks/{bus-czxyp6y6.js → agent-6t50jf2k.js} +12 -12
- package/dist/chunks/{bus-kqnqd6x4.js → agent-6w1z0ptf.js} +1 -1
- package/dist/chunks/{bus-rrje2nwc.js → agent-70e5j6cm.js} +26 -26
- package/dist/chunks/{bus-392n4kdw.js → agent-731c8v1k.js} +38 -38
- package/dist/chunks/{bus-76cb1hcw.js → agent-76cb1hcw.js} +1 -1
- package/dist/chunks/{bus-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-vwj3jgr1.js → agent-7df5b9k0.js} +26 -26
- package/dist/chunks/{bus-2h28cep3.js → agent-7fhznn00.js} +26 -26
- package/dist/chunks/{bus-nw6j7gpm.js → agent-7kaqzwxm.js} +11 -11
- package/dist/chunks/{bus-mx9h14xa.js → agent-7kk9vmc1.js} +22 -22
- package/dist/chunks/{bus-06q2jeyp.js → agent-7mw2rj4h.js} +9 -9
- package/dist/chunks/{bus-7w2ypzdf.js → agent-7w2ypzdf.js} +1 -1
- package/dist/chunks/{bus-c1hj90w1.js → agent-81g59q3k.js} +4 -4
- package/dist/chunks/{bus-wd652945.js → agent-83xm0yd3.js} +11 -11
- package/dist/chunks/{bus-htpbdr1d.js → agent-84rbnah8.js} +26 -26
- package/dist/chunks/{bus-4eca1hyp.js → agent-860hyfcr.js} +17 -17
- package/dist/chunks/{bus-fntzncgy.js → agent-8avgn4nh.js} +17 -17
- package/dist/chunks/{bus-qjgzc4b4.js → agent-8jztxfpf.js} +4 -4
- package/dist/chunks/{bus-a4qy9fc3.js → agent-8k8r57g4.js} +5 -5
- package/dist/chunks/{bus-8wtp7s3z.js → agent-8wtp7s3z.js} +1 -1
- package/dist/chunks/{bus-e8dk3ywt.js → agent-8yms0qqj.js} +11 -11
- package/dist/chunks/{bus-91rj84md.js → agent-91rj84md.js} +1 -1
- package/dist/chunks/{bus-998yhzzq.js → agent-998yhzzq.js} +3 -3
- package/dist/chunks/{bus-pyv2pjn5.js → agent-9egmy7ex.js} +29 -29
- package/dist/chunks/{bus-48yd86fd.js → agent-9mea8krd.js} +21 -21
- package/dist/chunks/{bus-b0sjjnk6.js → agent-9q3bjtf0.js} +13 -13
- package/dist/chunks/{bus-1xwbrvt7.js → agent-9q7rnr6m.js} +7 -7
- package/dist/chunks/{bus-cmd2t0hw.js → agent-a56egb6w.js} +5 -5
- package/dist/chunks/{bus-ms3syv86.js → agent-ab61cr6d.js} +14 -14
- package/dist/chunks/{bus-44s0n40r.js → agent-ac2jg0km.js} +40 -40
- package/dist/chunks/{bus-m4s0x578.js → agent-asx4crfn.js} +21 -21
- package/dist/chunks/{bus-2gqhjjsx.js → agent-awmbx144.js} +8 -8
- package/dist/chunks/{bus-ayjs7tqn.js → agent-ayjs7tqn.js} +2 -2
- package/dist/chunks/{bus-8wj4azc9.js → agent-aywq2m6b.js} +11 -11
- package/dist/chunks/{bus-b0mv4wxm.js → agent-b0mv4wxm.js} +2 -2
- package/dist/chunks/{bus-7t2432tj.js → agent-b39xeefv.js} +31 -31
- package/dist/chunks/{bus-7xg2jm5b.js → agent-b50rsrab.js} +5 -5
- package/dist/chunks/{bus-b6vsg801.js → agent-b6vsg801.js} +2 -2
- package/dist/chunks/{bus-7zrrpsam.js → agent-b7mz4wb4.js} +2 -2
- package/dist/chunks/{bus-9dyryqmk.js → agent-ba699vex.js} +16 -16
- package/dist/chunks/{bus-0swax997.js → agent-bc3gms31.js} +16 -16
- package/dist/chunks/{bus-bstexjd6.js → agent-bstexjd6.js} +1 -1
- package/dist/chunks/{bus-wm3cz6bg.js → agent-c1nwn41d.js} +30 -30
- package/dist/chunks/{bus-1r5cd4qg.js → agent-c22xs6zs.js} +11 -11
- package/dist/chunks/{bus-rda9yzm6.js → agent-c3cfh5w6.js} +7 -7
- package/dist/chunks/{bus-421ekqkw.js → agent-c9nnf1dt.js} +4 -4
- package/dist/chunks/{bus-b1pn0vxn.js → agent-c9t2ty9q.js} +4 -4
- package/dist/chunks/{bus-efnptb2b.js → agent-cb7xvab4.js} +17 -17
- package/dist/chunks/{bus-5s1pgksh.js → agent-cbva7xm7.js} +20 -20
- package/dist/chunks/{bus-f4ce69wc.js → agent-cn8d63zf.js} +8 -8
- package/dist/chunks/{bus-w5800457.js → agent-cr8qxe6d.js} +7 -7
- package/dist/chunks/{bus-99v64gx3.js → agent-cv2j9yha.js} +3 -3
- package/dist/chunks/{bus-fm5nzcmq.js → agent-cw4wsck5.js} +21 -21
- package/dist/chunks/{bus-wfmpnrq7.js → agent-d2jy9c0j.js} +4 -4
- package/dist/chunks/{bus-d4v9tmah.js → agent-d4v9tmah.js} +2 -2
- package/dist/chunks/{bus-9h3yt0ty.js → agent-d8mgxzbr.js} +24 -24
- package/dist/chunks/{bus-zegptfkw.js → agent-dwm0n3p0.js} +5 -5
- package/dist/chunks/{bus-05g8hkey.js → agent-dy4xqx41.js} +50 -50
- package/dist/chunks/{bus-8gthgyb8.js → agent-dza0thjn.js} +18 -18
- package/dist/chunks/{bus-r15835qb.js → agent-e1x5hgfw.js} +3 -3
- package/dist/chunks/{bus-47rq8bk5.js → agent-e1yvprzr.js} +17 -17
- package/dist/chunks/{bus-mn6r1kh0.js → agent-e3cpefx3.js} +20 -20
- package/dist/chunks/{bus-9p9xqj3m.js → agent-e5dqjz6v.js} +8 -8
- package/dist/chunks/{bus-e834z07m.js → agent-e834z07m.js} +1 -1
- package/dist/chunks/{bus-kph7g7k5.js → agent-ea9qy1vr.js} +22 -22
- package/dist/chunks/{bus-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
- package/dist/chunks/{bus-0p11b9tv.js → agent-egqc00n5.js} +9 -9
- package/dist/chunks/{bus-caesvrsr.js → agent-ejyk05z4.js} +20 -20
- package/dist/chunks/{bus-tqx9c315.js → agent-enkpkfwx.js} +8 -8
- package/dist/chunks/{bus-pacbbjc0.js → agent-eq3fc1qc.js} +5 -5
- package/dist/chunks/{bus-vgk61ywp.js → agent-eqh43b5v.js} +9 -9
- package/dist/chunks/{bus-nn3pn70b.js → agent-ercvtcgz.js} +4 -4
- package/dist/chunks/{bus-dds9zz6p.js → agent-erjptbv1.js} +4 -4
- package/dist/chunks/{bus-n5gmbbrg.js → agent-et6331cw.js} +43 -43
- package/dist/chunks/{bus-abr51mnh.js → agent-ez1g32xq.js} +8 -8
- package/dist/chunks/{bus-jv78zvp3.js → agent-f3xvtd5f.js} +14 -14
- package/dist/chunks/{bus-k5d1wqjw.js → agent-f56tfzs6.js} +329 -329
- package/dist/chunks/{bus-fffv3p7h.js → agent-fffv3p7h.js} +1 -1
- package/dist/chunks/{bus-2b6ncc8q.js → agent-fp2kss3x.js} +6 -6
- package/dist/chunks/{bus-jzxk7jdc.js → agent-g0mjfn9f.js} +12 -12
- package/dist/chunks/{bus-xrpfz6f8.js → agent-g1ay4zd8.js} +9 -9
- package/dist/chunks/{bus-g5h9c0rr.js → agent-g5h9c0rr.js} +2 -2
- package/dist/chunks/{bus-cah09krx.js → agent-g7yg2z4y.js} +9 -9
- package/dist/chunks/{bus-xeb0t073.js → agent-g9jwm955.js} +1 -1
- package/dist/chunks/agent-gbftmgpj.js +26 -0
- package/dist/chunks/{bus-smfcvx02.js → agent-gcjdgkn2.js} +9 -9
- package/dist/chunks/{bus-sfmp0f7b.js → agent-gm52qjxn.js} +13 -13
- package/dist/chunks/{bus-wsd07rfm.js → agent-gtwwf5qc.js} +21 -21
- package/dist/chunks/{bus-2ex6mje1.js → agent-gwff6e0f.js} +27 -27
- package/dist/chunks/{bus-c1953ttw.js → agent-h84cj61w.js} +2 -2
- package/dist/chunks/{bus-2rx1emds.js → agent-hm143rc2.js} +3 -3
- package/dist/chunks/{bus-krdanp5y.js → agent-ht7bz1sv.js} +25 -25
- package/dist/chunks/{bus-j113cymg.js → agent-j113cymg.js} +1 -1
- package/dist/chunks/{bus-2dxw0vtj.js → agent-j5pyptyp.js} +19 -19
- package/dist/chunks/{bus-jg2v1dk6.js → agent-j8ka3dj3.js} +30 -30
- package/dist/chunks/{bus-r86349qm.js → agent-jmt4g3es.js} +6 -6
- package/dist/chunks/{bus-5tym1825.js → agent-k5g4ndkg.js} +32 -32
- package/dist/chunks/{bus-k814nvkf.js → agent-k814nvkf.js} +1 -1
- package/dist/chunks/{bus-60hpmyq7.js → agent-k8sgxmwq.js} +27 -27
- package/dist/chunks/{bus-r6tddt1e.js → agent-kwwqhmte.js} +29 -29
- package/dist/chunks/{bus-m1714858.js → agent-m1714858.js} +1 -1
- package/dist/chunks/{bus-xbcypdf3.js → agent-m96zp2x3.js} +5 -5
- package/dist/chunks/{bus-qx1n59h8.js → agent-m9tz8kfk.js} +18 -18
- package/dist/chunks/{bus-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-maspj1v3.js → agent-maspj1v3.js} +1 -1
- package/dist/chunks/{bus-w0569hsk.js → agent-mkr1zw4c.js} +24 -24
- package/dist/chunks/{bus-hsbqs0yf.js → agent-mv2fkptf.js} +8 -8
- package/dist/chunks/{bus-k0agw6wh.js → agent-mvrp1pf2.js} +13 -13
- package/dist/chunks/{bus-gq7wjy6f.js → agent-mwam2bxf.js} +25 -25
- package/dist/chunks/{bus-bsry7g8x.js → agent-my1p2r7g.js} +16 -16
- package/dist/chunks/{bus-n0p0277s.js → agent-n0p0277s.js} +1 -1
- package/dist/chunks/{bus-yrnwxx36.js → agent-n7j6jkwh.js} +21 -21
- package/dist/chunks/{bus-1j2dtaqf.js → agent-nae82sp2.js} +25 -25
- package/dist/chunks/{bus-nah043kf.js → agent-nah043kf.js} +1 -1
- package/dist/chunks/{bus-yhjes8yv.js → agent-nbwnjq76.js} +6 -6
- package/dist/chunks/{bus-w6839knk.js → agent-njstssvg.js} +18 -18
- package/dist/chunks/{bus-j8nk5b8t.js → agent-npyprqtv.js} +6 -6
- package/dist/chunks/{bus-ghn7jtaj.js → agent-nq3tx4x1.js} +37 -37
- package/dist/chunks/{bus-8v7kcz56.js → agent-nt0vz67d.js} +11 -11
- package/dist/chunks/{bus-8df9xh9g.js → agent-nwvcypp6.js} +11 -11
- package/dist/chunks/{bus-p015t6z3.js → agent-p015t6z3.js} +2 -2
- package/dist/chunks/{bus-jx89vj1k.js → agent-pc1v25hk.js} +3 -3
- package/dist/chunks/{bus-5x14y5p3.js → agent-pdjy0dkv.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{bus-p1c1zyxr.js → agent-prpkhwe7.js} +44 -44
- package/dist/chunks/{bus-rvhr0thr.js → agent-pwb927wa.js} +83 -83
- package/dist/chunks/{bus-143qq2q9.js → agent-pyzjd10w.js} +3 -3
- package/dist/chunks/{bus-xar86st9.js → agent-q2dycjj6.js} +7 -7
- package/dist/chunks/{bus-e4f4x5n9.js → agent-q431msev.js} +9 -9
- package/dist/chunks/{bus-231a8wys.js → agent-q6vmwcr3.js} +8 -8
- package/dist/chunks/{bus-t4n7m6zf.js → agent-qa2bc9h6.js} +26 -26
- package/dist/chunks/{bus-g6rdvcdw.js → agent-qdjpasa6.js} +15 -15
- package/dist/chunks/{bus-rtdrjve7.js → agent-qe4f2n8q.js} +25 -25
- package/dist/chunks/{bus-p12nptkx.js → agent-qps3wf85.js} +11 -11
- package/dist/chunks/{bus-v5kv89ke.js → agent-qrsf94hb.js} +12 -12
- package/dist/chunks/{bus-mswbh5s9.js → agent-qsxt5pmn.js} +156 -156
- package/dist/chunks/{bus-r0yr0wbs.js → agent-r0yr0wbs.js} +1 -1
- package/dist/chunks/{bus-7ambk3z6.js → agent-r649t70p.js} +38 -38
- package/dist/chunks/{bus-pbqc7r64.js → agent-r6g963jp.js} +26 -26
- package/dist/chunks/{bus-956c56jz.js → agent-r6wgv8c9.js} +6 -6
- package/dist/chunks/{bus-51e0cpsh.js → agent-r8vff35f.js} +30 -30
- package/dist/chunks/{bus-gq4ft62x.js → agent-r9jvn0me.js} +17 -17
- package/dist/chunks/{bus-rb9dy4dg.js → agent-rb9dy4dg.js} +1 -1
- package/dist/chunks/{bus-3s4b3ezj.js → agent-rm4sw271.js} +4 -4
- package/dist/chunks/{bus-b7g1t3mx.js → agent-rpd03b69.js} +19 -19
- package/dist/chunks/{bus-rt5dr6hb.js → agent-rt5dr6hb.js} +1 -1
- package/dist/chunks/{bus-7193gb3b.js → agent-s1cekj41.js} +5 -5
- package/dist/chunks/{bus-ar37ae2g.js → agent-s5ckv70a.js} +9 -9
- package/dist/chunks/{bus-ar2j3j0f.js → agent-s626qfae.js} +4 -4
- package/dist/chunks/{bus-k0rrpnh5.js → agent-sdskc420.js} +176 -176
- package/dist/chunks/{bus-hwj1j5q0.js → agent-se8z0af6.js} +4 -4
- package/dist/chunks/{bus-2etvdtc8.js → agent-sfayrj8h.js} +11 -11
- package/dist/chunks/{bus-tdj3cxsw.js → agent-sg8mkp01.js} +31 -31
- package/dist/chunks/{bus-mgbmf9v5.js → agent-shygem95.js} +17 -17
- package/dist/chunks/{bus-3dcm03ph.js → agent-spa8vgy8.js} +8 -8
- package/dist/chunks/{bus-sqjzf8x2.js → agent-sqjzf8x2.js} +1 -1
- package/dist/chunks/{bus-p8var5ry.js → agent-syd85nze.js} +4 -4
- package/dist/chunks/{bus-6gt5xc60.js → agent-t34k7vdx.js} +23 -23
- package/dist/chunks/{bus-wznw0skg.js → agent-t81h9cx6.js} +17 -17
- package/dist/chunks/{bus-5gk89hyb.js → agent-tbmp9t5p.js} +5 -5
- package/dist/chunks/{bus-fc6c4hv8.js → agent-tc4kyz8e.js} +2 -2
- package/dist/chunks/{bus-tczq8hjw.js → agent-tczq8hjw.js} +1 -1
- package/dist/chunks/{bus-vj8mtejf.js → agent-tf78gtve.js} +15 -15
- package/dist/chunks/{bus-2ryhy1r3.js → agent-tha6crsv.js} +16 -16
- package/dist/chunks/{bus-5aqqzxvt.js → agent-tr53db22.js} +36 -36
- package/dist/chunks/{bus-tw8zr1ps.js → agent-tw8zr1ps.js} +1 -1
- package/dist/chunks/{bus-twv2r8f4.js → agent-twv2r8f4.js} +2 -2
- package/dist/chunks/{bus-zs3fm22t.js → agent-tybz541q.js} +25 -25
- package/dist/chunks/{bus-5r00rv09.js → agent-tzwfb695.js} +24 -24
- package/dist/chunks/{bus-v2r1d0zg.js → agent-v2r1d0zg.js} +1 -1
- package/dist/chunks/{bus-9k6vjqzw.js → agent-v6pnwzcj.js} +66 -66
- package/dist/chunks/{bus-c6z72wfs.js → agent-v7v3rrns.js} +7 -7
- package/dist/chunks/{bus-yj5wzhce.js → agent-v8w832qv.js} +21 -21
- package/dist/chunks/{bus-vd3b3yk9.js → agent-vd3b3yk9.js} +1 -1
- package/dist/chunks/{bus-veqvce7d.js → agent-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-m37sd98t.js → agent-vmfhgzt5.js} +4 -4
- package/dist/chunks/{bus-dyh6ghqz.js → agent-vq55ta2w.js} +10 -10
- package/dist/chunks/{bus-km2c56gg.js → agent-vwac03cp.js} +6 -6
- package/dist/chunks/{bus-a0hasf4t.js → agent-vxgn3e9c.js} +4 -4
- package/dist/chunks/{bus-zj5v4v4s.js → agent-w1b192n3.js} +16 -16
- package/dist/chunks/{bus-kgex5j78.js → agent-w1w7qgbq.js} +11 -11
- package/dist/chunks/{bus-w2eysc6j.js → agent-w2eysc6j.js} +2 -2
- package/dist/chunks/{bus-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-g3k29tzj.js → agent-w5t7bbyx.js} +13 -13
- package/dist/chunks/{bus-088xsv39.js → agent-w75qjcvt.js} +8 -8
- package/dist/chunks/{bus-wakvkjy4.js → agent-wakvkjy4.js} +1 -1
- package/dist/chunks/{bus-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/{bus-q4q80s4a.js → agent-wdk09kh3.js} +17 -17
- package/dist/chunks/{bus-k7fcp7vh.js → agent-wgvnftve.js} +8 -8
- package/dist/chunks/{bus-t8nkzmzj.js → agent-wmjzvx4b.js} +7 -7
- package/dist/chunks/{bus-0mcw7mfx.js → agent-x1kqdqv8.js} +7 -7
- package/dist/chunks/{bus-m8gt97br.js → agent-x29zv49r.js} +5 -5
- package/dist/chunks/{bus-0kp1st58.js → agent-x7nn8z2j.js} +11 -11
- package/dist/chunks/{bus-zt2awk40.js → agent-xf07g6fp.js} +27 -27
- package/dist/chunks/{bus-tpfax3t6.js → agent-xfrhb91r.js} +40 -40
- package/dist/chunks/{bus-02tqe3dc.js → agent-xk6cct51.js} +33 -33
- package/dist/chunks/{bus-q306eq19.js → agent-xkv91zbc.js} +24 -24
- package/dist/chunks/{bus-0ks2n9jf.js → agent-xkympmbz.js} +6 -6
- package/dist/chunks/{bus-mmgwrvtt.js → agent-xmdjjv6p.js} +15 -15
- package/dist/chunks/{bus-kfag0pyw.js → agent-xpx0a1hv.js} +25 -25
- package/dist/chunks/{bus-w76xjer3.js → agent-xsact9zs.js} +4 -4
- package/dist/chunks/{bus-mnd9dafd.js → agent-xw0c0mqp.js} +8 -8
- package/dist/chunks/{bus-9dhj7pzk.js → agent-xxf3k3sy.js} +14 -14
- package/dist/chunks/{bus-bhwcrmj7.js → agent-y8hmd8bf.js} +10 -10
- package/dist/chunks/{bus-ms080em1.js → agent-ya0bzcwn.js} +12 -12
- package/dist/chunks/{bus-yb20nhc3.js → agent-yb20nhc3.js} +1 -1
- package/dist/chunks/{bus-5g3z7av9.js → agent-yhhb56re.js} +16 -16
- package/dist/chunks/{bus-158w7htw.js → agent-yjkkab03.js} +6 -6
- package/dist/chunks/{bus-sz8868xq.js → agent-yn9h7jnh.js} +7 -7
- package/dist/chunks/{bus-zz3ytsxz.js → agent-yqmxxt9c.js} +6 -6
- package/dist/chunks/{bus-82at59ng.js → agent-ysw37sry.js} +42 -42
- package/dist/chunks/{bus-w52v0pzm.js → agent-yyd0z27r.js} +20 -20
- package/dist/chunks/{bus-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-xm26fr51.js → agent-z0te8qnm.js} +11 -11
- package/dist/chunks/{bus-sk0g3fth.js → agent-z1b9nwea.js} +6 -6
- package/dist/chunks/{bus-z38nccrw.js → agent-z38nccrw.js} +1 -1
- package/dist/chunks/{bus-z7bdqmx5.js → agent-z7bdqmx5.js} +1 -1
- package/dist/chunks/{bus-6b2dxyr2.js → agent-z8hxvef0.js} +35 -35
- package/dist/chunks/{bus-0zzd7vfm.js → agent-zav2k54e.js} +4 -4
- package/dist/chunks/{bus-ps63y3s5.js → agent-zcv9t832.js} +17 -17
- package/dist/chunks/{bus-zkg84ctx.js → agent-zkg84ctx.js} +1 -1
- package/dist/chunks/{bus-x55w4aqt.js → agent-zqfy40s7.js} +16 -16
- package/dist/chunks/{bus-gjr461gh.js → agent-ztngrg4w.js} +15 -15
- package/dist/chunks/{bus-dj1vw1rv.js → agent-zxrxde13.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +92 -92
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- 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 +101 -101
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +91 -91
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +102 -102
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +166 -166
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +95 -95
- 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 +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +86 -86
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +91 -91
- package/dist/worktree.js +102 -102
- package/package.json +8 -8
- package/dist/chunks/bus-p1hxy2vt.js +0 -26
- /package/dist/chunks/{bus-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → agent-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2bv980vf.js → agent-2bv980vf.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5fjb7ams.js → agent-5fjb7ams.js} +0 -0
- /package/dist/chunks/{bus-5qd3pb7m.js → agent-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-84wd9syh.js → agent-84wd9syh.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a058387c.js → agent-a058387c.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → agent-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jze0r7bz.js → agent-jze0r7bz.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-m18g726c.js → agent-m18g726c.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-pkyv6v7h.js → agent-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wjj7prxr.js → agent-wjj7prxr.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → agent-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → agent-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → agent-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-vxgn3e9c.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-5sgdhf0y.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event8,
|
|
21
|
+
ID: () => ID6,
|
|
22
|
+
Info: () => Info8,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service49,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
|
-
available: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
available: () => available3,
|
|
29
|
+
node: () => node53,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -35,15 +35,15 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Context, Effect, Layer } from "effect";
|
|
37
37
|
import { Skill } from "@opencode/schema/skill";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event8 } from "@opencode/schema/skill";
|
|
39
39
|
var DirectorySource2 = Skill.DirectorySource;
|
|
40
40
|
var UrlSource2 = Skill.UrlSource;
|
|
41
41
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var Source4 = Skill.Source;
|
|
43
|
+
var Info8 = Skill.Info;
|
|
44
|
+
var ID6 = Skill.ID;
|
|
45
45
|
var Name2 = Skill.Name;
|
|
46
|
-
var
|
|
46
|
+
var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
47
47
|
var toModelOutput3 = (skill, files) => {
|
|
48
48
|
const directory = path.dirname(skill.path);
|
|
49
49
|
return [
|
|
@@ -78,21 +78,21 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
78
78
|
};
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service49 extends Context.Service()("@opencode/Skill") {
|
|
82
82
|
}
|
|
83
|
-
var layer = Layer.effect(
|
|
83
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
84
84
|
const bus = yield* Service85;
|
|
85
85
|
const state = create3({
|
|
86
86
|
name: "skill",
|
|
87
87
|
initial: () => ({ skills: new Map }),
|
|
88
88
|
editor: (editor) => ({
|
|
89
89
|
list: () => Array.from(editor.skills.values()),
|
|
90
|
-
get: (id) => editor.skills.get(
|
|
90
|
+
get: (id) => editor.skills.get(ID6.make(id)),
|
|
91
91
|
add: (skill) => {
|
|
92
92
|
editor.skills.set(skill.id, { ...skill });
|
|
93
93
|
},
|
|
94
94
|
update: (id, update) => {
|
|
95
|
-
const key =
|
|
95
|
+
const key = ID6.make(id);
|
|
96
96
|
const current = editor.skills.get(key);
|
|
97
97
|
if (!current)
|
|
98
98
|
return;
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
100
100
|
current.id = key;
|
|
101
101
|
},
|
|
102
102
|
remove: (id) => {
|
|
103
|
-
editor.skills.delete(
|
|
103
|
+
editor.skills.delete(ID6.make(id));
|
|
104
104
|
}
|
|
105
105
|
}),
|
|
106
106
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service49.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -116,10 +116,10 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
120
|
-
service:
|
|
119
|
+
var node53 = makeLocationNode({
|
|
120
|
+
service: Service49,
|
|
121
121
|
layer,
|
|
122
122
|
deps: [node89]
|
|
123
123
|
});
|
|
124
124
|
|
|
125
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
125
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID6, Name2, available3, toModelOutput3, prepare3, Service49, node53, exports_skill5, Event8 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-e5dqjz6v.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-5sgdhf0y.js";
|
|
10
10
|
import {
|
|
11
11
|
Service33,
|
|
12
12
|
node36
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-prpkhwe7.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name15
|
|
17
|
+
} from "./agent-k5g4ndkg.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./agent-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
23
|
var exports_instructions4 = {};
|
|
24
24
|
__export(exports_instructions4, {
|
|
25
25
|
McpInstructions: () => exports_instructions4,
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
26
|
+
Service: () => Service29,
|
|
27
|
+
layer: () => layer14,
|
|
28
|
+
node: () => node33
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -65,14 +65,14 @@ var update = (previous, current) => {
|
|
|
65
65
|
`);
|
|
66
66
|
};
|
|
67
67
|
|
|
68
|
-
class
|
|
68
|
+
class Service29 extends Context.Service()("@opencode/McpInstructions") {
|
|
69
69
|
}
|
|
70
|
-
var
|
|
70
|
+
var layer14 = Layer.effect(Service29, Effect.gen(function* () {
|
|
71
71
|
const mcp = yield* Service33;
|
|
72
|
-
return
|
|
72
|
+
return Service29.of({
|
|
73
73
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
74
|
-
const source = (value) =>
|
|
75
|
-
key:
|
|
74
|
+
const source = (value) => make20({
|
|
75
|
+
key: Key3.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
78
78
|
render: {
|
|
@@ -90,7 +90,7 @@ var layer10 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
90
90
|
const codemode = owned[0]?.codemode !== false;
|
|
91
91
|
if (codemode && !canExecute)
|
|
92
92
|
return [];
|
|
93
|
-
if (!owned.some((tool) => evaluate2(
|
|
93
|
+
if (!owned.some((tool) => evaluate2(name15(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
94
94
|
return [];
|
|
95
95
|
return [
|
|
96
96
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -100,6 +100,6 @@ var layer10 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node33 = makeLocationNode({ service: Service29, layer: layer14, deps: [node36] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service29, layer14, node33, exports_instructions4 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-vxgn3e9c.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service77,
|
|
9
|
+
node81
|
|
10
|
+
} from "./agent-r8vff35f.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-vd3b3yk9.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-s626qfae.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./agent-84rbnah8.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./agent-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event16,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID14,
|
|
41
|
+
Info: () => Info21,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service75,
|
|
49
|
+
node: () => node79
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event16 } from "@opencode/schema/integration";
|
|
72
|
+
var ID14 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info21 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,19 +101,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID14,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service75 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
115
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service77;
|
|
117
117
|
const bus = yield* Service85;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info21.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service75.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key4.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { metadata: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node79 = makeLocationNode({
|
|
633
|
+
service: Service75,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node81, node89, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info21, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service75, node79, exports_integration, Event16 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./agent-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-vxgn3e9c.js";
|
|
5
5
|
import {
|
|
6
6
|
Service33,
|
|
7
7
|
node36
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./agent-prpkhwe7.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-2z1j29yd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service62,
|
|
14
|
+
node66
|
|
15
|
+
} from "./agent-5sgdhf0y.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service42,
|
|
18
|
+
node45
|
|
19
|
+
} from "./agent-mwam2bxf.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service41,
|
|
22
|
+
node44
|
|
23
|
+
} from "./agent-w1w7qgbq.js";
|
|
24
24
|
import {
|
|
25
25
|
MEDIA_MIMES2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./agent-v8w832qv.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./agent-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/mcp.ts
|
|
32
32
|
var exports_mcp3 = {};
|
|
33
33
|
__export(exports_mcp3, {
|
|
34
34
|
McpTool: () => exports_mcp3,
|
|
35
|
-
Service: () =>
|
|
36
|
-
layer: () =>
|
|
37
|
-
name: () =>
|
|
35
|
+
Service: () => Service30,
|
|
36
|
+
layer: () => layer15,
|
|
37
|
+
name: () => name15,
|
|
38
38
|
namespace: () => namespace2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node34
|
|
40
40
|
});
|
|
41
41
|
import { ToolFailure } from "@opencode/ai";
|
|
42
42
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -45,16 +45,16 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
45
45
|
import { extension } from "mime-types";
|
|
46
46
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
47
47
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
48
|
-
var
|
|
48
|
+
var name15 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service30 extends Context.Service()("@opencode/McpTool") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
52
|
+
var layer15 = Layer.effect(Service30, Effect.gen(function* () {
|
|
53
53
|
const mcp = yield* Service33;
|
|
54
|
-
const tools = yield*
|
|
54
|
+
const tools = yield* Service42;
|
|
55
55
|
const bus = yield* Service85;
|
|
56
|
-
const permission = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
56
|
+
const permission = yield* Service62;
|
|
57
|
+
const toolOutput = yield* Service41;
|
|
58
58
|
const lock = Semaphore.makeUnsafe(1);
|
|
59
59
|
let discovered = [];
|
|
60
60
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -69,7 +69,7 @@ var layer11 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
69
69
|
output: tool.outputSchema ?? {},
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
yield* permission.assert({
|
|
72
|
-
action:
|
|
72
|
+
action: name15(tool.server, tool.name),
|
|
73
73
|
resources: ["*"],
|
|
74
74
|
save: ["*"],
|
|
75
75
|
metadata: { input: input ?? {} },
|
|
@@ -111,7 +111,7 @@ var layer11 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
111
111
|
output: output(),
|
|
112
112
|
...content.length === 0 ? {} : { content }
|
|
113
113
|
};
|
|
114
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
114
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name15(tool.server, tool.name)}` })))
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
});
|
|
@@ -124,7 +124,7 @@ var layer11 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
124
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
125
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
126
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
127
|
-
return
|
|
127
|
+
return Service30.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
128
128
|
}));
|
|
129
129
|
var toContent = Effect.fnUntraced(function* (part, toolOutput) {
|
|
130
130
|
if (part.type === "text")
|
|
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
|
|
|
144
144
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
145
145
|
};
|
|
146
146
|
});
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
149
|
-
layer:
|
|
150
|
-
deps: [
|
|
147
|
+
var node34 = makeLocationNode({
|
|
148
|
+
service: Service30,
|
|
149
|
+
layer: layer15,
|
|
150
|
+
deps: [node45, node36, node89, node66, node44]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { namespace2,
|
|
153
|
+
export { namespace2, name15, Service30, layer15, node34, exports_mcp3 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./agent-84rbnah8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./agent-5sgdhf0y.js";
|
|
7
7
|
import {
|
|
8
8
|
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./agent-4n19pvv2.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./agent-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input9,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin28,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name9 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input9 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin28 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service62;
|
|
53
|
+
const forms = yield* Service76;
|
|
54
|
+
const websearch = yield* Service16;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name9,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description3,
|
|
59
|
+
input: Input9,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name9,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name9];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name9, NO_RESULTS2, description3, Input9, Plugin28, exports_websearch2 };
|