@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,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update3
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -22,7 +22,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
22
22
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
function
|
|
25
|
+
function update3(adapter, event) {
|
|
26
26
|
const created = DateTime.makeUnsafe(event.created);
|
|
27
27
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
28
28
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -403,4 +403,4 @@ function update2(adapter, event) {
|
|
|
403
403
|
return project(event);
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
-
export {
|
|
406
|
+
export { update3, exports_message_updater };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service77
|
|
4
|
+
} from "./file-retention-yk7egwn6.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin17,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin17 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service77;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -115,4 +115,4 @@ var Plugin28 = define({
|
|
|
115
115
|
})
|
|
116
116
|
});
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { Plugin17, exports_warming };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service77
|
|
4
|
+
} from "./file-retention-yk7egwn6.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-hpg1pkwy.js";
|
|
8
8
|
import {
|
|
9
9
|
Condition2,
|
|
10
10
|
ID5,
|
|
@@ -15,17 +15,17 @@ import {
|
|
|
15
15
|
When2,
|
|
16
16
|
NotFoundError3,
|
|
17
17
|
DisabledError2,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service17
|
|
19
|
+
} from "./file-retention-0tsw2pcx.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/schedule.ts
|
|
25
25
|
var exports_schedule = {};
|
|
26
26
|
__export(exports_schedule, {
|
|
27
27
|
IDInput: () => IDInput2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin30,
|
|
29
29
|
ScheduleTools: () => exports_schedule,
|
|
30
30
|
View: () => View2
|
|
31
31
|
});
|
|
@@ -62,11 +62,11 @@ var IDInput2 = Schema.Struct({
|
|
|
62
62
|
id: ID5.annotate({ description: "Schedule id from schedule_list." })
|
|
63
63
|
});
|
|
64
64
|
var RemoveOutput = Schema.Struct({ id: ID5, removed: Schema.Boolean });
|
|
65
|
-
var
|
|
65
|
+
var Plugin30 = {
|
|
66
66
|
id: "opencode.tool.schedule",
|
|
67
67
|
effect: Effect.fn("ScheduleTools.Plugin")(function* (ctx) {
|
|
68
|
-
const config = yield*
|
|
69
|
-
const schedules = yield*
|
|
68
|
+
const config = yield* Service77;
|
|
69
|
+
const schedules = yield* Service17;
|
|
70
70
|
const loaded = yield* observe2(config, ctx.event, Effect.andThen(ctx.tool.reload(), ctx.command.reload()));
|
|
71
71
|
const enabled = () => latest2(loaded.entries, "experimental")?.schedules === true;
|
|
72
72
|
const allowed = (sessionID) => schedules.enabled(sessionID).pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError2)));
|
|
@@ -198,4 +198,4 @@ function toView(info) {
|
|
|
198
198
|
};
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export { View2, IDInput2,
|
|
201
|
+
export { View2, IDInput2, Plugin30, exports_schedule };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-qfbjs7tc.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-n2pc7kwe.js";
|
|
8
8
|
import {
|
|
9
9
|
Document3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-r17fbvme.js";
|
|
11
11
|
import {
|
|
12
12
|
latest2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service77
|
|
14
|
+
} from "./file-retention-yk7egwn6.js";
|
|
15
15
|
import {
|
|
16
16
|
supports2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
resolve2
|
|
18
|
+
} from "./file-retention-h63ygx1j.js";
|
|
19
19
|
import {
|
|
20
20
|
observe2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-retention-hpg1pkwy.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/config/plugin/provider.ts
|
|
27
27
|
var exports_provider2 = {};
|
|
28
28
|
__export(exports_provider2, {
|
|
29
29
|
ConfigProviderPlugin: () => exports_provider2,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin50,
|
|
31
31
|
integrate: () => integrate2
|
|
32
32
|
});
|
|
33
33
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
34
34
|
import { Money } from "@opencode/schema/money";
|
|
35
35
|
import { Effect } from "effect";
|
|
36
|
-
var
|
|
36
|
+
var Plugin50 = define({
|
|
37
37
|
id: "opencode.config.provider",
|
|
38
38
|
effect: Effect.fn(function* (ctx) {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service77;
|
|
40
40
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
41
41
|
yield* ctx.integration.transform((integrations) => {
|
|
42
42
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -118,7 +118,7 @@ var Plugin47 = define({
|
|
|
118
118
|
if (config.variants === undefined && config.capabilities?.reasoning === undefined && (!source?.base && !hadVariants || repackaged))
|
|
119
119
|
models.update(providerID, id, (model) => {
|
|
120
120
|
model.variants = [
|
|
121
|
-
...
|
|
121
|
+
...resolve2({
|
|
122
122
|
...model,
|
|
123
123
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
124
124
|
})
|
|
@@ -217,7 +217,7 @@ function overlay(models, providerPackage, item, providerID, id, config, inherit)
|
|
|
217
217
|
models.update(providerID, id, (model) => {
|
|
218
218
|
if (config.capabilities?.reasoning !== undefined)
|
|
219
219
|
model.variants = [
|
|
220
|
-
...
|
|
220
|
+
...resolve2({ ...model, package: model.package ?? providerPackage }, supports2(config.capabilities.reasoning))
|
|
221
221
|
];
|
|
222
222
|
if (config.variants !== undefined) {
|
|
223
223
|
model.variants ??= [];
|
|
@@ -251,4 +251,4 @@ function overlay(models, providerPackage, item, providerID, id, config, inherit)
|
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
export {
|
|
254
|
+
export { Plugin50, integrate2, exports_provider2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service77
|
|
4
|
+
} from "./file-retention-yk7egwn6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service53
|
|
7
|
+
} from "./file-retention-y4f0c2re.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell2 = {};
|
|
17
17
|
__export(exports_shell2, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin38
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin38 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service77;
|
|
27
|
+
const shell = yield* Service53;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin46 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin38, exports_shell2 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-wzp3mys1.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
16
|
+
ID: () => ID13,
|
|
17
|
+
Info: () => Info16,
|
|
18
|
+
NotFoundError: () => NotFoundError11,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service73,
|
|
21
|
+
node: () => node76
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { isSqlError } from "effect/sql/SqlError";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID13 = PermissionSaved.ID;
|
|
29
|
+
var Info16 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
32
|
-
id:
|
|
31
|
+
class NotFoundError11 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
|
+
id: ID13
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
37
|
-
id:
|
|
37
|
+
id: ID13,
|
|
38
38
|
action: Schema.String,
|
|
39
39
|
resource: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service73 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
46
46
|
const db = (yield* Service90).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
52
52
|
if (!input.resources.length)
|
|
53
53
|
return;
|
|
54
54
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
55
|
-
id:
|
|
55
|
+
id: ID13.create(),
|
|
56
56
|
project_id: input.projectID,
|
|
57
57
|
action: input.action,
|
|
58
58
|
resource
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError11({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError11({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service73.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node76 = makeGlobalNode({ service: Service73, layer, deps: [node93] });
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { ID13, Info16, NotFoundError11, ConflictError2, Service73, node76, exports_saved };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/shared-cache.ts
|
|
6
6
|
var exports_shared_cache = {};
|
|
7
7
|
__export(exports_shared_cache, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service16,
|
|
9
9
|
SharedCache: () => exports_shared_cache,
|
|
10
10
|
fingerprint: () => fingerprint2,
|
|
11
11
|
interval: () => interval2,
|
|
12
|
-
node: () =>
|
|
12
|
+
node: () => node18,
|
|
13
13
|
transient: () => transient2
|
|
14
14
|
});
|
|
15
15
|
import { Cause, Clock, Context, Duration, Effect, Exit, Fiber, FiberSet, Layer, Schedule } from "effect";
|
|
@@ -18,12 +18,12 @@ import { Hash } from "@opencode/util/hash";
|
|
|
18
18
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
var interval2 = Duration.minutes(10);
|
|
20
20
|
|
|
21
|
-
class
|
|
21
|
+
class Service16 extends Context.Service()("@opencode/SharedCache") {
|
|
22
22
|
}
|
|
23
23
|
var fingerprint2 = (secret) => Hash.sha256(secret).slice(0, 16);
|
|
24
24
|
var transient2 = (error) => Cause.isTimeoutError(error) || HttpClientError.isHttpClientError(error) && (error.reason._tag === "TransportError" || error.reason._tag === "StatusCodeError" && [408, 429, 500, 502, 503, 504].includes(error.reason.response.status));
|
|
25
25
|
var unread = Duration.toMillis(Duration.hours(24));
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
27
27
|
const run = yield* FiberSet.makeRuntime();
|
|
28
28
|
const entries = new Map;
|
|
29
29
|
const start = Effect.fnUntraced(function* (key, entry, load) {
|
|
@@ -59,8 +59,8 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
59
59
|
}))));
|
|
60
60
|
return yield* Fiber.join(entry.loading);
|
|
61
61
|
});
|
|
62
|
-
return
|
|
62
|
+
return Service16.of({ get });
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node18 = makeGlobalNode({ service: Service16, layer, deps: [] });
|
|
65
65
|
|
|
66
|
-
export { interval2,
|
|
66
|
+
export { interval2, Service16, fingerprint2, transient2, node18, exports_shared_cache };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service88
|
|
3
|
+
} from "./file-retention-3whc36fx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
Event15
|
|
7
|
+
} from "./file-retention-m7ykyrbv.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin19,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin19 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service88;
|
|
24
|
+
const wellknown = yield* Service79;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin2 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin19, exports_plugin };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./file-retention-z5s1hzbx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service29,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-kpkf4881.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service24
|
|
11
|
+
} from "./file-retention-3q6fzyrv.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service72
|
|
14
|
+
} from "./file-retention-6mzz8e2v.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service18
|
|
17
|
+
} from "./file-retention-7xm9wv05.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input6,
|
|
29
|
+
Output: () => Output5,
|
|
30
|
+
Plugin: () => Plugin25,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name6,
|
|
33
|
+
toModelContent: () => toModelContent4
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name6 = "write";
|
|
39
|
+
var Input6 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output5 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin25 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service18;
|
|
56
|
+
const fileMutation = yield* Service29;
|
|
57
|
+
const environment = yield* Service62;
|
|
58
|
+
const formatter = yield* Service24;
|
|
59
|
+
const permission = yield* Service72;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name6,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input6,
|
|
69
|
+
output: Output5,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name6, Input6, Output5, toModelContent4, Plugin25, exports_write };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service39,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service39 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service39.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service39, awaitActivation2, exports_service };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured8,
|
|
11
|
+
layer: () => layer21,
|
|
12
|
+
make: () => make26,
|
|
13
|
+
node: () => node57,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make26()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make26(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make32(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer21 = (input) => Layer.succeed(Metadata2, make26(input));
|
|
32
|
+
var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
|
|
33
|
+
var node57 = configured8();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make26, useragent2, layer21, configured8, node57, exports_app };
|