@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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-e2535fdq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-c3qfytnf.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./session-vntp5bt7.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./session-z8c9256s.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./session-cpj0znwe.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service13
|
|
20
|
+
} from "./session-k1qrnqst.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID8,
|
|
23
23
|
mergeOverlay2,
|
|
24
24
|
mergeHeaders2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./session-cmpnw23t.js";
|
|
26
26
|
import {
|
|
27
27
|
ID4,
|
|
28
28
|
Input13,
|
|
29
29
|
Response2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./session-zmn7f8f6.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/opencode.ts
|
|
33
33
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -67,7 +67,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
67
67
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
68
68
|
function oauth(http) {
|
|
69
69
|
return {
|
|
70
|
-
integrationID:
|
|
70
|
+
integrationID: ID9.make("opencode"),
|
|
71
71
|
method: {
|
|
72
72
|
id: methodID,
|
|
73
73
|
type: "oauth",
|
|
@@ -124,7 +124,7 @@ var OpencodePlugin2 = define({
|
|
|
124
124
|
const bus = yield* Service83;
|
|
125
125
|
const client = yield* HttpClient.HttpClient;
|
|
126
126
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
127
|
-
const managed = yield*
|
|
127
|
+
const managed = yield* Service13;
|
|
128
128
|
const loading = Semaphore.makeUnsafe(1);
|
|
129
129
|
let snapshot = { config: undefined, connection: undefined, organization: undefined };
|
|
130
130
|
const load = Effect.fn("OpencodePlugin.load")(function* () {
|
|
@@ -157,7 +157,7 @@ var OpencodePlugin2 = define({
|
|
|
157
157
|
providers.update(providerID, (provider) => {
|
|
158
158
|
if (source && source.provider !== provider)
|
|
159
159
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
160
|
-
provider.integrationID =
|
|
160
|
+
provider.integrationID = ID9.make("opencode");
|
|
161
161
|
if (item.canonical !== undefined)
|
|
162
162
|
provider.canonical = item.canonical;
|
|
163
163
|
if (item.name !== undefined)
|
|
@@ -227,7 +227,7 @@ var OpencodePlugin2 = define({
|
|
|
227
227
|
sourceConnection: snapshot.connection
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
|
-
const item = providers.get(
|
|
230
|
+
const item = providers.get(ID8.opencode);
|
|
231
231
|
if (!item)
|
|
232
232
|
return;
|
|
233
233
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -239,7 +239,7 @@ var OpencodePlugin2 = define({
|
|
|
239
239
|
});
|
|
240
240
|
});
|
|
241
241
|
yield* ctx.model.transform((models) => {
|
|
242
|
-
const item = models.provider.get(
|
|
242
|
+
const item = models.provider.get(ID8.opencode);
|
|
243
243
|
if (!item)
|
|
244
244
|
return;
|
|
245
245
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -295,7 +295,7 @@ var OpencodePlugin2 = define({
|
|
|
295
295
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
296
296
|
});
|
|
297
297
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
298
|
-
yield* bus.subscribe(
|
|
298
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
299
299
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
300
300
|
})
|
|
301
301
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service74,
|
|
10
|
+
node: () => node77
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service74 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service74.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node77 = makeLocationNode({ service: Service74, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service74, node77, exports_hooks };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-nzjpv9xq.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-c3qfytnf.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service59,
|
|
11
|
+
node61
|
|
12
|
+
} from "./session-8pej3nr6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service50,
|
|
15
|
+
node52
|
|
16
|
+
} from "./session-h896pcm5.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./session-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
make16
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./session-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service48
|
|
26
|
+
} from "./session-zav06jzw.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./session-wrmrmykr.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service72,
|
|
32
|
+
node75
|
|
33
|
+
} from "./session-vwvsakyc.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./session-646cc1wv.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./session-bcgv89ak.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./session-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service47,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
51
|
-
noopLayer: () =>
|
|
49
|
+
layer: () => layer19,
|
|
50
|
+
node: () => node50,
|
|
51
|
+
noopLayer: () => noopLayer3,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service47 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
68
|
+
var layer19 = Layer.effect(Service47, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service72;
|
|
70
|
+
const instances = yield* Service50;
|
|
71
71
|
const bus = yield* Service83;
|
|
72
|
-
const jobs = yield*
|
|
72
|
+
const jobs = yield* Service59;
|
|
73
73
|
const db = (yield* Service84).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,7 +82,7 @@ var layer16 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service48.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
@@ -110,7 +110,7 @@ var layer16 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service47.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer16 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
134
|
-
layer:
|
|
135
|
-
deps: [
|
|
132
|
+
var node50 = makeGlobalNode({
|
|
133
|
+
service: Service47,
|
|
134
|
+
layer: layer19,
|
|
135
|
+
deps: [node75, node52, node87, node88, node61]
|
|
136
136
|
});
|
|
137
|
-
var
|
|
137
|
+
var noopLayer3 = Layer.succeed(Service47, Service47.of({
|
|
138
138
|
active: Effect.succeed(new Set),
|
|
139
139
|
isActive: () => Effect.succeed(false),
|
|
140
140
|
resume: () => Effect.void,
|
|
@@ -143,4 +143,4 @@ var noopLayer2 = Layer.succeed(Service39, Service39.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service47, terminal2, layer19, node50, noopLayer3, exports_execution };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./session-dq0v80fr.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make12
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service82;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make21 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make12, exports_git2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
5
|
Service70,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node73
|
|
7
|
+
} from "./session-886jgq54.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-ndmv45hp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./session-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service59,
|
|
23
|
+
make: () => make18,
|
|
24
|
+
node: () => node61
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service59 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -86,7 +86,7 @@ function decrementSession(input, sessionID) {
|
|
|
86
86
|
next.set(sessionID, count - 1);
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
|
-
var
|
|
89
|
+
var make18 = Effect.gen(function* () {
|
|
90
90
|
const kv = yield* Service70;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
@@ -346,7 +346,7 @@ var make17 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service59.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make17 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service59, make18);
|
|
362
|
+
var node61 = makeGlobalNode({ service: Service59, layer, deps: [node73] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service59, make18, node61, exports_job };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
Service79
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-77drgyb5.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./session-2ca31hqk.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./session-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin17,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin17 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
36
|
const location = yield* Service79;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin17, exports_hg };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./session-c3qfytnf.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./session-02nrjc1r.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./session-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./session-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./session-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event20,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options10,
|
|
30
|
+
Service: () => Service76,
|
|
31
|
+
configured: () => configured10,
|
|
32
|
+
layer: () => layer25,
|
|
33
|
+
node: () => node79
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key4.make("core/instructions");
|
|
45
|
+
var Event20 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options10 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service76 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer25 = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer18 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event20.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make20({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer18 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service76.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer18 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured10(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service76,
|
|
110
|
+
layer: layer25(options),
|
|
111
111
|
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node79 = configured10();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event20, Options10, Service76, layer25, configured10, node79, exports_instruction_discovery };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service37
|
|
6
|
+
} from "./session-c3eey5rg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service71
|
|
9
|
+
} from "./session-rkndt19x.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./session-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin4
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin4 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service37;
|
|
26
|
+
const permission = yield* Service71;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin24 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin4, exports_mcp_resource };
|