@opencode/core 0.0.0-dev-20025 → 0.0.0-dev-20026
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/variant-02av72dv.js +89 -0
- package/dist/chunks/{kv-kghsa48y.js → variant-0bzevza6.js} +21 -21
- package/dist/chunks/{kv-wzr2e2gd.js → variant-0f3fkebw.js} +12 -12
- package/dist/chunks/{kv-djncmbp2.js → variant-0kdyx93j.js} +23 -23
- package/dist/chunks/{kv-c4v1hkzh.js → variant-0krcabsn.js} +6 -6
- package/dist/chunks/{kv-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-g1sxm558.js → variant-0xezjjjn.js} +8 -8
- package/dist/chunks/{kv-6wr1j3sy.js → variant-0z6w7vfv.js} +12 -12
- package/dist/chunks/{kv-saaf3fxb.js → variant-17j9h1rv.js} +11 -11
- package/dist/chunks/{kv-vncycja5.js → variant-1a6p2twq.js} +4 -4
- package/dist/chunks/{kv-1bbkgx8g.js → variant-1bbkgx8g.js} +1 -1
- package/dist/chunks/{kv-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-j3cbebdz.js → variant-1j4qs2dp.js} +13 -13
- package/dist/chunks/{kv-xpzqyyxp.js → variant-1w0wkfxf.js} +5 -5
- package/dist/chunks/{kv-6w5xh4x4.js → variant-1wyzf5g7.js} +2 -2
- package/dist/chunks/{kv-dqrd5jg2.js → variant-1xcw6xjf.js} +31 -31
- package/dist/chunks/{kv-21r38tys.js → variant-21r38tys.js} +1 -1
- package/dist/chunks/{kv-6zdscwh2.js → variant-21xkm9mw.js} +25 -25
- package/dist/chunks/{kv-2402vzrj.js → variant-2402vzrj.js} +1 -1
- package/dist/chunks/{kv-z63w68vq.js → variant-29x78va6.js} +6 -6
- package/dist/chunks/{kv-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-h896pcm5.js → variant-2a6rn6yr.js} +6 -6
- package/dist/chunks/{kv-6zt78djw.js → variant-2d0rz701.js} +16 -16
- package/dist/chunks/{kv-nqnxh7mc.js → variant-2d57kztd.js} +6 -6
- package/dist/chunks/{kv-cg58rktj.js → variant-2eyvmpqy.js} +35 -35
- package/dist/chunks/{kv-q9qfx9t0.js → variant-2g7pkq9k.js} +23 -23
- package/dist/chunks/{kv-yvvvp4gn.js → variant-2hr5nhwa.js} +8 -8
- package/dist/chunks/{kv-1f9k274t.js → variant-2n3rws7p.js} +31 -31
- package/dist/chunks/{kv-qdbakdjh.js → variant-2p623br6.js} +5 -5
- package/dist/chunks/{kv-nxw95max.js → variant-2ptfhmaq.js} +16 -16
- package/dist/chunks/{kv-cbtw62a5.js → variant-31rgt9cd.js} +15 -15
- package/dist/chunks/{kv-twg0f83k.js → variant-34c7v6d4.js} +1 -0
- package/dist/chunks/{kv-yt0fqk68.js → variant-3cz8rj72.js} +5 -5
- package/dist/chunks/{kv-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-ssdqnhy0.js → variant-3g33scay.js} +4 -4
- package/dist/chunks/{kv-jymhh06g.js → variant-3h50d2d8.js} +5 -5
- package/dist/chunks/{kv-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-taxb8c86.js → variant-3prdw56f.js} +41 -41
- package/dist/chunks/{kv-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-jqb7tdaw.js → variant-3wwqqeqp.js} +8 -8
- package/dist/chunks/{kv-3zsf4n22.js → variant-3zsf4n22.js} +1 -1
- package/dist/chunks/{kv-hx22bhvn.js → variant-45p7gsnq.js} +24 -24
- package/dist/chunks/{kv-4f1gf0mj.js → variant-4h2qm5xd.js} +43 -43
- package/dist/chunks/{kv-hzed07nt.js → variant-4hz2mmtn.js} +6 -6
- package/dist/chunks/{kv-d5g8gbry.js → variant-4n6z1r8s.js} +24 -24
- package/dist/chunks/{kv-f828m53h.js → variant-54tcyq79.js} +2 -2
- package/dist/chunks/{kv-b2k91mhf.js → variant-557d9c8t.js} +23 -23
- package/dist/chunks/{kv-gqb9mtgp.js → variant-563rq041.js} +92 -92
- package/dist/chunks/{kv-1ygqh575.js → variant-56gdpj1q.js} +9 -9
- package/dist/chunks/{kv-2hptpgkz.js → variant-5b64cte8.js} +14 -14
- package/dist/chunks/{kv-5daktx2q.js → variant-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-5ekn9679.js → variant-5ekn9679.js} +1 -1
- package/dist/chunks/{kv-b7kqv799.js → variant-5hwa0061.js} +2 -2
- package/dist/chunks/{kv-b06qraw3.js → variant-5jf3agd7.js} +1 -1
- package/dist/chunks/{kv-g7rwz86d.js → variant-5mef3xk7.js} +17 -17
- package/dist/chunks/{kv-tt61f65p.js → variant-5mvsdnr7.js} +4 -4
- package/dist/chunks/{kv-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-etdwcn18.js → variant-62m7qsdd.js} +3 -3
- package/dist/chunks/{kv-669tq793.js → variant-669tq793.js} +1 -1
- package/dist/chunks/{kv-e03c71z8.js → variant-6mmx0pze.js} +10 -10
- package/dist/chunks/{kv-6msgmcgs.js → variant-6msgmcgs.js} +1 -1
- package/dist/chunks/{kv-qy6w65wj.js → variant-6p55r51m.js} +1 -1
- package/dist/chunks/{kv-6j9fjes3.js → variant-6rxwp35s.js} +19 -19
- package/dist/chunks/{kv-g190xswt.js → variant-6sr3ve8g.js} +21 -21
- package/dist/chunks/{kv-by29td28.js → variant-6w0aczmv.js} +11 -11
- package/dist/chunks/{kv-th0fvjg2.js → variant-6wjad31y.js} +7 -7
- package/dist/chunks/{kv-b0qgzce7.js → variant-6zedfc54.js} +27 -27
- package/dist/chunks/{kv-d74pyvff.js → variant-71zkw7xr.js} +9 -9
- package/dist/chunks/{kv-6d54emcz.js → variant-72v9w41r.js} +58 -58
- package/dist/chunks/{kv-g3dp65zv.js → variant-75x4dgvy.js} +8 -8
- package/dist/chunks/{kv-jtg3fve7.js → variant-7836xe6r.js} +7 -7
- package/dist/chunks/{kv-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-8rqjran1.js → variant-7c8esnqs.js} +25 -25
- package/dist/chunks/{kv-dq6dnsx7.js → variant-7d4hdxdy.js} +11 -11
- package/dist/chunks/{kv-qgn6gcr1.js → variant-7dqw4kz8.js} +5 -5
- package/dist/chunks/{kv-g2t41m45.js → variant-7xgrqf4n.js} +18 -18
- package/dist/chunks/{kv-mrn44fwv.js → variant-7y60eay9.js} +28 -28
- package/dist/chunks/{kv-e5ndp2dx.js → variant-7yrwfpwm.js} +11 -11
- package/dist/chunks/{kv-9mnxndb9.js → variant-80dj63ps.js} +6 -6
- package/dist/chunks/{kv-3zgzsr0q.js → variant-834a0b17.js} +7 -7
- package/dist/chunks/{kv-52094frg.js → variant-83xz4qq9.js} +23 -23
- package/dist/chunks/{kv-h0gywk7f.js → variant-84sj45vf.js} +13 -13
- package/dist/chunks/{kv-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-hdmd1s5h.js → variant-8eh51za7.js} +9 -9
- package/dist/chunks/{kv-2fm1txxr.js → variant-8epdgwc0.js} +26 -26
- package/dist/chunks/{kv-j3h20tjh.js → variant-8fz7s7fk.js} +3 -3
- package/dist/chunks/{kv-5acpzame.js → variant-8mvw6bgy.js} +25 -25
- package/dist/chunks/{kv-gbwwsy1c.js → variant-8nx8zez9.js} +13 -13
- package/dist/chunks/{kv-xmvnvct5.js → variant-8qdtva9t.js} +17 -17
- package/dist/chunks/{kv-sycq1qnd.js → variant-8tpythmx.js} +24 -24
- package/dist/chunks/variant-8wj87zfr.js +14 -0
- package/dist/chunks/{kv-j6bphecn.js → variant-9byqxeta.js} +17 -17
- package/dist/chunks/{kv-vtxr0yy2.js → variant-9cyfspf3.js} +5 -5
- package/dist/chunks/{kv-6dtbrkj0.js → variant-9esb0m0p.js} +1 -1
- package/dist/chunks/{kv-2499yhnb.js → variant-9f1seg8j.js} +26 -26
- package/dist/chunks/{kv-mzd4qxry.js → variant-9jwjh49g.js} +32 -32
- package/dist/chunks/{kv-4pfvz1zp.js → variant-9mye8vwy.js} +7 -7
- package/dist/chunks/{kv-zq6zx8a5.js → variant-9qw4j31g.js} +11 -11
- package/dist/chunks/{kv-jea42s8g.js → variant-9r5qhkng.js} +28 -28
- package/dist/chunks/{kv-vjptwcqz.js → variant-a5fr2mj9.js} +23 -23
- package/dist/chunks/{kv-0z42gnwd.js → variant-a5t4p5xt.js} +24 -24
- package/dist/chunks/{kv-vmzm20dx.js → variant-a6x7shte.js} +3 -3
- package/dist/chunks/{kv-aaet6srn.js → variant-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-szbjvnna.js → variant-af7j52hr.js} +4 -4
- package/dist/chunks/{kv-1gqe2a33.js → variant-ajk3nktm.js} +32 -32
- package/dist/chunks/{kv-hf4dxjes.js → variant-apg24jar.js} +33 -33
- package/dist/chunks/{kv-mmt72t0k.js → variant-ar8vm0ff.js} +13 -13
- package/dist/chunks/{kv-t9d84gp7.js → variant-avd8ev9v.js} +4 -4
- package/dist/chunks/{kv-eyjms8xz.js → variant-avrnkb01.js} +46 -46
- package/dist/chunks/{kv-y3pxdktb.js → variant-b51jbz85.js} +5 -5
- package/dist/chunks/variant-b6ck6p7e.js +26 -0
- package/dist/chunks/{kv-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-bk6ae5dx.js → variant-b8y4420x.js} +43 -43
- package/dist/chunks/{kv-srtmpgmy.js → variant-b9dsjnj7.js} +8 -8
- package/dist/chunks/{kv-4db76nbv.js → variant-bfhm6t97.js} +13 -13
- package/dist/chunks/{kv-74zt4j78.js → variant-bjn6skbd.js} +5 -5
- package/dist/chunks/{kv-ec87kc5z.js → variant-bjn91642.js} +4 -4
- package/dist/chunks/{kv-a1bz86dw.js → variant-bjtzbw4r.js} +3 -3
- package/dist/chunks/{kv-14xcmtnt.js → variant-c5ezeqt5.js} +27 -27
- package/dist/chunks/{kv-xdzjzbp4.js → variant-c8swy7ka.js} +15 -15
- package/dist/chunks/{kv-cjgt99j3.js → variant-cenw4sj9.js} +159 -159
- package/dist/chunks/{kv-8xsa2z82.js → variant-cgrt34rb.js} +26 -26
- package/dist/chunks/{kv-18ezz3e7.js → variant-cm9mwwq8.js} +21 -21
- package/dist/chunks/{kv-dmwq5kqt.js → variant-cmh4zy5x.js} +13 -13
- package/dist/chunks/variant-cr86fwsy.js +252 -0
- package/dist/chunks/{kv-ctefx7dc.js → variant-ctefx7dc.js} +1 -1
- package/dist/chunks/{kv-f447m1fr.js → variant-d27k1qq2.js} +13 -13
- package/dist/chunks/{kv-bx8h19nq.js → variant-d42e34ke.js} +54 -54
- package/dist/chunks/{kv-2ny4609t.js → variant-dbdtaeh3.js} +58 -46
- package/dist/chunks/{kv-3mpqv36z.js → variant-dcer5810.js} +28 -28
- package/dist/chunks/{kv-tng621aa.js → variant-dfjemdtf.js} +30 -30
- package/dist/chunks/{kv-8n2kyc0a.js → variant-dngx6zgq.js} +2 -2
- package/dist/chunks/{kv-xfkkasph.js → variant-drwq78ky.js} +4 -4
- package/dist/chunks/{kv-tj17d411.js → variant-dtss6q18.js} +11 -11
- package/dist/chunks/{kv-f5gy8qwh.js → variant-dvc89yjx.js} +8 -8
- package/dist/chunks/{kv-nyh2ypn1.js → variant-e37stjd8.js} +11 -11
- package/dist/chunks/{kv-5qd3pb7m.js → variant-e3qxr5gk.js} +2 -2
- package/dist/chunks/{kv-gfb2xgah.js → variant-e6y173sj.js} +9 -9
- package/dist/chunks/{kv-s8d7rejh.js → variant-eaj1djv9.js} +6 -6
- package/dist/chunks/{kv-scpwyfk8.js → variant-ecnb5xks.js} +17 -17
- package/dist/chunks/{kv-a9dbeg1s.js → variant-edv89m0p.js} +40 -40
- package/dist/chunks/{kv-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
- package/dist/chunks/{kv-pckzp1dd.js → variant-ehd2w0yp.js} +17 -17
- package/dist/chunks/{kv-1x75wf9g.js → variant-engkm2d6.js} +5 -5
- package/dist/chunks/{kv-7f4nfbjm.js → variant-eqvqvd13.js} +9 -9
- package/dist/chunks/{kv-erw5rpbs.js → variant-erw5rpbs.js} +2 -2
- package/dist/chunks/{kv-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-2085ns88.js → variant-f747t98r.js} +16 -16
- package/dist/chunks/{kv-0b6h44sv.js → variant-fbc9vsj2.js} +20 -20
- package/dist/chunks/{kv-0d6ct406.js → variant-fczcbajx.js} +328 -328
- package/dist/chunks/{kv-rx89pc2r.js → variant-fhpv401t.js} +47 -47
- package/dist/chunks/{kv-mqdxs2wn.js → variant-fjeqa7jj.js} +8 -8
- package/dist/chunks/{kv-e5tcccaa.js → variant-fx8cm3j5.js} +10 -10
- package/dist/chunks/{kv-8q61w4ba.js → variant-fzgxakwn.js} +6 -6
- package/dist/chunks/{kv-44bdxtcq.js → variant-fzhdr1mx.js} +1 -1
- package/dist/chunks/{kv-8v6rjhh5.js → variant-g04dwg7s.js} +4 -4
- package/dist/chunks/{kv-btqa3k48.js → variant-g1zq083n.js} +13 -13
- package/dist/chunks/{kv-5dayhn2v.js → variant-g20tdqpk.js} +37 -37
- package/dist/chunks/{kv-9jwxq161.js → variant-g2yz86wh.js} +2 -2
- package/dist/chunks/{kv-j710vash.js → variant-gbdr24b9.js} +12 -12
- package/dist/chunks/{kv-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-pv9k352q.js → variant-gf45v5rv.js} +9 -9
- package/dist/chunks/{kv-cfpkc3c9.js → variant-gfvb90ym.js} +2 -2
- package/dist/chunks/{kv-z9d24bxr.js → variant-gga0wymx.js} +62 -62
- package/dist/chunks/{kv-xw59r1n4.js → variant-gs9rpsen.js} +8 -8
- package/dist/chunks/{kv-gv6a8nnw.js → variant-gv6a8nnw.js} +2 -2
- package/dist/chunks/{kv-h6r3nrb9.js → variant-h6r3nrb9.js} +1 -1
- package/dist/chunks/{kv-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-bgxcxs0p.js → variant-hcz3zddy.js} +5 -5
- package/dist/chunks/{kv-31d7kfed.js → variant-hkafdcbz.js} +1 -1
- package/dist/chunks/{kv-03zcn7km.js → variant-hpfrvn9v.js} +16 -16
- package/dist/chunks/{kv-04tskj1d.js → variant-j55501wg.js} +6 -6
- package/dist/chunks/{kv-j56e64zr.js → variant-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-yazkjqj6.js → variant-jes8xwtq.js} +3 -3
- package/dist/chunks/{kv-a8z9aywv.js → variant-jfmkgsry.js} +20 -20
- package/dist/chunks/{kv-vrqcba6b.js → variant-jk953tft.js} +4 -4
- package/dist/chunks/{kv-3gmnjn1e.js → variant-jn81emqq.js} +16 -16
- package/dist/chunks/{kv-twegnk1a.js → variant-jx4tygjy.js} +10 -10
- package/dist/chunks/{kv-tc43054m.js → variant-k5y748ge.js} +3 -3
- package/dist/chunks/{kv-rjq8wmvv.js → variant-kad49353.js} +14 -14
- package/dist/chunks/{kv-9b7gtj9m.js → variant-kfd45557.js} +16 -16
- package/dist/chunks/{kv-44ke2mar.js → variant-knb7evpn.js} +2 -2
- package/dist/chunks/{kv-btb98dpx.js → variant-kns7re6s.js} +10 -10
- package/dist/chunks/{kv-48jv4090.js → variant-kqbmdx55.js} +32 -32
- package/dist/chunks/{kv-ep7hvg3f.js → variant-kzynzy4y.js} +14 -14
- package/dist/chunks/{kv-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
- package/dist/chunks/{kv-we2ehp3j.js → variant-m74j5n8t.js} +51 -51
- package/dist/chunks/{kv-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-0aw7dz0t.js → variant-md1qfzvn.js} +29 -29
- package/dist/chunks/{kv-10jtetaj.js → variant-mjncxbbh.js} +6 -6
- package/dist/chunks/{kv-jg5nd6aq.js → variant-mm84f3fs.js} +27 -27
- package/dist/chunks/{kv-kahgbyje.js → variant-mn93ga5d.js} +17 -17
- package/dist/chunks/{kv-73b8rws5.js → variant-n2cj49gr.js} +24 -24
- package/dist/chunks/{kv-3k0jy8d1.js → variant-n3hpqbgj.js} +11 -11
- package/dist/chunks/{kv-xypewtc4.js → variant-n7hwxzgv.js} +29 -29
- package/dist/chunks/{kv-a1dpd8an.js → variant-na0h3a6c.js} +22 -22
- package/dist/chunks/{kv-z543s5m4.js → variant-ngjw7veb.js} +3 -3
- package/dist/chunks/{kv-wp96n48x.js → variant-nj481gba.js} +5 -5
- package/dist/chunks/{kv-4nfmj2pa.js → variant-nk7804dj.js} +11 -11
- package/dist/chunks/{kv-5c7xdf35.js → variant-nmvjxe16.js} +10 -10
- package/dist/chunks/{kv-r9ds02vs.js → variant-nq97rzw1.js} +21 -21
- package/dist/chunks/{kv-jte7tjff.js → variant-nv7t75ky.js} +14 -14
- package/dist/chunks/{kv-nby32ptr.js → variant-nydghdxw.js} +27 -27
- package/dist/chunks/{kv-k3c624dm.js → variant-nzks3jc8.js} +3 -3
- package/dist/chunks/{kv-p37cw4rj.js → variant-p37cw4rj.js} +1 -1
- package/dist/chunks/{kv-gxa50yrh.js → variant-p8djes8h.js} +19 -19
- package/dist/chunks/{kv-57ez7d0k.js → variant-pef6k0gg.js} +9 -9
- package/dist/chunks/{kv-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → variant-pknna89w.js} +1 -1
- package/dist/chunks/{kv-rv6yjsw0.js → variant-ppxpc5nv.js} +3 -3
- package/dist/chunks/{kv-8p4f9s12.js → variant-psazpmmj.js} +3 -2
- package/dist/chunks/{kv-fzz5a1bx.js → variant-pt7424fw.js} +9 -9
- package/dist/chunks/{kv-hfdr1yjj.js → variant-q7azfttr.js} +4 -4
- package/dist/chunks/{kv-50p05jhk.js → variant-q7mj73f6.js} +25 -25
- package/dist/chunks/variant-qapv375x.js +4 -0
- package/dist/chunks/{kv-qcaxkbzb.js → variant-qmkkft71.js} +21 -21
- package/dist/chunks/{kv-qsdy395h.js → variant-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-cpneeje0.js → variant-r2m716tb.js} +9 -9
- package/dist/chunks/{kv-gh6rxzv3.js → variant-r39jerzg.js} +12 -12
- package/dist/chunks/{kv-bwf58ycy.js → variant-r6cdbtvh.js} +4 -4
- package/dist/chunks/{kv-dq2ts99x.js → variant-r8bjv7hd.js} +15 -15
- package/dist/chunks/{kv-e7w4bzfp.js → variant-r9684t3a.js} +13 -13
- package/dist/chunks/{kv-saj8ej6e.js → variant-rbqcddk9.js} +11 -11
- package/dist/chunks/{kv-w7tywmb9.js → variant-rc0khjqf.js} +12 -12
- package/dist/chunks/{kv-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
- package/dist/chunks/{kv-p0aq747x.js → variant-rh1n8m2g.js} +11 -11
- package/dist/chunks/{kv-j3s2z371.js → variant-rhafb4aa.js} +9 -9
- package/dist/chunks/{kv-ahg2fzmr.js → variant-rt8yt3bf.js} +17 -17
- package/dist/chunks/{kv-4wxt30p3.js → variant-rtgnjske.js} +33 -33
- package/dist/chunks/{kv-ygknhksg.js → variant-rwnjws6z.js} +10 -10
- package/dist/chunks/{kv-17hzcrm0.js → variant-s07fdbeq.js} +19 -19
- package/dist/chunks/{kv-1v02azyb.js → variant-s41dxx30.js} +1 -1
- package/dist/chunks/{kv-yrznvahk.js → variant-s4enseaf.js} +2 -2
- package/dist/chunks/{kv-0jq9fyba.js → variant-s5d9hk7s.js} +9 -9
- package/dist/chunks/{kv-6vaskwyw.js → variant-s7h606h9.js} +19 -19
- package/dist/chunks/{kv-z37ms1s1.js → variant-sjgae2xy.js} +17 -17
- package/dist/chunks/{kv-hc50k08t.js → variant-stas9bdh.js} +9 -9
- package/dist/chunks/{kv-9jgjgdd1.js → variant-t0yy7xg2.js} +76 -76
- package/dist/chunks/{kv-ab55kpvp.js → variant-t3hvp6ye.js} +35 -35
- package/dist/chunks/{kv-ryr1zws9.js → variant-t6055e0v.js} +31 -31
- package/dist/chunks/{kv-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-277eer69.js → variant-tbmac1c7.js} +4 -4
- package/dist/chunks/{kv-tcezcvh9.js → variant-tcezcvh9.js} +1 -1
- package/dist/chunks/{kv-tdstcens.js → variant-tdstcens.js} +1 -1
- package/dist/chunks/{kv-ks1687eg.js → variant-tk2xtqnn.js} +30 -30
- package/dist/chunks/{kv-tvtrv512.js → variant-tvtrv512.js} +1 -1
- package/dist/chunks/{kv-tk40ge2q.js → variant-v1nyvan4.js} +38 -38
- package/dist/chunks/{kv-cyets4p7.js → variant-v1x57w6y.js} +32 -32
- package/dist/chunks/{kv-pe889297.js → variant-v7eyjk8c.js} +34 -34
- package/dist/chunks/{kv-veqvce7d.js → variant-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-gnezz7kq.js → variant-vkepkbsm.js} +19 -19
- package/dist/chunks/{kv-9bqmh40y.js → variant-vrk0cgw0.js} +21 -21
- package/dist/chunks/{kv-v3sgzvyr.js → variant-vtd2qwnf.js} +1 -1
- package/dist/chunks/{kv-t8t07vn8.js → variant-vya4f7hk.js} +13 -13
- package/dist/chunks/{kv-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
- package/dist/chunks/{kv-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-w1ad28wa.js → variant-was7srj9.js} +8 -8
- package/dist/chunks/{kv-tdx2ferx.js → variant-wbtey438.js} +8 -8
- package/dist/chunks/{kv-wd87259q.js → variant-wd87259q.js} +1 -1
- package/dist/chunks/{kv-742d1swr.js → variant-wnsqmkbm.js} +26 -26
- package/dist/chunks/{kv-eqk40qcs.js → variant-wtm3ybk1.js} +3 -3
- package/dist/chunks/{kv-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-6hh8tjw2.js → variant-xb02k0wq.js} +4 -4
- package/dist/chunks/{kv-y49vr829.js → variant-xe0jn6g3.js} +5 -5
- package/dist/chunks/{kv-skyymkrr.js → variant-xkhfjrgz.js} +3 -3
- package/dist/chunks/{kv-cyrsd82e.js → variant-xycc92pn.js} +30 -30
- package/dist/chunks/{kv-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-y71avatq.js → variant-y71avatq.js} +1 -1
- package/dist/chunks/{kv-z7f79qsj.js → variant-yaktvxn2.js} +18 -18
- package/dist/chunks/{kv-fm57n0ag.js → variant-ybday7y9.js} +8 -8
- package/dist/chunks/{kv-we5eykgc.js → variant-yf5fe4my.js} +18 -18
- package/dist/chunks/{kv-aej8eep8.js → variant-yh7kjdpc.js} +9 -9
- package/dist/chunks/{kv-yp2x3t23.js → variant-yp2x3t23.js} +1 -1
- package/dist/chunks/{kv-pnapwefn.js → variant-yq6sxka3.js} +52 -48
- package/dist/chunks/{kv-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
- package/dist/chunks/{kv-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-wxqhnnpd.js → variant-z16bdfpw.js} +9 -9
- package/dist/chunks/{kv-3w0fmcng.js → variant-z3pw5915.js} +5 -5
- package/dist/chunks/{kv-na3wjac3.js → variant-zd5rdewp.js} +5 -5
- package/dist/chunks/{kv-zeh9ct20.js → variant-zeh9ct20.js} +2 -2
- package/dist/chunks/{kv-p1aa38cv.js → variant-zqy8ejrp.js} +14 -14
- package/dist/chunks/{kv-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-zav06jzw.js → variant-zvt5dnpc.js} +4 -4
- package/dist/chunks/{kv-9065type.js → variant-zxbrzaq9.js} +13 -13
- package/dist/chunks/{kv-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
- package/dist/chunks/{kv-rwjqg74r.js → variant-zzexawz9.js} +26 -26
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +123 -122
- package/dist/config/plugin/skill-file.js +102 -101
- package/dist/config/plugin/skill.js +144 -143
- package/dist/config/plugin/snapshot.js +123 -122
- package/dist/config/plugin/source.js +126 -125
- package/dist/config/plugin/tool-output.js +125 -124
- package/dist/config/plugin/websearch.js +122 -121
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +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 +1 -1
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +225 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -101
- package/dist/form.js +84 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +85 -84
- package/dist/generate.js +105 -104
- 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 +99 -98
- 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 +81 -80
- package/dist/instructions/builtins.js +87 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -85
- package/dist/job.js +79 -78
- 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 +107 -105
- 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 +89 -88
- 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 +99 -98
- package/dist/model-resolver.js +98 -97
- package/dist/model.js +96 -95
- package/dist/models-dev.js +107 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -87
- 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 +1 -1
- 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 +5 -5
- package/dist/plugin/optimize.js +2 -2
- 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 +92 -91
- 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 +120 -119
- 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 +1 -1
- package/dist/plugin/skill.js +141 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -348
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -89
- package/dist/provider.js +95 -94
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -97
- package/dist/reference/instructions.js +89 -88
- package/dist/reference.js +91 -90
- 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 +132 -131
- package/dist/session/context.js +150 -149
- 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 +153 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -85
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -228
- 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 +112 -111
- package/dist/session/runner/step.js +124 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -171
- 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 +87 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -153
- package/dist/session/to-session-error.js +111 -110
- package/dist/session/transfer.js +220 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +138 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -104
- package/dist/skill.js +110 -109
- 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 +120 -119
- package/dist/tool/plugin/grep.js +124 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -121
- package/dist/tool/plugin/question.js +101 -100
- package/dist/tool/plugin/read.js +125 -124
- package/dist/tool/plugin/shell.js +215 -214
- package/dist/tool/plugin/skill.js +113 -112
- package/dist/tool/plugin/subagent.js +219 -218
- package/dist/tool/plugin/webfetch.js +112 -111
- package/dist/tool/plugin/websearch.js +110 -109
- 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 +10 -10
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -91
- package/dist/v1/config/permission.js +7 -7
- 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 +89 -88
- 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 +96 -95
- package/package.json +8 -8
- package/dist/chunks/kv-0mesazry.js +0 -4
- package/dist/chunks/kv-53x5pmg1.js +0 -26
- package/dist/chunks/kv-mkcktwrm.js +0 -252
- package/dist/chunks/kv-vkcvdpjh.js +0 -65
- /package/dist/chunks/{kv-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → variant-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → variant-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → variant-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → variant-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → variant-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → variant-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → variant-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → variant-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → variant-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → variant-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-922hggd3.js → variant-922hggd3.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → variant-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → variant-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → variant-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → variant-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → variant-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → variant-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → variant-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → variant-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → variant-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → variant-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → variant-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → variant-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → variant-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → variant-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → variant-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → variant-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → variant-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → variant-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → variant-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → variant-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → variant-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → variant-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → variant-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → variant-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node87
|
|
7
|
+
} from "./variant-0f3fkebw.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service81,
|
|
11
|
+
node85
|
|
12
|
+
} from "./variant-apg24jar.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service75,
|
|
15
|
+
node79
|
|
16
|
+
} from "./variant-ehd2w0yp.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service62,
|
|
19
|
+
node65
|
|
20
|
+
} from "./variant-4n6z1r8s.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID17,
|
|
23
|
+
Service80,
|
|
24
|
+
node84
|
|
25
|
+
} from "./variant-nydghdxw.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./variant-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID16,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service79,
|
|
34
|
+
node83
|
|
35
|
+
} from "./variant-kqbmdx55.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./variant-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service35,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured5,
|
|
57
|
+
layer: () => layer14,
|
|
58
|
+
node: () => node38
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service35 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options5 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const bus = yield*
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
104
|
+
var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service75;
|
|
106
|
+
const environment = yield* Service62;
|
|
107
|
+
const bus = yield* Service83;
|
|
108
|
+
const forms = yield* Service80;
|
|
109
|
+
const integration = yield* Service79;
|
|
110
|
+
const credentials = yield* Service81;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer12 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID16.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer12 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service81, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer12 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError5({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service81, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID17.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer12 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
243
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service62, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -365,7 +365,7 @@ var layer12 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
365
365
|
yield* startServer(name, entry);
|
|
366
366
|
}).pipe(locks.withLock(name));
|
|
367
367
|
});
|
|
368
|
-
fork(bus.subscribe(
|
|
368
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
369
369
|
const state = create3({
|
|
370
370
|
name: "mcp",
|
|
371
371
|
initial: () => ({
|
|
@@ -391,7 +391,7 @@ var layer12 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service35.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,14 +510,14 @@ var layer12 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured5(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
516
|
-
layer:
|
|
517
|
-
deps: [
|
|
515
|
+
service: Service35,
|
|
516
|
+
layer: layer14(options),
|
|
517
|
+
deps: [node79, node65, node87, node84, node83, node85]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node38 = configured5();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service35, Options5, layer14, configured5, node38, exports_mcp4 };
|
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-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 "./variant-wtm3ybk1.js";
|
|
12
8
|
import {
|
|
13
9
|
Service83,
|
|
14
10
|
node87
|
|
15
|
-
} from "./
|
|
11
|
+
} from "./variant-0f3fkebw.js";
|
|
12
|
+
import {
|
|
13
|
+
Service77,
|
|
14
|
+
node81
|
|
15
|
+
} from "./variant-0z6w7vfv.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID15,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info31,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event17,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./variant-pef6k0gg.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./variant-psazpmmj.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./variant-gfvb90ym.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./variant-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID14,
|
|
40
|
+
Info: () => Info30,
|
|
41
|
+
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service76,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node80,
|
|
47
47
|
root: () => root2
|
|
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";
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID14 = ID15;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info30 = Info31;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID14
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -70,8 +70,9 @@ 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
|
-
class
|
|
75
|
+
class Service76 extends Context.Service()("@opencode/Project") {
|
|
75
76
|
}
|
|
76
77
|
function fromRow(row) {
|
|
77
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -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
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
97
99
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service77;
|
|
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) {
|
|
@@ -106,7 +108,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
106
108
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
107
109
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
108
110
|
if (row)
|
|
109
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event17.Updated, fromRow(row));
|
|
110
112
|
}
|
|
111
113
|
if (!project.vcs)
|
|
112
114
|
return project;
|
|
@@ -143,7 +145,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
143
145
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
144
146
|
projectID: item.projectID,
|
|
145
147
|
directory: item.directory,
|
|
146
|
-
previous: project.previous ??
|
|
148
|
+
previous: project.previous ?? ID14.global,
|
|
147
149
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
148
150
|
}, {
|
|
149
151
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -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) {
|
|
@@ -166,13 +168,23 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
166
168
|
time_updated: Date.now()
|
|
167
169
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
168
170
|
if (!row)
|
|
169
|
-
return yield* new
|
|
171
|
+
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
170
172
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event17.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(Event17.Updated, fromRow(row));
|
|
185
|
+
});
|
|
174
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
187
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID14.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
188
|
return;
|
|
177
189
|
}));
|
|
178
190
|
});
|
|
@@ -183,7 +195,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
183
195
|
const normalized = url(origin);
|
|
184
196
|
if (!normalized)
|
|
185
197
|
return;
|
|
186
|
-
return
|
|
198
|
+
return ID14.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
199
|
});
|
|
188
200
|
function url(input) {
|
|
189
201
|
const value = input.trim();
|
|
@@ -208,7 +220,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
208
220
|
}
|
|
209
221
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
222
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
223
|
+
return root ? ID14.make(root) : undefined;
|
|
212
224
|
});
|
|
213
225
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
226
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +236,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
224
236
|
return;
|
|
225
237
|
const node = result.stdout.toString("utf8").split(`
|
|
226
238
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
239
|
+
return node ? ID14.make(node) : undefined;
|
|
228
240
|
});
|
|
229
241
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
242
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +245,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
233
245
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
246
|
return {
|
|
235
247
|
previous,
|
|
236
|
-
id: id ??
|
|
248
|
+
id: id ?? ID14.global,
|
|
237
249
|
directory: worktree,
|
|
238
250
|
vcs: { type: "hg", store }
|
|
239
251
|
};
|
|
@@ -250,7 +262,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
250
262
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
263
|
return yield* persist({
|
|
252
264
|
previous,
|
|
253
|
-
id: id ??
|
|
265
|
+
id: id ?? ID14.global,
|
|
254
266
|
directory: repo.worktree,
|
|
255
267
|
canonical,
|
|
256
268
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +276,18 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
264
276
|
});
|
|
265
277
|
}
|
|
266
278
|
return yield* persist({
|
|
267
|
-
id:
|
|
279
|
+
id: ID14.make(Hash.fast(`directory:${directory}`)),
|
|
268
280
|
directory,
|
|
269
281
|
canonical: directory,
|
|
270
282
|
vcs: undefined
|
|
271
283
|
});
|
|
272
284
|
});
|
|
273
|
-
return
|
|
285
|
+
return Service76.of({ list, update, activate, resolve });
|
|
274
286
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
287
|
+
var node80 = makeGlobalNode({
|
|
288
|
+
service: Service76,
|
|
277
289
|
layer,
|
|
278
|
-
deps: [
|
|
290
|
+
deps: [node87, node88, FSUtil.node, node81, AppProcess.node]
|
|
279
291
|
});
|
|
280
292
|
|
|
281
|
-
export {
|
|
293
|
+
export { ID14, Vcs2, Current2, Info30, UpdateInput3, NotFoundError10, root2, Service76, node80, exports_project };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-wtm3ybk1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./variant-0f3fkebw.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./variant-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./variant-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./variant-3g33scay.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
load4
|
|
23
|
+
} from "./variant-e37stjd8.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./variant-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./variant-vtd2qwnf.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./variant-9jwjh49g.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./variant-g04dwg7s.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./variant-jes8xwtq.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./variant-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./variant-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./variant-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction3 = {};
|
|
56
56
|
__export(exports_compaction3, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service12,
|
|
58
58
|
SessionCompaction: () => exports_compaction3,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer7,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node14,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service12 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,8 +298,8 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var layer7 = Layer.effect(
|
|
302
|
-
const bus = yield*
|
|
301
|
+
var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
302
|
+
const bus = yield* Service83;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service84).db;
|
|
305
305
|
const state = create3({
|
|
@@ -377,7 +377,7 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
377
377
|
webSocket
|
|
378
378
|
});
|
|
379
379
|
};
|
|
380
|
-
const original = (sessionID) =>
|
|
380
|
+
const original = (sessionID) => load4(db, sessionID, "local").pipe(Effect.orDie);
|
|
381
381
|
const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
|
|
382
382
|
const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
|
|
383
383
|
const context = input.context;
|
|
@@ -606,7 +606,7 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
606
606
|
}
|
|
607
607
|
}));
|
|
608
608
|
});
|
|
609
|
-
return
|
|
609
|
+
return Service12.of({
|
|
610
610
|
transform: state.transform,
|
|
611
611
|
reload: state.reload,
|
|
612
612
|
enabled: () => state.get().auto,
|
|
@@ -615,10 +615,10 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
615
615
|
compactManual
|
|
616
616
|
});
|
|
617
617
|
}));
|
|
618
|
-
var
|
|
619
|
-
service:
|
|
618
|
+
var node14 = makeLocationNode({
|
|
619
|
+
service: Service12,
|
|
620
620
|
layer: layer7,
|
|
621
|
-
deps: [
|
|
621
|
+
deps: [node87, node88, llmClient2]
|
|
622
622
|
});
|
|
623
623
|
|
|
624
|
-
export {
|
|
624
|
+
export { Service12, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node14, exports_compaction3 };
|