@opencode/core 2.0.23 → 2.0.24
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 +77 -77
- 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/{generate-f5k9xycy.js → repository-00e0wh3q.js} +12 -12
- package/dist/chunks/{generate-529vcnym.js → repository-012g15cx.js} +10 -10
- package/dist/chunks/{generate-v1rqtb9w.js → repository-042aawn8.js} +23 -23
- package/dist/chunks/{generate-rpztatg6.js → repository-05t95569.js} +20 -20
- package/dist/chunks/{generate-nyhzf7s9.js → repository-067895h7.js} +17 -17
- package/dist/chunks/{generate-n92tnbgp.js → repository-0f0pgr2e.js} +1 -1
- package/dist/chunks/{generate-h9jzhyk0.js → repository-0g25qkkf.js} +11 -11
- package/dist/chunks/{generate-jjw1xd6n.js → repository-0h1qn0y5.js} +10 -10
- package/dist/chunks/{generate-0j77ygfz.js → repository-0j77ygfz.js} +2 -2
- package/dist/chunks/{generate-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{generate-te8w5cgp.js → repository-0qpq6ar5.js} +13 -13
- package/dist/chunks/{generate-ntmn2n27.js → repository-0qqvk1tp.js} +11 -11
- package/dist/chunks/{generate-0vbcp93d.js → repository-0vbcp93d.js} +2 -2
- package/dist/chunks/{generate-h7aewrw9.js → repository-16558gs3.js} +48 -48
- package/dist/chunks/{generate-yp2x3t23.js → repository-1acjjqhc.js} +4 -4
- package/dist/chunks/{generate-73tb2d7t.js → repository-1bbkgx8g.js} +3 -3
- package/dist/chunks/{generate-cj02erkw.js → repository-1cw3fj19.js} +3 -3
- package/dist/chunks/{generate-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{generate-1dvck2a7.js → repository-1dvck2a7.js} +2 -2
- package/dist/chunks/{generate-qwjmgwmn.js → repository-1gfgk62c.js} +8 -8
- package/dist/chunks/{generate-qgatrawj.js → repository-1vvm3xv7.js} +11 -11
- package/dist/chunks/{generate-782xyd0k.js → repository-1wb0x8n3.js} +5 -5
- package/dist/chunks/{generate-6ywhdf6k.js → repository-23294nz8.js} +10 -10
- package/dist/chunks/{generate-nwgjszw0.js → repository-2455wr4j.js} +14 -13
- package/dist/chunks/{generate-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{generate-2ccvkpx1.js → repository-2ccvkpx1.js} +2 -2
- package/dist/chunks/{generate-7dqw4kz8.js → repository-2k8khapm.js} +5 -5
- package/dist/chunks/{generate-zfs8ae4p.js → repository-2m8jawch.js} +4 -4
- package/dist/chunks/{generate-arb3wnqs.js → repository-2t9hnq90.js} +10 -10
- package/dist/chunks/{generate-hrs38e71.js → repository-2texf5vf.js} +20 -20
- package/dist/chunks/{generate-y5pnfqkr.js → repository-2tyga0yy.js} +19 -51
- package/dist/chunks/{generate-zwhxpsnh.js → repository-2wredcz9.js} +17 -17
- package/dist/chunks/{generate-3x5f6s31.js → repository-32xj3ztx.js} +31 -31
- package/dist/chunks/{generate-znsx74x0.js → repository-3556dn8t.js} +1 -1
- package/dist/chunks/repository-3b3navdj.js +253 -0
- package/dist/chunks/{generate-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-14vr5qa8.js → repository-3t7hfzt0.js} +17 -17
- package/dist/chunks/{generate-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-bq4mvesw.js → repository-3vy5pcbx.js} +34 -34
- package/dist/chunks/{generate-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
- package/dist/chunks/{generate-y8zbdhhn.js → repository-4344f0hm.js} +25 -25
- package/dist/chunks/repository-45085rbj.js +26 -0
- package/dist/chunks/{generate-330q9b0x.js → repository-46tr0mr7.js} +32 -36
- package/dist/chunks/{generate-3dgfh0cr.js → repository-47phkfqm.js} +39 -39
- package/dist/chunks/{generate-jrw39j1g.js → repository-4azg6a58.js} +10 -10
- package/dist/chunks/{generate-eqfn0pk5.js → repository-4c5k237e.js} +34 -34
- package/dist/chunks/{generate-dwxaxj0c.js → repository-4cw36es0.js} +9 -9
- package/dist/chunks/{generate-5tznt6k3.js → repository-4ege8dpt.js} +10 -10
- package/dist/chunks/{generate-n5gzjg8d.js → repository-4y69v0zr.js} +13 -13
- package/dist/chunks/{generate-h9wp8z5w.js → repository-4z58m4b4.js} +4 -4
- package/dist/chunks/{generate-zpzjyv2k.js → repository-4z7pkycv.js} +19 -19
- package/dist/chunks/{generate-54ma36ye.js → repository-54ma36ye.js} +1 -1
- package/dist/chunks/{generate-k5tx4xwh.js → repository-56a9smke.js} +15 -15
- package/dist/chunks/{generate-1ygqh575.js → repository-56gdpj1q.js} +9 -9
- package/dist/chunks/{generate-aqdbyk8h.js → repository-56gyfky0.js} +5 -5
- package/dist/chunks/{generate-w2h15q85.js → repository-57myy5jh.js} +5 -5
- package/dist/chunks/{generate-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/repository-5ej07zgb.js +143 -0
- package/dist/chunks/{generate-s3pcx2b8.js → repository-5k54pn5m.js} +7 -7
- package/dist/chunks/{generate-vzcthcp8.js → repository-5m9w47nd.js} +1 -1
- package/dist/chunks/{generate-spja3q52.js → repository-5ng375bv.js} +12 -12
- package/dist/chunks/{generate-7bftgs18.js → repository-5pptr25h.js} +40 -25
- package/dist/chunks/{generate-8mnpn7jw.js → repository-5r637m3f.js} +33 -33
- package/dist/chunks/{generate-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{generate-jb9mn43j.js → repository-5t80mpw4.js} +19 -19
- package/dist/chunks/{generate-gk28ph79.js → repository-5w6ne2rj.js} +11 -11
- package/dist/chunks/{generate-yfxkm5w6.js → repository-68ga000j.js} +34 -34
- package/dist/chunks/{generate-z15fp2pm.js → repository-6b1pjwt3.js} +3 -3
- package/dist/chunks/{generate-hjbc5kem.js → repository-6q2bdcd1.js} +4 -1
- package/dist/chunks/{generate-xgaq9ax1.js → repository-6r4hjhnf.js} +20 -20
- package/dist/chunks/{generate-jmdp6qyf.js → repository-6x4qebe7.js} +33 -33
- package/dist/chunks/{generate-x1ezjp6w.js → repository-6xb47vfp.js} +4 -2
- package/dist/chunks/{generate-71az546q.js → repository-71az546q.js} +2 -2
- package/dist/chunks/{generate-zp2fsh7c.js → repository-77apbbcp.js} +17 -17
- package/dist/chunks/{generate-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-3rd28rcz.js → repository-7c08hygz.js} +8 -8
- package/dist/chunks/{generate-pfh2gawv.js → repository-7d05dvcz.js} +6 -6
- package/dist/chunks/{generate-wdshzat6.js → repository-7wnc14t4.js} +21 -21
- package/dist/chunks/{generate-z872cvkj.js → repository-7z6z4pna.js} +5 -5
- package/dist/chunks/{generate-84txncab.js → repository-84txncab.js} +1 -1
- package/dist/chunks/{generate-1z18ck0n.js → repository-89za3yyg.js} +3 -3
- package/dist/chunks/{generate-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{generate-sgpy7nbp.js → repository-8hjmwb77.js} +16 -16
- package/dist/chunks/{generate-82czg0r8.js → repository-8kys6q5k.js} +9 -9
- package/dist/chunks/{generate-vbfgae2j.js → repository-8tsdq50x.js} +4 -4
- package/dist/chunks/{generate-kb6gw2zp.js → repository-96ctqc5x.js} +4 -4
- package/dist/chunks/{generate-3edgjjmd.js → repository-9815d8pv.js} +24 -21
- package/dist/chunks/{generate-9e5bzkjp.js → repository-9e5bzkjp.js} +3 -3
- package/dist/chunks/{generate-mt68kget.js → repository-9mhtj97w.js} +24 -24
- package/dist/chunks/{generate-an75rhmh.js → repository-9mxexfbd.js} +16 -16
- package/dist/chunks/{generate-t3cgces8.js → repository-9s1pr29s.js} +39 -39
- package/dist/chunks/{generate-4kfhygng.js → repository-9yaf30yb.js} +36 -36
- package/dist/chunks/{generate-z8hrkqzq.js → repository-9yxvhatz.js} +4 -4
- package/dist/chunks/{generate-pxhak851.js → repository-a199weyn.js} +6 -6
- package/dist/chunks/{generate-b27vhd2z.js → repository-a2ew8a62.js} +4 -4
- package/dist/chunks/{generate-gknnw9w7.js → repository-a6rczh0a.js} +30 -30
- package/dist/chunks/{generate-zqkxpfgh.js → repository-a7cd87s2.js} +65 -65
- package/dist/chunks/{generate-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{generate-addxnjmp.js → repository-addxnjmp.js} +1 -1
- package/dist/chunks/{generate-29x9jy0f.js → repository-ajh7mqgq.js} +34 -34
- package/dist/chunks/{generate-9pvxkkw3.js → repository-aqryd466.js} +22 -22
- package/dist/chunks/{generate-5kp03ppx.js → repository-b20bdvd4.js} +12 -12
- package/dist/chunks/{generate-v1v20ddn.js → repository-b3cm3psy.js} +10 -7
- package/dist/chunks/{generate-94jj38jg.js → repository-b5f9cqb8.js} +24 -20
- package/dist/chunks/{generate-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{generate-6zp854ra.js → repository-b751st24.js} +3 -3
- package/dist/chunks/{generate-kkndcpqr.js → repository-bzadqhw2.js} +4 -4
- package/dist/chunks/{generate-6m42r3np.js → repository-c20khjev.js} +4 -4
- package/dist/chunks/{generate-cdm0dq9n.js → repository-c8bydgjz.js} +6 -6
- package/dist/chunks/{generate-w8vdqaq3.js → repository-cb3fgacg.js} +25 -25
- package/dist/chunks/{generate-61fzh3cq.js → repository-ce3pkz8w.js} +8 -8
- package/dist/chunks/{generate-w92k2e0p.js → repository-cfsekr6v.js} +8 -8
- package/dist/chunks/{generate-3q48ekr2.js → repository-chyvjp63.js} +16 -16
- package/dist/chunks/{generate-q3ersh05.js → repository-cjwramev.js} +4 -4
- package/dist/chunks/{generate-ejbv3g31.js → repository-cs63tcvs.js} +9 -9
- package/dist/chunks/{generate-qmqgtz8f.js → repository-d4he2qe1.js} +9 -9
- package/dist/chunks/{generate-evhyysd2.js → repository-dbp4m4ge.js} +33 -33
- package/dist/chunks/{generate-wj2bx7an.js → repository-dfcrteyq.js} +13 -13
- package/dist/chunks/{generate-qq54afgs.js → repository-dp8mmgq4.js} +15 -15
- package/dist/chunks/{generate-dpkg50ah.js → repository-dpkg50ah.js} +1 -1
- package/dist/chunks/{generate-5pyjqqve.js → repository-drnf6xwf.js} +2 -2
- package/dist/chunks/{generate-exjwxjfq.js → repository-dt6m3qwv.js} +18 -18
- package/dist/chunks/{generate-bepbq8jj.js → repository-ecwx0042.js} +15 -15
- package/dist/chunks/{generate-nz1ptcx7.js → repository-ef2cw19s.js} +14 -14
- package/dist/chunks/{generate-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-t2az9yje.js → repository-embw8kgh.js} +4 -4
- package/dist/chunks/{generate-ffxkc1dx.js → repository-eqh5fpv6.js} +9 -9
- package/dist/chunks/{generate-gya1c0vy.js → repository-erq8vxjr.js} +1 -1
- package/dist/chunks/{generate-h6310vsd.js → repository-espax8zg.js} +4 -4
- package/dist/chunks/{generate-dfc208d8.js → repository-etdaqrbr.js} +30 -30
- package/dist/chunks/{generate-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{generate-hn4yapt1.js → repository-f6sbv01c.js} +31 -30
- package/dist/chunks/{generate-trc3n3qb.js → repository-f8tnf7f1.js} +14 -19
- package/dist/chunks/{generate-ejg73w2g.js → repository-f8xdbq78.js} +6 -6
- package/dist/chunks/{generate-ntev6yqw.js → repository-fj3b7143.js} +8 -8
- package/dist/chunks/{generate-g9c3k2sz.js → repository-fy3w4x98.js} +18 -18
- package/dist/chunks/{generate-vswtd384.js → repository-fy698pgn.js} +20 -20
- package/dist/chunks/{generate-ajmxk7z2.js → repository-g34b934z.js} +15 -15
- package/dist/chunks/{generate-ee09rdq3.js → repository-g4nj3be3.js} +311 -311
- package/dist/chunks/repository-g50bcqhp.js +43 -0
- package/dist/chunks/{generate-57b9ws8p.js → repository-g5w8qwbj.js} +7 -7
- package/dist/chunks/{generate-gjv38h0k.js → repository-g69c5a8v.js} +16 -16
- package/dist/chunks/{generate-w1ad28wa.js → repository-gc135ar8.js} +8 -8
- package/dist/chunks/{generate-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-z3507kbh.js → repository-gkcjs2dn.js} +11 -11
- package/dist/chunks/{generate-t55xhmjx.js → repository-gpng080p.js} +16 -16
- package/dist/chunks/{generate-rv4s02rg.js → repository-gry8sgkd.js} +7 -7
- package/dist/chunks/{generate-6p2526mp.js → repository-gy4662d6.js} +11 -11
- package/dist/chunks/{generate-atz6g77g.js → repository-h16n41p4.js} +21 -21
- package/dist/chunks/{generate-h2b79v29.js → repository-h2b79v29.js} +2 -2
- package/dist/chunks/{generate-bzqyrf6j.js → repository-h2yw0gk4.js} +20 -20
- package/dist/chunks/{generate-435eggbz.js → repository-h4jx6m0r.js} +15 -15
- package/dist/chunks/{generate-7keeseff.js → repository-h4p4pa57.js} +8 -8
- package/dist/chunks/{generate-5txw87z1.js → repository-h6c2yg5r.js} +8 -8
- package/dist/chunks/{generate-ywacswhv.js → repository-h6qw898r.js} +11 -11
- package/dist/chunks/{generate-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-14qr745v.js → repository-h6yzxz9r.js} +17 -17
- package/dist/chunks/{generate-34bnvpfh.js → repository-hdjgtqrb.js} +29 -29
- package/dist/chunks/{generate-5v5aasd4.js → repository-hkgfm0m5.js} +17 -17
- package/dist/chunks/{generate-tbp0qxg2.js → repository-hp7m3mgg.js} +26 -26
- package/dist/chunks/{generate-mmy17vwk.js → repository-hw3ewgqj.js} +5 -5
- package/dist/chunks/{generate-39k0hmda.js → repository-j2htzqze.js} +2 -2
- package/dist/chunks/{generate-jpep6vf5.js → repository-j3pg2mx4.js} +1 -1
- package/dist/chunks/{generate-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{generate-bydnjh3t.js → repository-j58c5xyq.js} +9 -9
- package/dist/chunks/{generate-6cjqe6sy.js → repository-jnevnthy.js} +27 -27
- package/dist/chunks/repository-jqh9b0xq.js +18 -0
- package/dist/chunks/{generate-6nv25w3f.js → repository-k02x6tcx.js} +31 -31
- package/dist/chunks/{generate-xer3snnb.js → repository-k37ga4vh.js} +13 -9
- package/dist/chunks/{generate-gh5z95q3.js → repository-k70p9jzb.js} +9 -9
- package/dist/chunks/{generate-kygz6673.js → repository-kfj4fg87.js} +3 -3
- package/dist/chunks/{generate-qb7y9a6p.js → repository-kxam66j6.js} +11 -11
- package/dist/chunks/{generate-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{generate-pvkpwa2b.js → repository-m44fkk4m.js} +6 -6
- package/dist/chunks/{generate-06wny47j.js → repository-m993mvxq.js} +135 -135
- package/dist/chunks/{generate-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-r7pm0y1x.js → repository-mfct962c.js} +18 -18
- package/dist/chunks/{generate-stnmwbvn.js → repository-mfmqp3ds.js} +43 -43
- package/dist/chunks/{generate-mjqndqed.js → repository-mjqndqed.js} +5 -5
- package/dist/chunks/{generate-9pwf6adz.js → repository-mn0942hp.js} +30 -30
- package/dist/chunks/{generate-02hj8zpc.js → repository-mpd66srn.js} +1 -1
- package/dist/chunks/{generate-k1qrnqst.js → repository-mxr1v1s0.js} +8 -8
- package/dist/chunks/{generate-vx3jgdek.js → repository-my4zabxr.js} +3 -3
- package/dist/chunks/{generate-e0ne0z26.js → repository-nszdq9jy.js} +83 -83
- package/dist/chunks/{generate-01s90evy.js → repository-ntaqe8vs.js} +19 -19
- package/dist/chunks/{generate-1ader487.js → repository-ntbz9wjc.js} +11 -11
- package/dist/chunks/{generate-cmwkp3r5.js → repository-p42hj8p8.js} +8 -8
- package/dist/chunks/{generate-3j10s7ay.js → repository-p5ev1zz5.js} +9 -9
- package/dist/chunks/{generate-8f9gr54c.js → repository-pe71rtbx.js} +11 -11
- package/dist/chunks/{generate-vnh00gv4.js → repository-pg4zag0e.js} +24 -24
- package/dist/chunks/{generate-gra2jmjd.js → repository-pgze7171.js} +1 -1
- package/dist/chunks/{generate-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-5yzz6hd1.js → repository-pk7hbv6p.js} +4 -4
- package/dist/chunks/{generate-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/repository-prjw6x41.js +31 -0
- package/dist/chunks/{generate-g2xfdbz5.js → repository-q0cdrezg.js} +14 -14
- package/dist/chunks/{generate-0at0q6bk.js → repository-q6vgfyay.js} +6 -6
- package/dist/chunks/{generate-m4b4ezfy.js → repository-q76xcmv9.js} +16 -16
- package/dist/chunks/{generate-afv7vh30.js → repository-q7jxq9y7.js} +18 -18
- package/dist/chunks/{generate-x0y04rr6.js → repository-q7ngdz78.js} +27 -27
- package/dist/chunks/{generate-qnc92qwc.js → repository-qnc92qwc.js} +1 -1
- package/dist/chunks/{generate-zmr78fwr.js → repository-qne3fa44.js} +5 -5
- package/dist/chunks/{generate-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-9sy6gwjh.js → repository-qv02qg64.js} +5 -5
- package/dist/chunks/{generate-qxjc9qry.js → repository-qxjc9qry.js} +3 -3
- package/dist/chunks/{generate-xf4rrgwy.js → repository-qy0n8417.js} +23 -23
- package/dist/chunks/{generate-4eax54pa.js → repository-r3c58j5g.js} +3 -3
- package/dist/chunks/{generate-ze7rj9cq.js → repository-rb8xm6cm.js} +14 -14
- package/dist/chunks/{generate-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-8zvk0rgz.js → repository-rjfypheq.js} +27 -27
- package/dist/chunks/{generate-q0jhbe3n.js → repository-rjsk0n41.js} +9 -9
- package/dist/chunks/{generate-q0808tka.js → repository-rk3ekeb4.js} +5 -5
- package/dist/chunks/{generate-wg7dvnk1.js → repository-rm4s95e7.js} +85 -85
- package/dist/chunks/{generate-hyxvh71r.js → repository-rn938jk3.js} +42 -42
- package/dist/chunks/{generate-2pcsyv91.js → repository-rpp7c75e.js} +48 -48
- package/dist/chunks/{generate-qs9jyzer.js → repository-s4075y1x.js} +3 -3
- package/dist/chunks/{generate-m26jacn4.js → repository-s8qvywtq.js} +14 -14
- package/dist/chunks/{generate-823qfcak.js → repository-s8v3amej.js} +1 -1
- package/dist/chunks/{generate-0q2zy8rk.js → repository-s9nwmxxs.js} +27 -27
- package/dist/chunks/{generate-1fs3aa3n.js → repository-srhj5f56.js} +9 -9
- package/dist/chunks/{generate-fjh44twp.js → repository-t5483b9c.js} +2 -2
- package/dist/chunks/{generate-s8d7rejh.js → repository-t550f9t1.js} +4 -4
- package/dist/chunks/{generate-21tjqxxf.js → repository-t7wcnk30.js} +14 -14
- package/dist/chunks/{generate-067vzkwc.js → repository-t7y8x8j8.js} +16 -16
- package/dist/chunks/{generate-p5cm9qbj.js → repository-t8n7ymvq.js} +56 -45
- package/dist/chunks/{generate-z32f8zps.js → repository-tarna68p.js} +9 -9
- package/dist/chunks/{generate-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-0z57cqh9.js → repository-tbs2jyb2.js} +7 -7
- package/dist/chunks/{generate-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{generate-t0sqncza.js → repository-tdpndm1c.js} +5 -5
- package/dist/chunks/{generate-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{generate-0n25afzx.js → repository-tg6e69q8.js} +2 -2
- package/dist/chunks/{generate-gej6rn0s.js → repository-tgah08rb.js} +27 -27
- package/dist/chunks/{generate-peckcdzj.js → repository-tk5m56y0.js} +13 -13
- package/dist/chunks/{generate-j7vp94m4.js → repository-tzy9a5tv.js} +15 -15
- package/dist/chunks/{generate-v0es1rhs.js → repository-v0es1rhs.js} +2 -2
- package/dist/chunks/{generate-ppcxd43r.js → repository-ve1j3q85.js} +15 -15
- package/dist/chunks/{generate-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-5swqfww9.js → repository-vngdzw63.js} +28 -28
- package/dist/chunks/{generate-z3ra53tp.js → repository-vqkmcgyv.js} +3 -3
- package/dist/chunks/{generate-zq24ypn2.js → repository-vt8dt6j6.js} +30 -30
- package/dist/chunks/{generate-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
- package/dist/chunks/{generate-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-bh5cssh3.js → repository-w5ystqj3.js} +6 -6
- package/dist/chunks/{generate-gtvea8z9.js → repository-w6gqnbcy.js} +3 -3
- package/dist/chunks/{generate-yhecr6n4.js → repository-w7a2abxy.js} +12 -12
- package/dist/chunks/{generate-n7fmmpds.js → repository-wb70vhte.js} +11 -11
- package/dist/chunks/{generate-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{generate-b9rmm35c.js → repository-wnfszx78.js} +10 -10
- package/dist/chunks/{generate-wrp5ry2f.js → repository-wnh11861.js} +13 -13
- package/dist/chunks/{generate-gcxxm8yg.js → repository-x4k83k5f.js} +9 -9
- package/dist/chunks/{generate-7xf5yptx.js → repository-xhv84ab7.js} +28 -28
- package/dist/chunks/{generate-xkntkrq7.js → repository-xkntkrq7.js} +2 -2
- package/dist/chunks/{generate-34manr0f.js → repository-xmy45d6e.js} +23 -23
- package/dist/chunks/{generate-x4csn5yb.js → repository-xpwv3d90.js} +12 -12
- package/dist/chunks/{generate-qbyggmx7.js → repository-xvvw76kz.js} +7 -7
- package/dist/chunks/{generate-q0raz0xt.js → repository-y16p1w2y.js} +9 -9
- package/dist/chunks/{generate-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-4ntq7m4z.js → repository-y1w7bwtd.js} +20 -20
- package/dist/chunks/{generate-wc2m80g2.js → repository-y6brtjeh.js} +39 -34
- package/dist/chunks/repository-y6mhs71q.js +72 -0
- package/dist/chunks/{generate-7naq09xc.js → repository-ydszhw6d.js} +19 -19
- package/dist/chunks/{generate-bkrwt1n9.js → repository-yf33k1p3.js} +22 -22
- package/dist/chunks/{generate-01vz176c.js → repository-yfe405ny.js} +12 -12
- package/dist/chunks/{generate-pd0d3v86.js → repository-yn96zvvk.js} +8 -8
- package/dist/chunks/{generate-fep41vc5.js → repository-yprc5htm.js} +22 -22
- package/dist/chunks/{generate-thtzhryg.js → repository-yqt58wae.js} +13 -13
- package/dist/chunks/{generate-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-d2eqb18p.js → repository-z6b5w8cf.js} +2 -2
- package/dist/chunks/{generate-hbyhqfhs.js → repository-zd30eb5w.js} +5 -5
- package/dist/chunks/{generate-aer73x3z.js → repository-zhwzkc0c.js} +18 -18
- package/dist/chunks/{generate-rh2b0agp.js → repository-zk46kswf.js} +10 -10
- package/dist/chunks/{generate-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-7s2tn799.js → repository-zvjhkatg.js} +8 -8
- package/dist/chunks/{generate-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/chunks/{generate-scgrse2b.js → repository-zyk1yjk8.js} +5 -5
- 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 +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +88 -88
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- 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 +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- 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 +91 -91
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +72 -72
- 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 +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +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 +105 -105
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +92 -87
- 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 +97 -95
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +5 -5
- 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 +116 -115
- package/dist/plugin/provider/local.js +118 -0
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -115
- 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 -115
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- 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 +6 -6
- 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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- 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 +93 -93
- 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 +81 -81
- 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 +129 -129
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +118 -118
- package/dist/session/model-transport.js +7 -7
- 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 +224 -224
- 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 +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- 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 +1561 -1030
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- 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/types/aisdk-native.d.ts +1 -0
- package/dist/types/mcp/oauth.d.ts +1 -10
- package/dist/types/model.d.ts +1 -0
- package/dist/types/plugin/provider/chatgpt.d.ts +1 -1
- package/dist/types/plugin/provider/lmstudio.d.ts +2 -5
- package/dist/types/plugin/provider/local.d.ts +29 -0
- package/dist/types/plugin/provider/ollama.d.ts +2 -5
- package/dist/types/plugin/provider/vllm.d.ts +2 -5
- package/dist/types/shell/scan.d.ts +2 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +9 -10
- package/dist/chunks/generate-1vsafbzv.js +0 -173
- package/dist/chunks/generate-669tq793.js +0 -15
- package/dist/chunks/generate-81f48a1k.js +0 -137
- package/dist/chunks/generate-bp27thah.js +0 -145
- package/dist/chunks/generate-mzmyqq3a.js +0 -253
- package/dist/chunks/generate-phz3h32g.js +0 -18
- package/dist/chunks/generate-tc5sgnzb.js +0 -26
- package/dist/plugin/provider/gateway.js +0 -7
- package/dist/types/plugin/provider/gateway.d.ts +0 -1
- /package/dist/chunks/{generate-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3t0ybcrp.js → repository-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e3qxr5gk.js → repository-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createLocalProviderPlugin2
|
|
3
|
+
} from "./repository-5ej07zgb.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/provider/ollama.ts
|
|
6
|
+
import { Effect, Schema } from "effect";
|
|
7
|
+
var Details = Schema.Struct({
|
|
8
|
+
parent_model: Schema.String.pipe(Schema.optional),
|
|
9
|
+
format: Schema.String,
|
|
10
|
+
family: Schema.String,
|
|
11
|
+
families: Schema.Array(Schema.String).pipe(Schema.optional),
|
|
12
|
+
parameter_size: Schema.String,
|
|
13
|
+
quantization_level: Schema.String
|
|
14
|
+
});
|
|
15
|
+
var RemoteModel = Schema.Struct({
|
|
16
|
+
name: Schema.String,
|
|
17
|
+
model: Schema.String,
|
|
18
|
+
remote_model: Schema.String.pipe(Schema.optional),
|
|
19
|
+
remote_host: Schema.String.pipe(Schema.optional),
|
|
20
|
+
modified_at: Schema.String,
|
|
21
|
+
size: Schema.Int,
|
|
22
|
+
digest: Schema.String,
|
|
23
|
+
details: Details
|
|
24
|
+
});
|
|
25
|
+
var TagsResponse = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
26
|
+
var ShowRequest = Schema.Struct({ model: Schema.String });
|
|
27
|
+
var ShowResponse = Schema.Struct({
|
|
28
|
+
parameters: Schema.String.pipe(Schema.optional),
|
|
29
|
+
license: Schema.String.pipe(Schema.optional),
|
|
30
|
+
modified_at: Schema.String.pipe(Schema.optional),
|
|
31
|
+
details: Details.pipe(Schema.optional),
|
|
32
|
+
template: Schema.String.pipe(Schema.optional),
|
|
33
|
+
capabilities: Schema.Array(Schema.String).pipe(Schema.optional),
|
|
34
|
+
model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
|
|
35
|
+
});
|
|
36
|
+
var shows = new Map;
|
|
37
|
+
var make9 = createLocalProviderPlugin2({
|
|
38
|
+
id: "opencode.provider.ollama",
|
|
39
|
+
providerID: "ollama",
|
|
40
|
+
name: "Ollama",
|
|
41
|
+
origin: "http://127.0.0.1:11434",
|
|
42
|
+
stripPathSuffix: /\/(?:v1|api)$/,
|
|
43
|
+
discover: (client) => Effect.gen(function* () {
|
|
44
|
+
const cached = shows.get(client.root);
|
|
45
|
+
const previous = cached && cached.apiKey === client.apiKey ? cached.entries : new Map;
|
|
46
|
+
shows.set(client.root, { apiKey: client.apiKey, entries: previous });
|
|
47
|
+
const response = yield* client.getJson("/api/tags", TagsResponse);
|
|
48
|
+
const summaries = response.models.filter((model) => model.model.length > 0).toSorted((a, b) => a.model.localeCompare(b.model));
|
|
49
|
+
const entries = new Map;
|
|
50
|
+
const models = yield* Effect.forEach(summaries, (model) => Effect.gen(function* () {
|
|
51
|
+
const saved = previous.get(model.model);
|
|
52
|
+
const info = saved?.digest === model.digest ? saved.info : yield* client.postJson("/api/show", ShowRequest, { model: model.model }, ShowResponse);
|
|
53
|
+
entries.set(model.model, { digest: model.digest, info });
|
|
54
|
+
return { ...model, show: info };
|
|
55
|
+
}).pipe(Effect.orElseSucceed(() => {
|
|
56
|
+
return;
|
|
57
|
+
})), { concurrency: 4 });
|
|
58
|
+
shows.set(client.root, { apiKey: client.apiKey, entries });
|
|
59
|
+
return models.filter((model) => model !== undefined && (model.show.capabilities?.includes("completion") ?? false));
|
|
60
|
+
}),
|
|
61
|
+
model: (item) => ({
|
|
62
|
+
id: item.model,
|
|
63
|
+
name: item.name || item.model,
|
|
64
|
+
family: item.show.details?.family || item.details.family,
|
|
65
|
+
tools: item.show.capabilities?.includes("tools"),
|
|
66
|
+
vision: item.show.capabilities?.includes("vision"),
|
|
67
|
+
context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
|
|
68
|
+
})
|
|
69
|
+
});
|
|
70
|
+
var OllamaPlugin2 = make9();
|
|
71
|
+
|
|
72
|
+
export { make9, OllamaPlugin2 };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./repository-aqryd466.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service78
|
|
9
|
+
} from "./repository-w7a2abxy.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service68
|
|
12
|
+
} from "./repository-9s1pr29s.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-yf33k1p3.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service12
|
|
20
|
+
} from "./repository-k70p9jzb.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-m44fkk4m.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
29
|
var exports_skill2 = {};
|
|
30
30
|
__export(exports_skill2, {
|
|
31
31
|
ConfigSkillPlugin: () => exports_skill2,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin19
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin19 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service68;
|
|
43
|
+
const discovery = yield* Service12;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service78;
|
|
47
|
+
const watcher = yield* Service69;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -176,4 +176,4 @@ var Plugin33 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin19, exports_skill2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-9yxvhatz.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-5r637m3f.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-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: () => ID5,
|
|
22
|
+
Info: () => Info8,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service43,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available3,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node46,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event8 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info8 = Skill.Info;
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service43 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service43.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node46 = makeLocationNode({
|
|
112
|
+
service: Service43,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID5, Name2, available3, toModelOutput3, prepare3, Service43, node46, exports_skill5, Event8 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9yxvhatz.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-addxnjmp.js";
|
|
7
7
|
import {
|
|
8
8
|
Event19
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-5ng375bv.js";
|
|
10
10
|
import {
|
|
11
11
|
ID14
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-mfct962c.js";
|
|
13
13
|
import {
|
|
14
14
|
ID13,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service75
|
|
16
|
+
} from "./repository-9815d8pv.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load3,
|
|
19
|
+
derive3
|
|
20
|
+
} from "./repository-ef2cw19s.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -26,7 +26,7 @@ var providerID = ID13.make("modal");
|
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service75;
|
|
30
30
|
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load3(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,7 +62,7 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-my4zabxr.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-89za3yyg.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-t550f9t1.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-9e5bzkjp.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-2m8jawch.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-4z58m4b4.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./repository-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-9yxvhatz.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make19,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-t550f9t1.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-z5v4ffb3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event12,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
29
|
+
Options: () => Options5,
|
|
30
|
+
Service: () => Service61,
|
|
31
|
+
configured: () => configured5,
|
|
32
32
|
layer: () => layer20,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node63
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event12 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options5 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service61 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var layer20 = (options) => Layer.effect(
|
|
55
|
+
var layer20 = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer20 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event12.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make19({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer20 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service61.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer20 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured5(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
109
|
+
service: Service61,
|
|
110
110
|
layer: layer20(options),
|
|
111
111
|
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node63 = configured5();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event12, Options5, Service61, layer20, configured5, node63, exports_instruction_discovery };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
17
|
+
var exports_instructions2 = {};
|
|
18
|
+
__export(exports_instructions2, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions2,
|
|
20
20
|
make: () => make15,
|
|
21
|
-
render: () =>
|
|
21
|
+
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Available tools`;
|
|
35
|
-
function
|
|
35
|
+
function render2(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -46,7 +46,7 @@ ${tools.join(`
|
|
|
46
46
|
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render2(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -113,16 +113,16 @@ var key = Key3.make("core/codemode");
|
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
114
|
var make15 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make19({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
121
|
+
initial: render2,
|
|
122
122
|
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render2, update3, make15, exports_instructions2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9815d8pv.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-q6vgfyay.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin42,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin42 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin42, exports_tool_input_repair };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-fj3b7143.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node82
|
|
10
|
+
} from "./repository-w7a2abxy.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service56,
|
|
13
|
+
node58
|
|
14
|
+
} from "./repository-5r637m3f.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service19,
|
|
26
|
+
node: () => node21,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service19 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service78;
|
|
55
|
+
const permission = yield* Service56;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service19.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node21 = makeLocationNode({ service: Service19, layer, deps: [FSUtil.node, node82, node58] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service19, resolvePath2, node21, exports_file_access };
|