@opencode/core 0.0.0-dev-19602 → 0.0.0-dev-19610
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 +78 -78
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{ripgrep-8mnq8fdw.js → shell-06cb0fd0.js} +4 -4
- package/dist/chunks/{ripgrep-jdwwbwbn.js → shell-08hjcfds.js} +19 -19
- package/dist/chunks/{ripgrep-8h150kyy.js → shell-0aw7zksj.js} +7 -7
- package/dist/chunks/{ripgrep-79gxnefz.js → shell-0bvq92zm.js} +24 -24
- package/dist/chunks/{ripgrep-t550f9t1.js → shell-0gdmqesm.js} +4 -4
- package/dist/chunks/{ripgrep-zt5h3yfa.js → shell-0p4j4cv0.js} +9 -9
- package/dist/chunks/{ripgrep-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
- package/dist/chunks/{ripgrep-jz1pxar4.js → shell-11nyajgd.js} +1 -1
- package/dist/chunks/{ripgrep-0sm34qmf.js → shell-13vh4t13.js} +15 -15
- package/dist/chunks/{ripgrep-8jpwh3cy.js → shell-15actg85.js} +30 -30
- package/dist/chunks/{ripgrep-qaw7gzvj.js → shell-19qt9ms0.js} +20 -20
- package/dist/chunks/{ripgrep-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-97czctv7.js → shell-1sr49ngx.js} +10 -10
- package/dist/chunks/{ripgrep-ypveyybc.js → shell-1tceadnv.js} +11 -11
- package/dist/chunks/{ripgrep-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-2402vzrj.js → shell-2402vzrj.js} +1 -1
- package/dist/chunks/{ripgrep-5epte933.js → shell-256nx13v.js} +3 -3
- package/dist/chunks/{ripgrep-es6p32db.js → shell-286ag1vh.js} +299 -299
- package/dist/chunks/{ripgrep-x6qre90b.js → shell-28aedara.js} +11 -11
- package/dist/chunks/{ripgrep-4y8bm76w.js → shell-28ebf1cb.js} +17 -17
- package/dist/chunks/{ripgrep-29x78va6.js → shell-29x78va6.js} +2 -2
- package/dist/chunks/{ripgrep-et0rkxxj.js → shell-2a4f6v5q.js} +8 -8
- package/dist/chunks/{ripgrep-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-gn2hfjap.js → shell-2n295dmf.js} +8 -8
- package/dist/chunks/{ripgrep-ag9w8cw1.js → shell-2qp6y8xf.js} +5 -5
- package/dist/chunks/{ripgrep-k9heqbmv.js → shell-35f3c8ak.js} +93 -93
- package/dist/chunks/{ripgrep-4pa8q4z1.js → shell-3657zqg5.js} +26 -26
- package/dist/chunks/{ripgrep-80wpcwwr.js → shell-3ef74p4c.js} +11 -11
- package/dist/chunks/{ripgrep-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-rp1syd7b.js → shell-3gqfk94q.js} +8 -8
- package/dist/chunks/{ripgrep-y8639ad0.js → shell-3h03gnyd.js} +21 -21
- package/dist/chunks/{ripgrep-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-8jzp8wqa.js → shell-4dsybr1x.js} +23 -23
- package/dist/chunks/{ripgrep-m77pw7dw.js → shell-4j54dnxn.js} +16 -16
- package/dist/chunks/{ripgrep-he5x26st.js → shell-4nqjb4pf.js} +20 -20
- package/dist/chunks/{ripgrep-r8p0psj5.js → shell-4nt81eez.js} +21 -21
- package/dist/chunks/{ripgrep-2fgn2we9.js → shell-4sn99hha.js} +5 -5
- package/dist/chunks/{ripgrep-4f0srg1f.js → shell-4t7xgrp5.js} +26 -26
- package/dist/chunks/{ripgrep-s2e9xs2h.js → shell-4ymq8kc4.js} +36 -36
- package/dist/chunks/{ripgrep-8w01d1n2.js → shell-4yzwshaw.js} +15 -15
- package/dist/chunks/{ripgrep-zw0mbbcz.js → shell-4zr3jzsn.js} +8 -8
- package/dist/chunks/{ripgrep-56gdpj1q.js → shell-56gdpj1q.js} +2 -2
- package/dist/chunks/{ripgrep-06yesm3b.js → shell-58k5q12w.js} +30 -30
- package/dist/chunks/{ripgrep-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-9jc96w9w.js → shell-5k7whcx8.js} +26 -26
- package/dist/chunks/{ripgrep-kxm5s6yc.js → shell-5kbrmkke.js} +18 -18
- package/dist/chunks/{ripgrep-h6r3nrb9.js → shell-5mtzsd3b.js} +4 -4
- package/dist/chunks/{ripgrep-44e7s01k.js → shell-5p8jzcnz.js} +29 -29
- package/dist/chunks/{ripgrep-5rtg8v4f.js → shell-5rtg8v4f.js} +2 -2
- package/dist/chunks/{ripgrep-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-xxf1z6td.js → shell-5wq01ar5.js} +22 -22
- package/dist/chunks/{ripgrep-vcpz2z7s.js → shell-5wrt214j.js} +4 -4
- package/dist/chunks/{ripgrep-ahz9sev5.js → shell-5y2ymaq7.js} +12 -12
- package/dist/chunks/{ripgrep-sev8k0v9.js → shell-60b87sp0.js} +10 -10
- package/dist/chunks/{ripgrep-669tq793.js → shell-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-3vde3pvj.js → shell-6860rr66.js} +53 -53
- package/dist/chunks/{ripgrep-9cc1d2dv.js → shell-6d6xcght.js} +6 -6
- package/dist/chunks/shell-6kdq0pjd.js +4 -0
- package/dist/chunks/{ripgrep-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-0tes6vj0.js → shell-6zttb827.js} +23 -23
- package/dist/chunks/{ripgrep-71q4at8m.js → shell-71q4at8m.js} +1 -1
- package/dist/chunks/{ripgrep-r2zs1qxw.js → shell-724fmg57.js} +23 -23
- package/dist/chunks/{ripgrep-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-qgn6gcr1.js → shell-7dqw4kz8.js} +5 -5
- package/dist/chunks/{ripgrep-kez65ze9.js → shell-7r3neg1r.js} +35 -35
- package/dist/chunks/{ripgrep-w5d72rt0.js → shell-7xjyd7zv.js} +2 -2
- package/dist/chunks/{ripgrep-1bbkgx8g.js → shell-7yh4e7ss.js} +3 -3
- package/dist/chunks/{ripgrep-7b15y959.js → shell-844ef7ks.js} +8 -8
- package/dist/chunks/{ripgrep-dpzg5xnq.js → shell-84bp84rj.js} +6 -6
- package/dist/chunks/{ripgrep-mj489v08.js → shell-85tc3nc8.js} +12 -12
- package/dist/chunks/{ripgrep-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-2syw43ez.js → shell-8mgmrm9j.js} +5 -5
- package/dist/chunks/{ripgrep-37zh6x8p.js → shell-8nmhfs9c.js} +11 -11
- package/dist/chunks/{ripgrep-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
- package/dist/chunks/{ripgrep-tyyv5ce2.js → shell-8q0t0smx.js} +1 -1
- package/dist/chunks/{ripgrep-h4121yxn.js → shell-8saayj0p.js} +47 -47
- package/dist/chunks/{ripgrep-yedx64dk.js → shell-8sp2z33n.js} +4 -4
- package/dist/chunks/{ripgrep-49nxeqwp.js → shell-8ymghxqk.js} +37 -37
- package/dist/chunks/{ripgrep-3wkcfg07.js → shell-91tfrhd1.js} +6 -6
- package/dist/chunks/{ripgrep-tex4jp26.js → shell-98depksn.js} +19 -19
- package/dist/chunks/{ripgrep-j2cgy6et.js → shell-9b2gkdkm.js} +25 -25
- package/dist/chunks/{ripgrep-1jvw600p.js → shell-a0b5fdkw.js} +30 -30
- package/dist/chunks/{ripgrep-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
- package/dist/chunks/{ripgrep-q7d9vt9f.js → shell-a271x0pd.js} +11 -11
- package/dist/chunks/{ripgrep-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-4vrcg479.js → shell-am2x7dha.js} +46 -46
- package/dist/chunks/{ripgrep-f0xd9knp.js → shell-apkjg5f1.js} +1 -1
- package/dist/chunks/{ripgrep-kk00bynn.js → shell-axmvebxj.js} +4 -4
- package/dist/chunks/{ripgrep-tcs4ev01.js → shell-aypr84xx.js} +16 -16
- package/dist/chunks/{ripgrep-k9avwfq5.js → shell-b1hg7rtt.js} +1 -1
- package/dist/chunks/{ripgrep-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-qwn7812e.js → shell-bcgxfqk7.js} +9 -9
- package/dist/chunks/{ripgrep-3j8sdtpz.js → shell-bct739vz.js} +4 -4
- package/dist/chunks/{ripgrep-gzbkpp9m.js → shell-bdqrk2vk.js} +4 -4
- package/dist/chunks/{ripgrep-nk1anpaj.js → shell-bdyp82c4.js} +7 -7
- package/dist/chunks/{ripgrep-df5tg79n.js → shell-bfjqsf6d.js} +32 -32
- package/dist/chunks/{ripgrep-kmfbtjhd.js → shell-bj86b7kp.js} +34 -34
- package/dist/chunks/{ripgrep-ezcbab6y.js → shell-bs5y9wpc.js} +8 -8
- package/dist/chunks/{ripgrep-rxmh2sg9.js → shell-bsp1pkt4.js} +16 -16
- package/dist/chunks/{ripgrep-wds0x6j9.js → shell-bz4hpk94.js} +5 -5
- package/dist/chunks/{ripgrep-49p1g939.js → shell-bz5ac8yj.js} +11 -11
- package/dist/chunks/{ripgrep-6aqnmcny.js → shell-c5n3h355.js} +28 -28
- package/dist/chunks/{ripgrep-nwqvjhxj.js → shell-ca7n9cfq.js} +9 -9
- package/dist/chunks/{ripgrep-e5vq6wef.js → shell-cee4awht.js} +4 -4
- package/dist/chunks/{ripgrep-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
- package/dist/chunks/{ripgrep-2c7f7wtp.js → shell-cgccaycz.js} +22 -22
- package/dist/chunks/{ripgrep-p9s0eh58.js → shell-cmmb813z.js} +45 -45
- package/dist/chunks/{ripgrep-88sz8qcd.js → shell-csf2jhsg.js} +4 -4
- package/dist/chunks/{ripgrep-2nv5fzs9.js → shell-czb7hhek.js} +13 -13
- package/dist/chunks/{ripgrep-d3tz2ej1.js → shell-d3tz2ej1.js} +2 -2
- package/dist/chunks/{ripgrep-nw2nz702.js → shell-d8nc1xcx.js} +4 -4
- package/dist/chunks/{ripgrep-k9m5ndvb.js → shell-da7pjdbd.js} +6 -6
- package/dist/chunks/{ripgrep-gr2hg8ez.js → shell-de5ahzfz.js} +15 -15
- package/dist/chunks/shell-deqxj2db.js +251 -0
- package/dist/chunks/{ripgrep-5sdgc7vh.js → shell-dg9hzp08.js} +15 -15
- package/dist/chunks/{ripgrep-2fcjxh44.js → shell-dmxnnmbc.js} +9 -9
- package/dist/chunks/{ripgrep-2jbbv5tb.js → shell-e1tdxk5c.js} +13 -13
- package/dist/chunks/{ripgrep-e5nv3ght.js → shell-e5nv3ght.js} +2 -2
- package/dist/chunks/{ripgrep-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-eb0ks5fv.js → shell-eg7y150x.js} +10 -10
- package/dist/chunks/{ripgrep-agmj7b0k.js → shell-er21d9gb.js} +9 -9
- package/dist/chunks/{ripgrep-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-01qf260s.js → shell-eyhpk03x.js} +11 -11
- package/dist/chunks/{ripgrep-31ybmgpq.js → shell-f00031fc.js} +17 -17
- package/dist/chunks/{ripgrep-84h9x75f.js → shell-f32czd11.js} +5 -5
- package/dist/chunks/{ripgrep-w9vf9qqj.js → shell-f58gpcny.js} +9 -9
- package/dist/chunks/{ripgrep-bs81dhpw.js → shell-f6dg4s51.js} +19 -19
- package/dist/chunks/{ripgrep-f828m53h.js → shell-f828m53h.js} +2 -2
- package/dist/chunks/{ripgrep-5d42m44n.js → shell-f8gkg4y9.js} +5 -5
- package/dist/chunks/{ripgrep-qf4kcv83.js → shell-fbw0akyd.js} +9 -9
- package/dist/chunks/{ripgrep-vfgx9b51.js → shell-fekeaz39.js} +3 -3
- package/dist/chunks/{ripgrep-vvccsdf3.js → shell-ff0htmxq.js} +6 -6
- package/dist/chunks/{ripgrep-4q6wvnkn.js → shell-fgga4tyk.js} +42 -42
- package/dist/chunks/{ripgrep-t13q6zse.js → shell-fk5v58mc.js} +14 -14
- package/dist/chunks/{ripgrep-jztv3xwp.js → shell-fqax9b7r.js} +172 -172
- package/dist/chunks/{ripgrep-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
- package/dist/chunks/{ripgrep-n57z002n.js → shell-g15mg1fp.js} +7 -7
- package/dist/chunks/{ripgrep-ptse1bjf.js → shell-g99htbkw.js} +32 -32
- package/dist/chunks/{ripgrep-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-3y9bq3t8.js → shell-gg94j5y5.js} +6 -6
- package/dist/chunks/{ripgrep-38c78d9y.js → shell-gm46a55d.js} +8 -8
- package/dist/chunks/{ripgrep-e5atvjy6.js → shell-gmrsnwh8.js} +18 -18
- package/dist/chunks/{ripgrep-j78hbbge.js → shell-gntzjf7q.js} +43 -43
- package/dist/chunks/{ripgrep-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-892y1dhq.js → shell-gwz5q7xf.js} +31 -31
- package/dist/chunks/{ripgrep-h03wrkyp.js → shell-h03wrkyp.js} +2 -2
- package/dist/chunks/{ripgrep-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-ym7eccym.js → shell-h967t558.js} +6 -6
- package/dist/chunks/{ripgrep-q5zedzf9.js → shell-hjfxv1hf.js} +15 -15
- package/dist/chunks/{ripgrep-hjt4xg1x.js → shell-hjt4xg1x.js} +1 -1
- package/dist/chunks/{ripgrep-avsbzx7p.js → shell-hka8yjdz.js} +29 -29
- package/dist/chunks/{ripgrep-3ds7w9ed.js → shell-hmr3ea9n.js} +5 -5
- package/dist/chunks/{ripgrep-fv5ds83k.js → shell-hnf89hr7.js} +12 -12
- package/dist/chunks/{ripgrep-pj5x48v7.js → shell-hs3g5x4f.js} +6 -6
- package/dist/chunks/{ripgrep-60sb5knf.js → shell-j22hf46x.js} +5 -5
- package/dist/chunks/{ripgrep-n91t41cy.js → shell-j2q2mctg.js} +12 -12
- package/dist/chunks/{ripgrep-j56e64zr.js → shell-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-edbcpkh6.js → shell-j5krrq7s.js} +32 -32
- package/dist/chunks/{ripgrep-3gh58dm9.js → shell-jamwgqsw.js} +5 -5
- package/dist/chunks/{ripgrep-xean7qwc.js → shell-jm7w29aj.js} +21 -21
- package/dist/chunks/{ripgrep-nev01g0y.js → shell-jsj4eyt5.js} +4 -4
- package/dist/chunks/{ripgrep-hcz3zddy.js → shell-jv01nqvq.js} +5 -5
- package/dist/chunks/{ripgrep-zvt5dnpc.js → shell-jvf3yq6v.js} +4 -4
- package/dist/chunks/{ripgrep-jwcy2c2z.js → shell-jwcy2c2z.js} +1 -1
- package/dist/chunks/{ripgrep-mhwrm0j5.js → shell-jz6dexdk.js} +20 -20
- package/dist/chunks/{ripgrep-7h39wxaq.js → shell-k7gxh26f.js} +13 -13
- package/dist/chunks/{ripgrep-wa698kjv.js → shell-k943pb70.js} +49 -49
- package/dist/chunks/{ripgrep-egmb5x89.js → shell-kbdz3wd2.js} +30 -30
- package/dist/chunks/{ripgrep-gcngnys8.js → shell-kg219d3x.js} +23 -23
- package/dist/chunks/{ripgrep-mxr7eecd.js → shell-krapdeg3.js} +25 -25
- package/dist/chunks/{ripgrep-cbbc3wgw.js → shell-ks9y0tx3.js} +24 -24
- package/dist/chunks/{ripgrep-z9pcy3hm.js → shell-kv6kzmzw.js} +5 -5
- package/dist/chunks/{ripgrep-cd8pzhxg.js → shell-ky853516.js} +32 -32
- package/dist/chunks/{ripgrep-y83j6qwg.js → shell-m7p8symg.js} +7 -7
- package/dist/chunks/{ripgrep-g97bb4fb.js → shell-m7va1g8x.js} +2 -2
- package/dist/chunks/{ripgrep-m86bnw2c.js → shell-m86bnw2c.js} +2 -2
- package/dist/chunks/{ripgrep-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-ah8fqh7n.js → shell-mtvv3gsd.js} +30 -30
- package/dist/chunks/{ripgrep-t990yqw6.js → shell-myhx9xq2.js} +7 -7
- package/dist/chunks/{ripgrep-ddxnayy4.js → shell-n25js84d.js} +9 -9
- package/dist/chunks/{ripgrep-a2ejp4ca.js → shell-n3ej18g3.js} +29 -29
- package/dist/chunks/{ripgrep-rt5bks5t.js → shell-n64z6ayh.js} +20 -20
- package/dist/chunks/{ripgrep-nzqx2mf8.js → shell-nemptxrn.js} +39 -39
- package/dist/chunks/{ripgrep-x353b1jt.js → shell-ngts6ef0.js} +8 -8
- package/dist/chunks/{ripgrep-8vb99h00.js → shell-nj8bs39t.js} +6 -6
- package/dist/chunks/{ripgrep-p0b4ytnr.js → shell-p0b4ytnr.js} +1 -1
- package/dist/chunks/{ripgrep-53agvevm.js → shell-p3vxwp2p.js} +8 -8
- package/dist/chunks/{ripgrep-0hg8636t.js → shell-pjcjb8bs.js} +6 -6
- package/dist/chunks/{ripgrep-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-5j2tm17g.js → shell-pt4mvj74.js} +20 -20
- package/dist/chunks/{ripgrep-qfhza6js.js → shell-py8w2btc.js} +11 -11
- package/dist/chunks/{ripgrep-3g5g2h75.js → shell-q0fgvcgb.js} +13 -13
- package/dist/chunks/{ripgrep-0df5h2qy.js → shell-q12fghcp.js} +27 -27
- package/dist/chunks/{ripgrep-h4tg60r9.js → shell-q7436kvy.js} +9 -9
- package/dist/chunks/{ripgrep-mx4mv9ny.js → shell-q7j6kr81.js} +6 -6
- package/dist/chunks/{ripgrep-vskpp35t.js → shell-qj5hfmwn.js} +11 -11
- package/dist/chunks/{ripgrep-pcqp5rgh.js → shell-qk0ppmjd.js} +18 -18
- package/dist/chunks/{ripgrep-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-94325gp6.js → shell-r78s3j5q.js} +35 -35
- package/dist/chunks/{ripgrep-03cq7ksh.js → shell-r8b7ztcg.js} +17 -17
- package/dist/chunks/{ripgrep-r9mregkx.js → shell-r9mregkx.js} +2 -2
- package/dist/chunks/shell-rap9a73h.js +18 -0
- package/dist/chunks/{ripgrep-7gpx9yxs.js → shell-raxwcv5a.js} +18 -18
- package/dist/chunks/{ripgrep-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-2yqkqxm6.js → shell-rhbwnwxm.js} +12 -12
- package/dist/chunks/{ripgrep-9pbcs2te.js → shell-rq4xqzzd.js} +4 -4
- package/dist/chunks/{ripgrep-ds2g25h4.js → shell-rq8qh2nn.js} +32 -32
- package/dist/chunks/{ripgrep-bzryztkv.js → shell-s2n5r9er.js} +27 -27
- package/dist/chunks/{ripgrep-6qwwd18r.js → shell-s45sawj9.js} +4 -4
- package/dist/chunks/{ripgrep-s4enseaf.js → shell-s4enseaf.js} +2 -2
- package/dist/chunks/{ripgrep-9gf5hqrf.js → shell-sf7s3xnw.js} +62 -62
- package/dist/chunks/{ripgrep-1gfvv37n.js → shell-shk57n0j.js} +11 -11
- package/dist/chunks/{ripgrep-anjeghmy.js → shell-shkg2ahe.js} +58 -58
- package/dist/chunks/{ripgrep-j6rsnrbc.js → shell-sx1q5qav.js} +22 -22
- package/dist/chunks/{ripgrep-kn5jtnf9.js → shell-t38tzg53.js} +19 -19
- package/dist/chunks/{ripgrep-189gvxgf.js → shell-t44n027g.js} +14 -14
- package/dist/chunks/{ripgrep-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-2pyh63en.js → shell-tb399yc8.js} +22 -22
- package/dist/chunks/{ripgrep-tdd2jx9c.js → shell-tb9hrnng.js} +15 -15
- package/dist/chunks/{ripgrep-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
- package/dist/chunks/{ripgrep-tdstcens.js → shell-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-gfe8pz8k.js → shell-tezxby1z.js} +4 -4
- package/dist/chunks/{ripgrep-hma6wv7h.js → shell-tj413h3v.js} +14 -14
- package/dist/chunks/{ripgrep-wva7n27r.js → shell-tkg9rxzp.js} +8 -8
- package/dist/chunks/{ripgrep-ksqz3pap.js → shell-tkwws864.js} +19 -19
- package/dist/chunks/{ripgrep-bg6j762k.js → shell-tmaw6k1g.js} +5 -5
- package/dist/chunks/{ripgrep-v7wvwwvc.js → shell-tnsmn68n.js} +15 -15
- package/dist/chunks/{ripgrep-scq4khx8.js → shell-ts2x07a1.js} +1 -1
- package/dist/chunks/{ripgrep-tvtrv512.js → shell-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-20cnsgn6.js → shell-twygzwrg.js} +4 -4
- package/dist/chunks/{ripgrep-vpnc1spb.js → shell-v5enyfy9.js} +11 -11
- package/dist/chunks/{ripgrep-h3qyz6r3.js → shell-v8wr64pb.js} +2 -2
- package/dist/chunks/{ripgrep-x3qc7sc6.js → shell-vcfd1qyk.js} +24 -24
- package/dist/chunks/{ripgrep-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-66r4fn97.js → shell-vet9mkc8.js} +37 -37
- package/dist/chunks/{ripgrep-5jz398fa.js → shell-vfx00g3j.js} +23 -23
- package/dist/chunks/{ripgrep-bajakh74.js → shell-vkxpz7g2.js} +4 -4
- package/dist/chunks/{ripgrep-x8pc9v5x.js → shell-vnge3cnh.js} +12 -12
- package/dist/chunks/{ripgrep-0t098hqn.js → shell-vnwmzs4a.js} +5 -5
- package/dist/chunks/{ripgrep-4p3ge18s.js → shell-vq3jpdg0.js} +11 -11
- package/dist/chunks/{ripgrep-8j1202qn.js → shell-vq7zxmz5.js} +23 -23
- package/dist/chunks/{ripgrep-f4mjzmv8.js → shell-vz6ekzbd.js} +19 -19
- package/dist/chunks/{ripgrep-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-rsz70btv.js → shell-vzjym1fd.js} +12 -12
- package/dist/chunks/{ripgrep-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-4sct5deg.js → shell-wc2samf7.js} +19 -19
- package/dist/chunks/{ripgrep-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-12x6e8th.js → shell-wn0qm5qp.js} +17 -17
- package/dist/chunks/{ripgrep-ra713epb.js → shell-wn3yryga.js} +15 -15
- package/dist/chunks/{ripgrep-rg9pm5jb.js → shell-wztakc2g.js} +29 -29
- package/dist/chunks/{ripgrep-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-bdd1mh0w.js → shell-x9emb11y.js} +9 -9
- package/dist/chunks/{ripgrep-k1jy5w06.js → shell-xa8bg79b.js} +1 -1
- package/dist/chunks/{ripgrep-73gmm198.js → shell-xb02k0wq.js} +4 -4
- package/dist/chunks/{ripgrep-czw1qt7p.js → shell-xdaabq9e.js} +5 -5
- package/dist/chunks/{ripgrep-yp1jwc24.js → shell-xx3aj77c.js} +39 -39
- package/dist/chunks/{ripgrep-124zgskp.js → shell-xxs5sj5m.js} +5 -5
- package/dist/chunks/{ripgrep-6x0gytms.js → shell-xxvph2p0.js} +84 -84
- package/dist/chunks/{ripgrep-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-e1n4w09h.js → shell-y3nkzwnm.js} +28 -28
- package/dist/chunks/{ripgrep-21w4258z.js → shell-y992ahjm.js} +1 -1
- package/dist/chunks/{ripgrep-6rdgvekc.js → shell-yaym739t.js} +3 -3
- package/dist/chunks/{ripgrep-gmpff112.js → shell-ydkphrk6.js} +17 -17
- package/dist/chunks/{ripgrep-4rr9ghsb.js → shell-yhcttc12.js} +12 -12
- package/dist/chunks/{ripgrep-yp2x3t23.js → shell-yp2x3t23.js} +1 -1
- package/dist/chunks/{ripgrep-a9tqjgec.js → shell-yqcnkns9.js} +15 -15
- package/dist/chunks/{ripgrep-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-jpzcdmvj.js → shell-ysm27kyh.js} +10 -10
- package/dist/chunks/{ripgrep-yt0fqk68.js → shell-yt0fqk68.js} +2 -2
- package/dist/chunks/{ripgrep-67dbk5sq.js → shell-yw5eewpj.js} +29 -29
- package/dist/chunks/{ripgrep-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-9bc93h43.js → shell-z9nnsx8f.js} +11 -11
- package/dist/chunks/{ripgrep-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-yseaw3zk.js → shell-zhgb2amq.js} +28 -28
- package/dist/chunks/{ripgrep-jt7tdy1h.js → shell-znbb05ss.js} +16 -16
- package/dist/chunks/{ripgrep-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-bn746h9y.js → shell-zrg5zcty.js} +9 -9
- package/dist/chunks/{ripgrep-ajbpkfam.js → shell-zwbb9m0v.js} +11 -11
- package/dist/chunks/{ripgrep-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +78 -78
- 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 +122 -122
- package/dist/config/plugin/command.js +211 -211
- 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 +129 -129
- 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 +119 -119
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +71 -71
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +1 -1
- 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 +92 -92
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +103 -103
- package/dist/form.js +81 -81
- 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 +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +135 -135
- package/dist/location-mutation.js +103 -103
- 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 +107 -107
- 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 +97 -97
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- 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 +119 -119
- 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 +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +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 +96 -96
- 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 +97 -97
- package/dist/reference/instructions.js +86 -86
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- 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 +2 -2
- 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 +226 -226
- 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 +170 -170
- 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 +1 -1
- package/dist/session/title.js +149 -149
- 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 +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- 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 +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- 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/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 +3 -3
- 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 +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- 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 +95 -95
- 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-by5v678g.js +0 -18
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → shell-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e3qxr5gk.js → shell-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-hrnqkpcd.js → shell-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-twg0f83k.js → shell-twg0f83k.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./shell-bsp1pkt4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./shell-v5enyfy9.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service33,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-rap9a73h.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-fqax9b7r.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shell-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event2,
|
|
30
|
+
ID: () => ID2,
|
|
31
|
+
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service33,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node16
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service77;
|
|
45
|
+
const kv = yield* Service80;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service33.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node16 = Node.makeLocationNode({
|
|
226
|
+
service: Service33,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node16, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./shell-ks9y0tx3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service73;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Plugin37
|
|
3
|
+
} from "./shell-2a4f6v5q.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Plugin35
|
|
6
|
+
} from "./shell-zrg5zcty.js";
|
|
7
7
|
import {
|
|
8
8
|
Plugin36
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-0aw7zksj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Plugin34
|
|
12
|
+
} from "./shell-3gqfk94q.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Plugin38
|
|
15
|
+
} from "./shell-x9emb11y.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/websearch/index.ts
|
|
18
18
|
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin37,
|
|
19
20
|
Plugin35,
|
|
20
|
-
Plugin39,
|
|
21
21
|
Plugin36,
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
Plugin34,
|
|
23
|
+
Plugin38
|
|
24
24
|
];
|
|
25
25
|
|
|
26
26
|
export { WebSearchPlugins2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-5p8jzcnz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./shell-fgga4tyk.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-hs3g5x4f.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 make10(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* Service63;
|
|
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 make9(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 = ID10.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 make9(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make10();
|
|
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 { make10, OllamaPlugin2 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-jwcy2c2z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service77,
|
|
6
|
+
node82
|
|
7
|
+
} from "./shell-bsp1pkt4.js";
|
|
8
|
+
import {
|
|
9
|
+
Event20,
|
|
10
|
+
Service71,
|
|
11
|
+
node75
|
|
12
|
+
} from "./shell-g99htbkw.js";
|
|
8
13
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./ripgrep-ptse1bjf.js";
|
|
14
|
+
Service75,
|
|
15
|
+
node80
|
|
16
|
+
} from "./shell-t44n027g.js";
|
|
13
17
|
import {
|
|
14
18
|
Service73,
|
|
15
19
|
node77
|
|
16
|
-
} from "./
|
|
20
|
+
} from "./shell-ks9y0tx3.js";
|
|
17
21
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
ID18,
|
|
23
|
-
Service77,
|
|
24
|
-
node81
|
|
25
|
-
} from "./ripgrep-79gxnefz.js";
|
|
22
|
+
ID13,
|
|
23
|
+
Service70,
|
|
24
|
+
node74
|
|
25
|
+
} from "./shell-0bvq92zm.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./shell-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID12,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service69,
|
|
34
|
+
node73
|
|
35
|
+
} from "./shell-3657zqg5.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./shell-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service34,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured4,
|
|
57
|
+
layer: () => layer15,
|
|
58
|
+
node: () => node38
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -92,21 +92,21 @@ 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 Service34 extends Context.Service()("@opencode/MCP") {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Options4 = Schema.Struct({
|
|
98
98
|
clientInfo: Schema.optional(Schema.Struct({
|
|
99
99
|
name: Schema.String,
|
|
100
100
|
version: Schema.String
|
|
101
101
|
}))
|
|
102
102
|
});
|
|
103
|
-
var
|
|
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 layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
104
|
+
const location = yield* Service75;
|
|
105
|
+
const environment = yield* Service73;
|
|
106
|
+
const bus = yield* Service77;
|
|
107
|
+
const forms = yield* Service70;
|
|
108
|
+
const integration = yield* Service69;
|
|
109
|
+
const credentials = yield* Service71;
|
|
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 = ID12.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(Service71, credentials));
|
|
138
138
|
})
|
|
139
139
|
});
|
|
140
140
|
}).pipe(Scope.provide(scope));
|
|
@@ -143,19 +143,19 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
143
143
|
const name = ServerName2.make(server);
|
|
144
144
|
const entry = entries.get(name);
|
|
145
145
|
if (!entry)
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new NotFoundError5({ server: name });
|
|
147
147
|
return { name, entry };
|
|
148
148
|
});
|
|
149
149
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
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(Service71, 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 = ID13.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(Service73, 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(Event20.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 Service34.of({
|
|
393
393
|
transform: state.transform,
|
|
394
394
|
reload: state.reload,
|
|
395
395
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -508,14 +508,14 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
508
508
|
})
|
|
509
509
|
});
|
|
510
510
|
}));
|
|
511
|
-
function
|
|
511
|
+
function configured4(options) {
|
|
512
512
|
return makeLocationNode({
|
|
513
|
-
service:
|
|
514
|
-
layer:
|
|
515
|
-
deps: [node77,
|
|
513
|
+
service: Service34,
|
|
514
|
+
layer: layer15(options),
|
|
515
|
+
deps: [node80, node77, node82, node74, node73, node75]
|
|
516
516
|
});
|
|
517
517
|
}
|
|
518
|
-
var
|
|
518
|
+
var node38 = configured4();
|
|
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,
|
|
569
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service34, Options4, layer15, configured4, node38, exports_mcp4 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
13
|
make: () => make20,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node79,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node79 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node79, exports_driver };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service77,
|
|
4
|
+
node82
|
|
5
|
+
} from "./shell-bsp1pkt4.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node85
|
|
9
|
+
} from "./shell-v5enyfy9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event14,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service65,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node68,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service65 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event14 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service80;
|
|
81
|
+
const bus = yield* Service77;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event14.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service65.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event14.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event14.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node68 = makeGlobalNode({ service: Service65, layer, deps: [httpClient, node85, node82] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service65, Event14, inspect2, resolve3, node68, exports_wellknown };
|