@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,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-qjgzc4b4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node87
|
|
7
|
+
} from "./vcs-wjy5h13p.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event14,
|
|
10
|
+
Service63,
|
|
11
|
+
node66
|
|
12
|
+
} from "./vcs-5q1dgqbh.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service79,
|
|
15
|
+
node83
|
|
16
|
+
} from "./vcs-3xhcmk8x.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service60,
|
|
19
|
+
node62
|
|
20
|
+
} from "./vcs-2cyz7x39.js";
|
|
21
21
|
import {
|
|
22
22
|
ID16,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service77,
|
|
24
|
+
node81
|
|
25
|
+
} from "./vcs-mvpchj3s.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-vd3b3yk9.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID8,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service62,
|
|
34
|
+
node65
|
|
35
|
+
} from "./vcs-ftn2x50x.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./vcs-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError2,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service28,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
|
+
layer: () => layer14,
|
|
57
|
+
node: () => node31
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -104,21 +104,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
104
104
|
var endpointLoads = makeUnsafe2();
|
|
105
105
|
var cloneConfig = (config) => structuredClone(config);
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service28 extends Context.Service()("@opencode/MCP") {
|
|
108
108
|
}
|
|
109
|
-
var
|
|
109
|
+
var Options3 = Schema.Struct({
|
|
110
110
|
clientInfo: Schema.optional(Schema.Struct({
|
|
111
111
|
name: Schema.String,
|
|
112
112
|
version: Schema.String
|
|
113
113
|
}))
|
|
114
114
|
});
|
|
115
|
-
var
|
|
116
|
-
const location = yield*
|
|
117
|
-
const environment = yield*
|
|
118
|
-
const bus = yield*
|
|
119
|
-
const forms = yield*
|
|
120
|
-
const integration = yield*
|
|
121
|
-
const credentials = yield*
|
|
115
|
+
var layer14 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service79;
|
|
117
|
+
const environment = yield* Service60;
|
|
118
|
+
const bus = yield* Service83;
|
|
119
|
+
const forms = yield* Service77;
|
|
120
|
+
const integration = yield* Service62;
|
|
121
|
+
const credentials = yield* Service63;
|
|
122
122
|
const root = yield* Effect.scope;
|
|
123
123
|
const fork = yield* FiberSet.makeRuntime();
|
|
124
124
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -133,7 +133,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
133
133
|
return;
|
|
134
134
|
const remote = entry.config;
|
|
135
135
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
136
|
-
const integrationID =
|
|
136
|
+
const integrationID = ID8.make(suffix);
|
|
137
137
|
entry.integrationID = integrationID;
|
|
138
138
|
owned.add(integrationID);
|
|
139
139
|
const methodID = MethodID2.make(suffix);
|
|
@@ -149,7 +149,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
149
149
|
method: { id: methodID, type: "oauth", label: name },
|
|
150
150
|
authorize: () => Effect.gen(function* () {
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service63, credentials));
|
|
153
153
|
})
|
|
154
154
|
});
|
|
155
155
|
}).pipe(Scope.provide(scope));
|
|
@@ -157,14 +157,14 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
157
157
|
const requireServer = Effect.fnUntraced(function* (name) {
|
|
158
158
|
const entry = entries.get(name);
|
|
159
159
|
if (!entry)
|
|
160
|
-
return yield* new
|
|
160
|
+
return yield* new NotFoundError2({ server: name });
|
|
161
161
|
return { name, entry };
|
|
162
162
|
});
|
|
163
163
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
164
164
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
165
165
|
return;
|
|
166
166
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
167
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
167
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service63, credentials));
|
|
168
168
|
});
|
|
169
169
|
const elicitation = {
|
|
170
170
|
create: (input) => Effect.gen(function* () {
|
|
@@ -272,7 +272,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
272
272
|
entry.scope = scope;
|
|
273
273
|
const authProvider = yield* connectProvider(entry);
|
|
274
274
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
275
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
275
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service60, environment), Scope.provide(scope));
|
|
276
276
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
277
277
|
if (Exit.isSuccess(result)) {
|
|
278
278
|
entry.client = result.value.connection;
|
|
@@ -373,7 +373,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
373
373
|
let closed = false;
|
|
374
374
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
375
375
|
closed = true;
|
|
376
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
376
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service60, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
377
377
|
const register = Effect.gen(function* () {
|
|
378
378
|
if (closed) {
|
|
379
379
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -452,7 +452,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
452
452
|
yield* startServer(name, entry);
|
|
453
453
|
}).pipe(locks.withLock(name));
|
|
454
454
|
});
|
|
455
|
-
fork(bus.subscribe(
|
|
455
|
+
fork(bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
456
456
|
const state = create3({
|
|
457
457
|
name: "mcp",
|
|
458
458
|
initial: () => ({
|
|
@@ -478,7 +478,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
478
478
|
}),
|
|
479
479
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
480
480
|
});
|
|
481
|
-
return
|
|
481
|
+
return Service28.of({
|
|
482
482
|
transform: state.transform,
|
|
483
483
|
reload: state.reload,
|
|
484
484
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -606,14 +606,14 @@ function mergeCatalogs(catalogs) {
|
|
|
606
606
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
607
607
|
});
|
|
608
608
|
}
|
|
609
|
-
function
|
|
609
|
+
function configured3(options) {
|
|
610
610
|
return makeLocationNode({
|
|
611
|
-
service:
|
|
612
|
-
layer:
|
|
613
|
-
deps: [
|
|
611
|
+
service: Service28,
|
|
612
|
+
layer: layer14(options),
|
|
613
|
+
deps: [node83, node62, node87, node81, node65, node66]
|
|
614
614
|
});
|
|
615
615
|
}
|
|
616
|
-
var
|
|
616
|
+
var node31 = configured3();
|
|
617
617
|
function toElicitationField(key, property, required) {
|
|
618
618
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
619
619
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -664,4 +664,4 @@ function toElicitationField(key, property, required) {
|
|
|
664
664
|
}
|
|
665
665
|
}
|
|
666
666
|
|
|
667
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
667
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2, Service28, Options3, layer14, configured3, node31, exports_mcp4 };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./vcs-wjy5h13p.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./vcs-3xhcmk8x.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service50,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node52
|
|
13
|
+
} from "./vcs-5ahgw1dr.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput3,
|
|
25
|
+
Event: () => Event6,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID3,
|
|
28
|
+
Info: () => Info8,
|
|
29
|
+
NotFoundError: () => NotFoundError3,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service45,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node47
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event6 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID3 = Pty.ID;
|
|
43
|
+
var Info8 = Pty.Info;
|
|
44
|
+
var CreateInput3 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID3
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID3
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service45 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
60
|
-
const bus = yield*
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
59
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
60
|
+
const bus = yield* Service83;
|
|
61
|
+
const location = yield* Service79;
|
|
62
|
+
const shell = yield* Service50;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID3.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service45.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node47 = makeLocationNode({
|
|
273
|
+
service: Service45,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [
|
|
275
|
+
deps: [node87, node83, node52]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID3, Info8, CreateInput3, UpdateInput2, NotFoundError3, ExitedError2, Service45, node47, exports_pty, Event6 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-c5c0bz0t.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./vcs-wjy5h13p.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service63,
|
|
9
|
+
node66
|
|
10
|
+
} from "./vcs-5q1dgqbh.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-vd3b3yk9.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-ar2j3j0f.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-mvpchj3s.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event13,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID8,
|
|
41
|
+
Info: () => Info19,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service62,
|
|
49
|
+
node: () => node65
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event13 } from "@opencode/schema/integration";
|
|
72
|
+
var ID8 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info19 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID8,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service62 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
115
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service63;
|
|
117
|
+
const bus = yield* Service83;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info19.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service62.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key3.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { metadata: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node65 = makeLocationNode({
|
|
633
|
+
service: Service62,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node66, node87, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID8, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info19, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service62, node65, exports_integration, Event13 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/environment/unavailable.ts
|
|
6
6
|
var exports_unavailable = {};
|
|
7
7
|
__export(exports_unavailable, {
|
|
8
8
|
EnvironmentUnavailable: () => exports_unavailable,
|
|
9
|
-
layer: () =>
|
|
9
|
+
layer: () => layer5,
|
|
10
10
|
spawner: () => spawner2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Layer, PlatformError } from "effect";
|
|
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
|
|
|
17
17
|
method: "spawn",
|
|
18
18
|
description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
|
|
19
19
|
})));
|
|
20
|
-
var
|
|
20
|
+
var layer5 = Layer.succeed(ChildProcessSpawner, spawner2);
|
|
21
21
|
|
|
22
|
-
export { spawner2,
|
|
22
|
+
export { spawner2, layer5, exports_unavailable };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-zkg84ctx.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make14,
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
// src/session/runner/prompt/system.txt
|
|
13
13
|
var system_default = `You are an AI agent running in OpenCode, a coding agent harness. Help the user accomplish their goals using the tools you have available.
|
|
@@ -28,10 +28,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
28
28
|
`;
|
|
29
29
|
|
|
30
30
|
// src/session/system-prompt.ts
|
|
31
|
-
function
|
|
32
|
-
return
|
|
31
|
+
function make14(tools) {
|
|
32
|
+
return render2(system_default, tools);
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function render2(prompt, tools) {
|
|
35
35
|
const instructions = [];
|
|
36
36
|
if (tools.includes("shell")) {
|
|
37
37
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -46,4 +46,4 @@ function render3(prompt, tools) {
|
|
|
46
46
|
`));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make14, render2, exports_system_prompt };
|