@opencode/core 0.0.0-dev-20470 → 0.0.0-dev-20472
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{mime-0a62tskg.js → tool-01vj6crb.js} +11 -11
- package/dist/chunks/{mime-dnxkq42g.js → tool-068serwz.js} +4 -4
- package/dist/chunks/{mime-6wqswahh.js → tool-0gtjmwnv.js} +32 -32
- package/dist/chunks/{mime-pmjfnjve.js → tool-0h1m2r9k.js} +7 -7
- package/dist/chunks/{mime-qgn6gcr1.js → tool-0jwsre1p.js} +5 -5
- package/dist/chunks/{mime-e6psn9y2.js → tool-0ma4vy4p.js} +4 -4
- package/dist/chunks/{mime-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{mime-dphnx1wg.js → tool-0psyspmj.js} +17 -17
- package/dist/chunks/{mime-tz67dcvr.js → tool-0q6e04md.js} +47 -47
- package/dist/chunks/{mime-pr4tzdnn.js → tool-0qa6hg2d.js} +5 -5
- package/dist/chunks/{mime-0emb60td.js → tool-0vbcp93d.js} +2 -2
- package/dist/chunks/{mime-kjfy6aqy.js → tool-0vz2twak.js} +16 -16
- package/dist/chunks/{mime-05t99dhf.js → tool-0wt4yx46.js} +3 -3
- package/dist/chunks/{mime-espax8zg.js → tool-0xqyf95c.js} +4 -4
- package/dist/chunks/{mime-n0tvkx1b.js → tool-0xvj5dy1.js} +13 -13
- package/dist/chunks/{mime-yt3hy1g9.js → tool-150yg2gd.js} +5 -5
- package/dist/chunks/{mime-d3ymxdyw.js → tool-16rtyza8.js} +26 -26
- package/dist/chunks/{mime-1yedb2yx.js → tool-17e7mjev.js} +9 -9
- package/dist/chunks/{mime-r8xr0va3.js → tool-1acjjqhc.js} +4 -4
- package/dist/chunks/{mime-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
- package/dist/chunks/{mime-84h8c373.js → tool-1dvck2a7.js} +2 -2
- package/dist/chunks/{mime-068gpbd9.js → tool-1egym0t3.js} +41 -41
- package/dist/chunks/{mime-s9kb2yg2.js → tool-1m5kq2rb.js} +8 -8
- package/dist/chunks/{mime-21r38tys.js → tool-21r38tys.js} +1 -1
- package/dist/chunks/{mime-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
- package/dist/chunks/{mime-b998q84g.js → tool-2rwb967c.js} +36 -36
- package/dist/chunks/{mime-7yb2ybf6.js → tool-2t0ky1d2.js} +13 -13
- package/dist/chunks/{mime-y6q12yz9.js → tool-2tmdj2y2.js} +51 -51
- package/dist/chunks/{mime-jvf3yq6v.js → tool-2vs2nh1n.js} +4 -4
- package/dist/chunks/{mime-66az4k2s.js → tool-2xap9sjc.js} +26 -26
- package/dist/chunks/{mime-w4cerd5t.js → tool-2ywzxrtj.js} +41 -41
- package/dist/chunks/{mime-tc2bp7te.js → tool-331jtpav.js} +10 -10
- package/dist/chunks/{mime-56gdpj1q.js → tool-33w4ejhs.js} +6 -6
- package/dist/chunks/{mime-mhm95nh1.js → tool-35nvda3r.js} +23 -23
- package/dist/chunks/{mime-zyvzzg4e.js → tool-367tnyhe.js} +15 -15
- package/dist/chunks/{mime-31770cq8.js → tool-39087s82.js} +10 -10
- package/dist/chunks/{mime-1ezwtg26.js → tool-3dxcfbvg.js} +8 -8
- package/dist/chunks/{mime-h377qqqs.js → tool-3ensxc03.js} +17 -17
- package/dist/chunks/{mime-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-mqf7qztk.js → tool-3hqn980y.js} +21 -21
- package/dist/chunks/{mime-3t793sqb.js → tool-3q5heb5a.js} +1 -1
- package/dist/chunks/{mime-nqv404gn.js → tool-3r13hppx.js} +2 -2
- package/dist/chunks/{mime-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-m35a1js7.js → tool-3sthn561.js} +16 -16
- package/dist/chunks/{mime-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-vjjxy6yb.js → tool-3vddgz3b.js} +6 -6
- package/dist/chunks/{mime-ddweaty3.js → tool-3ym878v0.js} +25 -25
- package/dist/chunks/{mime-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
- package/dist/chunks/{mime-xrds2yvy.js → tool-46j8w8vf.js} +17 -17
- package/dist/chunks/{mime-43kvem2p.js → tool-47jkzegy.js} +5 -5
- package/dist/chunks/{mime-xe3c0b6j.js → tool-4gtnaf1q.js} +33 -33
- package/dist/chunks/{mime-06dj46ky.js → tool-4h10ah5b.js} +9 -9
- package/dist/chunks/{mime-51f5btjf.js → tool-4mwpykj0.js} +6 -6
- package/dist/chunks/{mime-4jyvzrab.js → tool-4nj4bn9q.js} +9 -9
- package/dist/chunks/{mime-z3zvc1my.js → tool-4pf9cp6z.js} +8 -8
- package/dist/chunks/{mime-4ts7tf6z.js → tool-4ts7tf6z.js} +2 -2
- package/dist/chunks/{mime-g9v737mn.js → tool-4ve89d8e.js} +6 -6
- package/dist/chunks/{mime-zc96g2bq.js → tool-4xh45ynr.js} +13 -13
- package/dist/chunks/{mime-0h4fw62m.js → tool-53eqz1v2.js} +2 -2
- package/dist/chunks/{mime-54ma36ye.js → tool-54ma36ye.js} +1 -1
- package/dist/chunks/{mime-eyeb6xk3.js → tool-55n934x1.js} +17 -17
- package/dist/chunks/{mime-74e4jmfh.js → tool-56r9g34b.js} +26 -26
- package/dist/chunks/{mime-r4m5gmwp.js → tool-59376ey9.js} +11 -11
- package/dist/chunks/{mime-5daktx2q.js → tool-5daktx2q.js} +1 -1
- package/dist/chunks/{mime-xtax8pzg.js → tool-5dwsqdnn.js} +21 -21
- package/dist/chunks/{mime-8twmn6r7.js → tool-5hjzwc51.js} +20 -20
- package/dist/chunks/{mime-ewge9cav.js → tool-5hsj21bq.js} +14 -14
- package/dist/chunks/{mime-k3yea1v9.js → tool-5qwkxp89.js} +4 -4
- package/dist/chunks/{mime-675p05bk.js → tool-5rrd0wgj.js} +16 -16
- package/dist/chunks/{mime-6epc62pm.js → tool-5sb33w33.js} +5 -5
- package/dist/chunks/{mime-xn8j4qgz.js → tool-5spq5w86.js} +35 -35
- package/dist/chunks/{mime-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
- package/dist/chunks/{mime-5xtgfte3.js → tool-5yzzbxa7.js} +8 -8
- package/dist/chunks/{mime-qecm58md.js → tool-64mbz47k.js} +6 -6
- package/dist/chunks/{mime-669tq793.js → tool-669tq793.js} +1 -1
- package/dist/chunks/{mime-f1yhsvj9.js → tool-6713qhv3.js} +3 -3
- package/dist/chunks/{mime-vnzmcpcw.js → tool-6f0yry1r.js} +11 -11
- package/dist/chunks/{mime-a8nehgcf.js → tool-6f1n1136.js} +26 -26
- package/dist/chunks/{mime-ratrq7cm.js → tool-6hh8tjw2.js} +4 -4
- package/dist/chunks/{mime-sg7q32v8.js → tool-6mz873gg.js} +34 -34
- package/dist/chunks/{mime-r27bg8y4.js → tool-6yrb0ee6.js} +47 -47
- package/dist/chunks/{mime-f75zav2x.js → tool-71az546q.js} +2 -2
- package/dist/chunks/{mime-86qjnnqk.js → tool-72rw85ce.js} +11 -11
- package/dist/chunks/{mime-a1gpj94z.js → tool-73tb2d7t.js} +3 -3
- package/dist/chunks/{mime-mfeg5k3q.js → tool-798nffs7.js} +7 -7
- package/dist/chunks/{mime-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-jzsz9v64.js → tool-7dkh56cg.js} +34 -34
- package/dist/chunks/{mime-7e50kkn8.js → tool-7vd0q4gx.js} +22 -22
- package/dist/chunks/{mime-9s1fef2z.js → tool-7wnkabmt.js} +12 -12
- package/dist/chunks/{mime-8r9d4f7f.js → tool-7z0hsedk.js} +10 -10
- package/dist/chunks/{mime-bfrkyb4v.js → tool-7zrcenrt.js} +36 -36
- package/dist/chunks/{mime-gv2yjgzz.js → tool-83zz9by4.js} +10 -10
- package/dist/chunks/{mime-84txncab.js → tool-84txncab.js} +1 -1
- package/dist/chunks/{mime-ajkppa7x.js → tool-89fvn49q.js} +32 -32
- package/dist/chunks/{mime-n59v16j7.js → tool-89t0bv35.js} +83 -83
- package/dist/chunks/{mime-wmz9gz0a.js → tool-8a6ws7jr.js} +9 -9
- package/dist/chunks/{mime-2hr5nhwa.js → tool-8aaqm6qj.js} +8 -8
- package/dist/chunks/{mime-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
- package/dist/chunks/{mime-wkhdexc5.js → tool-8efxrb1d.js} +5 -5
- package/dist/chunks/{mime-7jvpbwfz.js → tool-8nykf3n3.js} +27 -27
- package/dist/chunks/{mime-59gjxxx9.js → tool-8sbrsbjz.js} +25 -25
- package/dist/chunks/{mime-x5prftgx.js → tool-8vg2w7m1.js} +3 -3
- package/dist/chunks/{mime-57e9z27j.js → tool-90p59b3a.js} +8 -8
- package/dist/chunks/{mime-jexxy024.js → tool-93hpb89x.js} +3 -3
- package/dist/chunks/tool-99qazkpk.js +26 -0
- package/dist/chunks/{mime-kb9j3d72.js → tool-9e5bzkjp.js} +3 -3
- package/dist/chunks/{mime-d328dj5n.js → tool-9eyjn78q.js} +32 -32
- package/dist/chunks/{mime-s8d7rejh.js → tool-9t7a50xb.js} +4 -4
- package/dist/chunks/{mime-73sha07p.js → tool-a2954sdm.js} +21 -21
- package/dist/chunks/{mime-2j5t9zjq.js → tool-a3wk7f1b.js} +33 -33
- package/dist/chunks/{mime-xgrkhhdd.js → tool-a5my4mnh.js} +45 -45
- package/dist/chunks/{mime-0nde5ztd.js → tool-a694798e.js} +5 -5
- package/dist/chunks/{mime-aaet6srn.js → tool-aaet6srn.js} +2 -2
- package/dist/chunks/{mime-mncep7ma.js → tool-adrzke39.js} +9 -9
- package/dist/chunks/{mime-61w87evq.js → tool-apw32n9p.js} +37 -37
- package/dist/chunks/{mime-8ank75fn.js → tool-at1kfnmk.js} +4 -4
- package/dist/chunks/{mime-bpgchkmt.js → tool-azvg6g4c.js} +9 -9
- package/dist/chunks/{mime-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
- package/dist/chunks/{mime-nvxd4a3z.js → tool-b8svndy5.js} +15 -15
- package/dist/chunks/{mime-t0dtkzr7.js → tool-b8y6m0vr.js} +13 -13
- package/dist/chunks/{mime-j8t255bq.js → tool-bnfyw5ja.js} +4 -4
- package/dist/chunks/{mime-mdy91dzd.js → tool-bxy1ctzg.js} +11 -11
- package/dist/chunks/{mime-y0hjkqeb.js → tool-bzchk968.js} +16 -16
- package/dist/chunks/{mime-cfsekr6v.js → tool-cfsekr6v.js} +2 -2
- package/dist/chunks/{mime-wtqdm9z0.js → tool-cq43qyqm.js} +16 -16
- package/dist/chunks/{mime-vm1e42pn.js → tool-cxhqznm4.js} +31 -31
- package/dist/chunks/{mime-38a0tmmt.js → tool-d0w45w1g.js} +6 -6
- package/dist/chunks/{mime-t67r96zt.js → tool-d1mxnk9b.js} +5 -5
- package/dist/chunks/{mime-ep96ymdh.js → tool-d6x8wjh2.js} +40 -40
- package/dist/chunks/{mime-cwa6csj7.js → tool-djszqvmq.js} +9 -9
- package/dist/chunks/{mime-nxm207yx.js → tool-dpkg50ah.js} +4 -4
- package/dist/chunks/{mime-qewcqqea.js → tool-dq6jrfnm.js} +20 -20
- package/dist/chunks/{mime-cvnmwk6c.js → tool-dxjv2ykb.js} +17 -17
- package/dist/chunks/{mime-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{mime-f7vgrd2g.js → tool-ekpgh6d5.js} +15 -15
- package/dist/chunks/{mime-2wzcstvr.js → tool-emd75jk3.js} +11 -11
- package/dist/chunks/{mime-3bzke43f.js → tool-etpckvav.js} +11 -11
- package/dist/chunks/{mime-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
- package/dist/chunks/{mime-wvc0kw0p.js → tool-ev9z8jfx.js} +5 -5
- package/dist/chunks/{mime-qepntzbg.js → tool-f3y2xgd9.js} +20 -20
- package/dist/chunks/{mime-cw8j8gm3.js → tool-f4rymznk.js} +13 -13
- package/dist/chunks/{mime-m6f3t844.js → tool-f5gy8qwh.js} +8 -8
- package/dist/chunks/{mime-kvkq3jdm.js → tool-fnyka1s1.js} +7 -7
- package/dist/chunks/{mime-ye9wteb0.js → tool-frna90m0.js} +19 -19
- package/dist/chunks/{mime-v3ant3rv.js → tool-ftynxttp.js} +15 -15
- package/dist/chunks/{mime-8kch91gp.js → tool-fw3dky2w.js} +17 -17
- package/dist/chunks/{mime-5s91rp69.js → tool-fxp95myf.js} +17 -17
- package/dist/chunks/{mime-g5w8qwbj.js → tool-g5w8qwbj.js} +1 -1
- package/dist/chunks/{mime-s0224r3c.js → tool-g7xsht76.js} +8 -8
- package/dist/chunks/{mime-8439xzqf.js → tool-g9xjst3r.js} +19 -19
- package/dist/chunks/{mime-qy24xa0s.js → tool-gce79w0q.js} +15 -15
- package/dist/chunks/{mime-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-3gc434y9.js → tool-grq1sczm.js} +11 -11
- package/dist/chunks/{mime-f4a4fymy.js → tool-gvv136sf.js} +4 -4
- package/dist/chunks/{mime-f29mbr7f.js → tool-gw7cjrad.js} +4 -4
- package/dist/chunks/{mime-3cegwx68.js → tool-h2b79v29.js} +2 -2
- package/dist/chunks/{mime-334pc9ed.js → tool-h2fzzx8t.js} +6 -6
- package/dist/chunks/{mime-1fmrbde1.js → tool-h6nxw0pd.js} +6 -6
- package/dist/chunks/{mime-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-57t2akgp.js → tool-h85krvk7.js} +48 -48
- package/dist/chunks/{mime-knvbkgg0.js → tool-h8jdcdjx.js} +13 -13
- package/dist/chunks/{mime-ta9v1xwm.js → tool-hqm5br06.js} +300 -300
- package/dist/chunks/tool-ht5y0zrb.js +18 -0
- package/dist/chunks/{mime-15h1bbb3.js → tool-hv7gj7jm.js} +72 -72
- package/dist/chunks/{mime-pcqej2dj.js → tool-hva7ke4f.js} +22 -22
- package/dist/chunks/{mime-3zmmk8jr.js → tool-hvb31e4h.js} +18 -18
- package/dist/chunks/{mime-tv8mz1yx.js → tool-hwzc49pr.js} +20 -20
- package/dist/chunks/{mime-c738tryd.js → tool-j0yek2qa.js} +22 -22
- package/dist/chunks/{mime-e1kaz002.js → tool-j255ygs0.js} +15 -15
- package/dist/chunks/{mime-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-21tqyygk.js → tool-j92d0j7v.js} +41 -41
- package/dist/chunks/{mime-x53sfaky.js → tool-jad3eb5n.js} +11 -11
- package/dist/chunks/{mime-q9ah5cgy.js → tool-jcws1aax.js} +32 -32
- package/dist/chunks/{mime-ykfv63at.js → tool-je52f75z.js} +10 -10
- package/dist/chunks/{mime-ap9q6hx1.js → tool-jgb1x1d9.js} +48 -48
- package/dist/chunks/{mime-h2tzjape.js → tool-jn6gv895.js} +23 -23
- package/dist/chunks/{mime-g190xswt.js → tool-k2h4r4s0.js} +4 -4
- package/dist/chunks/{mime-01vbh4b3.js → tool-k3vbf9cz.js} +13 -13
- package/dist/chunks/{mime-a8tz3pvz.js → tool-k3xmg675.js} +12 -12
- package/dist/chunks/{mime-v9c6pdvn.js → tool-kkbh4h1z.js} +23 -23
- package/dist/chunks/{mime-2va8heef.js → tool-kn3m44fm.js} +5 -5
- package/dist/chunks/{mime-stnejjkn.js → tool-kxcd4fwb.js} +5 -5
- package/dist/chunks/{mime-m7h1967w.js → tool-m028xtpq.js} +22 -22
- package/dist/chunks/{mime-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
- package/dist/chunks/{mime-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-qd6pb4xn.js → tool-mazbtkaa.js} +2 -2
- package/dist/chunks/{mime-fjdps7eb.js → tool-mp1xsmy4.js} +8 -8
- package/dist/chunks/{mime-j3rxv4am.js → tool-mpcan42b.js} +9 -9
- package/dist/chunks/{mime-pgzt0k19.js → tool-mvzzranc.js} +19 -19
- package/dist/chunks/{mime-5acs1xhz.js → tool-mx83wbf3.js} +9 -9
- package/dist/chunks/{mime-8n3f0kbg.js → tool-mydkh4yr.js} +24 -24
- package/dist/chunks/{mime-tkzj0056.js → tool-n1edfwxj.js} +4 -4
- package/dist/chunks/{mime-r8z1rt2e.js → tool-n2ckjg3g.js} +29 -29
- package/dist/chunks/{mime-mtwm9ezq.js → tool-n5bh2s1p.js} +21 -21
- package/dist/chunks/{mime-b8j60jjz.js → tool-n5w4zgy3.js} +5 -5
- package/dist/chunks/{mime-aq20xgnp.js → tool-n9p5arwt.js} +28 -28
- package/dist/chunks/{mime-cybsyzkk.js → tool-nas0hrdm.js} +28 -28
- package/dist/chunks/{mime-f2gtdjdp.js → tool-ndknajfb.js} +23 -23
- package/dist/chunks/{mime-q5nw5m1n.js → tool-ndqtf2h8.js} +6 -6
- package/dist/chunks/{mime-z6aw0mzm.js → tool-nzk3n54h.js} +15 -15
- package/dist/chunks/{mime-mqgb4hkm.js → tool-p2fthcwt.js} +8 -8
- package/dist/chunks/{mime-1evbeta6.js → tool-p7t1r6rx.js} +3 -3
- package/dist/chunks/{mime-ednvghyx.js → tool-p9dad75k.js} +44 -44
- package/dist/chunks/{mime-d6efa7rx.js → tool-pbcje335.js} +13 -13
- package/dist/chunks/{mime-2d57kztd.js → tool-pf2hb43r.js} +4 -4
- package/dist/chunks/{mime-aker6v60.js → tool-pg4efk5v.js} +12 -12
- package/dist/chunks/{mime-83mtbh1h.js → tool-pg6zqtd0.js} +3 -3
- package/dist/chunks/{mime-sfpt4edp.js → tool-pjf8abb1.js} +14 -14
- package/dist/chunks/{mime-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{mime-r5q07pyt.js → tool-prwmz47j.js} +11 -11
- package/dist/chunks/{mime-c9x2jsqt.js → tool-q0vx6mrg.js} +9 -9
- package/dist/chunks/{mime-q0xm7vwc.js → tool-q0xm7vwc.js} +2 -2
- package/dist/chunks/{mime-awfffjg5.js → tool-q4bnvgms.js} +171 -171
- package/dist/chunks/{mime-pfrtanrk.js → tool-qcjxs7e0.js} +32 -32
- package/dist/chunks/{mime-fq2g7c6x.js → tool-qhyrk8n4.js} +8 -8
- package/dist/chunks/{mime-9k8khh75.js → tool-qkfezwh6.js} +9 -9
- package/dist/chunks/{mime-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
- package/dist/chunks/{mime-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-2m35s2yg.js → tool-qws6d5dh.js} +22 -22
- package/dist/chunks/{mime-b46pamft.js → tool-r4w453tt.js} +15 -15
- package/dist/chunks/{mime-pmr4s4kc.js → tool-r98e92ep.js} +4 -4
- package/dist/chunks/{mime-b2142pzq.js → tool-rbch4nfr.js} +26 -26
- package/dist/chunks/{mime-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{mime-wt3b0rt6.js → tool-rg7q0c5m.js} +27 -27
- package/dist/chunks/{mime-372b9p0d.js → tool-rh254cas.js} +20 -20
- package/dist/chunks/{mime-mwa79a1d.js → tool-rnk9zdcq.js} +34 -34
- package/dist/chunks/{mime-3sbj3w55.js → tool-rtsswkxs.js} +11 -11
- package/dist/chunks/{mime-2jfwh2t6.js → tool-rvwqj9y7.js} +49 -49
- package/dist/chunks/{mime-7wg6a9xy.js → tool-rx58ztr1.js} +7 -7
- package/dist/chunks/{mime-3ewed21c.js → tool-s26hbv8p.js} +4 -4
- package/dist/chunks/{mime-vbnh33m2.js → tool-s73kxs4y.js} +27 -27
- package/dist/chunks/{mime-ajt55ttf.js → tool-sb3r03a7.js} +13 -13
- package/dist/chunks/{mime-hdkng2sj.js → tool-scgrse2b.js} +5 -5
- package/dist/chunks/{mime-0xn2111h.js → tool-sg9xgrkp.js} +4 -4
- package/dist/chunks/{mime-p6wgvgn6.js → tool-sjgd5m2j.js} +9 -9
- package/dist/chunks/{mime-69ywzg6c.js → tool-sp2t3vey.js} +22 -22
- package/dist/chunks/{mime-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-2nhyf9gp.js → tool-tb0c9yyk.js} +32 -32
- package/dist/chunks/{mime-89znhe33.js → tool-tcezcvh9.js} +4 -4
- package/dist/chunks/{mime-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{mime-8316qx5p.js → tool-tk14y25j.js} +2 -2
- package/dist/chunks/{mime-ppm6qgbs.js → tool-tzhbwgz4.js} +36 -36
- package/dist/chunks/{mime-59he4xmr.js → tool-v9k40k21.js} +9 -9
- package/dist/chunks/{mime-wr2fe94x.js → tool-va7zg5qg.js} +41 -41
- package/dist/chunks/{mime-w53c1cz5.js → tool-var7mrn0.js} +53 -53
- package/dist/chunks/{mime-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-nvhjw3b0.js → tool-vn72gsba.js} +4 -4
- package/dist/chunks/{mime-rx48dec3.js → tool-vqzmbesx.js} +9 -9
- package/dist/chunks/{mime-hnbdma03.js → tool-vx3qjymf.js} +82 -82
- package/dist/chunks/{mime-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
- package/dist/chunks/{mime-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
- package/dist/chunks/{mime-sy29epdy.js → tool-w3nq1sqw.js} +5 -5
- package/dist/chunks/{mime-cgjxc2h6.js → tool-w3v0pvk9.js} +12 -12
- package/dist/chunks/{mime-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-qvy1qmm3.js → tool-w9wcng5w.js} +12 -12
- package/dist/chunks/{mime-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{mime-3gxdmg1p.js → tool-wk3n8732.js} +5 -5
- package/dist/chunks/{mime-694pv4x1.js → tool-wpd1znwd.js} +11 -11
- package/dist/chunks/{mime-rk1r2hx8.js → tool-wxyynt4w.js} +1 -1
- package/dist/chunks/{mime-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
- package/dist/chunks/{mime-psbsx9ev.js → tool-x2ywm3mq.js} +10 -10
- package/dist/chunks/{mime-b3t7exkg.js → tool-x6kcbe24.js} +4 -4
- package/dist/chunks/{mime-3dj9ym1t.js → tool-xa1b8akp.js} +24 -24
- package/dist/chunks/{mime-e4mpcj2w.js → tool-xagah8e0.js} +5 -5
- package/dist/chunks/{mime-7w6qk0sn.js → tool-xdf1fj3c.js} +43 -43
- package/dist/chunks/{mime-zk9d4y74.js → tool-xf69e5gb.js} +8 -8
- package/dist/chunks/{mime-g66805e4.js → tool-xhf2mpzw.js} +20 -20
- package/dist/chunks/{mime-xkntkrq7.js → tool-xkntkrq7.js} +2 -2
- package/dist/chunks/{mime-nrjkrfdk.js → tool-xv2d93bz.js} +8 -8
- package/dist/chunks/{mime-zz01mka2.js → tool-xvfphvy7.js} +47 -47
- package/dist/chunks/{mime-7xk7v40y.js → tool-xw2p2fks.js} +15 -15
- package/dist/chunks/{mime-qxjc9qry.js → tool-xyafkbt0.js} +3 -3
- package/dist/chunks/{mime-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-yd2nyxdd.js → tool-yexd41ms.js} +14 -14
- package/dist/chunks/{mime-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
- package/dist/chunks/{mime-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-tg3dtvd2.js → tool-zb7rsj08.js} +22 -22
- package/dist/chunks/{mime-dy7dxchr.js → tool-ze55f0m3.js} +24 -24
- package/dist/chunks/{mime-cf5x6mq8.js → tool-zepa019x.js} +18 -18
- package/dist/chunks/{mime-t768gxq0.js → tool-zkd6xqbv.js} +1 -1
- package/dist/chunks/tool-zm2m1bym.js +252 -0
- package/dist/chunks/{mime-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +70 -70
- 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 +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 -91
- 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/image/photon.js +2 -2
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +105 -101
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +4 -4
- 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 +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +221 -221
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +87 -87
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +117 -117
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +92 -92
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +74 -74
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- 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 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/mime-by5v678g.js +0 -18
- package/dist/chunks/mime-pj3sbc1q.js +0 -252
- package/dist/chunks/mime-shrvt0bc.js +0 -26
- /package/dist/chunks/{mime-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-34c7v6d4.js → tool-34c7v6d4.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./tool-jad3eb5n.js";
|
|
1
5
|
import {
|
|
2
6
|
Service83,
|
|
3
7
|
node87
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service82,
|
|
7
|
-
node86
|
|
8
|
-
} from "./mime-675p05bk.js";
|
|
8
|
+
} from "./tool-5rrd0wgj.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-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: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
|
+
ID: () => ID17,
|
|
25
|
+
Info: () => Info33,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service81,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node85
|
|
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 ID17 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info33 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID17,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service81 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service84).db;
|
|
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 Info33({
|
|
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 Service81.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: input.id ??
|
|
79
|
+
const credential = new Info33({
|
|
80
|
+
id: input.id ?? ID17.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
108
108
|
type: credential.value.type,
|
|
109
109
|
active: activated
|
|
110
110
|
});
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
112
112
|
if (activated)
|
|
113
|
-
yield* bus.publish(
|
|
113
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
114
114
|
return credential;
|
|
115
115
|
}),
|
|
116
116
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
130
130
|
})), Effect.orDie);
|
|
131
131
|
if (integrationID) {
|
|
132
132
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
133
|
-
yield* bus.publish(
|
|
133
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
134
134
|
}
|
|
135
135
|
}),
|
|
136
136
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
162
162
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
163
163
|
});
|
|
164
164
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
165
|
-
yield* bus.publish(
|
|
165
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
166
166
|
}),
|
|
167
167
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
168
168
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
195
195
|
active: removed.switched,
|
|
196
196
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
197
197
|
});
|
|
198
|
-
yield* bus.publish(
|
|
198
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
199
199
|
if (removed.switched)
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
203
|
}));
|
|
204
|
-
var
|
|
204
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [node88, node87] });
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { ID17, OAuth3, Key4, Value2, Event20, Info33, Service81, node85, exports_credential };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./tool-pjf8abb1.js";
|
|
4
4
|
import {
|
|
5
5
|
Service26
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-89t0bv35.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make11
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var make11 = Effect.gen(function* () {
|
|
23
23
|
const sessions = yield* Service26;
|
|
24
|
-
const jobs = yield*
|
|
24
|
+
const jobs = yield* Service56;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make5 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make11, exports_subagent_job };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service43,
|
|
10
|
+
node: () => node45
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service43 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node45 = LayerNode.unbound(Service43, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service43, node45, exports_service2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node6
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service5 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service5.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node6 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service5, node6, exports_update };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-93hpb89x.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-3vddgz3b.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-9t7a50xb.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-9e5bzkjp.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-vn72gsba.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./tool-gw7cjrad.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./tool-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service66
|
|
4
|
+
} from "./tool-5spq5w86.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service52
|
|
7
|
+
} from "./tool-6yrb0ee6.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service66;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service52);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service59,
|
|
6
|
+
node61
|
|
7
|
+
} from "./tool-mydkh4yr.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service25,
|
|
17
|
+
node: () => node28,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service25 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service59;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service25.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node28 = makeLocationNode({ service: Service25, layer, deps: [node61] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service25, readText2, syncTextBom2, node28, exports_file_mutation };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-93hpb89x.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-xvfphvy7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service75,
|
|
9
|
+
node79
|
|
10
|
+
} from "./tool-dxjv2ykb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service69,
|
|
13
13
|
node73
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-h85krvk7.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service15,
|
|
26
|
+
node: () => node17,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service15 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service75;
|
|
55
|
+
const permission = yield* Service69;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service15.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node17 = makeLocationNode({ service: Service15, layer, deps: [FSUtil.node, node79, node73] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service15, resolvePath2, node17, exports_file_access };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./tool-jad3eb5n.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service83,
|
|
10
|
+
node87
|
|
11
|
+
} from "./tool-5rrd0wgj.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-93hpb89x.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-9e5bzkjp.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./tool-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info7,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service41,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer16,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make18,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node43,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info7,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service41 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
const database = yield*
|
|
156
|
+
var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
|
+
const database = yield* Service84;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service83;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info7.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer16 = Layer.effect(Service41, make18());
|
|
231
|
+
var node43 = makeGlobalNode({ service: Service41, layer: layer16, deps: [node88, node87] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service41, make18, layer16, node43, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|