@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,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service65
|
|
7
|
+
} from "./git-27jqy24h.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service63
|
|
13
|
+
} from "./git-tbybbeq2.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service52
|
|
16
|
+
} from "./git-ntbpaqq3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service75
|
|
19
|
+
} from "./git-c0zrtztw.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service74,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-fp9k3yne.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./git-5ekn9679.js";
|
|
30
30
|
import {
|
|
31
31
|
Service60,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./git-sbay9tk1.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError7,
|
|
36
|
+
Service48
|
|
37
|
+
} from "./git-z5w7jba6.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service26
|
|
40
|
+
} from "./git-43x0z3ay.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./git-5x6zeszh.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./git-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input7,
|
|
53
|
+
Plugin: () => Plugin7,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name7
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name7 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input7 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin7 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service26;
|
|
122
|
+
const jobs = yield* Service52;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
124
|
+
const environment = yield* Service63;
|
|
125
|
+
const access = yield* Service74;
|
|
126
|
+
const shell = yield* Service48;
|
|
127
127
|
const shellSelect = yield* Service60;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service75;
|
|
130
|
+
const config = yield* Service65;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin39 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name7,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin39 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name7,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input7,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin39 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError7({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name7,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name7];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin7, exports_shell };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./git-tbybbeq2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service63;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./git-3en9cd2f.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service51,
|
|
17
|
+
node53
|
|
18
|
+
} from "./git-hwsctmkw.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./git-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./git-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event10,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info10,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service50,
|
|
35
35
|
Source: () => Source4,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node52
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event10 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source4 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info10 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service50 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service83;
|
|
53
|
+
const cache = yield* Service51;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info10.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info10.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service50.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node52 = makeLocationNode({
|
|
116
|
+
service: Service50,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node87, node53]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source4,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info10, Service50, node52, exports_reference2, Event10 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-zrd1hyk7.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-82atqrj1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make17
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make17 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make16 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make17, exports_run_coordinator };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-5cmxdwv8.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-vmwh049b.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-eaj1djv9.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-z07pqspn.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-xwm6bryg.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./git-53fyba40.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./git-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
17
|
+
var exports_instructions5 = {};
|
|
18
|
+
__export(exports_instructions5, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions5,
|
|
20
20
|
make: () => make14,
|
|
21
21
|
render: () => render2,
|
|
22
|
-
update: () =>
|
|
22
|
+
update: () => update2
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -43,7 +43,7 @@ function render2(catalog) {
|
|
|
43
43
|
${tools.join(`
|
|
44
44
|
`)}`;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function update2(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
49
|
${render2(current)}`;
|
|
@@ -109,7 +109,7 @@ ${render2(current)}`;
|
|
|
109
109
|
return delta;
|
|
110
110
|
return replacement;
|
|
111
111
|
}
|
|
112
|
-
var key =
|
|
112
|
+
var key = Key4.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
114
|
var make14 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
@@ -119,10 +119,10 @@ var make14 = (inventory) => {
|
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
121
|
initial: render2,
|
|
122
|
-
changed:
|
|
122
|
+
changed: update2,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { render2,
|
|
128
|
+
export { render2, update2, make14, exports_instructions5 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-2b9m4c98.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./git-3en9cd2f.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./git-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event16,
|
|
24
|
+
ID: () => ID11,
|
|
25
|
+
Info: () => Info26,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service70,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node74
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID11 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event16 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info26 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID11,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service70 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info26({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service70.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info26({
|
|
80
|
+
id: ID11.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node74 = makeGlobalNode({ service: Service70, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID11, OAuth3, Key3, Value2, Event16, Info26, Service70, node74, exports_credential };
|