@opencode-ai/core 0.0.0-beta-19135 → 0.0.0-beta-19151
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 +73 -73
- 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 +82 -82
- package/dist/chunks/{event-logger-j8fs78by.js → bus-007dvjm0.js} +20 -20
- package/dist/chunks/{event-logger-8g4myvzm.js → bus-099ksjr7.js} +5 -5
- package/dist/chunks/{event-logger-wsfy2223.js → bus-0dv7911r.js} +4 -4
- package/dist/chunks/{event-logger-0e0xafbb.js → bus-0e0xafbb.js} +2 -2
- package/dist/chunks/{event-logger-r31xxp0s.js → bus-0ez61b8c.js} +2 -2
- package/dist/chunks/{event-logger-dseghc32.js → bus-0kkm17qb.js} +24 -24
- package/dist/chunks/{event-logger-n2sxdf31.js → bus-0mccjmkq.js} +32 -32
- package/dist/chunks/{event-logger-xajqexeq.js → bus-0njd92bg.js} +10 -10
- package/dist/chunks/{event-logger-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{event-logger-0s9ayhjt.js → bus-0s9ayhjt.js} +1 -1
- package/dist/chunks/{event-logger-hpkkrthc.js → bus-0vdrg7q8.js} +9 -9
- package/dist/chunks/{event-logger-tfw7h05d.js → bus-0x9msrqt.js} +13 -13
- package/dist/chunks/{event-logger-xhpv3p5z.js → bus-14hmenm3.js} +3 -3
- package/dist/chunks/{event-logger-kaxzdh27.js → bus-19ghveyz.js} +11 -11
- package/dist/chunks/{event-logger-7yh4e7ss.js → bus-1bbkgx8g.js} +3 -3
- package/dist/chunks/{event-logger-1ct4r87x.js → bus-1ct4r87x.js} +1 -1
- package/dist/chunks/{event-logger-6e958v7x.js → bus-1z80kc63.js} +8 -8
- package/dist/chunks/{event-logger-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{event-logger-2402vzrj.js → bus-2402vzrj.js} +1 -1
- package/dist/chunks/{event-logger-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{event-logger-vrewfqnt.js → bus-2cryvejd.js} +1 -1
- package/dist/chunks/{event-logger-2ht70gj7.js → bus-2ht70gj7.js} +1 -1
- package/dist/chunks/{event-logger-2jqmte8w.js → bus-2jqmte8w.js} +2 -2
- package/dist/chunks/{event-logger-spt9fbav.js → bus-2y34zzjz.js} +6 -6
- package/dist/chunks/{event-logger-a5cfrypt.js → bus-36j5nzcr.js} +17 -17
- package/dist/chunks/{event-logger-w4600456.js → bus-36mzbjn4.js} +4 -4
- package/dist/chunks/{event-logger-ks1mw15q.js → bus-37h71zvm.js} +25 -25
- package/dist/chunks/{event-logger-yr3nda31.js → bus-3dj32zjz.js} +20 -20
- package/dist/chunks/{event-logger-0cy25tfm.js → bus-3dpaf6yv.js} +57 -57
- package/dist/chunks/{event-logger-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{event-logger-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-zkq9ev9h.js → bus-3hf4cecm.js} +31 -31
- package/dist/chunks/{event-logger-3qzbfqsy.js → bus-3qzbfqsy.js} +2 -2
- package/dist/chunks/{event-logger-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{event-logger-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{event-logger-ah9gen6x.js → bus-3wfq9j39.js} +12 -12
- package/dist/chunks/{event-logger-454k5vzh.js → bus-454k5vzh.js} +1 -1
- package/dist/chunks/{event-logger-13nnacyb.js → bus-45njm9q3.js} +13 -13
- package/dist/chunks/{event-logger-qkekek93.js → bus-48186013.js} +17 -17
- package/dist/chunks/{event-logger-wba6vet1.js → bus-4cb9c786.js} +4 -4
- package/dist/chunks/{event-logger-4r2nyarf.js → bus-4r2nyarf.js} +1 -1
- package/dist/chunks/{event-logger-bjx73de6.js → bus-4ttn3f9n.js} +18 -18
- package/dist/chunks/bus-4v7qdvcn.js +18 -0
- package/dist/chunks/{event-logger-6fwq361y.js → bus-4z6b0fg6.js} +6 -6
- package/dist/chunks/{event-logger-c370bb3n.js → bus-53gb87fg.js} +44 -44
- package/dist/chunks/{event-logger-t03f5674.js → bus-570hbvwx.js} +8 -8
- package/dist/chunks/{event-logger-nhbw4kpx.js → bus-593bc3zc.js} +10 -10
- package/dist/chunks/{event-logger-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{event-logger-t0mf683j.js → bus-5dbnxb1n.js} +7 -7
- package/dist/chunks/{event-logger-5fmxt4p5.js → bus-5fmxt4p5.js} +1 -1
- package/dist/chunks/{event-logger-nx3qahkd.js → bus-5g33tj6b.js} +14 -14
- package/dist/chunks/{event-logger-bf4jq1tz.js → bus-5jmn74tv.js} +6 -6
- package/dist/chunks/{event-logger-5jvc5tg2.js → bus-5jvc5tg2.js} +1 -1
- package/dist/chunks/{event-logger-bncvnm42.js → bus-5k3f87xj.js} +1 -1
- package/dist/chunks/{event-logger-b82t57ej.js → bus-5rj9yf9k.js} +11 -11
- package/dist/chunks/{event-logger-tynz9yxk.js → bus-637qq8n2.js} +9 -9
- package/dist/chunks/{event-logger-7yaq8a5f.js → bus-65vwahm5.js} +6 -6
- package/dist/chunks/{event-logger-1bwnd4hf.js → bus-669mtdgb.js} +45 -45
- package/dist/chunks/{event-logger-99hgvjf7.js → bus-6m5hv89w.js} +11 -11
- package/dist/chunks/{event-logger-xmdjc390.js → bus-6p81611h.js} +162 -162
- package/dist/chunks/{event-logger-xn2yye2k.js → bus-6qpq0xzz.js} +16 -16
- package/dist/chunks/{event-logger-d4fga7fm.js → bus-6s48shje.js} +3 -3
- package/dist/chunks/{event-logger-vj5n2wyh.js → bus-6tygk997.js} +10 -10
- package/dist/chunks/{event-logger-6z5bwd8g.js → bus-6z5bwd8g.js} +2 -2
- package/dist/chunks/{event-logger-axxvr9d6.js → bus-6zyntcx9.js} +3 -3
- package/dist/chunks/{event-logger-0qjj9ymt.js → bus-708bhwm5.js} +10 -10
- package/dist/chunks/{event-logger-711hfp6y.js → bus-711hfp6y.js} +2 -2
- package/dist/chunks/{event-logger-72nftnjy.js → bus-72nftnjy.js} +2 -2
- package/dist/chunks/{event-logger-1m9v8mn3.js → bus-74k3x0m5.js} +21 -21
- package/dist/chunks/{event-logger-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-vkn1y4t9.js → bus-7httqr41.js} +20 -20
- package/dist/chunks/{event-logger-e2dewr1q.js → bus-7prj1563.js} +14 -14
- package/dist/chunks/{event-logger-4n5vt0rn.js → bus-862r0hmq.js} +53 -53
- package/dist/chunks/{event-logger-atzdg8qx.js → bus-86s3977f.js} +1 -1
- package/dist/chunks/{event-logger-q1vjbhxy.js → bus-88ev9a66.js} +5 -5
- package/dist/chunks/{event-logger-54q4ab61.js → bus-8kg6mr26.js} +18 -18
- package/dist/chunks/{event-logger-6fy45jp5.js → bus-8q4mgm57.js} +4 -4
- package/dist/chunks/{event-logger-dfzjqex4.js → bus-8ryk0bb9.js} +5 -5
- package/dist/chunks/{event-logger-4ffk9bk5.js → bus-8xr8g0dt.js} +9 -9
- package/dist/chunks/{event-logger-7np481va.js → bus-8ye04jk8.js} +16 -16
- package/dist/chunks/{event-logger-5jf9zvh7.js → bus-8yq59nhy.js} +17 -17
- package/dist/chunks/{event-logger-ysykkmz7.js → bus-901gzjjm.js} +37 -37
- package/dist/chunks/{event-logger-zhqrqcxr.js → bus-93131cf0.js} +5 -5
- package/dist/chunks/{event-logger-93a8yfjt.js → bus-93a8yfjt.js} +2 -2
- package/dist/chunks/{event-logger-xzj9hzk7.js → bus-94vsv0sa.js} +17 -17
- package/dist/chunks/{event-logger-6h414ywr.js → bus-9d4efts8.js} +5 -5
- package/dist/chunks/{event-logger-qeanwbcn.js → bus-9d4wfkp0.js} +32 -32
- package/dist/chunks/{event-logger-2qfefwnw.js → bus-9ezmfr4d.js} +3 -3
- package/dist/chunks/{event-logger-h4pz2xm7.js → bus-9r4cyneb.js} +25 -25
- package/dist/chunks/{event-logger-z3xgatyd.js → bus-a3x9xvd8.js} +4 -4
- package/dist/chunks/{event-logger-k575832b.js → bus-a494ggh4.js} +10 -10
- package/dist/chunks/{event-logger-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/bus-anw4cmh3.js +4 -0
- package/dist/chunks/{event-logger-ay0pnvrs.js → bus-ar6r26gf.js} +28 -28
- package/dist/chunks/{event-logger-9714khfe.js → bus-arsbtf4n.js} +20 -20
- package/dist/chunks/{event-logger-7yg14vcd.js → bus-at9x16kw.js} +28 -28
- package/dist/chunks/{event-logger-avrzsbhx.js → bus-azaycewg.js} +20 -20
- package/dist/chunks/{event-logger-tppvcy65.js → bus-b0m1y6mq.js} +9 -9
- package/dist/chunks/{event-logger-qawf6k84.js → bus-b2wj7kwr.js} +11 -11
- package/dist/chunks/{event-logger-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{event-logger-hngne7ee.js → bus-b8nbcbsg.js} +9 -9
- package/dist/chunks/{event-logger-b9wsbatv.js → bus-b9wsbatv.js} +1 -1
- package/dist/chunks/{event-logger-bphmvjfp.js → bus-bcezcar3.js} +5 -5
- package/dist/chunks/{event-logger-5knqzda6.js → bus-bgjx49te.js} +20 -20
- package/dist/chunks/{event-logger-k2ean0hm.js → bus-br62jje5.js} +38 -38
- package/dist/chunks/{event-logger-a2rthcw1.js → bus-bseqm2ca.js} +18 -18
- package/dist/chunks/{event-logger-yecnm2gk.js → bus-c8afrcwz.js} +15 -15
- package/dist/chunks/{event-logger-6mxrwzjk.js → bus-ca0hpr7t.js} +11 -11
- package/dist/chunks/{event-logger-jrtjs9gg.js → bus-ccgr98mz.js} +9 -9
- package/dist/chunks/{event-logger-dfv457cv.js → bus-cfrqkav1.js} +45 -45
- package/dist/chunks/{event-logger-gpsmhah5.js → bus-cqdj2zee.js} +16 -16
- package/dist/chunks/{event-logger-rr2690n5.js → bus-crh3pn7j.js} +9 -9
- package/dist/chunks/{event-logger-6mwj1pae.js → bus-cyn6trz2.js} +6 -6
- package/dist/chunks/{event-logger-dwfxx02h.js → bus-d2rwh673.js} +18 -18
- package/dist/chunks/{event-logger-z1vky7gh.js → bus-dc4554sh.js} +11 -11
- package/dist/chunks/{event-logger-x8m158k6.js → bus-dn6skpfz.js} +14 -14
- package/dist/chunks/{event-logger-fej0en8h.js → bus-dqe3fw1x.js} +10 -10
- package/dist/chunks/{event-logger-2ftxdpw7.js → bus-ds0rx3zk.js} +16 -16
- package/dist/chunks/{event-logger-ycpnj09z.js → bus-e2sc323g.js} +10 -10
- package/dist/chunks/{event-logger-nn8rcarv.js → bus-e5b0qn1c.js} +1 -1
- package/dist/chunks/{event-logger-y9j759kk.js → bus-e5pxfhgv.js} +4 -4
- package/dist/chunks/{event-logger-zjkv6nhg.js → bus-e8ja81sx.js} +11 -11
- package/dist/chunks/{event-logger-axzb5kc8.js → bus-ecj1d35v.js} +6 -6
- package/dist/chunks/{event-logger-75ves8gm.js → bus-ers0pt04.js} +22 -22
- package/dist/chunks/bus-ex6w7h60.js +22 -0
- package/dist/chunks/{event-logger-v9gj1rzz.js → bus-exbytbx3.js} +9 -9
- package/dist/chunks/{event-logger-ez5b8bq3.js → bus-ez5b8bq3.js} +1 -1
- package/dist/chunks/{event-logger-41mncz27.js → bus-famd3pv6.js} +5 -5
- package/dist/chunks/{event-logger-dgf2qf9w.js → bus-fnxzs0zj.js} +20 -20
- package/dist/chunks/{event-logger-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
- package/dist/chunks/{event-logger-fxypknc8.js → bus-fxypknc8.js} +1 -1
- package/dist/chunks/{event-logger-z512nx12.js → bus-g1w7kbk3.js} +17 -17
- package/dist/chunks/{event-logger-hrvm11jt.js → bus-g2dy4bvs.js} +3 -3
- package/dist/chunks/{event-logger-d72308c8.js → bus-g2gt0w0k.js} +2 -2
- package/dist/chunks/{event-logger-zcb9rk6b.js → bus-g41n1fn3.js} +5 -5
- package/dist/chunks/{event-logger-3aqmas22.js → bus-g4pn5evg.js} +11 -11
- package/dist/chunks/{event-logger-1s8r4w4e.js → bus-g7fn2nxc.js} +33 -33
- package/dist/chunks/{event-logger-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{event-logger-j6qh3c6r.js → bus-gdyavges.js} +32 -32
- package/dist/chunks/{event-logger-r11njyrn.js → bus-gpxh8apv.js} +14 -14
- package/dist/chunks/{event-logger-4m6zeev3.js → bus-gyrty9a0.js} +4 -4
- package/dist/chunks/bus-gzzxkm3c.js +247 -0
- package/dist/chunks/{event-logger-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{event-logger-2a8s8ztn.js → bus-h9vk3x5a.js} +13 -13
- package/dist/chunks/{event-logger-by65e51k.js → bus-hd7305av.js} +32 -32
- package/dist/chunks/{event-logger-hs8qbhdc.js → bus-hen36v2j.js} +22 -22
- package/dist/chunks/{event-logger-heyhwy2w.js → bus-heyhwy2w.js} +1 -1
- package/dist/chunks/{event-logger-0k45et74.js → bus-hfr11a94.js} +9 -9
- package/dist/chunks/{event-logger-2m4g9ewj.js → bus-hha4zry8.js} +4 -4
- package/dist/chunks/{event-logger-fqyt6sf6.js → bus-hhaz7as1.js} +17 -17
- package/dist/chunks/{event-logger-rkyzgqd0.js → bus-hv52frfs.js} +25 -25
- package/dist/chunks/{event-logger-hw4pv20g.js → bus-hw4pv20g.js} +2 -2
- package/dist/chunks/{event-logger-nmdzejnn.js → bus-hzfc5e89.js} +15 -15
- package/dist/chunks/{event-logger-ywmycgam.js → bus-j1pn5v0m.js} +17 -17
- package/dist/chunks/{event-logger-pqgeajyn.js → bus-j6f8vpjn.js} +21 -21
- package/dist/chunks/{event-logger-tgtjrhay.js → bus-j6p1aehr.js} +82 -82
- package/dist/chunks/{event-logger-t2fc4mz5.js → bus-jfqtm2ew.js} +4 -4
- package/dist/chunks/{event-logger-v3tbpymg.js → bus-jnq64gng.js} +24 -24
- package/dist/chunks/{event-logger-dfvjmczd.js → bus-jwcs8hd7.js} +9 -9
- package/dist/chunks/{event-logger-y71avatq.js → bus-jwcy2c2z.js} +4 -4
- package/dist/chunks/{event-logger-7n2tcerd.js → bus-jy1b6ewz.js} +8 -8
- package/dist/chunks/{event-logger-jnxwsp9s.js → bus-k2ahb10n.js} +25 -25
- package/dist/chunks/{event-logger-3vma5df0.js → bus-k2x2knng.js} +24 -24
- package/dist/chunks/{event-logger-k4bwy1x5.js → bus-k4bwy1x5.js} +1 -1
- package/dist/chunks/{event-logger-kg06axw8.js → bus-kg06axw8.js} +1 -1
- package/dist/chunks/{event-logger-gt211jxx.js → bus-kkxjn8gg.js} +7 -7
- package/dist/chunks/{event-logger-tmg7j62d.js → bus-kvk9z22h.js} +36 -36
- package/dist/chunks/{event-logger-gy8nx2k9.js → bus-kw84e4xy.js} +6 -6
- package/dist/chunks/{event-logger-5fnfwqar.js → bus-m3fm0fm8.js} +5 -5
- package/dist/chunks/{event-logger-3hege6zb.js → bus-m7vkk1dw.js} +23 -23
- package/dist/chunks/{event-logger-frxc79s3.js → bus-m909ryej.js} +20 -20
- package/dist/chunks/{event-logger-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-nx4j5qsf.js → bus-mcxg6pmm.js} +1 -1
- package/dist/chunks/{event-logger-2bbpb5tz.js → bus-mkf7z2fx.js} +37 -37
- package/dist/chunks/{event-logger-k4j645x5.js → bus-mn4d6yy8.js} +26 -26
- package/dist/chunks/{event-logger-eg4pr325.js → bus-mngcm6jy.js} +10 -10
- package/dist/chunks/{event-logger-r94krbn8.js → bus-mnj85pt4.js} +12 -12
- package/dist/chunks/{event-logger-29dnvths.js → bus-mr8a2cts.js} +4 -4
- package/dist/chunks/{event-logger-5kt6hdqr.js → bus-mx2vryrr.js} +21 -21
- package/dist/chunks/{event-logger-th7wrnyd.js → bus-mxevvyah.js} +11 -11
- package/dist/chunks/{event-logger-xggrrz8m.js → bus-mzgjcdh7.js} +27 -27
- package/dist/chunks/{event-logger-mq88n3ng.js → bus-n3rn9b9d.js} +46 -46
- package/dist/chunks/{event-logger-f9x4js2z.js → bus-n9mr47st.js} +6 -6
- package/dist/chunks/{event-logger-hjagmg68.js → bus-nb0eyw3j.js} +41 -41
- package/dist/chunks/{event-logger-8en7wc9m.js → bus-nbf26ms9.js} +26 -26
- package/dist/chunks/{event-logger-97b65712.js → bus-nep1jn7g.js} +20 -20
- package/dist/chunks/{event-logger-mynagy99.js → bus-nhet2z82.js} +32 -32
- package/dist/chunks/{event-logger-pgm7ae5m.js → bus-nhp7y9q2.js} +23 -23
- package/dist/chunks/{event-logger-djkrpdfn.js → bus-nysebb6s.js} +15 -15
- package/dist/chunks/{event-logger-kgn87dt0.js → bus-p1xeps0x.js} +20 -20
- package/dist/chunks/{event-logger-0fxt3z96.js → bus-p4990n7g.js} +5 -5
- package/dist/chunks/{event-logger-gn6tz21j.js → bus-p4spce3w.js} +9 -9
- package/dist/chunks/{event-logger-mra0x5cd.js → bus-p83qt40j.js} +8 -8
- package/dist/chunks/{event-logger-rq543nqh.js → bus-pbxwk0py.js} +26 -26
- package/dist/chunks/{event-logger-amdbyq20.js → bus-pchw21vv.js} +7 -7
- package/dist/chunks/{event-logger-jmcfde88.js → bus-pem2nq6m.js} +4 -4
- package/dist/chunks/{event-logger-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{event-logger-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-kft55aaf.js → bus-psy76y9c.js} +6 -6
- package/dist/chunks/{event-logger-6zmw1f7k.js → bus-pyzvmhjt.js} +7 -7
- package/dist/chunks/{event-logger-thbve8h8.js → bus-q71jbywg.js} +293 -293
- package/dist/chunks/{event-logger-e85xrhz5.js → bus-qcc87r2a.js} +6 -6
- package/dist/chunks/{event-logger-607tc6va.js → bus-qgn6gcr1.js} +5 -5
- package/dist/chunks/{event-logger-1p8bnmch.js → bus-qkzfms5c.js} +4 -4
- package/dist/chunks/{event-logger-cgtt7c7n.js → bus-qphg5mmy.js} +41 -41
- package/dist/chunks/{event-logger-cdp882tc.js → bus-qqxx9c59.js} +10 -10
- package/dist/chunks/{event-logger-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{event-logger-9qm9egsn.js → bus-qvbcabdc.js} +2 -2
- package/dist/chunks/{event-logger-6anwy9fs.js → bus-r33ff4dw.js} +6 -6
- package/dist/chunks/{event-logger-r8dhm0tv.js → bus-r8dhm0tv.js} +1 -1
- package/dist/chunks/{event-logger-xj9wkxzj.js → bus-r9gjvh9g.js} +7 -7
- package/dist/chunks/{event-logger-rpstmqvz.js → bus-rae26gbb.js} +8 -8
- package/dist/chunks/{event-logger-0t17cbyp.js → bus-rfgs2k4e.js} +33 -33
- package/dist/chunks/{event-logger-n6rh12ap.js → bus-rjjem9h6.js} +7 -7
- package/dist/chunks/{event-logger-9csrpy9m.js → bus-rk0dvaye.js} +5 -5
- package/dist/chunks/{event-logger-tm8p6d2n.js → bus-rmy3e5eg.js} +3 -3
- package/dist/chunks/{event-logger-02cz66nk.js → bus-rzsjt7my.js} +12 -12
- package/dist/chunks/{event-logger-ry0a9y46.js → bus-s3eqpch7.js} +1 -1
- package/dist/chunks/{event-logger-eh4ym285.js → bus-s45j2666.js} +32 -32
- package/dist/chunks/{event-logger-sba4qhjf.js → bus-sba4qhjf.js} +1 -1
- package/dist/chunks/{event-logger-mnzf0qgg.js → bus-sdk1rkft.js} +15 -15
- package/dist/chunks/{event-logger-rjb1sb0e.js → bus-t8am0cpd.js} +4 -4
- package/dist/chunks/{event-logger-t9zs3egg.js → bus-t9zs3egg.js} +1 -1
- package/dist/chunks/{event-logger-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{event-logger-89znhe33.js → bus-tcezcvh9.js} +4 -4
- package/dist/chunks/{event-logger-tjykrgmx.js → bus-tjykrgmx.js} +1 -1
- package/dist/chunks/{event-logger-vdn8fb77.js → bus-tkptkkba.js} +27 -27
- package/dist/chunks/{event-logger-h2wg2nnm.js → bus-tn3hnqfz.js} +7 -7
- package/dist/chunks/{event-logger-bg0z499z.js → bus-tqqej2s1.js} +8 -8
- package/dist/chunks/{event-logger-cfc6tg4q.js → bus-tta5943s.js} +14 -14
- package/dist/chunks/{event-logger-j3g33syr.js → bus-v1p1x004.js} +6 -6
- package/dist/chunks/{event-logger-grrzmf21.js → bus-v210efr7.js} +17 -17
- package/dist/chunks/{event-logger-ss94fdxg.js → bus-v3bjms6p.js} +47 -47
- package/dist/chunks/{event-logger-dgycpedt.js → bus-v4xjjhvg.js} +24 -24
- package/dist/chunks/{event-logger-212ph2vw.js → bus-v8nrt0nt.js} +6 -6
- package/dist/chunks/{event-logger-vv4xtdqm.js → bus-v9vvq96z.js} +39 -39
- package/dist/chunks/{event-logger-tt9qdt9n.js → bus-vffa83p2.js} +31 -31
- package/dist/chunks/{event-logger-7n1ftcmm.js → bus-vfxn8x23.js} +30 -30
- package/dist/chunks/{event-logger-7a627tte.js → bus-vxp066d4.js} +14 -14
- package/dist/chunks/{event-logger-4fs60wf0.js → bus-w08r0s8v.js} +19 -19
- package/dist/chunks/{event-logger-3rbx21vn.js → bus-w1jjwhhz.js} +10 -10
- package/dist/chunks/{event-logger-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-xpxp6qhx.js → bus-wed177g1.js} +6 -6
- package/dist/chunks/{event-logger-x4vht8q3.js → bus-wgc2mr3y.js} +2 -2
- package/dist/chunks/{event-logger-rhe1rhkd.js → bus-wgxn7ww3.js} +4 -4
- package/dist/chunks/{event-logger-fdjyeynq.js → bus-wgz7hchk.js} +6 -6
- package/dist/chunks/{event-logger-7twspavz.js → bus-wp43gv37.js} +10 -10
- package/dist/chunks/{event-logger-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{event-logger-ajxr8k0d.js → bus-x1nkgr2s.js} +39 -39
- package/dist/chunks/{event-logger-xr1t7wkk.js → bus-x3ex91pf.js} +28 -28
- package/dist/chunks/{event-logger-m3cacpdp.js → bus-x5ga9etc.js} +24 -24
- package/dist/chunks/{event-logger-rf15saw8.js → bus-x7mven0m.js} +7 -7
- package/dist/chunks/{event-logger-vnmqmt3b.js → bus-xjf0nspg.js} +9 -9
- package/dist/chunks/{event-logger-2van94j2.js → bus-xp26bn8e.js} +15 -15
- package/dist/chunks/{event-logger-s5amd0ws.js → bus-xpj7ktyz.js} +29 -29
- package/dist/chunks/{event-logger-vkfnfj36.js → bus-xqsy6kp0.js} +1 -1
- package/dist/chunks/{event-logger-9kj12sde.js → bus-xr5vwsd4.js} +9 -9
- package/dist/chunks/{event-logger-xpr0d24v.js → bus-xx52rexs.js} +4 -4
- package/dist/chunks/{event-logger-0ak8fpq9.js → bus-y00kh1j2.js} +82 -82
- package/dist/chunks/{event-logger-bzx0t2dm.js → bus-y01np14z.js} +11 -11
- package/dist/chunks/{event-logger-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{event-logger-wcvbg4sk.js → bus-y7pta2mg.js} +28 -28
- package/dist/chunks/{event-logger-5eze0v7x.js → bus-y8jjghfg.js} +33 -33
- package/dist/chunks/{event-logger-kk3rr3qh.js → bus-yfbd16n1.js} +5 -5
- package/dist/chunks/{event-logger-ajtjthsy.js → bus-yg7sb877.js} +2 -2
- package/dist/chunks/{event-logger-6y4y2zs8.js → bus-ygw7vpbc.js} +9 -9
- package/dist/chunks/{event-logger-t4n9vf9m.js → bus-ykcesz1b.js} +4 -4
- package/dist/chunks/{event-logger-7mm1a5xk.js → bus-ymy83g1g.js} +11 -11
- package/dist/chunks/{event-logger-tjtda90p.js → bus-yyebksmm.js} +2 -2
- package/dist/chunks/{event-logger-qpvzpfsv.js → bus-yzwjgzk2.js} +11 -11
- package/dist/chunks/{event-logger-z1k01bn4.js → bus-z1k01bn4.js} +2 -2
- package/dist/chunks/{event-logger-z63w68vq.js → bus-z63w68vq.js} +2 -2
- package/dist/chunks/{event-logger-xk5brt97.js → bus-zn2pq4p8.js} +5 -5
- package/dist/chunks/{event-logger-5ranmbyz.js → bus-zp7etnvg.js} +13 -13
- package/dist/chunks/{event-logger-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- 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 +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +358 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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-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 +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +92 -92
- 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 +3 -3
- 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 +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +346 -346
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- 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 +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- 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 +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/system-prompt.js +1 -1
- 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 +111 -111
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- 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 +82 -82
- package/dist/reference.js +82 -82
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +121 -121
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +212 -212
- package/dist/session/execution.js +118 -118
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +86 -86
- 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 +91 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- 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 +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +210 -210
- 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 +9 -9
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +102 -102
- package/dist/snapshot.js +84 -84
- 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 +117 -117
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +94 -94
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +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 +72 -72
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +336 -336
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +7 -7
- package/dist/chunks/event-logger-639wr4eg.js +0 -22
- package/dist/chunks/event-logger-dmrrm8p8.js +0 -247
- package/dist/chunks/event-logger-vnkjks7b.js +0 -18
- package/dist/chunks/event-logger-z5h5yern.js +0 -4
- /package/dist/chunks/{event-logger-0fabt78z.js → bus-0fabt78z.js} +0 -0
- /package/dist/chunks/{event-logger-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3t738kvx.js → bus-3t738kvx.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-41nvscxy.js → bus-41nvscxy.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-982e01ww.js → bus-982e01ww.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a1tpkmh4.js → bus-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{event-logger-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-j935v87r.js → bus-j935v87r.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-mntxs535.js → bus-mntxs535.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-p8qxwesx.js → bus-p8qxwesx.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-se0s1eqw.js → bus-se0s1eqw.js} +0 -0
- /package/dist/chunks/{event-logger-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-twg0f83k.js → bus-twg0f83k.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x1b8g1yb.js → bus-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → bus-z9919s4g.js} +0 -0
- /package/dist/chunks/{event-logger-zbjnn3ac.js → bus-zbjnn3ac.js} +0 -0
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-gyrty9a0.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service77,
|
|
8
|
+
node82
|
|
9
|
+
} from "./bus-qqxx9c59.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event16,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service64,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node68,
|
|
26
26
|
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service64 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event16 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service77;
|
|
81
81
|
const bus = yield* Service79;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event16.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service64.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event16.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event16.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node68 = makeGlobalNode({ service: Service64, layer, deps: [httpClient, node82, node84] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service64, Event16, inspect2, resolve2, node68, exports_wellknown };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service29,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service29 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service29.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service29, awaitActivation2, exports_service };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/provider.ts
|
|
6
6
|
var exports_provider3 = {};
|
|
7
7
|
__export(exports_provider3, {
|
|
8
8
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
9
|
-
ID: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ID: () => ID18,
|
|
10
|
+
Info: () => Info32,
|
|
11
11
|
LoadError: () => LoadError3,
|
|
12
12
|
Provider: () => exports_provider3,
|
|
13
13
|
Request: () => Request3,
|
|
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
|
|
|
23
23
|
import { Provider } from "@opencode-ai/schema/provider";
|
|
24
24
|
import { isRecord } from "@opencode-ai/ai/utils/record";
|
|
25
25
|
import { importModule, resolveModule } from "@opencode-ai/util/runtime-import";
|
|
26
|
-
var
|
|
26
|
+
var ID18 = Provider.ID;
|
|
27
27
|
var AISDK_PREFIX2 = "aisdk:";
|
|
28
28
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
29
29
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -137,7 +137,7 @@ function mergeHeaders2(base, overlay) {
|
|
|
137
137
|
}
|
|
138
138
|
var Request3 = Provider.Request;
|
|
139
139
|
var Settings2 = Provider.Settings;
|
|
140
|
-
var
|
|
140
|
+
var Info32 = Provider.Info;
|
|
141
141
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
142
142
|
const module = yield* Effect.tryPromise({
|
|
143
143
|
try: () => {
|
|
@@ -159,4 +159,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
159
159
|
return module;
|
|
160
160
|
});
|
|
161
161
|
|
|
162
|
-
export {
|
|
162
|
+
export { ID18, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info32, exports_provider3 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service54
|
|
7
|
+
} from "./bus-cfrqkav1.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service68
|
|
13
|
+
} from "./bus-v4xjjhvg.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service75
|
|
16
|
+
} from "./bus-hhaz7as1.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvePath2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service18
|
|
20
|
+
} from "./bus-6qpq0xzz.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service58
|
|
23
|
+
} from "./bus-669mtdgb.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service71,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./bus-0x9msrqt.js";
|
|
34
34
|
import {
|
|
35
35
|
NotFoundError4,
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service45
|
|
37
|
+
} from "./bus-nb0eyw3j.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service20
|
|
40
|
+
} from "./bus-y00kh1j2.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./bus-4cb9c786.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./bus-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input3,
|
|
53
|
+
Plugin: () => Plugin17,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name3
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode-ai/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. DO NOT run sleep commands or poll the output file to check for completion. You can read from the file when its current output would be useful, such as when inspecting logs from a background server. Otherwise, continue with other work or end your response.";
|
|
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."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin17 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service20;
|
|
122
|
+
const jobs = yield* Service75;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const mutation = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service68;
|
|
125
|
+
const mutation = yield* Service18;
|
|
126
|
+
const shell = yield* Service45;
|
|
127
|
+
const shellSelect = yield* Service71;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service58;
|
|
130
|
+
const config = yield* Service54;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -155,7 +155,7 @@ var Plugin39 = {
|
|
|
155
155
|
});
|
|
156
156
|
if (parsed.commands.length > 0)
|
|
157
157
|
yield* permission.assert({
|
|
158
|
-
action:
|
|
158
|
+
action: name3,
|
|
159
159
|
resources: parsed.commands.map((command) => command.resource),
|
|
160
160
|
save: parsed.commands.map((command) => command.save),
|
|
161
161
|
sessionID: context.sessionID,
|
|
@@ -192,10 +192,10 @@ var Plugin39 = {
|
|
|
192
192
|
yield* jobs.completeBackground(info.notificationID);
|
|
193
193
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
194
194
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
195
|
-
name:
|
|
195
|
+
name: name3,
|
|
196
196
|
options: { codemode: false },
|
|
197
197
|
description: description(),
|
|
198
|
-
input:
|
|
198
|
+
input: Input3,
|
|
199
199
|
output: Output,
|
|
200
200
|
execute: (input, context) => Effect.gen(function* () {
|
|
201
201
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -228,7 +228,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
228
228
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
229
229
|
const job = yield* jobs.start({
|
|
230
230
|
id: info.id,
|
|
231
|
-
type:
|
|
231
|
+
type: name3,
|
|
232
232
|
title: info.command,
|
|
233
233
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
234
234
|
recovery: {
|
|
@@ -258,7 +258,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
258
258
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
259
259
|
})).pipe(Effect.orDie);
|
|
260
260
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
261
|
-
const tool = event.tools[
|
|
261
|
+
const tool = event.tools[name3];
|
|
262
262
|
if (!tool)
|
|
263
263
|
return;
|
|
264
264
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin17, exports_shell };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
10
|
+
configured: () => configured8,
|
|
11
|
+
layer: () => layer24,
|
|
12
12
|
make: () => make17,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node67,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
@@ -28,8 +28,8 @@ function make17(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer24 = (input) => Layer.succeed(Metadata2, make17(input));
|
|
32
|
+
var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
|
|
33
|
+
var node67 = configured8();
|
|
34
34
|
|
|
35
|
-
export { Metadata2, make17, useragent2,
|
|
35
|
+
export { Metadata2, make17, useragent2, layer24, configured8, node67, exports_app };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./bus-j1pn5v0m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-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-ai/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode-ai/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* Service72;
|
|
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,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service54
|
|
4
|
+
} from "./bus-cfrqkav1.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin13,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin13 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service54;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -90,4 +90,4 @@ var Plugin12 = define({
|
|
|
90
90
|
})
|
|
91
91
|
});
|
|
92
92
|
|
|
93
|
-
export {
|
|
93
|
+
export { Plugin13, exports_warming };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-p8qxwesx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service68,
|
|
8
|
+
node72
|
|
9
|
+
} from "./bus-v4xjjhvg.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-5jvc5tg2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service17,
|
|
24
|
+
node: () => node20
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service17 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service68;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service17.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -174,6 +174,6 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
174
174
|
}))))
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var node20 = makeLocationNode({ service: Service17, layer, deps: [node72, RipgrepBinary2.node] });
|
|
178
178
|
|
|
179
|
-
export { Error2, InvalidPatternError2,
|
|
179
|
+
export { Error2, InvalidPatternError2, Service17, node20, exports_ripgrep };
|
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
ID10,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-w1jjwhhz.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-669mtdgb.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent = {};
|
|
15
15
|
__export(exports_agent, {
|
|
16
16
|
AgentPlugin: () => exports_agent,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin12
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode-ai/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 Plugin12 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -148,4 +148,4 @@ var Plugin13 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin12, exports_agent };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-gyrty9a0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./bus-j1pn5v0m.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service34
|
|
10
|
+
} from "./bus-v3bjms6p.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command = {};
|
|
17
17
|
__export(exports_command, {
|
|
18
18
|
CommandPlugin: () => exports_command,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin10
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin10 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service72;
|
|
200
|
+
const mcp = yield* Service34;
|
|
201
201
|
const bus = yield* Service79;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin10, exports_command };
|