@opencode/core 0.0.0-dev-21685 → 0.0.0-dev-21703
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{instruction-discovery-034tev2y.js → vcs-034tev2y.js} +2 -2
- package/dist/chunks/{instruction-discovery-c75qkfpz.js → vcs-07zevav5.js} +44 -44
- package/dist/chunks/{instruction-discovery-hj5ewp7g.js → vcs-0rcrzzvr.js} +37 -37
- package/dist/chunks/{instruction-discovery-sv2aw4yq.js → vcs-0rq01gt9.js} +5 -5
- package/dist/chunks/{instruction-discovery-wz66500m.js → vcs-0xfwnfde.js} +16 -16
- package/dist/chunks/{instruction-discovery-azzb4j7n.js → vcs-10ygv7zj.js} +9 -9
- package/dist/chunks/{instruction-discovery-s1fwbtwx.js → vcs-1crk60dk.js} +15 -15
- package/dist/chunks/{instruction-discovery-1ep2p91f.js → vcs-1ep2p91f.js} +2 -2
- package/dist/chunks/{instruction-discovery-rp1ha6gz.js → vcs-1kt6mkhz.js} +7 -7
- package/dist/chunks/{instruction-discovery-7njvtxjk.js → vcs-1r2244sv.js} +5 -5
- package/dist/chunks/{instruction-discovery-asbvzmdg.js → vcs-1t40x6tf.js} +4 -4
- package/dist/chunks/{instruction-discovery-45keak5f.js → vcs-1wp5yz2q.js} +15 -15
- package/dist/chunks/{instruction-discovery-1x2knyw4.js → vcs-1x2knyw4.js} +1 -1
- package/dist/chunks/{instruction-discovery-1y0wdj51.js → vcs-1y0wdj51.js} +1 -1
- package/dist/chunks/{instruction-discovery-mghkatew.js → vcs-1zjbdtxw.js} +14 -14
- package/dist/chunks/{instruction-discovery-en1fsfyg.js → vcs-247ftevp.js} +6 -6
- package/dist/chunks/{instruction-discovery-2gy537ph.js → vcs-254hq818.js} +38 -38
- package/dist/chunks/{instruction-discovery-gxe7mkgn.js → vcs-2b76hbf1.js} +11 -11
- package/dist/chunks/{instruction-discovery-sxbjjvas.js → vcs-2cyz7x39.js} +24 -24
- package/dist/chunks/{instruction-discovery-4c7nxy6x.js → vcs-2dzqnr5m.js} +29 -29
- package/dist/chunks/{instruction-discovery-6e8867gw.js → vcs-2fmpy7yj.js} +14 -14
- package/dist/chunks/{instruction-discovery-2z1j29yd.js → vcs-2z1j29yd.js} +1 -1
- package/dist/chunks/{instruction-discovery-dgj4ks8n.js → vcs-34zfme1g.js} +20 -20
- package/dist/chunks/{instruction-discovery-r47an33t.js → vcs-38h2fn7g.js} +3 -3
- package/dist/chunks/{instruction-discovery-arhpxcwy.js → vcs-3bhgvgs9.js} +22 -22
- package/dist/chunks/{instruction-discovery-qybjhjrg.js → vcs-3gvxgqww.js} +31 -31
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-3nnrz6f6.js → vcs-3nnrz6f6.js} +1 -1
- package/dist/chunks/{instruction-discovery-4kg35d6f.js → vcs-3wffcd5s.js} +22 -22
- package/dist/chunks/{instruction-discovery-3c7qpzd7.js → vcs-3wyhrqfb.js} +8 -8
- package/dist/chunks/{instruction-discovery-ptd3w0tf.js → vcs-3xhcmk8x.js} +14 -14
- package/dist/chunks/{instruction-discovery-w3qk2d3s.js → vcs-3yws84f3.js} +45 -45
- package/dist/chunks/{instruction-discovery-jp3vw6vz.js → vcs-3ze3q6mf.js} +9 -9
- package/dist/chunks/{instruction-discovery-5enarcya.js → vcs-40za9wsf.js} +6 -6
- package/dist/chunks/{instruction-discovery-9efckeb8.js → vcs-41sv4bbj.js} +16 -16
- package/dist/chunks/{instruction-discovery-nr3623c1.js → vcs-4239rm3w.js} +23 -23
- package/dist/chunks/{instruction-discovery-fhrrk2wn.js → vcs-42b1cham.js} +23 -23
- package/dist/chunks/{instruction-discovery-jz5grvbc.js → vcs-46qzr04y.js} +11 -11
- package/dist/chunks/{instruction-discovery-vx3jgdek.js → vcs-48kw51zw.js} +3 -3
- package/dist/chunks/{instruction-discovery-vkmt8npp.js → vcs-4qxmg69m.js} +32 -32
- package/dist/chunks/{instruction-discovery-4v008n1t.js → vcs-4v008n1t.js} +1 -1
- package/dist/chunks/{instruction-discovery-4xvmh7wp.js → vcs-4xvmh7wp.js} +3 -3
- package/dist/chunks/{instruction-discovery-27bs79w9.js → vcs-4ytg8f8f.js} +2 -2
- package/dist/chunks/{instruction-discovery-z5wdff31.js → vcs-530a82th.js} +11 -11
- package/dist/chunks/{instruction-discovery-rfs27yzd.js → vcs-536wrdac.js} +11 -11
- package/dist/chunks/{instruction-discovery-211y70yv.js → vcs-5ahgw1dr.js} +14 -14
- package/dist/chunks/{instruction-discovery-tzjzgnfr.js → vcs-5hvygcnt.js} +10 -10
- package/dist/chunks/{instruction-discovery-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
- package/dist/chunks/{instruction-discovery-pazke3n5.js → vcs-5q1dgqbh.js} +36 -36
- package/dist/chunks/{instruction-discovery-5wwswtpf.js → vcs-5t6a11tz.js} +20 -20
- package/dist/chunks/{instruction-discovery-0bfbh6xc.js → vcs-5x8br9fm.js} +28 -28
- package/dist/chunks/{instruction-discovery-94dxmxj3.js → vcs-68t33k5k.js} +15 -15
- package/dist/chunks/{instruction-discovery-530caf3d.js → vcs-6b49fqw0.js} +17 -17
- package/dist/chunks/{instruction-discovery-6esdw8yj.js → vcs-6esdw8yj.js} +1 -1
- package/dist/chunks/{instruction-discovery-s4gh6t7c.js → vcs-6f6h7c2t.js} +32 -32
- package/dist/chunks/{instruction-discovery-39ebgr3a.js → vcs-6fg5chfs.js} +23 -23
- package/dist/chunks/{instruction-discovery-6pjqjmy2.js → vcs-6pjqjmy2.js} +1 -1
- package/dist/chunks/{instruction-discovery-4g0xe90t.js → vcs-6s6a40zb.js} +13 -13
- package/dist/chunks/{instruction-discovery-gqz3wpgd.js → vcs-71v1yb5p.js} +20 -20
- package/dist/chunks/{instruction-discovery-nah043kf.js → vcs-770pw0s1.js} +4 -4
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-nzjpq5nr.js → vcs-7c486ac5.js} +8 -8
- package/dist/chunks/{instruction-discovery-799ckdtf.js → vcs-7cx8wp0a.js} +9 -9
- package/dist/chunks/{instruction-discovery-fnnrv9gt.js → vcs-7fyt61ge.js} +4 -4
- package/dist/chunks/{instruction-discovery-btwbdc9d.js → vcs-7jxjvf9t.js} +30 -30
- package/dist/chunks/{instruction-discovery-7w2ypzdf.js → vcs-7w2ypzdf.js} +1 -1
- package/dist/chunks/{instruction-discovery-t7sqmb9b.js → vcs-87rf06dy.js} +27 -27
- package/dist/chunks/vcs-89ps0kn4.js +26 -0
- package/dist/chunks/{instruction-discovery-qh1vdqqc.js → vcs-8ba3wsfr.js} +11 -11
- package/dist/chunks/{instruction-discovery-n8ytzayn.js → vcs-8c677wsw.js} +31 -31
- package/dist/chunks/{instruction-discovery-ptzd8h59.js → vcs-8vh6kwmg.js} +50 -50
- package/dist/chunks/{instruction-discovery-8wtp7s3z.js → vcs-8wtp7s3z.js} +1 -1
- package/dist/chunks/{instruction-discovery-j4c7ztsh.js → vcs-8xw1gbxj.js} +28 -28
- package/dist/chunks/vcs-8zyq9cqv.js +523 -0
- package/dist/chunks/{instruction-discovery-06tsrf37.js → vcs-90n99h22.js} +6 -6
- package/dist/chunks/{instruction-discovery-91rj84md.js → vcs-91rj84md.js} +1 -1
- package/dist/chunks/{instruction-discovery-998yhzzq.js → vcs-998yhzzq.js} +3 -3
- package/dist/chunks/{instruction-discovery-rx02erg5.js → vcs-99cj8zr2.js} +35 -35
- package/dist/chunks/{instruction-discovery-s2pfznc4.js → vcs-9cbnrx2n.js} +6 -6
- package/dist/chunks/{instruction-discovery-4bg9qwqs.js → vcs-9mere5t7.js} +13 -13
- package/dist/chunks/{instruction-discovery-e5dqjz6v.js → vcs-9p9xqj3m.js} +8 -8
- package/dist/chunks/{instruction-discovery-kawh22nd.js → vcs-9wdb4fag.js} +18 -18
- package/dist/chunks/{instruction-discovery-spa8vgy8.js → vcs-a7hcemwv.js} +6 -6
- package/dist/chunks/{instruction-discovery-tvqpdctp.js → vcs-abk8akr1.js} +19 -19
- package/dist/chunks/{instruction-discovery-4z0we31x.js → vcs-ah756314.js} +14 -14
- package/dist/chunks/{instruction-discovery-bjhzkqyk.js → vcs-ar2j3j0f.js} +4 -4
- package/dist/chunks/{instruction-discovery-s91x7ka3.js → vcs-ayg1wwbx.js} +20 -20
- package/dist/chunks/{instruction-discovery-ayjs7tqn.js → vcs-ayjs7tqn.js} +2 -2
- package/dist/chunks/{instruction-discovery-xak61r58.js → vcs-aypkeb6d.js} +90 -90
- package/dist/chunks/{instruction-discovery-6xe6qe1z.js → vcs-azfbc7ga.js} +189 -189
- package/dist/chunks/{instruction-discovery-b0mv4wxm.js → vcs-b0mv4wxm.js} +2 -2
- package/dist/chunks/{instruction-discovery-f6s8y378.js → vcs-b1xsayxh.js} +7 -7
- package/dist/chunks/{instruction-discovery-pw0xvpce.js → vcs-b1zh1j4f.js} +59 -59
- package/dist/chunks/{instruction-discovery-b50rsrab.js → vcs-b50rsrab.js} +2 -2
- package/dist/chunks/{instruction-discovery-ka0113cw.js → vcs-b5g50cq8.js} +16 -16
- package/dist/chunks/{instruction-discovery-5nnwax6m.js → vcs-b6vsg801.js} +5 -5
- package/dist/chunks/{instruction-discovery-2ns20q01.js → vcs-baw7bc8n.js} +1 -1
- package/dist/chunks/{instruction-discovery-j17fdswx.js → vcs-bbkbvbs4.js} +1 -1
- package/dist/chunks/{instruction-discovery-2cckbrxm.js → vcs-bgwvksk6.js} +19 -19
- package/dist/chunks/{instruction-discovery-02rpsdwq.js → vcs-bmvcqawa.js} +44 -44
- package/dist/chunks/{instruction-discovery-r7tcy11j.js → vcs-bnjqvjjm.js} +5 -5
- package/dist/chunks/{instruction-discovery-xd9cc171.js → vcs-bstexjd6.js} +5 -5
- package/dist/chunks/{instruction-discovery-6hkx6zh1.js → vcs-btxkkvbe.js} +8 -8
- package/dist/chunks/{instruction-discovery-c3cfh5w6.js → vcs-c3cfh5w6.js} +2 -2
- package/dist/chunks/{instruction-discovery-kw6kdjw7.js → vcs-c3wzxa47.js} +8 -8
- package/dist/chunks/{instruction-discovery-c5c0bz0t.js → vcs-c5c0bz0t.js} +5 -5
- package/dist/chunks/{instruction-discovery-d2887f8n.js → vcs-c9t2ty9q.js} +4 -4
- package/dist/chunks/{instruction-discovery-c8m57xn7.js → vcs-cneb3d70.js} +6 -6
- package/dist/chunks/{instruction-discovery-1590c3s1.js → vcs-cps5zgbh.js} +34 -34
- package/dist/chunks/{instruction-discovery-wexbz3y3.js → vcs-cw16pp1j.js} +10 -10
- package/dist/chunks/{instruction-discovery-7066n3mz.js → vcs-d3r8edvw.js} +4 -4
- package/dist/chunks/{instruction-discovery-d4v9tmah.js → vcs-d4v9tmah.js} +2 -2
- package/dist/chunks/{instruction-discovery-a1s9yrff.js → vcs-d9msb9sj.js} +19 -19
- package/dist/chunks/{instruction-discovery-mpa2ejqj.js → vcs-dbqrmbed.js} +3 -3
- package/dist/chunks/{instruction-discovery-30nw9pfg.js → vcs-dbya8kmy.js} +67 -67
- package/dist/chunks/{instruction-discovery-8hsv30j4.js → vcs-deqy3kpa.js} +22 -22
- package/dist/chunks/{instruction-discovery-9jjdx8qq.js → vcs-dgeqmw5w.js} +24 -24
- package/dist/chunks/{instruction-discovery-dh62xe4r.js → vcs-dh62xe4r.js} +1 -1
- package/dist/chunks/{instruction-discovery-s9z6tqcd.js → vcs-dtqdhp9c.js} +15 -15
- package/dist/chunks/{instruction-discovery-77afn72v.js → vcs-dwspvcwq.js} +13 -13
- package/dist/chunks/{instruction-discovery-v15rxc3h.js → vcs-dyg9d8gn.js} +35 -35
- package/dist/chunks/{instruction-discovery-mfwfc967.js → vcs-dzznqqbs.js} +12 -12
- package/dist/chunks/{instruction-discovery-91vtnk5e.js → vcs-e553kem5.js} +21 -21
- package/dist/chunks/{instruction-discovery-e834z07m.js → vcs-e834z07m.js} +1 -1
- package/dist/chunks/{instruction-discovery-taw06fa3.js → vcs-eeb2rd94.js} +19 -19
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-ksdwf8r1.js → vcs-en4cswrv.js} +27 -27
- package/dist/chunks/{instruction-discovery-vh9wejw9.js → vcs-ep7q3v7p.js} +45 -45
- package/dist/chunks/{instruction-discovery-1vdntpm3.js → vcs-eq3fc1qc.js} +5 -5
- package/dist/chunks/{instruction-discovery-zhfftf23.js → vcs-ex08epxr.js} +9 -9
- package/dist/chunks/{instruction-discovery-jas4yhkp.js → vcs-exm49mxx.js} +11 -11
- package/dist/chunks/vcs-ezna1kdx.js +18 -0
- package/dist/chunks/{instruction-discovery-j76t8jdc.js → vcs-f1kyj18j.js} +53 -53
- package/dist/chunks/{instruction-discovery-4v651skh.js → vcs-f931xhwa.js} +37 -37
- package/dist/chunks/{instruction-discovery-n58eb8yn.js → vcs-ff97cw60.js} +4 -4
- package/dist/chunks/{instruction-discovery-fffv3p7h.js → vcs-fffv3p7h.js} +1 -1
- package/dist/chunks/{instruction-discovery-1y33b0wd.js → vcs-ftn2x50x.js} +33 -33
- package/dist/chunks/{instruction-discovery-w687dnns.js → vcs-fznmdakp.js} +4 -4
- package/dist/chunks/{instruction-discovery-g5h9c0rr.js → vcs-g5h9c0rr.js} +2 -2
- package/dist/chunks/{instruction-discovery-m37sd98t.js → vcs-g7esga4v.js} +7 -7
- package/dist/chunks/{instruction-discovery-5xya02hf.js → vcs-g8q9wv7c.js} +11 -11
- package/dist/chunks/{instruction-discovery-sgr7cxxz.js → vcs-gag6a473.js} +13 -13
- package/dist/chunks/{instruction-discovery-kam2skhz.js → vcs-gbv88pv7.js} +12 -12
- package/dist/chunks/{instruction-discovery-dvte4szm.js → vcs-ggbcva3z.js} +5 -5
- package/dist/chunks/{instruction-discovery-06hkf91z.js → vcs-ggkz6eda.js} +9 -9
- package/dist/chunks/{instruction-discovery-wnvrcxtc.js → vcs-gkt35az7.js} +14 -14
- package/dist/chunks/{instruction-discovery-xaz7g2t8.js → vcs-gzphd3qt.js} +4 -4
- package/dist/chunks/{instruction-discovery-jy2czfqv.js → vcs-h3b857xk.js} +4 -4
- package/dist/chunks/{instruction-discovery-rgv8ccnj.js → vcs-h4tb54mh.js} +21 -21
- package/dist/chunks/{instruction-discovery-htnm7734.js → vcs-hch4wa3n.js} +4 -4
- package/dist/chunks/{instruction-discovery-wvpfhzx7.js → vcs-hdmztdx8.js} +23 -23
- package/dist/chunks/{instruction-discovery-wqbj2nsw.js → vcs-hnacnv9c.js} +9 -9
- package/dist/chunks/{instruction-discovery-afd6s2pj.js → vcs-hx7vxw9c.js} +6 -6
- package/dist/chunks/{instruction-discovery-j113cymg.js → vcs-j113cymg.js} +1 -1
- package/dist/chunks/{instruction-discovery-yye1fjts.js → vcs-j75hfe7b.js} +23 -23
- package/dist/chunks/{instruction-discovery-32b2d01b.js → vcs-jcd0g2s4.js} +20 -20
- package/dist/chunks/{instruction-discovery-hetnczqw.js → vcs-jjec1xd0.js} +2 -2
- package/dist/chunks/{instruction-discovery-eqfewtt2.js → vcs-jjs45sef.js} +13 -13
- package/dist/chunks/{instruction-discovery-dtq3ahye.js → vcs-jmdhtxe0.js} +29 -29
- package/dist/chunks/{instruction-discovery-a2a47mdn.js → vcs-jpq8vy5m.js} +30 -30
- package/dist/chunks/{instruction-discovery-8e6vbpwd.js → vcs-jqqpsq7t.js} +20 -20
- package/dist/chunks/{instruction-discovery-744ctw13.js → vcs-jrtmv02s.js} +24 -24
- package/dist/chunks/{instruction-discovery-xk1htaes.js → vcs-jtp9x085.js} +35 -35
- package/dist/chunks/{instruction-discovery-e47h3fva.js → vcs-jw20qntp.js} +3 -3
- package/dist/chunks/{instruction-discovery-q0yh9qyr.js → vcs-k0nmcfh6.js} +4 -4
- package/dist/chunks/{instruction-discovery-wp1vb0e3.js → vcs-k46f9xjt.js} +19 -19
- package/dist/chunks/{instruction-discovery-grxvpwc8.js → vcs-k6xzj90s.js} +27 -27
- package/dist/chunks/{instruction-discovery-k814nvkf.js → vcs-k814nvkf.js} +1 -1
- package/dist/chunks/{instruction-discovery-n40jn0ye.js → vcs-kdjksvwe.js} +21 -21
- package/dist/chunks/{instruction-discovery-mhgesy0s.js → vcs-kj1j79ct.js} +11 -11
- package/dist/chunks/{instruction-discovery-h4p3pyf8.js → vcs-kj8zjydm.js} +3 -3
- package/dist/chunks/{instruction-discovery-hw621kav.js → vcs-kmzgegqq.js} +8 -8
- package/dist/chunks/{instruction-discovery-gfxq0zq2.js → vcs-kn7j2k6k.js} +9 -9
- package/dist/chunks/{instruction-discovery-5vmx498f.js → vcs-kw8s18nw.js} +38 -38
- package/dist/chunks/{instruction-discovery-vwrkd0tw.js → vcs-kwc19jgx.js} +18 -18
- package/dist/chunks/{instruction-discovery-ga3f1nea.js → vcs-kxcz00f7.js} +23 -23
- package/dist/chunks/{instruction-discovery-m1714858.js → vcs-m1714858.js} +1 -1
- package/dist/chunks/{instruction-discovery-axxxggh9.js → vcs-m22273wf.js} +3 -3
- package/dist/chunks/{instruction-discovery-wc1rrhfs.js → vcs-m33a7njg.js} +35 -35
- package/dist/chunks/{instruction-discovery-qjne94dq.js → vcs-m5fkg57x.js} +32 -32
- package/dist/chunks/{instruction-discovery-976c7xh0.js → vcs-m68y8hd5.js} +17 -17
- package/dist/chunks/{instruction-discovery-0z1qyetw.js → vcs-m6qs7jjd.js} +13 -13
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-p8mgpvfs.js → vcs-maar8wck.js} +6 -6
- package/dist/chunks/{instruction-discovery-maspj1v3.js → vcs-maspj1v3.js} +1 -1
- package/dist/chunks/{instruction-discovery-qwqr63vh.js → vcs-mhmq597p.js} +15 -15
- package/dist/chunks/{instruction-discovery-f4p9w5yx.js → vcs-mvpchj3s.js} +13 -13
- package/dist/chunks/{instruction-discovery-n0p0277s.js → vcs-n0p0277s.js} +1 -1
- package/dist/chunks/{instruction-discovery-0p88zpcm.js → vcs-n39q19g8.js} +4 -4
- package/dist/chunks/{instruction-discovery-6fcb95c6.js → vcs-n3bkb5q1.js} +8 -8
- package/dist/chunks/{instruction-discovery-e7ha8gsg.js → vcs-n9tasrvf.js} +12 -12
- package/dist/chunks/{instruction-discovery-zxb8j96g.js → vcs-ndxwzmcc.js} +36 -36
- package/dist/chunks/{instruction-discovery-wd0mghyc.js → vcs-nfggw9da.js} +5 -5
- package/dist/chunks/{instruction-discovery-nwed43a8.js → vcs-njnvzz52.js} +42 -42
- package/dist/chunks/{instruction-discovery-gdv3e3ns.js → vcs-nqqb3qew.js} +11 -11
- package/dist/chunks/{instruction-discovery-5hwp3mnm.js → vcs-nz2z8868.js} +43 -43
- package/dist/chunks/{instruction-discovery-p015t6z3.js → vcs-p015t6z3.js} +2 -2
- package/dist/chunks/{instruction-discovery-jd4w9jy7.js → vcs-p3yv1tbb.js} +13 -13
- package/dist/chunks/{instruction-discovery-revxvk9s.js → vcs-p63vsd4p.js} +30 -30
- package/dist/chunks/{instruction-discovery-p7vhpwh8.js → vcs-p7vhpwh8.js} +1 -1
- package/dist/chunks/{instruction-discovery-bxjrsr3w.js → vcs-pbtkdcp0.js} +7 -7
- package/dist/chunks/{instruction-discovery-kkvzkess.js → vcs-pe678q2q.js} +2 -2
- package/dist/chunks/{instruction-discovery-6np17vve.js → vcs-pe8zxjjb.js} +11 -11
- package/dist/chunks/{instruction-discovery-r44rfmgw.js → vcs-pg0ng17h.js} +14 -14
- package/dist/chunks/{instruction-discovery-x4y0yvq7.js → vcs-pja5mqfm.js} +12 -12
- package/dist/chunks/{instruction-discovery-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-x1g9xmqt.js → vcs-prajgvp7.js} +16 -16
- package/dist/chunks/{instruction-discovery-e45fk36t.js → vcs-prd8gnhb.js} +4 -4
- package/dist/chunks/{instruction-discovery-ggb9x9sh.js → vcs-pz16wjas.js} +4 -4
- package/dist/chunks/{instruction-discovery-p6f33tkb.js → vcs-q11fyp6d.js} +15 -15
- package/dist/chunks/{instruction-discovery-2xdd02fb.js → vcs-q15q0jep.js} +9 -9
- package/dist/chunks/{instruction-discovery-ykdavcmn.js → vcs-qc5pkzrw.js} +14 -14
- package/dist/chunks/{instruction-discovery-qjgzc4b4.js → vcs-qjgzc4b4.js} +1 -1
- package/dist/chunks/{instruction-discovery-8ev1pcqt.js → vcs-qz7bsaqe.js} +11 -11
- package/dist/chunks/{instruction-discovery-r0yr0wbs.js → vcs-r0yr0wbs.js} +1 -1
- package/dist/chunks/{instruction-discovery-956c56jz.js → vcs-r1k9m3eb.js} +8 -8
- package/dist/chunks/{instruction-discovery-pchh79h1.js → vcs-r47ja65p.js} +18 -18
- package/dist/chunks/{instruction-discovery-rb9dy4dg.js → vcs-rb9dy4dg.js} +1 -1
- package/dist/chunks/{instruction-discovery-znvxebx5.js → vcs-rcbk8nhg.js} +28 -28
- package/dist/chunks/{instruction-discovery-jppsgv8k.js → vcs-rdsms1bd.js} +28 -28
- package/dist/chunks/{instruction-discovery-769y8set.js → vcs-rek8exz1.js} +32 -32
- package/dist/chunks/{instruction-discovery-rmt6m6se.js → vcs-rmt6m6se.js} +2 -2
- package/dist/chunks/{instruction-discovery-rt5dr6hb.js → vcs-rt5dr6hb.js} +1 -1
- package/dist/chunks/{instruction-discovery-g1xkvxp8.js → vcs-s12jh10e.js} +8 -8
- package/dist/chunks/{instruction-discovery-54m57xnc.js → vcs-s20e5wsv.js} +35 -35
- package/dist/chunks/{instruction-discovery-t7npxncv.js → vcs-s8vdmeb0.js} +10 -10
- package/dist/chunks/{instruction-discovery-rqmvfmcr.js → vcs-skfx7z6k.js} +15 -15
- package/dist/chunks/{instruction-discovery-ax3f0566.js → vcs-skwe01yc.js} +22 -22
- package/dist/chunks/{instruction-discovery-sqjzf8x2.js → vcs-sqjzf8x2.js} +1 -1
- package/dist/chunks/{instruction-discovery-p16pb49z.js → vcs-szbkmyzk.js} +19 -19
- package/dist/chunks/{instruction-discovery-wyr759tm.js → vcs-t8v8tvff.js} +25 -25
- package/dist/chunks/{instruction-discovery-1z6jjy5p.js → vcs-tasvem1v.js} +3 -3
- package/dist/chunks/{instruction-discovery-twhjf934.js → vcs-tbynrmzc.js} +90 -90
- package/dist/chunks/{instruction-discovery-tczq8hjw.js → vcs-tczq8hjw.js} +1 -1
- package/dist/chunks/{instruction-discovery-nrybcd8t.js → vcs-tw1cfj00.js} +48 -48
- package/dist/chunks/{instruction-discovery-tw8zr1ps.js → vcs-tw8zr1ps.js} +1 -1
- package/dist/chunks/{instruction-discovery-twv2r8f4.js → vcs-twv2r8f4.js} +2 -2
- package/dist/chunks/{instruction-discovery-sfpq3tbz.js → vcs-v0yw3gr0.js} +5 -5
- package/dist/chunks/{instruction-discovery-v2r1d0zg.js → vcs-v2r1d0zg.js} +1 -1
- package/dist/chunks/{instruction-discovery-x10b8zya.js → vcs-v34k8dr0.js} +17 -17
- package/dist/chunks/{instruction-discovery-hwackvbn.js → vcs-v60pntgq.js} +33 -33
- package/dist/chunks/{instruction-discovery-cyq9fb3q.js → vcs-v9085ex6.js} +4 -4
- package/dist/chunks/{instruction-discovery-917zkqw6.js → vcs-v94mhwh5.js} +13 -13
- package/dist/chunks/{instruction-discovery-dsgd38cz.js → vcs-vb9pfrew.js} +5 -5
- package/dist/chunks/{instruction-discovery-vd3b3yk9.js → vcs-vd3b3yk9.js} +1 -1
- package/dist/chunks/{instruction-discovery-zy3qe4qg.js → vcs-vdc7b2sf.js} +11 -11
- package/dist/chunks/{instruction-discovery-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-9btmn35n.js → vcs-vh9aq6dc.js} +28 -28
- package/dist/chunks/{instruction-discovery-hsex03fq.js → vcs-vpnrak8v.js} +20 -20
- package/dist/chunks/{instruction-discovery-dacekyg1.js → vcs-vs6edpr4.js} +24 -24
- package/dist/chunks/{instruction-discovery-pndg7662.js → vcs-vt7gs0sa.js} +28 -28
- package/dist/chunks/{instruction-discovery-ths2029g.js → vcs-vw4tn0tb.js} +18 -18
- package/dist/chunks/{instruction-discovery-6kakegn7.js → vcs-vzmjdaw1.js} +9 -9
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-w8qtt4th.js → vcs-w8qtt4th.js} +1 -1
- package/dist/chunks/{instruction-discovery-wakvkjy4.js → vcs-wakvkjy4.js} +1 -1
- package/dist/chunks/{instruction-discovery-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-vt5qfbts.js → vcs-wjy5h13p.js} +16 -16
- package/dist/chunks/{instruction-discovery-sqks5mt8.js → vcs-wnaab4d3.js} +36 -36
- package/dist/chunks/{instruction-discovery-5e17hjwv.js → vcs-wsf6rpby.js} +9 -9
- package/dist/chunks/{instruction-discovery-s866dxyg.js → vcs-wtk09v7c.js} +21 -21
- package/dist/chunks/{instruction-discovery-t211gxpv.js → vcs-wwye013q.js} +7 -7
- package/dist/chunks/{instruction-discovery-2hbzz1h7.js → vcs-x8a5m77f.js} +19 -19
- package/dist/chunks/{instruction-discovery-ezb8g5mg.js → vcs-xa1dtvk7.js} +3 -3
- package/dist/chunks/{instruction-discovery-hnypkknm.js → vcs-xg28gvg7.js} +14 -14
- package/dist/chunks/{instruction-discovery-tbr3q4wq.js → vcs-xkmedc5t.js} +40 -40
- package/dist/chunks/{instruction-discovery-9sd5yz6g.js → vcs-xpmys0j9.js} +25 -25
- package/dist/chunks/{instruction-discovery-895h3qj5.js → vcs-xqvtd8tg.js} +4 -4
- package/dist/chunks/{instruction-discovery-d5xa8env.js → vcs-xxjtdm9r.js} +11 -11
- package/dist/chunks/{instruction-discovery-yb20nhc3.js → vcs-yb20nhc3.js} +1 -1
- package/dist/chunks/{instruction-discovery-snzpnf52.js → vcs-yqpwreg0.js} +50 -50
- package/dist/chunks/{instruction-discovery-ecqm0jsy.js → vcs-yqtnzwzq.js} +5 -5
- package/dist/chunks/{instruction-discovery-f2tyvzem.js → vcs-yxdc7d4s.js} +5 -5
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-z38nccrw.js → vcs-z38nccrw.js} +1 -1
- package/dist/chunks/{instruction-discovery-6t1nvg56.js → vcs-z61xbmm9.js} +19 -19
- package/dist/chunks/{instruction-discovery-sn8kn0k4.js → vcs-z8nn4snw.js} +47 -47
- package/dist/chunks/{instruction-discovery-wn0pby43.js → vcs-za6w1b0s.js} +7 -7
- package/dist/chunks/{instruction-discovery-zkg84ctx.js → vcs-zkg84ctx.js} +1 -1
- package/dist/chunks/{instruction-discovery-jzfegvfv.js → vcs-zpxa3g5c.js} +22 -22
- package/dist/chunks/vcs-zrej7bp7.js +257 -0
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +74 -74
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +92 -92
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +95 -95
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +102 -102
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 +101 -101
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- 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 +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +102 -102
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +166 -166
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-83cry12x.js +0 -26
- package/dist/chunks/instruction-discovery-hcne681p.js +0 -257
- package/dist/chunks/instruction-discovery-mrc3e54s.js +0 -523
- package/dist/chunks/instruction-discovery-qmh7vbk2.js +0 -18
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2bv980vf.js → vcs-2bv980vf.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5fjb7ams.js → vcs-5fjb7ams.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → vcs-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-84wd9syh.js → vcs-84wd9syh.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a058387c.js → vcs-a058387c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hcxmzztb.js → vcs-hcxmzztb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jze0r7bz.js → vcs-jze0r7bz.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-m18g726c.js → vcs-m18g726c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-pkyv6v7h.js → vcs-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ve7vex1e.js → vcs-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wjj7prxr.js → vcs-wjj7prxr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./vcs-07zevav5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service7
|
|
6
|
+
} from "./vcs-7cx8wp0a.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-6pjqjmy2.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin46
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin46 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service51;
|
|
26
|
+
const policy = yield* Service7;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin9 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin46, exports_location_watcher2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-qjgzc4b4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service60,
|
|
6
|
+
node62
|
|
7
|
+
} from "./vcs-2cyz7x39.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service13,
|
|
17
|
+
node: () => node15,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service13 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service60;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service13.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node15 = makeLocationNode({ service: Service13, layer, deps: [node62] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service13, readText2, syncTextBom2, node15, exports_file_mutation };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./vcs-wjy5h13p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Event14
|
|
6
|
+
} from "./vcs-5q1dgqbh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID8
|
|
9
|
+
} from "./vcs-ftn2x50x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID6
|
|
12
|
+
} from "./vcs-s20e5wsv.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/openai-context-caps.ts
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Stream } from "effect";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID8.make("openai");
|
|
18
18
|
var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
|
|
19
19
|
var legacyInput = 272000;
|
|
20
20
|
var currentInput = 500000;
|
|
21
21
|
var OpenAIContextCapsPlugin2 = define({
|
|
22
22
|
id: "opencode.provider.openai-context-caps",
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
24
|
-
const bus = yield*
|
|
24
|
+
const bus = yield* Service83;
|
|
25
25
|
let signedIn = false;
|
|
26
26
|
const load = Effect.fn("OpenAIContextCapsPlugin.load")(function* () {
|
|
27
27
|
const connection = yield* ctx.integration.connection.active(integrationID);
|
|
@@ -34,7 +34,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
34
34
|
yield* ctx.model.transform((models) => {
|
|
35
35
|
if (!signedIn)
|
|
36
36
|
return;
|
|
37
|
-
for (const model of models.list(
|
|
37
|
+
for (const model of models.list(ID6.openai)) {
|
|
38
38
|
models.update(model.providerID, model.id, (draft) => {
|
|
39
39
|
const input = cap(draft.modelID ?? draft.id);
|
|
40
40
|
if ((draft.limit.input || draft.limit.context) <= input)
|
|
@@ -43,7 +43,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
|
-
yield* bus.subscribe(
|
|
46
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load().pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
47
47
|
})
|
|
48
48
|
});
|
|
49
49
|
function cap(apiID) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-ep7q3v7p.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin17
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin17 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin17, exports_plan };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./vcs-wjy5h13p.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-0rcrzzvr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service17,
|
|
9
|
+
Event4
|
|
10
|
+
} from "./vcs-m33a7njg.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,8 +38,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
42
|
-
const bus = yield*
|
|
41
|
+
const modelsDev = yield* Service17;
|
|
42
|
+
const bus = yield* Service83;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
45
45
|
for (const provider of loaded.data) {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event4.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./vcs-3xhcmk8x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID5,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-0rcrzzvr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service51
|
|
10
|
+
} from "./vcs-07zevav5.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service60
|
|
13
|
+
} from "./vcs-2cyz7x39.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-fznmdakp.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-hx7vxw9c.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service51;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service60);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service79);
|
|
38
38
|
const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|
|
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
63
63
|
for (const item of loaded.models) {
|
|
64
64
|
const spec = input.model(item);
|
|
65
65
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID5.make(spec.id);
|
|
67
67
|
model.name = spec.name || spec.id;
|
|
68
68
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID6
|
|
3
|
+
} from "./vcs-s20e5wsv.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-hx7vxw9c.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
11
11
|
import { Form } from "@opencode/schema/form";
|
|
12
|
-
var providerID =
|
|
12
|
+
var providerID = ID6.make("cloudflare-workers-ai");
|
|
13
13
|
var CloudflareWorkersAIPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin9
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin9 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin35 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin9, exports_mcp_codemode_defaults };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service51
|
|
4
|
+
} from "./vcs-07zevav5.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-6pjqjmy2.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service73
|
|
10
|
+
} from "./vcs-ep7q3v7p.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/todo.ts
|
|
16
16
|
var exports_todo = {};
|
|
17
17
|
__export(exports_todo, {
|
|
18
18
|
Info: () => Info2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
Output: () =>
|
|
21
|
-
Plugin: () =>
|
|
19
|
+
Input: () => Input7,
|
|
20
|
+
Output: () => Output5,
|
|
21
|
+
Plugin: () => Plugin26,
|
|
22
22
|
TodoTool: () => exports_todo,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name7,
|
|
24
24
|
summarize: () => summarize2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -37,17 +37,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
|
|
|
37
37
|
`;
|
|
38
38
|
|
|
39
39
|
// src/tool/plugin/todo.ts
|
|
40
|
-
var
|
|
40
|
+
var name7 = "todowrite";
|
|
41
41
|
var Info2 = Schema.Struct({
|
|
42
42
|
content: Schema.String.annotate({ description: "Brief description of the task" }),
|
|
43
43
|
status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
|
|
44
44
|
description: "Current status of the task: pending, in_progress, completed, cancelled"
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var Input7 = Schema.Struct({
|
|
48
48
|
todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Output5 = Schema.Struct({
|
|
51
51
|
todos: Schema.Array(Info2)
|
|
52
52
|
});
|
|
53
53
|
var summarize2 = (todos) => {
|
|
@@ -61,24 +61,24 @@ var summarize2 = (todos) => {
|
|
|
61
61
|
const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
|
|
62
62
|
return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
|
|
63
63
|
};
|
|
64
|
-
var
|
|
64
|
+
var Plugin26 = {
|
|
65
65
|
id: "opencode.tool.todo",
|
|
66
66
|
effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
|
|
67
|
-
const config = yield*
|
|
68
|
-
const permission = yield*
|
|
67
|
+
const config = yield* Service51;
|
|
68
|
+
const permission = yield* Service73;
|
|
69
69
|
const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
|
|
70
70
|
const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
|
|
71
71
|
yield* ctx.tool.transform((editor) => {
|
|
72
72
|
if (!enabled())
|
|
73
73
|
return;
|
|
74
74
|
editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name7,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: todowrite_default,
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input7,
|
|
79
|
+
output: Output5,
|
|
80
80
|
execute: (input, context) => permission.assert({
|
|
81
|
-
action:
|
|
81
|
+
action: name7,
|
|
82
82
|
resources: ["*"],
|
|
83
83
|
save: ["*"],
|
|
84
84
|
sessionID: context.sessionID,
|
|
@@ -94,4 +94,4 @@ var Plugin47 = {
|
|
|
94
94
|
})
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
export {
|
|
97
|
+
export { name7, Info2, Input7, Output5, summarize2, Plugin26, exports_todo };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin13,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin13 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin36 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin13, exports_identity };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-qz7bsaqe.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./vcs-wjy5h13p.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event14,
|
|
10
|
+
Service63
|
|
11
|
+
} from "./vcs-5q1dgqbh.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID8,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-ftn2x50x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID6,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-s20e5wsv.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID5,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info15
|
|
24
|
+
} from "./vcs-0rcrzzvr.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./vcs-yb20nhc3.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./vcs-3nnrz6f6.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./vcs-hx7vxw9c.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID6.openai;
|
|
47
|
+
var integrationID = ID8.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -179,8 +179,8 @@ function listen(server) {
|
|
|
179
179
|
var ChatGPTPlugin2 = define({
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
|
-
const bus = yield*
|
|
183
|
-
const credentials = yield*
|
|
182
|
+
const bus = yield* Service83;
|
|
183
|
+
const credentials = yield* Service63;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID8.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID5.make(model.slug))).map((model) => deriveModel(model, Info15.default(ID6.openai, ID5.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-qz7bsaqe.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-40za9wsf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin6,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin6 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin21 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint4, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin21 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint4, Plugin6, exports_parallel };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service55
|
|
4
|
+
} from "./vcs-s20e5wsv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service51
|
|
7
|
+
} from "./vcs-07zevav5.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service55;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service51);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|