@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,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-h3m7xtqe.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-rb9dy4dg.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-6mts900z.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service83,
|
|
15
|
+
node85
|
|
16
|
+
} from "./snapshot-jcabzvmh.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create4
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-40y6dtc2.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,19 +29,19 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info21,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service73,
|
|
36
36
|
Untracked: () => Untracked2,
|
|
37
37
|
Vcs: () => exports_vcs,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node75
|
|
39
39
|
});
|
|
40
40
|
import path from "path";
|
|
41
41
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
42
42
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
43
43
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
44
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
44
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info21, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
|
|
45
45
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -55,11 +55,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service73 extends Context.Service()("@opencode/Vcs") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
61
61
|
const fs = yield* FSUtil.Service;
|
|
62
|
-
const location = yield*
|
|
62
|
+
const location = yield* Service83;
|
|
63
63
|
const bus = yield* Service90;
|
|
64
64
|
const root = yield* Effect.scope;
|
|
65
65
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
72
72
|
canonical: location.project.canonical,
|
|
73
73
|
...vcs ? { store: vcs.store } : {}
|
|
74
74
|
};
|
|
75
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
75
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info21));
|
|
76
76
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
77
77
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
78
78
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
130
130
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
131
131
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
132
132
|
}
|
|
133
|
-
return
|
|
133
|
+
return Service73.of({
|
|
134
134
|
transform: state.transform,
|
|
135
135
|
reload: state.reload,
|
|
136
136
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -189,10 +189,10 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}));
|
|
192
|
-
var
|
|
193
|
-
service:
|
|
192
|
+
var node75 = makeLocationNode({
|
|
193
|
+
service: Service73,
|
|
194
194
|
layer,
|
|
195
|
-
deps: [FSUtil.node,
|
|
195
|
+
deps: [FSUtil.node, node85, node93]
|
|
196
196
|
});
|
|
197
197
|
|
|
198
|
-
export { Base2, BranchList2, FileStatus2,
|
|
198
|
+
export { Base2, BranchList2, FileStatus2, Info21, Mode2, Untracked2, DiffError2, InitializeError2, Service73, node75, exports_vcs };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection2 = {};
|
|
7
7
|
__export(exports_connection2, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info30,
|
|
11
11
|
IntegrationConnection: () => exports_connection2,
|
|
12
12
|
Status: () => Status4,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection2, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info30 = Connection.Info;
|
|
19
19
|
var Status4 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info30, Status4, key2, exports_connection2 };
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z0h12gs8.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service83
|
|
9
|
+
} from "./snapshot-jcabzvmh.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service52
|
|
12
|
+
} from "./snapshot-27ka4nfh.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service51
|
|
15
|
+
} from "./snapshot-87n62zmv.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
GlobInput2,
|
|
19
19
|
Entry2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-wxw9sck8.js";
|
|
21
21
|
import {
|
|
22
22
|
pathType2,
|
|
23
23
|
bounded2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-vjwp37x5.js";
|
|
25
25
|
import {
|
|
26
26
|
invocation2,
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Service64
|
|
28
|
+
} from "./snapshot-nxmregj7.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service15
|
|
31
|
+
} from "./snapshot-steps8yr.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/glob.ts
|
|
37
37
|
var exports_glob = {};
|
|
38
38
|
__export(exports_glob, {
|
|
39
39
|
GlobTool: () => exports_glob,
|
|
40
|
-
Input: () =>
|
|
41
|
-
Output: () =>
|
|
42
|
-
Plugin: () =>
|
|
43
|
-
name: () =>
|
|
44
|
-
toModelContent: () =>
|
|
40
|
+
Input: () => Input14,
|
|
41
|
+
Output: () => Output10,
|
|
42
|
+
Plugin: () => Plugin36,
|
|
43
|
+
name: () => name14,
|
|
44
|
+
toModelContent: () => toModelContent6
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
48
|
import path from "path";
|
|
49
|
-
var
|
|
50
|
-
var
|
|
49
|
+
var name14 = "glob";
|
|
50
|
+
var Input14 = Schema.Struct({
|
|
51
51
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
52
52
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
53
53
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -59,34 +59,34 @@ var Input7 = Schema.Struct({
|
|
|
59
59
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
60
60
|
})
|
|
61
61
|
});
|
|
62
|
-
var
|
|
63
|
-
var
|
|
62
|
+
var Output10 = Schema.Array(Entry2);
|
|
63
|
+
var toModelContent6 = (entries, truncated = false) => {
|
|
64
64
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
65
65
|
if (truncated)
|
|
66
66
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
67
67
|
return lines.join(`
|
|
68
68
|
`);
|
|
69
69
|
};
|
|
70
|
-
var
|
|
70
|
+
var Plugin36 = {
|
|
71
71
|
id: "opencode.tool.glob",
|
|
72
72
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
73
|
-
const environment = yield*
|
|
74
|
-
const ripgrep = yield*
|
|
75
|
-
const location = yield*
|
|
76
|
-
const access = yield*
|
|
77
|
-
const permission = yield*
|
|
73
|
+
const environment = yield* Service52;
|
|
74
|
+
const ripgrep = yield* Service51;
|
|
75
|
+
const location = yield* Service83;
|
|
76
|
+
const access = yield* Service15;
|
|
77
|
+
const permission = yield* Service64;
|
|
78
78
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
79
|
-
name:
|
|
79
|
+
name: name14,
|
|
80
80
|
options: { codemode: false },
|
|
81
81
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
82
|
-
input:
|
|
83
|
-
output:
|
|
82
|
+
input: Input14,
|
|
83
|
+
output: Output10,
|
|
84
84
|
execute: (input, context) => Effect.gen(function* () {
|
|
85
85
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
86
86
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
87
87
|
yield* access.authorizeExternal([target], context);
|
|
88
88
|
yield* permission.assert({
|
|
89
|
-
action:
|
|
89
|
+
action: name14,
|
|
90
90
|
resources: [input.pattern],
|
|
91
91
|
save: ["*"],
|
|
92
92
|
metadata: {
|
|
@@ -111,11 +111,11 @@ var Plugin44 = {
|
|
|
111
111
|
};
|
|
112
112
|
}).pipe(Effect.map((result) => ({
|
|
113
113
|
output: result.entries,
|
|
114
|
-
content:
|
|
114
|
+
content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
115
115
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
116
116
|
})), Effect.mapError(toolFailure2(`Unable to find files matching ${input.pattern}`)))
|
|
117
117
|
})).pipe(Effect.orDie);
|
|
118
118
|
})
|
|
119
119
|
};
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { name14, Input14, Output10, toModelContent6, Plugin36, exports_glob };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-dt77769w.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-4kakdjsd.js";
|
|
10
10
|
import {
|
|
11
11
|
Capabilities2,
|
|
12
12
|
compatibility2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-1cqzc8xa.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/v1/config/migrate.ts
|
|
19
19
|
var exports_migrate = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
make16
|
|
3
|
+
} from "./snapshot-s26c8eb5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
make17
|
|
6
|
+
} from "./snapshot-17nkpt1v.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/claude/query-options.ts
|
|
12
12
|
var exports_query_options = {};
|
|
@@ -80,14 +80,14 @@ async function session2(input) {
|
|
|
80
80
|
systemPrompt: input.system,
|
|
81
81
|
includePartialMessages: true,
|
|
82
82
|
persistSession: input.persist,
|
|
83
|
-
hooks:
|
|
83
|
+
hooks: make16(input.pending),
|
|
84
84
|
mcpServers: {}
|
|
85
85
|
};
|
|
86
86
|
if (input.maxOutputTokens !== undefined) {
|
|
87
87
|
options.env = { ...options.env, CLAUDE_CODE_MAX_OUTPUT_TOKENS: String(input.maxOutputTokens) };
|
|
88
88
|
}
|
|
89
89
|
if (input.tools.length > 0)
|
|
90
|
-
options.mcpServers = { opencode: await
|
|
90
|
+
options.mcpServers = { opencode: await make17(input.tools, input.pending) };
|
|
91
91
|
if (input.resume !== undefined) {
|
|
92
92
|
options.resume = input.resume;
|
|
93
93
|
return options;
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-rb9dy4dg.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-sa3fpqfw.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service83
|
|
14
|
+
} from "./snapshot-jcabzvmh.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-q2gsgpax.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin37,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin37 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service83;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -561,4 +561,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
561
561
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
562
562
|
});
|
|
563
563
|
|
|
564
|
-
export {
|
|
564
|
+
export { Plugin37, exports_git };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service86,
|
|
9
|
+
node89
|
|
10
|
+
} from "./snapshot-xj2s7szy.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service83,
|
|
13
|
+
node85
|
|
14
|
+
} from "./snapshot-jcabzvmh.js";
|
|
15
15
|
import {
|
|
16
16
|
create4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-40y6dtc2.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error5,
|
|
26
|
+
ID: () => ID15,
|
|
27
|
+
Service: () => Service77,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node79,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID15 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service77 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service86;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service83;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create4({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID15.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
141
141
|
for (const [file, snapshot] of input.files) {
|
|
142
142
|
const absolute = path.resolve(worktree, file);
|
|
143
143
|
if (!FSUtil.contains(worktree, absolute))
|
|
144
|
-
return yield* new
|
|
144
|
+
return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
145
145
|
files.set(file, TreeID2.make(snapshot));
|
|
146
146
|
}
|
|
147
147
|
return files;
|
|
148
148
|
});
|
|
149
149
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
150
150
|
if (!enabled())
|
|
151
|
-
return yield* new
|
|
151
|
+
return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
|
|
152
152
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
153
153
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service77.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
156
156
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
157
|
-
var
|
|
158
|
-
service:
|
|
157
|
+
var node79 = makeLocationNode({
|
|
158
|
+
service: Service77,
|
|
159
159
|
layer,
|
|
160
|
-
deps: [FSUtil.node,
|
|
160
|
+
deps: [FSUtil.node, node89, Global.node, node85]
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var noopLayer3 = Layer.succeed(Service77, Service77.of({
|
|
163
163
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
164
164
|
reload: () => Effect.void,
|
|
165
165
|
capture: () => Effect.undefined,
|
|
@@ -168,13 +168,13 @@ var noopLayer2 = Layer.succeed(Service50, Service50.of({
|
|
|
168
168
|
restore: () => Effect.void
|
|
169
169
|
}));
|
|
170
170
|
function failure(operation, cause) {
|
|
171
|
-
if (cause instanceof
|
|
171
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
172
172
|
return cause;
|
|
173
|
-
return new
|
|
173
|
+
return new Error5({
|
|
174
174
|
operation,
|
|
175
175
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
176
176
|
cause
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { ID15, Error5, Service77, node79, noopLayer3, exports_snapshot2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
policy3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-wnhgecwx.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionEvent2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-ec1grn59.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make20,
|
|
17
17
|
policy: () => policy2
|
|
18
18
|
});
|
|
19
19
|
import { isRetryable as isRetryable2 } from "@opencode/ai/effect";
|
|
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
39
39
|
return { retry: true, attempt: next.attempt, delay: normalized };
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
|
-
var
|
|
42
|
+
var make20 = (bus, sessionID) => Effect.gen(function* () {
|
|
43
43
|
const decide = yield* policy2(sessionID);
|
|
44
44
|
const wait = (input) => Effect.gen(function* () {
|
|
45
45
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -56,4 +56,4 @@ var make19 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
56
56
|
return { decide, wait };
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export { isRetryable2, policy2,
|
|
59
|
+
export { isRetryable2, policy2, make20, exports_retry };
|