@opencode/core 0.0.0-dev-20140 → 0.0.0-dev-20143
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 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{file-mutation-v87vwamw.js → session-00p0014d.js} +39 -39
- package/dist/chunks/{file-mutation-0gdmqesm.js → session-02nrjc1r.js} +8 -8
- package/dist/chunks/{file-mutation-tqh1gha4.js → session-0cpqxjyv.js} +7 -7
- package/dist/chunks/{file-mutation-dpamrayx.js → session-0dkdhnj4.js} +23 -23
- package/dist/chunks/{file-mutation-148st7vf.js → session-0kwxa8z8.js} +54 -54
- package/dist/chunks/{file-mutation-0paq2nw3.js → session-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-nw9phmn3.js → session-0wrqfrb2.js} +14 -14
- package/dist/chunks/{file-mutation-vyft3kdg.js → session-10cc6zde.js} +21 -21
- package/dist/chunks/{file-mutation-wj999h2p.js → session-14bnn5jx.js} +30 -30
- package/dist/chunks/{file-mutation-cjps6emg.js → session-15jaezf5.js} +11 -11
- package/dist/chunks/{file-mutation-1dazxqgg.js → session-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-6j5e3r4k.js → session-1djtq1ne.js} +17 -17
- package/dist/chunks/{file-mutation-x8s98bq4.js → session-1em9w481.js} +11 -11
- package/dist/chunks/{file-mutation-s9wt6nxh.js → session-1fwjt45z.js} +20 -20
- package/dist/chunks/{file-mutation-gq52g30n.js → session-1hkmvhsm.js} +22 -22
- package/dist/chunks/{file-mutation-h72fketk.js → session-1wpqkhvm.js} +19 -19
- package/dist/chunks/{file-mutation-21jqz0k2.js → session-1x5vf2ga.js} +16 -16
- package/dist/chunks/{file-mutation-21r38tys.js → session-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-k56wjetr.js → session-28sfdhp9.js} +13 -13
- package/dist/chunks/{file-mutation-2a5m3afh.js → session-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-8tg35pr8.js → session-2ca31hqk.js} +15 -15
- package/dist/chunks/{file-mutation-y2j8yh6r.js → session-2dehx73x.js} +13 -13
- package/dist/chunks/{file-mutation-p5yjae2j.js → session-2f6mck3t.js} +16 -16
- package/dist/chunks/{file-mutation-ev5fh5k4.js → session-2fkmmzew.js} +18 -18
- package/dist/chunks/{file-mutation-1v2bxf33.js → session-2fxhc6ja.js} +5 -5
- package/dist/chunks/{file-mutation-9awy3h8w.js → session-2ged7dak.js} +5 -5
- package/dist/chunks/{file-mutation-6scazjw0.js → session-2h6s0zvd.js} +48 -48
- package/dist/chunks/{file-mutation-2k8khapm.js → session-2k8khapm.js} +1 -1
- package/dist/chunks/{file-mutation-98djycy1.js → session-2ppnrqzf.js} +5 -5
- package/dist/chunks/{file-mutation-2mq1h16s.js → session-2sejkfem.js} +9 -9
- package/dist/chunks/{file-mutation-56gdpj1q.js → session-33w4ejhs.js} +6 -6
- package/dist/chunks/{file-mutation-hs5j4hes.js → session-36wq2vbr.js} +17 -17
- package/dist/chunks/{file-mutation-3fc6dm20.js → session-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-jqc0r34h.js → session-3g7ycep5.js} +13 -13
- package/dist/chunks/{file-mutation-3hepkmqq.js → session-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-pdgjaq1g.js → session-3n2vap9y.js} +39 -39
- package/dist/chunks/{file-mutation-3smtnn6g.js → session-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-4jz45x3c.js → session-3sx92nk2.js} +15 -15
- package/dist/chunks/{file-mutation-3tvqynh2.js → session-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-3zsf4n22.js → session-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-mutation-jdqyxw3b.js → session-41v30afh.js} +6 -6
- package/dist/chunks/{file-mutation-3ppxvrrf.js → session-4s9vaqdd.js} +16 -16
- package/dist/chunks/{file-mutation-hnb6r381.js → session-4v71w21n.js} +17 -17
- package/dist/chunks/{file-mutation-42cm5fy7.js → session-4whmahtk.js} +9 -9
- package/dist/chunks/{file-mutation-hcw4z3wx.js → session-52a2s3nw.js} +10 -10
- package/dist/chunks/{file-mutation-54tcyq79.js → session-54tcyq79.js} +2 -2
- package/dist/chunks/{file-mutation-yyqmpd0k.js → session-54w97zga.js} +11 -11
- package/dist/chunks/{file-mutation-2fgn2we9.js → session-57ez7d0k.js} +9 -9
- package/dist/chunks/{file-mutation-kdt9dfjc.js → session-59pkxx0s.js} +20 -20
- package/dist/chunks/{file-mutation-5daktx2q.js → session-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-c3t022at.js → session-5gt644n8.js} +6 -6
- package/dist/chunks/{file-mutation-h3ppr3y4.js → session-5heatzae.js} +30 -30
- package/dist/chunks/{file-mutation-0yndjmtb.js → session-5r0knztx.js} +13 -13
- package/dist/chunks/{file-mutation-eprvd5et.js → session-5t288034.js} +33 -33
- package/dist/chunks/{file-mutation-5t3nmthw.js → session-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-qey8d69y.js → session-5vf27emn.js} +5 -5
- package/dist/chunks/{file-mutation-y5ac8wb2.js → session-5xy06vd8.js} +7 -7
- package/dist/chunks/{file-mutation-hyn9ed47.js → session-5y7ymppw.js} +5 -5
- package/dist/chunks/session-619r8v3y.js +18 -0
- package/dist/chunks/{file-mutation-rvm4tq5r.js → session-646cc1wv.js} +4 -4
- package/dist/chunks/{file-mutation-669tq793.js → session-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-jkcrv7ca.js → session-68rn8snb.js} +25 -25
- package/dist/chunks/{file-mutation-b3rcq7gz.js → session-6avpk0fr.js} +28 -28
- package/dist/chunks/{file-mutation-8ahbx5ft.js → session-6f6729b1.js} +25 -25
- package/dist/chunks/{file-mutation-9cdkxrrm.js → session-6h601xe5.js} +38 -38
- package/dist/chunks/{file-mutation-2402vzrj.js → session-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-mutation-ycxpk0ww.js → session-6hdeptzx.js} +10 -10
- package/dist/chunks/{file-mutation-6msgmcgs.js → session-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-w4a7eyjh.js → session-6pq0ee0z.js} +6 -6
- package/dist/chunks/{file-mutation-bp8fbaqn.js → session-6rm5yzkt.js} +4 -4
- package/dist/chunks/{file-mutation-gfz6w900.js → session-6t7rm4kj.js} +8 -8
- package/dist/chunks/{file-mutation-rp0mscx1.js → session-6zycmakc.js} +11 -11
- package/dist/chunks/{file-mutation-mvfsc1pv.js → session-73tb2d7t.js} +3 -3
- package/dist/chunks/{file-mutation-66r9f6z1.js → session-762r0j46.js} +5 -5
- package/dist/chunks/{file-mutation-a4ep3jk5.js → session-77drgyb5.js} +9 -9
- package/dist/chunks/{file-mutation-7bmhse3q.js → session-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-abpyq771.js → session-7gxyx0k5.js} +5 -5
- package/dist/chunks/{file-mutation-was7srj9.js → session-7mjvesxc.js} +8 -8
- package/dist/chunks/{file-mutation-sc6gnrv5.js → session-7mwv4wn4.js} +17 -17
- package/dist/chunks/{file-mutation-7a1j6db7.js → session-7wx4ywm5.js} +26 -26
- package/dist/chunks/{file-mutation-akrnn5pm.js → session-818pfwc9.js} +8 -8
- package/dist/chunks/{file-mutation-4n1zzw2c.js → session-83jrmwcq.js} +20 -20
- package/dist/chunks/{file-mutation-4cmbkmgr.js → session-886jgq54.js} +6 -6
- package/dist/chunks/{file-mutation-fmgayf2m.js → session-89wxvdwr.js} +18 -18
- package/dist/chunks/{file-mutation-428ep8fh.js → session-8ank75fn.js} +8 -8
- package/dist/chunks/{file-mutation-63ynj987.js → session-8bmqt1bw.js} +36 -36
- package/dist/chunks/{file-mutation-qk9jn0er.js → session-8d0p2m37.js} +8 -8
- package/dist/chunks/{file-mutation-8d7r5vzw.js → session-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-f85bts8p.js → session-8pej3nr6.js} +15 -15
- package/dist/chunks/{file-mutation-a7tyf22d.js → session-8vkgkbrt.js} +7 -7
- package/dist/chunks/{file-mutation-whhcne69.js → session-8wkrd809.js} +26 -26
- package/dist/chunks/{file-mutation-yhezs4e9.js → session-93pxcryz.js} +10 -10
- package/dist/chunks/{file-mutation-41wjga43.js → session-99fpk22n.js} +25 -25
- package/dist/chunks/{file-mutation-tee68kt2.js → session-9atq7vhd.js} +83 -83
- package/dist/chunks/{file-mutation-kzrsyh6w.js → session-9f43ghhf.js} +33 -33
- package/dist/chunks/{file-mutation-8v6pyhej.js → session-9hn6k4tm.js} +8 -8
- package/dist/chunks/{file-mutation-kzjgey13.js → session-9jzaj0az.js} +27 -27
- package/dist/chunks/{file-mutation-xpj2jz7f.js → session-a06vhbrm.js} +11 -11
- package/dist/chunks/{file-mutation-yt0fqk68.js → session-a1a50ys5.js} +5 -5
- package/dist/chunks/{file-mutation-aaet6srn.js → session-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-97j59xt0.js → session-awxek2rt.js} +6 -6
- package/dist/chunks/{file-mutation-cq9arbxt.js → session-azempvsp.js} +3 -3
- package/dist/chunks/{file-mutation-14ej6ymt.js → session-b15cevxe.js} +24 -24
- package/dist/chunks/{file-mutation-b2206ta1.js → session-b4n5p98z.js} +8 -8
- package/dist/chunks/{file-mutation-b6gygkdw.js → session-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-pddkywbp.js → session-b87x4eyv.js} +16 -16
- package/dist/chunks/{file-mutation-aqwq8v55.js → session-bcgv89ak.js} +20 -20
- package/dist/chunks/{file-mutation-vydzqw18.js → session-bdj59a44.js} +9 -9
- package/dist/chunks/{file-mutation-7mgyr624.js → session-bgytzvfw.js} +13 -13
- package/dist/chunks/{file-mutation-bjtzbw4r.js → session-bjtzbw4r.js} +3 -3
- package/dist/chunks/{file-mutation-0kkp8se8.js → session-brm50cy5.js} +20 -20
- package/dist/chunks/{file-mutation-fezjgrjw.js → session-c3eey5rg.js} +46 -46
- package/dist/chunks/{file-mutation-6p5d1njf.js → session-c3qfytnf.js} +4 -4
- package/dist/chunks/{file-mutation-tznw5yn5.js → session-c6hz5kfb.js} +4 -4
- package/dist/chunks/{file-mutation-3w0fmcng.js → session-c78bbtc9.js} +5 -5
- package/dist/chunks/{file-mutation-n07qdrr3.js → session-ceengwq4.js} +32 -32
- package/dist/chunks/{file-mutation-w96dfdsk.js → session-ckjhk311.js} +26 -26
- package/dist/chunks/{file-mutation-7ykd9f4c.js → session-cmpnw23t.js} +30 -30
- package/dist/chunks/{file-mutation-5mtzsd3b.js → session-cpj0znwe.js} +4 -4
- package/dist/chunks/{file-mutation-g101zjxn.js → session-d1ksnf42.js} +11 -11
- package/dist/chunks/{file-mutation-ryr25ayn.js → session-d216944b.js} +5 -5
- package/dist/chunks/{file-mutation-csv67sr9.js → session-d84zn823.js} +6 -6
- package/dist/chunks/{file-mutation-gxv9vzf1.js → session-da7rzthk.js} +41 -41
- package/dist/chunks/{file-mutation-zh3br2dd.js → session-dk7n6vmd.js} +22 -22
- package/dist/chunks/{file-mutation-jf9anmv7.js → session-dq0v80fr.js} +12 -12
- package/dist/chunks/{file-mutation-gen74120.js → session-dvfjvqyd.js} +167 -167
- package/dist/chunks/{file-mutation-dwvzh0g2.js → session-dwvzh0g2.js} +1 -1
- package/dist/chunks/{file-mutation-734bexyk.js → session-e2535fdq.js} +11 -11
- package/dist/chunks/{file-mutation-n53x74qf.js → session-e8ebcjxe.js} +5 -5
- package/dist/chunks/{file-mutation-6q6ydz24.js → session-e96s36gb.js} +17 -17
- package/dist/chunks/{file-mutation-5c9je0v9.js → session-e9snx1sv.js} +4 -4
- package/dist/chunks/{file-mutation-ecfe7b91.js → session-ecfe7b91.js} +2 -2
- package/dist/chunks/{file-mutation-ef5x83kb.js → session-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-47vaa6yx.js → session-ejaexg0r.js} +12 -12
- package/dist/chunks/{file-mutation-3t4zhfce.js → session-emfk3n8b.js} +5 -5
- package/dist/chunks/{file-mutation-y38y6hn2.js → session-ence9qkw.js} +5 -5
- package/dist/chunks/{file-mutation-etq0c3wd.js → session-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-8snyfeb1.js → session-f2j6y7e9.js} +31 -31
- package/dist/chunks/{file-mutation-msvrdtvz.js → session-f6r58qrv.js} +19 -19
- package/dist/chunks/{file-mutation-gv560zch.js → session-fpf55ak6.js} +10 -10
- package/dist/chunks/{file-mutation-qhfvqd3d.js → session-fspm6f46.js} +25 -25
- package/dist/chunks/{file-mutation-ja0r5mcy.js → session-fwc858g1.js} +88 -88
- package/dist/chunks/{file-mutation-e5mw80vf.js → session-fx5e6na3.js} +4 -4
- package/dist/chunks/{file-mutation-qj8eh1ht.js → session-g190xswt.js} +4 -4
- package/dist/chunks/{file-mutation-ahmpaw3p.js → session-g33xdsvz.js} +42 -42
- package/dist/chunks/{file-mutation-w69gqfj7.js → session-g82tt3bq.js} +16 -16
- package/dist/chunks/session-gbw6cjzk.js +69 -0
- package/dist/chunks/{file-mutation-gd4qta3r.js → session-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-y3v3et4z.js → session-ge4v290x.js} +10 -10
- package/dist/chunks/{file-mutation-7by1jpv1.js → session-gesqkx6w.js} +15 -15
- package/dist/chunks/{file-mutation-gfvb90ym.js → session-gfvb90ym.js} +2 -2
- package/dist/chunks/{file-mutation-jcezh7qt.js → session-gnv3sfzj.js} +44 -44
- package/dist/chunks/{file-mutation-gcprpp8g.js → session-gqrsaqq4.js} +9 -9
- package/dist/chunks/{file-mutation-gv6a8nnw.js → session-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-hq9baps4.js → session-gy82vbvr.js} +14 -14
- package/dist/chunks/{file-mutation-251fjh79.js → session-h3k0gtar.js} +11 -11
- package/dist/chunks/{file-mutation-h6vf3j39.js → session-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-51f5btjf.js → session-h896pcm5.js} +6 -6
- package/dist/chunks/{file-mutation-j28g7kgm.js → session-ha1fpgf5.js} +18 -18
- package/dist/chunks/{file-mutation-6wg7wrda.js → session-had4kgfk.js} +6 -6
- package/dist/chunks/{file-mutation-hh6j4qzk.js → session-hg8rk8gj.js} +22 -22
- package/dist/chunks/{file-mutation-w7hky2xc.js → session-hhvrz1jn.js} +3 -3
- package/dist/chunks/{file-mutation-5frpvc34.js → session-hkagk5ex.js} +2 -2
- package/dist/chunks/{file-mutation-kr411s0e.js → session-hndqfms9.js} +33 -33
- package/dist/chunks/{file-mutation-8wf7jca5.js → session-hs6rwea7.js} +17 -17
- package/dist/chunks/session-hyygfssg.js +26 -0
- package/dist/chunks/{file-mutation-j56e64zr.js → session-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-4tn55am6.js → session-jayz88f8.js} +30 -30
- package/dist/chunks/{file-mutation-wffp848c.js → session-jsambzm2.js} +15 -15
- package/dist/chunks/{file-mutation-cxea88d3.js → session-jwmsg6vs.js} +17 -17
- package/dist/chunks/{file-mutation-bevvv3cp.js → session-jx4dzrzr.js} +41 -41
- package/dist/chunks/{file-mutation-yf10kn3d.js → session-k1qrnqst.js} +8 -8
- package/dist/chunks/{file-mutation-k3c624dm.js → session-k3c624dm.js} +3 -3
- package/dist/chunks/{file-mutation-zwdty0y2.js → session-k4w3925s.js} +22 -22
- package/dist/chunks/{file-mutation-dksh378m.js → session-k914c3vv.js} +11 -11
- package/dist/chunks/{file-mutation-q5h7ddmx.js → session-k99t5e1p.js} +15 -15
- package/dist/chunks/{file-mutation-a38sw9p7.js → session-kb5ghgh1.js} +13 -13
- package/dist/chunks/{file-mutation-mvhw0p12.js → session-kma0jyd4.js} +6 -6
- package/dist/chunks/{file-mutation-56dkfrzf.js → session-kwrf6mrp.js} +4 -4
- package/dist/chunks/{file-mutation-pbm41ek2.js → session-kyezzgry.js} +10 -10
- package/dist/chunks/{file-mutation-kkp8zx71.js → session-m0r31qfn.js} +4 -4
- package/dist/chunks/{file-mutation-m3fdjcah.js → session-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-zve3m6bt.js → session-mb98t3nn.js} +20 -20
- package/dist/chunks/{file-mutation-9x77fmbz.js → session-mhgx8wws.js} +4 -4
- package/dist/chunks/{file-mutation-ekys18mh.js → session-mj076m1q.js} +9 -9
- package/dist/chunks/{file-mutation-1vtmwdw8.js → session-msa90cq1.js} +9 -9
- package/dist/chunks/{file-mutation-rdvvn9hb.js → session-mydh216v.js} +11 -11
- package/dist/chunks/{file-mutation-6hnb4zp6.js → session-mzcn453b.js} +23 -23
- package/dist/chunks/{file-mutation-qpp94anq.js → session-n48s3tgk.js} +22 -22
- package/dist/chunks/{file-mutation-pwmxh9fk.js → session-naqc58j4.js} +11 -11
- package/dist/chunks/{file-mutation-8q7cq0y1.js → session-ndmv45hp.js} +3 -3
- package/dist/chunks/{file-mutation-m2d0j7c0.js → session-nq7qbqzc.js} +9 -9
- package/dist/chunks/{file-mutation-5s6q7qvq.js → session-nzjpv9xq.js} +3 -3
- package/dist/chunks/{file-mutation-54dpjfpm.js → session-p4qra30j.js} +4 -4
- package/dist/chunks/{file-mutation-6zc9emtf.js → session-p6pyyfvx.js} +6 -6
- package/dist/chunks/{file-mutation-94b3tsx9.js → session-pa73gtpt.js} +5 -5
- package/dist/chunks/{file-mutation-pf2hb43r.js → session-pf2hb43r.js} +1 -1
- package/dist/chunks/{file-mutation-p6a148wd.js → session-pgkbz9a8.js} +20 -20
- package/dist/chunks/{file-mutation-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → session-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-fqda728z.js → session-pmammtbp.js} +14 -14
- package/dist/chunks/{file-mutation-psazpmmj.js → session-psazpmmj.js} +2 -2
- package/dist/chunks/{file-mutation-6pc27hjz.js → session-py3kkmfq.js} +6 -6
- package/dist/chunks/{file-mutation-qg2aaskv.js → session-q3fge5qg.js} +37 -37
- package/dist/chunks/{file-mutation-hnr5yq9h.js → session-qjnxxf51.js} +5 -5
- package/dist/chunks/{file-mutation-qsdy395h.js → session-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-5tszn4ax.js → session-qty8g6qa.js} +15 -15
- package/dist/chunks/{file-mutation-6178f4x4.js → session-r63g9zey.js} +26 -26
- package/dist/chunks/{file-mutation-jfc9taht.js → session-r9d76z49.js} +24 -24
- package/dist/chunks/{file-mutation-q1xwtbjg.js → session-rbh1txsr.js} +10 -10
- package/dist/chunks/{file-mutation-rdw6cm16.js → session-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-12yfxaf8.js → session-rkndt19x.js} +53 -53
- package/dist/chunks/{file-mutation-wz52n462.js → session-rptmhwwm.js} +11 -11
- package/dist/chunks/{file-mutation-9xftdn9f.js → session-rv0z2jck.js} +4 -4
- package/dist/chunks/{file-mutation-2hvke9dj.js → session-s2yfzr0x.js} +2 -2
- package/dist/chunks/{file-mutation-6mqtga9t.js → session-s5kbrp0a.js} +21 -21
- package/dist/chunks/{file-mutation-z7f3wrvm.js → session-s6zzhr8w.js} +26 -26
- package/dist/chunks/{file-mutation-w4np39bn.js → session-senf0nqe.js} +26 -26
- package/dist/chunks/{file-mutation-fvyb0d37.js → session-ssvfyqeb.js} +35 -35
- package/dist/chunks/{file-mutation-vncycja5.js → session-sx1n432n.js} +4 -4
- package/dist/chunks/{file-mutation-fc3nmpyb.js → session-szm9rf3h.js} +6 -6
- package/dist/chunks/{file-mutation-txmjwfyc.js → session-t50fx08a.js} +20 -20
- package/dist/chunks/{file-mutation-jdak5rwz.js → session-ta5vqz43.js} +27 -27
- package/dist/chunks/{file-mutation-vddhgdww.js → session-tae4cvj5.js} +12 -12
- package/dist/chunks/{file-mutation-tazgh4e4.js → session-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → session-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → session-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-vmm7c11n.js → session-tm7g9mmj.js} +21 -21
- package/dist/chunks/{file-mutation-tvtrv512.js → session-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-mgm6q1zc.js → session-v66ty4n2.js} +12 -12
- package/dist/chunks/{file-mutation-k8t6hegk.js → session-v7rjnsk9.js} +19 -19
- package/dist/chunks/{file-mutation-a684x4gz.js → session-v8qtgr3w.js} +6 -6
- package/dist/chunks/{file-mutation-sh9f5a33.js → session-vee4we0w.js} +16 -16
- package/dist/chunks/{file-mutation-veqvce7d.js → session-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-v7wm3v9n.js → session-vntp5bt7.js} +30 -30
- package/dist/chunks/{file-mutation-h68v3css.js → session-vsxf531n.js} +10 -10
- package/dist/chunks/{file-mutation-sfntmzm9.js → session-vtpkq4qf.js} +1 -1
- package/dist/chunks/{file-mutation-ptbv4pk8.js → session-vwvsakyc.js} +14 -14
- package/dist/chunks/{file-mutation-vzcthcp8.js → session-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-tz4hjafm.js → session-vznvpdbv.js} +68 -68
- package/dist/chunks/{file-mutation-vzs5sf6e.js → session-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-mutation-ekr4chvv.js → session-w1w9qes5.js} +1 -1
- package/dist/chunks/{file-mutation-h1681mq4.js → session-w2bjfdtd.js} +30 -30
- package/dist/chunks/{file-mutation-fw181sc9.js → session-w3nq1sqw.js} +9 -9
- package/dist/chunks/{file-mutation-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-wd87259q.js → session-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-p925w6xz.js → session-wefr4vvx.js} +3 -3
- package/dist/chunks/session-wq1ttdv9.js +511 -0
- package/dist/chunks/{file-mutation-3s810fg1.js → session-wrmrmykr.js} +6 -6
- package/dist/chunks/{file-mutation-a9q9r8vh.js → session-x0ne2d4y.js} +42 -42
- package/dist/chunks/{file-mutation-x1ezjp6w.js → session-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-xf8yqmad.js → session-x2aynqqh.js} +9 -9
- package/dist/chunks/{file-mutation-0ryd0fps.js → session-x2rw7g36.js} +5 -5
- package/dist/chunks/{file-mutation-6vzkpxwg.js → session-xbmsehx1.js} +28 -28
- package/dist/chunks/{file-mutation-f913swrk.js → session-xc8gm1b6.js} +10 -10
- package/dist/chunks/{file-mutation-drwq78ky.js → session-xfkkasph.js} +4 -4
- package/dist/chunks/{file-mutation-dmqcgk4z.js → session-xkntkrq7.js} +5 -5
- package/dist/chunks/{file-mutation-jwz3n59h.js → session-xktmrzxx.js} +3 -3
- package/dist/chunks/{file-mutation-nnn35nec.js → session-xqqgt0zs.js} +23 -23
- package/dist/chunks/{file-mutation-5w3fdfx1.js → session-xrq5qyed.js} +12 -12
- package/dist/chunks/{file-mutation-jc03qmph.js → session-xtpxhg5q.js} +13 -13
- package/dist/chunks/{file-mutation-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-axksm2s1.js → session-y5qhmbhb.js} +13 -13
- package/dist/chunks/{file-mutation-dpkg50ah.js → session-y71avatq.js} +4 -4
- package/dist/chunks/{file-mutation-zd3xxgdb.js → session-yhy32vdy.js} +8 -8
- package/dist/chunks/{file-mutation-yp2x3t23.js → session-yp2x3t23.js} +1 -1
- package/dist/chunks/{file-mutation-0nn5xkkm.js → session-ypd66f97.js} +3 -3
- package/dist/chunks/{file-mutation-ejswn5dz.js → session-yr50zn00.js} +12 -12
- package/dist/chunks/{file-mutation-yrhqyw5v.js → session-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-yrznvahk.js → session-yrznvahk.js} +2 -2
- package/dist/chunks/{file-mutation-f6m4whh5.js → session-ytcxcbrp.js} +1 -1
- package/dist/chunks/{file-mutation-vwpcpzep.js → session-yvvvp4gn.js} +8 -8
- package/dist/chunks/{file-mutation-z0bkrqjs.js → session-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-z63w68vq.js → session-z63w68vq.js} +2 -2
- package/dist/chunks/{file-mutation-m6gg776v.js → session-z8c9256s.js} +29 -29
- package/dist/chunks/{file-mutation-2vs2nh1n.js → session-zav06jzw.js} +4 -4
- package/dist/chunks/{file-mutation-zeh9ct20.js → session-zeh9ct20.js} +2 -2
- package/dist/chunks/session-zfmvh0t4.js +252 -0
- package/dist/chunks/{file-mutation-eja4v0r3.js → session-zmn7f8f6.js} +16 -16
- package/dist/chunks/{file-mutation-k315zjbs.js → session-zp945aeh.js} +4 -4
- package/dist/chunks/{file-mutation-zr2ceqn5.js → session-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-zxq2ej10.js → session-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-mutation-v1csahhw.js → session-zyym605g.js} +30 -30
- package/dist/chunks/{file-mutation-7nh5b0q3.js → session-zzyf1zxb.js} +8 -8
- 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 -83
- package/dist/config/discovery.js +82 -82
- 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 +162 -162
- 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 +123 -123
- 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 +125 -125
- 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 +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- 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 +99 -99
- 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 +363 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -359
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +128 -128
- 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 +99 -99
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- 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 +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- 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 -333
- 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 +4 -4
- 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 +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- 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 +93 -93
- 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 +77 -77
- 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 +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- 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 +160 -160
- 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 -352
- 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 +98 -0
- package/dist/plugin/warming.js +121 -121
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +90 -90
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- 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 +128 -128
- package/dist/session/generate.js +151 -151
- 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 +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- 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 +1 -1
- 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 +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- 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 +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- 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 +6 -6
- package/dist/tool.js +12 -12
- package/dist/types/plugin/verbosity.d.ts +3 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +1 -1
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/file-mutation-1b0d2nk6.js +0 -26
- package/dist/chunks/file-mutation-1b6e2zb4.js +0 -507
- package/dist/chunks/file-mutation-7fj5dwt0.js +0 -18
- package/dist/chunks/file-mutation-cenkgqkx.js +0 -252
- /package/dist/chunks/{file-mutation-0mesazry.js → session-0mesazry.js} +0 -0
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → session-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → session-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → session-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → session-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → session-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → session-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-34c7v6d4.js → session-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → session-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → session-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → session-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → session-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → session-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → session-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → session-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → session-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → session-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → session-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-5qd3pb7m.js → session-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → session-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → session-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → session-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → session-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → session-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → session-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → session-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → session-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → session-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → session-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → session-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → session-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → session-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → session-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → session-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → session-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → session-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → session-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → session-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → session-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → session-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → session-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → session-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → session-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → session-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → session-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → session-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → session-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → session-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → session-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → session-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → session-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → session-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → session-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → session-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → session-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → session-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → session-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → session-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → session-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → session-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → session-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → session-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → session-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → session-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → session-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → session-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → session-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → session-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → session-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → session-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → session-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → session-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → session-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → session-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → session-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → session-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → session-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → session-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → session-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node82
|
|
7
|
+
} from "./session-77drgyb5.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service22,
|
|
10
|
+
node24
|
|
11
|
+
} from "./session-gy82vbvr.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./session-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./session-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
24
|
Options: () => Options3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service20,
|
|
26
26
|
configured: () => configured3,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
28
|
layer: () => layer9,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node22,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ var Options3 = Schema.Struct({
|
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service20 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service20, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service79;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service22;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service20.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service20, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service79;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service20.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service20.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -183,8 +183,8 @@ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
185
|
function configured3(options) {
|
|
186
|
-
return makeLocationNode({ service:
|
|
186
|
+
return makeLocationNode({ service: Service20, layer: layer9(options), deps: [node82, node24] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node22 = configured3();
|
|
189
189
|
|
|
190
|
-
export { Options3,
|
|
190
|
+
export { Options3, Service20, ripgrepLayer2, fffLayer2, layer9, configured3, node22, exports_search };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-c3qfytnf.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event15,
|
|
10
|
+
Service66,
|
|
11
|
+
node69
|
|
12
|
+
} from "./session-vntp5bt7.js";
|
|
13
13
|
import {
|
|
14
14
|
Service79,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node82
|
|
16
|
+
} from "./session-77drgyb5.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service78,
|
|
19
|
+
node81
|
|
20
|
+
} from "./session-dk7n6vmd.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID11,
|
|
23
|
+
Service67,
|
|
24
|
+
node70
|
|
25
|
+
} from "./session-r63g9zey.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./session-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service65,
|
|
34
|
+
node68
|
|
35
|
+
} from "./session-z8c9256s.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./session-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
44
|
NotFoundError: () => NotFoundError5,
|
|
45
|
-
Options: () =>
|
|
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: () => Service37,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured5,
|
|
57
|
+
layer: () => layer14,
|
|
58
|
+
node: () => node40
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -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 Service37 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
|
|
104
|
+
var layer14 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
105
105
|
const location = yield* Service79;
|
|
106
|
-
const environment = yield*
|
|
106
|
+
const environment = yield* Service78;
|
|
107
107
|
const bus = yield* Service83;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
108
|
+
const forms = yield* Service67;
|
|
109
|
+
const integration = yield* Service65;
|
|
110
|
+
const credentials = yield* Service66;
|
|
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 layer13 = (options) => Layer.effect(Service35, 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 = ID9.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer13 = (options) => Layer.effect(Service35, 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(Service66, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -151,12 +151,12 @@ var layer13 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
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(Service66, 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 = ID11.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -259,7 +259,7 @@ var layer13 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
259
259
|
entry.scope = scope;
|
|
260
260
|
const authProvider = yield* connectProvider(entry);
|
|
261
261
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
262
|
-
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(
|
|
262
|
+
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(Service78, environment), Scope.provide(scope));
|
|
263
263
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
264
264
|
if (Exit.isSuccess(result)) {
|
|
265
265
|
entry.client = result.value.connection;
|
|
@@ -384,7 +384,7 @@ var layer13 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
384
384
|
yield* startServer(name, entry);
|
|
385
385
|
}).pipe(locks.withLock(name));
|
|
386
386
|
});
|
|
387
|
-
fork(bus.subscribe(
|
|
387
|
+
fork(bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
388
388
|
const state = create3({
|
|
389
389
|
name: "mcp",
|
|
390
390
|
initial: () => ({
|
|
@@ -410,7 +410,7 @@ var layer13 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
410
410
|
}),
|
|
411
411
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
412
412
|
});
|
|
413
|
-
return
|
|
413
|
+
return Service37.of({
|
|
414
414
|
transform: state.transform,
|
|
415
415
|
reload: state.reload,
|
|
416
416
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -516,14 +516,14 @@ function mergeCatalogs(catalogs) {
|
|
|
516
516
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
517
517
|
});
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function configured5(options) {
|
|
520
520
|
return makeLocationNode({
|
|
521
|
-
service:
|
|
522
|
-
layer:
|
|
523
|
-
deps: [
|
|
521
|
+
service: Service37,
|
|
522
|
+
layer: layer14(options),
|
|
523
|
+
deps: [node82, node81, node87, node70, node68, node69]
|
|
524
524
|
});
|
|
525
525
|
}
|
|
526
|
-
var
|
|
526
|
+
var node40 = configured5();
|
|
527
527
|
function toElicitationField(key, property, required) {
|
|
528
528
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
529
529
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2,
|
|
577
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service37, Options5, layer14, configured5, node40, exports_mcp4 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-nzjpv9xq.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./session-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./session-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
ID6,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-ha1fpgf5.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info14
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info14 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info14, exports_attachment };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./session-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service79
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-77drgyb5.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service78
|
|
11
|
+
} from "./session-dk7n6vmd.js";
|
|
12
12
|
import {
|
|
13
13
|
Service15
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./session-2ged7dak.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service16,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./session-3g7ycep5.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service71
|
|
22
|
+
} from "./session-rkndt19x.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service21,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./session-g82tt3bq.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./session-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./session-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input10,
|
|
39
|
+
Output: () => Output7,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin12,
|
|
42
|
+
name: () => name10,
|
|
43
|
+
toModelContent: () => toModelContent6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name10 = "patch";
|
|
89
|
+
var Input10 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output7 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent6 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin12 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
111
|
+
const environment = yield* Service78;
|
|
112
|
+
const access = yield* Service21;
|
|
113
|
+
const fileMutation = yield* Service16;
|
|
114
114
|
const formatter = yield* Service15;
|
|
115
115
|
const location = yield* Service79;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service71;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name10,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input10,
|
|
122
|
+
output: Output7,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin25 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent6(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name10, Input10, Applied2, Output7, toModelContent6, Plugin12, exports_patch };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./session-rkndt19x.js";
|
|
4
4
|
import {
|
|
5
5
|
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service58
|
|
10
|
+
} from "./session-ha1fpgf5.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input12,
|
|
19
|
+
Output: () => Output8,
|
|
20
|
+
Plugin: () => Plugin14,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
|
+
description: () => description5,
|
|
23
|
+
name: () => name12,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var name12 = "skill";
|
|
30
|
+
var Input12 = Schema.Struct({
|
|
31
31
|
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output8 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description5 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin14 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service58;
|
|
51
|
+
const permission = yield* Service71;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name12,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description5,
|
|
56
|
+
input: Input12,
|
|
57
|
+
output: Output8,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name12,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin23 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name12, Input12, Output8, description5, toModelOutput2, Plugin14, exports_skill };
|