@opencode/core 0.0.0-dev-20140 → 0.0.0-dev-20142
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 +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{file-mutation-wj999h2p.js → skill-00npmb99.js} +26 -26
- package/dist/chunks/{file-mutation-kzrsyh6w.js → skill-02c0g429.js} +33 -33
- package/dist/chunks/{file-mutation-q1xwtbjg.js → skill-03jjrt0w.js} +10 -10
- package/dist/chunks/{file-mutation-734bexyk.js → skill-05qf823b.js} +8 -8
- package/dist/chunks/{file-mutation-2vs2nh1n.js → skill-06x8he3q.js} +4 -4
- package/dist/chunks/{file-mutation-b2206ta1.js → skill-0a00x9mv.js} +11 -11
- package/dist/chunks/{file-mutation-42cm5fy7.js → skill-0c0phx30.js} +9 -9
- package/dist/chunks/{file-mutation-csv67sr9.js → skill-0kk1k931.js} +6 -6
- package/dist/chunks/{file-mutation-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-0ryd0fps.js → skill-0ryd0fps.js} +2 -2
- package/dist/chunks/{file-mutation-yyqmpd0k.js → skill-11w9m96n.js} +11 -11
- package/dist/chunks/{file-mutation-y2j8yh6r.js → skill-13gznqa3.js} +7 -7
- package/dist/chunks/{file-mutation-148st7vf.js → skill-16h8edkp.js} +47 -47
- package/dist/chunks/{file-mutation-jdak5rwz.js → skill-16v69c2b.js} +29 -29
- package/dist/chunks/{file-mutation-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-6mqtga9t.js → skill-1mmwm91j.js} +24 -24
- package/dist/chunks/{file-mutation-wz52n462.js → skill-1qgb56yw.js} +11 -11
- package/dist/chunks/{file-mutation-pbm41ek2.js → skill-1qjrcvn5.js} +7 -7
- package/dist/chunks/{file-mutation-tqh1gha4.js → skill-1t18jzq8.js} +7 -7
- package/dist/chunks/skill-1tm0r3ht.js +4 -0
- package/dist/chunks/{file-mutation-h72fketk.js → skill-1zgs74eb.js} +16 -16
- package/dist/chunks/{file-mutation-21r38tys.js → skill-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-66r9f6z1.js → skill-23kefcxh.js} +5 -5
- package/dist/chunks/{file-mutation-2402vzrj.js → skill-2402vzrj.js} +1 -1
- package/dist/chunks/{file-mutation-vwpcpzep.js → skill-25cs5cen.js} +8 -8
- package/dist/chunks/{file-mutation-cjps6emg.js → skill-25hgm4w8.js} +11 -11
- package/dist/chunks/{file-mutation-jc03qmph.js → skill-2601w1yd.js} +13 -13
- package/dist/chunks/{file-mutation-0yndjmtb.js → skill-268xqsw9.js} +10 -10
- package/dist/chunks/{file-mutation-97j59xt0.js → skill-2850s3p4.js} +3 -3
- package/dist/chunks/{file-mutation-z63w68vq.js → skill-29x78va6.js} +6 -6
- package/dist/chunks/{file-mutation-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-2fgn2we9.js → skill-2fgn2we9.js} +2 -2
- package/dist/chunks/{file-mutation-dksh378m.js → skill-2pbxmrqc.js} +11 -11
- package/dist/chunks/{file-mutation-a7tyf22d.js → skill-3257v5cn.js} +7 -7
- package/dist/chunks/{file-mutation-ahmpaw3p.js → skill-334hkq4w.js} +44 -44
- package/dist/chunks/{file-mutation-msvrdtvz.js → skill-3abh18r5.js} +19 -19
- package/dist/chunks/{file-mutation-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-56dkfrzf.js → skill-3g33scay.js} +4 -4
- package/dist/chunks/{file-mutation-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-qk9jn0er.js → skill-3k3rtt8h.js} +6 -6
- package/dist/chunks/{file-mutation-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-ev5fh5k4.js → skill-3vdeqcgz.js} +18 -18
- package/dist/chunks/{file-mutation-y5ac8wb2.js → skill-3wsd781w.js} +7 -7
- package/dist/chunks/{file-mutation-hq9baps4.js → skill-3zp3aney.js} +14 -14
- package/dist/chunks/{file-mutation-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-mutation-pddkywbp.js → skill-41wzkj33.js} +14 -14
- package/dist/chunks/{file-mutation-vddhgdww.js → skill-42q3xe11.js} +9 -9
- package/dist/chunks/{file-mutation-k8t6hegk.js → skill-4a5f1ekx.js} +31 -31
- package/dist/chunks/{file-mutation-eprvd5et.js → skill-4e52hrf9.js} +33 -33
- package/dist/chunks/skill-4v7qdvcn.js +18 -0
- package/dist/chunks/{file-mutation-gfz6w900.js → skill-4wd4xxyz.js} +8 -8
- package/dist/chunks/{file-mutation-54tcyq79.js → skill-54tcyq79.js} +2 -2
- package/dist/chunks/{file-mutation-56gdpj1q.js → skill-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-mutation-fvyb0d37.js → skill-59zrm7r8.js} +37 -37
- package/dist/chunks/{file-mutation-5daktx2q.js → skill-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-6j5e3r4k.js → skill-5dze6yvc.js} +18 -18
- package/dist/chunks/{file-mutation-ycxpk0ww.js → skill-5kzmc53n.js} +10 -10
- package/dist/chunks/{file-mutation-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-47vaa6yx.js → skill-61z2gs1s.js} +12 -12
- package/dist/chunks/{file-mutation-4jz45x3c.js → skill-63wnyj3f.js} +12 -12
- package/dist/chunks/{file-mutation-669tq793.js → skill-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-bevvv3cp.js → skill-6bpgzr03.js} +40 -40
- package/dist/chunks/{file-mutation-qpp94anq.js → skill-6hr9dd4j.js} +24 -24
- package/dist/chunks/{file-mutation-h68v3css.js → skill-6k0y8mzf.js} +16 -16
- package/dist/chunks/{file-mutation-1v2bxf33.js → skill-6kng4h2d.js} +5 -5
- package/dist/chunks/{file-mutation-6msgmcgs.js → skill-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-5tszn4ax.js → skill-6sp93pzx.js} +15 -15
- package/dist/chunks/{file-mutation-x8s98bq4.js → skill-749x0f5j.js} +15 -15
- package/dist/chunks/{file-mutation-jf9anmv7.js → skill-74rrnwt7.js} +5 -5
- package/dist/chunks/{file-mutation-mgm6q1zc.js → skill-77fzfm76.js} +10 -10
- package/dist/chunks/{file-mutation-vmm7c11n.js → skill-7aqq8h81.js} +21 -21
- package/dist/chunks/{file-mutation-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-2k8khapm.js → skill-7dqw4kz8.js} +5 -5
- package/dist/chunks/{file-mutation-a38sw9p7.js → skill-7js60ywz.js} +13 -13
- package/dist/chunks/{file-mutation-k56wjetr.js → skill-7m3hnqeq.js} +13 -13
- package/dist/chunks/{file-mutation-jkcrv7ca.js → skill-7pva6gv1.js} +12 -12
- package/dist/chunks/{file-mutation-4tn55am6.js → skill-7xcrgmb4.js} +32 -32
- package/dist/chunks/{file-mutation-ejswn5dz.js → skill-80nyhj66.js} +16 -16
- package/dist/chunks/{file-mutation-fc3nmpyb.js → skill-8d7kcmbq.js} +3 -3
- package/dist/chunks/{file-mutation-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-3t4zhfce.js → skill-8g2z651g.js} +5 -5
- package/dist/chunks/{file-mutation-fqda728z.js → skill-8skcpzqd.js} +14 -14
- package/dist/chunks/{file-mutation-3ppxvrrf.js → skill-91pcw0n6.js} +20 -20
- package/dist/chunks/{file-mutation-h3ppr3y4.js → skill-94nwaqcc.js} +30 -30
- package/dist/chunks/{file-mutation-3s810fg1.js → skill-97j4gngf.js} +7 -7
- package/dist/chunks/{file-mutation-wffp848c.js → skill-98smxadc.js} +22 -22
- package/dist/chunks/{file-mutation-y38y6hn2.js → skill-997rpkr9.js} +8 -8
- package/dist/chunks/{file-mutation-a9q9r8vh.js → skill-9g34p2k9.js} +42 -42
- package/dist/chunks/skill-9g76wwr1.js +511 -0
- package/dist/chunks/{file-mutation-4n1zzw2c.js → skill-9gwez3dq.js} +17 -17
- package/dist/chunks/{file-mutation-nnn35nec.js → skill-9kanmw8a.js} +12 -12
- package/dist/chunks/{file-mutation-sc6gnrv5.js → skill-9qr3x41h.js} +17 -17
- package/dist/chunks/{file-mutation-dpamrayx.js → skill-9rtytnf7.js} +23 -23
- package/dist/chunks/{file-mutation-21jqz0k2.js → skill-9xccd5vv.js} +20 -20
- package/dist/chunks/{file-mutation-7ykd9f4c.js → skill-9znf0y6k.js} +27 -27
- package/dist/chunks/{file-mutation-bp8fbaqn.js → skill-a2rpfkac.js} +4 -4
- package/dist/chunks/{file-mutation-tznw5yn5.js → skill-a8exd7mx.js} +4 -4
- package/dist/chunks/{file-mutation-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-6178f4x4.js → skill-adn2h8sb.js} +23 -23
- package/dist/chunks/{file-mutation-3w0fmcng.js → skill-ag9w8cw1.js} +5 -5
- package/dist/chunks/{file-mutation-8tg35pr8.js → skill-ap404dk5.js} +16 -16
- package/dist/chunks/{file-mutation-yt0fqk68.js → skill-avm8jn6n.js} +5 -5
- package/dist/chunks/{file-mutation-9xftdn9f.js → skill-b3w7dffe.js} +4 -4
- package/dist/chunks/{file-mutation-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-vydzqw18.js → skill-b7nfschw.js} +6 -6
- package/dist/chunks/{file-mutation-nw9phmn3.js → skill-bghgmyvx.js} +11 -11
- package/dist/chunks/{file-mutation-z7f3wrvm.js → skill-bh0wem9h.js} +16 -16
- package/dist/chunks/{file-mutation-bjtzbw4r.js → skill-bjtzbw4r.js} +3 -3
- package/dist/chunks/{file-mutation-7mgyr624.js → skill-c0ckpnqp.js} +16 -16
- package/dist/chunks/{file-mutation-n53x74qf.js → skill-c3971yb9.js} +5 -5
- package/dist/chunks/{file-mutation-cq9arbxt.js → skill-c6asng6a.js} +3 -3
- package/dist/chunks/{file-mutation-c3t022at.js → skill-c7nhqqj4.js} +6 -6
- package/dist/chunks/{file-mutation-n07qdrr3.js → skill-c7wkft0g.js} +34 -34
- package/dist/chunks/{file-mutation-zh3br2dd.js → skill-c8xt6v7n.js} +21 -21
- package/dist/chunks/{file-mutation-yhezs4e9.js → skill-cdxemkaj.js} +10 -10
- package/dist/chunks/skill-crdk1rbx.js +252 -0
- package/dist/chunks/{file-mutation-gxv9vzf1.js → skill-czx5k01j.js} +37 -37
- package/dist/chunks/{file-mutation-2mq1h16s.js → skill-d4he2qe1.js} +9 -9
- package/dist/chunks/{file-mutation-zwdty0y2.js → skill-d6batjq3.js} +24 -24
- package/dist/chunks/{file-mutation-5s6q7qvq.js → skill-dgc45qwn.js} +3 -3
- package/dist/chunks/{file-mutation-xpj2jz7f.js → skill-dj1z6ncv.js} +11 -11
- package/dist/chunks/{file-mutation-tee68kt2.js → skill-dn6q32ya.js} +78 -78
- package/dist/chunks/{file-mutation-p5yjae2j.js → skill-dnb8y8a3.js} +17 -17
- package/dist/chunks/{file-mutation-dpkg50ah.js → skill-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-mutation-drwq78ky.js → skill-drwq78ky.js} +1 -1
- package/dist/chunks/{file-mutation-w4np39bn.js → skill-ds91f2d4.js} +26 -26
- package/dist/chunks/{file-mutation-63ynj987.js → skill-e38bdma3.js} +37 -37
- package/dist/chunks/{file-mutation-5qd3pb7m.js → skill-e3qxr5gk.js} +2 -2
- package/dist/chunks/{file-mutation-w96dfdsk.js → skill-e5kd07rq.js} +26 -26
- package/dist/chunks/{file-mutation-mvhw0p12.js → skill-e5xa8174.js} +6 -6
- package/dist/chunks/{file-mutation-5c9je0v9.js → skill-e88vmjxm.js} +4 -4
- package/dist/chunks/{file-mutation-8wf7jca5.js → skill-eajsakrm.js} +17 -17
- package/dist/chunks/{file-mutation-ecfe7b91.js → skill-ecfe7b91.js} +2 -2
- package/dist/chunks/{file-mutation-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-6hnb4zp6.js → skill-ekdmdmev.js} +23 -23
- package/dist/chunks/{file-mutation-abpyq771.js → skill-ep4tn5gz.js} +5 -5
- package/dist/chunks/{file-mutation-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-9awy3h8w.js → skill-ew72pvnw.js} +11 -11
- package/dist/chunks/{file-mutation-ja0r5mcy.js → skill-ewp1n0bz.js} +82 -82
- package/dist/chunks/{file-mutation-whhcne69.js → skill-ex0s0frp.js} +24 -24
- package/dist/chunks/{file-mutation-h1681mq4.js → skill-ez0vezmf.js} +27 -27
- package/dist/chunks/skill-f1yw1npd.js +69 -0
- package/dist/chunks/{file-mutation-yp2x3t23.js → skill-f2n192rq.js} +4 -4
- package/dist/chunks/{file-mutation-hcw4z3wx.js → skill-f3z776za.js} +10 -10
- package/dist/chunks/{file-mutation-w4a7eyjh.js → skill-fb7z6shm.js} +8 -8
- package/dist/chunks/{file-mutation-251fjh79.js → skill-ff353cc1.js} +11 -11
- package/dist/chunks/{file-mutation-v1csahhw.js → skill-fge42jay.js} +31 -31
- package/dist/chunks/{file-mutation-ryr25ayn.js → skill-fm2qvscf.js} +4 -4
- package/dist/chunks/{file-mutation-qg2aaskv.js → skill-g4jsk0a9.js} +43 -43
- package/dist/chunks/{file-mutation-gcprpp8g.js → skill-g5txedg6.js} +11 -11
- package/dist/chunks/{file-mutation-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-gfvb90ym.js → skill-gfvb90ym.js} +2 -2
- package/dist/chunks/{file-mutation-gq52g30n.js → skill-gs6c118g.js} +24 -24
- package/dist/chunks/{file-mutation-gv6a8nnw.js → skill-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-dwvzh0g2.js → skill-gzbkpp9m.js} +6 -6
- package/dist/chunks/{file-mutation-fmgayf2m.js → skill-h1ca0jb9.js} +20 -20
- package/dist/chunks/{file-mutation-5mtzsd3b.js → skill-h6r3nrb9.js} +4 -4
- package/dist/chunks/{file-mutation-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-kzjgey13.js → skill-hxakjkfe.js} +19 -19
- package/dist/chunks/{file-mutation-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-0nn5xkkm.js → skill-jd7qmwxb.js} +3 -3
- package/dist/chunks/{file-mutation-0kkp8se8.js → skill-jfxh0kgg.js} +19 -19
- package/dist/chunks/{file-mutation-94b3tsx9.js → skill-jkdr3yty.js} +3 -3
- package/dist/chunks/{file-mutation-qhfvqd3d.js → skill-jx8drw4f.js} +25 -25
- package/dist/chunks/{file-mutation-k3c624dm.js → skill-k3c624dm.js} +3 -3
- package/dist/chunks/{file-mutation-5frpvc34.js → skill-kbegyq1c.js} +2 -2
- package/dist/chunks/{file-mutation-a4ep3jk5.js → skill-kbyjzf60.js} +2 -2
- package/dist/chunks/{file-mutation-hnb6r381.js → skill-kjmz2c5z.js} +13 -13
- package/dist/chunks/{file-mutation-a684x4gz.js → skill-m25e2b87.js} +9 -9
- package/dist/chunks/{file-mutation-m3fdjcah.js → skill-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-eja4v0r3.js → skill-m6kb7by2.js} +25 -25
- package/dist/chunks/{file-mutation-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-was7srj9.js → skill-mj2t205x.js} +6 -6
- package/dist/chunks/{file-mutation-5w3fdfx1.js → skill-mt9rkq12.js} +11 -11
- package/dist/chunks/{file-mutation-e5mw80vf.js → skill-mzywpf3p.js} +4 -4
- package/dist/chunks/{file-mutation-jfc9taht.js → skill-n3mdyhyp.js} +23 -23
- package/dist/chunks/{file-mutation-8q7cq0y1.js → skill-n7d88tpn.js} +3 -3
- package/dist/chunks/{file-mutation-kkp8zx71.js → skill-n9arjmkd.js} +4 -4
- package/dist/chunks/{file-mutation-ekys18mh.js → skill-ndh1xh1f.js} +9 -9
- package/dist/chunks/{file-mutation-6wg7wrda.js → skill-nemdbz9d.js} +8 -8
- package/dist/chunks/{file-mutation-txmjwfyc.js → skill-njekcm94.js} +20 -20
- package/dist/chunks/{file-mutation-f6m4whh5.js → skill-nmvzbvt8.js} +1 -1
- package/dist/chunks/{file-mutation-sh9f5a33.js → skill-nns3g23r.js} +16 -16
- package/dist/chunks/{file-mutation-m2d0j7c0.js → skill-nq7qbqzc.js} +9 -9
- package/dist/chunks/{file-mutation-pdgjaq1g.js → skill-nqr3ys5x.js} +12 -12
- package/dist/chunks/{file-mutation-gen74120.js → skill-nwc6da8t.js} +170 -170
- package/dist/chunks/{file-mutation-kdt9dfjc.js → skill-nycqf4ms.js} +18 -18
- package/dist/chunks/{file-mutation-w69gqfj7.js → skill-p073vqmt.js} +15 -15
- package/dist/chunks/{file-mutation-8v6pyhej.js → skill-phstrbs2.js} +8 -8
- package/dist/chunks/{file-mutation-4cmbkmgr.js → skill-pj5847cm.js} +10 -10
- package/dist/chunks/{file-mutation-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-428ep8fh.js → skill-pnaxc6j9.js} +8 -8
- package/dist/chunks/{file-mutation-psazpmmj.js → skill-psazpmmj.js} +2 -2
- package/dist/chunks/{file-mutation-jcezh7qt.js → skill-pwcsxcmh.js} +44 -44
- package/dist/chunks/{file-mutation-zve3m6bt.js → skill-q04m54rk.js} +20 -20
- package/dist/chunks/{file-mutation-akrnn5pm.js → skill-q0qebxta.js} +11 -11
- package/dist/chunks/{file-mutation-p6a148wd.js → skill-q1anwctt.js} +20 -20
- package/dist/chunks/{file-mutation-w7hky2xc.js → skill-q1c8xkqp.js} +3 -3
- package/dist/chunks/{file-mutation-14ej6ymt.js → skill-q22rvfjm.js} +26 -26
- package/dist/chunks/{file-mutation-54dpjfpm.js → skill-qbkpjkha.js} +4 -4
- package/dist/chunks/{file-mutation-vncycja5.js → skill-qq11w61w.js} +4 -4
- package/dist/chunks/{file-mutation-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-hnr5yq9h.js → skill-qte5z7bc.js} +5 -5
- package/dist/chunks/{file-mutation-7nh5b0q3.js → skill-qwjc5wcb.js} +5 -5
- package/dist/chunks/{file-mutation-p925w6xz.js → skill-r1w9dnqx.js} +3 -3
- package/dist/chunks/{file-mutation-mvfsc1pv.js → skill-r5x6zcsm.js} +3 -3
- package/dist/chunks/{file-mutation-6q6ydz24.js → skill-r8ghxzpe.js} +13 -13
- package/dist/chunks/{file-mutation-ekr4chvv.js → skill-rcn34fdm.js} +1 -1
- package/dist/chunks/{file-mutation-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-k315zjbs.js → skill-rhy82rhj.js} +4 -4
- package/dist/chunks/{file-mutation-g101zjxn.js → skill-rkmvfbb2.js} +11 -11
- package/dist/chunks/{file-mutation-6pc27hjz.js → skill-rkprpv83.js} +6 -6
- package/dist/chunks/{file-mutation-9cdkxrrm.js → skill-s2tq498k.js} +39 -39
- package/dist/chunks/{file-mutation-yrznvahk.js → skill-s4enseaf.js} +2 -2
- package/dist/chunks/{file-mutation-0gdmqesm.js → skill-s8d7rejh.js} +4 -4
- package/dist/chunks/{file-mutation-qj8eh1ht.js → skill-s8j6jbjj.js} +21 -21
- package/dist/chunks/{file-mutation-1vtmwdw8.js → skill-sgtqw17q.js} +9 -9
- package/dist/chunks/{file-mutation-12yfxaf8.js → skill-src6hn8w.js} +45 -45
- package/dist/chunks/{file-mutation-pf2hb43r.js → skill-ss0awb04.js} +6 -6
- package/dist/chunks/{file-mutation-jqc0r34h.js → skill-sshbqmfw.js} +13 -13
- package/dist/chunks/{file-mutation-8ahbx5ft.js → skill-swkcqaz6.js} +20 -20
- package/dist/chunks/{file-mutation-fezjgrjw.js → skill-swyeterd.js} +48 -48
- package/dist/chunks/{file-mutation-6zc9emtf.js → skill-syjxtbsv.js} +6 -6
- package/dist/chunks/{file-mutation-98djycy1.js → skill-t0bwek69.js} +5 -5
- package/dist/chunks/{file-mutation-rp0mscx1.js → skill-t590yz96.js} +11 -11
- package/dist/chunks/{file-mutation-q5h7ddmx.js → skill-t98dx7m2.js} +15 -15
- package/dist/chunks/{file-mutation-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-hh6j4qzk.js → skill-tcq3k5r9.js} +11 -11
- package/dist/chunks/{file-mutation-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-qey8d69y.js → skill-tg22qk07.js} +5 -5
- package/dist/chunks/{file-mutation-ptbv4pk8.js → skill-tka23wc0.js} +16 -16
- package/dist/chunks/{file-mutation-tz4hjafm.js → skill-tm6e0h5b.js} +59 -59
- package/dist/chunks/{file-mutation-aqwq8v55.js → skill-tspg3h39.js} +20 -20
- package/dist/chunks/{file-mutation-tvtrv512.js → skill-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-9x77fmbz.js → skill-tx92n959.js} +4 -4
- package/dist/chunks/{file-mutation-vyft3kdg.js → skill-tzyehq01.js} +17 -17
- package/dist/chunks/{file-mutation-y3v3et4z.js → skill-v2eny6c5.js} +10 -10
- package/dist/chunks/{file-mutation-rdvvn9hb.js → skill-v48tfqar.js} +11 -11
- package/dist/chunks/{file-mutation-hs5j4hes.js → skill-v55d16gq.js} +17 -17
- package/dist/chunks/{file-mutation-8snyfeb1.js → skill-v5xzwm0a.js} +27 -27
- package/dist/chunks/{file-mutation-2hvke9dj.js → skill-vedaxc4k.js} +2 -2
- package/dist/chunks/{file-mutation-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-jdqyxw3b.js → skill-vfnexndp.js} +6 -6
- package/dist/chunks/{file-mutation-51f5btjf.js → skill-vqfzq50h.js} +6 -6
- package/dist/chunks/{file-mutation-sfntmzm9.js → skill-vtd2qwnf.js} +1 -1
- package/dist/chunks/{file-mutation-s9wt6nxh.js → skill-vv835hat.js} +16 -16
- package/dist/chunks/{file-mutation-vzcthcp8.js → skill-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-mutation-41wjga43.js → skill-w0jn8rt3.js} +29 -29
- package/dist/chunks/{file-mutation-gv560zch.js → skill-w18wgvrv.js} +7 -7
- package/dist/chunks/{file-mutation-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-f85bts8p.js → skill-w7jbnjxb.js} +15 -15
- package/dist/chunks/{file-mutation-7a1j6db7.js → skill-w9fc5d5w.js} +23 -23
- package/dist/chunks/{file-mutation-f913swrk.js → skill-w9y6w4kg.js} +12 -12
- package/dist/chunks/{file-mutation-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/skill-wqp1z6jd.js +26 -0
- package/dist/chunks/{file-mutation-pwmxh9fk.js → skill-wwpks7p5.js} +11 -11
- package/dist/chunks/{file-mutation-m6gg776v.js → skill-wx3saxy4.js} +25 -25
- package/dist/chunks/{file-mutation-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-kr411s0e.js → skill-x68pwex9.js} +33 -33
- package/dist/chunks/{file-mutation-v87vwamw.js → skill-x85mhps5.js} +31 -31
- package/dist/chunks/{file-mutation-dmqcgk4z.js → skill-xkntkrq7.js} +5 -5
- package/dist/chunks/{file-mutation-b3rcq7gz.js → skill-xtcg24kp.js} +24 -24
- package/dist/chunks/{file-mutation-j28g7kgm.js → skill-y0qe19cd.js} +16 -16
- package/dist/chunks/{file-mutation-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-xf8yqmad.js → skill-y56ehv6b.js} +9 -9
- package/dist/chunks/{file-mutation-cxea88d3.js → skill-y5a14ber.js} +16 -16
- package/dist/chunks/{file-mutation-7by1jpv1.js → skill-y65e7m35.js} +12 -12
- package/dist/chunks/{file-mutation-6scazjw0.js → skill-y9rc9rys.js} +48 -48
- package/dist/chunks/{file-mutation-hyn9ed47.js → skill-ya9q2009.js} +5 -5
- package/dist/chunks/{file-mutation-6p5d1njf.js → skill-yaa0gv17.js} +4 -4
- package/dist/chunks/{file-mutation-rvm4tq5r.js → skill-yaq5fw1b.js} +4 -4
- package/dist/chunks/{file-mutation-yf10kn3d.js → skill-yf10kn3d.js} +1 -1
- package/dist/chunks/{file-mutation-fw181sc9.js → skill-yh7kjdpc.js} +9 -9
- package/dist/chunks/{file-mutation-yrhqyw5v.js → skill-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-axksm2s1.js → skill-z1wmbgsm.js} +15 -15
- package/dist/chunks/{file-mutation-6vzkpxwg.js → skill-z3js4e3r.js} +30 -30
- package/dist/chunks/{file-mutation-v7wm3v9n.js → skill-z3zmyky6.js} +28 -28
- package/dist/chunks/{file-mutation-jwz3n59h.js → skill-z6qgdmxj.js} +3 -3
- package/dist/chunks/{file-mutation-zeh9ct20.js → skill-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-zd3xxgdb.js → skill-zkj86c8p.js} +8 -8
- package/dist/chunks/{file-mutation-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- 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 +372 -371
- 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/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -362
- package/dist/instruction-discovery.js +85 -85
- 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 +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- 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 +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -333
- 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 +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- 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/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- 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 +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -348
- package/dist/plugin/tool-input-repair.js +2 -2
- 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 +98 -0
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- 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 +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +94 -94
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- 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 +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +89 -89
- 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 +127 -127
- 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 +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +110 -110
- 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 +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/plugin/verbosity.d.ts +3 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- 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 +7 -7
- 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 +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 +8 -8
- package/dist/chunks/file-mutation-0mesazry.js +0 -4
- package/dist/chunks/file-mutation-1b0d2nk6.js +0 -26
- package/dist/chunks/file-mutation-1b6e2zb4.js +0 -507
- package/dist/chunks/file-mutation-7fj5dwt0.js +0 -18
- package/dist/chunks/file-mutation-cenkgqkx.js +0 -252
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-34c7v6d4.js → skill-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → skill-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → skill-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → skill-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-05qf823b.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin43,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin43 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin34 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint6, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin34 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin43, exports_firecrawl };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-yaa0gv17.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node78
|
|
8
|
+
} from "./skill-pj5847cm.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event7,
|
|
21
|
+
ID: () => ID3,
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service37,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node40
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event7 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID3 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID3
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID3,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service37 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service83;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service74;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service37.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node40 = makeLocationNode({
|
|
188
|
+
service: Service37,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node87,
|
|
190
|
+
deps: [node87, node78]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID3, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service37, node40, exports_websearch3, Event7 };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
11
|
Plugin: () => Plugin39,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
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 endpoint2 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -49,7 +49,7 @@ var Plugin39 = 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(endpoint2);
|
|
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 { endpoint2, Plugin39, exports_exa };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-yaa0gv17.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service79,
|
|
12
12
|
node83
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-kbyjzf60.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./skill-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service49,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node51
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service49 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,7 +39,7 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
44
|
const location = yield* Service79;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service49.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node51 = makeLocationNode({ service: Service49, layer, deps: [node87, node83] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service49, node51, exports_rpc, define2 };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-s8d7rejh.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-bjtzbw4r.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-922hggd3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service79,
|
|
8
8
|
node83
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-kbyjzf60.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service19,
|
|
12
|
+
node21
|
|
13
|
+
} from "./skill-jfxh0kgg.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./skill-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -22,20 +22,20 @@ __export(exports_filesystem, {
|
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
Entry: () => Entry2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event3,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
30
|
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError2,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service18,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node20
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event3 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service18 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service18, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
94
|
const location = yield* Service79;
|
|
95
|
-
const search = yield*
|
|
95
|
+
const search = yield* Service19;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service18.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node20 = makeLocationNode({
|
|
144
|
+
service: Service18,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node, node83,
|
|
146
|
+
deps: [FSUtil.node, node83, node21]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service18, node20, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID10 = Session.ID;
|
|
5
|
+
var Info14 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID10, Info14, SessionSchema2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin37,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin37 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin48 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin37, exports_identity };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service41
|
|
3
|
+
} from "./skill-vqfzq50h.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-4v7qdvcn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service46
|
|
9
|
+
} from "./skill-czx5k01j.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service41;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service46), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error3,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make18,
|
|
14
|
+
node: () => node55,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error3 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make18 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node55 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error3, ProviderNotFound2, make18, RegistryService2, registry2, registryNode2, node55, exports_driver };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-05qf823b.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-yaa0gv17.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./skill-z3zmyky6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-wx3saxy4.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID13,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service76
|
|
22
|
+
} from "./skill-9znf0y6k.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID12,
|
|
25
|
+
Info26
|
|
26
|
+
} from "./skill-ez0vezmf.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID13.gitlab;
|
|
39
|
+
var integrationID = ID14.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
60
|
+
const providers = yield* Service76;
|
|
61
61
|
const bus = yield* Service83;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info26.default(providerID, ID12.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID13.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|