@opencode/core 0.0.0-dev-44 → 0.0.0-dev-55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{workspace-034tev2y.js → repository-cache-034tev2y.js} +2 -2
- package/dist/chunks/{workspace-05hcn35g.js → repository-cache-06pe9pmm.js} +45 -45
- package/dist/chunks/{workspace-hfgk9wzg.js → repository-cache-06w9ffrv.js} +5 -5
- package/dist/chunks/{workspace-j6v813za.js → repository-cache-0711fn9k.js} +26 -27
- package/dist/chunks/{workspace-26asr065.js → repository-cache-0731t3tw.js} +11 -11
- package/dist/chunks/{workspace-jnyr2zd2.js → repository-cache-0av67dp6.js} +4 -4
- package/dist/chunks/{workspace-hvw13sdg.js → repository-cache-0fe450at.js} +18 -18
- package/dist/chunks/{workspace-s9r95bva.js → repository-cache-0h58xf1g.js} +29 -29
- package/dist/chunks/{workspace-ntgpnhzh.js → repository-cache-0k1p4s69.js} +7 -7
- package/dist/chunks/{workspace-n4yb62ce.js → repository-cache-0kze6sgm.js} +26 -26
- package/dist/chunks/{workspace-p2remtr5.js → repository-cache-0mv4v5wj.js} +23 -23
- package/dist/chunks/{workspace-6n180eb9.js → repository-cache-0tgb71k0.js} +36 -36
- package/dist/chunks/{workspace-gxqvyt19.js → repository-cache-0xaqh9kd.js} +5 -5
- package/dist/chunks/{workspace-11hfp36g.js → repository-cache-11hfp36g.js} +1 -1
- package/dist/chunks/{workspace-pjzas12s.js → repository-cache-126c3fvz.js} +4 -4
- package/dist/chunks/repository-cache-12h23m8g.js +517 -0
- package/dist/chunks/{workspace-w7qwarvw.js → repository-cache-1860ddgg.js} +28 -28
- package/dist/chunks/{workspace-gsm10rvf.js → repository-cache-1cdppm47.js} +33 -33
- package/dist/chunks/{workspace-1ep2p91f.js → repository-cache-1ep2p91f.js} +2 -2
- package/dist/chunks/{workspace-kqg80s2x.js → repository-cache-1p9mjqrz.js} +16 -16
- package/dist/chunks/{workspace-xmt3nt5n.js → repository-cache-1v5xq3rj.js} +24 -24
- package/dist/chunks/{workspace-1x2knyw4.js → repository-cache-1x2knyw4.js} +1 -1
- package/dist/chunks/{workspace-nc159y24.js → repository-cache-1znhd7w1.js} +36 -36
- package/dist/chunks/{workspace-204s3925.js → repository-cache-204s3925.js} +1 -1
- package/dist/chunks/{workspace-p3p972wa.js → repository-cache-207ajt2h.js} +5 -5
- package/dist/chunks/{workspace-tk6jy24y.js → repository-cache-22nm8aah.js} +45 -45
- package/dist/chunks/repository-cache-2a2m1jyz.js +257 -0
- package/dist/chunks/{workspace-qem07kdc.js → repository-cache-2c4q4gd1.js} +6 -6
- package/dist/chunks/{workspace-32s63gzk.js → repository-cache-2cwns7qk.js} +21 -21
- package/dist/chunks/{workspace-btvs6m9s.js → repository-cache-2jexvr2j.js} +27 -27
- package/dist/chunks/{workspace-830eskpr.js → repository-cache-2nn7s44w.js} +31 -31
- package/dist/chunks/{workspace-g5hey3vt.js → repository-cache-2r71v196.js} +14 -14
- package/dist/chunks/{workspace-sncehx48.js → repository-cache-368y3b8n.js} +17 -17
- package/dist/chunks/{workspace-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-ery7kzhb.js → repository-cache-3hq0yj39.js} +2 -2
- package/dist/chunks/{workspace-3nnrz6f6.js → repository-cache-3nnrz6f6.js} +1 -1
- package/dist/chunks/{workspace-p0tsr9h6.js → repository-cache-3ryz99p0.js} +4 -4
- package/dist/chunks/{workspace-2w13yf8v.js → repository-cache-3t73xeyv.js} +2 -2
- package/dist/chunks/{workspace-hr7waqx2.js → repository-cache-3w0ebqzc.js} +10 -10
- package/dist/chunks/{workspace-s6x6bhdw.js → repository-cache-3z0hxnyk.js} +5 -5
- package/dist/chunks/{workspace-2q3pw4f4.js → repository-cache-401hbwyh.js} +3 -3
- package/dist/chunks/{workspace-k8pk7m1a.js → repository-cache-46mxd6jt.js} +31 -31
- package/dist/chunks/{workspace-j5sbsz7w.js → repository-cache-4btp19b3.js} +14 -14
- package/dist/chunks/{workspace-my7hrdx3.js → repository-cache-4c9y6q6s.js} +10 -10
- package/dist/chunks/{workspace-4pyp9zr9.js → repository-cache-4pyp9zr9.js} +1 -1
- package/dist/chunks/{workspace-awztprj3.js → repository-cache-4rdf7p1z.js} +6 -6
- package/dist/chunks/{workspace-4v008n1t.js → repository-cache-4v008n1t.js} +1 -1
- package/dist/chunks/{workspace-3d1z145j.js → repository-cache-4yq3azdc.js} +18 -18
- package/dist/chunks/{workspace-akmjs5z5.js → repository-cache-54cc93aa.js} +36 -36
- package/dist/chunks/{workspace-7pa3t2xk.js → repository-cache-5bbnem9k.js} +11 -11
- package/dist/chunks/{workspace-kkv0936x.js → repository-cache-5btzaxpa.js} +19 -19
- package/dist/chunks/{workspace-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{workspace-hfqt73mn.js → repository-cache-5mkx8w5e.js} +11 -11
- package/dist/chunks/{workspace-6c09pra0.js → repository-cache-5vz29j2k.js} +17 -17
- package/dist/chunks/{workspace-p7vhpwh8.js → repository-cache-5zrxpy3q.js} +5 -5
- package/dist/chunks/{workspace-ytfkq0y6.js → repository-cache-60ge4sjk.js} +17 -17
- package/dist/chunks/{workspace-s626qfae.js → repository-cache-61ennm6n.js} +4 -4
- package/dist/chunks/{workspace-1yms9fvm.js → repository-cache-61t7fw61.js} +19 -19
- package/dist/chunks/{workspace-rhk24g9e.js → repository-cache-69gwv1xx.js} +5 -5
- package/dist/chunks/{workspace-70s3x0a6.js → repository-cache-69zgfr7z.js} +4 -4
- package/dist/chunks/{workspace-6esdw8yj.js → repository-cache-6esdw8yj.js} +1 -1
- package/dist/chunks/{workspace-sh1n2w0x.js → repository-cache-6fjx9w38.js} +17 -17
- package/dist/chunks/{workspace-608ahxn3.js → repository-cache-6nw1th37.js} +4 -4
- package/dist/chunks/{workspace-s00mzv4c.js → repository-cache-6xz7nqt8.js} +12 -12
- package/dist/chunks/{workspace-6xqtcmxs.js → repository-cache-6y263vp8.js} +5 -5
- package/dist/chunks/{workspace-ep0wsmvm.js → repository-cache-6z1320sj.js} +28 -28
- package/dist/chunks/{workspace-0b2278mc.js → repository-cache-6ze967nv.js} +54 -54
- package/dist/chunks/{workspace-1b28s763.js → repository-cache-6zz3v10r.js} +15 -15
- package/dist/chunks/{workspace-xn8rwapq.js → repository-cache-744d0c63.js} +5 -5
- package/dist/chunks/{workspace-njaxvrn0.js → repository-cache-75g1xcwv.js} +18 -18
- package/dist/chunks/{workspace-kb4jv8gq.js → repository-cache-75v6tc0m.js} +19 -19
- package/dist/chunks/{workspace-q2yncp4a.js → repository-cache-76g7jkkw.js} +15 -15
- package/dist/chunks/{workspace-fp8mkx0f.js → repository-cache-76q453m6.js} +25 -25
- package/dist/chunks/{workspace-nah043kf.js → repository-cache-770pw0s1.js} +4 -4
- package/dist/chunks/{workspace-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-7w2ypzdf.js → repository-cache-7w2ypzdf.js} +1 -1
- package/dist/chunks/{workspace-amkjttct.js → repository-cache-83fkeet7.js} +9 -9
- package/dist/chunks/{workspace-p7yet7aw.js → repository-cache-8mtpnz0v.js} +21 -21
- package/dist/chunks/{workspace-ehk1qjjw.js → repository-cache-8nzygxt8.js} +50 -50
- package/dist/chunks/{workspace-rwswcgad.js → repository-cache-8t2j541k.js} +11 -11
- package/dist/chunks/{workspace-8wtp7s3z.js → repository-cache-8wtp7s3z.js} +1 -1
- package/dist/chunks/{workspace-90zstvax.js → repository-cache-90zstvax.js} +1 -1
- package/dist/chunks/{workspace-0cxeed95.js → repository-cache-9111wyrc.js} +6 -6
- package/dist/chunks/{workspace-kww0x7wp.js → repository-cache-93ab2gax.js} +17 -17
- package/dist/chunks/{workspace-6739jmjn.js → repository-cache-98qrekfe.js} +5 -5
- package/dist/chunks/{workspace-9cx9sm2q.js → repository-cache-9cx9sm2q.js} +1 -1
- package/dist/chunks/{workspace-mmx1mfjr.js → repository-cache-9q8g9sv8.js} +4 -4
- package/dist/chunks/{workspace-pcbcnm4r.js → repository-cache-9ryshn0f.js} +26 -26
- package/dist/chunks/{workspace-tmd1r8tg.js → repository-cache-9tvpxs1q.js} +4 -4
- package/dist/chunks/{workspace-5sxvsbaz.js → repository-cache-a0tqv4gf.js} +15 -15
- package/dist/chunks/{workspace-9gadynp5.js → repository-cache-a16f13fh.js} +16 -16
- package/dist/chunks/{workspace-p9az4c9x.js → repository-cache-adf3gjyn.js} +28 -28
- package/dist/chunks/{workspace-dm94hefv.js → repository-cache-agrjqxtd.js} +40 -40
- package/dist/chunks/{workspace-y5qv99bq.js → repository-cache-ajv3ghch.js} +16 -16
- package/dist/chunks/{workspace-c7k55dj2.js → repository-cache-an749m78.js} +1 -1
- package/dist/chunks/{workspace-w4cmxjpb.js → repository-cache-asrq7j76.js} +19 -19
- package/dist/chunks/{workspace-cyxjym35.js → repository-cache-atw8c7pr.js} +3 -3
- package/dist/chunks/{workspace-zv4bvann.js → repository-cache-ayj1td4f.js} +29 -29
- package/dist/chunks/{workspace-ayjs7tqn.js → repository-cache-ayjs7tqn.js} +2 -2
- package/dist/chunks/{workspace-zathn158.js → repository-cache-b4e3zc8a.js} +43 -43
- package/dist/chunks/{workspace-4f77jkmz.js → repository-cache-b58rnyhw.js} +20 -20
- package/dist/chunks/{workspace-b6vsg801.js → repository-cache-b6vsg801.js} +2 -2
- package/dist/chunks/{workspace-4n4j58bv.js → repository-cache-bb4x0tjg.js} +188 -188
- package/dist/chunks/{workspace-yd4hs1rm.js → repository-cache-bec1vpmw.js} +32 -32
- package/dist/chunks/{workspace-bstexjd6.js → repository-cache-bstexjd6.js} +1 -1
- package/dist/chunks/{workspace-3xtarm87.js → repository-cache-bt05tr8e.js} +5 -5
- package/dist/chunks/{workspace-g9navxqt.js → repository-cache-bwewbjz4.js} +13 -13
- package/dist/chunks/{workspace-d7mpa99n.js → repository-cache-bwjvbmsb.js} +88 -88
- package/dist/chunks/{workspace-51em56x4.js → repository-cache-bx992dmv.js} +9 -9
- package/dist/chunks/{workspace-q0dc1a9h.js → repository-cache-bxpjy74r.js} +15 -15
- package/dist/chunks/{workspace-9era1v6z.js → repository-cache-c1tffms3.js} +45 -45
- package/dist/chunks/{workspace-yx85ewrr.js → repository-cache-c7w77bqn.js} +14 -14
- package/dist/chunks/{workspace-frhk2vn3.js → repository-cache-c9xzbdd8.js} +5 -5
- package/dist/chunks/{workspace-0wtxmv38.js → repository-cache-cbyw8mhh.js} +13 -13
- package/dist/chunks/{workspace-ey35m0mc.js → repository-cache-csyeyjrf.js} +9 -9
- package/dist/chunks/{workspace-rph8wvgf.js → repository-cache-cwcqs07e.js} +30 -30
- package/dist/chunks/{workspace-cwrgdav8.js → repository-cache-cwrgdav8.js} +2 -2
- package/dist/chunks/{workspace-03cg90a5.js → repository-cache-cyty15yb.js} +25 -25
- package/dist/chunks/{workspace-d4v9tmah.js → repository-cache-d4v9tmah.js} +2 -2
- package/dist/chunks/{workspace-zwz8wfn8.js → repository-cache-dg9hqg77.js} +3 -3
- package/dist/chunks/{workspace-31h7jx7a.js → repository-cache-dh0xafzq.js} +32 -32
- package/dist/chunks/{workspace-n66c6y3m.js → repository-cache-djjzzs3c.js} +6 -6
- package/dist/chunks/{workspace-jn88007r.js → repository-cache-dkqkergf.js} +9 -9
- package/dist/chunks/{workspace-6sqa993f.js → repository-cache-dqpjcdfr.js} +9 -9
- package/dist/chunks/{workspace-dt77769w.js → repository-cache-dt77769w.js} +1 -1
- package/dist/chunks/{workspace-rrwqa0x9.js → repository-cache-dwy6z8dc.js} +21 -21
- package/dist/chunks/{workspace-7jhsbrss.js → repository-cache-dys1grgm.js} +14 -14
- package/dist/chunks/{workspace-e07q2w5p.js → repository-cache-e07q2w5p.js} +1 -1
- package/dist/chunks/{workspace-yd1z09nw.js → repository-cache-e3p7per7.js} +90 -90
- package/dist/chunks/{workspace-e834z07m.js → repository-cache-e834z07m.js} +1 -1
- package/dist/chunks/{workspace-755bmxs3.js → repository-cache-efqx7wb7.js} +16 -16
- package/dist/chunks/{workspace-d80v8vzq.js → repository-cache-efz9xtfj.js} +21 -21
- package/dist/chunks/{workspace-cayjy6n6.js → repository-cache-epsjn5re.js} +12 -12
- package/dist/chunks/{workspace-dw8ve4v4.js → repository-cache-evnead99.js} +7 -7
- package/dist/chunks/{workspace-99yevx5r.js → repository-cache-f1h45990.js} +34 -34
- package/dist/chunks/{workspace-ym4mb7j3.js → repository-cache-f2hv8cv8.js} +11 -11
- package/dist/chunks/{workspace-ez0rpz4z.js → repository-cache-f4zya5pk.js} +36 -36
- package/dist/chunks/{workspace-8hsrsqw0.js → repository-cache-fcq8h12c.js} +30 -30
- package/dist/chunks/{workspace-sp13ydqz.js → repository-cache-fdfvc1dg.js} +24 -24
- package/dist/chunks/{workspace-fffv3p7h.js → repository-cache-fffv3p7h.js} +1 -1
- package/dist/chunks/{workspace-fxcaqc0y.js → repository-cache-fhsk438g.js} +3 -3
- package/dist/chunks/{workspace-q2dh4fth.js → repository-cache-fsd04637.js} +9 -9
- package/dist/chunks/{workspace-h7mq0gsg.js → repository-cache-fwgp6qwj.js} +2 -2
- package/dist/chunks/{workspace-41gw1q61.js → repository-cache-g2zgwj7s.js} +17 -17
- package/dist/chunks/{workspace-jskh73wk.js → repository-cache-g3hvekgd.js} +17 -17
- package/dist/chunks/{workspace-fs0zc2gt.js → repository-cache-g4y5gz37.js} +6 -6
- package/dist/chunks/{workspace-dk4vvp25.js → repository-cache-gcgkk9nz.js} +23 -23
- package/dist/chunks/{workspace-w2f8g9ey.js → repository-cache-gf4hftfj.js} +10 -10
- package/dist/chunks/{workspace-gg8p9cgs.js → repository-cache-gg8p9cgs.js} +3 -3
- package/dist/chunks/{workspace-n037b2rv.js → repository-cache-gh11ee6b.js} +15 -16
- package/dist/chunks/{workspace-h8ydc4kt.js → repository-cache-gj88ka9e.js} +16 -16
- package/dist/chunks/{workspace-9r7wjzbr.js → repository-cache-grfmaxtg.js} +48 -48
- package/dist/chunks/{workspace-ctxfhcf9.js → repository-cache-grnvj370.js} +22 -22
- package/dist/chunks/{workspace-xq21eycy.js → repository-cache-gybe5gkg.js} +22 -22
- package/dist/chunks/{workspace-9phxzr4p.js → repository-cache-h255y8je.js} +32 -32
- package/dist/chunks/{workspace-mc5hffvt.js → repository-cache-h4ydejha.js} +13 -13
- package/dist/chunks/{workspace-3j1m3tq4.js → repository-cache-haf3v3hy.js} +5 -5
- package/dist/chunks/{workspace-b50bzspk.js → repository-cache-havzekw2.js} +4 -4
- package/dist/chunks/{workspace-1j0p5zqx.js → repository-cache-hdfrs5mg.js} +9 -9
- package/dist/chunks/{workspace-jzavwc5a.js → repository-cache-hgrfbex2.js} +9 -9
- package/dist/chunks/{workspace-hpg1pkwy.js → repository-cache-hpg1pkwy.js} +1 -1
- package/dist/chunks/{workspace-1e9r6beh.js → repository-cache-hxvg6wb1.js} +18 -18
- package/dist/chunks/{workspace-s6p20e1k.js → repository-cache-j0tgfc8g.js} +8 -8
- package/dist/chunks/{workspace-e471twwt.js → repository-cache-j49x6kf4.js} +8 -8
- package/dist/chunks/{workspace-ysxs50rr.js → repository-cache-j6gvah3y.js} +21 -21
- package/dist/chunks/{workspace-jergy4yb.js → repository-cache-j7407a90.js} +7 -7
- package/dist/chunks/{workspace-90a4dvkd.js → repository-cache-jb6rb1an.js} +15 -15
- package/dist/chunks/{workspace-bgm817xr.js → repository-cache-jcqm84fr.js} +9 -9
- package/dist/chunks/{workspace-jfaecv01.js → repository-cache-jfaecv01.js} +1 -1
- package/dist/chunks/{workspace-rg6x42m8.js → repository-cache-jgy2dcvd.js} +11 -11
- package/dist/chunks/{workspace-w1z9n04s.js → repository-cache-jmzf3sak.js} +31 -31
- package/dist/chunks/{workspace-vxrwmfev.js → repository-cache-jpj38ht1.js} +4 -4
- package/dist/chunks/{workspace-k6ng50pn.js → repository-cache-js6kqssh.js} +5 -5
- package/dist/chunks/{workspace-jtnps1zs.js → repository-cache-jtnps1zs.js} +2 -2
- package/dist/chunks/{workspace-rg08y4e9.js → repository-cache-jwhwbamd.js} +19 -19
- package/dist/chunks/{workspace-nq1gfgg7.js → repository-cache-jzesebws.js} +17 -17
- package/dist/chunks/{workspace-6kasyq0d.js → repository-cache-k2rhsbab.js} +4 -4
- package/dist/chunks/{workspace-bffx5779.js → repository-cache-k6c5bswj.js} +13 -13
- package/dist/chunks/{workspace-k814nvkf.js → repository-cache-k814nvkf.js} +1 -1
- package/dist/chunks/{workspace-3h9vfbt2.js → repository-cache-kk93czde.js} +10 -10
- package/dist/chunks/{workspace-k8ndw37r.js → repository-cache-kke9g1hb.js} +43 -43
- package/dist/chunks/{workspace-rhyf1zg1.js → repository-cache-knt1f303.js} +15 -15
- package/dist/chunks/{workspace-pd9dp0pk.js → repository-cache-kqjqdw98.js} +40 -40
- package/dist/chunks/{workspace-kt3bjfbg.js → repository-cache-kt3bjfbg.js} +1 -1
- package/dist/chunks/{workspace-m1714858.js → repository-cache-m1714858.js} +1 -1
- package/dist/chunks/{workspace-vswznq9x.js → repository-cache-m29sxe67.js} +19 -19
- package/dist/chunks/{workspace-m061cbn2.js → repository-cache-m6ved7xn.js} +16 -16
- package/dist/chunks/{workspace-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-a6h2hm85.js → repository-cache-mc3192g6.js} +54 -54
- package/dist/chunks/{workspace-4watfg9m.js → repository-cache-me73n50h.js} +11 -11
- package/dist/chunks/{workspace-drvbhkez.js → repository-cache-mj0wev1x.js} +4 -4
- package/dist/chunks/{workspace-ckzatb6h.js → repository-cache-mptjpcxy.js} +14 -14
- package/dist/chunks/{workspace-ka4q668c.js → repository-cache-mszzfg2j.js} +23 -23
- package/dist/chunks/{workspace-cpzhveq8.js → repository-cache-nx0czgsy.js} +3 -3
- package/dist/chunks/{workspace-p015t6z3.js → repository-cache-p015t6z3.js} +2 -2
- package/dist/chunks/{workspace-ynvxk982.js → repository-cache-p1vte9h6.js} +11 -11
- package/dist/chunks/{workspace-wctr8ape.js → repository-cache-p96sj727.js} +6 -6
- package/dist/chunks/{workspace-vp7nv6ts.js → repository-cache-pankmnx0.js} +15 -15
- package/dist/chunks/{workspace-5x26af84.js → repository-cache-pbbktnbz.js} +4 -4
- package/dist/chunks/{workspace-1bssk9xk.js → repository-cache-pfy2m4ca.js} +5 -5
- package/dist/chunks/{workspace-3tkbzst4.js → repository-cache-pk48tdmc.js} +8 -8
- package/dist/chunks/{workspace-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-r7xar5ns.js → repository-cache-pnwsrq7c.js} +8 -8
- package/dist/chunks/{workspace-fg9p65nk.js → repository-cache-prq7xxp2.js} +6 -6
- package/dist/chunks/{workspace-xhf31v2h.js → repository-cache-pzbtwyx3.js} +25 -25
- package/dist/chunks/{workspace-9ha38bm5.js → repository-cache-q1s8j9ch.js} +4 -4
- package/dist/chunks/{workspace-n4njqkes.js → repository-cache-q5h6r7rp.js} +24 -24
- package/dist/chunks/{workspace-q371acht.js → repository-cache-q9eywg3w.js} +16 -16
- package/dist/chunks/{workspace-3vf9nnam.js → repository-cache-q9qc3bva.js} +9 -9
- package/dist/chunks/{workspace-vg0erq9k.js → repository-cache-qkqjbc48.js} +3 -3
- package/dist/chunks/{workspace-rsya75cp.js → repository-cache-qkxp7296.js} +1 -1
- package/dist/chunks/{workspace-qp7r0hxv.js → repository-cache-qp7r0hxv.js} +1 -1
- package/dist/chunks/{workspace-r0yr0wbs.js → repository-cache-r0yr0wbs.js} +1 -1
- package/dist/chunks/{workspace-r542h3bh.js → repository-cache-r542h3bh.js} +1 -1
- package/dist/chunks/{workspace-f9bbcs0x.js → repository-cache-r6whtadg.js} +23 -23
- package/dist/chunks/{workspace-rb9dy4dg.js → repository-cache-rb9dy4dg.js} +1 -1
- package/dist/chunks/{workspace-t90jtn3y.js → repository-cache-rp5k6d8n.js} +16 -16
- package/dist/chunks/{workspace-dynac9eb.js → repository-cache-rpkzka4k.js} +13 -13
- package/dist/chunks/{workspace-krq85k1q.js → repository-cache-rqx7f7vj.js} +4 -4
- package/dist/chunks/{workspace-rt5dr6hb.js → repository-cache-rt5dr6hb.js} +1 -1
- package/dist/chunks/{workspace-pxc4avcg.js → repository-cache-rwct159c.js} +11 -11
- package/dist/chunks/{workspace-115742jf.js → repository-cache-rx5gvnt1.js} +28 -28
- package/dist/chunks/{workspace-1rdpnva5.js → repository-cache-rz5tx8yt.js} +21 -21
- package/dist/chunks/{workspace-5m8pjz4h.js → repository-cache-s0815yd1.js} +30 -30
- package/dist/chunks/{workspace-21g12dr6.js → repository-cache-s3jtzn6y.js} +34 -34
- package/dist/chunks/{workspace-0x9e628c.js → repository-cache-s6re1h3h.js} +33 -33
- package/dist/chunks/{workspace-g1whzzn7.js → repository-cache-sa01r6br.js} +7 -7
- package/dist/chunks/{workspace-sa3fpqfw.js → repository-cache-sa3fpqfw.js} +2 -2
- package/dist/chunks/{workspace-xm65xzy2.js → repository-cache-scvnz3tv.js} +45 -45
- package/dist/chunks/{workspace-0yt736da.js → repository-cache-sgrnxxty.js} +18 -18
- package/dist/chunks/{workspace-amxp7tb6.js → repository-cache-sgrvbqkr.js} +18 -18
- package/dist/chunks/{workspace-z536rte3.js → repository-cache-sh0q5wym.js} +32 -32
- package/dist/chunks/{workspace-haxfm848.js → repository-cache-sjt6c43d.js} +10 -10
- package/dist/chunks/{workspace-y8r2caxt.js → repository-cache-snb89k4v.js} +32 -32
- package/dist/chunks/{workspace-sqjzf8x2.js → repository-cache-sqjzf8x2.js} +1 -1
- package/dist/chunks/{workspace-d2887f8n.js → repository-cache-ssfehs1z.js} +4 -4
- package/dist/chunks/{workspace-ta4g3tqy.js → repository-cache-stwk20ed.js} +8 -8
- package/dist/chunks/{workspace-svcy3p9a.js → repository-cache-svcy3p9a.js} +1 -1
- package/dist/chunks/{workspace-s73mcn75.js → repository-cache-sytrbmxa.js} +21 -21
- package/dist/chunks/{workspace-e8jqfb1a.js → repository-cache-t0zgzgtb.js} +12 -12
- package/dist/chunks/{workspace-nnb56zdr.js → repository-cache-taveqshq.js} +11 -11
- package/dist/chunks/{workspace-tczq8hjw.js → repository-cache-tczq8hjw.js} +1 -1
- package/dist/chunks/{workspace-aedwt843.js → repository-cache-tg1vr1qt.js} +8 -8
- package/dist/chunks/{workspace-ht34p3rm.js → repository-cache-thyeeq05.js} +3 -3
- package/dist/chunks/{workspace-hm291q16.js → repository-cache-ts7mkfs9.js} +3 -3
- package/dist/chunks/{workspace-twssxy5n.js → repository-cache-twssxy5n.js} +2 -2
- package/dist/chunks/{workspace-gxk0f8v3.js → repository-cache-twtxmczq.js} +12 -12
- package/dist/chunks/{workspace-xq4c6pbn.js → repository-cache-txxjr4gv.js} +23 -23
- package/dist/chunks/{workspace-v2r1d0zg.js → repository-cache-v2r1d0zg.js} +1 -1
- package/dist/chunks/{workspace-zgs7qsk5.js → repository-cache-v7wb1cp1.js} +16 -16
- package/dist/chunks/{workspace-6f9jk43g.js → repository-cache-vb2nzj1m.js} +22 -22
- package/dist/chunks/{workspace-tms1d3r7.js → repository-cache-vdatw69e.js} +15 -15
- package/dist/chunks/{workspace-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-bj6yd2m6.js → repository-cache-vqxcyac6.js} +11 -11
- package/dist/chunks/{workspace-71gcaexf.js → repository-cache-vtsyfctf.js} +25 -25
- package/dist/chunks/{workspace-5enarcya.js → repository-cache-w2eysc6j.js} +6 -6
- package/dist/chunks/{workspace-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-w687dnns.js → repository-cache-w687dnns.js} +1 -1
- package/dist/chunks/{workspace-8r9nj4s8.js → repository-cache-w76xjer3.js} +4 -4
- package/dist/chunks/{workspace-m9ptjqeh.js → repository-cache-w81qrt50.js} +6 -6
- package/dist/chunks/{workspace-w8qtt4th.js → repository-cache-w8qtt4th.js} +1 -1
- package/dist/chunks/{workspace-dwwyec8z.js → repository-cache-wa8k00xj.js} +6 -6
- package/dist/chunks/{workspace-wakvkjy4.js → repository-cache-wakvkjy4.js} +1 -1
- package/dist/chunks/{workspace-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-tmvc1kcy.js → repository-cache-ws0jw39t.js} +27 -27
- package/dist/chunks/{workspace-sfdw5d12.js → repository-cache-wvk1wtsq.js} +11 -11
- package/dist/chunks/{workspace-25wbv3kn.js → repository-cache-x00hvv89.js} +3 -3
- package/dist/chunks/{workspace-b19sr9k5.js → repository-cache-x4etgdbd.js} +30 -30
- package/dist/chunks/{workspace-afyka953.js → repository-cache-x4gc5gbk.js} +9 -9
- package/dist/chunks/{workspace-3a7vrk06.js → repository-cache-x6d4sgx3.js} +11 -11
- package/dist/chunks/{workspace-1kn6jdkn.js → repository-cache-xt0z8zst.js} +4 -4
- package/dist/chunks/{workspace-1bb8zgeb.js → repository-cache-xwmtk72n.js} +8 -8
- package/dist/chunks/repository-cache-xx32eqvj.js +26 -0
- package/dist/chunks/{workspace-yara3q77.js → repository-cache-yara3q77.js} +2 -2
- package/dist/chunks/{workspace-yb20nhc3.js → repository-cache-yb20nhc3.js} +1 -1
- package/dist/chunks/{workspace-sk5cz3k6.js → repository-cache-yc79q165.js} +18 -18
- package/dist/chunks/{workspace-4r0ztz0m.js → repository-cache-yfkhsjsm.js} +6 -6
- package/dist/chunks/{workspace-2z0bbf9q.js → repository-cache-ytc9yt2s.js} +11 -11
- package/dist/chunks/{workspace-qm6s8ej8.js → repository-cache-ywqn3jdz.js} +8 -8
- package/dist/chunks/{workspace-xby723hm.js → repository-cache-yz9rz98a.js} +8 -8
- package/dist/chunks/{workspace-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
- package/dist/chunks/repository-cache-z355x5yr.js +18 -0
- package/dist/chunks/{workspace-z38nccrw.js → repository-cache-z38nccrw.js} +1 -1
- package/dist/chunks/{workspace-7qdazcae.js → repository-cache-zaq8ky8h.js} +11 -11
- package/dist/chunks/{workspace-befcg3vk.js → repository-cache-zc9mtzb2.js} +5 -5
- package/dist/chunks/{workspace-h5edevtj.js → repository-cache-ze8w1qcn.js} +66 -66
- package/dist/chunks/{workspace-9z9tayqc.js → repository-cache-zgd8t41s.js} +9 -9
- package/dist/chunks/{workspace-zgkm4kzm.js → repository-cache-zgkm4kzm.js} +3 -3
- package/dist/chunks/{workspace-s396tgzf.js → repository-cache-zwenfqkq.js} +7 -7
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +122 -122
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +382 -382
- 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 +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +101 -101
- 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 +76 -76
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- 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/file-watch.js +81 -81
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +108 -108
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +91 -91
- package/dist/generate.js +113 -113
- package/dist/git.js +11 -11
- 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 +107 -107
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +373 -373
- package/dist/instruction-discovery.js +92 -92
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +163 -163
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +370 -370
- package/dist/location.js +95 -95
- package/dist/managed-policy.js +7 -7
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +115 -115
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +107 -107
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +143 -143
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +343 -343
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +121 -121
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode-legacy.js +106 -106
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +178 -178
- package/dist/plugin/sdk.js +80 -80
- 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 +360 -360
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +232 -232
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +96 -96
- package/dist/provider.js +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +104 -104
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +162 -162
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- 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 +228 -228
- package/dist/session/execution.js +152 -152
- package/dist/session/generate.js +188 -188
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +186 -186
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +225 -225
- package/dist/shell/parse.js +8 -8
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +141 -141
- package/dist/skill.js +150 -150
- package/dist/snapshot.js +99 -99
- 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 +163 -163
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +158 -158
- package/dist/tool/plugin/grep.js +158 -158
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +156 -156
- package/dist/tool/plugin/question.js +138 -138
- package/dist/tool/plugin/read.js +159 -159
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +145 -145
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/integration.d.ts +0 -2
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- 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/variant.js +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +95 -95
- package/dist/voice.js +94 -94
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +106 -106
- package/package.json +8 -8
- package/dist/chunks/workspace-8yc2jv87.js +0 -257
- package/dist/chunks/workspace-b1bdn9ww.js +0 -18
- package/dist/chunks/workspace-vznp0c4w.js +0 -26
- package/dist/chunks/workspace-y4sbm31z.js +0 -517
- /package/dist/chunks/{workspace-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1jakw16s.js → repository-cache-1jakw16s.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4m86bj6y.js → repository-cache-4m86bj6y.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-5w3e23ze.js → repository-cache-5w3e23ze.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a058387c.js → repository-cache-a058387c.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-beh6qq61.js → repository-cache-beh6qq61.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cqv5kn06.js → repository-cache-cqv5kn06.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fkpq3x5p.js → repository-cache-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jwr30sdr.js → repository-cache-jwr30sdr.js} +0 -0
- /package/dist/chunks/{workspace-jze0r7bz.js → repository-cache-jze0r7bz.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-m18g726c.js → repository-cache-m18g726c.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-ncqqe42p.js → repository-cache-ncqqe42p.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-p71gwv9c.js → repository-cache-p71gwv9c.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-69zgfr7z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service35,
|
|
7
|
+
node39
|
|
8
|
+
} from "./repository-cache-8nzygxt8.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-4pyp9zr9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service54,
|
|
14
|
+
node56
|
|
15
|
+
} from "./repository-cache-kqjqdw98.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service43,
|
|
18
|
+
node46
|
|
19
|
+
} from "./repository-cache-vb2nzj1m.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service64,
|
|
22
|
+
node66
|
|
23
|
+
} from "./repository-cache-5bbnem9k.js";
|
|
24
24
|
import {
|
|
25
25
|
MEDIA_MIMES2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-cache-5btzaxpa.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/mcp.ts
|
|
32
32
|
var exports_mcp3 = {};
|
|
33
33
|
__export(exports_mcp3, {
|
|
34
34
|
McpTool: () => exports_mcp3,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service33,
|
|
36
36
|
layer: () => layer15,
|
|
37
37
|
name: () => name14,
|
|
38
38
|
namespace: () => namespace2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node37
|
|
40
40
|
});
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -47,14 +47,14 @@ var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown
|
|
|
47
47
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
48
48
|
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service33 extends Context.Service()("@opencode/McpTool") {
|
|
51
51
|
}
|
|
52
|
-
var layer15 = Layer.effect(
|
|
53
|
-
const mcp = yield*
|
|
54
|
-
const tools = yield*
|
|
52
|
+
var layer15 = Layer.effect(Service33, Effect.gen(function* () {
|
|
53
|
+
const mcp = yield* Service35;
|
|
54
|
+
const tools = yield* Service43;
|
|
55
55
|
const bus = yield* Service85;
|
|
56
|
-
const permission = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
56
|
+
const permission = yield* Service54;
|
|
57
|
+
const toolOutput = yield* Service64;
|
|
58
58
|
const lock = Semaphore.makeUnsafe(1);
|
|
59
59
|
let discovered = [];
|
|
60
60
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -124,7 +124,7 @@ var layer15 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
124
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
125
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
126
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
127
|
-
return
|
|
127
|
+
return Service33.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
128
128
|
}));
|
|
129
129
|
var toContent = Effect.fnUntraced(function* (part, toolOutput) {
|
|
130
130
|
if (part.type === "text")
|
|
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
|
|
|
144
144
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
145
145
|
};
|
|
146
146
|
});
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
147
|
+
var node37 = makeLocationNode({
|
|
148
|
+
service: Service33,
|
|
149
149
|
layer: layer15,
|
|
150
|
-
deps: [
|
|
150
|
+
deps: [node46, node39, node89, node56, node66]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { namespace2, name14,
|
|
153
|
+
export { namespace2, name14, Service33, layer15, node37, exports_mcp3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-69zgfr7z.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-bstexjd6.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service61,
|
|
17
|
+
node63
|
|
18
|
+
} from "./repository-cache-93ab2gax.js";
|
|
19
19
|
import {
|
|
20
20
|
changes2,
|
|
21
21
|
create3
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./repository-cache-204s3925.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/reference.ts
|
|
28
28
|
var exports_reference2 = {};
|
|
29
29
|
__export(exports_reference2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event6,
|
|
31
31
|
GitSource: () => GitSource2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info9,
|
|
33
33
|
LocalSource: () => LocalSource2,
|
|
34
34
|
Reference: () => exports_reference2,
|
|
35
|
-
Service: () =>
|
|
36
|
-
Source: () =>
|
|
37
|
-
node: () =>
|
|
35
|
+
Service: () => Service42,
|
|
36
|
+
Source: () => Source3,
|
|
37
|
+
node: () => node45
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
41
41
|
import { Reference } from "@opencode/schema/reference";
|
|
42
42
|
import { Global } from "@opencode/util/global";
|
|
43
|
-
import { Event as
|
|
43
|
+
import { Event as Event6 } from "@opencode/schema/reference";
|
|
44
44
|
var LocalSource2 = Reference.LocalSource;
|
|
45
45
|
var GitSource2 = Reference.GitSource;
|
|
46
|
-
var
|
|
47
|
-
var
|
|
46
|
+
var Source3 = Reference.Source;
|
|
47
|
+
var Info9 = Reference.Info;
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service42 extends Context.Service()("@opencode/Reference") {
|
|
50
50
|
}
|
|
51
|
-
var layer = Layer.effect(
|
|
51
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const bus = yield* Service85;
|
|
54
|
-
const cache = yield*
|
|
54
|
+
const cache = yield* Service61;
|
|
55
55
|
const scope = yield* Scope.Scope;
|
|
56
56
|
const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
|
|
57
57
|
const info = {
|
|
@@ -61,7 +61,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
61
61
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
62
62
|
};
|
|
63
63
|
if (source.type === "local")
|
|
64
|
-
return [
|
|
64
|
+
return [Info9.make({ ...info, path: source.path })];
|
|
65
65
|
const repository = parse4(source.repository);
|
|
66
66
|
if (!repository || !isRemote2(repository))
|
|
67
67
|
return [];
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return [
|
|
76
|
-
|
|
76
|
+
Info9.make({
|
|
77
77
|
...info,
|
|
78
78
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
79
79
|
})
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
107
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
108
|
-
return
|
|
108
|
+
return Service42.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
113
113
|
})
|
|
114
114
|
});
|
|
115
115
|
}));
|
|
116
|
-
var
|
|
117
|
-
service:
|
|
116
|
+
var node45 = makeLocationNode({
|
|
117
|
+
service: Service42,
|
|
118
118
|
layer,
|
|
119
|
-
deps: [Global.node, node89,
|
|
119
|
+
deps: [Global.node, node89, node63]
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
export { LocalSource2, GitSource2,
|
|
122
|
+
export { LocalSource2, GitSource2, Source3, Info9, Service42, node45, exports_reference2, Event6 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-69zgfr7z.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event18,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info26,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError11,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service80,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer28,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node84,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event18 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
|
+
var Info26 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID15
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID15,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service80 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer28 = Layer.effect(
|
|
84
|
+
var layer28 = Layer.effect(Service80, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service85;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID15.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service80.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node84 = makeLocationNode({ service: Service80, layer: layer28, deps: [node89] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID15, Info26, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service80, layer28, node84, validateAnswer2, validateFields2, exports_form, Event18 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-61ennm6n.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-69zgfr7z.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./repository-cache-adf3gjyn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-0711fn9k.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service78
|
|
20
|
+
} from "./repository-cache-cwcqs07e.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./repository-cache-dh0xafzq.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./repository-cache-grnvj370.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-cache-p1vte9h6.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID7
|
|
33
|
+
} from "./repository-cache-m6ved7xn.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./repository-cache-3nnrz6f6.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -66,7 +66,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
66
66
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
67
67
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
68
68
|
var oauth = (app) => ({
|
|
69
|
-
integrationID:
|
|
69
|
+
integrationID: ID14.make("github-copilot"),
|
|
70
70
|
method: {
|
|
71
71
|
id: methodID,
|
|
72
72
|
type: "oauth",
|
|
@@ -164,7 +164,7 @@ var oauth = (app) => ({
|
|
|
164
164
|
var GithubCopilotPlugin2 = define({
|
|
165
165
|
id: "opencode.provider.github.copilot",
|
|
166
166
|
effect: Effect.fn(function* (ctx) {
|
|
167
|
-
const providers = yield*
|
|
167
|
+
const providers = yield* Service78;
|
|
168
168
|
const bus = yield* Service85;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
const loaded = {};
|
|
@@ -181,9 +181,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
183
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
184
|
-
const provider = yield* providers.get(
|
|
184
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
185
185
|
const remote = yield* Effect.tryPromise({
|
|
186
|
-
try: () =>
|
|
186
|
+
try: () => load3(url, {
|
|
187
187
|
...provider?.headers,
|
|
188
188
|
Authorization: `Bearer ${credential.refresh}`,
|
|
189
189
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -203,13 +203,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
203
203
|
editor.method.update(oauth(ctx.app));
|
|
204
204
|
});
|
|
205
205
|
yield* ctx.provider.transform((evt) => {
|
|
206
|
-
const item = evt.get(
|
|
206
|
+
const item = evt.get(ID13.githubCopilot);
|
|
207
207
|
if (!item)
|
|
208
208
|
return;
|
|
209
209
|
if (loaded.models) {
|
|
210
210
|
evt.add({
|
|
211
211
|
info: item.provider,
|
|
212
|
-
models: Array.from(
|
|
212
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
213
213
|
sourceConnection: loaded.connection
|
|
214
214
|
});
|
|
215
215
|
return;
|
|
@@ -231,17 +231,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
yield* ctx.model.transform((models) => {
|
|
234
|
-
if (models.get(
|
|
235
|
-
models.update(
|
|
234
|
+
if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
235
|
+
models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
|
|
236
236
|
model.enabled = false;
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
yield* refresh().pipe(Effect.forkScoped);
|
|
243
243
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
247
247
|
return;
|
|
@@ -250,7 +250,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
250
250
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
251
251
|
}));
|
|
252
252
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
256
256
|
return;
|
|
@@ -260,13 +260,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
260
260
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
261
261
|
if (interaction !== "conversation-agent")
|
|
262
262
|
evt.headers["x-initiator"] = "agent";
|
|
263
|
-
}), { providerID:
|
|
263
|
+
}), { providerID: ID13.githubCopilot });
|
|
264
264
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
265
|
-
if (evt.model.providerID !==
|
|
265
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
266
266
|
return;
|
|
267
267
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
268
268
|
return;
|
|
269
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
269
|
+
const agent = yield* ctx.agent.get({ agentID: ID7.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
270
270
|
return;
|
|
271
271
|
}));
|
|
272
272
|
if (agent?.data.model)
|
|
@@ -277,9 +277,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
277
277
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
278
278
|
return;
|
|
279
279
|
}));
|
|
280
|
-
}), { providerID:
|
|
280
|
+
}), { providerID: ID13.githubCopilot });
|
|
281
281
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
282
|
-
if (evt.model.providerID !==
|
|
282
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
283
283
|
return;
|
|
284
284
|
const token = evt.request.headers.get("x-api-key");
|
|
285
285
|
if (!token)
|
|
@@ -287,9 +287,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
287
287
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
288
288
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
289
289
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
290
|
-
}), { providerID:
|
|
290
|
+
}), { providerID: ID13.githubCopilot });
|
|
291
291
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
292
|
-
if (evt.model.providerID !==
|
|
292
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
293
293
|
return;
|
|
294
294
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
295
295
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./repository-cache-cwcqs07e.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -35,15 +35,15 @@ var AmazonBedrockPlugin2 = define({
|
|
|
35
35
|
})))).filter(Boolean).toSorted();
|
|
36
36
|
yield* ctx.integration.transform((editor) => {
|
|
37
37
|
editor.method.update({
|
|
38
|
-
integrationID:
|
|
38
|
+
integrationID: ID13.amazonBedrock,
|
|
39
39
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
40
40
|
});
|
|
41
41
|
editor.method.update({
|
|
42
|
-
integrationID:
|
|
42
|
+
integrationID: ID13.amazonBedrock,
|
|
43
43
|
method: { type: "key", label: "Bedrock API key" }
|
|
44
44
|
});
|
|
45
45
|
editor.method.update({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID13.amazonBedrock,
|
|
47
47
|
method: {
|
|
48
48
|
id: "aws-profile",
|
|
49
49
|
type: "external",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./repository-cache-cwcqs07e.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9111wyrc.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
11
11
|
import { Form } from "@opencode/schema/form";
|
|
12
|
-
var providerID =
|
|
12
|
+
var providerID = ID13.make("cloudflare-workers-ai");
|
|
13
13
|
var CloudflareWorkersAIPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|