@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,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-h3m7xtqe.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node85
|
|
8
|
+
} from "./snapshot-jcabzvmh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service67,
|
|
11
|
+
node69
|
|
12
|
+
} from "./snapshot-4medacdg.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFoundError11
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-rp82cnfd.js";
|
|
16
16
|
import {
|
|
17
17
|
match3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-1aqsckx4.js";
|
|
19
19
|
import {
|
|
20
20
|
Service66,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node68
|
|
22
|
+
} from "./snapshot-h154w6yb.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service65,
|
|
25
|
+
node67
|
|
26
|
+
} from "./snapshot-8k0ax8j2.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service68,
|
|
29
|
+
node70
|
|
30
|
+
} from "./snapshot-0gwbn6a0.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/permission.ts
|
|
36
36
|
var exports_permission = {};
|
|
@@ -39,31 +39,31 @@ __export(exports_permission, {
|
|
|
39
39
|
CorrectedError: () => CorrectedError2,
|
|
40
40
|
DeclinedError: () => DeclinedError2,
|
|
41
41
|
Effect: () => PermissionEffect,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
NotFoundError: () =>
|
|
42
|
+
Event: () => Event10,
|
|
43
|
+
ID: () => ID10,
|
|
44
|
+
NotFoundError: () => NotFoundError9,
|
|
45
45
|
Permission: () => exports_permission,
|
|
46
46
|
Reply: () => Reply2,
|
|
47
47
|
Request: () => Request3,
|
|
48
48
|
Rule: () => Rule2,
|
|
49
49
|
Ruleset: () => Ruleset2,
|
|
50
|
-
Service: () =>
|
|
51
|
-
Source: () =>
|
|
50
|
+
Service: () => Service64,
|
|
51
|
+
Source: () => Source5,
|
|
52
52
|
Unattended: () => Unattended2,
|
|
53
53
|
evaluate: () => evaluate3,
|
|
54
54
|
invocation: () => invocation2,
|
|
55
55
|
merge: () => merge2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node66
|
|
57
57
|
});
|
|
58
58
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
59
59
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
60
60
|
import { Permission } from "@opencode/schema/permission";
|
|
61
61
|
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
62
|
-
import { Event as
|
|
62
|
+
import { Event as Event10 } from "@opencode/schema/permission";
|
|
63
63
|
var PermissionEffect = Permission.Effect;
|
|
64
64
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
65
|
-
var
|
|
66
|
-
var
|
|
65
|
+
var ID10 = Permission.ID;
|
|
66
|
+
var Source5 = Permission.Source;
|
|
67
67
|
var Request3 = Permission.Request;
|
|
68
68
|
var Reply2 = Permission.Reply;
|
|
69
69
|
var invocation2 = (context) => ({
|
|
@@ -99,8 +99,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
class
|
|
103
|
-
requestID:
|
|
102
|
+
class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
103
|
+
requestID: ID10
|
|
104
104
|
}) {
|
|
105
105
|
}
|
|
106
106
|
function evaluate3(action, resource, ...rulesets) {
|
|
@@ -114,15 +114,15 @@ function merge2(...rulesets) {
|
|
|
114
114
|
return rulesets.flat();
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service64 extends Context.Service()("@opencode/Permission") {
|
|
118
118
|
}
|
|
119
|
-
var layer = Layer.effect(
|
|
119
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
120
120
|
const bus = yield* Service90;
|
|
121
|
-
const location = yield*
|
|
122
|
-
const agents = yield*
|
|
121
|
+
const location = yield* Service83;
|
|
122
|
+
const agents = yield* Service67;
|
|
123
123
|
const sessions = yield* Service66;
|
|
124
|
-
const saved = yield*
|
|
125
|
-
const hooks = yield*
|
|
124
|
+
const saved = yield* Service65;
|
|
125
|
+
const hooks = yield* Service68;
|
|
126
126
|
const pending = new Map;
|
|
127
127
|
let closed = false;
|
|
128
128
|
const close = Effect.gen(function* () {
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID10.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID10.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -258,7 +258,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
258
258
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
259
259
|
const existing = pending.get(input.requestID);
|
|
260
260
|
if (!existing)
|
|
261
|
-
return yield* new
|
|
261
|
+
return yield* new NotFoundError9({ requestID: input.requestID });
|
|
262
262
|
yield* bus.publish(Permission.Event.Replied, {
|
|
263
263
|
sessionID: existing.request.sessionID,
|
|
264
264
|
requestID: existing.request.id,
|
|
@@ -313,12 +313,12 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
313
313
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
314
314
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
315
315
|
});
|
|
316
|
-
return
|
|
316
|
+
return Service64.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
|
|
317
317
|
}));
|
|
318
|
-
var
|
|
319
|
-
service:
|
|
318
|
+
var node66 = makeLocationNode({
|
|
319
|
+
service: Service64,
|
|
320
320
|
layer,
|
|
321
|
-
deps: [node93,
|
|
321
|
+
deps: [node93, node85, node69, node68, node67, node70]
|
|
322
322
|
});
|
|
323
323
|
|
|
324
|
-
export { PermissionEffect,
|
|
324
|
+
export { PermissionEffect, ID10, Source5, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate3, merge2, Service64, node66, exports_permission, Rule2, Ruleset2, Event10 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-h3m7xtqe.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service88,
|
|
9
|
+
node91
|
|
10
|
+
} from "./snapshot-pp9e9a0v.js";
|
|
11
11
|
import {
|
|
12
12
|
changes2,
|
|
13
13
|
create4
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-40y6dtc2.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-q65mdntm.js";
|
|
18
18
|
import {
|
|
19
19
|
validateAnswer2,
|
|
20
20
|
validateFields2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-v7wxj3vv.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/integration.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
27
|
+
var exports_integration2 = {};
|
|
28
|
+
__export(exports_integration2, {
|
|
29
29
|
Attempt: () => Attempt2,
|
|
30
30
|
AttemptID: () => AttemptID2,
|
|
31
31
|
AttemptNotFoundError: () => AttemptNotFoundError2,
|
|
@@ -36,18 +36,18 @@ __export(exports_integration3, {
|
|
|
36
36
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
37
37
|
CommandMethod: () => CommandMethod2,
|
|
38
38
|
EnvMethod: () => EnvMethod2,
|
|
39
|
-
Event: () =>
|
|
39
|
+
Event: () => Event19,
|
|
40
40
|
ExternalMethod: () => ExternalMethod2,
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
43
|
-
Integration: () =>
|
|
41
|
+
ID: () => ID20,
|
|
42
|
+
Info: () => Info29,
|
|
43
|
+
Integration: () => exports_integration2,
|
|
44
44
|
KeyMethod: () => KeyMethod2,
|
|
45
45
|
Method: () => Method2,
|
|
46
46
|
MethodID: () => MethodID2,
|
|
47
47
|
OAuthMethod: () => OAuthMethod2,
|
|
48
48
|
Ref: () => Ref5,
|
|
49
|
-
Service: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
Service: () => Service87,
|
|
50
|
+
node: () => node90
|
|
51
51
|
});
|
|
52
52
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
53
53
|
import {
|
|
@@ -69,8 +69,8 @@ import {
|
|
|
69
69
|
import { Integration } from "@opencode/schema/integration";
|
|
70
70
|
import { AppProcess } from "@opencode/util/process";
|
|
71
71
|
import { ChildProcess } from "effect/process";
|
|
72
|
-
import { Event as
|
|
73
|
-
var
|
|
72
|
+
import { Event as Event19 } from "@opencode/schema/integration";
|
|
73
|
+
var ID20 = Integration.ID;
|
|
74
74
|
var MethodID2 = Integration.MethodID;
|
|
75
75
|
var AttemptID2 = Integration.AttemptID;
|
|
76
76
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -79,7 +79,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
79
79
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
80
80
|
var EnvMethod2 = Integration.EnvMethod;
|
|
81
81
|
var Method2 = Integration.Method;
|
|
82
|
-
var
|
|
82
|
+
var Info29 = Integration.Info;
|
|
83
83
|
var Attempt2 = Integration.Attempt;
|
|
84
84
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
85
85
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -102,19 +102,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
105
|
-
integrationID:
|
|
105
|
+
integrationID: ID20,
|
|
106
106
|
attemptID: AttemptID2
|
|
107
107
|
}) {
|
|
108
108
|
}
|
|
109
109
|
var Ref5 = Integration.Ref;
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service87 extends Context.Service()("@opencode/Integration") {
|
|
112
112
|
}
|
|
113
113
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
114
114
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
115
115
|
var scrubInterval = Duration.seconds(30);
|
|
116
|
-
var layer = Layer.effect(
|
|
117
|
-
const credentials = yield*
|
|
116
|
+
var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
117
|
+
const credentials = yield* Service88;
|
|
118
118
|
const bus = yield* Service90;
|
|
119
119
|
const processes = yield* AppProcess.Service;
|
|
120
120
|
const scope = yield* Scope.Scope;
|
|
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
201
201
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
202
202
|
return [...credentials, ...env];
|
|
203
203
|
};
|
|
204
|
-
const project = (entry, connections) =>
|
|
204
|
+
const project = (entry, connections) => Info29.make({
|
|
205
205
|
id: entry.ref.id,
|
|
206
206
|
name: entry.ref.name,
|
|
207
207
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -402,7 +402,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
402
402
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
403
403
|
return CommandAttempt2.make({ attemptID, time });
|
|
404
404
|
});
|
|
405
|
-
return
|
|
405
|
+
return Service87.of({
|
|
406
406
|
transform: state.transform,
|
|
407
407
|
reload: state.reload,
|
|
408
408
|
revision: state.revision,
|
|
@@ -568,10 +568,10 @@ var answerError = (form, answer, method) => {
|
|
|
568
568
|
if (method && Object.keys(answer).length > 0)
|
|
569
569
|
return `${method} method does not accept a form answer`;
|
|
570
570
|
};
|
|
571
|
-
var
|
|
572
|
-
service:
|
|
571
|
+
var node90 = makeLocationNode({
|
|
572
|
+
service: Service87,
|
|
573
573
|
layer,
|
|
574
|
-
deps: [
|
|
574
|
+
deps: [node91, node93, AppProcess.node]
|
|
575
575
|
});
|
|
576
576
|
|
|
577
|
-
export {
|
|
577
|
+
export { ID20, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref5, Service87, node90, exports_integration2, Event19 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-re2129nw.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
MAX_RESPONSE_BYTES3,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-w2eysc6j.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
register3
|
|
13
|
+
} from "./snapshot-xxschbft.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/websearch/tinyfish.ts
|
|
19
19
|
var exports_tinyfish = {};
|
|
20
20
|
__export(exports_tinyfish, {
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin41,
|
|
22
22
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
23
|
-
endpoint: () =>
|
|
23
|
+
endpoint: () => endpoint4
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Duration, Effect, Option, Schema } from "effect";
|
|
27
27
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
28
|
-
var
|
|
28
|
+
var endpoint4 = "https://agent.tinyfish.ai/mcp";
|
|
29
29
|
var McpInput = Schema.Struct({
|
|
30
30
|
query: Schema.String
|
|
31
31
|
});
|
|
@@ -54,11 +54,11 @@ var InitializedNotification = Schema.Struct({
|
|
|
54
54
|
jsonrpc: Schema.Literal("2.0"),
|
|
55
55
|
method: Schema.Literal("notifications/initialized")
|
|
56
56
|
});
|
|
57
|
-
var
|
|
57
|
+
var Plugin41 = define({
|
|
58
58
|
id: "opencode.websearch.tinyfish",
|
|
59
59
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
60
60
|
const http = yield* HttpClient.HttpClient;
|
|
61
|
-
yield*
|
|
61
|
+
yield* register3(ctx, {
|
|
62
62
|
id: "tinyfish",
|
|
63
63
|
name: "TinyFish",
|
|
64
64
|
env: "TINYFISH_API_KEY",
|
|
@@ -68,7 +68,7 @@ var Plugin3 = define({
|
|
|
68
68
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
69
69
|
};
|
|
70
70
|
const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
|
|
71
|
-
const result = yield* call2(http,
|
|
71
|
+
const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
|
|
72
72
|
const content = result?.content.find((item) => item.text);
|
|
73
73
|
const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
|
|
74
74
|
return response?.results.map((item) => ({
|
|
@@ -83,7 +83,7 @@ var Plugin3 = define({
|
|
|
83
83
|
});
|
|
84
84
|
var initialize = (http, headers) => Effect.gen(function* () {
|
|
85
85
|
const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
|
|
86
|
-
const request = yield* HttpClientRequest.post(
|
|
86
|
+
const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
|
|
87
87
|
jsonrpc: "2.0",
|
|
88
88
|
id: 1,
|
|
89
89
|
method: "initialize",
|
|
@@ -94,11 +94,11 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
94
94
|
}
|
|
95
95
|
}));
|
|
96
96
|
const response = yield* client.execute(request);
|
|
97
|
-
yield* collectBoundedResponseBody2(response,
|
|
97
|
+
yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
98
98
|
const session = response.headers["mcp-session-id"];
|
|
99
99
|
if (session === undefined)
|
|
100
100
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
101
|
-
const notification = yield* HttpClientRequest.post(
|
|
101
|
+
const notification = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
|
|
102
102
|
jsonrpc: "2.0",
|
|
103
103
|
method: "notifications/initialized"
|
|
104
104
|
}));
|
|
@@ -109,4 +109,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
109
109
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
110
110
|
}));
|
|
111
111
|
|
|
112
|
-
export {
|
|
112
|
+
export { endpoint4, Plugin41, exports_tinyfish };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt2 = {};
|
|
7
7
|
__export(exports_system_prompt2, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt2,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make24,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
// src/session/runner/prompt/system.txt
|
|
@@ -28,7 +28,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
28
28
|
`;
|
|
29
29
|
|
|
30
30
|
// src/session/system-prompt.ts
|
|
31
|
-
function
|
|
31
|
+
function make24(tools) {
|
|
32
32
|
return render3(system_default, tools);
|
|
33
33
|
}
|
|
34
34
|
function render3(prompt, tools) {
|
|
@@ -46,4 +46,4 @@ function render3(prompt, tools) {
|
|
|
46
46
|
`));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make24, render3, exports_system_prompt2 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-5cywqebd.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make33,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-cg8d3gyk.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make33,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-40y6dtc2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service46,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node49
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service46 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service46.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node49 = makeLocationNode({
|
|
143
|
+
service: Service46,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service46, node49, exports_tool_output2 };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin40
|
|
3
|
+
} from "./snapshot-17d9a00f.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin43
|
|
6
|
+
} from "./snapshot-x1jjfm1j.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin39
|
|
9
|
+
} from "./snapshot-47mnmgea.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin42
|
|
12
|
+
} from "./snapshot-8mvs527h.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin41
|
|
15
|
+
} from "./snapshot-nypk2anc.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin40,
|
|
20
|
+
Plugin43,
|
|
21
|
+
Plugin39,
|
|
22
|
+
Plugin42,
|
|
23
|
+
Plugin41
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
invocation2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service64
|
|
4
|
+
} from "./snapshot-nxmregj7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID9,
|
|
7
7
|
Name2,
|
|
8
8
|
toModelOutput3,
|
|
9
9
|
prepare3,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service55
|
|
11
|
+
} from "./snapshot-mc3ry9pt.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/tool/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
Input: () =>
|
|
20
|
-
Output: () =>
|
|
21
|
-
Plugin: () =>
|
|
22
|
-
SkillTool: () =>
|
|
23
|
-
description: () =>
|
|
24
|
-
name: () =>
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
|
+
Input: () => Input12,
|
|
20
|
+
Output: () => Output9,
|
|
21
|
+
Plugin: () => Plugin34,
|
|
22
|
+
SkillTool: () => exports_skill2,
|
|
23
|
+
description: () => description6,
|
|
24
|
+
name: () => name12,
|
|
25
25
|
toModelOutput: () => toModelOutput2
|
|
26
26
|
});
|
|
27
27
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
28
28
|
import { Effect, Schema } from "effect";
|
|
29
29
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
id:
|
|
30
|
+
var name12 = "skill";
|
|
31
|
+
var Input12 = Schema.Struct({
|
|
32
|
+
id: ID9.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
33
33
|
});
|
|
34
|
-
var
|
|
34
|
+
var Output9 = Schema.Struct({
|
|
35
35
|
name: Name2,
|
|
36
36
|
directory: Schema.String,
|
|
37
37
|
output: Schema.String
|
|
38
38
|
});
|
|
39
|
-
var
|
|
39
|
+
var description6 = [
|
|
40
40
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
41
41
|
"",
|
|
42
42
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -44,25 +44,25 @@ var description3 = [
|
|
|
44
44
|
`);
|
|
45
45
|
var toModelOutput2 = toModelOutput3;
|
|
46
46
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
47
|
-
var
|
|
47
|
+
var Plugin34 = {
|
|
48
48
|
id: "opencode.tool.skill",
|
|
49
49
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
50
50
|
const fs = yield* FSUtil.Service;
|
|
51
|
-
const skills = yield*
|
|
52
|
-
const permission = yield*
|
|
51
|
+
const skills = yield* Service55;
|
|
52
|
+
const permission = yield* Service64;
|
|
53
53
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
54
|
-
name:
|
|
54
|
+
name: name12,
|
|
55
55
|
options: { codemode: false },
|
|
56
|
-
description:
|
|
57
|
-
input:
|
|
58
|
-
output:
|
|
56
|
+
description: description6,
|
|
57
|
+
input: Input12,
|
|
58
|
+
output: Output9,
|
|
59
59
|
execute: (input, context) => Effect.gen(function* () {
|
|
60
60
|
const skill = yield* skills.get(input.id);
|
|
61
61
|
if (!skill)
|
|
62
62
|
return yield* unableToLoad(input.id);
|
|
63
63
|
return yield* Effect.gen(function* () {
|
|
64
64
|
yield* permission.assert({
|
|
65
|
-
action:
|
|
65
|
+
action: name12,
|
|
66
66
|
resources: [skill.id],
|
|
67
67
|
save: [skill.id],
|
|
68
68
|
...invocation2(context)
|
|
@@ -79,4 +79,4 @@ var Plugin40 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name12, Input12, Output9, description6, toModelOutput2, Plugin34, exports_skill2 };
|