@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,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-7vk1qj2g.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-e0y3q2t7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service53,
|
|
11
|
+
node56
|
|
12
|
+
} from "./kv-0hf9g8pg.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service77,
|
|
19
|
+
node81
|
|
20
|
+
} from "./kv-eb3fpf5k.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./kv-krtn3akr.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service59,
|
|
26
|
+
node63
|
|
27
|
+
} from "./kv-405d8dyj.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./kv-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError7
|
|
33
|
+
} from "./kv-9xgs3anq.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./kv-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service51
|
|
39
|
+
} from "./kv-k76fn4kw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service62,
|
|
42
|
+
node66
|
|
43
|
+
} from "./kv-044mmm99.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service52,
|
|
48
|
+
node55,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./kv-ek3hbz36.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service50,
|
|
53
|
+
node54
|
|
54
|
+
} from "./kv-6hdpnvdz.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node32
|
|
57
|
+
} from "./kv-m7zm54h4.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./kv-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service28,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node31
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service28 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service77;
|
|
92
|
+
const locations = yield* Service59;
|
|
93
|
+
const store = yield* Service62;
|
|
94
|
+
const execution = yield* Service50;
|
|
95
|
+
const instances = yield* Service53;
|
|
96
|
+
const admission = yield* Service52;
|
|
97
97
|
const database = yield* Service84;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError7({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service51.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service28.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node31 = makeGlobalNode({
|
|
167
|
+
service: Service28,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node81,
|
|
173
|
+
node63,
|
|
174
|
+
node66,
|
|
175
|
+
node54,
|
|
176
|
+
node56,
|
|
177
|
+
node55,
|
|
178
178
|
node88,
|
|
179
179
|
node87,
|
|
180
|
-
|
|
180
|
+
node32
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service28, node31, exports_move };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service33,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer11,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node37
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service33 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service33.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node37 = makeGlobalNode({ service: Service33, layer: layer11, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service33, makeLayer2, layer11, node37, exports_model_transport };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./kv-qxskx7a8.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service41
|
|
13
|
+
} from "./kv-6qmx44j7.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service76
|
|
16
|
+
} from "./kv-krtn3akr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin6
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin6 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service41;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service76;
|
|
42
|
+
const watcher = yield* Service48;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin6, exports_instruction };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service74
|
|
4
|
+
} from "./kv-kn9w4ht6.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service74;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID14.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -2,34 +2,34 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./kv-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service76
|
|
8
|
+
} from "./kv-krtn3akr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service57
|
|
11
|
+
} from "./kv-djwwgwpk.js";
|
|
12
12
|
import {
|
|
13
13
|
Service15
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-63jxkw5m.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service12,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-zfq73pqw.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service60
|
|
22
|
+
} from "./kv-cahpe2n8.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service21,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./kv-2r9h09s2.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./kv-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./kv-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
@@ -38,9 +38,9 @@ __export(exports_patch, {
|
|
|
38
38
|
Input: () => Input8,
|
|
39
39
|
Output: () => Output6,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
41
|
+
Plugin: () => Plugin44,
|
|
42
42
|
name: () => name8,
|
|
43
|
-
toModelContent: () =>
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -100,20 +100,20 @@ var Output6 = Schema.Struct({
|
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent5 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin44 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
111
|
+
const environment = yield* Service57;
|
|
112
|
+
const access = yield* Service21;
|
|
113
|
+
const fileMutation = yield* Service12;
|
|
114
114
|
const formatter = yield* Service15;
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
115
|
+
const location = yield* Service76;
|
|
116
|
+
const permission = yield* Service60;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
118
|
name: name8,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
@@ -266,7 +266,7 @@ var Plugin9 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent5(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export { name8, Input8, Applied2, Output6,
|
|
329
|
+
export { name8, Input8, Applied2, Output6, toModelContent5, Plugin44, exports_patch };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./kv-66nvbt5p.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-qw1hjn5n.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin22,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin22 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin16 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin16 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin22, exports_tavily };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service68,
|
|
6
|
+
node72
|
|
7
|
+
} from "./kv-9hbayf03.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-xxynqx5z.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service55,
|
|
23
|
+
make: () => make19,
|
|
24
|
+
node: () => node58
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service55 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
|
|
|
86
86
|
next.set(sessionID, count - 1);
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
|
-
var
|
|
90
|
-
const kv = yield*
|
|
89
|
+
var make19 = Effect.gen(function* () {
|
|
90
|
+
const kv = yield* Service68;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make17 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service55.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make17 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service55, make19);
|
|
362
|
+
var node58 = makeGlobalNode({ service: Service55, layer, deps: [node72] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service55, make19, node58, exports_job };
|