@opencode/core 0.0.0-dev-19389 → 0.0.0-dev-19391
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{tool-8xv0fcmg.js → git-00fexjy9.js} +45 -45
- package/dist/chunks/{tool-fsn1dw54.js → git-07q9q0s0.js} +5 -5
- package/dist/chunks/{tool-a605f6d0.js → git-0fgcnd78.js} +8 -8
- package/dist/chunks/{tool-2gm42vdj.js → git-0m9zqasy.js} +15 -15
- package/dist/chunks/{tool-0paq2nw3.js → git-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-0q0f95c6.js → git-0q0f95c6.js} +1 -1
- package/dist/chunks/{tool-q5qadqqc.js → git-0sgtxrs8.js} +4 -4
- package/dist/chunks/{tool-rmm45jmv.js → git-0t098hqn.js} +5 -5
- package/dist/chunks/{tool-r1q74f54.js → git-17rjwhd8.js} +24 -24
- package/dist/chunks/{tool-ve4pfa0n.js → git-1a6p2twq.js} +4 -4
- package/dist/chunks/{tool-ywhnyrnh.js → git-1ah30sey.js} +5 -5
- package/dist/chunks/{tool-1dazxqgg.js → git-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-937nxygj.js → git-1k8wtqrp.js} +8 -8
- package/dist/chunks/{tool-7ebn0nc0.js → git-1tq060df.js} +4 -4
- package/dist/chunks/{tool-56gdpj1q.js → git-1ygqh575.js} +9 -9
- package/dist/chunks/{tool-tb8rp2yt.js → git-1zbe0hwx.js} +27 -27
- package/dist/chunks/{tool-21r38tys.js → git-21r38tys.js} +1 -1
- package/dist/chunks/{tool-2402vzrj.js → git-2402vzrj.js} +1 -1
- package/dist/chunks/{tool-29x78va6.js → git-29x78va6.js} +2 -2
- package/dist/chunks/{tool-2a5m3afh.js → git-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-jfpzywp2.js → git-2d6j2h4j.js} +6 -6
- package/dist/chunks/{tool-d8nc1xcx.js → git-2evyaa68.js} +4 -4
- package/dist/chunks/{tool-7rzn7488.js → git-2f3d9t1j.js} +40 -40
- package/dist/chunks/{tool-31v57ene.js → git-2gnzn4g6.js} +27 -27
- package/dist/chunks/{tool-ag9w8cw1.js → git-2qp6y8xf.js} +5 -5
- package/dist/chunks/{tool-100kzw8g.js → git-2vrs9bvz.js} +41 -40
- package/dist/chunks/{tool-7f3sjtrh.js → git-31dz7cp4.js} +1 -1
- package/dist/chunks/{tool-83n1dzne.js → git-33yrb4zc.js} +25 -25
- package/dist/chunks/{tool-vmshp960.js → git-3cxhyqx9.js} +24 -24
- package/dist/chunks/{tool-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-13tvcsgk.js → git-3stj0jvq.js} +11 -11
- package/dist/chunks/{tool-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-2ft9rrby.js → git-43710w3q.js} +9 -9
- package/dist/chunks/{tool-t4an9tm5.js → git-4cp288bt.js} +90 -90
- package/dist/chunks/{tool-m8gmjx38.js → git-4rbykmww.js} +43 -43
- package/dist/chunks/{tool-p6rs3vpq.js → git-4x81xeqa.js} +11 -11
- package/dist/chunks/{tool-t64d9h47.js → git-4y21m883.js} +11 -11
- package/dist/chunks/{tool-qjqdk9x8.js → git-53nby2n7.js} +24 -24
- package/dist/chunks/{tool-s006vazc.js → git-56gnm113.js} +10 -10
- package/dist/chunks/{tool-1hgt76pw.js → git-57rb2d2p.js} +19 -19
- package/dist/chunks/{tool-m2krvp2x.js → git-5a1z0ner.js} +15 -14
- package/dist/chunks/{tool-55s895j0.js → git-5a7skn1d.js} +33 -33
- package/dist/chunks/{tool-ezs43bsy.js → git-5c7438wj.js} +17 -17
- package/dist/chunks/{tool-z03197zf.js → git-5cvbs26k.js} +43 -43
- package/dist/chunks/{tool-9ggagkar.js → git-5d0wqk5a.js} +60 -60
- package/dist/chunks/{tool-5daktx2q.js → git-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-7k1k30bt.js → git-5fbvx1w6.js} +1 -1
- package/dist/chunks/{tool-99exew75.js → git-5gfn8sdf.js} +51 -51
- package/dist/chunks/{tool-q2027nw7.js → git-5jtdmvnp.js} +1 -1
- package/dist/chunks/{tool-32xz9ffh.js → git-5n9f6zmz.js} +11 -11
- package/dist/chunks/{tool-7xzdkz3y.js → git-5rcfzxhb.js} +33 -18
- package/dist/chunks/{tool-s0haq3v3.js → git-5skvzk75.js} +33 -33
- package/dist/chunks/{tool-5t3nmthw.js → git-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-08xgehk5.js → git-60ng23p3.js} +4 -4
- package/dist/chunks/{tool-jxdevvez.js → git-6420c4zj.js} +167 -167
- package/dist/chunks/{tool-669tq793.js → git-669tq793.js} +1 -1
- package/dist/chunks/{tool-nnxzqqg8.js → git-68fh3z7z.js} +18 -18
- package/dist/chunks/{tool-n6pkm576.js → git-6c0cft2p.js} +24 -24
- package/dist/chunks/{tool-qzkdxd86.js → git-6gekrhsf.js} +6 -6
- package/dist/chunks/{tool-jwcaj6se.js → git-6ht6hv3f.js} +23 -23
- package/dist/chunks/{tool-qek8dtx8.js → git-6jqkynh6.js} +9 -9
- package/dist/chunks/{tool-egp6178n.js → git-6k7qnnge.js} +13 -13
- package/dist/chunks/{tool-6msgmcgs.js → git-6msgmcgs.js} +1 -1
- package/dist/chunks/{tool-p514mdqe.js → git-6xy3x0mr.js} +29 -28
- package/dist/chunks/{tool-71q4at8m.js → git-71q4at8m.js} +1 -1
- package/dist/chunks/{tool-rda0t9vq.js → git-7547p87k.js} +5 -5
- package/dist/chunks/{tool-1famk9p6.js → git-79xankta.js} +17 -17
- package/dist/chunks/{tool-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-f9qak17s.js → git-7by8wea0.js} +5 -5
- package/dist/chunks/{tool-xdepe7a5.js → git-7hsf2613.js} +10 -10
- package/dist/chunks/{tool-84cxy7xh.js → git-7r4pq86q.js} +30 -30
- package/dist/chunks/{tool-7sdps93t.js → git-7sdps93t.js} +2 -2
- package/dist/chunks/{tool-45zx1ce8.js → git-7t2bfs77.js} +26 -26
- package/dist/chunks/{tool-6fyrr4w1.js → git-7verde8t.js} +4 -4
- package/dist/chunks/{tool-ce8ketvm.js → git-7xvabjvw.js} +27 -27
- package/dist/chunks/{tool-7jsvadcm.js → git-7yd68jh1.js} +20 -20
- package/dist/chunks/{tool-2aqbs40b.js → git-7yfaff3y.js} +11 -11
- package/dist/chunks/{tool-jp8xd6mf.js → git-80e0yyk8.js} +10 -10
- package/dist/chunks/{tool-nfs7qh3b.js → git-81btcj5e.js} +17 -17
- package/dist/chunks/{tool-81swgkk7.js → git-81swgkk7.js} +2 -2
- package/dist/chunks/{tool-0hhrv268.js → git-8234338a.js} +18 -18
- package/dist/chunks/{tool-px9gxtsw.js → git-8bdgxx6d.js} +37 -37
- package/dist/chunks/{tool-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-nkhmdx3g.js → git-8ey0tjev.js} +18 -18
- package/dist/chunks/{tool-apesnbt3.js → git-8fjt75y9.js} +20 -20
- package/dist/chunks/{tool-62gm3akr.js → git-8g26s1rr.js} +11 -11
- package/dist/chunks/{tool-wdn3ce2t.js → git-8n0zdm8f.js} +18 -18
- package/dist/chunks/{tool-dj2t23y0.js → git-8p4f9s12.js} +2 -2
- package/dist/chunks/{tool-yxz14c3m.js → git-967tbwmz.js} +51 -51
- package/dist/chunks/{tool-n6arc57m.js → git-971xr3xt.js} +7 -7
- package/dist/chunks/{tool-p6604nm9.js → git-99j83k2z.js} +10 -10
- package/dist/chunks/{tool-wk58jv74.js → git-9edcvf27.js} +10 -10
- package/dist/chunks/{tool-8ypn74s0.js → git-9gyd2w40.js} +1 -1
- package/dist/chunks/{tool-nqz62vb6.js → git-9kqp7g4a.js} +28 -28
- package/dist/chunks/{tool-y0wsg1r3.js → git-9p3a0bey.js} +7 -7
- package/dist/chunks/{tool-j51g8r26.js → git-9smnhnck.js} +90 -90
- package/dist/chunks/{tool-dbnvakxz.js → git-9v94xm60.js} +2 -2
- package/dist/chunks/{tool-5c4hm403.js → git-a1bz86dw.js} +3 -3
- package/dist/chunks/{tool-sxnp3vqk.js → git-a3vgeg8v.js} +22 -22
- package/dist/chunks/{tool-bnweey00.js → git-a4exdnt3.js} +4 -4
- package/dist/chunks/{tool-aaet6srn.js → git-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-d38rwssd.js → git-aezjx6de.js} +4 -4
- package/dist/chunks/{tool-a46v4e4v.js → git-at5d07az.js} +4 -4
- package/dist/chunks/{tool-41e240wd.js → git-azt3fn9h.js} +11 -11
- package/dist/chunks/{tool-mfvn5m8d.js → git-b2x839n7.js} +8 -8
- package/dist/chunks/{tool-b6gygkdw.js → git-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-bgmt3wra.js → git-b7zanwxg.js} +28 -28
- package/dist/chunks/{tool-6m8y77r5.js → git-bby00dsd.js} +8 -8
- package/dist/chunks/{tool-kap84dg0.js → git-bj18y5e0.js} +22 -22
- package/dist/chunks/{tool-9aqmr64f.js → git-bvqzzpnc.js} +5 -5
- package/dist/chunks/{tool-zcrspsvn.js → git-ca7w653e.js} +4 -4
- package/dist/chunks/{tool-rsv3dyxs.js → git-cb0b94q1.js} +11 -11
- package/dist/chunks/{tool-m0jqrx5p.js → git-cfpkc3c9.js} +2 -2
- package/dist/chunks/{tool-72cm32h1.js → git-chg3p55r.js} +6 -6
- package/dist/chunks/{tool-vyqwgby1.js → git-cm4cwf14.js} +6 -6
- package/dist/chunks/{tool-a1pcbmkx.js → git-cybh4q4m.js} +15 -15
- package/dist/chunks/{tool-vz6rz0af.js → git-cyj3cv9r.js} +22 -22
- package/dist/chunks/{tool-9s022y1z.js → git-cz8ja6bv.js} +34 -36
- package/dist/chunks/git-d7szvhg8.js +247 -0
- package/dist/chunks/{tool-7nb80w0z.js → git-dh4vxs71.js} +26 -26
- package/dist/chunks/{tool-t7yz8ad7.js → git-dn02v3xn.js} +23 -23
- package/dist/chunks/{tool-kk8fq19e.js → git-dn5grvbk.js} +26 -26
- package/dist/chunks/{tool-48gag0he.js → git-dng8y5a3.js} +18 -18
- package/dist/chunks/{tool-y71avatq.js → git-dpkg50ah.js} +4 -4
- package/dist/chunks/{tool-q8rarcde.js → git-dr9j5dyg.js} +27 -27
- package/dist/chunks/{tool-ws5qfxv9.js → git-drknmmyh.js} +9 -9
- package/dist/chunks/{tool-j7wq2tw5.js → git-dv250zvr.js} +3 -3
- package/dist/chunks/{tool-bkz2mr6p.js → git-e2wxm4gs.js} +71 -71
- package/dist/chunks/{tool-pqkb2z9p.js → git-e49xbsfe.js} +18 -18
- package/dist/chunks/{tool-0msc39tg.js → git-ep79ehza.js} +16 -16
- package/dist/chunks/{tool-9y5cg855.js → git-epqeryd2.js} +34 -34
- package/dist/chunks/{tool-jw7c8f1w.js → git-et1r2jf6.js} +13 -13
- package/dist/chunks/{tool-etq0c3wd.js → git-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-zxhfgthz.js → git-ezys8rkd.js} +14 -14
- package/dist/chunks/{tool-3r6vp6xx.js → git-f1afprnz.js} +10 -10
- package/dist/chunks/{tool-yp2x3t23.js → git-f2n192rq.js} +4 -4
- package/dist/chunks/{tool-4rggjvr2.js → git-f4wfpfa2.js} +9 -9
- package/dist/chunks/{tool-hdnk95c8.js → git-f828m53h.js} +2 -2
- package/dist/chunks/{tool-7gvwkz6m.js → git-f90chkmn.js} +5 -5
- package/dist/chunks/{tool-z1pfg6df.js → git-f9bavhm2.js} +1 -1
- package/dist/chunks/{tool-1c2q116c.js → git-fbxzb085.js} +20 -20
- package/dist/chunks/{tool-2k8khapm.js → git-fcrkznn8.js} +5 -5
- package/dist/chunks/{tool-qyyanj0n.js → git-fkxhr6rb.js} +22 -22
- package/dist/chunks/{tool-3r7whzgv.js → git-fkzsndak.js} +7 -7
- package/dist/chunks/{tool-ra3gq1k7.js → git-fp7bntjd.js} +13 -9
- package/dist/chunks/{tool-fxbjtjnd.js → git-fxbjtjnd.js} +1 -1
- package/dist/chunks/{tool-9hv8phah.js → git-fxm9f60t.js} +16 -16
- package/dist/chunks/{tool-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-j9tvrbwe.js → git-gk8mfka9.js} +21 -21
- package/dist/chunks/{tool-amegs12p.js → git-gnn1fpcv.js} +9 -9
- package/dist/chunks/{tool-622ah2gs.js → git-gve6vxyf.js} +27 -27
- package/dist/chunks/{tool-pe0c0z4r.js → git-gvphacjb.js} +18 -18
- package/dist/chunks/{tool-j9eppgdd.js → git-gyeht8yw.js} +15 -15
- package/dist/chunks/{tool-h03wrkyp.js → git-h03wrkyp.js} +2 -2
- package/dist/chunks/{tool-3a9e8ct5.js → git-h3ekzffn.js} +10 -10
- package/dist/chunks/{tool-m4bw18j8.js → git-h5dbjsx9.js} +32 -32
- package/dist/chunks/{tool-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-vv3eqyfe.js → git-hb60fmtr.js} +8 -8
- package/dist/chunks/{tool-910hnegs.js → git-hc0zr8pa.js} +29 -29
- package/dist/chunks/{tool-fab8hzt3.js → git-hfdr1yjj.js} +4 -4
- package/dist/chunks/{tool-22m95qs7.js → git-hrndf12w.js} +4 -4
- package/dist/chunks/{tool-y4xwrefb.js → git-hsbe2v8d.js} +31 -31
- package/dist/chunks/{tool-j56e64zr.js → git-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-cfxak8gp.js → git-jngqetej.js} +31 -31
- package/dist/chunks/{tool-cgfvzygb.js → git-jw59a53t.js} +22 -22
- package/dist/chunks/{tool-ca9nbgzj.js → git-jxxmrcps.js} +6 -6
- package/dist/chunks/{tool-zad871sr.js → git-jy16bfac.js} +1 -1
- package/dist/chunks/{tool-s6vet9p8.js → git-k0zzqzfm.js} +6 -6
- package/dist/chunks/{tool-xnrzgmbf.js → git-k304t88f.js} +41 -41
- package/dist/chunks/{tool-0996nyz8.js → git-k79tzb9n.js} +9 -9
- package/dist/chunks/{tool-kg06axw8.js → git-kg06axw8.js} +1 -1
- package/dist/chunks/{tool-2zk4ah9y.js → git-kkz4yv35.js} +9 -9
- package/dist/chunks/{tool-qaed280k.js → git-kp844bkx.js} +11 -11
- package/dist/chunks/{tool-3fe43pwb.js → git-m1qcsqkx.js} +25 -25
- package/dist/chunks/{tool-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-xanzpgaf.js → git-mcq2hdeb.js} +20 -20
- package/dist/chunks/{tool-yc73ry1q.js → git-mexw47yp.js} +6 -6
- package/dist/chunks/{tool-xnap109e.js → git-mf8gs4da.js} +18 -18
- package/dist/chunks/{tool-mvfsc1pv.js → git-mhkvc446.js} +3 -3
- package/dist/chunks/{tool-mkcjrzeh.js → git-mkcjrzeh.js} +1 -1
- package/dist/chunks/{tool-t0jgeayb.js → git-mpnn67vs.js} +13 -13
- package/dist/chunks/{tool-h47mvjjj.js → git-mrem20pc.js} +31 -31
- package/dist/chunks/{tool-c3er4f98.js → git-msn3ckcs.js} +12 -12
- package/dist/chunks/{tool-y0qtjk0t.js → git-n776arpk.js} +8 -8
- package/dist/chunks/{tool-0xf6t1bc.js → git-n7t5qjpz.js} +19 -19
- package/dist/chunks/{tool-bv56xrks.js → git-nhvhf6q8.js} +2 -2
- package/dist/chunks/{tool-hjt4xg1x.js → git-nhy5jxhy.js} +4 -4
- package/dist/chunks/{tool-1jwdep4c.js → git-nmv7fedf.js} +9 -9
- package/dist/chunks/{tool-d8q39vv3.js → git-nn6nb4dq.js} +13 -13
- package/dist/chunks/{tool-jmm88pvs.js → git-nwd3ssra.js} +8 -8
- package/dist/chunks/{tool-efstz0ke.js → git-p0n6b7j7.js} +14 -14
- package/dist/chunks/{tool-gfqzzqy5.js → git-p1wf2k30.js} +9 -9
- package/dist/chunks/{tool-49hrpkdk.js → git-pck3w1ab.js} +4 -4
- package/dist/chunks/{tool-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{tool-6ppc03cv.js → git-prp4t9gw.js} +7 -7
- package/dist/chunks/{tool-cmwkp3r5.js → git-q26tgv94.js} +8 -8
- package/dist/chunks/{tool-39etbsth.js → git-q3hev8r4.js} +2 -2
- package/dist/chunks/git-q509s3k3.js +18 -0
- package/dist/chunks/{tool-br0bxb5z.js → git-q6mfqnjt.js} +3 -3
- package/dist/chunks/{tool-n17rpw7s.js → git-qc5bn8wy.js} +11 -11
- package/dist/chunks/{tool-8t1wrec1.js → git-qe26s0zb.js} +8 -8
- package/dist/chunks/{tool-c4ypf6wq.js → git-qkhbq9gn.js} +20 -20
- package/dist/chunks/{tool-g5zf0djh.js → git-qmr73083.js} +1 -1
- package/dist/chunks/{tool-dw8c19qb.js → git-qr27hz8v.js} +4 -4
- package/dist/chunks/{tool-01797ny4.js → git-qr42g2ex.js} +12 -12
- package/dist/chunks/{tool-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-vmq7ehpy.js → git-qte5z7bc.js} +5 -5
- package/dist/chunks/{tool-wpm2rk0p.js → git-r3q6pmcz.js} +6 -6
- package/dist/chunks/{tool-zncx7357.js → git-r66r7cmm.js} +15 -15
- package/dist/chunks/{tool-6y4tgg16.js → git-rernzhsx.js} +28 -28
- package/dist/chunks/{tool-6f5kdbjb.js → git-rf04hjb3.js} +21 -21
- package/dist/chunks/{tool-vce1m6g2.js → git-rjrt7vbj.js} +15 -15
- package/dist/chunks/{tool-wbyq7e0t.js → git-rpk3p4vp.js} +46 -46
- package/dist/chunks/{tool-s4enseaf.js → git-s4enseaf.js} +2 -2
- package/dist/chunks/{tool-h1dazz20.js → git-s6h26ryx.js} +17 -17
- package/dist/chunks/{tool-rhjbct0v.js → git-s8d7rejh.js} +4 -4
- package/dist/chunks/{tool-w3k36hrr.js → git-saq61fd1.js} +3 -3
- package/dist/chunks/{tool-sj71rkrx.js → git-sexm24t3.js} +11 -11
- package/dist/chunks/{tool-jpchzm8t.js → git-sfv52yq4.js} +16 -16
- package/dist/chunks/{tool-pjmc1jwj.js → git-sgy72gpz.js} +28 -28
- package/dist/chunks/{tool-f249p1w2.js → git-sgystvcz.js} +8 -8
- package/dist/chunks/{tool-ptq11xx0.js → git-ssybtts3.js} +6 -6
- package/dist/chunks/{tool-43cyd10z.js → git-stz96qh8.js} +32 -32
- package/dist/chunks/{tool-g0aj3r5p.js → git-stzp5pqk.js} +6 -6
- package/dist/chunks/{tool-2mnagb0e.js → git-sv9bpgvh.js} +5 -5
- package/dist/chunks/{tool-fjvydvzm.js → git-t4pzxwv6.js} +7 -7
- package/dist/chunks/{tool-e67ygrb5.js → git-t8g0rz63.js} +18 -18
- package/dist/chunks/{tool-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-tcezcvh9.js → git-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-f65fprkq.js → git-tcxw2wsh.js} +18 -18
- package/dist/chunks/{tool-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{tool-gv6a8nnw.js → git-th5km1p3.js} +5 -5
- package/dist/chunks/{tool-vfpkabdf.js → git-tqckr4z0.js} +13 -13
- package/dist/chunks/{tool-tvtrv512.js → git-tvtrv512.js} +1 -1
- package/dist/chunks/{tool-d9sn21bc.js → git-v4b36nj3.js} +2 -2
- package/dist/chunks/{tool-pnv527nz.js → git-v6xr4mhk.js} +9 -9
- package/dist/chunks/{tool-dgv4w1ry.js → git-v87fc2n4.js} +33 -33
- package/dist/chunks/{tool-e8ge1rnk.js → git-v8ch97zc.js} +1 -1
- package/dist/chunks/{tool-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-vycpdhb1.js → git-vqskmh9d.js} +26 -26
- package/dist/chunks/{tool-vzcthcp8.js → git-vzcthcp8.js} +1 -1
- package/dist/chunks/{tool-hwe7x4em.js → git-vzm76b3t.js} +6 -6
- package/dist/chunks/{tool-2a4f6v5q.js → git-w1ad28wa.js} +8 -8
- package/dist/chunks/{tool-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-xz0aj5bv.js → git-wa88tsz1.js} +22 -22
- package/dist/chunks/{tool-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{tool-859kcgs2.js → git-wfeyvemf.js} +11 -11
- package/dist/chunks/{tool-4jad23kz.js → git-wgvbtfqc.js} +25 -25
- package/dist/chunks/{tool-pc5wdgkb.js → git-wk2zc65r.js} +17 -17
- package/dist/chunks/{tool-50wkfpjr.js → git-wnpvrkxy.js} +16 -16
- package/dist/chunks/git-wqy8zhmg.js +22 -0
- package/dist/chunks/{tool-442pexa9.js → git-wttsyvcc.js} +30 -30
- package/dist/chunks/{tool-1kh06mg4.js → git-wvgmydwz.js} +5 -5
- package/dist/chunks/{tool-4kmb4xcf.js → git-wxqedpd9.js} +40 -40
- package/dist/chunks/{tool-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
- package/dist/chunks/{tool-x43y2vfs.js → git-x43y2vfs.js} +2 -2
- package/dist/chunks/{tool-50kt3f8y.js → git-xaxrq1k6.js} +4 -4
- package/dist/chunks/{tool-hvcjdrj2.js → git-xcmxfd3t.js} +16 -16
- package/dist/chunks/{tool-4faz70f1.js → git-xsz6vv8y.js} +52 -52
- package/dist/chunks/{tool-g5hp0j3s.js → git-y116a4zg.js} +23 -23
- package/dist/chunks/{tool-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-pwk28ted.js → git-y1p1x618.js} +13 -13
- package/dist/chunks/{tool-stbvjbpa.js → git-y5rc9adv.js} +297 -297
- package/dist/chunks/{tool-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
- package/dist/chunks/{tool-4g6am8f5.js → git-yx8yz41b.js} +39 -39
- package/dist/chunks/{tool-qfv804ab.js → git-yzejvhvn.js} +6 -6
- package/dist/chunks/{tool-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-00gnxv30.js → git-z7wfm2nz.js} +23 -23
- package/dist/chunks/{tool-knvy7wqf.js → git-z8kcrd6j.js} +18 -18
- package/dist/chunks/{tool-638f9gty.js → git-zbynka28.js} +28 -28
- package/dist/chunks/{tool-zeh9ct20.js → git-zeh9ct20.js} +2 -2
- package/dist/chunks/{tool-s8j6jbjj.js → git-zepncfka.js} +4 -4
- package/dist/chunks/{tool-3p0n15sb.js → git-zf4p5794.js} +21 -21
- package/dist/chunks/{tool-fw7ks5z6.js → git-zj4wpktz.js} +16 -16
- package/dist/chunks/{tool-sq27dbnb.js → git-znt1ym30.js} +9 -9
- package/dist/chunks/{tool-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +77 -77
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +95 -95
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- 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 +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +95 -95
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +82 -82
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +90 -90
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- 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 +219 -219
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +88 -88
- 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 +119 -119
- package/dist/tool/plugin/edit.js +109 -109
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +109 -109
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +115 -115
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/model-resolver.d.ts +2 -0
- package/dist/types/model.d.ts +1 -0
- package/dist/types/provider.d.ts +1 -0
- package/dist/types/session/runner/model.d.ts +1 -0
- package/dist/types/v1/config/migrate.d.ts +2 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/tool-7s88n6wh.js +0 -247
- package/dist/chunks/tool-dr8w6t5k.js +0 -22
- package/dist/chunks/tool-n95b3jav.js +0 -18
- /package/dist/chunks/{tool-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → git-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-6kdq0pjd.js → git-6kdq0pjd.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-922hggd3.js → git-922hggd3.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hjbc5kem.js → git-hjbc5kem.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-hrnqkpcd.js → git-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-j935v87r.js → git-j935v87r.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-twg0f83k.js → git-twg0f83k.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → git-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service80,
|
|
3
|
-
node85
|
|
4
|
-
} from "./tool-859kcgs2.js";
|
|
5
1
|
import {
|
|
6
2
|
Service79,
|
|
7
3
|
node84
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./git-wfeyvemf.js";
|
|
5
|
+
import {
|
|
6
|
+
Service78,
|
|
7
|
+
node83
|
|
8
|
+
} from "./git-xcmxfd3t.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service34,
|
|
11
|
+
node37
|
|
12
|
+
} from "./git-vzm76b3t.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node81
|
|
20
|
+
} from "./git-dn02v3xn.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-ezys8rkd.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service37,
|
|
26
|
+
node40
|
|
27
|
+
} from "./git-99j83k2z.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./git-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError9
|
|
33
|
+
} from "./git-jxxmrcps.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./git-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service33
|
|
39
|
+
} from "./git-ca7w653e.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service66,
|
|
42
|
+
node71
|
|
43
|
+
} from "./git-cybh4q4m.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service35,
|
|
48
|
+
node38,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./git-dn5grvbk.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service32,
|
|
53
|
+
node36
|
|
54
|
+
} from "./git-5cvbs26k.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node29
|
|
57
|
+
} from "./git-bj18y5e0.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./git-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service24,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node28
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service24 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
97
|
-
const database = yield*
|
|
98
|
-
const bus = yield*
|
|
91
|
+
const projects = yield* Service76;
|
|
92
|
+
const locations = yield* Service37;
|
|
93
|
+
const store = yield* Service66;
|
|
94
|
+
const execution = yield* Service32;
|
|
95
|
+
const instances = yield* Service34;
|
|
96
|
+
const admission = yield* Service35;
|
|
97
|
+
const database = yield* Service79;
|
|
98
|
+
const bus = yield* Service78;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError9({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service33.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service24.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node28 = makeGlobalNode({
|
|
167
|
+
service: Service24,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
node85,
|
|
172
|
+
node81,
|
|
173
|
+
node40,
|
|
174
|
+
node71,
|
|
175
|
+
node36,
|
|
176
|
+
node37,
|
|
177
|
+
node38,
|
|
179
178
|
node84,
|
|
180
|
-
|
|
179
|
+
node83,
|
|
180
|
+
node29
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service24, node28, exports_move };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./git-xcmxfd3t.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./git-ezys8rkd.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service50,
|
|
11
|
+
node53
|
|
12
|
+
} from "./git-6c0cft2p.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service54,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node57
|
|
20
|
+
} from "./git-n7t5qjpz.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service68,
|
|
23
|
+
node73
|
|
24
|
+
} from "./git-bby00dsd.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service48,
|
|
27
|
+
node51
|
|
28
|
+
} from "./git-qe26s0zb.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./git-dv250zvr.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service69,
|
|
35
|
+
node74
|
|
36
|
+
} from "./git-2f3d9t1j.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./git-qr42g2ex.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./git-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError4,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service47,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node50
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service47 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
90
|
-
const bus = yield*
|
|
91
|
-
const location = yield*
|
|
89
|
+
var layer = () => Layer.effect(Service47, Effect.gen(function* () {
|
|
90
|
+
const bus = yield* Service78;
|
|
91
|
+
const location = yield* Service75;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service54;
|
|
94
|
+
const environment = yield* Service50;
|
|
95
|
+
const hooks = yield* Service68;
|
|
96
|
+
const environments = yield* Service48;
|
|
97
|
+
const config = yield* Service69;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError4({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError4({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service47.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node50 = makeLocationNode({
|
|
320
|
+
service: Service47,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
node83,
|
|
324
|
+
node80,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node57,
|
|
327
|
+
node53,
|
|
328
|
+
node73,
|
|
329
|
+
node51,
|
|
330
|
+
node74,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError4, RETENTION2, DIRECTORY2, Service47, cleanup2, node50, exports_shell4 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured9,
|
|
11
|
+
layer: () => layer22,
|
|
12
|
+
make: () => make20,
|
|
13
|
+
node: () => node63,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make20()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make20(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer22 = (input) => Layer.succeed(Metadata2, make20(input));
|
|
32
|
+
var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer22(input), deps: [] });
|
|
33
|
+
var node63 = configured9();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make20, useragent2, layer22, configured9, node63, exports_app };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service30,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer15,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node34
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -24,6 +24,7 @@ import { Socket } from "effect/unstable/socket";
|
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
25
25
|
var ROTATE_AFTER_MS = 55 * 60 * 1000;
|
|
26
26
|
var INBOUND_CAPACITY = 128;
|
|
27
|
+
var CONNECT_TIMEOUT = "10 seconds";
|
|
27
28
|
var IDLE_TIMEOUT = "5 minutes";
|
|
28
29
|
var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
29
30
|
description: "Session WebSocket lifecycle events",
|
|
@@ -31,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
31
32
|
});
|
|
32
33
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
33
34
|
|
|
34
|
-
class
|
|
35
|
+
class Service30 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
35
36
|
}
|
|
36
37
|
var transportError = (message, input) => new AIError({
|
|
37
38
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -55,7 +56,7 @@ var observationFrame = (observation) => {
|
|
|
55
56
|
return Effect.fail(observation.error);
|
|
56
57
|
};
|
|
57
58
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
58
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
59
|
+
var makeLayer2 = (connector) => Layer.effect(Service30, Effect.gen(function* () {
|
|
59
60
|
const scope = yield* Scope.Scope;
|
|
60
61
|
const states = new Map;
|
|
61
62
|
const state = (sessionID) => {
|
|
@@ -102,7 +103,16 @@ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* ()
|
|
|
102
103
|
});
|
|
103
104
|
const open = Effect.fn("SessionModelTransport.open")(function* (owner, exchange, key) {
|
|
104
105
|
return yield* Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
|
|
105
|
-
const connection = yield* restore(connector.open(exchange.connect).pipe(Effect.
|
|
106
|
+
const connection = yield* restore(connector.open(exchange.connect).pipe(Effect.timeoutOrElse({
|
|
107
|
+
duration: CONNECT_TIMEOUT,
|
|
108
|
+
orElse: () => transportError("Timed out opening the Session WebSocket", {
|
|
109
|
+
url: exchange.connect.url,
|
|
110
|
+
operation: "request",
|
|
111
|
+
code: "connect-timeout",
|
|
112
|
+
phase: "connect",
|
|
113
|
+
delivery: "not-sent"
|
|
114
|
+
})
|
|
115
|
+
}), Effect.withSpan("SessionModelTransport.connect")));
|
|
106
116
|
if (owner.closed) {
|
|
107
117
|
yield* connection.close;
|
|
108
118
|
return yield* transportError("Session WebSocket owner closed while connecting", {
|
|
@@ -193,12 +203,17 @@ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* ()
|
|
|
193
203
|
});
|
|
194
204
|
if (owner.channel)
|
|
195
205
|
yield* metric("reuse");
|
|
196
|
-
const channel = owner.channel ? owner.channel : yield* open(owner, exchange, key).pipe(Effect.catch((error) =>
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
206
|
+
const channel = owner.channel ? owner.channel : yield* open(owner, exchange, key).pipe(Effect.catch((error) => {
|
|
207
|
+
if (error.reason._tag === "Transport" && error.reason.code === "owner-closed")
|
|
208
|
+
return Effect.fail(error);
|
|
209
|
+
owner.httpFallback = true;
|
|
210
|
+
return Effect.logWarning("session websocket connect failed; using http", {
|
|
211
|
+
sessionTransport: "websocket",
|
|
212
|
+
phase: "connect",
|
|
213
|
+
delivery: "not-sent",
|
|
214
|
+
code: error.reason._tag === "Transport" ? error.reason.code : error.reason._tag
|
|
215
|
+
}).pipe(Effect.andThen(metric("connect_failure")), Effect.andThen(metric("fallback")), Effect.as(undefined));
|
|
216
|
+
}));
|
|
202
217
|
if (!channel)
|
|
203
218
|
return fallback(exchange);
|
|
204
219
|
if (channel.pending) {
|
|
@@ -341,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* ()
|
|
|
341
356
|
}, { discard: true });
|
|
342
357
|
});
|
|
343
358
|
yield* Effect.addFinalizer(() => closeAll);
|
|
344
|
-
return
|
|
359
|
+
return Service30.of({ bind, close, closeAll });
|
|
345
360
|
}));
|
|
346
|
-
var
|
|
361
|
+
var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
347
362
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
348
363
|
})));
|
|
349
|
-
var
|
|
364
|
+
var node34 = makeGlobalNode({ service: Service30, layer: layer15, deps: [webSocketConstructor2] });
|
|
350
365
|
|
|
351
|
-
export {
|
|
366
|
+
export { Service30, makeLayer2, layer15, node34, exports_model_transport };
|