@opencode/core 0.0.0-beta-19381 → 0.0.0-beta-19419
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{ripgrep-rhjbct0v.js → mime-02a7j1yb.js} +4 -4
- package/dist/chunks/{ripgrep-g8jspvs5.js → mime-0a8nx4x7.js} +13 -9
- package/dist/chunks/{ripgrep-fsf0tb3g.js → mime-0bgf9fe6.js} +25 -25
- package/dist/chunks/{ripgrep-9r4w88hc.js → mime-0ddh214q.js} +16 -16
- package/dist/chunks/{ripgrep-9g5bfw8n.js → mime-0e2sbrgk.js} +29 -29
- package/dist/chunks/{ripgrep-3ddgt7af.js → mime-0egdssbc.js} +39 -39
- package/dist/chunks/{ripgrep-7z6zz8kn.js → mime-0n9gyfew.js} +4 -4
- package/dist/chunks/{ripgrep-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-0q0f95c6.js → mime-0q0f95c6.js} +1 -1
- package/dist/chunks/{ripgrep-xged7na4.js → mime-0q38mt5t.js} +5 -5
- package/dist/chunks/{ripgrep-ya4xqnab.js → mime-11zr91fq.js} +24 -24
- package/dist/chunks/{ripgrep-wx69xc2v.js → mime-13y3ez7k.js} +34 -34
- package/dist/chunks/{ripgrep-7yh4e7ss.js → mime-1bbkgx8g.js} +3 -3
- package/dist/chunks/{ripgrep-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-1dfhrqqs.js → mime-1eyaby9q.js} +9 -3
- package/dist/chunks/{ripgrep-d85tbr7r.js → mime-1k4qyr7g.js} +17 -17
- package/dist/chunks/{ripgrep-wm6gh047.js → mime-1pp8xbfm.js} +28 -28
- package/dist/chunks/{ripgrep-qfxnftan.js → mime-1rtd1a51.js} +17 -17
- package/dist/chunks/{ripgrep-31dz7cp4.js → mime-1wxb385z.js} +1 -1
- package/dist/chunks/{ripgrep-56gdpj1q.js → mime-1ygqh575.js} +9 -9
- package/dist/chunks/{ripgrep-21r38tys.js → mime-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-6jxebzjh.js → mime-21x2v0p5.js} +32 -32
- package/dist/chunks/{ripgrep-3b1q5j1v.js → mime-23pqda6t.js} +5 -5
- package/dist/chunks/{ripgrep-j5208yae.js → mime-23sxaqwc.js} +6 -6
- package/dist/chunks/{ripgrep-2402vzrj.js → mime-2402vzrj.js} +1 -1
- package/dist/chunks/{ripgrep-mrngs3tk.js → mime-263cr94x.js} +37 -37
- package/dist/chunks/{ripgrep-ep1rz70n.js → mime-28555vz3.js} +26 -26
- package/dist/chunks/{ripgrep-z63w68vq.js → mime-29x78va6.js} +6 -6
- package/dist/chunks/{ripgrep-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-ec8389mk.js → mime-2evyaa68.js} +4 -4
- package/dist/chunks/{ripgrep-awqa4j6r.js → mime-2f35vdk7.js} +10 -10
- package/dist/chunks/{ripgrep-ca00p06f.js → mime-2gcap31n.js} +50 -50
- package/dist/chunks/{ripgrep-etq9z835.js → mime-2gfgcbzh.js} +2 -2
- package/dist/chunks/{ripgrep-1psq7yq3.js → mime-2h5epps5.js} +6 -6
- package/dist/chunks/{ripgrep-kfnz8wqc.js → mime-2q41p91w.js} +12 -12
- package/dist/chunks/{ripgrep-6e3xc085.js → mime-2t5kqt1k.js} +1 -1
- package/dist/chunks/{ripgrep-rg3k9syq.js → mime-39cv1g88.js} +4 -4
- package/dist/chunks/{ripgrep-fab8hzt3.js → mime-3amprz0f.js} +4 -4
- package/dist/chunks/{ripgrep-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-mjrzrfrb.js → mime-3jt9w4q0.js} +13 -13
- package/dist/chunks/{ripgrep-c8kn0e1j.js → mime-3mp8pt0x.js} +12 -12
- package/dist/chunks/{ripgrep-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-wk58jv74.js → mime-3tey5e4w.js} +10 -10
- package/dist/chunks/{ripgrep-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-20as3pn0.js → mime-3wvc1ncp.js} +45 -48
- package/dist/chunks/{ripgrep-a37fyb3j.js → mime-3zf9b344.js} +4 -4
- package/dist/chunks/{ripgrep-m54dcv1g.js → mime-3znnwrk0.js} +26 -25
- package/dist/chunks/{ripgrep-wmbs8tb3.js → mime-4ecwqft3.js} +87 -87
- package/dist/chunks/{ripgrep-c7fm68m0.js → mime-4hg443tm.js} +17 -17
- package/dist/chunks/{ripgrep-sv9bpgvh.js → mime-4mkcvr19.js} +5 -5
- package/dist/chunks/{ripgrep-80n2194z.js → mime-4qdk51ny.js} +41 -41
- package/dist/chunks/{ripgrep-a1tpkmh4.js → mime-4vcrnpx2.js} +13 -3
- package/dist/chunks/{ripgrep-e4pgevt3.js → mime-4xqs2w7b.js} +17 -17
- package/dist/chunks/{ripgrep-bxcskdh3.js → mime-4ynsrnbk.js} +20 -20
- package/dist/chunks/{ripgrep-q3hev8r4.js → mime-4zrw1ey2.js} +5 -3
- package/dist/chunks/{ripgrep-5daktx2q.js → mime-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-v8ch97zc.js → mime-5nsrms9d.js} +1 -1
- package/dist/chunks/{ripgrep-fewzy991.js → mime-5prtz2zp.js} +30 -30
- package/dist/chunks/{ripgrep-02wxma9h.js → mime-5ps71a92.js} +20 -20
- package/dist/chunks/{ripgrep-tek5ng0y.js → mime-5qy0qq0f.js} +18 -18
- package/dist/chunks/{ripgrep-x9p92xwv.js → mime-5rgkh6ng.js} +17 -17
- package/dist/chunks/{ripgrep-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-844ef7ks.js → mime-5xtgfte3.js} +8 -8
- package/dist/chunks/{ripgrep-4890d2ba.js → mime-5zwz8q23.js} +15 -14
- package/dist/chunks/{ripgrep-669tq793.js → mime-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-fxxh0p3a.js → mime-6b2vme4h.js} +2 -2
- package/dist/chunks/{ripgrep-kvqzzzem.js → mime-6csgaxec.js} +9 -9
- package/dist/chunks/{ripgrep-ht6mk1vy.js → mime-6e5hn325.js} +29 -29
- package/dist/chunks/{ripgrep-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-71q4at8m.js → mime-71q4at8m.js} +1 -1
- package/dist/chunks/{ripgrep-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-0jwsre1p.js → mime-7dqw4kz8.js} +5 -5
- package/dist/chunks/{ripgrep-zb8dnpk3.js → mime-7jpcrm6h.js} +8 -8
- package/dist/chunks/{ripgrep-50ztztte.js → mime-7krgh5xj.js} +11 -11
- package/dist/chunks/{ripgrep-52tre6wp.js → mime-7sek35zn.js} +32 -32
- package/dist/chunks/{ripgrep-resyjkwk.js → mime-7wtyjh8h.js} +41 -41
- package/dist/chunks/{ripgrep-4eetnmxa.js → mime-7xdwve5v.js} +3 -3
- package/dist/chunks/{ripgrep-7whvx7cs.js → mime-7y4hfxng.js} +10 -10
- package/dist/chunks/{ripgrep-ryr25ayn.js → mime-806j49yq.js} +4 -4
- package/dist/chunks/{ripgrep-jy16bfac.js → mime-83x6p9kd.js} +1 -1
- package/dist/chunks/{ripgrep-c0mv5cq0.js → mime-8azwg042.js} +5 -5
- package/dist/chunks/{ripgrep-6h3e8j5e.js → mime-8cd2h94e.js} +11 -11
- package/dist/chunks/{ripgrep-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-2stzc2h4.js → mime-8dgc1ynf.js} +45 -45
- package/dist/chunks/{ripgrep-dj2t23y0.js → mime-8p4f9s12.js} +2 -2
- package/dist/chunks/{ripgrep-btec747f.js → mime-8ryk0bb9.js} +5 -5
- package/dist/chunks/{ripgrep-atb1k4sq.js → mime-8sjdtssw.js} +24 -24
- package/dist/chunks/{ripgrep-e4hv03qr.js → mime-8zsmxnhb.js} +20 -20
- package/dist/chunks/{ripgrep-as33ahc0.js → mime-95wcbadv.js} +3 -3
- package/dist/chunks/{ripgrep-s3d361zp.js → mime-988ynk0k.js} +3 -3
- package/dist/chunks/{ripgrep-mn4bv945.js → mime-9cer4v2n.js} +18 -18
- package/dist/chunks/{ripgrep-ywjt7tq6.js → mime-9pm6y0s1.js} +8 -8
- package/dist/chunks/{ripgrep-3n2394pg.js → mime-9sh3bnfq.js} +9 -9
- package/dist/chunks/{ripgrep-5c4hm403.js → mime-a1bz86dw.js} +3 -3
- package/dist/chunks/{ripgrep-kq4qnvrc.js → mime-a1zt0rvf.js} +25 -25
- package/dist/chunks/{ripgrep-fjmrr6sh.js → mime-a5gt7g2r.js} +5 -5
- package/dist/chunks/{ripgrep-v0rk1y30.js → mime-a8e6cjej.js} +7 -7
- package/dist/chunks/{ripgrep-aaet6srn.js → mime-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-7gvwkz6m.js → mime-af04s6ss.js} +5 -5
- package/dist/chunks/{ripgrep-2j7qy3p8.js → mime-aq3m41mm.js} +4 -4
- package/dist/chunks/{ripgrep-zj7nydea.js → mime-av3fccqd.js} +6 -6
- package/dist/chunks/{ripgrep-8rr9h0km.js → mime-awxqjzce.js} +11 -11
- package/dist/chunks/{ripgrep-t083vv5c.js → mime-b33nk6kn.js} +25 -23
- package/dist/chunks/{ripgrep-yq9pgtk6.js → mime-b69s27a6.js} +10 -10
- package/dist/chunks/{ripgrep-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-a2t11qfx.js → mime-bb9ege9n.js} +15 -15
- package/dist/chunks/{ripgrep-mfhfdr54.js → mime-bccb6npm.js} +4 -4
- package/dist/chunks/{ripgrep-d3f09xgd.js → mime-bty5rg6y.js} +10 -10
- package/dist/chunks/{ripgrep-gez7w0gg.js → mime-bwqere5e.js} +36 -36
- package/dist/chunks/{ripgrep-fcsv9ew2.js → mime-c3x6hdz3.js} +37 -37
- package/dist/chunks/{ripgrep-2d6j2h4j.js → mime-c7ecgrk6.js} +6 -6
- package/dist/chunks/{ripgrep-n5hw7tw3.js → mime-caw866h7.js} +44 -19
- package/dist/chunks/{ripgrep-m0jqrx5p.js → mime-cfpkc3c9.js} +2 -2
- package/dist/chunks/{ripgrep-9txjdh67.js → mime-cjkcyj3g.js} +9 -9
- package/dist/chunks/{ripgrep-0d2qkrjy.js → mime-d414zwqj.js} +4 -4
- package/dist/chunks/{ripgrep-2fbtx2rb.js → mime-d4mfdrq6.js} +43 -42
- package/dist/chunks/{ripgrep-wm98esrr.js → mime-d9g4k2aw.js} +6 -6
- package/dist/chunks/{ripgrep-by90618a.js → mime-db2vyhy0.js} +40 -40
- package/dist/chunks/{ripgrep-sfah34qq.js → mime-dbt2jb7m.js} +16 -16
- package/dist/chunks/{ripgrep-qa4rp7fn.js → mime-depwzj9d.js} +9 -9
- package/dist/chunks/{ripgrep-ep6z9mt6.js → mime-dhwr7h25.js} +11 -11
- package/dist/chunks/{ripgrep-3fzpdmpf.js → mime-dw3qxs43.js} +18 -18
- package/dist/chunks/{ripgrep-hvshqg9g.js → mime-e09f1gvr.js} +10 -10
- package/dist/chunks/{ripgrep-f7jct6gx.js → mime-e7ps77ar.js} +18 -17
- package/dist/chunks/{ripgrep-eye0aa55.js → mime-ebc8jb1d.js} +14 -14
- package/dist/chunks/{ripgrep-0ztccmq1.js → mime-eewpk6jb.js} +8 -8
- package/dist/chunks/{ripgrep-zfzzzsd1.js → mime-eff31b2h.js} +24 -24
- package/dist/chunks/{ripgrep-gvjndn77.js → mime-emts032f.js} +12 -12
- package/dist/chunks/{ripgrep-1ah30sey.js → mime-en74w496.js} +5 -5
- package/dist/chunks/{ripgrep-kx703q2s.js → mime-eq67g8tv.js} +26 -26
- package/dist/chunks/{ripgrep-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-ffatf9pa.js → mime-etxs3v4e.js} +6 -6
- package/dist/chunks/{ripgrep-tn0aqsam.js → mime-evbgk2k8.js} +5 -5
- package/dist/chunks/{ripgrep-egzrnntm.js → mime-ex105f0g.js} +7 -7
- package/dist/chunks/{ripgrep-tc6vzjsq.js → mime-ez804y10.js} +23 -23
- package/dist/chunks/{ripgrep-yp2x3t23.js → mime-f2n192rq.js} +4 -4
- package/dist/chunks/{ripgrep-hdnk95c8.js → mime-f828m53h.js} +2 -2
- package/dist/chunks/{ripgrep-y1ja9cm0.js → mime-fcnjm40w.js} +167 -167
- package/dist/chunks/{ripgrep-8eyq8xab.js → mime-fkgafzhm.js} +11 -11
- package/dist/chunks/{ripgrep-a3dh94hw.js → mime-fpgqbm61.js} +27 -26
- package/dist/chunks/{ripgrep-haj4pygx.js → mime-ftp331h4.js} +37 -37
- package/dist/chunks/{ripgrep-fxbjtjnd.js → mime-fxbjtjnd.js} +1 -1
- package/dist/chunks/{ripgrep-p235624p.js → mime-g2bcegda.js} +12 -12
- package/dist/chunks/{ripgrep-ynqmra9q.js → mime-g95x1rp7.js} +33 -33
- package/dist/chunks/{ripgrep-pdqsczmv.js → mime-g95z8t2a.js} +54 -54
- package/dist/chunks/{ripgrep-c769d21z.js → mime-ga6hqhxm.js} +9 -9
- package/dist/chunks/{ripgrep-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-j8xe2y08.js → mime-gfffwwn8.js} +10 -10
- package/dist/chunks/{ripgrep-8ykhp4ac.js → mime-gpfpyv44.js} +29 -29
- package/dist/chunks/{ripgrep-ddt2bs9e.js → mime-gst7axd9.js} +4 -4
- package/dist/chunks/{ripgrep-qmr73083.js → mime-gt0cxfk7.js} +1 -1
- package/dist/chunks/{ripgrep-qerr83y0.js → mime-gx2yqbrf.js} +22 -22
- package/dist/chunks/{ripgrep-h03wrkyp.js → mime-h03wrkyp.js} +2 -2
- package/dist/chunks/{ripgrep-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-7cbawamr.js → mime-h7f00xnw.js} +15 -15
- package/dist/chunks/{ripgrep-zgnck06n.js → mime-j1tqpjge.js} +8 -8
- package/dist/chunks/{ripgrep-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-paphc93g.js → mime-j935v87r.js} +2 -2
- package/dist/chunks/{ripgrep-jzm7scjc.js → mime-jb0k481j.js} +13 -13
- package/dist/chunks/{ripgrep-hj9fj50h.js → mime-jc28ky3p.js} +23 -23
- package/dist/chunks/{ripgrep-q6mfqnjt.js → mime-jhetwysa.js} +4 -28
- package/dist/chunks/{ripgrep-ncz5f2kx.js → mime-jj4txyk5.js} +41 -41
- package/dist/chunks/{ripgrep-qaed280k.js → mime-jj93sfwh.js} +11 -11
- package/dist/chunks/{ripgrep-ctjfg1hr.js → mime-jrrn2k62.js} +4 -4
- package/dist/chunks/{ripgrep-mqrms0tp.js → mime-k62eh0b0.js} +19 -18
- package/dist/chunks/{ripgrep-emfk09z3.js → mime-k7jm4f84.js} +13 -13
- package/dist/chunks/mime-ke91xv87.js +22 -0
- package/dist/chunks/{ripgrep-kg06axw8.js → mime-kg06axw8.js} +1 -1
- package/dist/chunks/{ripgrep-m9s8d3d3.js → mime-kj2znnrq.js} +17 -17
- package/dist/chunks/{ripgrep-t4sxm5c8.js → mime-ks5zvpf5.js} +22 -21
- package/dist/chunks/{ripgrep-02vzrq4v.js → mime-ksxmc9x1.js} +19 -19
- package/dist/chunks/{ripgrep-smrq66nq.js → mime-m68nj7r9.js} +17 -17
- package/dist/chunks/{ripgrep-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-6kcarc2j.js → mime-mjvjnw4h.js} +9 -9
- package/dist/chunks/{ripgrep-mkcjrzeh.js → mime-mkcjrzeh.js} +1 -1
- package/dist/chunks/{ripgrep-9f12xdp3.js → mime-mnf23ea4.js} +22 -22
- package/dist/chunks/{ripgrep-hwcsphzk.js → mime-mr2v9wf4.js} +24 -24
- package/dist/chunks/{ripgrep-29c8gkgr.js → mime-mtk5ndsr.js} +16 -16
- package/dist/chunks/{ripgrep-nh837eg3.js → mime-n5kwx7gq.js} +4 -4
- package/dist/chunks/{ripgrep-wt7k4asa.js → mime-n5xbayh6.js} +25 -25
- package/dist/chunks/{ripgrep-zerdtc7d.js → mime-nhvhf6q8.js} +6 -6
- package/dist/chunks/{ripgrep-hjt4xg1x.js → mime-nhy5jxhy.js} +4 -4
- package/dist/chunks/{ripgrep-hgyqz33r.js → mime-nrywpzpw.js} +31 -31
- package/dist/chunks/{ripgrep-afbcmxhy.js → mime-nvv6ksyw.js} +11 -11
- package/dist/chunks/{ripgrep-sjhz9xyn.js → mime-nwdm76cq.js} +10 -10
- package/dist/chunks/{ripgrep-qpprd5ad.js → mime-nzwzy72p.js} +9 -9
- package/dist/chunks/{ripgrep-pa3883ab.js → mime-p20t4hgc.js} +4 -4
- package/dist/chunks/{ripgrep-brwkg70z.js → mime-p457xpe5.js} +24 -24
- package/dist/chunks/{ripgrep-teteq0qc.js → mime-pcfbqvzv.js} +18 -18
- package/dist/chunks/{ripgrep-ddb4hmaq.js → mime-pepxxxk4.js} +15 -15
- package/dist/chunks/mime-pf31ssb9.js +18 -0
- package/dist/chunks/{ripgrep-a7j8tqav.js → mime-ph4vew0r.js} +17 -17
- package/dist/chunks/{ripgrep-5gjh7yps.js → mime-pjbf9ctw.js} +20 -20
- package/dist/chunks/{ripgrep-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-m86bnw2c.js → mime-pnv527nz.js} +5 -5
- package/dist/chunks/{ripgrep-hds8kbqn.js → mime-ptx1re91.js} +14 -14
- package/dist/chunks/{ripgrep-y9wxxghe.js → mime-pysvbzwn.js} +11 -11
- package/dist/chunks/{ripgrep-yxam8y99.js → mime-q5qz823n.js} +23 -6
- package/dist/chunks/{ripgrep-ycnbnhj5.js → mime-q8yqvf1x.js} +46 -46
- package/dist/chunks/{ripgrep-a5tp4yjy.js → mime-q91m3jje.js} +24 -24
- package/dist/chunks/{ripgrep-j7pvfhjt.js → mime-qas58w1m.js} +17 -17
- package/dist/chunks/{ripgrep-zcqf6png.js → mime-qfzde7bh.js} +6 -6
- package/dist/chunks/{ripgrep-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-bj2cfy38.js → mime-qtz3a6jv.js} +18 -18
- package/dist/chunks/{ripgrep-7s6v6vsj.js → mime-qzrpvtg4.js} +24 -24
- package/dist/chunks/{ripgrep-4ayvwj3v.js → mime-r8h10sqf.js} +14 -14
- package/dist/chunks/{ripgrep-h4yb03sr.js → mime-raesbxmz.js} +17 -17
- package/dist/chunks/{ripgrep-08rsf5c2.js → mime-raswn23k.js} +6 -6
- package/dist/chunks/{ripgrep-81swgkk7.js → mime-rk0rec3h.js} +9 -9
- package/dist/chunks/{ripgrep-zh9nb1mr.js → mime-rqb94c9k.js} +32 -32
- package/dist/chunks/{ripgrep-wpm2rk0p.js → mime-rqcbxq1a.js} +8 -8
- package/dist/chunks/{ripgrep-gmg4hxzv.js → mime-rwgm3mzx.js} +18 -18
- package/dist/chunks/{ripgrep-yrznvahk.js → mime-s4enseaf.js} +2 -2
- package/dist/chunks/{ripgrep-r8452npv.js → mime-sgcz6c7m.js} +6 -6
- package/dist/chunks/{ripgrep-w4jw514d.js → mime-sgfkh1bp.js} +4 -4
- package/dist/chunks/{ripgrep-3krnmj08.js → mime-sqbb1ame.js} +74 -74
- package/dist/chunks/{ripgrep-52vg5n1p.js → mime-ss0w00xq.js} +33 -33
- package/dist/chunks/{ripgrep-39r80e1r.js → mime-t23qze4t.js} +1 -1
- package/dist/chunks/{ripgrep-jnj6t7er.js → mime-t63dq77n.js} +290 -290
- package/dist/chunks/{ripgrep-f9bavhm2.js → mime-t8mcaem5.js} +1 -1
- package/dist/chunks/{ripgrep-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-89znhe33.js → mime-tcezcvh9.js} +4 -4
- package/dist/chunks/{ripgrep-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-gv6a8nnw.js → mime-th5km1p3.js} +5 -5
- package/dist/chunks/{ripgrep-seydh4nr.js → mime-trnmv04k.js} +7 -7
- package/dist/chunks/{ripgrep-xnnv5aca.js → mime-trt080zq.js} +11 -11
- package/dist/chunks/{ripgrep-tvtrv512.js → mime-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-q5pbp2gz.js → mime-tw1xqvj0.js} +15 -15
- package/dist/chunks/{ripgrep-wy90n05w.js → mime-v066hq9k.js} +23 -23
- package/dist/chunks/{ripgrep-0bqp4044.js → mime-v6wgkvby.js} +16 -16
- package/dist/chunks/{ripgrep-m59gvg9q.js → mime-v9c0yk75.js} +20 -20
- package/dist/chunks/{ripgrep-7xy84fyg.js → mime-vac3gahf.js} +7 -7
- package/dist/chunks/{ripgrep-q1a7cndp.js → mime-vbedh2fb.js} +8 -8
- package/dist/chunks/{ripgrep-ve4pfa0n.js → mime-ve4pfa0n.js} +1 -1
- package/dist/chunks/{ripgrep-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-5x18cq5v.js → mime-vqm5846v.js} +20 -20
- package/dist/chunks/{ripgrep-magykp64.js → mime-vsp1fds9.js} +21 -21
- package/dist/chunks/{ripgrep-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-4c2df9zx.js → mime-w49382pb.js} +8 -8
- package/dist/chunks/{ripgrep-6a8fxjwh.js → mime-w4ry6v67.js} +15 -15
- package/dist/chunks/{ripgrep-e6hmchc5.js → mime-wbkyxrgf.js} +5 -5
- package/dist/chunks/{ripgrep-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-3sxvqcgp.js → mime-wk6ejfve.js} +83 -83
- package/dist/chunks/mime-wrph251t.js +260 -0
- package/dist/chunks/{ripgrep-1v7ta698.js → mime-wy6y1t1e.js} +11 -11
- package/dist/chunks/{ripgrep-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-b0sam31v.js → mime-x2xrmj38.js} +11 -11
- package/dist/chunks/{ripgrep-a2kk223a.js → mime-x3f1r9fb.js} +46 -46
- package/dist/chunks/{ripgrep-x43y2vfs.js → mime-x43y2vfs.js} +2 -2
- package/dist/chunks/{ripgrep-rnnepbab.js → mime-xbektcpe.js} +9 -9
- package/dist/chunks/{ripgrep-q4bhxwf1.js → mime-xmvnw2y2.js} +6 -6
- package/dist/chunks/{ripgrep-r198awpg.js → mime-xnx3yphe.js} +17 -17
- package/dist/chunks/{ripgrep-6nkhkk13.js → mime-xnxgv7d0.js} +24 -24
- package/dist/chunks/{ripgrep-70vwcewg.js → mime-xqxzstc2.js} +20 -20
- package/dist/chunks/mime-xrsqh21y.js +4 -0
- package/dist/chunks/{ripgrep-5aveev3e.js → mime-xw855dvr.js} +5 -5
- package/dist/chunks/{ripgrep-pxt4kznk.js → mime-xxynqx5z.js} +3 -3
- package/dist/chunks/{ripgrep-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-bz3gfsg9.js → mime-y2vyg5am.js} +9 -9
- package/dist/chunks/{ripgrep-f6p1bxgw.js → mime-y4bv9z8t.js} +9 -9
- package/dist/chunks/{ripgrep-scqgp3m4.js → mime-y6r7tp3a.js} +3 -3
- package/dist/chunks/{ripgrep-y71avatq.js → mime-y71avatq.js} +1 -1
- package/dist/chunks/{ripgrep-30hc21n9.js → mime-y9rm29sj.js} +13 -13
- package/dist/chunks/mime-ycmhfh0q.js +247 -0
- package/dist/chunks/{ripgrep-qbhwwr14.js → mime-ym5c4crg.js} +25 -25
- package/dist/chunks/{ripgrep-wg38wxpd.js → mime-yndz2tmv.js} +23 -23
- package/dist/chunks/{ripgrep-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-v18p0m5c.js → mime-yteqj4qp.js} +11 -11
- package/dist/chunks/{ripgrep-a94v7mat.js → mime-yvmq8qxx.js} +12 -12
- package/dist/chunks/{ripgrep-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-b00bre06.js → mime-z10kvaap.js} +52 -52
- package/dist/chunks/{ripgrep-9w9dfj1g.js → mime-z7rmcad6.js} +47 -47
- package/dist/chunks/{ripgrep-ed25785e.js → mime-zb35j76j.js} +20 -20
- package/dist/chunks/{ripgrep-dwq6ryhm.js → mime-ze5v0a14.js} +5 -5
- package/dist/chunks/{ripgrep-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-rhrhnb2s.js → mime-zrw1v1rz.js} +30 -30
- package/dist/chunks/{ripgrep-9knsa76r.js → mime-zt7bfs1h.js} +20 -20
- package/dist/chunks/{ripgrep-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/chunks/{ripgrep-5jtdmvnp.js → mime-zxwpk2nb.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +75 -75
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- 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 +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +3 -5
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- 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 +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +82 -82
- 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 +88 -88
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +88 -88
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +109 -109
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +115 -115
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/model-resolver.d.ts +2 -0
- package/dist/types/model.d.ts +1 -0
- package/dist/types/plugin/provider/amazon-bedrock.d.ts +0 -1
- package/dist/types/provider.d.ts +1 -0
- package/dist/types/session/compaction.d.ts +2 -2
- package/dist/types/session/context.d.ts +1 -1
- package/dist/types/session/history.d.ts +80 -0
- package/dist/types/session/model-request.d.ts +18 -37
- package/dist/types/session/runner/model.d.ts +1 -0
- package/dist/types/session/runner/step.d.ts +1 -1
- package/dist/types/session/transfer.d.ts +44 -0
- package/dist/types/v1/config/migrate.d.ts +2 -0
- 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 +7 -7
- 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 +5 -5
- 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 +4 -4
- 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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/ripgrep-0mesazry.js +0 -4
- package/dist/chunks/ripgrep-2rkkddv9.js +0 -22
- package/dist/chunks/ripgrep-9sh4wc5j.js +0 -18
- package/dist/chunks/ripgrep-krvjrxqy.js +0 -272
- package/dist/chunks/ripgrep-psscsn3t.js +0 -247
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → mime-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-hrnqkpcd.js → mime-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-twg0f83k.js → mime-twg0f83k.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./mime-raesbxmz.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names4 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service66;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names4, discover3, exports_discovery2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service68,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node73
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service68 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service68.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node73 = makeLocationNode({ service: Service68, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service68, node73, exports_image2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./mime-mr2v9wf4.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service58;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-vsp1fds9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info19
|
|
9
|
+
} from "./mime-dhwr7h25.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info13
|
|
12
|
+
} from "./mime-evbgk2k8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info21
|
|
15
|
+
} from "./mime-806j49yq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info16
|
|
18
|
+
} from "./mime-af04s6ss.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./mime-7dqw4kz8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info15
|
|
24
|
+
} from "./mime-wbkyxrgf.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info12
|
|
27
|
+
} from "./mime-0egdssbc.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./mime-sgfkh1bp.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./mime-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info12.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info13, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info21, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info19, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info19, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info16, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info15, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID17,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-c7ecgrk6.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID16,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info31,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-yvmq8qxx.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
ModalModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
ModalModels: () => exports_models,
|
|
20
|
+
get: () => get2
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID17.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
|
|
|
53
53
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
54
54
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
55
55
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
56
|
-
async function
|
|
56
|
+
async function get2(baseURL, apiKey, existing) {
|
|
57
57
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -69,8 +69,8 @@ async function get3(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID16.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID16.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info31.make({
|
|
92
|
+
...Info31.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID16.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -138,4 +138,4 @@ function variants(remote) {
|
|
|
138
138
|
return [...seen.values()];
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { get2, exports_models };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-q91m3jje.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-g95z8t2a.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent = {};
|
|
15
|
+
__export(exports_agent, {
|
|
16
|
+
AgentPlugin: () => exports_agent,
|
|
17
|
+
Plugin: () => Plugin11
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin11 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin43 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID8.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID8.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin43 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID8.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID8.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID8.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin43 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin11, exports_agent };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service26,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service26 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service26.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service26, awaitActivation2, exports_service };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-988ynk0k.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-d414zwqj.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./mime-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./mime-xxynqx5z.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./mime-a1bz86dw.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./mime-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,7 +32,7 @@ __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,
|
|
@@ -45,9 +45,9 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer16,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make16,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
53
|
node: () => node41,
|
|
@@ -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,
|
|
@@ -153,7 +153,7 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
153
153
|
|
|
154
154
|
class Service38 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make16 = 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),
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var node41 = makeGlobalNode({ service: Service38, layer:
|
|
230
|
+
var layer16 = Layer.effect(Service38, make16());
|
|
231
|
+
var node41 = makeGlobalNode({ service: Service38, layer: layer16, 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)
|
|
@@ -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, Service38, make16, layer16, node41, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-d414zwqj.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-922hggd3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
Ref2,
|
|
11
|
+
Service66,
|
|
12
|
+
node71
|
|
13
|
+
} from "./mime-raesbxmz.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-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: () => Service15,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node19
|
|
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 Service15 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service79;
|
|
44
|
-
const location = yield*
|
|
45
|
-
const ref =
|
|
44
|
+
const location = yield* Service66;
|
|
45
|
+
const ref = Ref2.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
48
48
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
82
82
|
const event = registered.event;
|
|
83
83
|
const data = yield* encode(event.schema, args[1]);
|
|
84
84
|
return yield* bus.publish(registered.definition, data, {
|
|
85
|
-
location:
|
|
85
|
+
location: Ref2.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
86
86
|
}).pipe(Effect.asVoid);
|
|
87
87
|
})
|
|
88
88
|
}
|
|
@@ -118,19 +118,19 @@ var layer = Layer.effect(Service56, 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(Service66, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service15.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node19 = makeLocationNode({ service: Service15, layer, deps: [node84, node71] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
132
132
|
metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
|
|
133
|
-
location: optional2(
|
|
133
|
+
location: optional2(Ref2)
|
|
134
134
|
};
|
|
135
135
|
var EventData = Schema.Record(Schema.String, Schema.Unknown);
|
|
136
136
|
var jsonSchemas = new WeakMap;
|
|
@@ -206,8 +206,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
206
206
|
...payload,
|
|
207
207
|
type: eventType(definition, name),
|
|
208
208
|
data,
|
|
209
|
-
location:
|
|
209
|
+
location: Ref2.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service15, node19, exports_rpc, define2 };
|