@opencode/core 0.0.0-dev-20257 → 0.0.0-dev-20258
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/{tool-tg11ymz8.js → file-mutation-00dwsy4m.js} +5 -5
- package/dist/chunks/{tool-brbv3dp1.js → file-mutation-0bgjywmv.js} +31 -31
- package/dist/chunks/{tool-yw7byxdn.js → file-mutation-0faexqjd.js} +14 -14
- package/dist/chunks/{tool-4eajfyk1.js → file-mutation-0gsevz91.js} +11 -11
- package/dist/chunks/{tool-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-6ha1y7f7.js → file-mutation-0xhzw85s.js} +10 -10
- package/dist/chunks/{tool-0v0g5gxd.js → file-mutation-10ct4jct.js} +9 -9
- package/dist/chunks/{tool-n0tq777j.js → file-mutation-166kng33.js} +7 -7
- package/dist/chunks/{tool-8rn5fqsk.js → file-mutation-16hbcy11.js} +82 -82
- package/dist/chunks/{tool-8265666q.js → file-mutation-16nnx1gk.js} +7 -7
- package/dist/chunks/{tool-yp2x3t23.js → file-mutation-1acjjqhc.js} +4 -4
- package/dist/chunks/{tool-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-8sze2n9a.js → file-mutation-1p07q0wb.js} +8 -8
- package/dist/chunks/{tool-rbedxwk0.js → file-mutation-1v8yrmg3.js} +7 -7
- package/dist/chunks/{tool-yv16hj29.js → file-mutation-21jq7q3m.js} +17 -17
- package/dist/chunks/{tool-21r38tys.js → file-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{tool-nqhs97wk.js → file-mutation-268ye7pn.js} +11 -11
- package/dist/chunks/{tool-4b636nqp.js → file-mutation-26xt9qdc.js} +12 -12
- package/dist/chunks/{tool-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-034466pj.js → file-mutation-2a8qs4ht.js} +30 -30
- package/dist/chunks/{tool-yt55jd1w.js → file-mutation-2g4s1v4g.js} +14 -14
- package/dist/chunks/{tool-95yxn8sy.js → file-mutation-2qj495rm.js} +3 -3
- package/dist/chunks/{tool-1dmvbadb.js → file-mutation-2tn83n21.js} +15 -15
- package/dist/chunks/{tool-qvyqyy4a.js → file-mutation-2yvgrdfb.js} +36 -36
- package/dist/chunks/{tool-aasthdk7.js → file-mutation-30bfr999.js} +22 -22
- package/dist/chunks/{tool-df918xjf.js → file-mutation-32yyat8p.js} +13 -13
- package/dist/chunks/{tool-psxwg2jt.js → file-mutation-353txv1b.js} +49 -49
- package/dist/chunks/{tool-72cm32h1.js → file-mutation-37ccqw5v.js} +6 -6
- package/dist/chunks/{tool-rsmztf11.js → file-mutation-39gr99av.js} +25 -25
- package/dist/chunks/{tool-ksz6c1e3.js → file-mutation-39h29zav.js} +16 -16
- package/dist/chunks/{tool-6t6ktgh6.js → file-mutation-3dqa613f.js} +20 -20
- package/dist/chunks/{tool-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-ka42hk6n.js → file-mutation-3jhmeyjv.js} +17 -17
- package/dist/chunks/{tool-eg546c9f.js → file-mutation-3kdnsp7j.js} +30 -30
- package/dist/chunks/{tool-194bm8bb.js → file-mutation-3mzqjafy.js} +30 -30
- package/dist/chunks/{tool-1976gz4t.js → file-mutation-3n65gszx.js} +27 -27
- package/dist/chunks/{tool-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-6yf2w8yd.js → file-mutation-3tjs0rqc.js} +10 -10
- package/dist/chunks/{tool-y4rjczph.js → file-mutation-3tq7spzn.js} +33 -33
- package/dist/chunks/{tool-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{tool-h4z1mxff.js → file-mutation-49exe669.js} +5 -5
- package/dist/chunks/{tool-5ck8tfnb.js → file-mutation-4a9qdbmr.js} +8 -8
- package/dist/chunks/{tool-tpgzbb02.js → file-mutation-4dzt4m50.js} +20 -20
- package/dist/chunks/{tool-0n945rvh.js → file-mutation-4faj2s9d.js} +9 -9
- package/dist/chunks/{tool-syg1g1yq.js → file-mutation-4mwnfcqv.js} +22 -22
- package/dist/chunks/{tool-wkt2y4hc.js → file-mutation-51gpjtn8.js} +29 -29
- package/dist/chunks/{tool-aw0zj34j.js → file-mutation-56wazr8f.js} +20 -20
- package/dist/chunks/{tool-xfkkasph.js → file-mutation-57b9ws8p.js} +7 -7
- package/dist/chunks/{tool-57ez7d0k.js → file-mutation-57ez7d0k.js} +2 -2
- package/dist/chunks/{tool-mxck01x7.js → file-mutation-58cp5g22.js} +27 -27
- package/dist/chunks/{tool-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-grfjx99d.js → file-mutation-5gt7p4qf.js} +31 -31
- package/dist/chunks/{tool-e3qxr5gk.js → file-mutation-5qd3pb7m.js} +2 -2
- package/dist/chunks/{tool-bdqrk2vk.js → file-mutation-5qkxfyep.js} +4 -4
- package/dist/chunks/{tool-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-dth0kp2g.js → file-mutation-5tbe7xwy.js} +8 -8
- package/dist/chunks/{tool-424p9vrf.js → file-mutation-607q5haz.js} +5 -5
- package/dist/chunks/{tool-669tq793.js → file-mutation-669tq793.js} +1 -1
- package/dist/chunks/{tool-qz49fwgp.js → file-mutation-6ersrjne.js} +4 -4
- package/dist/chunks/{tool-6msgmcgs.js → file-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{tool-n2bwe27v.js → file-mutation-6qdk3m7n.js} +17 -17
- package/dist/chunks/{tool-2wby3dfy.js → file-mutation-6tar641x.js} +30 -30
- package/dist/chunks/{tool-sg7et9cp.js → file-mutation-6wf4ng0k.js} +9 -9
- package/dist/chunks/{tool-mvfsc1pv.js → file-mutation-73tb2d7t.js} +3 -3
- package/dist/chunks/file-mutation-786aqz46.js +507 -0
- package/dist/chunks/{tool-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-ezfsjjcb.js → file-mutation-7fpg8ynt.js} +24 -24
- package/dist/chunks/{tool-9aqmr64f.js → file-mutation-7he179h5.js} +5 -5
- package/dist/chunks/{tool-3wgsv8e5.js → file-mutation-7tbm9b7t.js} +3 -3
- package/dist/chunks/{tool-84txncab.js → file-mutation-84txncab.js} +1 -1
- package/dist/chunks/{tool-5avn8fxx.js → file-mutation-859g3c1y.js} +15 -15
- package/dist/chunks/{tool-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-g5agzp2h.js → file-mutation-8zh4h089.js} +5 -5
- package/dist/chunks/{tool-q3t37ft6.js → file-mutation-91m9hd8f.js} +3 -3
- package/dist/chunks/{tool-tcay1cqt.js → file-mutation-93ygb5af.js} +6 -6
- package/dist/chunks/{tool-gfvb90ym.js → file-mutation-94ek1h2f.js} +2 -2
- package/dist/chunks/{tool-tz4t78ya.js → file-mutation-9pvvf6k3.js} +13 -13
- package/dist/chunks/{tool-40grcexz.js → file-mutation-a6h4f4cc.js} +23 -23
- package/dist/chunks/{tool-4718644a.js → file-mutation-a8taf697.js} +20 -20
- package/dist/chunks/{tool-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-dsr5k85q.js → file-mutation-aajkjtdc.js} +26 -26
- package/dist/chunks/{tool-809ngxdw.js → file-mutation-am06q2ww.js} +18 -18
- package/dist/chunks/{tool-faz569s1.js → file-mutation-arws8trd.js} +4 -4
- package/dist/chunks/{tool-afmxnawc.js → file-mutation-aspe0h1z.js} +35 -35
- package/dist/chunks/{tool-pmjcgjf6.js → file-mutation-ax9wnt5n.js} +5 -5
- package/dist/chunks/{tool-jca4demv.js → file-mutation-b07rpg7m.js} +2 -2
- package/dist/chunks/{tool-9jk221y9.js → file-mutation-b2g6p7zb.js} +9 -9
- package/dist/chunks/{tool-b4k87etx.js → file-mutation-b43pks6k.js} +29 -29
- package/dist/chunks/{tool-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-9dvrwmbd.js → file-mutation-b7hkstf3.js} +14 -14
- package/dist/chunks/{tool-kftnayyw.js → file-mutation-b9ykj7ya.js} +10 -10
- package/dist/chunks/{tool-fk1tprft.js → file-mutation-ba1mv5p0.js} +3 -3
- package/dist/chunks/{tool-xever9ax.js → file-mutation-bg9wbsx0.js} +34 -34
- package/dist/chunks/{tool-4acqjqp7.js → file-mutation-bj8e23yz.js} +24 -24
- package/dist/chunks/{tool-c8c0e7p2.js → file-mutation-bmb3ej5t.js} +4 -4
- package/dist/chunks/{tool-ktwybt29.js → file-mutation-brnagsee.js} +22 -22
- package/dist/chunks/{tool-bne83k22.js → file-mutation-bt3qejb9.js} +14 -14
- package/dist/chunks/{tool-ydgy0jv4.js → file-mutation-c4y5a9cq.js} +8 -8
- package/dist/chunks/{tool-wyr36rym.js → file-mutation-c9tf7zzd.js} +24 -24
- package/dist/chunks/{tool-qsgng9yw.js → file-mutation-cakxjwmg.js} +11 -11
- package/dist/chunks/{tool-67582959.js → file-mutation-chbxjcn8.js} +9 -9
- package/dist/chunks/{tool-54tcyq79.js → file-mutation-ckecvw8r.js} +2 -2
- package/dist/chunks/{tool-vdtperbh.js → file-mutation-cp6we9sf.js} +5 -5
- package/dist/chunks/{tool-ewrs59eb.js → file-mutation-cvt7z5t2.js} +35 -35
- package/dist/chunks/{tool-d4he2qe1.js → file-mutation-cwa6csj7.js} +9 -9
- package/dist/chunks/{tool-2tba787a.js → file-mutation-d48vtfkp.js} +20 -20
- package/dist/chunks/{tool-tnwevgky.js → file-mutation-dd2f6nst.js} +163 -163
- package/dist/chunks/{tool-y71avatq.js → file-mutation-dpkg50ah.js} +4 -4
- package/dist/chunks/{tool-gy1z56yw.js → file-mutation-dwbhttdj.js} +15 -15
- package/dist/chunks/{tool-x749c8ap.js → file-mutation-e1evkfpa.js} +23 -23
- package/dist/chunks/{tool-2m1k0ztt.js → file-mutation-e2xc3qzp.js} +18 -18
- package/dist/chunks/{tool-rhjbct0v.js → file-mutation-eaj1djv9.js} +8 -8
- package/dist/chunks/{tool-ecfe7b91.js → file-mutation-ecfe7b91.js} +2 -2
- package/dist/chunks/{tool-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-p7emx7qr.js → file-mutation-ef7g0hvy.js} +14 -14
- package/dist/chunks/{tool-g6af17tj.js → file-mutation-ekmqrdxg.js} +13 -13
- package/dist/chunks/{tool-zztd99f7.js → file-mutation-eq1jxjww.js} +48 -48
- package/dist/chunks/{tool-pzmgz1kt.js → file-mutation-ern4x662.js} +20 -20
- package/dist/chunks/{tool-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-xhs54hgc.js → file-mutation-eza7vwvm.js} +30 -30
- package/dist/chunks/{tool-5xnnt85z.js → file-mutation-f0ketqja.js} +25 -25
- package/dist/chunks/{tool-w8n0e5aw.js → file-mutation-f6982a3r.js} +20 -20
- package/dist/chunks/{tool-bbertzxx.js → file-mutation-f6hh4wxd.js} +24 -24
- package/dist/chunks/{tool-t7n9q6bq.js → file-mutation-f73rjn58.js} +4 -4
- package/dist/chunks/{tool-9a55rck2.js → file-mutation-fbx7nax9.js} +16 -16
- package/dist/chunks/{tool-pnv527nz.js → file-mutation-fhs97t90.js} +9 -9
- package/dist/chunks/{tool-vvaq8bb8.js → file-mutation-g1vn8w63.js} +7 -7
- package/dist/chunks/{tool-hxxwhazt.js → file-mutation-g33ft7mf.js} +20 -20
- package/dist/chunks/{tool-bhz5rt2a.js → file-mutation-g8bxbgc5.js} +3 -3
- package/dist/chunks/{tool-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-0egx9fcg.js → file-mutation-gnra7rc5.js} +12 -12
- package/dist/chunks/{tool-qzzwmwsb.js → file-mutation-gnxy3td6.js} +24 -24
- package/dist/chunks/{tool-gv6a8nnw.js → file-mutation-gv6a8nnw.js} +2 -2
- package/dist/chunks/{tool-8qx87br5.js → file-mutation-gv6eg1zh.js} +23 -23
- package/dist/chunks/{tool-391zmw43.js → file-mutation-gxv8bn46.js} +53 -53
- package/dist/chunks/{tool-qthggnn3.js → file-mutation-h1nf4jgx.js} +18 -18
- package/dist/chunks/{tool-f32czd11.js → file-mutation-h2r7bbkd.js} +11 -11
- package/dist/chunks/{tool-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-946c90tq.js → file-mutation-hcsj8c5f.js} +8 -8
- package/dist/chunks/{tool-znsx74x0.js → file-mutation-hekxc47r.js} +1 -1
- package/dist/chunks/{tool-a3j192et.js → file-mutation-hjtdmxqs.js} +17 -17
- package/dist/chunks/{tool-t5eds39s.js → file-mutation-hm9gfxca.js} +25 -25
- package/dist/chunks/{tool-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-txmctbw7.js → file-mutation-j67jnjt0.js} +5 -5
- package/dist/chunks/{tool-bct739vz.js → file-mutation-j83byb14.js} +4 -4
- package/dist/chunks/{tool-cnvcdvk7.js → file-mutation-jarn1zxe.js} +6 -6
- package/dist/chunks/{tool-ngr3dbwj.js → file-mutation-jj5netzx.js} +9 -9
- package/dist/chunks/{tool-asmesk1c.js → file-mutation-jmhdpeq2.js} +41 -41
- package/dist/chunks/{tool-qpbc7zwf.js → file-mutation-jsb3pxss.js} +8 -8
- package/dist/chunks/{tool-axmvebxj.js → file-mutation-jw80jp6b.js} +21 -21
- package/dist/chunks/{tool-f9v45azf.js → file-mutation-jy8m2ksj.js} +27 -27
- package/dist/chunks/{tool-csc4d3td.js → file-mutation-jy9e27y0.js} +9 -9
- package/dist/chunks/{tool-cycpek8a.js → file-mutation-k18pbb1y.js} +8 -8
- package/dist/chunks/{tool-f5gy8qwh.js → file-mutation-k1qrnqst.js} +8 -8
- package/dist/chunks/{tool-k3c624dm.js → file-mutation-k3c624dm.js} +3 -3
- package/dist/chunks/{tool-sd321mms.js → file-mutation-k648p9r6.js} +4 -4
- package/dist/chunks/{tool-11tc0n79.js → file-mutation-k9j777qh.js} +4 -4
- package/dist/chunks/{tool-ttk3mwgy.js → file-mutation-kda7zgrv.js} +11 -11
- package/dist/chunks/{tool-f4stfc8j.js → file-mutation-kj8qwk00.js} +11 -11
- package/dist/chunks/{tool-vbv8dfnm.js → file-mutation-kjbzsbsj.js} +20 -20
- package/dist/chunks/{tool-s81k1a76.js → file-mutation-km0wbgkx.js} +13 -13
- package/dist/chunks/{tool-3y576xey.js → file-mutation-kpq3n5w9.js} +46 -46
- package/dist/chunks/{tool-4bee6ad1.js → file-mutation-kqxvsf2f.js} +11 -11
- package/dist/chunks/{tool-296y6fm3.js → file-mutation-ky3ws345.js} +16 -16
- package/dist/chunks/{tool-qbqbaz6q.js → file-mutation-kzc3h1h3.js} +4 -4
- package/dist/chunks/{tool-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
- package/dist/chunks/{tool-yj0c5cmr.js → file-mutation-m7h4c5p1.js} +24 -24
- package/dist/chunks/{tool-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-18eb7gxs.js → file-mutation-mafgb6f8.js} +11 -11
- package/dist/chunks/{tool-6tb4xv4d.js → file-mutation-mepdzt2d.js} +11 -11
- package/dist/chunks/{tool-56gdpj1q.js → file-mutation-mfqp6xfm.js} +6 -6
- package/dist/chunks/{tool-m5gtchbr.js → file-mutation-mksgfzgs.js} +3 -3
- package/dist/chunks/{tool-8az6wgtc.js → file-mutation-mzs8vpd7.js} +18 -18
- package/dist/chunks/{tool-q5dgj24k.js → file-mutation-n064zhq3.js} +15 -15
- package/dist/chunks/{tool-njhqdk9p.js → file-mutation-n37c4crj.js} +8 -8
- package/dist/chunks/{tool-1msf33w2.js → file-mutation-n3hytwrq.js} +9 -9
- package/dist/chunks/{tool-w7jh0eam.js → file-mutation-ny6qhpy6.js} +1 -1
- package/dist/chunks/{tool-5mtzsd3b.js → file-mutation-nzyhnfxz.js} +4 -4
- package/dist/chunks/{tool-yt0fqk68.js → file-mutation-p44d8wdy.js} +5 -5
- package/dist/chunks/{tool-gbny3ebw.js → file-mutation-p6czja74.js} +5 -5
- package/dist/chunks/{tool-h9wp8z5w.js → file-mutation-p6wxjpka.js} +4 -4
- package/dist/chunks/{tool-em3h5ktn.js → file-mutation-pcxghkgz.js} +4 -4
- package/dist/chunks/{tool-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{tool-s7va8ds3.js → file-mutation-pwsepaaz.js} +20 -20
- package/dist/chunks/{tool-ehjy287r.js → file-mutation-px0fvt7x.js} +3 -3
- package/dist/chunks/{tool-jvvc3tfq.js → file-mutation-px76j0pk.js} +9 -9
- package/dist/chunks/{tool-36sqq72v.js → file-mutation-q752a12t.js} +18 -18
- package/dist/chunks/{tool-a7ntt1km.js → file-mutation-qccp8e4s.js} +41 -41
- package/dist/chunks/{tool-7k1k30bt.js → file-mutation-qcdf9a5m.js} +1 -1
- package/dist/chunks/{tool-01mtfcwf.js → file-mutation-qezw1pf5.js} +44 -44
- package/dist/chunks/file-mutation-qfq4bwrq.js +252 -0
- package/dist/chunks/{tool-2k8khapm.js → file-mutation-qgn6gcr1.js} +5 -5
- package/dist/chunks/{tool-fbk6jmjr.js → file-mutation-qjssfwbr.js} +11 -11
- package/dist/chunks/{tool-m82n3tcb.js → file-mutation-qka5et1g.js} +11 -11
- package/dist/chunks/{tool-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-7rwqf82v.js → file-mutation-qvb3nf84.js} +8 -8
- package/dist/chunks/{tool-jyzvwcc3.js → file-mutation-qz3bnhk3.js} +82 -82
- package/dist/chunks/{tool-wk7hydj3.js → file-mutation-r68mmbn4.js} +11 -11
- package/dist/chunks/{tool-175m3jx7.js → file-mutation-r6f1b890.js} +21 -21
- package/dist/chunks/file-mutation-rap9a73h.js +18 -0
- package/dist/chunks/{tool-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-jjhdrc4d.js → file-mutation-rpmwkvmp.js} +32 -32
- package/dist/chunks/{tool-pwk60xzd.js → file-mutation-rrtn0typ.js} +29 -29
- package/dist/chunks/{tool-5dhv185w.js → file-mutation-rwyhredf.js} +33 -33
- package/dist/chunks/{tool-a2ew8a62.js → file-mutation-ryr25ayn.js} +4 -4
- package/dist/chunks/{tool-75hmra9r.js → file-mutation-s5pc7fga.js} +10 -10
- package/dist/chunks/{tool-9jcc4y49.js → file-mutation-shjx5epx.js} +11 -11
- package/dist/chunks/{tool-w1p328vv.js → file-mutation-smm3c46c.js} +11 -11
- package/dist/chunks/{tool-na3vr06v.js → file-mutation-sxra90qj.js} +7 -7
- package/dist/chunks/{tool-6ab7jrdn.js → file-mutation-sygyr1wa.js} +13 -13
- package/dist/chunks/{tool-rmm45jmv.js → file-mutation-sznyev98.js} +5 -5
- package/dist/chunks/{tool-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{tool-a9rnddwt.js → file-mutation-tkyqje11.js} +39 -39
- package/dist/chunks/{tool-p37cw4rj.js → file-mutation-tpw6cwsb.js} +8 -8
- package/dist/chunks/{tool-7v1rs999.js → file-mutation-trvrc289.js} +17 -17
- package/dist/chunks/{tool-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{tool-2qp6y8xf.js → file-mutation-tz2bjj40.js} +5 -5
- package/dist/chunks/{tool-amxsn76y.js → file-mutation-v68astsv.js} +9 -9
- package/dist/chunks/{tool-41ykdtjg.js → file-mutation-v8ekj78e.js} +70 -70
- package/dist/chunks/{tool-rwt25hr0.js → file-mutation-v8tfdbmx.js} +11 -11
- package/dist/chunks/{tool-3r7whzgv.js → file-mutation-vbr7z2an.js} +7 -7
- package/dist/chunks/{tool-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-espax8zg.js → file-mutation-vfjhn2wd.js} +4 -4
- package/dist/chunks/{tool-2c73s09s.js → file-mutation-vhn9g06f.js} +11 -11
- package/dist/chunks/{tool-f5j4h519.js → file-mutation-vkqnm9g8.js} +30 -30
- package/dist/chunks/{tool-zs59ffwg.js → file-mutation-vrtvrq7g.js} +8 -8
- package/dist/chunks/{tool-pa719ayw.js → file-mutation-vt5565qe.js} +3 -3
- package/dist/chunks/{tool-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{tool-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{tool-4bbjkqbv.js → file-mutation-w2fehx9e.js} +15 -15
- package/dist/chunks/{tool-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-d45ca2b9.js → file-mutation-w7nc8r38.js} +13 -13
- package/dist/chunks/{tool-35zcj8ny.js → file-mutation-w8ferkse.js} +10 -10
- package/dist/chunks/{tool-qte5z7bc.js → file-mutation-wbkyxrgf.js} +5 -5
- package/dist/chunks/{tool-q9m41f22.js → file-mutation-wbyb4rcs.js} +15 -15
- package/dist/chunks/{tool-psazpmmj.js → file-mutation-wd3x2cqz.js} +2 -2
- package/dist/chunks/{tool-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/file-mutation-wjf1m7fj.js +26 -0
- package/dist/chunks/{tool-xh089592.js → file-mutation-wmt3wqce.js} +5 -5
- package/dist/chunks/{tool-ek9e68b4.js → file-mutation-wyxfthk3.js} +15 -15
- package/dist/chunks/{tool-4khtewc0.js → file-mutation-wzk244zq.js} +43 -43
- package/dist/chunks/{tool-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{tool-eacc2dt9.js → file-mutation-x1gbxjx5.js} +11 -11
- package/dist/chunks/{tool-9y90g72n.js → file-mutation-x37axz56.js} +23 -23
- package/dist/chunks/{tool-d7hv7zmm.js → file-mutation-x4p2gnwd.js} +10 -10
- package/dist/chunks/{tool-80cfmxjf.js → file-mutation-x4r22r3k.js} +20 -20
- package/dist/chunks/{tool-3dtz6yx2.js → file-mutation-x9fyvxks.js} +3 -3
- package/dist/chunks/{tool-eg73nz8j.js → file-mutation-xcyj3yfq.js} +16 -16
- package/dist/chunks/{tool-p9njq13k.js → file-mutation-xddwgmc9.js} +12 -12
- package/dist/chunks/{tool-q73ax3e3.js → file-mutation-xdqge5f5.js} +4 -4
- package/dist/chunks/{tool-zkx6mb6f.js → file-mutation-xftpd4tw.js} +6 -6
- package/dist/chunks/{tool-jj4f2m0r.js → file-mutation-xk1h7hsv.js} +10 -10
- package/dist/chunks/{tool-dmqcgk4z.js → file-mutation-xkntkrq7.js} +5 -5
- package/dist/chunks/{tool-2dw8d83v.js → file-mutation-xs20kdgy.js} +25 -25
- package/dist/chunks/{tool-bk7jaeqh.js → file-mutation-xwm6bryg.js} +4 -4
- package/dist/chunks/{tool-9a22gx4j.js → file-mutation-xz1243mt.js} +21 -21
- package/dist/chunks/{tool-g5mnhhzf.js → file-mutation-xz2chpcf.js} +5 -5
- package/dist/chunks/{tool-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-gjz1jd2j.js → file-mutation-y2zrk0dr.js} +13 -13
- package/dist/chunks/{tool-w5tjdcqf.js → file-mutation-y4prpqzx.js} +18 -18
- package/dist/chunks/{tool-1r5rhfpg.js → file-mutation-y5yrmg67.js} +16 -16
- package/dist/chunks/{tool-kf4n8cem.js → file-mutation-y8fmc1zc.js} +6 -6
- package/dist/chunks/{tool-0vx053wa.js → file-mutation-ye28agv5.js} +29 -29
- package/dist/chunks/{tool-ss1fsgxr.js → file-mutation-yffnxffr.js} +14 -14
- package/dist/chunks/{tool-dss8prcv.js → file-mutation-yg78e3t5.js} +5 -5
- package/dist/chunks/{tool-dbnvakxz.js → file-mutation-yksbe7bm.js} +2 -2
- package/dist/chunks/{tool-ev6cj1t6.js → file-mutation-ymszjhhk.js} +4 -4
- package/dist/chunks/{tool-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{tool-s4enseaf.js → file-mutation-yrznvahk.js} +2 -2
- package/dist/chunks/{tool-67kbkrjb.js → file-mutation-yx93m0w7.js} +12 -12
- package/dist/chunks/{tool-nd981500.js → file-mutation-yyr7mt6v.js} +33 -33
- package/dist/chunks/{tool-bjtzbw4r.js → file-mutation-z07pqspn.js} +3 -3
- package/dist/chunks/{tool-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-29x78va6.js → file-mutation-z63w68vq.js} +6 -6
- package/dist/chunks/{tool-qnshbhpz.js → file-mutation-z6ydsys7.js} +8 -8
- package/dist/chunks/{tool-zeh9ct20.js → file-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{tool-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-0x54nnzp.js → file-mutation-zwhcvfra.js} +16 -16
- package/dist/chunks/{tool-cxfezmj7.js → file-mutation-zxp32vzh.js} +2 -2
- package/dist/chunks/{tool-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- 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 +82 -82
- 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 +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- 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 +125 -125
- 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 +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/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 +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +91 -91
- 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 +361 -361
- package/dist/instruction-discovery.js +83 -83
- 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 +86 -86
- 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 +358 -358
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +128 -128
- 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 +91 -91
- 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 +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- 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 +99 -99
- package/dist/plugin/hooks.js +3 -3
- 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 +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +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 +94 -94
- 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 +77 -77
- 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 +94 -94
- 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 +78 -78
- 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 +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- 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 +121 -121
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- 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/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- 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 +119 -119
- 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 +231 -231
- 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 +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- 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 +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/tool-b4awgack.js +0 -507
- package/dist/chunks/tool-cmck6x1v.js +0 -26
- package/dist/chunks/tool-qjxeh2jn.js +0 -252
- package/dist/chunks/tool-vsdyktar.js +0 -18
- /package/dist/chunks/{tool-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-34c7v6d4.js → file-mutation-34c7v6d4.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-922hggd3.js → file-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load4
|
|
6
|
+
} from "./file-mutation-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event9,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options8,
|
|
17
|
+
Service: () => Service44,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured7,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer18,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node47,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event9 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load4());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options8 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service44 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service44.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer24 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service44.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service44).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service44, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured7(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service44, layer: layer18(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node47 = configured7();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event9, hasNativeBinding2, Native3, Options8, Service44, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured7, node47, exports_watcher };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-q752a12t.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-n3hytwrq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-k648p9r6.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./file-mutation-3mzqjafy.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-51gpjtn8.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-nzyhnfxz.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service13
|
|
20
|
+
} from "./file-mutation-k1qrnqst.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID7,
|
|
23
23
|
mergeOverlay2,
|
|
24
24
|
mergeHeaders2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-mutation-ye28agv5.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
ID4,
|
|
28
|
+
Input14,
|
|
29
29
|
Response2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-mutation-hm9gfxca.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/opencode.ts
|
|
33
33
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var methodID = MethodID2.make("device");
|
|
|
43
43
|
var RemoteResponse = Schema.Struct({
|
|
44
44
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
45
45
|
websearch: Schema.Struct({
|
|
46
|
-
providerID:
|
|
46
|
+
providerID: ID4
|
|
47
47
|
}).pipe(Schema.optional),
|
|
48
48
|
mcp: Schema.Struct({
|
|
49
49
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -71,7 +71,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
71
71
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
72
72
|
function oauth(http) {
|
|
73
73
|
return {
|
|
74
|
-
integrationID:
|
|
74
|
+
integrationID: ID8.make("opencode"),
|
|
75
75
|
method: {
|
|
76
76
|
id: methodID,
|
|
77
77
|
type: "oauth",
|
|
@@ -128,7 +128,7 @@ var OpencodePlugin2 = define({
|
|
|
128
128
|
const bus = yield* Service83;
|
|
129
129
|
const client = yield* HttpClient.HttpClient;
|
|
130
130
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
131
|
-
const managed = yield*
|
|
131
|
+
const managed = yield* Service13;
|
|
132
132
|
const loading = Semaphore.makeUnsafe(1);
|
|
133
133
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
134
134
|
const load = Effect.fn("OpencodePlugin.load")(function* () {
|
|
@@ -162,7 +162,7 @@ var OpencodePlugin2 = define({
|
|
|
162
162
|
providers.update(providerID, (provider) => {
|
|
163
163
|
if (source && source.provider !== provider)
|
|
164
164
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
165
|
-
provider.integrationID =
|
|
165
|
+
provider.integrationID = ID8.make("opencode");
|
|
166
166
|
if (item.canonical !== undefined)
|
|
167
167
|
provider.canonical = item.canonical;
|
|
168
168
|
if (item.name !== undefined)
|
|
@@ -232,7 +232,7 @@ var OpencodePlugin2 = define({
|
|
|
232
232
|
sourceConnection: snapshot.connection
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
|
-
const item = providers.get(
|
|
235
|
+
const item = providers.get(ID7.opencode);
|
|
236
236
|
if (!item)
|
|
237
237
|
return;
|
|
238
238
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -244,7 +244,7 @@ var OpencodePlugin2 = define({
|
|
|
244
244
|
});
|
|
245
245
|
});
|
|
246
246
|
yield* ctx.model.transform((models) => {
|
|
247
|
-
const item = models.provider.get(
|
|
247
|
+
const item = models.provider.get(ID7.opencode);
|
|
248
248
|
if (!item)
|
|
249
249
|
return;
|
|
250
250
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -278,7 +278,7 @@ var OpencodePlugin2 = define({
|
|
|
278
278
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
279
279
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
280
280
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
281
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
281
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
282
282
|
query: input.query,
|
|
283
283
|
providerID: descriptor.providerID
|
|
284
284
|
}));
|
|
@@ -314,7 +314,7 @@ var OpencodePlugin2 = define({
|
|
|
314
314
|
});
|
|
315
315
|
});
|
|
316
316
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
317
|
-
yield* bus.subscribe(
|
|
317
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
318
318
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
319
319
|
})
|
|
320
320
|
});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-ba1mv5p0.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-z07pqspn.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load5
|
|
12
|
+
} from "./file-mutation-qka5et1g.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-b07rpg7m.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput5,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service74,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node78
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service74 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service84;
|
|
59
|
-
return
|
|
59
|
+
return Service74.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
98
98
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
99
99
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
100
100
|
}),
|
|
101
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
101
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
|
|
102
102
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
103
103
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
104
104
|
return row ? {
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node78 = makeGlobalNode({ service: Service74, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export { ListInput5,
|
|
130
|
+
export { ListInput5, Service74, node78, exports_store };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error4,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make20,
|
|
14
|
+
node: () => node73,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make20 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node73 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error4, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node73, exports_driver };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-k648p9r6.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service39,
|
|
17
|
+
node42
|
|
18
|
+
} from "./file-mutation-trvrc289.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event7,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info6,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service38,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node41
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event7 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info6 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service38 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service83;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service39;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info6.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info6.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service38.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node41 = makeLocationNode({
|
|
116
|
+
service: Service38,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node87,
|
|
118
|
+
deps: [Global.node, node87, node42]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info6, Service38, node41, exports_reference2, Event7 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-ye28agv5.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID6,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info21
|
|
11
|
+
} from "./file-mutation-jy8m2ksj.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models2 = {};
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID6.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info21.make({
|
|
122
|
+
...Info21.default(ID7.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID6.make(remote.id),
|
|
125
|
+
providerID: ID7.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-n3hytwrq.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-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: () => Plugin27,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
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 endpoint5 = "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 Plugin27 = 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 Plugin34 = 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, endpoint5, "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 Plugin34 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint5, Plugin27, exports_tinyfish };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-wd3x2cqz.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service67
|
|
4
|
+
} from "./file-mutation-51gpjtn8.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service67;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID8.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|