@opencode/core 0.0.0-dev-21541 → 0.0.0-dev-21556
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{workspace-cah5dkv9.js → filesystem-028swf18.js} +11 -11
- package/dist/chunks/{workspace-2b6qkcs0.js → filesystem-02vhp1nx.js} +50 -50
- package/dist/chunks/{workspace-034tev2y.js → filesystem-034tev2y.js} +2 -2
- package/dist/chunks/{workspace-gn585jta.js → filesystem-0f67byd1.js} +5 -5
- package/dist/chunks/{workspace-dtmbvn3g.js → filesystem-0mjdzdxd.js} +5 -5
- package/dist/chunks/{workspace-cbartrqj.js → filesystem-0q608b5f.js} +16 -16
- package/dist/chunks/{workspace-keqvyq2w.js → filesystem-0se0c77j.js} +4 -4
- package/dist/chunks/{workspace-0vbcp93d.js → filesystem-0vbcp93d.js} +2 -2
- package/dist/chunks/{workspace-xf8yqmad.js → filesystem-11dqjexa.js} +9 -9
- package/dist/chunks/{workspace-9qj6rkp4.js → filesystem-126zz3q1.js} +3 -3
- package/dist/chunks/{workspace-1ep2p91f.js → filesystem-1ep2p91f.js} +2 -2
- package/dist/chunks/{workspace-jyhwqdka.js → filesystem-1g6janhj.js} +20 -20
- package/dist/chunks/{workspace-w0rc49da.js → filesystem-1p1p7tgy.js} +33 -33
- package/dist/chunks/{workspace-a94rjkpn.js → filesystem-1qjvw4y4.js} +7 -7
- package/dist/chunks/{workspace-8x4e5kq0.js → filesystem-1sf913kj.js} +25 -25
- package/dist/chunks/{workspace-drdx3kxz.js → filesystem-1sqqfm6b.js} +11 -11
- package/dist/chunks/{workspace-z34erevr.js → filesystem-1sr9fzxh.js} +6 -6
- package/dist/chunks/{workspace-3chvherp.js → filesystem-1waq66yh.js} +4 -4
- package/dist/chunks/{workspace-3b7e46vg.js → filesystem-1z98e4c3.js} +35 -35
- package/dist/chunks/{workspace-0tjpvapw.js → filesystem-242ky9er.js} +10 -10
- package/dist/chunks/{workspace-st7p3hwb.js → filesystem-27bs79w9.js} +2 -2
- package/dist/chunks/{workspace-k0a3z2qz.js → filesystem-29qym6xz.js} +4 -4
- package/dist/chunks/{workspace-va6mm9z7.js → filesystem-2a3m6met.js} +12 -12
- package/dist/chunks/{workspace-gm6mk2m9.js → filesystem-2g49mxwr.js} +12 -12
- package/dist/chunks/{workspace-qgn6gcr1.js → filesystem-2k8khapm.js} +5 -5
- package/dist/chunks/{workspace-s1sewrz2.js → filesystem-2wv0qy41.js} +24 -24
- package/dist/chunks/{workspace-h7jf40e2.js → filesystem-2z2h29k5.js} +15 -15
- package/dist/chunks/{workspace-76skp782.js → filesystem-328ypx93.js} +22 -22
- package/dist/chunks/filesystem-36kqp0j3.js +523 -0
- package/dist/chunks/{workspace-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-3hwn7j4h.js → filesystem-3hwn7j4h.js} +2 -2
- package/dist/chunks/{workspace-2phre6gr.js → filesystem-3p8bby9p.js} +17 -17
- package/dist/chunks/{workspace-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-p1apbq8w.js → filesystem-3y03y7vv.js} +11 -11
- package/dist/chunks/{workspace-3zsf4n22.js → filesystem-3zsf4n22.js} +1 -1
- package/dist/chunks/{workspace-4myb3554.js → filesystem-400872z1.js} +20 -20
- package/dist/chunks/{workspace-vsv97a0e.js → filesystem-45pdh49v.js} +24 -24
- package/dist/chunks/filesystem-45th5jwr.js +18 -0
- package/dist/chunks/{workspace-qby9dwvd.js → filesystem-4e8vs6eh.js} +8 -8
- package/dist/chunks/{workspace-zet3czjw.js → filesystem-4h1zccz9.js} +11 -11
- package/dist/chunks/{workspace-n8nk40tj.js → filesystem-4m9n96wx.js} +24 -24
- package/dist/chunks/{workspace-jjrctdmw.js → filesystem-4qfhrk35.js} +14 -14
- package/dist/chunks/{workspace-w2h15q85.js → filesystem-4xpgt2w9.js} +5 -5
- package/dist/chunks/{workspace-54ma36ye.js → filesystem-54ma36ye.js} +1 -1
- package/dist/chunks/{workspace-zx59jank.js → filesystem-573jag1d.js} +4 -4
- package/dist/chunks/{workspace-j6jn98s4.js → filesystem-591k6mra.js} +6 -6
- package/dist/chunks/{workspace-gs67eedh.js → filesystem-5bg7ay96.js} +28 -28
- package/dist/chunks/{workspace-5x8rsm2f.js → filesystem-5ddxr1dn.js} +24 -24
- package/dist/chunks/{workspace-tvgxg3g6.js → filesystem-5jfh860z.js} +4 -4
- package/dist/chunks/{workspace-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
- package/dist/chunks/{workspace-e3qxr5gk.js → filesystem-5qd3pb7m.js} +2 -2
- package/dist/chunks/{workspace-m6fea7hh.js → filesystem-5saf3c2d.js} +11 -11
- package/dist/chunks/{workspace-q40yvqvp.js → filesystem-5sbgwf3f.js} +5 -5
- package/dist/chunks/{workspace-t3hn50w1.js → filesystem-5y3cvn6v.js} +8 -8
- package/dist/chunks/{workspace-efxx8rk8.js → filesystem-63zyt423.js} +13 -13
- package/dist/chunks/{workspace-6827pfxn.js → filesystem-6827pfxn.js} +1 -1
- package/dist/chunks/{workspace-zaq7yc5h.js → filesystem-6g6nf04w.js} +2 -2
- package/dist/chunks/{workspace-1rd0hf05.js → filesystem-6gda7trc.js} +18 -18
- package/dist/chunks/{workspace-8dh2j701.js → filesystem-6j7dwqsx.js} +11 -11
- package/dist/chunks/{workspace-kgjxwjg5.js → filesystem-6kwr73dn.js} +21 -21
- package/dist/chunks/{workspace-6xb47vfp.js → filesystem-6xb47vfp.js} +1 -1
- package/dist/chunks/{workspace-qhd9gkgf.js → filesystem-6zhaf8kp.js} +9 -9
- package/dist/chunks/{workspace-5g57z1ma.js → filesystem-76p14g35.js} +4 -4
- package/dist/chunks/{workspace-775gj3j1.js → filesystem-775gj3j1.js} +2 -2
- package/dist/chunks/{workspace-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-1p07q0wb.js → filesystem-7fkffz83.js} +2 -2
- package/dist/chunks/{workspace-ayabmdkg.js → filesystem-7q4dk8at.js} +24 -24
- package/dist/chunks/{workspace-n8mct725.js → filesystem-7vnmjcnk.js} +2 -2
- package/dist/chunks/{workspace-5fec3t3w.js → filesystem-81f7vt2z.js} +8 -8
- package/dist/chunks/{workspace-ncqfdwrq.js → filesystem-81gkh252.js} +16 -16
- package/dist/chunks/{workspace-8yp4rne4.js → filesystem-82a5zyy8.js} +11 -11
- package/dist/chunks/{workspace-84txncab.js → filesystem-84txncab.js} +1 -1
- package/dist/chunks/{workspace-h90v2x9d.js → filesystem-86qzxe6p.js} +4 -4
- package/dist/chunks/{workspace-qssh8sag.js → filesystem-8b6rm75k.js} +46 -46
- package/dist/chunks/{workspace-s1v8awss.js → filesystem-8c364tr5.js} +3 -3
- package/dist/chunks/{workspace-0z8yhdqv.js → filesystem-8g0yt8dy.js} +69 -69
- package/dist/chunks/{workspace-5ggmzyjq.js → filesystem-8m2msbn3.js} +32 -32
- package/dist/chunks/{workspace-8m6m0r52.js → filesystem-8m6m0r52.js} +1 -1
- package/dist/chunks/{workspace-9dmx38dk.js → filesystem-8myfktms.js} +21 -21
- package/dist/chunks/{workspace-8mywswrd.js → filesystem-8mywswrd.js} +1 -1
- package/dist/chunks/{workspace-3byrw2k0.js → filesystem-8ndffx4j.js} +9 -9
- package/dist/chunks/{workspace-m28avgzz.js → filesystem-8ngy3mqv.js} +15 -15
- package/dist/chunks/{workspace-g1z83s7x.js → filesystem-8w8x3cmh.js} +43 -43
- package/dist/chunks/{workspace-y6rf4qat.js → filesystem-8wy82xn4.js} +34 -34
- package/dist/chunks/{workspace-tzprbfj6.js → filesystem-8wyta6jv.js} +10 -10
- package/dist/chunks/{workspace-1fnk0qcx.js → filesystem-8ya1vr8t.js} +13 -13
- package/dist/chunks/{workspace-r9s8agc4.js → filesystem-93be92en.js} +32 -32
- package/dist/chunks/{workspace-fx7mmp1n.js → filesystem-93p4vdsy.js} +22 -22
- package/dist/chunks/{workspace-wb9ff8bn.js → filesystem-979fg1jj.js} +20 -20
- package/dist/chunks/{workspace-hp24smfg.js → filesystem-9893enz5.js} +11 -11
- package/dist/chunks/{workspace-6h1z9x2t.js → filesystem-98z44by5.js} +23 -23
- package/dist/chunks/{workspace-998yhzzq.js → filesystem-998yhzzq.js} +3 -3
- package/dist/chunks/{workspace-6gzxrv04.js → filesystem-9fjp44j3.js} +16 -16
- package/dist/chunks/{workspace-ffvkjqdt.js → filesystem-9gcsz2p2.js} +9 -9
- package/dist/chunks/{workspace-gv7ndrzx.js → filesystem-9jabj0jk.js} +4 -4
- package/dist/chunks/{workspace-f3crtseh.js → filesystem-9m4ve779.js} +4 -4
- package/dist/chunks/{workspace-9wev2pgg.js → filesystem-9wev2pgg.js} +1 -1
- package/dist/chunks/{workspace-074m64dp.js → filesystem-9yvejhhv.js} +20 -20
- package/dist/chunks/{workspace-g9vnk3jz.js → filesystem-a2dbqtpr.js} +16 -16
- package/dist/chunks/{workspace-6s9zvkg6.js → filesystem-a56ettrm.js} +11 -11
- package/dist/chunks/{workspace-css516a4.js → filesystem-aaf0tqjs.js} +3 -3
- package/dist/chunks/{workspace-xjzqkwqn.js → filesystem-afgz2svm.js} +13 -13
- package/dist/chunks/{workspace-b10f7vcz.js → filesystem-are0chd1.js} +6 -6
- package/dist/chunks/{workspace-ayjs7tqn.js → filesystem-ayjs7tqn.js} +2 -2
- package/dist/chunks/{workspace-80ea5f6r.js → filesystem-azr9yky1.js} +30 -30
- package/dist/chunks/{workspace-b11a7tx7.js → filesystem-b11a7tx7.js} +1 -1
- package/dist/chunks/{workspace-zfm65xnk.js → filesystem-b2hzfzr1.js} +8 -8
- package/dist/chunks/{workspace-p8dm3ep0.js → filesystem-b7c09qga.js} +5 -5
- package/dist/chunks/{workspace-j6p3x2qe.js → filesystem-bdbdb37z.js} +51 -51
- package/dist/chunks/{workspace-9sbtww25.js → filesystem-bg1zss7r.js} +33 -33
- package/dist/chunks/{workspace-bry36w7y.js → filesystem-bg57z5ae.js} +16 -16
- package/dist/chunks/{workspace-fcyg4h47.js → filesystem-bhhtdc9d.js} +5 -5
- package/dist/chunks/{workspace-zcfdnc2q.js → filesystem-bj2d5s9t.js} +26 -26
- package/dist/chunks/{workspace-wjr9rjd7.js → filesystem-bjx1sjef.js} +6 -6
- package/dist/chunks/{workspace-kc8eh7pk.js → filesystem-bkc947cz.js} +36 -36
- package/dist/chunks/filesystem-btej2qac.js +257 -0
- package/dist/chunks/{workspace-bzeyqsqd.js → filesystem-bzeyqsqd.js} +1 -1
- package/dist/chunks/{workspace-r4fxfztp.js → filesystem-c35ra91z.js} +31 -31
- package/dist/chunks/{workspace-1bzs4kqq.js → filesystem-chveay43.js} +18 -18
- package/dist/chunks/{workspace-je188k40.js → filesystem-chxb0k6t.js} +23 -23
- package/dist/chunks/{workspace-91p1v22t.js → filesystem-cq9vh2fv.js} +8 -8
- package/dist/chunks/{workspace-ewxdsezr.js → filesystem-cqw872z8.js} +29 -29
- package/dist/chunks/{workspace-cr9hweqv.js → filesystem-cr9hweqv.js} +2 -2
- package/dist/chunks/{workspace-132rhf2q.js → filesystem-cz5fe6tg.js} +23 -23
- package/dist/chunks/{workspace-gky04n8p.js → filesystem-d3yv44qs.js} +19 -19
- package/dist/chunks/{workspace-47xvp063.js → filesystem-d7wa81mb.js} +17 -17
- package/dist/chunks/{workspace-15wxq0kj.js → filesystem-d869kc9t.js} +8 -8
- package/dist/chunks/{workspace-daz98v5x.js → filesystem-dkp7y90n.js} +28 -28
- package/dist/chunks/{workspace-dpkg50ah.js → filesystem-dpkg50ah.js} +1 -1
- package/dist/chunks/{workspace-ggk6kvmh.js → filesystem-dxbacq08.js} +21 -21
- package/dist/chunks/{workspace-tr7gnt89.js → filesystem-e2z0k8kw.js} +11 -11
- package/dist/chunks/{workspace-2xebcxdz.js → filesystem-e71bjph2.js} +14 -14
- package/dist/chunks/{workspace-eej6y6fw.js → filesystem-eej6y6fw.js} +2 -2
- package/dist/chunks/{workspace-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{workspace-bxxa49vs.js → filesystem-epeyn0qs.js} +28 -28
- package/dist/chunks/{workspace-hhn6cs7f.js → filesystem-eq13jef3.js} +25 -25
- package/dist/chunks/{workspace-jvf3yq6v.js → filesystem-f73rjn58.js} +4 -4
- package/dist/chunks/{workspace-ansnh6at.js → filesystem-f8h5648v.js} +10 -10
- package/dist/chunks/{workspace-fcy631f0.js → filesystem-fcy631f0.js} +1 -1
- package/dist/chunks/{workspace-7zyx6fzq.js → filesystem-fd592q7h.js} +19 -19
- package/dist/chunks/{workspace-j90sh0vw.js → filesystem-fjdpyz7x.js} +88 -88
- package/dist/chunks/{workspace-bbyyxdtc.js → filesystem-fm3t8chm.js} +18 -18
- package/dist/chunks/{workspace-dq407baf.js → filesystem-fn9t717r.js} +6 -6
- package/dist/chunks/{workspace-xghm9m12.js → filesystem-fpyn1g9k.js} +18 -18
- package/dist/chunks/{workspace-36cygfdp.js → filesystem-fwt7vey7.js} +8 -8
- package/dist/chunks/{workspace-qa3qhgw8.js → filesystem-g8d3gcyj.js} +7 -7
- package/dist/chunks/{workspace-c3jpadc8.js → filesystem-gb398jef.js} +5 -5
- package/dist/chunks/{workspace-c7kxmbtf.js → filesystem-gc65y9s2.js} +17 -17
- package/dist/chunks/{workspace-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-2egnw719.js → filesystem-gg68t3hz.js} +12 -12
- package/dist/chunks/{workspace-pbjcynf2.js → filesystem-gj0f7hmv.js} +11 -11
- package/dist/chunks/{workspace-rmja0r51.js → filesystem-gmb516bh.js} +10 -10
- package/dist/chunks/{workspace-g6h99m46.js → filesystem-gs856eh7.js} +1 -1
- package/dist/chunks/{workspace-abc6j8jm.js → filesystem-gwj0vhyb.js} +32 -32
- package/dist/chunks/{workspace-07sqsv9w.js → filesystem-h2ettege.js} +7 -7
- package/dist/chunks/{workspace-rdp8b27p.js → filesystem-h32rg1s2.js} +12 -12
- package/dist/chunks/{workspace-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-h8vwnyd8.js → filesystem-h8vwnyd8.js} +1 -1
- package/dist/chunks/{workspace-gcb5g84z.js → filesystem-ha3bx9by.js} +40 -40
- package/dist/chunks/{workspace-x683dpmx.js → filesystem-hd48n6ar.js} +33 -33
- package/dist/chunks/{workspace-hgz4x7wa.js → filesystem-hgz4x7wa.js} +1 -1
- package/dist/chunks/{workspace-0xx3ns2v.js → filesystem-hsmb96zs.js} +19 -19
- package/dist/chunks/{workspace-e6g20fz5.js → filesystem-jjfs97vk.js} +30 -30
- package/dist/chunks/{workspace-n56c0sd4.js → filesystem-jmv89t63.js} +42 -42
- package/dist/chunks/{workspace-xg0qp6eg.js → filesystem-jp01ts1z.js} +11 -11
- package/dist/chunks/{workspace-wbnh8gjc.js → filesystem-k5ggreqd.js} +5 -5
- package/dist/chunks/{workspace-t18r7gq3.js → filesystem-kb25sj3q.js} +52 -52
- package/dist/chunks/{workspace-98bt88c5.js → filesystem-kbhdv85b.js} +15 -15
- package/dist/chunks/{workspace-4jhg1r7p.js → filesystem-kh6bv03q.js} +13 -13
- package/dist/chunks/{workspace-khmqacep.js → filesystem-khmqacep.js} +1 -1
- package/dist/chunks/{workspace-m22m6tzf.js → filesystem-kjv4pfpn.js} +12 -12
- package/dist/chunks/{workspace-qv9b3h9n.js → filesystem-kvmjtnbr.js} +32 -32
- package/dist/chunks/{workspace-kwb1v3vj.js → filesystem-kwb1v3vj.js} +1 -1
- package/dist/chunks/{workspace-aar2av7x.js → filesystem-m0hzqf10.js} +6 -6
- package/dist/chunks/{workspace-r6k9he64.js → filesystem-m6r8hh6a.js} +14 -14
- package/dist/chunks/{workspace-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-maspj1v3.js → filesystem-maspj1v3.js} +1 -1
- package/dist/chunks/{workspace-z71n2avg.js → filesystem-mbw2zwxv.js} +4 -4
- package/dist/chunks/{workspace-e2t3pw6w.js → filesystem-mbynq3pt.js} +17 -17
- package/dist/chunks/{workspace-etgqrbqm.js → filesystem-mctgdp4w.js} +29 -29
- package/dist/chunks/{workspace-73a41k9m.js → filesystem-medva3v3.js} +41 -41
- package/dist/chunks/{workspace-g9ay48z2.js → filesystem-mn8trjc8.js} +5 -5
- package/dist/chunks/{workspace-9nygwmwc.js → filesystem-mr7jwncp.js} +23 -23
- package/dist/chunks/{workspace-8mr27nf4.js → filesystem-mrb3pdj1.js} +4 -4
- package/dist/chunks/{workspace-bwq0z05b.js → filesystem-mvgnf8hp.js} +22 -22
- package/dist/chunks/{workspace-fstg4fsa.js → filesystem-mx44zc9z.js} +24 -24
- package/dist/chunks/{workspace-4gx1jjxq.js → filesystem-n19gt92d.js} +45 -45
- package/dist/chunks/{workspace-n6mrmtb3.js → filesystem-n6mrmtb3.js} +1 -1
- package/dist/chunks/{workspace-ynrxtasp.js → filesystem-na6gcdt8.js} +20 -20
- package/dist/chunks/{workspace-etj2j5tt.js → filesystem-nc6zk1r7.js} +24 -24
- package/dist/chunks/{workspace-pwrxqpxd.js → filesystem-nnpwh0my.js} +18 -18
- package/dist/chunks/{workspace-xy9gzbcy.js → filesystem-ns9nx42n.js} +18 -18
- package/dist/chunks/{workspace-n5d3v4c5.js → filesystem-nv560stn.js} +3 -3
- package/dist/chunks/{workspace-cmwkp3r5.js → filesystem-p37cw4rj.js} +8 -8
- package/dist/chunks/{workspace-gmce5qqj.js → filesystem-p4hdtfs4.js} +1 -1
- package/dist/chunks/{workspace-s305gxse.js → filesystem-p76v2pnh.js} +43 -43
- package/dist/chunks/{workspace-0ss1ygn7.js → filesystem-pc1v25hk.js} +3 -3
- package/dist/chunks/{workspace-xv7z1ba5.js → filesystem-pec85awn.js} +21 -21
- package/dist/chunks/{workspace-k4814axw.js → filesystem-pez308bj.js} +17 -17
- package/dist/chunks/{workspace-zqt4wd7s.js → filesystem-pfq93rbg.js} +8 -8
- package/dist/chunks/{workspace-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-mcqdwfqb.js → filesystem-pntdjgj5.js} +11 -11
- package/dist/chunks/{workspace-y6e8h1xc.js → filesystem-pr4qgnr7.js} +23 -23
- package/dist/chunks/{workspace-76475ja5.js → filesystem-pw2zv200.js} +28 -28
- package/dist/chunks/{workspace-2ec29r6m.js → filesystem-pz87hs4r.js} +4 -4
- package/dist/chunks/{workspace-e89xj288.js → filesystem-q17z9dx8.js} +5 -5
- package/dist/chunks/{workspace-3eyct666.js → filesystem-q2m888qa.js} +37 -37
- package/dist/chunks/{workspace-h6tfspxq.js → filesystem-q9n4taz4.js} +12 -12
- package/dist/chunks/{workspace-s6ckz0hn.js → filesystem-qdvnf0ks.js} +11 -11
- package/dist/chunks/{workspace-6n72fwwd.js → filesystem-qey1j5h6.js} +26 -26
- package/dist/chunks/{workspace-be4f7z37.js → filesystem-qp797tjx.js} +89 -89
- package/dist/chunks/{workspace-qp7m8750.js → filesystem-qp7m8750.js} +3 -3
- package/dist/chunks/{workspace-vm8sweqc.js → filesystem-qpk6w0sf.js} +4 -4
- package/dist/chunks/{workspace-57b9ws8p.js → filesystem-qqeeq2t9.js} +4 -4
- package/dist/chunks/{workspace-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-aq552fny.js → filesystem-qtvz41fz.js} +195 -195
- package/dist/chunks/{workspace-db8n8p1c.js → filesystem-qx9ba4sp.js} +31 -31
- package/dist/chunks/{workspace-d4he2qe1.js → filesystem-r2m716tb.js} +9 -9
- package/dist/chunks/{workspace-q8rwc74j.js → filesystem-r4vchsx7.js} +26 -26
- package/dist/chunks/{workspace-7ycdgr6s.js → filesystem-r5wxk7rn.js} +15 -15
- package/dist/chunks/{workspace-y7nndgyc.js → filesystem-ra67jj04.js} +9 -9
- package/dist/chunks/{workspace-c48qrqrp.js → filesystem-rb1cnjjp.js} +20 -20
- package/dist/chunks/{workspace-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/{workspace-ynmknp8q.js → filesystem-ryh741tj.js} +9 -9
- package/dist/chunks/{workspace-9z8cn46p.js → filesystem-s06pmf3q.js} +6 -6
- package/dist/chunks/{workspace-rzp7a2t4.js → filesystem-s5ckyk9d.js} +11 -11
- package/dist/chunks/{workspace-ae239eb7.js → filesystem-s73jzx7y.js} +39 -39
- package/dist/chunks/{workspace-sb9g34e0.js → filesystem-s80bpp8r.js} +8 -8
- package/dist/chunks/{workspace-0gdmqesm.js → filesystem-s8d7rejh.js} +4 -4
- package/dist/chunks/filesystem-smhs581c.js +26 -0
- package/dist/chunks/{workspace-e4n1ebq2.js → filesystem-sqeeta82.js} +3 -3
- package/dist/chunks/{workspace-8xnx0mnd.js → filesystem-sv72chne.js} +8 -8
- package/dist/chunks/{workspace-dbe25myc.js → filesystem-sxpag4wm.js} +14 -14
- package/dist/chunks/{workspace-2ahabfrv.js → filesystem-szszjrwy.js} +4 -4
- package/dist/chunks/{workspace-yfattsqw.js → filesystem-t7a1f2y6.js} +17 -17
- package/dist/chunks/{workspace-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-tcezcvh9.js → filesystem-tcezcvh9.js} +1 -1
- package/dist/chunks/{workspace-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-mx9vqzsb.js → filesystem-tegs1ycp.js} +6 -6
- package/dist/chunks/{workspace-mzmvkc7j.js → filesystem-tpv3en06.js} +26 -26
- package/dist/chunks/{workspace-tyytaxap.js → filesystem-tyytaxap.js} +1 -1
- package/dist/chunks/{workspace-yefhp8xd.js → filesystem-v1w8mgqr.js} +11 -11
- package/dist/chunks/{workspace-eg33xqqg.js → filesystem-v2y4kgk1.js} +47 -47
- package/dist/chunks/{workspace-v7p4zvkq.js → filesystem-v7p4zvkq.js} +2 -2
- package/dist/chunks/{workspace-ffq1c2je.js → filesystem-vc9x991w.js} +18 -18
- package/dist/chunks/{workspace-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-nzg504jb.js → filesystem-vk7a0qve.js} +15 -15
- package/dist/chunks/{workspace-38phfjcn.js → filesystem-vktwk5kv.js} +9 -9
- package/dist/chunks/{workspace-wjst284m.js → filesystem-vwt6h3tz.js} +4 -4
- package/dist/chunks/{workspace-nvxqht09.js → filesystem-vx3jgdek.js} +3 -3
- package/dist/chunks/{workspace-vzs5sf6e.js → filesystem-vzs5sf6e.js} +1 -1
- package/dist/chunks/{workspace-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-bqszwq89.js → filesystem-w5zzhgd0.js} +6 -6
- package/dist/chunks/{workspace-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
- package/dist/chunks/{workspace-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-dex2drwj.js → filesystem-wq8gz3e1.js} +10 -10
- package/dist/chunks/{workspace-rqgw4wbf.js → filesystem-wqhwg8sr.js} +45 -45
- package/dist/chunks/{workspace-mshsb7tz.js → filesystem-x08z24be.js} +15 -15
- package/dist/chunks/{workspace-3y377wv9.js → filesystem-x661k3y3.js} +4 -4
- package/dist/chunks/{workspace-5gwxr4wz.js → filesystem-x8j4awb7.js} +26 -26
- package/dist/chunks/{workspace-s4gy3dj7.js → filesystem-xab8tp7k.js} +16 -16
- package/dist/chunks/{workspace-s8ch1s93.js → filesystem-xfraezgp.js} +33 -33
- package/dist/chunks/{workspace-pzzw2hqw.js → filesystem-xng5v1sj.js} +7 -7
- package/dist/chunks/{workspace-r29avfkz.js → filesystem-xrrvmzfg.js} +9 -9
- package/dist/chunks/{workspace-pmpp0nb4.js → filesystem-xt7gh04x.js} +26 -26
- package/dist/chunks/{workspace-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-srp09zfw.js → filesystem-y7w5x3t0.js} +14 -14
- package/dist/chunks/{workspace-gwaf4cyv.js → filesystem-yv1na398.js} +5 -5
- package/dist/chunks/{workspace-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-ea9zv6cw.js → filesystem-z4xmyae6.js} +13 -13
- package/dist/chunks/{workspace-t2s68hp7.js → filesystem-z6r6yped.js} +22 -22
- package/dist/chunks/{workspace-fk85bsrp.js → filesystem-z9r12f9w.js} +11 -11
- package/dist/chunks/{workspace-maers0pd.js → filesystem-zapavctn.js} +3 -3
- package/dist/chunks/{workspace-kccjhh93.js → filesystem-zgbfmbmk.js} +5 -5
- package/dist/chunks/{workspace-pcs4hp0r.js → filesystem-zhfa0hft.js} +14 -14
- package/dist/chunks/{workspace-neqjwg63.js → filesystem-zn5evjtn.js} +35 -35
- package/dist/chunks/{workspace-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-hcgv7z9w.js → filesystem-zryx1e9j.js} +9 -9
- package/dist/chunks/{workspace-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
- package/dist/chunks/{workspace-5tgqe19z.js → filesystem-zys69r9h.js} +56 -56
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- 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 +101 -101
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +4 -4
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- 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 +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +95 -95
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +137 -137
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +136 -136
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +5 -5
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +102 -102
- package/package.json +8 -8
- package/dist/chunks/workspace-7jmfkexa.js +0 -26
- package/dist/chunks/workspace-by5v678g.js +0 -18
- package/dist/chunks/workspace-stn147wg.js +0 -257
- package/dist/chunks/workspace-y76gxhjg.js +0 -523
- /package/dist/chunks/{workspace-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-5fjb7ams.js → filesystem-5fjb7ams.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a058387c.js → filesystem-a058387c.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-m18g726c.js → filesystem-m18g726c.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-pkyv6v7h.js → filesystem-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wjj7prxr.js → filesystem-wjj7prxr.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-5jfh860z.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-x661k3y3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID14,
|
|
14
|
+
Service78,
|
|
15
|
+
node82,
|
|
16
|
+
Event16
|
|
17
|
+
} from "./filesystem-dkp7y90n.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service81,
|
|
20
|
+
node85
|
|
21
|
+
} from "./filesystem-t7a1f2y6.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -40,12 +40,12 @@ __export(exports_provider3, {
|
|
|
40
40
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
41
41
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
42
42
|
Event: () => Event15,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
43
|
+
ID: () => ID13,
|
|
44
|
+
Info: () => Info21,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
47
|
Request: () => Request3,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service77,
|
|
49
49
|
Settings: () => Settings2,
|
|
50
50
|
Transport: () => Transport2,
|
|
51
51
|
aisdk: () => aisdk2,
|
|
@@ -57,7 +57,7 @@ __export(exports_provider3, {
|
|
|
57
57
|
mergeOverlay: () => mergeOverlay2,
|
|
58
58
|
modelSettings: () => modelSettings2,
|
|
59
59
|
nativeSettings: () => nativeSettings2,
|
|
60
|
-
node: () =>
|
|
60
|
+
node: () => node81,
|
|
61
61
|
packageName: () => packageName2,
|
|
62
62
|
timeout: () => timeout2,
|
|
63
63
|
timeouts: () => timeouts2
|
|
@@ -72,7 +72,7 @@ import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
|
72
72
|
import { Credential } from "@opencode/schema/credential";
|
|
73
73
|
import { freeze } from "immer";
|
|
74
74
|
import { Event as Event15 } from "@opencode/schema/provider";
|
|
75
|
-
var
|
|
75
|
+
var ID13 = Provider.ID;
|
|
76
76
|
var AISDK_PREFIX2 = "aisdk:";
|
|
77
77
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
78
78
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -286,9 +286,9 @@ var Request3 = Provider.Request;
|
|
|
286
286
|
var Compaction3 = Provider.Compaction;
|
|
287
287
|
var Transport2 = Provider.Transport;
|
|
288
288
|
var Settings2 = Provider.Settings;
|
|
289
|
-
var
|
|
289
|
+
var Info21 = Provider.Info;
|
|
290
290
|
|
|
291
|
-
class
|
|
291
|
+
class Service77 extends Context.Service()("@opencode/Provider") {
|
|
292
292
|
}
|
|
293
293
|
var definitions = new WeakMap;
|
|
294
294
|
function index(providerID, models) {
|
|
@@ -301,10 +301,10 @@ function index(providerID, models) {
|
|
|
301
301
|
definitions.set(models, indexes);
|
|
302
302
|
return result;
|
|
303
303
|
}
|
|
304
|
-
var layer = Layer.effect(
|
|
304
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
305
305
|
const bus = yield* Service85;
|
|
306
|
-
const integrations = yield*
|
|
307
|
-
const location = yield*
|
|
306
|
+
const integrations = yield* Service78;
|
|
307
|
+
const location = yield* Service81;
|
|
308
308
|
const state = create3({
|
|
309
309
|
name: "provider",
|
|
310
310
|
initial: () => new Map,
|
|
@@ -315,7 +315,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
315
315
|
const current = records.get(id);
|
|
316
316
|
if (current)
|
|
317
317
|
return current;
|
|
318
|
-
const added = { provider:
|
|
318
|
+
const added = { provider: Info21.empty(id), models: new Map };
|
|
319
319
|
records.set(id, added);
|
|
320
320
|
maps.add(added.models);
|
|
321
321
|
return added;
|
|
@@ -396,7 +396,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
396
396
|
const available = Array.from(records.values()).filter((record) => {
|
|
397
397
|
if (record.provider.activation === "disabled")
|
|
398
398
|
return false;
|
|
399
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
399
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
400
400
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
401
401
|
return false;
|
|
402
402
|
if (record.provider.activation === "enabled")
|
|
@@ -422,8 +422,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
422
422
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
423
423
|
});
|
|
424
424
|
});
|
|
425
|
-
yield* bus.subscribe([
|
|
426
|
-
return
|
|
425
|
+
yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
426
|
+
return Service77.of({
|
|
427
427
|
transform: state.transform,
|
|
428
428
|
reload: state.reload,
|
|
429
429
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -432,7 +432,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
432
432
|
snapshot
|
|
433
433
|
});
|
|
434
434
|
}));
|
|
435
|
-
var
|
|
435
|
+
var node81 = makeLocationNode({ service: Service77, layer, deps: [node89, node82, node85] });
|
|
436
436
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
437
437
|
const module = yield* Effect.tryPromise({
|
|
438
438
|
try: () => {
|
|
@@ -702,4 +702,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
702
702
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
703
703
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
704
704
|
|
|
705
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
705
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info21, Service77, node81, exports_provider3, Event15 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-hgz4x7wa.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-eej6y6fw.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-3hwn7j4h.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-v7p4zvkq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service81,
|
|
18
|
+
node85
|
|
19
|
+
} from "./filesystem-t7a1f2y6.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service54,
|
|
22
|
+
node58
|
|
23
|
+
} from "./filesystem-epeyn0qs.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service53,
|
|
33
|
+
node: () => node57
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service53,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node57,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service53 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service81;
|
|
66
|
+
const workspace = yield* Service54;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service53.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node57 = makeLocationNode({
|
|
71
|
+
service: Service53,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node85, node58]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service53, node57, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-8c364tr5.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load4() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load4 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured6,
|
|
11
|
+
layer: () => layer19,
|
|
12
|
+
make: () => make15,
|
|
13
|
+
node: () => node41,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make15()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make15(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make20(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer19 = (input) => Layer.succeed(Metadata2, make15(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer19(input), deps: [] });
|
|
33
|
+
var node41 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make15, useragent2, layer19, configured6, node41, exports_app };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./filesystem-t7a1f2y6.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
|
|
|
54
54
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service81;
|
|
58
58
|
const system = (() => {
|
|
59
59
|
if (options?.system === false)
|
|
60
60
|
return;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-5saf3c2d.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin4,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin4 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin23 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin23 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin4, exports_tavily };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service65,
|
|
3
|
+
node69,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-028swf18.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service60,
|
|
8
|
+
node64
|
|
9
|
+
} from "./filesystem-tegs1ycp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service13
|
|
12
|
+
} from "./filesystem-zn5evjtn.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-btej2qac.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service65, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service13);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node64.replace(Layer.succeed(Service60, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node69.replace(Layer.succeed(Service65, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-5jfh860z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID15,
|
|
6
|
+
Event17,
|
|
7
|
+
Service79
|
|
8
|
+
} from "./filesystem-pw2zv200.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID13
|
|
11
|
+
} from "./filesystem-5bg7ay96.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-are0chd1.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
44
|
+
const credentials = yield* Service79;
|
|
45
45
|
const bus = yield* Service85;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID13.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID13.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID13.googleVertex,
|
|
82
82
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
83
|
});
|
|
84
84
|
editor.method.update({
|
|
85
|
-
integrationID:
|
|
85
|
+
integrationID: ID13.googleVertex,
|
|
86
86
|
method: {
|
|
87
87
|
id: ADC_METHOD,
|
|
88
88
|
type: "external",
|
|
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
120
120
|
});
|
|
121
121
|
yield* ctx.provider.transform((evt) => {
|
|
122
122
|
for (const item of evt.list()) {
|
|
123
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
124
124
|
continue;
|
|
125
125
|
const settings = settingsFor(item.provider);
|
|
126
126
|
const project = resolveProject(settings);
|
|
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
139
139
|
});
|
|
140
140
|
yield* ctx.model.transform((models) => {
|
|
141
141
|
for (const item of models.provider.list()) {
|
|
142
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
143
143
|
continue;
|
|
144
144
|
const settings = settingsFor(item.provider);
|
|
145
145
|
const project = resolveProject(settings);
|
|
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
yield* bus.subscribe([
|
|
159
|
+
yield* bus.subscribe([Event17.Updated, Event17.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
160
160
|
const next = yield* load();
|
|
161
161
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
162
162
|
return;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9wev2pgg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./filesystem-kb25sj3q.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_MARKDOWN_BYTES2,
|
|
9
9
|
convertHTMLToMarkdown2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-4vcrnpx2.js";
|
|
11
11
|
import {
|
|
12
12
|
collectBoundedResponseBody2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-3v8g72cx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/webfetch.ts
|
|
19
19
|
var exports_webfetch = {};
|
|
@@ -25,7 +25,7 @@ __export(exports_webfetch, {
|
|
|
25
25
|
Plugin: () => Plugin46,
|
|
26
26
|
WebFetchTool: () => exports_webfetch,
|
|
27
27
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
28
|
-
description: () =>
|
|
28
|
+
description: () => description4,
|
|
29
29
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
30
30
|
name: () => name10
|
|
31
31
|
});
|
|
@@ -37,7 +37,7 @@ var name10 = "webfetch";
|
|
|
37
37
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
38
38
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
39
39
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
40
|
-
var
|
|
40
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
41
41
|
|
|
42
42
|
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.`;
|
|
43
43
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
@@ -98,11 +98,11 @@ var Plugin46 = {
|
|
|
98
98
|
id: "opencode.tool.webfetch",
|
|
99
99
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
100
100
|
const http = yield* HttpClient.HttpClient;
|
|
101
|
-
const permission = yield*
|
|
101
|
+
const permission = yield* Service69;
|
|
102
102
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
103
103
|
name: name10,
|
|
104
104
|
options: { codemode: false },
|
|
105
|
-
description:
|
|
105
|
+
description: description4,
|
|
106
106
|
input: Input10,
|
|
107
107
|
output: Output,
|
|
108
108
|
execute: (input, context) => Effect.gen(function* () {
|
|
@@ -169,4 +169,4 @@ function extractTextFromHTML2(html) {
|
|
|
169
169
|
parser.end();
|
|
170
170
|
return text.trim();
|
|
171
171
|
}
|
|
172
|
-
export { name10, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2,
|
|
172
|
+
export { name10, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input10, Plugin46, extractTextFromHTML2, exports_webfetch };
|