@opencode/core 0.0.0-dev-20025 → 0.0.0-dev-20027
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 +81 -80
- package/dist/aisdk-native.js +89 -88
- package/dist/aisdk.js +94 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -72
- package/dist/chunks/{kv-8rqjran1.js → git-010w34bf.js} +17 -17
- package/dist/chunks/{kv-fzz5a1bx.js → git-06sgyj6k.js} +6 -6
- package/dist/chunks/{kv-nqnxh7mc.js → git-0gaj4617.js} +4 -4
- package/dist/chunks/{kv-p0aq747x.js → git-0heqmdds.js} +11 -11
- package/dist/chunks/{kv-saj8ej6e.js → git-0n7z1vhq.js} +12 -12
- package/dist/chunks/{kv-q9qfx9t0.js → git-0n9dhkpc.js} +23 -23
- package/dist/chunks/{kv-0paq2nw3.js → git-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-taxb8c86.js → git-0vvq0b5s.js} +44 -44
- package/dist/chunks/{kv-szbjvnna.js → git-13dd4g75.js} +4 -4
- package/dist/chunks/{kv-xypewtc4.js → git-16p5kn1s.js} +27 -27
- package/dist/chunks/{kv-z543s5m4.js → git-19thbt26.js} +3 -3
- package/dist/chunks/{kv-yp2x3t23.js → git-1acjjqhc.js} +4 -4
- package/dist/chunks/{kv-1dazxqgg.js → git-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-nyh2ypn1.js → git-1dvq6k6w.js} +8 -8
- package/dist/chunks/{kv-rjq8wmvv.js → git-1n18w02d.js} +12 -12
- package/dist/chunks/{kv-hf4dxjes.js → git-1nyjqkcf.js} +33 -33
- package/dist/chunks/{kv-21r38tys.js → git-21r38tys.js} +1 -1
- package/dist/chunks/{kv-cyets4p7.js → git-2247smmp.js} +28 -28
- package/dist/chunks/{kv-2402vzrj.js → git-2402vzrj.js} +1 -1
- package/dist/chunks/{kv-eyjms8xz.js → git-27jqy24h.js} +43 -43
- package/dist/chunks/{kv-b06qraw3.js → git-28e409nm.js} +1 -1
- package/dist/chunks/{kv-xpzqyyxp.js → git-298eqf0p.js} +5 -5
- package/dist/chunks/{kv-2a5m3afh.js → git-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-kahgbyje.js → git-2aqgakzf.js} +20 -20
- package/dist/chunks/{kv-eqk40qcs.js → git-2b9m4c98.js} +3 -3
- package/dist/chunks/{kv-hdmd1s5h.js → git-2bmrymfw.js} +11 -11
- package/dist/chunks/{kv-yvvvp4gn.js → git-2hr5nhwa.js} +8 -8
- package/dist/chunks/{kv-3w0fmcng.js → git-2qp6y8xf.js} +5 -5
- package/dist/chunks/{kv-8v6rjhh5.js → git-2zdn2hg8.js} +4 -4
- package/dist/chunks/{kv-4db76nbv.js → git-31p1pbsy.js} +13 -13
- package/dist/chunks/{kv-twg0f83k.js → git-34c7v6d4.js} +1 -0
- package/dist/chunks/{kv-1v02azyb.js → git-3agnzf0b.js} +3 -3
- package/dist/chunks/{kv-wzr2e2gd.js → git-3en9cd2f.js} +12 -12
- package/dist/chunks/{kv-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-qy6w65wj.js → git-3ppw9e7p.js} +3 -3
- package/dist/chunks/{kv-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{kv-h0gywk7f.js → git-419fw4gr.js} +13 -13
- package/dist/chunks/{kv-gqb9mtgp.js → git-43x0z3ay.js} +86 -86
- package/dist/chunks/{kv-h6r3nrb9.js → git-44h5tttr.js} +4 -4
- package/dist/chunks/{kv-qcaxkbzb.js → git-48nzf0bm.js} +23 -23
- package/dist/chunks/{kv-mmt72t0k.js → git-4ac7tkhg.js} +11 -11
- package/dist/chunks/{kv-31d7kfed.js → git-4ffsqyr5.js} +3 -3
- package/dist/chunks/{kv-03zcn7km.js → git-4jh9036t.js} +16 -16
- package/dist/chunks/{kv-h896pcm5.js → git-4mwpykj0.js} +6 -6
- package/dist/chunks/{kv-6vaskwyw.js → git-4r06v03z.js} +19 -19
- package/dist/chunks/{kv-50p05jhk.js → git-4xeg45nw.js} +25 -25
- package/dist/chunks/{kv-52094frg.js → git-52d56bf8.js} +17 -17
- package/dist/chunks/{kv-ssdqnhy0.js → git-53fyba40.js} +4 -4
- package/dist/chunks/{kv-1ygqh575.js → git-56gdpj1q.js} +9 -9
- package/dist/chunks/{kv-57ez7d0k.js → git-57ez7d0k.js} +2 -2
- package/dist/chunks/{kv-b2k91mhf.js → git-5a5ae82c.js} +23 -23
- package/dist/chunks/{kv-skyymkrr.js → git-5cmxdwv8.js} +3 -3
- package/dist/chunks/{kv-5daktx2q.js → git-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-aej8eep8.js → git-5e1pzs32.js} +9 -9
- package/dist/chunks/{kv-5ekn9679.js → git-5ekn9679.js} +1 -1
- package/dist/chunks/{kv-dmwq5kqt.js → git-5f0nhxgb.js} +19 -19
- package/dist/chunks/{kv-g3dp65zv.js → git-5pzymp2c.js} +10 -10
- package/dist/chunks/{kv-5t3nmthw.js → git-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-bwf58ycy.js → git-5x6zeszh.js} +4 -4
- package/dist/chunks/{kv-btb98dpx.js → git-5yspkx8c.js} +11 -11
- package/dist/chunks/{kv-6wr1j3sy.js → git-607q5haz.js} +12 -12
- package/dist/chunks/{kv-fm57n0ag.js → git-656e1hpv.js} +11 -11
- package/dist/chunks/{kv-669tq793.js → git-669tq793.js} +1 -1
- package/dist/chunks/{kv-6d54emcz.js → git-69z71taw.js} +54 -54
- package/dist/chunks/{kv-2fm1txxr.js → git-6b577fjv.js} +26 -26
- package/dist/chunks/{kv-twegnk1a.js → git-6ck4d7pv.js} +8 -8
- package/dist/chunks/{kv-yazkjqj6.js → git-6dsb7qk9.js} +6 -6
- package/dist/chunks/{kv-6msgmcgs.js → git-6msgmcgs.js} +1 -1
- package/dist/chunks/{kv-jtg3fve7.js → git-6qnh8fmb.js} +7 -7
- package/dist/chunks/{kv-tdx2ferx.js → git-6r9cb4fm.js} +5 -5
- package/dist/chunks/{kv-cjgt99j3.js → git-6x0xdmp7.js} +165 -165
- package/dist/chunks/{kv-f5gy8qwh.js → git-6ysrkrkr.js} +8 -8
- package/dist/chunks/{kv-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-j6bphecn.js → git-7d00555s.js} +15 -15
- package/dist/chunks/{kv-qgn6gcr1.js → git-7dqw4kz8.js} +5 -5
- package/dist/chunks/{kv-btqa3k48.js → git-7eemnjng.js} +11 -11
- package/dist/chunks/{kv-sycq1qnd.js → git-7g5aaaxw.js} +28 -28
- package/dist/chunks/{kv-bk6ae5dx.js → git-7gf9heny.js} +43 -43
- package/dist/chunks/{kv-5dayhn2v.js → git-7q587t2b.js} +24 -24
- package/dist/chunks/{kv-na3wjac3.js → git-7tqntkc3.js} +8 -8
- package/dist/chunks/{kv-9065type.js → git-80kx0180.js} +25 -25
- package/dist/chunks/{kv-6zdscwh2.js → git-82atqrj1.js} +30 -30
- package/dist/chunks/{kv-by29td28.js → git-84g7jkxa.js} +11 -11
- package/dist/chunks/{kv-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-e7w4bzfp.js → git-8pa4v8ja.js} +13 -13
- package/dist/chunks/{kv-8xsa2z82.js → git-8r029ffp.js} +29 -29
- package/dist/chunks/{kv-gbwwsy1c.js → git-8ssx7wvg.js} +13 -13
- package/dist/chunks/{kv-gh6rxzv3.js → git-8t502s3m.js} +12 -12
- package/dist/chunks/{kv-277eer69.js → git-8tsdq50x.js} +4 -4
- package/dist/chunks/git-8wj87zfr.js +14 -0
- package/dist/chunks/{kv-jte7tjff.js → git-8yd29ctq.js} +14 -14
- package/dist/chunks/{kv-cfpkc3c9.js → git-94ek1h2f.js} +2 -2
- package/dist/chunks/{kv-4wxt30p3.js → git-94rbwrma.js} +32 -32
- package/dist/chunks/{kv-1x75wf9g.js → git-9b00c1fb.js} +5 -5
- package/dist/chunks/{kv-vtxr0yy2.js → git-9cyfspf3.js} +5 -5
- package/dist/chunks/{kv-mkcktwrm.js → git-9mknr04w.js} +148 -148
- package/dist/chunks/{kv-9mnxndb9.js → git-9zr2rkr1.js} +9 -9
- package/dist/chunks/{kv-tng621aa.js → git-a2whg7pq.js} +32 -32
- package/dist/chunks/{kv-04tskj1d.js → git-a5kpvxfh.js} +4 -4
- package/dist/chunks/{kv-aaet6srn.js → git-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-b0qgzce7.js → git-abddqw17.js} +22 -22
- package/dist/chunks/{kv-8n2kyc0a.js → git-ajrg9ep2.js} +4 -4
- package/dist/chunks/{kv-a1dpd8an.js → git-as301tcg.js} +19 -19
- package/dist/chunks/{kv-w7tywmb9.js → git-awyhhjf2.js} +12 -12
- package/dist/chunks/{kv-nxw95max.js → git-aztg29vg.js} +13 -13
- package/dist/chunks/{kv-b6gygkdw.js → git-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-xw59r1n4.js → git-bcj22tgq.js} +11 -11
- package/dist/chunks/{kv-vncycja5.js → git-bct739vz.js} +4 -4
- package/dist/chunks/{kv-g2t41m45.js → git-bygjy1qb.js} +9 -9
- package/dist/chunks/{kv-0d6ct406.js → git-c05376bz.js} +320 -320
- package/dist/chunks/{kv-dqrd5jg2.js → git-c0p7yvnn.js} +26 -26
- package/dist/chunks/{kv-we2ehp3j.js → git-c0zrtztw.js} +55 -55
- package/dist/chunks/{kv-1gqe2a33.js → git-c31h68nj.js} +29 -29
- package/dist/chunks/{kv-2085ns88.js → git-c55fm4pv.js} +12 -12
- package/dist/chunks/{kv-5c7xdf35.js → git-c5tk59cy.js} +10 -10
- package/dist/chunks/{kv-j3h20tjh.js → git-c5y6tpwg.js} +6 -6
- package/dist/chunks/{kv-cpneeje0.js → git-c765mh8b.js} +8 -8
- package/dist/chunks/{kv-48jv4090.js → git-caxz1j83.js} +32 -32
- package/dist/chunks/{kv-f828m53h.js → git-ckecvw8r.js} +2 -2
- package/dist/chunks/{kv-rv6yjsw0.js → git-crw3tv4v.js} +5 -5
- package/dist/chunks/{kv-cg58rktj.js → git-csewmbcm.js} +33 -33
- package/dist/chunks/{kv-vmzm20dx.js → git-ct9y6gbn.js} +5 -5
- package/dist/chunks/{kv-ec87kc5z.js → git-d8nc1xcx.js} +4 -4
- package/dist/chunks/{kv-gnezz7kq.js → git-dagq1gyb.js} +20 -20
- package/dist/chunks/{kv-6j9fjes3.js → git-dh3r0p8w.js} +18 -18
- package/dist/chunks/{kv-y71avatq.js → git-dpkg50ah.js} +4 -4
- package/dist/chunks/{kv-6w5xh4x4.js → git-dw9armfg.js} +2 -2
- package/dist/chunks/{kv-wp96n48x.js → git-dxkpry84.js} +5 -5
- package/dist/chunks/{kv-nby32ptr.js → git-dxpnpzza.js} +28 -28
- package/dist/chunks/git-dzk9rjvc.js +26 -0
- package/dist/chunks/{kv-hzed07nt.js → git-e0vtkr8g.js} +6 -6
- package/dist/chunks/{kv-mzd4qxry.js → git-e97zwv3c.js} +28 -28
- package/dist/chunks/{kv-s8d7rejh.js → git-eaj1djv9.js} +6 -6
- package/dist/chunks/{kv-w1ad28wa.js → git-ednp5hmx.js} +8 -8
- package/dist/chunks/{kv-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{kv-erw5rpbs.js → git-erw5rpbs.js} +2 -2
- package/dist/chunks/{kv-etq0c3wd.js → git-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-0z42gnwd.js → git-ey79q3y0.js} +24 -24
- package/dist/chunks/{kv-jg5nd6aq.js → git-f1nnvvmc.js} +25 -25
- package/dist/chunks/{kv-z9d24bxr.js → git-f413cgt0.js} +68 -68
- package/dist/chunks/{kv-10jtetaj.js → git-fjvydvzm.js} +4 -4
- package/dist/chunks/{kv-we5eykgc.js → git-fp9k3yne.js} +15 -15
- package/dist/chunks/{kv-r9ds02vs.js → git-fq78sz5t.js} +21 -21
- package/dist/chunks/{kv-3mpqv36z.js → git-fzd06gvz.js} +28 -28
- package/dist/chunks/{kv-b7kqv799.js → git-g0hzkq8p.js} +5 -5
- package/dist/chunks/{kv-pv9k352q.js → git-g2gyvwgr.js} +6 -6
- package/dist/chunks/{kv-9jgjgdd1.js → git-g2ks5ta4.js} +80 -80
- package/dist/chunks/{kv-8q61w4ba.js → git-g8atgw3j.js} +6 -6
- package/dist/chunks/{kv-dq6dnsx7.js → git-g9sxb67q.js} +11 -11
- package/dist/chunks/{kv-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-kghsa48y.js → git-ge4ktqxw.js} +21 -21
- package/dist/chunks/{kv-gv6a8nnw.js → git-gv6a8nnw.js} +2 -2
- package/dist/chunks/{kv-t8t07vn8.js → git-h4kdtw4d.js} +17 -17
- package/dist/chunks/{kv-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-ryr1zws9.js → git-h78ckr3f.js} +33 -33
- package/dist/chunks/{kv-t9d84gp7.js → git-hc4fnx3k.js} +4 -4
- package/dist/chunks/{kv-j710vash.js → git-hfx0q6qd.js} +12 -12
- package/dist/chunks/{kv-saaf3fxb.js → git-hfypw2dz.js} +8 -8
- package/dist/chunks/{kv-cbtw62a5.js → git-hmfyqch5.js} +13 -13
- package/dist/chunks/{kv-0b6h44sv.js → git-hwsctmkw.js} +20 -20
- package/dist/chunks/{kv-tk40ge2q.js → git-hxr8hfhn.js} +40 -40
- package/dist/chunks/{kv-j56e64zr.js → git-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-jqb7tdaw.js → git-jd3npf77.js} +8 -8
- package/dist/chunks/git-jekat74m.js +89 -0
- package/dist/chunks/{kv-1f9k274t.js → git-jjb97hk9.js} +32 -32
- package/dist/chunks/{kv-j3s2z371.js → git-jjs74g98.js} +5 -5
- package/dist/chunks/git-jqh9b0xq.js +18 -0
- package/dist/chunks/{kv-bgxcxs0p.js → git-jv01nqvq.js} +5 -5
- package/dist/chunks/{kv-0jq9fyba.js → git-jvb9xte8.js} +9 -9
- package/dist/chunks/{kv-mrn44fwv.js → git-jxrc8b14.js} +33 -33
- package/dist/chunks/{kv-k3c624dm.js → git-k3c624dm.js} +3 -3
- package/dist/chunks/{kv-ygknhksg.js → git-k4dgey25.js} +10 -10
- package/dist/chunks/{kv-44ke2mar.js → git-k9kj6xed.js} +6 -6
- package/dist/chunks/{kv-srtmpgmy.js → git-kh4f80a0.js} +8 -8
- package/dist/chunks/{kv-gfb2xgah.js → git-khv50f9b.js} +9 -9
- package/dist/chunks/{kv-cyrsd82e.js → git-kjx25m7e.js} +19 -19
- package/dist/chunks/{kv-18ezz3e7.js → git-kz01yks6.js} +24 -24
- package/dist/chunks/{kv-m3fdjcah.js → git-m3fdjcah.js} +1 -1
- package/dist/chunks/{kv-a8z9aywv.js → git-m81c09cc.js} +28 -28
- package/dist/chunks/{kv-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-pnapwefn.js → git-mavemxhg.js} +52 -48
- package/dist/chunks/{kv-y49vr829.js → git-mksgfzgs.js} +5 -5
- package/dist/chunks/{kv-scpwyfk8.js → git-mm0m6d6d.js} +18 -18
- package/dist/chunks/{kv-1bbkgx8g.js → git-mvfsc1pv.js} +3 -3
- package/dist/chunks/{kv-4nfmj2pa.js → git-nbrkqbtq.js} +9 -9
- package/dist/chunks/{kv-ahg2fzmr.js → git-ntbpaqq3.js} +15 -15
- package/dist/chunks/{kv-yt0fqk68.js → git-nxhqveyz.js} +5 -5
- package/dist/chunks/{kv-pe889297.js → git-p2szdd0n.js} +22 -22
- package/dist/chunks/{kv-6dtbrkj0.js → git-p3bhxa8e.js} +5 -5
- package/dist/chunks/{kv-p37cw4rj.js → git-p42hj8p8.js} +8 -8
- package/dist/chunks/{kv-f447m1fr.js → git-p5q3ex0b.js} +15 -15
- package/dist/chunks/{kv-44bdxtcq.js → git-p63yn2ba.js} +1 -1
- package/dist/chunks/{kv-jea42s8g.js → git-pde5dn08.js} +26 -26
- package/dist/chunks/{kv-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{kv-5acpzame.js → git-ppk9bqm7.js} +28 -28
- package/dist/chunks/{kv-ep7hvg3f.js → git-ps3qw662.js} +12 -12
- package/dist/chunks/{kv-vjptwcqz.js → git-q88m6k9v.js} +12 -12
- package/dist/chunks/{kv-6hh8tjw2.js → git-qa3qhgw8.js} +4 -4
- package/dist/chunks/{kv-4f1gf0mj.js → git-qahzx1a8.js} +32 -32
- package/dist/chunks/{kv-xmvnvct5.js → git-qers21hv.js} +19 -19
- package/dist/chunks/{kv-g190xswt.js → git-qj8eh1ht.js} +4 -4
- package/dist/chunks/{kv-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-mqdxs2wn.js → git-qvcpt1fs.js} +10 -10
- package/dist/chunks/{kv-3gmnjn1e.js → git-r2xpf7zj.js} +14 -14
- package/dist/chunks/{kv-v3sgzvyr.js → git-r3c4069c.js} +1 -1
- package/dist/chunks/{kv-a9dbeg1s.js → git-r46ncawz.js} +44 -44
- package/dist/chunks/{kv-e5tcccaa.js → git-r8sqswrh.js} +8 -8
- package/dist/chunks/{kv-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{kv-74zt4j78.js → git-rgvd7d6r.js} +5 -5
- package/dist/chunks/{kv-d74pyvff.js → git-rhwn96vn.js} +7 -7
- package/dist/chunks/{kv-e5ndp2dx.js → git-rm9q555g.js} +11 -11
- package/dist/chunks/{kv-j3cbebdz.js → git-rndw9g15.js} +13 -13
- package/dist/chunks/{kv-z7f79qsj.js → git-rspkaf4h.js} +15 -15
- package/dist/chunks/{kv-0aw7dz0t.js → git-rtdzmes0.js} +44 -44
- package/dist/chunks/{kv-th0fvjg2.js → git-ryy9z3kr.js} +7 -7
- package/dist/chunks/{kv-9b7gtj9m.js → git-ryyp7ypm.js} +19 -19
- package/dist/chunks/{kv-z37ms1s1.js → git-s35b38t3.js} +22 -22
- package/dist/chunks/{kv-xdzjzbp4.js → git-s5a3abkq.js} +13 -13
- package/dist/chunks/{kv-17hzcrm0.js → git-sbay9tk1.js} +14 -14
- package/dist/chunks/{kv-djncmbp2.js → git-sc4zk213.js} +14 -14
- package/dist/chunks/{kv-gxa50yrh.js → git-sd3n1ret.js} +16 -16
- package/dist/chunks/{kv-9bqmh40y.js → git-snhm608r.js} +24 -24
- package/dist/chunks/{kv-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-d5g8gbry.js → git-tbybbeq2.js} +21 -21
- package/dist/chunks/{kv-tcezcvh9.js → git-tcezcvh9.js} +1 -1
- package/dist/chunks/{kv-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{kv-3k0jy8d1.js → git-tex4m4qy.js} +11 -11
- package/dist/chunks/{kv-7f4nfbjm.js → git-tg4ey0nj.js} +15 -15
- package/dist/chunks/{kv-tt61f65p.js → git-tm95rjfh.js} +4 -4
- package/dist/chunks/{kv-tc43054m.js → git-tqb379dh.js} +5 -5
- package/dist/chunks/{kv-bx8h19nq.js → git-tsc4theb.js} +51 -51
- package/dist/chunks/{kv-tvtrv512.js → git-tvtrv512.js} +1 -1
- package/dist/chunks/{kv-g1sxm558.js → git-tx9w5tca.js} +8 -8
- package/dist/chunks/{kv-etdwcn18.js → git-tyd6evbv.js} +3 -3
- package/dist/chunks/{kv-73b8rws5.js → git-v4m0f3qj.js} +22 -22
- package/dist/chunks/{kv-pckzp1dd.js → git-v5bht574.js} +2 -2
- package/dist/chunks/{kv-14xcmtnt.js → git-va5fjah0.js} +15 -15
- package/dist/chunks/{kv-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-9jwxq161.js → git-vmgq4x8b.js} +2 -2
- package/dist/chunks/{kv-3zgzsr0q.js → git-vmwh049b.js} +6 -6
- package/dist/chunks/{kv-2499yhnb.js → git-vqemcat0.js} +23 -23
- package/dist/chunks/{kv-ab55kpvp.js → git-vsb4na82.js} +44 -44
- package/dist/chunks/{kv-vzcthcp8.js → git-vzcthcp8.js} +1 -1
- package/dist/chunks/{kv-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-8p4f9s12.js → git-wd3x2cqz.js} +3 -2
- package/dist/chunks/{kv-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{kv-p1aa38cv.js → git-wqc8znh9.js} +11 -11
- package/dist/chunks/{kv-c4v1hkzh.js → git-wxy0ac48.js} +6 -6
- package/dist/chunks/{kv-hc50k08t.js → git-x0w9b04z.js} +9 -9
- package/dist/chunks/{kv-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-tj17d411.js → git-x1geg3vn.js} +11 -11
- package/dist/chunks/{kv-4pfvz1zp.js → git-x5vgpz9j.js} +7 -7
- package/dist/chunks/{kv-xfkkasph.js → git-xfkkasph.js} +1 -1
- package/dist/chunks/{kv-zq6zx8a5.js → git-xq0837nd.js} +11 -11
- package/dist/chunks/{kv-jymhh06g.js → git-xvb08a4w.js} +10 -10
- package/dist/chunks/{kv-hfdr1yjj.js → git-xwm6bryg.js} +4 -4
- package/dist/chunks/{kv-g7rwz86d.js → git-xxspzvmh.js} +15 -15
- package/dist/chunks/{kv-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-ks1687eg.js → git-y2ghzbkq.js} +30 -30
- package/dist/chunks/{kv-2ny4609t.js → git-y8mbs16w.js} +30 -18
- package/dist/chunks/{kv-vrqcba6b.js → git-ykch05ee.js} +4 -4
- package/dist/chunks/{kv-dq2ts99x.js → git-ymdcatcc.js} +15 -15
- package/dist/chunks/{kv-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
- package/dist/chunks/{kv-yrznvahk.js → git-yrznvahk.js} +2 -2
- package/dist/chunks/{kv-qdbakdjh.js → git-yt3hy1g9.js} +5 -5
- package/dist/chunks/{kv-2hptpgkz.js → git-yvqpxq27.js} +14 -14
- package/dist/chunks/{kv-6zt78djw.js → git-yxwga7ay.js} +12 -12
- package/dist/chunks/{kv-a1bz86dw.js → git-z07pqspn.js} +3 -3
- package/dist/chunks/{kv-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-wxqhnnpd.js → git-z138ka9p.js} +11 -11
- package/dist/chunks/{kv-e03c71z8.js → git-z221g1rh.js} +10 -10
- package/dist/chunks/{kv-rx89pc2r.js → git-z5w7jba6.js} +45 -45
- package/dist/chunks/{kv-z63w68vq.js → git-z63w68vq.js} +2 -2
- package/dist/chunks/{kv-zav06jzw.js → git-zcrspsvn.js} +4 -4
- package/dist/chunks/{kv-hx22bhvn.js → git-zde15cj0.js} +24 -24
- package/dist/chunks/{kv-zeh9ct20.js → git-zeh9ct20.js} +2 -2
- package/dist/chunks/{kv-742d1swr.js → git-znadnk2c.js} +20 -20
- package/dist/chunks/{kv-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-rwjqg74r.js → git-zrd1hyk7.js} +32 -32
- package/dist/chunks/{kv-y3pxdktb.js → git-zrv5pa4j.js} +3 -3
- package/dist/chunks/{kv-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -82
- package/dist/config/discovery.js +82 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -105
- package/dist/config/plugin/agent.js +125 -124
- package/dist/config/plugin/command.js +214 -213
- package/dist/config/plugin/compaction.js +162 -161
- package/dist/config/plugin/compatibility.js +141 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -123
- package/dist/config/plugin/image.js +123 -122
- package/dist/config/plugin/instruction.js +90 -89
- package/dist/config/plugin/location-watcher.js +123 -122
- package/dist/config/plugin/mcp.js +132 -131
- package/dist/config/plugin/policy.js +124 -123
- package/dist/config/plugin/provider.js +123 -122
- package/dist/config/plugin/reference.js +125 -124
- package/dist/config/plugin/shell.js +125 -124
- package/dist/config/plugin/skill-file.js +102 -101
- package/dist/config/plugin/skill.js +142 -141
- package/dist/config/plugin/snapshot.js +123 -122
- package/dist/config/plugin/source.js +124 -123
- package/dist/config/plugin/tool-output.js +125 -124
- package/dist/config/plugin/websearch.js +124 -123
- package/dist/config/plugin/worktree.js +125 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -84
- package/dist/database/database.js +66 -65
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +6 -0
- package/dist/database/migration.gen.js +49 -48
- package/dist/database/migration.js +51 -50
- 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 +80 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -369
- 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 +93 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -94
- 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 +74 -73
- package/dist/file-access.js +104 -103
- package/dist/file-mutation.js +94 -93
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +225 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -101
- package/dist/form.js +84 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -86
- package/dist/generate.js +101 -100
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -90
- 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 +361 -360
- package/dist/instruction-discovery.js +85 -84
- package/dist/instructions/builtins.js +87 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -85
- package/dist/job.js +77 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -72
- package/dist/location-activity.js +135 -134
- package/dist/location-lifecycle.js +103 -101
- package/dist/location-mutation.js +104 -103
- package/dist/location-service-map.js +86 -85
- package/dist/location-services.js +358 -357
- package/dist/location.js +81 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -90
- package/dist/mcp/index.js +108 -107
- package/dist/mcp/instructions.js +128 -127
- package/dist/mcp/oauth.js +78 -77
- package/dist/mcp/stdio.js +90 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -90
- package/dist/model-resolver.js +98 -97
- package/dist/model.js +100 -99
- package/dist/models-dev.js +101 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -74
- package/dist/plugin/agent.js +104 -103
- package/dist/plugin/command.js +101 -100
- package/dist/plugin/compaction.js +133 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -89
- package/dist/plugin/provider/azure.js +122 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -118
- package/dist/plugin/provider/digitalocean.js +93 -92
- 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 +93 -92
- package/dist/plugin/provider/gitlab.js +91 -90
- package/dist/plugin/provider/google-vertex.js +90 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -76
- package/dist/plugin/provider/lmstudio.js +122 -121
- package/dist/plugin/provider/modal.js +92 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -121
- package/dist/plugin/provider/openai.js +94 -93
- package/dist/plugin/provider/opencode.js +94 -93
- package/dist/plugin/provider/openrouter.js +91 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -77
- package/dist/plugin/provider/prompt-cache-key.js +90 -89
- package/dist/plugin/provider/sap-ai-core.js +91 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -89
- package/dist/plugin/provider/vllm.js +122 -121
- package/dist/plugin/provider/xai.js +91 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -159
- package/dist/plugin/sdk.js +76 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -85
- package/dist/plugin/vcs/hg.js +86 -85
- package/dist/plugin/warming.js +121 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +223 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -79
- package/dist/provider.js +101 -100
- 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 +94 -93
- package/dist/reference/instructions.js +83 -82
- package/dist/reference.js +89 -88
- package/dist/repository-cache.js +81 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -94
- package/dist/rpc.js +86 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -73
- package/dist/session/compaction.js +134 -133
- package/dist/session/context.js +152 -151
- package/dist/session/diff.js +88 -87
- 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 +224 -223
- package/dist/session/execution.js +126 -125
- package/dist/session/generate.js +151 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -129
- package/dist/session/projector.js +86 -85
- package/dist/session/prompt.js +105 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -113
- package/dist/session/runner/step.js +126 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -169
- package/dist/session/shell.js +138 -137
- package/dist/session/skill.js +103 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -72
- package/dist/session/store.js +85 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -155
- package/dist/session/to-session-error.js +111 -110
- package/dist/session/transfer.js +217 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -215
- 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 +11 -11
- package/dist/shell.js +140 -139
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +107 -106
- package/dist/skill.js +108 -107
- package/dist/snapshot.js +91 -90
- 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 +125 -124
- package/dist/tool/plugin/edit.js +120 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -123
- package/dist/tool/plugin/grep.js +124 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -113
- package/dist/tool/plugin/question.js +101 -100
- package/dist/tool/plugin/read.js +125 -124
- package/dist/tool/plugin/shell.js +217 -216
- package/dist/tool/plugin/skill.js +113 -112
- package/dist/tool/plugin/subagent.js +219 -218
- package/dist/tool/plugin/webfetch.js +106 -105
- package/dist/tool/plugin/websearch.js +112 -111
- package/dist/tool/plugin/write.js +122 -121
- package/dist/tool/read-filesystem.js +100 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/types/database/migration/20260923013825_project_time_active.d.ts +3 -0
- package/dist/types/project/schema.d.ts +5 -0
- package/dist/types/project/sql.d.ts +16 -0
- package/dist/types/project.d.ts +3 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +3 -3
- 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 +92 -91
- 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/variant.js +91 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -86
- package/dist/websearch.js +78 -77
- package/dist/wellknown/plugin.js +76 -75
- package/dist/wellknown.js +81 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -79
- 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 +89 -88
- package/dist/worktree.js +92 -91
- package/package.json +8 -8
- package/dist/chunks/kv-53x5pmg1.js +0 -26
- package/dist/chunks/kv-ctefx7dc.js +0 -18
- package/dist/chunks/kv-vkcvdpjh.js +0 -65
- /package/dist/chunks/{kv-0mesazry.js → git-0mesazry.js} +0 -0
- /package/dist/chunks/{kv-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → git-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-922hggd3.js → git-922hggd3.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hjbc5kem.js → git-hjbc5kem.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → git-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./git-3en9cd2f.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-sbay9tk1.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-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: () => NotFoundError4,
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service23,
|
|
23
23
|
UnavailableError: () => UnavailableError2,
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
24
|
+
configured: () => configured4,
|
|
25
|
+
layer: () => layer10,
|
|
26
|
+
node: () => node26
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
40
|
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service23 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service83;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service59, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service59, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service23.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service59, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
258
|
+
var layer10 = makeLayer();
|
|
259
|
+
var configured4 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service23,
|
|
261
|
+
layer: options === undefined ? layer10 : makeLayer(options),
|
|
262
|
+
deps: [node87, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node26 = configured4();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
267
|
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options4, UnavailableError2, NotFoundError4, Service23, layer10, configured4, node26, exports_persistent_pty, Handoff2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./git-3en9cd2f.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-v5bht574.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID15,
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./git-snhm608r.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError10
|
|
16
|
+
} from "./git-vmwh049b.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service77,
|
|
19
|
+
node81
|
|
20
|
+
} from "./git-c55fm4pv.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service76,
|
|
26
|
+
node80
|
|
27
|
+
} from "./git-7d00555s.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service78,
|
|
30
|
+
node82
|
|
31
|
+
} from "./git-tx9w5tca.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./git-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event19,
|
|
46
|
+
ID: () => ID13,
|
|
47
|
+
NotFoundError: () => NotFoundError9,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
|
-
Reply: () =>
|
|
49
|
+
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
51
|
+
Request: () => Request3,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service75,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node79
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event19 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID13 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
78
|
-
var
|
|
77
|
+
var Request3 = Permission.Request;
|
|
78
|
+
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID13.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID15.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID13,
|
|
86
|
+
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID13,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID13
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service75 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
130
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service83;
|
|
132
132
|
const location = yield* Service80;
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
133
|
+
const agents = yield* Service79;
|
|
134
|
+
const sessions = yield* Service77;
|
|
135
|
+
const saved = yield* Service76;
|
|
136
|
+
const hooks = yield* Service78;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError10({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID13.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID13.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError9({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service75.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node79 = makeLocationNode({
|
|
303
|
+
service: Service75,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [
|
|
305
|
+
deps: [node87, node84, node83, node81, node80, node82]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service75, node79, exports_permission2, Rule3, Ruleset2, Event19 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service82,
|
|
9
|
+
node86
|
|
10
|
+
} from "./git-607q5haz.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-v5bht574.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./git-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error4,
|
|
26
|
+
ID: () => ID6,
|
|
27
|
+
Service: () => Service47,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node49,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,20 +34,20 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service47 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const location = yield* Service80;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID6.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service47.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node49 = makeLocationNode({
|
|
144
|
+
service: Service47,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer3 = Layer.succeed(
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service47, Service47.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service71, Service71.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error4({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID6, Error4, Service47, node49, noopLayer3, exports_snapshot2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-2b9m4c98.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-z07pqspn.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-1dvq6k6w.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-vmgq4x8b.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput5,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service77,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node81
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service77 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service84;
|
|
59
|
-
return
|
|
59
|
+
return Service77.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node81 = makeGlobalNode({ service: Service77, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export { ListInput5,
|
|
130
|
+
export { ListInput5, Service77, node81, exports_store };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-2b9m4c98.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service73,
|
|
17
|
+
node: () => node77
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service73 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service73.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node77 = makeGlobalNode({ service: Service73, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service73, node77, exports_kv };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-ryy9z3kr.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-p63yn2ba.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
|
|
|
20
20
|
static [entityKind] = "EffectSQLiteDatabase";
|
|
21
21
|
}
|
|
22
22
|
var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
|
|
23
|
-
var
|
|
23
|
+
var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
24
24
|
const client = yield* SqlClient;
|
|
25
25
|
const cache = yield* EffectCache;
|
|
26
26
|
const logger = yield* EffectLogger;
|
|
@@ -37,6 +37,6 @@ var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
|
37
37
|
db.$cache.invalidate = cache.onMutate;
|
|
38
38
|
return db;
|
|
39
39
|
});
|
|
40
|
-
var makeWithDefaults2 = (config = {}) =>
|
|
40
|
+
var makeWithDefaults2 = (config = {}) => make22(config).pipe(Effect.provide(DefaultServices2));
|
|
41
41
|
|
|
42
|
-
export { EffectSQLiteDatabase2, DefaultServices2,
|
|
42
|
+
export { EffectSQLiteDatabase2, DefaultServices2, make22, makeWithDefaults2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service7,
|
|
13
13
|
node: () => node9
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service7.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var node9 = makeLocationNode({ service:
|
|
51
|
+
var node9 = makeLocationNode({ service: Service7, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service7, node9, exports_location_watcher_policy };
|