@opencode/core 0.0.0-dev-703 → 0.0.0-dev-724
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 +94 -94
- 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/{flag-aj7mw0zk.js → agent-034tev2y.js} +2 -2
- package/dist/chunks/{flag-7jmkd9gk.js → agent-0699g30z.js} +8 -8
- package/dist/chunks/agent-0bcfs57j.js +265 -0
- package/dist/chunks/{flag-prev81pe.js → agent-0j2ngfqx.js} +10 -10
- package/dist/chunks/{flag-0j7gp832.js → agent-0j7gp832.js} +1 -1
- package/dist/chunks/{flag-0ma9gw4f.js → agent-0ma9gw4f.js} +2 -2
- package/dist/chunks/{flag-s7agjm8x.js → agent-0qccc6r6.js} +32 -32
- package/dist/chunks/{flag-p8x3s9s0.js → agent-0vn9zqn2.js} +14 -14
- package/dist/chunks/{flag-zxgv4zyy.js → agent-0wpbjwe4.js} +37 -37
- package/dist/chunks/{flag-p1yctq83.js → agent-0wqvtycd.js} +3 -3
- package/dist/chunks/{flag-h45fex01.js → agent-0yxtqpz7.js} +18 -18
- package/dist/chunks/{flag-ddvn7d3w.js → agent-160yv0cs.js} +8 -8
- package/dist/chunks/{flag-1aqsckx4.js → agent-1aqsckx4.js} +1 -1
- package/dist/chunks/{flag-cgf9sdf9.js → agent-1bnb2w0q.js} +346 -346
- package/dist/chunks/{flag-dv64j6bj.js → agent-1dsh2pge.js} +6 -6
- package/dist/chunks/{flag-27w5k9zf.js → agent-1ep2p91f.js} +2 -2
- package/dist/chunks/{flag-f9qc2wt8.js → agent-1mp63k31.js} +43 -43
- package/dist/chunks/{flag-7m7yw9xb.js → agent-1n0kq262.js} +19 -19
- package/dist/chunks/{flag-tbesfxyn.js → agent-1r3pc4va.js} +11 -11
- package/dist/chunks/{flag-dha4d4jk.js → agent-1wbany6c.js} +25 -25
- package/dist/chunks/{flag-1x2knyw4.js → agent-1x2knyw4.js} +1 -1
- package/dist/chunks/{flag-fcktxjz8.js → agent-1x9rmq5t.js} +11 -11
- package/dist/chunks/{flag-sw6cj1fr.js → agent-1yvpepkz.js} +8 -8
- package/dist/chunks/{flag-jfqxjkss.js → agent-230v58ed.js} +11 -11
- package/dist/chunks/{flag-sskhdzv5.js → agent-270r659b.js} +6 -6
- package/dist/chunks/{flag-yk4ram99.js → agent-2bhkadc4.js} +3 -3
- package/dist/chunks/{flag-8hfctyyf.js → agent-2bswbpgz.js} +5 -5
- package/dist/chunks/{flag-k88mc761.js → agent-2bwhv0b9.js} +9 -9
- package/dist/chunks/{flag-f19zgvc4.js → agent-2crbja0r.js} +59 -59
- package/dist/chunks/{flag-2fc7eemy.js → agent-2fc7eemy.js} +1 -1
- package/dist/chunks/{flag-2vbyz3ve.js → agent-2h8cm49x.js} +17 -17
- package/dist/chunks/{flag-ad21tgm2.js → agent-2p60zmnr.js} +4 -4
- package/dist/chunks/{flag-de6vx7qv.js → agent-2t3w83bm.js} +9 -9
- package/dist/chunks/{flag-j1md2365.js → agent-2w3nwg04.js} +30 -30
- package/dist/chunks/{flag-ynfppmfj.js → agent-32m7xsmh.js} +8 -8
- package/dist/chunks/{flag-99qjshey.js → agent-34zmmmgy.js} +35 -35
- package/dist/chunks/{flag-wcgr2qvn.js → agent-3dn304yc.js} +6 -6
- package/dist/chunks/{flag-tycv7n3a.js → agent-3h1bv8fr.js} +4 -4
- package/dist/chunks/{flag-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{flag-pjc6mvna.js → agent-3jtgmzny.js} +4 -4
- package/dist/chunks/{flag-4pqak4bs.js → agent-3m1vjthe.js} +5 -5
- package/dist/chunks/{flag-3nnrz6f6.js → agent-3nnrz6f6.js} +1 -1
- package/dist/chunks/{flag-5z69tzgz.js → agent-3pptegkg.js} +30 -30
- package/dist/chunks/{flag-dcscqx6t.js → agent-3q25xadc.js} +7 -7
- package/dist/chunks/{flag-c6x7d2ts.js → agent-3ryz99p0.js} +4 -4
- package/dist/chunks/{flag-hxxjyvvt.js → agent-3s5pvj1d.js} +30 -30
- package/dist/chunks/{flag-awqgm1xr.js → agent-3w9q9vh6.js} +5 -5
- package/dist/chunks/{flag-d9bwbd34.js → agent-3ycxw5e5.js} +7 -7
- package/dist/chunks/{flag-40y6dtc2.js → agent-40y6dtc2.js} +1 -1
- package/dist/chunks/{flag-66qrnzd4.js → agent-43pfjxg5.js} +4 -4
- package/dist/chunks/{flag-twhtcdx9.js → agent-44pmzq9c.js} +4 -4
- package/dist/chunks/{flag-xpgwhcsc.js → agent-45rmpdrg.js} +10 -10
- package/dist/chunks/{flag-0e11sktb.js → agent-49k1t6da.js} +23 -23
- package/dist/chunks/{flag-4dx1dgte.js → agent-4dx1dgte.js} +1 -1
- package/dist/chunks/{flag-4f25tdd0.js → agent-4f25tdd0.js} +1 -1
- package/dist/chunks/{flag-4x7taxmj.js → agent-4fabgnbe.js} +8 -8
- package/dist/chunks/{flag-0bc8wfaz.js → agent-4p9btqyw.js} +9 -9
- package/dist/chunks/{flag-5030jfk7.js → agent-4panavwp.js} +33 -33
- package/dist/chunks/{flag-0kqs6rny.js → agent-4pyebn2h.js} +24 -24
- package/dist/chunks/{flag-4pyp9zr9.js → agent-4pyp9zr9.js} +1 -1
- package/dist/chunks/{flag-wz69xhs4.js → agent-4sk2temx.js} +15 -15
- package/dist/chunks/{flag-4v008n1t.js → agent-4v008n1t.js} +1 -1
- package/dist/chunks/{flag-7y8vdrm0.js → agent-4v9ax5y3.js} +32 -32
- package/dist/chunks/{flag-w86n90pq.js → agent-4vnngm45.js} +18 -18
- package/dist/chunks/{flag-7gq44nr2.js → agent-54d9e7kt.js} +18 -18
- package/dist/chunks/{flag-s6jqqyhe.js → agent-56z9ckds.js} +4 -4
- package/dist/chunks/{flag-dznvadht.js → agent-5ar0v554.js} +8 -8
- package/dist/chunks/{flag-vf4s44w5.js → agent-5bk8975x.js} +17 -17
- package/dist/chunks/{flag-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
- package/dist/chunks/{flag-ms3vknx6.js → agent-5n5e7dw0.js} +8 -8
- package/dist/chunks/{flag-5whx36p1.js → agent-5whx36p1.js} +1 -1
- package/dist/chunks/{flag-963hk181.js → agent-68cs06h1.js} +5 -5
- package/dist/chunks/{flag-6bshxcsx.js → agent-6bshxcsx.js} +1 -1
- package/dist/chunks/{flag-wkwg78fg.js → agent-6cvz5smp.js} +5 -5
- package/dist/chunks/{flag-mxg97kar.js → agent-6mzx2fqq.js} +9 -9
- package/dist/chunks/{flag-wh69gkkt.js → agent-6nasdh91.js} +10 -10
- package/dist/chunks/{flag-2848wdzx.js → agent-6qh9fsc1.js} +10 -10
- package/dist/chunks/{flag-14xds8kf.js → agent-6sbqt8cr.js} +43 -43
- package/dist/chunks/{flag-mxf61dw8.js → agent-6xey0d43.js} +3 -3
- package/dist/chunks/{flag-80mg3ag8.js → agent-775hqbnd.js} +3 -3
- package/dist/chunks/{flag-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{flag-wrad7mqx.js → agent-7e4rwvsh.js} +21 -21
- package/dist/chunks/{flag-j0p3wt22.js → agent-7f840skq.js} +8 -8
- package/dist/chunks/{flag-shy79f59.js → agent-7gmcbytm.js} +31 -31
- package/dist/chunks/{flag-r66m1ym6.js → agent-7j1ep75t.js} +60 -60
- package/dist/chunks/{flag-rp320nw4.js → agent-7s2dr1e1.js} +3 -3
- package/dist/chunks/{flag-7w2ypzdf.js → agent-7w2ypzdf.js} +1 -1
- package/dist/chunks/{flag-7weczvnd.js → agent-7weczvnd.js} +1 -1
- package/dist/chunks/{flag-mftnr7k7.js → agent-7xqwfa56.js} +8 -8
- package/dist/chunks/{flag-aj3gmhrk.js → agent-81m5rmwx.js} +19 -19
- package/dist/chunks/{flag-y4ba7xbg.js → agent-850ymmzx.js} +16 -16
- package/dist/chunks/{flag-89287pr7.js → agent-89287pr7.js} +1 -1
- package/dist/chunks/{flag-8b3vzgkx.js → agent-8b3vzgkx.js} +1 -1
- package/dist/chunks/{flag-mdpn3ac9.js → agent-8g19k2e5.js} +21 -21
- package/dist/chunks/{flag-hrvyb3yv.js → agent-8ny69rmg.js} +6 -6
- package/dist/chunks/{flag-jt1fmwse.js → agent-8seg3v42.js} +4 -4
- package/dist/chunks/{flag-bb3mmwvh.js → agent-8sxe6kv8.js} +2 -2
- package/dist/chunks/{flag-e6jghphk.js → agent-8wa8ngfp.js} +12 -12
- package/dist/chunks/{flag-8wtp7s3z.js → agent-8wtp7s3z.js} +1 -1
- package/dist/chunks/{flag-kvnzvr36.js → agent-8y992kak.js} +17 -17
- package/dist/chunks/{flag-8zv0xmg5.js → agent-8zv0xmg5.js} +1 -1
- package/dist/chunks/{flag-90zstvax.js → agent-90zstvax.js} +1 -1
- package/dist/chunks/{flag-m2r94a4c.js → agent-91cjkkm3.js} +27 -27
- package/dist/chunks/{flag-x77f537z.js → agent-92ng8w6r.js} +11 -11
- package/dist/chunks/{flag-yphgnept.js → agent-955bk7gf.js} +11 -11
- package/dist/chunks/{flag-44ewmqts.js → agent-96g13gj9.js} +23 -23
- package/dist/chunks/{flag-gf34717g.js → agent-9a06hvbq.js} +11 -11
- package/dist/chunks/{flag-6079vd0y.js → agent-9hgg8v4t.js} +3 -3
- package/dist/chunks/{flag-p319bwjr.js → agent-9p3e19xy.js} +23 -23
- package/dist/chunks/{flag-dbk9fhqm.js → agent-9pewx6m0.js} +14 -14
- package/dist/chunks/{flag-tt01103d.js → agent-9wh2pe5x.js} +18 -18
- package/dist/chunks/{flag-0yn32hjb.js → agent-9xp9fbz7.js} +6 -6
- package/dist/chunks/{flag-edm37t96.js → agent-a0njj5td.js} +3 -3
- package/dist/chunks/{flag-p8zy8ekr.js → agent-a110cqe1.js} +9 -9
- package/dist/chunks/{flag-xz07m27x.js → agent-a5fx33f2.js} +6 -6
- package/dist/chunks/{flag-9kb7csvb.js → agent-a78m50kv.js} +34 -34
- package/dist/chunks/{flag-qajc28y8.js → agent-ahs2e380.js} +4 -4
- package/dist/chunks/{flag-ye59cvew.js → agent-ak6kr98p.js} +33 -33
- package/dist/chunks/{flag-vc28gdnb.js → agent-an59wq9t.js} +8 -8
- package/dist/chunks/{flag-8x4qn23y.js → agent-anammz50.js} +20 -20
- package/dist/chunks/{flag-2az7p6sc.js → agent-anwz40as.js} +28 -28
- package/dist/chunks/agent-aq193527.js +26 -0
- package/dist/chunks/{flag-trm8snxh.js → agent-aq6a5s3g.js} +5 -5
- package/dist/chunks/{flag-3cbjf1nt.js → agent-ayjs7tqn.js} +2 -2
- package/dist/chunks/{flag-b7nkz392.js → agent-b0fy1v2h.js} +1 -1
- package/dist/chunks/{flag-evy5hxmv.js → agent-b2zf48kj.js} +51 -51
- package/dist/chunks/{flag-436seg2v.js → agent-b6c7g8vw.js} +1 -1
- package/dist/chunks/{flag-593ra3z7.js → agent-b7xbe2eg.js} +7 -7
- package/dist/chunks/{flag-xbsjtb80.js → agent-b98mm2af.js} +9 -9
- package/dist/chunks/{flag-d390zwf3.js → agent-b9fw4xdr.js} +11 -11
- package/dist/chunks/{flag-hyb99r0e.js → agent-bafd1fcn.js} +19 -19
- package/dist/chunks/{flag-qs5yh7hs.js → agent-becnqr15.js} +30 -30
- package/dist/chunks/{flag-tz9a6xhb.js → agent-bsek2bbw.js} +5 -5
- package/dist/chunks/{flag-bstexjd6.js → agent-bstexjd6.js} +1 -1
- package/dist/chunks/{flag-by8ty0bx.js → agent-by8ty0bx.js} +1 -1
- package/dist/chunks/{flag-fc2famm9.js → agent-c4613x02.js} +12 -12
- package/dist/chunks/{flag-gzxwvkk4.js → agent-c6tddvh8.js} +59 -59
- package/dist/chunks/{flag-c7cw818c.js → agent-c7cw818c.js} +2 -2
- package/dist/chunks/{flag-bpb6gxr9.js → agent-c9q46f8p.js} +20 -20
- package/dist/chunks/{flag-pzq1pwd4.js → agent-cbcw0qrx.js} +14 -14
- package/dist/chunks/{flag-p2t9xhrw.js → agent-cew7k7b6.js} +18 -18
- package/dist/chunks/{flag-eqd5bg7r.js → agent-cftka958.js} +5 -5
- package/dist/chunks/{flag-ggx84v7x.js → agent-ckn0kvtp.js} +6 -6
- package/dist/chunks/{flag-cn1901n6.js → agent-cph1m4pw.js} +22 -22
- package/dist/chunks/{flag-6wt6gmsj.js → agent-cq2antnz.js} +26 -26
- package/dist/chunks/{flag-cwrgdav8.js → agent-cwrgdav8.js} +2 -2
- package/dist/chunks/{flag-wjnyvaf5.js → agent-czckasff.js} +35 -35
- package/dist/chunks/{flag-5nbmkez3.js → agent-d07x248k.js} +18 -18
- package/dist/chunks/{flag-rpc5eq17.js → agent-d3k83vxa.js} +5 -5
- package/dist/chunks/{flag-d4v9tmah.js → agent-d4v9tmah.js} +2 -2
- package/dist/chunks/{flag-qyba36f5.js → agent-d875sacc.js} +5 -5
- package/dist/chunks/{flag-g1kn1j67.js → agent-d97evh6t.js} +11 -11
- package/dist/chunks/{flag-zyqwfwdy.js → agent-dpkh4rq0.js} +30 -30
- package/dist/chunks/{flag-dt77769w.js → agent-dt77769w.js} +1 -1
- package/dist/chunks/{flag-qtf35215.js → agent-dtrrxc61.js} +3 -3
- package/dist/chunks/{flag-a81bvg07.js → agent-dw1ye70f.js} +33 -33
- package/dist/chunks/{flag-qbgtjm4x.js → agent-dy4d9874.js} +7 -7
- package/dist/chunks/{flag-43xtk0qx.js → agent-e3fanrvr.js} +12 -12
- package/dist/chunks/{flag-ndgws28h.js → agent-e67w1kmt.js} +22 -22
- package/dist/chunks/{flag-e834z07m.js → agent-e834z07m.js} +1 -1
- package/dist/chunks/{flag-gj900dj9.js → agent-e95ykt29.js} +29 -29
- package/dist/chunks/{flag-56jfvdyx.js → agent-e9jmw0ht.js} +27 -27
- package/dist/chunks/{flag-cpzzhyr1.js → agent-e9k5gxf4.js} +8 -8
- package/dist/chunks/{flag-sy57q6d1.js → agent-edwx1ema.js} +30 -30
- package/dist/chunks/{flag-5jve1gyn.js → agent-eh20wy2z.js} +9 -9
- package/dist/chunks/{flag-scn5v30h.js → agent-ekhvmsd2.js} +9 -9
- package/dist/chunks/{flag-eqw4pqj1.js → agent-eqw4pqj1.js} +2 -2
- package/dist/chunks/{flag-4aetv9s2.js → agent-ev97nhn2.js} +12 -12
- package/dist/chunks/{flag-2dzq860g.js → agent-ew642sw2.js} +8 -8
- package/dist/chunks/{flag-9bpm0caw.js → agent-ezfxdwf3.js} +45 -45
- package/dist/chunks/{flag-q4mn8rz9.js → agent-f14s7ktc.js} +34 -34
- package/dist/chunks/{flag-6p5ysxk1.js → agent-ff5mhygc.js} +20 -20
- package/dist/chunks/{flag-fffv3p7h.js → agent-fffv3p7h.js} +1 -1
- package/dist/chunks/{flag-bzx61477.js → agent-fvqhdj2b.js} +12 -12
- package/dist/chunks/{flag-k8k8cw5x.js → agent-fyjjbtyf.js} +36 -36
- package/dist/chunks/{flag-s9ah0c7h.js → agent-fymwe120.js} +45 -45
- package/dist/chunks/{flag-71b6exvm.js → agent-g22rscmr.js} +28 -28
- package/dist/chunks/{flag-r3k22sjy.js → agent-g2mg1fsy.js} +13 -13
- package/dist/chunks/{flag-89ypf89t.js → agent-g7x9jesh.js} +40 -40
- package/dist/chunks/{flag-78m7t9x5.js → agent-g82vwm3c.js} +8 -8
- package/dist/chunks/{flag-s7y9d25e.js → agent-gb5fgnjd.js} +20 -20
- package/dist/chunks/{flag-gbjdnr5j.js → agent-gbjdnr5j.js} +2 -2
- package/dist/chunks/{flag-ghrv1g9c.js → agent-ghrv1g9c.js} +1 -1
- package/dist/chunks/{flag-yv62rn4q.js → agent-gk9gzhj1.js} +5 -5
- package/dist/chunks/{flag-9nwpctz8.js → agent-gtcms6ct.js} +7 -7
- package/dist/chunks/{flag-n3j33rb6.js → agent-gvjax9xa.js} +8 -8
- package/dist/chunks/{flag-p52kq8pf.js → agent-gym9zrac.js} +30 -30
- package/dist/chunks/{flag-0gfx6v9p.js → agent-gzcy99ht.js} +20 -20
- package/dist/chunks/{flag-0rarzwaj.js → agent-h29jgkxe.js} +9 -9
- package/dist/chunks/{flag-27hbt5ky.js → agent-h3r71kc4.js} +15 -15
- package/dist/chunks/{flag-ycxmyaa8.js → agent-h42xs5f6.js} +73 -73
- package/dist/chunks/{flag-stab2pv9.js → agent-h5em4a99.js} +8 -8
- package/dist/chunks/{flag-sc8gk52j.js → agent-h7t4c3p9.js} +22 -22
- package/dist/chunks/{flag-w8g1dskt.js → agent-hgm1wm98.js} +30 -30
- package/dist/chunks/{flag-de13v7mz.js → agent-hh2vw3e2.js} +18 -18
- package/dist/chunks/{flag-nvhv17z1.js → agent-hng9qfns.js} +21 -21
- package/dist/chunks/{flag-tkzg5qhb.js → agent-hsg5ysck.js} +16 -16
- package/dist/chunks/{flag-6d78zjtf.js → agent-j3sd2jae.js} +22 -22
- package/dist/chunks/{flag-3hk9adsa.js → agent-j8bfb29e.js} +13 -13
- package/dist/chunks/{flag-ze75qvmd.js → agent-j9nxzz3g.js} +3 -3
- package/dist/chunks/{flag-7k9kz9jy.js → agent-jc14h7jr.js} +30 -30
- package/dist/chunks/{flag-vjvy448k.js → agent-jcqtacjj.js} +15 -15
- package/dist/chunks/{flag-q0ghkzhd.js → agent-je9sppby.js} +29 -29
- package/dist/chunks/{flag-kxkkah86.js → agent-jfny1ppa.js} +5 -5
- package/dist/chunks/{flag-x150ncgg.js → agent-jh9q4qkg.js} +2 -2
- package/dist/chunks/{flag-s26c8eb5.js → agent-jkdcm5hg.js} +4 -4
- package/dist/chunks/{flag-jm70asfg.js → agent-jm70asfg.js} +1 -1
- package/dist/chunks/{flag-atves291.js → agent-jmrq1tea.js} +42 -42
- package/dist/chunks/{flag-da73gr06.js → agent-jwk7m03s.js} +18 -18
- package/dist/chunks/{flag-fkasyrab.js → agent-k25mt8kq.js} +6 -6
- package/dist/chunks/{flag-kj9n5bvh.js → agent-k46dd5bg.js} +4 -4
- package/dist/chunks/{flag-8xz27cp9.js → agent-kbgs7tyr.js} +4 -4
- package/dist/chunks/{flag-j8qa49gr.js → agent-kcbr708v.js} +6 -6
- package/dist/chunks/{flag-9t9e6z1k.js → agent-kn0n0yqw.js} +15 -15
- package/dist/chunks/{flag-9dby1x0g.js → agent-ksjgaqh0.js} +10 -10
- package/dist/chunks/{flag-kzczzf4v.js → agent-kzczzf4v.js} +1 -1
- package/dist/chunks/{flag-m1714858.js → agent-m1714858.js} +1 -1
- package/dist/chunks/{flag-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{flag-8z6m94af.js → agent-mb7mbhnz.js} +3 -3
- package/dist/chunks/{flag-sdw8kdqn.js → agent-mcqh2gjr.js} +33 -33
- package/dist/chunks/{flag-8ek53k77.js → agent-mkjtdqgf.js} +9 -9
- package/dist/chunks/{flag-mm06edep.js → agent-mm06edep.js} +1 -1
- package/dist/chunks/{flag-4tnarq1t.js → agent-msd2a3qm.js} +6 -6
- package/dist/chunks/{flag-59cs8yn3.js → agent-myckrn3a.js} +41 -41
- package/dist/chunks/{flag-x7f1yxy8.js → agent-n2j35w1r.js} +13 -13
- package/dist/chunks/{flag-4k3ewznj.js → agent-n2qm4rvy.js} +8 -8
- package/dist/chunks/{flag-s2z0me27.js → agent-n55b7vd5.js} +6 -6
- package/dist/chunks/{flag-zpvj7pbv.js → agent-n5zj00pj.js} +10 -10
- package/dist/chunks/{flag-nemnqzpn.js → agent-nemnqzpn.js} +1 -1
- package/dist/chunks/{flag-n1gj87y9.js → agent-nh4zq14w.js} +83 -83
- package/dist/chunks/{flag-g1e8prjs.js → agent-nkancn2p.js} +30 -30
- package/dist/chunks/{flag-bdhd9h6e.js → agent-p7vhpwh8.js} +5 -5
- package/dist/chunks/{flag-vaf27j96.js → agent-p8mh00x2.js} +20 -20
- package/dist/chunks/{flag-16ejsnhh.js → agent-pc81zxsz.js} +29 -29
- package/dist/chunks/{flag-zpcf3ktr.js → agent-pdx9nt45.js} +22 -22
- package/dist/chunks/{flag-kah1des0.js → agent-pj5hqg4g.js} +17 -17
- package/dist/chunks/{flag-ktdfez1z.js → agent-pj6d1xwv.js} +28 -28
- package/dist/chunks/{flag-bm0xqw3z.js → agent-pjc0s0z5.js} +3 -3
- package/dist/chunks/{flag-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{flag-fg9p65nk.js → agent-prq7xxp2.js} +6 -6
- package/dist/chunks/{flag-5h354152.js → agent-px34s52x.js} +11 -11
- package/dist/chunks/{flag-904twzva.js → agent-q0wn09nm.js} +7 -7
- package/dist/chunks/{flag-cy88k38k.js → agent-q146y50p.js} +11 -11
- package/dist/chunks/{flag-023w48re.js → agent-q6kzhayd.js} +15 -15
- package/dist/chunks/{flag-r9dd0xct.js → agent-q9fpmhy0.js} +2 -2
- package/dist/chunks/{flag-7qv3ry32.js → agent-qa0xa6fs.js} +15 -15
- package/dist/chunks/{flag-15vm986v.js → agent-qa8cs4zd.js} +36 -36
- package/dist/chunks/{flag-waj4ykx6.js → agent-qanwsyn8.js} +22 -22
- package/dist/chunks/{flag-qp7r0hxv.js → agent-qp7r0hxv.js} +1 -1
- package/dist/chunks/{flag-jg11hrrc.js → agent-qsdghx1p.js} +4 -4
- package/dist/chunks/{flag-sh1zp5p1.js → agent-qt52mg76.js} +179 -179
- package/dist/chunks/{flag-dsdhytqw.js → agent-r2dg4ypp.js} +10 -10
- package/dist/chunks/{flag-r41sfy63.js → agent-r41sfy63.js} +2 -2
- package/dist/chunks/{flag-s2p4nhbh.js → agent-r87112jt.js} +24 -24
- package/dist/chunks/{flag-41vagnw5.js → agent-r9jj2fpr.js} +21 -21
- package/dist/chunks/{flag-rb9dy4dg.js → agent-rb9dy4dg.js} +1 -1
- package/dist/chunks/{flag-gdb0ys4e.js → agent-rfqk20bv.js} +9 -9
- package/dist/chunks/{flag-rgc9cx3e.js → agent-rgc9cx3e.js} +2 -2
- package/dist/chunks/{flag-vt2d6wap.js → agent-rj7j5fvs.js} +4 -4
- package/dist/chunks/{flag-rt5dr6hb.js → agent-rt5dr6hb.js} +1 -1
- package/dist/chunks/{flag-byhqx4g5.js → agent-rx3th0cf.js} +16 -16
- package/dist/chunks/{flag-d1weh077.js → agent-rz69a4za.js} +2 -2
- package/dist/chunks/{flag-2kg89srt.js → agent-s7kyse9r.js} +4 -4
- package/dist/chunks/{flag-4tvfx95k.js → agent-s9se01ep.js} +4 -4
- package/dist/chunks/{flag-sa3fpqfw.js → agent-sa3fpqfw.js} +2 -2
- package/dist/chunks/{flag-sbya78hr.js → agent-sbya78hr.js} +1 -1
- package/dist/chunks/{flag-1scgcwfj.js → agent-sbz71ybr.js} +3 -3
- package/dist/chunks/{flag-cr44ae3x.js → agent-sp85y8nd.js} +5 -5
- package/dist/chunks/{flag-2ftyd5qw.js → agent-ssyabe20.js} +24 -24
- package/dist/chunks/{flag-kn4zqwcq.js → agent-sv909n4y.js} +3 -3
- package/dist/chunks/{flag-svcy3p9a.js → agent-svcy3p9a.js} +1 -1
- package/dist/chunks/{flag-8wwdcf3x.js → agent-sxk1c408.js} +17 -17
- package/dist/chunks/{flag-n4z1q12f.js → agent-szwm4crx.js} +7 -7
- package/dist/chunks/{flag-fkzdwwx0.js → agent-t4q26rjw.js} +19 -19
- package/dist/chunks/{flag-y3p3hzkr.js → agent-t8erkws8.js} +5 -5
- package/dist/chunks/{flag-adsyangh.js → agent-t975apb5.js} +32 -32
- package/dist/chunks/{flag-v4bj6baw.js → agent-tb2mrvc9.js} +4 -4
- package/dist/chunks/{flag-643a13m8.js → agent-tb9v3prs.js} +27 -27
- package/dist/chunks/{flag-tczq8hjw.js → agent-tczq8hjw.js} +1 -1
- package/dist/chunks/{flag-ctmpqb7w.js → agent-teav1bzy.js} +9 -9
- package/dist/chunks/{flag-tg7s7b5t.js → agent-tg7s7b5t.js} +1 -1
- package/dist/chunks/{flag-dxcj994g.js → agent-tgwd2taw.js} +15 -15
- package/dist/chunks/{flag-0j40d8rc.js → agent-tjbmpz8y.js} +10 -10
- package/dist/chunks/{flag-21mfesqj.js → agent-tjncsxe1.js} +8 -8
- package/dist/chunks/{flag-jht64jd1.js → agent-tr8x705m.js} +4 -4
- package/dist/chunks/{flag-x618v0wq.js → agent-trbcr54d.js} +17 -17
- package/dist/chunks/agent-tt9rk80g.js +16 -0
- package/dist/chunks/{flag-twssxy5n.js → agent-twssxy5n.js} +2 -2
- package/dist/chunks/{flag-v2r1d0zg.js → agent-v2r1d0zg.js} +1 -1
- package/dist/chunks/{flag-v438kgpn.js → agent-v2x06h94.js} +7 -7
- package/dist/chunks/{flag-x2tyrk29.js → agent-v76jn9m0.js} +18 -18
- package/dist/chunks/{flag-cg51fk4c.js → agent-v8nxqm0j.js} +4 -4
- package/dist/chunks/{flag-fej3esqb.js → agent-v8vd993n.js} +8 -8
- package/dist/chunks/{flag-67mcrh1f.js → agent-ve7xnkcb.js} +17 -17
- package/dist/chunks/{flag-vjf35v1f.js → agent-vjf35v1f.js} +1 -1
- package/dist/chunks/{flag-v3jwzdd2.js → agent-vk8bhwp9.js} +6 -6
- package/dist/chunks/{flag-ytsx0jn4.js → agent-vkj2re5r.js} +16 -16
- package/dist/chunks/{flag-npz8myfn.js → agent-vmbdsdmz.js} +3 -3
- package/dist/chunks/{flag-3gv0spa2.js → agent-vsnnaxjq.js} +4 -4
- package/dist/chunks/{flag-gfgj8a08.js → agent-vxm311kj.js} +15 -15
- package/dist/chunks/{flag-x8rjh8ab.js → agent-w0f7q7sg.js} +4 -4
- package/dist/chunks/{flag-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{flag-1yped5qa.js → agent-w687dnns.js} +4 -4
- package/dist/chunks/{flag-yswt24xe.js → agent-w7jfwa7t.js} +5 -5
- package/dist/chunks/{flag-wakvkjy4.js → agent-wakvkjy4.js} +1 -1
- package/dist/chunks/{flag-b4aph2fn.js → agent-wbyd4mvd.js} +52 -52
- package/dist/chunks/{flag-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/{flag-nx4vzyjd.js → agent-wegkxhrn.js} +2 -2
- package/dist/chunks/{flag-3qgwywyc.js → agent-wfs84ra6.js} +4 -4
- package/dist/chunks/{flag-n4c9d60b.js → agent-wp73ac89.js} +22 -22
- package/dist/chunks/{flag-tmmzgave.js → agent-wt73w1vf.js} +11 -11
- package/dist/chunks/{flag-6y2b864j.js → agent-wvr8xscb.js} +4 -4
- package/dist/chunks/{flag-5b42kqag.js → agent-wxxm8bf0.js} +17 -17
- package/dist/chunks/{flag-02d6bhe0.js → agent-x0zx26at.js} +15 -15
- package/dist/chunks/{flag-xsvq7cjt.js → agent-x26wqd07.js} +4 -4
- package/dist/chunks/{flag-xc73mdd1.js → agent-x2jdr90d.js} +23 -23
- package/dist/chunks/{flag-z34m6vx4.js → agent-x35vzqzv.js} +10 -10
- package/dist/chunks/{flag-mxfw6byj.js → agent-x6ah2pwg.js} +11 -11
- package/dist/chunks/{flag-z7bx7nj5.js → agent-xcvt7gda.js} +7 -7
- package/dist/chunks/{flag-se06t1th.js → agent-xf321fwn.js} +12 -12
- package/dist/chunks/{flag-gdqab8my.js → agent-xfcgjey3.js} +5 -5
- package/dist/chunks/{flag-xjbsd7zy.js → agent-xjbsd7zy.js} +2 -2
- package/dist/chunks/{flag-xjr6c8m4.js → agent-xjr6c8m4.js} +1 -1
- package/dist/chunks/{flag-yscjb6w8.js → agent-xk4wn29w.js} +40 -40
- package/dist/chunks/{flag-ady5eesf.js → agent-xsmgvw70.js} +9 -9
- package/dist/chunks/{flag-n320gsn2.js → agent-xvn8mnch.js} +4 -4
- package/dist/chunks/{flag-pxyqg0fd.js → agent-xzb3zm1w.js} +12 -12
- package/dist/chunks/{flag-qxvzmfp5.js → agent-y13yzvfz.js} +11 -11
- package/dist/chunks/{flag-rx0nm2qe.js → agent-y1zkeeep.js} +21 -21
- package/dist/chunks/{flag-q0mrkb4f.js → agent-y66w7ktp.js} +3 -3
- package/dist/chunks/{flag-rwx12ajr.js → agent-y9ckm5hn.js} +4 -4
- package/dist/chunks/{flag-yb20nhc3.js → agent-yb20nhc3.js} +1 -1
- package/dist/chunks/{flag-bhqhj1dd.js → agent-yq8zkd46.js} +17 -17
- package/dist/chunks/{flag-yr705xyq.js → agent-yr705xyq.js} +1 -1
- package/dist/chunks/{flag-yvtc2x31.js → agent-yvtc2x31.js} +1 -1
- package/dist/chunks/{flag-38aws4xb.js → agent-z080rjh6.js} +4 -4
- package/dist/chunks/{flag-smheew1c.js → agent-z70k8qnt.js} +81 -81
- package/dist/chunks/{flag-3ppfbg49.js → agent-z8ayg3ym.js} +13 -13
- package/dist/chunks/{flag-qftch89m.js → agent-zgvpfbrs.js} +35 -35
- package/dist/chunks/{flag-qh4edj6m.js → agent-zkg5wsys.js} +15 -15
- package/dist/chunks/{flag-pr55ezka.js → agent-zqmbb1r7.js} +22 -22
- package/dist/chunks/{flag-1jh9wfpv.js → agent-zxzazbrt.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +88 -88
- 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 +131 -131
- package/dist/config/plugin/command.js +238 -238
- 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 +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +154 -154
- 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 +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +7 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +96 -96
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +1 -1
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +158 -158
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +160 -160
- 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 +116 -116
- package/dist/flag.js +127 -127
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +112 -112
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +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 +98 -98
- 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 +90 -90
- 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 +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- 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 +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 +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +83 -83
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +1 -1
- 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 +407 -407
- 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 +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
- package/dist/plugin/provider/claude-agent/index.js +146 -146
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- 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 +4 -4
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +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 +1 -1
- package/dist/plugin/skill.js +150 -150
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +415 -415
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +249 -249
- 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 +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +111 -111
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +91 -91
- 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 +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 +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +171 -171
- 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 +245 -245
- package/dist/session/execution.js +171 -171
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +148 -148
- 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 +144 -144
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- 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 +164 -164
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +188 -188
- 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 +237 -237
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +207 -207
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +243 -243
- package/dist/session/usage.js +1 -1
- package/dist/session.js +239 -239
- 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 +11 -11
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +157 -157
- 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 +184 -184
- 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 +171 -171
- 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 +239 -239
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +171 -171
- 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/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- 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 +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 +107 -107
- package/package.json +8 -8
- package/dist/chunks/flag-bp4tfqdd.js +0 -16
- package/dist/chunks/flag-rpq636vb.js +0 -265
- package/dist/chunks/flag-zd0f51kc.js +0 -26
- /package/dist/chunks/{flag-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{flag-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{flag-108x4f4w.js → agent-108x4f4w.js} +0 -0
- /package/dist/chunks/{flag-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{flag-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{flag-1kah00gy.js → agent-1kah00gy.js} +0 -0
- /package/dist/chunks/{flag-24dcb14g.js → agent-24dcb14g.js} +0 -0
- /package/dist/chunks/{flag-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{flag-2bv980vf.js → agent-2bv980vf.js} +0 -0
- /package/dist/chunks/{flag-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{flag-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{flag-3af0jn4w.js → agent-3af0jn4w.js} +0 -0
- /package/dist/chunks/{flag-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{flag-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{flag-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{flag-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{flag-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{flag-4qk9sjk2.js → agent-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{flag-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{flag-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{flag-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{flag-5w3e23ze.js → agent-5w3e23ze.js} +0 -0
- /package/dist/chunks/{flag-6agm2x70.js → agent-6agm2x70.js} +0 -0
- /package/dist/chunks/{flag-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{flag-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{flag-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{flag-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{flag-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{flag-84wd9syh.js → agent-84wd9syh.js} +0 -0
- /package/dist/chunks/{flag-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{flag-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{flag-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
- /package/dist/chunks/{flag-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{flag-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{flag-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
- /package/dist/chunks/{flag-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{flag-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{flag-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{flag-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{flag-beh6qq61.js → agent-beh6qq61.js} +0 -0
- /package/dist/chunks/{flag-bhmrqjy3.js → agent-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{flag-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{flag-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{flag-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{flag-cqv5kn06.js → agent-cqv5kn06.js} +0 -0
- /package/dist/chunks/{flag-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{flag-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{flag-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{flag-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{flag-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{flag-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{flag-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{flag-ean2d8b5.js → agent-ean2d8b5.js} +0 -0
- /package/dist/chunks/{flag-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{flag-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{flag-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{flag-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{flag-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{flag-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{flag-fkpq3x5p.js → agent-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{flag-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{flag-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{flag-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{flag-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{flag-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
- /package/dist/chunks/{flag-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{flag-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{flag-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{flag-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
- /package/dist/chunks/{flag-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{flag-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{flag-jwr30sdr.js → agent-jwr30sdr.js} +0 -0
- /package/dist/chunks/{flag-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{flag-m18g726c.js → agent-m18g726c.js} +0 -0
- /package/dist/chunks/{flag-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{flag-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{flag-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{flag-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{flag-nh4v3znn.js → agent-nh4v3znn.js} +0 -0
- /package/dist/chunks/{flag-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{flag-p71gwv9c.js → agent-p71gwv9c.js} +0 -0
- /package/dist/chunks/{flag-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{flag-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{flag-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
- /package/dist/chunks/{flag-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{flag-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{flag-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
- /package/dist/chunks/{flag-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{flag-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{flag-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{flag-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{flag-syrav9an.js → agent-syrav9an.js} +0 -0
- /package/dist/chunks/{flag-t03h4f5z.js → agent-t03h4f5z.js} +0 -0
- /package/dist/chunks/{flag-ty7weeps.js → agent-ty7weeps.js} +0 -0
- /package/dist/chunks/{flag-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
- /package/dist/chunks/{flag-vtarvj67.js → agent-vtarvj67.js} +0 -0
- /package/dist/chunks/{flag-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{flag-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{flag-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{flag-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{flag-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{flag-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{flag-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{flag-y8f7s663.js → agent-y8f7s663.js} +0 -0
- /package/dist/chunks/{flag-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{flag-z0h12gs8.js → agent-z0h12gs8.js} +0 -0
- /package/dist/chunks/{flag-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{flag-z9919s4g.js → agent-z9919s4g.js} +0 -0
- /package/dist/chunks/{flag-zxpyjp51.js → agent-zxpyjp51.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-56z9ckds.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./agent-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
key3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-xvn8mnch.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID17,
|
|
14
|
+
Service81,
|
|
15
|
+
node84,
|
|
16
|
+
Event17
|
|
17
|
+
} from "./agent-jc14h7jr.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service87,
|
|
20
|
+
node91
|
|
21
|
+
} from "./agent-9pewx6m0.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./agent-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: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event15,
|
|
35
|
+
ID: () => ID15,
|
|
36
|
+
Info: () => Info22,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider5,
|
|
39
39
|
Request: () => Request4,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service77,
|
|
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: () => node78,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -331,8 +331,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
331
331
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
332
332
|
|
|
333
333
|
// src/provider.ts
|
|
334
|
-
import { Event as
|
|
335
|
-
var
|
|
334
|
+
import { Event as Event15 } from "@opencode/schema/provider";
|
|
335
|
+
var ID15 = Provider.ID;
|
|
336
336
|
var AISDK_PREFIX2 = "aisdk:";
|
|
337
337
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
338
338
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -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 Info22 = Provider.Info;
|
|
581
581
|
|
|
582
|
-
class
|
|
582
|
+
class Service77 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(Service77, Effect2.gen(function* () {
|
|
596
596
|
const bus = yield* Service91;
|
|
597
|
-
const integrations = yield*
|
|
598
|
-
const location = yield*
|
|
597
|
+
const integrations = yield* Service81;
|
|
598
|
+
const location = yield* Service87;
|
|
599
599
|
const state = create4({
|
|
600
600
|
name: "provider",
|
|
601
601
|
initial: () => new Map,
|
|
@@ -606,7 +606,7 @@ var layer = Layer.effect(Service84, 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: Info22.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(Service84, 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 ?? ID17.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")
|
|
@@ -713,8 +713,8 @@ var layer = Layer.effect(Service84, Effect2.gen(function* () {
|
|
|
713
713
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
714
714
|
});
|
|
715
715
|
});
|
|
716
|
-
yield* bus.subscribe([
|
|
717
|
-
return
|
|
716
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
717
|
+
return Service77.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(Service84, Effect2.gen(function* () {
|
|
|
723
723
|
snapshot
|
|
724
724
|
});
|
|
725
725
|
}));
|
|
726
|
-
var
|
|
726
|
+
var node78 = makeLocationNode({ service: Service77, layer, deps: [node95, node84, node91] });
|
|
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,
|
|
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, Info22, Service77, node78, exports_provider5, Event15 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-40y6dtc2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service74,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node75
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service74 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
48
48
|
const state = create4({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service74.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node75 = makeLocationNode({ service: Service74, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service74, node75, exports_image2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-5whx36p1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service6,
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service6 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service6.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node8 = makeGlobalNode({ service: Service6, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service6, node8, exports_update };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-5whx36p1.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-rb9dy4dg.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-sa3fpqfw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./agent-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -24,11 +24,11 @@ __export(exports_git3, {
|
|
|
24
24
|
Git: () => exports_git3,
|
|
25
25
|
OperationError: () => OperationError3,
|
|
26
26
|
Repository: () => Repository2,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service89,
|
|
28
28
|
TreeID: () => TreeID2,
|
|
29
29
|
Worktree: () => Worktree2,
|
|
30
30
|
WorktreeError: () => WorktreeError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node93
|
|
32
32
|
});
|
|
33
33
|
import os from "os";
|
|
34
34
|
import path from "path";
|
|
@@ -109,9 +109,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
109
109
|
}) {
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
class
|
|
112
|
+
class Service89 extends Context.Service()("@opencode/Git") {
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
115
115
|
const fs = yield* FSUtil.Service;
|
|
116
116
|
const proc = yield* AppProcess.Service;
|
|
117
117
|
const locks = makeUnsafe2();
|
|
@@ -815,7 +815,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
815
815
|
kind: index === 0 ? "main" : "linked"
|
|
816
816
|
}));
|
|
817
817
|
});
|
|
818
|
-
return
|
|
818
|
+
return Service89.of({
|
|
819
819
|
repo: { discover, fingerprint, clone, create },
|
|
820
820
|
remote: { get: remote },
|
|
821
821
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -832,7 +832,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
832
832
|
objects: { pack: packObjects }
|
|
833
833
|
});
|
|
834
834
|
}));
|
|
835
|
-
var
|
|
835
|
+
var node93 = makeGlobalNode({ service: Service89, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
836
836
|
function spawnFailure(operation, directory) {
|
|
837
837
|
return (cause) => new OperationError3({ operation, directory, message: cause.message, cause });
|
|
838
838
|
}
|
|
@@ -909,4 +909,4 @@ function resolvePath(cwd, value) {
|
|
|
909
909
|
return path.resolve(cwd, normalized);
|
|
910
910
|
}
|
|
911
911
|
|
|
912
|
-
export { Repository2, TreeID2, OperationError3, CommandError2, Worktree2, WorktreeError2,
|
|
912
|
+
export { Repository2, TreeID2, OperationError3, CommandError2, Worktree2, WorktreeError2, Service89, node93, exports_git3 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ID18
|
|
3
|
-
} from "./flag-7k9kz9jy.js";
|
|
4
1
|
import {
|
|
5
2
|
ID17
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./agent-jc14h7jr.js";
|
|
4
|
+
import {
|
|
5
|
+
ID15
|
|
6
|
+
} from "./agent-edwx1ema.js";
|
|
7
7
|
import {
|
|
8
8
|
onSwitch2,
|
|
9
9
|
reloadIfChanged2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-q0wn09nm.js";
|
|
11
11
|
import {
|
|
12
12
|
activeCredential2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-9xp9fbz7.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/openai-context-caps.ts
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
18
|
-
var integrationID =
|
|
18
|
+
var integrationID = ID17.make("openai");
|
|
19
19
|
var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
|
|
20
20
|
var legacyInput = 272000;
|
|
21
21
|
var currentInput = 500000;
|
|
@@ -33,7 +33,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
33
33
|
yield* ctx.model.transform((models) => {
|
|
34
34
|
if (!signedIn)
|
|
35
35
|
return;
|
|
36
|
-
for (const model of models.list(
|
|
36
|
+
for (const model of models.list(ID15.openai)) {
|
|
37
37
|
models.update(model.providerID, model.id, (draft) => {
|
|
38
38
|
const input = cap(draft.modelID ?? draft.id);
|
|
39
39
|
if ((draft.limit.input || draft.limit.context) <= input)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ID18,
|
|
3
|
-
Service85,
|
|
4
|
-
node89
|
|
5
|
-
} from "./flag-7k9kz9jy.js";
|
|
6
1
|
import {
|
|
7
2
|
ID17,
|
|
3
|
+
Service81,
|
|
4
|
+
node84
|
|
5
|
+
} from "./agent-jc14h7jr.js";
|
|
6
|
+
import {
|
|
7
|
+
ID15,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service77,
|
|
19
|
+
node78
|
|
20
|
+
} from "./agent-edwx1ema.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service75,
|
|
23
|
+
node76
|
|
24
|
+
} from "./agent-fvqhdj2b.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID14,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref3,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service76,
|
|
30
|
+
node77,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./agent-0qccc6r6.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./agent-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service73,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer23,
|
|
52
|
+
node: () => node74,
|
|
53
53
|
resolveModel: () => resolveModel3,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -66,8 +66,8 @@ import { Auth, mergeTransport } from "@opencode/ai/route";
|
|
|
66
66
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
67
67
|
import { Npm } from "@opencode/util/npm";
|
|
68
68
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
69
|
-
providerID:
|
|
70
|
-
modelID:
|
|
69
|
+
providerID: ID15,
|
|
70
|
+
modelID: ID14,
|
|
71
71
|
variant: VariantID2
|
|
72
72
|
}) {
|
|
73
73
|
get message() {
|
|
@@ -76,8 +76,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
79
|
-
providerID:
|
|
80
|
-
modelID:
|
|
79
|
+
providerID: ID15,
|
|
80
|
+
modelID: ID14,
|
|
81
81
|
package: Schema.String
|
|
82
82
|
}) {
|
|
83
83
|
get message() {
|
|
@@ -87,8 +87,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
87
87
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
88
88
|
|
|
89
89
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
90
|
-
providerID:
|
|
91
|
-
modelID:
|
|
90
|
+
providerID: ID15,
|
|
91
|
+
modelID: ID14,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
detail: Schema.String
|
|
94
94
|
}) {
|
|
@@ -98,8 +98,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
101
|
-
providerID:
|
|
102
|
-
modelID:
|
|
101
|
+
providerID: ID15,
|
|
102
|
+
modelID: ID14,
|
|
103
103
|
package: Schema.String,
|
|
104
104
|
phase: InitializationPhase2,
|
|
105
105
|
detail: Schema.String
|
|
@@ -110,8 +110,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
113
|
-
providerID:
|
|
114
|
-
modelID:
|
|
113
|
+
providerID: ID15,
|
|
114
|
+
modelID: ID14,
|
|
115
115
|
variables: Schema.Array(Schema.String)
|
|
116
116
|
}) {
|
|
117
117
|
get message() {
|
|
@@ -120,8 +120,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
123
|
-
providerID:
|
|
124
|
-
modelID:
|
|
123
|
+
providerID: ID15,
|
|
124
|
+
modelID: ID14,
|
|
125
125
|
route: Schema.String
|
|
126
126
|
}) {
|
|
127
127
|
get message() {
|
|
@@ -129,7 +129,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
class
|
|
132
|
+
class Service73 extends Context.Service()("@opencode/ModelResolver") {
|
|
133
133
|
}
|
|
134
134
|
var withVariant2 = (model, variantID) => {
|
|
135
135
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -265,7 +265,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
265
265
|
return tokenSettings(specifier, credential.access);
|
|
266
266
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
267
267
|
return { auth: "sigv4" };
|
|
268
|
-
if (model.providerID ===
|
|
268
|
+
if (model.providerID === ID15.azure)
|
|
269
269
|
return tokenSettings(specifier, "azure-cli");
|
|
270
270
|
return {};
|
|
271
271
|
};
|
|
@@ -300,19 +300,19 @@ var causeMessage = (cause) => {
|
|
|
300
300
|
};
|
|
301
301
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
302
302
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
303
|
-
var
|
|
304
|
-
const providers = yield*
|
|
305
|
-
const models = yield*
|
|
306
|
-
const integrations = yield*
|
|
303
|
+
var layer23 = Layer.effect(Service73, Effect.gen(function* () {
|
|
304
|
+
const providers = yield* Service77;
|
|
305
|
+
const models = yield* Service76;
|
|
306
|
+
const integrations = yield* Service81;
|
|
307
307
|
const npm = yield* Npm.Service;
|
|
308
|
-
const aisdk = yield*
|
|
308
|
+
const aisdk = yield* Service75;
|
|
309
309
|
const dependencies = {
|
|
310
310
|
loadPackage: (specifier) => loadPackage2(specifier, npm),
|
|
311
311
|
loadAISDK: (model) => aisdk.model(model)
|
|
312
312
|
};
|
|
313
313
|
const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
|
|
314
314
|
const provider = yield* providers.get(selected.providerID);
|
|
315
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
315
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID17.make(selected.providerID));
|
|
316
316
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
317
317
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
318
318
|
const runtimeInfo = {
|
|
@@ -348,7 +348,7 @@ var layer27 = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
348
348
|
const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
|
|
349
349
|
return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
|
|
350
350
|
});
|
|
351
|
-
return
|
|
351
|
+
return Service73.of({
|
|
352
352
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
353
353
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
354
354
|
if (!selected)
|
|
@@ -407,10 +407,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
407
407
|
return false;
|
|
408
408
|
return API_KEY_AUTH_PACKAGES.has(name) || name.startsWith("@opencode/ai/providers/openai/") || name.startsWith("@opencode/ai/providers/azure/");
|
|
409
409
|
}
|
|
410
|
-
var
|
|
411
|
-
service:
|
|
412
|
-
layer:
|
|
413
|
-
deps: [
|
|
410
|
+
var node74 = makeLocationNode({
|
|
411
|
+
service: Service73,
|
|
412
|
+
layer: layer23,
|
|
413
|
+
deps: [node78, node77, node84, Npm.node, node76]
|
|
414
414
|
});
|
|
415
415
|
|
|
416
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
416
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service73, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer23, node74, exports_model_resolver };
|