@opencode/core 0.0.0-dev-21685 → 0.0.0-dev-21695
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 +71 -71
- package/dist/chunks/{instruction-discovery-vkmt8npp.js → bus-02tqe3dc.js} +30 -30
- package/dist/chunks/{instruction-discovery-034tev2y.js → bus-034tev2y.js} +2 -2
- package/dist/chunks/{instruction-discovery-ptzd8h59.js → bus-05g8hkey.js} +50 -50
- package/dist/chunks/{instruction-discovery-2xdd02fb.js → bus-06q2jeyp.js} +9 -9
- package/dist/chunks/{instruction-discovery-c8m57xn7.js → bus-088xsv39.js} +8 -8
- package/dist/chunks/{instruction-discovery-w687dnns.js → bus-0h8y3ex8.js} +4 -4
- package/dist/chunks/{instruction-discovery-qh1vdqqc.js → bus-0kp1st58.js} +11 -11
- package/dist/chunks/{instruction-discovery-1z6jjy5p.js → bus-0ks2n9jf.js} +6 -6
- package/dist/chunks/{instruction-discovery-wn0pby43.js → bus-0mcw7mfx.js} +7 -7
- package/dist/chunks/{instruction-discovery-p8mgpvfs.js → bus-0p11b9tv.js} +6 -6
- package/dist/chunks/{instruction-discovery-e47h3fva.js → bus-0rj3103z.js} +3 -3
- package/dist/chunks/{instruction-discovery-taw06fa3.js → bus-0swax997.js} +14 -14
- package/dist/chunks/{instruction-discovery-n58eb8yn.js → bus-0syemgjh.js} +4 -4
- package/dist/chunks/{instruction-discovery-xaz7g2t8.js → bus-0zzd7vfm.js} +4 -4
- package/dist/chunks/{instruction-discovery-vx3jgdek.js → bus-143qq2q9.js} +3 -3
- package/dist/chunks/{instruction-discovery-h4p3pyf8.js → bus-158w7htw.js} +6 -6
- package/dist/chunks/{instruction-discovery-htnm7734.js → bus-1622r1ga.js} +4 -4
- package/dist/chunks/{instruction-discovery-1ep2p91f.js → bus-1ep2p91f.js} +2 -2
- package/dist/chunks/{instruction-discovery-jppsgv8k.js → bus-1j2dtaqf.js} +25 -25
- package/dist/chunks/{instruction-discovery-gfxq0zq2.js → bus-1mfyhvm9.js} +9 -9
- package/dist/chunks/{instruction-discovery-jas4yhkp.js → bus-1r5cd4qg.js} +11 -11
- package/dist/chunks/{instruction-discovery-1x2knyw4.js → bus-1x2knyw4.js} +1 -1
- package/dist/chunks/{instruction-discovery-x4y0yvq7.js → bus-1xwbrvt7.js} +14 -14
- package/dist/chunks/{instruction-discovery-bxjrsr3w.js → bus-1ya82mrw.js} +7 -7
- package/dist/chunks/{instruction-discovery-g1xkvxp8.js → bus-231a8wys.js} +8 -8
- package/dist/chunks/{instruction-discovery-s2pfznc4.js → bus-2b6ncc8q.js} +6 -6
- package/dist/chunks/{instruction-discovery-s91x7ka3.js → bus-2dxw0vtj.js} +23 -23
- package/dist/chunks/{instruction-discovery-s9z6tqcd.js → bus-2etvdtc8.js} +11 -11
- package/dist/chunks/{instruction-discovery-xk1htaes.js → bus-2ex6mje1.js} +33 -33
- package/dist/chunks/{instruction-discovery-eqfewtt2.js → bus-2gqhjjsx.js} +10 -10
- package/dist/chunks/{instruction-discovery-revxvk9s.js → bus-2h28cep3.js} +33 -33
- package/dist/chunks/{instruction-discovery-pndg7662.js → bus-2m54h93x.js} +23 -23
- package/dist/chunks/{instruction-discovery-r47an33t.js → bus-2rx1emds.js} +3 -3
- package/dist/chunks/{instruction-discovery-91vtnk5e.js → bus-2ryhy1r3.js} +16 -16
- package/dist/chunks/{instruction-discovery-2z1j29yd.js → bus-2z1j29yd.js} +1 -1
- package/dist/chunks/{instruction-discovery-tbr3q4wq.js → bus-392n4kdw.js} +36 -36
- package/dist/chunks/{instruction-discovery-spa8vgy8.js → bus-3dcm03ph.js} +8 -8
- package/dist/chunks/{instruction-discovery-2cckbrxm.js → bus-3f5zfv5g.js} +17 -17
- package/dist/chunks/{instruction-discovery-r7tcy11j.js → bus-3h5qsd4j.js} +5 -5
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-3nnrz6f6.js → bus-3nnrz6f6.js} +1 -1
- package/dist/chunks/{instruction-discovery-ggb9x9sh.js → bus-3s4b3ezj.js} +4 -4
- package/dist/chunks/{instruction-discovery-rp1ha6gz.js → bus-421ekqkw.js} +4 -4
- package/dist/chunks/{instruction-discovery-c75qkfpz.js → bus-44s0n40r.js} +45 -45
- package/dist/chunks/{instruction-discovery-dacekyg1.js → bus-47rq8bk5.js} +17 -17
- package/dist/chunks/{instruction-discovery-ga3f1nea.js → bus-48yd86fd.js} +19 -19
- package/dist/chunks/{instruction-discovery-530caf3d.js → bus-4eca1hyp.js} +17 -17
- package/dist/chunks/{instruction-discovery-z5wdff31.js → bus-4jars7ak.js} +11 -11
- package/dist/chunks/{instruction-discovery-4v008n1t.js → bus-4v008n1t.js} +1 -1
- package/dist/chunks/{instruction-discovery-4xvmh7wp.js → bus-4xvmh7wp.js} +3 -3
- package/dist/chunks/{instruction-discovery-pazke3n5.js → bus-51e0cpsh.js} +30 -30
- package/dist/chunks/{instruction-discovery-dsgd38cz.js → bus-558jb3j2.js} +8 -8
- package/dist/chunks/{instruction-discovery-5vmx498f.js → bus-5aqqzxvt.js} +36 -36
- package/dist/chunks/{instruction-discovery-sfpq3tbz.js → bus-5dj834cv.js} +5 -5
- package/dist/chunks/{instruction-discovery-x1g9xmqt.js → bus-5g3z7av9.js} +16 -16
- package/dist/chunks/{instruction-discovery-mfwfc967.js → bus-5gk89hyb.js} +5 -5
- package/dist/chunks/{instruction-discovery-t7sqmb9b.js → bus-5jnymmb4.js} +19 -19
- package/dist/chunks/{instruction-discovery-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
- package/dist/chunks/{instruction-discovery-hwackvbn.js → bus-5r00rv09.js} +24 -24
- package/dist/chunks/{instruction-discovery-8hsv30j4.js → bus-5s1pgksh.js} +20 -20
- package/dist/chunks/{instruction-discovery-1590c3s1.js → bus-5tym1825.js} +31 -31
- package/dist/chunks/{instruction-discovery-j17fdswx.js → bus-5x14y5p3.js} +1 -1
- package/dist/chunks/{instruction-discovery-p7vhpwh8.js → bus-5zrxpy3q.js} +5 -5
- package/dist/chunks/{instruction-discovery-4c7nxy6x.js → bus-60hpmyq7.js} +29 -29
- package/dist/chunks/{instruction-discovery-nwed43a8.js → bus-6b2dxyr2.js} +36 -36
- package/dist/chunks/{instruction-discovery-6esdw8yj.js → bus-6esdw8yj.js} +1 -1
- package/dist/chunks/{instruction-discovery-yye1fjts.js → bus-6gt5xc60.js} +23 -23
- package/dist/chunks/{instruction-discovery-6pjqjmy2.js → bus-6pjqjmy2.js} +1 -1
- package/dist/chunks/{instruction-discovery-sv2aw4yq.js → bus-7193gb3b.js} +5 -5
- package/dist/chunks/{instruction-discovery-w8qtt4th.js → bus-76cb1hcw.js} +4 -4
- package/dist/chunks/{instruction-discovery-wc1rrhfs.js → bus-7ambk3z6.js} +37 -37
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-4v651skh.js → bus-7t2432tj.js} +31 -31
- package/dist/chunks/{instruction-discovery-7w2ypzdf.js → bus-7w2ypzdf.js} +1 -1
- package/dist/chunks/{instruction-discovery-b50rsrab.js → bus-7xg2jm5b.js} +5 -5
- package/dist/chunks/{instruction-discovery-hetnczqw.js → bus-7zrrpsam.js} +2 -2
- package/dist/chunks/{instruction-discovery-sn8kn0k4.js → bus-82at59ng.js} +45 -45
- package/dist/chunks/{instruction-discovery-8ev1pcqt.js → bus-8df9xh9g.js} +11 -11
- package/dist/chunks/{instruction-discovery-vwrkd0tw.js → bus-8gthgyb8.js} +18 -18
- package/dist/chunks/{instruction-discovery-wqbj2nsw.js → bus-8ss74ppy.js} +9 -9
- package/dist/chunks/{instruction-discovery-0bfbh6xc.js → bus-8t64g0wg.js} +23 -23
- package/dist/chunks/{instruction-discovery-zy3qe4qg.js → bus-8v7kcz56.js} +11 -11
- package/dist/chunks/{instruction-discovery-gxe7mkgn.js → bus-8wj4azc9.js} +11 -11
- package/dist/chunks/{instruction-discovery-8wtp7s3z.js → bus-8wtp7s3z.js} +1 -1
- package/dist/chunks/{instruction-discovery-91rj84md.js → bus-91rj84md.js} +1 -1
- package/dist/chunks/{instruction-discovery-956c56jz.js → bus-956c56jz.js} +2 -2
- package/dist/chunks/{instruction-discovery-4z0we31x.js → bus-97h34c8v.js} +12 -12
- package/dist/chunks/{instruction-discovery-998yhzzq.js → bus-998yhzzq.js} +3 -3
- package/dist/chunks/{instruction-discovery-4bg9qwqs.js → bus-99v64gx3.js} +3 -3
- package/dist/chunks/{instruction-discovery-gdv3e3ns.js → bus-9dhj7pzk.js} +14 -14
- package/dist/chunks/{instruction-discovery-a1s9yrff.js → bus-9dyryqmk.js} +16 -16
- package/dist/chunks/{instruction-discovery-btwbdc9d.js → bus-9h3yt0ty.js} +26 -26
- package/dist/chunks/{instruction-discovery-30nw9pfg.js → bus-9k6vjqzw.js} +69 -69
- package/dist/chunks/{instruction-discovery-e5dqjz6v.js → bus-9p9xqj3m.js} +8 -8
- package/dist/chunks/{instruction-discovery-vt5qfbts.js → bus-a0hasf4t.js} +4 -4
- package/dist/chunks/{instruction-discovery-kw6kdjw7.js → bus-a4qy9fc3.js} +8 -8
- package/dist/chunks/{instruction-discovery-pw0xvpce.js → bus-a9h5srre.js} +50 -50
- package/dist/chunks/{instruction-discovery-6fcb95c6.js → bus-abr51mnh.js} +8 -8
- package/dist/chunks/{instruction-discovery-bjhzkqyk.js → bus-ar2j3j0f.js} +4 -4
- package/dist/chunks/{instruction-discovery-4g0xe90t.js → bus-ar37ae2g.js} +10 -10
- package/dist/chunks/{instruction-discovery-ayjs7tqn.js → bus-ayjs7tqn.js} +2 -2
- package/dist/chunks/{instruction-discovery-b0mv4wxm.js → bus-b0mv4wxm.js} +2 -2
- package/dist/chunks/{instruction-discovery-jzfegvfv.js → bus-b0sjjnk6.js} +20 -20
- package/dist/chunks/{instruction-discovery-d2887f8n.js → bus-b1pn0vxn.js} +4 -4
- package/dist/chunks/{instruction-discovery-5nnwax6m.js → bus-b6vsg801.js} +5 -5
- package/dist/chunks/{instruction-discovery-211y70yv.js → bus-b7g1t3mx.js} +22 -22
- package/dist/chunks/{instruction-discovery-6t1nvg56.js → bus-b7wm22tc.js} +19 -19
- package/dist/chunks/{instruction-discovery-jd4w9jy7.js → bus-bhwcrmj7.js} +10 -10
- package/dist/chunks/{instruction-discovery-pchh79h1.js → bus-bm2mqchg.js} +11 -11
- package/dist/chunks/{instruction-discovery-arhpxcwy.js → bus-bsry7g8x.js} +16 -16
- package/dist/chunks/{instruction-discovery-xd9cc171.js → bus-bstexjd6.js} +5 -5
- package/dist/chunks/{instruction-discovery-kkvzkess.js → bus-c1953ttw.js} +2 -2
- package/dist/chunks/{instruction-discovery-895h3qj5.js → bus-c1hj90w1.js} +4 -4
- package/dist/chunks/{instruction-discovery-5e17hjwv.js → bus-c6z72wfs.js} +7 -7
- package/dist/chunks/{instruction-discovery-jz5grvbc.js → bus-c9k9wqyf.js} +7 -7
- package/dist/chunks/{instruction-discovery-ka0113cw.js → bus-caesvrsr.js} +18 -18
- package/dist/chunks/{instruction-discovery-6np17vve.js → bus-cah09krx.js} +11 -11
- package/dist/chunks/{instruction-discovery-v15rxc3h.js → bus-ck9t0a91.js} +33 -33
- package/dist/chunks/{instruction-discovery-ecqm0jsy.js → bus-cmd2t0hw.js} +5 -5
- package/dist/chunks/{instruction-discovery-94dxmxj3.js → bus-czxyp6y6.js} +12 -12
- package/dist/chunks/{instruction-discovery-d4v9tmah.js → bus-d4v9tmah.js} +2 -2
- package/dist/chunks/{instruction-discovery-jy2czfqv.js → bus-dds9zz6p.js} +4 -4
- package/dist/chunks/{instruction-discovery-dgj4ks8n.js → bus-dfv3sd11.js} +21 -21
- package/dist/chunks/{instruction-discovery-ths2029g.js → bus-dj1vw1rv.js} +18 -18
- package/dist/chunks/{instruction-discovery-dtq3ahye.js → bus-dxvj00dw.js} +26 -26
- package/dist/chunks/{instruction-discovery-kam2skhz.js → bus-dyh6ghqz.js} +10 -10
- package/dist/chunks/{instruction-discovery-azzb4j7n.js → bus-e4f4x5n9.js} +9 -9
- package/dist/chunks/{instruction-discovery-e834z07m.js → bus-e834z07m.js} +1 -1
- package/dist/chunks/{instruction-discovery-jp3vw6vz.js → bus-e8dk3ywt.js} +11 -11
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-hsex03fq.js → bus-efnptb2b.js} +17 -17
- package/dist/chunks/{instruction-discovery-tzjzgnfr.js → bus-etmf56fp.js} +10 -10
- package/dist/chunks/{instruction-discovery-6hkx6zh1.js → bus-f4ce69wc.js} +8 -8
- package/dist/chunks/{instruction-discovery-27bs79w9.js → bus-fc6c4hv8.js} +2 -2
- package/dist/chunks/{instruction-discovery-fffv3p7h.js → bus-fffv3p7h.js} +1 -1
- package/dist/chunks/{instruction-discovery-rgv8ccnj.js → bus-fm5nzcmq.js} +21 -21
- package/dist/chunks/{instruction-discovery-5wwswtpf.js → bus-fntzncgy.js} +17 -17
- package/dist/chunks/{instruction-discovery-77afn72v.js → bus-g3k29tzj.js} +13 -13
- package/dist/chunks/{instruction-discovery-g5h9c0rr.js → bus-g5h9c0rr.js} +2 -2
- package/dist/chunks/{instruction-discovery-976c7xh0.js → bus-g6rdvcdw.js} +15 -15
- package/dist/chunks/{instruction-discovery-nrybcd8t.js → bus-ghn7jtaj.js} +37 -37
- package/dist/chunks/{instruction-discovery-kawh22nd.js → bus-gjr461gh.js} +15 -15
- package/dist/chunks/{instruction-discovery-p16pb49z.js → bus-gq4ft62x.js} +17 -17
- package/dist/chunks/{instruction-discovery-744ctw13.js → bus-gq7wjy6f.js} +25 -25
- package/dist/chunks/{instruction-discovery-twhjf934.js → bus-gyvvxe68.js} +83 -83
- package/dist/chunks/{instruction-discovery-nzjpq5nr.js → bus-hsbqs0yf.js} +8 -8
- package/dist/chunks/{instruction-discovery-f4p9w5yx.js → bus-htpbdr1d.js} +26 -26
- package/dist/chunks/{instruction-discovery-q0yh9qyr.js → bus-hwj1j5q0.js} +4 -4
- package/dist/chunks/{instruction-discovery-j113cymg.js → bus-j113cymg.js} +1 -1
- package/dist/chunks/{instruction-discovery-mpa2ejqj.js → bus-j8nk5b8t.js} +3 -3
- package/dist/chunks/{instruction-discovery-1y33b0wd.js → bus-jg2v1dk6.js} +30 -30
- package/dist/chunks/{instruction-discovery-zhfftf23.js → bus-jsjjdmy1.js} +9 -9
- package/dist/chunks/{instruction-discovery-r44rfmgw.js → bus-jv78zvp3.js} +14 -14
- package/dist/chunks/{instruction-discovery-dh62xe4r.js → bus-jx89vj1k.js} +3 -3
- package/dist/chunks/{instruction-discovery-e7ha8gsg.js → bus-jzxk7jdc.js} +12 -12
- package/dist/chunks/{instruction-discovery-917zkqw6.js → bus-k0agw6wh.js} +13 -13
- package/dist/chunks/{instruction-discovery-6xe6qe1z.js → bus-k0rrpnh5.js} +183 -183
- package/dist/chunks/bus-k5d1wqjw.js +523 -0
- package/dist/chunks/{instruction-discovery-3c7qpzd7.js → bus-k7fcp7vh.js} +8 -8
- package/dist/chunks/{instruction-discovery-k814nvkf.js → bus-k814nvkf.js} +1 -1
- package/dist/chunks/{instruction-discovery-0p88zpcm.js → bus-kedzwwnr.js} +4 -4
- package/dist/chunks/{instruction-discovery-sqks5mt8.js → bus-kfag0pyw.js} +34 -34
- package/dist/chunks/{instruction-discovery-mhgesy0s.js → bus-kgex5j78.js} +11 -11
- package/dist/chunks/{instruction-discovery-afd6s2pj.js → bus-km2c56gg.js} +6 -6
- package/dist/chunks/{instruction-discovery-ax3f0566.js → bus-kph7g7k5.js} +22 -22
- package/dist/chunks/{instruction-discovery-fnnrv9gt.js → bus-kqnqd6x4.js} +4 -4
- package/dist/chunks/{instruction-discovery-ksdwf8r1.js → bus-krdanp5y.js} +23 -23
- package/dist/chunks/{instruction-discovery-wvpfhzx7.js → bus-ksqksx3k.js} +21 -21
- package/dist/chunks/{instruction-discovery-m1714858.js → bus-m1714858.js} +1 -1
- package/dist/chunks/{instruction-discovery-m37sd98t.js → bus-m37sd98t.js} +1 -1
- package/dist/chunks/{instruction-discovery-9jjdx8qq.js → bus-m4s0x578.js} +23 -23
- package/dist/chunks/{instruction-discovery-ptd3w0tf.js → bus-m8gt97br.js} +5 -5
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-maspj1v3.js → bus-maspj1v3.js} +1 -1
- package/dist/chunks/{instruction-discovery-wp1vb0e3.js → bus-mgbmf9v5.js} +20 -20
- package/dist/chunks/{instruction-discovery-45keak5f.js → bus-mmgwrvtt.js} +15 -15
- package/dist/chunks/{instruction-discovery-n40jn0ye.js → bus-mn6r1kh0.js} +29 -29
- package/dist/chunks/{instruction-discovery-t7npxncv.js → bus-mnd9dafd.js} +8 -8
- package/dist/chunks/{instruction-discovery-grxvpwc8.js → bus-ms080em1.js} +24 -24
- package/dist/chunks/{instruction-discovery-ykdavcmn.js → bus-ms3syv86.js} +14 -14
- package/dist/chunks/bus-mswbh5s9.js +257 -0
- package/dist/chunks/{instruction-discovery-39ebgr3a.js → bus-mx9h14xa.js} +28 -28
- package/dist/chunks/{instruction-discovery-n0p0277s.js → bus-n0p0277s.js} +1 -1
- package/dist/chunks/{instruction-discovery-snzpnf52.js → bus-n5gmbbrg.js} +43 -43
- package/dist/chunks/{instruction-discovery-nah043kf.js → bus-nah043kf.js} +1 -1
- package/dist/chunks/{instruction-discovery-7066n3mz.js → bus-nn3pn70b.js} +4 -4
- package/dist/chunks/{instruction-discovery-mghkatew.js → bus-nw6j7gpm.js} +11 -11
- package/dist/chunks/{instruction-discovery-p015t6z3.js → bus-p015t6z3.js} +2 -2
- package/dist/chunks/{instruction-discovery-d5xa8env.js → bus-p12nptkx.js} +11 -11
- package/dist/chunks/{instruction-discovery-j76t8jdc.js → bus-p1c1zyxr.js} +49 -49
- package/dist/chunks/bus-p1hxy2vt.js +26 -0
- package/dist/chunks/{instruction-discovery-cyq9fb3q.js → bus-p8var5ry.js} +1 -1
- package/dist/chunks/{instruction-discovery-1vdntpm3.js → bus-pacbbjc0.js} +5 -5
- package/dist/chunks/{instruction-discovery-j4c7ztsh.js → bus-pbqc7r64.js} +21 -21
- package/dist/chunks/{instruction-discovery-wexbz3y3.js → bus-pdjw8hws.js} +10 -10
- package/dist/chunks/{instruction-discovery-hj5ewp7g.js → bus-pdy1hqnf.js} +31 -31
- package/dist/chunks/{instruction-discovery-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-nr3623c1.js → bus-ps63y3s5.js} +18 -18
- package/dist/chunks/{instruction-discovery-54m57xnc.js → bus-pyv2pjn5.js} +29 -29
- package/dist/chunks/{instruction-discovery-w3qk2d3s.js → bus-pz0hzqp4.js} +45 -45
- package/dist/chunks/{instruction-discovery-2hbzz1h7.js → bus-q306eq19.js} +24 -24
- package/dist/chunks/{instruction-discovery-rqmvfmcr.js → bus-q4q80s4a.js} +16 -16
- package/dist/chunks/{instruction-discovery-qjgzc4b4.js → bus-qjgzc4b4.js} +1 -1
- package/dist/chunks/{instruction-discovery-1y0wdj51.js → bus-qv7y9773.js} +4 -4
- package/dist/chunks/{instruction-discovery-wz66500m.js → bus-qx1n59h8.js} +18 -18
- package/dist/chunks/{instruction-discovery-7njvtxjk.js → bus-qzr9ezbv.js} +5 -5
- package/dist/chunks/{instruction-discovery-r0yr0wbs.js → bus-r0yr0wbs.js} +1 -1
- package/dist/chunks/{instruction-discovery-axxxggh9.js → bus-r15835qb.js} +3 -3
- package/dist/chunks/{instruction-discovery-n8ytzayn.js → bus-r6tddt1e.js} +29 -29
- package/dist/chunks/{instruction-discovery-06tsrf37.js → bus-r86349qm.js} +6 -6
- package/dist/chunks/{instruction-discovery-rb9dy4dg.js → bus-rb9dy4dg.js} +1 -1
- package/dist/chunks/{instruction-discovery-c3cfh5w6.js → bus-rda9yzm6.js} +7 -7
- package/dist/chunks/{instruction-discovery-fhrrk2wn.js → bus-rrje2nwc.js} +23 -23
- package/dist/chunks/{instruction-discovery-rt5dr6hb.js → bus-rt5dr6hb.js} +1 -1
- package/dist/chunks/{instruction-discovery-9btmn35n.js → bus-rtdrjve7.js} +25 -25
- package/dist/chunks/{instruction-discovery-xak61r58.js → bus-rvhr0thr.js} +83 -83
- package/dist/chunks/{instruction-discovery-2gy537ph.js → bus-rxt7kx39.js} +42 -42
- package/dist/chunks/{instruction-discovery-s1fwbtwx.js → bus-sfmp0f7b.js} +13 -13
- package/dist/chunks/{instruction-discovery-en1fsfyg.js → bus-sk0g3fth.js} +6 -6
- package/dist/chunks/{instruction-discovery-rmt6m6se.js → bus-smfcvx02.js} +9 -9
- package/dist/chunks/{instruction-discovery-sqjzf8x2.js → bus-sqjzf8x2.js} +1 -1
- package/dist/chunks/{instruction-discovery-4kg35d6f.js → bus-sqvkc2gg.js} +19 -19
- package/dist/chunks/{instruction-discovery-f6s8y378.js → bus-sz8868xq.js} +7 -7
- package/dist/chunks/{instruction-discovery-qjne94dq.js → bus-t4n7m6zf.js} +25 -25
- package/dist/chunks/{instruction-discovery-5xya02hf.js → bus-t63bt17c.js} +11 -11
- package/dist/chunks/{instruction-discovery-t211gxpv.js → bus-t8nkzmzj.js} +5 -5
- package/dist/chunks/{instruction-discovery-tczq8hjw.js → bus-tczq8hjw.js} +1 -1
- package/dist/chunks/{instruction-discovery-02rpsdwq.js → bus-tdj3cxsw.js} +45 -45
- package/dist/chunks/{instruction-discovery-tvqpdctp.js → bus-tnhdtpkv.js} +24 -24
- package/dist/chunks/{instruction-discovery-5hwp3mnm.js → bus-tpfax3t6.js} +43 -43
- package/dist/chunks/{instruction-discovery-hw621kav.js → bus-tqx9c315.js} +8 -8
- package/dist/chunks/{instruction-discovery-tw8zr1ps.js → bus-tw8zr1ps.js} +1 -1
- package/dist/chunks/{instruction-discovery-twv2r8f4.js → bus-twv2r8f4.js} +2 -2
- package/dist/chunks/{instruction-discovery-v2r1d0zg.js → bus-v2r1d0zg.js} +1 -1
- package/dist/chunks/{instruction-discovery-wnvrcxtc.js → bus-v5kv89ke.js} +12 -12
- package/dist/chunks/{instruction-discovery-vd3b3yk9.js → bus-vd3b3yk9.js} +1 -1
- package/dist/chunks/{instruction-discovery-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-799ckdtf.js → bus-vgk61ywp.js} +9 -9
- package/dist/chunks/{instruction-discovery-qwqr63vh.js → bus-vj8mtejf.js} +12 -12
- package/dist/chunks/{instruction-discovery-qybjhjrg.js → bus-vwj3jgr1.js} +15 -15
- package/dist/chunks/{instruction-discovery-znvxebx5.js → bus-w0569hsk.js} +24 -24
- package/dist/chunks/{instruction-discovery-5enarcya.js → bus-w2eysc6j.js} +6 -6
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-8e6vbpwd.js → bus-w52v0pzm.js} +15 -15
- package/dist/chunks/{instruction-discovery-9efckeb8.js → bus-w5800457.js} +9 -9
- package/dist/chunks/{instruction-discovery-32b2d01b.js → bus-w6839knk.js} +18 -18
- package/dist/chunks/{instruction-discovery-e45fk36t.js → bus-w76xjer3.js} +4 -4
- package/dist/chunks/{instruction-discovery-wakvkjy4.js → bus-wakvkjy4.js} +1 -1
- package/dist/chunks/{instruction-discovery-rfs27yzd.js → bus-wd652945.js} +11 -11
- package/dist/chunks/{instruction-discovery-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-asbvzmdg.js → bus-wfmpnrq7.js} +4 -4
- package/dist/chunks/{instruction-discovery-769y8set.js → bus-wm3cz6bg.js} +30 -30
- package/dist/chunks/{instruction-discovery-gqz3wpgd.js → bus-wncd5gvv.js} +11 -11
- package/dist/chunks/{instruction-discovery-x10b8zya.js → bus-wpcz644m.js} +15 -15
- package/dist/chunks/{instruction-discovery-rx02erg5.js → bus-wre4fh0b.js} +33 -33
- package/dist/chunks/{instruction-discovery-sxbjjvas.js → bus-wsd07rfm.js} +21 -21
- package/dist/chunks/{instruction-discovery-wyr759tm.js → bus-wznw0skg.js} +19 -19
- package/dist/chunks/{instruction-discovery-a2a47mdn.js → bus-x55w4aqt.js} +21 -21
- package/dist/chunks/{instruction-discovery-vh9wejw9.js → bus-x9e6ksmw.js} +46 -46
- package/dist/chunks/{instruction-discovery-06hkf91z.js → bus-xar86st9.js} +7 -7
- package/dist/chunks/{instruction-discovery-dvte4szm.js → bus-xbcypdf3.js} +5 -5
- package/dist/chunks/{instruction-discovery-2ns20q01.js → bus-xeb0t073.js} +1 -1
- package/dist/chunks/{instruction-discovery-0z1qyetw.js → bus-xm26fr51.js} +11 -11
- package/dist/chunks/{instruction-discovery-6kakegn7.js → bus-xrpfz6f8.js} +9 -9
- package/dist/chunks/{instruction-discovery-yb20nhc3.js → bus-yb20nhc3.js} +1 -1
- package/dist/chunks/{instruction-discovery-f2tyvzem.js → bus-yhjes8yv.js} +3 -3
- package/dist/chunks/{instruction-discovery-p6f33tkb.js → bus-yj5wzhce.js} +17 -17
- package/dist/chunks/{instruction-discovery-s866dxyg.js → bus-yrnwxx36.js} +24 -24
- package/dist/chunks/{instruction-discovery-s4gh6t7c.js → bus-ywxn696m.js} +30 -30
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-z38nccrw.js → bus-z38nccrw.js} +1 -1
- package/dist/chunks/bus-z7bdqmx5.js +18 -0
- package/dist/chunks/{instruction-discovery-c5c0bz0t.js → bus-za6yq9hg.js} +5 -5
- package/dist/chunks/{instruction-discovery-wd0mghyc.js → bus-zegptfkw.js} +5 -5
- package/dist/chunks/{instruction-discovery-sgr7cxxz.js → bus-zfh6qh7b.js} +13 -13
- package/dist/chunks/{instruction-discovery-hnypkknm.js → bus-zj5v4v4s.js} +16 -16
- package/dist/chunks/{instruction-discovery-zkg84ctx.js → bus-zkg84ctx.js} +1 -1
- package/dist/chunks/{instruction-discovery-9sd5yz6g.js → bus-zs3fm22t.js} +25 -25
- package/dist/chunks/{instruction-discovery-zxb8j96g.js → bus-zt2awk40.js} +27 -27
- package/dist/chunks/{instruction-discovery-6e8867gw.js → bus-zwzj79wc.js} +12 -12
- package/dist/chunks/{instruction-discovery-ezb8g5mg.js → bus-zz3ytsxz.js} +6 -6
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- 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 +115 -115
- 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 +123 -123
- 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 +1 -1
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- 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 +97 -97
- 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 +72 -72
- 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 +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +6 -6
- 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 +86 -86
- 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 +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- 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 +85 -85
- 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 +140 -140
- 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 +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- 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 +2 -2
- 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 +123 -123
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +116 -116
- 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 +352 -352
- 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 +6 -6
- 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 +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +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 +138 -138
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- 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 +95 -95
- 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 +231 -231
- 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 +5 -5
- package/dist/session/runner/step.js +128 -128
- 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 +75 -75
- 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 +1 -1
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- 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 +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +120 -120
- 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 +16 -16
- 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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2bv980vf.js → bus-2bv980vf.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5fjb7ams.js → bus-5fjb7ams.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-84wd9syh.js → bus-84wd9syh.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a058387c.js → bus-a058387c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hcxmzztb.js → bus-hcxmzztb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jze0r7bz.js → bus-jze0r7bz.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-m18g726c.js → bus-m18g726c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-pkyv6v7h.js → bus-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ve7vex1e.js → bus-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wjj7prxr.js → bus-wjj7prxr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
14
|
Native: () => Native3,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service55,
|
|
16
16
|
Test: () => Test3,
|
|
17
17
|
Watcher: () => exports_watcher,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured9,
|
|
19
19
|
hasNativeBinding: () => hasNativeBinding2,
|
|
20
|
-
layer: () =>
|
|
20
|
+
layer: () => layer22,
|
|
21
21
|
nativeLayer: () => nativeLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node59,
|
|
23
23
|
testLayer: () => testLayer3
|
|
24
24
|
});
|
|
25
25
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
49
49
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
class
|
|
52
|
+
class Service55 extends Context.Service()("@opencode/Watcher") {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
56
56
|
}
|
|
57
|
-
var
|
|
57
|
+
var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
58
58
|
if (options?.enabled === false) {
|
|
59
|
-
return
|
|
59
|
+
return Service55.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
60
60
|
}
|
|
61
61
|
const native = yield* Native3;
|
|
62
62
|
const watchers = yield* RcMap.make({
|
|
@@ -97,7 +97,7 @@ var layer23 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
97
97
|
return Stream.fromSubscription(subscription);
|
|
98
98
|
}));
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service55.of({ subscribe });
|
|
101
101
|
}));
|
|
102
102
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
103
103
|
const subscriptions = [];
|
|
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
121
121
|
};
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
|
-
const context = yield* Layer.build(
|
|
124
|
+
const context = yield* Layer.build(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
125
125
|
const test = Test3.of({
|
|
126
|
-
subscribe: Context.get(context,
|
|
126
|
+
subscribe: Context.get(context, Service55).subscribe,
|
|
127
127
|
emit: (update) => Effect.sync(() => {
|
|
128
128
|
const target = path.resolve(update.path);
|
|
129
129
|
active.forEach((matches, publish) => {
|
|
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
133
133
|
}),
|
|
134
134
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
135
135
|
});
|
|
136
|
-
return Context.empty().pipe(Context.add(
|
|
136
|
+
return Context.empty().pipe(Context.add(Service55, test), Context.add(Test3, test));
|
|
137
137
|
}));
|
|
138
138
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
139
139
|
subscribe: (input) => {
|
|
@@ -156,10 +156,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
156
156
|
}
|
|
157
157
|
}));
|
|
158
158
|
var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
159
|
-
function
|
|
160
|
-
return makeGlobalNode({ service:
|
|
159
|
+
function configured9(options) {
|
|
160
|
+
return makeGlobalNode({ service: Service55, layer: layer22(options), deps: [nativeNode] });
|
|
161
161
|
}
|
|
162
|
-
var
|
|
162
|
+
var node59 = configured9();
|
|
163
163
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
164
164
|
if (!native || !backend) {
|
|
165
165
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -179,4 +179,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
179
179
|
}).pipe(Effect.as(undefined))));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { hasNativeBinding2, Native3,
|
|
182
|
+
export { hasNativeBinding2, Native3, Service55, Test3, layer22, testLayer3, nativeLayer2, configured9, node59, exports_watcher };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./bus-pyv2pjn5.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./bus-pdy1hqnf.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID7.make("gpt-5-chat-latest"), ID7.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-a0hasf4t.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-b7g1t3mx.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-a058387c.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Options: () => Options7,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
22
|
+
Service: () => Service62,
|
|
23
|
+
UnavailableError: () => UnavailableError4,
|
|
24
|
+
available: () => available3,
|
|
25
|
+
configured: () => configured10,
|
|
26
|
+
layer: () => layer24,
|
|
27
|
+
node: () => node66
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -34,25 +34,25 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
34
34
|
import { Global } from "@opencode/util/global";
|
|
35
35
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
36
36
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
37
|
-
import { available as
|
|
38
|
-
var
|
|
37
|
+
import { available as available3 } from "#persistent-pty-binary";
|
|
38
|
+
var Options7 = Schema.Struct({
|
|
39
39
|
handoff: Schema.optional(Handoff),
|
|
40
40
|
root: Schema.optional(Schema.String)
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class UnavailableError4 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
44
44
|
message: Schema.String
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
49
49
|
ptyID: Pty.ID
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service62 extends Context.Service()("@opencode/PersistentPty") {
|
|
54
54
|
}
|
|
55
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
55
|
+
var makeLayer = (options = {}) => Layer.effect(Service62, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service85;
|
|
57
57
|
const global = yield* Global.Service;
|
|
58
58
|
const context = yield* Effect.context();
|
|
@@ -75,7 +75,7 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
|
|
|
75
75
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
76
76
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
77
77
|
if (!found)
|
|
78
|
-
return yield* new
|
|
78
|
+
return yield* new NotFoundError6({ ptyID: id });
|
|
79
79
|
return found;
|
|
80
80
|
});
|
|
81
81
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -165,7 +165,7 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
|
|
|
165
165
|
});
|
|
166
166
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
167
167
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
168
|
-
return yield* new
|
|
168
|
+
return yield* new UnavailableError4({ message: "lines must be an integer between 1 and 65535" });
|
|
169
169
|
const id = current.get(sessionID);
|
|
170
170
|
if (!id)
|
|
171
171
|
return null;
|
|
@@ -242,7 +242,7 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
|
|
|
242
242
|
detach: attachment.detach
|
|
243
243
|
};
|
|
244
244
|
});
|
|
245
|
-
return
|
|
245
|
+
return Service62.of({
|
|
246
246
|
list,
|
|
247
247
|
get,
|
|
248
248
|
create,
|
|
@@ -258,17 +258,17 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
|
|
|
258
258
|
attach
|
|
259
259
|
});
|
|
260
260
|
}));
|
|
261
|
-
var
|
|
262
|
-
var
|
|
263
|
-
service:
|
|
264
|
-
layer: options === undefined ?
|
|
261
|
+
var layer24 = makeLayer();
|
|
262
|
+
var configured10 = (options) => makeGlobalNode({
|
|
263
|
+
service: Service62,
|
|
264
|
+
layer: options === undefined ? layer24 : makeLayer(options),
|
|
265
265
|
deps: [node89, Global.node]
|
|
266
266
|
});
|
|
267
|
-
var
|
|
267
|
+
var node66 = configured10();
|
|
268
268
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
269
269
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
270
|
-
var unexpected = (response) => Effect.fail(new
|
|
271
|
-
var unavailable = (error) => new
|
|
270
|
+
var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
271
|
+
var unavailable = (error) => new UnavailableError4({ message: error instanceof Error ? error.message : String(error) });
|
|
272
272
|
function toInfo(value) {
|
|
273
273
|
const status = value.lifecycle.status;
|
|
274
274
|
return {
|
|
@@ -300,4 +300,4 @@ function fromID(value) {
|
|
|
300
300
|
return parsed;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
export {
|
|
303
|
+
export { Options7, UnavailableError4, NotFoundError6, Service62, layer24, configured10, node66, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
12
|
Event: () => Event20,
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
13
|
+
ID: () => ID17,
|
|
14
|
+
Info: () => Info28,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID17 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info28 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
25
|
var Event20 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
@@ -28,4 +28,4 @@ var Vcs3 = Schema.Struct({
|
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID17, Current3, Info28, UpdateInput4, Event20, Vcs3, exports_schema };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service51,
|
|
6
|
+
node55
|
|
7
|
+
} from "./bus-pz0hzqp4.js";
|
|
8
8
|
import {
|
|
9
9
|
retry2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-n0p0277s.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/generate.ts
|
|
16
16
|
var exports_generate = {};
|
|
17
17
|
__export(exports_generate, {
|
|
18
18
|
Generate: () => exports_generate,
|
|
19
19
|
ModelSelectionError: () => ModelSelectionError2,
|
|
20
|
-
Service: () =>
|
|
21
|
-
UnavailableError: () =>
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
20
|
+
Service: () => Service14,
|
|
21
|
+
UnavailableError: () => UnavailableError2,
|
|
22
|
+
layer: () => layer9,
|
|
23
|
+
node: () => node17
|
|
24
24
|
});
|
|
25
25
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
26
26
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -31,17 +31,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service14 extends Context.Service()("@opencode/Generate") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer9 = Layer.effect(Service14, Effect.gen(function* () {
|
|
43
43
|
const llm = yield* LLMClient.Service;
|
|
44
|
-
const resolver = yield*
|
|
44
|
+
const resolver = yield* Service51;
|
|
45
45
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
46
46
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
47
47
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -51,7 +51,7 @@ var layer13 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
51
51
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
52
52
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
53
53
|
], (error) => {
|
|
54
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
54
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
55
55
|
return Effect.fail(mapped);
|
|
56
56
|
}));
|
|
57
57
|
if (!resolved)
|
|
@@ -62,21 +62,21 @@ var layer13 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
62
62
|
model: resolved.model,
|
|
63
63
|
prompt: input.prompt,
|
|
64
64
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
65
|
-
})).pipe(retry2, Effect.mapError((error) => new
|
|
65
|
+
})).pipe(retry2, Effect.mapError((error) => new UnavailableError2({
|
|
66
66
|
message: error.message,
|
|
67
67
|
service: resolved.ref.providerID
|
|
68
68
|
})));
|
|
69
69
|
return response.text;
|
|
70
70
|
});
|
|
71
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
71
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
72
72
|
message: "Generation credentials are unavailable"
|
|
73
73
|
})));
|
|
74
|
-
return
|
|
74
|
+
return Service14.of({ text });
|
|
75
75
|
}));
|
|
76
|
-
var
|
|
77
|
-
service:
|
|
78
|
-
layer:
|
|
79
|
-
deps: [
|
|
76
|
+
var node17 = makeLocationNode({
|
|
77
|
+
service: Service14,
|
|
78
|
+
layer: layer9,
|
|
79
|
+
deps: [node55, llmClient2]
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export { ModelSelectionError2,
|
|
82
|
+
export { ModelSelectionError2, UnavailableError2, Service14, layer9, node17, exports_generate };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86,
|
|
6
6
|
node90
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-99v64gx3.js";
|
|
8
8
|
import {
|
|
9
9
|
Service85,
|
|
10
10
|
node89
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-a0hasf4t.js";
|
|
12
12
|
import {
|
|
13
13
|
Service84,
|
|
14
14
|
node88
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-5gk89hyb.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info28,
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-rda9yzm6.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./bus-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./bus-ayjs7tqn.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./bus-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
|
+
Info: () => Info27,
|
|
41
41
|
NotFoundError: () => NotFoundError12,
|
|
42
42
|
Project: () => exports_project,
|
|
43
43
|
Service: () => Service83,
|
|
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
56
56
|
import { AppProcess } from "@opencode/util/process";
|
|
57
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Hash } from "@opencode/util/hash";
|
|
59
|
-
var
|
|
59
|
+
var ID16 = ID17;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info27 = Info28;
|
|
63
63
|
var UpdateInput3 = UpdateInput4;
|
|
64
64
|
|
|
65
65
|
class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
|
-
projectID:
|
|
66
|
+
projectID: ID16
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
69
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
148
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
149
149
|
projectID: item.projectID,
|
|
150
150
|
directory: item.directory,
|
|
151
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID16.global,
|
|
152
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
153
153
|
}, {
|
|
154
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
187
187
|
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
191
191
|
return;
|
|
192
192
|
}));
|
|
193
193
|
});
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
198
198
|
const normalized = url(origin);
|
|
199
199
|
if (!normalized)
|
|
200
200
|
return;
|
|
201
|
-
return
|
|
201
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
202
202
|
});
|
|
203
203
|
function url(input) {
|
|
204
204
|
const value = input.trim();
|
|
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
223
223
|
}
|
|
224
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
225
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
226
|
-
return root ?
|
|
226
|
+
return root ? ID16.make(root) : undefined;
|
|
227
227
|
});
|
|
228
228
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
229
229
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
239
239
|
return;
|
|
240
240
|
const node = result.stdout.toString("utf8").split(`
|
|
241
241
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
242
|
-
return node ?
|
|
242
|
+
return node ? ID16.make(node) : undefined;
|
|
243
243
|
});
|
|
244
244
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
245
245
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
247
247
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
248
248
|
return {
|
|
249
249
|
previous,
|
|
250
|
-
id: id ??
|
|
250
|
+
id: id ?? ID16.global,
|
|
251
251
|
directory: worktree,
|
|
252
252
|
vcs: { type: "hg", store: dotHg }
|
|
253
253
|
};
|
|
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
265
265
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
266
266
|
return yield* save({
|
|
267
267
|
previous,
|
|
268
|
-
id: id ??
|
|
268
|
+
id: id ?? ID16.global,
|
|
269
269
|
directory: repo.worktree,
|
|
270
270
|
canonical,
|
|
271
271
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
return yield* save({
|
|
282
|
-
id:
|
|
282
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
283
283
|
directory,
|
|
284
284
|
canonical: directory,
|
|
285
285
|
vcs: undefined
|
|
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
288
288
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
289
289
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
290
290
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
291
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
291
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID16.global))).all().pipe(Effect.orDie);
|
|
292
292
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
293
293
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
294
294
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -320,4 +320,4 @@ var sweepNode2 = makeGlobalNode({
|
|
|
320
320
|
deps: [node87]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export {
|
|
323
|
+
export { ID16, Vcs2, Current2, Info27, UpdateInput3, NotFoundError12, root2, Service83, node87, sweepNode2, exports_project };
|