@opencode/core 0.0.0-dev-20297 → 0.0.0-dev-20303
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{vcs-h5vcs21w.js → ripgrep-00bkszwx.js} +23 -23
- package/dist/chunks/{vcs-5gwm7s57.js → ripgrep-0939078r.js} +3 -3
- package/dist/chunks/{vcs-9jzp6rtr.js → ripgrep-0996nyz8.js} +9 -9
- package/dist/chunks/{vcs-kzcxnww5.js → ripgrep-0ahrpcjw.js} +7 -7
- package/dist/chunks/{vcs-ymss648d.js → ripgrep-0b5t2wwf.js} +9 -9
- package/dist/chunks/{vcs-8jxztqqt.js → ripgrep-0f9afca0.js} +5 -5
- package/dist/chunks/{vcs-5k1yf8nh.js → ripgrep-0j9j0cr0.js} +22 -22
- package/dist/chunks/{vcs-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-0a1dfz7r.js → ripgrep-18qa6r1n.js} +16 -16
- package/dist/chunks/{vcs-72f4v86y.js → ripgrep-1d3bftpa.js} +11 -11
- package/dist/chunks/{vcs-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-pxpwb23y.js → ripgrep-1jd7dvgb.js} +17 -17
- package/dist/chunks/{vcs-wr6f3qv2.js → ripgrep-1m0xqqrr.js} +14 -14
- package/dist/chunks/{vcs-cf7p89xb.js → ripgrep-1nkg8qc4.js} +12 -12
- package/dist/chunks/{vcs-56gdpj1q.js → ripgrep-1ygqh575.js} +9 -9
- package/dist/chunks/{vcs-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{vcs-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-37sfe3bm.js → ripgrep-2pdg46mn.js} +11 -11
- package/dist/chunks/{vcs-zd5bv8nv.js → ripgrep-2qtr0tge.js} +44 -44
- package/dist/chunks/{vcs-755ktwre.js → ripgrep-2t95j9c0.js} +24 -24
- package/dist/chunks/{vcs-qv52y0kk.js → ripgrep-2x0wkexj.js} +22 -22
- package/dist/chunks/{vcs-18296zga.js → ripgrep-2xqghjp6.js} +3 -3
- package/dist/chunks/ripgrep-31wx1wqg.js +424 -0
- package/dist/chunks/{vcs-rp8jz6x1.js → ripgrep-35agz59w.js} +4 -4
- package/dist/chunks/{vcs-vktfeg91.js → ripgrep-37m9xwpn.js} +24 -24
- package/dist/chunks/ripgrep-38phvaps.js +252 -0
- package/dist/chunks/{vcs-7j156qnj.js → ripgrep-3c4e9bh1.js} +7 -7
- package/dist/chunks/{vcs-83ww5tb3.js → ripgrep-3es9bxre.js} +15 -15
- package/dist/chunks/{vcs-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-yvshgw5k.js → ripgrep-3kkw8qnw.js} +21 -21
- package/dist/chunks/{vcs-983bx4tv.js → ripgrep-3p17jnne.js} +11 -11
- package/dist/chunks/{vcs-ng7678yv.js → ripgrep-3skt28fc.js} +3 -3
- package/dist/chunks/{vcs-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-4e9nfnk1.js → ripgrep-3v1h8cz5.js} +57 -57
- package/dist/chunks/{vcs-3y377wv9.js → ripgrep-3y377wv9.js} +1 -1
- package/dist/chunks/{vcs-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{vcs-6erhv98a.js → ripgrep-4438m4a7.js} +18 -18
- package/dist/chunks/{vcs-y8s8f6j8.js → ripgrep-4858gwxg.js} +43 -43
- package/dist/chunks/{vcs-1h0nj16t.js → ripgrep-4gr8y5nf.js} +20 -20
- package/dist/chunks/{vcs-fhcrmec4.js → ripgrep-4k5pyaj2.js} +10 -10
- package/dist/chunks/{vcs-wn21040f.js → ripgrep-4nj6keg1.js} +18 -18
- package/dist/chunks/{vcs-w9h9v0y2.js → ripgrep-4pdcrpe9.js} +13 -13
- package/dist/chunks/{vcs-54ma36ye.js → ripgrep-54ma36ye.js} +1 -1
- package/dist/chunks/{vcs-yavzwk2n.js → ripgrep-552s6kfz.js} +15 -15
- package/dist/chunks/{vcs-d9s573fh.js → ripgrep-57ez7d0k.js} +2 -2
- package/dist/chunks/{vcs-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{vcs-hkagk5ex.js → ripgrep-5frpvc34.js} +2 -2
- package/dist/chunks/{vcs-j5r7mnag.js → ripgrep-5gxtf2ep.js} +27 -27
- package/dist/chunks/{vcs-q9xmsq5j.js → ripgrep-5hcrxyky.js} +6 -6
- package/dist/chunks/{vcs-e3qxr5gk.js → ripgrep-5qd3pb7m.js} +2 -2
- package/dist/chunks/{vcs-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-6fza0gtm.js → ripgrep-5vqak28j.js} +15 -15
- package/dist/chunks/{vcs-3wgpjb8z.js → ripgrep-632bft3r.js} +19 -19
- package/dist/chunks/{vcs-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{vcs-tj141g8h.js → ripgrep-695yb3ne.js} +19 -19
- package/dist/chunks/{vcs-rt6eccz9.js → ripgrep-6ejtffh2.js} +19 -19
- package/dist/chunks/{vcs-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{vcs-xat61z3k.js → ripgrep-6ne0j7pm.js} +11 -11
- package/dist/chunks/{vcs-73tb2d7t.js → ripgrep-73tb2d7t.js} +1 -1
- package/dist/chunks/{vcs-teyc4whj.js → ripgrep-74a0hazz.js} +11 -11
- package/dist/chunks/{vcs-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-2k8khapm.js → ripgrep-7dqw4kz8.js} +5 -5
- package/dist/chunks/{vcs-np4zyaxz.js → ripgrep-7j2mf0b2.js} +8 -8
- package/dist/chunks/{vcs-rkj6e36x.js → ripgrep-7y05g5y6.js} +5 -5
- package/dist/chunks/{vcs-tcezcvh9.js → ripgrep-89znhe33.js} +4 -4
- package/dist/chunks/{vcs-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-k3g1rb3k.js → ripgrep-8djhgsab.js} +22 -22
- package/dist/chunks/{vcs-s8anskx2.js → ripgrep-8epfg41c.js} +8 -8
- package/dist/chunks/{vcs-fwv01ez0.js → ripgrep-8gy77n4q.js} +12 -12
- package/dist/chunks/{vcs-1djhwe97.js → ripgrep-8jsvkn40.js} +31 -31
- package/dist/chunks/{vcs-ndmv45hp.js → ripgrep-8q7cq0y1.js} +3 -3
- package/dist/chunks/{vcs-pxkhtqdc.js → ripgrep-8qxm69fb.js} +19 -19
- package/dist/chunks/{vcs-eef36fdw.js → ripgrep-8vxvqh3p.js} +23 -23
- package/dist/chunks/{vcs-knevfgda.js → ripgrep-8wbxkt1z.js} +4 -4
- package/dist/chunks/{vcs-2gqdr94z.js → ripgrep-92z2dgw1.js} +3 -3
- package/dist/chunks/{vcs-gfvb90ym.js → ripgrep-94ek1h2f.js} +2 -2
- package/dist/chunks/{vcs-3pebang0.js → ripgrep-9gjvwznx.js} +25 -25
- package/dist/chunks/{vcs-k8t255qq.js → ripgrep-9tn9hv36.js} +35 -35
- package/dist/chunks/{vcs-pgwqr8ee.js → ripgrep-9x50181g.js} +12 -12
- package/dist/chunks/ripgrep-9zdhvgqs.js +18 -0
- package/dist/chunks/{vcs-62ezrtah.js → ripgrep-a2tjj438.js} +92 -92
- package/dist/chunks/{vcs-4acqjqp7.js → ripgrep-aa6tf4fy.js} +22 -22
- package/dist/chunks/{vcs-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-x3an4z7c.js → ripgrep-ab4nhn8b.js} +6 -6
- package/dist/chunks/{vcs-3vbw7yca.js → ripgrep-ag1tg3gv.js} +32 -32
- package/dist/chunks/{vcs-p2etx821.js → ripgrep-amjwwp15.js} +22 -22
- package/dist/chunks/{vcs-y5hhwgev.js → ripgrep-ay7z0nzh.js} +13 -13
- package/dist/chunks/{vcs-b8d4rmcw.js → ripgrep-b1k697tw.js} +9 -9
- package/dist/chunks/{vcs-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{vcs-keqjy1g6.js → ripgrep-bahgfxtd.js} +26 -26
- package/dist/chunks/{vcs-42kdhqse.js → ripgrep-bea85hdf.js} +3 -3
- package/dist/chunks/{vcs-cq46pgcx.js → ripgrep-bgxcxs0p.js} +5 -5
- package/dist/chunks/{vcs-svaspcxn.js → ripgrep-bhzbay2t.js} +5 -5
- package/dist/chunks/{vcs-fzd0b8n6.js → ripgrep-bm4pzggq.js} +21 -21
- package/dist/chunks/{vcs-724n6vts.js → ripgrep-bs1d3dhn.js} +3 -3
- package/dist/chunks/{vcs-4z58m4b4.js → ripgrep-c35597j6.js} +4 -4
- package/dist/chunks/{vcs-54tcyq79.js → ripgrep-ckecvw8r.js} +2 -2
- package/dist/chunks/{vcs-v4aesa73.js → ripgrep-ckr8yqr6.js} +5 -5
- package/dist/chunks/{vcs-p9kt6re1.js → ripgrep-cx34d9wd.js} +11 -11
- package/dist/chunks/{vcs-56dsz7qa.js → ripgrep-cztphjx7.js} +332 -332
- package/dist/chunks/{vcs-gx21vd1f.js → ripgrep-d21fb1vq.js} +13 -13
- package/dist/chunks/{vcs-f2wfspan.js → ripgrep-d450k981.js} +8 -8
- package/dist/chunks/{vcs-5p6nskts.js → ripgrep-d8s5zaak.js} +18 -18
- package/dist/chunks/{vcs-q54gewa9.js → ripgrep-d9wxm2fe.js} +8 -8
- package/dist/chunks/{vcs-dds4m2b5.js → ripgrep-dc0h2f5m.js} +10 -10
- package/dist/chunks/{vcs-h6dd5nj3.js → ripgrep-deajr4zv.js} +11 -11
- package/dist/chunks/{vcs-cqtvvg9q.js → ripgrep-dj9sq318.js} +5 -5
- package/dist/chunks/{vcs-cwa6csj7.js → ripgrep-djszqvmq.js} +9 -9
- package/dist/chunks/{vcs-3s57j9d0.js → ripgrep-dq3vednk.js} +15 -15
- package/dist/chunks/{vcs-3cvhxgkj.js → ripgrep-dr2s0fjn.js} +12 -12
- package/dist/chunks/{vcs-xfkkasph.js → ripgrep-drwq78ky.js} +4 -4
- package/dist/chunks/{vcs-xna4x1sn.js → ripgrep-dtyy8xh0.js} +18 -18
- package/dist/chunks/{vcs-76zvcd1g.js → ripgrep-dvs6zpk2.js} +39 -39
- package/dist/chunks/{vcs-0876npy8.js → ripgrep-e0rfdckv.js} +13 -13
- package/dist/chunks/{vcs-3h8yw40x.js → ripgrep-e4dzh796.js} +9 -9
- package/dist/chunks/{vcs-zcws0pck.js → ripgrep-e65wgfyf.js} +9 -9
- package/dist/chunks/{vcs-ecfe7b91.js → ripgrep-ecfe7b91.js} +2 -2
- package/dist/chunks/{vcs-mcjvxj01.js → ripgrep-eefdys5x.js} +4 -4
- package/dist/chunks/{vcs-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-8041njv8.js → ripgrep-eqd5gpxy.js} +42 -42
- package/dist/chunks/{vcs-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-rfd4cgzf.js → ripgrep-f6ejcacf.js} +35 -31
- package/dist/chunks/{vcs-bvkd440q.js → ripgrep-f7xy0jcj.js} +15 -15
- package/dist/chunks/{vcs-wrb545ka.js → ripgrep-fbxnn3zg.js} +41 -41
- package/dist/chunks/{vcs-cw54z5t2.js → ripgrep-febda8v4.js} +15 -15
- package/dist/chunks/{vcs-8nqy64kg.js → ripgrep-ff3zzamp.js} +32 -32
- package/dist/chunks/{vcs-6j71bdrn.js → ripgrep-fj137pk4.js} +4 -4
- package/dist/chunks/{vcs-mdm5j4bj.js → ripgrep-fk34k8b0.js} +84 -84
- package/dist/chunks/{vcs-3556dn8t.js → ripgrep-fp2xarvc.js} +1 -1
- package/dist/chunks/{vcs-0tqkw5bw.js → ripgrep-fq5zwzwv.js} +18 -18
- package/dist/chunks/{vcs-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-6e5bh3xz.js → ripgrep-gmfetzq4.js} +27 -27
- package/dist/chunks/{vcs-yyb7tjpc.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{vcs-rr7w9yzr.js → ripgrep-gvrdb957.js} +11 -11
- package/dist/chunks/{vcs-dsazm5eh.js → ripgrep-h2r7bbkd.js} +9 -9
- package/dist/chunks/{vcs-wjrrvf51.js → ripgrep-h3whq8hs.js} +10 -10
- package/dist/chunks/{vcs-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-ejm60891.js → ripgrep-h93zm1px.js} +7 -7
- package/dist/chunks/{vcs-e8qyrgb1.js → ripgrep-hbyhqfhs.js} +5 -5
- package/dist/chunks/{vcs-qtf7ajd6.js → ripgrep-hzxzc04q.js} +24 -24
- package/dist/chunks/{vcs-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-9z431jrj.js → ripgrep-j6rk38x8.js} +9 -9
- package/dist/chunks/{vcs-5v1c364k.js → ripgrep-j726xjcb.js} +28 -28
- package/dist/chunks/{vcs-s4cpw0g8.js → ripgrep-je856w56.js} +11 -11
- package/dist/chunks/{vcs-grbear6k.js → ripgrep-jkfm4w29.js} +28 -28
- package/dist/chunks/{vcs-zffvdhag.js → ripgrep-jpz1sap8.js} +12 -12
- package/dist/chunks/{vcs-0z1gmn2q.js → ripgrep-jr0j7mve.js} +6 -6
- package/dist/chunks/{vcs-6mg6ac8r.js → ripgrep-jtkxxjqx.js} +14 -14
- package/dist/chunks/{vcs-xdk9p2qn.js → ripgrep-jw80jp6b.js} +21 -21
- package/dist/chunks/{vcs-b61wnr05.js → ripgrep-jzq9sbf8.js} +38 -38
- package/dist/chunks/{vcs-4q8m0zqq.js → ripgrep-k06t1zgt.js} +13 -13
- package/dist/chunks/{vcs-gs4tkc79.js → ripgrep-k1qrnqst.js} +8 -8
- package/dist/chunks/{vcs-k3c624dm.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{vcs-bxbtj1qd.js → ripgrep-k40x70x4.js} +8 -8
- package/dist/chunks/{vcs-n8c291r7.js → ripgrep-k8e0krnc.js} +9 -9
- package/dist/chunks/{vcs-mwfejemj.js → ripgrep-kb333kjr.js} +9 -9
- package/dist/chunks/{vcs-7zpeh0yx.js → ripgrep-kb6vbnxp.js} +4 -4
- package/dist/chunks/{vcs-1ekk4s7j.js → ripgrep-kcetpk2c.js} +12 -12
- package/dist/chunks/{vcs-ptm59064.js → ripgrep-kmjdna7m.js} +48 -48
- package/dist/chunks/{vcs-mvn2r3z4.js → ripgrep-m2d0j7c0.js} +9 -9
- package/dist/chunks/{vcs-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{vcs-v0xjps6b.js → ripgrep-m4v4sst7.js} +31 -31
- package/dist/chunks/{vcs-1v2b2k63.js → ripgrep-m74y7a9x.js} +14 -14
- package/dist/chunks/{vcs-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-c7h0x4yk.js → ripgrep-mjpfq375.js} +21 -21
- package/dist/chunks/{vcs-61zp4wnv.js → ripgrep-mtf32xg9.js} +11 -11
- package/dist/chunks/{vcs-njx86ncx.js → ripgrep-mwyh8wfh.js} +27 -27
- package/dist/chunks/{vcs-ntmafhxh.js → ripgrep-n0gf5ey7.js} +21 -21
- package/dist/chunks/{vcs-86n330eh.js → ripgrep-n1ka8r9d.js} +4 -4
- package/dist/chunks/{vcs-tstnsxca.js → ripgrep-n3fk10xz.js} +25 -25
- package/dist/chunks/{vcs-axj6q4j4.js → ripgrep-n50qm4s2.js} +49 -49
- package/dist/chunks/{vcs-jcs87n6r.js → ripgrep-ngymw408.js} +4 -4
- package/dist/chunks/{vcs-ehn7vv3c.js → ripgrep-nhvjymvq.js} +21 -21
- package/dist/chunks/{vcs-khxyc70q.js → ripgrep-nn5bpfje.js} +9 -9
- package/dist/chunks/{vcs-3y1r2rpt.js → ripgrep-nqfwyc43.js} +8 -8
- package/dist/chunks/{vcs-1esepqbd.js → ripgrep-nsth5a41.js} +37 -37
- package/dist/chunks/{vcs-44txpx69.js → ripgrep-p97ze781.js} +23 -23
- package/dist/chunks/{vcs-8v6pyhej.js → ripgrep-pa8pe2x7.js} +8 -8
- package/dist/chunks/{vcs-5sz650yn.js → ripgrep-pf2cvmpq.js} +73 -73
- package/dist/chunks/{vcs-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-9h4501ja.js → ripgrep-pmg28md7.js} +1 -1
- package/dist/chunks/{vcs-66j8y0n9.js → ripgrep-pnh2hy2c.js} +23 -23
- package/dist/chunks/{vcs-88k66p5t.js → ripgrep-pqcvfzvm.js} +36 -36
- package/dist/chunks/{vcs-erwyzksv.js → ripgrep-pttkx1dj.js} +27 -27
- package/dist/chunks/{vcs-yqnvcheb.js → ripgrep-pvvafe22.js} +10 -10
- package/dist/chunks/ripgrep-pwr21gwd.js +26 -0
- package/dist/chunks/{vcs-dda0p7y7.js → ripgrep-px76j0pk.js} +9 -9
- package/dist/chunks/{vcs-pjz0zcv2.js → ripgrep-pxvtywqb.js} +11 -11
- package/dist/chunks/{vcs-cb6xbnd9.js → ripgrep-q13923st.js} +2 -2
- package/dist/chunks/{vcs-3kbhjp3q.js → ripgrep-q1v5hekz.js} +11 -11
- package/dist/chunks/{vcs-hh4v7266.js → ripgrep-q26n4fcx.js} +14 -14
- package/dist/chunks/{vcs-q2k50tdt.js → ripgrep-q6kv5hce.js} +35 -35
- package/dist/chunks/{vcs-j7y1n5ns.js → ripgrep-q9m9wzt0.js} +19 -19
- package/dist/chunks/{vcs-40e80s20.js → ripgrep-qa3v0gpg.js} +24 -24
- package/dist/chunks/{vcs-44m1ppkf.js → ripgrep-qbv4sgsg.js} +44 -44
- package/dist/chunks/{vcs-28nztbsp.js → ripgrep-qcbzzkxa.js} +32 -32
- package/dist/chunks/{vcs-jh1zbppd.js → ripgrep-qfchpyts.js} +27 -27
- package/dist/chunks/{vcs-n4z35x1w.js → ripgrep-qrgme6ew.js} +9 -9
- package/dist/chunks/{vcs-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-szpqyd6h.js → ripgrep-qwhsc8p7.js} +18 -18
- package/dist/chunks/{vcs-1fw2a5v8.js → ripgrep-qx1x9vga.js} +22 -22
- package/dist/chunks/{vcs-msq4ntpz.js → ripgrep-qzqedjgs.js} +28 -28
- package/dist/chunks/{vcs-wc17nh9t.js → ripgrep-r2rgjgj7.js} +33 -33
- package/dist/chunks/{vcs-ydgy0jv4.js → ripgrep-r7nsrefv.js} +6 -6
- package/dist/chunks/{vcs-ww82v16z.js → ripgrep-r9w59ptg.js} +25 -25
- package/dist/chunks/{vcs-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-ct913see.js → ripgrep-rk6ps10a.js} +5 -5
- package/dist/chunks/{vcs-38adaqc0.js → ripgrep-rkdvqggb.js} +5 -5
- package/dist/chunks/{vcs-py3kkmfq.js → ripgrep-rkprpv83.js} +2 -2
- package/dist/chunks/{vcs-304ndgye.js → ripgrep-rnk4bdv4.js} +21 -21
- package/dist/chunks/{vcs-yr5w62k6.js → ripgrep-rthtq9ap.js} +20 -20
- package/dist/chunks/{vcs-hv3dmpp2.js → ripgrep-s5hrj64x.js} +20 -20
- package/dist/chunks/{vcs-vqfzq50h.js → ripgrep-sd5f6jdk.js} +6 -6
- package/dist/chunks/{vcs-7854zz5a.js → ripgrep-sfpzfcnw.js} +3 -3
- package/dist/chunks/{vcs-s1kdbxwg.js → ripgrep-sj415v3s.js} +10 -10
- package/dist/chunks/{vcs-7rwqf82v.js → ripgrep-sm965ndy.js} +8 -8
- package/dist/chunks/{vcs-3aq2526j.js → ripgrep-srep0201.js} +48 -48
- package/dist/chunks/{vcs-4mtvmndk.js → ripgrep-szsbf3na.js} +4 -4
- package/dist/chunks/{vcs-rhjbct0v.js → ripgrep-t550f9t1.js} +4 -4
- package/dist/chunks/{vcs-70vk70yg.js → ripgrep-t849abxh.js} +5 -5
- package/dist/chunks/{vcs-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-dyrwyt65.js → ripgrep-tdmq7741.js} +38 -38
- package/dist/chunks/{vcs-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-qbqbaz6q.js → ripgrep-tjedn1bk.js} +4 -4
- package/dist/chunks/{vcs-x5es4t48.js → ripgrep-tk70hm4f.js} +33 -33
- package/dist/chunks/{vcs-btsrk6c2.js → ripgrep-ts8814z6.js} +16 -16
- package/dist/chunks/{vcs-py6tvht3.js → ripgrep-ttpyk6f9.js} +9 -9
- package/dist/chunks/{vcs-hn57h045.js → ripgrep-ttqh24zm.js} +4 -4
- package/dist/chunks/{vcs-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{vcs-ratrq7cm.js → ripgrep-v5dkyp31.js} +4 -4
- package/dist/chunks/{vcs-f7sbcs1s.js → ripgrep-v5fx191f.js} +26 -26
- package/dist/chunks/{vcs-s9ampnzs.js → ripgrep-v6695139.js} +11 -11
- package/dist/chunks/{vcs-4j9evkcm.js → ripgrep-v89pjvzk.js} +8 -8
- package/dist/chunks/{vcs-vtg51jxy.js → ripgrep-v9htzwy6.js} +33 -33
- package/dist/chunks/{vcs-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-dfe8djrf.js → ripgrep-vncycja5.js} +4 -4
- package/dist/chunks/{vcs-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{vcs-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{vcs-was7srj9.js → ripgrep-w1ad28wa.js} +8 -8
- package/dist/chunks/{vcs-84txncab.js → ripgrep-w1eejvng.js} +5 -5
- package/dist/chunks/{vcs-5p9dmvg9.js → ripgrep-w2y23yj1.js} +13 -13
- package/dist/chunks/{vcs-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-8vf9p1vn.js → ripgrep-w8wd44rg.js} +21 -21
- package/dist/chunks/{vcs-psazpmmj.js → ripgrep-wd3x2cqz.js} +2 -2
- package/dist/chunks/{vcs-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-n62nckym.js → ripgrep-whp3wsjn.js} +11 -11
- package/dist/chunks/{vcs-p4q1g30v.js → ripgrep-wj1rks9h.js} +37 -37
- package/dist/chunks/{vcs-c8m1ndyk.js → ripgrep-wpzekwss.js} +6 -6
- package/dist/chunks/{vcs-dfh0xed5.js → ripgrep-ws6q902r.js} +5 -5
- package/dist/chunks/{vcs-bp5zn84r.js → ripgrep-wybk36vp.js} +10 -10
- package/dist/chunks/{vcs-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{vcs-bm3qhbmn.js → ripgrep-x591492r.js} +17 -17
- package/dist/chunks/{vcs-9f9b48nn.js → ripgrep-x7xnx0we.js} +20 -20
- package/dist/chunks/{vcs-xkntkrq7.js → ripgrep-xkntkrq7.js} +2 -2
- package/dist/chunks/{vcs-s2ynmxvy.js → ripgrep-xsbrecyh.js} +12 -12
- package/dist/chunks/{vcs-8zh4h089.js → ripgrep-xvp1j2dc.js} +5 -5
- package/dist/chunks/{vcs-rf0rwq9q.js → ripgrep-y1cgxa56.js} +16 -16
- package/dist/chunks/{vcs-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-y71avatq.js → ripgrep-y71avatq.js} +1 -1
- package/dist/chunks/{vcs-7enbc4fp.js → ripgrep-ycg97etn.js} +170 -170
- package/dist/chunks/{vcs-293305v0.js → ripgrep-yhc2xmq5.js} +1 -1
- package/dist/chunks/{vcs-yp2x3t23.js → ripgrep-yp2x3t23.js} +1 -1
- package/dist/chunks/{vcs-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{vcs-s4enseaf.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{vcs-231222c6.js → ripgrep-ytbta4pq.js} +4 -4
- package/dist/chunks/{vcs-qz3g8v3b.js → ripgrep-yxj4ckh3.js} +20 -20
- package/dist/chunks/{vcs-wycg3qep.js → ripgrep-yyksnw28.js} +18 -18
- package/dist/chunks/{vcs-bjtzbw4r.js → ripgrep-z07pqspn.js} +3 -3
- package/dist/chunks/{vcs-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-8n9ym7bh.js → ripgrep-z1t4ccqy.js} +8 -8
- package/dist/chunks/{vcs-29x78va6.js → ripgrep-z63w68vq.js} +6 -6
- package/dist/chunks/{vcs-2sv6eqec.js → ripgrep-zbzhtaz8.js} +7 -7
- package/dist/chunks/{vcs-z5g6ermd.js → ripgrep-zd5925e4.js} +10 -10
- package/dist/chunks/{vcs-rq775frq.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{vcs-hk4fmd6v.js → ripgrep-zexvq6re.js} +30 -30
- package/dist/chunks/{vcs-hndg17wg.js → ripgrep-zgfpqdce.js} +40 -40
- package/dist/chunks/{vcs-y7a3vg46.js → ripgrep-zmyzpzwz.js} +5 -5
- package/dist/chunks/{vcs-vrq98xzz.js → ripgrep-zn4xb62a.js} +18 -18
- package/dist/chunks/{vcs-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-9k60352s.js → ripgrep-zrc0yy2v.js} +21 -21
- package/dist/chunks/{vcs-n0tq777j.js → ripgrep-zrq8kphx.js} +8 -8
- package/dist/chunks/{vcs-2kzd1k6y.js → ripgrep-zwet3d57.js} +27 -27
- package/dist/chunks/{vcs-cnj8r2zb.js → ripgrep-zxf6vy87.js} +12 -12
- package/dist/chunks/{vcs-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +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 +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +92 -92
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +95 -95
- 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 +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +129 -129
- 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 +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +74 -74
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +104 -0
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -162
- 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 +352 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +89 -89
- 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/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- 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 +232 -232
- 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 +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +93 -93
- 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 +124 -124
- package/dist/tool/plugin/edit.js +114 -114
- 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 +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/plugin/provider/chatgpt.d.ts +33 -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 +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- 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 +76 -76
- 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 +98 -98
- package/package.json +9 -8
- package/dist/chunks/vcs-5bzc4ph3.js +0 -26
- package/dist/chunks/vcs-619r8v3y.js +0 -18
- package/dist/chunks/vcs-ryxm5mwn.js +0 -252
- /package/dist/chunks/{vcs-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-2xqghjp6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./ripgrep-kcetpk2c.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service55,
|
|
11
|
+
node58
|
|
12
|
+
} from "./ripgrep-sd5f6jdk.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node83
|
|
20
|
+
} from "./ripgrep-0j9j0cr0.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-q26n4fcx.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service77,
|
|
26
|
+
node81
|
|
27
|
+
} from "./ripgrep-b1k697tw.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError8
|
|
33
|
+
} from "./ripgrep-j6rk38x8.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./ripgrep-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service53
|
|
39
|
+
} from "./ripgrep-ttqh24zm.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service59,
|
|
42
|
+
node62
|
|
43
|
+
} from "./ripgrep-m74y7a9x.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service54,
|
|
48
|
+
node57,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./ripgrep-9gjvwznx.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service52,
|
|
53
|
+
node56
|
|
54
|
+
} from "./ripgrep-jzq9sbf8.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node29
|
|
57
|
+
} from "./ripgrep-632bft3r.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service25,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node28
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service25 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service79;
|
|
92
|
+
const locations = yield* Service77;
|
|
93
|
+
const store = yield* Service59;
|
|
94
|
+
const execution = yield* Service52;
|
|
95
|
+
const instances = yield* Service55;
|
|
96
|
+
const admission = yield* Service54;
|
|
97
97
|
const database = yield* Service84;
|
|
98
|
-
const bus = yield*
|
|
98
|
+
const bus = yield* Service80;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError8({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service53.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service25.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node28 = makeGlobalNode({
|
|
167
|
+
service: Service25,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
172
|
+
node83,
|
|
173
|
+
node81,
|
|
174
|
+
node62,
|
|
175
|
+
node56,
|
|
176
|
+
node58,
|
|
173
177
|
node57,
|
|
174
|
-
node59,
|
|
175
|
-
node40,
|
|
176
|
-
node43,
|
|
177
|
-
node41,
|
|
178
178
|
node88,
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
node84,
|
|
180
|
+
node29
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service25, node28, exports_move };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./ripgrep-5gxtf2ep.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Info16
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-h2r7bbkd.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-szsbf3na.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service44
|
|
16
|
+
} from "./ripgrep-2qtr0tge.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin32
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -44,10 +44,10 @@ var decodeLegacyAgent = Schema.decodeUnknownOption(Info16);
|
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin32 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service44;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin15 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID10.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID10.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin32, exports_agent2 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service44
|
|
7
|
+
} from "./ripgrep-2qtr0tge.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service73
|
|
13
|
+
} from "./ripgrep-qa3v0gpg.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service57
|
|
16
|
+
} from "./ripgrep-x591492r.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service58
|
|
19
|
+
} from "./ripgrep-n50qm4s2.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service17,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-qwhsc8p7.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service43,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./ripgrep-qx1x9vga.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service37
|
|
37
|
+
} from "./ripgrep-kmjdna7m.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service24
|
|
40
|
+
} from "./ripgrep-a2tjj438.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./ripgrep-fj137pk4.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input3,
|
|
53
|
+
Plugin: () => Plugin37,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name3
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name3 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input3 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin37 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service24;
|
|
123
|
+
const jobs = yield* Service57;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service73;
|
|
126
|
+
const access = yield* Service17;
|
|
127
|
+
const shell = yield* Service37;
|
|
128
|
+
const shellSelect = yield* Service43;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service58;
|
|
131
|
+
const config = yield* Service44;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin29 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name3,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin29 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name3,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input3,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin29 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name3,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name3];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin37, exports_shell2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-n50qm4s2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service35,
|
|
12
12
|
node38
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-zgfpqdce.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name14
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-n3fk10xz.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions4 = {};
|
|
24
|
+
__export(exports_instructions4, {
|
|
25
|
+
McpInstructions: () => exports_instructions4,
|
|
26
|
+
Service: () => Service33,
|
|
27
|
+
layer: () => layer13,
|
|
28
|
+
node: () => node36
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service33 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer13 = Layer.effect(Service33, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service35;
|
|
68
|
+
return Service33.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make19({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -96,6 +96,6 @@ var layer11 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node36 = makeLocationNode({ service: Service33, layer: layer13, deps: [node38] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service33, layer13, node36, exports_instructions4 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-2xqghjp6.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-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: () => Service82,
|
|
17
|
+
node: () => node86
|
|
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 Service82 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service82.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 node86 = makeGlobalNode({ service: Service82, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service82, node86, exports_kv };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./ripgrep-kcetpk2c.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service78,
|
|
12
|
+
node82
|
|
13
|
+
} from "./ripgrep-q26n4fcx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service21,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node24
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service21 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
42
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service80;
|
|
44
|
+
const location = yield* Service78;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service78, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service21.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node24 = makeLocationNode({ service: Service21, layer, deps: [node84, node82] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service21, node24, exports_rpc, define2 };
|