@opencode/core 0.0.0-dev-451 → 0.0.0-dev-455
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 +88 -88
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +242 -242
- package/dist/bus.js +84 -84
- package/dist/chunks/{command-aj7mw0zk.js → file-retention-034tev2y.js} +2 -2
- package/dist/chunks/{command-9k6nqw7x.js → file-retention-05aqx4at.js} +50 -50
- package/dist/chunks/{command-x3agqc95.js → file-retention-06w90rm1.js} +15 -15
- package/dist/chunks/{command-z75sjccv.js → file-retention-0aycggmx.js} +21 -21
- package/dist/chunks/{command-hk1h1qy2.js → file-retention-0bhp1jsg.js} +24 -24
- package/dist/chunks/{command-4g9b4p6m.js → file-retention-0cwqm0ac.js} +40 -40
- package/dist/chunks/{command-0j7gp832.js → file-retention-0j7gp832.js} +1 -1
- package/dist/chunks/{command-266c1h5y.js → file-retention-0jstpsmh.js} +23 -23
- package/dist/chunks/{command-0ma9gw4f.js → file-retention-0ma9gw4f.js} +2 -2
- package/dist/chunks/{command-2tetecd9.js → file-retention-0r7m7rz3.js} +16 -16
- package/dist/chunks/{command-6cd3ncdx.js → file-retention-0wcgapck.js} +2 -2
- package/dist/chunks/{command-1aqsckx4.js → file-retention-1aqsckx4.js} +1 -1
- package/dist/chunks/{command-27w5k9zf.js → file-retention-1ep2p91f.js} +2 -2
- package/dist/chunks/{command-pbnhzd2a.js → file-retention-1gep6f7s.js} +8 -8
- package/dist/chunks/{command-jktx46qt.js → file-retention-1pd9p4zg.js} +28 -28
- package/dist/chunks/{command-56yhydrj.js → file-retention-1phbxqt1.js} +3 -3
- package/dist/chunks/{command-naahght3.js → file-retention-1pq4mddz.js} +23 -23
- package/dist/chunks/{command-mj9h3nv3.js → file-retention-1tdxr5p7.js} +33 -33
- package/dist/chunks/{command-ybws1qgk.js → file-retention-1v2g13eq.js} +4 -4
- package/dist/chunks/file-retention-1v8gr36j.js +261 -0
- package/dist/chunks/{command-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
- package/dist/chunks/{command-hdjjdvc3.js → file-retention-200qe1b4.js} +11 -11
- package/dist/chunks/{command-yjjyz0e3.js → file-retention-2cdjxzfg.js} +3 -3
- package/dist/chunks/{command-6e15hyzb.js → file-retention-2dfh1hr2.js} +29 -29
- package/dist/chunks/{command-gzpgqmvb.js → file-retention-2n7mmhny.js} +20 -20
- package/dist/chunks/{command-s1ba0vj0.js → file-retention-2p60zmnr.js} +2 -2
- package/dist/chunks/{command-h89yaxmp.js → file-retention-2ydq151f.js} +11 -11
- package/dist/chunks/{command-eebq73da.js → file-retention-30asjkfk.js} +18 -18
- package/dist/chunks/{command-390xskpw.js → file-retention-390xskpw.js} +1 -1
- package/dist/chunks/file-retention-3aarzgek.js +26 -0
- package/dist/chunks/file-retention-3d3mj0t0.js +555 -0
- package/dist/chunks/{command-m9168d7w.js → file-retention-3g1e149e.js} +16 -16
- package/dist/chunks/{command-caxtd6xe.js → file-retention-3gvmrzme.js} +40 -40
- package/dist/chunks/{command-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-5q8vf2h9.js → file-retention-3kr3r5pw.js} +2 -2
- package/dist/chunks/{command-dzdrzhkt.js → file-retention-3nfqphsz.js} +27 -27
- package/dist/chunks/{command-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
- package/dist/chunks/{command-j3f8hyeg.js → file-retention-3ryz99p0.js} +4 -4
- package/dist/chunks/{command-gshsjqyk.js → file-retention-3zhtqa8b.js} +11 -11
- package/dist/chunks/{command-40y6dtc2.js → file-retention-40y6dtc2.js} +1 -1
- package/dist/chunks/{command-5enarcya.js → file-retention-40za9wsf.js} +6 -6
- package/dist/chunks/{command-jxd6f16v.js → file-retention-44pmzq9c.js} +2 -2
- package/dist/chunks/{command-mnpd6dxn.js → file-retention-496yft2b.js} +8 -8
- package/dist/chunks/{command-vf37ha3m.js → file-retention-4angwywx.js} +17 -17
- package/dist/chunks/{command-zkb4dvfy.js → file-retention-4aqrmm1g.js} +3 -3
- package/dist/chunks/{command-fq4mbxwp.js → file-retention-4cqst6fr.js} +5 -5
- package/dist/chunks/{command-8cg7mtm3.js → file-retention-4d2dtj2f.js} +4 -4
- package/dist/chunks/{command-4dx1dgte.js → file-retention-4dx1dgte.js} +1 -1
- package/dist/chunks/{command-4f25tdd0.js → file-retention-4f25tdd0.js} +1 -1
- package/dist/chunks/{command-acsz68z7.js → file-retention-4gggmape.js} +1 -1
- package/dist/chunks/{command-wp9qxkj5.js → file-retention-4pa2br34.js} +39 -39
- package/dist/chunks/{command-ckev4zzb.js → file-retention-4pmefyym.js} +35 -35
- package/dist/chunks/{command-4pyp9zr9.js → file-retention-4pyp9zr9.js} +1 -1
- package/dist/chunks/{command-pafwnz17.js → file-retention-4s01kztf.js} +8 -8
- package/dist/chunks/{command-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
- package/dist/chunks/{command-schafjf2.js → file-retention-4whyrg43.js} +6 -6
- package/dist/chunks/{command-v0mzemm6.js → file-retention-4xape4ax.js} +21 -21
- package/dist/chunks/{command-q6cg44jg.js → file-retention-4yazknq3.js} +27 -27
- package/dist/chunks/{command-adapf27x.js → file-retention-55mjyme4.js} +6 -6
- package/dist/chunks/{command-fkr8t5yr.js → file-retention-581r698v.js} +1 -1
- package/dist/chunks/{command-pb0zgdvs.js → file-retention-5b8228w4.js} +21 -21
- package/dist/chunks/{command-sgfm45rn.js → file-retention-5cfjc002.js} +85 -85
- package/dist/chunks/{command-jp4d7tph.js → file-retention-5ej6fcjw.js} +6 -6
- package/dist/chunks/{command-hk4d0qev.js → file-retention-5em2n0xv.js} +33 -33
- package/dist/chunks/{command-zc1tqb6c.js → file-retention-5ewy4ftf.js} +39 -39
- package/dist/chunks/{command-kfynvycx.js → file-retention-5j4z2rnn.js} +23 -23
- package/dist/chunks/{command-f1qx1v58.js → file-retention-5m3xrn1j.js} +9 -9
- package/dist/chunks/{command-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-112p5x9p.js → file-retention-5qg32bbs.js} +24 -24
- package/dist/chunks/{command-a1jg1vcd.js → file-retention-5s9wkzxm.js} +13 -13
- package/dist/chunks/{command-vsc4dw33.js → file-retention-5td38wnz.js} +14 -14
- package/dist/chunks/{command-1yq9hg58.js → file-retention-5zrxpy3q.js} +5 -5
- package/dist/chunks/{command-t8erkws8.js → file-retention-61qraad9.js} +5 -5
- package/dist/chunks/{command-6w959vfg.js → file-retention-650f1sfx.js} +11 -11
- package/dist/chunks/{command-ggn31dpb.js → file-retention-68qb3djy.js} +2 -2
- package/dist/chunks/{command-7fzp8zae.js → file-retention-68tk6k3r.js} +9 -9
- package/dist/chunks/{command-c55jkhec.js → file-retention-68tn9ypg.js} +16 -16
- package/dist/chunks/{command-3325mep2.js → file-retention-6nj48chv.js} +7 -7
- package/dist/chunks/{command-hretfjjx.js → file-retention-6sg7v011.js} +2 -2
- package/dist/chunks/{command-h5gjn4y2.js → file-retention-6xnqn21j.js} +3 -3
- package/dist/chunks/{command-n6198yay.js → file-retention-6xwywkh7.js} +21 -15
- package/dist/chunks/{command-mr41mz10.js → file-retention-6zvhcg4h.js} +9 -9
- package/dist/chunks/{command-m3vwtq97.js → file-retention-721agqj7.js} +26 -26
- package/dist/chunks/{command-5gxhv5t4.js → file-retention-72b6x64g.js} +5 -5
- package/dist/chunks/{command-76cb1hcw.js → file-retention-76cb1hcw.js} +1 -1
- package/dist/chunks/{command-nyxvvj5y.js → file-retention-79k544d0.js} +5 -5
- package/dist/chunks/{command-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-26sg6z04.js → file-retention-7ecjk65p.js} +14 -14
- package/dist/chunks/file-retention-7etbzm9y.js +46 -0
- package/dist/chunks/{command-x79ghvf2.js → file-retention-7jen3kst.js} +9 -9
- package/dist/chunks/{command-7kr66rt3.js → file-retention-7kr66rt3.js} +1 -1
- package/dist/chunks/{command-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
- package/dist/chunks/{command-7weczvnd.js → file-retention-7weczvnd.js} +1 -1
- package/dist/chunks/{command-775hqbnd.js → file-retention-80mg3ag8.js} +3 -3
- package/dist/chunks/{command-m35sj09n.js → file-retention-837bxc3c.js} +12 -12
- package/dist/chunks/{command-xywcct0r.js → file-retention-87jq36v2.js} +25 -25
- package/dist/chunks/{command-89287pr7.js → file-retention-89287pr7.js} +1 -1
- package/dist/chunks/{command-8b3vzgkx.js → file-retention-8b3vzgkx.js} +1 -1
- package/dist/chunks/{command-4pefe19r.js → file-retention-8eshswe5.js} +11 -11
- package/dist/chunks/{command-x67mg8mk.js → file-retention-8sxe6kv8.js} +8 -3
- package/dist/chunks/{command-ahw9krkn.js → file-retention-8v7h9drr.js} +39 -37
- package/dist/chunks/{command-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
- package/dist/chunks/{command-pemyrp0y.js → file-retention-90gj1595.js} +4 -4
- package/dist/chunks/{command-90zstvax.js → file-retention-90zstvax.js} +1 -1
- package/dist/chunks/{command-xya5z1v4.js → file-retention-94e33dpz.js} +3 -3
- package/dist/chunks/{command-gmg5z9db.js → file-retention-9dm6vsa2.js} +30 -26
- package/dist/chunks/{command-h91vm5r2.js → file-retention-9f3jsh1d.js} +9 -9
- package/dist/chunks/{command-htyjw1t2.js → file-retention-9g6yrp67.js} +183 -183
- package/dist/chunks/{command-467b3p22.js → file-retention-9gczbj86.js} +13 -13
- package/dist/chunks/{command-vxsh6985.js → file-retention-9pkyxfc8.js} +31 -31
- package/dist/chunks/{command-n31szky0.js → file-retention-9s6tmzsz.js} +15 -15
- package/dist/chunks/{command-wjkfvcx3.js → file-retention-9s8ccxzp.js} +15 -15
- package/dist/chunks/{command-frktwh14.js → file-retention-9v7xfrsr.js} +9 -9
- package/dist/chunks/{command-wmyfck53.js → file-retention-9z0qc3sg.js} +34 -34
- package/dist/chunks/{command-nff5fnx5.js → file-retention-a1j9h5sv.js} +30 -30
- package/dist/chunks/{command-7215dbqr.js → file-retention-a4ww6fpm.js} +6 -6
- package/dist/chunks/{command-kmxkyq3p.js → file-retention-a5wpc3w3.js} +50 -50
- package/dist/chunks/{command-q5rwejs6.js → file-retention-abtpjz44.js} +22 -22
- package/dist/chunks/{command-k9s4eaab.js → file-retention-agemttc5.js} +28 -28
- package/dist/chunks/{command-j6942x1g.js → file-retention-ananre62.js} +16 -16
- package/dist/chunks/{command-r4ce7j88.js → file-retention-ap8y92rr.js} +6 -6
- package/dist/chunks/{command-xeazcnat.js → file-retention-atscc837.js} +18 -18
- package/dist/chunks/{command-r15e5fgt.js → file-retention-av46dpsn.js} +11 -11
- package/dist/chunks/{command-jfn1q9at.js → file-retention-avaerfkj.js} +13 -13
- package/dist/chunks/{command-q4wm190t.js → file-retention-ay9b3rdk.js} +23 -23
- package/dist/chunks/{command-3cbjf1nt.js → file-retention-ayjs7tqn.js} +2 -2
- package/dist/chunks/{command-98h4mwq7.js → file-retention-b1tz7g4k.js} +27 -27
- package/dist/chunks/{command-hqv8ds23.js → file-retention-b4rwxy6m.js} +9 -9
- package/dist/chunks/{command-5nnwax6m.js → file-retention-b6vsg801.js} +5 -5
- package/dist/chunks/{command-j5fr71ge.js → file-retention-b8n7cma0.js} +4 -4
- package/dist/chunks/{command-hszgmwg9.js → file-retention-ba16f7j8.js} +18 -18
- package/dist/chunks/{command-vy3dbkv2.js → file-retention-bg3xpdpw.js} +25 -25
- package/dist/chunks/{command-f8bbmp6a.js → file-retention-bjaevfq0.js} +8 -8
- package/dist/chunks/{command-bnzx9dwt.js → file-retention-bnzx9dwt.js} +2 -2
- package/dist/chunks/{command-7ppvtjhd.js → file-retention-brbp1jmy.js} +12 -12
- package/dist/chunks/{command-d390zwf3.js → file-retention-c0tz6aqz.js} +11 -11
- package/dist/chunks/{command-a84pm7qp.js → file-retention-c32zfq3f.js} +8 -8
- package/dist/chunks/{command-302t0y3a.js → file-retention-ctj276x0.js} +19 -19
- package/dist/chunks/{command-r2jsee34.js → file-retention-ctxsgcm2.js} +8 -8
- package/dist/chunks/{command-cwrgdav8.js → file-retention-cwrgdav8.js} +2 -2
- package/dist/chunks/{command-kzdam8c6.js → file-retention-cxab28sr.js} +5 -5
- package/dist/chunks/{command-8ktngwzh.js → file-retention-d1jwara1.js} +30 -30
- package/dist/chunks/{command-x5vff03n.js → file-retention-d4gmqgvp.js} +18 -18
- package/dist/chunks/{command-d4v9tmah.js → file-retention-d4v9tmah.js} +2 -2
- package/dist/chunks/file-retention-d77dj7jw.js +18 -0
- package/dist/chunks/{command-ss2grsr1.js → file-retention-d9b1e71e.js} +19 -19
- package/dist/chunks/{command-rq1bn5ff.js → file-retention-dbhc229r.js} +39 -39
- package/dist/chunks/{command-fdegceef.js → file-retention-dcdd8gp0.js} +28 -28
- package/dist/chunks/{command-pph0sm0s.js → file-retention-dcybvycp.js} +6 -6
- package/dist/chunks/{command-f163p87t.js → file-retention-dhv1xx0k.js} +9 -9
- package/dist/chunks/{command-4tf5hgjt.js → file-retention-dkb1sx3x.js} +36 -32
- package/dist/chunks/{command-ga5t9aga.js → file-retention-dncts3kv.js} +62 -62
- package/dist/chunks/{command-dt77769w.js → file-retention-dt77769w.js} +1 -1
- package/dist/chunks/{command-75q1s5an.js → file-retention-dvnqv6yn.js} +4 -4
- package/dist/chunks/{command-ga0jqm62.js → file-retention-dvyrd087.js} +35 -35
- package/dist/chunks/{command-d4abdmzn.js → file-retention-dx38te4v.js} +21 -21
- package/dist/chunks/{command-s8d7542g.js → file-retention-e5dmmprw.js} +16 -16
- package/dist/chunks/{command-zg9xszfz.js → file-retention-e6er0smf.js} +4 -4
- package/dist/chunks/{command-e834z07m.js → file-retention-e834z07m.js} +1 -1
- package/dist/chunks/{command-eqw4pqj1.js → file-retention-eqw4pqj1.js} +2 -2
- package/dist/chunks/{command-yjw0tny1.js → file-retention-evsac8k0.js} +30 -30
- package/dist/chunks/{command-zw5s2a2z.js → file-retention-ewa1ec51.js} +4 -4
- package/dist/chunks/{command-tp5psy3g.js → file-retention-f15w2kpp.js} +9 -9
- package/dist/chunks/{command-p4q03rmg.js → file-retention-f3efch3k.js} +25 -25
- package/dist/chunks/{command-czy387n2.js → file-retention-f7rj94ae.js} +42 -42
- package/dist/chunks/{command-6sxf2mfa.js → file-retention-fa7jqgqj.js} +6 -6
- package/dist/chunks/{command-fffv3p7h.js → file-retention-fffv3p7h.js} +1 -1
- package/dist/chunks/{command-t323kqwe.js → file-retention-ffka7n84.js} +12 -12
- package/dist/chunks/{command-fg9p65nk.js → file-retention-fg9p65nk.js} +2 -2
- package/dist/chunks/{command-d0p9h96d.js → file-retention-fjjazzdv.js} +20 -20
- package/dist/chunks/{command-2m2g9ynh.js → file-retention-fwp9mfc9.js} +4 -4
- package/dist/chunks/{command-wr3re1en.js → file-retention-fznmdakp.js} +4 -4
- package/dist/chunks/{command-g3jajyb4.js → file-retention-g2jbspnp.js} +15 -15
- package/dist/chunks/{command-cqbn3g43.js → file-retention-g63e6h3e.js} +36 -36
- package/dist/chunks/{command-veesmm8k.js → file-retention-gbcn9d4h.js} +5 -5
- package/dist/chunks/{command-9n68tmyf.js → file-retention-gbgy6ap4.js} +5 -5
- package/dist/chunks/{command-gbjdnr5j.js → file-retention-gbjdnr5j.js} +2 -2
- package/dist/chunks/{command-5nrew705.js → file-retention-gcavn3wx.js} +5 -5
- package/dist/chunks/{command-28d0291v.js → file-retention-gh4z7wry.js} +39 -39
- package/dist/chunks/{command-zbbn7txt.js → file-retention-gj10dfeb.js} +12 -12
- package/dist/chunks/{command-ajv23y1e.js → file-retention-gmnq7sxz.js} +54 -54
- package/dist/chunks/{command-g2m4kvc9.js → file-retention-gxe5e77w.js} +8 -8
- package/dist/chunks/{command-gxs71cxp.js → file-retention-gxs71cxp.js} +1 -1
- package/dist/chunks/{command-gzayeng8.js → file-retention-h5enc8pd.js} +25 -25
- package/dist/chunks/{command-cmrdg35n.js → file-retention-h6ejcba2.js} +5 -5
- package/dist/chunks/{command-9dea7wbw.js → file-retention-hew1js5q.js} +2 -2
- package/dist/chunks/{command-yms5yk40.js → file-retention-hkyks9g6.js} +11 -11
- package/dist/chunks/{command-kqtx5w6f.js → file-retention-hm3wjv3t.js} +24 -24
- package/dist/chunks/{command-r6mcamb5.js → file-retention-hmmsk6f4.js} +18 -18
- package/dist/chunks/{command-0m2hpscf.js → file-retention-hn189zr5.js} +4 -4
- package/dist/chunks/{command-q36xmy8v.js → file-retention-hnxa655x.js} +22 -22
- package/dist/chunks/{command-hpg1pkwy.js → file-retention-hpg1pkwy.js} +1 -1
- package/dist/chunks/{command-4034feyd.js → file-retention-hqvhb0wh.js} +11 -11
- package/dist/chunks/{command-6rehztjd.js → file-retention-hvgfddwz.js} +11 -11
- package/dist/chunks/{command-rg9j8c64.js → file-retention-hx2h0g86.js} +9 -9
- package/dist/chunks/{command-12g9ep21.js → file-retention-hz2g8n0e.js} +5 -5
- package/dist/chunks/{command-je2j8er4.js → file-retention-j4tx0dw9.js} +19 -19
- package/dist/chunks/{command-qj7pvvpf.js → file-retention-j6q7spb2.js} +34 -34
- package/dist/chunks/{command-crsbatbp.js → file-retention-j90hxq85.js} +11 -11
- package/dist/chunks/{command-vtmxyqqs.js → file-retention-jd8phrvf.js} +33 -33
- package/dist/chunks/{command-jkdcm5hg.js → file-retention-jkdcm5hg.js} +1 -1
- package/dist/chunks/{command-fhtgvnfh.js → file-retention-jmekf4r3.js} +9 -9
- package/dist/chunks/{command-jtnps1zs.js → file-retention-jtnps1zs.js} +2 -2
- package/dist/chunks/{command-j7fgn957.js → file-retention-k0kcv3gp.js} +9 -9
- package/dist/chunks/{command-y4hqb8zf.js → file-retention-k2xygrq7.js} +11 -11
- package/dist/chunks/{command-kj9n5bvh.js → file-retention-k46dd5bg.js} +4 -4
- package/dist/chunks/{command-q0fawvbg.js → file-retention-k9wymzdg.js} +6 -6
- package/dist/chunks/{command-mdwaa3r0.js → file-retention-kkgm43pe.js} +11 -11
- package/dist/chunks/{command-thpvhm7p.js → file-retention-kpa09rhw.js} +6 -6
- package/dist/chunks/{command-kt3bjfbg.js → file-retention-kt3bjfbg.js} +1 -1
- package/dist/chunks/{command-kzczzf4v.js → file-retention-kzczzf4v.js} +1 -1
- package/dist/chunks/{command-m1714858.js → file-retention-m1714858.js} +1 -1
- package/dist/chunks/{command-ys6g3emr.js → file-retention-m2bn1thc.js} +28 -28
- package/dist/chunks/{command-vsnkte39.js → file-retention-m2vpvwkm.js} +54 -54
- package/dist/chunks/{command-a4v3wsmw.js → file-retention-m9js7g7m.js} +9 -9
- package/dist/chunks/{command-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-8z6m94af.js → file-retention-mb7mbhnz.js} +3 -3
- package/dist/chunks/{command-a2gahn4b.js → file-retention-mbhkhp6q.js} +6 -6
- package/dist/chunks/{command-rs6jcsrf.js → file-retention-mhwtew22.js} +27 -27
- package/dist/chunks/{command-98hszmvx.js → file-retention-mtqqxse4.js} +5 -5
- package/dist/chunks/{command-wws03c5r.js → file-retention-mzm8bzzq.js} +4 -4
- package/dist/chunks/{command-thc4f7yk.js → file-retention-n3bkb5q1.js} +8 -8
- package/dist/chunks/{command-th74p2h3.js → file-retention-n3ga810d.js} +17 -17
- package/dist/chunks/{command-amadrth6.js → file-retention-n6xbcgna.js} +10 -10
- package/dist/chunks/{command-3v6tj8d3.js → file-retention-n8089wab.js} +12 -12
- package/dist/chunks/{command-rwsvr4dq.js → file-retention-ndksvsqq.js} +5 -5
- package/dist/chunks/{command-28q9vvsb.js → file-retention-nfggrfj2.js} +9 -9
- package/dist/chunks/{command-040mzty7.js → file-retention-nmarmpt2.js} +11 -11
- package/dist/chunks/{command-xcvkrh98.js → file-retention-pjx7tz23.js} +5 -5
- package/dist/chunks/{command-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{command-xvh6nyz9.js → file-retention-pkq3dv06.js} +16 -16
- package/dist/chunks/{command-mgvy0xnk.js → file-retention-pmhb73dp.js} +19 -19
- package/dist/chunks/{command-nptrtzfm.js → file-retention-q5nd4tdk.js} +7 -7
- package/dist/chunks/{command-0wk4arae.js → file-retention-qbkx85ty.js} +15 -15
- package/dist/chunks/{command-k11dcgkf.js → file-retention-qe6wsf1h.js} +5 -5
- package/dist/chunks/{command-qp7r0hxv.js → file-retention-qp7r0hxv.js} +1 -1
- package/dist/chunks/{command-qqvy8y24.js → file-retention-qqvy8y24.js} +1 -1
- package/dist/chunks/{command-qsdghx1p.js → file-retention-qsdghx1p.js} +1 -1
- package/dist/chunks/{command-v0gf7nmq.js → file-retention-qtjtwdkb.js} +27 -27
- package/dist/chunks/{command-3bbtnch6.js → file-retention-qxk677ch.js} +31 -31
- package/dist/chunks/{command-aenn6vam.js → file-retention-r17fbvme.js} +5 -5
- package/dist/chunks/{command-qw2t3dzn.js → file-retention-r1fnsf7p.js} +3 -3
- package/dist/chunks/{command-k4am5acp.js → file-retention-r388hamt.js} +30 -30
- package/dist/chunks/{command-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
- package/dist/chunks/{command-j16gqe8n.js → file-retention-rcw12gd3.js} +33 -33
- package/dist/chunks/{command-2wwcsj3x.js → file-retention-rfhh9jbp.js} +3 -3
- package/dist/chunks/{command-ryqhrx4f.js → file-retention-rjdswr2s.js} +19 -19
- package/dist/chunks/{command-n7bnkb3p.js → file-retention-rmt6m6se.js} +9 -9
- package/dist/chunks/{command-66fewe6v.js → file-retention-rpxemsgz.js} +97 -97
- package/dist/chunks/{command-z0bs4asb.js → file-retention-rpzwd4m9.js} +4 -4
- package/dist/chunks/{command-4fxzkjd3.js → file-retention-rr9v9k3b.js} +10 -10
- package/dist/chunks/{command-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
- package/dist/chunks/{command-hqvy1seb.js → file-retention-s0699xsp.js} +19 -19
- package/dist/chunks/{command-tsvf0ypj.js → file-retention-s5vg2p0e.js} +10 -10
- package/dist/chunks/{command-1a7qmzy6.js → file-retention-s93d5mte.js} +15 -15
- package/dist/chunks/{command-sa3fpqfw.js → file-retention-sa3fpqfw.js} +2 -2
- package/dist/chunks/{command-sbya78hr.js → file-retention-sbya78hr.js} +1 -1
- package/dist/chunks/{command-rpe9qcx0.js → file-retention-sctph3n4.js} +61 -61
- package/dist/chunks/{command-szscrh8z.js → file-retention-sj2s1b9m.js} +23 -23
- package/dist/chunks/{command-enq2s1fc.js → file-retention-sj70yks3.js} +12 -12
- package/dist/chunks/{command-4ag3733q.js → file-retention-skrg2vfv.js} +30 -30
- package/dist/chunks/{command-7q0kkz2h.js → file-retention-snhnc0ef.js} +10 -10
- package/dist/chunks/{command-qw26gbrf.js → file-retention-snjqag79.js} +9 -9
- package/dist/chunks/{command-1fjqwg4j.js → file-retention-sqz6jy89.js} +59 -59
- package/dist/chunks/{command-svcy3p9a.js → file-retention-svcy3p9a.js} +1 -1
- package/dist/chunks/{command-mnhcj7qf.js → file-retention-swwepy7r.js} +13 -13
- package/dist/chunks/{command-tm5zj7bd.js → file-retention-szfk6t8e.js} +37 -37
- package/dist/chunks/{command-96djdqw5.js → file-retention-szwm4crx.js} +4 -4
- package/dist/chunks/{command-4sq52vjb.js → file-retention-t6zxhcnm.js} +45 -45
- package/dist/chunks/{command-d7x2s5pv.js → file-retention-tb15rp1c.js} +4 -4
- package/dist/chunks/{command-tb2mrvc9.js → file-retention-tb2mrvc9.js} +1 -1
- package/dist/chunks/{command-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
- package/dist/chunks/{command-pe5w8f1e.js → file-retention-tfhex4ds.js} +79 -79
- package/dist/chunks/{command-1b1fgn2c.js → file-retention-tgc8br6y.js} +9 -9
- package/dist/chunks/{command-7xz196dn.js → file-retention-tnya1cye.js} +6 -6
- package/dist/chunks/{command-j376ae4e.js → file-retention-tr8x705m.js} +5 -5
- package/dist/chunks/{command-twssxy5n.js → file-retention-twssxy5n.js} +2 -2
- package/dist/chunks/{command-2kg89srt.js → file-retention-v0t96s7a.js} +4 -4
- package/dist/chunks/{command-jqp59910.js → file-retention-v1mj0bgs.js} +31 -31
- package/dist/chunks/{command-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
- package/dist/chunks/{command-nv2c5e9q.js → file-retention-v37bc009.js} +3 -3
- package/dist/chunks/{command-z9j69c60.js → file-retention-vh942nm4.js} +15 -15
- package/dist/chunks/{command-vjf35v1f.js → file-retention-vjf35v1f.js} +1 -1
- package/dist/chunks/{command-c5zvymhv.js → file-retention-vt2d6wap.js} +4 -4
- package/dist/chunks/{command-rrsfp6ze.js → file-retention-vxcj7dj3.js} +14 -14
- package/dist/chunks/{command-ajjm4dtx.js → file-retention-w1g97wbr.js} +9 -9
- package/dist/chunks/{command-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-6f40yt45.js → file-retention-w4whnx61.js} +22 -22
- package/dist/chunks/{command-vvrd773r.js → file-retention-wa6q08vq.js} +25 -25
- package/dist/chunks/{command-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
- package/dist/chunks/{command-ptv6adae.js → file-retention-waxfvz31.js} +33 -33
- package/dist/chunks/{command-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{command-nx4vzyjd.js → file-retention-wegkxhrn.js} +2 -2
- package/dist/chunks/{command-bjr4tvbr.js → file-retention-weqsz73e.js} +6 -6
- package/dist/chunks/{command-gctjzyr1.js → file-retention-wfnayh71.js} +11 -11
- package/dist/chunks/{command-8hfmqq8w.js → file-retention-wgvnftve.js} +8 -8
- package/dist/chunks/{command-5zbs2fep.js → file-retention-wh423nk9.js} +22 -22
- package/dist/chunks/{command-rtqf1qnx.js → file-retention-wm09fakr.js} +25 -25
- package/dist/chunks/{command-wnhgecwx.js → file-retention-wnhgecwx.js} +1 -1
- package/dist/chunks/{command-4gfkesf9.js → file-retention-wr27nwte.js} +11 -11
- package/dist/chunks/{command-exw3n246.js → file-retention-wy0xsgxw.js} +8 -8
- package/dist/chunks/{command-ag68y7y1.js → file-retention-x24tvm8w.js} +24 -24
- package/dist/chunks/{command-qj27ec1j.js → file-retention-x4mcewfn.js} +4 -4
- package/dist/chunks/{command-axd1rwaf.js → file-retention-x4t5xjs0.js} +21 -21
- package/dist/chunks/{command-k0dmerk5.js → file-retention-x59t0gss.js} +35 -35
- package/dist/chunks/{command-6sd197cc.js → file-retention-xa716ypk.js} +15 -15
- package/dist/chunks/{command-bstexjd6.js → file-retention-xd9cc171.js} +5 -5
- package/dist/chunks/{command-wrq7dm6q.js → file-retention-xe84dabc.js} +4 -4
- package/dist/chunks/{command-cqdj8zma.js → file-retention-xgbgysg1.js} +20 -20
- package/dist/chunks/{command-797jymej.js → file-retention-xhthag0s.js} +13 -13
- package/dist/chunks/{command-8xz27cp9.js → file-retention-xksw6ev0.js} +4 -4
- package/dist/chunks/{command-b8gtv96y.js → file-retention-xmm4qtr7.js} +18 -18
- package/dist/chunks/{command-289dd89z.js → file-retention-xnc68z72.js} +12 -12
- package/dist/chunks/{command-dypb56j1.js → file-retention-y32xxt00.js} +4 -4
- package/dist/chunks/{command-s4kyhetj.js → file-retention-y9hckaaa.js} +6 -6
- package/dist/chunks/{command-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
- package/dist/chunks/{command-ykvsfm8k.js → file-retention-ydsespw1.js} +8 -8
- package/dist/chunks/{command-4cr9jw6n.js → file-retention-yfe5zj2r.js} +1 -1
- package/dist/chunks/{command-qpjbvmjj.js → file-retention-ym5ftk47.js} +19 -19
- package/dist/chunks/{command-gbg10xz8.js → file-retention-ymb0ygkv.js} +12 -12
- package/dist/chunks/{command-ap7w36b6.js → file-retention-ynsc8wg2.js} +16 -16
- package/dist/chunks/{command-yr705xyq.js → file-retention-yr705xyq.js} +1 -1
- package/dist/chunks/{command-q3cah92p.js → file-retention-ysfhhwnn.js} +7 -7
- package/dist/chunks/{command-kn3pbsk5.js → file-retention-yv7pt3ah.js} +3 -3
- package/dist/chunks/{command-zxrsq0zh.js → file-retention-yvchjg13.js} +13 -13
- package/dist/chunks/{command-yvtc2x31.js → file-retention-yvtc2x31.js} +1 -1
- package/dist/chunks/{command-rsre77k7.js → file-retention-yx0ag50g.js} +21 -21
- package/dist/chunks/{command-6ss6ngz0.js → file-retention-yydqqga9.js} +4 -4
- package/dist/chunks/{command-yv0q8n2v.js → file-retention-yzde64vc.js} +16 -16
- package/dist/chunks/{command-90ct6wq4.js → file-retention-z080rjh6.js} +4 -4
- package/dist/chunks/{command-9cv7cw0n.js → file-retention-z7re6mpg.js} +15 -15
- package/dist/chunks/{command-j9nxzz3g.js → file-retention-ze75qvmd.js} +3 -3
- 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 +11 -11
- 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 +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +231 -231
- 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 +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +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 +133 -133
- 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 +135 -135
- 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 +81 -81
- 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 +108 -108
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -430
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- 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 +85 -85
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +109 -107
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +239 -239
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +115 -115
- package/dist/form.js +89 -89
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- 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 +104 -104
- 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 +421 -421
- package/dist/instruction-discovery.js +91 -91
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +102 -102
- package/dist/job/sql.js +2 -2
- package/dist/job.js +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +179 -179
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- 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 +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +153 -153
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- 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 +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +397 -397
- 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 +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- 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 +9 -9
- package/dist/plugin/provider/claude-agent/index.js +145 -145
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- 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 +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +130 -130
- package/dist/plugin/provider/opencode.js +132 -132
- 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 +129 -129
- package/dist/plugin/provider/vllm.js +137 -137
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -212
- 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 +405 -405
- 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 +128 -128
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +247 -247
- 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 +101 -101
- package/dist/provider.js +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +107 -107
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +247 -247
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +198 -198
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +242 -242
- 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 +147 -147
- 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 +137 -137
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +248 -248
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +161 -161
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +181 -181
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +86 -86
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +225 -225
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +200 -200
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +243 -243
- package/dist/session/usage.js +1 -1
- package/dist/session.js +235 -235
- 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 +15 -15
- package/dist/shell.js +146 -146
- 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 +178 -178
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +158 -158
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +231 -231
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +162 -162
- package/dist/tool/plugin/question.js +146 -146
- package/dist/tool/plugin/read.js +169 -169
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +233 -233
- package/dist/tool/plugin/skill.js +153 -153
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +153 -153
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +162 -162
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +159 -159
- package/dist/types/file-mutation.d.ts +8 -1
- package/dist/types/project/icon.d.ts +2 -2
- package/dist/usage-limits.js +98 -98
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +89 -89
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +107 -107
- package/package.json +8 -8
- package/dist/chunks/command-1t7pz1nk.js +0 -43
- package/dist/chunks/command-g1r9ysfg.js +0 -555
- package/dist/chunks/command-mary8sqy.js +0 -261
- package/dist/chunks/command-x3bvnkne.js +0 -26
- package/dist/chunks/command-z355x5yr.js +0 -18
- /package/dist/chunks/{command-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kah00gy.js → file-retention-1kah00gy.js} +0 -0
- /package/dist/chunks/{command-1pevy3nx.js → file-retention-1pevy3nx.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4qk9sjk2.js → file-retention-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5w3e23ze.js → file-retention-5w3e23ze.js} +0 -0
- /package/dist/chunks/{command-6agm2x70.js → file-retention-6agm2x70.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-beh6qq61.js → file-retention-beh6qq61.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cqv5kn06.js → file-retention-cqv5kn06.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-dbht28n9.js → file-retention-dbht28n9.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ean2d8b5.js → file-retention-ean2d8b5.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fkpq3x5p.js → file-retention-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jwr30sdr.js → file-retention-jwr30sdr.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → file-retention-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-nh4v3znn.js → file-retention-nh4v3znn.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-p71gwv9c.js → file-retention-p71gwv9c.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-syrav9an.js → file-retention-syrav9an.js} +0 -0
- /package/dist/chunks/{command-t03h4f5z.js → file-retention-t03h4f5z.js} +0 -0
- /package/dist/chunks/{command-ty7weeps.js → file-retention-ty7weeps.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-vtarvj67.js → file-retention-vtarvj67.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./file-retention-f7rj94ae.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_MARKDOWN_BYTES2,
|
|
9
9
|
convertHTMLToMarkdown2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-4vcrnpx2.js";
|
|
11
11
|
import {
|
|
12
12
|
collectBoundedResponseBody2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-3v8g72cx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/webfetch.ts
|
|
19
19
|
var exports_webfetch = {};
|
|
20
20
|
__export(exports_webfetch, {
|
|
21
21
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input12,
|
|
23
23
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
24
24
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
25
25
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin50,
|
|
27
27
|
WebFetchTool: () => exports_webfetch,
|
|
28
28
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
29
29
|
description: () => description6,
|
|
30
30
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
31
|
-
name: () =>
|
|
31
|
+
name: () => name12
|
|
32
32
|
});
|
|
33
33
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
34
34
|
import { Duration, Effect, Schema } from "effect";
|
|
35
35
|
import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
36
36
|
import { Parser } from "htmlparser2";
|
|
37
|
-
var
|
|
37
|
+
var name12 = "webfetch";
|
|
38
38
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
39
39
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
40
40
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
@@ -42,7 +42,7 @@ var description6 = `Fetch content from an HTTP or HTTPS URL and return it as tex
|
|
|
42
42
|
|
|
43
43
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
44
44
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
45
|
-
var
|
|
45
|
+
var Input12 = Schema.Struct({
|
|
46
46
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
47
47
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
48
48
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -52,7 +52,7 @@ var Input9 = Schema.Struct({
|
|
|
52
52
|
var Output = Schema.Struct({
|
|
53
53
|
url: Schema.String,
|
|
54
54
|
contentType: Schema.String,
|
|
55
|
-
format:
|
|
55
|
+
format: Input12.fields.format,
|
|
56
56
|
output: Schema.String
|
|
57
57
|
});
|
|
58
58
|
var acceptHeader = (format) => {
|
|
@@ -115,16 +115,16 @@ var convert = (content, contentType, format) => {
|
|
|
115
115
|
return extractTextFromHTML2(content);
|
|
116
116
|
return content;
|
|
117
117
|
};
|
|
118
|
-
var
|
|
118
|
+
var Plugin50 = {
|
|
119
119
|
id: "opencode.tool.webfetch",
|
|
120
120
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
121
121
|
const http = yield* HttpClient.HttpClient;
|
|
122
|
-
const permission = yield*
|
|
122
|
+
const permission = yield* Service65;
|
|
123
123
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
124
|
-
name:
|
|
124
|
+
name: name12,
|
|
125
125
|
options: { codemode: false },
|
|
126
126
|
description: description6,
|
|
127
|
-
input:
|
|
127
|
+
input: Input12,
|
|
128
128
|
output: Output,
|
|
129
129
|
execute: (input, context) => Effect.gen(function* () {
|
|
130
130
|
yield* Effect.try({
|
|
@@ -132,7 +132,7 @@ var Plugin47 = {
|
|
|
132
132
|
catch: (error) => error
|
|
133
133
|
});
|
|
134
134
|
yield* permission.assert({
|
|
135
|
-
action:
|
|
135
|
+
action: name12,
|
|
136
136
|
resources: [input.url],
|
|
137
137
|
save: ["*"],
|
|
138
138
|
metadata: input,
|
|
@@ -142,7 +142,7 @@ var Plugin47 = {
|
|
|
142
142
|
});
|
|
143
143
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
144
144
|
const check = (url) => permission.assertNotDenied({
|
|
145
|
-
action:
|
|
145
|
+
action: name12,
|
|
146
146
|
resources: [url],
|
|
147
147
|
metadata: { ...input, url },
|
|
148
148
|
sessionID: context.sessionID,
|
|
@@ -198,4 +198,4 @@ function extractTextFromHTML2(html) {
|
|
|
198
198
|
parser.end();
|
|
199
199
|
return text.trim();
|
|
200
200
|
}
|
|
201
|
-
export {
|
|
201
|
+
export { name12, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description6, Input12, MAX_REDIRECTS2, Plugin50, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service72
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-xmm4qtr7.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service78
|
|
7
|
+
} from "./file-retention-721agqj7.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service69
|
|
11
|
+
} from "./file-retention-gmnq7sxz.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-v37bc009.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service45
|
|
17
|
+
} from "./file-retention-xa716ypk.js";
|
|
18
18
|
import {
|
|
19
19
|
evaluate3,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service65
|
|
21
|
+
} from "./file-retention-f7rj94ae.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service25
|
|
24
|
+
} from "./file-retention-rpxemsgz.js";
|
|
25
25
|
import {
|
|
26
26
|
NO_TEXT2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-retention-0j7gp832.js";
|
|
28
28
|
import {
|
|
29
29
|
Service12
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-nmarmpt2.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/subagent.ts
|
|
36
36
|
var exports_subagent = {};
|
|
37
37
|
__export(exports_subagent, {
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
38
|
+
Input: () => Input11,
|
|
39
|
+
Output: () => Output9,
|
|
40
|
+
Plugin: () => Plugin48,
|
|
41
41
|
SubagentTool: () => exports_subagent,
|
|
42
|
-
description: () =>
|
|
43
|
-
name: () =>
|
|
42
|
+
description: () => description5,
|
|
43
|
+
name: () => name11
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
46
46
|
import { Effect, Predicate, Schema } from "effect";
|
|
47
|
-
var
|
|
47
|
+
var name11 = "subagent";
|
|
48
48
|
var backgroundResult = (sessionID) => ({
|
|
49
49
|
sessionID,
|
|
50
50
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input11 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input12 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output9 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description5 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,15 +86,15 @@ var description7 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin48 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
92
|
+
const sessions = yield* Service25;
|
|
93
|
+
const jobs = yield* Service45;
|
|
94
94
|
const agents = yield* Service72;
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
95
|
+
const config = yield* Service69;
|
|
96
|
+
const permission = yield* Service65;
|
|
97
|
+
const models = yield* Service78;
|
|
98
98
|
const subagents = yield* Service12;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
@@ -117,11 +117,11 @@ var Plugin51 = {
|
|
|
117
117
|
return ref;
|
|
118
118
|
});
|
|
119
119
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
120
|
-
name:
|
|
120
|
+
name: name11,
|
|
121
121
|
options: { codemode: false },
|
|
122
|
-
description:
|
|
123
|
-
input:
|
|
124
|
-
output:
|
|
122
|
+
description: description5,
|
|
123
|
+
input: Input11,
|
|
124
|
+
output: Output9,
|
|
125
125
|
execute: (input, context) => Effect.gen(function* () {
|
|
126
126
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
127
127
|
let current = parent;
|
|
@@ -141,7 +141,7 @@ var Plugin51 = {
|
|
|
141
141
|
if (agent.mode === "primary")
|
|
142
142
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
143
143
|
yield* permission.assert({
|
|
144
|
-
action:
|
|
144
|
+
action: name11,
|
|
145
145
|
resources: [agent.id],
|
|
146
146
|
save: [agent.id],
|
|
147
147
|
sessionID: context.sessionID,
|
|
@@ -220,7 +220,7 @@ ${output.output}
|
|
|
220
220
|
})))
|
|
221
221
|
})).pipe(Effect.orDie);
|
|
222
222
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
223
|
-
if (event.tool !==
|
|
223
|
+
if (event.tool !== name11 || !Predicate.isObject(event.input))
|
|
224
224
|
return;
|
|
225
225
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
226
226
|
return;
|
|
@@ -232,13 +232,13 @@ ${output.output}
|
|
|
232
232
|
event.input = input;
|
|
233
233
|
}));
|
|
234
234
|
const hook = (event) => Effect.gen(function* () {
|
|
235
|
-
const tool = event.tools[
|
|
235
|
+
const tool = event.tools[name11];
|
|
236
236
|
if (!tool)
|
|
237
237
|
return;
|
|
238
238
|
const selected = yield* agents.resolve(event.agent);
|
|
239
239
|
if (!selected)
|
|
240
240
|
return;
|
|
241
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(
|
|
241
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
242
242
|
if (available.length === 0)
|
|
243
243
|
return;
|
|
244
244
|
tool.description = [
|
|
@@ -255,4 +255,4 @@ ${output.output}
|
|
|
255
255
|
})
|
|
256
256
|
};
|
|
257
257
|
|
|
258
|
-
export {
|
|
258
|
+
export { name11, Input11, Output9, description5, Plugin48, exports_subagent };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service87
|
|
3
|
+
} from "./file-retention-x4t5xjs0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./file-retention-f7rj94ae.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID10,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
|
-
|
|
11
|
+
DisabledError4,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service60
|
|
14
|
+
} from "./file-retention-g63e6h3e.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin52,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description7,
|
|
27
|
+
name: () => name14
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name14 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description7 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input14 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID10,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin52 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service65;
|
|
53
|
+
const forms = yield* Service87;
|
|
54
|
+
const websearch = yield* Service60;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name14,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description7,
|
|
59
|
+
input: Input14,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name14,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -109,7 +109,7 @@ var Plugin41 = {
|
|
|
109
109
|
return yield* Effect.fail(new Error("Web search cancelled"));
|
|
110
110
|
if (response.answer.choice === "disable") {
|
|
111
111
|
yield* websearch.select(false);
|
|
112
|
-
return yield* new
|
|
112
|
+
return yield* new DisabledError4;
|
|
113
113
|
}
|
|
114
114
|
const selection = response.answer.choice === "choose" ? yield* forms.ask({
|
|
115
115
|
sessionID: context.sessionID,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name14];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name14, NO_RESULTS2, description7, Input14, Plugin52, exports_websearch2 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
ID17,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-2dfh1hr2.js";
|
|
6
6
|
import {
|
|
7
7
|
ID16,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info23
|
|
11
|
+
} from "./file-retention-721agqj7.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models2 = {};
|
|
@@ -113,8 +113,8 @@ function build(id, remote, baseURL, previous) {
|
|
|
113
113
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
114
114
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
115
115
|
const released = previous?.time.released || Date.parse(version);
|
|
116
|
-
return
|
|
117
|
-
...
|
|
116
|
+
return Info23.make({
|
|
117
|
+
...Info23.default(ID17.githubCopilot, id),
|
|
118
118
|
id,
|
|
119
119
|
modelID: ID16.make(remote.id),
|
|
120
120
|
providerID: ID17.githubCopilot,
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make10
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-tb2mrvc9.js";
|
|
4
4
|
import {
|
|
5
5
|
original2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-gxs71cxp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
make11
|
|
9
|
+
} from "./file-retention-z080rjh6.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/claude-agent/language-model/convert-claude-stream.ts
|
|
15
15
|
var exports_convert_claude_stream = {};
|
|
16
16
|
__export(exports_convert_claude_stream, {
|
|
17
17
|
ConvertClaudeStream: () => exports_convert_claude_stream,
|
|
18
|
-
make: () =>
|
|
18
|
+
make: () => make9
|
|
19
19
|
});
|
|
20
20
|
import { Provider } from "@opencode/schema/provider";
|
|
21
|
-
function
|
|
21
|
+
function make9(tools) {
|
|
22
22
|
const usage = make10();
|
|
23
|
-
const failure =
|
|
23
|
+
const failure = make11();
|
|
24
24
|
const streamed = new Set;
|
|
25
25
|
const blocks = new Map;
|
|
26
26
|
let messageID = "";
|
|
@@ -146,4 +146,4 @@ function make8(tools) {
|
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
export {
|
|
149
|
+
export { make9, exports_convert_claude_stream };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./file-retention-x24tvm8w.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Service17,
|
|
6
|
+
readOptionalText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-6xwywkh7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service20
|
|
11
|
+
} from "./file-retention-qbkx85ty.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service65
|
|
14
|
+
} from "./file-retention-f7rj94ae.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service18
|
|
17
|
+
} from "./file-retention-87jq36v2.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
28
|
+
Input: () => Input13,
|
|
29
29
|
Output: () => Output10,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin51,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name13,
|
|
33
33
|
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name13 = "write";
|
|
39
|
+
var Input13 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
@@ -49,23 +49,23 @@ var Output10 = Schema.Struct({
|
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
51
|
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
-
var
|
|
52
|
+
var Plugin51 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service18;
|
|
56
|
+
const fileMutation = yield* Service17;
|
|
57
|
+
const environment = yield* Service51;
|
|
58
|
+
const formatter = yield* Service20;
|
|
59
|
+
const permission = yield* Service65;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name13,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
68
|
+
input: Input13,
|
|
69
69
|
output: Output10,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
@@ -75,7 +75,7 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
75
75
|
};
|
|
76
76
|
const target = yield* access.resolve({ path: input.path, kind: "file" });
|
|
77
77
|
yield* access.authorizeExternal([target], context);
|
|
78
|
-
const current = yield*
|
|
78
|
+
const current = yield* readOptionalText2(environment.files, target.absolute);
|
|
79
79
|
const next = Bom.split(input.content);
|
|
80
80
|
const preview = fileDiff2(target.resource, current?.text ?? "", next.text, current ? "modified" : "added");
|
|
81
81
|
yield* permission.assert({
|
|
@@ -87,15 +87,19 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
87
87
|
agent: context.agent,
|
|
88
88
|
source
|
|
89
89
|
});
|
|
90
|
-
const
|
|
91
|
-
const bom = (yield* readText2(environment.files, target.absolute)).bom;
|
|
90
|
+
const written = yield* fileMutation.writeTextPreservingBom({ target, content: input.content });
|
|
92
91
|
if (yield* formatter.file(target.absolute)) {
|
|
93
|
-
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
92
|
+
yield* syncTextBom2(environment.files, target.absolute, written.bom);
|
|
94
93
|
}
|
|
95
|
-
return
|
|
94
|
+
return {
|
|
95
|
+
operation: written.operation,
|
|
96
|
+
target: written.target,
|
|
97
|
+
resource: written.resource,
|
|
98
|
+
existed: written.existed
|
|
99
|
+
};
|
|
96
100
|
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
101
|
})).pipe(Effect.orDie);
|
|
98
102
|
})
|
|
99
103
|
};
|
|
100
104
|
|
|
101
|
-
export {
|
|
105
|
+
export { name13, Input13, Output10, toModelContent6, Plugin51, exports_write };
|