@opencode/core 0.0.0-dev-445 → 0.0.0-dev-449
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +240 -240
- package/dist/bus.js +84 -84
- package/dist/chunks/{tool-034tev2y.js → file-retention-034tev2y.js} +2 -2
- package/dist/chunks/{tool-5j89vnby.js → file-retention-04s74fx7.js} +8 -8
- package/dist/chunks/{tool-78xkbf55.js → file-retention-06e0bzah.js} +15 -15
- package/dist/chunks/{tool-pqg96c18.js → file-retention-07mz05rb.js} +50 -50
- package/dist/chunks/{tool-jpb17t0e.js → file-retention-0chqk1tf.js} +31 -31
- package/dist/chunks/{tool-0j7gp832.js → file-retention-0j7gp832.js} +1 -1
- package/dist/chunks/{tool-pehkm274.js → file-retention-0j8mhk4d.js} +17 -17
- package/dist/chunks/{tool-0ma9gw4f.js → file-retention-0ma9gw4f.js} +2 -2
- package/dist/chunks/{tool-erqa4ym4.js → file-retention-0n6d4kn5.js} +21 -21
- package/dist/chunks/{tool-7n98e5dz.js → file-retention-0smjzhyp.js} +3 -3
- package/dist/chunks/{tool-9gf1atxf.js → file-retention-0tsw2pcx.js} +32 -32
- package/dist/chunks/{tool-6xvz3m61.js → file-retention-0yn3ka5j.js} +17 -17
- package/dist/chunks/{tool-4wsaayw1.js → file-retention-13k30xes.js} +7 -7
- package/dist/chunks/{tool-1aqsckx4.js → file-retention-1aqsckx4.js} +1 -1
- package/dist/chunks/{tool-1ep2p91f.js → file-retention-1ep2p91f.js} +2 -2
- package/dist/chunks/{tool-0nde5ztd.js → file-retention-1nwxscpy.js} +5 -5
- package/dist/chunks/{tool-sbz71ybr.js → file-retention-1scgcwfj.js} +3 -3
- package/dist/chunks/{tool-0qzsd7h4.js → file-retention-1ss1y6bx.js} +14 -14
- package/dist/chunks/{tool-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
- package/dist/chunks/{tool-p7vhpwh8.js → file-retention-1yq9hg58.js} +5 -5
- package/dist/chunks/{tool-4jd043gh.js → file-retention-237anfc9.js} +22 -22
- package/dist/chunks/{tool-zzm7r7mg.js → file-retention-26tkb14f.js} +14 -14
- package/dist/chunks/{tool-tb2mrvc9.js → file-retention-26wfx3k0.js} +4 -4
- package/dist/chunks/{tool-hhfn9b2w.js → file-retention-28nhxqg9.js} +10 -10
- package/dist/chunks/{tool-37hg9b8g.js → file-retention-2czx47z2.js} +59 -59
- package/dist/chunks/{tool-g6axq7c8.js → file-retention-31avdb49.js} +6 -6
- package/dist/chunks/{tool-a1qh0yc6.js → file-retention-34cvy9ct.js} +18 -18
- package/dist/chunks/{tool-cv5az1t0.js → file-retention-35hcamnh.js} +18 -18
- package/dist/chunks/{tool-dxsywhez.js → file-retention-390xskpw.js} +4 -4
- package/dist/chunks/{tool-dkwky0e9.js → file-retention-3dpbtckw.js} +1 -1
- package/dist/chunks/{tool-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-tkq69f88.js → file-retention-3j68zxqn.js} +9 -9
- package/dist/chunks/{tool-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
- package/dist/chunks/{tool-2b08w8wg.js → file-retention-3q6fzyrv.js} +15 -15
- package/dist/chunks/{tool-m58h2mss.js → file-retention-3rjt9f5s.js} +26 -26
- package/dist/chunks/{tool-h6p8j4j4.js → file-retention-3tfpa1a4.js} +24 -24
- package/dist/chunks/{tool-qmre421v.js → file-retention-3th5y0xn.js} +38 -38
- package/dist/chunks/{tool-555cqe3y.js → file-retention-3vc76bbn.js} +9 -9
- package/dist/chunks/{tool-ff0yba6y.js → file-retention-3whc36fx.js} +12 -12
- package/dist/chunks/{tool-40y6dtc2.js → file-retention-40y6dtc2.js} +1 -1
- package/dist/chunks/{tool-r41sfy63.js → file-retention-40za9wsf.js} +6 -6
- package/dist/chunks/{tool-cvtbhvpz.js → file-retention-41mgdpyq.js} +43 -43
- package/dist/chunks/{tool-kynaxm5r.js → file-retention-433pf4gj.js} +88 -88
- package/dist/chunks/{tool-9e82rw41.js → file-retention-497brhdq.js} +8 -8
- package/dist/chunks/{tool-6sg7v011.js → file-retention-4awjamkd.js} +2 -2
- package/dist/chunks/{tool-67xca3db.js → file-retention-4cqst6fr.js} +7 -7
- package/dist/chunks/{tool-8cg7mtm3.js → file-retention-4d2dtj2f.js} +4 -4
- package/dist/chunks/{tool-4dx1dgte.js → file-retention-4dx1dgte.js} +1 -1
- package/dist/chunks/{tool-4f25tdd0.js → file-retention-4f25tdd0.js} +1 -1
- package/dist/chunks/{tool-4pyp9zr9.js → file-retention-4pyp9zr9.js} +1 -1
- package/dist/chunks/{tool-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
- package/dist/chunks/{tool-psae579h.js → file-retention-4xcsbp6b.js} +6 -6
- package/dist/chunks/{tool-pe5efk4e.js → file-retention-4y9qf8ry.js} +24 -24
- package/dist/chunks/{tool-r0dnx8s7.js → file-retention-50hftrwd.js} +9 -9
- package/dist/chunks/{tool-8dfptpqb.js → file-retention-539dw32x.js} +4 -4
- package/dist/chunks/{tool-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-b6vsg801.js → file-retention-5nnwax6m.js} +5 -5
- package/dist/chunks/{tool-h7ggae4k.js → file-retention-5wwt8jnt.js} +7 -7
- package/dist/chunks/{tool-amcjzf78.js → file-retention-5zgc43gz.js} +11 -11
- package/dist/chunks/{tool-t8ndxv1j.js → file-retention-605b6zwb.js} +15 -15
- package/dist/chunks/{tool-9pfjt3e4.js → file-retention-60m2sppj.js} +11 -11
- package/dist/chunks/{tool-mfmx1eew.js → file-retention-61c892db.js} +1 -1
- package/dist/chunks/{tool-29smdr3c.js → file-retention-62ngxq4c.js} +21 -21
- package/dist/chunks/{tool-c32zfq3f.js → file-retention-64eehrrp.js} +8 -8
- package/dist/chunks/{tool-e354rcns.js → file-retention-68cc458t.js} +12 -12
- package/dist/chunks/{tool-g2b8th34.js → file-retention-6bacesmw.js} +32 -32
- package/dist/chunks/file-retention-6bshxcsx.js +18 -0
- package/dist/chunks/{tool-qj97zj8m.js → file-retention-6ma7pn4v.js} +11 -11
- package/dist/chunks/{tool-1wyzen4g.js → file-retention-6mzz8e2v.js} +48 -48
- package/dist/chunks/{tool-rsb624gb.js → file-retention-6n7kk6x7.js} +11 -11
- package/dist/chunks/{tool-62b0mtf4.js → file-retention-6n8q8wse.js} +11 -11
- package/dist/chunks/{tool-8zzaerw3.js → file-retention-6nkv0fkw.js} +11 -11
- package/dist/chunks/{tool-04hrbnke.js → file-retention-6qj6ge7d.js} +22 -22
- package/dist/chunks/{tool-t5fyb1pe.js → file-retention-70t2yy6e.js} +19 -19
- package/dist/chunks/{tool-mtbbaj7x.js → file-retention-75ax6x68.js} +3 -3
- package/dist/chunks/{tool-jzx7em37.js → file-retention-75zng1ge.js} +18 -18
- package/dist/chunks/{tool-w8qtt4th.js → file-retention-76cb1hcw.js} +4 -4
- package/dist/chunks/{tool-80mg3ag8.js → file-retention-775hqbnd.js} +3 -3
- package/dist/chunks/{tool-t8erkws8.js → file-retention-78p2h4ex.js} +5 -5
- package/dist/chunks/{tool-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-b7tb94b1.js → file-retention-7bt6msz7.js} +22 -22
- package/dist/chunks/{tool-2y7n45nv.js → file-retention-7dhaefc4.js} +20 -20
- package/dist/chunks/{tool-wjet1gt7.js → file-retention-7gaksq79.js} +21 -21
- package/dist/chunks/{tool-n9y93s8c.js → file-retention-7kjy5yhf.js} +9 -9
- package/dist/chunks/{tool-7kr66rt3.js → file-retention-7kr66rt3.js} +1 -1
- package/dist/chunks/{tool-dbvhy92c.js → file-retention-7th9pvxb.js} +29 -29
- package/dist/chunks/{tool-bsfkzme1.js → file-retention-7vk0t554.js} +9 -9
- package/dist/chunks/{tool-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
- package/dist/chunks/{tool-7weczvnd.js → file-retention-7weczvnd.js} +1 -1
- package/dist/chunks/{tool-tv3k6abg.js → file-retention-7xm9wv05.js} +25 -25
- package/dist/chunks/{tool-v37bc009.js → file-retention-81hxxa3v.js} +3 -3
- package/dist/chunks/{tool-89287pr7.js → file-retention-89287pr7.js} +1 -1
- package/dist/chunks/{tool-65531gnt.js → file-retention-89rb9xh3.js} +18 -18
- package/dist/chunks/{tool-8b3vzgkx.js → file-retention-8b3vzgkx.js} +1 -1
- package/dist/chunks/{tool-vv55e3d6.js → file-retention-8f42kaey.js} +16 -16
- package/dist/chunks/{tool-1q4j3vt9.js → file-retention-8gc7e869.js} +18 -18
- package/dist/chunks/{tool-cr2zpvyx.js → file-retention-8j5rt9k2.js} +84 -84
- package/dist/chunks/{tool-6t99sjh8.js → file-retention-8qcax5vp.js} +27 -27
- package/dist/chunks/{tool-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
- package/dist/chunks/{tool-73aa81yw.js → file-retention-8xxrj23x.js} +15 -15
- package/dist/chunks/{tool-2m3wp1kk.js → file-retention-8zh1h1pe.js} +5 -5
- package/dist/chunks/{tool-90zstvax.js → file-retention-90zstvax.js} +1 -1
- package/dist/chunks/{tool-94s5f2xb.js → file-retention-94s5f2xb.js} +1 -1
- package/dist/chunks/{tool-z075a5s0.js → file-retention-95c1p5m6.js} +34 -34
- package/dist/chunks/{tool-wws03c5r.js → file-retention-95sp4hdf.js} +4 -4
- package/dist/chunks/{tool-963hk181.js → file-retention-963hk181.js} +2 -2
- package/dist/chunks/{tool-szwm4crx.js → file-retention-96djdqw5.js} +4 -4
- package/dist/chunks/{tool-1e5yc0yj.js → file-retention-9dwnyty3.js} +8 -8
- package/dist/chunks/{tool-xhhsv7mw.js → file-retention-9e0zdsd0.js} +16 -16
- package/dist/chunks/{tool-8hfqzg5m.js → file-retention-9kgghjmg.js} +7 -7
- package/dist/chunks/{tool-nn1wv3tr.js → file-retention-9mt9fcpt.js} +32 -32
- package/dist/chunks/{tool-3n0w1hcj.js → file-retention-a0vapen2.js} +8 -8
- package/dist/chunks/{tool-m45z9njj.js → file-retention-a1d98dpx.js} +30 -30
- package/dist/chunks/{tool-79sfw1xt.js → file-retention-a3q9dv9j.js} +28 -28
- package/dist/chunks/{tool-7hk62ckt.js → file-retention-a5e6ddn4.js} +37 -37
- package/dist/chunks/{tool-a5fx33f2.js → file-retention-a5fx33f2.js} +2 -2
- package/dist/chunks/{tool-tbw8x9kh.js → file-retention-a95pzf1x.js} +37 -37
- package/dist/chunks/{tool-h4ydtgpm.js → file-retention-aakm8s55.js} +30 -30
- package/dist/chunks/{tool-832bdyzy.js → file-retention-acpwnfxs.js} +15 -15
- package/dist/chunks/{tool-v4ecg2k6.js → file-retention-ae862rdn.js} +9 -9
- package/dist/chunks/{tool-dcwp1qph.js → file-retention-aedrg0ge.js} +25 -25
- package/dist/chunks/{tool-z080rjh6.js → file-retention-anvcme1c.js} +4 -4
- package/dist/chunks/{tool-9wy3h6q7.js → file-retention-aprkypsk.js} +17 -17
- package/dist/chunks/{tool-g1j6mga3.js → file-retention-at1c8yrs.js} +28 -28
- package/dist/chunks/{tool-ayjs7tqn.js → file-retention-ayjs7tqn.js} +2 -2
- package/dist/chunks/{tool-h0sr4r5j.js → file-retention-b5yzcczs.js} +9 -9
- package/dist/chunks/{tool-t885gawg.js → file-retention-b6prfk3g.js} +3 -3
- package/dist/chunks/{tool-rbt3gx7m.js → file-retention-b6wwfjf1.js} +25 -25
- package/dist/chunks/{tool-1vcr586d.js → file-retention-b924sz3m.js} +10 -10
- package/dist/chunks/{tool-bstexjd6.js → file-retention-bstexjd6.js} +1 -1
- package/dist/chunks/{tool-6m7kkc6m.js → file-retention-bt4213zy.js} +10 -10
- package/dist/chunks/{tool-2b7p4jrd.js → file-retention-byjg35ec.js} +5 -5
- package/dist/chunks/{tool-fdjq7h4v.js → file-retention-c2gmg5r9.js} +6 -6
- package/dist/chunks/{tool-8n09hdvs.js → file-retention-ccp6j38y.js} +8 -8
- package/dist/chunks/{tool-7zev22rg.js → file-retention-ccvcfenq.js} +4 -4
- package/dist/chunks/{tool-mn5c993e.js → file-retention-cgy1nctk.js} +11 -11
- package/dist/chunks/{tool-zb6s5z6p.js → file-retention-cjgsn2s6.js} +12 -12
- package/dist/chunks/{tool-d80yaymc.js → file-retention-cmnsegyx.js} +4 -4
- package/dist/chunks/{tool-83qakqap.js → file-retention-cn4qtwde.js} +22 -22
- package/dist/chunks/{tool-re139r5f.js → file-retention-csdmpgm1.js} +24 -24
- package/dist/chunks/{tool-1yrt9mfc.js → file-retention-cse8gxc3.js} +6 -6
- package/dist/chunks/{tool-vt4r9rmy.js → file-retention-ctmpqb7w.js} +9 -9
- package/dist/chunks/{tool-cwrgdav8.js → file-retention-cwrgdav8.js} +2 -2
- package/dist/chunks/{tool-qk5sk9d1.js → file-retention-cxab28sr.js} +7 -7
- package/dist/chunks/{tool-gt5pd5rr.js → file-retention-cxbntz7s.js} +23 -23
- package/dist/chunks/{tool-d4v9tmah.js → file-retention-d4v9tmah.js} +2 -2
- package/dist/chunks/{tool-52nze26m.js → file-retention-db2v7vv4.js} +44 -44
- package/dist/chunks/{tool-b4st0wny.js → file-retention-dgdxz5tx.js} +45 -45
- package/dist/chunks/{tool-0r9rxd8b.js → file-retention-djp2yf7t.js} +32 -32
- package/dist/chunks/{tool-mxqsamga.js → file-retention-dqxhv1nb.js} +21 -21
- package/dist/chunks/{tool-dt77769w.js → file-retention-dt77769w.js} +1 -1
- package/dist/chunks/{tool-s780xm4q.js → file-retention-dvt58bph.js} +11 -11
- package/dist/chunks/{tool-1scpnkam.js → file-retention-dwsd3zgn.js} +13 -13
- package/dist/chunks/{tool-e834z07m.js → file-retention-e834z07m.js} +1 -1
- package/dist/chunks/{tool-kenm8tf1.js → file-retention-ee476ptv.js} +7 -7
- package/dist/chunks/{tool-k3mdht1r.js → file-retention-emaa4905.js} +13 -13
- package/dist/chunks/{tool-a784801j.js → file-retention-enexbtbh.js} +36 -36
- package/dist/chunks/{tool-eqw4pqj1.js → file-retention-eqw4pqj1.js} +2 -2
- package/dist/chunks/{tool-b1wr2abc.js → file-retention-et16066w.js} +23 -23
- package/dist/chunks/{tool-6d0d1q6g.js → file-retention-ewa1ec51.js} +4 -4
- package/dist/chunks/{tool-ayrp2r0n.js → file-retention-f2j6m0ac.js} +17 -17
- package/dist/chunks/{tool-hdssvm4n.js → file-retention-f30y5q5n.js} +11 -11
- package/dist/chunks/{tool-5kexb1yv.js → file-retention-f32h92jn.js} +58 -58
- package/dist/chunks/{tool-zztbgrz9.js → file-retention-f7kqgmxs.js} +7 -7
- package/dist/chunks/{tool-fffv3p7h.js → file-retention-fffv3p7h.js} +1 -1
- package/dist/chunks/{tool-fg9p65nk.js → file-retention-fg9p65nk.js} +2 -2
- package/dist/chunks/{tool-ds7k7p4f.js → file-retention-fsgv702d.js} +48 -48
- package/dist/chunks/{tool-5nzp4atq.js → file-retention-fwwnnvpx.js} +12 -12
- package/dist/chunks/{tool-bsek2bbw.js → file-retention-fx5dbny4.js} +5 -5
- package/dist/chunks/{tool-yx0pjcef.js → file-retention-fyj2mfgy.js} +35 -35
- package/dist/chunks/{tool-k5027ak4.js → file-retention-g4v74gy6.js} +8 -8
- package/dist/chunks/{tool-q5kjt1w2.js → file-retention-g6nneh33.js} +41 -41
- package/dist/chunks/{tool-gbjdnr5j.js → file-retention-gbjdnr5j.js} +2 -2
- package/dist/chunks/{tool-xct3fz6j.js → file-retention-gbyaw8gf.js} +25 -25
- package/dist/chunks/{tool-290jyxrn.js → file-retention-gf5d3kfh.js} +36 -36
- package/dist/chunks/{tool-eyjfkt33.js → file-retention-gmdj38bx.js} +22 -22
- package/dist/chunks/{tool-z5rxwr3j.js → file-retention-gr24kjxn.js} +5 -5
- package/dist/chunks/{tool-h34azzt3.js → file-retention-gt12nt52.js} +17 -17
- package/dist/chunks/{tool-q9v326zp.js → file-retention-gv8nw05x.js} +4 -4
- package/dist/chunks/{tool-e6dhz8k8.js → file-retention-gve1ghrf.js} +2 -2
- package/dist/chunks/{tool-xbc6qp68.js → file-retention-gvefjbhs.js} +6 -6
- package/dist/chunks/{tool-qhnnvwnt.js → file-retention-gxahm4xg.js} +5 -5
- package/dist/chunks/{tool-tg7s7b5t.js → file-retention-gxs71cxp.js} +4 -4
- package/dist/chunks/{tool-sv909n4y.js → file-retention-h5chy42v.js} +3 -3
- package/dist/chunks/{tool-te79g26x.js → file-retention-h5mecdsr.js} +10 -10
- package/dist/chunks/{tool-w5v2pv5a.js → file-retention-h63ygx1j.js} +7 -6
- package/dist/chunks/{tool-z88rdk3t.js → file-retention-h6jcj9p8.js} +9 -9
- package/dist/chunks/file-retention-h80z8qef.js +261 -0
- package/dist/chunks/{tool-2j56ds13.js → file-retention-hb8g288h.js} +18 -18
- package/dist/chunks/{tool-68yz8wc5.js → file-retention-hecddnr3.js} +3 -3
- package/dist/chunks/{tool-qgv65c24.js → file-retention-hkh70t29.js} +11 -11
- package/dist/chunks/{tool-hpg1pkwy.js → file-retention-hpg1pkwy.js} +1 -1
- package/dist/chunks/{tool-q8f5p1vv.js → file-retention-hwq2cs9e.js} +17 -17
- package/dist/chunks/{tool-tr8x705m.js → file-retention-j376ae4e.js} +5 -5
- package/dist/chunks/{tool-2kj7f5bg.js → file-retention-j3f8hyeg.js} +7 -7
- package/dist/chunks/{tool-pjgv8mag.js → file-retention-j7qy0s5h.js} +14 -14
- package/dist/chunks/{tool-ze75qvmd.js → file-retention-j9nxzz3g.js} +3 -3
- package/dist/chunks/{tool-g8088phe.js → file-retention-jjxkdvhg.js} +11 -11
- package/dist/chunks/{tool-bhfd478d.js → file-retention-jkdcm5hg.js} +4 -4
- package/dist/chunks/{tool-jtnps1zs.js → file-retention-jtnps1zs.js} +2 -2
- package/dist/chunks/{tool-44pmzq9c.js → file-retention-jxd6f16v.js} +2 -2
- package/dist/chunks/{tool-yp73enjn.js → file-retention-jz8ht1jj.js} +5 -5
- package/dist/chunks/{tool-xkgdstsx.js → file-retention-kdcv3xak.js} +17 -17
- package/dist/chunks/{tool-yn59mty3.js → file-retention-kf485nxs.js} +35 -35
- package/dist/chunks/{tool-7cs3xdpe.js → file-retention-kmxy273m.js} +5 -5
- package/dist/chunks/{tool-4dtk0t2m.js → file-retention-kpkf4881.js} +13 -13
- package/dist/chunks/{tool-kt3bjfbg.js → file-retention-kt3bjfbg.js} +1 -1
- package/dist/chunks/{tool-y6vvtwtt.js → file-retention-kx4857fp.js} +15 -15
- package/dist/chunks/{tool-4smfr4z1.js → file-retention-kx9qtpmv.js} +17 -17
- package/dist/chunks/{tool-9x0zyyhc.js → file-retention-kyb7yekh.js} +56 -56
- package/dist/chunks/{tool-k0epm85s.js → file-retention-kz7xb2xy.js} +7 -7
- package/dist/chunks/{tool-kzczzf4v.js → file-retention-kzczzf4v.js} +1 -1
- package/dist/chunks/{tool-ejk6sxm0.js → file-retention-kzxm184s.js} +13 -13
- package/dist/chunks/{tool-m1714858.js → file-retention-m1714858.js} +1 -1
- package/dist/chunks/{tool-xy2adanr.js → file-retention-m7sx3bgz.js} +11 -11
- package/dist/chunks/{tool-8etydfns.js → file-retention-m7ykyrbv.js} +22 -22
- package/dist/chunks/{tool-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-mb7mbhnz.js → file-retention-mb7mbhnz.js} +3 -3
- package/dist/chunks/{tool-gp2v4fwm.js → file-retention-me8mm9z9.js} +25 -25
- package/dist/chunks/{tool-yh6977xb.js → file-retention-mr07ez2r.js} +5 -5
- package/dist/chunks/{tool-zcacabc5.js → file-retention-n2pc7kwe.js} +31 -31
- package/dist/chunks/{tool-xywpwjrw.js → file-retention-n56yhxz0.js} +17 -17
- package/dist/chunks/{tool-6cda7skz.js → file-retention-n87deehv.js} +4 -4
- package/dist/chunks/{tool-sg3kcgds.js → file-retention-n9x9rf44.js} +31 -31
- package/dist/chunks/{tool-7mv4edyq.js → file-retention-nyra3b4e.js} +25 -25
- package/dist/chunks/{tool-wjmtt3sa.js → file-retention-nyxfy9wj.js} +12 -12
- package/dist/chunks/{tool-v7cge4gd.js → file-retention-p0g9dthf.js} +14 -14
- package/dist/chunks/{tool-p55ejza0.js → file-retention-p55ejza0.js} +2 -2
- package/dist/chunks/{tool-x7z34gyb.js → file-retention-p96e2xw0.js} +15 -15
- package/dist/chunks/{tool-bcqqg7ry.js → file-retention-p9gybnkz.js} +11 -11
- package/dist/chunks/{tool-dbfaamx1.js → file-retention-p9nz32sq.js} +20 -20
- package/dist/chunks/{tool-rhtjkvex.js → file-retention-pb6wsrs5.js} +6 -6
- package/dist/chunks/{tool-rn9y9nwd.js → file-retention-pdpask2k.js} +28 -28
- package/dist/chunks/{tool-sxbmj56q.js → file-retention-pfb54thj.js} +9 -9
- package/dist/chunks/{tool-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{tool-8jkte0s5.js → file-retention-pn48ae9c.js} +29 -29
- package/dist/chunks/{tool-rj7j5fvs.js → file-retention-px7qpgcn.js} +4 -4
- package/dist/chunks/{tool-ypsgcf07.js → file-retention-pzkzmzjr.js} +48 -48
- package/dist/chunks/{tool-a4ww6fpm.js → file-retention-q85rya1m.js} +6 -6
- package/dist/chunks/{tool-wfd7zevv.js → file-retention-q945z18s.js} +13 -13
- package/dist/chunks/{tool-fb609nat.js → file-retention-qfbjs7tc.js} +30 -29
- package/dist/chunks/{tool-nr915jn7.js → file-retention-qfz6bxfd.js} +4 -4
- package/dist/chunks/{tool-fmrn1hft.js → file-retention-qja0360d.js} +5 -5
- package/dist/chunks/{tool-fwp9mfc9.js → file-retention-qkc3z5ds.js} +4 -4
- package/dist/chunks/{tool-qp7r0hxv.js → file-retention-qp7r0hxv.js} +1 -1
- package/dist/chunks/{tool-qqvy8y24.js → file-retention-qqvy8y24.js} +1 -1
- package/dist/chunks/{tool-57fs3qve.js → file-retention-qs85e3xq.js} +23 -23
- package/dist/chunks/{tool-qsdghx1p.js → file-retention-qsdghx1p.js} +1 -1
- package/dist/chunks/{tool-8wjgamp7.js → file-retention-qw2t3dzn.js} +6 -6
- package/dist/chunks/{tool-pgdk3wa7.js → file-retention-qzdnvnff.js} +8 -8
- package/dist/chunks/{tool-wfs84ra6.js → file-retention-r17fbvme.js} +4 -4
- package/dist/chunks/{tool-ywh3xphk.js → file-retention-ranh0xe7.js} +4 -4
- package/dist/chunks/{tool-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
- package/dist/chunks/{tool-058p9g98.js → file-retention-rdj0vc1c.js} +19 -19
- package/dist/chunks/{tool-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
- package/dist/chunks/{tool-q23ydmn6.js → file-retention-rt5m8xq2.js} +18 -18
- package/dist/chunks/{tool-xksw6ev0.js → file-retention-rt5qjrvj.js} +4 -4
- package/dist/chunks/{tool-vkh42pcj.js → file-retention-rt7n98jb.js} +23 -23
- package/dist/chunks/{tool-2p60zmnr.js → file-retention-s1ba0vj0.js} +2 -2
- package/dist/chunks/{tool-zp1akbf2.js → file-retention-s3ccn36m.js} +29 -29
- package/dist/chunks/{tool-sa3fpqfw.js → file-retention-sa3fpqfw.js} +2 -2
- package/dist/chunks/{tool-b64wsfyg.js → file-retention-sakzxw8a.js} +8 -8
- package/dist/chunks/{tool-sbya78hr.js → file-retention-sbya78hr.js} +1 -1
- package/dist/chunks/{tool-svcy3p9a.js → file-retention-svcy3p9a.js} +1 -1
- package/dist/chunks/{tool-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
- package/dist/chunks/{tool-qrct5xj0.js → file-retention-teyq45ea.js} +5 -5
- package/dist/chunks/{tool-v15137jy.js → file-retention-tfcvmk9c.js} +19 -19
- package/dist/chunks/{tool-160yv0cs.js → file-retention-tg1vr1qt.js} +8 -8
- package/dist/chunks/{tool-n6dz78md.js → file-retention-tmwatq56.js} +8 -8
- package/dist/chunks/{tool-cbs4h58g.js → file-retention-tngvyp2y.js} +34 -34
- package/dist/chunks/{tool-pdjdgfy6.js → file-retention-tq5makbn.js} +30 -30
- package/dist/chunks/{tool-twssxy5n.js → file-retention-twssxy5n.js} +2 -2
- package/dist/chunks/{tool-3wz7pzfc.js → file-retention-txjcpmgd.js} +3 -3
- package/dist/chunks/{tool-zf1j68yb.js → file-retention-txt9e0aq.js} +189 -189
- package/dist/chunks/{tool-kfs9y5dj.js → file-retention-ty3f8ea2.js} +15 -15
- package/dist/chunks/{tool-s79dcpfj.js → file-retention-tykajzt3.js} +27 -27
- package/dist/chunks/{tool-tp9ny8ts.js → file-retention-tz3w010n.js} +14 -14
- package/dist/chunks/{tool-v0t96s7a.js → file-retention-v0t96s7a.js} +1 -1
- package/dist/chunks/{tool-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
- package/dist/chunks/{tool-ffmpd7vv.js → file-retention-v5yvcr0w.js} +5 -5
- package/dist/chunks/{tool-wgbdfxvd.js → file-retention-v6sdsd1y.js} +2 -2
- package/dist/chunks/{tool-m5db3969.js → file-retention-vatt5ny9.js} +8 -8
- package/dist/chunks/{tool-7bfv676c.js → file-retention-vcjsbe3m.js} +94 -94
- package/dist/chunks/{tool-vjf35v1f.js → file-retention-vjf35v1f.js} +1 -1
- package/dist/chunks/{tool-vrcsa8qx.js → file-retention-vrcsa8qx.js} +2 -2
- package/dist/chunks/{tool-t7ymes5c.js → file-retention-vvxtm2dm.js} +29 -29
- package/dist/chunks/{tool-y5dj6wdq.js → file-retention-w0rkd9p8.js} +35 -35
- package/dist/chunks/{tool-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
- package/dist/chunks/{tool-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{tool-wegkxhrn.js → file-retention-wegkxhrn.js} +2 -2
- package/dist/chunks/{tool-g8v7jdav.js → file-retention-wejx1yzz.js} +4 -4
- package/dist/chunks/{tool-3scsgznq.js → file-retention-whgw2pzj.js} +33 -33
- package/dist/chunks/{tool-wnhgecwx.js → file-retention-wnhgecwx.js} +1 -1
- package/dist/chunks/{tool-wr3re1en.js → file-retention-wr3re1en.js} +1 -1
- package/dist/chunks/{tool-wvr8xscb.js → file-retention-wvr8xscb.js} +1 -1
- package/dist/chunks/{tool-z4jb0rsa.js → file-retention-wx1v6zv9.js} +16 -16
- package/dist/chunks/{tool-6ybchgnd.js → file-retention-wzp3mys1.js} +3 -3
- package/dist/chunks/{tool-7t3apcn0.js → file-retention-x38wddp3.js} +12 -12
- package/dist/chunks/{tool-825z9ch3.js → file-retention-x457m8xb.js} +13 -13
- package/dist/chunks/{tool-qbcc8k40.js → file-retention-x8pa5p51.js} +27 -27
- package/dist/chunks/{tool-a237czk6.js → file-retention-x8yhzycg.js} +9 -9
- package/dist/chunks/file-retention-xajdwwy7.js +26 -0
- package/dist/chunks/{tool-zr0ks51n.js → file-retention-xgbbyafx.js} +22 -22
- package/dist/chunks/{tool-htk595z3.js → file-retention-xz5yt0yg.js} +25 -25
- package/dist/chunks/{tool-db7wnpf4.js → file-retention-xzb1rrrv.js} +18 -18
- package/dist/chunks/{tool-zc0xxg4w.js → file-retention-y4f0c2re.js} +21 -21
- package/dist/chunks/{tool-n0jb8c2e.js → file-retention-y8e7ya07.js} +40 -40
- package/dist/chunks/file-retention-y8y3xh3s.js +555 -0
- package/dist/chunks/{tool-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
- package/dist/chunks/{tool-msd2a3qm.js → file-retention-ybws1qgk.js} +4 -4
- package/dist/chunks/{tool-3etgmwdh.js → file-retention-yc2h06fb.js} +16 -16
- package/dist/chunks/{tool-4cdp6f63.js → file-retention-yf177qcx.js} +4 -4
- package/dist/chunks/{tool-ckykdpc8.js → file-retention-yk7egwn6.js} +56 -56
- package/dist/chunks/{tool-yr705xyq.js → file-retention-yr705xyq.js} +1 -1
- package/dist/chunks/{tool-0ybp4qnq.js → file-retention-ys7rp9j6.js} +11 -11
- package/dist/chunks/{tool-rc7cmy01.js → file-retention-yszbb02h.js} +11 -11
- package/dist/chunks/{tool-yvtc2x31.js → file-retention-yvtc2x31.js} +1 -1
- package/dist/chunks/{tool-3smz2ab8.js → file-retention-ywppahe3.js} +32 -32
- package/dist/chunks/{tool-bs9sdagx.js → file-retention-yx1z8yqh.js} +41 -40
- package/dist/chunks/{tool-m4h69yn9.js → file-retention-yxmmjzm7.js} +6 -6
- package/dist/chunks/{tool-0m9q59s6.js → file-retention-yydqqga9.js} +4 -4
- package/dist/chunks/{tool-c291rzpy.js → file-retention-z1qht066.js} +21 -21
- package/dist/chunks/{tool-bgd4zz6g.js → file-retention-z4qfpq4d.js} +21 -21
- package/dist/chunks/{tool-1z80j9s6.js → file-retention-z5s1hzbx.js} +24 -24
- package/dist/chunks/{tool-53qxhngr.js → file-retention-z8w58q3b.js} +4 -4
- package/dist/chunks/{tool-eavck919.js → file-retention-z9ersv62.js} +6 -6
- package/dist/chunks/{tool-fbywdd3x.js → file-retention-zd3y931c.js} +18 -18
- package/dist/chunks/{tool-7wx6r3ca.js → file-retention-zece804q.js} +10 -10
- package/dist/chunks/{tool-zm27gg57.js → file-retention-zm27gg57.js} +2 -2
- package/dist/chunks/{tool-737qxf4j.js → file-retention-zsv35m7p.js} +10 -10
- package/dist/chunks/{tool-4z3kjcpx.js → file-retention-ztvrq7gb.js} +12 -12
- package/dist/chunks/{tool-7gba69t1.js → file-retention-ztz48n3d.js} +8 -8
- 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 +7 -7
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +96 -96
- package/dist/config/discovery.js +97 -97
- 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 +130 -130
- package/dist/config/plugin/command.js +229 -229
- 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 +137 -137
- 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 +151 -151
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +131 -131
- 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 +92 -92
- 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 +100 -100
- 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 +1 -1
- 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 +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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +245 -245
- package/dist/filesystem/protected.js +3 -3
- 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 +117 -117
- package/dist/form.js +89 -89
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +112 -112
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +421 -421
- package/dist/instruction-discovery.js +91 -91
- 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 +96 -96
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +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 +98 -98
- 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 +179 -179
- 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 +112 -112
- 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 +93 -93
- 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 +95 -95
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +113 -113
- 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 +7 -7
- package/dist/plugin/provider/claude-agent/index.js +143 -143
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +111 -111
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +110 -110
- 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 +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 +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 +409 -409
- 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 +6 -6
- 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 +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +97 -97
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +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 +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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +242 -242
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +200 -200
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +149 -149
- 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 +143 -143
- 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 +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 +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 +84 -84
- 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 +229 -229
- 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 +240 -240
- package/dist/session/usage.js +1 -1
- package/dist/session.js +233 -233
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +144 -144
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +149 -149
- package/dist/skill.js +154 -154
- 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 +178 -178
- 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 +160 -160
- 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 +166 -166
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +163 -163
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +233 -233
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +234 -234
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +153 -153
- 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 +161 -161
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- 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 +2 -2
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- 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 +105 -105
- package/package.json +8 -8
- package/dist/chunks/tool-2t0varmf.js +0 -26
- package/dist/chunks/tool-447e52ps.js +0 -555
- package/dist/chunks/tool-ezna1kdx.js +0 -18
- package/dist/chunks/tool-rks6qm78.js +0 -261
- /package/dist/chunks/{tool-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kah00gy.js → file-retention-1kah00gy.js} +0 -0
- /package/dist/chunks/{tool-1pevy3nx.js → file-retention-1pevy3nx.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4qk9sjk2.js → file-retention-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5w3e23ze.js → file-retention-5w3e23ze.js} +0 -0
- /package/dist/chunks/{tool-6agm2x70.js → file-retention-6agm2x70.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-beh6qq61.js → file-retention-beh6qq61.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cqv5kn06.js → file-retention-cqv5kn06.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-dbht28n9.js → file-retention-dbht28n9.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ean2d8b5.js → file-retention-ean2d8b5.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fkpq3x5p.js → file-retention-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jwr30sdr.js → file-retention-jwr30sdr.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-m18g726c.js → file-retention-m18g726c.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-nh4v3znn.js → file-retention-nh4v3znn.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-p71gwv9c.js → file-retention-p71gwv9c.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-syrav9an.js → file-retention-syrav9an.js} +0 -0
- /package/dist/chunks/{tool-t03h4f5z.js → file-retention-t03h4f5z.js} +0 -0
- /package/dist/chunks/{tool-ty7weeps.js → file-retention-ty7weeps.js} +0 -0
- /package/dist/chunks/{tool-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
- /package/dist/chunks/{tool-vtarvj67.js → file-retention-vtarvj67.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service90,
|
|
6
6
|
node93
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Service89,
|
|
10
|
-
node92
|
|
11
|
-
} from "./tool-ff0yba6y.js";
|
|
7
|
+
} from "./file-retention-wzp3mys1.js";
|
|
12
8
|
import {
|
|
13
9
|
Service88,
|
|
14
10
|
node91
|
|
15
|
-
} from "./
|
|
11
|
+
} from "./file-retention-3whc36fx.js";
|
|
12
|
+
import {
|
|
13
|
+
Service87,
|
|
14
|
+
node90
|
|
15
|
+
} from "./file-retention-nyxfy9wj.js";
|
|
16
16
|
import {
|
|
17
17
|
ID22,
|
|
18
18
|
Current3,
|
|
@@ -20,20 +20,20 @@ import {
|
|
|
20
20
|
UpdateInput5,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-963hk181.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-retention-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-zm27gg57.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-retention-ayjs7tqn.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
@@ -44,11 +44,11 @@ __export(exports_project, {
|
|
|
44
44
|
Info: () => Info31,
|
|
45
45
|
NotFoundError: () => NotFoundError14,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service86,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
50
|
configured: () => configured12,
|
|
51
|
-
node: () =>
|
|
51
|
+
node: () => node89,
|
|
52
52
|
root: () => root2,
|
|
53
53
|
sweepNode: () => sweepNode2
|
|
54
54
|
});
|
|
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
|
|
|
87
87
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
88
88
|
var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service86 extends Context.Service()("@opencode/Project") {
|
|
91
91
|
}
|
|
92
92
|
function fromRow(row) {
|
|
93
93
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -111,12 +111,12 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service87;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service88;
|
|
120
120
|
const db = (yield* Service90).db;
|
|
121
121
|
const scope = yield* Scope.Scope;
|
|
122
122
|
const announcing = new Set;
|
|
@@ -345,23 +345,23 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
345
345
|
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
346
346
|
}), { concurrency: 8, discard: true });
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service86.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
350
|
function configured12(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service86,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [
|
|
354
|
+
deps: [node91, node93, FSUtil.node, node90, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node89 = configured12();
|
|
358
358
|
var sweepNode2 = makeGlobalNode({
|
|
359
359
|
name: "project-archive-sweep",
|
|
360
360
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
361
|
-
const project = yield*
|
|
361
|
+
const project = yield* Service86;
|
|
362
362
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
363
363
|
})),
|
|
364
|
-
deps: [
|
|
364
|
+
deps: [node89]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2,
|
|
367
|
+
export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service86, configured12, node89, sweepNode2, exports_project };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID16
|
|
3
|
+
} from "./file-retention-qfbjs7tc.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-cse8gxc3.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialSettings2,
|
|
9
9
|
metadataSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-ztz48n3d.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
13
13
|
import { Effect } from "effect";
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Form } from "@opencode/schema/form";
|
|
16
|
-
var providerID =
|
|
16
|
+
var providerID = ID16.make("cloudflare-workers-ai");
|
|
17
17
|
var CloudflareWorkersAIPlugin2 = define({
|
|
18
18
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
19
19
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service88,
|
|
3
|
+
node91
|
|
4
|
+
} from "./file-retention-3whc36fx.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service85,
|
|
11
|
+
node88
|
|
12
|
+
} from "./file-retention-tz3w010n.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID16,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Service81,
|
|
20
|
+
node84,
|
|
21
21
|
Event17
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-retention-qfbjs7tc.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -32,17 +32,17 @@ __export(exports_model2, {
|
|
|
32
32
|
Cost: () => Cost2,
|
|
33
33
|
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID15,
|
|
36
|
+
Info: () => Info23,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service80,
|
|
41
41
|
Type: () => Type2,
|
|
42
42
|
VariantID: () => VariantID2,
|
|
43
43
|
compatibility: () => compatibility2,
|
|
44
44
|
mergeCapabilities: () => mergeCapabilities2,
|
|
45
|
-
node: () =>
|
|
45
|
+
node: () => node83,
|
|
46
46
|
parse: () => parse5,
|
|
47
47
|
supportsText: () => supportsText2
|
|
48
48
|
});
|
|
@@ -51,7 +51,7 @@ import { Context, Effect, Layer, Stream } from "effect";
|
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import { freeze } from "immer";
|
|
53
53
|
import { Event as Event16 } from "@opencode/schema/model";
|
|
54
|
-
var
|
|
54
|
+
var ID15 = Model.ID;
|
|
55
55
|
var VariantID2 = Model.VariantID;
|
|
56
56
|
var Family2 = Model.Family;
|
|
57
57
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -69,14 +69,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
69
69
|
var Cost2 = Model.Cost;
|
|
70
70
|
var Type2 = Model.Type;
|
|
71
71
|
var Ref3 = Model.Ref;
|
|
72
|
-
var
|
|
72
|
+
var Info23 = Model.Info;
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service80 extends Context.Service()("@opencode/Model") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const providers = yield*
|
|
78
|
-
const bus = yield*
|
|
79
|
-
const location = yield*
|
|
76
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
77
|
+
const providers = yield* Service81;
|
|
78
|
+
const bus = yield* Service88;
|
|
79
|
+
const location = yield* Service85;
|
|
80
80
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
81
81
|
let input;
|
|
82
82
|
const state = create4({
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
122
122
|
const models = writable(providerID);
|
|
123
123
|
if (!models)
|
|
124
124
|
return;
|
|
125
|
-
const model = draft(providerID, modelID) ??
|
|
125
|
+
const model = draft(providerID, modelID) ?? Info23.default(providerID, modelID);
|
|
126
126
|
update(model);
|
|
127
127
|
model.id = modelID;
|
|
128
128
|
model.providerID = providerID;
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
191
191
|
];
|
|
192
192
|
}));
|
|
193
193
|
if (disableFree)
|
|
194
|
-
for (const providerID of [
|
|
194
|
+
for (const providerID of [ID16.opencode, ID16.make("opencode-go")])
|
|
195
195
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
196
196
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
197
197
|
models.delete(id);
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
228
228
|
});
|
|
229
229
|
});
|
|
230
230
|
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
231
|
-
return
|
|
231
|
+
return Service80.of({
|
|
232
232
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
233
233
|
reload,
|
|
234
234
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
}));
|
|
250
|
-
var
|
|
250
|
+
var node83 = makeLocationNode({ service: Service80, layer, deps: [node84, node91, node88] });
|
|
251
251
|
var PREFERRED_FREE = [
|
|
252
252
|
"big-pickle",
|
|
253
253
|
"deepseek-v4.1-flash-free",
|
|
@@ -255,7 +255,7 @@ var PREFERRED_FREE = [
|
|
|
255
255
|
"muse-spark-1.3-contributor-free"
|
|
256
256
|
];
|
|
257
257
|
function preferFree(models) {
|
|
258
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
258
|
+
const freeOnly = models.every((model) => model.providerID === ID16.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
259
259
|
if (!freeOnly)
|
|
260
260
|
return models;
|
|
261
261
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -274,9 +274,9 @@ function compatibility2(input) {
|
|
|
274
274
|
function parse5(input) {
|
|
275
275
|
const index = input.indexOf("/");
|
|
276
276
|
return {
|
|
277
|
-
providerID:
|
|
278
|
-
modelID:
|
|
277
|
+
providerID: ID16.make(index === -1 ? input : input.slice(0, index)),
|
|
278
|
+
modelID: ID15.make(index === -1 ? "" : input.slice(index + 1))
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID15, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info23, Service80, node83, supportsText2, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID14
|
|
3
|
+
} from "./file-retention-gmdj38bx.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info19
|
|
9
|
+
} from "./file-retention-31avdb49.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-z8w58q3b.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service77
|
|
16
|
+
} from "./file-retention-yk7egwn6.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-e834z07m.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent2 = {};
|
|
26
26
|
__export(exports_agent2, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin37
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info19);
|
|
44
44
|
var pathActions = ["external_directory", "read", "edit"];
|
|
45
45
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
46
46
|
var nativeKeys = ["permissions", "request", "system", "disabled"];
|
|
47
|
-
var
|
|
47
|
+
var Plugin37 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service77;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin44 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID14.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID14.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -163,4 +163,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
|
|
|
163
163
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
164
164
|
});
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { Plugin37, exports_agent2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-j7qy0s5h.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 make12 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make17 = 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 = make12();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make12, LMStudioPlugin2 };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node57
|
|
5
|
+
} from "./file-retention-6ma7pn4v.js";
|
|
6
6
|
import {
|
|
7
7
|
join2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-390xskpw.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service76,
|
|
11
|
+
node79
|
|
12
|
+
} from "./file-retention-g4v74gy6.js";
|
|
13
13
|
import {
|
|
14
14
|
DeclinedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-6mzz8e2v.js";
|
|
16
16
|
import {
|
|
17
17
|
CancelledError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-ee476ptv.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Error4
|
|
21
|
+
} from "./file-retention-7th9pvxb.js";
|
|
22
22
|
import {
|
|
23
23
|
get5
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-retention-3nnrz6f6.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service44,
|
|
27
|
+
node47
|
|
28
|
+
} from "./file-retention-6n8q8wse.js";
|
|
29
29
|
import {
|
|
30
30
|
make25
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-retention-wvr8xscb.js";
|
|
32
32
|
import {
|
|
33
33
|
toLLMMessages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-retention-gve1ghrf.js";
|
|
35
35
|
import {
|
|
36
36
|
__export
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
38
38
|
|
|
39
39
|
// src/session/model-request.ts
|
|
40
40
|
var exports_model_request = {};
|
|
41
41
|
__export(exports_model_request, {
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service43,
|
|
43
43
|
SessionModelRequest: () => exports_model_request,
|
|
44
44
|
baseTranscript: () => baseTranscript2,
|
|
45
45
|
boundImages: () => boundImages2,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer17,
|
|
47
|
+
node: () => node46,
|
|
48
48
|
outputLimit: () => outputLimit2,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
@@ -165,11 +165,11 @@ var boundImages2 = (messages) => {
|
|
|
165
165
|
});
|
|
166
166
|
};
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service43 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
171
|
-
const hooks = yield*
|
|
172
|
-
const transport = yield*
|
|
170
|
+
var layer17 = Layer.effect(Service43, Effect.gen(function* () {
|
|
171
|
+
const hooks = yield* Service76;
|
|
172
|
+
const transport = yield* Service44;
|
|
173
173
|
const app = yield* Metadata2;
|
|
174
174
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
175
175
|
const session = input.session;
|
|
@@ -177,7 +177,7 @@ var layer14 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
177
177
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
178
178
|
const tools = input.tools ?? {
|
|
179
179
|
definitions: [],
|
|
180
|
-
execute: () => new
|
|
180
|
+
execute: () => new Error4({ message: "Tools are not available for this request" })
|
|
181
181
|
};
|
|
182
182
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: JSON.parse(JSON.stringify(t.inputSchema)) }, t]));
|
|
183
183
|
const shaped = yield* shape({
|
|
@@ -268,17 +268,17 @@ var layer14 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
270
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
271
|
-
return
|
|
271
|
+
return Service43.of({
|
|
272
272
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
273
273
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
274
274
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
275
275
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
276
276
|
});
|
|
277
277
|
}));
|
|
278
|
-
var
|
|
279
|
-
service:
|
|
280
|
-
layer:
|
|
281
|
-
deps: [
|
|
278
|
+
var node46 = makeLocationNode({
|
|
279
|
+
service: Service43,
|
|
280
|
+
layer: layer17,
|
|
281
|
+
deps: [node79, node47, node57]
|
|
282
282
|
});
|
|
283
283
|
|
|
284
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
284
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service43, layer17, node46, exports_model_request };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
server2,
|
|
3
3
|
headers2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-kt3bjfbg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
ID17,
|
|
7
|
+
Service82,
|
|
8
|
+
node85
|
|
9
|
+
} from "./file-retention-tykajzt3.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/usage-limits.ts
|
|
15
15
|
var exports_usage_limits = {};
|
|
16
16
|
__export(exports_usage_limits, {
|
|
17
17
|
Info: () => Info3,
|
|
18
|
-
Service: () =>
|
|
19
|
-
UnavailableError: () =>
|
|
18
|
+
Service: () => Service14,
|
|
19
|
+
UnavailableError: () => UnavailableError3,
|
|
20
20
|
UsageLimits: () => exports_usage_limits,
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
21
|
+
layer: () => layer10,
|
|
22
|
+
node: () => node16
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
@@ -31,21 +31,21 @@ import { Context, Duration, Effect, Layer, Schema } from "effect";
|
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
32
|
var Info3 = UsageLimits.Info;
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError3 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
|
|
35
35
|
message: Schema.String
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service14 extends Context.Service()("@opencode/UsageLimits") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
42
|
-
const integrations = yield*
|
|
41
|
+
var layer10 = Layer.effect(Service14, Effect.gen(function* () {
|
|
42
|
+
const integrations = yield* Service82;
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
44
44
|
const get = Effect.fn("UsageLimits.get")(function* () {
|
|
45
|
-
const connection = yield* integrations.connection.active(
|
|
45
|
+
const connection = yield* integrations.connection.active(ID17.make("opencode"));
|
|
46
46
|
if (!connection)
|
|
47
47
|
return;
|
|
48
|
-
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new
|
|
48
|
+
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError3({ message: error.message })));
|
|
49
49
|
if (!credential || credential.type === "external")
|
|
50
50
|
return;
|
|
51
51
|
const workspaceID = credential.metadata?.orgID;
|
|
@@ -54,7 +54,7 @@ var layer9 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
54
54
|
const server = server2(credential);
|
|
55
55
|
const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
|
|
56
56
|
duration: Duration.seconds(15),
|
|
57
|
-
orElse: () => Effect.fail(new
|
|
57
|
+
orElse: () => Effect.fail(new UnavailableError3({ message: "OpenCode Console usage limits timed out" }))
|
|
58
58
|
}));
|
|
59
59
|
return {
|
|
60
60
|
workspace: {
|
|
@@ -66,12 +66,12 @@ var layer9 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
66
66
|
budgets
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service14.of({ get });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
73
|
-
layer:
|
|
74
|
-
deps: [
|
|
71
|
+
var node16 = makeLocationNode({
|
|
72
|
+
service: Service14,
|
|
73
|
+
layer: layer10,
|
|
74
|
+
deps: [node85, httpClient]
|
|
75
75
|
});
|
|
76
76
|
var ConsoleBudget = Schema.Struct({
|
|
77
77
|
ruleID: Schema.String,
|
|
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
|
|
|
117
117
|
picked: budget.picked,
|
|
118
118
|
shared: budget.shared,
|
|
119
119
|
resetsAt: budget.resetsAt.getTime()
|
|
120
|
-
}))))), Effect.scoped, Effect.mapError((error) => new
|
|
120
|
+
}))))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
|
|
121
121
|
}
|
|
122
122
|
function readGo(http, server, credential, workspaceID) {
|
|
123
123
|
return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
|
|
124
124
|
rolling: meter(body.usage.rolling),
|
|
125
125
|
weekly: meter(body.usage.weekly),
|
|
126
126
|
monthly: meter(body.usage.monthly)
|
|
127
|
-
})))), Effect.scoped, Effect.mapError((error) => new
|
|
127
|
+
})))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
|
|
128
128
|
}
|
|
129
129
|
function meter(value) {
|
|
130
130
|
return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export { Info3,
|
|
133
|
+
export { Info3, UnavailableError3, Service14, layer10, node16, exports_usage_limits };
|