@opencode/core 0.0.0-dev-19602 → 0.0.0-dev-19607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{ripgrep-t550f9t1.js → bus-02nrjc1r.js} +8 -8
- package/dist/chunks/{ripgrep-yt0fqk68.js → bus-0f9afca0.js} +5 -5
- package/dist/chunks/{ripgrep-1gfvv37n.js → bus-0ffvsmqa.js} +11 -11
- package/dist/chunks/{ripgrep-49nxeqwp.js → bus-0h0xn3fd.js} +30 -30
- package/dist/chunks/{ripgrep-03cq7ksh.js → bus-0hng8cbp.js} +17 -17
- package/dist/chunks/{ripgrep-qgn6gcr1.js → bus-0jwsre1p.js} +5 -5
- package/dist/chunks/{ripgrep-kn5jtnf9.js → bus-0n6rap9z.js} +19 -19
- package/dist/chunks/{ripgrep-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-31ybmgpq.js → bus-0pwp6vee.js} +17 -17
- package/dist/chunks/{ripgrep-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
- package/dist/chunks/{ripgrep-hcz3zddy.js → bus-0r7yqxbf.js} +5 -5
- package/dist/chunks/{ripgrep-8j1202qn.js → bus-11nsfp7x.js} +23 -23
- package/dist/chunks/{ripgrep-gn2hfjap.js → bus-15nepkqg.js} +8 -8
- package/dist/chunks/{ripgrep-p0b4ytnr.js → bus-15zevn5w.js} +6 -6
- package/dist/chunks/{ripgrep-nw2nz702.js → bus-179189h4.js} +4 -4
- package/dist/chunks/{ripgrep-ds2g25h4.js → bus-1c2v1v3n.js} +32 -32
- package/dist/chunks/{ripgrep-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/bus-1m7ztpz9.js +26 -0
- package/dist/chunks/{ripgrep-hma6wv7h.js → bus-1p84h329.js} +18 -18
- package/dist/chunks/{ripgrep-0sm34qmf.js → bus-1vh9c756.js} +17 -17
- package/dist/chunks/{ripgrep-czw1qt7p.js → bus-1xj9a01p.js} +5 -5
- package/dist/chunks/{ripgrep-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-x3qc7sc6.js → bus-236xsrf6.js} +24 -24
- package/dist/chunks/{ripgrep-2nv5fzs9.js → bus-2596a819.js} +13 -13
- package/dist/chunks/{ripgrep-gmpff112.js → bus-25k60r6z.js} +17 -17
- package/dist/chunks/{ripgrep-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-kxm5s6yc.js → bus-2fqncqd8.js} +27 -27
- package/dist/chunks/{ripgrep-2jbbv5tb.js → bus-2hhrjxd4.js} +16 -16
- package/dist/chunks/{ripgrep-qaw7gzvj.js → bus-2p5j9sv7.js} +17 -17
- package/dist/chunks/{ripgrep-q7d9vt9f.js → bus-2ryrfs8t.js} +18 -18
- package/dist/chunks/{ripgrep-j6rsnrbc.js → bus-2t9y4ena.js} +22 -22
- package/dist/chunks/{ripgrep-6x0gytms.js → bus-2vvyjm96.js} +86 -86
- package/dist/chunks/{ripgrep-vskpp35t.js → bus-2wmcpc5j.js} +11 -11
- package/dist/chunks/{ripgrep-56gdpj1q.js → bus-33w4ejhs.js} +6 -6
- package/dist/chunks/{ripgrep-dpzg5xnq.js → bus-36eabxvj.js} +6 -6
- package/dist/chunks/{ripgrep-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-f0xd9knp.js → bus-3vk31qq0.js} +1 -1
- package/dist/chunks/{ripgrep-n57z002n.js → bus-3vnz1vry.js} +14 -14
- package/dist/chunks/{ripgrep-vcpz2z7s.js → bus-437w8xnq.js} +4 -4
- package/dist/chunks/{ripgrep-ksqz3pap.js → bus-4czdean4.js} +19 -19
- package/dist/chunks/{ripgrep-3ds7w9ed.js → bus-4fb4zfkv.js} +3 -3
- package/dist/chunks/{ripgrep-qwn7812e.js → bus-4ma4crhq.js} +18 -18
- package/dist/chunks/{ripgrep-2fgn2we9.js → bus-4sn99hha.js} +5 -5
- package/dist/chunks/{ripgrep-1jvw600p.js → bus-4vdg0vy0.js} +32 -32
- package/dist/chunks/{ripgrep-892y1dhq.js → bus-4xgsacd1.js} +19 -19
- package/dist/chunks/{ripgrep-0t098hqn.js → bus-5d17xbav.js} +5 -5
- package/dist/chunks/{ripgrep-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-zw0mbbcz.js → bus-5dfrxsm4.js} +8 -8
- package/dist/chunks/{ripgrep-4sct5deg.js → bus-5nc0fa0s.js} +23 -23
- package/dist/chunks/{ripgrep-2pyh63en.js → bus-5pjsqvg3.js} +22 -22
- package/dist/chunks/{ripgrep-e3qxr5gk.js → bus-5qd3pb7m.js} +2 -2
- package/dist/chunks/{ripgrep-q5zedzf9.js → bus-5rr0th1e.js} +15 -15
- package/dist/chunks/{ripgrep-6qwwd18r.js → bus-5rvay4qb.js} +4 -4
- package/dist/chunks/{ripgrep-jz1pxar4.js → bus-5t01hw7s.js} +1 -1
- package/dist/chunks/{ripgrep-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-m77pw7dw.js → bus-62akg8e4.js} +24 -24
- package/dist/chunks/{ripgrep-vvccsdf3.js → bus-63xctefh.js} +6 -6
- package/dist/chunks/{ripgrep-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-p9s0eh58.js → bus-686zvbc5.js} +64 -64
- package/dist/chunks/{ripgrep-vfgx9b51.js → bus-6cr8vpfb.js} +3 -3
- package/dist/chunks/{ripgrep-2402vzrj.js → bus-6h73sxmp.js} +5 -5
- package/dist/chunks/{ripgrep-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-wa698kjv.js → bus-6xf9vr65.js} +51 -51
- package/dist/chunks/{ripgrep-71q4at8m.js → bus-71q4at8m.js} +1 -1
- package/dist/chunks/{ripgrep-ym7eccym.js → bus-72774a2p.js} +6 -6
- package/dist/chunks/{ripgrep-1bbkgx8g.js → bus-73tb2d7t.js} +3 -3
- package/dist/chunks/{ripgrep-189gvxgf.js → bus-73z097ay.js} +14 -14
- package/dist/chunks/{ripgrep-rg9pm5jb.js → bus-7414g21f.js} +43 -43
- package/dist/chunks/{ripgrep-tcs4ev01.js → bus-74ag36aw.js} +19 -19
- package/dist/chunks/{ripgrep-a2ejp4ca.js → bus-75tpbtqb.js} +35 -35
- package/dist/chunks/{ripgrep-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-6rdgvekc.js → bus-7kj26btf.js} +3 -3
- package/dist/chunks/{ripgrep-agmj7b0k.js → bus-7vgsmbaw.js} +9 -9
- package/dist/chunks/{ripgrep-7gpx9yxs.js → bus-7zgx3034.js} +18 -18
- package/dist/chunks/{ripgrep-tcezcvh9.js → bus-89znhe33.js} +4 -4
- package/dist/chunks/{ripgrep-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-8p4f9s12.js → bus-8p4f9s12.js} +2 -2
- package/dist/chunks/{ripgrep-ajbpkfam.js → bus-8pbhr5rb.js} +11 -11
- package/dist/chunks/{ripgrep-wva7n27r.js → bus-8qvaa28h.js} +10 -10
- package/dist/chunks/{ripgrep-df5tg79n.js → bus-9a5x4ndh.js} +32 -32
- package/dist/chunks/{ripgrep-e1n4w09h.js → bus-9cebcpzz.js} +30 -30
- package/dist/chunks/{ripgrep-es6p32db.js → bus-9gwk1d27.js} +310 -310
- package/dist/chunks/{ripgrep-9bc93h43.js → bus-9m5kzw0e.js} +11 -11
- package/dist/chunks/{ripgrep-y8639ad0.js → bus-9yma6mz2.js} +24 -24
- package/dist/chunks/{ripgrep-a1bz86dw.js → bus-a1bz86dw.js} +3 -3
- package/dist/chunks/{ripgrep-wds0x6j9.js → bus-a3e7ey2w.js} +5 -5
- package/dist/chunks/{ripgrep-vpnc1spb.js → bus-a4f8rw7k.js} +11 -11
- package/dist/chunks/{ripgrep-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-4p3ge18s.js → bus-aef6edcj.js} +11 -11
- package/dist/chunks/{ripgrep-44e7s01k.js → bus-aez8skhx.js} +35 -35
- package/dist/chunks/{ripgrep-x353b1jt.js → bus-at1kfnmk.js} +8 -8
- package/dist/chunks/{ripgrep-8h150kyy.js → bus-atssdtxp.js} +6 -6
- package/dist/chunks/{ripgrep-12x6e8th.js → bus-ay1e4s3v.js} +17 -17
- package/dist/chunks/{ripgrep-h3qyz6r3.js → bus-b5ky3g00.js} +2 -2
- package/dist/chunks/{ripgrep-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-d3tz2ej1.js → bus-b8ey678w.js} +9 -9
- package/dist/chunks/{ripgrep-2c7f7wtp.js → bus-bbtrsqmd.js} +28 -28
- package/dist/chunks/{ripgrep-8jzp8wqa.js → bus-bc94wkq6.js} +28 -28
- package/dist/chunks/{ripgrep-gzbkpp9m.js → bus-bdqrk2vk.js} +4 -4
- package/dist/chunks/{ripgrep-8jpwh3cy.js → bus-bje2m678.js} +30 -30
- package/dist/chunks/{ripgrep-rxmh2sg9.js → bus-brbkvpcb.js} +14 -14
- package/dist/chunks/{ripgrep-kmfbtjhd.js → bus-c3nbwr53.js} +34 -34
- package/dist/chunks/{ripgrep-4f0srg1f.js → bus-c72vda60.js} +29 -29
- package/dist/chunks/{ripgrep-s2e9xs2h.js → bus-c833tjt1.js} +32 -32
- package/dist/chunks/{ripgrep-5j2tm17g.js → bus-c9f7p254.js} +20 -20
- package/dist/chunks/{ripgrep-zvt5dnpc.js → bus-ca7w653e.js} +4 -4
- package/dist/chunks/{ripgrep-ra713epb.js → bus-cadqg8yk.js} +20 -20
- package/dist/chunks/{ripgrep-nwqvjhxj.js → bus-cdvm88eq.js} +9 -9
- package/dist/chunks/{ripgrep-cfpkc3c9.js → bus-cfpkc3c9.js} +2 -2
- package/dist/chunks/{ripgrep-x8pc9v5x.js → bus-cj2xyb66.js} +20 -20
- package/dist/chunks/{ripgrep-ypveyybc.js → bus-cnb5z5cf.js} +11 -11
- package/dist/chunks/{ripgrep-67dbk5sq.js → bus-cpng0f85.js} +28 -28
- package/dist/chunks/{ripgrep-pj5x48v7.js → bus-cq1ssszz.js} +6 -6
- package/dist/chunks/{ripgrep-jdwwbwbn.js → bus-cst62dfw.js} +19 -19
- package/dist/chunks/{ripgrep-zt5h3yfa.js → bus-d09006c3.js} +2 -2
- package/dist/chunks/{ripgrep-bg6j762k.js → bus-d1e2r7xq.js} +10 -10
- package/dist/chunks/{ripgrep-21w4258z.js → bus-dbmkm35e.js} +1 -1
- package/dist/chunks/{ripgrep-tdd2jx9c.js → bus-dn2g8ty9.js} +15 -15
- package/dist/chunks/{ripgrep-jwcy2c2z.js → bus-dpkg50ah.js} +4 -4
- package/dist/chunks/{ripgrep-6aqnmcny.js → bus-dpmm3pd1.js} +30 -30
- package/dist/chunks/{ripgrep-bn746h9y.js → bus-e16t29dh.js} +6 -6
- package/dist/chunks/{ripgrep-e5nv3ght.js → bus-e5nv3ght.js} +2 -2
- package/dist/chunks/{ripgrep-hjt4xg1x.js → bus-e82z9tr0.js} +7 -7
- package/dist/chunks/{ripgrep-80wpcwwr.js → bus-eebdtnk6.js} +11 -11
- package/dist/chunks/{ripgrep-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-r2zs1qxw.js → bus-engx0f1y.js} +23 -23
- package/dist/chunks/{ripgrep-gcngnys8.js → bus-eq4mjx14.js} +28 -28
- package/dist/chunks/{ripgrep-38c78d9y.js → bus-erswsgcd.js} +8 -8
- package/dist/chunks/{ripgrep-jt7tdy1h.js → bus-ete3mxyp.js} +16 -16
- package/dist/chunks/{ripgrep-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-kez65ze9.js → bus-ewp6a6x8.js} +25 -25
- package/dist/chunks/{ripgrep-f828m53h.js → bus-f828m53h.js} +2 -2
- package/dist/chunks/{ripgrep-k9m5ndvb.js → bus-fcxm0egy.js} +15 -15
- package/dist/chunks/{ripgrep-anjeghmy.js → bus-fec9d9pd.js} +60 -60
- package/dist/chunks/{ripgrep-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
- package/dist/chunks/{ripgrep-bajakh74.js → bus-fxqygnfa.js} +4 -4
- package/dist/chunks/{ripgrep-xxf1z6td.js → bus-fz5sfred.js} +22 -22
- package/dist/chunks/{ripgrep-x6qre90b.js → bus-g4rgasps.js} +11 -11
- package/dist/chunks/{ripgrep-w5d72rt0.js → bus-g8n86g3v.js} +2 -2
- package/dist/chunks/{ripgrep-97czctv7.js → bus-gbcrwt4m.js} +13 -13
- package/dist/chunks/{ripgrep-ah8fqh7n.js → bus-gcrpxwkb.js} +25 -25
- package/dist/chunks/{ripgrep-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-cbbc3wgw.js → bus-gemkh5vt.js} +24 -24
- package/dist/chunks/{ripgrep-0hg8636t.js → bus-gmjjhz4f.js} +9 -9
- package/dist/chunks/{ripgrep-3y9bq3t8.js → bus-gx8hye9g.js} +6 -6
- package/dist/chunks/{ripgrep-7h39wxaq.js → bus-gzyaaj9q.js} +13 -13
- package/dist/chunks/{ripgrep-h03wrkyp.js → bus-h03wrkyp.js} +2 -2
- package/dist/chunks/{ripgrep-v7wvwwvc.js → bus-h11wzpyy.js} +22 -22
- package/dist/chunks/{ripgrep-jpzcdmvj.js → bus-h3sg4en2.js} +10 -10
- package/dist/chunks/{ripgrep-egmb5x89.js → bus-h3ysd6bx.js} +36 -36
- package/dist/chunks/{ripgrep-bdd1mh0w.js → bus-h686kfbk.js} +9 -9
- package/dist/chunks/{ripgrep-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-m86bnw2c.js → bus-h7ygw6q4.js} +9 -9
- package/dist/chunks/{ripgrep-nev01g0y.js → bus-hp23vqgj.js} +4 -4
- package/dist/chunks/{ripgrep-0tes6vj0.js → bus-hs3grr87.js} +21 -21
- package/dist/chunks/{ripgrep-tyyv5ce2.js → bus-hspc2tk9.js} +1 -1
- package/dist/chunks/{ripgrep-j78hbbge.js → bus-hvk5xh9a.js} +43 -43
- package/dist/chunks/{ripgrep-2fcjxh44.js → bus-hy39tjkp.js} +9 -9
- package/dist/chunks/{ripgrep-ddxnayy4.js → bus-j2149bqs.js} +11 -11
- package/dist/chunks/{ripgrep-mx4mv9ny.js → bus-j35w4m74.js} +6 -6
- package/dist/chunks/{ripgrep-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-g97bb4fb.js → bus-jca4demv.js} +2 -2
- package/dist/chunks/{ripgrep-n91t41cy.js → bus-jcmyxw9c.js} +12 -12
- package/dist/chunks/{ripgrep-t990yqw6.js → bus-jdc9ax8k.js} +10 -10
- package/dist/chunks/{ripgrep-3vde3pvj.js → bus-jg1rg3jc.js} +43 -43
- package/dist/chunks/{ripgrep-0df5h2qy.js → bus-jgpr3qf1.js} +27 -27
- package/dist/chunks/{ripgrep-y83j6qwg.js → bus-jssqjg8j.js} +7 -7
- package/dist/chunks/{ripgrep-et0rkxxj.js → bus-k5m0fz1p.js} +8 -8
- package/dist/chunks/{ripgrep-4y8bm76w.js → bus-kdh23bg8.js} +19 -19
- package/dist/chunks/{ripgrep-5d42m44n.js → bus-kffdrsz9.js} +5 -5
- package/dist/chunks/{ripgrep-k1jy5w06.js → bus-km7e3hxy.js} +1 -1
- package/dist/chunks/{ripgrep-4pa8q4z1.js → bus-ktjqq88n.js} +32 -32
- package/dist/chunks/{ripgrep-49p1g939.js → bus-kxdh0s6n.js} +11 -11
- package/dist/chunks/{ripgrep-nk1anpaj.js → bus-m4gm00jg.js} +7 -7
- package/dist/chunks/{ripgrep-4q6wvnkn.js → bus-m4sagrtb.js} +49 -49
- package/dist/chunks/{ripgrep-53agvevm.js → bus-m63gtq16.js} +11 -11
- package/dist/chunks/{ripgrep-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-avsbzx7p.js → bus-mca7v45c.js} +32 -32
- package/dist/chunks/{ripgrep-kk00bynn.js → bus-mjymc32g.js} +21 -21
- package/dist/chunks/{ripgrep-mxr7eecd.js → bus-mx0gp0c3.js} +33 -33
- package/dist/chunks/{ripgrep-5sdgc7vh.js → bus-mz0r0wg6.js} +18 -18
- package/dist/chunks/{ripgrep-k9avwfq5.js → bus-n81xd9d5.js} +1 -1
- package/dist/chunks/{ripgrep-jztv3xwp.js → bus-nkj12b6c.js} +179 -179
- package/dist/chunks/{ripgrep-4vrcg479.js → bus-nnq4n2qn.js} +46 -46
- package/dist/chunks/{ripgrep-gfe8pz8k.js → bus-nrtvwtgm.js} +4 -4
- package/dist/chunks/{ripgrep-2yqkqxm6.js → bus-nzh27kh4.js} +13 -13
- package/dist/chunks/{ripgrep-qfhza6js.js → bus-nzzy63ds.js} +5 -5
- package/dist/chunks/{ripgrep-06yesm3b.js → bus-p33wnvsh.js} +23 -23
- package/dist/chunks/{ripgrep-yseaw3zk.js → bus-p53n7dng.js} +30 -30
- package/dist/chunks/{ripgrep-88sz8qcd.js → bus-paegk39x.js} +4 -4
- package/dist/chunks/{ripgrep-xean7qwc.js → bus-pbky2mmf.js} +27 -27
- package/dist/chunks/{ripgrep-8mnq8fdw.js → bus-pbp9sz76.js} +4 -4
- package/dist/chunks/bus-pf31ssb9.js +18 -0
- package/dist/chunks/{ripgrep-20cnsgn6.js → bus-pfrpta5e.js} +6 -6
- package/dist/chunks/{ripgrep-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-2syw43ez.js → bus-ppj42jsj.js} +12 -12
- package/dist/chunks/{ripgrep-cd8pzhxg.js → bus-pw2ze8eb.js} +32 -32
- package/dist/chunks/{ripgrep-mj489v08.js → bus-pwpvhpkp.js} +18 -18
- package/dist/chunks/{ripgrep-yedx64dk.js → bus-q09v2a5f.js} +4 -4
- package/dist/chunks/{ripgrep-3j8sdtpz.js → bus-q2b1ymqp.js} +4 -4
- package/dist/chunks/{ripgrep-5epte933.js → bus-q3t37ft6.js} +3 -3
- package/dist/chunks/{ripgrep-5jz398fa.js → bus-q529tzg0.js} +23 -23
- package/dist/chunks/{ripgrep-qf4kcv83.js → bus-q73r15kw.js} +9 -9
- package/dist/chunks/{ripgrep-eb0ks5fv.js → bus-q7wya2ft.js} +10 -10
- package/dist/chunks/bus-qapv375x.js +4 -0
- package/dist/chunks/{ripgrep-9gf5hqrf.js → bus-qed01h9c.js} +67 -67
- package/dist/chunks/{ripgrep-ezcbab6y.js → bus-qrs9zw48.js} +11 -11
- package/dist/chunks/{ripgrep-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-nzqx2mf8.js → bus-qyeevtht.js} +41 -41
- package/dist/chunks/{ripgrep-h6r3nrb9.js → bus-r55vasa2.js} +4 -4
- package/dist/chunks/{ripgrep-r9mregkx.js → bus-r9mregkx.js} +2 -2
- package/dist/chunks/{ripgrep-3gh58dm9.js → bus-r9nkdn48.js} +5 -5
- package/dist/chunks/{ripgrep-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-tex4jp26.js → bus-rkhcyd8j.js} +11 -11
- package/dist/chunks/{ripgrep-9jc96w9w.js → bus-sg1mp0wp.js} +28 -28
- package/dist/chunks/{ripgrep-3g5g2h75.js → bus-sm8rghk4.js} +13 -13
- package/dist/chunks/{ripgrep-60sb5knf.js → bus-ss6xz6nm.js} +11 -11
- package/dist/chunks/{ripgrep-8w01d1n2.js → bus-stb1hwq0.js} +15 -15
- package/dist/chunks/{ripgrep-t13q6zse.js → bus-t32f9ypw.js} +14 -14
- package/dist/chunks/{ripgrep-ptse1bjf.js → bus-t3qrjm11.js} +34 -34
- package/dist/chunks/{ripgrep-pcqp5rgh.js → bus-t402yjt7.js} +24 -24
- package/dist/chunks/{ripgrep-rt5bks5t.js → bus-t5t549nc.js} +20 -20
- package/dist/chunks/{ripgrep-w9vf9qqj.js → bus-tat11k01.js} +9 -9
- package/dist/chunks/{ripgrep-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-scq4khx8.js → bus-tcg29b4q.js} +1 -1
- package/dist/chunks/{ripgrep-84h9x75f.js → bus-tdhe5xga.js} +11 -11
- package/dist/chunks/{ripgrep-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-e5vq6wef.js → bus-te6cpsjw.js} +4 -4
- package/dist/chunks/{ripgrep-37zh6x8p.js → bus-th34e5xy.js} +11 -11
- package/dist/chunks/{ripgrep-gv6a8nnw.js → bus-th5km1p3.js} +5 -5
- package/dist/chunks/{ripgrep-73gmm198.js → bus-tkmwgdpd.js} +7 -7
- package/dist/chunks/{ripgrep-rsz70btv.js → bus-tsg9kv8a.js} +12 -12
- package/dist/chunks/{ripgrep-tvtrv512.js → bus-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-ag9w8cw1.js → bus-tz2bjj40.js} +5 -5
- package/dist/chunks/{ripgrep-124zgskp.js → bus-v1ksr1cs.js} +5 -5
- package/dist/chunks/{ripgrep-bs81dhpw.js → bus-v21t5zre.js} +24 -24
- package/dist/chunks/{ripgrep-yp1jwc24.js → bus-v2tpmsmj.js} +41 -41
- package/dist/chunks/{ripgrep-7b15y959.js → bus-v4hmzr0r.js} +8 -8
- package/dist/chunks/{ripgrep-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-rp1syd7b.js → bus-vgg4xkgc.js} +5 -5
- package/dist/chunks/{ripgrep-79gxnefz.js → bus-vw8bwat5.js} +28 -28
- package/dist/chunks/{ripgrep-z9pcy3hm.js → bus-vxn7m0sk.js} +5 -5
- package/dist/chunks/{ripgrep-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-9pbcs2te.js → bus-w0sf05pe.js} +4 -4
- package/dist/chunks/{ripgrep-94325gp6.js → bus-w35y2yw8.js} +37 -37
- package/dist/chunks/{ripgrep-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-k9heqbmv.js → bus-w5k3gg8r.js} +94 -94
- package/dist/chunks/{ripgrep-4rr9ghsb.js → bus-w6dzfd7x.js} +12 -12
- package/dist/chunks/{ripgrep-gr2hg8ez.js → bus-wb72v9a5.js} +15 -15
- package/dist/chunks/{ripgrep-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-5rtg8v4f.js → bus-wq4mgxca.js} +4 -4
- package/dist/chunks/{ripgrep-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-j2cgy6et.js → bus-x60djdrf.js} +27 -27
- package/dist/chunks/bus-x88d9nzm.js +251 -0
- package/dist/chunks/{ripgrep-a9tqjgec.js → bus-xevfw74a.js} +27 -27
- package/dist/chunks/{ripgrep-mhwrm0j5.js → bus-xp1v9ajb.js} +28 -28
- package/dist/chunks/{ripgrep-3wkcfg07.js → bus-xpfz5w62.js} +6 -6
- package/dist/chunks/{ripgrep-fv5ds83k.js → bus-xpgn474g.js} +12 -12
- package/dist/chunks/{ripgrep-h4tg60r9.js → bus-xsxe7432.js} +9 -9
- package/dist/chunks/{ripgrep-66r4fn97.js → bus-xx2kx86r.js} +42 -42
- package/dist/chunks/{ripgrep-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-h4121yxn.js → bus-ycxk46z7.js} +47 -47
- package/dist/chunks/{ripgrep-8vb99h00.js → bus-yd9ketrd.js} +3 -3
- package/dist/chunks/{ripgrep-e5atvjy6.js → bus-yjjca98t.js} +14 -14
- package/dist/chunks/{ripgrep-yp2x3t23.js → bus-yp2x3t23.js} +1 -1
- package/dist/chunks/{ripgrep-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-s4enseaf.js → bus-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-9cc1d2dv.js → bus-yx0rmv9r.js} +8 -8
- package/dist/chunks/{ripgrep-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-29x78va6.js → bus-z63w68vq.js} +6 -6
- package/dist/chunks/{ripgrep-bzryztkv.js → bus-zakjc7j6.js} +31 -31
- package/dist/chunks/{ripgrep-sev8k0v9.js → bus-zbj7r6th.js} +10 -10
- package/dist/chunks/{ripgrep-he5x26st.js → bus-zcxhpjvf.js} +15 -15
- package/dist/chunks/{ripgrep-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-edbcpkh6.js → bus-zg4yt3jb.js} +35 -35
- package/dist/chunks/{ripgrep-r8p0psj5.js → bus-zn1xqtaw.js} +28 -28
- package/dist/chunks/{ripgrep-f4mjzmv8.js → bus-zp0g5kd9.js} +19 -19
- package/dist/chunks/{ripgrep-01qf260s.js → bus-zp47re1r.js} +11 -11
- package/dist/chunks/{ripgrep-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +121 -121
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- 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 +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +71 -71
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +137 -137
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +353 -353
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +101 -101
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +118 -118
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +79 -79
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +94 -94
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +89 -89
- 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 +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +89 -89
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +89 -89
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +89 -89
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +91 -91
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +100 -100
- 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 +91 -91
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- 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 +172 -172
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +7 -7
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +123 -123
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +115 -115
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/session/execution.d.ts +1 -1
- package/dist/types/session/session.d.ts +1 -1
- package/dist/types/session.d.ts +1 -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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- 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 +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/ripgrep-0mesazry.js +0 -4
- package/dist/chunks/ripgrep-3xc7y499.js +0 -251
- package/dist/chunks/ripgrep-ahz9sev5.js +0 -26
- package/dist/chunks/ripgrep-by5v678g.js +0 -18
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → bus-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-hrnqkpcd.js → bus-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-twg0f83k.js → bus-twg0f83k.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID4
|
|
3
|
+
} from "./bus-aez8skhx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service40
|
|
6
|
+
} from "./bus-m4sagrtb.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-cq1ssszz.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service40;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make8(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID4.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make6();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make6, VLLMPlugin2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node83
|
|
7
|
+
} from "./bus-brbkvpcb.js";
|
|
8
|
+
import {
|
|
9
|
+
Event14,
|
|
10
|
+
Service57,
|
|
11
|
+
node61
|
|
12
|
+
} from "./bus-t3qrjm11.js";
|
|
8
13
|
import {
|
|
9
|
-
Event19,
|
|
10
14
|
Service72,
|
|
11
15
|
node76
|
|
12
|
-
} from "./
|
|
16
|
+
} from "./bus-73z097ay.js";
|
|
13
17
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
18
|
+
Service53,
|
|
19
|
+
node57
|
|
20
|
+
} from "./bus-gemkh5vt.js";
|
|
17
21
|
import {
|
|
18
|
-
|
|
22
|
+
ID10,
|
|
23
|
+
Service58,
|
|
19
24
|
node62
|
|
20
|
-
} from "./
|
|
21
|
-
import {
|
|
22
|
-
ID18,
|
|
23
|
-
Service77,
|
|
24
|
-
node81
|
|
25
|
-
} from "./ripgrep-79gxnefz.js";
|
|
25
|
+
} from "./bus-vw8bwat5.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID8,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service56,
|
|
34
|
+
node60
|
|
35
|
+
} from "./bus-ktjqq88n.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./bus-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service31,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
56
|
configured: () => configured3,
|
|
57
57
|
layer: () => layer14,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node35
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -92,7 +92,7 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
92
92
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
93
93
|
var cloneConfig = (config) => structuredClone(config);
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service31 extends Context.Service()("@opencode/MCP") {
|
|
96
96
|
}
|
|
97
97
|
var Options3 = Schema.Struct({
|
|
98
98
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -100,13 +100,13 @@ var Options3 = Schema.Struct({
|
|
|
100
100
|
version: Schema.String
|
|
101
101
|
}))
|
|
102
102
|
});
|
|
103
|
-
var layer14 = (options) => Layer.effect(
|
|
104
|
-
const location = yield*
|
|
105
|
-
const environment = yield*
|
|
106
|
-
const bus = yield*
|
|
107
|
-
const forms = yield*
|
|
108
|
-
const integration = yield*
|
|
109
|
-
const credentials = yield*
|
|
103
|
+
var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
104
|
+
const location = yield* Service72;
|
|
105
|
+
const environment = yield* Service53;
|
|
106
|
+
const bus = yield* Service79;
|
|
107
|
+
const forms = yield* Service58;
|
|
108
|
+
const integration = yield* Service56;
|
|
109
|
+
const credentials = yield* Service57;
|
|
110
110
|
const root = yield* Effect.scope;
|
|
111
111
|
const fork = yield* FiberSet.makeRuntime();
|
|
112
112
|
const entries = new Map;
|
|
@@ -118,7 +118,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
118
118
|
return;
|
|
119
119
|
const remote = entry.config;
|
|
120
120
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
121
|
-
const integrationID =
|
|
121
|
+
const integrationID = ID8.make(suffix);
|
|
122
122
|
entry.integrationID = integrationID;
|
|
123
123
|
owned.add(integrationID);
|
|
124
124
|
const methodID = MethodID2.make(suffix);
|
|
@@ -134,7 +134,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
134
134
|
method: { id: methodID, type: "oauth", label: name },
|
|
135
135
|
authorize: () => Effect.gen(function* () {
|
|
136
136
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
137
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
137
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service57, credentials));
|
|
138
138
|
})
|
|
139
139
|
});
|
|
140
140
|
}).pipe(Scope.provide(scope));
|
|
@@ -150,12 +150,12 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
150
150
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
151
151
|
return;
|
|
152
152
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
153
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
153
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service57, credentials));
|
|
154
154
|
});
|
|
155
155
|
const elicitation = {
|
|
156
156
|
create: (input) => Effect.gen(function* () {
|
|
157
157
|
if (input.params.mode === "url") {
|
|
158
|
-
const formID =
|
|
158
|
+
const formID = ID10.create();
|
|
159
159
|
const elicitationID = input.params.elicitationId;
|
|
160
160
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
161
161
|
if (key)
|
|
@@ -239,7 +239,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
239
239
|
entry.scope = scope;
|
|
240
240
|
const authProvider = yield* connectProvider(entry);
|
|
241
241
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
242
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
242
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service53, environment), Scope.provide(scope), Effect.exit);
|
|
243
243
|
if (Exit.isSuccess(result)) {
|
|
244
244
|
entry.client = result.value.connection;
|
|
245
245
|
entry.tools = result.value.tools.map((tool) => toTool(name, entry, tool));
|
|
@@ -363,7 +363,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
363
363
|
yield* startServer(name, entry);
|
|
364
364
|
}).pipe(locks.withLock(name));
|
|
365
365
|
});
|
|
366
|
-
fork(bus.subscribe(
|
|
366
|
+
fork(bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
367
367
|
const state = create3({
|
|
368
368
|
name: "mcp",
|
|
369
369
|
initial: () => ({
|
|
@@ -389,7 +389,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
389
389
|
}),
|
|
390
390
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
391
391
|
});
|
|
392
|
-
return
|
|
392
|
+
return Service31.of({
|
|
393
393
|
transform: state.transform,
|
|
394
394
|
reload: state.reload,
|
|
395
395
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,12 +510,12 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
510
510
|
}));
|
|
511
511
|
function configured3(options) {
|
|
512
512
|
return makeLocationNode({
|
|
513
|
-
service:
|
|
513
|
+
service: Service31,
|
|
514
514
|
layer: layer14(options),
|
|
515
|
-
deps: [
|
|
515
|
+
deps: [node76, node57, node83, node62, node60, node61]
|
|
516
516
|
});
|
|
517
517
|
}
|
|
518
|
-
var
|
|
518
|
+
var node35 = configured3();
|
|
519
519
|
function toElicitationField(key, property, required) {
|
|
520
520
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
521
521
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -566,4 +566,4 @@ function toElicitationField(key, property, required) {
|
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
568
|
|
|
569
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2,
|
|
569
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service31, Options3, layer14, configured3, node35, exports_mcp4 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./bus-g4rgasps.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node85
|
|
12
|
+
} from "./bus-yx0rmv9r.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID18,
|
|
25
|
+
Info: () => Info34,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service80,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured12,
|
|
30
|
+
node: () => node84
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID18 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info34 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID18,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info14 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID18 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID18,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service80 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured12 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service80,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [
|
|
64
|
+
deps: [node86, node85]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service81).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info34({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service80.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID18.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node84 = configured12();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID18, Info34, NotFound3, CreateConflict2, Service80, configured12, node84, exports_workspace };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service40
|
|
4
|
+
} from "./bus-m4sagrtb.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin17,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin17 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service40;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -93,4 +93,4 @@ var Plugin41 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin17, exports_warming };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-33w4ejhs.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin20,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
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 endpoint4 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin20 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin35 = 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(endpoint4);
|
|
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 { endpoint4, Plugin20, exports_exa };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./bus-brbkvpcb.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event14
|
|
7
|
+
} from "./bus-t3qrjm11.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID8,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-ktjqq88n.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID7,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-75tpbtqb.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID6,
|
|
19
|
+
Input14,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-sg1mp0wp.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID6
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID8.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -99,7 +99,7 @@ function oauth(http) {
|
|
|
99
99
|
var OpencodePlugin2 = define({
|
|
100
100
|
id: "opencode.provider.opencode",
|
|
101
101
|
effect: Effect.fn(function* (ctx) {
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service79;
|
|
103
103
|
const http = yield* HttpClient.HttpClient;
|
|
104
104
|
const loading = Semaphore.makeUnsafe(1);
|
|
105
105
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
providers.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID8.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
sourceConnection: snapshot.connection
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
const item = providers.get(
|
|
198
|
+
const item = providers.get(ID7.opencode);
|
|
199
199
|
if (!item)
|
|
200
200
|
return;
|
|
201
201
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
});
|
|
209
209
|
yield* ctx.model.transform((models) => {
|
|
210
|
-
const item = models.provider.get(
|
|
210
|
+
const item = models.provider.get(ID7.opencode);
|
|
211
211
|
if (!item)
|
|
212
212
|
return;
|
|
213
213
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -241,7 +241,7 @@ var OpencodePlugin2 = define({
|
|
|
241
241
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
242
242
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
243
243
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
244
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
244
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
245
245
|
query: input.query,
|
|
246
246
|
providerID: descriptor.providerID
|
|
247
247
|
}));
|
|
@@ -262,7 +262,7 @@ var OpencodePlugin2 = define({
|
|
|
262
262
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
263
263
|
});
|
|
264
264
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
265
|
-
yield* bus.subscribe(
|
|
265
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
266
266
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
267
267
|
})
|
|
268
268
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./bus-75tpbtqb.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID7.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID7.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|