@opencode/core 0.0.0-dev-19601 → 0.0.0-dev-19602
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/{config-7s10n74m.js → ripgrep-01qf260s.js} +11 -11
- package/dist/chunks/{config-nbjvymme.js → ripgrep-03cq7ksh.js} +17 -17
- package/dist/chunks/{config-jr7r5qxn.js → ripgrep-06yesm3b.js} +32 -32
- package/dist/chunks/{config-hyts3kyv.js → ripgrep-0df5h2qy.js} +27 -27
- package/dist/chunks/{config-wrmrmykr.js → ripgrep-0hg8636t.js} +9 -9
- package/dist/chunks/{config-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-0q0f95c6.js → ripgrep-0q0f95c6.js} +1 -1
- package/dist/chunks/{config-p3eq7c85.js → ripgrep-0sm34qmf.js} +17 -17
- package/dist/chunks/{config-xh49vxj8.js → ripgrep-0t098hqn.js} +5 -5
- package/dist/chunks/{config-pk8q5a7v.js → ripgrep-0tes6vj0.js} +17 -17
- package/dist/chunks/{config-jq1r26zb.js → ripgrep-124zgskp.js} +8 -8
- package/dist/chunks/{config-99a0qa8k.js → ripgrep-12x6e8th.js} +17 -17
- package/dist/chunks/{config-5zfzqmbx.js → ripgrep-189gvxgf.js} +14 -14
- package/dist/chunks/{config-eq1pz5kg.js → ripgrep-1bbkgx8g.js} +3 -3
- package/dist/chunks/{config-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-nwfagajg.js → ripgrep-1gfvv37n.js} +11 -11
- package/dist/chunks/{config-8xmwc048.js → ripgrep-1jvw600p.js} +30 -30
- package/dist/chunks/{config-4x4yz1zb.js → ripgrep-20cnsgn6.js} +6 -6
- package/dist/chunks/{config-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{config-4hvk3cj0.js → ripgrep-21w4258z.js} +1 -1
- package/dist/chunks/{config-2402vzrj.js → ripgrep-2402vzrj.js} +1 -1
- package/dist/chunks/{config-z63w68vq.js → ripgrep-29x78va6.js} +6 -6
- package/dist/chunks/{config-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-jp0z8v05.js → ripgrep-2c7f7wtp.js} +26 -26
- package/dist/chunks/{config-hfjwnna4.js → ripgrep-2fcjxh44.js} +9 -9
- package/dist/chunks/{config-57ez7d0k.js → ripgrep-2fgn2we9.js} +9 -9
- package/dist/chunks/{config-8p2dyb9f.js → ripgrep-2jbbv5tb.js} +16 -16
- package/dist/chunks/{config-0cwcwy81.js → ripgrep-2nv5fzs9.js} +13 -13
- package/dist/chunks/{config-5a015e2n.js → ripgrep-2pyh63en.js} +22 -22
- package/dist/chunks/{config-jxahb5yh.js → ripgrep-2syw43ez.js} +16 -16
- package/dist/chunks/{config-may7gegf.js → ripgrep-2yqkqxm6.js} +12 -12
- package/dist/chunks/{config-2evr9zt9.js → ripgrep-31ybmgpq.js} +17 -17
- package/dist/chunks/{config-4m864w3m.js → ripgrep-37zh6x8p.js} +11 -11
- package/dist/chunks/{config-m62t8evc.js → ripgrep-38c78d9y.js} +8 -8
- package/dist/chunks/{config-p13m5t7c.js → ripgrep-3ds7w9ed.js} +3 -3
- package/dist/chunks/{config-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-xz76qvd7.js → ripgrep-3g5g2h75.js} +13 -13
- package/dist/chunks/{config-7z47sd0g.js → ripgrep-3gh58dm9.js} +5 -5
- package/dist/chunks/{config-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-vncycja5.js → ripgrep-3j8sdtpz.js} +4 -4
- package/dist/chunks/{config-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-vsqbtd9w.js → ripgrep-3vde3pvj.js} +51 -51
- package/dist/chunks/{config-5xyhe042.js → ripgrep-3wkcfg07.js} +6 -6
- package/dist/chunks/ripgrep-3xc7y499.js +251 -0
- package/dist/chunks/{config-dcse214k.js → ripgrep-3y9bq3t8.js} +6 -6
- package/dist/chunks/{config-bt0r0ca8.js → ripgrep-44e7s01k.js} +32 -32
- package/dist/chunks/{config-r1176k9f.js → ripgrep-49nxeqwp.js} +15 -15
- package/dist/chunks/{config-mj8bfnak.js → ripgrep-49p1g939.js} +11 -11
- package/dist/chunks/{config-zvgzwjz2.js → ripgrep-4f0srg1f.js} +25 -25
- package/dist/chunks/{config-vdp3mxfz.js → ripgrep-4p3ge18s.js} +11 -11
- package/dist/chunks/{config-k02etdm7.js → ripgrep-4pa8q4z1.js} +31 -31
- package/dist/chunks/{config-a81jxvbk.js → ripgrep-4q6wvnkn.js} +41 -41
- package/dist/chunks/{config-thqea5vd.js → ripgrep-4rr9ghsb.js} +12 -12
- package/dist/chunks/{config-t6xy52bk.js → ripgrep-4sct5deg.js} +23 -23
- package/dist/chunks/{config-3q02f9f5.js → ripgrep-4vrcg479.js} +44 -44
- package/dist/chunks/{config-ze5vbvww.js → ripgrep-4y8bm76w.js} +15 -15
- package/dist/chunks/{config-a9gm5pt7.js → ripgrep-53agvevm.js} +11 -11
- package/dist/chunks/{config-33w4ejhs.js → ripgrep-56gdpj1q.js} +6 -6
- package/dist/chunks/{config-wdjzerwh.js → ripgrep-5d42m44n.js} +5 -5
- package/dist/chunks/{config-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{config-ndmv45hp.js → ripgrep-5epte933.js} +3 -3
- package/dist/chunks/{config-mmemk5tk.js → ripgrep-5j2tm17g.js} +21 -21
- package/dist/chunks/{config-chb9knyq.js → ripgrep-5jz398fa.js} +23 -23
- package/dist/chunks/{config-e8340df8.js → ripgrep-5rtg8v4f.js} +2 -2
- package/dist/chunks/{config-vp05wna8.js → ripgrep-5sdgc7vh.js} +18 -18
- package/dist/chunks/{config-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-5ckhvvdw.js → ripgrep-60sb5knf.js} +5 -5
- package/dist/chunks/{config-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{config-qrsrd25h.js → ripgrep-66r4fn97.js} +34 -34
- package/dist/chunks/{config-xxa5qpbf.js → ripgrep-67dbk5sq.js} +28 -28
- package/dist/chunks/{config-49xfatwk.js → ripgrep-6aqnmcny.js} +28 -28
- package/dist/chunks/{config-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-eat4kxte.js → ripgrep-6qwwd18r.js} +4 -4
- package/dist/chunks/{config-ybpe84zh.js → ripgrep-6rdgvekc.js} +3 -3
- package/dist/chunks/{config-ryqq3fs3.js → ripgrep-6x0gytms.js} +83 -83
- package/dist/chunks/{config-71q4at8m.js → ripgrep-71q4at8m.js} +1 -1
- package/dist/chunks/{config-v5dkyp31.js → ripgrep-73gmm198.js} +4 -4
- package/dist/chunks/{config-ybkr1nm0.js → ripgrep-79gxnefz.js} +28 -28
- package/dist/chunks/{config-7b15y959.js → ripgrep-7b15y959.js} +1 -1
- package/dist/chunks/{config-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-m33h53s5.js → ripgrep-7gpx9yxs.js} +12 -12
- package/dist/chunks/{config-vy6azx93.js → ripgrep-7h39wxaq.js} +13 -13
- package/dist/chunks/{config-kbabcr0z.js → ripgrep-80wpcwwr.js} +11 -11
- package/dist/chunks/{config-h2r7bbkd.js → ripgrep-84h9x75f.js} +11 -11
- package/dist/chunks/{config-paegk39x.js → ripgrep-88sz8qcd.js} +4 -4
- package/dist/chunks/{config-mwqpz8n2.js → ripgrep-892y1dhq.js} +24 -24
- package/dist/chunks/{config-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-ftjyd2wg.js → ripgrep-8h150kyy.js} +9 -9
- package/dist/chunks/{config-m8t7cym1.js → ripgrep-8j1202qn.js} +19 -19
- package/dist/chunks/{config-bga3tdbt.js → ripgrep-8jpwh3cy.js} +44 -44
- package/dist/chunks/{config-nrhg7jns.js → ripgrep-8jzp8wqa.js} +28 -28
- package/dist/chunks/{config-k7d8hn12.js → ripgrep-8mnq8fdw.js} +4 -4
- package/dist/chunks/{config-dj2t23y0.js → ripgrep-8p4f9s12.js} +2 -2
- package/dist/chunks/{config-tg3cprtf.js → ripgrep-8vb99h00.js} +3 -3
- package/dist/chunks/{config-n46at92c.js → ripgrep-8w01d1n2.js} +15 -15
- package/dist/chunks/{config-rnw4m13x.js → ripgrep-94325gp6.js} +33 -33
- package/dist/chunks/{config-h2jj299s.js → ripgrep-97czctv7.js} +13 -13
- package/dist/chunks/{config-4ykybvcx.js → ripgrep-9bc93h43.js} +11 -11
- package/dist/chunks/{config-ak9msbxp.js → ripgrep-9cc1d2dv.js} +8 -8
- package/dist/chunks/{config-17gm43d7.js → ripgrep-9gf5hqrf.js} +65 -65
- package/dist/chunks/{config-0cnqf63x.js → ripgrep-9jc96w9w.js} +13 -13
- package/dist/chunks/{config-v09z6gxa.js → ripgrep-9pbcs2te.js} +4 -4
- package/dist/chunks/{config-5c4hm403.js → ripgrep-a1bz86dw.js} +3 -3
- package/dist/chunks/{config-r8k6ctx1.js → ripgrep-a2ejp4ca.js} +34 -34
- package/dist/chunks/{config-rfrwpsbw.js → ripgrep-a9tqjgec.js} +27 -27
- package/dist/chunks/{config-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{config-3w2b2yj4.js → ripgrep-ag9w8cw1.js} +5 -5
- package/dist/chunks/{config-561257dr.js → ripgrep-agmj7b0k.js} +9 -9
- package/dist/chunks/{config-bvtyn1jh.js → ripgrep-ah8fqh7n.js} +32 -32
- package/dist/chunks/ripgrep-ahz9sev5.js +26 -0
- package/dist/chunks/{config-xj3xm1k8.js → ripgrep-ajbpkfam.js} +11 -11
- package/dist/chunks/{config-qm9468kh.js → ripgrep-anjeghmy.js} +57 -57
- package/dist/chunks/{config-jcc1af6w.js → ripgrep-avsbzx7p.js} +27 -27
- package/dist/chunks/{config-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-3c4e3q8d.js → ripgrep-bajakh74.js} +4 -4
- package/dist/chunks/{config-rtkqeva5.js → ripgrep-bdd1mh0w.js} +6 -6
- package/dist/chunks/{config-k3nb5hz9.js → ripgrep-bg6j762k.js} +5 -5
- package/dist/chunks/{config-v91t7ygf.js → ripgrep-bn746h9y.js} +9 -9
- package/dist/chunks/{config-e64sr7en.js → ripgrep-bs81dhpw.js} +24 -24
- package/dist/chunks/ripgrep-by5v678g.js +18 -0
- package/dist/chunks/{config-v3tp873m.js → ripgrep-bzryztkv.js} +28 -28
- package/dist/chunks/{config-fdbh7561.js → ripgrep-cbbc3wgw.js} +24 -24
- package/dist/chunks/{config-rff62xhr.js → ripgrep-cd8pzhxg.js} +32 -32
- package/dist/chunks/{config-m0jqrx5p.js → ripgrep-cfpkc3c9.js} +2 -2
- package/dist/chunks/{config-qb2r5jjt.js → ripgrep-czw1qt7p.js} +5 -5
- package/dist/chunks/{config-7d01vtdt.js → ripgrep-d3tz2ej1.js} +9 -9
- package/dist/chunks/{config-9vxqyqsf.js → ripgrep-ddxnayy4.js} +11 -11
- package/dist/chunks/{config-n8d9nt83.js → ripgrep-df5tg79n.js} +30 -30
- package/dist/chunks/{config-mhenqsgy.js → ripgrep-dpzg5xnq.js} +6 -6
- package/dist/chunks/{config-8jxhrtr4.js → ripgrep-ds2g25h4.js} +32 -32
- package/dist/chunks/{config-1037fk78.js → ripgrep-e1n4w09h.js} +20 -20
- package/dist/chunks/{config-5qd3pb7m.js → ripgrep-e3qxr5gk.js} +2 -2
- package/dist/chunks/{config-qvfgmrxz.js → ripgrep-e5atvjy6.js} +18 -18
- package/dist/chunks/{config-bndc73cn.js → ripgrep-e5nv3ght.js} +5 -5
- package/dist/chunks/{config-8bcx3nez.js → ripgrep-e5vq6wef.js} +4 -4
- package/dist/chunks/{config-mec4xq3m.js → ripgrep-eb0ks5fv.js} +10 -10
- package/dist/chunks/{config-33j6m0ys.js → ripgrep-edbcpkh6.js} +35 -35
- package/dist/chunks/{config-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-6m7mwj0d.js → ripgrep-egmb5x89.js} +34 -34
- package/dist/chunks/{config-vrx3af4d.js → ripgrep-es6p32db.js} +302 -302
- package/dist/chunks/{config-q8peyv7x.js → ripgrep-et0rkxxj.js} +8 -8
- package/dist/chunks/{config-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-z48yjxtn.js → ripgrep-ezcbab6y.js} +11 -11
- package/dist/chunks/{config-0xzm444n.js → ripgrep-f0xd9knp.js} +1 -1
- package/dist/chunks/{config-w7318msx.js → ripgrep-f4mjzmv8.js} +19 -19
- package/dist/chunks/{config-hdnk95c8.js → ripgrep-f828m53h.js} +2 -2
- package/dist/chunks/{config-jsgc62f7.js → ripgrep-fv5ds83k.js} +10 -10
- package/dist/chunks/{config-fxbjtjnd.js → ripgrep-fxbjtjnd.js} +1 -1
- package/dist/chunks/{config-hkagk5ex.js → ripgrep-g97bb4fb.js} +2 -2
- package/dist/chunks/{config-hxhthevt.js → ripgrep-gcngnys8.js} +28 -28
- package/dist/chunks/{config-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-nq5k1b2k.js → ripgrep-gfe8pz8k.js} +4 -4
- package/dist/chunks/{config-ep4s98w8.js → ripgrep-gmpff112.js} +17 -17
- package/dist/chunks/{config-w49382pb.js → ripgrep-gn2hfjap.js} +8 -8
- package/dist/chunks/{config-3gjm35pn.js → ripgrep-gr2hg8ez.js} +15 -15
- package/dist/chunks/{config-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{config-2y34zzjz.js → ripgrep-gzbkpp9m.js} +4 -4
- package/dist/chunks/{config-h03wrkyp.js → ripgrep-h03wrkyp.js} +2 -2
- package/dist/chunks/{config-s0kmt45v.js → ripgrep-h3qyz6r3.js} +2 -2
- package/dist/chunks/{config-qxwj42xs.js → ripgrep-h4121yxn.js} +47 -47
- package/dist/chunks/{config-5ddn7qpa.js → ripgrep-h4tg60r9.js} +9 -9
- package/dist/chunks/{config-cpj0znwe.js → ripgrep-h6r3nrb9.js} +4 -4
- package/dist/chunks/{config-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-yjptyezs.js → ripgrep-hcz3zddy.js} +5 -5
- package/dist/chunks/{config-7zbs69wf.js → ripgrep-he5x26st.js} +20 -20
- package/dist/chunks/{config-nhy5jxhy.js → ripgrep-hjt4xg1x.js} +4 -4
- package/dist/chunks/{config-tw1vzf9c.js → ripgrep-hma6wv7h.js} +16 -16
- package/dist/chunks/{config-10c965xq.js → ripgrep-j2cgy6et.js} +27 -27
- package/dist/chunks/{config-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{config-gg1g9x44.js → ripgrep-j6rsnrbc.js} +21 -21
- package/dist/chunks/{config-ywxs3drb.js → ripgrep-j78hbbge.js} +43 -43
- package/dist/chunks/{config-gmdddcby.js → ripgrep-jdwwbwbn.js} +18 -18
- package/dist/chunks/{config-vwpvshvf.js → ripgrep-jpzcdmvj.js} +10 -10
- package/dist/chunks/{config-1hpwa04j.js → ripgrep-jt7tdy1h.js} +16 -16
- package/dist/chunks/{config-dpkg50ah.js → ripgrep-jwcy2c2z.js} +4 -4
- package/dist/chunks/{config-6er5gdy9.js → ripgrep-jz1pxar4.js} +1 -1
- package/dist/chunks/{config-mm2fzfxw.js → ripgrep-jztv3xwp.js} +165 -165
- package/dist/chunks/{config-rabqss3e.js → ripgrep-k1jy5w06.js} +1 -1
- package/dist/chunks/{config-710x7ek7.js → ripgrep-k9avwfq5.js} +1 -1
- package/dist/chunks/{config-n2p6wzd9.js → ripgrep-k9heqbmv.js} +95 -95
- package/dist/chunks/{config-07ct75e8.js → ripgrep-k9m5ndvb.js} +15 -15
- package/dist/chunks/{config-8j98jw8c.js → ripgrep-kez65ze9.js} +33 -33
- package/dist/chunks/{config-jw80jp6b.js → ripgrep-kk00bynn.js} +21 -21
- package/dist/chunks/{config-311bhbyp.js → ripgrep-kmfbtjhd.js} +29 -29
- package/dist/chunks/{config-rfrnx1x2.js → ripgrep-kn5jtnf9.js} +19 -19
- package/dist/chunks/{config-r7pkag9k.js → ripgrep-ksqz3pap.js} +19 -19
- package/dist/chunks/{config-tesctre0.js → ripgrep-kxm5s6yc.js} +26 -26
- package/dist/chunks/{config-n1g6tgdt.js → ripgrep-m77pw7dw.js} +24 -24
- package/dist/chunks/{config-6jnybvqn.js → ripgrep-m86bnw2c.js} +9 -9
- package/dist/chunks/{config-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-gcxs8bcj.js → ripgrep-mhwrm0j5.js} +27 -27
- package/dist/chunks/{config-cmpbkavg.js → ripgrep-mj489v08.js} +11 -11
- package/dist/chunks/{config-spm3grx6.js → ripgrep-mx4mv9ny.js} +6 -6
- package/dist/chunks/{config-a578w8xj.js → ripgrep-mxr7eecd.js} +30 -30
- package/dist/chunks/{config-vshjjydt.js → ripgrep-n57z002n.js} +7 -7
- package/dist/chunks/{config-2nqybkx4.js → ripgrep-n91t41cy.js} +12 -12
- package/dist/chunks/{config-02vv4t7e.js → ripgrep-nev01g0y.js} +4 -4
- package/dist/chunks/{config-dr66jqxh.js → ripgrep-nk1anpaj.js} +7 -7
- package/dist/chunks/{config-s0esgemt.js → ripgrep-nw2nz702.js} +4 -4
- package/dist/chunks/{config-rne9pc95.js → ripgrep-nwqvjhxj.js} +9 -9
- package/dist/chunks/{config-zzk4kz08.js → ripgrep-nzqx2mf8.js} +38 -38
- package/dist/chunks/{config-fvanntqq.js → ripgrep-p0b4ytnr.js} +4 -4
- package/dist/chunks/{config-9pc1c82a.js → ripgrep-p9s0eh58.js} +63 -63
- package/dist/chunks/{config-emzzpcmn.js → ripgrep-pcqp5rgh.js} +18 -18
- package/dist/chunks/{config-b9kr5pr6.js → ripgrep-pj5x48v7.js} +6 -6
- package/dist/chunks/{config-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{config-jt6yj0wk.js → ripgrep-ptse1bjf.js} +33 -33
- package/dist/chunks/{config-g799fvry.js → ripgrep-q5zedzf9.js} +15 -15
- package/dist/chunks/{config-bspgjcjj.js → ripgrep-q7d9vt9f.js} +11 -11
- package/dist/chunks/{config-vgazdx51.js → ripgrep-qaw7gzvj.js} +15 -15
- package/dist/chunks/{config-yadbpzqa.js → ripgrep-qf4kcv83.js} +9 -9
- package/dist/chunks/{config-71t2waba.js → ripgrep-qfhza6js.js} +11 -11
- package/dist/chunks/{config-7dqw4kz8.js → ripgrep-qgn6gcr1.js} +5 -5
- package/dist/chunks/{config-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{config-ft490bmc.js → ripgrep-qwn7812e.js} +18 -18
- package/dist/chunks/{config-c0qqbqkt.js → ripgrep-r2zs1qxw.js} +23 -23
- package/dist/chunks/{config-af4gk936.js → ripgrep-r8p0psj5.js} +23 -23
- package/dist/chunks/{config-r9mregkx.js → ripgrep-r9mregkx.js} +2 -2
- package/dist/chunks/{config-w4qr52xm.js → ripgrep-ra713epb.js} +20 -20
- package/dist/chunks/{config-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-kxgs9bks.js → ripgrep-rg9pm5jb.js} +43 -43
- package/dist/chunks/{config-dgmceqp5.js → ripgrep-rp1syd7b.js} +8 -8
- package/dist/chunks/{config-vvza37g4.js → ripgrep-rsz70btv.js} +12 -12
- package/dist/chunks/{config-4sya3ve4.js → ripgrep-rt5bks5t.js} +17 -17
- package/dist/chunks/{config-ef38hzxk.js → ripgrep-rxmh2sg9.js} +15 -15
- package/dist/chunks/{config-hh67s49j.js → ripgrep-s2e9xs2h.js} +27 -27
- package/dist/chunks/{config-yrznvahk.js → ripgrep-s4enseaf.js} +2 -2
- package/dist/chunks/{config-tcg29b4q.js → ripgrep-scq4khx8.js} +1 -1
- package/dist/chunks/{config-dcndwnyf.js → ripgrep-sev8k0v9.js} +10 -10
- package/dist/chunks/{config-tw1yr5et.js → ripgrep-t13q6zse.js} +14 -14
- package/dist/chunks/{config-02nrjc1r.js → ripgrep-t550f9t1.js} +8 -8
- package/dist/chunks/{config-qq98fpg3.js → ripgrep-t990yqw6.js} +10 -10
- package/dist/chunks/{config-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-zqvkfjn9.js → ripgrep-tcs4ev01.js} +15 -15
- package/dist/chunks/{config-a0saq2jn.js → ripgrep-tdd2jx9c.js} +15 -15
- package/dist/chunks/{config-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{config-q25aqn8x.js → ripgrep-tex4jp26.js} +19 -19
- package/dist/chunks/{config-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{config-22nhpc8c.js → ripgrep-tyyv5ce2.js} +1 -1
- package/dist/chunks/{config-kf89feae.js → ripgrep-v7wvwwvc.js} +22 -22
- package/dist/chunks/{config-bvs3n29g.js → ripgrep-vcpz2z7s.js} +4 -4
- package/dist/chunks/{config-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{config-0bxteebn.js → ripgrep-vfgx9b51.js} +3 -3
- package/dist/chunks/{config-rb8ztnfs.js → ripgrep-vpnc1spb.js} +11 -11
- package/dist/chunks/{config-d29w5y5s.js → ripgrep-vskpp35t.js} +11 -11
- package/dist/chunks/{config-hwe7x4em.js → ripgrep-vvccsdf3.js} +6 -6
- package/dist/chunks/{config-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-7s61wb75.js → ripgrep-w5d72rt0.js} +2 -2
- package/dist/chunks/{config-vbh50phm.js → ripgrep-w9vf9qqj.js} +9 -9
- package/dist/chunks/{config-p60gzv6z.js → ripgrep-wa698kjv.js} +49 -49
- package/dist/chunks/{config-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{config-p4688at0.js → ripgrep-wds0x6j9.js} +5 -5
- package/dist/chunks/{config-4kstw10y.js → ripgrep-wva7n27r.js} +8 -8
- package/dist/chunks/{config-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-at1kfnmk.js → ripgrep-x353b1jt.js} +8 -8
- package/dist/chunks/{config-bx6fw66d.js → ripgrep-x3qc7sc6.js} +24 -24
- package/dist/chunks/{config-46mmdbbw.js → ripgrep-x6qre90b.js} +11 -11
- package/dist/chunks/{config-h36hfp8w.js → ripgrep-x8pc9v5x.js} +20 -20
- package/dist/chunks/{config-fha9pxsp.js → ripgrep-xean7qwc.js} +25 -25
- package/dist/chunks/{config-512fes74.js → ripgrep-xxf1z6td.js} +15 -15
- package/dist/chunks/{config-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-myqbec2v.js → ripgrep-y83j6qwg.js} +7 -7
- package/dist/chunks/{config-g7hwnr26.js → ripgrep-y8639ad0.js} +20 -20
- package/dist/chunks/{config-p71w2c74.js → ripgrep-yedx64dk.js} +4 -4
- package/dist/chunks/{config-0p1mpksr.js → ripgrep-ym7eccym.js} +6 -6
- package/dist/chunks/{config-661h2f9b.js → ripgrep-yp1jwc24.js} +37 -37
- package/dist/chunks/{config-yp2x3t23.js → ripgrep-yp2x3t23.js} +1 -1
- package/dist/chunks/{config-9hcx1pw3.js → ripgrep-ypveyybc.js} +11 -11
- package/dist/chunks/{config-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-2qy99qce.js → ripgrep-yseaw3zk.js} +28 -28
- package/dist/chunks/{config-nxhqveyz.js → ripgrep-yt0fqk68.js} +5 -5
- package/dist/chunks/{config-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-va9enkqs.js → ripgrep-z9pcy3hm.js} +5 -5
- package/dist/chunks/{config-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-f7ehr2sm.js → ripgrep-zt5h3yfa.js} +9 -9
- package/dist/chunks/{config-zcrspsvn.js → ripgrep-zvt5dnpc.js} +4 -4
- package/dist/chunks/{config-sjxn26y6.js → ripgrep-zw0mbbcz.js} +6 -6
- package/dist/chunks/{config-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- 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 +71 -71
- package/dist/file-access.js +99 -99
- 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 +1 -1
- 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 +103 -103
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +99 -99
- 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 +84 -84
- 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 +134 -134
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +85 -85
- 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 +105 -105
- package/dist/mcp/instructions.js +122 -122
- 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 +99 -99
- package/dist/models-dev.js +97 -97
- 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 +85 -85
- 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 +1 -1
- 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 +7 -7
- 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 +6 -6
- 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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +85 -85
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- 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 +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +83 -83
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- 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 +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +219 -219
- 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 +13 -13
- 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 +92 -92
- 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 +119 -119
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- 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 +100 -100
- 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 +216 -216
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +119 -119
- 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/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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- 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 +86 -86
- package/dist/websearch.js +75 -75
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +76 -76
- 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 +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/config-1jzc40x7.js +0 -251
- package/dist/chunks/config-8e0kgrz0.js +0 -26
- package/dist/chunks/config-qc068m1q.js +0 -18
- /package/dist/chunks/{config-0mesazry.js → ripgrep-0mesazry.js} +0 -0
- /package/dist/chunks/{config-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{config-hrnqkpcd.js → ripgrep-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-twg0f83k.js → ripgrep-twg0f83k.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-49p1g939.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin38,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin38 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin13 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin13 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin38, exports_tavily };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service42,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node46
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service42 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service42.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node46 = makeLocationNode({
|
|
143
|
+
service: Service42,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service42, node46, exports_tool_output2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./ripgrep-p9s0eh58.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input7,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin27,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name7
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name7 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
@@ -38,7 +38,7 @@ var description5 = `Fetch content from an HTTP or HTTPS URL and return it as tex
|
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input7 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input12 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input7.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin27 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service50;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name7,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description5,
|
|
104
|
-
input:
|
|
104
|
+
input: Input7,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin14 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name7,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name7, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input7, Plugin27, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node85
|
|
4
|
+
} from "./ripgrep-x6qre90b.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-jwcy2c2z.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
22
|
-
configured: () =>
|
|
21
|
+
Service: () => Service80,
|
|
22
|
+
configured: () => configured11,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service80 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function configured11(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
84
|
-
deps: [
|
|
85
|
-
layer: Layer.effect(
|
|
83
|
+
service: Service80,
|
|
84
|
+
deps: [node85],
|
|
85
|
+
layer: Layer.effect(Service80, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service80.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var node84 =
|
|
542
|
+
var node84 = configured11();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service80, configured11, node84, exports_bus };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node86
|
|
5
|
+
} from "./ripgrep-49p1g939.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Service80,
|
|
8
8
|
node84
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-rxmh2sg9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
ID13,
|
|
12
12
|
aisdk2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-a2ejp4ca.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
VariantID2,
|
|
17
17
|
Family2,
|
|
18
18
|
compatibility2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-44e7s01k.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service74,
|
|
22
|
+
node78
|
|
23
|
+
} from "./ripgrep-vpnc1spb.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/models-dev.ts
|
|
29
29
|
var exports_models_dev = {};
|
|
@@ -32,11 +32,11 @@ __export(exports_models_dev, {
|
|
|
32
32
|
Event: () => Event2,
|
|
33
33
|
ModelsDev: () => exports_models_dev,
|
|
34
34
|
Options: () => Options2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service14,
|
|
36
36
|
bodyDigest: () => bodyDigest2,
|
|
37
37
|
configured: () => configured2,
|
|
38
38
|
layer: () => layer8,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node17
|
|
40
40
|
});
|
|
41
41
|
import { Cause, Context, Duration, Effect, Layer, Option, Schedule, Schema, Semaphore } from "effect";
|
|
42
42
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
@@ -56,7 +56,7 @@ var CatalogModelStatus2 = Schema.Literals(["alpha", "beta", "deprecated"]);
|
|
|
56
56
|
function normalize(input) {
|
|
57
57
|
const providers = [];
|
|
58
58
|
for (const item of Object.values(input)) {
|
|
59
|
-
const providerID =
|
|
59
|
+
const providerID = ID13.make(item.id);
|
|
60
60
|
const info = {
|
|
61
61
|
id: providerID,
|
|
62
62
|
name: item.name,
|
|
@@ -68,10 +68,10 @@ function normalize(input) {
|
|
|
68
68
|
for (const model of Object.values(item.models)) {
|
|
69
69
|
const baseCost = cost(model.cost);
|
|
70
70
|
const variants = reasoningVariants(item, model);
|
|
71
|
-
const id =
|
|
71
|
+
const id = ID12.make(model.id);
|
|
72
72
|
models.push(modelInfo(providerID, id, model, { cost: baseCost, variants }));
|
|
73
73
|
for (const [mode, options] of Object.entries(model.experimental?.modes ?? {})) {
|
|
74
|
-
const modeID =
|
|
74
|
+
const modeID = ID12.make(`${model.id}-${mode}`);
|
|
75
75
|
models.push(modelInfo(providerID, modeID, model, {
|
|
76
76
|
name: modeName(model, mode),
|
|
77
77
|
cost: mergeCost(baseCost, options.cost),
|
|
@@ -449,7 +449,7 @@ function modeName(model, mode) {
|
|
|
449
449
|
function modelInfo(providerID, id, model, input = {}) {
|
|
450
450
|
return {
|
|
451
451
|
id,
|
|
452
|
-
modelID:
|
|
452
|
+
modelID: ID12.make(model.id),
|
|
453
453
|
providerID,
|
|
454
454
|
name: input.name ?? model.name,
|
|
455
455
|
compatibility: compatibility2(model.interleaved),
|
|
@@ -482,7 +482,7 @@ var Options2 = Schema.Struct({
|
|
|
482
482
|
snapshot: Schema.optional(Schema.Boolean)
|
|
483
483
|
});
|
|
484
484
|
|
|
485
|
-
class
|
|
485
|
+
class Service14 extends Context.Service()("@opencode/ModelsDev") {
|
|
486
486
|
}
|
|
487
487
|
var CatalogJson = Schema.fromJsonString(Schema.Record(Schema.String, Schema.Unknown));
|
|
488
488
|
var decodeCatalog = (text) => Schema.decodeUnknownEffect(CatalogJson)(text).pipe(Effect.map((catalog) => catalog));
|
|
@@ -505,11 +505,11 @@ function cacheKey(source) {
|
|
|
505
505
|
function bodyDigest2(text) {
|
|
506
506
|
return Hash.sha256(text);
|
|
507
507
|
}
|
|
508
|
-
var layer8 = (options) => Layer.effect(
|
|
508
|
+
var layer8 = (options) => Layer.effect(Service14, Effect.gen(function* () {
|
|
509
509
|
const fs = yield* FSUtil.Service;
|
|
510
|
-
const bus = yield*
|
|
510
|
+
const bus = yield* Service80;
|
|
511
511
|
const app = yield* Metadata2;
|
|
512
|
-
const kv = yield*
|
|
512
|
+
const kv = yield* Service74;
|
|
513
513
|
const http = HttpClient.filterStatusOk((yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
514
514
|
retryOn: "errors-and-responses",
|
|
515
515
|
times: 2,
|
|
@@ -589,15 +589,15 @@ var layer8 = (options) => Layer.effect(Service15, Effect.gen(function* () {
|
|
|
589
589
|
if (fetch && !process.argv.includes("--get-yargs-completions")) {
|
|
590
590
|
yield* Effect.forkScoped(refresh().pipe(Effect.repeat(Schedule.spaced(ttl)), Effect.ignore));
|
|
591
591
|
}
|
|
592
|
-
return
|
|
592
|
+
return Service14.of({ get, refresh });
|
|
593
593
|
}));
|
|
594
594
|
function configured2(options) {
|
|
595
595
|
return makeGlobalNode({
|
|
596
|
-
service:
|
|
596
|
+
service: Service14,
|
|
597
597
|
layer: layer8(options),
|
|
598
|
-
deps: [FSUtil.node, node84,
|
|
598
|
+
deps: [FSUtil.node, node84, node86, node78, httpClient]
|
|
599
599
|
});
|
|
600
600
|
}
|
|
601
|
-
var
|
|
601
|
+
var node17 = configured2();
|
|
602
602
|
|
|
603
|
-
export { CatalogModelStatus2, Options2,
|
|
603
|
+
export { CatalogModelStatus2, Options2, Service14, bodyDigest2, layer8, configured2, node17, exports_models_dev, Event2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-44e7s01k.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./ripgrep-4q6wvnkn.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-pj5x48v7.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make9(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service66;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID12.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make9();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make9, OllamaPlugin2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service66
|
|
4
|
+
} from "./ripgrep-4q6wvnkn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service79
|
|
7
|
+
} from "./ripgrep-tex4jp26.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell = {};
|
|
17
|
+
__export(exports_shell, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell,
|
|
19
|
+
Plugin: () => Plugin18
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin18 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service66;
|
|
27
|
+
const shell = yield* Service79;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin40 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin18, exports_shell };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key3,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make19,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key3 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key3
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make19(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make19, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./ripgrep-44e7s01k.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./ripgrep-4q6wvnkn.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-pj5x48v7.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 make8(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* Service66;
|
|
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 make5(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 = ID12.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 = make8();
|
|
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 { make8, VLLMPlugin2 };
|