@opencode-ai/core 0.0.0-dev-19160 → 0.0.0-dev-19162
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 +79 -79
- 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/{command-2k2b0myy.js → config-05zt7bxw.js} +5 -5
- package/dist/chunks/{command-xg3c18md.js → config-06hhv4mk.js} +10 -10
- package/dist/chunks/{command-06qbn9zd.js → config-06qbn9zd.js} +2 -2
- package/dist/chunks/{command-5ms9567n.js → config-0717jcw9.js} +10 -10
- package/dist/chunks/{command-ag4rn41e.js → config-0dv7911r.js} +4 -4
- package/dist/chunks/{command-0e0xafbb.js → config-0e0xafbb.js} +2 -2
- package/dist/chunks/{command-x4a87jpz.js → config-0f36fkqm.js} +10 -10
- package/dist/chunks/{command-36bx4p7m.js → config-0ftyh06z.js} +11 -11
- package/dist/chunks/{command-fvanntqq.js → config-0gaj4617.js} +4 -4
- package/dist/chunks/{command-k6wd3zsg.js → config-0mh54vrd.js} +32 -32
- package/dist/chunks/{command-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-scncj5yv.js → config-0q7045zc.js} +20 -20
- package/dist/chunks/{command-0s9ayhjt.js → config-0s9ayhjt.js} +1 -1
- package/dist/chunks/{command-a09trhwb.js → config-0w1hyfp5.js} +8 -8
- package/dist/chunks/{command-2kq1zvc1.js → config-158d8j6f.js} +11 -11
- package/dist/chunks/{command-1ct4r87x.js → config-1ct4r87x.js} +1 -1
- package/dist/chunks/config-1dzz6snw.js +247 -0
- package/dist/chunks/{command-m5045k8y.js → config-1n116cmy.js} +9 -9
- package/dist/chunks/{command-qbyj8qxd.js → config-1rfmywcm.js} +1 -1
- package/dist/chunks/{command-46fb7xft.js → config-1xgpa51k.js} +31 -31
- package/dist/chunks/{command-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{command-v8gy3pjr.js → config-237jjh8r.js} +1 -1
- package/dist/chunks/{command-2402vzrj.js → config-2402vzrj.js} +1 -1
- package/dist/chunks/{command-3v2tg306.js → config-28137t3k.js} +20 -20
- package/dist/chunks/{command-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-2ht70gj7.js → config-2ht70gj7.js} +1 -1
- package/dist/chunks/{command-p4ffxaks.js → config-2pcxbq9w.js} +19 -19
- package/dist/chunks/{command-6h683ksm.js → config-2pr397y0.js} +3 -3
- package/dist/chunks/{command-fde3eq2m.js → config-2wc239sk.js} +16 -16
- package/dist/chunks/{command-z7f3thhk.js → config-2wqzt3cn.js} +4 -4
- package/dist/chunks/{command-k9hbvqs8.js → config-31e3ykh9.js} +16 -16
- package/dist/chunks/config-35chk74t.js +4 -0
- package/dist/chunks/{command-cj78h4gj.js → config-390g9qnx.js} +5 -5
- package/dist/chunks/{command-41y5k8q3.js → config-3esdbzaj.js} +36 -36
- package/dist/chunks/{command-7ry09vv5.js → config-3h117gp9.js} +3 -3
- package/dist/chunks/{command-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-8ehfs3z6.js → config-3qdjr5ym.js} +6 -6
- package/dist/chunks/{command-3qzbfqsy.js → config-3qzbfqsy.js} +2 -2
- package/dist/chunks/{command-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-454k5vzh.js → config-454k5vzh.js} +1 -1
- package/dist/chunks/{command-36jsrrnq.js → config-4f0jyt0w.js} +4 -4
- package/dist/chunks/{command-xf2mx0nj.js → config-4h971em0.js} +18 -18
- package/dist/chunks/{command-v53xvqvh.js → config-4q2e07t1.js} +29 -29
- package/dist/chunks/{command-4r2nyarf.js → config-4r2nyarf.js} +1 -1
- package/dist/chunks/{command-sjpb2e72.js → config-4zxvp4s8.js} +8 -8
- package/dist/chunks/{command-cfaf1jcp.js → config-50jazn63.js} +6 -6
- package/dist/chunks/{command-986p65m9.js → config-55v2ymrw.js} +5 -5
- package/dist/chunks/{command-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{command-5fmxt4p5.js → config-5fmxt4p5.js} +1 -1
- package/dist/chunks/{command-5jvc5tg2.js → config-5jvc5tg2.js} +1 -1
- package/dist/chunks/{command-eab3te1e.js → config-5v35ncxg.js} +17 -17
- package/dist/chunks/{command-6kzfdsbw.js → config-5wxrjykn.js} +39 -39
- package/dist/chunks/{command-apjnhj61.js → config-61xw2vyk.js} +3 -3
- package/dist/chunks/{command-qz2a5vjy.js → config-67cp0t3n.js} +8 -8
- package/dist/chunks/{command-2wjp2tjd.js → config-69r0shtj.js} +11 -11
- package/dist/chunks/{command-7nhnh7r3.js → config-6affnmbh.js} +4 -4
- package/dist/chunks/config-6ancngw6.js +22 -0
- package/dist/chunks/{command-nwqthrgy.js → config-6bk635n3.js} +4 -4
- package/dist/chunks/{command-j8swj2w1.js → config-6cnprtbt.js} +17 -17
- package/dist/chunks/{command-z3s9j4q6.js → config-6cp2jw9r.js} +18 -18
- package/dist/chunks/{command-09a6army.js → config-6mjnften.js} +18 -18
- package/dist/chunks/{command-tr0exa0z.js → config-6t8g9t55.js} +46 -46
- package/dist/chunks/{command-dyxej0k0.js → config-6wms2n7k.js} +20 -20
- package/dist/chunks/{command-6abnk40k.js → config-6z5bwd8g.js} +9 -9
- package/dist/chunks/{command-711hfp6y.js → config-711hfp6y.js} +2 -2
- package/dist/chunks/{command-72nftnjy.js → config-72nftnjy.js} +2 -2
- package/dist/chunks/{command-7yh4e7ss.js → config-73tb2d7t.js} +3 -3
- package/dist/chunks/{command-gpdv1k8z.js → config-749gab3j.js} +85 -85
- package/dist/chunks/{command-eze362m1.js → config-75f2r3s2.js} +7 -7
- package/dist/chunks/{command-rbmj63g6.js → config-75kxdcsk.js} +18 -18
- package/dist/chunks/{command-yhr218qz.js → config-75yf2d83.js} +6 -6
- package/dist/chunks/{command-2j14775k.js → config-77d3wn9c.js} +33 -33
- package/dist/chunks/{command-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-cb182ger.js → config-7cnzp9pw.js} +4 -4
- package/dist/chunks/{command-7dqw4kz8.js → config-7dqw4kz8.js} +1 -1
- package/dist/chunks/{command-64z8z5x5.js → config-7gbsxqt2.js} +8 -8
- package/dist/chunks/{command-xf5dfsz3.js → config-7vybpyaj.js} +55 -55
- package/dist/chunks/{command-66r9f6z1.js → config-7xyrrtj6.js} +5 -5
- package/dist/chunks/{command-sdrvr6hd.js → config-849efh8h.js} +15 -15
- package/dist/chunks/{command-7nxyxket.js → config-84e5sn9r.js} +1 -1
- package/dist/chunks/{command-6hxkxj5e.js → config-88f2w7bg.js} +15 -15
- package/dist/chunks/{command-mqd6mqcv.js → config-8g9nxc0g.js} +9 -9
- package/dist/chunks/{command-dhc125dj.js → config-8mytbkpk.js} +15 -15
- package/dist/chunks/{command-7ng7exzm.js → config-8pn7nfj1.js} +1 -1
- package/dist/chunks/{command-e4byd2f0.js → config-8sst88kq.js} +168 -168
- package/dist/chunks/{command-5x809xkz.js → config-8ysd1vrr.js} +10 -10
- package/dist/chunks/{command-771gpf5h.js → config-90f0znq3.js} +10 -10
- package/dist/chunks/{command-r6y16npb.js → config-90jvxegy.js} +29 -29
- package/dist/chunks/{command-2dqn2d0f.js → config-95dz77zy.js} +9 -9
- package/dist/chunks/{command-2tse149y.js → config-9k4yc68s.js} +6 -6
- package/dist/chunks/{command-47c0vj8e.js → config-9mdqs4p6.js} +13 -13
- package/dist/chunks/{command-mvcmfyp0.js → config-9n4rmthx.js} +6 -6
- package/dist/chunks/{command-9qm9egsn.js → config-9qm9egsn.js} +2 -2
- package/dist/chunks/{command-3gcs5xa7.js → config-9swgxcyc.js} +16 -16
- package/dist/chunks/{command-7w74e5nf.js → config-a1bqr6mg.js} +9 -9
- package/dist/chunks/{command-6nf9m9w8.js → config-a848jf85.js} +15 -15
- package/dist/chunks/{command-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{command-ajtjthsy.js → config-ajtjthsy.js} +2 -2
- package/dist/chunks/{command-c50h3021.js → config-asc3hgbh.js} +6 -6
- package/dist/chunks/{command-7th8yg4v.js → config-az3ewtba.js} +10 -10
- package/dist/chunks/{command-1y88a9y4.js → config-b06njkpy.js} +24 -24
- package/dist/chunks/{command-mf0qyrea.js → config-b0ememyf.js} +5 -5
- package/dist/chunks/{command-xb02k0wq.js → config-b27vhd2z.js} +4 -4
- package/dist/chunks/{command-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-syf0fv3f.js → config-b7sv87fa.js} +15 -15
- package/dist/chunks/{command-b9wsbatv.js → config-b9wsbatv.js} +1 -1
- package/dist/chunks/{command-hnyf01b0.js → config-bcezcar3.js} +5 -5
- package/dist/chunks/{command-mq4pan8t.js → config-bhhnfd7g.js} +11 -11
- package/dist/chunks/{command-vex81zzz.js → config-bnf63c9y.js} +21 -21
- package/dist/chunks/{command-3qze2g25.js → config-bpnz08mb.js} +2 -2
- package/dist/chunks/{command-3jj6bjb6.js → config-btc4hvws.js} +5 -5
- package/dist/chunks/{command-0mxxck6s.js → config-cbmwqr93.js} +28 -28
- package/dist/chunks/{command-ytrfeffg.js → config-cbx5tm5q.js} +3 -3
- package/dist/chunks/{command-wngp9twe.js → config-cdq864t9.js} +4 -4
- package/dist/chunks/{command-8d12smfc.js → config-cgpj99p4.js} +16 -16
- package/dist/chunks/{command-5yrh131y.js → config-cwq8wwbw.js} +6 -6
- package/dist/chunks/{command-t3q2ka56.js → config-d4fghf44.js} +22 -22
- package/dist/chunks/{command-d72308c8.js → config-d72308c8.js} +2 -2
- package/dist/chunks/{command-xa23jzcd.js → config-dfxkf46d.js} +18 -18
- package/dist/chunks/{command-q1mp0wyr.js → config-dnqht47t.js} +11 -11
- package/dist/chunks/{command-mb3t0p3g.js → config-drvezzaf.js} +18 -18
- package/dist/chunks/{command-adtw4hjy.js → config-dvnq9x8h.js} +30 -30
- package/dist/chunks/{command-mn2fhvjf.js → config-e06bka4b.js} +21 -21
- package/dist/chunks/{command-403wd46a.js → config-e5c0hftg.js} +11 -11
- package/dist/chunks/{command-067xa773.js → config-ea6674rn.js} +46 -46
- package/dist/chunks/{command-cze25jak.js → config-efcf8wyf.js} +8 -8
- package/dist/chunks/{command-nst4gbxz.js → config-eg4pr325.js} +10 -10
- package/dist/chunks/{command-2bymashh.js → config-eqepbgaf.js} +13 -13
- package/dist/chunks/{command-ez9t0j11.js → config-f0xx6xrn.js} +28 -28
- package/dist/chunks/{command-yfmpqt7t.js → config-f4ptx47h.js} +18 -18
- package/dist/chunks/{command-9f3285wp.js → config-f6p2s77z.js} +16 -16
- package/dist/chunks/{command-j5208yae.js → config-fjvydvzm.js} +4 -4
- package/dist/chunks/{command-pgrzqq7x.js → config-fpkc6x6e.js} +294 -294
- package/dist/chunks/{command-fxbjtjnd.js → config-fxbjtjnd.js} +1 -1
- package/dist/chunks/{command-fxypknc8.js → config-fxypknc8.js} +1 -1
- package/dist/chunks/{command-yhzb4m19.js → config-g0h7a6z3.js} +25 -25
- package/dist/chunks/{command-makhhr1b.js → config-g2g0nm0k.js} +8 -8
- package/dist/chunks/{command-2bfwt810.js → config-g3m1b5yb.js} +20 -20
- package/dist/chunks/{command-x89xc156.js → config-g3ncs8hk.js} +35 -35
- package/dist/chunks/{command-vc3d140a.js → config-gcq6p8pa.js} +22 -22
- package/dist/chunks/{command-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-gdvy8fx6.js → config-gdvy8fx6.js} +1 -1
- package/dist/chunks/{command-pb7mhrv4.js → config-gmgk58pj.js} +32 -32
- package/dist/chunks/{command-cf0yyv30.js → config-gs07ajs2.js} +13 -13
- package/dist/chunks/{command-4myz20e1.js → config-gszwqe5d.js} +25 -25
- package/dist/chunks/{command-5mm0tfy6.js → config-gvha7d93.js} +2 -2
- package/dist/chunks/{command-r4zdmh6q.js → config-gw2ha4j9.js} +23 -23
- package/dist/chunks/{command-9p3tsgpy.js → config-gzd7t3bg.js} +4 -4
- package/dist/chunks/{command-80gwsprg.js → config-h0xakedw.js} +15 -15
- package/dist/chunks/{command-f9x6rp1j.js → config-h397hkc6.js} +1 -1
- package/dist/chunks/{command-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-z62pd9tg.js → config-hbyy88g2.js} +5 -5
- package/dist/chunks/{command-heyhwy2w.js → config-heyhwy2w.js} +1 -1
- package/dist/chunks/{command-bnd53w8e.js → config-hqq8t1nz.js} +21 -21
- package/dist/chunks/{command-hrvm11jt.js → config-hrvm11jt.js} +3 -3
- package/dist/chunks/{command-kvsjn1dr.js → config-hw4pv20g.js} +2 -2
- package/dist/chunks/{command-pvwc59kc.js → config-j793fzzw.js} +6 -6
- package/dist/chunks/{command-4aej6qjt.js → config-k0jfbz6p.js} +9 -9
- package/dist/chunks/{command-an9xa30v.js → config-k16hc8ta.js} +7 -7
- package/dist/chunks/{command-9shezh8w.js → config-k3qb5jpq.js} +15 -15
- package/dist/chunks/{command-k4bwy1x5.js → config-k4bwy1x5.js} +1 -1
- package/dist/chunks/{command-06rbd0ds.js → config-k8cz140w.js} +7 -7
- package/dist/chunks/{command-2qqffpqm.js → config-ke4h9fde.js} +30 -30
- package/dist/chunks/{command-kg06axw8.js → config-kg06axw8.js} +1 -1
- package/dist/chunks/{command-fn1bgv7k.js → config-khzg4rw9.js} +12 -12
- package/dist/chunks/{command-ctd4qdmr.js → config-kx2gvdct.js} +4 -4
- package/dist/chunks/{command-fgm3rptp.js → config-kxdbpzvg.js} +11 -11
- package/dist/chunks/{command-3zzw1d29.js → config-kxt3why0.js} +2 -2
- package/dist/chunks/{command-8hczv8aq.js → config-m7yd5tmd.js} +19 -19
- package/dist/chunks/{command-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-jh83r34y.js → config-mcwyqbfv.js} +14 -14
- package/dist/chunks/{command-67qwxm7p.js → config-mk71vqfm.js} +10 -10
- package/dist/chunks/{command-xxz5bf5t.js → config-mq9r6drf.js} +3 -3
- package/dist/chunks/{command-bsnns7jw.js → config-mrr5n1t5.js} +41 -41
- package/dist/chunks/{command-y724s5yt.js → config-ms4p05rz.js} +4 -4
- package/dist/chunks/{command-mfzvtt0p.js → config-n4vc4wqp.js} +35 -35
- package/dist/chunks/{command-wcr0959g.js → config-n6wnzfnt.js} +9 -9
- package/dist/chunks/{command-rzejcw32.js → config-n95nq84g.js} +5 -5
- package/dist/chunks/{command-gh3etp9m.js → config-nbb09f0r.js} +14 -14
- package/dist/chunks/{command-6rvfg3m1.js → config-nc7vhk1r.js} +25 -25
- package/dist/chunks/{command-abrpakxq.js → config-ndcx881h.js} +11 -11
- package/dist/chunks/{command-g220pns6.js → config-ndvrq8a0.js} +56 -56
- package/dist/chunks/{command-rz5nyh7y.js → config-njc68f1a.js} +10 -10
- package/dist/chunks/{command-d8mkz6xq.js → config-nntdm4dm.js} +5 -5
- package/dist/chunks/{command-ef8sx7p3.js → config-p4tet26t.js} +27 -27
- package/dist/chunks/{command-ybbfsve3.js → config-p6ff5tbf.js} +26 -26
- package/dist/chunks/{command-t3xcjejh.js → config-p75fycp1.js} +21 -21
- package/dist/chunks/{command-j935v87r.js → config-paphc93g.js} +2 -2
- package/dist/chunks/{command-3exrkx07.js → config-pdk1dwn1.js} +46 -46
- package/dist/chunks/{command-kxnt8qcg.js → config-pdw22why.js} +5 -5
- package/dist/chunks/{command-t3jgv66k.js → config-pe168bzg.js} +11 -11
- package/dist/chunks/{command-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{command-btt262ey.js → config-pwt28h08.js} +13 -13
- package/dist/chunks/{command-ajcccrn0.js → config-qcgjm0wy.js} +3 -3
- package/dist/chunks/{command-1445ht27.js → config-qdc7md5c.js} +24 -24
- package/dist/chunks/{command-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{command-y0759frv.js → config-r0d31c8w.js} +81 -81
- package/dist/chunks/{command-hpkxe5vf.js → config-r4xgsgaj.js} +11 -11
- package/dist/chunks/{command-ztnyd3e4.js → config-r5w2ssxe.js} +9 -9
- package/dist/chunks/{command-r8dhm0tv.js → config-r8dhm0tv.js} +1 -1
- package/dist/chunks/{command-m4535t75.js → config-rae26gbb.js} +8 -8
- package/dist/chunks/config-rap9a73h.js +18 -0
- package/dist/chunks/{command-csf1agy9.js → config-rd1ep0s8.js} +9 -9
- package/dist/chunks/{command-fx63sjjh.js → config-rjdxf66f.js} +9 -9
- package/dist/chunks/{command-3v7evdfw.js → config-rm88cc49.js} +34 -34
- package/dist/chunks/{command-69wcn9zj.js → config-rz7hn0qq.js} +4 -4
- package/dist/chunks/{command-myw4ak0a.js → config-s0xz30kk.js} +17 -17
- package/dist/chunks/{command-e6v427vd.js → config-s3ef855p.js} +2 -2
- package/dist/chunks/{command-sba4qhjf.js → config-sba4qhjf.js} +1 -1
- package/dist/chunks/{command-rbbz1t60.js → config-sec21qxj.js} +25 -25
- package/dist/chunks/{command-v01naqnx.js → config-segpa9t1.js} +32 -32
- package/dist/chunks/{command-83564ejt.js → config-skh1dhby.js} +15 -15
- package/dist/chunks/{command-avr1tyrh.js → config-srbc34s8.js} +22 -22
- package/dist/chunks/{command-js78q0ey.js → config-ssx4hce4.js} +15 -15
- package/dist/chunks/{command-aj9kw0tw.js → config-t00n1yfv.js} +8 -8
- package/dist/chunks/{command-zhwkzg3q.js → config-t0mrj28q.js} +14 -14
- package/dist/chunks/{command-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-p35n44y6.js → config-tb8pps08.js} +23 -23
- package/dist/chunks/{command-tcezcvh9.js → config-tcezcvh9.js} +1 -1
- package/dist/chunks/{command-mx0e3zaa.js → config-tdae0fjt.js} +35 -35
- package/dist/chunks/{command-ww4cprnv.js → config-thh4j27q.js} +32 -32
- package/dist/chunks/{command-tjykrgmx.js → config-tjykrgmx.js} +1 -1
- package/dist/chunks/{command-wwskzng8.js → config-tppvcy65.js} +9 -9
- package/dist/chunks/{command-akpttafq.js → config-tvhb6ja7.js} +8 -8
- package/dist/chunks/{command-1p55cq3k.js → config-ty7ewxnj.js} +11 -11
- package/dist/chunks/{command-4pgype50.js → config-tz7hz8t4.js} +35 -35
- package/dist/chunks/{command-bcam29vw.js → config-v7vyss8a.js} +9 -9
- package/dist/chunks/{command-eqx628er.js → config-v9jt0hrb.js} +22 -22
- package/dist/chunks/{command-an7cqtb7.js → config-ve4pfa0n.js} +4 -4
- package/dist/chunks/{command-v5rb3gry.js → config-vpkbx0dt.js} +4 -4
- package/dist/chunks/{command-tnzyjfsr.js → config-vr61rn6q.js} +25 -25
- package/dist/chunks/{command-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-cx64my21.js → config-w4b4w6yp.js} +25 -25
- package/dist/chunks/{command-hgeb4s25.js → config-wb545wbz.js} +1 -1
- package/dist/chunks/{command-fb8301na.js → config-wcge92de.js} +15 -15
- package/dist/chunks/{command-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{command-vnwde1cm.js → config-wdqf1a1r.js} +6 -6
- package/dist/chunks/{command-ed627kzc.js → config-wfqth6gn.js} +24 -24
- package/dist/chunks/{command-penn4k5a.js → config-wjjyb9kf.js} +15 -15
- package/dist/chunks/{command-yecrbd4q.js → config-wmjbr0cd.js} +12 -12
- package/dist/chunks/{command-5r6zs9dp.js → config-wpj5mmzs.js} +29 -29
- package/dist/chunks/{command-sb910js5.js → config-wtm3m4mv.js} +18 -18
- package/dist/chunks/{command-9drvvwc8.js → config-wv9wspwp.js} +39 -39
- package/dist/chunks/{command-90apwbxv.js → config-ww0d9pr3.js} +1 -1
- package/dist/chunks/{command-2j46d33k.js → config-x0bt72s0.js} +24 -24
- package/dist/chunks/{command-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{command-0fy0jsyf.js → config-x37beqws.js} +15 -15
- package/dist/chunks/{command-dnv0g493.js → config-x3n7g9ke.js} +16 -16
- package/dist/chunks/{command-xj845f8f.js → config-x6g7mdd1.js} +59 -59
- package/dist/chunks/{command-yaxh95xb.js → config-x780yf15.js} +9 -9
- package/dist/chunks/{command-3nt7fz2d.js → config-xdhd08xr.js} +41 -41
- package/dist/chunks/{command-8eqyawfy.js → config-xhry6vyk.js} +20 -20
- package/dist/chunks/{command-xbyx40wa.js → config-xj0fb0cg.js} +14 -14
- package/dist/chunks/{command-shfaz11f.js → config-xnjnn6ck.js} +4 -4
- package/dist/chunks/{command-f1q5pqmw.js → config-xx3n06zn.js} +3 -3
- package/dist/chunks/{command-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-y2cqme3r.js → config-y2cqme3r.js} +2 -2
- package/dist/chunks/{command-crmey8mf.js → config-y5b08bcr.js} +3 -3
- package/dist/chunks/{command-y71avatq.js → config-y71avatq.js} +1 -1
- package/dist/chunks/{command-57xv9dk6.js → config-ye5gakfv.js} +20 -20
- package/dist/chunks/{command-yb3vshep.js → config-yenvjmh1.js} +10 -10
- package/dist/chunks/{command-yfbd16n1.js → config-yfbd16n1.js} +2 -2
- package/dist/chunks/{command-vj6w85cw.js → config-yj1cv159.js} +9 -9
- package/dist/chunks/{command-24hkfxm1.js → config-ym594s0z.js} +8 -8
- package/dist/chunks/{command-f02efhx2.js → config-yvrpaamn.js} +28 -28
- package/dist/chunks/config-ywabkmpb.js +20 -0
- package/dist/chunks/{command-yzd93mfj.js → config-yzd93mfj.js} +2 -2
- package/dist/chunks/{command-z1k01bn4.js → config-z1k01bn4.js} +2 -2
- package/dist/chunks/{command-z3xgatyd.js → config-z3xgatyd.js} +1 -1
- package/dist/chunks/{command-29x78va6.js → config-z63w68vq.js} +6 -6
- package/dist/chunks/{command-09e7d9vb.js → config-zh34rd03.js} +30 -30
- package/dist/chunks/{command-qrsmsg1a.js → config-zhhnkchw.js} +11 -11
- package/dist/chunks/{command-h287670b.js → config-zker5bfq.js} +19 -19
- package/dist/chunks/{command-pjvn5h54.js → config-zre25x07.js} +12 -12
- package/dist/chunks/{command-zxq2ej10.js → config-zxq2ej10.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 +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +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 +114 -114
- package/dist/config/plugin/mcp.js +125 -125
- 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 +113 -113
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- 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 +112 -112
- 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 +114 -114
- 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 +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 +358 -358
- 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-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 +214 -214
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- 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 +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 +7 -7
- 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 +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +75 -75
- 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 +98 -98
- package/dist/mcp/instructions.js +120 -120
- 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 +7 -7
- 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 +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +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 +5 -5
- 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 +74 -74
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/update.js +2 -2
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- 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 +85 -85
- package/dist/provider.js +7 -7
- 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 +78 -78
- package/dist/repository-cache.js +72 -72
- 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 +125 -125
- package/dist/session/context.js +145 -145
- 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 +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +14 -14
- 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 +2 -2
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +221 -221
- 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 +117 -117
- 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 +143 -143
- 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 +209 -209
- 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 +11 -11
- package/dist/shell.js +132 -132
- 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 +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +204 -204
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +104 -104
- package/dist/tool/plugin/write.js +116 -116
- 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 +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 +3 -3
- 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 +3 -3
- 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 +5 -5
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +336 -336
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/command-kk8qrnxm.js +0 -20
- package/dist/chunks/command-nhtcvqe4.js +0 -247
- package/dist/chunks/command-qyyps5ek.js +0 -22
- package/dist/chunks/command-w3vb4krt.js +0 -4
- package/dist/chunks/command-ydckrtmx.js +0 -18
- /package/dist/chunks/{command-0fabt78z.js → config-0fabt78z.js} +0 -0
- /package/dist/chunks/{command-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3t738kvx.js → config-3t738kvx.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-41nvscxy.js → config-41nvscxy.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-982e01ww.js → config-982e01ww.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a1tpkmh4.js → config-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mntxs535.js → config-mntxs535.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-p8qxwesx.js → config-p8qxwesx.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-se0s1eqw.js → config-se0s1eqw.js} +0 -0
- /package/dist/chunks/{command-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-twg0f83k.js → config-twg0f83k.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x1b8g1yb.js → config-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → config-z9919s4g.js} +0 -0
- /package/dist/chunks/{command-zbjnn3ac.js → config-zbjnn3ac.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-2wqzt3cn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service70,
|
|
11
|
+
node75
|
|
12
|
+
} from "./config-4q2e07t1.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service76,
|
|
15
|
+
node81
|
|
16
|
+
} from "./config-s0xz30kk.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service52,
|
|
19
|
+
node55
|
|
20
|
+
} from "./config-x0bt72s0.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID11,
|
|
23
|
+
Service69,
|
|
24
|
+
node74
|
|
25
|
+
} from "./config-w4b4w6yp.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./config-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID10,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service68,
|
|
34
|
+
node73
|
|
35
|
+
} from "./config-f0xx6xrn.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./config-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
45
|
Options: () => Options5,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service37,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool2,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
65
|
configured: () => configured5,
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
66
|
+
layer: () => layer17,
|
|
67
|
+
node: () => node40
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode-ai/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode-ai/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID10.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,7 +165,7 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service37 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
170
|
var Options5 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -173,13 +173,13 @@ var Options5 = Schema.Struct({
|
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
176
|
+
var layer17 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service76;
|
|
178
|
+
const environment = yield* Service52;
|
|
179
179
|
const bus = yield* Service79;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service69;
|
|
181
|
+
const integration = yield* Service68;
|
|
182
|
+
const credentials = yield* Service70;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID10.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -216,7 +216,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError3({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -285,7 +285,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
285
285
|
const elicitation = {
|
|
286
286
|
create: (input) => Effect.gen(function* () {
|
|
287
287
|
if (input.params.mode === "url") {
|
|
288
|
-
const formID =
|
|
288
|
+
const formID = ID11.create();
|
|
289
289
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
290
290
|
urlElicitations.set(key, formID);
|
|
291
291
|
return yield* forms.ask({
|
|
@@ -403,7 +403,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
403
403
|
entry.scope = scope;
|
|
404
404
|
const authProvider = yield* connectProvider(entry);
|
|
405
405
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
406
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
406
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service52, environment), Scope.provide(scope), Effect.exit);
|
|
407
407
|
if (Exit.isSuccess(result)) {
|
|
408
408
|
entry.client = result.value.connection;
|
|
409
409
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -527,7 +527,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
527
527
|
yield* startServer(name, entry);
|
|
528
528
|
}).pipe(locks.withLock(name));
|
|
529
529
|
});
|
|
530
|
-
fork(bus.subscribe(
|
|
530
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
531
531
|
const state = create3({
|
|
532
532
|
name: "mcp",
|
|
533
533
|
initial: () => ({
|
|
@@ -557,7 +557,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
557
557
|
concurrency: "unbounded",
|
|
558
558
|
discard: true
|
|
559
559
|
}));
|
|
560
|
-
return
|
|
560
|
+
return Service37.of({
|
|
561
561
|
transform: state.transform,
|
|
562
562
|
reload: state.reload,
|
|
563
563
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -679,12 +679,12 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
679
679
|
}));
|
|
680
680
|
function configured5(options) {
|
|
681
681
|
return makeLocationNode({
|
|
682
|
-
service:
|
|
683
|
-
layer:
|
|
684
|
-
deps: [
|
|
682
|
+
service: Service37,
|
|
683
|
+
layer: layer17(options),
|
|
684
|
+
deps: [node81, node55, node84, node74, node73, node75]
|
|
685
685
|
});
|
|
686
686
|
}
|
|
687
|
-
var
|
|
687
|
+
var node40 = configured5();
|
|
688
688
|
function toElicitationField(key, property, required) {
|
|
689
689
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
690
690
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -735,4 +735,4 @@ function toElicitationField(key, property, required) {
|
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
737
|
|
|
738
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool2, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
738
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool2, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service37, Options5, layer17, configured5, node40, exports_mcp4 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-6z5bwd8g.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin3,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin3 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin34 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint3);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint3, Plugin3, exports_exa };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/git.ts
|
|
13
13
|
var exports_git3 = {};
|
|
@@ -15,11 +15,11 @@ __export(exports_git3, {
|
|
|
15
15
|
Git: () => exports_git3,
|
|
16
16
|
OperationError: () => OperationError3,
|
|
17
17
|
Repository: () => Repository2,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service78,
|
|
19
19
|
TreeID: () => TreeID2,
|
|
20
20
|
Worktree: () => Worktree2,
|
|
21
21
|
WorktreeError: () => WorktreeError2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node83
|
|
23
23
|
});
|
|
24
24
|
import path from "path";
|
|
25
25
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
class
|
|
88
|
+
class Service78 extends Context.Service()("@opencode/Git") {
|
|
89
89
|
}
|
|
90
|
-
var layer = Layer.effect(
|
|
90
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
91
91
|
const fs = yield* FSUtil.Service;
|
|
92
92
|
const proc = yield* AppProcess.Service;
|
|
93
93
|
const locks = makeUnsafe2();
|
|
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
409
409
|
kind: index === 0 ? "main" : "linked"
|
|
410
410
|
}));
|
|
411
411
|
});
|
|
412
|
-
return
|
|
412
|
+
return Service78.of({
|
|
413
413
|
repo: { discover, clone, create },
|
|
414
414
|
remote: { get: remote },
|
|
415
415
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
427
|
}));
|
|
428
|
-
var
|
|
428
|
+
var node83 = makeGlobalNode({ service: Service78, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
429
429
|
function run(cwd, proc, args) {
|
|
430
430
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
431
431
|
}
|
|
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
|
|
|
450
450
|
return path.resolve(cwd, normalized);
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
453
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service78, node83, exports_git3 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./config-wv9wspwp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service37
|
|
6
|
+
} from "./config-ea6674rn.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp2 = {};
|
|
13
|
+
__export(exports_mcp2, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
+
Plugin: () => Plugin23,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin23 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service63;
|
|
28
|
+
const mcp = yield* Service37;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin23, register2, exports_mcp2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-2wqzt3cn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key3,
|
|
7
|
+
Service70,
|
|
8
|
+
node75
|
|
9
|
+
} from "./config-4q2e07t1.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-w4b4w6yp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event15,
|
|
34
|
+
ID: () => ID10,
|
|
35
|
+
Info: () => Info24,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
41
|
Ref: () => Ref3,
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
42
|
+
Service: () => Service68,
|
|
43
|
+
node: () => node73
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event15 } from "@opencode-ai/schema/integration";
|
|
65
|
+
var ID10 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info24 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -87,13 +87,13 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
87
87
|
}
|
|
88
88
|
var Ref3 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service68 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
95
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service70;
|
|
97
97
|
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info24.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
271
271
|
const persistence = yield* createCredential({
|
|
272
272
|
integrationID: attempt.integrationID,
|
|
273
273
|
label: attempt.label,
|
|
274
|
-
value:
|
|
274
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
275
275
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
276
276
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
277
277
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service68.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
438
438
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
439
439
|
if (connection.type === "env") {
|
|
440
440
|
const key = process.env[connection.name];
|
|
441
|
-
return key ?
|
|
441
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
442
442
|
}
|
|
443
443
|
const credential = yield* credentials.get(connection.id);
|
|
444
444
|
if (!credential)
|
|
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
471
471
|
yield* createCredential({
|
|
472
472
|
integrationID: input.integrationID,
|
|
473
473
|
label: input.label,
|
|
474
|
-
value:
|
|
474
|
+
value: Key3.make({
|
|
475
475
|
type: "key",
|
|
476
476
|
key: input.key,
|
|
477
477
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node73 = makeLocationNode({
|
|
569
|
+
service: Service68,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node75, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info24, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref3, Service68, node73, exports_integration, Event15 };
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-2wqzt3cn.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service66,
|
|
8
|
+
node71
|
|
9
|
+
} from "./config-az3ewtba.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-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: () => Event14,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service65,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node70,
|
|
26
26
|
resolve: () => resolve3
|
|
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 Service65 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event14 = {
|
|
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(Service65, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service66;
|
|
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(Service70, 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(Event14.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service65.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(Service70, 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(Event14.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(Service70, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event14.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 node70 = makeGlobalNode({ service: Service65, layer, deps: [httpClient, node71, node84] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service65, Event14, inspect2, resolve3, node70, exports_wellknown };
|