@opencode/core 0.0.0-dev-400 → 0.0.0-dev-408
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 +9 -9
- package/dist/artifact.js +238 -238
- package/dist/bus.js +80 -80
- package/dist/chunks/{usage-limits-034tev2y.js → repository-cache-034tev2y.js} +2 -2
- package/dist/chunks/{usage-limits-qees6j3s.js → repository-cache-0dyrypwm.js} +4 -4
- package/dist/chunks/{usage-limits-ve2yhar6.js → repository-cache-0fqkcydk.js} +14 -14
- package/dist/chunks/{usage-limits-sqjzf8x2.js → repository-cache-0j7gp832.js} +4 -4
- package/dist/chunks/{usage-limits-hngptckf.js → repository-cache-0mvqm7py.js} +11 -11
- package/dist/chunks/{usage-limits-vtw8zf69.js → repository-cache-0rhtyd7d.js} +11 -11
- package/dist/chunks/{usage-limits-915qh7jh.js → repository-cache-0wy4spvx.js} +15 -15
- package/dist/chunks/{usage-limits-xb29nv4b.js → repository-cache-117dxy3x.js} +18 -18
- package/dist/chunks/{usage-limits-4qjss46w.js → repository-cache-13rt9a0f.js} +27 -27
- package/dist/chunks/{usage-limits-kdbzm995.js → repository-cache-14s4whne.js} +7 -7
- package/dist/chunks/{usage-limits-5c8b20zf.js → repository-cache-17tg1v6a.js} +10 -10
- package/dist/chunks/{usage-limits-1aqsckx4.js → repository-cache-1aqsckx4.js} +1 -1
- package/dist/chunks/{usage-limits-m32hv6nk.js → repository-cache-1d4zbtyz.js} +35 -35
- package/dist/chunks/{usage-limits-1ep2p91f.js → repository-cache-1ep2p91f.js} +2 -2
- package/dist/chunks/{usage-limits-37hck4xc.js → repository-cache-1n61n509.js} +1 -1
- package/dist/chunks/{usage-limits-p0fzjpm1.js → repository-cache-1q5d8b2j.js} +15 -15
- package/dist/chunks/{usage-limits-msd2a3qm.js → repository-cache-1v2g13eq.js} +4 -4
- package/dist/chunks/{usage-limits-1x2knyw4.js → repository-cache-1x2knyw4.js} +1 -1
- package/dist/chunks/{usage-limits-nn2a5q1t.js → repository-cache-1xp59a9b.js} +17 -17
- package/dist/chunks/{usage-limits-ybka5wt8.js → repository-cache-1ykpzj5c.js} +6 -6
- package/dist/chunks/{usage-limits-p7vhpwh8.js → repository-cache-1yq9hg58.js} +5 -5
- package/dist/chunks/{usage-limits-3zg6x5sx.js → repository-cache-21dqy5ft.js} +16 -16
- package/dist/chunks/{usage-limits-4xcxrfeg.js → repository-cache-220pdf8n.js} +6 -6
- package/dist/chunks/{usage-limits-7w7tghj7.js → repository-cache-2bpttt67.js} +6 -6
- package/dist/chunks/{usage-limits-9pmypnne.js → repository-cache-2g3br2pj.js} +12 -12
- package/dist/chunks/{usage-limits-bp2dx3xj.js → repository-cache-2p4b2eh8.js} +24 -24
- package/dist/chunks/{usage-limits-2p60zmnr.js → repository-cache-2p60zmnr.js} +2 -2
- package/dist/chunks/{usage-limits-wm0d50xk.js → repository-cache-33p0grem.js} +27 -27
- package/dist/chunks/{usage-limits-jsvqhv8w.js → repository-cache-3aj5n9jz.js} +77 -77
- package/dist/chunks/{usage-limits-st09q8qp.js → repository-cache-3b10v8zn.js} +16 -16
- package/dist/chunks/{usage-limits-hpwreb2n.js → repository-cache-3d191zt2.js} +33 -33
- package/dist/chunks/{usage-limits-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{usage-limits-5bk82nga.js → repository-cache-3jy8fqmb.js} +5 -5
- package/dist/chunks/{usage-limits-zj74h5n1.js → repository-cache-3k5aj4rv.js} +11 -11
- package/dist/chunks/{usage-limits-s3c7qca0.js → repository-cache-3kyerjz3.js} +15 -15
- package/dist/chunks/{usage-limits-w8sdfb9w.js → repository-cache-3nd7e18q.js} +9 -9
- package/dist/chunks/{usage-limits-3nnrz6f6.js → repository-cache-3nnrz6f6.js} +1 -1
- package/dist/chunks/{usage-limits-jsb5v99n.js → repository-cache-3tpwx1sz.js} +8 -8
- package/dist/chunks/{usage-limits-40y6dtc2.js → repository-cache-40y6dtc2.js} +1 -1
- package/dist/chunks/{usage-limits-w2eysc6j.js → repository-cache-40za9wsf.js} +9 -9
- package/dist/chunks/{usage-limits-rdp4ehry.js → repository-cache-42kgag0a.js} +19 -19
- package/dist/chunks/{usage-limits-f4c8bxqh.js → repository-cache-42vb0n7z.js} +50 -50
- package/dist/chunks/{usage-limits-44pmzq9c.js → repository-cache-44pmzq9c.js} +2 -2
- package/dist/chunks/{usage-limits-d0mytrtk.js → repository-cache-44rh2bdn.js} +36 -36
- package/dist/chunks/{usage-limits-8cg7mtm3.js → repository-cache-4d2dtj2f.js} +4 -4
- package/dist/chunks/{usage-limits-pcwhv3zn.js → repository-cache-4drd5sre.js} +12 -12
- package/dist/chunks/{usage-limits-4dx1dgte.js → repository-cache-4dx1dgte.js} +1 -1
- package/dist/chunks/{usage-limits-r542h3bh.js → repository-cache-4f25tdd0.js} +5 -5
- package/dist/chunks/{usage-limits-55hwmkk2.js → repository-cache-4fwf0yt6.js} +46 -46
- package/dist/chunks/{usage-limits-0h02ntte.js → repository-cache-4gtvfkkx.js} +12 -12
- package/dist/chunks/{usage-limits-fsb19ccp.js → repository-cache-4gyyr6rs.js} +9 -9
- package/dist/chunks/{usage-limits-ph5yyazf.js → repository-cache-4pqv92sr.js} +13 -13
- package/dist/chunks/{usage-limits-4pyp9zr9.js → repository-cache-4pyp9zr9.js} +1 -1
- package/dist/chunks/{usage-limits-x369jwq1.js → repository-cache-4r05bqmv.js} +18 -18
- package/dist/chunks/{usage-limits-124bhr1x.js → repository-cache-4rneqcee.js} +8 -8
- package/dist/chunks/{usage-limits-4v008n1t.js → repository-cache-4v008n1t.js} +1 -1
- package/dist/chunks/{usage-limits-4ygb74tw.js → repository-cache-4ygb74tw.js} +3 -3
- package/dist/chunks/{usage-limits-h9x96109.js → repository-cache-52s9xk06.js} +15 -15
- package/dist/chunks/{usage-limits-sq2a3fge.js → repository-cache-589c1xh4.js} +49 -31
- package/dist/chunks/{usage-limits-qxsp0qy6.js → repository-cache-5ey1ywkc.js} +8 -8
- package/dist/chunks/{usage-limits-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{usage-limits-mmej92t0.js → repository-cache-5nv0q1fc.js} +19 -19
- package/dist/chunks/{usage-limits-a2zex5ge.js → repository-cache-5r72z9dp.js} +8 -8
- package/dist/chunks/{usage-limits-5zpqhmp2.js → repository-cache-5zpqhmp2.js} +3 -3
- package/dist/chunks/{usage-limits-3cd3ffgw.js → repository-cache-629bn6be.js} +32 -32
- package/dist/chunks/{usage-limits-5wmr8030.js → repository-cache-6677agsn.js} +12 -12
- package/dist/chunks/{usage-limits-bf91b8q0.js → repository-cache-66q141s7.js} +14 -14
- package/dist/chunks/{usage-limits-kbgs7tyr.js → repository-cache-67wwskyb.js} +4 -4
- package/dist/chunks/{usage-limits-563cpf99.js → repository-cache-689c131p.js} +41 -41
- package/dist/chunks/{usage-limits-00dh1h3p.js → repository-cache-6a6erb7h.js} +3 -3
- package/dist/chunks/{usage-limits-6esdw8yj.js → repository-cache-6esdw8yj.js} +1 -1
- package/dist/chunks/{usage-limits-z617y4bf.js → repository-cache-6fz9y9ks.js} +25 -25
- package/dist/chunks/{usage-limits-n8vevnsf.js → repository-cache-6nd6wmx4.js} +5 -5
- package/dist/chunks/{usage-limits-y4a4bk48.js → repository-cache-6xb56dn7.js} +14 -14
- package/dist/chunks/{usage-limits-76cb1hcw.js → repository-cache-76cb1hcw.js} +1 -1
- package/dist/chunks/{usage-limits-ahse4efr.js → repository-cache-7be6ej80.js} +7 -7
- package/dist/chunks/{usage-limits-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{usage-limits-65km906s.js → repository-cache-7fsxxa5w.js} +19 -19
- package/dist/chunks/{usage-limits-mwc5cd2y.js → repository-cache-7hspd334.js} +14 -14
- package/dist/chunks/{usage-limits-p2tvx8t7.js → repository-cache-7jen3kst.js} +9 -9
- package/dist/chunks/{usage-limits-7kr66rt3.js → repository-cache-7kr66rt3.js} +1 -1
- package/dist/chunks/{usage-limits-7nqkf5r1.js → repository-cache-7nqkf5r1.js} +2 -2
- package/dist/chunks/{usage-limits-da4bejer.js → repository-cache-7qvfpbmq.js} +35 -35
- package/dist/chunks/{usage-limits-bqfdzc7w.js → repository-cache-7resjt17.js} +11 -11
- package/dist/chunks/{usage-limits-3ff17a98.js → repository-cache-7rtpp53t.js} +12 -12
- package/dist/chunks/{usage-limits-7w2ypzdf.js → repository-cache-7w2ypzdf.js} +1 -1
- package/dist/chunks/{usage-limits-07dt8f4k.js → repository-cache-7w4azh8n.js} +15 -15
- package/dist/chunks/repository-cache-7zdc1zze.js +261 -0
- package/dist/chunks/{usage-limits-b4az109y.js → repository-cache-7zhw6b0y.js} +6 -6
- package/dist/chunks/{usage-limits-775hqbnd.js → repository-cache-80mg3ag8.js} +3 -3
- package/dist/chunks/{usage-limits-eeae322r.js → repository-cache-85pkw22p.js} +12 -12
- package/dist/chunks/{usage-limits-1tg39pfc.js → repository-cache-86bg93g2.js} +30 -30
- package/dist/chunks/{usage-limits-89287pr7.js → repository-cache-89287pr7.js} +1 -1
- package/dist/chunks/{usage-limits-25h84942.js → repository-cache-8b3vzgkx.js} +4 -4
- package/dist/chunks/{usage-limits-yf9w9wtz.js → repository-cache-8epvzwk0.js} +4 -4
- package/dist/chunks/{usage-limits-1a0n8xfb.js → repository-cache-8qbe9svj.js} +11 -11
- package/dist/chunks/{usage-limits-acxvv905.js → repository-cache-8rkk1f8k.js} +2 -2
- package/dist/chunks/{usage-limits-tvssxyt8.js → repository-cache-8wjgamp7.js} +6 -6
- package/dist/chunks/{usage-limits-8wtp7s3z.js → repository-cache-8wtp7s3z.js} +1 -1
- package/dist/chunks/{usage-limits-sf9y72b7.js → repository-cache-90ct6wq4.js} +4 -4
- package/dist/chunks/{usage-limits-90zstvax.js → repository-cache-90zstvax.js} +1 -1
- package/dist/chunks/{usage-limits-nt907s04.js → repository-cache-94e33dpz.js} +3 -3
- package/dist/chunks/{usage-limits-n67k9wd0.js → repository-cache-9f4es6q6.js} +21 -21
- package/dist/chunks/{usage-limits-zj79xsp9.js → repository-cache-9nz9zp6p.js} +21 -21
- package/dist/chunks/{usage-limits-dv96216k.js → repository-cache-9sy1j1hj.js} +4 -4
- package/dist/chunks/{usage-limits-vcm9cyw2.js → repository-cache-9ybwsyyt.js} +50 -17
- package/dist/chunks/{usage-limits-qgtjt0gn.js → repository-cache-a23nhmfg.js} +43 -43
- package/dist/chunks/{usage-limits-w45rmhc3.js → repository-cache-a2pkjjya.js} +3 -3
- package/dist/chunks/{usage-limits-w57mf20a.js → repository-cache-a5375sst.js} +38 -38
- package/dist/chunks/{usage-limits-hr0yr0zh.js → repository-cache-adv5kamg.js} +48 -48
- package/dist/chunks/{usage-limits-7f8qbf9c.js → repository-cache-ae0k5xhg.js} +51 -51
- package/dist/chunks/{usage-limits-gjjq27qa.js → repository-cache-ahvrxr5q.js} +43 -43
- package/dist/chunks/{usage-limits-caz7vn7z.js → repository-cache-atq58f6p.js} +14 -14
- package/dist/chunks/{usage-limits-ayjs7tqn.js → repository-cache-ayjs7tqn.js} +2 -2
- package/dist/chunks/{usage-limits-75s55zsd.js → repository-cache-b53d9n68.js} +9 -9
- package/dist/chunks/{usage-limits-b6vsg801.js → repository-cache-b6vsg801.js} +2 -2
- package/dist/chunks/{usage-limits-d9p78pk4.js → repository-cache-bj64f587.js} +11 -11
- package/dist/chunks/{usage-limits-pk5k9wpg.js → repository-cache-bsrnwqw4.js} +54 -54
- package/dist/chunks/{usage-limits-bstexjd6.js → repository-cache-bstexjd6.js} +1 -1
- package/dist/chunks/{usage-limits-ky55b5b1.js → repository-cache-btnkw9ag.js} +4 -4
- package/dist/chunks/{usage-limits-qh543zc0.js → repository-cache-byat1gmm.js} +13 -13
- package/dist/chunks/{usage-limits-12zfj4q4.js → repository-cache-bznth6yj.js} +32 -32
- package/dist/chunks/{usage-limits-xmx7xj34.js → repository-cache-c6x7d2ts.js} +4 -4
- package/dist/chunks/{usage-limits-hvszmf3e.js → repository-cache-c8r04xqq.js} +8 -8
- package/dist/chunks/{usage-limits-rf84k8f1.js → repository-cache-c9axap03.js} +17 -17
- package/dist/chunks/{usage-limits-fpd09bte.js → repository-cache-cns3s1jh.js} +4 -4
- package/dist/chunks/{usage-limits-1pnyc33r.js → repository-cache-cnxrm74r.js} +25 -25
- package/dist/chunks/{usage-limits-jbn2q8s9.js → repository-cache-csckdwzt.js} +64 -31
- package/dist/chunks/{usage-limits-cwrgdav8.js → repository-cache-cwrgdav8.js} +2 -2
- package/dist/chunks/{usage-limits-fqsnyjsz.js → repository-cache-cx167fqa.js} +25 -25
- package/dist/chunks/{usage-limits-sa0q05fm.js → repository-cache-cywx93t4.js} +10 -10
- package/dist/chunks/{usage-limits-rbjbxyfb.js → repository-cache-d2jsrjsx.js} +2 -2
- package/dist/chunks/{usage-limits-d4v9tmah.js → repository-cache-d4v9tmah.js} +2 -2
- package/dist/chunks/{usage-limits-86mmm7fr.js → repository-cache-d5exgc4h.js} +17 -17
- package/dist/chunks/{usage-limits-rk0sd0kg.js → repository-cache-d7tqay6h.js} +21 -21
- package/dist/chunks/{usage-limits-jye1j8z7.js → repository-cache-da39cwtw.js} +16 -16
- package/dist/chunks/{usage-limits-03qx06a8.js → repository-cache-de6ncjqq.js} +18 -18
- package/dist/chunks/{usage-limits-hx4qpz76.js → repository-cache-dqk7hey0.js} +38 -38
- package/dist/chunks/{usage-limits-dt77769w.js → repository-cache-dt77769w.js} +1 -1
- package/dist/chunks/{usage-limits-pp0ncar4.js → repository-cache-dt7p67dq.js} +26 -26
- package/dist/chunks/{usage-limits-ef19hej1.js → repository-cache-dtgkw3dr.js} +3 -3
- package/dist/chunks/{usage-limits-e834z07m.js → repository-cache-e834z07m.js} +1 -1
- package/dist/chunks/{usage-limits-5shk7qbb.js → repository-cache-echfhvqy.js} +24 -24
- package/dist/chunks/{usage-limits-q7bfnte9.js → repository-cache-eesy70b7.js} +13 -13
- package/dist/chunks/{usage-limits-z790ea30.js → repository-cache-ef4m72dy.js} +28 -28
- package/dist/chunks/{usage-limits-eqw4pqj1.js → repository-cache-eqw4pqj1.js} +2 -2
- package/dist/chunks/{usage-limits-xr07be4v.js → repository-cache-er4eze1e.js} +28 -28
- package/dist/chunks/{usage-limits-by5t8a5c.js → repository-cache-erj5bww8.js} +10 -10
- package/dist/chunks/{usage-limits-mqz8gh7e.js → repository-cache-f163p87t.js} +11 -11
- package/dist/chunks/{usage-limits-kfn7hqn6.js → repository-cache-f41yh8ea.js} +27 -27
- package/dist/chunks/{usage-limits-a2t4gxm3.js → repository-cache-fdgt176q.js} +17 -17
- package/dist/chunks/{usage-limits-9b00c1fb.js → repository-cache-fepbnb8j.js} +5 -5
- package/dist/chunks/{usage-limits-fffv3p7h.js → repository-cache-fffv3p7h.js} +1 -1
- package/dist/chunks/{usage-limits-fg9p65nk.js → repository-cache-fg9p65nk.js} +2 -2
- package/dist/chunks/{usage-limits-3s19bb53.js → repository-cache-fq4mbxwp.js} +7 -7
- package/dist/chunks/{usage-limits-8h3wsat0.js → repository-cache-fqazpnnv.js} +11 -11
- package/dist/chunks/{usage-limits-6wzd2fzk.js → repository-cache-fty293jv.js} +31 -31
- package/dist/chunks/{usage-limits-8ng3akwc.js → repository-cache-fxhr70zk.js} +170 -170
- package/dist/chunks/{usage-limits-eg8kg6r9.js → repository-cache-fybkcd9v.js} +16 -16
- package/dist/chunks/{usage-limits-zqtt05nf.js → repository-cache-fzmk70p1.js} +3 -3
- package/dist/chunks/{usage-limits-wr3re1en.js → repository-cache-fznmdakp.js} +4 -4
- package/dist/chunks/{usage-limits-tbspsmnw.js → repository-cache-g377f676.js} +18 -18
- package/dist/chunks/{usage-limits-nvd32f1y.js → repository-cache-g539dx78.js} +12 -12
- package/dist/chunks/{usage-limits-n88rezm8.js → repository-cache-g5xh523a.js} +11 -11
- package/dist/chunks/{usage-limits-gbjdnr5j.js → repository-cache-gbjdnr5j.js} +2 -2
- package/dist/chunks/{usage-limits-cd82kqej.js → repository-cache-gbwp1yy0.js} +21 -21
- package/dist/chunks/{usage-limits-18g90bpv.js → repository-cache-gcjdgkn2.js} +9 -9
- package/dist/chunks/{usage-limits-py15aynj.js → repository-cache-gf4twfpd.js} +14 -14
- package/dist/chunks/{usage-limits-c570ayfm.js → repository-cache-gqwvnyjy.js} +5 -5
- package/dist/chunks/{usage-limits-tg7s7b5t.js → repository-cache-gxs71cxp.js} +4 -4
- package/dist/chunks/{usage-limits-m7xh3h0x.js → repository-cache-h0rg6s60.js} +4 -4
- package/dist/chunks/{usage-limits-mfezz2p0.js → repository-cache-h1xbway3.js} +26 -26
- package/dist/chunks/{usage-limits-3p57dcxh.js → repository-cache-h3b857xk.js} +4 -4
- package/dist/chunks/{usage-limits-ke545j7m.js → repository-cache-h550x5z6.js} +21 -21
- package/dist/chunks/{usage-limits-a9182taq.js → repository-cache-h5a5vse0.js} +27 -27
- package/dist/chunks/{usage-limits-hh7kjqtw.js → repository-cache-hh7kjqtw.js} +1 -1
- package/dist/chunks/{usage-limits-4b1hfbmn.js → repository-cache-hp5bjq9g.js} +20 -20
- package/dist/chunks/{usage-limits-hpg1pkwy.js → repository-cache-hpg1pkwy.js} +1 -1
- package/dist/chunks/{usage-limits-fq3y8xpp.js → repository-cache-hr05g0yp.js} +8 -8
- package/dist/chunks/repository-cache-hw51xx9n.js +549 -0
- package/dist/chunks/{usage-limits-eneeszkf.js → repository-cache-hzzg9aka.js} +5 -5
- package/dist/chunks/{usage-limits-p0ae1meq.js → repository-cache-jetrapy6.js} +31 -31
- package/dist/chunks/{usage-limits-pcr697g8.js → repository-cache-jfgqn8x3.js} +23 -23
- package/dist/chunks/{usage-limits-s26c8eb5.js → repository-cache-jkdcm5hg.js} +4 -4
- package/dist/chunks/{usage-limits-f6zrgn4d.js → repository-cache-jkfzvww1.js} +20 -20
- package/dist/chunks/{usage-limits-8as08gmw.js → repository-cache-jp8m7kx7.js} +16 -16
- package/dist/chunks/{usage-limits-ss0a1k8t.js → repository-cache-jpybrwwk.js} +28 -28
- package/dist/chunks/{usage-limits-jtnps1zs.js → repository-cache-jtnps1zs.js} +2 -2
- package/dist/chunks/{usage-limits-jv5ccajn.js → repository-cache-jv5ccajn.js} +2 -2
- package/dist/chunks/{usage-limits-3xka54rk.js → repository-cache-jxk0hwye.js} +10 -10
- package/dist/chunks/{usage-limits-k3cx6fhe.js → repository-cache-k3cx6fhe.js} +1 -1
- package/dist/chunks/{usage-limits-pfk92436.js → repository-cache-k3tthcz6.js} +18 -18
- package/dist/chunks/{usage-limits-s7xceqct.js → repository-cache-k5g91pys.js} +3 -3
- package/dist/chunks/{usage-limits-9663jzc0.js → repository-cache-ka37r3tm.js} +6 -6
- package/dist/chunks/{usage-limits-qaa8vz4d.js → repository-cache-kddfw84h.js} +15 -15
- package/dist/chunks/{usage-limits-vmqe41cb.js → repository-cache-kj9n5bvh.js} +4 -4
- package/dist/chunks/{usage-limits-m93s2rdr.js → repository-cache-kp633vze.js} +48 -48
- package/dist/chunks/{usage-limits-pdf22k7z.js → repository-cache-kqqn26ch.js} +18 -18
- package/dist/chunks/{usage-limits-kt3bjfbg.js → repository-cache-kt3bjfbg.js} +1 -1
- package/dist/chunks/{usage-limits-a5bwxnk6.js → repository-cache-kwc7zy4y.js} +9 -9
- package/dist/chunks/{usage-limits-kzczzf4v.js → repository-cache-kzczzf4v.js} +1 -1
- package/dist/chunks/{usage-limits-8hfctyyf.js → repository-cache-kzdam8c6.js} +7 -7
- package/dist/chunks/{usage-limits-ys44ckr0.js → repository-cache-m0rb108b.js} +32 -32
- package/dist/chunks/{usage-limits-m1714858.js → repository-cache-m1714858.js} +1 -1
- package/dist/chunks/{usage-limits-jahxfc61.js → repository-cache-m22p9x8d.js} +9 -9
- package/dist/chunks/{usage-limits-f8155kt2.js → repository-cache-m331kn6h.js} +20 -20
- package/dist/chunks/{usage-limits-wwk64ax4.js → repository-cache-m3jqt6zk.js} +24 -24
- package/dist/chunks/{usage-limits-est5w5t7.js → repository-cache-m4yf5w44.js} +4 -4
- package/dist/chunks/{usage-limits-m3vgaj65.js → repository-cache-m565rdqv.js} +35 -35
- package/dist/chunks/{usage-limits-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{usage-limits-mb7mbhnz.js → repository-cache-mb7mbhnz.js} +3 -3
- package/dist/chunks/{usage-limits-b2nnbp2m.js → repository-cache-me0y9ebc.js} +45 -45
- package/dist/chunks/{usage-limits-mf63ygpr.js → repository-cache-mf63ygpr.js} +1 -1
- package/dist/chunks/{usage-limits-fb0bzz90.js → repository-cache-mg8br270.js} +12 -12
- package/dist/chunks/{usage-limits-ts2pxwz7.js → repository-cache-mgm0qeqb.js} +10 -10
- package/dist/chunks/{usage-limits-et2h47vz.js → repository-cache-mmy90578.js} +34 -34
- package/dist/chunks/{usage-limits-d08arqad.js → repository-cache-mnpd6dxn.js} +8 -8
- package/dist/chunks/{usage-limits-wws03c5r.js → repository-cache-mzm8bzzq.js} +4 -4
- package/dist/chunks/{usage-limits-0yqr2mqa.js → repository-cache-n089ht1s.js} +6 -6
- package/dist/chunks/{usage-limits-st9ps93c.js → repository-cache-n3f2mn8p.js} +13 -13
- package/dist/chunks/{usage-limits-nah043kf.js → repository-cache-nah043kf.js} +1 -1
- package/dist/chunks/{usage-limits-5vab2qm0.js → repository-cache-ntx55zw5.js} +6 -6
- package/dist/chunks/{usage-limits-zspqkyq8.js → repository-cache-nv8vmfsp.js} +23 -23
- package/dist/chunks/{usage-limits-y5r7t02p.js → repository-cache-nv8y1yxb.js} +31 -31
- package/dist/chunks/{usage-limits-p015t6z3.js → repository-cache-p015t6z3.js} +2 -2
- package/dist/chunks/{usage-limits-xv0z6cqm.js → repository-cache-p10mzfnc.js} +5 -5
- package/dist/chunks/{usage-limits-6t66hz46.js → repository-cache-p3mdg5wc.js} +9 -9
- package/dist/chunks/{usage-limits-vp2fe4sb.js → repository-cache-p448c2b5.js} +7 -7
- package/dist/chunks/{usage-limits-d2dt6bgk.js → repository-cache-p55ejza0.js} +5 -5
- package/dist/chunks/repository-cache-pcvy2xt8.js +16 -0
- package/dist/chunks/{usage-limits-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{usage-limits-xpmh67q4.js → repository-cache-pshdv7zb.js} +20 -20
- package/dist/chunks/{usage-limits-1ad67qgs.js → repository-cache-q0rw1drr.js} +4 -4
- package/dist/chunks/{usage-limits-4xkmjgmt.js → repository-cache-qdba8bbt.js} +11 -11
- package/dist/chunks/{usage-limits-nms0nj6s.js → repository-cache-qe8gqarn.js} +96 -33
- package/dist/chunks/{usage-limits-qp7r0hxv.js → repository-cache-qp7r0hxv.js} +1 -1
- package/dist/chunks/{usage-limits-qqvy8y24.js → repository-cache-qqvy8y24.js} +1 -1
- package/dist/chunks/{usage-limits-dr1mh1e2.js → repository-cache-qsqjr4br.js} +6 -6
- package/dist/chunks/{usage-limits-wexf2k6a.js → repository-cache-qx265qvg.js} +5 -5
- package/dist/chunks/{usage-limits-78chz8f7.js → repository-cache-qxd5p6a5.js} +5 -5
- package/dist/chunks/{usage-limits-mfb8fvgk.js → repository-cache-r05rf7q0.js} +15 -15
- package/dist/chunks/{usage-limits-8t99kr38.js → repository-cache-r17fbvme.js} +4 -4
- package/dist/chunks/{usage-limits-gt8c490j.js → repository-cache-r22r6fnc.js} +1 -1
- package/dist/chunks/{usage-limits-dj5xkk94.js → repository-cache-r7r88gw3.js} +2 -2
- package/dist/chunks/{usage-limits-edgxprr1.js → repository-cache-r8k6rspn.js} +15 -15
- package/dist/chunks/{usage-limits-ay792qyq.js → repository-cache-r9ws92vf.js} +16 -16
- package/dist/chunks/{usage-limits-86mma9zn.js → repository-cache-rakn3sek.js} +7 -7
- package/dist/chunks/{usage-limits-rb9dy4dg.js → repository-cache-rb9dy4dg.js} +1 -1
- package/dist/chunks/{usage-limits-2yey7seh.js → repository-cache-rcyxca26.js} +3 -3
- package/dist/chunks/{usage-limits-229tvxdn.js → repository-cache-rj7j5fvs.js} +4 -4
- package/dist/chunks/{usage-limits-5vtcgmtv.js → repository-cache-rk98nmz9.js} +4 -4
- package/dist/chunks/{usage-limits-jkety0w8.js → repository-cache-rpw7k5ha.js} +26 -26
- package/dist/chunks/{usage-limits-rt5dr6hb.js → repository-cache-rt5dr6hb.js} +1 -1
- package/dist/chunks/{usage-limits-v05vmyvq.js → repository-cache-rycty3h8.js} +23 -23
- package/dist/chunks/{usage-limits-722v3f7j.js → repository-cache-s0na53r1.js} +4 -4
- package/dist/chunks/{usage-limits-sa3fpqfw.js → repository-cache-sa3fpqfw.js} +2 -2
- package/dist/chunks/{usage-limits-qvtwmp4v.js → repository-cache-sbegqkxp.js} +6 -6
- package/dist/chunks/{usage-limits-sbya78hr.js → repository-cache-sbya78hr.js} +1 -1
- package/dist/chunks/{usage-limits-mqe7nf5n.js → repository-cache-sbz71ybr.js} +3 -3
- package/dist/chunks/{usage-limits-jc512s3p.js → repository-cache-sj7nrpyn.js} +8 -8
- package/dist/chunks/{usage-limits-pa1a0j55.js → repository-cache-smg7hj1m.js} +16 -16
- package/dist/chunks/{usage-limits-svcy3p9a.js → repository-cache-svcy3p9a.js} +1 -1
- package/dist/chunks/{usage-limits-3wq5ff7w.js → repository-cache-sx8xtdmr.js} +9 -9
- package/dist/chunks/{usage-limits-szwm4crx.js → repository-cache-szwm4crx.js} +4 -4
- package/dist/chunks/{usage-limits-z1tssbze.js → repository-cache-t4s5sbv2.js} +16 -16
- package/dist/chunks/{usage-limits-kze6nzna.js → repository-cache-tb2mrvc9.js} +7 -7
- package/dist/chunks/{usage-limits-tczq8hjw.js → repository-cache-tczq8hjw.js} +1 -1
- package/dist/chunks/{usage-limits-ndhnfkvh.js → repository-cache-tjhb89td.js} +13 -13
- package/dist/chunks/{usage-limits-w122sk5d.js → repository-cache-tkrm9k8y.js} +18 -18
- package/dist/chunks/{usage-limits-yz5cvm2f.js → repository-cache-tpfpb9s5.js} +38 -33
- package/dist/chunks/{usage-limits-tr8x705m.js → repository-cache-tr8x705m.js} +1 -1
- package/dist/chunks/{usage-limits-twssxy5n.js → repository-cache-twssxy5n.js} +2 -2
- package/dist/chunks/{usage-limits-vk3q8dk8.js → repository-cache-v0t2k871.js} +20 -20
- package/dist/chunks/{usage-limits-v2r1d0zg.js → repository-cache-v2r1d0zg.js} +1 -1
- package/dist/chunks/{usage-limits-n6fs3bja.js → repository-cache-v72wqacp.js} +5 -5
- package/dist/chunks/{usage-limits-dz5wpkka.js → repository-cache-v74grx7e.js} +78 -78
- package/dist/chunks/{usage-limits-z6d0z892.js → repository-cache-v8bxmdat.js} +22 -22
- package/dist/chunks/{usage-limits-g3n6zr0q.js → repository-cache-v8m2b17w.js} +18 -18
- package/dist/chunks/{usage-limits-qr98zwtf.js → repository-cache-vb6anx8h.js} +7 -7
- package/dist/chunks/{usage-limits-67mxzy6e.js → repository-cache-vb6mr57d.js} +7 -7
- package/dist/chunks/{usage-limits-1r7ngzn2.js → repository-cache-vef27pfx.js} +8 -8
- package/dist/chunks/{usage-limits-vjf35v1f.js → repository-cache-vjf35v1f.js} +1 -1
- package/dist/chunks/{usage-limits-vt4r9rmy.js → repository-cache-vq0qa3sh.js} +9 -9
- package/dist/chunks/{usage-limits-hr1kxf88.js → repository-cache-vtjt5gwq.js} +19 -19
- package/dist/chunks/{usage-limits-t1stt9hn.js → repository-cache-vxepbk5t.js} +2 -2
- package/dist/chunks/{usage-limits-wnk5ar3r.js → repository-cache-w21atb39.js} +31 -31
- package/dist/chunks/{usage-limits-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{usage-limits-wakvkjy4.js → repository-cache-wakvkjy4.js} +1 -1
- package/dist/chunks/{usage-limits-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{usage-limits-wegkxhrn.js → repository-cache-wegkxhrn.js} +2 -2
- package/dist/chunks/{usage-limits-zvnnb0kw.js → repository-cache-whwppsjz.js} +10 -10
- package/dist/chunks/{usage-limits-s8k9enqw.js → repository-cache-wmcedxv4.js} +6 -6
- package/dist/chunks/{usage-limits-wnhgecwx.js → repository-cache-wnhgecwx.js} +1 -1
- package/dist/chunks/{usage-limits-82p3xxjd.js → repository-cache-wp3c4493.js} +17 -17
- package/dist/chunks/{usage-limits-hj4hpdby.js → repository-cache-wqdv6afr.js} +12 -12
- package/dist/chunks/{usage-limits-1te5e7hz.js → repository-cache-wrbn5hqr.js} +9 -9
- package/dist/chunks/{usage-limits-3m771afa.js → repository-cache-wskayef6.js} +5 -5
- package/dist/chunks/{usage-limits-wvr8xscb.js → repository-cache-wvr8xscb.js} +1 -1
- package/dist/chunks/{usage-limits-x150ncgg.js → repository-cache-x150ncgg.js} +2 -2
- package/dist/chunks/{usage-limits-a62h5j2e.js → repository-cache-x5vzffch.js} +10 -10
- package/dist/chunks/{usage-limits-2dvhsjqp.js → repository-cache-xc5da999.js} +11 -11
- package/dist/chunks/repository-cache-xjey0mk6.js +26 -0
- package/dist/chunks/{usage-limits-7rvhzgwz.js → repository-cache-xkj25y3n.js} +27 -27
- package/dist/chunks/{usage-limits-vh2kh9ps.js → repository-cache-xp0nj7k3.js} +59 -59
- package/dist/chunks/{usage-limits-j4he7vbr.js → repository-cache-xp807jap.js} +37 -37
- package/dist/chunks/{usage-limits-tttefmwe.js → repository-cache-xqnmsxz4.js} +11 -11
- package/dist/chunks/{usage-limits-0yzyh1k4.js → repository-cache-xt4k4j7x.js} +11 -11
- package/dist/chunks/{usage-limits-rf6sfr73.js → repository-cache-y0aw87gj.js} +11 -11
- package/dist/chunks/{usage-limits-4e9mk02g.js → repository-cache-y2xgxkw5.js} +13 -13
- package/dist/chunks/{usage-limits-7t3wwtad.js → repository-cache-y3rqhyb5.js} +3 -3
- package/dist/chunks/{usage-limits-jcw9q93v.js → repository-cache-y5n6x8yr.js} +5 -5
- package/dist/chunks/{usage-limits-yara3q77.js → repository-cache-yara3q77.js} +2 -2
- package/dist/chunks/{usage-limits-yb20nhc3.js → repository-cache-yb20nhc3.js} +1 -1
- package/dist/chunks/{usage-limits-v5hpj9dd.js → repository-cache-ydsespw1.js} +8 -8
- package/dist/chunks/{usage-limits-sa94484w.js → repository-cache-ygbxmy97.js} +10 -10
- package/dist/chunks/{usage-limits-kv32qzfx.js → repository-cache-yh22z49b.js} +30 -30
- package/dist/chunks/{usage-limits-qzyxykh8.js → repository-cache-yny3wgz0.js} +21 -21
- package/dist/chunks/{usage-limits-yr705xyq.js → repository-cache-yr705xyq.js} +1 -1
- package/dist/chunks/{usage-limits-63rvx2n8.js → repository-cache-ysq00ca8.js} +37 -37
- package/dist/chunks/{usage-limits-rkc3ajpz.js → repository-cache-z5t9gv20.js} +11 -11
- package/dist/chunks/repository-cache-z7bdqmx5.js +18 -0
- package/dist/chunks/{usage-limits-j9nxzz3g.js → repository-cache-ze75qvmd.js} +3 -3
- package/dist/chunks/{usage-limits-93c35svs.js → repository-cache-zf3hf96a.js} +30 -30
- package/dist/chunks/{usage-limits-dfc1rvk0.js → repository-cache-zf8tyrr2.js} +32 -32
- package/dist/chunks/{usage-limits-ftpc4j95.js → repository-cache-zhc535nw.js} +7 -7
- package/dist/chunks/{usage-limits-6c389fb6.js → repository-cache-zs8hhkys.js} +17 -17
- package/dist/chunks/{usage-limits-0z443j1w.js → repository-cache-zwtmdy2h.js} +4 -4
- package/dist/chunks/{usage-limits-b6jy2ery.js → repository-cache-zy3gcy6m.js} +79 -79
- package/dist/chunks/{usage-limits-963hk181.js → repository-cache-zyfhsknv.js} +9 -9
- package/dist/chunks/{usage-limits-sz2wkw2f.js → repository-cache-zzhnk88p.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +92 -92
- 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 +132 -132
- package/dist/config/plugin/mcp.js +141 -141
- 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 +132 -132
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +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 +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/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.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 +428 -428
- 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 +81 -81
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -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 +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 +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 +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- 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 +3 -3
- 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 +419 -419
- package/dist/instruction-discovery.js +93 -93
- 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 +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +172 -172
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +416 -416
- 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 +118 -118
- 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 +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 +87 -87
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +149 -149
- 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 +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +3 -3
- 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 +395 -395
- 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 +130 -130
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +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 +5 -5
- 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 +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 +106 -106
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +108 -108
- 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 +105 -105
- 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/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 +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +210 -210
- package/dist/plugin/sdk.js +87 -87
- 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 +407 -407
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +241 -241
- 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 +103 -103
- package/dist/provider.js +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +108 -108
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- 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 +171 -171
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +243 -243
- 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 +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +164 -164
- package/dist/session/model-transport.js +5 -5
- 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 +250 -250
- 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 +1 -1
- package/dist/session/session.js +179 -179
- 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 +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +225 -225
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +235 -235
- package/dist/session/usage.js +3 -3
- package/dist/session.js +229 -229
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +150 -150
- package/dist/snapshot.js +104 -104
- 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 +180 -180
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +166 -166
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +239 -239
- 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 +235 -235
- 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 +155 -155
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +166 -166
- 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 +157 -157
- package/dist/types/permission.d.ts +2 -0
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +99 -99
- 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 +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/usage-limits-365eavge.js +0 -16
- package/dist/chunks/usage-limits-4pas2eyt.js +0 -549
- package/dist/chunks/usage-limits-a1atzy4k.js +0 -26
- package/dist/chunks/usage-limits-ev660z6k.js +0 -18
- package/dist/chunks/usage-limits-mc2en7xz.js +0 -261
- /package/dist/chunks/{usage-limits-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{usage-limits-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{usage-limits-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{usage-limits-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{usage-limits-1kah00gy.js → repository-cache-1kah00gy.js} +0 -0
- /package/dist/chunks/{usage-limits-1pevy3nx.js → repository-cache-1pevy3nx.js} +0 -0
- /package/dist/chunks/{usage-limits-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{usage-limits-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{usage-limits-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
- /package/dist/chunks/{usage-limits-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{usage-limits-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{usage-limits-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{usage-limits-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{usage-limits-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{usage-limits-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{usage-limits-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{usage-limits-4qk9sjk2.js → repository-cache-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{usage-limits-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{usage-limits-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{usage-limits-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{usage-limits-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{usage-limits-5w3e23ze.js → repository-cache-5w3e23ze.js} +0 -0
- /package/dist/chunks/{usage-limits-6agm2x70.js → repository-cache-6agm2x70.js} +0 -0
- /package/dist/chunks/{usage-limits-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{usage-limits-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{usage-limits-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{usage-limits-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{usage-limits-7stb81gk.js → repository-cache-7stb81gk.js} +0 -0
- /package/dist/chunks/{usage-limits-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{usage-limits-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
- /package/dist/chunks/{usage-limits-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{usage-limits-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{usage-limits-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{usage-limits-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{usage-limits-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{usage-limits-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{usage-limits-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{usage-limits-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{usage-limits-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{usage-limits-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{usage-limits-beh6qq61.js → repository-cache-beh6qq61.js} +0 -0
- /package/dist/chunks/{usage-limits-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{usage-limits-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{usage-limits-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{usage-limits-cqv5kn06.js → repository-cache-cqv5kn06.js} +0 -0
- /package/dist/chunks/{usage-limits-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{usage-limits-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{usage-limits-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{usage-limits-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{usage-limits-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{usage-limits-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{usage-limits-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{usage-limits-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{usage-limits-ean2d8b5.js → repository-cache-ean2d8b5.js} +0 -0
- /package/dist/chunks/{usage-limits-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{usage-limits-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{usage-limits-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{usage-limits-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{usage-limits-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{usage-limits-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{usage-limits-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{usage-limits-fkpq3x5p.js → repository-cache-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{usage-limits-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{usage-limits-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{usage-limits-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{usage-limits-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{usage-limits-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
- /package/dist/chunks/{usage-limits-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{usage-limits-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{usage-limits-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{usage-limits-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{usage-limits-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{usage-limits-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{usage-limits-jwr30sdr.js → repository-cache-jwr30sdr.js} +0 -0
- /package/dist/chunks/{usage-limits-jze0r7bz.js → repository-cache-jze0r7bz.js} +0 -0
- /package/dist/chunks/{usage-limits-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{usage-limits-m18g726c.js → repository-cache-m18g726c.js} +0 -0
- /package/dist/chunks/{usage-limits-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{usage-limits-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{usage-limits-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{usage-limits-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{usage-limits-nh4v3znn.js → repository-cache-nh4v3znn.js} +0 -0
- /package/dist/chunks/{usage-limits-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{usage-limits-p71gwv9c.js → repository-cache-p71gwv9c.js} +0 -0
- /package/dist/chunks/{usage-limits-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{usage-limits-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{usage-limits-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{usage-limits-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{usage-limits-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{usage-limits-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{usage-limits-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{usage-limits-qtf35215.js → repository-cache-qtf35215.js} +0 -0
- /package/dist/chunks/{usage-limits-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{usage-limits-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{usage-limits-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{usage-limits-t03h4f5z.js → repository-cache-t03h4f5z.js} +0 -0
- /package/dist/chunks/{usage-limits-ty7weeps.js → repository-cache-ty7weeps.js} +0 -0
- /package/dist/chunks/{usage-limits-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
- /package/dist/chunks/{usage-limits-vtarvj67.js → repository-cache-vtarvj67.js} +0 -0
- /package/dist/chunks/{usage-limits-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{usage-limits-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{usage-limits-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{usage-limits-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{usage-limits-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{usage-limits-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{usage-limits-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{usage-limits-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{usage-limits-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{usage-limits-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{usage-limits-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveModel2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-7nqkf5r1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/identity.ts
|
|
9
9
|
var exports_identity = {};
|
|
10
10
|
__export(exports_identity, {
|
|
11
11
|
IdentityPlugin: () => exports_identity,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin13,
|
|
13
13
|
identity: () => identity2
|
|
14
14
|
});
|
|
15
15
|
import { SystemPart } from "@opencode/ai/effect";
|
|
@@ -24,7 +24,7 @@ function identity2(model) {
|
|
|
24
24
|
].join(`
|
|
25
25
|
`);
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var Plugin13 = define({
|
|
28
28
|
id: "opencode.prompt.identity",
|
|
29
29
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -37,4 +37,4 @@ var Plugin43 = define({
|
|
|
37
37
|
})
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
export { identity2,
|
|
40
|
+
export { identity2, Plugin13, exports_identity };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./repository-cache-tpfpb9s5.js";
|
|
4
4
|
import {
|
|
5
5
|
definition2,
|
|
6
6
|
normalizedName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-7stb81gk.js";
|
|
8
8
|
import {
|
|
9
9
|
toSessionError2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-hzzg9aka.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service45
|
|
13
|
+
} from "./repository-cache-pcvy2xt8.js";
|
|
14
14
|
import {
|
|
15
15
|
extension2,
|
|
16
16
|
display2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-cache-7be6ej80.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/codemode/tool.ts
|
|
23
23
|
var exports_tool2 = {};
|
|
@@ -102,7 +102,7 @@ var create3 = (inventory, executeTool, permission) => {
|
|
|
102
102
|
return resultValue(executed);
|
|
103
103
|
}),
|
|
104
104
|
hooks: progressHooks(record)
|
|
105
|
-
}), Effect.onError(() => lock.withPermit(Ref.get(trailing).pipe(Effect.flatMap((pending) => pending ? publish : Effect.void)))), Effect.provideService(
|
|
105
|
+
}), Effect.onError(() => lock.withPermit(Ref.get(trailing).pipe(Effect.flatMap((pending) => pending ? publish : Effect.void)))), Effect.provideService(Service45, context), Effect.provideService(Service68, permission));
|
|
106
106
|
const toolCalls = yield* Ref.get(calls);
|
|
107
107
|
const collected = (yield* Ref.get(files)).toSorted((left, right) => left.index - right.index).flatMap((item) => item.files);
|
|
108
108
|
const output = formatResult(result);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AGENT_OPTION2,
|
|
3
3
|
INSTRUCTIONS_OPTION2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-kj9n5bvh.js";
|
|
5
5
|
import {
|
|
6
6
|
ID3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-whwppsjz.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/claude-agent/instructions.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ClaudeInstructions: () =>
|
|
13
|
+
var exports_instructions = {};
|
|
14
|
+
__export(exports_instructions, {
|
|
15
|
+
ClaudeInstructions: () => exports_instructions,
|
|
16
16
|
register: () => register3
|
|
17
17
|
});
|
|
18
18
|
import { Effect, Option, Schema } from "effect";
|
|
@@ -49,4 +49,4 @@ function instructions(system) {
|
|
|
49
49
|
`);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export { register3,
|
|
52
|
+
export { register3, exports_instructions };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider3 = {};
|
|
10
10
|
__export(exports_provider3, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider3,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info21,
|
|
13
13
|
Model: () => Model3,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model3 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info21 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -91,4 +91,4 @@ var Info19 = Schema.Struct({
|
|
|
91
91
|
models: Schema.optional(Schema.Record(Schema.String, Model3))
|
|
92
92
|
}).annotate({ identifier: "ProviderConfig" });
|
|
93
93
|
|
|
94
|
-
export { ModelStatus2, Model3,
|
|
94
|
+
export { ModelStatus2, Model3, Info21, exports_provider3 };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/codemode/execution.ts
|
|
6
|
+
var exports_execution2 = {};
|
|
7
|
+
__export(exports_execution2, {
|
|
8
|
+
CodeModeExecution: () => exports_execution2,
|
|
9
|
+
Service: () => Service45
|
|
10
|
+
});
|
|
11
|
+
import { Context } from "effect";
|
|
12
|
+
|
|
13
|
+
class Service45 extends Context.Service()("@opencode/CodeModeExecution") {
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { Service45, exports_execution2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-6a6erb7h.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-4d2dtj2f.js";
|
|
8
8
|
import {
|
|
9
9
|
Service88,
|
|
10
10
|
node91
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-cns3s1jh.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessageTable2,
|
|
17
17
|
SessionInboxTable2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-mb7mbhnz.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionMessage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-gftt206x.js";
|
|
22
22
|
import {
|
|
23
23
|
UserPayload3
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-fg9p65nk.js";
|
|
25
25
|
import {
|
|
26
26
|
hydrateInbox2,
|
|
27
27
|
keepInboxRefs2,
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
externalizePayload2,
|
|
30
30
|
recordRefs2,
|
|
31
31
|
releaseMessage2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-cache-qsqjr4br.js";
|
|
33
33
|
import {
|
|
34
34
|
decodeMessageRows2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./repository-cache-sx8xtdmr.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/inbox.ts
|
|
41
41
|
var exports_inbox = {};
|
|
@@ -43,7 +43,7 @@ __export(exports_inbox, {
|
|
|
43
43
|
Compaction: () => Compaction2,
|
|
44
44
|
CompactionPayload: () => CompactionPayload2,
|
|
45
45
|
Delivery: () => Delivery2,
|
|
46
|
-
Info: () =>
|
|
46
|
+
Info: () => Info11,
|
|
47
47
|
Item: () => Item2,
|
|
48
48
|
LifecycleConflict: () => LifecycleConflict2,
|
|
49
49
|
MediaInfo: () => MediaInfo2,
|
|
@@ -51,7 +51,7 @@ __export(exports_inbox, {
|
|
|
51
51
|
MediaUserPayload: () => MediaUserPayload2,
|
|
52
52
|
Move: () => Move2,
|
|
53
53
|
MovePayload: () => MovePayload2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service42,
|
|
55
55
|
SessionInbox: () => exports_inbox,
|
|
56
56
|
Synthetic: () => Synthetic2,
|
|
57
57
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -59,13 +59,13 @@ __export(exports_inbox, {
|
|
|
59
59
|
UserPayload: () => UserPayload2,
|
|
60
60
|
find: () => find2,
|
|
61
61
|
has: () => has2,
|
|
62
|
-
layer: () =>
|
|
62
|
+
layer: () => layer17,
|
|
63
63
|
list: () => list3,
|
|
64
64
|
listWithRefs: () => listWithRefs2,
|
|
65
65
|
make: () => make27,
|
|
66
66
|
moveIDs: () => moveIDs2,
|
|
67
67
|
nextPromotable: () => nextPromotable2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node44,
|
|
69
69
|
projectAdmitted: () => projectAdmitted2,
|
|
70
70
|
projectCancelled: () => projectCancelled2,
|
|
71
71
|
projectDelivered: () => projectDelivered2,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
Compaction as Compaction2,
|
|
81
81
|
CompactionPayload as CompactionPayload2,
|
|
82
82
|
Delivery as Delivery2,
|
|
83
|
-
Info as
|
|
83
|
+
Info as Info11,
|
|
84
84
|
Item as Item2,
|
|
85
85
|
MediaInfo as MediaInfo2,
|
|
86
86
|
MediaUser as MediaUser2,
|
|
@@ -184,7 +184,7 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
184
184
|
});
|
|
185
185
|
});
|
|
186
186
|
|
|
187
|
-
class
|
|
187
|
+
class Service42 extends Context.Service()("@opencode/SessionInbox") {
|
|
188
188
|
}
|
|
189
189
|
var make27 = Effect.fn("SessionInbox.make")(function* () {
|
|
190
190
|
const database = yield* Service89;
|
|
@@ -206,7 +206,7 @@ var make27 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
206
206
|
inboxID: request.id,
|
|
207
207
|
sessionID: request.sessionID,
|
|
208
208
|
item: request.item
|
|
209
|
-
}).pipe(Effect.map((event) =>
|
|
209
|
+
}).pipe(Effect.map((event) => Info11.make({
|
|
210
210
|
id: request.id,
|
|
211
211
|
sessionID: request.sessionID,
|
|
212
212
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -260,8 +260,8 @@ var make27 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
260
260
|
queue
|
|
261
261
|
};
|
|
262
262
|
});
|
|
263
|
-
var
|
|
264
|
-
var
|
|
263
|
+
var layer17 = Layer.effect(Service42, make27());
|
|
264
|
+
var node44 = makeGlobalNode({ service: Service42, layer: layer17, deps: [node92, node91] });
|
|
265
265
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
266
266
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
267
267
|
if (message !== undefined)
|
|
@@ -385,4 +385,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
385
385
|
return rows;
|
|
386
386
|
}));
|
|
387
387
|
|
|
388
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
388
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info11, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service42, make27, layer17, node44, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-6677agsn.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make15 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make20 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make15();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make15, LMStudioPlugin2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service73
|
|
4
|
+
} from "./repository-cache-ae0k5xhg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service65
|
|
7
|
+
} from "./repository-cache-zf8tyrr2.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin50
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin50 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service73;
|
|
27
|
+
const snapshot = yield* Service65;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin18 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin50, exports_snapshot };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./repository-cache-wp3c4493.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./repository-cache-m3jqt6zk.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service53,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-y2xgxkw5.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service63
|
|
14
|
+
} from "./repository-cache-kddfw84h.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service68
|
|
17
|
+
} from "./repository-cache-tpfpb9s5.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service16,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-cnxrm74r.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input12,
|
|
34
|
+
Output: () => Output9,
|
|
35
|
+
Plugin: () => Plugin34,
|
|
36
|
+
name: () => name12
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name12 = "edit";
|
|
43
|
+
var Input12 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input4 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output9 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -178,6 +178,58 @@ var matchView = (source, oldString, newString) => {
|
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
};
|
|
181
|
+
var hintLines = 12;
|
|
182
|
+
var hintLineLength = 200;
|
|
183
|
+
var missHint = (source, oldString, newString) => {
|
|
184
|
+
const view = source.replaceAll(crlf, `
|
|
185
|
+
`);
|
|
186
|
+
const replacement = newString.replaceAll(crlf, `
|
|
187
|
+
`);
|
|
188
|
+
if (replacement.trim().length >= 20 && normalizeForMatch(view).includes(normalizeForMatch(replacement)))
|
|
189
|
+
return "newString is already in the file, so this edit may already be applied.";
|
|
190
|
+
const key = (line) => normalizeForMatch(line).replace(/\s+/g, " ").trim();
|
|
191
|
+
const distinct = (line) => /[\p{L}\p{N}]/u.test(line);
|
|
192
|
+
const lines = view.split(`
|
|
193
|
+
`);
|
|
194
|
+
const search = oldString.replaceAll(crlf, `
|
|
195
|
+
`).split(`
|
|
196
|
+
`);
|
|
197
|
+
const positions = new Map;
|
|
198
|
+
lines.forEach((line, index) => {
|
|
199
|
+
const value = key(line);
|
|
200
|
+
if (!distinct(value))
|
|
201
|
+
return;
|
|
202
|
+
const found = positions.get(value);
|
|
203
|
+
if (found)
|
|
204
|
+
found.push(index);
|
|
205
|
+
else
|
|
206
|
+
positions.set(value, [index]);
|
|
207
|
+
});
|
|
208
|
+
const votes = new Map;
|
|
209
|
+
const wanted = search.filter((line, offset) => {
|
|
210
|
+
const value = key(line);
|
|
211
|
+
if (!distinct(value))
|
|
212
|
+
return false;
|
|
213
|
+
for (const index of positions.get(value) ?? [])
|
|
214
|
+
votes.set(index - offset, (votes.get(index - offset) ?? 0) + 1);
|
|
215
|
+
return true;
|
|
216
|
+
}).length;
|
|
217
|
+
const [start, count] = [...votes].reduce((best, vote) => vote[1] > best[1] ? vote : best, [0, 0]);
|
|
218
|
+
if (count === 0 || count * 2 < wanted)
|
|
219
|
+
return;
|
|
220
|
+
const matched = search.flatMap((line, offset) => {
|
|
221
|
+
const value = key(line);
|
|
222
|
+
const index = start + offset;
|
|
223
|
+
return value !== "" && index >= 0 && index < lines.length && key(lines[index]) === value ? [index] : [];
|
|
224
|
+
});
|
|
225
|
+
const from = matched[0];
|
|
226
|
+
const to = Math.min(matched.at(-1) + 1, from + hintLines);
|
|
227
|
+
return [
|
|
228
|
+
"The closest lines in the file:",
|
|
229
|
+
...lines.slice(from, to).map((line, index) => `${from + index + 1}: ${line.length > hintLineLength ? `${line.slice(0, hintLineLength)}…` : line}`)
|
|
230
|
+
].join(`
|
|
231
|
+
`);
|
|
232
|
+
};
|
|
181
233
|
var countBefore = (positions, offset) => {
|
|
182
234
|
let low = 0;
|
|
183
235
|
let high = positions.length;
|
|
@@ -190,21 +242,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
242
|
}
|
|
191
243
|
return low;
|
|
192
244
|
};
|
|
193
|
-
var
|
|
245
|
+
var Plugin34 = {
|
|
194
246
|
id: "opencode.tool.edit",
|
|
195
247
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
200
|
-
const location = yield*
|
|
201
|
-
const permission = yield*
|
|
248
|
+
const access = yield* Service16;
|
|
249
|
+
const fileMutation = yield* Service53;
|
|
250
|
+
const environment = yield* Service59;
|
|
251
|
+
const formatter = yield* Service63;
|
|
252
|
+
const location = yield* Service80;
|
|
253
|
+
const permission = yield* Service68;
|
|
202
254
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
255
|
+
name: name12,
|
|
204
256
|
options: { codemode: false, permission: "edit" },
|
|
205
257
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
207
|
-
output:
|
|
258
|
+
input: Input12,
|
|
259
|
+
output: Output9,
|
|
208
260
|
execute: (input, context) => {
|
|
209
261
|
return Effect.gen(function* () {
|
|
210
262
|
const permissionSource = {
|
|
@@ -241,8 +293,19 @@ var Plugin22 = {
|
|
|
241
293
|
source: permissionSource
|
|
242
294
|
});
|
|
243
295
|
if (replacements === 0) {
|
|
296
|
+
const readable = yield* permission.allows({
|
|
297
|
+
action: "read",
|
|
298
|
+
resources: [target.resource],
|
|
299
|
+
save: ["*"],
|
|
300
|
+
sessionID: context.sessionID,
|
|
301
|
+
agent: context.agent,
|
|
302
|
+
source: permissionSource
|
|
303
|
+
});
|
|
304
|
+
const hint = readable ? missHint(source, input.oldString, input.newString) : undefined;
|
|
244
305
|
return yield* new ToolFailure({
|
|
245
|
-
message: `Could not find oldString in ${input.path}. It must match exactly, including whitespace and indentation
|
|
306
|
+
message: `Could not find oldString in ${input.path}. It must match exactly, including whitespace and indentation.${hint ? `
|
|
307
|
+
|
|
308
|
+
${hint}` : ""}`
|
|
246
309
|
});
|
|
247
310
|
}
|
|
248
311
|
if (replacements > 1 && input.replaceAll !== true) {
|
|
@@ -276,4 +339,4 @@ var Plugin22 = {
|
|
|
276
339
|
})
|
|
277
340
|
};
|
|
278
341
|
|
|
279
|
-
export {
|
|
342
|
+
export { name12, Input12, Output9, Plugin34, exports_edit };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service73
|
|
4
|
+
} from "./repository-cache-ae0k5xhg.js";
|
|
5
5
|
import {
|
|
6
6
|
BlobTable2,
|
|
7
7
|
BlobRefTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-mb7mbhnz.js";
|
|
9
9
|
import {
|
|
10
10
|
refHash2,
|
|
11
11
|
ref2,
|
|
12
12
|
FileRef2,
|
|
13
13
|
ToolFileRef2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-fg9p65nk.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/session/blob.ts
|
|
20
20
|
var exports_blob = {};
|
|
@@ -191,7 +191,7 @@ var read3 = Effect.fnUntraced(function* (db, hash) {
|
|
|
191
191
|
});
|
|
192
192
|
var hashBytes2 = (raw) => createHash("sha256").update(raw).digest("hex");
|
|
193
193
|
var enabled2 = Effect.gen(function* () {
|
|
194
|
-
const config = yield* Effect.serviceOption(
|
|
194
|
+
const config = yield* Effect.serviceOption(Service73);
|
|
195
195
|
if (Option.isNone(config))
|
|
196
196
|
return false;
|
|
197
197
|
return latest2(yield* config.value.entries(), "experimental")?.media_blob === true;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make31,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9sy1j1hj.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-fffv3p7h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
17
|
var exports_instructions6 = {};
|
|
@@ -113,7 +113,7 @@ var key = Key3.make("core/codemode");
|
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
114
|
var make24 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make31({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|