@opencode/core 0.0.0-dev-20198 → 0.0.0-dev-20200
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{plugin-7rnj7wqq.js → kv-008ky6xd.js} +11 -11
- package/dist/chunks/{plugin-fty4trjx.js → kv-044mmm99.js} +12 -12
- package/dist/chunks/{plugin-jzqva1wk.js → kv-06vxkqyn.js} +12 -12
- package/dist/chunks/{plugin-fdms3n6w.js → kv-0996nyz8.js} +9 -9
- package/dist/chunks/{plugin-gdqz7bvt.js → kv-0gk92k0g.js} +15 -15
- package/dist/chunks/{plugin-909p1r3q.js → kv-0hf9g8pg.js} +6 -6
- package/dist/chunks/{plugin-zrcqcakk.js → kv-0p12md73.js} +32 -32
- package/dist/chunks/{plugin-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
- package/dist/chunks/{plugin-6k3ez0z1.js → kv-0w2d0ngr.js} +22 -22
- package/dist/chunks/{plugin-bwkfhyr0.js → kv-12v2wr5k.js} +20 -20
- package/dist/chunks/{plugin-w9kjr0s9.js → kv-15ekqka4.js} +9 -9
- package/dist/chunks/{plugin-70xrzfeb.js → kv-15wzyxw8.js} +13 -13
- package/dist/chunks/{plugin-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
- package/dist/chunks/{plugin-365y11ma.js → kv-1jfw4ezy.js} +22 -22
- package/dist/chunks/{plugin-47s33pss.js → kv-1jrn0y2c.js} +7 -7
- package/dist/chunks/{plugin-q01vncef.js → kv-1pvp55tc.js} +15 -15
- package/dist/chunks/{plugin-21r38tys.js → kv-21r38tys.js} +1 -1
- package/dist/chunks/{plugin-6h73sxmp.js → kv-2402vzrj.js} +5 -5
- package/dist/chunks/{plugin-6f8py4c6.js → kv-25e94b50.js} +30 -30
- package/dist/chunks/{plugin-2tgkj9n8.js → kv-28y8n1jc.js} +18 -18
- package/dist/chunks/{plugin-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
- package/dist/chunks/{plugin-0ke265bw.js → kv-2fgn2we9.js} +7 -7
- package/dist/chunks/{plugin-xxsztry3.js → kv-2j285a9n.js} +10 -10
- package/dist/chunks/{plugin-7v2bqa7d.js → kv-2jaff4ej.js} +20 -20
- package/dist/chunks/{plugin-rzp1atk9.js → kv-2r9h09s2.js} +18 -18
- package/dist/chunks/{plugin-cwa6csj7.js → kv-2sejkfem.js} +9 -9
- package/dist/chunks/{plugin-g8d3gcyj.js → kv-34rkz0x9.js} +4 -4
- package/dist/chunks/{plugin-ngczm8d5.js → kv-35b7rq0x.js} +5 -5
- package/dist/chunks/{plugin-s8baed6t.js → kv-36xnbeg7.js} +5 -5
- package/dist/chunks/{plugin-150yg2gd.js → kv-3bc8czyk.js} +5 -5
- package/dist/chunks/{plugin-afzym0c1.js → kv-3eaknccx.js} +15 -15
- package/dist/chunks/{plugin-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
- package/dist/chunks/{plugin-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{plugin-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
- package/dist/chunks/{plugin-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
- package/dist/chunks/{plugin-b5ng3mar.js → kv-3xt4txzx.js} +13 -13
- package/dist/chunks/{plugin-3zsf4n22.js → kv-3zsf4n22.js} +1 -1
- package/dist/chunks/{plugin-0x2xcgb3.js → kv-405d8dyj.js} +9 -9
- package/dist/chunks/{plugin-hr6n5wvr.js → kv-4241kp7x.js} +40 -40
- package/dist/chunks/{plugin-trpcsafk.js → kv-47z78yqg.js} +13 -13
- package/dist/chunks/{plugin-a6tpy895.js → kv-48mxmdn4.js} +21 -21
- package/dist/chunks/{plugin-vmdd0m2d.js → kv-4fk0nsxj.js} +47 -47
- package/dist/chunks/{plugin-a81kfqvn.js → kv-4j4tgtq5.js} +4 -4
- package/dist/chunks/{plugin-xj900wqc.js → kv-4s9s8n1f.js} +6 -6
- package/dist/chunks/{plugin-3n6fx8re.js → kv-4yghvmm2.js} +8 -8
- package/dist/chunks/{plugin-hqhd4wnf.js → kv-5012c781.js} +24 -24
- package/dist/chunks/{plugin-drwq78ky.js → kv-57b9ws8p.js} +5 -5
- package/dist/chunks/{plugin-gjw33yaz.js → kv-58z1dnym.js} +10 -10
- package/dist/chunks/{plugin-5daktx2q.js → kv-5daktx2q.js} +1 -1
- package/dist/chunks/{plugin-5yd4b64d.js → kv-5gw5e6z6.js} +15 -15
- package/dist/chunks/{plugin-engkm2d6.js → kv-5nrew705.js} +5 -5
- package/dist/chunks/{plugin-qqmkqge3.js → kv-5r6ymjvn.js} +2 -2
- package/dist/chunks/{plugin-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
- package/dist/chunks/{plugin-h11s7pqt.js → kv-5xpznt2d.js} +4 -4
- package/dist/chunks/{plugin-48gteezh.js → kv-63jxkw5m.js} +7 -7
- package/dist/chunks/{plugin-g8jasmdt.js → kv-63zbbs1j.js} +8 -8
- package/dist/chunks/{plugin-669tq793.js → kv-669tq793.js} +1 -1
- package/dist/chunks/{plugin-90wed0f6.js → kv-66nvbt5p.js} +32 -32
- package/dist/chunks/{plugin-dk8jrwhg.js → kv-675cb2xh.js} +34 -34
- package/dist/chunks/{plugin-wtheh379.js → kv-6bawt1mm.js} +88 -88
- package/dist/chunks/{plugin-r7sqkavj.js → kv-6hdpnvdz.js} +37 -37
- package/dist/chunks/{plugin-v16xhacn.js → kv-6kf5t01g.js} +15 -15
- package/dist/chunks/{plugin-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
- package/dist/chunks/{plugin-adb60020.js → kv-6qmx44j7.js} +24 -24
- package/dist/chunks/{plugin-00d3at1w.js → kv-6vd9acrv.js} +18 -18
- package/dist/chunks/{plugin-myp334fg.js → kv-6vj46r6j.js} +17 -17
- package/dist/chunks/{plugin-bhf7pen4.js → kv-72wrqvbm.js} +4 -4
- package/dist/chunks/{plugin-eq1pz5kg.js → kv-73tb2d7t.js} +3 -3
- package/dist/chunks/{plugin-h3jjvdef.js → kv-77b417fw.js} +27 -27
- package/dist/chunks/{plugin-pt1f48nk.js → kv-7bmhgpta.js} +3 -3
- package/dist/chunks/{plugin-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{plugin-e09s77kp.js → kv-7caayt8c.js} +33 -33
- package/dist/chunks/{plugin-qvb3nf84.js → kv-7j2qha59.js} +8 -8
- package/dist/chunks/{plugin-rfb0xkgm.js → kv-7mg3mn71.js} +18 -18
- package/dist/chunks/{plugin-zh26k158.js → kv-7n5a3d89.js} +17 -17
- package/dist/chunks/{plugin-gvf9v2c0.js → kv-7vk1qj2g.js} +3 -3
- package/dist/chunks/{plugin-bscb95cy.js → kv-7w3s9kd0.js} +4 -4
- package/dist/chunks/{plugin-0n1qath5.js → kv-818hvdkr.js} +10 -10
- package/dist/chunks/{plugin-2dbps0zs.js → kv-86ny7xhr.js} +6 -6
- package/dist/chunks/{plugin-ghtqmzx5.js → kv-8d4b8q1n.js} +20 -20
- package/dist/chunks/{plugin-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
- package/dist/chunks/{plugin-181txgxj.js → kv-8jhmrshf.js} +11 -11
- package/dist/chunks/{plugin-zm1nwptd.js → kv-8q61w4ba.js} +6 -6
- package/dist/chunks/{plugin-vzatwn00.js → kv-8ww9rymz.js} +6 -6
- package/dist/chunks/{plugin-vsrk2gnt.js → kv-8zyp9hwm.js} +32 -32
- package/dist/chunks/{plugin-mbdwwctk.js → kv-929qfjhx.js} +46 -46
- package/dist/chunks/{plugin-gfvb90ym.js → kv-94ek1h2f.js} +2 -2
- package/dist/chunks/{plugin-nt1t7xjc.js → kv-9bqjkzgr.js} +38 -38
- package/dist/chunks/{plugin-ksd9d9c2.js → kv-9e9cf9vw.js} +33 -33
- package/dist/chunks/{plugin-7rbdxjnj.js → kv-9gc7vjkx.js} +4 -4
- package/dist/chunks/{plugin-6702r7ke.js → kv-9hbayf03.js} +10 -10
- package/dist/chunks/kv-9hc01c8g.js +252 -0
- package/dist/chunks/{plugin-sqxehe1r.js → kv-9j9yah8t.js} +3 -3
- package/dist/chunks/{plugin-yn8w9rk4.js → kv-9nq6t4am.js} +4 -4
- package/dist/chunks/{plugin-1vr0zdnx.js → kv-9xgs3anq.js} +6 -6
- package/dist/chunks/{plugin-xya6rnzh.js → kv-a310axxt.js} +15 -15
- package/dist/chunks/{plugin-bzx6e9pd.js → kv-a7r3yzpa.js} +8 -8
- package/dist/chunks/{plugin-cavr175a.js → kv-a8bn8zg0.js} +4 -4
- package/dist/chunks/{plugin-aaet6srn.js → kv-aaet6srn.js} +2 -2
- package/dist/chunks/{plugin-7kx9m9jq.js → kv-acw7k398.js} +23 -23
- package/dist/chunks/{plugin-dhm4srrs.js → kv-ae6e55sh.js} +1 -1
- package/dist/chunks/{plugin-qq1ahj4r.js → kv-akwkjb9w.js} +26 -26
- package/dist/chunks/{plugin-p7kwad1h.js → kv-amzhydp5.js} +19 -19
- package/dist/chunks/{plugin-tgmwm58t.js → kv-ap6tfh1y.js} +8 -8
- package/dist/chunks/{plugin-pbj1twy5.js → kv-apmwx0mv.js} +15 -15
- package/dist/chunks/{plugin-t7xzdxck.js → kv-b54fy576.js} +16 -16
- package/dist/chunks/{plugin-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
- package/dist/chunks/{plugin-c488s98d.js → kv-b9qtqcez.js} +12 -12
- package/dist/chunks/{plugin-j5k70gxj.js → kv-bfytmfr3.js} +28 -28
- package/dist/chunks/{plugin-mw3cb245.js → kv-bjvfgwtq.js} +6 -6
- package/dist/chunks/{plugin-k1qrnqst.js → kv-brsymgq7.js} +8 -8
- package/dist/chunks/{plugin-d2r7anev.js → kv-btz8j7bn.js} +23 -23
- package/dist/chunks/{plugin-4de5fkr9.js → kv-bwzvk71w.js} +8 -8
- package/dist/chunks/{plugin-by5v678g.js → kv-by5v678g.js} +1 -1
- package/dist/chunks/{plugin-8p70309a.js → kv-c41yqgwq.js} +12 -12
- package/dist/chunks/{plugin-krkzq7r3.js → kv-cahpe2n8.js} +55 -55
- package/dist/chunks/{plugin-54tcyq79.js → kv-ckecvw8r.js} +2 -2
- package/dist/chunks/{plugin-g0445xdp.js → kv-cmwkp3r5.js} +4 -4
- package/dist/chunks/{plugin-r33ff4dw.js → kv-cpy6gm2a.js} +4 -4
- package/dist/chunks/{plugin-135paw2g.js → kv-cr9r3pav.js} +11 -11
- package/dist/chunks/{plugin-crpn3041.js → kv-d7ay5qea.js} +9 -9
- package/dist/chunks/{plugin-22kkypfe.js → kv-d9s7ttc9.js} +23 -23
- package/dist/chunks/{plugin-jv26kyrx.js → kv-dfkmra9p.js} +67 -67
- package/dist/chunks/{plugin-c78bbtc9.js → kv-dj9sq318.js} +5 -5
- package/dist/chunks/{plugin-pf6j7trv.js → kv-djwwgwpk.js} +24 -24
- package/dist/chunks/{plugin-jzjdh01g.js → kv-dpm07twj.js} +22 -22
- package/dist/chunks/{plugin-2fa7naq1.js → kv-e0y3q2t7.js} +4 -4
- package/dist/chunks/{plugin-hnr5yq9h.js → kv-e6hmchc5.js} +5 -5
- package/dist/chunks/{plugin-y6tr3f1c.js → kv-e968rfje.js} +5 -5
- package/dist/chunks/{plugin-g9k8c9fb.js → kv-eas639wf.js} +13 -13
- package/dist/chunks/{plugin-dv8nta62.js → kv-eb3fpf5k.js} +38 -38
- package/dist/chunks/{plugin-ecfe7b91.js → kv-ecfe7b91.js} +2 -2
- package/dist/chunks/{plugin-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
- package/dist/chunks/{plugin-j3xmv9k3.js → kv-ek3hbz36.js} +20 -20
- package/dist/chunks/{plugin-am9g8zmc.js → kv-epz9n6gd.js} +9 -9
- package/dist/chunks/{plugin-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
- package/dist/chunks/{plugin-amk2g0b2.js → kv-ezp3dbqm.js} +26 -26
- package/dist/chunks/{plugin-d5rr1m9q.js → kv-f1w6t8pw.js} +43 -43
- package/dist/chunks/{plugin-nmz8gp0b.js → kv-f52hwzs9.js} +3 -3
- package/dist/chunks/{plugin-5mazm5hr.js → kv-fbjv2wms.js} +4 -4
- package/dist/chunks/{plugin-sgvepfk3.js → kv-fe7g0e1n.js} +11 -11
- package/dist/chunks/{plugin-4dqr3qzq.js → kv-feevgyx0.js} +9 -9
- package/dist/chunks/{plugin-yrvpf7rs.js → kv-fm8h5qbs.js} +19 -19
- package/dist/chunks/{plugin-y6kccm89.js → kv-fqj9nv8j.js} +8 -8
- package/dist/chunks/{plugin-88we24x6.js → kv-fs4kye86.js} +10 -10
- package/dist/chunks/{plugin-dx3kejg3.js → kv-fvr96f0r.js} +16 -16
- package/dist/chunks/{plugin-5qwkxp89.js → kv-gc4fb455.js} +4 -4
- package/dist/chunks/{plugin-0psky2j0.js → kv-gcr60sz1.js} +14 -14
- package/dist/chunks/{plugin-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
- package/dist/chunks/{plugin-amg81mr5.js → kv-gdb7m3nd.js} +15 -15
- package/dist/chunks/{plugin-c8nmdwf6.js → kv-ggr0yhfm.js} +6 -6
- package/dist/chunks/{plugin-0wn9mnpm.js → kv-grw4a607.js} +20 -20
- package/dist/chunks/{plugin-gv6a8nnw.js → kv-gv6a8nnw.js} +2 -2
- package/dist/chunks/{plugin-j53dbz6b.js → kv-h3g55zm3.js} +33 -33
- package/dist/chunks/{plugin-cmhz4ywj.js → kv-h4551a7c.js} +12 -12
- package/dist/chunks/{plugin-8z00fdkb.js → kv-h6r3nrb9.js} +4 -4
- package/dist/chunks/{plugin-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
- package/dist/chunks/{plugin-dbmc5gjs.js → kv-h90v2x9d.js} +4 -4
- package/dist/chunks/{plugin-gg3hnhsj.js → kv-hd8vw2pw.js} +1 -1
- package/dist/chunks/{plugin-9gs81rcm.js → kv-hh0wwtej.js} +23 -23
- package/dist/chunks/{plugin-sy29epdy.js → kv-hrc132h6.js} +9 -9
- package/dist/chunks/{plugin-j56e64zr.js → kv-j56e64zr.js} +1 -1
- package/dist/chunks/{plugin-v20d0tgc.js → kv-jh62cmzp.js} +27 -27
- package/dist/chunks/{plugin-j6wx89t1.js → kv-jwxra80w.js} +49 -49
- package/dist/chunks/{plugin-4qpxv6wr.js → kv-jyb24yan.js} +3 -3
- package/dist/chunks/kv-jyd95hha.js +26 -0
- package/dist/chunks/{plugin-zvt5dnpc.js → kv-k76fn4kw.js} +4 -4
- package/dist/chunks/{plugin-vc318h8v.js → kv-k81c2yat.js} +9 -9
- package/dist/chunks/{plugin-kb0g0tvj.js → kv-kaxxkvzj.js} +9 -9
- package/dist/chunks/{plugin-nscznvay.js → kv-kfphszmj.js} +9 -9
- package/dist/chunks/{plugin-js9c7n9a.js → kv-kn9w4ht6.js} +29 -29
- package/dist/chunks/{plugin-wxtwjjmk.js → kv-kndt36as.js} +27 -27
- package/dist/chunks/{plugin-ysphgs6j.js → kv-krtn3akr.js} +16 -16
- package/dist/chunks/{plugin-xg9t41r3.js → kv-ky3seynh.js} +2 -2
- package/dist/chunks/{plugin-m3fdjcah.js → kv-m3fdjcah.js} +1 -1
- package/dist/chunks/{plugin-bgmry1c8.js → kv-m4jhfb0f.js} +35 -35
- package/dist/chunks/{plugin-yh6b85yb.js → kv-m7zm54h4.js} +16 -16
- package/dist/chunks/{plugin-w5mhcnk6.js → kv-m9v8gedr.js} +35 -35
- package/dist/chunks/{plugin-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{plugin-jjejcnfv.js → kv-mbe3rgf9.js} +17 -17
- package/dist/chunks/{plugin-9tcf48vb.js → kv-mc1v6acc.js} +5 -5
- package/dist/chunks/{plugin-7szedt86.js → kv-mcckckm0.js} +22 -22
- package/dist/chunks/{plugin-dm7vvyya.js → kv-mdnqa07m.js} +86 -86
- package/dist/chunks/{plugin-2k36c91y.js → kv-mf41z90d.js} +4 -4
- package/dist/chunks/{plugin-33w4ejhs.js → kv-mfqp6xfm.js} +9 -9
- package/dist/chunks/{plugin-hznc8n11.js → kv-mgjwc72w.js} +16 -16
- package/dist/chunks/{plugin-46ez3shz.js → kv-mt747vtd.js} +16 -16
- package/dist/chunks/{plugin-wxnjdw57.js → kv-nb3rtpcf.js} +30 -30
- package/dist/chunks/{plugin-yb8jxxt7.js → kv-nfyzrv16.js} +174 -174
- package/dist/chunks/{plugin-cr07tj7n.js → kv-nxhqveyz.js} +5 -5
- package/dist/chunks/{plugin-nzks3jc8.js → kv-nzks3jc8.js} +3 -3
- package/dist/chunks/{plugin-mzjf7cd6.js → kv-p1sqkaz6.js} +30 -30
- package/dist/chunks/{plugin-rhnmg28j.js → kv-p394kfqa.js} +21 -21
- package/dist/chunks/{plugin-n4632865.js → kv-pbajh4cp.js} +21 -21
- package/dist/chunks/{plugin-c7t2jc66.js → kv-pgf8t6vv.js} +16 -16
- package/dist/chunks/{plugin-btbmdjwj.js → kv-pgp1nwjn.js} +4 -4
- package/dist/chunks/{plugin-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
- package/dist/chunks/{plugin-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{plugin-y58smqnx.js → kv-pns9m75b.js} +22 -22
- package/dist/chunks/{plugin-7bqd3h08.js → kv-psfprayc.js} +30 -30
- package/dist/chunks/{plugin-1awxr458.js → kv-pxsr1a75.js} +22 -22
- package/dist/chunks/{plugin-3q4t4yhh.js → kv-pz6mwthz.js} +11 -11
- package/dist/chunks/{plugin-xd7x77jt.js → kv-q38ztzk3.js} +8 -8
- package/dist/chunks/{plugin-5631ja65.js → kv-q44xq5mv.js} +20 -20
- package/dist/chunks/{plugin-va3gjm6r.js → kv-qdqhcepg.js} +22 -22
- package/dist/chunks/{plugin-cnvcdvk7.js → kv-qf8xbt1v.js} +6 -6
- package/dist/chunks/{plugin-7dqw4kz8.js → kv-qgn6gcr1.js} +5 -5
- package/dist/chunks/{plugin-qsdy395h.js → kv-qsdy395h.js} +1 -1
- package/dist/chunks/{plugin-q8hay3rb.js → kv-qw1hjn5n.js} +11 -11
- package/dist/chunks/{plugin-kc24w74q.js → kv-qxskx7a8.js} +20 -20
- package/dist/chunks/{plugin-465j21sy.js → kv-r1w8yxk1.js} +11 -11
- package/dist/chunks/{plugin-8vptany5.js → kv-r49rms47.js} +15 -15
- package/dist/chunks/{plugin-f2n192rq.js → kv-r8xr0va3.js} +4 -4
- package/dist/chunks/{plugin-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
- package/dist/chunks/{plugin-814kmemw.js → kv-s086309j.js} +11 -11
- package/dist/chunks/{plugin-8tg9364h.js → kv-s502b684.js} +35 -35
- package/dist/chunks/{plugin-sk5hrgtc.js → kv-s5met55r.js} +8 -8
- package/dist/chunks/{plugin-eaj1djv9.js → kv-s8d7rejh.js} +6 -6
- package/dist/chunks/{plugin-yde77qe8.js → kv-scfhtmm0.js} +20 -20
- package/dist/chunks/{plugin-mjsdfrqq.js → kv-sfmm8b11.js} +3 -3
- package/dist/chunks/{plugin-8m7n61g9.js → kv-sgsg99ma.js} +14 -14
- package/dist/chunks/{plugin-82wy67mx.js → kv-sqmrdnv2.js} +13 -13
- package/dist/chunks/{plugin-sx1n432n.js → kv-sx1n432n.js} +1 -1
- package/dist/chunks/{plugin-ykkxkfdk.js → kv-szf09ach.js} +1 -1
- package/dist/chunks/{plugin-9w8h1dp2.js → kv-sztv68sg.js} +10 -10
- package/dist/chunks/{plugin-fbgc5stj.js → kv-t32h7b8c.js} +11 -11
- package/dist/chunks/{plugin-kd5aekfz.js → kv-t6w109sr.js} +10 -10
- package/dist/chunks/{plugin-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
- package/dist/chunks/{plugin-tcezcvh9.js → kv-tcezcvh9.js} +1 -1
- package/dist/chunks/{plugin-tdstcens.js → kv-tdstcens.js} +1 -1
- package/dist/chunks/{plugin-kwf1bz3p.js → kv-tsba6pye.js} +11 -11
- package/dist/chunks/{plugin-tvtrv512.js → kv-tvtrv512.js} +1 -1
- package/dist/chunks/{plugin-3w17p3hf.js → kv-tvwg490j.js} +13 -13
- package/dist/chunks/{plugin-26vscet6.js → kv-tz96gs0j.js} +18 -18
- package/dist/chunks/{plugin-nb93grzr.js → kv-v84zncc1.js} +22 -22
- package/dist/chunks/{plugin-4s9621k1.js → kv-vaakq16n.js} +27 -27
- package/dist/chunks/{plugin-yscn6m8x.js → kv-vcbm7j51.js} +321 -321
- package/dist/chunks/{plugin-veqvce7d.js → kv-veqvce7d.js} +1 -1
- package/dist/chunks/{plugin-jx5n61fp.js → kv-vfjb33rt.js} +48 -48
- package/dist/chunks/{plugin-r0g1befd.js → kv-vsfhvs7g.js} +15 -15
- package/dist/chunks/{plugin-kwbg84br.js → kv-vvrjcdcd.js} +26 -26
- package/dist/chunks/{plugin-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
- package/dist/chunks/{plugin-vzs5sf6e.js → kv-vzs5sf6e.js} +1 -1
- package/dist/chunks/{plugin-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{plugin-rkprpv83.js → kv-w92k2e0p.js} +8 -8
- package/dist/chunks/{plugin-psazpmmj.js → kv-wd3x2cqz.js} +2 -2
- package/dist/chunks/{plugin-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{plugin-97tk06h4.js → kv-wmj8bw0h.js} +14 -14
- package/dist/chunks/{plugin-c5gzkv3d.js → kv-wsw2kcn9.js} +54 -54
- package/dist/chunks/{plugin-cnt49j60.js → kv-wzjzhp9x.js} +11 -11
- package/dist/chunks/{plugin-xdyent50.js → kv-x0vf958q.js} +15 -15
- package/dist/chunks/{plugin-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
- package/dist/chunks/{plugin-3xdrjpac.js → kv-xbq70fcf.js} +5 -5
- package/dist/chunks/{plugin-qfp12t6j.js → kv-xdkhn8b3.js} +25 -25
- package/dist/chunks/{plugin-emgpx2h1.js → kv-xf6wswyz.js} +5 -5
- package/dist/chunks/{plugin-xkntkrq7.js → kv-xkntkrq7.js} +2 -2
- package/dist/chunks/{plugin-tn37k3m9.js → kv-xmyc1ybr.js} +8 -8
- package/dist/chunks/{plugin-vc96fsty.js → kv-xrhw1ar0.js} +17 -17
- package/dist/chunks/{plugin-n9sp10wr.js → kv-xsb7wvk9.js} +24 -24
- package/dist/chunks/{plugin-s26macgz.js → kv-xwx7c69n.js} +26 -26
- package/dist/chunks/{plugin-j7wq2tw5.js → kv-xxynqx5z.js} +3 -3
- package/dist/chunks/{plugin-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
- package/dist/chunks/{plugin-y71avatq.js → kv-y71avatq.js} +1 -1
- package/dist/chunks/{plugin-rh154m9b.js → kv-y7yk5qzd.js} +5 -5
- package/dist/chunks/{plugin-3r2wmwvh.js → kv-ya1xakhb.js} +10 -10
- package/dist/chunks/{plugin-nn1qzx0d.js → kv-yckxw83q.js} +9 -9
- package/dist/chunks/{plugin-k5165mak.js → kv-yeee9s21.js} +2 -2
- package/dist/chunks/{plugin-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
- package/dist/chunks/{plugin-yrznvahk.js → kv-yrznvahk.js} +2 -2
- package/dist/chunks/{plugin-a3aksj2e.js → kv-ys7sjhwd.js} +21 -21
- package/dist/chunks/{plugin-9znj1xea.js → kv-yt7m8170.js} +3 -3
- package/dist/chunks/{plugin-hmz0wy72.js → kv-ywgzcymc.js} +11 -11
- package/dist/chunks/{plugin-84vx8zxj.js → kv-z06508mb.js} +19 -19
- package/dist/chunks/{plugin-bjtzbw4r.js → kv-z07pqspn.js} +3 -3
- package/dist/chunks/{plugin-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
- package/dist/chunks/{plugin-z63w68vq.js → kv-z63w68vq.js} +2 -2
- package/dist/chunks/{plugin-vvsa8xns.js → kv-z7dv026m.js} +5 -5
- package/dist/chunks/{plugin-zeh9ct20.js → kv-zeh9ct20.js} +2 -2
- package/dist/chunks/{plugin-3ke2cp34.js → kv-zfq73pqw.js} +13 -13
- package/dist/chunks/{plugin-1v6becv7.js → kv-zqegatxr.js} +44 -44
- package/dist/chunks/{plugin-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
- package/dist/chunks/{plugin-t465fnvh.js → kv-zs5e1q5z.js} +42 -42
- package/dist/chunks/{plugin-pa1zn9qq.js → kv-zwfy769s.js} +7 -7
- package/dist/chunks/{plugin-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +103 -103
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +95 -95
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- 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 +86 -86
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- 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 +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +85 -85
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- 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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/plugin-edebp1ht.js +0 -252
- package/dist/chunks/plugin-q9fz6bmv.js +0 -26
- /package/dist/chunks/{plugin-0mesazry.js → kv-0mesazry.js} +0 -0
- /package/dist/chunks/{plugin-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{plugin-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{plugin-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{plugin-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{plugin-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{plugin-24dcb14g.js → kv-24dcb14g.js} +0 -0
- /package/dist/chunks/{plugin-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{plugin-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
- /package/dist/chunks/{plugin-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{plugin-34c7v6d4.js → kv-34c7v6d4.js} +0 -0
- /package/dist/chunks/{plugin-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{plugin-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{plugin-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{plugin-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
- /package/dist/chunks/{plugin-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{plugin-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{plugin-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{plugin-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{plugin-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{plugin-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{plugin-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{plugin-5qd3pb7m.js → kv-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{plugin-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{plugin-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{plugin-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{plugin-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{plugin-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{plugin-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{plugin-8wj87zfr.js → kv-8wj87zfr.js} +0 -0
- /package/dist/chunks/{plugin-922hggd3.js → kv-922hggd3.js} +0 -0
- /package/dist/chunks/{plugin-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{plugin-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{plugin-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{plugin-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{plugin-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{plugin-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{plugin-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{plugin-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{plugin-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{plugin-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{plugin-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{plugin-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{plugin-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{plugin-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{plugin-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{plugin-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{plugin-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{plugin-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{plugin-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{plugin-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{plugin-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{plugin-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{plugin-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{plugin-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{plugin-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{plugin-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{plugin-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{plugin-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{plugin-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{plugin-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{plugin-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{plugin-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
- /package/dist/chunks/{plugin-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{plugin-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{plugin-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{plugin-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
- /package/dist/chunks/{plugin-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{plugin-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{plugin-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{plugin-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{plugin-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{plugin-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{plugin-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{plugin-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{plugin-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{plugin-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{plugin-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{plugin-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{plugin-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{plugin-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
- /package/dist/chunks/{plugin-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{plugin-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{plugin-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{plugin-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{plugin-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{plugin-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{plugin-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{plugin-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{plugin-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{plugin-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{plugin-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{plugin-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{plugin-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
- /package/dist/chunks/{plugin-y8f7s663.js → kv-y8f7s663.js} +0 -0
- /package/dist/chunks/{plugin-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{plugin-ym463w8f.js → kv-ym463w8f.js} +0 -0
- /package/dist/chunks/{plugin-z9919s4g.js → kv-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./kv-krtn3akr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service21
|
|
9
|
+
} from "./kv-2r9h09s2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service8
|
|
12
|
+
} from "./kv-z06508mb.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service9
|
|
27
|
+
} from "./kv-gdb7m3nd.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./kv-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input12,
|
|
36
|
+
Plugin: () => Plugin48,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name12,
|
|
39
|
+
toModelContent: () => toModelContent6
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name12 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input12 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin48 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service9;
|
|
62
|
+
const access = yield* Service21;
|
|
63
|
+
const sessionInstructions = yield* Service8;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service76;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name12,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input12,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin11 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent6 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name12, Input12, Plugin48, toModelContent6, exports_read };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-e0y3q2t7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service75,
|
|
11
|
+
node79
|
|
12
|
+
} from "./kv-p1sqkaz6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
node83
|
|
16
|
-
} from "./plugin-ysphgs6j.js";
|
|
17
|
-
import {
|
|
18
|
-
Service77,
|
|
14
|
+
Service76,
|
|
19
15
|
node80
|
|
20
|
-
} from "./
|
|
16
|
+
} from "./kv-krtn3akr.js";
|
|
17
|
+
import {
|
|
18
|
+
Service57,
|
|
19
|
+
node60
|
|
20
|
+
} from "./kv-djwwgwpk.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID18,
|
|
23
|
+
Service80,
|
|
24
|
+
node84
|
|
25
|
+
} from "./kv-ezp3dbqm.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./kv-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service74,
|
|
34
|
+
node78
|
|
35
|
+
} from "./kv-kn9w4ht6.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./kv-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: () => NotFoundError4,
|
|
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: () => Service38,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
56
|
+
configured: () => configured4,
|
|
57
57
|
layer: () => layer14,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node41
|
|
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 NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service38 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options4 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var layer14 = (options) => Layer.effect(
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
104
|
+
var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service76;
|
|
106
|
+
const environment = yield* Service57;
|
|
107
107
|
const bus = yield* Service83;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
108
|
+
const forms = yield* Service80;
|
|
109
|
+
const integration = yield* Service74;
|
|
110
|
+
const credentials = yield* Service75;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID14.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service75, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError4({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service75, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID18.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -259,7 +259,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
259
259
|
entry.scope = scope;
|
|
260
260
|
const authProvider = yield* connectProvider(entry);
|
|
261
261
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
262
|
-
const load = 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(
|
|
262
|
+
const load = 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(Service57, environment), Scope.provide(scope));
|
|
263
263
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
264
264
|
if (Exit.isSuccess(result)) {
|
|
265
265
|
entry.client = result.value.connection;
|
|
@@ -384,7 +384,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
384
384
|
yield* startServer(name, entry);
|
|
385
385
|
}).pipe(locks.withLock(name));
|
|
386
386
|
});
|
|
387
|
-
fork(bus.subscribe(
|
|
387
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
388
388
|
const state = create3({
|
|
389
389
|
name: "mcp",
|
|
390
390
|
initial: () => ({
|
|
@@ -410,7 +410,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
410
410
|
}),
|
|
411
411
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
412
412
|
});
|
|
413
|
-
return
|
|
413
|
+
return Service38.of({
|
|
414
414
|
transform: state.transform,
|
|
415
415
|
reload: state.reload,
|
|
416
416
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -516,14 +516,14 @@ function mergeCatalogs(catalogs) {
|
|
|
516
516
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
517
517
|
});
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function configured4(options) {
|
|
520
520
|
return makeLocationNode({
|
|
521
|
-
service:
|
|
521
|
+
service: Service38,
|
|
522
522
|
layer: layer14(options),
|
|
523
|
-
deps: [
|
|
523
|
+
deps: [node80, node60, node87, node84, node78, node79]
|
|
524
524
|
});
|
|
525
525
|
}
|
|
526
|
-
var
|
|
526
|
+
var node41 = configured4();
|
|
527
527
|
function toElicitationField(key, property, required) {
|
|
528
528
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
529
529
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
577
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service38, Options4, layer14, configured4, node41, exports_mcp4 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-vfjb33rt.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin20
|
|
3
|
+
} from "./kv-fqj9nv8j.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin21
|
|
6
|
+
} from "./kv-yckxw83q.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin24
|
|
9
|
+
} from "./kv-feevgyx0.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin22
|
|
12
|
+
} from "./kv-xmyc1ybr.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin23
|
|
15
|
+
} from "./kv-kaxxkvzj.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin20,
|
|
20
|
+
Plugin21,
|
|
21
|
+
Plugin24,
|
|
22
|
+
Plugin22,
|
|
23
|
+
Plugin23
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service51,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service51 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service51, exports_runner };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service76
|
|
13
|
+
} from "./kv-krtn3akr.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-8d4b8q1n.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin27,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin27 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service76;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin27, exports_hg };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-qw1hjn5n.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin23,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin23 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin17 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint5, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin17 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint5, Plugin23, exports_tinyfish };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service13,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node15
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service13 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service13.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node15 = makeGlobalNode({ service: Service13, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service13, node15, exports_discovery };
|