@opencode/core 0.0.0-dev-20638 → 0.0.0-dev-20643
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{kv-4njb8sjz.js → repository-00e0wh3q.js} +24 -24
- package/dist/chunks/{kv-m357821f.js → repository-042aawn8.js} +25 -25
- package/dist/chunks/{kv-p3np81yz.js → repository-05t95569.js} +18 -18
- package/dist/chunks/{kv-rr6414d7.js → repository-0f0pgr2e.js} +1 -1
- package/dist/chunks/{kv-wqtjzdjg.js → repository-0h1qn0y5.js} +10 -10
- package/dist/chunks/{kv-q0xm7vwc.js → repository-0j77ygfz.js} +6 -6
- package/dist/chunks/{kv-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-0vbcp93d.js → repository-0vbcp93d.js} +2 -2
- package/dist/chunks/{kv-ec2y1rs7.js → repository-15q89ad0.js} +15 -15
- package/dist/chunks/{kv-j0dh5s1b.js → repository-16558gs3.js} +50 -50
- package/dist/chunks/{kv-rhraev7y.js → repository-1acjjqhc.js} +4 -4
- package/dist/chunks/{kv-a1gpj94z.js → repository-1bbkgx8g.js} +3 -3
- package/dist/chunks/{kv-ftqbsq0r.js → repository-1cw3fj19.js} +3 -3
- package/dist/chunks/{kv-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-1dvck2a7.js → repository-1dvck2a7.js} +2 -2
- package/dist/chunks/{kv-k1gkpfdk.js → repository-1gfgk62c.js} +8 -8
- package/dist/chunks/{kv-58pe7162.js → repository-1hp58pw3.js} +4 -4
- package/dist/chunks/{kv-5zt2q5ce.js → repository-1wb0x8n3.js} +8 -8
- package/dist/chunks/{kv-8tatyyx7.js → repository-23294nz8.js} +20 -20
- package/dist/chunks/{kv-97cfts9w.js → repository-2455wr4j.js} +15 -15
- package/dist/chunks/{kv-yx8a1kq8.js → repository-27bkxtjt.js} +13 -13
- package/dist/chunks/{kv-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-4ts7tf6z.js → repository-2ccvkpx1.js} +2 -2
- package/dist/chunks/{kv-esafk7q3.js → repository-2k8khapm.js} +5 -5
- package/dist/chunks/{kv-zfs8ae4p.js → repository-2m8jawch.js} +4 -4
- package/dist/chunks/{kv-nekkkdzt.js → repository-2t9hnq90.js} +2 -2
- package/dist/chunks/{kv-gbpk5mqp.js → repository-2texf5vf.js} +24 -24
- package/dist/chunks/{kv-w4egk6m7.js → repository-2tyga0yy.js} +9 -9
- package/dist/chunks/{kv-a7gbfrqc.js → repository-2wredcz9.js} +17 -17
- package/dist/chunks/{kv-z5zt2xra.js → repository-2z7ddzwf.js} +5 -5
- package/dist/chunks/{kv-k8kjf1xa.js → repository-32xj3ztx.js} +29 -29
- package/dist/chunks/{kv-b69jv39p.js → repository-3556dn8t.js} +1 -1
- package/dist/chunks/{kv-apt05brx.js → repository-3cde4f3q.js} +8 -8
- package/dist/chunks/{kv-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
- package/dist/chunks/{kv-3y2y4nc2.js → repository-41h22fg8.js} +43 -43
- package/dist/chunks/{kv-769wxhem.js → repository-4344f0hm.js} +36 -36
- package/dist/chunks/repository-45085rbj.js +26 -0
- package/dist/chunks/{kv-vp15e18s.js → repository-483p8dcw.js} +8 -8
- package/dist/chunks/{kv-zf5wv535.js → repository-4azg6a58.js} +10 -10
- package/dist/chunks/{kv-vet6ekdp.js → repository-4cw36es0.js} +9 -9
- package/dist/chunks/{kv-kq04c70q.js → repository-4ege8dpt.js} +10 -10
- package/dist/chunks/{kv-rabz0548.js → repository-4y69v0zr.js} +13 -13
- package/dist/chunks/{kv-yrcj3v3g.js → repository-4z58m4b4.js} +4 -4
- package/dist/chunks/{kv-g4w6v84v.js → repository-4z7pkycv.js} +19 -19
- package/dist/chunks/{kv-54ma36ye.js → repository-54ma36ye.js} +1 -1
- package/dist/chunks/{kv-fcf2thwx.js → repository-56a9smke.js} +18 -18
- package/dist/chunks/{kv-56gdpj1q.js → repository-56gdpj1q.js} +2 -2
- package/dist/chunks/{kv-acznmef4.js → repository-56gyfky0.js} +10 -10
- package/dist/chunks/{kv-1pxz8ven.js → repository-57myy5jh.js} +5 -5
- package/dist/chunks/{kv-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-181xftrn.js → repository-5e49akah.js} +47 -47
- package/dist/chunks/{kv-w9903dp5.js → repository-5k54pn5m.js} +10 -10
- package/dist/chunks/{kv-5m9w47nd.js → repository-5m9w47nd.js} +1 -1
- package/dist/chunks/{kv-2ewwsn6j.js → repository-5ng375bv.js} +10 -10
- package/dist/chunks/{kv-5xbp0mzp.js → repository-5pptr25h.js} +4 -4
- package/dist/chunks/{kv-pnx8jqpz.js → repository-5r637m3f.js} +55 -55
- package/dist/chunks/{kv-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-dk81va9j.js → repository-5t80mpw4.js} +22 -22
- package/dist/chunks/{kv-r2tr70hw.js → repository-5w6ne2rj.js} +11 -11
- package/dist/chunks/{kv-vzmw36wy.js → repository-65967rh2.js} +7 -7
- package/dist/chunks/{kv-wda5c5wt.js → repository-66bhq6pp.js} +13 -13
- package/dist/chunks/{kv-cvgnxgr7.js → repository-68ga000j.js} +37 -37
- package/dist/chunks/{kv-j9nscww1.js → repository-6c2ypm1v.js} +25 -25
- package/dist/chunks/{kv-a2b9r020.js → repository-6cdwq03r.js} +4 -4
- package/dist/chunks/{kv-yh94greh.js → repository-6cfn1t67.js} +11 -11
- package/dist/chunks/{kv-5jm289mv.js → repository-6r4hjhnf.js} +20 -20
- package/dist/chunks/{kv-dssebbhk.js → repository-6vnaqa0k.js} +30 -30
- package/dist/chunks/{kv-ephge0j6.js → repository-6x4qebe7.js} +32 -32
- package/dist/chunks/{kv-6xb47vfp.js → repository-6xb47vfp.js} +1 -1
- package/dist/chunks/{kv-71az546q.js → repository-71az546q.js} +2 -2
- package/dist/chunks/{kv-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-8pfwr1aj.js → repository-7c08hygz.js} +11 -11
- package/dist/chunks/{kv-6pwtgj3y.js → repository-7d05dvcz.js} +4 -4
- package/dist/chunks/{kv-f0swrhq5.js → repository-7wnc14t4.js} +21 -21
- package/dist/chunks/{kv-xayh4kry.js → repository-7z6z4pna.js} +11 -11
- package/dist/chunks/{kv-84txncab.js → repository-84txncab.js} +1 -1
- package/dist/chunks/{kv-j8s9ab9g.js → repository-89za3yyg.js} +9 -9
- package/dist/chunks/{kv-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-3784c8ef.js → repository-8e4wx4g3.js} +9 -9
- package/dist/chunks/{kv-w5rr2y2z.js → repository-8ee403vh.js} +11 -11
- package/dist/chunks/{kv-0rce4jxn.js → repository-8hjmwb77.js} +16 -16
- package/dist/chunks/{kv-jn7ad7x7.js → repository-8jg22brg.js} +302 -302
- package/dist/chunks/{kv-c1jmz0dd.js → repository-8kys6q5k.js} +6 -6
- package/dist/chunks/{kv-3ewed21c.js → repository-8tsdq50x.js} +4 -4
- package/dist/chunks/{kv-4eq8w0dz.js → repository-96ctqc5x.js} +4 -4
- package/dist/chunks/{kv-syyk301w.js → repository-9815d8pv.js} +14 -14
- package/dist/chunks/{kv-9e5bzkjp.js → repository-9e5bzkjp.js} +3 -3
- package/dist/chunks/{kv-4xmcpy6p.js → repository-9mhtj97w.js} +16 -16
- package/dist/chunks/{kv-vknqf5hb.js → repository-9mxexfbd.js} +18 -18
- package/dist/chunks/{kv-bfhjdpf9.js → repository-9pymkw0x.js} +11 -11
- package/dist/chunks/{kv-a3y1te1t.js → repository-9yaf30yb.js} +37 -37
- package/dist/chunks/{kv-2mbt8s9p.js → repository-9yxvhatz.js} +4 -4
- package/dist/chunks/{kv-gyt7gbrq.js → repository-a199weyn.js} +6 -6
- package/dist/chunks/{kv-nq2hrp2d.js → repository-a2dv4dac.js} +2 -2
- package/dist/chunks/{kv-6hh8tjw2.js → repository-a2ew8a62.js} +4 -4
- package/dist/chunks/{kv-npetrjxw.js → repository-a6rczh0a.js} +39 -39
- package/dist/chunks/{kv-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-x661k3y3.js → repository-addxnjmp.js} +4 -4
- package/dist/chunks/{kv-mkrt49cm.js → repository-ajh7mqgq.js} +34 -34
- package/dist/chunks/{kv-66y76zaq.js → repository-aqryd466.js} +24 -24
- package/dist/chunks/{kv-5184fe6e.js → repository-atwht7h8.js} +11 -11
- package/dist/chunks/{kv-9jdad9bj.js → repository-azmfd98g.js} +34 -34
- package/dist/chunks/{kv-a78avpfy.js → repository-b3cm3psy.js} +7 -7
- package/dist/chunks/{kv-x8pjv9xj.js → repository-b5f9cqb8.js} +13 -13
- package/dist/chunks/{kv-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-sd8sm53s.js → repository-b751st24.js} +3 -3
- package/dist/chunks/repository-bpqsrde8.js +253 -0
- package/dist/chunks/{kv-bq3zev7t.js → repository-bzadqhw2.js} +4 -4
- package/dist/chunks/{kv-a8bn8zg0.js → repository-c20khjev.js} +21 -21
- package/dist/chunks/{kv-bw9zjykr.js → repository-c8bydgjz.js} +6 -6
- package/dist/chunks/{kv-d99q2kf9.js → repository-c9vhjpyr.js} +9 -9
- package/dist/chunks/{kv-cf8234ah.js → repository-cb3fgacg.js} +25 -25
- package/dist/chunks/{kv-jtvf2jb4.js → repository-ccn600g9.js} +8 -8
- package/dist/chunks/{kv-psdhy0c9.js → repository-ce3pkz8w.js} +5 -5
- package/dist/chunks/{kv-b4twkq7r.js → repository-cfsekr6v.js} +6 -6
- package/dist/chunks/{kv-g7e7y44y.js → repository-chyvjp63.js} +12 -12
- package/dist/chunks/{kv-zz9f7sca.js → repository-cjwramev.js} +6 -6
- package/dist/chunks/{kv-ss3rnzs3.js → repository-cs63tcvs.js} +9 -9
- package/dist/chunks/{kv-qmqgtz8f.js → repository-d4he2qe1.js} +9 -9
- package/dist/chunks/{kv-fsa96q8z.js → repository-d73ss8bd.js} +17 -17
- package/dist/chunks/{kv-cptwqp0x.js → repository-dbp4m4ge.js} +30 -30
- package/dist/chunks/{kv-vfn4q1c6.js → repository-djyq2zct.js} +17 -17
- package/dist/chunks/{kv-dpkg50ah.js → repository-dpkg50ah.js} +1 -1
- package/dist/chunks/{kv-nqxj0yn4.js → repository-drnf6xwf.js} +2 -2
- package/dist/chunks/{kv-5qd3pb7m.js → repository-e3qxr5gk.js} +2 -2
- package/dist/chunks/{kv-89713pt3.js → repository-ecwx0042.js} +15 -15
- package/dist/chunks/{kv-hh9qw4pz.js → repository-ef2cw19s.js} +17 -17
- package/dist/chunks/{kv-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{kv-zee1rnkq.js → repository-embw8kgh.js} +4 -4
- package/dist/chunks/{kv-954r981e.js → repository-eqh5fpv6.js} +11 -11
- package/dist/chunks/{kv-ykchqbdg.js → repository-erq8vxjr.js} +1 -1
- package/dist/chunks/{kv-nw91k3fh.js → repository-espax8zg.js} +4 -4
- package/dist/chunks/{kv-m0c8nc3q.js → repository-etdaqrbr.js} +32 -32
- package/dist/chunks/{kv-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-se3xc60m.js → repository-f0pfhw3c.js} +4 -4
- package/dist/chunks/{kv-rjqw1fkn.js → repository-f0qf0nex.js} +19 -19
- package/dist/chunks/{kv-gejf6mxt.js → repository-f6sbv01c.js} +19 -19
- package/dist/chunks/{kv-b24qy0b9.js → repository-f8tnf7f1.js} +12 -12
- package/dist/chunks/{kv-szbg98by.js → repository-f8xdbq78.js} +6 -6
- package/dist/chunks/{kv-r5nk2c05.js → repository-fbefb913.js} +10 -10
- package/dist/chunks/{kv-f72k0wyq.js → repository-fe9ffm0w.js} +18 -18
- package/dist/chunks/{kv-22r6mj2d.js → repository-fj3b7143.js} +8 -8
- package/dist/chunks/{kv-hdnsej8e.js → repository-fjts330j.js} +3 -3
- package/dist/chunks/{kv-es77a9ge.js → repository-g34b934z.js} +15 -15
- package/dist/chunks/{kv-g5w8qwbj.js → repository-g5w8qwbj.js} +1 -1
- package/dist/chunks/{kv-1mpyd4wr.js → repository-g69c5a8v.js} +16 -16
- package/dist/chunks/{kv-hr5bc81f.js → repository-gc135ar8.js} +8 -8
- package/dist/chunks/{kv-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-xsch7tq4.js → repository-gkcjs2dn.js} +11 -11
- package/dist/chunks/{kv-541w9c89.js → repository-gpng080p.js} +16 -16
- package/dist/chunks/{kv-jfe7dgrr.js → repository-gry8sgkd.js} +7 -7
- package/dist/chunks/{kv-tsqf5x7w.js → repository-h16n41p4.js} +18 -18
- package/dist/chunks/{kv-h2b79v29.js → repository-h2b79v29.js} +2 -2
- package/dist/chunks/{kv-jmz67v6d.js → repository-h2yw0gk4.js} +22 -22
- package/dist/chunks/{kv-rmjmvf0k.js → repository-h4jx6m0r.js} +15 -15
- package/dist/chunks/{kv-87x5xn13.js → repository-h6c2yg5r.js} +8 -8
- package/dist/chunks/{kv-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-ggyw05pn.js → repository-h6yzxz9r.js} +15 -15
- package/dist/chunks/{kv-3sk4rdba.js → repository-hdjgtqrb.js} +30 -30
- package/dist/chunks/{kv-b97wbwxq.js → repository-hffth77f.js} +129 -129
- package/dist/chunks/{kv-wtwn561a.js → repository-hkgfm0m5.js} +24 -24
- package/dist/chunks/{kv-mfjr1h2x.js → repository-hryrsgw2.js} +7 -7
- package/dist/chunks/{kv-vn0x08py.js → repository-hw3ewgqj.js} +11 -11
- package/dist/chunks/{kv-0jw53tw8.js → repository-j2htzqze.js} +2 -2
- package/dist/chunks/{kv-7c2mj90v.js → repository-j3pg2mx4.js} +1 -1
- package/dist/chunks/{kv-xy8y824b.js → repository-j4g697yf.js} +19 -19
- package/dist/chunks/{kv-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-j58c5xyq.js → repository-j58c5xyq.js} +2 -2
- package/dist/chunks/{kv-ctbj4zyv.js → repository-jbmm1708.js} +60 -60
- package/dist/chunks/{kv-5f9vzzra.js → repository-jnevnthy.js} +24 -24
- package/dist/chunks/{kv-9p60zphx.js → repository-jnpqgtt0.js} +11 -11
- package/dist/chunks/repository-jqh9b0xq.js +18 -0
- package/dist/chunks/{kv-rdy0ce08.js → repository-k37ga4vh.js} +6 -6
- package/dist/chunks/{kv-3cd9n481.js → repository-k70p9jzb.js} +9 -9
- package/dist/chunks/{kv-62536pe3.js → repository-kfj4fg87.js} +1 -1
- package/dist/chunks/{kv-s2azmpd0.js → repository-kxam66j6.js} +13 -13
- package/dist/chunks/{kv-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{kv-c10v6zqh.js → repository-m44fkk4m.js} +4 -4
- package/dist/chunks/{kv-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-pvekm5mg.js → repository-mfct962c.js} +10 -10
- package/dist/chunks/{kv-hs1x7rht.js → repository-mjqndqed.js} +5 -5
- package/dist/chunks/{kv-2x8be395.js → repository-mn0942hp.js} +32 -32
- package/dist/chunks/{kv-mge92msv.js → repository-mpd66srn.js} +1 -1
- package/dist/chunks/{kv-b53mfyph.js → repository-mxr1v1s0.js} +8 -8
- package/dist/chunks/{kv-arz7hw7x.js → repository-my4zabxr.js} +2 -2
- package/dist/chunks/{kv-1en3ymky.js → repository-ntaqe8vs.js} +21 -21
- package/dist/chunks/{kv-br0tr5aq.js → repository-p42hj8p8.js} +8 -8
- package/dist/chunks/{kv-7z362xx8.js → repository-pg4zag0e.js} +24 -24
- package/dist/chunks/{kv-c51rhznc.js → repository-pgze7171.js} +1 -1
- package/dist/chunks/{kv-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-dk7aapm0.js → repository-pkct850y.js} +41 -41
- package/dist/chunks/{kv-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{kv-aa2ejxze.js → repository-q0cdrezg.js} +14 -14
- package/dist/chunks/{kv-efqmpk1d.js → repository-q1srvr66.js} +13 -13
- package/dist/chunks/{kv-4da8s4pt.js → repository-q76xcmv9.js} +16 -16
- package/dist/chunks/{kv-0yb8695g.js → repository-q7jxq9y7.js} +20 -20
- package/dist/chunks/{kv-tbjhtzyt.js → repository-q7ngdz78.js} +26 -26
- package/dist/chunks/{kv-qnc92qwc.js → repository-qnc92qwc.js} +1 -1
- package/dist/chunks/{kv-9hwaqfsw.js → repository-qne3fa44.js} +5 -5
- package/dist/chunks/{kv-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-ee3bnshg.js → repository-qv02qg64.js} +5 -5
- package/dist/chunks/{kv-qxjc9qry.js → repository-qxjc9qry.js} +3 -3
- package/dist/chunks/{kv-de13b2w8.js → repository-qy06s429.js} +11 -11
- package/dist/chunks/{kv-cce4e01m.js → repository-qy0n8417.js} +26 -26
- package/dist/chunks/{kv-y81zftz8.js → repository-r3c58j5g.js} +3 -3
- package/dist/chunks/{kv-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{kv-e75k1waj.js → repository-rjsk0n41.js} +9 -9
- package/dist/chunks/{kv-r9hhpn8b.js → repository-rk3ekeb4.js} +5 -5
- package/dist/chunks/{kv-am5d478n.js → repository-rm4s95e7.js} +84 -84
- package/dist/chunks/{kv-2bzwd702.js → repository-rpp7c75e.js} +48 -48
- package/dist/chunks/{kv-exv1vest.js → repository-ry0xagvq.js} +25 -25
- package/dist/chunks/{kv-7pb7xpah.js → repository-s4075y1x.js} +3 -3
- package/dist/chunks/{kv-c9sr4239.js → repository-s8qvywtq.js} +11 -11
- package/dist/chunks/{kv-8a627zjw.js → repository-s8v3amej.js} +1 -1
- package/dist/chunks/{kv-wp70r9pc.js → repository-s9nwmxxs.js} +30 -30
- package/dist/chunks/{kv-j2g8k53c.js → repository-t406fhy5.js} +15 -15
- package/dist/chunks/{kv-4xqz2kzs.js → repository-t5483b9c.js} +4 -4
- package/dist/chunks/{kv-s8d7rejh.js → repository-t550f9t1.js} +4 -4
- package/dist/chunks/{kv-basq6rcm.js → repository-t7wcnk30.js} +17 -17
- package/dist/chunks/{kv-41jmxe7k.js → repository-t7y8x8j8.js} +16 -16
- package/dist/chunks/{kv-rwkdedx1.js → repository-t8n7ymvq.js} +3 -3
- package/dist/chunks/{kv-t88m99yp.js → repository-tarna68p.js} +9 -9
- package/dist/chunks/{kv-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-x8n5620y.js → repository-tbs2jyb2.js} +7 -7
- package/dist/chunks/{kv-89znhe33.js → repository-tcezcvh9.js} +4 -4
- package/dist/chunks/{kv-2hg7qvzt.js → repository-tdpndm1c.js} +5 -5
- package/dist/chunks/{kv-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{kv-3q141gzy.js → repository-tg6e69q8.js} +2 -2
- package/dist/chunks/{kv-h3xh88mt.js → repository-tzy9a5tv.js} +29 -29
- package/dist/chunks/{kv-v0es1rhs.js → repository-v0es1rhs.js} +2 -2
- package/dist/chunks/{kv-mfhezxan.js → repository-vdf83yyz.js} +12 -12
- package/dist/chunks/{kv-gnn7jhj8.js → repository-ve1j3q85.js} +15 -15
- package/dist/chunks/{kv-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-j9n4penq.js → repository-vfzczaj5.js} +20 -20
- package/dist/chunks/{kv-akagqmhc.js → repository-vngdzw63.js} +30 -30
- package/dist/chunks/{kv-byx867r3.js → repository-vp0q13q8.js} +83 -83
- package/dist/chunks/{kv-zmfyv7f1.js → repository-vqkmcgyv.js} +3 -3
- package/dist/chunks/{kv-a91mm6pd.js → repository-vt8dt6j6.js} +32 -32
- package/dist/chunks/{kv-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
- package/dist/chunks/{kv-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-4x0vy5hp.js → repository-w5ystqj3.js} +3 -3
- package/dist/chunks/{kv-dns82zgn.js → repository-w6gqnbcy.js} +3 -3
- package/dist/chunks/{kv-cq12npaq.js → repository-w7a2abxy.js} +12 -12
- package/dist/chunks/{kv-kp4erq8a.js → repository-wb70vhte.js} +11 -11
- package/dist/chunks/{kv-axe20dxj.js → repository-wc5p7jf8.js} +40 -40
- package/dist/chunks/{kv-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{kv-5xjgfznd.js → repository-wnfszx78.js} +10 -10
- package/dist/chunks/{kv-zfa8n539.js → repository-wnh11861.js} +17 -17
- package/dist/chunks/{kv-qsx4fnpq.js → repository-x4k83k5f.js} +9 -9
- package/dist/chunks/{kv-vbe0572m.js → repository-xhv84ab7.js} +23 -23
- package/dist/chunks/{kv-xkntkrq7.js → repository-xkntkrq7.js} +2 -2
- package/dist/chunks/{kv-v4f2fze8.js → repository-xmy45d6e.js} +17 -17
- package/dist/chunks/{kv-3z80er74.js → repository-xpwv3d90.js} +9 -9
- package/dist/chunks/{kv-xqht2e7y.js → repository-xv90jz4c.js} +11 -11
- package/dist/chunks/{kv-xsgk3b13.js → repository-y16p1w2y.js} +9 -9
- package/dist/chunks/{kv-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-hbwv7efq.js → repository-y1w7bwtd.js} +20 -20
- package/dist/chunks/{kv-nh2sdsz2.js → repository-y6brtjeh.js} +28 -28
- package/dist/chunks/{kv-qaq2bwnf.js → repository-ya6jwxb4.js} +1 -1
- package/dist/chunks/{kv-mdtczhqa.js → repository-yf33k1p3.js} +16 -16
- package/dist/chunks/{kv-q5ykhdzx.js → repository-yfe405ny.js} +10 -10
- package/dist/chunks/{kv-krejfd1h.js → repository-yn96zvvk.js} +11 -11
- package/dist/chunks/{kv-mc0gpg4v.js → repository-yprc5htm.js} +22 -22
- package/dist/chunks/{kv-10a0p2jb.js → repository-yqt58wae.js} +5 -5
- package/dist/chunks/{kv-5yqam25v.js → repository-ywf1kxhz.js} +4 -4
- package/dist/chunks/{kv-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-fzgc1kyb.js → repository-z6zb16gf.js} +32 -32
- package/dist/chunks/{kv-e8qyrgb1.js → repository-zd30eb5w.js} +5 -5
- package/dist/chunks/{kv-09k9s00a.js → repository-zhwzkc0c.js} +18 -18
- package/dist/chunks/{kv-kzk474gs.js → repository-zk46kswf.js} +15 -15
- package/dist/chunks/{kv-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-ahd542yp.js → repository-zvjhkatg.js} +8 -8
- package/dist/chunks/{kv-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/chunks/{kv-zyk1yjk8.js → repository-zyk1yjk8.js} +2 -2
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +132 -132
- 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 +90 -90
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +75 -75
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +93 -93
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +214 -214
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +99 -99
- 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 +354 -354
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +79 -79
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +92 -92
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +91 -91
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- 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 +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +222 -222
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +93 -93
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/kv-1x068165.js +0 -26
- package/dist/chunks/kv-4v7qdvcn.js +0 -18
- package/dist/chunks/kv-cfgev5fc.js +0 -253
- /package/dist/chunks/{kv-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3t0ybcrp.js → repository-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-6q2bdcd1.js → repository-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
ID14,
|
|
3
3
|
Service76,
|
|
4
4
|
node80
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-mfct962c.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
mergeHeaders2,
|
|
17
17
|
Service75,
|
|
18
18
|
node79
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-9815d8pv.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service55,
|
|
22
|
+
node57
|
|
23
|
+
} from "./repository-x4k83k5f.js";
|
|
24
24
|
import {
|
|
25
25
|
ID12,
|
|
26
26
|
VariantID2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
Service74,
|
|
29
29
|
node78,
|
|
30
30
|
supportsText2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./repository-b5f9cqb8.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./repository-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/model-resolver.ts
|
|
37
37
|
var exports_model_resolver = {};
|
|
@@ -40,15 +40,15 @@ __export(exports_model_resolver, {
|
|
|
40
40
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
41
41
|
ModelInitializationError: () => ModelInitializationError2,
|
|
42
42
|
ModelResolver: () => exports_model_resolver,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service54,
|
|
44
44
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
45
45
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
46
46
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
47
47
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
48
48
|
fromCatalogModel: () => fromCatalogModel2,
|
|
49
49
|
hasPackage: () => hasPackage2,
|
|
50
|
-
layer: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
layer: () => layer19,
|
|
51
|
+
node: () => node56,
|
|
52
52
|
resolveModel: () => resolveModel2,
|
|
53
53
|
withVariant: () => withVariant2
|
|
54
54
|
});
|
|
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
class
|
|
124
|
+
class Service54 extends Context.Service()("@opencode/ModelResolver") {
|
|
125
125
|
}
|
|
126
126
|
var withVariant2 = (model, variantID) => {
|
|
127
127
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -265,12 +265,12 @@ var causeMessage = (cause) => {
|
|
|
265
265
|
};
|
|
266
266
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
267
267
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
268
|
-
var
|
|
268
|
+
var layer19 = Layer.effect(Service54, Effect.gen(function* () {
|
|
269
269
|
const providers = yield* Service75;
|
|
270
270
|
const models = yield* Service74;
|
|
271
271
|
const integrations = yield* Service76;
|
|
272
272
|
const npm = yield* Npm.Service;
|
|
273
|
-
const aisdk = yield*
|
|
273
|
+
const aisdk = yield* Service55;
|
|
274
274
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
275
275
|
const provider = yield* providers.get(selected.providerID);
|
|
276
276
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
@@ -300,7 +300,7 @@ var layer24 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
300
300
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
301
301
|
};
|
|
302
302
|
});
|
|
303
|
-
return
|
|
303
|
+
return Service54.of({
|
|
304
304
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
305
305
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
306
306
|
if (!selected)
|
|
@@ -317,10 +317,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
317
317
|
const name = packageName2(packageName);
|
|
318
318
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
319
319
|
}
|
|
320
|
-
var
|
|
321
|
-
service:
|
|
322
|
-
layer:
|
|
323
|
-
deps: [node79, node78, node80, Npm.node,
|
|
320
|
+
var node56 = makeLocationNode({
|
|
321
|
+
service: Service54,
|
|
322
|
+
layer: layer19,
|
|
323
|
+
deps: [node79, node78, node80, Npm.node, node57]
|
|
324
324
|
});
|
|
325
325
|
|
|
326
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
326
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service54, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer19, node56, exports_model_resolver };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-00e0wh3q.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-5r637m3f.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent2 = {};
|
|
15
15
|
__export(exports_agent2, {
|
|
16
16
|
AgentPlugin: () => exports_agent2,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin41
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -84,7 +84,7 @@ Rules:
|
|
|
84
84
|
- Never ask questions or add new questions
|
|
85
85
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
86
86
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
87
|
-
var
|
|
87
|
+
var Plugin41 = define({
|
|
88
88
|
id: "opencode.agent",
|
|
89
89
|
effect: Effect.fn(function* (ctx) {
|
|
90
90
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -94,13 +94,13 @@ var Plugin49 = define({
|
|
|
94
94
|
item.mode = "primary";
|
|
95
95
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
96
96
|
});
|
|
97
|
-
editor.update(
|
|
97
|
+
editor.update(ID9.make("general"), (item) => {
|
|
98
98
|
item.name = Name3.make("General");
|
|
99
99
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
100
100
|
item.mode = "subagent";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID9.make("explore"), (item) => {
|
|
104
104
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
105
105
|
item.name = Name3.make("Explore");
|
|
106
106
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -120,19 +120,19 @@ var Plugin49 = define({
|
|
|
120
120
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
121
121
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
122
122
|
});
|
|
123
|
-
editor.update(
|
|
123
|
+
editor.update(ID9.make("compaction"), (item) => {
|
|
124
124
|
item.name = Name3.make("Compaction");
|
|
125
125
|
item.mode = "primary";
|
|
126
126
|
item.hidden = true;
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID9.make("title"), (item) => {
|
|
129
129
|
item.name = Name3.make("Title");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
item.system = PROMPT_TITLE;
|
|
133
133
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
134
134
|
});
|
|
135
|
-
editor.update(
|
|
135
|
+
editor.update(ID9.make("summary"), (item) => {
|
|
136
136
|
item.name = Name3.make("Summary");
|
|
137
137
|
item.mode = "primary";
|
|
138
138
|
item.hidden = true;
|
|
@@ -143,4 +143,4 @@ var Plugin49 = define({
|
|
|
143
143
|
})
|
|
144
144
|
});
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Plugin41, exports_agent2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-5w6ne2rj.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin38,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
16
|
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin38 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -93,4 +93,4 @@ var Plugin37 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export { endpoint5,
|
|
96
|
+
export { endpoint5, Plugin38, exports_parallel };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./repository-pkct850y.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./repository-68ga000j.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin15,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin15 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service68;
|
|
28
|
+
const mcp = yield* Service41;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin15, register2, exports_mcp };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-c20khjev.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info15
|
|
9
|
+
} from "./repository-7c08hygz.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info18
|
|
12
|
+
} from "./repository-a2ew8a62.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info14
|
|
15
|
+
} from "./repository-57myy5jh.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-2k8khapm.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info17
|
|
21
|
+
} from "./repository-qne3fa44.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
migrateMcp2,
|
|
28
28
|
migrateProvider2,
|
|
29
29
|
providerID2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-6cdwq03r.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/config/normalize.ts
|
|
36
36
|
var exports_normalize = {};
|
|
@@ -97,12 +97,12 @@ function normalize2(input) {
|
|
|
97
97
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
98
98
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
99
99
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
100
|
-
const legacyCommands = decodeMap(input.command,
|
|
100
|
+
const legacyCommands = decodeMap(input.command, Info18, ["command"], diagnostics, decodeValue);
|
|
101
101
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
102
102
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
103
103
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
104
104
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
105
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
105
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
106
106
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
107
107
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
108
108
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -116,7 +116,7 @@ function normalize2(input) {
|
|
|
116
116
|
model: migratedSmallModel,
|
|
117
117
|
...legacyAgents.title
|
|
118
118
|
};
|
|
119
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
119
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
120
120
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
121
121
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
122
122
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -217,7 +217,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
217
217
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
218
218
|
return;
|
|
219
219
|
}
|
|
220
|
-
const server = decodeValue(
|
|
220
|
+
const server = decodeValue(Info14, value, path, diagnostics);
|
|
221
221
|
if (server !== undefined)
|
|
222
222
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
223
223
|
});
|
|
@@ -413,7 +413,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
413
413
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
414
414
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
415
415
|
return [];
|
|
416
|
-
const provider = decodeValue(
|
|
416
|
+
const provider = decodeValue(Info17, raw, path, diagnostics);
|
|
417
417
|
if (provider === undefined)
|
|
418
418
|
return [];
|
|
419
419
|
const destination = providerID2(name);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-b751st24.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-9yxvhatz.js";
|
|
12
12
|
import {
|
|
13
13
|
Service82,
|
|
14
14
|
node86
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-mjqndqed.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-v0es1rhs.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-h2b79v29.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-1dvck2a7.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9815d8pv.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-1hp58pw3.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-5w6ne2rj.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9yxvhatz.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-5ng375bv.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
15
|
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-mfct962c.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service28
|
|
21
|
+
} from "./repository-mxr1v1s0.js";
|
|
22
22
|
import {
|
|
23
23
|
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-9815d8pv.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-b5f9cqb8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
ID4,
|
|
32
|
+
Input13,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./repository-042aawn8.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
|
|
|
47
47
|
var RemoteResponse = Schema.Struct({
|
|
48
48
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
49
49
|
websearch: Schema.Struct({
|
|
50
|
-
providerID:
|
|
50
|
+
providerID: ID4
|
|
51
51
|
}).pipe(Schema.optional),
|
|
52
52
|
mcp: Schema.Struct({
|
|
53
53
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -166,7 +166,7 @@ var OpencodePlugin2 = define({
|
|
|
166
166
|
const bus = yield* Service83;
|
|
167
167
|
const client = yield* HttpClient.HttpClient;
|
|
168
168
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
169
|
-
const managed = yield*
|
|
169
|
+
const managed = yield* Service28;
|
|
170
170
|
const scope = yield* Scope.Scope;
|
|
171
171
|
const loading = Semaphore.makeUnsafe(1);
|
|
172
172
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -327,7 +327,7 @@ var OpencodePlugin2 = define({
|
|
|
327
327
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
328
328
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
329
329
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
330
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
330
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
331
331
|
query: input.query,
|
|
332
332
|
providerID: descriptor.providerID
|
|
333
333
|
}));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./repository-0h1qn0y5.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-my4zabxr.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service62,
|
|
20
|
+
make: () => make20,
|
|
21
|
+
node: () => node64
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service62 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
const kv = yield*
|
|
86
|
+
var make20 = Effect.gen(function* () {
|
|
87
|
+
const kv = yield* Service80;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -342,7 +342,7 @@ var make22 = Effect.gen(function* () {
|
|
|
342
342
|
next.delete(entry[0]);
|
|
343
343
|
return next;
|
|
344
344
|
})));
|
|
345
|
-
return
|
|
345
|
+
return Service62.of({
|
|
346
346
|
get,
|
|
347
347
|
start,
|
|
348
348
|
wait,
|
|
@@ -354,7 +354,7 @@ var make22 = Effect.gen(function* () {
|
|
|
354
354
|
completeBackground
|
|
355
355
|
});
|
|
356
356
|
});
|
|
357
|
-
var layer = Layer.effect(
|
|
358
|
-
var
|
|
357
|
+
var layer = Layer.effect(Service62, make20);
|
|
358
|
+
var node64 = makeGlobalNode({ service: Service62, layer, deps: [node84] });
|
|
359
359
|
|
|
360
|
-
export {
|
|
360
|
+
export { Service62, make20, node64, exports_job };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin43,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin43 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin36 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint6);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint6, Plugin43, exports_exa };
|