@opencode/core 0.0.0-dev-528 → 0.0.0-dev-529
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +246 -246
- package/dist/bus.js +80 -80
- package/dist/chunks/{repository-cache-b4v9py3p.js → kv-01j9hg6p.js} +12 -12
- package/dist/chunks/{repository-cache-aj7mw0zk.js → kv-034tev2y.js} +2 -2
- package/dist/chunks/kv-03emy37z.js +26 -0
- package/dist/chunks/{repository-cache-39zp4fx6.js → kv-08gae5s0.js} +53 -53
- package/dist/chunks/{repository-cache-rvses7jn.js → kv-096af4ek.js} +9 -9
- package/dist/chunks/{repository-cache-0j7gp832.js → kv-0j7gp832.js} +1 -1
- package/dist/chunks/{repository-cache-va9v51gf.js → kv-0jkdfsmq.js} +29 -29
- package/dist/chunks/{repository-cache-q8kkq9af.js → kv-0krp9tgf.js} +12 -12
- package/dist/chunks/{repository-cache-0ma9gw4f.js → kv-0ma9gw4f.js} +2 -2
- package/dist/chunks/{repository-cache-y9vgbn35.js → kv-0p41qxs1.js} +7 -7
- package/dist/chunks/{repository-cache-g3hywy9d.js → kv-0qc6z4yr.js} +52 -52
- package/dist/chunks/{repository-cache-0mgzkh3z.js → kv-0sbnv8xr.js} +4 -4
- package/dist/chunks/{repository-cache-25v3tgn9.js → kv-0sjfwva1.js} +3 -3
- package/dist/chunks/{repository-cache-5yb3jceh.js → kv-0x0n7yr3.js} +38 -38
- package/dist/chunks/{repository-cache-bffda3dn.js → kv-10yag2ft.js} +10 -10
- package/dist/chunks/{repository-cache-bsyc285h.js → kv-11brdgyq.js} +31 -31
- package/dist/chunks/{repository-cache-23syddrh.js → kv-11jqq9a1.js} +18 -18
- package/dist/chunks/{repository-cache-1aqsckx4.js → kv-1aqsckx4.js} +1 -1
- package/dist/chunks/{repository-cache-27w5k9zf.js → kv-1ep2p91f.js} +2 -2
- package/dist/chunks/{repository-cache-pjrzy1fv.js → kv-1ez760by.js} +1 -1
- package/dist/chunks/{repository-cache-q5awx74q.js → kv-1f03813e.js} +26 -26
- package/dist/chunks/{repository-cache-sr1zjn91.js → kv-1s424h9e.js} +8 -8
- package/dist/chunks/{repository-cache-1v2g13eq.js → kv-1v2g13eq.js} +4 -4
- package/dist/chunks/{repository-cache-1x2knyw4.js → kv-1x2knyw4.js} +1 -1
- package/dist/chunks/{repository-cache-2kedh6bd.js → kv-1zc261y1.js} +4 -4
- package/dist/chunks/{repository-cache-hyrvnwfd.js → kv-22yy35xy.js} +23 -23
- package/dist/chunks/{repository-cache-sdhf0kag.js → kv-2eby3rgr.js} +23 -23
- package/dist/chunks/{repository-cache-ax5fhcrq.js → kv-2f42m7f5.js} +17 -17
- package/dist/chunks/{repository-cache-v5aaewsh.js → kv-2hra54m1.js} +4 -4
- package/dist/chunks/{repository-cache-v0t96s7a.js → kv-2kg89srt.js} +4 -4
- package/dist/chunks/{repository-cache-2p60zmnr.js → kv-2p60zmnr.js} +2 -2
- package/dist/chunks/{repository-cache-xwc34858.js → kv-2r7xvdf7.js} +25 -25
- package/dist/chunks/{repository-cache-9b5t9yj0.js → kv-2xp5w945.js} +9 -9
- package/dist/chunks/{repository-cache-4rfkerx3.js → kv-2yr9zyab.js} +59 -59
- package/dist/chunks/{repository-cache-gfmaa7tp.js → kv-2z5dm88b.js} +41 -41
- package/dist/chunks/{repository-cache-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-3nnrz6f6.js → kv-3nnrz6f6.js} +1 -1
- package/dist/chunks/{repository-cache-sdepy5w1.js → kv-3q0tzkdv.js} +10 -10
- package/dist/chunks/{repository-cache-8t99kr38.js → kv-3qgwywyc.js} +4 -4
- package/dist/chunks/{repository-cache-sryexa64.js → kv-3t1qzrqy.js} +6 -6
- package/dist/chunks/{repository-cache-40y6dtc2.js → kv-40y6dtc2.js} +1 -1
- package/dist/chunks/{repository-cache-40za9wsf.js → kv-40za9wsf.js} +2 -2
- package/dist/chunks/{repository-cache-mx1sggm0.js → kv-42r4z0p9.js} +16 -16
- package/dist/chunks/{repository-cache-44pmzq9c.js → kv-44pmzq9c.js} +2 -2
- package/dist/chunks/{repository-cache-hh0xjw11.js → kv-47mb2g3q.js} +13 -13
- package/dist/chunks/{repository-cache-ha5pvhjp.js → kv-4c9bdtyr.js} +35 -35
- package/dist/chunks/{repository-cache-pxdkb67n.js → kv-4dhachnm.js} +2 -2
- package/dist/chunks/{repository-cache-4dx1dgte.js → kv-4dx1dgte.js} +1 -1
- package/dist/chunks/{repository-cache-4f25tdd0.js → kv-4f25tdd0.js} +1 -1
- package/dist/chunks/{repository-cache-4pyp9zr9.js → kv-4pyp9zr9.js} +1 -1
- package/dist/chunks/{repository-cache-gfxhew10.js → kv-4smfxh8y.js} +29 -29
- package/dist/chunks/{repository-cache-4v008n1t.js → kv-4v008n1t.js} +1 -1
- package/dist/chunks/{repository-cache-y7b49pgm.js → kv-4vnqjrj3.js} +6 -6
- package/dist/chunks/{repository-cache-ena87qa0.js → kv-5dw815pp.js} +8 -8
- package/dist/chunks/{repository-cache-1nr3zt2y.js → kv-5exgak64.js} +16 -16
- package/dist/chunks/{repository-cache-myyg890f.js → kv-5f0w2ebz.js} +6 -6
- package/dist/chunks/{repository-cache-5m9w47nd.js → kv-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-cache-45zt72vt.js → kv-5qy6rygc.js} +79 -79
- package/dist/chunks/{repository-cache-dg5d3hna.js → kv-5xc640na.js} +16 -16
- package/dist/chunks/{repository-cache-p7vhpwh8.js → kv-5zrxpy3q.js} +5 -5
- package/dist/chunks/{repository-cache-mj5saj6r.js → kv-60fq81g2.js} +22 -22
- package/dist/chunks/{repository-cache-k6gkj8sq.js → kv-622595n7.js} +24 -24
- package/dist/chunks/{repository-cache-r2exqn8m.js → kv-638ze154.js} +43 -43
- package/dist/chunks/{repository-cache-xhg8qxfh.js → kv-66vf4d6f.js} +12 -12
- package/dist/chunks/{repository-cache-v1b2af3n.js → kv-67derp2t.js} +33 -33
- package/dist/chunks/{repository-cache-qcx27bba.js → kv-67wm484p.js} +17 -17
- package/dist/chunks/{repository-cache-e7pg1y8b.js → kv-690x1gn5.js} +8 -8
- package/dist/chunks/{repository-cache-c5b3skzj.js → kv-6cfyxda3.js} +4 -4
- package/dist/chunks/{repository-cache-07h79106.js → kv-6cvwve3t.js} +69 -69
- package/dist/chunks/{repository-cache-20k00q4h.js → kv-6mnn5dxp.js} +14 -14
- package/dist/chunks/{repository-cache-8zwaxxx0.js → kv-6q7w9k2m.js} +5 -5
- package/dist/chunks/kv-6svsyqv7.js +265 -0
- package/dist/chunks/{repository-cache-9ds2ve8j.js → kv-6t40r86m.js} +11 -11
- package/dist/chunks/{repository-cache-nyc4jwvb.js → kv-6xtjqz2m.js} +4 -4
- package/dist/chunks/{repository-cache-0qa09yhm.js → kv-6zxz81zm.js} +21 -21
- package/dist/chunks/{repository-cache-5ytbsxg8.js → kv-70dssh1d.js} +45 -45
- package/dist/chunks/{repository-cache-qf2y5843.js → kv-712mpftp.js} +34 -34
- package/dist/chunks/{repository-cache-sejy4w8d.js → kv-72p8cdgw.js} +30 -30
- package/dist/chunks/{repository-cache-kfzqfkb3.js → kv-7b0cr362.js} +9 -9
- package/dist/chunks/{repository-cache-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-fdfebn0e.js → kv-7dwbjrxx.js} +8 -8
- package/dist/chunks/{repository-cache-5xt4hebh.js → kv-7phhn59s.js} +14 -14
- package/dist/chunks/{repository-cache-dhbx6sy4.js → kv-7q4ag1rq.js} +34 -34
- package/dist/chunks/{repository-cache-z42v0f3c.js → kv-7rf921jw.js} +9 -9
- package/dist/chunks/{repository-cache-7w2ypzdf.js → kv-7w2ypzdf.js} +1 -1
- package/dist/chunks/{repository-cache-7weczvnd.js → kv-7weczvnd.js} +1 -1
- package/dist/chunks/{repository-cache-80mg3ag8.js → kv-80mg3ag8.js} +3 -3
- package/dist/chunks/{repository-cache-3kpfxvz8.js → kv-87jn0neg.js} +3 -3
- package/dist/chunks/{repository-cache-89287pr7.js → kv-89287pr7.js} +1 -1
- package/dist/chunks/{repository-cache-8b3vzgkx.js → kv-8b3vzgkx.js} +1 -1
- package/dist/chunks/{repository-cache-f0gsxwdt.js → kv-8c6fzh6r.js} +35 -35
- package/dist/chunks/{repository-cache-8cg7mtm3.js → kv-8cg7mtm3.js} +1 -1
- package/dist/chunks/{repository-cache-2a6tkf44.js → kv-8es3pha2.js} +11 -11
- package/dist/chunks/{repository-cache-myxb0t78.js → kv-8fnb3k1b.js} +16 -16
- package/dist/chunks/{repository-cache-m2cdpaag.js → kv-8g30ebse.js} +15 -15
- package/dist/chunks/{repository-cache-8sbvrr13.js → kv-8j06ca5s.js} +16 -16
- package/dist/chunks/{repository-cache-kaz2fjcv.js → kv-8kmbd2d4.js} +18 -18
- package/dist/chunks/{repository-cache-7qrph824.js → kv-8sxe6kv8.js} +2 -2
- package/dist/chunks/{repository-cache-arz3py2d.js → kv-8vpywkz0.js} +8 -8
- package/dist/chunks/{repository-cache-rmv7fhs4.js → kv-8wjgamp7.js} +3 -3
- package/dist/chunks/{repository-cache-8wtp7s3z.js → kv-8wtp7s3z.js} +1 -1
- package/dist/chunks/{repository-cache-xksw6ev0.js → kv-8xz27cp9.js} +4 -4
- package/dist/chunks/{repository-cache-90zstvax.js → kv-90zstvax.js} +1 -1
- package/dist/chunks/{repository-cache-kp2338hr.js → kv-963hk181.js} +2 -2
- package/dist/chunks/{repository-cache-beytjyxy.js → kv-96askspy.js} +11 -11
- package/dist/chunks/{repository-cache-dszypn43.js → kv-96fe8cgn.js} +9 -9
- package/dist/chunks/{repository-cache-ccxhfbhz.js → kv-997xt42a.js} +15 -15
- package/dist/chunks/{repository-cache-9tp3mnbx.js → kv-9bz4c5h2.js} +7 -7
- package/dist/chunks/{repository-cache-vjezmxj7.js → kv-9dne3p1g.js} +9 -9
- package/dist/chunks/{repository-cache-q8kegsck.js → kv-9fg71ars.js} +5 -5
- package/dist/chunks/{repository-cache-czq798y2.js → kv-9gkt22g8.js} +24 -24
- package/dist/chunks/{repository-cache-rpczda7v.js → kv-9mh1jfrb.js} +5 -5
- package/dist/chunks/{repository-cache-x5gqmg3e.js → kv-9rgr5dz2.js} +4 -4
- package/dist/chunks/{repository-cache-n9yh7hyp.js → kv-9x1tzrtb.js} +4 -4
- package/dist/chunks/{repository-cache-s92vvz56.js → kv-9yqjp86x.js} +6 -6
- package/dist/chunks/{repository-cache-30kxy8g4.js → kv-a0h89fzp.js} +7 -7
- package/dist/chunks/{repository-cache-x4mcewfn.js → kv-a5fx33f2.js} +8 -8
- package/dist/chunks/{repository-cache-tvh5czp4.js → kv-aaffqxme.js} +17 -17
- package/dist/chunks/{repository-cache-hr016kcx.js → kv-admvw5d0.js} +19 -19
- package/dist/chunks/{repository-cache-s0wqfgtk.js → kv-ah1hscsp.js} +3 -3
- package/dist/chunks/{repository-cache-3cbjf1nt.js → kv-ayjs7tqn.js} +2 -2
- package/dist/chunks/{repository-cache-ctzcwmse.js → kv-ayn79h8x.js} +25 -25
- package/dist/chunks/{repository-cache-9jtwx9cv.js → kv-ayztab9e.js} +32 -32
- package/dist/chunks/{repository-cache-b6vsg801.js → kv-b6vsg801.js} +2 -2
- package/dist/chunks/{repository-cache-q8sz04wn.js → kv-be4t0wbb.js} +9 -9
- package/dist/chunks/{repository-cache-yv94a9px.js → kv-bn3sq0ta.js} +28 -28
- package/dist/chunks/{repository-cache-bstexjd6.js → kv-bstexjd6.js} +1 -1
- package/dist/chunks/{repository-cache-rd95s4eh.js → kv-cac1q38b.js} +18 -18
- package/dist/chunks/{repository-cache-xamhfgf7.js → kv-ckf1qbq4.js} +11 -11
- package/dist/chunks/{repository-cache-m65y836m.js → kv-ckkakae4.js} +37 -37
- package/dist/chunks/{repository-cache-cpvd08na.js → kv-cpvd08na.js} +1 -1
- package/dist/chunks/{repository-cache-bhfd478d.js → kv-cr4rfj9z.js} +4 -4
- package/dist/chunks/{repository-cache-9mm9ysz3.js → kv-cvfvn2m3.js} +26 -26
- package/dist/chunks/{repository-cache-cwrgdav8.js → kv-cwrgdav8.js} +2 -2
- package/dist/chunks/{repository-cache-gx98s468.js → kv-d390zwf3.js} +11 -11
- package/dist/chunks/{repository-cache-9k3rss2s.js → kv-d43rvkzs.js} +41 -41
- package/dist/chunks/{repository-cache-gn8tkhbf.js → kv-d4v9tmah.js} +2 -2
- package/dist/chunks/{repository-cache-8g55cj9n.js → kv-d82swh3g.js} +6 -6
- package/dist/chunks/{repository-cache-kwxcmdyp.js → kv-dmysbgyv.js} +32 -32
- package/dist/chunks/{repository-cache-5gymyzcn.js → kv-dnchje9n.js} +25 -25
- package/dist/chunks/{repository-cache-dt77769w.js → kv-dt77769w.js} +1 -1
- package/dist/chunks/{repository-cache-1xvat539.js → kv-dx3nf18q.js} +19 -19
- package/dist/chunks/{repository-cache-vwz836qd.js → kv-e42h8s07.js} +13 -13
- package/dist/chunks/{repository-cache-6dqyy18z.js → kv-e4bcezh6.js} +4 -4
- package/dist/chunks/{repository-cache-gd46tcps.js → kv-e4cyteqs.js} +10 -10
- package/dist/chunks/{repository-cache-e834z07m.js → kv-e834z07m.js} +1 -1
- package/dist/chunks/{repository-cache-6hbt1qs3.js → kv-ebt8y0c6.js} +7 -7
- package/dist/chunks/{repository-cache-r2xd20nt.js → kv-em5cgbgt.js} +4 -4
- package/dist/chunks/{repository-cache-eqw4pqj1.js → kv-eqw4pqj1.js} +2 -2
- package/dist/chunks/{repository-cache-n6va2c9d.js → kv-ets0bd3j.js} +17 -17
- package/dist/chunks/{repository-cache-5rdk9bd3.js → kv-f3ng0f24.js} +6 -6
- package/dist/chunks/{repository-cache-546fe9fw.js → kv-f3zf6hej.js} +5 -5
- package/dist/chunks/{repository-cache-493fsfav.js → kv-f568412b.js} +8 -8
- package/dist/chunks/{repository-cache-sbqxq8d7.js → kv-f6j243bk.js} +27 -27
- package/dist/chunks/{repository-cache-fffv3p7h.js → kv-fffv3p7h.js} +1 -1
- package/dist/chunks/{repository-cache-w0ps2z8r.js → kv-fgaz952a.js} +4 -4
- package/dist/chunks/{repository-cache-64h1tw9f.js → kv-fgmy3vn8.js} +35 -35
- package/dist/chunks/{repository-cache-mxw2nak8.js → kv-fjwdgcms.js} +28 -28
- package/dist/chunks/{repository-cache-3nbmnbm3.js → kv-fq59wvkx.js} +9 -9
- package/dist/chunks/{repository-cache-0nwj03m7.js → kv-fs4jmx66.js} +6 -6
- package/dist/chunks/{repository-cache-mxscc1pg.js → kv-ft2webd9.js} +4 -4
- package/dist/chunks/{repository-cache-zcphwgvb.js → kv-g3azt962.js} +3 -3
- package/dist/chunks/{repository-cache-gbjdnr5j.js → kv-gbjdnr5j.js} +2 -2
- package/dist/chunks/{repository-cache-tcdd0j6a.js → kv-gdhsk6ph.js} +36 -36
- package/dist/chunks/{repository-cache-nyqjfy2e.js → kv-gebggerj.js} +6 -6
- package/dist/chunks/{repository-cache-sdt5j0rm.js → kv-ghrv1g9c.js} +4 -4
- package/dist/chunks/{repository-cache-j686bk8e.js → kv-grp707k1.js} +14 -14
- package/dist/chunks/{repository-cache-szj7gq94.js → kv-gt1v52rz.js} +20 -20
- package/dist/chunks/{repository-cache-ktn9snrz.js → kv-gvw9ca2e.js} +30 -30
- package/dist/chunks/{repository-cache-gxs71cxp.js → kv-gxs71cxp.js} +1 -1
- package/dist/chunks/{repository-cache-fa5f1x46.js → kv-h1as4bmj.js} +19 -19
- package/dist/chunks/{repository-cache-0z1679ht.js → kv-hddd8b61.js} +16 -16
- package/dist/chunks/{repository-cache-2vpsg9px.js → kv-hrcnme5b.js} +6 -6
- package/dist/chunks/{repository-cache-19gkfjnk.js → kv-hretfjjx.js} +2 -2
- package/dist/chunks/{repository-cache-1r7fa2na.js → kv-hwntad0x.js} +33 -33
- package/dist/chunks/{repository-cache-4za56k4r.js → kv-hzmq7001.js} +30 -30
- package/dist/chunks/{repository-cache-2h56gaw8.js → kv-j10kb1p7.js} +84 -84
- package/dist/chunks/{repository-cache-5pp7cr08.js → kv-j1kadvd3.js} +8 -8
- package/dist/chunks/{repository-cache-2fjhnpmp.js → kv-j34sjpw5.js} +17 -17
- package/dist/chunks/{repository-cache-ty7fwe1m.js → kv-jjzjap5a.js} +5 -5
- package/dist/chunks/{repository-cache-t6e15y7n.js → kv-jscs4gem.js} +13 -13
- package/dist/chunks/{repository-cache-dm5mvca5.js → kv-jv57bm0m.js} +3 -3
- package/dist/chunks/{repository-cache-amfhhqee.js → kv-jv6r7fb8.js} +3 -3
- package/dist/chunks/{repository-cache-r3qynzkv.js → kv-jxckrv48.js} +5 -5
- package/dist/chunks/{repository-cache-57dphzb6.js → kv-jzczyy04.js} +28 -28
- package/dist/chunks/{repository-cache-fdcaprj2.js → kv-k3zq5bxc.js} +12 -12
- package/dist/chunks/{repository-cache-qfz6bxfd.js → kv-k46dd5bg.js} +4 -4
- package/dist/chunks/{repository-cache-g737df5q.js → kv-ka8dknqd.js} +29 -29
- package/dist/chunks/{repository-cache-grf9tjbj.js → kv-kf2y3hyd.js} +4 -4
- package/dist/chunks/{repository-cache-kh8gdsej.js → kv-kh8gdsej.js} +1 -1
- package/dist/chunks/{repository-cache-nt907s04.js → kv-kn4zqwcq.js} +3 -3
- package/dist/chunks/{repository-cache-c3k30skk.js → kv-kp9dkw4x.js} +181 -181
- package/dist/chunks/{repository-cache-jp6z4wpe.js → kv-kqmsr12a.js} +18 -18
- package/dist/chunks/{repository-cache-2j89yb3m.js → kv-kqp3wqnb.js} +23 -23
- package/dist/chunks/{repository-cache-j6chsmq0.js → kv-ks77ntmf.js} +15 -15
- package/dist/chunks/{repository-cache-kt3bjfbg.js → kv-kt3bjfbg.js} +1 -1
- package/dist/chunks/{repository-cache-rtywtvhn.js → kv-kwgzm5gn.js} +13 -13
- package/dist/chunks/{repository-cache-kzczzf4v.js → kv-kzczzf4v.js} +1 -1
- package/dist/chunks/{repository-cache-d67b29ac.js → kv-kzd4gysb.js} +22 -22
- package/dist/chunks/{repository-cache-m1714858.js → kv-m1714858.js} +1 -1
- package/dist/chunks/{repository-cache-r49wveyz.js → kv-m1k6hp86.js} +27 -27
- package/dist/chunks/{repository-cache-c7gk57p6.js → kv-m6cfdtf3.js} +4 -4
- package/dist/chunks/{repository-cache-bxe80pjv.js → kv-m9nxjbr2.js} +13 -13
- package/dist/chunks/{repository-cache-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-nvjveesx.js → kv-m9zhtkdh.js} +1 -1
- package/dist/chunks/{repository-cache-8z6m94af.js → kv-mb7mbhnz.js} +3 -3
- package/dist/chunks/{repository-cache-c6nh8dtq.js → kv-md60n50y.js} +36 -36
- package/dist/chunks/{repository-cache-s70ang1b.js → kv-mg4dw1ja.js} +13 -13
- package/dist/chunks/{repository-cache-xx2fv02h.js → kv-mjfqje0h.js} +22 -22
- package/dist/chunks/{repository-cache-kcayv8ke.js → kv-mjhz0hpb.js} +19 -19
- package/dist/chunks/{repository-cache-rc08zntw.js → kv-mkv2nc82.js} +18 -18
- package/dist/chunks/{repository-cache-ezznq673.js → kv-mqhk7c7q.js} +6 -6
- package/dist/chunks/{repository-cache-xrs5t3nf.js → kv-msm1sr42.js} +8 -8
- package/dist/chunks/{repository-cache-e7sgpp7y.js → kv-mtx99btt.js} +13 -13
- package/dist/chunks/{repository-cache-pmdb5kqb.js → kv-n0cjgwaa.js} +7 -7
- package/dist/chunks/{repository-cache-3xvj5eve.js → kv-n5a3fj6g.js} +9 -9
- package/dist/chunks/{repository-cache-78jn5b9r.js → kv-n7wkkphh.js} +42 -42
- package/dist/chunks/{repository-cache-4rf2v3x4.js → kv-n912md4v.js} +5 -5
- package/dist/chunks/{repository-cache-tfz3nrj2.js → kv-nchw3v9s.js} +5 -5
- package/dist/chunks/{repository-cache-pn1g3a6b.js → kv-nd2qx06s.js} +9 -9
- package/dist/chunks/{repository-cache-tg60c1vc.js → kv-ne432a6n.js} +13 -13
- package/dist/chunks/{repository-cache-txraym31.js → kv-nmev1w6s.js} +11 -11
- package/dist/chunks/{repository-cache-qypgs8zr.js → kv-nqfa4042.js} +11 -11
- package/dist/chunks/{repository-cache-3z170p80.js → kv-nt3srhv4.js} +12 -12
- package/dist/chunks/{repository-cache-1njtx4es.js → kv-nv2c5e9q.js} +3 -3
- package/dist/chunks/{repository-cache-xvp44mbq.js → kv-nx0b1yq1.js} +13 -13
- package/dist/chunks/{repository-cache-2b2r7h3k.js → kv-p2tvx8t7.js} +9 -9
- package/dist/chunks/{repository-cache-wc4fcavx.js → kv-pg9qkrhy.js} +19 -19
- package/dist/chunks/{repository-cache-1cy6y56s.js → kv-ph9bad8y.js} +15 -15
- package/dist/chunks/{repository-cache-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-hcjaw68q.js → kv-pna48k9t.js} +22 -22
- package/dist/chunks/{repository-cache-fg9p65nk.js → kv-prq7xxp2.js} +6 -6
- package/dist/chunks/{repository-cache-c6fpyn17.js → kv-q0mm9a3b.js} +15 -15
- package/dist/chunks/{repository-cache-8w81yv1k.js → kv-q3bvgzf6.js} +19 -19
- package/dist/chunks/{repository-cache-a6cs5kbs.js → kv-q7465z21.js} +9 -9
- package/dist/chunks/{repository-cache-axhyxf2f.js → kv-qa471xkx.js} +8 -8
- package/dist/chunks/{repository-cache-d4hny0t5.js → kv-qfa905y3.js} +5 -5
- package/dist/chunks/{repository-cache-vq0qa3sh.js → kv-qh5g3qaw.js} +9 -9
- package/dist/chunks/{repository-cache-2nz4tm3b.js → kv-qktmpjrz.js} +42 -42
- package/dist/chunks/kv-qmh7vbk2.js +18 -0
- package/dist/chunks/{repository-cache-pq5x890c.js → kv-qp0w2kkx.js} +37 -37
- package/dist/chunks/{repository-cache-qp7r0hxv.js → kv-qp7r0hxv.js} +1 -1
- package/dist/chunks/{repository-cache-qqvy8y24.js → kv-qqvy8y24.js} +1 -1
- package/dist/chunks/{repository-cache-hvx2hsrq.js → kv-qtj9jawk.js} +10 -10
- package/dist/chunks/{repository-cache-v1bhdy86.js → kv-r09760z9.js} +15 -15
- package/dist/chunks/{repository-cache-j88agwyx.js → kv-r6yvfyaa.js} +7 -7
- package/dist/chunks/{repository-cache-rb9dy4dg.js → kv-rb9dy4dg.js} +1 -1
- package/dist/chunks/{repository-cache-2m2g9ynh.js → kv-rbg54dp1.js} +4 -4
- package/dist/chunks/{repository-cache-0py1yhe6.js → kv-rdfftd88.js} +44 -44
- package/dist/chunks/{repository-cache-k98pysr4.js → kv-rfx15cv3.js} +9 -9
- package/dist/chunks/{repository-cache-rgc9cx3e.js → kv-rgc9cx3e.js} +2 -2
- package/dist/chunks/{repository-cache-6tt6kcbb.js → kv-rkrx09at.js} +6 -6
- package/dist/chunks/{repository-cache-rt5dr6hb.js → kv-rt5dr6hb.js} +1 -1
- package/dist/chunks/{repository-cache-rr1rxfq5.js → kv-rzx1wgy5.js} +5 -5
- package/dist/chunks/{repository-cache-teav5kqk.js → kv-s2vw5q64.js} +41 -41
- package/dist/chunks/{repository-cache-v75htaq3.js → kv-s4kyhetj.js} +6 -6
- package/dist/chunks/{repository-cache-jr5zyxk8.js → kv-s818qefp.js} +5 -5
- package/dist/chunks/{repository-cache-s8qtxmzm.js → kv-s8qtxmzm.js} +1 -1
- package/dist/chunks/{repository-cache-sa3fpqfw.js → kv-sa3fpqfw.js} +2 -2
- package/dist/chunks/{repository-cache-sbya78hr.js → kv-sbya78hr.js} +1 -1
- package/dist/chunks/{repository-cache-sbz71ybr.js → kv-sbz71ybr.js} +1 -1
- package/dist/chunks/{repository-cache-syyqk6jb.js → kv-sg9w61vg.js} +12 -12
- package/dist/chunks/{repository-cache-svcy3p9a.js → kv-svcy3p9a.js} +1 -1
- package/dist/chunks/{repository-cache-k5tbj3v7.js → kv-svqaxg1p.js} +7 -7
- package/dist/chunks/{repository-cache-nn2nd58t.js → kv-sx27c7qs.js} +5 -5
- package/dist/chunks/{repository-cache-mz89terr.js → kv-sxb5xa2p.js} +20 -20
- package/dist/chunks/{repository-cache-29z0zpha.js → kv-syxe2jw8.js} +5 -5
- package/dist/chunks/{repository-cache-szwm4crx.js → kv-szwm4crx.js} +4 -4
- package/dist/chunks/{repository-cache-gcvthvy9.js → kv-t0qztpcm.js} +28 -28
- package/dist/chunks/{repository-cache-0pzj4jw3.js → kv-t7gj2b5k.js} +31 -31
- package/dist/chunks/{repository-cache-bmrg0j5c.js → kv-t8erkws8.js} +5 -5
- package/dist/chunks/{repository-cache-26wfx3k0.js → kv-tb2mrvc9.js} +4 -4
- package/dist/chunks/{repository-cache-tczq8hjw.js → kv-tczq8hjw.js} +1 -1
- package/dist/chunks/{repository-cache-mps3acpq.js → kv-tezkqfbg.js} +19 -19
- package/dist/chunks/{repository-cache-9b9m7ffr.js → kv-tg895eva.js} +41 -41
- package/dist/chunks/{repository-cache-tr8x705m.js → kv-tr8x705m.js} +1 -1
- package/dist/chunks/{repository-cache-h54mzg05.js → kv-trks772y.js} +13 -13
- package/dist/chunks/{repository-cache-tvtps2q9.js → kv-tvtps2q9.js} +1 -1
- package/dist/chunks/{repository-cache-5badvev5.js → kv-twakhrwk.js} +43 -43
- package/dist/chunks/{repository-cache-h1hexrfd.js → kv-twghvwpe.js} +6 -6
- package/dist/chunks/{repository-cache-twssxy5n.js → kv-twssxy5n.js} +2 -2
- package/dist/chunks/{repository-cache-egte8s1h.js → kv-tx91wa5k.js} +4 -4
- package/dist/chunks/{repository-cache-01k7epdz.js → kv-v25bqyy8.js} +6 -6
- package/dist/chunks/{repository-cache-v2r1d0zg.js → kv-v2r1d0zg.js} +1 -1
- package/dist/chunks/{repository-cache-kajykse9.js → kv-v4k1rqsy.js} +12 -12
- package/dist/chunks/{repository-cache-txkphrpp.js → kv-v5c8jcpx.js} +5 -5
- package/dist/chunks/{repository-cache-kmzgegqq.js → kv-v5hpj9dd.js} +8 -8
- package/dist/chunks/{repository-cache-ewz1xrzs.js → kv-v7xvj23x.js} +28 -28
- package/dist/chunks/{repository-cache-yk22p589.js → kv-vap4139e.js} +19 -19
- package/dist/chunks/{repository-cache-29rhhbmx.js → kv-vb5jx6fx.js} +25 -25
- package/dist/chunks/{repository-cache-vjf35v1f.js → kv-vjf35v1f.js} +1 -1
- package/dist/chunks/{repository-cache-nb6yaeef.js → kv-vmrjdeh6.js} +1 -1
- package/dist/chunks/{repository-cache-wm532k7e.js → kv-vrdk63vj.js} +7 -7
- package/dist/chunks/{repository-cache-rj7j5fvs.js → kv-vt2d6wap.js} +4 -4
- package/dist/chunks/{repository-cache-62b0mtf4.js → kv-vtkyewdg.js} +11 -11
- package/dist/chunks/{repository-cache-dv70emh1.js → kv-vvh1qsqw.js} +7 -7
- package/dist/chunks/{repository-cache-ww69p07v.js → kv-vx4g6ffv.js} +35 -35
- package/dist/chunks/{repository-cache-hx3mz2q2.js → kv-vycsk1c7.js} +8 -8
- package/dist/chunks/{repository-cache-0pkn334n.js → kv-vyg1nsxp.js} +11 -11
- package/dist/chunks/{repository-cache-qjm7skjg.js → kv-w3pak01y.js} +14 -14
- package/dist/chunks/{repository-cache-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-fcz6bf99.js → kv-w95asz63.js} +25 -25
- package/dist/chunks/{repository-cache-wakvkjy4.js → kv-wakvkjy4.js} +1 -1
- package/dist/chunks/{repository-cache-j87qp895.js → kv-wawdn69p.js} +9 -9
- package/dist/chunks/{repository-cache-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-nx4vzyjd.js → kv-wegkxhrn.js} +2 -2
- package/dist/chunks/{repository-cache-qsdghx1p.js → kv-wfdx5ztx.js} +4 -4
- package/dist/chunks/{repository-cache-va7fhdra.js → kv-wn2vj2sg.js} +12 -12
- package/dist/chunks/{repository-cache-wnhgecwx.js → kv-wnhgecwx.js} +1 -1
- package/dist/chunks/{repository-cache-fznmdakp.js → kv-wr3re1en.js} +4 -4
- package/dist/chunks/{repository-cache-w5rnqnzk.js → kv-ws82s0a0.js} +18 -18
- package/dist/chunks/{repository-cache-79k544d0.js → kv-wvr8xscb.js} +7 -7
- package/dist/chunks/{repository-cache-6sb6jh13.js → kv-wzac9g9s.js} +32 -32
- package/dist/chunks/{repository-cache-7mvxqbtz.js → kv-xe76q1hg.js} +13 -13
- package/dist/chunks/{repository-cache-0s9gv0av.js → kv-xjbsd7zy.js} +9 -9
- package/dist/chunks/{repository-cache-xjr6c8m4.js → kv-xjr6c8m4.js} +1 -1
- package/dist/chunks/{repository-cache-87mrst72.js → kv-xsyewey3.js} +10 -10
- package/dist/chunks/kv-xvebxx6w.js +563 -0
- package/dist/chunks/{repository-cache-k9zxkqdt.js → kv-xvgxca51.js} +6 -6
- package/dist/chunks/{repository-cache-gh9kfc8w.js → kv-xy76eq5y.js} +18 -18
- package/dist/chunks/{repository-cache-b8pf1f15.js → kv-y9zgxfrg.js} +7 -7
- package/dist/chunks/{repository-cache-yb20nhc3.js → kv-yb20nhc3.js} +1 -1
- package/dist/chunks/{repository-cache-nqcrxh81.js → kv-yczc8vts.js} +24 -24
- package/dist/chunks/{repository-cache-qxj9svbk.js → kv-ydbnn6z1.js} +20 -20
- package/dist/chunks/{repository-cache-8degc2se.js → kv-ygjd5gzh.js} +3 -3
- package/dist/chunks/{repository-cache-yr705xyq.js → kv-yr705xyq.js} +1 -1
- package/dist/chunks/{repository-cache-y9j6hfb0.js → kv-yrs6180n.js} +19 -19
- package/dist/chunks/{repository-cache-7j4pg84s.js → kv-ytq4tgab.js} +2 -2
- package/dist/chunks/{repository-cache-yvtc2x31.js → kv-yvtc2x31.js} +1 -1
- package/dist/chunks/{repository-cache-rn6pxd58.js → kv-z02x5vkw.js} +31 -31
- package/dist/chunks/{repository-cache-rzg6y5rp.js → kv-z080rjh6.js} +4 -4
- package/dist/chunks/{repository-cache-jhbxs6t6.js → kv-z3zmhb13.js} +21 -21
- package/dist/chunks/{repository-cache-2715acwk.js → kv-z9tty0dh.js} +7 -7
- package/dist/chunks/{repository-cache-ag9187ex.js → kv-zdxbh946.js} +19 -19
- package/dist/chunks/{repository-cache-ze75qvmd.js → kv-ze75qvmd.js} +3 -3
- package/dist/chunks/{repository-cache-bb3pv0r8.js → kv-zmtdeb8k.js} +7 -7
- package/dist/chunks/{repository-cache-y6y8pfrx.js → kv-zwbz7bgj.js} +6 -6
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +88 -88
- package/dist/config/discovery.js +97 -97
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +232 -232
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +139 -139
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +77 -77
- 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/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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/v1-migration.bun.js +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +435 -435
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +157 -157
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +161 -161
- 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 +86 -86
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +247 -247
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +116 -116
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- 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 +112 -112
- 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/notice.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 +426 -426
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +82 -82
- package/dist/location-activity.js +173 -173
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +423 -423
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +105 -105
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +112 -112
- package/dist/mcp/instructions.js +183 -183
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +104 -104
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +153 -153
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -91
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +238 -238
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +402 -402
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +138 -138
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode.js +157 -157
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +235 -235
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +147 -147
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +414 -414
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +249 -249
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +99 -99
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +111 -111
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +243 -243
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +257 -257
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +169 -169
- package/dist/session/context.js +200 -200
- package/dist/session/diff.js +101 -101
- 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 +240 -240
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +200 -200
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +147 -147
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +141 -141
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +252 -252
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +180 -180
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +140 -140
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +231 -231
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +204 -204
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +239 -239
- package/dist/session/usage.js +1 -1
- package/dist/session.js +237 -237
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +154 -154
- package/dist/snapshot.js +96 -96
- 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 +178 -178
- package/dist/tool/plugin/artifact.js +230 -230
- package/dist/tool/plugin/edit.js +167 -167
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +171 -171
- package/dist/tool/plugin/grep.js +170 -170
- package/dist/tool/plugin/image-generate.js +239 -239
- package/dist/tool/plugin/mcp-resource.js +164 -164
- package/dist/tool/plugin/opencode.js +163 -163
- package/dist/tool/plugin/patch.js +168 -168
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +172 -172
- package/dist/tool/plugin/schedule.js +249 -249
- package/dist/tool/plugin/shell.js +237 -237
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +238 -238
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +168 -168
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +157 -157
- package/dist/usage-limits.js +98 -98
- 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 +7 -7
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- 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 +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +99 -99
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/repository-cache-ezna1kdx.js +0 -18
- package/dist/chunks/repository-cache-p2w61xv2.js +0 -26
- package/dist/chunks/repository-cache-rc2b0jp2.js +0 -265
- package/dist/chunks/repository-cache-xgsdyv54.js +0 -563
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-108x4f4w.js → kv-108x4f4w.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kah00gy.js → kv-1kah00gy.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → kv-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2bv980vf.js → kv-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3af0jn4w.js → kv-3af0jn4w.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4qk9sjk2.js → kv-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-5w3e23ze.js → kv-5w3e23ze.js} +0 -0
- /package/dist/chunks/{repository-cache-6agm2x70.js → kv-6agm2x70.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-6q2bdcd1.js → kv-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-84wd9syh.js → kv-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → kv-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-beh6qq61.js → kv-beh6qq61.js} +0 -0
- /package/dist/chunks/{repository-cache-bhmrqjy3.js → kv-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cqv5kn06.js → kv-cqv5kn06.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-ean2d8b5.js → kv-ean2d8b5.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-fkpq3x5p.js → kv-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hcxmzztb.js → kv-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jwr30sdr.js → kv-jwr30sdr.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-m18g726c.js → kv-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-nh4v3znn.js → kv-nh4v3znn.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-p71gwv9c.js → kv-p71gwv9c.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-syrav9an.js → kv-syrav9an.js} +0 -0
- /package/dist/chunks/{repository-cache-t03h4f5z.js → kv-t03h4f5z.js} +0 -0
- /package/dist/chunks/{repository-cache-ty7weeps.js → kv-ty7weeps.js} +0 -0
- /package/dist/chunks/{repository-cache-ve7vex1e.js → kv-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-cache-vtarvj67.js → kv-vtarvj67.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → kv-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-z0h12gs8.js → kv-z0h12gs8.js} +0 -0
- /package/dist/chunks/{repository-cache-z5v4ffb3.js → kv-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → kv-z9919s4g.js} +0 -0
- /package/dist/chunks/{repository-cache-zxpyjp51.js → kv-zxpyjp51.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-kf2y3hyd.js";
|
|
5
5
|
import {
|
|
6
6
|
Service43,
|
|
7
7
|
node46
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-vx4g6ffv.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-4pyp9zr9.js";
|
|
12
12
|
import {
|
|
13
13
|
invocation2,
|
|
14
14
|
CorrectedError2,
|
|
15
15
|
BlockedError2,
|
|
16
|
-
|
|
16
|
+
Service65,
|
|
17
17
|
node68
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./kv-tg895eva.js";
|
|
19
19
|
import {
|
|
20
20
|
normalizedName2,
|
|
21
21
|
effectiveName2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./kv-z0h12gs8.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service45,
|
|
25
|
+
node48
|
|
26
|
+
} from "./kv-2eby3rgr.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service54,
|
|
29
|
+
node56
|
|
30
|
+
} from "./kv-6t40r86m.js";
|
|
31
31
|
import {
|
|
32
32
|
MEDIA_MIMES2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./kv-ks77ntmf.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./kv-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/tool/mcp.ts
|
|
39
39
|
var exports_mcp3 = {};
|
|
40
40
|
__export(exports_mcp3, {
|
|
41
41
|
McpTool: () => exports_mcp3,
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service42,
|
|
43
43
|
layer: () => layer17,
|
|
44
44
|
name: () => name16,
|
|
45
45
|
namespace: () => namespace2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node45
|
|
47
47
|
});
|
|
48
48
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
49
49
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -54,14 +54,14 @@ var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown
|
|
|
54
54
|
var namespace2 = (server) => normalizedName2({ name: server });
|
|
55
55
|
var name16 = (server, tool) => effectiveName2({ name: tool, options: { namespace: namespace2(server) } });
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service42 extends Context.Service()("@opencode/McpTool") {
|
|
58
58
|
}
|
|
59
|
-
var layer17 = Layer.effect(
|
|
59
|
+
var layer17 = Layer.effect(Service42, Effect.gen(function* () {
|
|
60
60
|
const mcp = yield* Service43;
|
|
61
|
-
const tools = yield*
|
|
61
|
+
const tools = yield* Service45;
|
|
62
62
|
const bus = yield* Service90;
|
|
63
|
-
const permission = yield*
|
|
64
|
-
const toolOutput = yield*
|
|
63
|
+
const permission = yield* Service65;
|
|
64
|
+
const toolOutput = yield* Service54;
|
|
65
65
|
const lock = Semaphore.makeUnsafe(1);
|
|
66
66
|
let discovered = [];
|
|
67
67
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -133,7 +133,7 @@ var layer17 = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
133
133
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
134
134
|
const updates = yield* PubSub.subscribe(changes);
|
|
135
135
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
136
|
-
return
|
|
136
|
+
return Service42.of({
|
|
137
137
|
flush: Effect.gen(function* () {
|
|
138
138
|
yield* Fiber.await(initial);
|
|
139
139
|
yield* mcp.awaitStartup();
|
|
@@ -161,10 +161,10 @@ ${bytes.toString("utf8")}` };
|
|
|
161
161
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
162
162
|
};
|
|
163
163
|
});
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node45 = makeLocationNode({
|
|
165
|
+
service: Service42,
|
|
166
166
|
layer: layer17,
|
|
167
|
-
deps: [
|
|
167
|
+
deps: [node48, node46, node93, node68, node56]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { namespace2, name16,
|
|
170
|
+
export { namespace2, name16, Service42, layer17, node45, exports_mcp3 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./kv-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info21
|
|
7
|
+
} from "./kv-2kg89srt.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigAgentV1: () =>
|
|
16
|
-
Info: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
ConfigAgentV1: () => exports_agent4,
|
|
16
|
+
Info: () => Info20
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info21)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info20 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info20, exports_agent4 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node94
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-0sjfwva1.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
10
|
Service70
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-qktmpjrz.js";
|
|
12
12
|
import {
|
|
13
13
|
DirectoryNotFoundError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-gvw9ca2e.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service58,
|
|
17
|
+
node59
|
|
18
|
+
} from "./kv-9yqjp86x.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionMessage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./kv-gftt206x.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./kv-mb7mbhnz.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service55,
|
|
27
|
+
node57
|
|
28
|
+
} from "./kv-8c6fzh6r.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
30
|
+
Service31,
|
|
31
|
+
node34
|
|
32
|
+
} from "./kv-j10kb1p7.js";
|
|
33
33
|
import {
|
|
34
34
|
validate2,
|
|
35
35
|
describe2,
|
|
36
36
|
authorize2,
|
|
37
37
|
evaluate2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./kv-dmysbgyv.js";
|
|
39
39
|
import {
|
|
40
40
|
ScheduleTable2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./kv-wegkxhrn.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./kv-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/schedule.ts
|
|
47
47
|
var exports_schedule2 = {};
|
|
48
48
|
__export(exports_schedule2, {
|
|
49
49
|
Condition: () => Condition2,
|
|
50
50
|
ConditionInput: () => ConditionInput2,
|
|
51
|
-
CreateInput: () =>
|
|
51
|
+
CreateInput: () => CreateInput3,
|
|
52
52
|
DisabledError: () => DisabledError2,
|
|
53
|
-
ID: () =>
|
|
54
|
-
Info: () =>
|
|
53
|
+
ID: () => ID5,
|
|
54
|
+
Info: () => Info5,
|
|
55
55
|
InvalidError: () => InvalidError2,
|
|
56
|
-
NotFoundError: () =>
|
|
56
|
+
NotFoundError: () => NotFoundError3,
|
|
57
57
|
Outcome: () => Outcome3,
|
|
58
58
|
Request: () => Request2,
|
|
59
59
|
Schedule: () => exports_schedule2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service21,
|
|
61
61
|
Status: () => Status2,
|
|
62
62
|
When: () => When2,
|
|
63
|
-
node: () =>
|
|
63
|
+
node: () => node23,
|
|
64
64
|
toCreateInput: () => toCreateInput2
|
|
65
65
|
});
|
|
66
66
|
import { randomUUID } from "node:crypto";
|
|
@@ -70,18 +70,18 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
70
70
|
import {
|
|
71
71
|
Condition as Condition2,
|
|
72
72
|
ConditionInput as ConditionInput2,
|
|
73
|
-
CreateInput as
|
|
73
|
+
CreateInput as CreateInput3,
|
|
74
74
|
durationMillis,
|
|
75
|
-
ID as
|
|
76
|
-
Info as
|
|
75
|
+
ID as ID5,
|
|
76
|
+
Info as Info5,
|
|
77
77
|
Outcome as Outcome3,
|
|
78
78
|
Request as Request2,
|
|
79
79
|
Status as Status2,
|
|
80
80
|
toCreateInput as toCreateInput2,
|
|
81
81
|
When as When2
|
|
82
82
|
} from "@opencode/schema/schedule";
|
|
83
|
-
class
|
|
84
|
-
scheduleID:
|
|
83
|
+
class NotFoundError3 extends Schema.TaggedError()("Schedule.NotFoundError", {
|
|
84
|
+
scheduleID: ID5
|
|
85
85
|
}) {
|
|
86
86
|
get message() {
|
|
87
87
|
return `Schedule not found: ${this.scheduleID}`;
|
|
@@ -102,7 +102,7 @@ class DisabledError2 extends Schema.TaggedError()("Schedule.DisabledError", {})
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service21 extends Context.Service()("@opencode/Schedule") {
|
|
106
106
|
}
|
|
107
107
|
var MINUTE = 60000;
|
|
108
108
|
var HOUR = 60 * MINUTE;
|
|
@@ -188,12 +188,12 @@ var toInfo = (row, lastOutput) => ({
|
|
|
188
188
|
...lastOutput === undefined ? {} : { lastOutput },
|
|
189
189
|
time: { created: DateTime.makeUnsafe(row.time_created), updated: DateTime.makeUnsafe(row.time_updated) }
|
|
190
190
|
});
|
|
191
|
-
var layer = Layer.effect(
|
|
191
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
192
192
|
const database = yield* Service91;
|
|
193
193
|
const db = database.db;
|
|
194
|
-
const sessions = yield*
|
|
195
|
-
const instances = yield*
|
|
196
|
-
const execution = yield*
|
|
194
|
+
const sessions = yield* Service31;
|
|
195
|
+
const instances = yield* Service58;
|
|
196
|
+
const execution = yield* Service55;
|
|
197
197
|
const doorbell = yield* Latch.make();
|
|
198
198
|
const settings = (session) => Effect.gen(function* () {
|
|
199
199
|
const config = yield* Effect.serviceOption(Service70);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
205
205
|
timezone: latest2(entries, "timezone")
|
|
206
206
|
};
|
|
207
207
|
}).pipe(instances.provide(session));
|
|
208
|
-
const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new
|
|
208
|
+
const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new NotFoundError3({ scheduleID: id }))));
|
|
209
209
|
const update = (row, values) => db.update(ScheduleTable2).set(values).where(and(eq(ScheduleTable2.id, row.id), eq(ScheduleTable2.status, "active"))).run().pipe(Effect.orDie);
|
|
210
210
|
const pending = (id) => db.select({ id: SessionInboxTable2.id }).from(SessionInboxTable2).where(eq(SessionInboxTable2.id, id)).get().pipe(Effect.orDie, Effect.map((row) => row !== undefined));
|
|
211
211
|
const admitWake = Effect.fnUntraced(function* (row, sessionID, run, due, late, text, checkMeta) {
|
|
@@ -479,7 +479,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
479
479
|
return yield* new InvalidError2({ reason: `Invalid time: ${ends.at}` });
|
|
480
480
|
return Math.min(at.value, after ?? at.value);
|
|
481
481
|
});
|
|
482
|
-
return
|
|
482
|
+
return Service21.of({
|
|
483
483
|
create: Effect.fn("Schedule.create")(function* (input) {
|
|
484
484
|
const session = yield* sessions.get(input.sessionID);
|
|
485
485
|
const missingDirectory = () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }));
|
|
@@ -498,7 +498,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
498
498
|
const ends = yield* endsAt(input.ends, check?.mode === "until", zone, now);
|
|
499
499
|
if (ends !== null && due > ends)
|
|
500
500
|
return yield* new InvalidError2({ reason: "The schedule ends before it first fires" });
|
|
501
|
-
const scheduleID =
|
|
501
|
+
const scheduleID = ID5.create();
|
|
502
502
|
const seeded = check === undefined ? UNSEEDED : yield* Effect.gen(function* () {
|
|
503
503
|
yield* authorize2(session, input.name, when, check).pipe(instances.provide(session), Effect.mapError((error) => typeof error === "string" ? new InvalidError2({ reason: error }) : error), Effect.catchTag("FileSystem.DirectoryNotFoundError", missingDirectory));
|
|
504
504
|
const shouldSeed = check.mode === "until" || check.condition.type === "code" || check.condition.type === "shell" && check.condition.changes === true;
|
|
@@ -591,10 +591,10 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
591
591
|
run
|
|
592
592
|
});
|
|
593
593
|
}));
|
|
594
|
-
var
|
|
595
|
-
service:
|
|
594
|
+
var node23 = makeGlobalNode({
|
|
595
|
+
service: Service21,
|
|
596
596
|
layer,
|
|
597
|
-
deps: [node94,
|
|
597
|
+
deps: [node94, node34, node57, node59]
|
|
598
598
|
});
|
|
599
599
|
|
|
600
|
-
export { Condition2, ConditionInput2,
|
|
600
|
+
export { Condition2, ConditionInput2, CreateInput3, ID5, Info5, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError3, InvalidError2, DisabledError2, Service21, node23, exports_schedule2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
5
|
ID9,
|
|
6
6
|
Service50
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-0krp9tgf.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-nv2c5e9q.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-s4kyhetj.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-mb7mbhnz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./kv-xy76eq5y.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./kv-aaffqxme.js";
|
|
7
7
|
import {
|
|
8
8
|
Unattended2,
|
|
9
9
|
merge2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service65
|
|
11
|
+
} from "./kv-tg895eva.js";
|
|
12
12
|
import {
|
|
13
13
|
qualifiedName2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-n5a3fj6g.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service61
|
|
17
|
+
} from "./kv-sxb5xa2p.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service24,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./kv-9gkt22g8.js";
|
|
22
22
|
import {
|
|
23
23
|
awaitActivation2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./kv-qmh7vbk2.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service45
|
|
27
|
+
} from "./kv-2eby3rgr.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service42
|
|
30
|
+
} from "./kv-cvfvn2m3.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
Service77,
|
|
33
33
|
args2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./kv-admvw5d0.js";
|
|
35
35
|
import {
|
|
36
36
|
scan3
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./kv-fgaz952a.js";
|
|
38
38
|
import {
|
|
39
39
|
__export
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./kv-9rqn6x4v.js";
|
|
41
41
|
|
|
42
42
|
// src/schedule/check.ts
|
|
43
43
|
var exports_check = {};
|
|
@@ -152,8 +152,8 @@ var wakeOutcome = (wake, state, message) => ({
|
|
|
152
152
|
...wake && message !== undefined ? { message } : {}
|
|
153
153
|
});
|
|
154
154
|
var codeActions = Effect.fnUntraced(function* (paths) {
|
|
155
|
-
const mcp = yield*
|
|
156
|
-
const tools = yield*
|
|
155
|
+
const mcp = yield* Service42;
|
|
156
|
+
const tools = yield* Service45;
|
|
157
157
|
if (paths.length > 0)
|
|
158
158
|
yield* mcp.flush;
|
|
159
159
|
const registered = yield* tools.list();
|
|
@@ -173,8 +173,8 @@ var codeActions = Effect.fnUntraced(function* (paths) {
|
|
|
173
173
|
return { tools, actions: Array.dedupe(resolved.map((tool) => tool.options?.permission ?? tool.id)) };
|
|
174
174
|
});
|
|
175
175
|
var authorizeCode = Effect.fnUntraced(function* (session, name, when, mode, condition) {
|
|
176
|
-
const permission = yield*
|
|
177
|
-
const agents = yield*
|
|
176
|
+
const permission = yield* Service65;
|
|
177
|
+
const agents = yield* Service68;
|
|
178
178
|
const agent = yield* agents.select(session.agent);
|
|
179
179
|
const scanned = CodeMode.scanTools(condition.code);
|
|
180
180
|
if (Result.isFailure(scanned))
|
|
@@ -212,8 +212,8 @@ var authorizeCode = Effect.fnUntraced(function* (session, name, when, mode, cond
|
|
|
212
212
|
}), { discard: true });
|
|
213
213
|
});
|
|
214
214
|
var runCode = Effect.fnUntraced(function* (session, condition, prevState, context) {
|
|
215
|
-
const permission = yield*
|
|
216
|
-
const agents = yield*
|
|
215
|
+
const permission = yield* Service65;
|
|
216
|
+
const agents = yield* Service68;
|
|
217
217
|
const agent = yield* agents.select(session.agent);
|
|
218
218
|
if (!agent.info)
|
|
219
219
|
return { ok: false, error: `Agent not found: ${agent.id}` };
|
|
@@ -278,9 +278,9 @@ var runCode = Effect.fnUntraced(function* (session, condition, prevState, contex
|
|
|
278
278
|
return wakeOutcome(decoded.success.wake, state, message);
|
|
279
279
|
});
|
|
280
280
|
var scanShell = Effect.fnUntraced(function* (command) {
|
|
281
|
-
const location = yield*
|
|
282
|
-
const access = yield*
|
|
283
|
-
const shellSelect = yield*
|
|
281
|
+
const location = yield* Service84;
|
|
282
|
+
const access = yield* Service24;
|
|
283
|
+
const shellSelect = yield* Service77;
|
|
284
284
|
const target = yield* access.resolve({ path: location.directory, kind: "directory" }).pipe(Effect.mapError((error) => error.message));
|
|
285
285
|
const shell = yield* shellSelect.resolve({ priority: "compat" });
|
|
286
286
|
const parsed = yield* scan3(command, shell, target.absolute).pipe(Effect.mapError((error) => error.message));
|
|
@@ -290,8 +290,8 @@ var scanShell = Effect.fnUntraced(function* (command) {
|
|
|
290
290
|
return { shell, cwd: target.absolute, workspaceID: location.workspaceID, external, commands };
|
|
291
291
|
});
|
|
292
292
|
var assertShellPermissions = Effect.fnUntraced(function* (session, scanned, metadata) {
|
|
293
|
-
const permission = yield*
|
|
294
|
-
const agents = yield*
|
|
293
|
+
const permission = yield* Service65;
|
|
294
|
+
const agents = yield* Service68;
|
|
295
295
|
const agent = yield* agents.select(session.agent);
|
|
296
296
|
if (scanned.external.length > 0) {
|
|
297
297
|
yield* permission.assert({
|
|
@@ -323,7 +323,7 @@ var authorizeShell = Effect.fnUntraced(function* (session, name, when, mode, con
|
|
|
323
323
|
});
|
|
324
324
|
});
|
|
325
325
|
var runShell = Effect.fnUntraced(function* (session, condition, prevState) {
|
|
326
|
-
const environment = yield*
|
|
326
|
+
const environment = yield* Service61;
|
|
327
327
|
const scannedExit = yield* Effect.result(scanShell(condition.run));
|
|
328
328
|
if (Result.isFailure(scannedExit))
|
|
329
329
|
return { ok: false, error: scannedExit.failure };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-0ma9gw4f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID18,
|
|
6
|
+
Service85,
|
|
7
|
+
node88
|
|
8
|
+
} from "./kv-bn3sq0ta.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
|
-
InvalidRequestError: () =>
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
16
|
+
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
+
Service: () => Service15,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
20
|
layer: () => layer10,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node17
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -26,23 +26,23 @@ import {
|
|
|
26
26
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
27
27
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
28
28
|
import { Context, Effect, Layer, Redacted, Schema } from "effect";
|
|
29
|
-
class
|
|
29
|
+
class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestError", {
|
|
30
30
|
message: Schema.String
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service15 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var layer10 = Layer.effect(
|
|
42
|
+
var layer10 = Layer.effect(Service15, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
45
|
-
const findConnection = (provider, methods = ["key"]) => integrations.get(
|
|
44
|
+
const integrations = yield* Service85;
|
|
45
|
+
const findConnection = (provider, methods = ["key"]) => integrations.get(ID18.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
|
|
46
46
|
const source = Effect.fnUntraced(function* (engine) {
|
|
47
47
|
const connection = yield* findConnection(engine.provider);
|
|
48
48
|
if (connection)
|
|
@@ -65,12 +65,12 @@ var layer10 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
65
65
|
const session = Effect.fn("Voice.session")(function* (input) {
|
|
66
66
|
const engine = Realtime.engine(input.model);
|
|
67
67
|
if (!engine)
|
|
68
|
-
return yield* new
|
|
68
|
+
return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
|
|
69
69
|
const found = yield* source(engine);
|
|
70
|
-
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new
|
|
70
|
+
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: found.provider, message: error.message }))) : undefined;
|
|
71
71
|
const access = found && credential && sessionAccess(found.provider, credential);
|
|
72
72
|
if (found === undefined || access === undefined)
|
|
73
|
-
return yield* new
|
|
73
|
+
return yield* new UnavailableError2({
|
|
74
74
|
service: engine.provider,
|
|
75
75
|
message: engine.id === "openai-live" ? missingLiveKeyMessage : missingKeyMessage[engine.provider]
|
|
76
76
|
});
|
|
@@ -79,14 +79,14 @@ var layer10 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
79
79
|
session: input.session,
|
|
80
80
|
transport: input.transport,
|
|
81
81
|
...access
|
|
82
|
-
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new
|
|
82
|
+
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: found.provider })));
|
|
83
83
|
});
|
|
84
|
-
return
|
|
84
|
+
return Service15.of({ models, session });
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
87
|
-
service:
|
|
86
|
+
var node17 = makeLocationNode({
|
|
87
|
+
service: Service15,
|
|
88
88
|
layer: layer10,
|
|
89
|
-
deps: [
|
|
89
|
+
deps: [node88, requestExecutor2]
|
|
90
90
|
});
|
|
91
91
|
var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
|
|
92
92
|
var sessionAccess = (provider, credential) => {
|
|
@@ -108,4 +108,4 @@ var missingKeyMessage = {
|
|
|
108
108
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { InvalidRequestError2, UnavailableError2, Service15, layer10, node17, exports_voice };
|