@opencode/core 0.0.0-dev-19520 → 0.0.0-dev-19522
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{ripgrep-4y66k410.js → event-logger-0ajdgxne.js} +5 -5
- package/dist/chunks/{ripgrep-k1t251yf.js → event-logger-0mgbeka9.js} +18 -18
- package/dist/chunks/{ripgrep-tgqjfyja.js → event-logger-0mgvehma.js} +1 -1
- package/dist/chunks/{ripgrep-0paq2nw3.js → event-logger-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-0q0f95c6.js → event-logger-0q0f95c6.js} +1 -1
- package/dist/chunks/{ripgrep-a4xw13fr.js → event-logger-0swyrg32.js} +11 -11
- package/dist/chunks/{ripgrep-tt6n2bdb.js → event-logger-0tsy7h82.js} +7 -7
- package/dist/chunks/{ripgrep-189kb88v.js → event-logger-153zkwj3.js} +3 -3
- package/dist/chunks/{ripgrep-3svns4sc.js → event-logger-18q3vk51.js} +6 -6
- package/dist/chunks/{ripgrep-yp2x3t23.js → event-logger-1acjjqhc.js} +4 -4
- package/dist/chunks/{ripgrep-1dazxqgg.js → event-logger-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-a5m36ryz.js → event-logger-1j21w7hw.js} +5 -5
- package/dist/chunks/{ripgrep-tjjqevy4.js → event-logger-1nn3xxet.js} +10 -10
- package/dist/chunks/{ripgrep-6x7sck92.js → event-logger-1qa6hfby.js} +17 -17
- package/dist/chunks/{ripgrep-4wnp65at.js → event-logger-1rw5srgy.js} +7 -7
- package/dist/chunks/{ripgrep-21r38tys.js → event-logger-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-2402vzrj.js → event-logger-2402vzrj.js} +1 -1
- package/dist/chunks/{ripgrep-29x78va6.js → event-logger-29x78va6.js} +2 -2
- package/dist/chunks/{ripgrep-2a5m3afh.js → event-logger-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-2a4sgpmw.js → event-logger-2f0bjgcj.js} +5 -5
- package/dist/chunks/{ripgrep-7dqw4kz8.js → event-logger-2k8khapm.js} +5 -5
- package/dist/chunks/{ripgrep-qj6a8geq.js → event-logger-2wspn1sr.js} +12 -12
- package/dist/chunks/{ripgrep-c4pfxw5s.js → event-logger-359n0vr4.js} +6 -6
- package/dist/chunks/{ripgrep-3fc6dm20.js → event-logger-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3smtnn6g.js → event-logger-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-029gxqke.js → event-logger-3sr32dx8.js} +34 -34
- package/dist/chunks/{ripgrep-3tvqynh2.js → event-logger-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-585pw9ae.js → event-logger-3xp94y37.js} +22 -22
- package/dist/chunks/{ripgrep-5pegjrmw.js → event-logger-41b51z4e.js} +34 -34
- package/dist/chunks/{ripgrep-n39gyvgw.js → event-logger-47xeb5z3.js} +22 -22
- package/dist/chunks/{ripgrep-k4cgc9a3.js → event-logger-4e3hdzec.js} +57 -57
- package/dist/chunks/{ripgrep-xntwgtxc.js → event-logger-4se67rdf.js} +13 -13
- package/dist/chunks/{ripgrep-56gdpj1q.js → event-logger-56gdpj1q.js} +2 -2
- package/dist/chunks/{ripgrep-9d8v8ke2.js → event-logger-5chc8p18.js} +5 -5
- package/dist/chunks/{ripgrep-5daktx2q.js → event-logger-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-aph4g9qx.js → event-logger-5rnzym28.js} +17 -17
- package/dist/chunks/{ripgrep-5t3nmthw.js → event-logger-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-1902bdn8.js → event-logger-5tk2nx2g.js} +25 -25
- package/dist/chunks/{ripgrep-t51qk8jz.js → event-logger-5wtwrezn.js} +4 -4
- package/dist/chunks/{ripgrep-dwcdeas1.js → event-logger-5znnvmxs.js} +24 -24
- package/dist/chunks/{ripgrep-syz7yhpm.js → event-logger-62sdnsqh.js} +20 -20
- package/dist/chunks/{ripgrep-q7vxj98b.js → event-logger-63kee7yf.js} +8 -8
- package/dist/chunks/{ripgrep-669tq793.js → event-logger-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-neqk7dw9.js → event-logger-68g81w8z.js} +15 -15
- package/dist/chunks/{ripgrep-x4jgrabg.js → event-logger-6cwabdtw.js} +4 -4
- package/dist/chunks/{ripgrep-y2wcncat.js → event-logger-6dyc4y4r.js} +18 -18
- package/dist/chunks/{ripgrep-6msgmcgs.js → event-logger-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-rqy9czj1.js → event-logger-6sc41f2m.js} +12 -12
- package/dist/chunks/{ripgrep-qmy7xtej.js → event-logger-6vc8p3va.js} +1 -1
- package/dist/chunks/{ripgrep-71q4at8m.js → event-logger-71q4at8m.js} +1 -1
- package/dist/chunks/{ripgrep-r14b6q3s.js → event-logger-7adby5ty.js} +29 -29
- package/dist/chunks/{ripgrep-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-jfpf741x.js → event-logger-7cmx66q7.js} +10 -10
- package/dist/chunks/{ripgrep-19vea52x.js → event-logger-7dw9d19m.js} +9 -9
- package/dist/chunks/{ripgrep-82f74kwp.js → event-logger-7f3kf6pd.js} +25 -25
- package/dist/chunks/{ripgrep-ar8vnhha.js → event-logger-7ha10wes.js} +16 -16
- package/dist/chunks/{ripgrep-7yh4e7ss.js → event-logger-7yh4e7ss.js} +1 -1
- package/dist/chunks/{ripgrep-73gmm198.js → event-logger-806j49yq.js} +4 -4
- package/dist/chunks/{ripgrep-56gqpxz5.js → event-logger-80mswp33.js} +50 -50
- package/dist/chunks/{ripgrep-awbdwcvp.js → event-logger-81swgkk7.js} +2 -2
- package/dist/chunks/{ripgrep-fgjcw7nx.js → event-logger-83hwqwhz.js} +11 -11
- package/dist/chunks/{ripgrep-7b15y959.js → event-logger-844ef7ks.js} +8 -8
- package/dist/chunks/{ripgrep-vv5etkqr.js → event-logger-8awmhz5a.js} +21 -21
- package/dist/chunks/{ripgrep-bj2hb5dm.js → event-logger-8cwf41b2.js} +30 -30
- package/dist/chunks/{ripgrep-8d7r5vzw.js → event-logger-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-a45m2fkf.js → event-logger-8ne0ke3n.js} +26 -26
- package/dist/chunks/{ripgrep-dj2t23y0.js → event-logger-8p4f9s12.js} +2 -2
- package/dist/chunks/{ripgrep-thqzz5bd.js → event-logger-8ph01gev.js} +22 -22
- package/dist/chunks/{ripgrep-scqya4gj.js → event-logger-90t1w6x4.js} +7 -7
- package/dist/chunks/{ripgrep-e17bkqjz.js → event-logger-936n54ck.js} +1 -1
- package/dist/chunks/{ripgrep-52zfrmt1.js → event-logger-94x97s7s.js} +1 -1
- package/dist/chunks/{ripgrep-9pm6y0s1.js → event-logger-9cg0vjy1.js} +8 -8
- package/dist/chunks/{ripgrep-sa4c2d0v.js → event-logger-9rsqcxn1.js} +4 -4
- package/dist/chunks/{ripgrep-9sh4wc5j.js → event-logger-9sh4wc5j.js} +1 -1
- package/dist/chunks/{ripgrep-ecbpcs26.js → event-logger-9wt937vk.js} +5 -5
- package/dist/chunks/{ripgrep-5c4hm403.js → event-logger-a1bz86dw.js} +3 -3
- package/dist/chunks/{ripgrep-9vad26s7.js → event-logger-a39f2ken.js} +33 -33
- package/dist/chunks/event-logger-a5r3kjdg.js +247 -0
- package/dist/chunks/{ripgrep-aaet6srn.js → event-logger-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-esxf2z81.js → event-logger-amtwdtr3.js} +5 -5
- package/dist/chunks/{ripgrep-3cwb9jzf.js → event-logger-ar0hjm29.js} +8 -8
- package/dist/chunks/{ripgrep-zwzhnca6.js → event-logger-at0jc416.js} +24 -24
- package/dist/chunks/{ripgrep-t6dm0qrg.js → event-logger-aw305kc2.js} +25 -25
- package/dist/chunks/{ripgrep-w5enr2n1.js → event-logger-ayvhb76k.js} +8 -8
- package/dist/chunks/{ripgrep-zpd6x7fe.js → event-logger-b09hzw3k.js} +2 -2
- package/dist/chunks/{ripgrep-795tw062.js → event-logger-b0dr1xvw.js} +25 -25
- package/dist/chunks/{ripgrep-3e0pbzwc.js → event-logger-b5h5ke4m.js} +8 -8
- package/dist/chunks/{ripgrep-b6gygkdw.js → event-logger-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-x38mj0ya.js → event-logger-b9cnnpx5.js} +79 -79
- package/dist/chunks/{ripgrep-m7y3f53v.js → event-logger-ba4a77r6.js} +4 -4
- package/dist/chunks/{ripgrep-hrndf12w.js → event-logger-bccb6npm.js} +4 -4
- package/dist/chunks/{ripgrep-s69d0rhj.js → event-logger-bgb9gw24.js} +25 -25
- package/dist/chunks/{ripgrep-9xx88crh.js → event-logger-bj0dqvmh.js} +51 -51
- package/dist/chunks/{ripgrep-gk2407r3.js → event-logger-bqvjxhzq.js} +6 -6
- package/dist/chunks/{ripgrep-cza9j1er.js → event-logger-bvm1hg5c.js} +1 -1
- package/dist/chunks/{ripgrep-nftwv1dv.js → event-logger-bvn0jvmc.js} +21 -21
- package/dist/chunks/{ripgrep-bw0vgseb.js → event-logger-bw0vgseb.js} +2 -2
- package/dist/chunks/{ripgrep-makktzfn.js → event-logger-c2nw9g0k.js} +8 -8
- package/dist/chunks/{ripgrep-g0zjwb8j.js → event-logger-c7spm76h.js} +23 -23
- package/dist/chunks/{ripgrep-4z15ngcr.js → event-logger-cbs9m2xx.js} +9 -9
- package/dist/chunks/{ripgrep-ea8nv0r7.js → event-logger-ce6x2zr0.js} +2 -2
- package/dist/chunks/{ripgrep-m0jqrx5p.js → event-logger-cfpkc3c9.js} +2 -2
- package/dist/chunks/{ripgrep-rz87j40z.js → event-logger-ch5b4xvj.js} +17 -17
- package/dist/chunks/{ripgrep-ds2mmwsg.js → event-logger-cjwramev.js} +6 -6
- package/dist/chunks/{ripgrep-t3cqppxt.js → event-logger-cns04f9e.js} +11 -11
- package/dist/chunks/{ripgrep-89smrnyf.js → event-logger-cq37gk0t.js} +4 -4
- package/dist/chunks/{ripgrep-g1sy3t6s.js → event-logger-cv1ay1tc.js} +24 -24
- package/dist/chunks/{ripgrep-bnaeqmzy.js → event-logger-cwb0we08.js} +25 -25
- package/dist/chunks/{ripgrep-mqgn8hcj.js → event-logger-d54ffpbv.js} +26 -26
- package/dist/chunks/{ripgrep-2zr7sd05.js → event-logger-dd7rzvx4.js} +13 -13
- package/dist/chunks/{ripgrep-tfk1j7dq.js → event-logger-dfa1vh33.js} +43 -43
- package/dist/chunks/{ripgrep-xpn5exb3.js → event-logger-dk7725me.js} +3 -3
- package/dist/chunks/{ripgrep-bn56f23d.js → event-logger-dkbwh9ch.js} +9 -9
- package/dist/chunks/{ripgrep-mgrb5prq.js → event-logger-dkga0czm.js} +10 -10
- package/dist/chunks/{ripgrep-gj6rcz70.js → event-logger-dmcwma29.js} +9 -9
- package/dist/chunks/{ripgrep-y71avatq.js → event-logger-dpkg50ah.js} +4 -4
- package/dist/chunks/{ripgrep-273h6293.js → event-logger-dqv3av83.js} +6 -6
- package/dist/chunks/{ripgrep-sh6mjzwx.js → event-logger-dsyhjxyt.js} +18 -18
- package/dist/chunks/{ripgrep-hbqwmcym.js → event-logger-ejacwys3.js} +13 -13
- package/dist/chunks/{ripgrep-k7c8rbx5.js → event-logger-eq4x7z7g.js} +30 -30
- package/dist/chunks/{ripgrep-nv5vn7qx.js → event-logger-eraanh1f.js} +6 -6
- package/dist/chunks/{ripgrep-3cfxxyky.js → event-logger-esh0bm8f.js} +13 -13
- package/dist/chunks/{ripgrep-etq0c3wd.js → event-logger-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-ja0fapct.js → event-logger-ev621ztv.js} +14 -14
- package/dist/chunks/{ripgrep-3916sf1y.js → event-logger-f1808m7s.js} +12 -12
- package/dist/chunks/{ripgrep-gqm3etmd.js → event-logger-f5q0vcv3.js} +21 -21
- package/dist/chunks/{ripgrep-7y5jkdce.js → event-logger-f633wym4.js} +9 -9
- package/dist/chunks/{ripgrep-hdnk95c8.js → event-logger-f828m53h.js} +2 -2
- package/dist/chunks/{ripgrep-dxkw8z59.js → event-logger-f8qm8sf3.js} +21 -21
- package/dist/chunks/{ripgrep-65jk6x65.js → event-logger-fgyjpp5p.js} +13 -13
- package/dist/chunks/{ripgrep-fxbjtjnd.js → event-logger-fxbjtjnd.js} +1 -1
- package/dist/chunks/{ripgrep-h5eqzpkj.js → event-logger-fzdy4d0q.js} +141 -141
- package/dist/chunks/{ripgrep-gd4qta3r.js → event-logger-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-ybpn653b.js → event-logger-ghz6wyt3.js} +4 -4
- package/dist/chunks/{ripgrep-56tq4mad.js → event-logger-gt2gssxy.js} +14 -14
- package/dist/chunks/{ripgrep-dh46x48g.js → event-logger-gtpaj2zh.js} +16 -16
- package/dist/chunks/{ripgrep-19d3sct9.js → event-logger-gv6a8nnw.js} +5 -5
- package/dist/chunks/{ripgrep-mqhr8xm6.js → event-logger-gzpzy08g.js} +24 -24
- package/dist/chunks/{ripgrep-h03wrkyp.js → event-logger-h03wrkyp.js} +2 -2
- package/dist/chunks/{ripgrep-h6vf3j39.js → event-logger-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-rvjgzqwq.js → event-logger-h827z1wc.js} +72 -72
- package/dist/chunks/{ripgrep-qvmqnmmt.js → event-logger-hej11e9k.js} +46 -46
- package/dist/chunks/{ripgrep-a6ztjttg.js → event-logger-hjdaw55a.js} +11 -11
- package/dist/chunks/{ripgrep-55ec9169.js → event-logger-hpzj69ys.js} +9 -9
- package/dist/chunks/{ripgrep-hrvd6t1f.js → event-logger-hrvd6t1f.js} +2 -2
- package/dist/chunks/{ripgrep-tjncz0mj.js → event-logger-j2ef6mt4.js} +4 -4
- package/dist/chunks/{ripgrep-qbc1vncp.js → event-logger-j3avrqmj.js} +21 -21
- package/dist/chunks/{ripgrep-yhemyvg6.js → event-logger-j5208yae.js} +6 -6
- package/dist/chunks/{ripgrep-j56e64zr.js → event-logger-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-pwr8fgkg.js → event-logger-j752288f.js} +10 -10
- package/dist/chunks/{ripgrep-jeanpfns.js → event-logger-jcbnna01.js} +1 -1
- package/dist/chunks/{ripgrep-kd6sn3q5.js → event-logger-jm81tt6p.js} +16 -16
- package/dist/chunks/{ripgrep-18e56dsp.js → event-logger-jva4mgym.js} +4 -4
- package/dist/chunks/{ripgrep-dhmh7aw6.js → event-logger-jvf3yq6v.js} +4 -4
- package/dist/chunks/{ripgrep-dw1fjyb0.js → event-logger-k0c7x7cv.js} +1 -1
- package/dist/chunks/{ripgrep-k8kd5w7n.js → event-logger-k0gaf0st.js} +8 -8
- package/dist/chunks/{ripgrep-nz99f8xd.js → event-logger-k8rnnzxr.js} +20 -20
- package/dist/chunks/{ripgrep-tarep50r.js → event-logger-kdr8fyyg.js} +13 -13
- package/dist/chunks/{ripgrep-kg06axw8.js → event-logger-kg06axw8.js} +1 -1
- package/dist/chunks/{ripgrep-hw6f026f.js → event-logger-kqwhkqhr.js} +4 -4
- package/dist/chunks/{ripgrep-pvx4ycye.js → event-logger-kt5w8vxh.js} +3 -3
- package/dist/chunks/{ripgrep-q6jxhr7p.js → event-logger-ky16kd9n.js} +12 -12
- package/dist/chunks/{ripgrep-qxd59bx2.js → event-logger-m03dct7t.js} +7 -7
- package/dist/chunks/{ripgrep-693j5c0s.js → event-logger-m24e36k8.js} +4 -4
- package/dist/chunks/{ripgrep-f0zqv8cz.js → event-logger-m36jmyye.js} +42 -42
- package/dist/chunks/{ripgrep-vfefw32n.js → event-logger-m4brm0xw.js} +2 -2
- package/dist/chunks/{ripgrep-4786se8r.js → event-logger-m5gdw33a.js} +1 -1
- package/dist/chunks/{ripgrep-8a0b7fze.js → event-logger-m7n8wce4.js} +2 -2
- package/dist/chunks/{ripgrep-ket1x0yc.js → event-logger-m86bnw2c.js} +9 -9
- package/dist/chunks/{ripgrep-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-8recqrg4.js → event-logger-mf4e5jra.js} +6 -6
- package/dist/chunks/event-logger-mqnfax07.js +22 -0
- package/dist/chunks/{ripgrep-8jxztqqt.js → event-logger-mtft99cd.js} +5 -5
- package/dist/chunks/{ripgrep-mttv9c64.js → event-logger-mwgsz66j.js} +15 -15
- package/dist/chunks/{ripgrep-t3pn2srw.js → event-logger-n07gqhyx.js} +6 -6
- package/dist/chunks/{ripgrep-15t60dpg.js → event-logger-ncagzpqf.js} +39 -39
- package/dist/chunks/{ripgrep-j4c2y7gg.js → event-logger-ndn9gv9q.js} +21 -21
- package/dist/chunks/{ripgrep-yxtae5qy.js → event-logger-nh9g9pzb.js} +32 -32
- package/dist/chunks/{ripgrep-nhy5jxhy.js → event-logger-nhy5jxhy.js} +1 -1
- package/dist/chunks/{ripgrep-gnrgb9v9.js → event-logger-njct8jvz.js} +12 -12
- package/dist/chunks/{ripgrep-s6xr1hpd.js → event-logger-nt222m0g.js} +20 -20
- package/dist/chunks/{ripgrep-6hegse3n.js → event-logger-nzv3j2hr.js} +13 -13
- package/dist/chunks/{ripgrep-wahmyx3j.js → event-logger-nzvncwgb.js} +6 -6
- package/dist/chunks/{ripgrep-0bps82y7.js → event-logger-p0a23dx6.js} +6 -6
- package/dist/chunks/{ripgrep-vvww6z2v.js → event-logger-p3q361y3.js} +9 -9
- package/dist/chunks/{ripgrep-7q1g2eq3.js → event-logger-p61frmk7.js} +285 -285
- package/dist/chunks/{ripgrep-4sfcqppx.js → event-logger-p87m1m37.js} +2 -2
- package/dist/chunks/{ripgrep-pjvnvgmy.js → event-logger-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-23va4g8n.js → event-logger-pkfr1pet.js} +11 -11
- package/dist/chunks/{ripgrep-8qvgnq7a.js → event-logger-pkkwwmgt.js} +11 -11
- package/dist/chunks/{ripgrep-pknna89w.js → event-logger-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-2k2kkdba.js → event-logger-pm90pbz6.js} +11 -11
- package/dist/chunks/{ripgrep-fyjp43ss.js → event-logger-q17z9dx8.js} +5 -5
- package/dist/chunks/{ripgrep-4svbav50.js → event-logger-qccnpqpp.js} +47 -47
- package/dist/chunks/{ripgrep-qsdy395h.js → event-logger-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-zv8jbdmn.js → event-logger-r98e92ep.js} +4 -4
- package/dist/chunks/{ripgrep-r9mregkx.js → event-logger-r9mregkx.js} +2 -2
- package/dist/chunks/{ripgrep-wh1eej68.js → event-logger-rb027g49.js} +11 -11
- package/dist/chunks/{ripgrep-pqbv8h9y.js → event-logger-rb64xmzh.js} +36 -36
- package/dist/chunks/{ripgrep-s8d7rejh.js → event-logger-rhjbct0v.js} +4 -4
- package/dist/chunks/{ripgrep-k9gn0ad9.js → event-logger-rvwqfdww.js} +10 -10
- package/dist/chunks/{ripgrep-kg76qfxw.js → event-logger-s058yp8t.js} +38 -38
- package/dist/chunks/{ripgrep-n0prnbcg.js → event-logger-s39b72p8.js} +10 -10
- package/dist/chunks/{ripgrep-s4enseaf.js → event-logger-s4enseaf.js} +2 -2
- package/dist/chunks/{ripgrep-hsgwetrq.js → event-logger-s5a05w92.js} +7 -7
- package/dist/chunks/{ripgrep-7mbgx17m.js → event-logger-sa7a5tmm.js} +23 -23
- package/dist/chunks/{ripgrep-x84xvd1n.js → event-logger-sd7wqtbt.js} +15 -15
- package/dist/chunks/{ripgrep-e8ac3wj7.js → event-logger-sdvmr1ej.js} +9 -9
- package/dist/chunks/{ripgrep-9fqgd0wm.js → event-logger-sjefxttk.js} +13 -13
- package/dist/chunks/{ripgrep-rp8jz6x1.js → event-logger-ss0awb04.js} +6 -6
- package/dist/chunks/{ripgrep-4ypr07qq.js → event-logger-sthbb5cw.js} +8 -8
- package/dist/chunks/{ripgrep-zj1vh5fc.js → event-logger-sxv6xj8p.js} +9 -9
- package/dist/chunks/{ripgrep-fk64qee0.js → event-logger-t120k88h.js} +8 -8
- package/dist/chunks/{ripgrep-9gyd2w40.js → event-logger-t23qze4t.js} +1 -1
- package/dist/chunks/{ripgrep-5425k34f.js → event-logger-t56vxrbb.js} +12 -12
- package/dist/chunks/{ripgrep-tazgh4e4.js → event-logger-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-kcb8efe6.js → event-logger-tcb1qavv.js} +15 -15
- package/dist/chunks/{ripgrep-tcezcvh9.js → event-logger-tcezcvh9.js} +1 -1
- package/dist/chunks/{ripgrep-ked90xm8.js → event-logger-td0hqsrb.js} +5 -5
- package/dist/chunks/{ripgrep-tdstcens.js → event-logger-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-c7gc6yv9.js → event-logger-terctddd.js} +30 -30
- package/dist/chunks/{ripgrep-j7twb6sd.js → event-logger-tf5cr1kr.js} +27 -27
- package/dist/chunks/{ripgrep-2k28pc1g.js → event-logger-tfc0qd5p.js} +12 -12
- package/dist/chunks/{ripgrep-cg3re8yn.js → event-logger-tmgwzcwe.js} +16 -16
- package/dist/chunks/{ripgrep-tfk0ak3w.js → event-logger-tqtt53gv.js} +5 -5
- package/dist/chunks/{ripgrep-hb36k1xj.js → event-logger-trcrtdpw.js} +7 -7
- package/dist/chunks/{ripgrep-tvtrv512.js → event-logger-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-j9e0mrh2.js → event-logger-tzrnpvjh.js} +35 -35
- package/dist/chunks/{ripgrep-ngn3zv13.js → event-logger-v9gfehbc.js} +17 -17
- package/dist/chunks/{ripgrep-g2a831m9.js → event-logger-vadf2hxy.js} +13 -13
- package/dist/chunks/{ripgrep-veqvce7d.js → event-logger-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-s5kxrhz6.js → event-logger-vhn7gvaw.js} +5 -5
- package/dist/chunks/{ripgrep-hkf2qys9.js → event-logger-vkw1mnyj.js} +9 -9
- package/dist/chunks/{ripgrep-etjd8m3h.js → event-logger-vxwzppst.js} +9 -9
- package/dist/chunks/{ripgrep-0a0yz20b.js → event-logger-vy5eqv62.js} +25 -25
- package/dist/chunks/{ripgrep-9c1qwqga.js → event-logger-vz89k1wx.js} +9 -9
- package/dist/chunks/{ripgrep-vzcthcp8.js → event-logger-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-798sgk8w.js → event-logger-w2e8ktns.js} +12 -12
- package/dist/chunks/{ripgrep-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-sasnma5y.js → event-logger-w64bbnpc.js} +25 -25
- package/dist/chunks/{ripgrep-jn8gnkkx.js → event-logger-w8rcx1f0.js} +20 -20
- package/dist/chunks/{ripgrep-n92pz7zc.js → event-logger-wbkyxrgf.js} +5 -5
- package/dist/chunks/{ripgrep-wd87259q.js → event-logger-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-3xagmvq1.js → event-logger-whcrpeby.js} +8 -8
- package/dist/chunks/{ripgrep-eynhbbrp.js → event-logger-wr5k3gxd.js} +10 -10
- package/dist/chunks/{ripgrep-x1ezjp6w.js → event-logger-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-9pf502c0.js → event-logger-x404byw8.js} +12 -12
- package/dist/chunks/{ripgrep-g14zqp48.js → event-logger-x71d43dg.js} +4 -4
- package/dist/chunks/{ripgrep-wdxjhaa6.js → event-logger-x871jg53.js} +13 -13
- package/dist/chunks/{ripgrep-8evqb545.js → event-logger-xaqfs5b5.js} +17 -17
- package/dist/chunks/{ripgrep-2ve45fd6.js → event-logger-xbmcec40.js} +2 -2
- package/dist/chunks/{ripgrep-tvbftpt7.js → event-logger-xf6kwcfv.js} +6 -6
- package/dist/chunks/{ripgrep-rt0tzyzc.js → event-logger-xhrkmfd9.js} +19 -19
- package/dist/chunks/{ripgrep-r12m2gvw.js → event-logger-xhsmq68x.js} +26 -26
- package/dist/chunks/{ripgrep-ebtmksy4.js → event-logger-xjhc0fx9.js} +9 -9
- package/dist/chunks/{ripgrep-ez9ncaqn.js → event-logger-xkk846wk.js} +18 -18
- package/dist/chunks/{ripgrep-4fzjfb08.js → event-logger-xmn01vd9.js} +26 -26
- package/dist/chunks/{ripgrep-tkn615h0.js → event-logger-xxvz0crz.js} +3 -3
- package/dist/chunks/{ripgrep-wy91bkd0.js → event-logger-xzy5cntm.js} +17 -17
- package/dist/chunks/{ripgrep-y1fvbwt7.js → event-logger-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-dv250zvr.js → event-logger-y6f0p4jw.js} +3 -3
- package/dist/chunks/{ripgrep-qa4rp7fn.js → event-logger-yb94xmg0.js} +2 -2
- package/dist/chunks/{ripgrep-p6s6v31b.js → event-logger-yefegs55.js} +20 -20
- package/dist/chunks/{ripgrep-yrhqyw5v.js → event-logger-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-z0bkrqjs.js → event-logger-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-y361e8w3.js → event-logger-z0tznns6.js} +16 -16
- package/dist/chunks/{ripgrep-rt5nc7f1.js → event-logger-z30g0gt0.js} +4 -4
- package/dist/chunks/{ripgrep-03m5yc2w.js → event-logger-zawdfknb.js} +22 -22
- package/dist/chunks/{ripgrep-rq775frq.js → event-logger-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-jwjk52g2.js → event-logger-zfznrpx1.js} +4 -4
- package/dist/chunks/{ripgrep-tayeq9hg.js → event-logger-zgkempy3.js} +2 -2
- package/dist/chunks/{ripgrep-68sqcc23.js → event-logger-zh5qwwz4.js} +11 -11
- package/dist/chunks/{ripgrep-ra8yf1dm.js → event-logger-zjpde9dr.js} +9 -9
- package/dist/chunks/{ripgrep-zr2ceqn5.js → event-logger-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-w36hd28z.js → event-logger-zs2m6qpz.js} +9 -9
- package/dist/chunks/{ripgrep-zxq2ej10.js → event-logger-zxq2ej10.js} +1 -1
- package/dist/chunks/{ripgrep-xk1mwkvz.js → event-logger-zy4z7v1p.js} +27 -27
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +112 -112
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +83 -83
- package/dist/generate.js +92 -92
- package/dist/git.js +3 -3
- 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 +7 -7
- 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 +352 -352
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +81 -81
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +349 -349
- package/dist/location.js +77 -77
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +96 -96
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +4 -4
- package/dist/models-dev.js +81 -81
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -338
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +3 -3
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +76 -76
- package/dist/provider.js +3 -3
- 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 +89 -89
- package/dist/reference/instructions.js +81 -81
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +146 -146
- 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 +217 -217
- package/dist/session/execution.js +121 -121
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +148 -148
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +102 -102
- 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 +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +115 -115
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +77 -77
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/ripgrep-5sag4wt5.js +0 -22
- package/dist/chunks/ripgrep-pr17jsva.js +0 -247
- /package/dist/chunks/{ripgrep-0mesazry.js → event-logger-0mesazry.js} +0 -0
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → event-logger-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → event-logger-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → event-logger-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → event-logger-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → event-logger-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → event-logger-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → event-logger-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → event-logger-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → event-logger-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → event-logger-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → event-logger-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → event-logger-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → event-logger-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → event-logger-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → event-logger-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → event-logger-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → event-logger-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → event-logger-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-hrnqkpcd.js → event-logger-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-j935v87r.js → event-logger-j935v87r.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → event-logger-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → event-logger-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-twg0f83k.js → event-logger-twg0f83k.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → event-logger-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → event-logger-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → event-logger-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-j2ef6mt4.js";
|
|
8
8
|
import {
|
|
9
9
|
Event19,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service74,
|
|
11
|
+
node79
|
|
12
|
+
} from "./event-logger-jm81tt6p.js";
|
|
13
13
|
import {
|
|
14
14
|
Service76,
|
|
15
15
|
node81
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./event-logger-zgkempy3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service68,
|
|
19
|
+
node72
|
|
20
|
+
} from "./event-logger-ndn9gv9q.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID13,
|
|
23
|
+
Service73,
|
|
24
|
+
node78
|
|
25
|
+
} from "./event-logger-xhsmq68x.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./event-logger-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID12,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service72,
|
|
34
|
+
node77
|
|
35
|
+
} from "./event-logger-cv1ay1tc.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -56,7 +56,7 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service33,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
@@ -64,7 +64,7 @@ __export(exports_mcp4, {
|
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
65
|
configured: () => configured4,
|
|
66
66
|
layer: () => layer14,
|
|
67
|
-
node: () =>
|
|
67
|
+
node: () => node37
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID12.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -165,7 +165,7 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service33 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
170
|
var Options4 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -173,13 +173,13 @@ var Options4 = Schema.Struct({
|
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var layer14 = (options) => Layer.effect(
|
|
176
|
+
var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
177
177
|
const location = yield* Service76;
|
|
178
|
-
const environment = yield*
|
|
178
|
+
const environment = yield* Service68;
|
|
179
179
|
const bus = yield* Service79;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service73;
|
|
181
|
+
const integration = yield* Service72;
|
|
182
|
+
const credentials = yield* Service74;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID12.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -315,7 +315,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID13.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -433,7 +433,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* 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(
|
|
436
|
+
const result = yield* 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(Service68, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -587,7 +587,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service33.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -709,12 +709,12 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
709
709
|
}));
|
|
710
710
|
function configured4(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
712
|
+
service: Service33,
|
|
713
713
|
layer: layer14(options),
|
|
714
|
-
deps: [node81,
|
|
714
|
+
deps: [node81, node72, node84, node78, node77, node79]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node37 = configured4();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service33, Options4, layer14, configured4, node37, exports_mcp4 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make20,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make20(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-153zkwj3.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service67,
|
|
17
|
+
node: () => node71
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service67 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service80).db;
|
|
26
|
-
return
|
|
26
|
+
return Service67.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node71 = makeGlobalNode({ service: Service67, layer, deps: [node85] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service67, node71, exports_kv };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-j2ef6mt4.js";
|
|
5
5
|
import {
|
|
6
6
|
Event19,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node79
|
|
9
|
+
} from "./event-logger-jm81tt6p.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service63,
|
|
12
|
+
node67
|
|
13
|
+
} from "./event-logger-3xp94y37.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./event-logger-922hggd3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service76,
|
|
19
19
|
node81
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./event-logger-zgkempy3.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./event-logger-s4enseaf.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./event-logger-at0jc416.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./event-logger-dk7725me.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./event-logger-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service65,
|
|
36
|
+
Event15,
|
|
37
|
+
node69
|
|
38
|
+
} from "./event-logger-62sdnsqh.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options7,
|
|
48
|
+
Service: () => Service62,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured8,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer23,
|
|
53
|
+
node: () => node66,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,14 +71,14 @@ import { Global } from "@opencode/util/global";
|
|
|
71
71
|
function latest2(entries, key) {
|
|
72
72
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
73
73
|
}
|
|
74
|
-
var
|
|
74
|
+
var Options7 = Schema.Struct({
|
|
75
75
|
project: Schema.optional(Schema.Boolean),
|
|
76
76
|
global: Schema.optional(Schema.Boolean),
|
|
77
77
|
file: Schema.optional(Schema.String),
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service62 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,7 +92,7 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service62, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
97
|
function decodePreferences(text) {
|
|
98
98
|
const errors = [];
|
|
@@ -108,14 +108,14 @@ function decodePreferences(text) {
|
|
|
108
108
|
...info?.websearch === undefined ? {} : { websearch: info.websearch }
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var layer23 = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
112
112
|
const fs = yield* FSUtil.Service;
|
|
113
113
|
const location = yield* Service76;
|
|
114
|
-
const watcher = yield*
|
|
114
|
+
const watcher = yield* Service63;
|
|
115
115
|
const bus = yield* Service79;
|
|
116
|
-
const credentials = yield*
|
|
116
|
+
const credentials = yield* Service74;
|
|
117
117
|
const globalService = yield* Global.Service;
|
|
118
|
-
const wellknown = yield*
|
|
118
|
+
const wellknown = yield* Service65;
|
|
119
119
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
120
120
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
121
121
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -240,7 +240,7 @@ var layer24 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
240
240
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
241
241
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
243
|
-
yield* bus.subscribe(
|
|
243
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
244
244
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
245
245
|
if (!wellknown.snapshot().length)
|
|
246
246
|
return Effect.void;
|
|
@@ -282,7 +282,7 @@ var layer24 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
282
282
|
yield* requestReload;
|
|
283
283
|
return decodePreferences(updated);
|
|
284
284
|
}, (effect) => updateLock.withPermit(effect));
|
|
285
|
-
return
|
|
285
|
+
return Service62.of({
|
|
286
286
|
entries: Effect.fnUntraced(function* () {
|
|
287
287
|
return configs;
|
|
288
288
|
}),
|
|
@@ -291,13 +291,13 @@ var layer24 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
291
291
|
updatePreferences
|
|
292
292
|
});
|
|
293
293
|
}));
|
|
294
|
-
function
|
|
294
|
+
function configured8(options) {
|
|
295
295
|
return makeLocationNode({
|
|
296
|
-
service:
|
|
297
|
-
layer:
|
|
298
|
-
deps: [
|
|
296
|
+
service: Service62,
|
|
297
|
+
layer: layer23(options),
|
|
298
|
+
deps: [node67, node84, FSUtil.node, Global.node, node81, node79, node69]
|
|
299
299
|
});
|
|
300
300
|
}
|
|
301
|
-
var
|
|
301
|
+
var node66 = configured8();
|
|
302
302
|
|
|
303
|
-
export { latest2,
|
|
303
|
+
export { latest2, Options7, Service62, Test2, testLayer2, layer23, configured8, node66, exports_config };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-153zkwj3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./event-logger-p0a23dx6.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-9sh4wc5j.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./event-logger-bccb6npm.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./event-logger-c2nw9g0k.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./event-logger-terctddd.js";
|
|
19
19
|
import {
|
|
20
20
|
Service22
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./event-logger-h827z1wc.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate = {};
|
|
@@ -32,7 +32,7 @@ __export(exports_generate, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service45;
|
|
36
36
|
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-zgkempy3.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
DiffError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-z0tznns6.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/vcs/git.ts
|
|
19
19
|
var exports_git = {};
|
|
20
20
|
__export(exports_git, {
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin36,
|
|
22
22
|
VcsGitPlugin: () => exports_git
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { Effect } from "effect";
|
|
26
26
|
import { ChildProcess } from "effect/unstable/process";
|
|
27
27
|
import { AppProcess } from "@opencode/util/process";
|
|
28
|
-
var
|
|
28
|
+
var Plugin36 = define({
|
|
29
29
|
id: "opencode.vcs.git",
|
|
30
30
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
31
31
|
const location = yield* Service76;
|
|
@@ -467,4 +467,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
467
467
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
468
468
|
});
|
|
469
469
|
|
|
470
|
-
export {
|
|
470
|
+
export { Plugin36, exports_git };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-153zkwj3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-j2ef6mt4.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./event-logger-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./event-logger-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./event-logger-y6f0p4jw.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./event-logger-a1bz86dw.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info7,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service43,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -46,11 +46,11 @@ __export(exports_inbox, {
|
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
48
|
layer: () => layer18,
|
|
49
|
-
list: () =>
|
|
50
|
-
make: () =>
|
|
49
|
+
list: () => list3,
|
|
50
|
+
make: () => make18,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node47,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info7,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service43 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service80;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service79;
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info7.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
timeCreated: DateTime.makeUnsafe(event.created),
|
|
@@ -193,7 +193,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list3(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var layer18 = Layer.effect(
|
|
231
|
-
var
|
|
230
|
+
var layer18 = Layer.effect(Service43, make18());
|
|
231
|
+
var node47 = makeGlobalNode({ service: Service43, layer: layer18, deps: [node85, node84] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service43, make18, layer18, node47, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|