@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,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-p1vte9h6.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
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID13
|
|
17
|
+
} from "./repository-cache-cwcqs07e.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID12,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-dh0xafzq.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-yb20nhc3.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID13.make("digitalocean");
|
|
31
|
+
var integrationID = ID14.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID12.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-69zgfr7z.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/command.ts
|
|
14
14
|
var exports_command4 = {};
|
|
15
15
|
__export(exports_command4, {
|
|
16
16
|
Command: () => exports_command4,
|
|
17
|
-
Event: () =>
|
|
17
|
+
Event: () => Event5,
|
|
18
18
|
ExecutionError: () => ExecutionError2,
|
|
19
19
|
Info: () => Info8,
|
|
20
|
-
NotFoundError: () =>
|
|
21
|
-
Service: () =>
|
|
20
|
+
NotFoundError: () => NotFoundError4,
|
|
21
|
+
Service: () => Service41,
|
|
22
22
|
layer: () => layer19,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node44
|
|
24
24
|
});
|
|
25
25
|
import { Command } from "@opencode/schema/command";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
|
-
import { Event as
|
|
28
|
+
import { Event as Event5 } from "@opencode/schema/command";
|
|
29
29
|
var Info8 = Command.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class NotFoundError4 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
32
32
|
command: Schema.String,
|
|
33
33
|
message: Schema.String
|
|
34
34
|
}) {
|
|
@@ -40,9 +40,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service41 extends Context.Service()("@opencode/Command") {
|
|
44
44
|
}
|
|
45
|
-
var layer19 = Layer.effect(
|
|
45
|
+
var layer19 = Layer.effect(Service41, Effect.gen(function* () {
|
|
46
46
|
const bus = yield* Service85;
|
|
47
47
|
const info = (definition) => Info8.make({
|
|
48
48
|
name: definition.name,
|
|
@@ -56,7 +56,7 @@ var layer19 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
56
56
|
}),
|
|
57
57
|
notify: changes2((commands) => Array.from(commands.values(), info), () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid))
|
|
58
58
|
});
|
|
59
|
-
return
|
|
59
|
+
return Service41.of({
|
|
60
60
|
reload: state.reload,
|
|
61
61
|
transform: state.transform,
|
|
62
62
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -67,13 +67,13 @@ var layer19 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
67
67
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
68
68
|
const definition = state.get().get(input.name);
|
|
69
69
|
if (!definition)
|
|
70
|
-
return yield* new
|
|
70
|
+
return yield* new NotFoundError4({ command: input.name, message: `Command not found: ${input.name}` });
|
|
71
71
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
72
72
|
})
|
|
73
73
|
});
|
|
74
74
|
}));
|
|
75
|
-
var
|
|
76
|
-
service:
|
|
75
|
+
var node44 = makeLocationNode({
|
|
76
|
+
service: Service41,
|
|
77
77
|
layer: layer19,
|
|
78
78
|
deps: [node89]
|
|
79
79
|
});
|
|
@@ -87,4 +87,4 @@ function errorMessage(error) {
|
|
|
87
87
|
return "Command execution failed";
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export { Info8,
|
|
90
|
+
export { Info8, NotFoundError4, ExecutionError2, Service41, layer19, node44, exports_command4, Event5 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-x00hvv89.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-69zgfr7z.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID16,
|
|
26
|
+
Info: () => Info27,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service81,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node85
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -37,24 +37,24 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { EffectFlock } from "@opencode/util/effect-flock";
|
|
40
|
-
var
|
|
40
|
+
var ID16 = Credential.ID;
|
|
41
41
|
var OAuth3 = Credential.OAuth;
|
|
42
42
|
var Key4 = Credential.Key;
|
|
43
43
|
var External2 = Credential.External;
|
|
44
44
|
var Value2 = Credential.Value;
|
|
45
|
-
var
|
|
45
|
+
var Event19 = Credential.Event;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class Info27 extends Schema.Class("Credential.Info")({
|
|
48
|
+
id: ID16,
|
|
49
49
|
integrationID: Integration.ID,
|
|
50
50
|
label: Schema.String,
|
|
51
51
|
value: Value2
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service81 extends Context.Service()("@opencode/Credential") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
58
58
|
const db = (yield* Service87).db;
|
|
59
59
|
const bus = yield* Service85;
|
|
60
60
|
const flock = yield* EffectFlock.Service;
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
64
64
|
const stored = (row) => {
|
|
65
65
|
if (!row.integration_id)
|
|
66
66
|
return;
|
|
67
|
-
return new
|
|
67
|
+
return new Info27({
|
|
68
68
|
id: row.id,
|
|
69
69
|
integrationID: row.integration_id,
|
|
70
70
|
label: row.label,
|
|
@@ -75,7 +75,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
75
75
|
const credential = stored(row);
|
|
76
76
|
return credential ? [credential] : [];
|
|
77
77
|
});
|
|
78
|
-
return
|
|
78
|
+
return Service81.of({
|
|
79
79
|
lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
|
|
80
80
|
const current = pending.get(id);
|
|
81
81
|
if (current)
|
|
@@ -91,8 +91,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
91
91
|
return row ? stored(row) : undefined;
|
|
92
92
|
}),
|
|
93
93
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
94
|
-
const credential = new
|
|
95
|
-
id: input.id ??
|
|
94
|
+
const credential = new Info27({
|
|
95
|
+
id: input.id ?? ID16.create(),
|
|
96
96
|
integrationID: input.integrationID,
|
|
97
97
|
label: input.label ?? "default",
|
|
98
98
|
value: input.value
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
123
123
|
type: credential.value.type,
|
|
124
124
|
active: activated
|
|
125
125
|
});
|
|
126
|
-
yield* bus.publish(
|
|
126
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
127
127
|
if (activated)
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
129
129
|
return credential;
|
|
130
130
|
}),
|
|
131
131
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
145
145
|
})), Effect.orDie);
|
|
146
146
|
if (integrationID) {
|
|
147
147
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
148
|
-
yield* bus.publish(
|
|
148
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
149
149
|
}
|
|
150
150
|
}),
|
|
151
151
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -177,7 +177,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
177
177
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
178
178
|
});
|
|
179
179
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
180
|
-
yield* bus.publish(
|
|
180
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
181
181
|
}),
|
|
182
182
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
183
183
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -210,12 +210,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
210
210
|
active: removed.switched,
|
|
211
211
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
212
212
|
});
|
|
213
|
-
yield* bus.publish(
|
|
213
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
214
214
|
if (removed.switched)
|
|
215
|
-
yield* bus.publish(
|
|
215
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
216
216
|
})
|
|
217
217
|
});
|
|
218
218
|
}));
|
|
219
|
-
var
|
|
219
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [node91, node89, EffectFlock.node] });
|
|
220
220
|
|
|
221
|
-
export {
|
|
221
|
+
export { ID16, OAuth3, Key4, External2, Value2, Event19, Info27, Service81, node85, exports_credential };
|
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-x00hvv89.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-69zgfr7z.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-204s3925.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID7,
|
|
14
|
+
Service57,
|
|
15
|
+
node59
|
|
16
|
+
} from "./repository-cache-m6ved7xn.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-p015t6z3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service77,
|
|
22
|
+
node81
|
|
23
|
+
} from "./repository-cache-dh0xafzq.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-cache-8wtp7s3z.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-cache-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
kept2,
|
|
32
32
|
messageToText2,
|
|
33
33
|
serializeToolContent2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./repository-cache-v2r1d0zg.js";
|
|
35
35
|
import {
|
|
36
36
|
isNativeCompaction2,
|
|
37
37
|
load5
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./repository-cache-x4gc5gbk.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./repository-cache-fwgp6qwj.js";
|
|
42
42
|
import {
|
|
43
43
|
outputLimit2,
|
|
44
44
|
baseTranscript2,
|
|
45
45
|
unsupportedParts2,
|
|
46
46
|
boundImages2,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service37,
|
|
48
|
+
node41
|
|
49
|
+
} from "./repository-cache-6z1320sj.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service49,
|
|
52
|
+
node51
|
|
53
|
+
} from "./repository-cache-jzesebws.js";
|
|
54
54
|
import {
|
|
55
55
|
isRetryable2,
|
|
56
56
|
policy2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./repository-cache-djjzzs3c.js";
|
|
58
58
|
import {
|
|
59
59
|
toSessionError2,
|
|
60
60
|
contentFilterError2
|
|
61
|
-
} from "./
|
|
61
|
+
} from "./repository-cache-98qrekfe.js";
|
|
62
62
|
import {
|
|
63
63
|
calculateCost2,
|
|
64
64
|
record2,
|
|
65
65
|
add2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./repository-cache-r542h3bh.js";
|
|
67
67
|
import {
|
|
68
68
|
__export
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
70
70
|
|
|
71
71
|
// src/session/compaction.ts
|
|
72
72
|
var exports_compaction2 = {};
|
|
73
73
|
__export(exports_compaction2, {
|
|
74
|
-
Service: () =>
|
|
74
|
+
Service: () => Service8,
|
|
75
75
|
SessionCompaction: () => exports_compaction2,
|
|
76
76
|
buildPrompt: () => buildPrompt2,
|
|
77
77
|
estimateContext: () => estimateContext2,
|
|
78
78
|
estimatePrompt: () => estimatePrompt2,
|
|
79
79
|
layer: () => layer7,
|
|
80
|
-
node: () =>
|
|
80
|
+
node: () => node10,
|
|
81
81
|
recentUserMessages: () => recentUserMessages2
|
|
82
82
|
});
|
|
83
83
|
import {
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
} from "@opencode/ai/effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
95
|
import { Context, Effect, Exit, Fiber, Layer, Result, Scope, Stream } from "effect";
|
|
96
|
-
class
|
|
96
|
+
class Service8 extends Context.Service()("@opencode/SessionCompaction") {
|
|
97
97
|
}
|
|
98
98
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
99
99
|
var SHRINK_STEPS = [0.85, 0.7, 0.5, 0.35];
|
|
@@ -184,14 +184,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
184
184
|
};
|
|
185
185
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
186
186
|
var LEGACY_HEADING = "## Additional Context";
|
|
187
|
-
var layer7 = Layer.effect(
|
|
188
|
-
const agents = yield*
|
|
187
|
+
var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
188
|
+
const agents = yield* Service57;
|
|
189
189
|
const bus = yield* Service85;
|
|
190
190
|
const llm = yield* LLMClient.Service;
|
|
191
|
-
const catalog = yield*
|
|
192
|
-
const models = yield*
|
|
191
|
+
const catalog = yield* Service77;
|
|
192
|
+
const models = yield* Service49;
|
|
193
193
|
const db = (yield* Service87).db;
|
|
194
|
-
const requests = yield*
|
|
194
|
+
const requests = yield* Service37;
|
|
195
195
|
const scope = yield* Scope.Scope;
|
|
196
196
|
const precomputed = new Map;
|
|
197
197
|
const state = create3({
|
|
@@ -204,7 +204,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
204
204
|
})
|
|
205
205
|
});
|
|
206
206
|
const selectModel = Effect.fnUntraced(function* (context, buffer, native) {
|
|
207
|
-
const agent = native ? undefined : yield* agents.get(
|
|
207
|
+
const agent = native ? undefined : yield* agents.get(ID7.make("compaction"));
|
|
208
208
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
209
209
|
return;
|
|
210
210
|
})))) ?? context.model;
|
|
@@ -577,17 +577,17 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
577
577
|
}, { metadata: outcome.metadata });
|
|
578
578
|
return { status: "completed" };
|
|
579
579
|
});
|
|
580
|
-
return
|
|
580
|
+
return Service8.of({
|
|
581
581
|
transform: state.transform,
|
|
582
582
|
reload: state.reload,
|
|
583
583
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id)))),
|
|
584
584
|
precompute
|
|
585
585
|
});
|
|
586
586
|
}));
|
|
587
|
-
var
|
|
588
|
-
service:
|
|
587
|
+
var node10 = makeLocationNode({
|
|
588
|
+
service: Service8,
|
|
589
589
|
layer: layer7,
|
|
590
|
-
deps: [
|
|
590
|
+
deps: [node59, node89, node91, llmClient2, node81, node41, node51]
|
|
591
591
|
});
|
|
592
592
|
var heldIndex = (held, context) => {
|
|
593
593
|
if (held.firstID !== context.messages[0]?.id || held.initial !== context.initial)
|
|
@@ -772,4 +772,4 @@ var estimateMedia = (mime) => {
|
|
|
772
772
|
return 0;
|
|
773
773
|
};
|
|
774
774
|
|
|
775
|
-
export {
|
|
775
|
+
export { Service8, buildPrompt2, layer7, node10, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-69zgfr7z.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-fhsk438g.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
changes2,
|
|
12
12
|
inherit2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-204s3925.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
Service40,
|
|
16
16
|
awaitActivation2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-cache-z355x5yr.js";
|
|
18
18
|
import {
|
|
19
19
|
make13,
|
|
20
20
|
requirements3,
|
|
21
21
|
storage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./repository-cache-bb4x0tjg.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/plugin.ts
|
|
28
28
|
var exports_plugin2 = {};
|
|
29
29
|
__export(exports_plugin2, {
|
|
30
30
|
Event: () => Event2,
|
|
31
31
|
ID: () => ID2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info3,
|
|
33
33
|
Plugin: () => exports_plugin2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service40,
|
|
35
35
|
Source: () => Source2,
|
|
36
36
|
State: () => State2,
|
|
37
37
|
awaitActivation: () => awaitActivation2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node19
|
|
39
39
|
});
|
|
40
|
-
import { Event as Event2, ID as ID2, Info as
|
|
40
|
+
import { Event as Event2, ID as ID2, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
41
41
|
import { Plugin } from "@opencode/schema/plugin";
|
|
42
42
|
import { Node } from "@opencode/util/effect/app-node";
|
|
43
43
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
44
|
-
var layer = Layer.effect(
|
|
44
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service85;
|
|
46
46
|
const kv = yield* Service86;
|
|
47
47
|
const scope = yield* Scope.make();
|
|
@@ -204,7 +204,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
204
204
|
yield* shutdown2(Scope.close(scope, exit));
|
|
205
205
|
}));
|
|
206
206
|
yield* Effect.addFinalizer(close);
|
|
207
|
-
return
|
|
207
|
+
return Service40.of({
|
|
208
208
|
activate,
|
|
209
209
|
close,
|
|
210
210
|
awaitActivation: ready.await,
|
|
@@ -221,10 +221,10 @@ function slotInfo(slot) {
|
|
|
221
221
|
features: { server: true, ...slot.plugin.features }
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
|
-
var
|
|
225
|
-
service:
|
|
224
|
+
var node19 = Node.makeLocationNode({
|
|
225
|
+
service: Service40,
|
|
226
226
|
layer,
|
|
227
227
|
deps: [requirements3]
|
|
228
228
|
});
|
|
229
229
|
|
|
230
|
-
export {
|
|
230
|
+
export { node19, exports_plugin2, Event2, ID2, Info3, Source2, State2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-xt0z8zst.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Name2,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
available4,
|
|
11
|
+
Service45,
|
|
12
|
+
node48
|
|
13
|
+
} from "./repository-cache-pzbtwyx3.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
19
|
var exports_instructions4 = {};
|
|
20
20
|
__export(exports_instructions4, {
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service36,
|
|
22
22
|
SkillInstructions: () => exports_instructions4,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node40
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID4,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -64,14 +64,14 @@ var update = (previous, current) => {
|
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class Service36 extends Context.Service()("@opencode/SkillInstructions") {
|
|
68
68
|
}
|
|
69
|
-
var layer = Layer.effect(
|
|
70
|
-
const skills = yield*
|
|
71
|
-
return
|
|
69
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
70
|
+
const skills = yield* Service45;
|
|
71
|
+
return Service36.of({
|
|
72
72
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
73
|
-
const available =
|
|
74
|
-
return
|
|
73
|
+
const available = available4(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
74
|
+
return make20({
|
|
75
75
|
key: Key3.make("core/skill-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -84,6 +84,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
84
84
|
})
|
|
85
85
|
});
|
|
86
86
|
}));
|
|
87
|
-
var
|
|
87
|
+
var node40 = makeLocationNode({ service: Service36, layer, deps: [node48] });
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service36, node40, exports_instructions4 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-0k1p4s69.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-qkxp7296.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|