@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,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-cache-cwcqs07e.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info22
|
|
11
|
+
} from "./repository-cache-dh0xafzq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load3
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load3(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load3(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load4(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -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 = ID12.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 Info22.make({
|
|
122
|
+
...Info22.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID12.make(remote.id),
|
|
125
|
+
providerID: ID13.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"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load3, derive2, exports_models };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-x00hvv89.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-11hfp36g.js";
|
|
8
8
|
import {
|
|
9
9
|
Service85,
|
|
10
10
|
node89
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-69zgfr7z.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessageTable2,
|
|
17
17
|
SessionInboxTable2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-gg8p9cgs.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionMessage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-gftt206x.js";
|
|
22
22
|
import {
|
|
23
23
|
UserPayload3
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-prq7xxp2.js";
|
|
25
25
|
import {
|
|
26
26
|
hydrateInbox2,
|
|
27
27
|
keepInboxRefs2,
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
externalizePayload2,
|
|
30
30
|
recordRefs2,
|
|
31
31
|
releaseMessage2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-cache-p96sj727.js";
|
|
33
33
|
import {
|
|
34
34
|
decodeMessageRows2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./repository-cache-x4gc5gbk.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/inbox.ts
|
|
41
41
|
var exports_inbox = {};
|
|
@@ -43,7 +43,7 @@ __export(exports_inbox, {
|
|
|
43
43
|
Compaction: () => Compaction2,
|
|
44
44
|
CompactionPayload: () => CompactionPayload2,
|
|
45
45
|
Delivery: () => Delivery2,
|
|
46
|
-
Info: () =>
|
|
46
|
+
Info: () => Info11,
|
|
47
47
|
Item: () => Item2,
|
|
48
48
|
LifecycleConflict: () => LifecycleConflict2,
|
|
49
49
|
MediaInfo: () => MediaInfo2,
|
|
@@ -51,7 +51,7 @@ __export(exports_inbox, {
|
|
|
51
51
|
MediaUserPayload: () => MediaUserPayload2,
|
|
52
52
|
Move: () => Move2,
|
|
53
53
|
MovePayload: () => MovePayload2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service48,
|
|
55
55
|
SessionInbox: () => exports_inbox,
|
|
56
56
|
Synthetic: () => Synthetic2,
|
|
57
57
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -59,13 +59,13 @@ __export(exports_inbox, {
|
|
|
59
59
|
UserPayload: () => UserPayload2,
|
|
60
60
|
find: () => find2,
|
|
61
61
|
has: () => has2,
|
|
62
|
-
layer: () =>
|
|
62
|
+
layer: () => layer21,
|
|
63
63
|
list: () => list3,
|
|
64
64
|
listWithRefs: () => listWithRefs2,
|
|
65
|
-
make: () =>
|
|
65
|
+
make: () => make19,
|
|
66
66
|
moveIDs: () => moveIDs2,
|
|
67
67
|
nextPromotable: () => nextPromotable2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node50,
|
|
69
69
|
projectAdmitted: () => projectAdmitted2,
|
|
70
70
|
projectCancelled: () => projectCancelled2,
|
|
71
71
|
projectDelivered: () => projectDelivered2,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
Compaction as Compaction2,
|
|
81
81
|
CompactionPayload as CompactionPayload2,
|
|
82
82
|
Delivery as Delivery2,
|
|
83
|
-
Info as
|
|
83
|
+
Info as Info11,
|
|
84
84
|
Item as Item2,
|
|
85
85
|
MediaInfo as MediaInfo2,
|
|
86
86
|
MediaUser as MediaUser2,
|
|
@@ -184,9 +184,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
184
184
|
});
|
|
185
185
|
});
|
|
186
186
|
|
|
187
|
-
class
|
|
187
|
+
class Service48 extends Context.Service()("@opencode/SessionInbox") {
|
|
188
188
|
}
|
|
189
|
-
var
|
|
189
|
+
var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
190
190
|
const database = yield* Service87;
|
|
191
191
|
const db = database.db;
|
|
192
192
|
const bus = yield* Service85;
|
|
@@ -206,7 +206,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
206
206
|
inboxID: request.id,
|
|
207
207
|
sessionID: request.sessionID,
|
|
208
208
|
item: request.item
|
|
209
|
-
}).pipe(Effect.map((event) =>
|
|
209
|
+
}).pipe(Effect.map((event) => Info11.make({
|
|
210
210
|
id: request.id,
|
|
211
211
|
sessionID: request.sessionID,
|
|
212
212
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -260,8 +260,8 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
260
260
|
queue
|
|
261
261
|
};
|
|
262
262
|
});
|
|
263
|
-
var
|
|
264
|
-
var
|
|
263
|
+
var layer21 = Layer.effect(Service48, make19());
|
|
264
|
+
var node50 = makeGlobalNode({ service: Service48, layer: layer21, deps: [node91, node89] });
|
|
265
265
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
266
266
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
267
267
|
if (message !== undefined)
|
|
@@ -385,4 +385,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
385
385
|
return rows;
|
|
386
386
|
}));
|
|
387
387
|
|
|
388
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
388
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info11, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service48, make19, layer21, node50, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service82
|
|
9
|
+
} from "./repository-cache-gj88ka9e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service73
|
|
12
|
+
} from "./repository-cache-1v5xq3rj.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service72
|
|
16
|
+
} from "./repository-cache-yc79q165.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-j6gvah3y.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service54
|
|
26
|
+
} from "./repository-cache-kqjqdw98.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service13
|
|
29
|
+
} from "./repository-cache-76q453m6.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
38
|
+
Input: () => Input3,
|
|
39
39
|
Output: () => Output3,
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
40
|
+
Plugin: () => Plugin4,
|
|
41
|
+
name: () => name3,
|
|
42
|
+
toModelContent: () => toModelContent2
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name3 = "grep";
|
|
48
|
+
var Input3 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -66,7 +66,7 @@ var Input4 = Schema.Struct({
|
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
68
|
var Output3 = Schema.Array(Match2);
|
|
69
|
-
var
|
|
69
|
+
var toModelContent2 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin4 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service73;
|
|
90
|
+
const ripgrep = yield* Service72;
|
|
91
|
+
const location = yield* Service82;
|
|
92
|
+
const access = yield* Service13;
|
|
93
|
+
const permission = yield* Service54;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name3,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
98
|
+
input: Input3,
|
|
99
99
|
output: Output3,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name3,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin41 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent2(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin41 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name3, Input3, Output3, toModelContent2, Plugin4, exports_grep };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-11hfp36g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service73,
|
|
6
|
+
node75
|
|
7
|
+
} from "./repository-cache-1v5xq3rj.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service23,
|
|
17
|
+
node: () => node26,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service23 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service73;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service23.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node26 = makeLocationNode({ service: Service23, layer, deps: [node75] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service23, readText2, syncTextBom2, node26, exports_file_mutation };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info15,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote3
|
|
@@ -70,6 +70,6 @@ var Remote3 = Schema.Struct({
|
|
|
70
70
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
71
71
|
})
|
|
72
72
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
73
|
-
var
|
|
73
|
+
var Info15 = Schema.Union([Local2, Remote3]).annotate({ discriminator: "type" });
|
|
74
74
|
|
|
75
|
-
export { Local2, OAuth2, Remote3,
|
|
75
|
+
export { Local2, OAuth2, Remote3, Info15, exports_mcp5 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-4btp19b3.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make8 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make6 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make8();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make8, LMStudioPlugin2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event20,
|
|
13
|
+
ID: () => ID18,
|
|
14
|
+
Info: () => Info30,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID18 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info30 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event20 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID18, Current3, Info30, UpdateInput4, Event20, Vcs3, exports_schema };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service85,
|
|
4
4
|
node89
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-cache-69zgfr7z.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service3,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
16
|
layer: () => layer5,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node4
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service3 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var layer5 = Layer.effect(
|
|
25
|
+
var layer5 = Layer.effect(Service3, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service85;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service3.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node4 = makeGlobalNode({ service: Service3, layer: layer5, deps: [node89] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service3, layer5, node4, exports_sdk };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./repository-cache-kke9g1hb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Info10,
|
|
9
|
+
ID4,
|
|
10
10
|
Name2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-pzbtwyx3.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin49,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -430,20 +430,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
430
430
|
var ReportContent2 = report_default;
|
|
431
431
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
432
432
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
433
|
-
var
|
|
433
|
+
var Plugin49 = define({
|
|
434
434
|
id: "opencode.skill",
|
|
435
435
|
effect: Effect.fn(function* (ctx) {
|
|
436
436
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
437
437
|
yield* ctx.skill.transform((editor) => {
|
|
438
|
-
editor.add(
|
|
439
|
-
id:
|
|
438
|
+
editor.add(Info10.make({
|
|
439
|
+
id: ID4.make("opencode"),
|
|
440
440
|
name: Name2.make("OpenCode"),
|
|
441
441
|
description: OpencodeDescription2,
|
|
442
442
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
443
443
|
content: OpencodeContent2
|
|
444
444
|
}));
|
|
445
|
-
editor.add(
|
|
446
|
-
id:
|
|
445
|
+
editor.add(Info10.make({
|
|
446
|
+
id: ID4.make("report"),
|
|
447
447
|
name: Name2.make("Report"),
|
|
448
448
|
description: REPORT_DESCRIPTION,
|
|
449
449
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
472
472
|
`);
|
|
473
473
|
});
|
|
474
474
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
475
|
-
const config = yield*
|
|
475
|
+
const config = yield* Service65;
|
|
476
476
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
477
477
|
});
|
|
478
478
|
function terminal() {
|
|
@@ -486,4 +486,4 @@ function shell() {
|
|
|
486
486
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
489
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin49, exports_skill3 };
|