@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,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./kv-krtn3akr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service57
|
|
12
|
+
} from "./kv-djwwgwpk.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service19
|
|
15
|
+
} from "./kv-6vd9acrv.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./kv-fm8h5qbs.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service60
|
|
24
|
+
} from "./kv-cahpe2n8.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service21
|
|
27
|
+
} from "./kv-2r9h09s2.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./kv-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input5,
|
|
37
|
+
Output: () => Output4,
|
|
38
|
+
Plugin: () => Plugin41,
|
|
39
|
+
name: () => name5,
|
|
40
|
+
toModelContent: () => toModelContent4
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name5 = "glob";
|
|
46
|
+
var Input5 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input3 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output4 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent4 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin41 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service57;
|
|
70
|
+
const ripgrep = yield* Service19;
|
|
71
|
+
const location = yield* Service76;
|
|
72
|
+
const access = yield* Service21;
|
|
73
|
+
const permission = yield* Service60;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name5,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input5,
|
|
79
|
+
output: Output4,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name5,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin3 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name5, Input5, Output4, toModelContent4, Plugin41, exports_glob };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-qw1hjn5n.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-e0y3q2t7.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./kv-p1sqkaz6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-kn9w4ht6.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./kv-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./kv-66nvbt5p.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID14.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -159,7 +159,7 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
165
|
const bus = yield* Service83;
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.provider.transform((providers) => {
|
|
181
|
-
const item = providers.get(
|
|
181
|
+
const item = providers.get(ID13.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -197,7 +197,7 @@ var OpenAIPlugin2 = define({
|
|
|
197
197
|
});
|
|
198
198
|
});
|
|
199
199
|
yield* ctx.model.transform((models) => {
|
|
200
|
-
for (const model of models.list(
|
|
200
|
+
for (const model of models.list(ID13.openai)) {
|
|
201
201
|
models.update(model.providerID, model.id, (draft) => {
|
|
202
202
|
if (!chatgpt)
|
|
203
203
|
return;
|
|
@@ -225,9 +225,9 @@ var OpenAIPlugin2 = define({
|
|
|
225
225
|
evt.baseURL = codexBaseURL;
|
|
226
226
|
evt.headers.originator = "opencode";
|
|
227
227
|
evt.headers["session-id"] = evt.sessionID;
|
|
228
|
-
}), { providerID:
|
|
228
|
+
}), { providerID: ID13.openai });
|
|
229
229
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
230
|
-
yield* bus.subscribe(
|
|
230
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
231
231
|
})
|
|
232
232
|
});
|
|
233
233
|
function headers(contentType, app) {
|
|
@@ -318,4 +318,4 @@ function claim(token) {
|
|
|
318
318
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
-
export {
|
|
321
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-p1sqkaz6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-kn9w4ht6.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID14.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-a8bn8zg0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info9
|
|
9
|
+
} from "./kv-63zbbs1j.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info11
|
|
12
|
+
} from "./kv-dj9sq318.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info17
|
|
15
|
+
} from "./kv-34rkz0x9.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info15
|
|
18
|
+
} from "./kv-nxhqveyz.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./kv-qgn6gcr1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info13
|
|
24
|
+
} from "./kv-e6hmchc5.js";
|
|
25
25
|
import {
|
|
26
26
|
Info8
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./kv-9bqjkzgr.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./kv-fbjv2wms.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./kv-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -87,7 +87,7 @@ function normalize2(input) {
|
|
|
87
87
|
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info8.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info11, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info17, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info9, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info9, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info15, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info13, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,118 +1,118 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-7vk1qj2g.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node80
|
|
8
|
+
} from "./kv-krtn3akr.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service72,
|
|
13
|
+
node76
|
|
14
|
+
} from "./kv-8zyp9hwm.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID10,
|
|
17
|
+
Service63,
|
|
18
|
+
node67
|
|
19
|
+
} from "./kv-p394kfqa.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./kv-9xgs3anq.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./kv-s8d7rejh.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./kv-4j4tgtq5.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./kv-a7r3yzpa.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service62,
|
|
34
|
+
node66
|
|
35
|
+
} from "./kv-044mmm99.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./kv-cahpe2n8.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
make15
|
|
41
|
+
} from "./kv-a310axxt.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service41,
|
|
44
|
+
node44
|
|
45
|
+
} from "./kv-6qmx44j7.js";
|
|
46
|
+
import {
|
|
47
|
+
Service31,
|
|
48
|
+
node35
|
|
49
|
+
} from "./kv-mt747vtd.js";
|
|
50
|
+
import {
|
|
51
|
+
Service64,
|
|
52
|
+
node68
|
|
53
|
+
} from "./kv-5012c781.js";
|
|
54
|
+
import {
|
|
55
|
+
Service37,
|
|
56
|
+
node40
|
|
57
|
+
} from "./kv-kndt36as.js";
|
|
58
|
+
import {
|
|
59
|
+
Service36,
|
|
60
|
+
node39
|
|
61
|
+
} from "./kv-v84zncc1.js";
|
|
46
62
|
import {
|
|
47
63
|
Service35,
|
|
48
64
|
node38
|
|
49
|
-
} from "./
|
|
65
|
+
} from "./kv-7mg3mn71.js";
|
|
50
66
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
67
|
+
Service40,
|
|
68
|
+
node43
|
|
69
|
+
} from "./kv-scfhtmm0.js";
|
|
54
70
|
import {
|
|
55
71
|
Service30,
|
|
56
72
|
node34
|
|
57
|
-
} from "./
|
|
58
|
-
import {
|
|
59
|
-
Service29,
|
|
60
|
-
node33
|
|
61
|
-
} from "./plugin-nb93grzr.js";
|
|
62
|
-
import {
|
|
63
|
-
Service31,
|
|
64
|
-
node35
|
|
65
|
-
} from "./plugin-rfb0xkgm.js";
|
|
66
|
-
import {
|
|
67
|
-
Service33,
|
|
68
|
-
node37
|
|
69
|
-
} from "./plugin-yde77qe8.js";
|
|
73
|
+
} from "./kv-1pvp55tc.js";
|
|
70
74
|
import {
|
|
71
75
|
Service32,
|
|
72
76
|
node36
|
|
73
|
-
} from "./
|
|
74
|
-
import {
|
|
75
|
-
Service37,
|
|
76
|
-
node40
|
|
77
|
-
} from "./plugin-6f8py4c6.js";
|
|
77
|
+
} from "./kv-25e94b50.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
79
|
+
Service54,
|
|
80
|
+
node57
|
|
81
|
+
} from "./kv-eas639wf.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./kv-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
88
88
|
__export(exports_context, {
|
|
89
|
-
Service: () =>
|
|
89
|
+
Service: () => Service29,
|
|
90
90
|
SessionContext: () => exports_context,
|
|
91
|
-
node: () =>
|
|
91
|
+
node: () => node33
|
|
92
92
|
});
|
|
93
93
|
import { Context, Effect, Layer } from "effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
|
-
class
|
|
95
|
+
class Service29 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
98
|
-
const agents = yield*
|
|
99
|
-
const builtins = yield*
|
|
100
|
-
const model = yield*
|
|
97
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
98
|
+
const agents = yield* Service63;
|
|
99
|
+
const builtins = yield* Service31;
|
|
100
|
+
const model = yield* Service72;
|
|
101
101
|
const db = (yield* Service84).db;
|
|
102
|
-
const discovery = yield*
|
|
103
|
-
const entries = yield*
|
|
104
|
-
const location = yield*
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
107
|
-
const models = yield*
|
|
108
|
-
const request = yield*
|
|
109
|
-
const referenceInstructions = yield*
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
102
|
+
const discovery = yield* Service41;
|
|
103
|
+
const entries = yield* Service30;
|
|
104
|
+
const location = yield* Service76;
|
|
105
|
+
const mcpInstructions = yield* Service36;
|
|
106
|
+
const mcpTools = yield* Service37;
|
|
107
|
+
const models = yield* Service54;
|
|
108
|
+
const request = yield* Service32;
|
|
109
|
+
const referenceInstructions = yield* Service35;
|
|
110
|
+
const skillInstructions = yield* Service40;
|
|
111
|
+
const store = yield* Service62;
|
|
112
|
+
const registry = yield* Service64;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID10.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -166,7 +166,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
166
166
|
agent: { ...agent, info: agent.info },
|
|
167
167
|
instructions: combine2([
|
|
168
168
|
loaded.builtins,
|
|
169
|
-
|
|
169
|
+
make15(loaded.tools.codeModeCatalog),
|
|
170
170
|
loaded.discovery,
|
|
171
171
|
loaded.skills,
|
|
172
172
|
loaded.references,
|
|
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
188
188
|
tools: selection.tools
|
|
189
189
|
};
|
|
190
190
|
});
|
|
191
|
-
return
|
|
191
|
+
return Service29.of({ select, load, resolveModel, selectTitle, request });
|
|
192
192
|
}));
|
|
193
193
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
194
|
-
var
|
|
195
|
-
service:
|
|
194
|
+
var node33 = makeLocationNode({
|
|
195
|
+
service: Service29,
|
|
196
196
|
layer,
|
|
197
197
|
deps: [
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
node67,
|
|
199
|
+
node76,
|
|
200
200
|
node88,
|
|
201
|
-
node38,
|
|
202
|
-
node86,
|
|
203
|
-
node36,
|
|
204
|
-
node83,
|
|
205
|
-
node33,
|
|
206
|
-
node34,
|
|
207
201
|
node35,
|
|
208
|
-
|
|
202
|
+
node44,
|
|
203
|
+
node34,
|
|
204
|
+
node80,
|
|
205
|
+
node39,
|
|
209
206
|
node40,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
207
|
+
node38,
|
|
208
|
+
node57,
|
|
209
|
+
node36,
|
|
210
|
+
node66,
|
|
211
|
+
node43,
|
|
212
|
+
node68
|
|
213
213
|
]
|
|
214
214
|
});
|
|
215
215
|
|
|
216
|
-
export {
|
|
216
|
+
export { Service29, node33, exports_context };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./kv-djwwgwpk.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-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* Service57;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|