@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,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./agent-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-1r3pc4va.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID18,
|
|
6
|
+
Service82
|
|
7
|
+
} from "./agent-3pptegkg.js";
|
|
8
8
|
import {
|
|
9
9
|
key3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-xvn8mnch.js";
|
|
11
11
|
import {
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-jc14h7jr.js";
|
|
14
14
|
import {
|
|
15
15
|
which2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-qaymkmh1.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
ID15,
|
|
19
|
+
Service77
|
|
20
|
+
} from "./agent-edwx1ema.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID14
|
|
23
|
+
} from "./agent-0qccc6r6.js";
|
|
24
24
|
import {
|
|
25
25
|
interval2,
|
|
26
|
-
|
|
26
|
+
Service61,
|
|
27
27
|
fingerprint2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./agent-0699g30z.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./agent-kcbr708v.js";
|
|
32
32
|
import {
|
|
33
33
|
onSwitch2,
|
|
34
34
|
switched2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./agent-q0wn09nm.js";
|
|
36
36
|
import {
|
|
37
37
|
activeCredential2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./agent-9xp9fbz7.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/azure.ts
|
|
41
41
|
import { Clock, Effect, Equal, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -70,18 +70,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
70
70
|
}));
|
|
71
71
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
72
72
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
73
|
-
function
|
|
73
|
+
function make17(endpoints = {
|
|
74
74
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
75
75
|
management: "https://management.azure.com"
|
|
76
76
|
}) {
|
|
77
77
|
return define({
|
|
78
78
|
id: "opencode.provider.azure",
|
|
79
79
|
effect: Effect.fn(function* (ctx) {
|
|
80
|
-
const configured = yield* configuredSettings2(
|
|
80
|
+
const configured = yield* configuredSettings2(ID15.azure);
|
|
81
81
|
const processes = yield* AppProcess.Service;
|
|
82
|
-
const credentials = yield*
|
|
83
|
-
const providers = yield*
|
|
84
|
-
const cache = yield*
|
|
82
|
+
const credentials = yield* Service82;
|
|
83
|
+
const providers = yield* Service77;
|
|
84
|
+
const cache = yield* Service61;
|
|
85
85
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
86
86
|
const tokens = new Map;
|
|
87
87
|
const resourceIDs = new Map;
|
|
@@ -107,11 +107,11 @@ function make14(endpoints = {
|
|
|
107
107
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
108
108
|
yield* ctx.integration.transform((editor) => {
|
|
109
109
|
editor.method.update({
|
|
110
|
-
integrationID:
|
|
110
|
+
integrationID: ID15.azure,
|
|
111
111
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
112
112
|
});
|
|
113
113
|
editor.method.update({
|
|
114
|
-
integrationID:
|
|
114
|
+
integrationID: ID15.azure,
|
|
115
115
|
method: {
|
|
116
116
|
type: "key",
|
|
117
117
|
label: "API key",
|
|
@@ -129,7 +129,7 @@ function make14(endpoints = {
|
|
|
129
129
|
if (!available)
|
|
130
130
|
return;
|
|
131
131
|
editor.method.update({
|
|
132
|
-
integrationID:
|
|
132
|
+
integrationID: ID15.azure,
|
|
133
133
|
method: {
|
|
134
134
|
id: methodID,
|
|
135
135
|
type: "external",
|
|
@@ -149,8 +149,8 @@ function make14(endpoints = {
|
|
|
149
149
|
});
|
|
150
150
|
});
|
|
151
151
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
152
|
-
const connection = yield* ctx.integration.connection.active(
|
|
153
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
152
|
+
const connection = yield* ctx.integration.connection.active(ID15.azure);
|
|
153
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
|
|
154
154
|
return { connection, resource: credentialResource(stored?.value) };
|
|
155
155
|
});
|
|
156
156
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -189,7 +189,7 @@ function make14(endpoints = {
|
|
|
189
189
|
}));
|
|
190
190
|
const discover = Effect.fn("AzurePlugin.discover")(function* (options) {
|
|
191
191
|
const connection = loaded.connection;
|
|
192
|
-
const settings = (yield* providers.get(
|
|
192
|
+
const settings = (yield* providers.get(ID15.azure))?.settings;
|
|
193
193
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
194
194
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
195
195
|
if (loaded.connection !== connection)
|
|
@@ -219,11 +219,11 @@ function make14(endpoints = {
|
|
|
219
219
|
});
|
|
220
220
|
const apply = (next) => next ? loading.withPermit(publish(next.connection, next.found)).pipe(Effect.uninterruptible) : Effect.void;
|
|
221
221
|
const publish = Effect.fn("AzurePlugin.publish")(function* (connection, found) {
|
|
222
|
-
if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(
|
|
222
|
+
if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(ID15.azure)))
|
|
223
223
|
return;
|
|
224
224
|
if (Equal.equals(found, loaded.deployments))
|
|
225
225
|
return;
|
|
226
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
226
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID15.azure)?.models.keys() ?? [], (id) => [
|
|
227
227
|
id.toLowerCase(),
|
|
228
228
|
id
|
|
229
229
|
]));
|
|
@@ -236,7 +236,7 @@ function make14(endpoints = {
|
|
|
236
236
|
yield* ctx.model.reload();
|
|
237
237
|
});
|
|
238
238
|
const refresh = discover({}).pipe(Effect.flatMap(apply));
|
|
239
|
-
const resourceFor = (provider) => provider.id ===
|
|
239
|
+
const resourceFor = (provider) => provider.id === ID15.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
240
240
|
Object.assign(loaded, yield* load());
|
|
241
241
|
yield* ctx.provider.transform((evt) => {
|
|
242
242
|
for (const item of evt.list()) {
|
|
@@ -255,7 +255,7 @@ function make14(endpoints = {
|
|
|
255
255
|
};
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
|
-
const item = evt.get(
|
|
258
|
+
const item = evt.get(ID15.azure);
|
|
259
259
|
if (!item)
|
|
260
260
|
return;
|
|
261
261
|
evt.add({
|
|
@@ -285,21 +285,21 @@ function make14(endpoints = {
|
|
|
285
285
|
}
|
|
286
286
|
if (!loaded.deployments)
|
|
287
287
|
return;
|
|
288
|
-
const catalog = models.list(
|
|
288
|
+
const catalog = models.list(ID15.azure);
|
|
289
289
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
290
290
|
for (const model of catalog) {
|
|
291
291
|
if (!deployed.has(model.id))
|
|
292
|
-
models.remove(
|
|
292
|
+
models.remove(ID15.azure, model.id);
|
|
293
293
|
}
|
|
294
294
|
for (const [id, model] of deployed) {
|
|
295
|
-
models.update(
|
|
295
|
+
models.update(ID15.azure, id, (draft) => Object.assign(draft, model));
|
|
296
296
|
}
|
|
297
297
|
});
|
|
298
298
|
yield* onSwitch2("azure", rebind().pipe(Effect.andThen(FiberHandle.run(discovery, switched2(discover, apply)))));
|
|
299
299
|
yield* rebind().pipe(Effect.andThen(FiberHandle.run(discovery, refresh)), Effect.forkScoped);
|
|
300
300
|
yield* Effect.sleep(interval2).pipe(Effect.andThen(FiberHandle.run(discovery, refresh, { onlyIfMissing: true })), Effect.forever, Effect.forkScoped);
|
|
301
301
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
302
|
-
const { credential } = yield* activeCredential2(ctx,
|
|
302
|
+
const { credential } = yield* activeCredential2(ctx, ID15.azure);
|
|
303
303
|
if (credential?.type !== "external" || credential.methodID !== methodID)
|
|
304
304
|
return;
|
|
305
305
|
const target = new URL(url);
|
|
@@ -315,7 +315,7 @@ function make14(endpoints = {
|
|
|
315
315
|
evt.request.headers.delete("x-api-key");
|
|
316
316
|
evt.request.headers.set("authorization", authorization);
|
|
317
317
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID15.azure });
|
|
319
319
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
320
320
|
const authorization = yield* bearer(evt.url);
|
|
321
321
|
if (!authorization)
|
|
@@ -324,11 +324,11 @@ function make14(endpoints = {
|
|
|
324
324
|
delete evt.headers["x-api-key"];
|
|
325
325
|
evt.headers.authorization = authorization;
|
|
326
326
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
327
|
-
}), { providerID:
|
|
327
|
+
}), { providerID: ID15.azure });
|
|
328
328
|
})
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
|
-
var AzurePlugin2 =
|
|
331
|
+
var AzurePlugin2 = make17();
|
|
332
332
|
function deploymentsKey(connection, credential, url) {
|
|
333
333
|
const access = credential.type === "key" ? `:${fingerprint2(credential.key)}` : "";
|
|
334
334
|
return `azure:${key3(connection)}${access}:${url}`;
|
|
@@ -343,7 +343,7 @@ function expandResourceName(baseURL, resourceName) {
|
|
|
343
343
|
return baseURL.replaceAll("${AZURE_RESOURCE_NAME}", resourceName).replaceAll("${AZURE_COGNITIVE_SERVICES_RESOURCE_NAME}", resourceName);
|
|
344
344
|
}
|
|
345
345
|
function azureProvider(provider) {
|
|
346
|
-
return provider.id ===
|
|
346
|
+
return provider.id === ID15.azure || provider.package.startsWith("@opencode/ai/providers/azure/");
|
|
347
347
|
}
|
|
348
348
|
function usable(credential) {
|
|
349
349
|
return credential?.type === "key" || credential?.type === "external" && credential.methodID === methodID;
|
|
@@ -368,11 +368,11 @@ function deployedModels(deployments, catalog) {
|
|
|
368
368
|
const model = catalogModel(models, deployment);
|
|
369
369
|
if (!model)
|
|
370
370
|
return [];
|
|
371
|
-
const id =
|
|
371
|
+
const id = ID14.make(deployment.name.toLowerCase());
|
|
372
372
|
const info = {
|
|
373
373
|
...structuredClone(model),
|
|
374
374
|
id,
|
|
375
|
-
modelID:
|
|
375
|
+
modelID: ID14.make(deployment.name),
|
|
376
376
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
377
377
|
};
|
|
378
378
|
return [[id, info]];
|
|
@@ -394,4 +394,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
394
394
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
export {
|
|
397
|
+
export { make17, AzurePlugin2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-1r3pc4va.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-3pptegkg.js";
|
|
7
7
|
import {
|
|
8
8
|
key3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-xvn8mnch.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
ID17,
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-jc14h7jr.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID15,
|
|
16
16
|
aisdk2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service77
|
|
18
|
+
} from "./agent-edwx1ema.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
ID14,
|
|
21
|
+
Info21
|
|
22
|
+
} from "./agent-0qccc6r6.js";
|
|
23
23
|
import {
|
|
24
24
|
success2,
|
|
25
25
|
error2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./agent-yb20nhc3.js";
|
|
27
27
|
import {
|
|
28
28
|
onSwitch2,
|
|
29
29
|
reloadIfChanged2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./agent-q0wn09nm.js";
|
|
31
31
|
import {
|
|
32
32
|
credentialSettings2,
|
|
33
33
|
metadataSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./agent-9xp9fbz7.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/gitlab.ts
|
|
37
37
|
import os from "os";
|
|
@@ -39,8 +39,8 @@ import { Clock, Deferred, Effect, Equal, Exit, Option, Schema, Semaphore } from
|
|
|
39
39
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
40
40
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
41
41
|
import { Form } from "@opencode/schema/form";
|
|
42
|
-
var providerID =
|
|
43
|
-
var integrationID =
|
|
42
|
+
var providerID = ID15.gitlab;
|
|
43
|
+
var integrationID = ID17.make("gitlab");
|
|
44
44
|
var methodID = MethodID2.make("pkce");
|
|
45
45
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
46
46
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -61,7 +61,7 @@ var refreshRetention = 60000;
|
|
|
61
61
|
var GitLabPlugin2 = define({
|
|
62
62
|
id: "opencode.provider.gitlab",
|
|
63
63
|
effect: Effect.fn(function* (ctx) {
|
|
64
|
-
const providers = yield*
|
|
64
|
+
const providers = yield* Service77;
|
|
65
65
|
const http = yield* HttpClient.HttpClient;
|
|
66
66
|
const loading = Semaphore.makeUnsafe(1);
|
|
67
67
|
const loaded = {};
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
models: [
|
|
197
197
|
...item.models.values(),
|
|
198
198
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
199
|
-
...
|
|
199
|
+
...Info21.default(providerID, ID14.make(model.id)),
|
|
200
200
|
name: `Agent Platform (${model.name})`,
|
|
201
201
|
package: aisdk2("gitlab-ai-provider"),
|
|
202
202
|
settings: { workflowRef: model.ref },
|
|
@@ -249,7 +249,7 @@ var GitLabPlugin2 = define({
|
|
|
249
249
|
aiGatewayHeaders: evt.options.aiGatewayHeaders,
|
|
250
250
|
featureFlags
|
|
251
251
|
});
|
|
252
|
-
}), { providerID:
|
|
252
|
+
}), { providerID: ID15.gitlab });
|
|
253
253
|
})
|
|
254
254
|
});
|
|
255
255
|
function resolveDefaultInstanceUrl() {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured9,
|
|
11
|
+
layer: () => layer24,
|
|
12
|
+
make: () => make31,
|
|
13
|
+
node: () => node80,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make31()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make31(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make32(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer24 = (input) => Layer.succeed(Metadata2, make31(input));
|
|
32
|
+
var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
|
|
33
|
+
var node80 = configured9();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make31, useragent2, layer24, configured9, node80, exports_app };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
invocation2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service65
|
|
4
|
+
} from "./agent-g7x9jesh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID10,
|
|
7
7
|
Name2,
|
|
8
8
|
toModelOutput3,
|
|
9
9
|
prepare3,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service49
|
|
11
|
+
} from "./agent-r9jj2fpr.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/tool/plugin/skill.ts
|
|
17
17
|
var exports_skill = {};
|
|
18
18
|
__export(exports_skill, {
|
|
19
|
-
Input: () =>
|
|
20
|
-
Output: () =>
|
|
21
|
-
Plugin: () =>
|
|
19
|
+
Input: () => Input4,
|
|
20
|
+
Output: () => Output4,
|
|
21
|
+
Plugin: () => Plugin6,
|
|
22
22
|
SkillTool: () => exports_skill,
|
|
23
|
-
description: () =>
|
|
24
|
-
name: () =>
|
|
23
|
+
description: () => description3,
|
|
24
|
+
name: () => name4,
|
|
25
25
|
toModelOutput: () => toModelOutput2
|
|
26
26
|
});
|
|
27
27
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
28
28
|
import { Effect, Schema } from "effect";
|
|
29
29
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
id:
|
|
30
|
+
var name4 = "skill";
|
|
31
|
+
var Input4 = Schema.Struct({
|
|
32
|
+
id: ID10.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
33
33
|
});
|
|
34
|
-
var
|
|
34
|
+
var Output4 = Schema.Struct({
|
|
35
35
|
name: Name2,
|
|
36
36
|
directory: Schema.String,
|
|
37
37
|
output: Schema.String
|
|
38
38
|
});
|
|
39
|
-
var
|
|
39
|
+
var description3 = [
|
|
40
40
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
41
41
|
"",
|
|
42
42
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -44,25 +44,25 @@ var description4 = [
|
|
|
44
44
|
`);
|
|
45
45
|
var toModelOutput2 = toModelOutput3;
|
|
46
46
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
47
|
-
var
|
|
47
|
+
var Plugin6 = {
|
|
48
48
|
id: "opencode.tool.skill",
|
|
49
49
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
50
50
|
const fs = yield* FSUtil.Service;
|
|
51
|
-
const skills = yield*
|
|
52
|
-
const permission = yield*
|
|
51
|
+
const skills = yield* Service49;
|
|
52
|
+
const permission = yield* Service65;
|
|
53
53
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
54
|
-
name:
|
|
54
|
+
name: name4,
|
|
55
55
|
options: { codemode: false },
|
|
56
|
-
description:
|
|
57
|
-
input:
|
|
58
|
-
output:
|
|
56
|
+
description: description3,
|
|
57
|
+
input: Input4,
|
|
58
|
+
output: Output4,
|
|
59
59
|
execute: (input, context) => Effect.gen(function* () {
|
|
60
60
|
const skill = yield* skills.get(input.id);
|
|
61
61
|
if (!skill)
|
|
62
62
|
return yield* unableToLoad(input.id);
|
|
63
63
|
return yield* Effect.gen(function* () {
|
|
64
64
|
yield* permission.assert({
|
|
65
|
-
action:
|
|
65
|
+
action: name4,
|
|
66
66
|
resources: [skill.id],
|
|
67
67
|
save: [skill.id],
|
|
68
68
|
...invocation2(context)
|
|
@@ -79,4 +79,4 @@ var Plugin13 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name4, Input4, Output4, description3, toModelOutput2, Plugin6, exports_skill };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-1r3pc4va.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service82
|
|
7
|
+
} from "./agent-3pptegkg.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID17,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-jc14h7jr.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID15,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-edwx1ema.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID15.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID17.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service82;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID17.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-5whx36p1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./agent-anammz50.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/mcp/connection.ts
|
|
12
12
|
var exports_connection = {};
|
|
13
13
|
__export(exports_connection, {
|
|
14
14
|
McpConnection: () => exports_connection,
|
|
15
|
-
make: () =>
|
|
15
|
+
make: () => make26
|
|
16
16
|
});
|
|
17
17
|
import { Cause, Effect, Exit, Scope } from "effect";
|
|
18
18
|
import { FetchHttpClient } from "effect/http";
|
|
19
19
|
var endpointLoads = makeUnsafe2();
|
|
20
|
-
function
|
|
20
|
+
function make26(input) {
|
|
21
21
|
const state = {};
|
|
22
22
|
const whenLive = (client) => (effect) => input.callbacks(Effect.suspend(() => state.client === client ? effect : Effect.void).pipe(input.lock, Effect.ignore));
|
|
23
23
|
const refreshTools = (client) => client.tools().pipe(Effect.map((tools) => {
|
|
@@ -59,7 +59,7 @@ function make25(input) {
|
|
|
59
59
|
elicitation: input.elicitation,
|
|
60
60
|
clientInfo: input.clientInfo,
|
|
61
61
|
roots: !input.shared
|
|
62
|
-
}).pipe(Effect.flatMap((client) => input.shared && !client.modern ? Effect.succeed({ client }) : client.tools().pipe(Effect.map((tools) => ({ client, tools })))), Effect.provideService(
|
|
62
|
+
}).pipe(Effect.flatMap((client) => input.shared && !client.modern ? Effect.succeed({ client }) : client.tools().pipe(Effect.map((tools) => ({ client, tools })))), Effect.provideService(Service85, input.environment), Effect.provideService(FetchHttpClient.Fetch, input.fetch), Scope.provide(scope), (effect) => config.type === "remote" && !input.shared ? endpointLoads.withLock(config.url)(effect) : effect, Effect.exit);
|
|
63
63
|
if (Exit.isSuccess(result) && !result.value.tools) {
|
|
64
64
|
yield* Scope.close(scope, Exit.void);
|
|
65
65
|
state.scope = undefined;
|
|
@@ -112,4 +112,4 @@ function make25(input) {
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
export {
|
|
115
|
+
export { make26, exports_connection };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-56z9ckds.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service87
|
|
6
|
+
} from "./agent-9pewx6m0.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service42
|
|
10
|
+
} from "./agent-7j1ep75t.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command = {};
|
|
17
17
|
__export(exports_command, {
|
|
18
18
|
CommandPlugin: () => exports_command,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin36
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin36 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service87;
|
|
200
|
+
const mcp = yield* Service42;
|
|
201
201
|
const bus = yield* Service91;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin36, exports_command };
|