@opencode/core 0.0.0-dev-19588 → 0.0.0-dev-19590
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 +78 -78
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{repository-5892jdtn.js → location-mutation-00832hy7.js} +8 -8
- package/dist/chunks/location-mutation-04psxgym.js +26 -0
- package/dist/chunks/{repository-b1kv8p8w.js → location-mutation-07g2yzt3.js} +6 -6
- package/dist/chunks/{repository-qkrnz1pz.js → location-mutation-07sk74nc.js} +5 -5
- package/dist/chunks/{repository-wz0ehf68.js → location-mutation-08kp7xha.js} +38 -38
- package/dist/chunks/{repository-1jv4xg0p.js → location-mutation-0atdbh96.js} +36 -36
- package/dist/chunks/{repository-bfntb90j.js → location-mutation-0bgdfsd1.js} +9 -9
- package/dist/chunks/{repository-w4axh9wz.js → location-mutation-0fn2v7vk.js} +6 -6
- package/dist/chunks/{repository-0paq2nw3.js → location-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-0q0f95c6.js → location-mutation-0q0f95c6.js} +1 -1
- package/dist/chunks/{repository-pmr4s4kc.js → location-mutation-0v53mg2y.js} +4 -4
- package/dist/chunks/{repository-qqyxjxre.js → location-mutation-0vftmh67.js} +22 -22
- package/dist/chunks/{repository-nphm860s.js → location-mutation-0x0yxbr3.js} +20 -20
- package/dist/chunks/{repository-w26xsmnw.js → location-mutation-0z6dcdkt.js} +25 -25
- package/dist/chunks/{repository-k2dherqe.js → location-mutation-0zaj8p07.js} +1 -1
- package/dist/chunks/{repository-5qkxfyep.js → location-mutation-19yq3b24.js} +6 -6
- package/dist/chunks/{repository-1dazxqgg.js → location-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-jxvsdwym.js → location-mutation-1gg3p1ss.js} +13 -13
- package/dist/chunks/{repository-cpn39njb.js → location-mutation-1hkx1n6e.js} +16 -16
- package/dist/chunks/{repository-1r601apj.js → location-mutation-1nc0857s.js} +21 -21
- package/dist/chunks/location-mutation-1x11rq2a.js +18 -0
- package/dist/chunks/{repository-1vnsgk5t.js → location-mutation-1y37nkr1.js} +35 -35
- package/dist/chunks/{repository-5n6hsxyx.js → location-mutation-20pmbb2p.js} +25 -25
- package/dist/chunks/{repository-21r38tys.js → location-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{repository-2402vzrj.js → location-mutation-2402vzrj.js} +1 -1
- package/dist/chunks/{repository-j4z2qnee.js → location-mutation-24cmjgf1.js} +11 -11
- package/dist/chunks/{repository-a8ve50ng.js → location-mutation-26s8145v.js} +6 -6
- package/dist/chunks/{repository-2a5m3afh.js → location-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-r33ff4dw.js → location-mutation-2d57kztd.js} +5 -5
- package/dist/chunks/{repository-yn35vfdn.js → location-mutation-2gb7hv4z.js} +17 -17
- package/dist/chunks/{repository-p807tth1.js → location-mutation-2jkmjxk8.js} +16 -16
- package/dist/chunks/{repository-b3pcj4k8.js → location-mutation-2pwgvmd7.js} +32 -32
- package/dist/chunks/{repository-dn0vp9ws.js → location-mutation-31dty8gt.js} +6 -6
- package/dist/chunks/{repository-pye8sh6e.js → location-mutation-34y9ksvj.js} +8 -8
- package/dist/chunks/{repository-7a1nds04.js → location-mutation-37aqwf9n.js} +8 -8
- package/dist/chunks/{repository-cyhxv4yp.js → location-mutation-3ed3sqde.js} +10 -10
- package/dist/chunks/{repository-3fc6dm20.js → location-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-3hepkmqq.js → location-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-pjrv1sn1.js → location-mutation-3j1fhh7s.js} +1 -1
- package/dist/chunks/{repository-d4shdzcf.js → location-mutation-3jt25bc7.js} +22 -22
- package/dist/chunks/{repository-5dwnc6b3.js → location-mutation-3k4j4gra.js} +24 -24
- package/dist/chunks/{repository-d50dhb3t.js → location-mutation-3s3nypn6.js} +9 -9
- package/dist/chunks/{repository-3smtnn6g.js → location-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → location-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-gma6pakk.js → location-mutation-3xcvdjcv.js} +12 -12
- package/dist/chunks/{repository-c9wtqnwj.js → location-mutation-496m5bjm.js} +11 -11
- package/dist/chunks/{repository-vpwejdc6.js → location-mutation-5476qrae.js} +15 -15
- package/dist/chunks/{repository-56gdpj1q.js → location-mutation-56gdpj1q.js} +2 -2
- package/dist/chunks/{repository-msq0jde0.js → location-mutation-5c0f1prt.js} +4 -4
- package/dist/chunks/{repository-a1bz86dw.js → location-mutation-5c4hm403.js} +3 -3
- package/dist/chunks/{repository-5daktx2q.js → location-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-r628x9jn.js → location-mutation-5fshkvc1.js} +32 -32
- package/dist/chunks/{repository-4emwyx28.js → location-mutation-5myqbeq2.js} +90 -90
- package/dist/chunks/{repository-zfdedwf3.js → location-mutation-5ntctw92.js} +36 -36
- package/dist/chunks/{repository-fgqgf88m.js → location-mutation-5rk47206.js} +15 -15
- package/dist/chunks/{repository-5t3nmthw.js → location-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-2k8khapm.js → location-mutation-607tc6va.js} +5 -5
- package/dist/chunks/{repository-1bvekr7f.js → location-mutation-63xctefh.js} +6 -6
- package/dist/chunks/{repository-669tq793.js → location-mutation-669tq793.js} +1 -1
- package/dist/chunks/{repository-6gfqk85e.js → location-mutation-6jr7e6bp.js} +25 -25
- package/dist/chunks/location-mutation-6kdq0pjd.js +4 -0
- package/dist/chunks/{repository-pxbzt21m.js → location-mutation-6ke73fs2.js} +6 -6
- package/dist/chunks/{repository-6msgmcgs.js → location-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-vjjm1fp8.js → location-mutation-6vvrnehs.js} +11 -11
- package/dist/chunks/{repository-71q4at8m.js → location-mutation-71q4at8m.js} +1 -1
- package/dist/chunks/{repository-7bmhse3q.js → location-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-2d802nvw.js → location-mutation-7e1bvrsk.js} +1 -1
- package/dist/chunks/{repository-wx95frst.js → location-mutation-7e5rzgxf.js} +13 -13
- package/dist/chunks/{repository-pgw46sns.js → location-mutation-7gva2pts.js} +25 -25
- package/dist/chunks/{repository-s2t8c8fj.js → location-mutation-7m8c3q74.js} +4 -4
- package/dist/chunks/{repository-drknmmyh.js → location-mutation-7mhjftdb.js} +9 -9
- package/dist/chunks/{repository-swh40x6v.js → location-mutation-7nzveyhj.js} +12 -12
- package/dist/chunks/{repository-6a88x1v8.js → location-mutation-7ya38ysx.js} +13 -13
- package/dist/chunks/{repository-j5xt7epv.js → location-mutation-80b6wfjj.js} +18 -18
- package/dist/chunks/{repository-y5znnrem.js → location-mutation-815wrfbm.js} +27 -27
- package/dist/chunks/{repository-96987kcb.js → location-mutation-88qpb1n8.js} +94 -94
- package/dist/chunks/{repository-tcezcvh9.js → location-mutation-89znhe33.js} +4 -4
- package/dist/chunks/{repository-8d7r5vzw.js → location-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-rjt1dhz0.js → location-mutation-8e3ny38k.js} +11 -11
- package/dist/chunks/{repository-dqgjsbg6.js → location-mutation-8f273139.js} +22 -22
- package/dist/chunks/{repository-y6f0p4jw.js → location-mutation-8jmaqybk.js} +3 -3
- package/dist/chunks/{repository-74jx9dmy.js → location-mutation-8pzg6v7t.js} +38 -38
- package/dist/chunks/{repository-hgg8kawy.js → location-mutation-8qty0qvy.js} +8 -8
- package/dist/chunks/{repository-9j2s9z86.js → location-mutation-8r4nttq3.js} +8 -8
- package/dist/chunks/{repository-5a78h29x.js → location-mutation-991adpxw.js} +10 -10
- package/dist/chunks/{repository-2ce9th4e.js → location-mutation-9crvh15q.js} +171 -171
- package/dist/chunks/{repository-e5xpd6yj.js → location-mutation-9cwx2qq2.js} +3 -3
- package/dist/chunks/{repository-qp8nwhvn.js → location-mutation-9dpgmzkp.js} +46 -46
- package/dist/chunks/{repository-y86j32r6.js → location-mutation-9dr1d21p.js} +27 -27
- package/dist/chunks/{repository-aemscjqt.js → location-mutation-9g677v9k.js} +20 -20
- package/dist/chunks/{repository-ngs1gmwy.js → location-mutation-9hzkewnw.js} +6 -6
- package/dist/chunks/{repository-m12fw1ht.js → location-mutation-9t7rey2x.js} +34 -34
- package/dist/chunks/{repository-ky16kd9n.js → location-mutation-9vh0xv9k.js} +12 -12
- package/dist/chunks/{repository-bmtr48j2.js → location-mutation-9wpp4qkq.js} +9 -9
- package/dist/chunks/{repository-te29s6sc.js → location-mutation-9xs8eafc.js} +12 -12
- package/dist/chunks/{repository-86agcrtg.js → location-mutation-9y4dtwwe.js} +32 -32
- package/dist/chunks/{repository-shg3amz7.js → location-mutation-9yy46e9h.js} +22 -22
- package/dist/chunks/{repository-g190xswt.js → location-mutation-a8bn8zg0.js} +4 -4
- package/dist/chunks/{repository-16cax9zb.js → location-mutation-a8zr1srk.js} +8 -8
- package/dist/chunks/{repository-aaet6srn.js → location-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-pa8pe2x7.js → location-mutation-asmz7wyz.js} +8 -8
- package/dist/chunks/{repository-p5q26rjs.js → location-mutation-awwf17r5.js} +17 -17
- package/dist/chunks/{repository-pwf15mvc.js → location-mutation-b0gyf9vc.js} +4 -4
- package/dist/chunks/{repository-yyzm5aws.js → location-mutation-b3m8y7fw.js} +10 -10
- package/dist/chunks/{repository-mtkf2msq.js → location-mutation-b5tszv4t.js} +50 -50
- package/dist/chunks/{repository-473n3n7b.js → location-mutation-b680kg0w.js} +4 -4
- package/dist/chunks/{repository-b6gygkdw.js → location-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-0996nyz8.js → location-mutation-b8b3f19r.js} +9 -9
- package/dist/chunks/{repository-bbarxbyb.js → location-mutation-bag71raj.js} +1 -1
- package/dist/chunks/{repository-x1f4bnb6.js → location-mutation-bcchdtc8.js} +2 -2
- package/dist/chunks/{repository-qjnxxf51.js → location-mutation-bgxcxs0p.js} +5 -5
- package/dist/chunks/{repository-v7eqyjmy.js → location-mutation-bjjaf6h3.js} +5 -5
- package/dist/chunks/{repository-fscyzxmk.js → location-mutation-bp3nbpyy.js} +9 -9
- package/dist/chunks/{repository-jwttr378.js → location-mutation-c2hdypq2.js} +43 -43
- package/dist/chunks/{repository-5dt15a5r.js → location-mutation-c2wv1h81.js} +20 -20
- package/dist/chunks/{repository-1kwjmtsc.js → location-mutation-c5kz6cb9.js} +36 -36
- package/dist/chunks/{repository-sznyev98.js → location-mutation-ce5fknq2.js} +5 -5
- package/dist/chunks/{repository-7qpszgx3.js → location-mutation-d0vprv21.js} +20 -20
- package/dist/chunks/{repository-52f3envg.js → location-mutation-d6yjvz69.js} +20 -20
- package/dist/chunks/{repository-tx9qvpbt.js → location-mutation-da6kr1wx.js} +6 -6
- package/dist/chunks/{repository-hx4p0gz5.js → location-mutation-dakxr3zj.js} +24 -24
- package/dist/chunks/{repository-8028yanh.js → location-mutation-ddfvfgr5.js} +19 -19
- package/dist/chunks/{repository-8p4f9s12.js → location-mutation-dj2t23y0.js} +2 -2
- package/dist/chunks/{repository-ht8esz14.js → location-mutation-dje3rcjr.js} +10 -10
- package/dist/chunks/{repository-hjr4mjkc.js → location-mutation-dnez8hye.js} +27 -27
- package/dist/chunks/{repository-y71avatq.js → location-mutation-dpkg50ah.js} +4 -4
- package/dist/chunks/{repository-e5nv3ght.js → location-mutation-e5nv3ght.js} +2 -2
- package/dist/chunks/{repository-y5ff4yjy.js → location-mutation-e5vf2yjr.js} +11 -11
- package/dist/chunks/{repository-8fsnk1kc.js → location-mutation-e7e8y1ky.js} +10 -10
- package/dist/chunks/{repository-rhjbct0v.js → location-mutation-eaj1djv9.js} +8 -8
- package/dist/chunks/{repository-h6jr292a.js → location-mutation-ec8389mk.js} +4 -4
- package/dist/chunks/{repository-ef5x83kb.js → location-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-etq0c3wd.js → location-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-t0fxg8b9.js → location-mutation-evbgk2k8.js} +5 -5
- package/dist/chunks/{repository-3s8rj46j.js → location-mutation-evpy5n40.js} +32 -32
- package/dist/chunks/{repository-3163b9jg.js → location-mutation-ex8kq2v7.js} +22 -22
- package/dist/chunks/{repository-pxhak851.js → location-mutation-f2vpx28r.js} +6 -6
- package/dist/chunks/{repository-4etetb1j.js → location-mutation-f54cegwv.js} +21 -21
- package/dist/chunks/{repository-fahke4hq.js → location-mutation-f6tv3dcg.js} +4 -4
- package/dist/chunks/{repository-6jdhkm56.js → location-mutation-fa296df8.js} +17 -17
- package/dist/chunks/{repository-vtxfwj71.js → location-mutation-fch0ybxp.js} +5 -5
- package/dist/chunks/{repository-8fcwscdw.js → location-mutation-ff2c04x9.js} +28 -28
- package/dist/chunks/{repository-vapde0g8.js → location-mutation-fkz7kqqw.js} +3 -3
- package/dist/chunks/{repository-fxbjtjnd.js → location-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{repository-gaf3dhda.js → location-mutation-g2a77rc6.js} +11 -11
- package/dist/chunks/{repository-gd4qta3r.js → location-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-1cfwn2bt.js → location-mutation-gjxh85d2.js} +7 -7
- package/dist/chunks/{repository-cq37gk0t.js → location-mutation-gnx4ytbv.js} +4 -4
- package/dist/chunks/{repository-hm7n6gxm.js → location-mutation-gpmhysdr.js} +18 -18
- package/dist/chunks/{repository-gv6a8nnw.js → location-mutation-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-g8mks886.js → location-mutation-gvkr32sm.js} +11 -11
- package/dist/chunks/{repository-j3ht12x2.js → location-mutation-gxby4g3a.js} +15 -15
- package/dist/chunks/{repository-p2t1ayvx.js → location-mutation-gy168q6x.js} +49 -49
- package/dist/chunks/{repository-h03wrkyp.js → location-mutation-h03wrkyp.js} +2 -2
- package/dist/chunks/{repository-mfeb23pb.js → location-mutation-h20t8dyw.js} +25 -25
- package/dist/chunks/{repository-h6vf3j39.js → location-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-62rpeqaf.js → location-mutation-h8rhc7ek.js} +10 -10
- package/dist/chunks/{repository-m74ad31j.js → location-mutation-h92revz2.js} +17 -17
- package/dist/chunks/{repository-9zpvy9zc.js → location-mutation-h98q3byq.js} +26 -26
- package/dist/chunks/{repository-f828m53h.js → location-mutation-hdnk95c8.js} +2 -2
- package/dist/chunks/{repository-hjt4xg1x.js → location-mutation-hjt4xg1x.js} +1 -1
- package/dist/chunks/{repository-8c7y8dn0.js → location-mutation-htdjehga.js} +5 -5
- package/dist/chunks/{repository-sm236kpq.js → location-mutation-hvk5xsqp.js} +17 -17
- package/dist/chunks/{repository-vh329328.js → location-mutation-hwv6vseg.js} +17 -17
- package/dist/chunks/{repository-sr7k2y9v.js → location-mutation-hxqfyb45.js} +30 -30
- package/dist/chunks/{repository-j56e64zr.js → location-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-wdhn35hf.js → location-mutation-j74twt0h.js} +9 -9
- package/dist/chunks/{repository-hqxaqnsz.js → location-mutation-j7t2khjb.js} +11 -11
- package/dist/chunks/{repository-t3p48s2k.js → location-mutation-ja1xcwp3.js} +15 -15
- package/dist/chunks/{repository-jydw0f72.js → location-mutation-jhedgnzy.js} +26 -26
- package/dist/chunks/{repository-b6hy6gkz.js → location-mutation-jn3f7qw2.js} +2 -2
- package/dist/chunks/{repository-f9apq077.js → location-mutation-jrez9bt2.js} +68 -68
- package/dist/chunks/{repository-dfey964p.js → location-mutation-k90zhb3s.js} +14 -14
- package/dist/chunks/{repository-mhfnevvs.js → location-mutation-kc2097vx.js} +20 -20
- package/dist/chunks/location-mutation-kdmgr5sj.js +247 -0
- package/dist/chunks/{repository-0kc779ng.js → location-mutation-ke3vvp4f.js} +10 -10
- package/dist/chunks/{repository-kg06axw8.js → location-mutation-kg06axw8.js} +1 -1
- package/dist/chunks/{repository-ms3qkpaz.js → location-mutation-khq5kjz4.js} +11 -11
- package/dist/chunks/{repository-745ca1rp.js → location-mutation-kqa0r5sn.js} +6 -6
- package/dist/chunks/{repository-2a25p4mv.js → location-mutation-kqfctymf.js} +32 -32
- package/dist/chunks/{repository-jmr68t6h.js → location-mutation-kqwfgj52.js} +5 -5
- package/dist/chunks/{repository-9whdk0qy.js → location-mutation-kzqzbsxm.js} +13 -13
- package/dist/chunks/{repository-cfpkc3c9.js → location-mutation-m0jqrx5p.js} +2 -2
- package/dist/chunks/{repository-8gxqpgph.js → location-mutation-m70sbz6t.js} +4 -4
- package/dist/chunks/{repository-m2d0j7c0.js → location-mutation-m86bnw2c.js} +9 -9
- package/dist/chunks/{repository-m9w0rfyh.js → location-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-xqax0h2z.js → location-mutation-mghg7cty.js} +23 -23
- package/dist/chunks/{repository-rg7n2a7e.js → location-mutation-mhzs7n75.js} +47 -47
- package/dist/chunks/{repository-0dh2v9fk.js → location-mutation-msdrtnms.js} +32 -32
- package/dist/chunks/{repository-zc2xj3qj.js → location-mutation-mtx8mv5z.js} +1 -1
- package/dist/chunks/{repository-q7cmwac7.js → location-mutation-n0wka7ja.js} +9 -9
- package/dist/chunks/{repository-dht5s97y.js → location-mutation-n50y82zv.js} +9 -9
- package/dist/chunks/{repository-1j9stpns.js → location-mutation-n7mc5hy8.js} +29 -29
- package/dist/chunks/{repository-7gnac2s0.js → location-mutation-nb2qn4aw.js} +60 -60
- package/dist/chunks/{repository-630f9zf9.js → location-mutation-nne8fdvx.js} +8 -8
- package/dist/chunks/{repository-s8zy8myc.js → location-mutation-p44d8wdy.js} +5 -5
- package/dist/chunks/{repository-gd0jy5mm.js → location-mutation-p5xdx7w2.js} +9 -9
- package/dist/chunks/{repository-bw0vgseb.js → location-mutation-p84dsdfh.js} +8 -8
- package/dist/chunks/{repository-206yk4e9.js → location-mutation-pa2zc025.js} +4 -4
- package/dist/chunks/{repository-4j90697n.js → location-mutation-pdfv92ph.js} +37 -37
- package/dist/chunks/{repository-dg6ptqm6.js → location-mutation-phbna07t.js} +20 -20
- package/dist/chunks/{repository-hqjg1cx1.js → location-mutation-pjmw00w1.js} +9 -9
- package/dist/chunks/{repository-pjvnvgmy.js → location-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → location-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{repository-n64yq744.js → location-mutation-pw70zahd.js} +30 -30
- package/dist/chunks/{repository-94d58mvd.js → location-mutation-qaqj213q.js} +32 -32
- package/dist/chunks/{repository-car4fhb7.js → location-mutation-qjktcxyk.js} +19 -19
- package/dist/chunks/{repository-7s5hb2nx.js → location-mutation-qmz8kt15.js} +22 -22
- package/dist/chunks/{repository-5ct4k76c.js → location-mutation-qnb52jpt.js} +22 -22
- package/dist/chunks/{repository-0h00gbcb.js → location-mutation-qq9e9akn.js} +20 -20
- package/dist/chunks/{repository-3pjcaesv.js → location-mutation-qqhb2q1v.js} +11 -11
- package/dist/chunks/{repository-gs36njwm.js → location-mutation-qqvme7mb.js} +45 -45
- package/dist/chunks/{repository-qsdy395h.js → location-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-mwdf18ba.js → location-mutation-qydwa3j3.js} +32 -32
- package/dist/chunks/{repository-swc0nz61.js → location-mutation-r068f4ga.js} +15 -15
- package/dist/chunks/{repository-ewq2135v.js → location-mutation-r18tg6pv.js} +22 -22
- package/dist/chunks/{repository-bgxa3gb8.js → location-mutation-r4ym21ta.js} +15 -15
- package/dist/chunks/{repository-1bbkgx8g.js → location-mutation-r5x6zcsm.js} +3 -3
- package/dist/chunks/{repository-fmgfnr5t.js → location-mutation-r5ym3zkw.js} +9 -9
- package/dist/chunks/{repository-g2c4pnq1.js → location-mutation-r7v7n0q1.js} +4 -4
- package/dist/chunks/{repository-r9mregkx.js → location-mutation-r9mregkx.js} +2 -2
- package/dist/chunks/{repository-t9cms4w2.js → location-mutation-rbw46qxe.js} +11 -11
- package/dist/chunks/{repository-haj0byqn.js → location-mutation-rxnnh61v.js} +4 -4
- package/dist/chunks/{repository-e8x92nmy.js → location-mutation-s56af38f.js} +7 -7
- package/dist/chunks/{repository-9q22g6vd.js → location-mutation-sav8qy04.js} +4 -4
- package/dist/chunks/{repository-fr89gf7f.js → location-mutation-sn9sey1d.js} +33 -33
- package/dist/chunks/{repository-2kesvzjb.js → location-mutation-snh2jweh.js} +13 -13
- package/dist/chunks/{repository-q9fqv6nm.js → location-mutation-sx4f6nnd.js} +55 -55
- package/dist/chunks/{repository-gay8ct22.js → location-mutation-syebw0mx.js} +23 -23
- package/dist/chunks/{repository-deanft1t.js → location-mutation-t43nxr9h.js} +34 -34
- package/dist/chunks/{repository-rqpczt31.js → location-mutation-t5qf6yxf.js} +18 -18
- package/dist/chunks/{repository-g8d3gcyj.js → location-mutation-t6vsspdg.js} +4 -4
- package/dist/chunks/{repository-tazgh4e4.js → location-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → location-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{repository-cg1ew3t4.js → location-mutation-temb443g.js} +3 -3
- package/dist/chunks/{repository-cxkh8aa2.js → location-mutation-tjmjmaym.js} +26 -26
- package/dist/chunks/{repository-6ht32ya1.js → location-mutation-tk9x6nx7.js} +18 -18
- package/dist/chunks/{repository-nb1yf551.js → location-mutation-trfzv36a.js} +28 -28
- package/dist/chunks/{repository-tvtrv512.js → location-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-1zfadm9n.js → location-mutation-twdr0p5e.js} +13 -13
- package/dist/chunks/{repository-t0x5rdq8.js → location-mutation-twy35tz0.js} +9 -9
- package/dist/chunks/{repository-kee0d0vv.js → location-mutation-vdx2x999.js} +22 -22
- package/dist/chunks/{repository-veqvce7d.js → location-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-6035qjw6.js → location-mutation-vphpv5r9.js} +5 -5
- package/dist/chunks/{repository-vzcthcp8.js → location-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-h27f8war.js → location-mutation-vzd3y0c8.js} +11 -11
- package/dist/chunks/{repository-w3wsvvr9.js → location-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-eztf1wzg.js → location-mutation-w4zeqeps.js} +1 -1
- package/dist/chunks/{repository-h13rq2ha.js → location-mutation-w7n8xfgp.js} +41 -41
- package/dist/chunks/{repository-x20sjj3e.js → location-mutation-wbeh8r34.js} +46 -46
- package/dist/chunks/{repository-wd87259q.js → location-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{repository-5mp00kj1.js → location-mutation-we0mahnh.js} +34 -34
- package/dist/chunks/{repository-7207rjaj.js → location-mutation-wh0mmyb5.js} +11 -11
- package/dist/chunks/{repository-d4exv1s8.js → location-mutation-wpv223g8.js} +31 -31
- package/dist/chunks/{repository-jbdvhc0s.js → location-mutation-wre8mv9j.js} +17 -17
- package/dist/chunks/{repository-0qevpf4w.js → location-mutation-wwcr5a4d.js} +11 -11
- package/dist/chunks/{repository-kq7s33qp.js → location-mutation-wx9jezy1.js} +8 -8
- package/dist/chunks/{repository-b09hzw3k.js → location-mutation-x0600czv.js} +2 -2
- package/dist/chunks/{repository-1e17p1v6.js → location-mutation-x0mhhfm8.js} +17 -17
- package/dist/chunks/{repository-nxamnhdf.js → location-mutation-x0tkz7jk.js} +12 -12
- package/dist/chunks/{repository-x1ezjp6w.js → location-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-83wzj7ta.js → location-mutation-x345bdrr.js} +5 -5
- package/dist/chunks/{repository-cfv81dax.js → location-mutation-x353b1jt.js} +8 -8
- package/dist/chunks/{repository-b6f6xskg.js → location-mutation-x7g9d3zv.js} +7 -7
- package/dist/chunks/{repository-592a4gpn.js → location-mutation-x9zceq2p.js} +13 -13
- package/dist/chunks/{repository-a8rkycwa.js → location-mutation-x9zgzv2n.js} +16 -16
- package/dist/chunks/{repository-6cbvf3zm.js → location-mutation-xcajxnnr.js} +43 -43
- package/dist/chunks/{repository-51hcmbxq.js → location-mutation-xwkzxbnt.js} +8 -8
- package/dist/chunks/{repository-y1fvbwt7.js → location-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-m2weea1a.js → location-mutation-y67kaqwv.js} +43 -43
- package/dist/chunks/{repository-t5wmzvpv.js → location-mutation-yn3yb8ha.js} +14 -14
- package/dist/chunks/{repository-r8xr0va3.js → location-mutation-yp2x3t23.js} +4 -4
- package/dist/chunks/{repository-yrhqyw5v.js → location-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-yrznvahk.js → location-mutation-yrznvahk.js} +2 -2
- package/dist/chunks/location-mutation-yv3k7813.js +466 -0
- package/dist/chunks/{repository-z0bkrqjs.js → location-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-z63w68vq.js → location-mutation-z63w68vq.js} +2 -2
- package/dist/chunks/{repository-zeh9ct20.js → location-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-zr2ceqn5.js → location-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-peejr10p.js → location-mutation-zs8px5ah.js} +1 -1
- package/dist/chunks/{repository-kmbbtncp.js → location-mutation-ztw74p43.js} +23 -23
- package/dist/chunks/{repository-6yp6qgnr.js → location-mutation-zxch8dwb.js} +29 -29
- package/dist/chunks/{repository-zxq2ej10.js → location-mutation-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 +80 -80
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +120 -120
- package/dist/config/plugin/image.js +119 -119
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +121 -121
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +119 -119
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +121 -121
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +122 -122
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +92 -92
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +135 -135
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +93 -95
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +134 -134
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +136 -136
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +125 -125
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/mcp/client.d.ts +1 -1
- package/dist/types/mcp/index.d.ts +1 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- 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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/repository-0c6pz7ms.js +0 -466
- package/dist/chunks/repository-9zxwq9ha.js +0 -26
- package/dist/chunks/repository-ejvrra8h.js +0 -247
- package/dist/chunks/repository-jqh9b0xq.js +0 -18
- package/dist/chunks/repository-qapv375x.js +0 -4
- /package/dist/chunks/{repository-0qkdqm5v.js → location-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → location-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → location-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → location-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → location-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → location-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → location-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → location-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → location-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → location-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → location-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → location-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → location-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → location-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → location-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → location-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → location-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → location-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → location-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → location-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → location-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → location-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → location-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → location-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → location-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → location-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → location-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → location-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → location-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → location-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → location-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → location-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → location-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → location-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → location-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → location-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → location-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → location-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → location-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → location-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → location-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → location-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → location-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → location-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → location-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → location-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → location-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → location-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → location-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → location-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → location-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → location-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → location-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → location-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → location-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → location-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → location-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → location-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → location-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-hrnqkpcd.js → location-mutation-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → location-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → location-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → location-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → location-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → location-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → location-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → location-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → location-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → location-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → location-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-paphc93g.js → location-mutation-paphc93g.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → location-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → location-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → location-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → location-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → location-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → location-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → location-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → location-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → location-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → location-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-twg0f83k.js → location-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → location-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → location-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → location-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → location-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → location-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → location-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → location-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → location-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → location-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → location-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → location-mutation-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service25,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer9,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node30
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
32
32
|
});
|
|
33
33
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service25 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
36
36
|
}
|
|
37
37
|
var transportError = (message, input) => new AIError({
|
|
38
38
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
|
|
|
56
56
|
return Effect.fail(observation.error);
|
|
57
57
|
};
|
|
58
58
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
59
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
59
|
+
var makeLayer2 = (connector) => Layer.effect(Service25, Effect.gen(function* () {
|
|
60
60
|
const scope = yield* Scope.Scope;
|
|
61
61
|
const states = new Map;
|
|
62
62
|
const state = (sessionID) => {
|
|
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* ()
|
|
|
356
356
|
}, { discard: true });
|
|
357
357
|
});
|
|
358
358
|
yield* Effect.addFinalizer(() => closeAll);
|
|
359
|
-
return
|
|
359
|
+
return Service25.of({ bind, close, closeAll });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
361
|
+
var layer9 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
362
362
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
363
363
|
})));
|
|
364
|
-
var
|
|
364
|
+
var node30 = makeGlobalNode({ service: Service25, layer: layer9, deps: [webSocketConstructor2] });
|
|
365
365
|
|
|
366
|
-
export {
|
|
366
|
+
export { Service25, makeLayer2, layer9, node30, exports_model_transport };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./location-mutation-9yy46e9h.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service78
|
|
13
|
+
} from "./location-mutation-pw70zahd.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service75
|
|
16
|
+
} from "./location-mutation-x0mhhfm8.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin6
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin6 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service78;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service75;
|
|
42
|
+
const watcher = yield* Service52;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin6, exports_instruction };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-mutation-1hkx1n6e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event18,
|
|
7
|
+
Service73,
|
|
8
|
+
node78
|
|
9
|
+
} from "./location-mutation-1y37nkr1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service52,
|
|
12
|
+
node56
|
|
13
|
+
} from "./location-mutation-9yy46e9h.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-mutation-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service75,
|
|
19
|
+
node80
|
|
20
|
+
} from "./location-mutation-x0mhhfm8.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-mutation-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-mutation-3jt25bc7.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-mutation-dje3rcjr.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-mutation-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service53,
|
|
36
|
+
Event10,
|
|
37
|
+
node57
|
|
38
|
+
} from "./location-mutation-1nc0857s.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options4,
|
|
48
|
+
Service: () => Service51,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured5,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer19,
|
|
53
|
+
node: () => node55,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options4 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service51 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service51, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer19 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
98
|
-
const bus = yield*
|
|
99
|
-
const credentials = yield*
|
|
96
|
+
const location = yield* Service75;
|
|
97
|
+
const watcher = yield* Service52;
|
|
98
|
+
const bus = yield* Service79;
|
|
99
|
+
const credentials = yield* Service73;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service53;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -167,7 +167,7 @@ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
167
167
|
});
|
|
168
168
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
169
169
|
return [
|
|
170
|
-
...yield* Effect.forEach(
|
|
170
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
171
171
|
new Directory({ type: "directory", path: directory })
|
|
172
172
|
];
|
|
173
173
|
});
|
|
@@ -221,8 +221,8 @@ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -235,7 +235,7 @@ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
235
235
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
236
236
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
237
237
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
238
|
-
const candidates =
|
|
238
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
239
239
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
240
240
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
241
241
|
`;
|
|
@@ -250,7 +250,7 @@ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service51.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured5(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service51,
|
|
268
|
+
layer: layer19(options),
|
|
269
|
+
deps: [node56, node84, FSUtil.node, Global.node, node80, node78, node57]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node55 = configured5();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options4, Service51, Test2, testLayer2, layer19, configured5, node55, exports_config };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make21,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-eaj1djv9.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-9dpgmzkp.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service30,
|
|
13
|
+
node34
|
|
14
|
+
} from "./location-mutation-sx4f6nnd.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
name14
|
|
18
|
+
} from "./location-mutation-5fshkvc1.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
26
|
-
McpInstructions: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
24
|
+
var exports_instructions5 = {};
|
|
25
|
+
__export(exports_instructions5, {
|
|
26
|
+
McpInstructions: () => exports_instructions5,
|
|
27
|
+
Service: () => Service28,
|
|
28
|
+
layer: () => layer10,
|
|
29
|
+
node: () => node32
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,17 +62,17 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service28 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer10 = Layer.effect(Service28, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service30;
|
|
69
|
+
return Service28.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
|
-
const source = (value) =>
|
|
75
|
-
key:
|
|
74
|
+
const source = (value) => make21({
|
|
75
|
+
key: Key4.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
78
78
|
render: {
|
|
@@ -90,7 +90,7 @@ var layer11 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
90
90
|
const codemode = owned[0]?.codemode !== false;
|
|
91
91
|
if (codemode && !canExecute)
|
|
92
92
|
return [];
|
|
93
|
-
if (!owned.some((tool) => evaluate2(
|
|
93
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
|
|
94
94
|
return [];
|
|
95
95
|
return [
|
|
96
96
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -100,6 +100,6 @@ var layer11 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node32 = makeLocationNode({ service: Service28, layer: layer10, deps: [node34] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service28, layer10, node32, exports_instructions5 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./location-mutation-gy168q6x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service30
|
|
6
|
+
} from "./location-mutation-sx4f6nnd.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin11,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin11 = 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* Service51;
|
|
28
|
+
const mcp = yield* Service30;
|
|
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 { Plugin11, register2, exports_mcp };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-mutation-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service69,
|
|
8
|
+
node73
|
|
9
|
+
} from "./location-mutation-3k4j4gra.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content3
|
|
12
|
+
} from "./location-mutation-msdrtnms.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-mutation-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service12,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node15,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content3.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service69;
|
|
331
|
+
return Service12.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node15 = makeLocationNode({ service: Service12, layer, deps: [node73] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node15, exports_read_filesystem };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./location-mutation-815wrfbm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./location-mutation-9dpgmzkp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service15
|
|
14
|
+
} from "./location-mutation-jhedgnzy.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input8,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin27,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name8
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name8 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input8 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin27 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service61;
|
|
53
|
+
const forms = yield* Service72;
|
|
54
|
+
const websearch = yield* Service15;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name8,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description3,
|
|
59
|
+
input: Input8,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name8,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name8];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name8, NO_RESULTS2, description3, Input8, Plugin27, exports_websearch2 };
|