@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
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-5fjb7ams.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-4xvmh7wp.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-vd3b3yk9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service85,
|
|
17
|
+
node89
|
|
18
|
+
} from "./vcs-kn7j2k6k.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service82,
|
|
21
|
+
node86
|
|
22
|
+
} from "./vcs-s12jh10e.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./vcs-z38nccrw.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./vcs-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error5,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service69,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node73
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service69 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service82;
|
|
58
|
+
const image = yield* Service85;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service69.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node73 = makeLocationNode({
|
|
277
|
+
service: Service69,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node86, node89]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service69, node73, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-zkg84ctx.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./vcs-3xhcmk8x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service60
|
|
12
|
+
} from "./vcs-2cyz7x39.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service59
|
|
16
|
+
} from "./vcs-kwc19jgx.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-kdjksvwe.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service73
|
|
26
|
+
} from "./vcs-ep7q3v7p.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service16
|
|
29
|
+
} from "./vcs-9wdb4fag.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./vcs-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input12,
|
|
39
|
+
Output: () => Output8,
|
|
40
|
+
Plugin: () => Plugin31,
|
|
41
|
+
name: () => name12,
|
|
42
|
+
toModelContent: () => toModelContent5
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name12 = "grep";
|
|
48
|
+
var Input12 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input3 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output8 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent5 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent3 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin31 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service60;
|
|
90
|
+
const ripgrep = yield* Service59;
|
|
91
|
+
const location = yield* Service79;
|
|
92
|
+
const access = yield* Service16;
|
|
93
|
+
const permission = yield* Service73;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name12,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input12,
|
|
99
|
+
output: Output8,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name12,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin39 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent5(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin39 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name12, Input12, Output8, toModelContent5, Plugin31, exports_grep };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-baw7bc8n.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-dbqrmbed.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-tw8zr1ps.js";
|
|
7
7
|
import {
|
|
8
8
|
stringify2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-5fjb7ams.js";
|
|
10
10
|
import {
|
|
11
11
|
contentFilterError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-bnjqvjjm.js";
|
|
13
13
|
|
|
14
14
|
// src/session/runner/publish-llm-event.ts
|
|
15
15
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./vcs-wjy5h13p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./vcs-m5fkg57x.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error5
|
|
9
|
+
} from "./vcs-jrtmv02s.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service65
|
|
12
|
+
} from "./vcs-kj1j79ct.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-kj8zjydm.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-bnjqvjjm.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./vcs-tw8zr1ps.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./vcs-k0nmcfh6.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./vcs-tasvem1v.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./vcs-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
|
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
54
|
var make9 = Effect.gen(function* () {
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service64;
|
|
58
|
+
const toolOutput = yield* Service65;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make9 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error5({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service52,
|
|
3
|
+
node54
|
|
4
|
+
} from "./vcs-0xfwnfde.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./vcs-3xhcmk8x.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service51,
|
|
11
|
+
node53
|
|
12
|
+
} from "./vcs-07zevav5.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-6esdw8yj.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service6,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer6,
|
|
28
|
+
node: () => node7
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service6 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer6 = Layer.effect(Service6, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service51;
|
|
40
|
+
const watcher = yield* Service52;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service79;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer4 = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service6.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer4 = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node7 = makeLocationNode({
|
|
74
|
+
service: Service6,
|
|
75
|
+
layer: layer6,
|
|
76
|
+
deps: [node53, FSUtil.node, node54, node83]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service6,
|
|
80
|
+
layer: Layer.succeed(Service6, Service6.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service6, layer6, node7, empty2, exports_source };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node83
|
|
9
|
+
} from "./vcs-3xhcmk8x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service58,
|
|
12
|
+
node60
|
|
13
|
+
} from "./vcs-dgeqmw5w.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -24,17 +24,17 @@ __export(exports_filesystem, {
|
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event12,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
Match: () => Match2,
|
|
33
33
|
NotFoundError: () => NotFoundError7,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service57,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node59
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import path from "path";
|
|
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
92
92
|
limit: Schema.optionalKey(PositiveInt2)
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
|
-
var
|
|
95
|
+
var Event12 = FileSystem.Event;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service57 extends Context.Service()("@opencode/FileSystem") {
|
|
98
98
|
}
|
|
99
|
-
var baseLayer = Layer.effect(
|
|
99
|
+
var baseLayer = Layer.effect(Service57, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const search = yield*
|
|
101
|
+
const location = yield* Service79;
|
|
102
|
+
const search = yield* Service58;
|
|
103
103
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
104
104
|
if (cause.reason._tag === "NotFound")
|
|
105
105
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -118,7 +118,7 @@ var baseLayer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
118
118
|
return yield* Effect.fail(new NotFoundError7({ path: input }));
|
|
119
119
|
return { absolute, real, directory: location.directory };
|
|
120
120
|
});
|
|
121
|
-
return
|
|
121
|
+
return Service57.of({
|
|
122
122
|
find: search.find,
|
|
123
123
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
124
124
|
const target = yield* resolve(input.path);
|
|
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
158
158
|
})
|
|
159
159
|
});
|
|
160
160
|
}));
|
|
161
|
-
var
|
|
162
|
-
service:
|
|
161
|
+
var node59 = makeLocationNode({
|
|
162
|
+
service: Service57,
|
|
163
163
|
layer: baseLayer,
|
|
164
|
-
deps: [FSUtil.node,
|
|
164
|
+
deps: [FSUtil.node, node83, node60]
|
|
165
165
|
});
|
|
166
166
|
|
|
167
|
-
export { FindInput2, Write2, NotFoundError7, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2,
|
|
167
|
+
export { FindInput2, Write2, NotFoundError7, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event12, Service57, node59, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-vd3b3yk9.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service65,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node68
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service65 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service65.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node68 = makeLocationNode({
|
|
143
|
+
service: Service65,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service65, node68, exports_tool_output2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-48kw51zw.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|