@opencode/core 0.0.0-dev-448 → 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 +232 -232
- package/dist/bus.js +84 -84
- package/dist/chunks/{shell-034tev2y.js → file-retention-034tev2y.js} +2 -2
- package/dist/chunks/{shell-ja2smk70.js → file-retention-04s74fx7.js} +8 -8
- package/dist/chunks/{shell-05bzq52v.js → file-retention-06e0bzah.js} +15 -15
- package/dist/chunks/{shell-swrmw7cp.js → file-retention-07mz05rb.js} +45 -45
- package/dist/chunks/{shell-gmsr39wm.js → file-retention-0chqk1tf.js} +34 -34
- package/dist/chunks/{shell-0j7gp832.js → file-retention-0j7gp832.js} +1 -1
- package/dist/chunks/{shell-djjqqg9g.js → file-retention-0j8mhk4d.js} +17 -17
- package/dist/chunks/{shell-0ma9gw4f.js → file-retention-0ma9gw4f.js} +2 -2
- package/dist/chunks/{shell-b50bv8kf.js → file-retention-0n6d4kn5.js} +9 -9
- package/dist/chunks/{shell-nx6bawrx.js → file-retention-0smjzhyp.js} +1 -1
- package/dist/chunks/{shell-3114at99.js → file-retention-0tsw2pcx.js} +43 -43
- package/dist/chunks/{shell-0zakc424.js → file-retention-0yn3ka5j.js} +19 -19
- package/dist/chunks/{shell-fb1j3qsp.js → file-retention-13k30xes.js} +7 -7
- package/dist/chunks/{shell-1aqsckx4.js → file-retention-1aqsckx4.js} +1 -1
- package/dist/chunks/{shell-1ep2p91f.js → file-retention-1ep2p91f.js} +2 -2
- package/dist/chunks/{shell-7r0r50e5.js → file-retention-1nwxscpy.js} +5 -5
- package/dist/chunks/{shell-2cdjxzfg.js → file-retention-1scgcwfj.js} +3 -3
- package/dist/chunks/{shell-m7sxgjj7.js → file-retention-1ss1y6bx.js} +14 -14
- package/dist/chunks/{shell-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
- package/dist/chunks/{shell-p7vhpwh8.js → file-retention-1yq9hg58.js} +5 -5
- package/dist/chunks/{shell-ca06aq19.js → file-retention-237anfc9.js} +17 -17
- package/dist/chunks/{shell-ed6f1zf7.js → file-retention-26tkb14f.js} +14 -14
- package/dist/chunks/{shell-tb2mrvc9.js → file-retention-26wfx3k0.js} +4 -4
- package/dist/chunks/{shell-pwz5ypps.js → file-retention-28nhxqg9.js} +14 -14
- package/dist/chunks/{shell-25wes5qp.js → file-retention-2czx47z2.js} +59 -59
- package/dist/chunks/{shell-etrnj9s7.js → file-retention-31avdb49.js} +8 -8
- package/dist/chunks/{shell-jprct3q1.js → file-retention-34cvy9ct.js} +14 -14
- package/dist/chunks/{shell-53qdpb3h.js → file-retention-35hcamnh.js} +23 -23
- package/dist/chunks/{shell-dxsywhez.js → file-retention-390xskpw.js} +4 -4
- package/dist/chunks/{shell-wf4k3nrk.js → file-retention-3dpbtckw.js} +1 -1
- package/dist/chunks/{shell-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-yfp0tbxs.js → file-retention-3j68zxqn.js} +9 -9
- package/dist/chunks/{shell-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
- package/dist/chunks/{shell-y9xb4576.js → file-retention-3q6fzyrv.js} +15 -15
- package/dist/chunks/{shell-jcxtjxcx.js → file-retention-3rjt9f5s.js} +28 -28
- package/dist/chunks/{shell-2xqskhr2.js → file-retention-3tfpa1a4.js} +24 -24
- package/dist/chunks/{shell-1gn0yq23.js → file-retention-3th5y0xn.js} +43 -43
- package/dist/chunks/{shell-mdeyfzen.js → file-retention-3vc76bbn.js} +9 -9
- package/dist/chunks/{shell-4n04qkt5.js → file-retention-3whc36fx.js} +12 -12
- package/dist/chunks/{shell-40y6dtc2.js → file-retention-40y6dtc2.js} +1 -1
- package/dist/chunks/{shell-40za9wsf.js → file-retention-40za9wsf.js} +2 -2
- package/dist/chunks/{shell-n4d8tphs.js → file-retention-41mgdpyq.js} +38 -38
- package/dist/chunks/{shell-kmee7t05.js → file-retention-433pf4gj.js} +83 -83
- package/dist/chunks/{shell-92cf50ag.js → file-retention-497brhdq.js} +8 -8
- package/dist/chunks/{shell-a3fn0gmm.js → file-retention-4awjamkd.js} +2 -2
- package/dist/chunks/{shell-fmvwew7x.js → file-retention-4cqst6fr.js} +7 -7
- package/dist/chunks/{shell-b2armg7w.js → file-retention-4d2dtj2f.js} +4 -4
- package/dist/chunks/{shell-4dx1dgte.js → file-retention-4dx1dgte.js} +1 -1
- package/dist/chunks/{shell-4f25tdd0.js → file-retention-4f25tdd0.js} +1 -1
- package/dist/chunks/{shell-4pyp9zr9.js → file-retention-4pyp9zr9.js} +1 -1
- package/dist/chunks/{shell-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
- package/dist/chunks/{shell-ss09eh5m.js → file-retention-4xcsbp6b.js} +6 -6
- package/dist/chunks/{shell-8tr8bk8c.js → file-retention-4y9qf8ry.js} +24 -24
- package/dist/chunks/{shell-n9vbb020.js → file-retention-50hftrwd.js} +9 -9
- package/dist/chunks/{shell-ssdvd2y7.js → file-retention-539dw32x.js} +4 -4
- package/dist/chunks/{shell-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-5nnwax6m.js → file-retention-5nnwax6m.js} +2 -2
- package/dist/chunks/{shell-yf4636eg.js → file-retention-5wwt8jnt.js} +7 -7
- package/dist/chunks/{shell-b6p2478r.js → file-retention-5zgc43gz.js} +17 -17
- package/dist/chunks/{shell-h068nwdc.js → file-retention-605b6zwb.js} +12 -12
- package/dist/chunks/{shell-8wepf0gn.js → file-retention-60m2sppj.js} +14 -14
- package/dist/chunks/{shell-39v0af2n.js → file-retention-61c892db.js} +4 -4
- package/dist/chunks/{shell-83dtkyp0.js → file-retention-62ngxq4c.js} +21 -21
- package/dist/chunks/{shell-b096peb1.js → file-retention-64eehrrp.js} +8 -8
- package/dist/chunks/{shell-3tp4c0xt.js → file-retention-68cc458t.js} +10 -10
- package/dist/chunks/{shell-e9eefsk3.js → file-retention-6bacesmw.js} +32 -32
- package/dist/chunks/file-retention-6bshxcsx.js +18 -0
- package/dist/chunks/{shell-27q2yh5h.js → file-retention-6ma7pn4v.js} +11 -11
- package/dist/chunks/{shell-js4rf8bj.js → file-retention-6mzz8e2v.js} +50 -50
- package/dist/chunks/{shell-31694pws.js → file-retention-6n7kk6x7.js} +11 -11
- package/dist/chunks/{shell-4pk3sz26.js → file-retention-6n8q8wse.js} +11 -11
- package/dist/chunks/{shell-461h2a5h.js → file-retention-6nkv0fkw.js} +11 -11
- package/dist/chunks/{shell-bzeh9fff.js → file-retention-6qj6ge7d.js} +22 -22
- package/dist/chunks/{shell-8qmjt4fd.js → file-retention-70t2yy6e.js} +19 -19
- package/dist/chunks/{shell-cxj09ebx.js → file-retention-75ax6x68.js} +3 -3
- package/dist/chunks/{shell-ehmfb7qh.js → file-retention-75zng1ge.js} +20 -20
- package/dist/chunks/{shell-76cb1hcw.js → file-retention-76cb1hcw.js} +1 -1
- package/dist/chunks/{shell-775hqbnd.js → file-retention-775hqbnd.js} +3 -3
- package/dist/chunks/{shell-t8erkws8.js → file-retention-78p2h4ex.js} +5 -5
- package/dist/chunks/{shell-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-mnc72ab7.js → file-retention-7bt6msz7.js} +27 -27
- package/dist/chunks/{shell-snk2nech.js → file-retention-7dhaefc4.js} +20 -20
- package/dist/chunks/{shell-kghhyr40.js → file-retention-7gaksq79.js} +21 -21
- package/dist/chunks/{shell-pmctgzqh.js → file-retention-7kjy5yhf.js} +9 -9
- package/dist/chunks/{shell-7kr66rt3.js → file-retention-7kr66rt3.js} +1 -1
- package/dist/chunks/{shell-2665aej8.js → file-retention-7th9pvxb.js} +27 -27
- package/dist/chunks/{shell-fccvjkbp.js → file-retention-7vk0t554.js} +5 -5
- package/dist/chunks/{shell-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
- package/dist/chunks/{shell-7weczvnd.js → file-retention-7weczvnd.js} +1 -1
- package/dist/chunks/{shell-sj1akaq3.js → file-retention-7xm9wv05.js} +25 -25
- package/dist/chunks/{shell-2n444ktb.js → file-retention-81hxxa3v.js} +3 -3
- package/dist/chunks/{shell-89287pr7.js → file-retention-89287pr7.js} +1 -1
- package/dist/chunks/{shell-0kxez0ph.js → file-retention-89rb9xh3.js} +16 -16
- package/dist/chunks/{shell-8b3vzgkx.js → file-retention-8b3vzgkx.js} +1 -1
- package/dist/chunks/{shell-a7jv6bhz.js → file-retention-8f42kaey.js} +16 -16
- package/dist/chunks/{shell-4s5nd4wa.js → file-retention-8gc7e869.js} +20 -20
- package/dist/chunks/{shell-ahetjexs.js → file-retention-8j5rt9k2.js} +82 -82
- package/dist/chunks/{shell-2zekx2gw.js → file-retention-8qcax5vp.js} +28 -28
- package/dist/chunks/{shell-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
- package/dist/chunks/{shell-6g782zwq.js → file-retention-8xxrj23x.js} +13 -13
- package/dist/chunks/{shell-8mft0qb8.js → file-retention-8zh1h1pe.js} +5 -5
- package/dist/chunks/{shell-90zstvax.js → file-retention-90zstvax.js} +1 -1
- package/dist/chunks/{shell-94s5f2xb.js → file-retention-94s5f2xb.js} +1 -1
- package/dist/chunks/{shell-8fmhgeg1.js → file-retention-95c1p5m6.js} +38 -38
- package/dist/chunks/{shell-wws03c5r.js → file-retention-95sp4hdf.js} +4 -4
- package/dist/chunks/{shell-963hk181.js → file-retention-963hk181.js} +2 -2
- package/dist/chunks/{shell-96djdqw5.js → file-retention-96djdqw5.js} +4 -4
- package/dist/chunks/{shell-sx705zhx.js → file-retention-9dwnyty3.js} +11 -11
- package/dist/chunks/{shell-00mqt8vt.js → file-retention-9e0zdsd0.js} +14 -14
- package/dist/chunks/{shell-5h6nvp4c.js → file-retention-9kgghjmg.js} +6 -6
- package/dist/chunks/{shell-h30y51ze.js → file-retention-9mt9fcpt.js} +29 -29
- package/dist/chunks/{shell-yqvz6s31.js → file-retention-a0vapen2.js} +8 -8
- package/dist/chunks/{shell-4zd0rrxz.js → file-retention-a1d98dpx.js} +37 -37
- package/dist/chunks/{shell-bm4qvk29.js → file-retention-a3q9dv9j.js} +26 -26
- package/dist/chunks/{shell-7bd9md05.js → file-retention-a5e6ddn4.js} +36 -36
- package/dist/chunks/{shell-7nqkf5r1.js → file-retention-a5fx33f2.js} +6 -6
- package/dist/chunks/{shell-d27tfk0e.js → file-retention-a95pzf1x.js} +38 -38
- package/dist/chunks/{shell-61w59j6e.js → file-retention-aakm8s55.js} +32 -32
- package/dist/chunks/{shell-k84dnw8r.js → file-retention-acpwnfxs.js} +15 -15
- package/dist/chunks/{shell-5wa3g67q.js → file-retention-ae862rdn.js} +9 -9
- package/dist/chunks/{shell-m41dwf8x.js → file-retention-aedrg0ge.js} +25 -25
- package/dist/chunks/{shell-90ct6wq4.js → file-retention-anvcme1c.js} +4 -4
- package/dist/chunks/{shell-nbbs31bc.js → file-retention-aprkypsk.js} +17 -17
- package/dist/chunks/{shell-6ckcm1vf.js → file-retention-at1c8yrs.js} +16 -16
- package/dist/chunks/{shell-ayjs7tqn.js → file-retention-ayjs7tqn.js} +2 -2
- package/dist/chunks/{shell-yd96381m.js → file-retention-b5yzcczs.js} +9 -9
- package/dist/chunks/{shell-8dzmkjrb.js → file-retention-b6prfk3g.js} +3 -3
- package/dist/chunks/{shell-snc40rsw.js → file-retention-b6wwfjf1.js} +27 -27
- package/dist/chunks/{shell-qx8keh7z.js → file-retention-b924sz3m.js} +5 -5
- package/dist/chunks/{shell-bstexjd6.js → file-retention-bstexjd6.js} +1 -1
- package/dist/chunks/{shell-mwb4t2xa.js → file-retention-bt4213zy.js} +12 -12
- package/dist/chunks/{shell-a752e3c2.js → file-retention-byjg35ec.js} +5 -5
- package/dist/chunks/{shell-6gggjtz2.js → file-retention-c2gmg5r9.js} +9 -9
- package/dist/chunks/{shell-p52jgvd8.js → file-retention-ccp6j38y.js} +8 -8
- package/dist/chunks/{shell-s75f2ek2.js → file-retention-ccvcfenq.js} +4 -4
- package/dist/chunks/{shell-qe69n4wc.js → file-retention-cgy1nctk.js} +11 -11
- package/dist/chunks/{shell-5rktefs5.js → file-retention-cjgsn2s6.js} +12 -12
- package/dist/chunks/{shell-sdn8sen6.js → file-retention-cmnsegyx.js} +4 -4
- package/dist/chunks/{shell-sfpad9m1.js → file-retention-cn4qtwde.js} +32 -32
- package/dist/chunks/{shell-1t6wg0nd.js → file-retention-csdmpgm1.js} +22 -22
- package/dist/chunks/{shell-7ne4y0bm.js → file-retention-cse8gxc3.js} +6 -6
- package/dist/chunks/{shell-qh5g3qaw.js → file-retention-ctmpqb7w.js} +9 -9
- package/dist/chunks/{shell-cwrgdav8.js → file-retention-cwrgdav8.js} +2 -2
- package/dist/chunks/{shell-93xmyh8q.js → file-retention-cxab28sr.js} +5 -5
- package/dist/chunks/{shell-7gh7q8bn.js → file-retention-cxbntz7s.js} +16 -16
- package/dist/chunks/{shell-d4v9tmah.js → file-retention-d4v9tmah.js} +2 -2
- package/dist/chunks/{shell-z5rnbz19.js → file-retention-db2v7vv4.js} +46 -46
- package/dist/chunks/{shell-5btn60ym.js → file-retention-dgdxz5tx.js} +50 -50
- package/dist/chunks/{shell-4za8zkf9.js → file-retention-djp2yf7t.js} +33 -33
- package/dist/chunks/{shell-a4jw6pvt.js → file-retention-dqxhv1nb.js} +23 -23
- package/dist/chunks/{shell-dt77769w.js → file-retention-dt77769w.js} +1 -1
- package/dist/chunks/{shell-3br5vy3s.js → file-retention-dvt58bph.js} +11 -11
- package/dist/chunks/{shell-fqs0zq7g.js → file-retention-dwsd3zgn.js} +13 -13
- package/dist/chunks/{shell-e834z07m.js → file-retention-e834z07m.js} +1 -1
- package/dist/chunks/{shell-azx1espf.js → file-retention-ee476ptv.js} +12 -12
- package/dist/chunks/{shell-en2d5ckk.js → file-retention-emaa4905.js} +13 -13
- package/dist/chunks/{shell-t11xxbkn.js → file-retention-enexbtbh.js} +36 -36
- package/dist/chunks/{shell-eqw4pqj1.js → file-retention-eqw4pqj1.js} +2 -2
- package/dist/chunks/{shell-j7pa4zmt.js → file-retention-et16066w.js} +20 -20
- package/dist/chunks/{shell-6d0d1q6g.js → file-retention-ewa1ec51.js} +4 -4
- package/dist/chunks/{shell-gtt1ypct.js → file-retention-f2j6m0ac.js} +11 -11
- package/dist/chunks/{shell-14h6fpvz.js → file-retention-f30y5q5n.js} +11 -11
- package/dist/chunks/{shell-449ep3qq.js → file-retention-f32h92jn.js} +49 -49
- package/dist/chunks/{shell-5q2nstmm.js → file-retention-f7kqgmxs.js} +9 -9
- package/dist/chunks/{shell-fffv3p7h.js → file-retention-fffv3p7h.js} +1 -1
- package/dist/chunks/{shell-fg9p65nk.js → file-retention-fg9p65nk.js} +2 -2
- package/dist/chunks/{shell-ft05h4rm.js → file-retention-fsgv702d.js} +49 -49
- package/dist/chunks/{shell-b358x5d5.js → file-retention-fwwnnvpx.js} +9 -9
- package/dist/chunks/{shell-73n38n5m.js → file-retention-fx5dbny4.js} +5 -5
- package/dist/chunks/{shell-qax80wjp.js → file-retention-fyj2mfgy.js} +22 -22
- package/dist/chunks/{shell-gn6qas9s.js → file-retention-g4v74gy6.js} +8 -8
- package/dist/chunks/{shell-cn0ah7mh.js → file-retention-g6nneh33.js} +31 -31
- package/dist/chunks/{shell-gbjdnr5j.js → file-retention-gbjdnr5j.js} +2 -2
- package/dist/chunks/{shell-qw9nj3hw.js → file-retention-gbyaw8gf.js} +20 -20
- package/dist/chunks/{shell-9pmmtcn7.js → file-retention-gf5d3kfh.js} +33 -33
- package/dist/chunks/{shell-ps01eb2k.js → file-retention-gmdj38bx.js} +22 -22
- package/dist/chunks/{shell-bs847zte.js → file-retention-gr24kjxn.js} +5 -5
- package/dist/chunks/{shell-bfg2nms2.js → file-retention-gt12nt52.js} +17 -17
- package/dist/chunks/{shell-xc1jhcm7.js → file-retention-gv8nw05x.js} +7 -7
- package/dist/chunks/{shell-7jk3qjta.js → file-retention-gve1ghrf.js} +2 -2
- package/dist/chunks/{shell-r4p1hmh8.js → file-retention-gvefjbhs.js} +6 -6
- package/dist/chunks/{shell-e3vjfzb0.js → file-retention-gxahm4xg.js} +5 -5
- package/dist/chunks/{shell-gxs71cxp.js → file-retention-gxs71cxp.js} +1 -1
- package/dist/chunks/{shell-qzxcgvak.js → file-retention-h5chy42v.js} +3 -3
- package/dist/chunks/{shell-eyrapaw6.js → file-retention-h5mecdsr.js} +10 -10
- package/dist/chunks/{shell-pawhhdeh.js → file-retention-h63ygx1j.js} +3 -3
- package/dist/chunks/{shell-ne3edjpr.js → file-retention-h6jcj9p8.js} +2 -2
- package/dist/chunks/file-retention-h80z8qef.js +261 -0
- package/dist/chunks/{shell-7ydc43j0.js → file-retention-hb8g288h.js} +9 -9
- package/dist/chunks/{shell-wt44qdcs.js → file-retention-hecddnr3.js} +3 -3
- package/dist/chunks/{shell-wbebweck.js → file-retention-hkh70t29.js} +11 -11
- package/dist/chunks/{shell-hpg1pkwy.js → file-retention-hpg1pkwy.js} +1 -1
- package/dist/chunks/{shell-27nqpkb2.js → file-retention-hwq2cs9e.js} +14 -14
- package/dist/chunks/{shell-j376ae4e.js → file-retention-j376ae4e.js} +1 -1
- package/dist/chunks/{shell-0ahs07zn.js → file-retention-j3f8hyeg.js} +4 -4
- package/dist/chunks/{shell-4hheswcz.js → file-retention-j7qy0s5h.js} +12 -12
- package/dist/chunks/{shell-j9nxzz3g.js → file-retention-j9nxzz3g.js} +3 -3
- package/dist/chunks/{shell-tdzh4vzn.js → file-retention-jjxkdvhg.js} +9 -9
- package/dist/chunks/{shell-bhfd478d.js → file-retention-jkdcm5hg.js} +4 -4
- package/dist/chunks/{shell-jtnps1zs.js → file-retention-jtnps1zs.js} +2 -2
- package/dist/chunks/{shell-jxd6f16v.js → file-retention-jxd6f16v.js} +2 -2
- package/dist/chunks/{shell-ndksvsqq.js → file-retention-jz8ht1jj.js} +5 -5
- package/dist/chunks/{shell-3vtz7ksg.js → file-retention-kdcv3xak.js} +15 -15
- package/dist/chunks/{shell-eh5dqxbp.js → file-retention-kf485nxs.js} +35 -35
- package/dist/chunks/{shell-395719v5.js → file-retention-kmxy273m.js} +5 -5
- package/dist/chunks/{shell-4jwb178p.js → file-retention-kpkf4881.js} +13 -13
- package/dist/chunks/{shell-kt3bjfbg.js → file-retention-kt3bjfbg.js} +1 -1
- package/dist/chunks/{shell-4qjj3hcn.js → file-retention-kx4857fp.js} +22 -22
- package/dist/chunks/{shell-r6mk7n9z.js → file-retention-kx9qtpmv.js} +17 -17
- package/dist/chunks/{shell-9q5v2hqn.js → file-retention-kyb7yekh.js} +39 -39
- package/dist/chunks/{shell-jnfc869c.js → file-retention-kz7xb2xy.js} +7 -7
- package/dist/chunks/{shell-kzczzf4v.js → file-retention-kzczzf4v.js} +1 -1
- package/dist/chunks/{shell-askmrcha.js → file-retention-kzxm184s.js} +13 -13
- package/dist/chunks/{shell-m1714858.js → file-retention-m1714858.js} +1 -1
- package/dist/chunks/{shell-qn178psk.js → file-retention-m7sx3bgz.js} +11 -11
- package/dist/chunks/{shell-3fm5wbjz.js → file-retention-m7ykyrbv.js} +17 -17
- package/dist/chunks/{shell-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-mb7mbhnz.js → file-retention-mb7mbhnz.js} +3 -3
- package/dist/chunks/{shell-89cj2fxr.js → file-retention-me8mm9z9.js} +25 -25
- package/dist/chunks/{shell-dbc9xtzy.js → file-retention-mr07ez2r.js} +5 -5
- package/dist/chunks/{shell-drzej0yw.js → file-retention-n2pc7kwe.js} +25 -25
- package/dist/chunks/{shell-j9zdr12n.js → file-retention-n56yhxz0.js} +17 -17
- package/dist/chunks/{shell-hm878m0g.js → file-retention-n87deehv.js} +4 -4
- package/dist/chunks/{shell-xj160ydj.js → file-retention-n9x9rf44.js} +31 -31
- package/dist/chunks/{shell-wej8cf7c.js → file-retention-nyra3b4e.js} +21 -21
- package/dist/chunks/{shell-vq7pdr9z.js → file-retention-nyxfy9wj.js} +12 -12
- package/dist/chunks/{shell-0yrffq11.js → file-retention-p0g9dthf.js} +12 -12
- package/dist/chunks/{shell-bnzx9dwt.js → file-retention-p55ejza0.js} +5 -5
- package/dist/chunks/{shell-bxq9e2r0.js → file-retention-p96e2xw0.js} +15 -15
- package/dist/chunks/{shell-7b7w9v0b.js → file-retention-p9gybnkz.js} +11 -11
- package/dist/chunks/{shell-2nye2ds3.js → file-retention-p9nz32sq.js} +23 -23
- package/dist/chunks/{shell-51v7w56y.js → file-retention-pb6wsrs5.js} +4 -4
- package/dist/chunks/{shell-8rj7reax.js → file-retention-pdpask2k.js} +25 -25
- package/dist/chunks/{shell-x3fa7fwr.js → file-retention-pfb54thj.js} +9 -9
- package/dist/chunks/{shell-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{shell-51fa9ecf.js → file-retention-pn48ae9c.js} +29 -29
- package/dist/chunks/{shell-px7qpgcn.js → file-retention-px7qpgcn.js} +1 -1
- package/dist/chunks/{shell-y5bbkd9h.js → file-retention-pzkzmzjr.js} +48 -48
- package/dist/chunks/{shell-9nkjg9qd.js → file-retention-q85rya1m.js} +6 -6
- package/dist/chunks/{shell-b1cct362.js → file-retention-q945z18s.js} +15 -15
- package/dist/chunks/{shell-zqgpx8ma.js → file-retention-qfbjs7tc.js} +29 -29
- package/dist/chunks/{shell-kj9n5bvh.js → file-retention-qfz6bxfd.js} +4 -4
- package/dist/chunks/{shell-2vpa0jw2.js → file-retention-qja0360d.js} +5 -5
- package/dist/chunks/{shell-yqveydy6.js → file-retention-qkc3z5ds.js} +4 -4
- package/dist/chunks/{shell-qp7r0hxv.js → file-retention-qp7r0hxv.js} +1 -1
- package/dist/chunks/{shell-qqvy8y24.js → file-retention-qqvy8y24.js} +1 -1
- package/dist/chunks/{shell-t9p1t371.js → file-retention-qs85e3xq.js} +31 -31
- package/dist/chunks/{shell-qsdghx1p.js → file-retention-qsdghx1p.js} +1 -1
- package/dist/chunks/{shell-qw2t3dzn.js → file-retention-qw2t3dzn.js} +3 -3
- package/dist/chunks/{shell-9qgz8pwv.js → file-retention-qzdnvnff.js} +8 -8
- package/dist/chunks/{shell-j82m12k7.js → file-retention-r17fbvme.js} +7 -7
- package/dist/chunks/{shell-86kd7kzh.js → file-retention-ranh0xe7.js} +4 -4
- package/dist/chunks/{shell-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
- package/dist/chunks/{shell-ss0wp4jv.js → file-retention-rdj0vc1c.js} +19 -19
- package/dist/chunks/{shell-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
- package/dist/chunks/{shell-drd2zyk1.js → file-retention-rt5m8xq2.js} +18 -18
- package/dist/chunks/{shell-8xz27cp9.js → file-retention-rt5qjrvj.js} +4 -4
- package/dist/chunks/{shell-sywhw5n9.js → file-retention-rt7n98jb.js} +23 -23
- package/dist/chunks/{shell-s1ba0vj0.js → file-retention-s1ba0vj0.js} +2 -2
- package/dist/chunks/{shell-cbzdy2pv.js → file-retention-s3ccn36m.js} +29 -29
- package/dist/chunks/{shell-sa3fpqfw.js → file-retention-sa3fpqfw.js} +2 -2
- package/dist/chunks/{shell-vy796nhc.js → file-retention-sakzxw8a.js} +8 -8
- package/dist/chunks/{shell-sbya78hr.js → file-retention-sbya78hr.js} +1 -1
- package/dist/chunks/{shell-svcy3p9a.js → file-retention-svcy3p9a.js} +1 -1
- package/dist/chunks/{shell-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
- package/dist/chunks/{shell-81xk75pr.js → file-retention-teyq45ea.js} +5 -5
- package/dist/chunks/{shell-m7bre8ve.js → file-retention-tfcvmk9c.js} +19 -19
- package/dist/chunks/{shell-hy8c1z76.js → file-retention-tg1vr1qt.js} +8 -8
- package/dist/chunks/{shell-0w3xksdf.js → file-retention-tmwatq56.js} +8 -8
- package/dist/chunks/{shell-2x55varr.js → file-retention-tngvyp2y.js} +34 -34
- package/dist/chunks/{shell-5yya8jn5.js → file-retention-tq5makbn.js} +22 -22
- package/dist/chunks/{shell-twssxy5n.js → file-retention-twssxy5n.js} +2 -2
- package/dist/chunks/{shell-eyjntv0n.js → file-retention-txjcpmgd.js} +6 -6
- package/dist/chunks/{shell-05ag7ga3.js → file-retention-txt9e0aq.js} +195 -195
- package/dist/chunks/{shell-9zhekznq.js → file-retention-ty3f8ea2.js} +18 -18
- package/dist/chunks/{shell-m74aw6gb.js → file-retention-tykajzt3.js} +30 -30
- package/dist/chunks/{shell-9yvqmxq3.js → file-retention-tz3w010n.js} +14 -14
- package/dist/chunks/{shell-w79nt68w.js → file-retention-v0t96s7a.js} +4 -4
- package/dist/chunks/{shell-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
- package/dist/chunks/{shell-0kfn2p10.js → file-retention-v5yvcr0w.js} +5 -5
- package/dist/chunks/{shell-3mg501j9.js → file-retention-v6sdsd1y.js} +2 -2
- package/dist/chunks/{shell-mnpd6dxn.js → file-retention-vatt5ny9.js} +8 -8
- package/dist/chunks/{shell-aq3d4cx2.js → file-retention-vcjsbe3m.js} +89 -89
- package/dist/chunks/{shell-vjf35v1f.js → file-retention-vjf35v1f.js} +1 -1
- package/dist/chunks/{shell-gcjdgkn2.js → file-retention-vrcsa8qx.js} +9 -9
- package/dist/chunks/{shell-51apr65m.js → file-retention-vvxtm2dm.js} +29 -29
- package/dist/chunks/{shell-a2avvjgj.js → file-retention-w0rkd9p8.js} +35 -35
- package/dist/chunks/{shell-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
- package/dist/chunks/{shell-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{shell-wegkxhrn.js → file-retention-wegkxhrn.js} +2 -2
- package/dist/chunks/{shell-epcdake3.js → file-retention-wejx1yzz.js} +4 -4
- package/dist/chunks/{shell-56jkt7vc.js → file-retention-whgw2pzj.js} +27 -27
- package/dist/chunks/{shell-wnhgecwx.js → file-retention-wnhgecwx.js} +1 -1
- package/dist/chunks/{shell-wr3re1en.js → file-retention-wr3re1en.js} +1 -1
- package/dist/chunks/{shell-wvr8xscb.js → file-retention-wvr8xscb.js} +1 -1
- package/dist/chunks/{shell-ckw7gy7y.js → file-retention-wx1v6zv9.js} +12 -12
- package/dist/chunks/{shell-2zhyc09s.js → file-retention-wzp3mys1.js} +3 -3
- package/dist/chunks/{shell-x64jffdk.js → file-retention-x38wddp3.js} +12 -12
- package/dist/chunks/{shell-fc6b9ra8.js → file-retention-x457m8xb.js} +13 -13
- package/dist/chunks/{shell-vy50mzzj.js → file-retention-x8pa5p51.js} +24 -24
- package/dist/chunks/{shell-vt35469a.js → file-retention-x8yhzycg.js} +9 -9
- package/dist/chunks/file-retention-xajdwwy7.js +26 -0
- package/dist/chunks/{shell-eg4gnj8c.js → file-retention-xgbbyafx.js} +35 -35
- package/dist/chunks/{shell-9fa1t37d.js → file-retention-xz5yt0yg.js} +19 -19
- package/dist/chunks/{shell-1t71ng30.js → file-retention-xzb1rrrv.js} +18 -18
- package/dist/chunks/{shell-30rdyssq.js → file-retention-y4f0c2re.js} +22 -22
- package/dist/chunks/{shell-tcahmmy5.js → file-retention-y8e7ya07.js} +43 -43
- package/dist/chunks/file-retention-y8y3xh3s.js +555 -0
- package/dist/chunks/{shell-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
- package/dist/chunks/{shell-ybws1qgk.js → file-retention-ybws1qgk.js} +4 -4
- package/dist/chunks/{shell-k9bs7cba.js → file-retention-yc2h06fb.js} +18 -18
- package/dist/chunks/{shell-stb7syxb.js → file-retention-yf177qcx.js} +4 -4
- package/dist/chunks/{shell-y2384acf.js → file-retention-yk7egwn6.js} +50 -50
- package/dist/chunks/{shell-yr705xyq.js → file-retention-yr705xyq.js} +1 -1
- package/dist/chunks/{shell-9r66fnzx.js → file-retention-ys7rp9j6.js} +11 -11
- package/dist/chunks/{shell-f163p87t.js → file-retention-yszbb02h.js} +11 -11
- package/dist/chunks/{shell-yvtc2x31.js → file-retention-yvtc2x31.js} +1 -1
- package/dist/chunks/{shell-dwstrqp9.js → file-retention-ywppahe3.js} +32 -32
- package/dist/chunks/{shell-6rzx9z0d.js → file-retention-yx1z8yqh.js} +34 -34
- package/dist/chunks/{shell-0v6hfd9s.js → file-retention-yxmmjzm7.js} +6 -6
- package/dist/chunks/{shell-pn41xxg3.js → file-retention-yydqqga9.js} +4 -4
- package/dist/chunks/{shell-d9xdsm8s.js → file-retention-z1qht066.js} +20 -20
- package/dist/chunks/{shell-6cqv0jev.js → file-retention-z4qfpq4d.js} +21 -21
- package/dist/chunks/{shell-ra7camvv.js → file-retention-z5s1hzbx.js} +24 -24
- package/dist/chunks/{shell-pncygwdk.js → file-retention-z8w58q3b.js} +4 -4
- package/dist/chunks/{shell-ggrsp7xj.js → file-retention-z9ersv62.js} +6 -6
- package/dist/chunks/{shell-tc9v4qa2.js → file-retention-zd3y931c.js} +27 -27
- package/dist/chunks/{shell-6qccxdkv.js → file-retention-zece804q.js} +10 -10
- package/dist/chunks/{shell-zm27gg57.js → file-retention-zm27gg57.js} +2 -2
- package/dist/chunks/{shell-yf073rag.js → file-retention-zsv35m7p.js} +10 -10
- package/dist/chunks/{shell-awp23k8s.js → file-retention-ztvrq7gb.js} +12 -12
- package/dist/chunks/{shell-pcxqyrq0.js → file-retention-ztz48n3d.js} +10 -10
- 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 +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +5 -5
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +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 +132 -132
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/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 +106 -106
- 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 +1 -1
- package/dist/filesystem/search.js +110 -110
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +115 -115
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +116 -116
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +112 -112
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +421 -421
- package/dist/instruction-discovery.js +95 -95
- 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 +98 -98
- 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 +122 -122
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +107 -107
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +155 -155
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +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 +127 -127
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +130 -130
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +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 +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
- 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 +132 -132
- 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 +139 -139
- 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 +147 -147
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +405 -405
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +243 -243
- 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 +109 -109
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +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 +255 -255
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +198 -198
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +242 -242
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +198 -198
- 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 +141 -141
- package/dist/session/message-updater.js +2 -2
- 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 +161 -161
- 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 +3 -3
- 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 +235 -235
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +145 -145
- package/dist/skill.js +152 -152
- package/dist/snapshot.js +106 -106
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +180 -180
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +166 -166
- package/dist/tool/plugin/grep.js +160 -160
- 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 +148 -148
- package/dist/tool/plugin/read.js +169 -169
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +235 -235
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +153 -153
- package/dist/tool/plugin/websearch.js +149 -149
- 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 +96 -96
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +95 -95
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- 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 +111 -111
- package/package.json +8 -8
- package/dist/chunks/shell-7yv5xa0k.js +0 -18
- package/dist/chunks/shell-hhqxxv04.js +0 -26
- package/dist/chunks/shell-hj48rses.js +0 -555
- package/dist/chunks/shell-w9emth0g.js +0 -261
- /package/dist/chunks/{shell-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kah00gy.js → file-retention-1kah00gy.js} +0 -0
- /package/dist/chunks/{shell-1pevy3nx.js → file-retention-1pevy3nx.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4qk9sjk2.js → file-retention-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-5w3e23ze.js → file-retention-5w3e23ze.js} +0 -0
- /package/dist/chunks/{shell-6agm2x70.js → file-retention-6agm2x70.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-beh6qq61.js → file-retention-beh6qq61.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cqv5kn06.js → file-retention-cqv5kn06.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-dbht28n9.js → file-retention-dbht28n9.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ean2d8b5.js → file-retention-ean2d8b5.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fkpq3x5p.js → file-retention-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jwr30sdr.js → file-retention-jwr30sdr.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → file-retention-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-nh4v3znn.js → file-retention-nh4v3znn.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-p71gwv9c.js → file-retention-p71gwv9c.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-syrav9an.js → file-retention-syrav9an.js} +0 -0
- /package/dist/chunks/{shell-t03h4f5z.js → file-retention-t03h4f5z.js} +0 -0
- /package/dist/chunks/{shell-ty7weeps.js → file-retention-ty7weeps.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-vtarvj67.js → file-retention-vtarvj67.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-wzp3mys1.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service88,
|
|
8
|
+
node91
|
|
9
|
+
} from "./file-retention-3whc36fx.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-0ma9gw4f.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-ae862rdn.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service74,
|
|
21
|
+
node77
|
|
22
|
+
} from "./file-retention-x38wddp3.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service33,
|
|
25
|
+
node36
|
|
26
|
+
} from "./file-retention-433pf4gj.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-4f25tdd0.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service5,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer5,
|
|
42
|
+
node: () => node7
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
|
|
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service5 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var messagePrompt = (text) => `Here is the first message of the conversation:
|
|
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
72
72
|
title: session.title,
|
|
73
73
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
74
74
|
});
|
|
75
|
-
var
|
|
76
|
-
const bus = yield*
|
|
75
|
+
var layer5 = Layer.effect(Service5, Effect.gen(function* () {
|
|
76
|
+
const bus = yield* Service88;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
|
-
const context = yield*
|
|
79
|
-
const store = yield*
|
|
78
|
+
const context = yield* Service33;
|
|
79
|
+
const store = yield* Service74;
|
|
80
80
|
const db = (yield* Service90).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
@@ -160,12 +160,12 @@ Recent conversation:
|
|
|
160
160
|
title: truncate(title)
|
|
161
161
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
162
162
|
});
|
|
163
|
-
return
|
|
163
|
+
return Service5.of({ generate });
|
|
164
164
|
}));
|
|
165
|
-
var
|
|
166
|
-
service:
|
|
167
|
-
layer:
|
|
168
|
-
deps: [
|
|
165
|
+
var node7 = makeLocationNode({
|
|
166
|
+
service: Service5,
|
|
167
|
+
layer: layer5,
|
|
168
|
+
deps: [node91, llmClient2, node36, node77, node93]
|
|
169
169
|
});
|
|
170
170
|
|
|
171
|
-
export {
|
|
171
|
+
export { Service5, isUntitled2, layer5, node7, exports_title };
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref3,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service80
|
|
4
|
+
} from "./file-retention-n2pc7kwe.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service77
|
|
7
|
+
} from "./file-retention-yk7egwn6.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service62
|
|
13
|
+
} from "./file-retention-z5s1hzbx.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessage2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-gftt206x.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service72
|
|
19
|
+
} from "./file-retention-6mzz8e2v.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service18
|
|
22
|
+
} from "./file-retention-7xm9wv05.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service21
|
|
25
|
+
} from "./file-retention-tq5makbn.js";
|
|
26
26
|
import {
|
|
27
27
|
text2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-retention-8b3vzgkx.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service71
|
|
31
|
+
} from "./file-retention-1ss1y6bx.js";
|
|
32
32
|
import {
|
|
33
33
|
detect2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-retention-4pyp9zr9.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service31
|
|
37
|
+
} from "./file-retention-vcjsbe3m.js";
|
|
38
38
|
import {
|
|
39
39
|
collectBoundedResponseBody2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./file-retention-3v8g72cx.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/tool/plugin/image-generate.ts
|
|
46
46
|
var exports_image_generate = {};
|
|
47
47
|
__export(exports_image_generate, {
|
|
48
48
|
ImageGenerateTool: () => exports_image_generate,
|
|
49
|
-
Input: () =>
|
|
49
|
+
Input: () => Input8,
|
|
50
50
|
MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
|
|
51
|
-
Output: () =>
|
|
52
|
-
Plugin: () =>
|
|
51
|
+
Output: () => Output6,
|
|
52
|
+
Plugin: () => Plugin27,
|
|
53
53
|
defaultModel: () => defaultModel2,
|
|
54
|
-
description: () =>
|
|
55
|
-
name: () =>
|
|
54
|
+
description: () => description5,
|
|
55
|
+
name: () => name8
|
|
56
56
|
});
|
|
57
57
|
import path from "path";
|
|
58
58
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -60,7 +60,7 @@ import { Identifier } from "@opencode/schema/identifier";
|
|
|
60
60
|
import { Global } from "@opencode/util/global";
|
|
61
61
|
import { Duration, Effect, Schema, Scope, Stream } from "effect";
|
|
62
62
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
63
|
-
var
|
|
63
|
+
var name8 = "experimental_image_generate";
|
|
64
64
|
var MAX_INPUT_BYTES2 = 20 * 1024 * 1024;
|
|
65
65
|
var DOWNLOAD_TIMEOUT = Duration.seconds(30);
|
|
66
66
|
var GENERATE_TIMEOUT = Duration.minutes(30);
|
|
@@ -71,7 +71,7 @@ var EXTENSIONS = {
|
|
|
71
71
|
"image/webp": ".webp",
|
|
72
72
|
"image/gif": ".gif"
|
|
73
73
|
};
|
|
74
|
-
var
|
|
74
|
+
var description5 = [
|
|
75
75
|
"Generates a new image, or edits existing ones.",
|
|
76
76
|
"Only call this when the user asks you to create or edit an image. If you think an image would help but the user didn't ask for one, ask them first instead of generating it.",
|
|
77
77
|
"Images you pass are used as the source to edit, or as references for style and subject.",
|
|
@@ -80,7 +80,7 @@ var description3 = [
|
|
|
80
80
|
"Don't repeat a request unless the user asks."
|
|
81
81
|
].join(`
|
|
82
82
|
`);
|
|
83
|
-
var
|
|
83
|
+
var Input8 = Schema.Struct({
|
|
84
84
|
prompt: Schema.String.check(Schema.isMinLength(1)).annotate({
|
|
85
85
|
description: "What to create, or for edits, what to change. Be specific about subject, style, composition and any text that should appear in the image."
|
|
86
86
|
}),
|
|
@@ -94,25 +94,25 @@ var Input2 = Schema.Struct({
|
|
|
94
94
|
description: "Where to save the image, relative to the session directory or absolute. The extension is replaced with the image's real format, and an existing file is overwritten. Defaults to a new file in the session's temp folder."
|
|
95
95
|
})
|
|
96
96
|
});
|
|
97
|
-
var
|
|
97
|
+
var Output6 = Schema.Struct({
|
|
98
98
|
id: Schema.String.annotate({ description: "The image job's ID, repeated in its completion notice" }),
|
|
99
99
|
path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
|
|
100
100
|
model: Schema.String.annotate({ description: "providerID/modelID" })
|
|
101
101
|
});
|
|
102
|
-
var
|
|
102
|
+
var Plugin27 = {
|
|
103
103
|
id: "opencode.tool.image-generate",
|
|
104
104
|
effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
|
|
105
|
-
const access = yield*
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const generate = yield*
|
|
105
|
+
const access = yield* Service18;
|
|
106
|
+
const environment = yield* Service62;
|
|
107
|
+
const generate = yield* Service21;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
109
|
const http = yield* HttpClient.HttpClient;
|
|
110
|
-
const config = yield*
|
|
111
|
-
const jobs = yield*
|
|
110
|
+
const config = yield* Service77;
|
|
111
|
+
const jobs = yield* Service71;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
113
|
-
const sessions = yield*
|
|
114
|
-
const models = yield*
|
|
115
|
-
const permission = yield*
|
|
113
|
+
const sessions = yield* Service31;
|
|
114
|
+
const models = yield* Service80;
|
|
115
|
+
const permission = yield* Service72;
|
|
116
116
|
const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
|
|
117
117
|
const available = yield* models.available(["image"]);
|
|
118
118
|
if (!input) {
|
|
@@ -193,7 +193,7 @@ var Plugin38 = {
|
|
|
193
193
|
state: info.status,
|
|
194
194
|
body: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${input.file}.` : `Image request for ${input.file} was cancelled.`
|
|
195
195
|
}),
|
|
196
|
-
metadata: { source:
|
|
196
|
+
metadata: { source: name8, jobID: input.id, state: info.status, path: input.file }
|
|
197
197
|
});
|
|
198
198
|
yield* jobs.completeBackground(input.notificationID);
|
|
199
199
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
@@ -212,11 +212,11 @@ var Plugin38 = {
|
|
|
212
212
|
if (!enabled || imageGenerate(loaded.entries) === false)
|
|
213
213
|
return;
|
|
214
214
|
editor.add({
|
|
215
|
-
name:
|
|
215
|
+
name: name8,
|
|
216
216
|
options: { codemode: false },
|
|
217
|
-
description:
|
|
218
|
-
input:
|
|
219
|
-
output:
|
|
217
|
+
description: description5,
|
|
218
|
+
input: Input8,
|
|
219
|
+
output: Output6,
|
|
220
220
|
execute: (input, context) => Effect.gen(function* () {
|
|
221
221
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
222
222
|
const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
|
|
@@ -226,7 +226,7 @@ var Plugin38 = {
|
|
|
226
226
|
const target = input.path ? yield* access.resolve({ path: input.path, kind: "file" }) : undefined;
|
|
227
227
|
const stem = target ? target.absolute.slice(0, target.absolute.length - path.extname(target.absolute).length) : path.join(global.tmp, "images", context.sessionID, `image_${Identifier.create(false)}`);
|
|
228
228
|
yield* permission.assert({
|
|
229
|
-
action:
|
|
229
|
+
action: name8,
|
|
230
230
|
resources: [ref],
|
|
231
231
|
save: ["*"],
|
|
232
232
|
metadata: { ...input, model: ref },
|
|
@@ -294,7 +294,7 @@ Use the read tool on this path to view the image.`;
|
|
|
294
294
|
yield* jobs.start({
|
|
295
295
|
id,
|
|
296
296
|
notificationID,
|
|
297
|
-
type:
|
|
297
|
+
type: name8,
|
|
298
298
|
title: input.prompt,
|
|
299
299
|
metadata: { sessionID: context.sessionID, path: stem, model: ref },
|
|
300
300
|
recovery: { kind: "image", sessionID: context.sessionID, path: stem, model: ref },
|
|
@@ -333,4 +333,4 @@ function acceptsImages(model) {
|
|
|
333
333
|
return model.capabilities.input.some((item) => item.startsWith("image"));
|
|
334
334
|
}
|
|
335
335
|
|
|
336
|
-
export {
|
|
336
|
+
export { name8, MAX_INPUT_BYTES2, description5, Input8, Output6, Plugin27, defaultModel2, exports_image_generate };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service56,
|
|
10
|
+
node: () => node59
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service56 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node59 = LayerNode.unbound(Service56, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service56, node59, exports_service2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-nyxfy9wj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./file-retention-6mzz8e2v.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service18
|
|
9
|
+
} from "./file-retention-7xm9wv05.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-d4v9tmah.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Info7,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-a1d98dpx.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin34,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -105,11 +105,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
105
105
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
106
106
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
107
107
|
});
|
|
108
|
-
var
|
|
108
|
+
var Plugin34 = {
|
|
109
109
|
id: "opencode.tools",
|
|
110
110
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
111
|
-
const access = yield*
|
|
112
|
-
const permission = yield*
|
|
111
|
+
const access = yield* Service18;
|
|
112
|
+
const permission = yield* Service72;
|
|
113
113
|
const hook = (event) => Effect.sync(() => {
|
|
114
114
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
115
115
|
});
|
|
@@ -161,7 +161,7 @@ var Plugin44 = {
|
|
|
161
161
|
name: "worktree_create",
|
|
162
162
|
description: "Create a named worktree. Returns its directory.",
|
|
163
163
|
input: WorktreeCreateInput2,
|
|
164
|
-
output:
|
|
164
|
+
output: Info7,
|
|
165
165
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
166
166
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
167
167
|
});
|
|
@@ -258,4 +258,4 @@ function removeFailure(directory, error) {
|
|
|
258
258
|
return `Unable to remove worktree ${directory}.`;
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
261
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin34, exports_opencode };
|
|
@@ -1,27 +1,27 @@
|
|
|
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
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-95sp4hdf.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ID17,
|
|
14
|
+
Service82,
|
|
15
|
+
node85,
|
|
16
16
|
Event18
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-retention-tykajzt3.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service85,
|
|
20
|
+
node88
|
|
21
|
+
} from "./file-retention-tz3w010n.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider4 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_provider4, {
|
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
34
|
Event: () => Event17,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID16,
|
|
36
|
+
Info: () => Info24,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider4,
|
|
39
39
|
Request: () => Request4,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service81,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider4, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node84,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -333,7 +333,7 @@ var decode = Schema.decodeUnknownSync(Legacy);
|
|
|
333
333
|
|
|
334
334
|
// src/provider.ts
|
|
335
335
|
import { Event as Event17 } from "@opencode/schema/provider";
|
|
336
|
-
var
|
|
336
|
+
var ID16 = Provider.ID;
|
|
337
337
|
var AISDK_PREFIX2 = "aisdk:";
|
|
338
338
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
339
339
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -578,9 +578,9 @@ var Compaction3 = Provider.Compaction;
|
|
|
578
578
|
var Cache2 = Provider.Cache;
|
|
579
579
|
var Transport2 = Provider.Transport;
|
|
580
580
|
var Settings2 = Provider.Settings;
|
|
581
|
-
var
|
|
581
|
+
var Info24 = Provider.Info;
|
|
582
582
|
|
|
583
|
-
class
|
|
583
|
+
class Service81 extends Context.Service()("@opencode/Provider") {
|
|
584
584
|
}
|
|
585
585
|
var definitions = new WeakMap;
|
|
586
586
|
function index(providerID, models) {
|
|
@@ -593,10 +593,10 @@ function index(providerID, models) {
|
|
|
593
593
|
definitions.set(models, indexes);
|
|
594
594
|
return result;
|
|
595
595
|
}
|
|
596
|
-
var layer = Layer.effect(
|
|
597
|
-
const bus = yield*
|
|
598
|
-
const integrations = yield*
|
|
599
|
-
const location = yield*
|
|
596
|
+
var layer = Layer.effect(Service81, Effect2.gen(function* () {
|
|
597
|
+
const bus = yield* Service88;
|
|
598
|
+
const integrations = yield* Service82;
|
|
599
|
+
const location = yield* Service85;
|
|
600
600
|
const state = create4({
|
|
601
601
|
name: "provider",
|
|
602
602
|
initial: () => new Map,
|
|
@@ -607,7 +607,7 @@ var layer = Layer.effect(Service82, Effect2.gen(function* () {
|
|
|
607
607
|
const current = records.get(id);
|
|
608
608
|
if (current)
|
|
609
609
|
return current;
|
|
610
|
-
const added = { provider:
|
|
610
|
+
const added = { provider: Info24.empty(id), models: new Map };
|
|
611
611
|
records.set(id, added);
|
|
612
612
|
maps.add(added.models);
|
|
613
613
|
return added;
|
|
@@ -688,7 +688,7 @@ var layer = Layer.effect(Service82, Effect2.gen(function* () {
|
|
|
688
688
|
const available = Array.from(records.values()).filter((record) => {
|
|
689
689
|
if (record.provider.activation === "disabled")
|
|
690
690
|
return false;
|
|
691
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
691
|
+
const integration = byID.get(record.provider.integrationID ?? ID17.make(record.provider.id));
|
|
692
692
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
693
693
|
return false;
|
|
694
694
|
if (record.provider.activation === "enabled")
|
|
@@ -715,7 +715,7 @@ var layer = Layer.effect(Service82, Effect2.gen(function* () {
|
|
|
715
715
|
});
|
|
716
716
|
});
|
|
717
717
|
yield* bus.subscribe([Event18.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
718
|
-
return
|
|
718
|
+
return Service81.of({
|
|
719
719
|
transform: state.transform,
|
|
720
720
|
reload: state.reload,
|
|
721
721
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -724,7 +724,7 @@ var layer = Layer.effect(Service82, Effect2.gen(function* () {
|
|
|
724
724
|
snapshot
|
|
725
725
|
});
|
|
726
726
|
}));
|
|
727
|
-
var
|
|
727
|
+
var node84 = makeLocationNode({ service: Service81, layer, deps: [node91, node85, node88] });
|
|
728
728
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
729
729
|
const module = yield* Effect2.tryPromise({
|
|
730
730
|
try: () => {
|
|
@@ -746,4 +746,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
746
746
|
return module;
|
|
747
747
|
});
|
|
748
748
|
|
|
749
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
749
|
+
export { rewrite2, native2, exports_aisdk_native, ID16, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info24, Service81, node84, exports_provider4, Event17 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/language-model/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_system_prompt, {
|
|
|
8
8
|
AGENT_OPTION: () => AGENT_OPTION2,
|
|
9
9
|
ClaudeSystemPrompt: () => exports_system_prompt,
|
|
10
10
|
INSTRUCTIONS_OPTION: () => INSTRUCTIONS_OPTION2,
|
|
11
|
-
make: () =>
|
|
11
|
+
make: () => make10,
|
|
12
12
|
utility: () => utility2
|
|
13
13
|
});
|
|
14
14
|
var AGENT_OPTION2 = "claudeCodeAgent";
|
|
@@ -19,7 +19,7 @@ var primary = {
|
|
|
19
19
|
snapshot: false,
|
|
20
20
|
append: "<runtime_info>You are running in OpenCode through the Claude Code harness. Mention this only when asked.</runtime_info>"
|
|
21
21
|
};
|
|
22
|
-
function
|
|
22
|
+
function make10(role, instructions) {
|
|
23
23
|
const blocks = [primary.append];
|
|
24
24
|
if (role)
|
|
25
25
|
blocks.push(`# Agent role (from OpenCode)
|
|
@@ -37,4 +37,4 @@ function utility2(prompt) {
|
|
|
37
37
|
`) || "You are a text generation helper. Return only the requested output.";
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
export { AGENT_OPTION2, INSTRUCTIONS_OPTION2,
|
|
40
|
+
export { AGENT_OPTION2, INSTRUCTIONS_OPTION2, make10, utility2, exports_system_prompt };
|
|
@@ -1,20 +1,20 @@
|
|
|
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-ai-gateway.ts
|
|
13
13
|
import { Effect } from "effect";
|
|
14
14
|
import { isArrayNonEmpty } from "effect/Array";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Form } from "@opencode/schema/form";
|
|
17
|
-
var providerID =
|
|
17
|
+
var providerID = ID16.make("cloudflare-ai-gateway");
|
|
18
18
|
var accountIdField = Form.StringField.make({
|
|
19
19
|
type: "string",
|
|
20
20
|
key: "accountId",
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service55,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service55 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service55, exports_runner };
|