@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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./git-3en9cd2f.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-44h5tttr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event16
|
|
9
|
+
} from "./git-1nyjqkcf.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID10
|
|
12
|
+
} from "./git-caxz1j83.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID9,
|
|
15
|
+
Service68
|
|
16
|
+
} from "./git-zrd1hyk7.js";
|
|
17
17
|
import {
|
|
18
18
|
load3,
|
|
19
19
|
derive3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-ps3qw662.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID9.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service68;
|
|
30
|
+
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-v5bht574.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./git-tbybbeq2.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service62,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-rndw9g15.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service11
|
|
14
|
+
} from "./git-5yspkx8c.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service75
|
|
17
|
+
} from "./git-c0zrtztw.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service74,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./git-fp9k3yne.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./git-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./git-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input9,
|
|
34
|
+
Output: () => Output6,
|
|
35
|
+
Plugin: () => Plugin9,
|
|
36
|
+
name: () => name9
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name9 = "edit";
|
|
43
|
+
var Input9 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input5 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output6 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin9 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
109
|
+
const access = yield* Service74;
|
|
110
|
+
const fileMutation = yield* Service62;
|
|
111
|
+
const environment = yield* Service63;
|
|
112
|
+
const formatter = yield* Service11;
|
|
113
113
|
const location = yield* Service80;
|
|
114
|
-
const permission = yield*
|
|
114
|
+
const permission = yield* Service75;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name9,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input9,
|
|
120
|
+
output: Output6,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin40 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name9, Input9, Output6, Plugin9, exports_edit };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Service82,
|
|
10
|
-
node86
|
|
11
|
-
} from "./kv-wzr2e2gd.js";
|
|
7
|
+
} from "./git-2b9m4c98.js";
|
|
12
8
|
import {
|
|
13
9
|
Service83,
|
|
14
10
|
node87
|
|
15
|
-
} from "./
|
|
11
|
+
} from "./git-3en9cd2f.js";
|
|
12
|
+
import {
|
|
13
|
+
Service82,
|
|
14
|
+
node86
|
|
15
|
+
} from "./git-607q5haz.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-57ez7d0k.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./git-wd3x2cqz.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./git-94ek1h2f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./git-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -48,7 +48,7 @@ __export(exports_project, {
|
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
50
50
|
import { ChildProcess } from "effect/unstable/process";
|
|
51
|
-
import { and, asc, desc, eq, gte, isNull, lte } from "drizzle-orm";
|
|
51
|
+
import { and, asc, desc, eq, gte, isNull, lte, sql } from "drizzle-orm";
|
|
52
52
|
import path from "path";
|
|
53
53
|
import { Worktree } from "@opencode/schema/worktree";
|
|
54
54
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -70,6 +70,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
70
70
|
return;
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
|
+
var ACTIVATE_INTERVAL = 60000;
|
|
73
74
|
|
|
74
75
|
class Service81 extends Context.Service()("@opencode/Project") {
|
|
75
76
|
}
|
|
@@ -88,16 +89,17 @@ function fromRow(row) {
|
|
|
88
89
|
commands: row.commands ?? undefined,
|
|
89
90
|
time: {
|
|
90
91
|
created: row.time_created,
|
|
91
|
-
updated: row.time_updated
|
|
92
|
+
updated: row.time_updated,
|
|
93
|
+
active: row.time_active
|
|
92
94
|
},
|
|
93
95
|
sandboxes: row.sandboxes
|
|
94
96
|
};
|
|
95
97
|
}
|
|
96
98
|
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
97
99
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service82;
|
|
99
101
|
const proc = yield* AppProcess.Service;
|
|
100
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service83;
|
|
101
103
|
const db = (yield* Service84).db;
|
|
102
104
|
const announcing = new Set;
|
|
103
105
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -153,7 +155,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
153
155
|
return project;
|
|
154
156
|
});
|
|
155
157
|
const list = Effect.fn("Project.list")(function* () {
|
|
156
|
-
const rows = yield* db.select().from(ProjectTable2).orderBy(desc(ProjectTable2.
|
|
158
|
+
const rows = yield* db.select().from(ProjectTable2).orderBy(desc(ProjectTable2.time_active), asc(ProjectTable2.id)).all().pipe(Effect.orDie);
|
|
157
159
|
return rows.map(fromRow);
|
|
158
160
|
});
|
|
159
161
|
const update = Effect.fn("Project.update")(function* (input) {
|
|
@@ -171,6 +173,16 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
171
173
|
yield* bus.publish(Event21.Updated, project);
|
|
172
174
|
return project;
|
|
173
175
|
});
|
|
176
|
+
const activated = new Map;
|
|
177
|
+
const activate = Effect.fn("Project.activate")(function* (projectID) {
|
|
178
|
+
const now = Date.now();
|
|
179
|
+
if (now - (activated.get(projectID) ?? 0) < ACTIVATE_INTERVAL)
|
|
180
|
+
return;
|
|
181
|
+
activated.set(projectID, now);
|
|
182
|
+
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
|
+
if (row)
|
|
184
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
185
|
+
});
|
|
174
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
187
|
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
188
|
return;
|
|
@@ -270,12 +282,12 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
270
282
|
vcs: undefined
|
|
271
283
|
});
|
|
272
284
|
});
|
|
273
|
-
return Service81.of({ list, update, resolve });
|
|
285
|
+
return Service81.of({ list, update, activate, resolve });
|
|
274
286
|
}));
|
|
275
287
|
var node85 = makeGlobalNode({
|
|
276
288
|
service: Service81,
|
|
277
289
|
layer,
|
|
278
|
-
deps: [
|
|
290
|
+
deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
|
|
279
291
|
});
|
|
280
292
|
|
|
281
293
|
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-9b00c1fb.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service63,
|
|
8
|
+
node66
|
|
9
|
+
} from "./git-tbybbeq2.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-vqemcat0.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service5,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node7,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service63;
|
|
331
|
+
return Service5.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node7 = makeLocationNode({ service: Service5, layer, deps: [node66] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node7, exports_read_filesystem };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin45,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin45 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin45, exports_tool_input_repair };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service63,
|
|
8
|
+
node66
|
|
9
|
+
} from "./git-tbybbeq2.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service19,
|
|
24
|
+
node: () => node21
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service19 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service63;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service19.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node21 = makeLocationNode({ service: Service19, layer, deps: [node66, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error2, InvalidPatternError2,
|
|
180
|
+
export { Error2, InvalidPatternError2, Service19, node21, exports_ripgrep };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-2b9m4c98.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service43
|
|
6
|
+
} from "./git-4mwpykj0.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-jqh9b0xq.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-53fyba40.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-1dvq6k6w.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-e97zwv3c.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service28
|
|
21
|
+
} from "./git-g2ks5ta4.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./git-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service43;
|
|
36
36
|
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service28;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-wd3x2cqz.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-zrd1hyk7.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service59,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node61
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID9,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service59 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service59, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service59.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -862,6 +862,6 @@ function providerErrorMessage(error) {
|
|
|
862
862
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
863
863
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
864
864
|
}
|
|
865
|
-
var
|
|
865
|
+
var node61 = makeLocationNode({ service: Service59, layer: locationLayer2, deps: [] });
|
|
866
866
|
|
|
867
|
-
export { InitError2,
|
|
867
|
+
export { InitError2, Service59, locationLayer2, node61, exports_aisdk };
|