@opencode/core 0.0.0-dev-20377 → 0.0.0-dev-20381
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{repository-f3fd7e69.js → rpc-02jj188d.js} +4 -4
- package/dist/chunks/{repository-w6zk8pbt.js → rpc-0ejd5hp1.js} +8 -8
- package/dist/chunks/{repository-2k8khapm.js → rpc-0jwsre1p.js} +5 -5
- package/dist/chunks/{repository-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-y9zw62b3.js → rpc-0qnwgxcx.js} +12 -12
- package/dist/chunks/{repository-fbfxcass.js → rpc-0veeyvfm.js} +17 -17
- package/dist/chunks/{repository-g1sxm558.js → rpc-166kng33.js} +8 -8
- package/dist/chunks/{repository-ftnrf378.js → rpc-1cpck8gv.js} +15 -15
- package/dist/chunks/{repository-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-bt3gm041.js → rpc-1g5vmb1j.js} +21 -21
- package/dist/chunks/{repository-0jnnt1bs.js → rpc-1pk1jfmd.js} +17 -17
- package/dist/chunks/{repository-h0j67pyz.js → rpc-1vxd76q3.js} +10 -10
- package/dist/chunks/{repository-vspmykee.js → rpc-1wzyakj1.js} +14 -14
- package/dist/chunks/{repository-vzvmbq7x.js → rpc-1xhj1txz.js} +46 -46
- package/dist/chunks/{repository-wz5tj16h.js → rpc-207ajt2h.js} +5 -5
- package/dist/chunks/{repository-21r38tys.js → rpc-21r38tys.js} +1 -1
- package/dist/chunks/{repository-csr47hpp.js → rpc-240vvp2b.js} +7 -7
- package/dist/chunks/{repository-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-5nm3sjh9.js → rpc-2kfagwra.js} +9 -9
- package/dist/chunks/rpc-2q4d7yj3.js +252 -0
- package/dist/chunks/{repository-qhj864bm.js → rpc-2rbsv4j1.js} +22 -22
- package/dist/chunks/{repository-awaee7qt.js → rpc-2y34zzjz.js} +6 -6
- package/dist/chunks/{repository-y5kv6yf7.js → rpc-37gzdae6.js} +25 -25
- package/dist/chunks/{repository-dj9sq318.js → rpc-3cfzdc8e.js} +5 -5
- package/dist/chunks/{repository-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-45g6rp4p.js → rpc-3ky9a5f7.js} +8 -8
- package/dist/chunks/{repository-bxcevcrv.js → rpc-3sj2hmhn.js} +15 -15
- package/dist/chunks/{repository-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-p9qne3wm.js → rpc-3zn4sg2c.js} +54 -54
- package/dist/chunks/{repository-3zsf4n22.js → rpc-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-b9ek0cs0.js → rpc-411radew.js} +9 -9
- package/dist/chunks/{repository-3ewed21c.js → rpc-4bm5ja14.js} +4 -4
- package/dist/chunks/{repository-92k45pvj.js → rpc-4pwxaf10.js} +6 -6
- package/dist/chunks/{repository-7ys5ezf5.js → rpc-4qr0emt2.js} +17 -17
- package/dist/chunks/{repository-3kjwbdcf.js → rpc-4rh22bex.js} +8 -8
- package/dist/chunks/{repository-tea56sn9.js → rpc-5146pxbw.js} +30 -30
- package/dist/chunks/{repository-qm7jrdpz.js → rpc-533t3k18.js} +5 -5
- package/dist/chunks/{repository-54ma36ye.js → rpc-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-bk4cztra.js → rpc-54sgfqm0.js} +6 -6
- package/dist/chunks/{repository-56gdpj1q.js → rpc-56gdpj1q.js} +2 -2
- package/dist/chunks/{repository-6d58n71n.js → rpc-56sbpqpy.js} +18 -18
- package/dist/chunks/{repository-2fgn2we9.js → rpc-57ez7d0k.js} +9 -9
- package/dist/chunks/{repository-m85aqzgd.js → rpc-59sqkgcz.js} +41 -41
- package/dist/chunks/{repository-5daktx2q.js → rpc-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-x23wrtd4.js → rpc-5dht68aa.js} +16 -16
- package/dist/chunks/{repository-db2txphp.js → rpc-5fn1j13d.js} +17 -17
- package/dist/chunks/{repository-kxzsw107.js → rpc-5qz9vfqb.js} +23 -23
- package/dist/chunks/{repository-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-rjkc8qw5.js → rpc-5tb8a3cn.js} +5 -5
- package/dist/chunks/{repository-zss2mcem.js → rpc-5w0ma60y.js} +8 -8
- package/dist/chunks/{repository-pj8e2ttv.js → rpc-61p2gn3c.js} +48 -48
- package/dist/chunks/{repository-fbjrfmj9.js → rpc-658hk3ar.js} +20 -20
- package/dist/chunks/{repository-669tq793.js → rpc-669tq793.js} +1 -1
- package/dist/chunks/{repository-4xvg8qhq.js → rpc-682rjw8a.js} +87 -87
- package/dist/chunks/{repository-q82chg0w.js → rpc-692kj7w3.js} +37 -37
- package/dist/chunks/{repository-f75xppwz.js → rpc-6d2xvp2z.js} +58 -58
- package/dist/chunks/{repository-xr3n93y1.js → rpc-6g45nwks.js} +9 -9
- package/dist/chunks/{repository-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-v8v68fnp.js → rpc-6p67gzpn.js} +13 -13
- package/dist/chunks/{repository-6pc27hjz.js → rpc-6pc27hjz.js} +2 -2
- package/dist/chunks/{repository-0bmz8k31.js → rpc-6q90rzng.js} +30 -30
- package/dist/chunks/{repository-bhq0jy72.js → rpc-6t37hax9.js} +3 -3
- package/dist/chunks/{repository-yn23vpp6.js → rpc-7537esrs.js} +17 -17
- package/dist/chunks/{repository-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-8h613fcm.js → rpc-7e96yn50.js} +22 -22
- package/dist/chunks/{repository-10w0r48r.js → rpc-7kkv30ab.js} +3 -3
- package/dist/chunks/{repository-g5zdntwf.js → rpc-7yhnk20z.js} +9 -9
- package/dist/chunks/{repository-84txncab.js → rpc-84txncab.js} +1 -1
- package/dist/chunks/{repository-tcezcvh9.js → rpc-89znhe33.js} +4 -4
- package/dist/chunks/{repository-js2zbbsy.js → rpc-8d5kb0gn.js} +10 -10
- package/dist/chunks/{repository-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-ef9qytv4.js → rpc-8d8c4s3b.js} +15 -15
- package/dist/chunks/{repository-cfkxc3zx.js → rpc-8fn17prt.js} +14 -14
- package/dist/chunks/{repository-61d2erc5.js → rpc-8smk45yf.js} +23 -23
- package/dist/chunks/{repository-b7n1errk.js → rpc-8ytx492z.js} +310 -310
- package/dist/chunks/{repository-36mnffrz.js → rpc-8zn2na59.js} +4 -4
- package/dist/chunks/{repository-4pq2ykhk.js → rpc-91a17qdz.js} +9 -9
- package/dist/chunks/{repository-4hzcvfa9.js → rpc-946svjry.js} +19 -19
- package/dist/chunks/{repository-94ek1h2f.js → rpc-94ek1h2f.js} +2 -2
- package/dist/chunks/{repository-hnr8f6ws.js → rpc-96ctqc5x.js} +4 -4
- package/dist/chunks/{repository-pptf5a6z.js → rpc-9cememrc.js} +11 -11
- package/dist/chunks/{repository-t5fcdsyj.js → rpc-9fwpadhv.js} +5 -5
- package/dist/chunks/{repository-2j74qy9w.js → rpc-9gc7vjkx.js} +4 -4
- package/dist/chunks/{repository-s9jd6y68.js → rpc-9gwfnzdc.js} +11 -11
- package/dist/chunks/{repository-ah4v29zr.js → rpc-9vgxsr0f.js} +23 -23
- package/dist/chunks/{repository-y5rf7nzv.js → rpc-a2rpfkac.js} +4 -4
- package/dist/chunks/{repository-wgs8hk86.js → rpc-a3e33rv8.js} +8 -8
- package/dist/chunks/{repository-aaet6srn.js → rpc-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-gp17yma0.js → rpc-aafym81k.js} +26 -26
- package/dist/chunks/{repository-kjnxwy2q.js → rpc-aaz57tz5.js} +9 -9
- package/dist/chunks/{repository-rskbfe93.js → rpc-ahtncqw7.js} +3 -3
- package/dist/chunks/{repository-fad6j005.js → rpc-akrnn5pm.js} +8 -8
- package/dist/chunks/{repository-pnpn4wz1.js → rpc-amzhydp5.js} +17 -17
- package/dist/chunks/{repository-k6a913mc.js → rpc-antesb8a.js} +3 -3
- package/dist/chunks/{repository-81ye6pg3.js → rpc-b18k1zs2.js} +23 -23
- package/dist/chunks/{repository-667yebj2.js → rpc-b38j3whv.js} +47 -47
- package/dist/chunks/{repository-7pr2hkwv.js → rpc-b4p19tx4.js} +5 -5
- package/dist/chunks/{repository-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-74m68t1r.js → rpc-bg7q500h.js} +17 -17
- package/dist/chunks/{repository-ez9bk2es.js → rpc-bgepzekk.js} +10 -10
- package/dist/chunks/{repository-0xgfsmsc.js → rpc-bh4mgjf3.js} +4 -4
- package/dist/chunks/{repository-t8c99pq6.js → rpc-bnae1mpp.js} +187 -187
- package/dist/chunks/{repository-zdqwn290.js → rpc-by4ebpdc.js} +19 -19
- package/dist/chunks/{repository-51f5btjf.js → rpc-c8bydgjz.js} +6 -6
- package/dist/chunks/{repository-8nbxw31j.js → rpc-cezp6vxa.js} +9 -9
- package/dist/chunks/{repository-ckecvw8r.js → rpc-ckecvw8r.js} +2 -2
- package/dist/chunks/{repository-pf2hb43r.js → rpc-cqg8v4c7.js} +5 -5
- package/dist/chunks/{repository-wpzgjbhj.js → rpc-cryfzwrd.js} +33 -33
- package/dist/chunks/{repository-j0dca7h1.js → rpc-ctvmbjvv.js} +36 -36
- package/dist/chunks/{repository-ddg1taeb.js → rpc-czpmk66h.js} +6 -6
- package/dist/chunks/{repository-rwa9kg8s.js → rpc-d0vm0wq8.js} +16 -16
- package/dist/chunks/{repository-ak8wweg5.js → rpc-d2anxpr8.js} +2 -2
- package/dist/chunks/{repository-1n9hcfy3.js → rpc-d3zp2qn8.js} +15 -15
- package/dist/chunks/{repository-vjx0011y.js → rpc-d4w79z61.js} +17 -17
- package/dist/chunks/{repository-j290mkxf.js → rpc-dhqze9vc.js} +24 -24
- package/dist/chunks/{repository-djszqvmq.js → rpc-djszqvmq.js} +2 -2
- package/dist/chunks/{repository-xkntkrq7.js → rpc-dmqcgk4z.js} +5 -5
- package/dist/chunks/{repository-drwq78ky.js → rpc-drwq78ky.js} +1 -1
- package/dist/chunks/{repository-x8e3c47v.js → rpc-dwevmsma.js} +30 -30
- package/dist/chunks/{repository-7545v071.js → rpc-dytv88em.js} +5 -5
- package/dist/chunks/{repository-t550f9t1.js → rpc-eaj1djv9.js} +8 -8
- package/dist/chunks/{repository-6mksg9xh.js → rpc-eb4na3fv.js} +27 -27
- package/dist/chunks/{repository-ecfe7b91.js → rpc-ecfe7b91.js} +2 -2
- package/dist/chunks/{repository-ef5x83kb.js → rpc-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-g5b01x5v.js → rpc-ekyy2mhv.js} +36 -36
- package/dist/chunks/{repository-zcrspsvn.js → rpc-embw8kgh.js} +4 -4
- package/dist/chunks/{repository-14v0t5se.js → rpc-en2dwfny.js} +90 -90
- package/dist/chunks/{repository-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-t8cezs0c.js → rpc-f66bccwn.js} +5 -5
- package/dist/chunks/{repository-mdenj6n2.js → rpc-fb7qthtr.js} +22 -22
- package/dist/chunks/{repository-ys0z6e7b.js → rpc-fcvmnj0r.js} +26 -26
- package/dist/chunks/{repository-ex6sdzkj.js → rpc-fd0e9ebd.js} +13 -13
- package/dist/chunks/{repository-qevyghr7.js → rpc-fdv9msya.js} +5 -5
- package/dist/chunks/{repository-b27vhd2z.js → rpc-fm2qvscf.js} +4 -4
- package/dist/chunks/{repository-fqka1xvk.js → rpc-fvxg17y2.js} +3 -3
- package/dist/chunks/{repository-k91vaj61.js → rpc-fwgga033.js} +4 -4
- package/dist/chunks/{repository-ws0hhf19.js → rpc-fxtmaxyj.js} +12 -12
- package/dist/chunks/{repository-kc72bagp.js → rpc-fzk8ehhv.js} +5 -5
- package/dist/chunks/{repository-cxnbdzcm.js → rpc-g3ntd4xd.js} +50 -50
- package/dist/chunks/{repository-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-rfstt2b7.js → rpc-gmjnk6ep.js} +7 -7
- package/dist/chunks/{repository-gv6a8nnw.js → rpc-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-0zh0x4h1.js → rpc-h2jp4waz.js} +24 -24
- package/dist/chunks/{repository-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-7zrv9dtw.js → rpc-hcqe9dg4.js} +23 -23
- package/dist/chunks/{repository-a4ae1mqs.js → rpc-hekxc47r.js} +1 -1
- package/dist/chunks/{repository-04atd798.js → rpc-hj4aaq0x.js} +4 -4
- package/dist/chunks/{repository-hx5mqagm.js → rpc-hk4xp7sk.js} +54 -54
- package/dist/chunks/{repository-jj3kxevf.js → rpc-hp8gp39b.js} +6 -6
- package/dist/chunks/{repository-mn05vpar.js → rpc-hvajpj5a.js} +17 -17
- package/dist/chunks/{repository-y5df08dr.js → rpc-hx5ww8wt.js} +12 -12
- package/dist/chunks/{repository-9qrdrmps.js → rpc-j2hgmjn3.js} +15 -15
- package/dist/chunks/{repository-j56e64zr.js → rpc-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-0a237mzv.js → rpc-jbega7th.js} +12 -12
- package/dist/chunks/{repository-yqgpt25r.js → rpc-jbkjygfb.js} +32 -32
- package/dist/chunks/{repository-0magjvjs.js → rpc-jc9759m4.js} +17 -17
- package/dist/chunks/{repository-ts1yq6xm.js → rpc-jmttzreg.js} +30 -30
- package/dist/chunks/{repository-23tvs9mh.js → rpc-jrv9zaag.js} +25 -25
- package/dist/chunks/{repository-tt62nkee.js → rpc-k14mz5r3.js} +34 -34
- package/dist/chunks/{repository-k3c624dm.js → rpc-k3c624dm.js} +3 -3
- package/dist/chunks/{repository-5txyz6kk.js → rpc-k8m084bz.js} +9 -9
- package/dist/chunks/{repository-nz569jqt.js → rpc-kbqjp078.js} +5 -5
- package/dist/chunks/{repository-m3fdjcah.js → rpc-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-3xcbwh8b.js → rpc-maff49ax.js} +3 -3
- package/dist/chunks/{repository-z0vv805r.js → rpc-mcbtmp24.js} +34 -34
- package/dist/chunks/{repository-xts7ca3t.js → rpc-mdpssxg0.js} +11 -11
- package/dist/chunks/rpc-mhrcjgnb.js +26 -0
- package/dist/chunks/{repository-dx8av2x7.js → rpc-mjrfwaps.js} +20 -20
- package/dist/chunks/{repository-ee7enzjx.js → rpc-mkeasgba.js} +3 -3
- package/dist/chunks/{repository-apg4ryxk.js → rpc-mkya1vkq.js} +7 -7
- package/dist/chunks/{repository-e0dagena.js → rpc-n1bpmmce.js} +20 -20
- package/dist/chunks/{repository-h57x98jw.js → rpc-n2pdwfck.js} +8 -8
- package/dist/chunks/{repository-436fakxd.js → rpc-n3s1wep9.js} +44 -44
- package/dist/chunks/{repository-0k9hz50x.js → rpc-ndd4s1hb.js} +19 -19
- package/dist/chunks/{repository-qf2587vm.js → rpc-njhxfh55.js} +31 -31
- package/dist/chunks/{repository-pnv527nz.js → rpc-nq7qbqzc.js} +9 -9
- package/dist/chunks/{repository-p1pf9hx4.js → rpc-nxpjk0n4.js} +18 -18
- package/dist/chunks/{repository-bxg2qx57.js → rpc-p1p7yams.js} +4 -4
- package/dist/chunks/{repository-d2czbp48.js → rpc-p6wxjpka.js} +4 -4
- package/dist/chunks/{repository-tj650tt1.js → rpc-p9sy75vy.js} +20 -20
- package/dist/chunks/rpc-pf31ssb9.js +18 -0
- package/dist/chunks/{repository-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{repository-fkdqjgjc.js → rpc-px383m71.js} +23 -23
- package/dist/chunks/{repository-3sfbkq17.js → rpc-q6zw89mm.js} +9 -9
- package/dist/chunks/{repository-c87t5eya.js → rpc-q7dmtnxx.js} +32 -32
- package/dist/chunks/{repository-jw7mqvhb.js → rpc-q83t8ykt.js} +24 -24
- package/dist/chunks/{repository-21y796mf.js → rpc-q8nwh079.js} +15 -15
- package/dist/chunks/{repository-d68cj2ze.js → rpc-q95fwmf1.js} +26 -26
- package/dist/chunks/{repository-tgthxese.js → rpc-qbmejtr1.js} +5 -5
- package/dist/chunks/{repository-bay05q8f.js → rpc-qdwhejxn.js} +16 -16
- package/dist/chunks/{repository-b0v5ywzm.js → rpc-qf2h8j7x.js} +11 -11
- package/dist/chunks/{repository-knxfq3yn.js → rpc-qhhddrhx.js} +13 -13
- package/dist/chunks/{repository-9cr16z8x.js → rpc-qhke4dz0.js} +8 -8
- package/dist/chunks/{repository-cavr175a.js → rpc-qj8eh1ht.js} +4 -4
- package/dist/chunks/{repository-86m00gc1.js → rpc-qmx1h8v8.js} +8 -8
- package/dist/chunks/{repository-a6azfam0.js → rpc-qpbm3ztw.js} +2 -2
- package/dist/chunks/{repository-qsdy395h.js → rpc-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-f6ky630e.js → rpc-qtsqcjpr.js} +38 -38
- package/dist/chunks/{repository-25cs5cen.js → rpc-qvb3nf84.js} +8 -8
- package/dist/chunks/{repository-wqbbhmw9.js → rpc-r11hkjk4.js} +18 -18
- package/dist/chunks/{repository-tqs9jcf6.js → rpc-r3pyn2sd.js} +22 -22
- package/dist/chunks/{repository-73tb2d7t.js → rpc-r5x6zcsm.js} +3 -3
- package/dist/chunks/{repository-z2018skw.js → rpc-rdg24yab.js} +12 -12
- package/dist/chunks/{repository-rdw6cm16.js → rpc-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-mmsj8dfy.js → rpc-rm7hx2h9.js} +21 -21
- package/dist/chunks/{repository-dpja8khg.js → rpc-rsp3dmjs.js} +43 -43
- package/dist/chunks/{repository-f1gpw9yy.js → rpc-rtzzq57v.js} +8 -8
- package/dist/chunks/{repository-0ztvbm79.js → rpc-rz9de3a5.js} +29 -29
- package/dist/chunks/{repository-fmqp2bpe.js → rpc-s02jbxs5.js} +27 -27
- package/dist/chunks/{repository-4f06rze2.js → rpc-s2csw21s.js} +10 -10
- package/dist/chunks/{repository-yt0fqk68.js → rpc-s8zy8myc.js} +5 -5
- package/dist/chunks/{repository-f346y1sz.js → rpc-sn70db0p.js} +10 -10
- package/dist/chunks/{repository-6t45mx4g.js → rpc-snf13aa5.js} +24 -24
- package/dist/chunks/{repository-40v6kns3.js → rpc-syaeh5dc.js} +9 -9
- package/dist/chunks/{repository-s6sgn3gb.js → rpc-sz63pebb.js} +26 -26
- package/dist/chunks/{repository-6b8mt4qe.js → rpc-t1jms00y.js} +18 -18
- package/dist/chunks/{repository-rzecepek.js → rpc-t43fmngk.js} +10 -10
- package/dist/chunks/{repository-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-84npfg6g.js → rpc-tbdvezg6.js} +22 -22
- package/dist/chunks/{repository-rpt1dgh1.js → rpc-tbwm0nt3.js} +11 -11
- package/dist/chunks/{repository-tdstcens.js → rpc-tdstcens.js} +1 -1
- package/dist/chunks/{repository-pa8pe2x7.js → rpc-tpw6cwsb.js} +8 -8
- package/dist/chunks/{repository-tvtrv512.js → rpc-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-cegyq325.js → rpc-tw7s424j.js} +5 -5
- package/dist/chunks/{repository-smzj8rfw.js → rpc-tznb5qaq.js} +25 -25
- package/dist/chunks/{repository-hr7n7dfk.js → rpc-v2b68ckw.js} +39 -39
- package/dist/chunks/{repository-ve0yqpdc.js → rpc-v9achbqy.js} +18 -18
- package/dist/chunks/{repository-5rf1rhax.js → rpc-va7p1h3t.js} +24 -24
- package/dist/chunks/{repository-veqvce7d.js → rpc-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-0v53mg2y.js → rpc-vncycja5.js} +4 -4
- package/dist/chunks/{repository-kg3dqxfj.js → rpc-vnx05bne.js} +3 -3
- package/dist/chunks/{repository-krswtk6s.js → rpc-vrffbp44.js} +6 -6
- package/dist/chunks/{repository-b7sdn3j2.js → rpc-vvdghh7g.js} +11 -11
- package/dist/chunks/{repository-kxgkk26h.js → rpc-vw19fjw8.js} +15 -15
- package/dist/chunks/{repository-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-vzs5sf6e.js → rpc-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-ttqxpwhe.js → rpc-w1xvrbj5.js} +20 -20
- package/dist/chunks/{repository-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-pdbx26ag.js → rpc-w547y7sk.js} +7 -7
- package/dist/chunks/{repository-f58hpvk1.js → rpc-w6gfe054.js} +10 -10
- package/dist/chunks/{repository-2hkadfk1.js → rpc-w7w2jjhx.js} +20 -20
- package/dist/chunks/{repository-fsbk27r1.js → rpc-w9vf9qqj.js} +9 -9
- package/dist/chunks/{repository-qjnxxf51.js → rpc-wbkyxrgf.js} +5 -5
- package/dist/chunks/{repository-wd3x2cqz.js → rpc-wd3x2cqz.js} +2 -2
- package/dist/chunks/{repository-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{repository-2rahks1y.js → rpc-wdr62gh7.js} +32 -32
- package/dist/chunks/{repository-82gfdtdv.js → rpc-wee23531.js} +11 -11
- package/dist/chunks/{repository-6gb6ah6k.js → rpc-wg9j838r.js} +1 -1
- package/dist/chunks/{repository-fdw6x2n6.js → rpc-wgq3tw2n.js} +32 -32
- package/dist/chunks/{repository-82rhge12.js → rpc-wk5z6jzv.js} +9 -9
- package/dist/chunks/{repository-ahjyxdwj.js → rpc-wnzb6xvf.js} +15 -15
- package/dist/chunks/{repository-pccq72bz.js → rpc-wq4mmp7m.js} +4 -4
- package/dist/chunks/{repository-1dak9s0j.js → rpc-wtcb6vs4.js} +24 -24
- package/dist/chunks/{repository-60ycj86c.js → rpc-wxfc6s8g.js} +21 -21
- package/dist/chunks/{repository-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-wzvzbcsg.js → rpc-x6p7tmnf.js} +12 -12
- package/dist/chunks/{repository-8e7h0d3g.js → rpc-xe1rq30m.js} +1 -1
- package/dist/chunks/{repository-zg91g03d.js → rpc-xef3vhss.js} +33 -33
- package/dist/chunks/{repository-xbnvh8b8.js → rpc-xmhzgq26.js} +17 -17
- package/dist/chunks/{repository-3373zw91.js → rpc-xvwyzs5x.js} +11 -11
- package/dist/chunks/{repository-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-dnxkq42g.js → rpc-y6bex35g.js} +4 -4
- package/dist/chunks/{repository-y71avatq.js → rpc-y71avatq.js} +1 -1
- package/dist/chunks/{repository-mm244bga.js → rpc-y82bc83e.js} +30 -30
- package/dist/chunks/{repository-x1fz7ram.js → rpc-y9x49r01.js} +15 -15
- package/dist/chunks/{repository-5jr1zcyz.js → rpc-yc3z08e9.js} +43 -43
- package/dist/chunks/{repository-xkyyaqys.js → rpc-ydkeg25k.js} +13 -13
- package/dist/chunks/{repository-d7fh38br.js → rpc-ygpp3mx7.js} +11 -11
- package/dist/chunks/{repository-ckb64qrr.js → rpc-ynpc68wq.js} +19 -19
- package/dist/chunks/{repository-f2n192rq.js → rpc-yp2x3t23.js} +4 -4
- package/dist/chunks/{repository-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-yrznvahk.js → rpc-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-7wv6t35z.js → rpc-yv1rk2qz.js} +11 -11
- package/dist/chunks/{repository-z07pqspn.js → rpc-z07pqspn.js} +3 -3
- package/dist/chunks/{repository-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-bkgg21ch.js → rpc-z1q79rtb.js} +8 -8
- package/dist/chunks/{repository-z63w68vq.js → rpc-z63w68vq.js} +2 -2
- package/dist/chunks/{repository-zeh9ct20.js → rpc-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-5qedxm44.js → rpc-zyyvvwzg.js} +11 -11
- package/dist/chunks/{repository-sqdvw4xb.js → rpc-zzrx66n5.js} +6 -6
- 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 +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +123 -123
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +99 -99
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- 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 +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- 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 +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +126 -126
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/repository-3snht0cr.js +0 -252
- package/dist/chunks/repository-6evwh1wj.js +0 -26
- package/dist/chunks/repository-by5v678g.js +0 -18
- /package/dist/chunks/{repository-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-34c7v6d4.js → rpc-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-5qd3pb7m.js → rpc-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → rpc-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → rpc-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./rpc-3zn4sg2c.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-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: () => Input5,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin7,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name5
|
|
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 name5 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
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 Input5 = 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 Input10 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input5.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 Plugin7 = {
|
|
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* Service70;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name5,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input5,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin13 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name5,
|
|
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 { name5, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input5, Plugin7, extractTextFromHTML2, exports_webfetch };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service26,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service26 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service26.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service26, awaitActivation2, exports_service };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-s2csw21s.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-hj4aaq0x.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./rpc-jmttzreg.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-y6bex35g.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID9,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-y82bc83e.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service39
|
|
21
|
+
} from "./rpc-qmx1h8v8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID8,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-q7dmtnxx.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
ID5,
|
|
29
|
+
Input14,
|
|
30
30
|
Response2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./rpc-jrv9zaag.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/opencode.ts
|
|
34
34
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -44,7 +44,7 @@ var methodID = MethodID2.make("device");
|
|
|
44
44
|
var RemoteResponse = Schema.Struct({
|
|
45
45
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
46
46
|
websearch: Schema.Struct({
|
|
47
|
-
providerID:
|
|
47
|
+
providerID: ID5
|
|
48
48
|
}).pipe(Schema.optional),
|
|
49
49
|
mcp: Schema.Struct({
|
|
50
50
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -96,7 +96,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
96
96
|
}
|
|
97
97
|
function oauth(http) {
|
|
98
98
|
return {
|
|
99
|
-
integrationID:
|
|
99
|
+
integrationID: ID9.make("opencode"),
|
|
100
100
|
method: {
|
|
101
101
|
id: methodID,
|
|
102
102
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var OpencodePlugin2 = define({
|
|
|
163
163
|
const bus = yield* Service83;
|
|
164
164
|
const client = yield* HttpClient.HttpClient;
|
|
165
165
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
166
|
-
const managed = yield*
|
|
166
|
+
const managed = yield* Service39;
|
|
167
167
|
const scope = yield* Scope.Scope;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -212,7 +212,7 @@ var OpencodePlugin2 = define({
|
|
|
212
212
|
providers.update(providerID, (provider) => {
|
|
213
213
|
if (source && source.provider !== provider)
|
|
214
214
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
215
|
-
provider.integrationID =
|
|
215
|
+
provider.integrationID = ID9.make("opencode");
|
|
216
216
|
if (item.canonical !== undefined)
|
|
217
217
|
provider.canonical = item.canonical;
|
|
218
218
|
if (item.name !== undefined)
|
|
@@ -282,7 +282,7 @@ var OpencodePlugin2 = define({
|
|
|
282
282
|
sourceConnection: snapshot.connection
|
|
283
283
|
});
|
|
284
284
|
}
|
|
285
|
-
const item = providers.get(
|
|
285
|
+
const item = providers.get(ID8.opencode);
|
|
286
286
|
if (!item)
|
|
287
287
|
return;
|
|
288
288
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -294,7 +294,7 @@ var OpencodePlugin2 = define({
|
|
|
294
294
|
});
|
|
295
295
|
});
|
|
296
296
|
yield* ctx.model.transform((models) => {
|
|
297
|
-
const item = models.provider.get(
|
|
297
|
+
const item = models.provider.get(ID8.opencode);
|
|
298
298
|
if (!item)
|
|
299
299
|
return;
|
|
300
300
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -328,7 +328,7 @@ var OpencodePlugin2 = define({
|
|
|
328
328
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
329
329
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
330
330
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
331
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
331
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
332
332
|
query: input.query,
|
|
333
333
|
providerID: descriptor.providerID
|
|
334
334
|
}));
|
|
@@ -383,10 +383,10 @@ var OpencodePlugin2 = define({
|
|
|
383
383
|
});
|
|
384
384
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
385
385
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
386
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
386
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID8.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
387
387
|
});
|
|
388
388
|
yield* guard(snapshot);
|
|
389
|
-
yield* bus.subscribe(
|
|
389
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
390
390
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
391
391
|
})
|
|
392
392
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-s2csw21s.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin37,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin37 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin36 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin36 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint2, Plugin37, exports_tinyfish };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-hj4aaq0x.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-y6bex35g.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID9,
|
|
14
|
+
Service66,
|
|
15
|
+
node70,
|
|
16
|
+
Event16
|
|
17
|
+
} from "./rpc-y82bc83e.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service78,
|
|
20
|
+
node82
|
|
21
|
+
} from "./rpc-5dht68aa.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./rpc-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event15,
|
|
41
|
+
ID: () => ID8,
|
|
42
|
+
Info: () => Info23,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
|
-
Request: () =>
|
|
46
|
-
Service: () =>
|
|
45
|
+
Request: () => Request2,
|
|
46
|
+
Service: () => Service65,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node69,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event15 } from "@opencode/schema/provider";
|
|
68
|
+
var ID8 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
206
206
|
return result;
|
|
207
207
|
}, new Map).values());
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var Request2 = Provider.Request;
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info23 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service65 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,10 +225,10 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
228
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service83;
|
|
230
|
-
const integrations = yield*
|
|
231
|
-
const location = yield*
|
|
230
|
+
const integrations = yield* Service66;
|
|
231
|
+
const location = yield* Service78;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
234
234
|
initial: () => new Map,
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info23.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID9.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service65.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node69 = makeLocationNode({ service: Service65, layer, deps: [node87, node70, node82] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -625,4 +625,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
625
625
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
626
626
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
627
627
|
|
|
628
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
628
|
+
export { rewrite2, native2, exports_aisdk_native, ID8, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info23, Service65, node69, exports_provider3, Event15 };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-k3c624dm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service64,
|
|
17
|
+
node68
|
|
18
|
+
} from "./rpc-w9vf9qqj.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service75,
|
|
21
|
+
node79
|
|
22
|
+
} from "./rpc-166kng33.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./rpc-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./rpc-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error4,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service63,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node67
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service63 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service75;
|
|
58
|
+
const image = yield* Service64;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service63.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node67 = makeLocationNode({
|
|
277
|
+
service: Service63,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node79, node68]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service63, node67, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-s2csw21s.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-hj4aaq0x.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./rpc-jmttzreg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-y82bc83e.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID8
|
|
17
|
+
} from "./rpc-q7dmtnxx.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID7,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./rpc-5146pxbw.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./rpc-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID8.make("digitalocean");
|
|
31
|
+
var integrationID = ID9.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID7.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|