@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,35 +1,35 @@
|
|
|
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
|
+
ID17,
|
|
9
9
|
MethodID2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-jc14h7jr.js";
|
|
11
11
|
import {
|
|
12
12
|
success2,
|
|
13
13
|
error2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-yb20nhc3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID15,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-edwx1ema.js";
|
|
20
20
|
import {
|
|
21
21
|
get5
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./agent-3nnrz6f6.js";
|
|
23
23
|
import {
|
|
24
24
|
configuredSettings2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./agent-kcbr708v.js";
|
|
26
26
|
import {
|
|
27
27
|
onSwitch2,
|
|
28
28
|
reloadIfChanged2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./agent-q0wn09nm.js";
|
|
30
30
|
import {
|
|
31
31
|
activeCredential2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./agent-9xp9fbz7.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/openai.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -53,7 +53,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
53
53
|
}));
|
|
54
54
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
55
55
|
var browser = (app) => ({
|
|
56
|
-
integrationID:
|
|
56
|
+
integrationID: ID17.make("openai"),
|
|
57
57
|
method: {
|
|
58
58
|
id: browserMethodID,
|
|
59
59
|
type: "oauth",
|
|
@@ -126,7 +126,7 @@ function addressInUse(error) {
|
|
|
126
126
|
return "code" in error && error.code === "EADDRINUSE";
|
|
127
127
|
}
|
|
128
128
|
var headless = (app) => ({
|
|
129
|
-
integrationID:
|
|
129
|
+
integrationID: ID17.make("openai"),
|
|
130
130
|
method: {
|
|
131
131
|
id: headlessMethodID,
|
|
132
132
|
type: "oauth",
|
|
@@ -168,7 +168,7 @@ var headless = (app) => ({
|
|
|
168
168
|
}),
|
|
169
169
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
170
170
|
});
|
|
171
|
-
var
|
|
171
|
+
var OpenAIPlugin3 = define({
|
|
172
172
|
id: "opencode.provider.openai",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
174
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -184,9 +184,9 @@ var OpenAIPlugin2 = define({
|
|
|
184
184
|
editor.method.update(headless(ctx.app));
|
|
185
185
|
});
|
|
186
186
|
yield* load();
|
|
187
|
-
const configured = yield* configuredSettings2(
|
|
187
|
+
const configured = yield* configuredSettings2(ID15.openai);
|
|
188
188
|
yield* ctx.provider.transform((providers) => {
|
|
189
|
-
const item = providers.get(
|
|
189
|
+
const item = providers.get(ID15.openai);
|
|
190
190
|
if (!item)
|
|
191
191
|
return;
|
|
192
192
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -206,7 +206,7 @@ var OpenAIPlugin2 = define({
|
|
|
206
206
|
});
|
|
207
207
|
});
|
|
208
208
|
yield* ctx.model.transform((models) => {
|
|
209
|
-
for (const model of models.list(
|
|
209
|
+
for (const model of models.list(ID15.openai)) {
|
|
210
210
|
models.update(model.providerID, model.id, (draft) => {
|
|
211
211
|
if (!chatgpt)
|
|
212
212
|
return;
|
|
@@ -243,12 +243,12 @@ var OpenAIPlugin2 = define({
|
|
|
243
243
|
}));
|
|
244
244
|
evt.headers.originator = "opencode";
|
|
245
245
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID15.openai });
|
|
247
247
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
248
248
|
delete evt.options.maxTokens;
|
|
249
249
|
});
|
|
250
250
|
for (const name of ["context", "compaction"])
|
|
251
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
251
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID15.openai });
|
|
252
252
|
yield* onSwitch2("openai", loading.withPermit(reloadIfChanged2(load(), ctx.provider.reload())));
|
|
253
253
|
})
|
|
254
254
|
});
|
|
@@ -340,4 +340,4 @@ function claim(token) {
|
|
|
340
340
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
341
341
|
}
|
|
342
342
|
|
|
343
|
-
export {
|
|
343
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service87
|
|
3
|
+
} from "./agent-9pewx6m0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-0qccc6r6.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service69
|
|
10
|
+
} from "./agent-b2zf48kj.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service85
|
|
13
|
+
} from "./agent-anammz50.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-w687dnns.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-kcbr708v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service69;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service85);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service87);
|
|
38
38
|
const defaultOrigin = origin ?? (photonWasm === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|
|
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
63
63
|
for (const item of loaded.models) {
|
|
64
64
|
const spec = input.model(item);
|
|
65
65
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID14.make(spec.id);
|
|
67
67
|
model.name = spec.name || spec.id;
|
|
68
68
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service91,
|
|
4
4
|
node95
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./agent-56z9ckds.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service72,
|
|
8
|
+
node73
|
|
9
|
+
} from "./agent-tjbmpz8y.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event13,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service71,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node72,
|
|
26
26
|
resolve: () => resolve5
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service71 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event13 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var requestTimeout = "15 seconds";
|
|
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
|
|
|
79
79
|
var manifestKey = (origin) => `wellknown:manifest:${origin}`;
|
|
80
80
|
var configKey = (origin) => `wellknown:config:${origin}`;
|
|
81
81
|
var Configs = Schema.Array(Config2);
|
|
82
|
-
var layer = Layer.effect(
|
|
82
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
83
83
|
const http = yield* HttpClient.HttpClient;
|
|
84
|
-
const kv = yield*
|
|
84
|
+
const kv = yield* Service72;
|
|
85
85
|
const bus = yield* Service91;
|
|
86
86
|
const cache = yield* Ref.make(new Map);
|
|
87
87
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
112
112
|
if (!changed)
|
|
113
113
|
return false;
|
|
114
114
|
yield* Ref.set(cache, next);
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event13.Updated, {}, { global: true });
|
|
116
116
|
return true;
|
|
117
117
|
}, (effect) => lock.withPermit(effect));
|
|
118
|
-
return
|
|
118
|
+
return Service71.of({
|
|
119
119
|
entries: load,
|
|
120
120
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
121
121
|
refresh,
|
|
@@ -127,7 +127,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
127
127
|
const origins = yield* readOrigins;
|
|
128
128
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
129
129
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
130
|
-
yield* bus.publish(
|
|
130
|
+
yield* bus.publish(Event13.Updated, {}, { global: true });
|
|
131
131
|
return entry;
|
|
132
132
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
133
133
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -141,7 +141,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
141
141
|
next.delete(origin);
|
|
142
142
|
return next;
|
|
143
143
|
});
|
|
144
|
-
yield* bus.publish(
|
|
144
|
+
yield* bus.publish(Event13.Updated, {}, { global: true });
|
|
145
145
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
146
146
|
resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
|
|
147
147
|
const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
|
|
@@ -154,6 +154,6 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
154
154
|
})
|
|
155
155
|
});
|
|
156
156
|
}));
|
|
157
|
-
var
|
|
157
|
+
var node72 = makeGlobalNode({ service: Service71, layer, deps: [httpClient, node73, node95] });
|
|
158
158
|
|
|
159
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
159
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service71, Event13, inspect2, resolve5, node72, exports_wellknown };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-g7x9jesh.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin30
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai/effect";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin30 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin30, exports_plan };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
policy3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-2fc7eemy.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionEvent2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-ec1grn59.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make19,
|
|
17
17
|
policy: () => policy2
|
|
18
18
|
});
|
|
19
19
|
import { isRetryable as isRetryable2 } from "@opencode/ai/effect";
|
|
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
39
39
|
return { retry: true, attempt: next.attempt, delay: normalized };
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
|
-
var
|
|
42
|
+
var make19 = (bus, sessionID) => Effect.gen(function* () {
|
|
43
43
|
const decide = yield* policy2(sessionID);
|
|
44
44
|
const wait = (input) => Effect.gen(function* () {
|
|
45
45
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -56,4 +56,4 @@ var make20 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
56
56
|
return { decide, wait };
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export { isRetryable2, policy2,
|
|
59
|
+
export { isRetryable2, policy2, make19, exports_retry };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./agent-b2zf48kj.js";
|
|
4
4
|
import {
|
|
5
5
|
resolver2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-gk9gzhj1.js";
|
|
7
7
|
import {
|
|
8
8
|
Content2,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
Event4,
|
|
10
|
+
ID6,
|
|
11
|
+
Info6,
|
|
12
12
|
ProviderID2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service17
|
|
14
|
+
} from "./agent-2crbja0r.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./agent-mm06edep.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./agent-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/tool/plugin/artifact.ts
|
|
23
23
|
var exports_artifact = {};
|
|
@@ -25,7 +25,7 @@ __export(exports_artifact, {
|
|
|
25
25
|
ArtifactTools: () => exports_artifact,
|
|
26
26
|
CreateToolInput: () => CreateToolInput2,
|
|
27
27
|
DeleteToolInput: () => DeleteToolInput2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin9,
|
|
29
29
|
ReadToolInput: () => ReadToolInput2,
|
|
30
30
|
UpdateToolInput: () => UpdateToolInput2
|
|
31
31
|
});
|
|
@@ -45,10 +45,10 @@ var CreateToolInput2 = Schema.Struct({
|
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
var ReadToolInput2 = Schema.Struct({
|
|
48
|
-
id:
|
|
48
|
+
id: ID6.annotate({ description: "Artifact ID (art_...) to read." })
|
|
49
49
|
});
|
|
50
50
|
var UpdateToolInput2 = Schema.Struct({
|
|
51
|
-
id:
|
|
51
|
+
id: ID6.annotate({ description: "Artifact ID (art_...) to update." }),
|
|
52
52
|
title: Schema.String.pipe(optional).annotate({ description: "Updated title, or omit to keep the current title." }),
|
|
53
53
|
files: Schema.Record(Schema.String, Schema.String).annotate({
|
|
54
54
|
description: "Replacement UTF-8 file map keyed by relative path."
|
|
@@ -56,24 +56,24 @@ var UpdateToolInput2 = Schema.Struct({
|
|
|
56
56
|
entry: Schema.String.pipe(optional).annotate({ description: "Updated entry file path." })
|
|
57
57
|
});
|
|
58
58
|
var DeleteToolInput2 = Schema.Struct({
|
|
59
|
-
id:
|
|
59
|
+
id: ID6.annotate({ description: "Artifact ID (art_...) to delete." })
|
|
60
60
|
});
|
|
61
61
|
var DeleteToolOutput = Schema.Struct({
|
|
62
|
-
id:
|
|
62
|
+
id: ID6,
|
|
63
63
|
deleted: Schema.Boolean
|
|
64
64
|
});
|
|
65
|
-
var
|
|
65
|
+
var Plugin9 = {
|
|
66
66
|
id: "opencode.tool.artifact",
|
|
67
67
|
effect: Effect.fn("ArtifactTools.Plugin")(function* (ctx) {
|
|
68
|
-
const config = yield*
|
|
69
|
-
const artifacts = yield*
|
|
68
|
+
const config = yield* Service69;
|
|
69
|
+
const artifacts = yield* Service17;
|
|
70
70
|
const promptSnapshot = { text: yield* renderCreateDescription(artifacts) };
|
|
71
71
|
const refreshTools = Effect.gen(function* () {
|
|
72
72
|
promptSnapshot.text = yield* renderCreateDescription(artifacts);
|
|
73
73
|
yield* ctx.tool.reload();
|
|
74
74
|
});
|
|
75
75
|
const loaded = yield* observe2(config, ctx.event, refreshTools);
|
|
76
|
-
yield* ctx.event.subscribe({ types: [
|
|
76
|
+
yield* ctx.event.subscribe({ types: [Event4.Updated.type] }).pipe(Stream.runForEach(() => refreshTools), Effect.forkScoped({ startImmediately: true }));
|
|
77
77
|
const flags = yield* resolver2;
|
|
78
78
|
const enabled = () => flags(loaded.entries).artifacts.enabled;
|
|
79
79
|
const failure = (error) => new ToolFailure({ message: error.message, error });
|
|
@@ -84,7 +84,7 @@ var Plugin12 = {
|
|
|
84
84
|
name: "artifact_create",
|
|
85
85
|
description: promptSnapshot.text,
|
|
86
86
|
input: CreateToolInput2,
|
|
87
|
-
output:
|
|
87
|
+
output: Info6,
|
|
88
88
|
options: { namespace: "opencode", codemode: true },
|
|
89
89
|
execute: (input, context) => artifacts.create({
|
|
90
90
|
title: input.title,
|
|
@@ -112,7 +112,7 @@ var Plugin12 = {
|
|
|
112
112
|
name: "artifact_update",
|
|
113
113
|
description: "Replace an existing artifact's files at the same ID and URL.",
|
|
114
114
|
input: UpdateToolInput2,
|
|
115
|
-
output:
|
|
115
|
+
output: Info6,
|
|
116
116
|
options: { namespace: "opencode", codemode: true },
|
|
117
117
|
execute: (input, context) => artifacts.update(input.id, {
|
|
118
118
|
title: input.title,
|
|
@@ -152,4 +152,4 @@ function renderCreateDescription(artifacts) {
|
|
|
152
152
|
}));
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2,
|
|
155
|
+
export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2, Plugin9, exports_artifact };
|
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./agent-7e4rwvsh.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service65
|
|
7
|
+
} from "./agent-g7x9jesh.js";
|
|
8
8
|
import {
|
|
9
9
|
ID7,
|
|
10
10
|
Result2,
|
|
11
11
|
ProviderRequiredError2,
|
|
12
|
-
|
|
12
|
+
DisabledError4,
|
|
13
13
|
RequestError2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service24
|
|
15
|
+
} from "./agent-4pyebn2h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./agent-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/plugin/websearch.ts
|
|
21
21
|
var exports_websearch = {};
|
|
22
22
|
__export(exports_websearch, {
|
|
23
|
-
Input: () =>
|
|
23
|
+
Input: () => Input11,
|
|
24
24
|
NO_RESULTS: () => NO_RESULTS2,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin15,
|
|
26
26
|
WebSearchTool: () => exports_websearch,
|
|
27
|
-
description: () =>
|
|
28
|
-
name: () =>
|
|
27
|
+
description: () => description6,
|
|
28
|
+
name: () => name11
|
|
29
29
|
});
|
|
30
30
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
31
31
|
import { Effect, Schema, Semaphore } from "effect";
|
|
32
32
|
import { HttpClientError } from "effect/http";
|
|
33
|
-
var
|
|
33
|
+
var name11 = "websearch";
|
|
34
34
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
35
35
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
36
36
|
var httpErrors = new Map([
|
|
37
37
|
[429, "Web search rate limited (HTTP 429)"],
|
|
38
38
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
39
39
|
]);
|
|
40
|
-
var
|
|
40
|
+
var description6 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
41
41
|
|
|
42
42
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
43
|
-
var
|
|
43
|
+
var Input11 = Schema.Struct({
|
|
44
44
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
45
45
|
});
|
|
46
46
|
var Output = Schema.Struct({
|
|
47
47
|
provider: ID7,
|
|
48
48
|
results: Schema.Array(Result2)
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin15 = {
|
|
51
51
|
id: "opencode.tool.websearch",
|
|
52
52
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const websearch = yield*
|
|
53
|
+
const permission = yield* Service65;
|
|
54
|
+
const forms = yield* Service83;
|
|
55
|
+
const websearch = yield* Service24;
|
|
56
56
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
57
|
-
name:
|
|
57
|
+
name: name11,
|
|
58
58
|
options: { codemode: false },
|
|
59
|
-
description:
|
|
60
|
-
input:
|
|
59
|
+
description: description6,
|
|
60
|
+
input: Input11,
|
|
61
61
|
output: Output,
|
|
62
62
|
execute: (input, context) => Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name11,
|
|
65
65
|
resources: [input.query],
|
|
66
66
|
save: ["*"],
|
|
67
67
|
metadata: input,
|
|
@@ -108,7 +108,7 @@ var Plugin11 = {
|
|
|
108
108
|
return yield* Effect.fail(new Error("Web search cancelled"));
|
|
109
109
|
if (response.answer.choice === "disable") {
|
|
110
110
|
yield* websearch.select(false);
|
|
111
|
-
return yield* new
|
|
111
|
+
return yield* new DisabledError4;
|
|
112
112
|
}
|
|
113
113
|
const selection = response.answer.choice === "choose" ? yield* forms.ask({
|
|
114
114
|
sessionID: context.sessionID,
|
|
@@ -175,7 +175,7 @@ ${result.content}` : ""}`;
|
|
|
175
175
|
const hook = (event) => Effect.gen(function* () {
|
|
176
176
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
177
177
|
if (disabled || (yield* websearch.providers()).length === 0)
|
|
178
|
-
delete event.tools[
|
|
178
|
+
delete event.tools[name11];
|
|
179
179
|
});
|
|
180
180
|
yield* ctx.session.hook("context", hook);
|
|
181
181
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -183,4 +183,4 @@ ${result.content}` : ""}`;
|
|
|
183
183
|
})
|
|
184
184
|
};
|
|
185
185
|
|
|
186
|
-
export {
|
|
186
|
+
export { name11, NO_RESULTS2, description6, Input11, Plugin15, exports_websearch };
|