@opencode/core 0.0.0-dev-529 → 0.0.0-dev-532
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 +9 -9
- package/dist/artifact.js +236 -236
- package/dist/bus.js +80 -80
- package/dist/chunks/{kv-01j9hg6p.js → snapshot-00jtthsp.js} +10 -10
- package/dist/chunks/{kv-638ze154.js → snapshot-015gtrjj.js} +22 -22
- package/dist/chunks/{kv-nt3srhv4.js → snapshot-02tzkb6k.js} +12 -12
- package/dist/chunks/{kv-034tev2y.js → snapshot-034tev2y.js} +2 -2
- package/dist/chunks/{kv-8g30ebse.js → snapshot-03rdty62.js} +17 -17
- package/dist/chunks/{kv-ayn79h8x.js → snapshot-04j3k7vv.js} +27 -27
- package/dist/chunks/{kv-qp0w2kkx.js → snapshot-0adtj0rr.js} +35 -35
- package/dist/chunks/{kv-1zc261y1.js → snapshot-0gwbn6a0.js} +8 -8
- package/dist/chunks/{kv-8j06ca5s.js → snapshot-0gwvxtbp.js} +18 -18
- package/dist/chunks/{kv-1v2g13eq.js → snapshot-0h86f0az.js} +4 -4
- package/dist/chunks/{kv-0j7gp832.js → snapshot-0j7gp832.js} +1 -1
- package/dist/chunks/{kv-0ma9gw4f.js → snapshot-0ma9gw4f.js} +2 -2
- package/dist/chunks/{kv-4dhachnm.js → snapshot-0vzt0xxw.js} +2 -2
- package/dist/chunks/{kv-twghvwpe.js → snapshot-17d9a00f.js} +8 -8
- package/dist/chunks/{kv-sx27c7qs.js → snapshot-17nkpt1v.js} +7 -7
- package/dist/chunks/{kv-1aqsckx4.js → snapshot-1aqsckx4.js} +1 -1
- package/dist/chunks/{kv-f6j243bk.js → snapshot-1c9nnrn0.js} +25 -25
- package/dist/chunks/{kv-wzac9g9s.js → snapshot-1cqzc8xa.js} +18 -18
- package/dist/chunks/{kv-svqaxg1p.js → snapshot-1dbs5jz7.js} +7 -7
- package/dist/chunks/{kv-gdhsk6ph.js → snapshot-1dektwtd.js} +38 -38
- package/dist/chunks/{kv-1ep2p91f.js → snapshot-1ep2p91f.js} +2 -2
- package/dist/chunks/{kv-1ez760by.js → snapshot-1gs1gt2k.js} +4 -4
- package/dist/chunks/{kv-7dwbjrxx.js → snapshot-1hckgdte.js} +12 -12
- package/dist/chunks/{kv-admvw5d0.js → snapshot-1ws25vnd.js} +17 -17
- package/dist/chunks/{kv-1x2knyw4.js → snapshot-1x2knyw4.js} +1 -1
- package/dist/chunks/{kv-tb2mrvc9.js → snapshot-26wfx3k0.js} +4 -4
- package/dist/chunks/{kv-sxb5xa2p.js → snapshot-27ka4nfh.js} +20 -20
- package/dist/chunks/{kv-cpvd08na.js → snapshot-2azy8kv6.js} +4 -4
- package/dist/chunks/{kv-p2tvx8t7.js → snapshot-2b2r7h3k.js} +9 -9
- package/dist/chunks/{kv-z9tty0dh.js → snapshot-2d9tna42.js} +11 -11
- package/dist/chunks/{kv-mjfqje0h.js → snapshot-2gqm044t.js} +20 -20
- package/dist/chunks/{kv-d43rvkzs.js → snapshot-2kpk49fq.js} +43 -43
- package/dist/chunks/{kv-rbg54dp1.js → snapshot-2m2g9ynh.js} +4 -4
- package/dist/chunks/{kv-5f0w2ebz.js → snapshot-2n5jgnmr.js} +3 -3
- package/dist/chunks/{kv-q7465z21.js → snapshot-2nhkse2f.js} +9 -9
- package/dist/chunks/{kv-08gae5s0.js → snapshot-2sy1gdsc.js} +49 -49
- package/dist/chunks/{kv-vx4g6ffv.js → snapshot-2w4f39sr.js} +54 -54
- package/dist/chunks/{kv-qktmpjrz.js → snapshot-31mq4tw3.js} +49 -49
- package/dist/chunks/{kv-r6yvfyaa.js → snapshot-37937hpt.js} +11 -11
- package/dist/chunks/{kv-z080rjh6.js → snapshot-38aws4xb.js} +4 -4
- package/dist/chunks/{kv-s818qefp.js → snapshot-3f6kqnhv.js} +5 -5
- package/dist/chunks/{kv-7rf921jw.js → snapshot-3h23779q.js} +12 -12
- package/dist/chunks/{kv-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-6xtjqz2m.js → snapshot-3jymkt4s.js} +4 -4
- package/dist/chunks/{kv-5exgak64.js → snapshot-3mb7w1m1.js} +16 -16
- package/dist/chunks/{kv-mjhz0hpb.js → snapshot-3q02yv7z.js} +21 -21
- package/dist/chunks/{kv-4smfxh8y.js → snapshot-3rhcyxz7.js} +23 -23
- package/dist/chunks/{kv-f568412b.js → snapshot-3vahy3b1.js} +8 -8
- package/dist/chunks/{kv-ph9bad8y.js → snapshot-3x2nxdb5.js} +13 -13
- package/dist/chunks/{kv-67derp2t.js → snapshot-3xd28q3c.js} +26 -26
- package/dist/chunks/{kv-40y6dtc2.js → snapshot-40y6dtc2.js} +1 -1
- package/dist/chunks/{kv-v4k1rqsy.js → snapshot-43peya96.js} +11 -11
- package/dist/chunks/{kv-mg4dw1ja.js → snapshot-4540c49m.js} +16 -16
- package/dist/chunks/{kv-67wm484p.js → snapshot-47j9ven8.js} +10 -10
- package/dist/chunks/{kv-ets0bd3j.js → snapshot-47jwhe8b.js} +17 -17
- package/dist/chunks/{kv-9bz4c5h2.js → snapshot-47mnmgea.js} +12 -12
- package/dist/chunks/{kv-xvgxca51.js → snapshot-4a90q00n.js} +8 -8
- package/dist/chunks/{kv-4dx1dgte.js → snapshot-4dx1dgte.js} +1 -1
- package/dist/chunks/{kv-4f25tdd0.js → snapshot-4f25tdd0.js} +1 -1
- package/dist/chunks/{kv-72p8cdgw.js → snapshot-4kakdjsd.js} +23 -23
- package/dist/chunks/{kv-xy76eq5y.js → snapshot-4medacdg.js} +19 -19
- package/dist/chunks/{kv-vyg1nsxp.js → snapshot-4p462tmc.js} +13 -13
- package/dist/chunks/{kv-4pyp9zr9.js → snapshot-4pyp9zr9.js} +1 -1
- package/dist/chunks/{kv-t7gj2b5k.js → snapshot-4qggf64z.js} +31 -31
- package/dist/chunks/{kv-4v008n1t.js → snapshot-4v008n1t.js} +1 -1
- package/dist/chunks/{kv-2f42m7f5.js → snapshot-4v9bjntf.js} +17 -17
- package/dist/chunks/{kv-vmrjdeh6.js → snapshot-5cywqebd.js} +1 -1
- package/dist/chunks/{kv-n912md4v.js → snapshot-5evh74pq.js} +3 -3
- package/dist/chunks/{kv-j34sjpw5.js → snapshot-5fnj0t16.js} +17 -17
- package/dist/chunks/{kv-kzd4gysb.js → snapshot-5knczaqs.js} +29 -29
- package/dist/chunks/{kv-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{kv-0p41qxs1.js → snapshot-5t6y56hr.js} +7 -7
- package/dist/chunks/{kv-42r4z0p9.js → snapshot-5zbf0ycy.js} +18 -18
- package/dist/chunks/{kv-5zrxpy3q.js → snapshot-5zrxpy3q.js} +1 -1
- package/dist/chunks/{kv-ckkakae4.js → snapshot-66gyetq5.js} +37 -37
- package/dist/chunks/{kv-twakhrwk.js → snapshot-66zqjaaq.js} +40 -40
- package/dist/chunks/{kv-8xz27cp9.js → snapshot-67wwskyb.js} +4 -4
- package/dist/chunks/snapshot-6bshxcsx.js +18 -0
- package/dist/chunks/{kv-q0mm9a3b.js → snapshot-6ccnej99.js} +27 -27
- package/dist/chunks/{kv-hretfjjx.js → snapshot-6cfzbdsr.js} +2 -2
- package/dist/chunks/{kv-87jn0neg.js → snapshot-6ckdf447.js} +3 -3
- package/dist/chunks/{kv-vb5jx6fx.js → snapshot-6mts900z.js} +50 -50
- package/dist/chunks/{kv-9yqjp86x.js → snapshot-7215dbqr.js} +6 -6
- package/dist/chunks/{kv-fgmy3vn8.js → snapshot-73mq6nmm.js} +43 -43
- package/dist/chunks/{kv-80mg3ag8.js → snapshot-775hqbnd.js} +3 -3
- package/dist/chunks/{kv-t8erkws8.js → snapshot-78p2h4ex.js} +5 -5
- package/dist/chunks/{kv-tx91wa5k.js → snapshot-7a2bwsmz.js} +4 -4
- package/dist/chunks/{kv-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-w95asz63.js → snapshot-7dhxysb4.js} +27 -27
- package/dist/chunks/{kv-d82swh3g.js → snapshot-7e1h2w2j.js} +11 -11
- package/dist/chunks/{kv-m9zhtkdh.js → snapshot-7jhexde2.js} +4 -4
- package/dist/chunks/{kv-22yy35xy.js → snapshot-7pxvw5x3.js} +14 -14
- package/dist/chunks/{kv-ytq4tgab.js → snapshot-7s6dsfah.js} +2 -2
- package/dist/chunks/{kv-7w2ypzdf.js → snapshot-7w2ypzdf.js} +1 -1
- package/dist/chunks/{kv-7weczvnd.js → snapshot-7weczvnd.js} +1 -1
- package/dist/chunks/{kv-yrs6180n.js → snapshot-85mg8ajb.js} +19 -19
- package/dist/chunks/{kv-grp707k1.js → snapshot-87n62zmv.js} +18 -18
- package/dist/chunks/{kv-89287pr7.js → snapshot-89287pr7.js} +1 -1
- package/dist/chunks/{kv-8b3vzgkx.js → snapshot-8b3vzgkx.js} +1 -1
- package/dist/chunks/{kv-8cg7mtm3.js → snapshot-8cg7mtm3.js} +1 -1
- package/dist/chunks/{kv-7q4ag1rq.js → snapshot-8hhvd2fq.js} +30 -30
- package/dist/chunks/{kv-11jqq9a1.js → snapshot-8k0ax8j2.js} +21 -21
- package/dist/chunks/{kv-wawdn69p.js → snapshot-8mvs527h.js} +8 -8
- package/dist/chunks/{kv-gt1v52rz.js → snapshot-8qmwy3x8.js} +17 -17
- package/dist/chunks/{kv-8sxe6kv8.js → snapshot-8sxe6kv8.js} +2 -2
- package/dist/chunks/{kv-8wtp7s3z.js → snapshot-8wtp7s3z.js} +1 -1
- package/dist/chunks/{kv-90zstvax.js → snapshot-90zstvax.js} +1 -1
- package/dist/chunks/{kv-szwm4crx.js → snapshot-96djdqw5.js} +4 -4
- package/dist/chunks/{kv-vvh1qsqw.js → snapshot-9k0vxb0m.js} +7 -7
- package/dist/chunks/{kv-096af4ek.js → snapshot-9kcvnrhr.js} +8 -8
- package/dist/chunks/{kv-d390zwf3.js → snapshot-9t2khtsw.js} +8 -8
- package/dist/chunks/{kv-n0cjgwaa.js → snapshot-a1c94s6p.js} +11 -11
- package/dist/chunks/{kv-be4t0wbb.js → snapshot-a5qd4f5b.js} +11 -11
- package/dist/chunks/{kv-66vf4d6f.js → snapshot-a8frashj.js} +12 -12
- package/dist/chunks/{kv-mqhk7c7q.js → snapshot-aax7r870.js} +6 -6
- package/dist/chunks/{kv-v5hpj9dd.js → snapshot-aedwt843.js} +4 -4
- package/dist/chunks/{kv-dx3nf18q.js → snapshot-anj2pydk.js} +19 -19
- package/dist/chunks/{kv-f3zf6hej.js → snapshot-ap02dw0z.js} +5 -5
- package/dist/chunks/{kv-kn4zqwcq.js → snapshot-atz1w742.js} +3 -3
- package/dist/chunks/{kv-8c6fzh6r.js → snapshot-awzsmqve.js} +33 -33
- package/dist/chunks/{kv-ayjs7tqn.js → snapshot-ayjs7tqn.js} +2 -2
- package/dist/chunks/{kv-dnchje9n.js → snapshot-ayrgkse4.js} +19 -19
- package/dist/chunks/{kv-ydbnn6z1.js → snapshot-b1rea141.js} +14 -14
- package/dist/chunks/{kv-w3pak01y.js → snapshot-b4pev1hw.js} +16 -16
- package/dist/chunks/{kv-b6vsg801.js → snapshot-b6vsg801.js} +2 -2
- package/dist/chunks/{kv-vtkyewdg.js → snapshot-b8jt0kff.js} +9 -9
- package/dist/chunks/{kv-ebt8y0c6.js → snapshot-bd0fnkyf.js} +7 -7
- package/dist/chunks/{kv-s8qtxmzm.js → snapshot-bfmm6xpm.js} +4 -4
- package/dist/chunks/{kv-kp9dkw4x.js → snapshot-bgn4x9j8.js} +167 -167
- package/dist/chunks/{kv-9fg71ars.js → snapshot-bka4gr3d.js} +14 -14
- package/dist/chunks/{kv-mtx99btt.js → snapshot-bngz60my.js} +15 -15
- package/dist/chunks/{kv-qtj9jawk.js → snapshot-bq47p9zn.js} +10 -10
- package/dist/chunks/{kv-xjbsd7zy.js → snapshot-br85n61x.js} +9 -9
- package/dist/chunks/{kv-bstexjd6.js → snapshot-bstexjd6.js} +1 -1
- package/dist/chunks/{kv-690x1gn5.js → snapshot-btm9gx4f.js} +12 -12
- package/dist/chunks/{kv-fs4jmx66.js → snapshot-c164rn5x.js} +10 -10
- package/dist/chunks/snapshot-c9q8yw5k.js +265 -0
- package/dist/chunks/{kv-11brdgyq.js → snapshot-caz0ahwb.js} +29 -29
- package/dist/chunks/{kv-g3azt962.js → snapshot-cg8d3gyk.js} +6 -6
- package/dist/chunks/{kv-gebggerj.js → snapshot-cg9ykaap.js} +6 -6
- package/dist/chunks/{kv-em5cgbgt.js → snapshot-crgwvvh8.js} +4 -4
- package/dist/chunks/{kv-cwrgdav8.js → snapshot-cwrgdav8.js} +2 -2
- package/dist/chunks/{kv-f3ng0f24.js → snapshot-cx092gqm.js} +6 -6
- package/dist/chunks/{kv-e42h8s07.js → snapshot-d1091k80.js} +21 -21
- package/dist/chunks/{kv-d4v9tmah.js → snapshot-d4v9tmah.js} +2 -2
- package/dist/chunks/{kv-ks77ntmf.js → snapshot-d8bp0tjy.js} +21 -21
- package/dist/chunks/{kv-n5a3fj6g.js → snapshot-d8cypgkm.js} +9 -9
- package/dist/chunks/{kv-4vnqjrj3.js → snapshot-dj1qw1kk.js} +6 -6
- package/dist/chunks/{kv-ckf1qbq4.js → snapshot-dk0pd4kf.js} +15 -15
- package/dist/chunks/{kv-y9zgxfrg.js → snapshot-dmt4e8gm.js} +7 -7
- package/dist/chunks/{kv-vap4139e.js → snapshot-drc2vg3s.js} +11 -11
- package/dist/chunks/{kv-6mnn5dxp.js → snapshot-dstaf2vv.js} +14 -14
- package/dist/chunks/{kv-dt77769w.js → snapshot-dt77769w.js} +1 -1
- package/dist/chunks/{kv-m1k6hp86.js → snapshot-dw5qe3h5.js} +26 -26
- package/dist/chunks/{kv-8es3pha2.js → snapshot-e0nd6rg0.js} +11 -11
- package/dist/chunks/{kv-e834z07m.js → snapshot-e834z07m.js} +1 -1
- package/dist/chunks/{kv-xvebxx6w.js → snapshot-ekt381s1.js} +362 -362
- package/dist/chunks/{kv-eqw4pqj1.js → snapshot-eqw4pqj1.js} +2 -2
- package/dist/chunks/{kv-nchw3v9s.js → snapshot-ez5kac3c.js} +5 -5
- package/dist/chunks/{kv-60fq81g2.js → snapshot-ezmxdj3y.js} +25 -25
- package/dist/chunks/{kv-jscs4gem.js → snapshot-ezvsqx2g.js} +16 -16
- package/dist/chunks/{kv-pg9qkrhy.js → snapshot-f4n0fdyw.js} +23 -23
- package/dist/chunks/{kv-wn2vj2sg.js → snapshot-f976p511.js} +11 -11
- package/dist/chunks/{kv-j1kadvd3.js → snapshot-ferq8ard.js} +2 -2
- package/dist/chunks/{kv-fffv3p7h.js → snapshot-fffv3p7h.js} +1 -1
- package/dist/chunks/{kv-prq7xxp2.js → snapshot-fg9p65nk.js} +6 -6
- package/dist/chunks/{kv-m6cfdtf3.js → snapshot-fwc5tj9a.js} +4 -4
- package/dist/chunks/{kv-wr3re1en.js → snapshot-fznmdakp.js} +4 -4
- package/dist/chunks/{kv-0qc6z4yr.js → snapshot-g055dp6a.js} +39 -39
- package/dist/chunks/{kv-5xc640na.js → snapshot-g4rf33c8.js} +14 -14
- package/dist/chunks/{kv-nd2qx06s.js → snapshot-g5gt5c3n.js} +9 -9
- package/dist/chunks/{kv-gbjdnr5j.js → snapshot-gbjdnr5j.js} +2 -2
- package/dist/chunks/{kv-5qy6rygc.js → snapshot-gg4zn61g.js} +85 -85
- package/dist/chunks/{kv-ghrv1g9c.js → snapshot-ghrv1g9c.js} +1 -1
- package/dist/chunks/{kv-5dw815pp.js → snapshot-gnvam0m7.js} +8 -8
- package/dist/chunks/{kv-rzx1wgy5.js → snapshot-gp28gsbe.js} +5 -5
- package/dist/chunks/{kv-ayztab9e.js → snapshot-gtatwgas.js} +30 -30
- package/dist/chunks/{kv-jv57bm0m.js → snapshot-gwgtk26b.js} +3 -3
- package/dist/chunks/{kv-a0h89fzp.js → snapshot-h09j8e96.js} +7 -7
- package/dist/chunks/{kv-96askspy.js → snapshot-h154w6yb.js} +8 -8
- package/dist/chunks/{kv-kf2y3hyd.js → snapshot-h3m7xtqe.js} +4 -4
- package/dist/chunks/{kv-ws82s0a0.js → snapshot-h8f6zw2b.js} +10 -10
- package/dist/chunks/{kv-pna48k9t.js → snapshot-hczbnsx0.js} +14 -14
- package/dist/chunks/{kv-4c9bdtyr.js → snapshot-hjcrnad2.js} +35 -35
- package/dist/chunks/{kv-3qgwywyc.js → snapshot-hkf8spj2.js} +7 -7
- package/dist/chunks/{kv-8fnb3k1b.js → snapshot-hqsz3z6a.js} +23 -23
- package/dist/chunks/{kv-7phhn59s.js → snapshot-hsg91j3v.js} +21 -21
- package/dist/chunks/{kv-tr8x705m.js → snapshot-j376ae4e.js} +5 -5
- package/dist/chunks/{kv-sg9w61vg.js → snapshot-j72wsa2k.js} +18 -18
- package/dist/chunks/{kv-ze75qvmd.js → snapshot-j9nxzz3g.js} +3 -3
- package/dist/chunks/{kv-r09760z9.js → snapshot-jb1ds409.js} +15 -15
- package/dist/chunks/{kv-vycsk1c7.js → snapshot-jc512s3p.js} +8 -8
- package/dist/chunks/{kv-aaffqxme.js → snapshot-jcabzvmh.js} +14 -14
- package/dist/chunks/{kv-nqfa4042.js → snapshot-jhkhac7v.js} +9 -9
- package/dist/chunks/{kv-cvfvn2m3.js → snapshot-jrzg2q6e.js} +36 -36
- package/dist/chunks/{kv-44pmzq9c.js → snapshot-jxd6f16v.js} +2 -2
- package/dist/chunks/{kv-xe76q1hg.js → snapshot-k3ag29vc.js} +8 -8
- package/dist/chunks/{kv-hwntad0x.js → snapshot-k9180nq1.js} +22 -22
- package/dist/chunks/{kv-kh8gdsej.js → snapshot-kh8gdsej.js} +1 -1
- package/dist/chunks/{kv-k46dd5bg.js → snapshot-kj9n5bvh.js} +4 -4
- package/dist/chunks/{kv-2z5dm88b.js → snapshot-kkfj88c7.js} +39 -39
- package/dist/chunks/{kv-9dne3p1g.js → snapshot-km0cfrx6.js} +11 -11
- package/dist/chunks/{kv-kt3bjfbg.js → snapshot-kt3bjfbg.js} +1 -1
- package/dist/chunks/{kv-6cfyxda3.js → snapshot-ktqvmfd6.js} +4 -4
- package/dist/chunks/{kv-kzczzf4v.js → snapshot-kzczzf4v.js} +1 -1
- package/dist/chunks/{kv-m1714858.js → snapshot-m1714858.js} +1 -1
- package/dist/chunks/{kv-997xt42a.js → snapshot-m26f7mys.js} +15 -15
- package/dist/chunks/{kv-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-mb7mbhnz.js → snapshot-mb7mbhnz.js} +3 -3
- package/dist/chunks/{kv-z3zmhb13.js → snapshot-mc3ry9pt.js} +23 -23
- package/dist/chunks/{kv-hddd8b61.js → snapshot-mhvpz68k.js} +18 -18
- package/dist/chunks/{kv-a5fx33f2.js → snapshot-mrpnjyvf.js} +2 -2
- package/dist/chunks/{kv-msm1sr42.js → snapshot-msj6d6t3.js} +6 -6
- package/dist/chunks/{kv-tezkqfbg.js → snapshot-n0kkrvfd.js} +13 -13
- package/dist/chunks/{kv-fgaz952a.js → snapshot-n982qmpn.js} +4 -4
- package/dist/chunks/{kv-mkv2nc82.js → snapshot-naej57ym.js} +20 -20
- package/dist/chunks/{kv-cac1q38b.js → snapshot-nng1v2xr.js} +14 -14
- package/dist/chunks/{kv-fq59wvkx.js → snapshot-nsccxgwm.js} +20 -20
- package/dist/chunks/{kv-2yr9zyab.js → snapshot-nvvgawxv.js} +59 -59
- package/dist/chunks/{kv-tg895eva.js → snapshot-nxmregj7.js} +43 -43
- package/dist/chunks/{kv-bn3sq0ta.js → snapshot-nybqs75x.js} +29 -29
- package/dist/chunks/{kv-trks772y.js → snapshot-nypk2anc.js} +17 -17
- package/dist/chunks/{kv-wvr8xscb.js → snapshot-nyxvvj5y.js} +4 -4
- package/dist/chunks/{kv-ygjd5gzh.js → snapshot-nzgz7878.js} +5 -5
- package/dist/chunks/{kv-6t40r86m.js → snapshot-p2zgsc1h.js} +11 -11
- package/dist/chunks/snapshot-p44bganc.js +26 -0
- package/dist/chunks/{kv-jzczyy04.js → snapshot-pbxscsvg.js} +28 -28
- package/dist/chunks/{kv-0sjfwva1.js → snapshot-ph3bkv59.js} +3 -3
- package/dist/chunks/{kv-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{kv-hzmq7001.js → snapshot-pp8ft108.js} +31 -31
- package/dist/chunks/{kv-t0qztpcm.js → snapshot-pp9e9a0v.js} +28 -28
- package/dist/chunks/{kv-v7xvj23x.js → snapshot-ppzt36km.js} +26 -26
- package/dist/chunks/{kv-ka8dknqd.js → snapshot-prcmhx4n.js} +31 -31
- package/dist/chunks/{kv-fjwdgcms.js → snapshot-q16d99qz.js} +26 -26
- package/dist/chunks/{kv-6zxz81zm.js → snapshot-q2gsgpax.js} +21 -21
- package/dist/chunks/{kv-e4bcezh6.js → snapshot-q65mdntm.js} +4 -4
- package/dist/chunks/{kv-md60n50y.js → snapshot-q73ct508.js} +36 -36
- package/dist/chunks/{kv-0sbnv8xr.js → snapshot-qd5twec2.js} +4 -4
- package/dist/chunks/{kv-zmtdeb8k.js → snapshot-qddj8sb8.js} +7 -7
- package/dist/chunks/{kv-xsyewey3.js → snapshot-qj6jkf1s.js} +10 -10
- package/dist/chunks/{kv-jv6r7fb8.js → snapshot-qjan6wzv.js} +1 -1
- package/dist/chunks/{kv-qp7r0hxv.js → snapshot-qp7r0hxv.js} +1 -1
- package/dist/chunks/{kv-qqvy8y24.js → snapshot-qqvy8y24.js} +1 -1
- package/dist/chunks/{kv-0krp9tgf.js → snapshot-qsct7qhx.js} +33 -33
- package/dist/chunks/{kv-8wjgamp7.js → snapshot-qw2t3dzn.js} +6 -6
- package/dist/chunks/{kv-712mpftp.js → snapshot-qwk0k9z5.js} +36 -36
- package/dist/chunks/{kv-dmysbgyv.js → snapshot-r43dyz47.js} +32 -32
- package/dist/chunks/{kv-yczc8vts.js → snapshot-r43kyb33.js} +28 -28
- package/dist/chunks/{kv-hrcnme5b.js → snapshot-r52bq73r.js} +3 -3
- package/dist/chunks/{kv-rb9dy4dg.js → snapshot-rb9dy4dg.js} +1 -1
- package/dist/chunks/{kv-1s424h9e.js → snapshot-re2129nw.js} +11 -11
- package/dist/chunks/{kv-rgc9cx3e.js → snapshot-rgc9cx3e.js} +2 -2
- package/dist/chunks/{kv-47mb2g3q.js → snapshot-rgj2cq6p.js} +17 -17
- package/dist/chunks/{kv-vt2d6wap.js → snapshot-rj7j5fvs.js} +4 -4
- package/dist/chunks/{kv-nx0b1yq1.js → snapshot-rmh8p2my.js} +15 -15
- package/dist/chunks/{kv-s4kyhetj.js → snapshot-rp82cnfd.js} +3 -3
- package/dist/chunks/{kv-syxe2jw8.js → snapshot-rq9847mz.js} +8 -8
- package/dist/chunks/{kv-rt5dr6hb.js → snapshot-rt5dr6hb.js} +1 -1
- package/dist/chunks/{kv-v5c8jcpx.js → snapshot-rwegdk7n.js} +5 -5
- package/dist/chunks/{kv-j10kb1p7.js → snapshot-rxazx0t3.js} +85 -85
- package/dist/chunks/{kv-rdfftd88.js → snapshot-rxvvdvp0.js} +49 -49
- package/dist/chunks/{kv-qfa905y3.js → snapshot-ry775k0c.js} +3 -3
- package/dist/chunks/{kv-2p60zmnr.js → snapshot-s1ba0vj0.js} +2 -2
- package/dist/chunks/{kv-cr4rfj9z.js → snapshot-s26c8eb5.js} +4 -4
- package/dist/chunks/{kv-sa3fpqfw.js → snapshot-sa3fpqfw.js} +2 -2
- package/dist/chunks/{kv-8vpywkz0.js → snapshot-sat7b5sf.js} +8 -8
- package/dist/chunks/{kv-sbya78hr.js → snapshot-sbya78hr.js} +1 -1
- package/dist/chunks/{kv-zwbz7bgj.js → snapshot-sd4fdgtv.js} +16 -16
- package/dist/chunks/{kv-8kmbd2d4.js → snapshot-sjpxkxd8.js} +9 -9
- package/dist/chunks/{kv-9gkt22g8.js → snapshot-steps8yr.js} +25 -25
- package/dist/chunks/{kv-svcy3p9a.js → snapshot-svcy3p9a.js} +1 -1
- package/dist/chunks/{kv-ne432a6n.js → snapshot-svt1y7eh.js} +13 -13
- package/dist/chunks/{kv-zdxbh946.js → snapshot-t6qvpsme.js} +19 -19
- package/dist/chunks/{kv-70dssh1d.js → snapshot-t8bj1stj.js} +30 -30
- package/dist/chunks/{kv-tczq8hjw.js → snapshot-tczq8hjw.js} +1 -1
- package/dist/chunks/{kv-nv2c5e9q.js → snapshot-tdnhqmff.js} +3 -3
- package/dist/chunks/{kv-gxs71cxp.js → snapshot-tg7s7b5t.js} +4 -4
- package/dist/chunks/{kv-z02x5vkw.js → snapshot-tm61n76h.js} +30 -30
- package/dist/chunks/{kv-3nnrz6f6.js → snapshot-tmc7xdjs.js} +4 -4
- package/dist/chunks/{kv-622595n7.js → snapshot-tn4mp4d9.js} +28 -28
- package/dist/chunks/{kv-h1as4bmj.js → snapshot-tsv5jq5j.js} +19 -19
- package/dist/chunks/{kv-tvtps2q9.js → snapshot-tvtps2q9.js} +1 -1
- package/dist/chunks/{kv-rkrx09at.js → snapshot-twe70jnp.js} +3 -3
- package/dist/chunks/{kv-twssxy5n.js → snapshot-twssxy5n.js} +2 -2
- package/dist/chunks/{kv-3t1qzrqy.js → snapshot-v0g4t6z8.js} +8 -8
- package/dist/chunks/{kv-2hra54m1.js → snapshot-v1kkfv6w.js} +4 -4
- package/dist/chunks/{kv-v2r1d0zg.js → snapshot-v2r1d0zg.js} +1 -1
- package/dist/chunks/{kv-kqp3wqnb.js → snapshot-v7wxj3vv.js} +23 -23
- package/dist/chunks/{kv-7b0cr362.js → snapshot-va03v1yh.js} +9 -9
- package/dist/chunks/{kv-vjf35v1f.js → snapshot-vjf35v1f.js} +1 -1
- package/dist/chunks/{kv-ah1hscsp.js → snapshot-vjwp37x5.js} +3 -3
- package/dist/chunks/{kv-40za9wsf.js → snapshot-w2eysc6j.js} +9 -9
- package/dist/chunks/{kv-2kg89srt.js → snapshot-w35wzz9x.js} +4 -4
- package/dist/chunks/{kv-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-wakvkjy4.js → snapshot-wakvkjy4.js} +1 -1
- package/dist/chunks/{kv-nmev1w6s.js → snapshot-wbk7n6kb.js} +9 -9
- package/dist/chunks/{kv-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{kv-wegkxhrn.js → snapshot-wegkxhrn.js} +2 -2
- package/dist/chunks/{kv-wfdx5ztx.js → snapshot-wfdx5ztx.js} +1 -1
- package/dist/chunks/{kv-jjzjap5a.js → snapshot-wfyfnn92.js} +5 -5
- package/dist/chunks/{kv-q3bvgzf6.js → snapshot-wmjj055m.js} +21 -21
- package/dist/chunks/{kv-wnhgecwx.js → snapshot-wnhgecwx.js} +1 -1
- package/dist/chunks/{kv-e4cyteqs.js → snapshot-wv6afsja.js} +5 -5
- package/dist/chunks/{kv-s2vw5q64.js → snapshot-wwqhasp0.js} +40 -40
- package/dist/chunks/{kv-gvw9ca2e.js → snapshot-wxw9sck8.js} +32 -32
- package/dist/chunks/{kv-6q7w9k2m.js → snapshot-x0ek93wj.js} +5 -5
- package/dist/chunks/{kv-jxckrv48.js → snapshot-x0n9fvsq.js} +2 -2
- package/dist/chunks/{kv-10yag2ft.js → snapshot-x1jjfm1j.js} +12 -12
- package/dist/chunks/{kv-2r7xvdf7.js → snapshot-x1p1047v.js} +24 -24
- package/dist/chunks/{kv-n7wkkphh.js → snapshot-x2k044fr.js} +47 -47
- package/dist/chunks/{kv-rfx15cv3.js → snapshot-x2kq6e1y.js} +11 -11
- package/dist/chunks/{kv-m9nxjbr2.js → snapshot-xaq04tt8.js} +13 -13
- package/dist/chunks/{kv-1f03813e.js → snapshot-xftb21ep.js} +26 -26
- package/dist/chunks/{kv-0x0n7yr3.js → snapshot-xg525rzc.js} +38 -38
- package/dist/chunks/{kv-k3zq5bxc.js → snapshot-xj2s7szy.js} +12 -12
- package/dist/chunks/{kv-ft2webd9.js → snapshot-xm7yp38e.js} +6 -6
- package/dist/chunks/{kv-9mh1jfrb.js → snapshot-xs3qyxp9.js} +5 -5
- package/dist/chunks/{kv-xjr6c8m4.js → snapshot-xxschbft.js} +4 -4
- package/dist/chunks/{kv-qa471xkx.js → snapshot-xym735jc.js} +8 -8
- package/dist/chunks/{kv-kwgzm5gn.js → snapshot-y2s4tqg4.js} +18 -18
- package/dist/chunks/{kv-kqmsr12a.js → snapshot-y7ewtn5n.js} +20 -20
- package/dist/chunks/{kv-qh5g3qaw.js → snapshot-y9x9m3cp.js} +9 -9
- package/dist/chunks/{kv-9x1tzrtb.js → snapshot-yaechdcq.js} +6 -6
- package/dist/chunks/{kv-v25bqyy8.js → snapshot-yb1b8k5p.js} +10 -10
- package/dist/chunks/{kv-yb20nhc3.js → snapshot-yb20nhc3.js} +1 -1
- package/dist/chunks/{kv-3q0tzkdv.js → snapshot-yf2a7raw.js} +13 -13
- package/dist/chunks/{kv-6cvwve3t.js → snapshot-yffmyeck.js} +79 -79
- package/dist/chunks/{kv-9rgr5dz2.js → snapshot-yfmbdz01.js} +4 -4
- package/dist/chunks/{kv-0jkdfsmq.js → snapshot-yhc1xchn.js} +29 -29
- package/dist/chunks/{kv-2eby3rgr.js → snapshot-yjhxktcq.js} +28 -28
- package/dist/chunks/{kv-sbz71ybr.js → snapshot-yjjyz0e3.js} +3 -3
- package/dist/chunks/{kv-yr705xyq.js → snapshot-yr705xyq.js} +1 -1
- package/dist/chunks/{kv-yvtc2x31.js → snapshot-yvtc2x31.js} +1 -1
- package/dist/chunks/{kv-96fe8cgn.js → snapshot-z73ecbn7.js} +9 -9
- package/dist/chunks/{kv-vrdk63vj.js → snapshot-z9cxap50.js} +7 -7
- package/dist/chunks/{kv-2xp5w945.js → snapshot-zg2gwjkc.js} +14 -14
- package/dist/chunks/{kv-963hk181.js → snapshot-zyfhsknv.js} +9 -9
- 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 +5 -5
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +5 -5
- 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 +133 -133
- package/dist/config/plugin/command.js +234 -234
- 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 +130 -130
- package/dist/config/plugin/mcp.js +143 -143
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +132 -132
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- 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 +129 -129
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/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 +105 -105
- 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 +107 -107
- 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 +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +245 -245
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +116 -116
- 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 +3 -3
- 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 +84 -84
- package/dist/location-activity.js +174 -174
- 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 +98 -98
- 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 +124 -124
- 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 +107 -107
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +155 -155
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +238 -238
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +3 -3
- 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 +2 -2
- 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 +3 -3
- 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 +7 -7
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +110 -110
- 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 +112 -112
- 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 +3 -3
- 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 +140 -140
- 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 +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- 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 +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +5 -5
- 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 +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +105 -105
- package/dist/provider.js +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- 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 +111 -111
- package/dist/rpc.js +95 -95
- 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 +3 -3
- 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 +173 -173
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +239 -239
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +200 -200
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +145 -145
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- 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 +166 -166
- package/dist/session/model-transport.js +7 -7
- 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 +1 -1
- 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 +5 -5
- 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 +182 -182
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +149 -149
- 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 +3 -3
- 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 +233 -233
- 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 +11 -11
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +156 -156
- package/dist/snapshot.js +106 -106
- 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 +182 -182
- 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 +241 -241
- 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 +146 -146
- package/dist/tool/plugin/read.js +172 -172
- package/dist/tool/plugin/schedule.js +249 -249
- package/dist/tool/plugin/shell.js +235 -235
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +147 -147
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +168 -168
- package/dist/tool/read-filesystem.js +116 -116
- 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 +159 -159
- package/dist/usage-limits.js +100 -100
- 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 +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +97 -97
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- 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 +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/kv-03emy37z.js +0 -26
- package/dist/chunks/kv-6svsyqv7.js +0 -265
- package/dist/chunks/kv-qmh7vbk2.js +0 -18
- /package/dist/chunks/{kv-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-108x4f4w.js → snapshot-108x4f4w.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kah00gy.js → snapshot-1kah00gy.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3af0jn4w.js → snapshot-3af0jn4w.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4qk9sjk2.js → snapshot-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-5w3e23ze.js → snapshot-5w3e23ze.js} +0 -0
- /package/dist/chunks/{kv-6agm2x70.js → snapshot-6agm2x70.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-beh6qq61.js → snapshot-beh6qq61.js} +0 -0
- /package/dist/chunks/{kv-bhmrqjy3.js → snapshot-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cqv5kn06.js → snapshot-cqv5kn06.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-ean2d8b5.js → snapshot-ean2d8b5.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fkpq3x5p.js → snapshot-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jwr30sdr.js → snapshot-jwr30sdr.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-m18g726c.js → snapshot-m18g726c.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-nh4v3znn.js → snapshot-nh4v3znn.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-p71gwv9c.js → snapshot-p71gwv9c.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-syrav9an.js → snapshot-syrav9an.js} +0 -0
- /package/dist/chunks/{kv-t03h4f5z.js → snapshot-t03h4f5z.js} +0 -0
- /package/dist/chunks/{kv-ty7weeps.js → snapshot-ty7weeps.js} +0 -0
- /package/dist/chunks/{kv-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
- /package/dist/chunks/{kv-vtarvj67.js → snapshot-vtarvj67.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-z0h12gs8.js → snapshot-z0h12gs8.js} +0 -0
- /package/dist/chunks/{kv-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
- /package/dist/chunks/{kv-zxpyjp51.js → snapshot-zxpyjp51.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-cg8d3gyk.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-6ckdf447.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service52,
|
|
3
|
+
node54
|
|
4
|
+
} from "./snapshot-27ka4nfh.js";
|
|
5
5
|
import {
|
|
6
6
|
invocation2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service64,
|
|
8
|
+
node66
|
|
9
|
+
} from "./snapshot-nxmregj7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service15,
|
|
12
|
+
node17
|
|
13
|
+
} from "./snapshot-steps8yr.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
Service19,
|
|
16
16
|
readOptionalText2,
|
|
17
17
|
syncTextBom2,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
node21
|
|
19
|
+
} from "./snapshot-xaq04tt8.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service16,
|
|
22
|
+
node18
|
|
23
|
+
} from "./snapshot-jb1ds409.js";
|
|
24
24
|
import {
|
|
25
25
|
fileDiff2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./snapshot-6prwharc.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/file-write.ts
|
|
32
32
|
var exports_file_write = {};
|
|
33
33
|
__export(exports_file_write, {
|
|
34
34
|
FileWrite: () => exports_file_write,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service14,
|
|
36
|
+
node: () => node16
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Bom } from "@opencode/util/bom";
|
|
40
40
|
import { Context, Effect, Layer } from "effect";
|
|
41
|
-
class
|
|
41
|
+
class Service14 extends Context.Service()("@opencode/FileWrite") {
|
|
42
42
|
}
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const access = yield*
|
|
45
|
-
const environment = yield*
|
|
46
|
-
const fileMutation = yield*
|
|
47
|
-
const formatter = yield*
|
|
48
|
-
const permission = yield*
|
|
43
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
44
|
+
const access = yield* Service15;
|
|
45
|
+
const environment = yield* Service52;
|
|
46
|
+
const fileMutation = yield* Service19;
|
|
47
|
+
const formatter = yield* Service16;
|
|
48
|
+
const permission = yield* Service64;
|
|
49
49
|
const target = Effect.fn("FileWrite.target")(function* (file, context) {
|
|
50
50
|
const target = yield* access.resolve({ path: file, kind: "file" });
|
|
51
51
|
yield* access.authorizeExternal([target], context);
|
|
@@ -75,12 +75,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
75
75
|
yield* authorize(resolved, context, fileDiff2(resolved.resource, current?.text ?? "", Bom.split(input.content).text, current ? "modified" : "added"));
|
|
76
76
|
return yield* commit(resolved, input.content);
|
|
77
77
|
});
|
|
78
|
-
return
|
|
78
|
+
return Service14.of({ target, authorize, commit, write });
|
|
79
79
|
}));
|
|
80
|
-
var
|
|
81
|
-
service:
|
|
80
|
+
var node16 = makeLocationNode({
|
|
81
|
+
service: Service14,
|
|
82
82
|
layer,
|
|
83
|
-
deps: [
|
|
83
|
+
deps: [node54, node17, node21, node18, node66]
|
|
84
84
|
});
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service14, node16, exports_file_write };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node94
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-ph3bkv59.js";
|
|
5
5
|
import {
|
|
6
6
|
Service90,
|
|
7
7
|
node93
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-h3m7xtqe.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-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: () => Event20,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID21,
|
|
26
|
+
Info: () => Info31,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service88,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node91
|
|
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 ID21 = 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 Event20 = Credential.Event;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class Info31 extends Schema.Class("Credential.Info")({
|
|
48
|
+
id: ID21,
|
|
49
49
|
integrationID: Integration.ID,
|
|
50
50
|
label: Schema.String,
|
|
51
51
|
value: Value2
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service88 extends Context.Service()("@opencode/Credential") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
58
58
|
const db = (yield* Service91).db;
|
|
59
59
|
const bus = yield* Service90;
|
|
60
60
|
const flock = yield* EffectFlock.Service;
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
64
64
|
const stored = (row) => {
|
|
65
65
|
if (!row.integration_id)
|
|
66
66
|
return;
|
|
67
|
-
return new
|
|
67
|
+
return new Info31({
|
|
68
68
|
id: row.id,
|
|
69
69
|
integrationID: row.integration_id,
|
|
70
70
|
label: row.label,
|
|
@@ -83,7 +83,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
83
83
|
yield* tx.update(CredentialTable2).set({ active: true }).where(eq(CredentialTable2.id, id)).run();
|
|
84
84
|
});
|
|
85
85
|
const logFailure = (message, fields) => (effect) => effect.pipe(Effect.onError((cause) => Effect.logError(message, { ...fields, errors: from2(Cause.squash(cause)) })), Effect.orDie);
|
|
86
|
-
return
|
|
86
|
+
return Service88.of({
|
|
87
87
|
lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
|
|
88
88
|
const current = pending.get(id);
|
|
89
89
|
if (current)
|
|
@@ -99,8 +99,8 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
99
99
|
return row ? stored(row) : undefined;
|
|
100
100
|
}),
|
|
101
101
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
102
|
-
const credential = new
|
|
103
|
-
id: input.id ??
|
|
102
|
+
const credential = new Info31({
|
|
103
|
+
id: input.id ?? ID21.create(),
|
|
104
104
|
integrationID: input.integrationID,
|
|
105
105
|
label: input.label ?? "default",
|
|
106
106
|
value: input.value
|
|
@@ -130,9 +130,9 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
130
130
|
type: credential.value.type,
|
|
131
131
|
active: activated
|
|
132
132
|
});
|
|
133
|
-
yield* bus.publish(
|
|
133
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
134
134
|
if (activated)
|
|
135
|
-
yield* bus.publish(
|
|
135
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
136
136
|
return credential;
|
|
137
137
|
}),
|
|
138
138
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
148
148
|
})).pipe(logFailure("credential activate failed", { credentialID: id }));
|
|
149
149
|
if (integrationID) {
|
|
150
150
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
151
|
-
yield* bus.publish(
|
|
151
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
152
152
|
}
|
|
153
153
|
}),
|
|
154
154
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
173
173
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
174
174
|
});
|
|
175
175
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
177
177
|
}),
|
|
178
178
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
179
179
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -201,12 +201,12 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
201
201
|
active: removed.switched,
|
|
202
202
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
203
203
|
});
|
|
204
|
-
yield* bus.publish(
|
|
204
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
205
205
|
if (removed.switched)
|
|
206
|
-
yield* bus.publish(
|
|
206
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
207
207
|
})
|
|
208
208
|
});
|
|
209
209
|
}));
|
|
210
|
-
var
|
|
210
|
+
var node91 = makeGlobalNode({ service: Service88, layer, deps: [node94, node93, EffectFlock.node] });
|
|
211
211
|
|
|
212
|
-
export {
|
|
212
|
+
export { ID21, OAuth3, Key4, External2, Value2, Event20, Info31, Service88, node91, exports_credential };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
makeFiles2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-rgc9cx3e.js";
|
|
7
7
|
import {
|
|
8
8
|
Service91,
|
|
9
9
|
node94
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-ph3bkv59.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-8cg7mtm3.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node56
|
|
18
|
+
} from "./snapshot-v0g4t6z8.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID8,
|
|
31
|
+
Info: () => Info9,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service53,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
35
|
configured: () => configured6,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node55
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID8 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info9 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID8,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info13 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID8 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID8,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service53 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
67
|
var configured6 = (options = {}) => makeGlobalNode({
|
|
68
|
-
service:
|
|
68
|
+
service: Service53,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node94,
|
|
70
|
+
deps: [node94, node56]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service91).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info9({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -161,9 +161,9 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
161
161
|
yield* Scope.close(connection.scope, Exit.void);
|
|
162
162
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
163
163
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
164
|
-
return
|
|
164
|
+
return Service53.of({
|
|
165
165
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
166
|
-
const workspaceID = input.id ??
|
|
166
|
+
const workspaceID = input.id ?? ID8.create();
|
|
167
167
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
168
168
|
if (existing) {
|
|
169
169
|
if (existing.provider === input.provider)
|
|
@@ -239,6 +239,6 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
239
239
|
})
|
|
240
240
|
});
|
|
241
241
|
}));
|
|
242
|
-
var
|
|
242
|
+
var node55 = configured6();
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { ID8, Info9, NotFound2, CreateConflict2, Service53, configured6, node55, exports_workspace };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node87
|
|
5
|
+
} from "./snapshot-re2129nw.js";
|
|
6
6
|
import {
|
|
7
7
|
join2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-bfmm6xpm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service68,
|
|
11
|
+
node70
|
|
12
|
+
} from "./snapshot-0gwbn6a0.js";
|
|
13
13
|
import {
|
|
14
14
|
DeclinedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-nxmregj7.js";
|
|
16
16
|
import {
|
|
17
17
|
CancelledError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-37937hpt.js";
|
|
19
19
|
import {
|
|
20
20
|
Error2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-yjhxktcq.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
get4
|
|
24
|
+
} from "./snapshot-tmc7xdjs.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service38,
|
|
27
|
+
node42
|
|
28
|
+
} from "./snapshot-b8jt0kff.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make24
|
|
31
|
+
} from "./snapshot-nyxvvj5y.js";
|
|
32
32
|
import {
|
|
33
33
|
toLLMMessages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./snapshot-7s6dsfah.js";
|
|
35
35
|
import {
|
|
36
36
|
__export
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
38
38
|
|
|
39
39
|
// src/session/model-request.ts
|
|
40
40
|
var exports_model_request = {};
|
|
41
41
|
__export(exports_model_request, {
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service37,
|
|
43
43
|
SessionModelRequest: () => exports_model_request,
|
|
44
44
|
baseTranscript: () => baseTranscript2,
|
|
45
45
|
boundImages: () => boundImages2,
|
|
46
46
|
layer: () => layer15,
|
|
47
|
-
node: () =>
|
|
47
|
+
node: () => node41,
|
|
48
48
|
outputLimit: () => outputLimit2,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
@@ -80,7 +80,7 @@ var baseTranscript2 = (input) => {
|
|
|
80
80
|
return {
|
|
81
81
|
providerMetadataKey,
|
|
82
82
|
system: [
|
|
83
|
-
SystemPart.make(input.agent.system ? input.agent.system :
|
|
83
|
+
SystemPart.make(input.agent.system ? input.agent.system : make24(input.tools.definitions.map((tool) => tool.name))),
|
|
84
84
|
{
|
|
85
85
|
...SystemPart.make(join2(input.initial)),
|
|
86
86
|
metadata: { experimental: { instructions: input.initial } }
|
|
@@ -164,11 +164,11 @@ var boundImages2 = (messages) => {
|
|
|
164
164
|
});
|
|
165
165
|
};
|
|
166
166
|
|
|
167
|
-
class
|
|
167
|
+
class Service37 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
168
168
|
}
|
|
169
|
-
var layer15 = Layer.effect(
|
|
170
|
-
const hooks = yield*
|
|
171
|
-
const transport = yield*
|
|
169
|
+
var layer15 = Layer.effect(Service37, Effect.gen(function* () {
|
|
170
|
+
const hooks = yield* Service68;
|
|
171
|
+
const transport = yield* Service38;
|
|
172
172
|
const app = yield* Metadata2;
|
|
173
173
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
174
174
|
const session = input.session;
|
|
@@ -194,7 +194,7 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
194
194
|
const entries = Object.entries(shaped.options);
|
|
195
195
|
const generation = Object.fromEntries(entries.filter(([k]) => GENERATION_KEYS.has(k)));
|
|
196
196
|
const providerOptions = Object.fromEntries(entries.filter(([k]) => !GENERATION_KEYS.has(k)));
|
|
197
|
-
const affinity =
|
|
197
|
+
const affinity = get4(session);
|
|
198
198
|
const base = ai.request({
|
|
199
199
|
model: model.model,
|
|
200
200
|
http: {
|
|
@@ -268,17 +268,17 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
270
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
271
|
-
return
|
|
271
|
+
return Service37.of({
|
|
272
272
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
273
273
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
274
274
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
275
275
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
276
276
|
});
|
|
277
277
|
}));
|
|
278
|
-
var
|
|
279
|
-
service:
|
|
278
|
+
var node41 = makeLocationNode({
|
|
279
|
+
service: Service37,
|
|
280
280
|
layer: layer15,
|
|
281
|
-
deps: [
|
|
281
|
+
deps: [node70, node42, node87]
|
|
282
282
|
});
|
|
283
283
|
|
|
284
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
284
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service37, layer15, node41, exports_model_request };
|
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service89
|
|
3
|
+
} from "./snapshot-v7wxj3vv.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service64
|
|
7
|
+
} from "./snapshot-nxmregj7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID7,
|
|
10
10
|
Result2,
|
|
11
11
|
ProviderRequiredError2,
|
|
12
12
|
DisabledError4,
|
|
13
13
|
RequestError2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service23
|
|
15
|
+
} from "./snapshot-3rhcyxz7.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/plugin/websearch.ts
|
|
21
21
|
var exports_websearch2 = {};
|
|
22
22
|
__export(exports_websearch2, {
|
|
23
|
-
Input: () =>
|
|
23
|
+
Input: () => Input5,
|
|
24
24
|
NO_RESULTS: () => NO_RESULTS2,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin25,
|
|
26
26
|
WebSearchTool: () => exports_websearch2,
|
|
27
|
-
description: () =>
|
|
28
|
-
name: () =>
|
|
27
|
+
description: () => description3,
|
|
28
|
+
name: () => name5
|
|
29
29
|
});
|
|
30
30
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
31
31
|
import { Effect, Schema, Semaphore } from "effect";
|
|
32
32
|
import { HttpClientError } from "effect/http";
|
|
33
|
-
var
|
|
33
|
+
var name5 = "websearch";
|
|
34
34
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
35
35
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
36
36
|
var httpErrors = new Map([
|
|
37
37
|
[429, "Web search rate limited (HTTP 429)"],
|
|
38
38
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
39
39
|
]);
|
|
40
|
-
var
|
|
40
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
41
41
|
|
|
42
42
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
43
|
-
var
|
|
43
|
+
var Input5 = Schema.Struct({
|
|
44
44
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
45
45
|
});
|
|
46
46
|
var Output = Schema.Struct({
|
|
47
|
-
provider:
|
|
47
|
+
provider: ID7,
|
|
48
48
|
results: Schema.Array(Result2)
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin25 = {
|
|
51
51
|
id: "opencode.tool.websearch",
|
|
52
52
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const websearch = yield*
|
|
53
|
+
const permission = yield* Service64;
|
|
54
|
+
const forms = yield* Service89;
|
|
55
|
+
const websearch = yield* Service23;
|
|
56
56
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
57
|
-
name:
|
|
57
|
+
name: name5,
|
|
58
58
|
options: { codemode: false },
|
|
59
|
-
description:
|
|
60
|
-
input:
|
|
59
|
+
description: description3,
|
|
60
|
+
input: Input5,
|
|
61
61
|
output: Output,
|
|
62
62
|
execute: (input, context) => Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name5,
|
|
65
65
|
resources: [input.query],
|
|
66
66
|
save: ["*"],
|
|
67
67
|
metadata: input,
|
|
@@ -175,7 +175,7 @@ ${result.content}` : ""}`;
|
|
|
175
175
|
const hook = (event) => Effect.gen(function* () {
|
|
176
176
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
177
177
|
if (disabled)
|
|
178
|
-
delete event.tools[
|
|
178
|
+
delete event.tools[name5];
|
|
179
179
|
});
|
|
180
180
|
yield* ctx.session.hook("context", hook);
|
|
181
181
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -183,4 +183,4 @@ ${result.content}` : ""}`;
|
|
|
183
183
|
})
|
|
184
184
|
};
|
|
185
185
|
|
|
186
|
-
export {
|
|
186
|
+
export { name5, NO_RESULTS2, description3, Input5, Plugin25, exports_websearch2 };
|