@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,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-922hggd3.js";
|
|
4
|
+
import {
|
|
5
|
+
Service80,
|
|
6
|
+
node85
|
|
7
|
+
} from "./location-mutation-e5vf2yjr.js";
|
|
4
8
|
import {
|
|
5
9
|
Service79,
|
|
6
10
|
node84
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Service78,
|
|
10
|
-
node83
|
|
11
|
-
} from "./repository-cpn39njb.js";
|
|
11
|
+
} from "./location-mutation-1hkx1n6e.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service77,
|
|
14
|
+
node82
|
|
15
|
+
} from "./location-mutation-7nzveyhj.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info33,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event19,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-mutation-pjmw00w1.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-mutation-dj2t23y0.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-mutation-m0jqrx5p.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info32,
|
|
41
|
+
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service76,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node81,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info32 = Info33;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service76 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -93,12 +93,12 @@ function fromRow(row) {
|
|
|
93
93
|
sandboxes: row.sandboxes
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
96
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
98
|
+
const git = yield* Service77;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
|
-
const bus = yield*
|
|
101
|
-
const db = (yield*
|
|
100
|
+
const bus = yield* Service79;
|
|
101
|
+
const db = (yield* Service80).db;
|
|
102
102
|
const announcing = new Set;
|
|
103
103
|
const persist = Effect.fnUntraced(function* (project) {
|
|
104
104
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
106
106
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
107
107
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
108
108
|
if (row)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event19.Updated, fromRow(row));
|
|
110
110
|
}
|
|
111
111
|
if (!project.vcs)
|
|
112
112
|
return project;
|
|
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
143
143
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
144
144
|
projectID: item.projectID,
|
|
145
145
|
directory: item.directory,
|
|
146
|
-
previous: project.previous ??
|
|
146
|
+
previous: project.previous ?? ID17.global,
|
|
147
147
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
148
148
|
}, {
|
|
149
149
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
166
166
|
time_updated: Date.now()
|
|
167
167
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
168
168
|
if (!row)
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event19.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID17.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID17.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID17.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID17.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service76.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node81 = makeGlobalNode({
|
|
276
|
+
service: Service76,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [
|
|
278
|
+
deps: [node84, node85, FSUtil.node, node82, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service76, node81, exports_project };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service75
|
|
9
|
+
} from "./location-mutation-x0mhhfm8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service69
|
|
12
|
+
} from "./location-mutation-3k4j4gra.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service68
|
|
15
|
+
} from "./location-mutation-tk9x6nx7.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Entry4
|
|
21
|
+
} from "./location-mutation-msdrtnms.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service61
|
|
24
|
+
} from "./location-mutation-9dpgmzkp.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service58
|
|
27
|
+
} from "./location-mutation-t5qf6yxf.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
36
|
+
Input: () => Input5,
|
|
37
|
+
Output: () => Output5,
|
|
38
|
+
Plugin: () => Plugin24,
|
|
39
|
+
name: () => name5,
|
|
40
40
|
toModelContent: () => toModelContent4
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name5 = "glob";
|
|
46
|
+
var Input5 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,7 +55,7 @@ var Input7 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
58
|
+
var Output5 = Schema.Array(Entry4);
|
|
59
59
|
var toModelContent4 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
@@ -63,27 +63,27 @@ var toModelContent4 = (entries, truncated = false) => {
|
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin24 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service69;
|
|
70
|
+
const ripgrep = yield* Service68;
|
|
71
|
+
const location = yield* Service75;
|
|
72
|
+
const access = yield* Service58;
|
|
73
|
+
const permission = yield* Service61;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name5,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input5,
|
|
79
|
+
output: Output5,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name5,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -111,7 +111,7 @@ var Plugin25 = {
|
|
|
111
111
|
orElse: () => Effect.fail(new ToolFailure({
|
|
112
112
|
message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
|
|
113
113
|
}))
|
|
114
|
-
}), Effect.map((result) => result.map((entry) =>
|
|
114
|
+
}), Effect.map((result) => result.map((entry) => Entry4.make({
|
|
115
115
|
...entry,
|
|
116
116
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
|
|
117
117
|
}))));
|
|
@@ -125,4 +125,4 @@ var Plugin25 = {
|
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name5, Input5, Output5, toModelContent4, Plugin24, exports_glob };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./location-mutation-9yy46e9h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./location-mutation-gy168q6x.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-31dty8gt.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin4
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin4 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service51;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service52;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin6 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin4, exports_compatibility };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-mutation-1hkx1n6e.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-ja1xcwp3.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Options: () => Options7,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service55,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
|
+
configured: () => configured7,
|
|
25
|
+
layer: () => layer21,
|
|
26
|
+
node: () => node59
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options7 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service55 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service55, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service79;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError5({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service55.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
258
|
+
var layer21 = makeLayer();
|
|
259
|
+
var configured7 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service55,
|
|
261
|
+
layer: options === undefined ? layer21 : makeLayer(options),
|
|
262
|
+
deps: [node84, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node59 = configured7();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options7, UnavailableError3, NotFoundError5, Service55, layer21, configured7, node59, exports_persistent_pty, Handoff2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./location-mutation-9dpgmzkp.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input7,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin26,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description2,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name7
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name7 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
@@ -38,7 +38,7 @@ var description2 = `Fetch content from an HTTP or HTTPS URL and return it as tex
|
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input7 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input2 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input7.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin26 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service61;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name7,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description2,
|
|
104
|
-
input:
|
|
104
|
+
input: Input7,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin20 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name7,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name7, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input7, Plugin26, extractTextFromHTML2, exports_webfetch };
|