@opencode/core 0.0.0-dev-724 → 0.0.0-dev-750
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 +254 -254
- package/dist/bus.js +80 -80
- package/dist/chunks/{agent-t4q26rjw.js → schema-008dd0yn.js} +19 -19
- package/dist/chunks/{agent-034tev2y.js → schema-034tev2y.js} +2 -2
- package/dist/chunks/{agent-r2dg4ypp.js → schema-08kasbx3.js} +12 -12
- package/dist/chunks/{agent-0j7gp832.js → schema-0j7gp832.js} +1 -1
- package/dist/chunks/{agent-0ma9gw4f.js → schema-0ma9gw4f.js} +2 -2
- package/dist/chunks/{agent-3h1bv8fr.js → schema-0php2d2a.js} +4 -4
- package/dist/chunks/{agent-hgm1wm98.js → schema-0rw9w12c.js} +34 -34
- package/dist/chunks/{agent-t975apb5.js → schema-146wewwb.js} +32 -32
- package/dist/chunks/{agent-5ar0v554.js → schema-18b1hh0p.js} +11 -11
- package/dist/chunks/{agent-1aqsckx4.js → schema-1aqsckx4.js} +1 -1
- package/dist/chunks/{agent-1ep2p91f.js → schema-1ep2p91f.js} +2 -2
- package/dist/chunks/{agent-msd2a3qm.js → schema-1v2g13eq.js} +4 -4
- package/dist/chunks/{agent-1x2knyw4.js → schema-1x2knyw4.js} +1 -1
- package/dist/chunks/{agent-1x9rmq5t.js → schema-229zf5yd.js} +9 -9
- package/dist/chunks/{agent-6sbqt8cr.js → schema-22nycdrc.js} +45 -45
- package/dist/chunks/{agent-f14s7ktc.js → schema-241bv0br.js} +34 -34
- package/dist/chunks/{agent-tb2mrvc9.js → schema-26wfx3k0.js} +4 -4
- package/dist/chunks/{agent-2fc7eemy.js → schema-2fc7eemy.js} +1 -1
- package/dist/chunks/{agent-91cjkkm3.js → schema-2jf1bxtx.js} +27 -27
- package/dist/chunks/{agent-s7kyse9r.js → schema-2kg89srt.js} +4 -4
- package/dist/chunks/{agent-2p60zmnr.js → schema-2p60zmnr.js} +2 -2
- package/dist/chunks/{agent-hh2vw3e2.js → schema-2taqv2df.js} +18 -18
- package/dist/chunks/{agent-wp73ac89.js → schema-31j7pzdv.js} +19 -19
- package/dist/chunks/{agent-6qh9fsc1.js → schema-33z87vrf.js} +10 -10
- package/dist/chunks/{agent-sxk1c408.js → schema-343a2hs0.js} +20 -20
- package/dist/chunks/{agent-1yvpepkz.js → schema-35exr4fm.js} +8 -8
- package/dist/chunks/{agent-nemnqzpn.js → schema-38atze3s.js} +4 -4
- package/dist/chunks/{agent-z080rjh6.js → schema-38aws4xb.js} +4 -4
- package/dist/chunks/{agent-2bwhv0b9.js → schema-3b5y8tyf.js} +9 -9
- package/dist/chunks/{agent-1bnb2w0q.js → schema-3g6yk762.js} +370 -370
- package/dist/chunks/{agent-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{agent-qanwsyn8.js → schema-3jez8t5h.js} +25 -25
- package/dist/chunks/{agent-3nnrz6f6.js → schema-3nnrz6f6.js} +1 -1
- package/dist/chunks/{agent-3ryz99p0.js → schema-3ryz99p0.js} +1 -1
- package/dist/chunks/{agent-gb5fgnjd.js → schema-3x3xt33b.js} +25 -25
- package/dist/chunks/{agent-3jtgmzny.js → schema-402qqjzj.js} +4 -4
- package/dist/chunks/{agent-40y6dtc2.js → schema-40y6dtc2.js} +1 -1
- package/dist/chunks/{agent-czckasff.js → schema-431s0qhm.js} +20 -20
- package/dist/chunks/{agent-ezfxdwf3.js → schema-43xxzps8.js} +28 -28
- package/dist/chunks/{agent-44pmzq9c.js → schema-44pmzq9c.js} +2 -2
- package/dist/chunks/{agent-jh9q4qkg.js → schema-4awjamkd.js} +2 -2
- package/dist/chunks/{agent-4panavwp.js → schema-4cbnss6f.js} +27 -27
- package/dist/chunks/{agent-4dx1dgte.js → schema-4dx1dgte.js} +1 -1
- package/dist/chunks/{agent-4f25tdd0.js → schema-4f25tdd0.js} +1 -1
- package/dist/chunks/{agent-edwx1ema.js → schema-4fstmzjv.js} +26 -26
- package/dist/chunks/{agent-4pyp9zr9.js → schema-4pyp9zr9.js} +1 -1
- package/dist/chunks/{agent-zxzazbrt.js → schema-4qcgq6fd.js} +5 -5
- package/dist/chunks/{agent-jwk7m03s.js → schema-4tjwtw9z.js} +14 -14
- package/dist/chunks/{agent-3pptegkg.js → schema-4tp777r8.js} +22 -22
- package/dist/chunks/{agent-4v008n1t.js → schema-4v008n1t.js} +1 -1
- package/dist/chunks/{agent-tjncsxe1.js → schema-4wevea6f.js} +8 -8
- package/dist/chunks/{agent-a0njj5td.js → schema-4xcsbp6b.js} +3 -3
- package/dist/chunks/{agent-0wpbjwe4.js → schema-50we0xw9.js} +41 -41
- package/dist/chunks/{agent-q9fpmhy0.js → schema-51pg0qrg.js} +2 -2
- package/dist/chunks/{agent-34zmmmgy.js → schema-52s56y18.js} +27 -27
- package/dist/chunks/{agent-2h8cm49x.js → schema-541fszvp.js} +20 -20
- package/dist/chunks/{agent-7s2dr1e1.js → schema-569bxj5n.js} +5 -5
- package/dist/chunks/{agent-an59wq9t.js → schema-56fetpwv.js} +8 -8
- package/dist/chunks/{agent-8g19k2e5.js → schema-5bh4mvn3.js} +18 -18
- package/dist/chunks/{agent-9pewx6m0.js → schema-5d0we2jy.js} +14 -14
- package/dist/chunks/{agent-r41sfy63.js → schema-5enarcya.js} +9 -9
- package/dist/chunks/{agent-rfqk20bv.js → schema-5et6j8ne.js} +11 -11
- package/dist/chunks/{agent-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
- package/dist/chunks/{agent-ksjgaqh0.js → schema-5mxfhp12.js} +10 -10
- package/dist/chunks/{agent-r87112jt.js → schema-5qfrk584.js} +26 -26
- package/dist/chunks/{agent-ew642sw2.js → schema-5rvn2vyn.js} +6 -6
- package/dist/chunks/{agent-7gmcbytm.js → schema-5svdkr8g.js} +31 -31
- package/dist/chunks/{agent-kbgs7tyr.js → schema-67wwskyb.js} +4 -4
- package/dist/chunks/{agent-y66w7ktp.js → schema-6ae8rkd0.js} +3 -3
- package/dist/chunks/{agent-n55b7vd5.js → schema-6bqgb8fe.js} +6 -6
- package/dist/chunks/{agent-v2x06h94.js → schema-6cqkw5v2.js} +5 -5
- package/dist/chunks/{agent-aq6a5s3g.js → schema-6f5vaxy9.js} +3 -3
- package/dist/chunks/{agent-5bk8975x.js → schema-6k1xqhqr.js} +11 -11
- package/dist/chunks/{agent-x26wqd07.js → schema-6ss6ngz0.js} +4 -4
- package/dist/chunks/{agent-wvr8xscb.js → schema-6y2b864j.js} +4 -4
- package/dist/chunks/{agent-xk4wn29w.js → schema-70453yne.js} +36 -36
- package/dist/chunks/{agent-c4613x02.js → schema-75r08vdf.js} +12 -12
- package/dist/chunks/{agent-3m1vjthe.js → schema-79g5hgzb.js} +5 -5
- package/dist/chunks/{agent-pj5hqg4g.js → schema-7axbmn4p.js} +17 -17
- package/dist/chunks/{agent-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{agent-v8nxqm0j.js → schema-7mf65fwb.js} +4 -4
- package/dist/chunks/{agent-1dsh2pge.js → schema-7ng66n2b.js} +6 -6
- package/dist/chunks/{agent-zgvpfbrs.js → schema-7nzedwpg.js} +37 -37
- package/dist/chunks/{agent-1n0kq262.js → schema-7tmva3ed.js} +15 -15
- package/dist/chunks/{agent-gzcy99ht.js → schema-7v1z0t0q.js} +22 -22
- package/dist/chunks/{agent-7w2ypzdf.js → schema-7w2ypzdf.js} +1 -1
- package/dist/chunks/{agent-7weczvnd.js → schema-7weczvnd.js} +1 -1
- package/dist/chunks/{agent-n2j35w1r.js → schema-7wmfavcc.js} +13 -13
- package/dist/chunks/{agent-kn0n0yqw.js → schema-7yrmvzb4.js} +20 -20
- package/dist/chunks/{agent-775hqbnd.js → schema-80mg3ag8.js} +3 -3
- package/dist/chunks/{agent-v8vd993n.js → schema-81a9zpe2.js} +8 -8
- package/dist/chunks/{agent-dtrrxc61.js → schema-81hxxa3v.js} +3 -3
- package/dist/chunks/{agent-sp85y8nd.js → schema-82phgae0.js} +5 -5
- package/dist/chunks/{agent-xjbsd7zy.js → schema-859w1rtj.js} +9 -9
- package/dist/chunks/{agent-89287pr7.js → schema-89287pr7.js} +1 -1
- package/dist/chunks/{agent-8b3vzgkx.js → schema-8b3vzgkx.js} +1 -1
- package/dist/chunks/{agent-5whx36p1.js → schema-8cg7mtm3.js} +4 -4
- package/dist/chunks/{agent-v76jn9m0.js → schema-8e7xsq9p.js} +20 -20
- package/dist/chunks/{agent-9wh2pe5x.js → schema-8e9j02e2.js} +14 -14
- package/dist/chunks/{agent-w0f7q7sg.js → schema-8edphf2r.js} +4 -4
- package/dist/chunks/{agent-e3fanrvr.js → schema-8g7f48c7.js} +12 -12
- package/dist/chunks/{agent-0j2ngfqx.js → schema-8gezhxrs.js} +17 -17
- package/dist/chunks/{agent-8sxe6kv8.js → schema-8sxe6kv8.js} +2 -2
- package/dist/chunks/{agent-8wtp7s3z.js → schema-8wtp7s3z.js} +1 -1
- package/dist/chunks/{agent-8zv0xmg5.js → schema-8zv0xmg5.js} +1 -1
- package/dist/chunks/{agent-sv909n4y.js → schema-94e33dpz.js} +3 -3
- package/dist/chunks/{agent-68cs06h1.js → schema-963hk181.js} +5 -5
- package/dist/chunks/{agent-ahs2e380.js → schema-96n2qv9r.js} +4 -4
- package/dist/chunks/{agent-xzb3zm1w.js → schema-9741523d.js} +12 -12
- package/dist/chunks/{agent-3w9q9vh6.js → schema-9csw8agq.js} +5 -5
- package/dist/chunks/{agent-p8mh00x2.js → schema-9e6wq7yz.js} +17 -17
- package/dist/chunks/{agent-d875sacc.js → schema-9jhwcvrn.js} +5 -5
- package/dist/chunks/{agent-d97evh6t.js → schema-9ncngkwd.js} +11 -11
- package/dist/chunks/{agent-y1zkeeep.js → schema-9pns1jhd.js} +19 -19
- package/dist/chunks/{agent-fymwe120.js → schema-9q1vg6y7.js} +49 -49
- package/dist/chunks/{agent-x35vzqzv.js → schema-9vrb4xt1.js} +9 -9
- package/dist/chunks/{agent-mkjtdqgf.js → schema-9we48xfp.js} +9 -9
- package/dist/chunks/{agent-0vn9zqn2.js → schema-a20pjf78.js} +21 -21
- package/dist/chunks/{agent-b9fw4xdr.js → schema-a3bpf18m.js} +8 -8
- package/dist/chunks/{agent-54d9e7kt.js → schema-a8jj1346.js} +28 -28
- package/dist/chunks/{agent-myckrn3a.js → schema-a944tp56.js} +41 -41
- package/dist/chunks/{agent-h3r71kc4.js → schema-afbkaqtp.js} +13 -12
- package/dist/chunks/{agent-270r659b.js → schema-afew9qwf.js} +6 -6
- package/dist/chunks/{agent-tt9rk80g.js → schema-aqczazaa.js} +4 -4
- package/dist/chunks/{agent-vmbdsdmz.js → schema-avdk0hex.js} +3 -3
- package/dist/chunks/{agent-ayjs7tqn.js → schema-ayjs7tqn.js} +2 -2
- package/dist/chunks/{agent-ff5mhygc.js → schema-b1f0ayn3.js} +26 -26
- package/dist/chunks/{agent-j8bfb29e.js → schema-b1yed7re.js} +13 -13
- package/dist/chunks/{agent-szwm4crx.js → schema-b26ddj6h.js} +4 -4
- package/dist/chunks/{agent-b2zf48kj.js → schema-b326610a.js} +49 -49
- package/dist/chunks/{agent-p7vhpwh8.js → schema-bdhd9h6e.js} +5 -5
- package/dist/chunks/{agent-q6kzhayd.js → schema-besayk4r.js} +13 -13
- package/dist/chunks/{agent-cftka958.js → schema-bfjchaaf.js} +5 -5
- package/dist/chunks/{agent-bstexjd6.js → schema-bstexjd6.js} +1 -1
- package/dist/chunks/{agent-z8ayg3ym.js → schema-c0mak6b5.js} +11 -11
- package/dist/chunks/{agent-tb9v3prs.js → schema-c190svfg.js} +29 -29
- package/dist/chunks/{agent-8ny69rmg.js → schema-c1qr15vn.js} +4 -4
- package/dist/chunks/{agent-7j1ep75t.js → schema-c1sgx0x8.js} +58 -58
- package/dist/chunks/{agent-a110cqe1.js → schema-c7wtkndz.js} +12 -12
- package/dist/chunks/{agent-tgwd2taw.js → schema-cjmxvy5h.js} +13 -13
- package/dist/chunks/{agent-cwrgdav8.js → schema-cwrgdav8.js} +2 -2
- package/dist/chunks/{agent-d4v9tmah.js → schema-d4v9tmah.js} +2 -2
- package/dist/chunks/{agent-b0fy1v2h.js → schema-d6k65kk8.js} +1 -1
- package/dist/chunks/{agent-gk9gzhj1.js → schema-d7zhsqem.js} +5 -5
- package/dist/chunks/{agent-fvqhdj2b.js → schema-dcae9g6z.js} +10 -10
- package/dist/chunks/{agent-cew7k7b6.js → schema-de17nkma.js} +18 -18
- package/dist/chunks/{agent-230v58ed.js → schema-dgjjqe8c.js} +14 -14
- package/dist/chunks/{agent-g7x9jesh.js → schema-djtmzfdf.js} +39 -39
- package/dist/chunks/{agent-9hgg8v4t.js → schema-djyr6gem.js} +1 -1
- package/dist/chunks/{agent-rx3th0cf.js → schema-dpwdt4ct.js} +16 -16
- package/dist/chunks/{agent-dt77769w.js → schema-dt77769w.js} +1 -1
- package/dist/chunks/{agent-850ymmzx.js → schema-e2kwjra7.js} +12 -12
- package/dist/chunks/{agent-e834z07m.js → schema-e834z07m.js} +1 -1
- package/dist/chunks/{agent-3ycxw5e5.js → schema-edme7da6.js} +7 -7
- package/dist/chunks/{agent-d3k83vxa.js → schema-eqnezez4.js} +3 -3
- package/dist/chunks/{agent-eqw4pqj1.js → schema-eqw4pqj1.js} +2 -2
- package/dist/chunks/{agent-b98mm2af.js → schema-erpzze8r.js} +8 -8
- package/dist/chunks/{agent-xsmgvw70.js → schema-esj59wkj.js} +9 -9
- package/dist/chunks/{agent-45rmpdrg.js → schema-exgeppkr.js} +10 -10
- package/dist/chunks/{agent-xvn8mnch.js → schema-fcrd7kek.js} +4 -4
- package/dist/chunks/{agent-g2mg1fsy.js → schema-fdwj1ft9.js} +13 -13
- package/dist/chunks/{agent-fffv3p7h.js → schema-fffv3p7h.js} +1 -1
- package/dist/chunks/{agent-prq7xxp2.js → schema-fg9p65nk.js} +6 -6
- package/dist/chunks/{agent-n5zj00pj.js → schema-fjzttgzd.js} +16 -16
- package/dist/chunks/{agent-fyjjbtyf.js → schema-fmfcqjwc.js} +32 -32
- package/dist/chunks/{agent-k25mt8kq.js → schema-fp2kss3x.js} +6 -6
- package/dist/chunks/{agent-5n5e7dw0.js → schema-fq0h2asb.js} +9 -9
- package/dist/chunks/{agent-32m7xsmh.js → schema-g70vq0wg.js} +11 -11
- package/dist/chunks/{agent-gbjdnr5j.js → schema-gbjdnr5j.js} +2 -2
- package/dist/chunks/{agent-ghrv1g9c.js → schema-ghrv1g9c.js} +1 -1
- package/dist/chunks/{agent-4p9btqyw.js → schema-gjkjqevx.js} +9 -9
- package/dist/chunks/{agent-2crbja0r.js → schema-gmwea9ed.js} +61 -61
- package/dist/chunks/{agent-ckn0kvtp.js → schema-gwyytpcj.js} +6 -6
- package/dist/chunks/{agent-tg7s7b5t.js → schema-gxs71cxp.js} +4 -4
- package/dist/chunks/{agent-px34s52x.js → schema-gypzy8ht.js} +11 -11
- package/dist/chunks/{agent-ssyabe20.js → schema-hb51vqhx.js} +25 -25
- package/dist/chunks/{agent-sa3fpqfw.js → schema-hgzwgvze.js} +2 -2
- package/dist/chunks/{agent-6mzx2fqq.js → schema-hhw8xtvy.js} +6 -6
- package/dist/chunks/{agent-h7t4c3p9.js → schema-hp13sznw.js} +6 -6
- package/dist/chunks/{agent-y13yzvfz.js → schema-hv7fjhww.js} +7 -7
- package/dist/chunks/{agent-zkg5wsys.js → schema-j7wny5kd.js} +9 -9
- package/dist/chunks/{agent-h29jgkxe.js → schema-j96dfwvd.js} +9 -9
- package/dist/chunks/{agent-aq193527.js → schema-jb7b068s.js} +11 -11
- package/dist/chunks/{agent-nh4zq14w.js → schema-jfcfnq9b.js} +84 -84
- package/dist/chunks/{agent-s9se01ep.js → schema-jhjcc565.js} +4 -4
- package/dist/chunks/{agent-jkdcm5hg.js → schema-jkdcm5hg.js} +1 -1
- package/dist/chunks/{agent-jm70asfg.js → schema-jm70asfg.js} +1 -1
- package/dist/chunks/{agent-xcvt7gda.js → schema-jwxbvbdm.js} +7 -7
- package/dist/chunks/{agent-c9q46f8p.js → schema-jzavpt08.js} +14 -14
- package/dist/chunks/{agent-b7xbe2eg.js → schema-k11hvjep.js} +7 -7
- package/dist/chunks/{agent-x6ah2pwg.js → schema-kdpv7p2s.js} +11 -11
- package/dist/chunks/{agent-pc81zxsz.js → schema-kf71fkgh.js} +29 -29
- package/dist/chunks/{agent-vxm311kj.js → schema-kgwe3n70.js} +13 -13
- package/dist/chunks/{agent-k46dd5bg.js → schema-kj9n5bvh.js} +4 -4
- package/dist/chunks/{agent-4fabgnbe.js → schema-kr0x3sn9.js} +8 -8
- package/dist/chunks/{agent-dw1ye70f.js → schema-ks3wpg02.js} +46 -46
- package/dist/chunks/{agent-jfny1ppa.js → schema-ksynch82.js} +2 -2
- package/dist/chunks/{agent-vsnnaxjq.js → schema-ky596kc3.js} +4 -4
- package/dist/chunks/{agent-kzczzf4v.js → schema-kzczzf4v.js} +1 -1
- package/dist/chunks/{agent-2bswbpgz.js → schema-kzdam8c6.js} +7 -7
- package/dist/chunks/{agent-bafd1fcn.js → schema-m11dc7wk.js} +19 -19
- package/dist/chunks/{agent-m1714858.js → schema-m1714858.js} +1 -1
- package/dist/chunks/{agent-cph1m4pw.js → schema-m25y5sem.js} +22 -22
- package/dist/chunks/{agent-anammz50.js → schema-m4byztg2.js} +20 -20
- package/dist/chunks/{agent-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{agent-mb7mbhnz.js → schema-mb7mbhnz.js} +3 -3
- package/dist/chunks/{agent-gym9zrac.js → schema-mj6qgcy9.js} +30 -30
- package/dist/chunks/{agent-3dn304yc.js → schema-mkqdp8ha.js} +8 -8
- package/dist/chunks/{agent-mm06edep.js → schema-mm06edep.js} +1 -1
- package/dist/chunks/{agent-b6c7g8vw.js → schema-mtr31n2f.js} +1 -1
- package/dist/chunks/{agent-g82vwm3c.js → schema-mv0r2s00.js} +2 -2
- package/dist/chunks/{agent-gvjax9xa.js → schema-n3j33rb6.js} +8 -8
- package/dist/chunks/{agent-xf321fwn.js → schema-n513d2gm.js} +16 -16
- package/dist/chunks/{agent-0699g30z.js → schema-n5a26p1g.js} +8 -8
- package/dist/chunks/{agent-y9ckm5hn.js → schema-n7q5csh4.js} +4 -4
- package/dist/chunks/{agent-9a06hvbq.js → schema-ndb34zat.js} +8 -8
- package/dist/chunks/{agent-92ng8w6r.js → schema-nh7j1sqt.js} +12 -12
- package/dist/chunks/{agent-hng9qfns.js → schema-nn50aq62.js} +31 -31
- package/dist/chunks/{agent-6xey0d43.js → schema-npph2sd6.js} +3 -3
- package/dist/chunks/{agent-h5em4a99.js → schema-nsmav92t.js} +14 -14
- package/dist/chunks/{agent-2t3w83bm.js → schema-nt68kz92.js} +9 -9
- package/dist/chunks/{agent-w7jfwa7t.js → schema-ntzzxe9p.js} +5 -5
- package/dist/chunks/{agent-0yxtqpz7.js → schema-nx9dkrge.js} +8 -8
- package/dist/chunks/{agent-vkj2re5r.js → schema-nxerm415.js} +16 -16
- package/dist/chunks/{agent-7f840skq.js → schema-p9x26950.js} +8 -8
- package/dist/chunks/{agent-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{agent-h42xs5f6.js → schema-pt1j3znw.js} +79 -79
- package/dist/chunks/{agent-anwz40as.js → schema-pvwja8ky.js} +28 -28
- package/dist/chunks/{agent-ekhvmsd2.js → schema-px08ft37.js} +8 -8
- package/dist/chunks/{agent-3q25xadc.js → schema-px779nbm.js} +7 -7
- package/dist/chunks/{agent-cbcw0qrx.js → schema-pzhn5xkz.js} +12 -12
- package/dist/chunks/{agent-955bk7gf.js → schema-q1146cj2.js} +11 -11
- package/dist/chunks/{agent-81m5rmwx.js → schema-q4ybmzbb.js} +19 -19
- package/dist/chunks/{agent-4sk2temx.js → schema-qdj7g5hd.js} +15 -15
- package/dist/chunks/{agent-yq8zkd46.js → schema-qjy7g1tp.js} +17 -17
- package/dist/chunks/schema-qmh7vbk2.js +18 -0
- package/dist/chunks/{agent-qp7r0hxv.js → schema-qp7r0hxv.js} +1 -1
- package/dist/chunks/{agent-e67w1kmt.js → schema-qrmsfwxw.js} +25 -25
- package/dist/chunks/{agent-je9sppby.js → schema-qryc5ast.js} +42 -42
- package/dist/chunks/{agent-2w3nwg04.js → schema-qt2t0sg0.js} +25 -25
- package/dist/chunks/{agent-4pyebn2h.js → schema-qyay3zga.js} +24 -24
- package/dist/chunks/{agent-wfs84ra6.js → schema-r17fbvme.js} +4 -4
- package/dist/chunks/{agent-cq2antnz.js → schema-r3djcgkb.js} +29 -29
- package/dist/chunks/{agent-7xqwfa56.js → schema-r6j14q1k.js} +15 -15
- package/dist/chunks/{agent-becnqr15.js → schema-r8n3dzt2.js} +32 -32
- package/dist/chunks/{agent-rb9dy4dg.js → schema-rb9dy4dg.js} +1 -1
- package/dist/chunks/{agent-pjc0s0z5.js → schema-re84n9v2.js} +6 -6
- package/dist/chunks/{agent-rgc9cx3e.js → schema-rgc9cx3e.js} +2 -2
- package/dist/chunks/{agent-e95ykt29.js → schema-rgw1x9sk.js} +31 -31
- package/dist/chunks/{agent-rj7j5fvs.js → schema-rj7j5fvs.js} +1 -1
- package/dist/chunks/{agent-wbyd4mvd.js → schema-rk0ykhvq.js} +51 -51
- package/dist/chunks/{agent-7e4rwvsh.js → schema-rkbp7de2.js} +19 -19
- package/dist/chunks/{agent-0wqvtycd.js → schema-rnb8t1x2.js} +3 -3
- package/dist/chunks/{agent-rt5dr6hb.js → schema-rt5dr6hb.js} +1 -1
- package/dist/chunks/{agent-nkancn2p.js → schema-rtpvtqd3.js} +30 -30
- package/dist/chunks/{agent-1mp63k31.js → schema-s3p4s9yn.js} +19 -19
- package/dist/chunks/{agent-gtcms6ct.js → schema-s7cp4rre.js} +7 -7
- package/dist/chunks/{agent-hsg5ysck.js → schema-sa6jwhbr.js} +10 -10
- package/dist/chunks/{agent-sbya78hr.js → schema-sbya78hr.js} +1 -1
- package/dist/chunks/{agent-3s5pvj1d.js → schema-sd9rgq0k.js} +35 -35
- package/dist/chunks/{agent-qa0xa6fs.js → schema-shxesnve.js} +15 -15
- package/dist/chunks/{agent-qt52mg76.js → schema-sna17g63.js} +172 -172
- package/dist/chunks/{agent-96g13gj9.js → schema-sp50eaex.js} +6 -6
- package/dist/chunks/{agent-kcbr708v.js → schema-spca3cax.js} +6 -6
- package/dist/chunks/{agent-pj6d1xwv.js → schema-sqpm49ja.js} +28 -28
- package/dist/chunks/{agent-svcy3p9a.js → schema-svcy3p9a.js} +1 -1
- package/dist/chunks/{agent-rz69a4za.js → schema-szwh3a11.js} +2 -2
- package/dist/chunks/{agent-x0zx26at.js → schema-t1evt80m.js} +15 -15
- package/dist/chunks/schema-t28bgx4b.js +265 -0
- package/dist/chunks/{agent-t8erkws8.js → schema-t8erkws8.js} +2 -2
- package/dist/chunks/{agent-90zstvax.js → schema-tbpn7jtk.js} +1 -1
- package/dist/chunks/{agent-tczq8hjw.js → schema-tczq8hjw.js} +1 -1
- package/dist/chunks/{agent-160yv0cs.js → schema-tg1vr1qt.js} +8 -8
- package/dist/chunks/{agent-8seg3v42.js → schema-tkj7f7y1.js} +4 -4
- package/dist/chunks/{agent-dpkh4rq0.js → schema-tpyy0yg7.js} +27 -27
- package/dist/chunks/{agent-tr8x705m.js → schema-tr8x705m.js} +1 -1
- package/dist/chunks/{agent-z70k8qnt.js → schema-tsjbypm3.js} +82 -82
- package/dist/chunks/{agent-twssxy5n.js → schema-twssxy5n.js} +2 -2
- package/dist/chunks/{agent-bsek2bbw.js → schema-tz9a6xhb.js} +5 -5
- package/dist/chunks/{agent-56z9ckds.js → schema-v1pmdt1y.js} +4 -4
- package/dist/chunks/{agent-v2r1d0zg.js → schema-v2r1d0zg.js} +1 -1
- package/dist/chunks/{agent-8y992kak.js → schema-v5hj75bn.js} +9 -9
- package/dist/chunks/{agent-qa8cs4zd.js → schema-v6kk2k34.js} +36 -36
- package/dist/chunks/{agent-9xp9fbz7.js → schema-v8hsp9y2.js} +6 -6
- package/dist/chunks/{agent-d07x248k.js → schema-v8wxce3j.js} +18 -18
- package/dist/chunks/{agent-43pfjxg5.js → schema-v9rv650c.js} +4 -4
- package/dist/chunks/{agent-xfcgjey3.js → schema-vg70k9hm.js} +5 -5
- package/dist/chunks/{agent-49k1t6da.js → schema-vgjzytm0.js} +25 -25
- package/dist/chunks/{agent-vjf35v1f.js → schema-vjf35v1f.js} +1 -1
- package/dist/chunks/{agent-4vnngm45.js → schema-vpw2awk3.js} +21 -21
- package/dist/chunks/{agent-6nasdh91.js → schema-w2v55yvw.js} +10 -10
- package/dist/chunks/{agent-q0wn09nm.js → schema-w3r1b6dm.js} +5 -5
- package/dist/chunks/{agent-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{agent-x2jdr90d.js → schema-w4v3pzqq.js} +23 -23
- package/dist/chunks/{agent-jcqtacjj.js → schema-w4x5b0gh.js} +15 -15
- package/dist/chunks/{agent-ve7xnkcb.js → schema-w63jrhrr.js} +17 -17
- package/dist/chunks/{agent-w687dnns.js → schema-w687dnns.js} +1 -1
- package/dist/chunks/{agent-1wbany6c.js → schema-w6pvsv11.js} +16 -16
- package/dist/chunks/{agent-8wa8ngfp.js → schema-w9062rb3.js} +18 -18
- package/dist/chunks/{agent-wakvkjy4.js → schema-wakvkjy4.js} +1 -1
- package/dist/chunks/{agent-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{agent-wegkxhrn.js → schema-wegkxhrn.js} +2 -2
- package/dist/chunks/{agent-qsdghx1p.js → schema-wfdx5ztx.js} +4 -4
- package/dist/chunks/{agent-eh20wy2z.js → schema-whfmbjzy.js} +9 -9
- package/dist/chunks/{agent-c7cw818c.js → schema-wt99tj4q.js} +5 -5
- package/dist/chunks/{agent-jmrq1tea.js → schema-wwrc0pwr.js} +38 -38
- package/dist/chunks/{agent-g22rscmr.js → schema-wxfbma9z.js} +28 -28
- package/dist/chunks/{agent-e9jmw0ht.js → schema-x0t688cp.js} +27 -27
- package/dist/chunks/{agent-q146y50p.js → schema-x20tnzc2.js} +11 -11
- package/dist/chunks/schema-x4th4bpe.js +24 -0
- package/dist/chunks/{agent-e9k5gxf4.js → schema-x5a7ardn.js} +8 -8
- package/dist/chunks/{agent-teav1bzy.js → schema-x7de2wha.js} +9 -9
- package/dist/chunks/{agent-pdx9nt45.js → schema-x8qfd2m0.js} +12 -12
- package/dist/chunks/{agent-0qccc6r6.js → schema-xbf0xc4n.js} +25 -25
- package/dist/chunks/{agent-9p3e19xy.js → schema-xcpav3pk.js} +24 -24
- package/dist/chunks/{agent-vk8bhwp9.js → schema-xdmksrxe.js} +9 -9
- package/dist/chunks/{agent-j3sd2jae.js → schema-xf9pqj24.js} +22 -22
- package/dist/chunks/{agent-2bhkadc4.js → schema-xfxn8pym.js} +3 -3
- package/dist/chunks/{agent-mcqh2gjr.js → schema-xh27q041.js} +33 -33
- package/dist/chunks/{agent-1r3pc4va.js → schema-xr4mxgbd.js} +11 -11
- package/dist/chunks/{agent-xjr6c8m4.js → schema-xxschbft.js} +4 -4
- package/dist/chunks/{agent-a5fx33f2.js → schema-xz07m27x.js} +6 -6
- package/dist/chunks/{agent-sbz71ybr.js → schema-y1n277rb.js} +3 -3
- package/dist/chunks/{agent-yb20nhc3.js → schema-yb20nhc3.js} +1 -1
- package/dist/chunks/{agent-a78m50kv.js → schema-yg5pgxpr.js} +36 -36
- package/dist/chunks/{agent-ev97nhn2.js → schema-ypqw1r8m.js} +12 -12
- package/dist/chunks/{agent-4v9ax5y3.js → schema-yq7353nq.js} +41 -41
- package/dist/chunks/{agent-yr705xyq.js → schema-yr705xyq.js} +1 -1
- package/dist/chunks/{agent-r9jj2fpr.js → schema-yszs8jyv.js} +18 -18
- package/dist/chunks/{agent-yvtc2x31.js → schema-yvtc2x31.js} +1 -1
- package/dist/chunks/{agent-jc14h7jr.js → schema-z7fymdys.js} +28 -28
- package/dist/chunks/{agent-dy4d9874.js → schema-z827wp6x.js} +4 -4
- package/dist/chunks/{agent-c6tddvh8.js → schema-z8stfw7a.js} +59 -59
- package/dist/chunks/{agent-wxxm8bf0.js → schema-zc9wx7x1.js} +16 -16
- package/dist/chunks/{agent-j9nxzz3g.js → schema-ze75qvmd.js} +3 -3
- package/dist/chunks/{agent-wt73w1vf.js → schema-zh727d03.js} +11 -11
- package/dist/chunks/{agent-n2qm4rvy.js → schema-zj1k36ka.js} +8 -8
- package/dist/chunks/{agent-by8ty0bx.js → schema-zpdbqgja.js} +4 -4
- package/dist/chunks/{agent-trbcr54d.js → schema-zpxvgs8p.js} +16 -16
- package/dist/chunks/{agent-ak6kr98p.js → schema-ztm727zy.js} +21 -21
- package/dist/chunks/{agent-tjbmpz8y.js → schema-ztmqpbva.js} +10 -10
- package/dist/chunks/{agent-6cvz5smp.js → schema-zx2qk20v.js} +5 -5
- package/dist/chunks/{agent-zqmbb1r7.js → schema-zx5t9xwg.js} +20 -20
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +240 -240
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +145 -145
- 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 +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +7 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- 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 +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- 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 +81 -81
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +251 -251
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +112 -112
- package/dist/flag.js +127 -127
- package/dist/form.js +91 -91
- 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 +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +431 -431
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +96 -96
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- 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 +182 -182
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +187 -187
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +119 -119
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +409 -409
- 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 +4 -4
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +131 -131
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- 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 +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 +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- 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 +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- 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 +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- 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 +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode.js +159 -159
- 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 +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +150 -150
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +419 -419
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +97 -97
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +255 -255
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +99 -99
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- 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 +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +263 -263
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +247 -247
- package/dist/session/execution.js +167 -167
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- 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 +146 -146
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +169 -169
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- 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 +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +233 -233
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +245 -245
- package/dist/session/usage.js +1 -1
- package/dist/session.js +241 -241
- 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 +9 -9
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +157 -157
- package/dist/snapshot.js +100 -100
- 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 +186 -186
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +147 -147
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +154 -154
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +150 -150
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +169 -169
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +163 -163
- package/dist/types/util/which.d.ts +1 -0
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +4 -2
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +2 -2
- 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 +100 -100
- package/dist/voice.js +101 -101
- 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 +9 -9
- package/dist/chunks/agent-0bcfs57j.js +0 -265
- package/dist/chunks/agent-6bshxcsx.js +0 -18
- package/dist/chunks/agent-qaymkmh1.js +0 -14
- /package/dist/chunks/{agent-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{agent-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{agent-108x4f4w.js → schema-108x4f4w.js} +0 -0
- /package/dist/chunks/{agent-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{agent-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{agent-1kah00gy.js → schema-1kah00gy.js} +0 -0
- /package/dist/chunks/{agent-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{agent-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{agent-2bv980vf.js → schema-2bv980vf.js} +0 -0
- /package/dist/chunks/{agent-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{agent-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{agent-3af0jn4w.js → schema-3af0jn4w.js} +0 -0
- /package/dist/chunks/{agent-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{agent-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{agent-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{agent-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{agent-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{agent-4qk9sjk2.js → schema-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{agent-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{agent-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{agent-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{agent-5w3e23ze.js → schema-5w3e23ze.js} +0 -0
- /package/dist/chunks/{agent-6agm2x70.js → schema-6agm2x70.js} +0 -0
- /package/dist/chunks/{agent-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{agent-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{agent-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{agent-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{agent-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{agent-84wd9syh.js → schema-84wd9syh.js} +0 -0
- /package/dist/chunks/{agent-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{agent-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{agent-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{agent-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{agent-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{agent-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{agent-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{agent-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{agent-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{agent-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{agent-beh6qq61.js → schema-beh6qq61.js} +0 -0
- /package/dist/chunks/{agent-bhmrqjy3.js → schema-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{agent-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{agent-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{agent-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{agent-cqv5kn06.js → schema-cqv5kn06.js} +0 -0
- /package/dist/chunks/{agent-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{agent-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{agent-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{agent-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{agent-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{agent-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{agent-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{agent-ean2d8b5.js → schema-ean2d8b5.js} +0 -0
- /package/dist/chunks/{agent-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{agent-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{agent-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{agent-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{agent-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{agent-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{agent-fkpq3x5p.js → schema-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{agent-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{agent-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{agent-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{agent-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{agent-hcxmzztb.js → schema-hcxmzztb.js} +0 -0
- /package/dist/chunks/{agent-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{agent-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{agent-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{agent-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{agent-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{agent-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{agent-jwr30sdr.js → schema-jwr30sdr.js} +0 -0
- /package/dist/chunks/{agent-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{agent-m18g726c.js → schema-m18g726c.js} +0 -0
- /package/dist/chunks/{agent-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{agent-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{agent-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{agent-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{agent-nh4v3znn.js → schema-nh4v3znn.js} +0 -0
- /package/dist/chunks/{agent-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{agent-p71gwv9c.js → schema-p71gwv9c.js} +0 -0
- /package/dist/chunks/{agent-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{agent-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{agent-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{agent-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{agent-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{agent-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{agent-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{agent-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{agent-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{agent-syrav9an.js → schema-syrav9an.js} +0 -0
- /package/dist/chunks/{agent-t03h4f5z.js → schema-t03h4f5z.js} +0 -0
- /package/dist/chunks/{agent-ty7weeps.js → schema-ty7weeps.js} +0 -0
- /package/dist/chunks/{agent-ve7vex1e.js → schema-ve7vex1e.js} +0 -0
- /package/dist/chunks/{agent-vtarvj67.js → schema-vtarvj67.js} +0 -0
- /package/dist/chunks/{agent-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{agent-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{agent-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{agent-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{agent-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{agent-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{agent-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{agent-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{agent-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{agent-z0h12gs8.js → schema-z0h12gs8.js} +0 -0
- /package/dist/chunks/{agent-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{agent-z9919s4g.js → schema-z9919s4g.js} +0 -0
- /package/dist/chunks/{agent-zxpyjp51.js → schema-zxpyjp51.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-v1pmdt1y.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
key3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-fcrd7kek.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ID16,
|
|
14
|
+
Service83,
|
|
15
|
+
node87,
|
|
16
16
|
Event17
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./schema-z7fymdys.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service88,
|
|
20
|
+
node92
|
|
21
|
+
} from "./schema-5d0we2jy.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./schema-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider5 = {};
|
|
@@ -31,13 +31,13 @@ __export(exports_provider5, {
|
|
|
31
31
|
Compaction: () => Compaction3,
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
|
-
Event: () =>
|
|
34
|
+
Event: () => Event16,
|
|
35
35
|
ID: () => ID15,
|
|
36
|
-
Info: () =>
|
|
36
|
+
Info: () => Info23,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider5,
|
|
39
39
|
Request: () => Request4,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service82,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider5, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node86,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -331,7 +331,7 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
331
331
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
332
332
|
|
|
333
333
|
// src/provider.ts
|
|
334
|
-
import { Event as
|
|
334
|
+
import { Event as Event16 } from "@opencode/schema/provider";
|
|
335
335
|
var ID15 = Provider.ID;
|
|
336
336
|
var AISDK_PREFIX2 = "aisdk:";
|
|
337
337
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
@@ -577,9 +577,9 @@ var Compaction3 = Provider.Compaction;
|
|
|
577
577
|
var Cache2 = Provider.Cache;
|
|
578
578
|
var Transport2 = Provider.Transport;
|
|
579
579
|
var Settings2 = Provider.Settings;
|
|
580
|
-
var
|
|
580
|
+
var Info23 = Provider.Info;
|
|
581
581
|
|
|
582
|
-
class
|
|
582
|
+
class Service82 extends Context.Service()("@opencode/Provider") {
|
|
583
583
|
}
|
|
584
584
|
var definitions = new WeakMap;
|
|
585
585
|
function index(providerID, models) {
|
|
@@ -592,10 +592,10 @@ function index(providerID, models) {
|
|
|
592
592
|
definitions.set(models, indexes);
|
|
593
593
|
return result;
|
|
594
594
|
}
|
|
595
|
-
var layer = Layer.effect(
|
|
595
|
+
var layer = Layer.effect(Service82, Effect2.gen(function* () {
|
|
596
596
|
const bus = yield* Service91;
|
|
597
|
-
const integrations = yield*
|
|
598
|
-
const location = yield*
|
|
597
|
+
const integrations = yield* Service83;
|
|
598
|
+
const location = yield* Service88;
|
|
599
599
|
const state = create4({
|
|
600
600
|
name: "provider",
|
|
601
601
|
initial: () => new Map,
|
|
@@ -606,7 +606,7 @@ var layer = Layer.effect(Service77, Effect2.gen(function* () {
|
|
|
606
606
|
const current = records.get(id);
|
|
607
607
|
if (current)
|
|
608
608
|
return current;
|
|
609
|
-
const added = { provider:
|
|
609
|
+
const added = { provider: Info23.empty(id), models: new Map };
|
|
610
610
|
records.set(id, added);
|
|
611
611
|
maps.add(added.models);
|
|
612
612
|
return added;
|
|
@@ -687,7 +687,7 @@ var layer = Layer.effect(Service77, Effect2.gen(function* () {
|
|
|
687
687
|
const available = Array.from(records.values()).filter((record) => {
|
|
688
688
|
if (record.provider.activation === "disabled")
|
|
689
689
|
return false;
|
|
690
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
690
|
+
const integration = byID.get(record.provider.integrationID ?? ID16.make(record.provider.id));
|
|
691
691
|
if (record.sourceConnection && key3(record.sourceConnection) !== key3(integration?.connections[0]))
|
|
692
692
|
return false;
|
|
693
693
|
if (record.provider.activation === "enabled")
|
|
@@ -714,7 +714,7 @@ var layer = Layer.effect(Service77, Effect2.gen(function* () {
|
|
|
714
714
|
});
|
|
715
715
|
});
|
|
716
716
|
yield* bus.subscribe([Event17.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
717
|
-
return
|
|
717
|
+
return Service82.of({
|
|
718
718
|
transform: state.transform,
|
|
719
719
|
reload: state.reload,
|
|
720
720
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -723,7 +723,7 @@ var layer = Layer.effect(Service77, Effect2.gen(function* () {
|
|
|
723
723
|
snapshot
|
|
724
724
|
});
|
|
725
725
|
}));
|
|
726
|
-
var
|
|
726
|
+
var node86 = makeLocationNode({ service: Service82, layer, deps: [node95, node87, node92] });
|
|
727
727
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
728
728
|
const module = yield* Effect2.tryPromise({
|
|
729
729
|
try: () => {
|
|
@@ -745,4 +745,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
745
745
|
return module;
|
|
746
746
|
});
|
|
747
747
|
|
|
748
|
-
export { rewrite2, native2, exports_aisdk_native, ID15, 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,
|
|
748
|
+
export { rewrite2, native2, exports_aisdk_native, ID15, 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, Info23, Service82, node86, exports_provider5, Event16 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./schema-m4byztg2.js";
|
|
4
4
|
import {
|
|
5
5
|
resolvePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-3x3xt33b.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/mcp/stdio.ts
|
|
12
12
|
var exports_stdio = {};
|
|
@@ -26,7 +26,7 @@ var EXIT_WAIT = Duration.seconds(1);
|
|
|
26
26
|
var STDERR_TAIL = 1000;
|
|
27
27
|
var resolveCwd2 = (directory, cwd) => cwd ? resolvePath2(directory, cwd) : directory;
|
|
28
28
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
29
|
-
const environment = yield*
|
|
29
|
+
const environment = yield* Service65;
|
|
30
30
|
const scope = yield* Effect.scope;
|
|
31
31
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
32
32
|
const state = { phase: "ready" };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-xr4mxgbd.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-4tp777r8.js";
|
|
7
7
|
import {
|
|
8
8
|
key3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-fcrd7kek.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
ID16,
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-z7fymdys.js";
|
|
14
14
|
import {
|
|
15
15
|
ID15
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-4fstmzjv.js";
|
|
17
17
|
import {
|
|
18
18
|
ID14,
|
|
19
19
|
Family2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./schema-xbf0xc4n.js";
|
|
21
21
|
import {
|
|
22
22
|
bootstrap2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-yb20nhc3.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service46
|
|
26
|
+
} from "./schema-n5a26p1g.js";
|
|
27
27
|
import {
|
|
28
28
|
start3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./schema-w3r1b6dm.js";
|
|
30
30
|
import {
|
|
31
31
|
activeCredential2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./schema-v8hsp9y2.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/digitalocean.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
36
36
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
37
37
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
38
38
|
var providerID = ID15.make("digitalocean");
|
|
39
|
-
var integrationID =
|
|
39
|
+
var integrationID = ID16.make("digitalocean");
|
|
40
40
|
var methodID = MethodID2.make("browser");
|
|
41
41
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
42
42
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -124,7 +124,7 @@ var oauth = {
|
|
|
124
124
|
var DigitalOceanPlugin2 = define({
|
|
125
125
|
id: "opencode.provider.digitalocean",
|
|
126
126
|
effect: Effect.fn(function* (ctx) {
|
|
127
|
-
const cache = yield*
|
|
127
|
+
const cache = yield* Service46;
|
|
128
128
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
129
129
|
const discovered = yield* start3({
|
|
130
130
|
integrationID,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-tkj7f7y1.js";
|
|
5
5
|
import {
|
|
6
6
|
Service91,
|
|
7
7
|
node95
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-v1pmdt1y.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./schema-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_credential, {
|
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
23
|
Event: () => Event18,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
27
|
-
Key: () =>
|
|
25
|
+
ID: () => ID17,
|
|
26
|
+
Info: () => Info26,
|
|
27
|
+
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service84,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node88
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -37,24 +37,24 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { EffectFlock } from "@opencode/util/effect-flock";
|
|
40
|
-
var
|
|
40
|
+
var ID17 = Credential.ID;
|
|
41
41
|
var OAuth3 = Credential.OAuth;
|
|
42
|
-
var
|
|
42
|
+
var Key4 = Credential.Key;
|
|
43
43
|
var External2 = Credential.External;
|
|
44
44
|
var Value2 = Credential.Value;
|
|
45
45
|
var Event18 = Credential.Event;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class Info26 extends Schema.Class("Credential.Info")({
|
|
48
|
+
id: ID17,
|
|
49
49
|
integrationID: Integration.ID,
|
|
50
50
|
label: Schema.String,
|
|
51
51
|
value: Value2
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service84 extends Context.Service()("@opencode/Credential") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
58
58
|
const db = (yield* Service92).db;
|
|
59
59
|
const bus = yield* Service91;
|
|
60
60
|
const flock = yield* EffectFlock.Service;
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
64
64
|
const stored = (row) => {
|
|
65
65
|
if (!row.integration_id)
|
|
66
66
|
return;
|
|
67
|
-
return new
|
|
67
|
+
return new Info26({
|
|
68
68
|
id: row.id,
|
|
69
69
|
integrationID: row.integration_id,
|
|
70
70
|
label: row.label,
|
|
@@ -83,7 +83,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
83
83
|
yield* tx.update(CredentialTable2).set({ active: true }).where(eq(CredentialTable2.id, id)).run();
|
|
84
84
|
});
|
|
85
85
|
const logFailure = (message, fields) => (effect) => effect.pipe(Effect.onError((cause) => Effect.logError(message, { ...fields, errors: from2(Cause.squash(cause)) })), Effect.orDie);
|
|
86
|
-
return
|
|
86
|
+
return Service84.of({
|
|
87
87
|
lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
|
|
88
88
|
const current = pending.get(id);
|
|
89
89
|
if (current)
|
|
@@ -99,8 +99,8 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
99
99
|
return row ? stored(row) : undefined;
|
|
100
100
|
}),
|
|
101
101
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
102
|
-
const credential = new
|
|
103
|
-
id: input.id ??
|
|
102
|
+
const credential = new Info26({
|
|
103
|
+
id: input.id ?? ID17.create(),
|
|
104
104
|
integrationID: input.integrationID,
|
|
105
105
|
label: input.label ?? "default",
|
|
106
106
|
value: input.value
|
|
@@ -207,6 +207,6 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
207
207
|
})
|
|
208
208
|
});
|
|
209
209
|
}));
|
|
210
|
-
var
|
|
210
|
+
var node88 = makeGlobalNode({ service: Service84, layer, deps: [node96, node95, EffectFlock.node] });
|
|
211
211
|
|
|
212
|
-
export {
|
|
212
|
+
export { ID17, OAuth3, Key4, External2, Value2, Event18, Info26, Service84, node88, exports_credential };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./schema-a20pjf78.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./schema-fp2kss3x.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-qmh7vbk2.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,10 +19,10 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
22
|
+
const instances = yield* Service54;
|
|
23
23
|
yield* Effect.gen(function* () {
|
|
24
24
|
yield* awaitActivation2;
|
|
25
|
-
const commands = yield*
|
|
25
|
+
const commands = yield* Service58;
|
|
26
26
|
yield* commands.execute({
|
|
27
27
|
name: input.command,
|
|
28
28
|
invocation: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-81hxxa3v.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -1,86 +1,86 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-tkj7f7y1.js";
|
|
5
5
|
import {
|
|
6
6
|
Service91,
|
|
7
7
|
node95
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-v1pmdt1y.js";
|
|
9
9
|
import {
|
|
10
10
|
create4
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-40y6dtc2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID19,
|
|
14
|
+
Service87,
|
|
15
|
+
node91
|
|
16
|
+
} from "./schema-31j7pzdv.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-0ma9gw4f.js";
|
|
20
20
|
import {
|
|
21
21
|
join2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./schema-n3j33rb6.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service81,
|
|
25
|
+
node85
|
|
26
|
+
} from "./schema-xbf0xc4n.js";
|
|
27
27
|
import {
|
|
28
28
|
estimate2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./schema-8wtp7s3z.js";
|
|
30
30
|
import {
|
|
31
31
|
SessionEvent2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./schema-ec1grn59.js";
|
|
33
33
|
import {
|
|
34
34
|
kept2,
|
|
35
35
|
messageToText2,
|
|
36
36
|
serializeToolContent2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./schema-v2r1d0zg.js";
|
|
38
38
|
import {
|
|
39
39
|
isNativeCompaction2,
|
|
40
40
|
load6
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./schema-33z87vrf.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service70,
|
|
44
|
+
node73
|
|
45
|
+
} from "./schema-zpxvgs8p.js";
|
|
46
46
|
import {
|
|
47
47
|
toSessionError2,
|
|
48
48
|
contentFilterError2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./schema-afew9qwf.js";
|
|
50
50
|
import {
|
|
51
51
|
toLLMMessages2
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./schema-51pg0qrg.js";
|
|
53
53
|
import {
|
|
54
54
|
outputLimit2,
|
|
55
55
|
baseTranscript2,
|
|
56
56
|
unsupportedParts2,
|
|
57
57
|
boundImages2,
|
|
58
58
|
Service40,
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
59
|
+
node44
|
|
60
|
+
} from "./schema-4cbnss6f.js";
|
|
61
61
|
import {
|
|
62
62
|
isRetryable2,
|
|
63
63
|
policy2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./schema-gwyytpcj.js";
|
|
65
65
|
import {
|
|
66
66
|
calculateCost2,
|
|
67
67
|
record2,
|
|
68
68
|
add2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./schema-4f25tdd0.js";
|
|
70
70
|
import {
|
|
71
71
|
__export
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./schema-9rqn6x4v.js";
|
|
73
73
|
|
|
74
74
|
// src/session/compaction.ts
|
|
75
75
|
var exports_compaction2 = {};
|
|
76
76
|
__export(exports_compaction2, {
|
|
77
|
-
Service: () =>
|
|
77
|
+
Service: () => Service11,
|
|
78
78
|
SessionCompaction: () => exports_compaction2,
|
|
79
79
|
buildPrompt: () => buildPrompt2,
|
|
80
80
|
estimateContext: () => estimateContext2,
|
|
81
81
|
estimatePrompt: () => estimatePrompt2,
|
|
82
|
-
layer: () =>
|
|
83
|
-
node: () =>
|
|
82
|
+
layer: () => layer8,
|
|
83
|
+
node: () => node13,
|
|
84
84
|
recentUserMessages: () => recentUserMessages2
|
|
85
85
|
});
|
|
86
86
|
import {
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
} from "@opencode/ai/effect";
|
|
96
96
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
97
97
|
import { Clock, Context, DateTime, Effect, Exit, Fiber, Layer, Result, Scope, Stream } from "effect";
|
|
98
|
-
class
|
|
98
|
+
class Service11 extends Context.Service()("@opencode/SessionCompaction") {
|
|
99
99
|
}
|
|
100
100
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
101
101
|
var SHRINK_STEPS = [0.85, 0.7, 0.5, 0.35];
|
|
@@ -186,12 +186,12 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
186
186
|
};
|
|
187
187
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
188
188
|
var LEGACY_HEADING = "## Additional Context";
|
|
189
|
-
var
|
|
190
|
-
const agents = yield*
|
|
189
|
+
var layer8 = Layer.effect(Service11, Effect.gen(function* () {
|
|
190
|
+
const agents = yield* Service87;
|
|
191
191
|
const bus = yield* Service91;
|
|
192
192
|
const llm = yield* LLMClient.Service;
|
|
193
|
-
const catalog = yield*
|
|
194
|
-
const models = yield*
|
|
193
|
+
const catalog = yield* Service81;
|
|
194
|
+
const models = yield* Service70;
|
|
195
195
|
const db = (yield* Service92).db;
|
|
196
196
|
const requests = yield* Service40;
|
|
197
197
|
const scope = yield* Scope.Scope;
|
|
@@ -206,7 +206,7 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
206
206
|
})
|
|
207
207
|
});
|
|
208
208
|
const selectModel = Effect.fnUntraced(function* (context, buffer, native) {
|
|
209
|
-
const agent = native ? undefined : yield* agents.get(
|
|
209
|
+
const agent = native ? undefined : yield* agents.get(ID19.make("compaction"));
|
|
210
210
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
211
211
|
return;
|
|
212
212
|
})))) ?? context.model;
|
|
@@ -588,17 +588,17 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
588
588
|
}, { metadata: outcome.metadata });
|
|
589
589
|
return { status: "completed" };
|
|
590
590
|
});
|
|
591
|
-
return
|
|
591
|
+
return Service11.of({
|
|
592
592
|
transform: state.transform,
|
|
593
593
|
reload: state.reload,
|
|
594
594
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id)))),
|
|
595
595
|
precompute
|
|
596
596
|
});
|
|
597
597
|
}));
|
|
598
|
-
var
|
|
599
|
-
service:
|
|
600
|
-
layer:
|
|
601
|
-
deps: [
|
|
598
|
+
var node13 = makeLocationNode({
|
|
599
|
+
service: Service11,
|
|
600
|
+
layer: layer8,
|
|
601
|
+
deps: [node91, node95, node96, llmClient2, node85, node44, node73]
|
|
602
602
|
});
|
|
603
603
|
var heldIndex = (held, context) => {
|
|
604
604
|
if (held.firstID !== context.messages[0]?.id || held.initial !== join2(context.initial))
|
|
@@ -797,4 +797,4 @@ var estimateMedia = (mime) => {
|
|
|
797
797
|
return 0;
|
|
798
798
|
};
|
|
799
799
|
|
|
800
|
-
export {
|
|
800
|
+
export { Service11, buildPrompt2, layer8, node13, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|