@opencode/core 0.0.0-dev-440 → 0.0.0-dev-442
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 +7 -7
- package/dist/artifact.js +238 -238
- package/dist/bus.js +84 -84
- package/dist/chunks/{credential-19p5xjwc.js → repository-cache-031xjkpy.js} +7 -7
- package/dist/chunks/{credential-034tev2y.js → repository-cache-034tev2y.js} +2 -2
- package/dist/chunks/{credential-e3jvfeqx.js → repository-cache-0bx5gdyx.js} +18 -18
- package/dist/chunks/{credential-023nvwqk.js → repository-cache-0fn91hv4.js} +17 -17
- package/dist/chunks/{credential-yat16qzy.js → repository-cache-0gyzmnp3.js} +5 -5
- package/dist/chunks/{credential-p0mq38kj.js → repository-cache-0hgar71m.js} +18 -18
- package/dist/chunks/{credential-m6ag9dsn.js → repository-cache-0j3vgrzm.js} +3 -3
- package/dist/chunks/{credential-0j7gp832.js → repository-cache-0j7gp832.js} +1 -1
- package/dist/chunks/{credential-n5tb0w6a.js → repository-cache-0jk5z70p.js} +21 -21
- package/dist/chunks/{credential-0ma9gw4f.js → repository-cache-0ma9gw4f.js} +2 -2
- package/dist/chunks/{credential-1azfndzx.js → repository-cache-0mfja933.js} +43 -43
- package/dist/chunks/{credential-4rpq072w.js → repository-cache-0x0dw6ca.js} +16 -16
- package/dist/chunks/{credential-be5x54am.js → repository-cache-11zs7ceg.js} +39 -39
- package/dist/chunks/{credential-jbd6ysar.js → repository-cache-12fg3f5q.js} +11 -11
- package/dist/chunks/{credential-mxrcd4ea.js → repository-cache-175211nj.js} +23 -23
- package/dist/chunks/{credential-4ynycy6e.js → repository-cache-1ap8nk4y.js} +27 -27
- package/dist/chunks/{credential-1aqsckx4.js → repository-cache-1aqsckx4.js} +1 -1
- package/dist/chunks/{credential-xc82a5av.js → repository-cache-1atc1ew8.js} +30 -30
- package/dist/chunks/{credential-1ep2p91f.js → repository-cache-1ep2p91f.js} +2 -2
- package/dist/chunks/{credential-w9yyanwy.js → repository-cache-1pk9kqsa.js} +12 -12
- package/dist/chunks/{credential-ej6gjfmv.js → repository-cache-1sg5dvqw.js} +5 -5
- package/dist/chunks/{credential-1x2knyw4.js → repository-cache-1x2knyw4.js} +1 -1
- package/dist/chunks/{credential-swfxkme0.js → repository-cache-1xj78a1d.js} +38 -38
- package/dist/chunks/{credential-1yq9hg58.js → repository-cache-1yq9hg58.js} +1 -1
- package/dist/chunks/{credential-s1j96313.js → repository-cache-21evxy92.js} +9 -9
- package/dist/chunks/{credential-674ga3rr.js → repository-cache-22hcmjv3.js} +5 -5
- package/dist/chunks/{credential-rnajc8bk.js → repository-cache-289tt5w7.js} +8 -8
- package/dist/chunks/{credential-eavcrtrz.js → repository-cache-2c6sxtb9.js} +2 -2
- package/dist/chunks/{credential-dwesyd43.js → repository-cache-2gw5j43h.js} +7 -7
- package/dist/chunks/{credential-antn5dqw.js → repository-cache-2jf9w73g.js} +12 -12
- package/dist/chunks/{credential-ac4f0h5j.js → repository-cache-2p2ngww5.js} +11 -11
- package/dist/chunks/{credential-g97x0sja.js → repository-cache-2sqajb4m.js} +33 -33
- package/dist/chunks/{credential-7zqjbnnc.js → repository-cache-35edbg34.js} +30 -30
- package/dist/chunks/{credential-vnjc296t.js → repository-cache-3beq3wdw.js} +3 -3
- package/dist/chunks/{credential-0w6qp7h5.js → repository-cache-3dbnmnyb.js} +189 -189
- package/dist/chunks/{credential-c2gy53he.js → repository-cache-3dempbt2.js} +8 -8
- package/dist/chunks/{credential-bgj7ee9g.js → repository-cache-3e73c9p6.js} +10 -10
- package/dist/chunks/{credential-0hf4cagc.js → repository-cache-3fsaky9c.js} +13 -13
- package/dist/chunks/{credential-9ddp5dr3.js → repository-cache-3g08hg2f.js} +29 -29
- package/dist/chunks/{credential-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-2b965k57.js → repository-cache-3hns5yw3.js} +35 -35
- package/dist/chunks/{credential-tmc7xdjs.js → repository-cache-3nnrz6f6.js} +4 -4
- package/dist/chunks/{credential-p7bj74gm.js → repository-cache-3s9d6j15.js} +9 -9
- package/dist/chunks/{credential-vscmkzq6.js → repository-cache-3xwqryxq.js} +23 -23
- package/dist/chunks/{credential-40y6dtc2.js → repository-cache-40y6dtc2.js} +1 -1
- package/dist/chunks/{credential-8vef35hz.js → repository-cache-49fetqk2.js} +28 -28
- package/dist/chunks/{credential-ttt0sw5s.js → repository-cache-49rfwdh8.js} +43 -43
- package/dist/chunks/{credential-92azg307.js → repository-cache-4dg124c5.js} +5 -5
- package/dist/chunks/{credential-4dx1dgte.js → repository-cache-4dx1dgte.js} +1 -1
- package/dist/chunks/{credential-4f25tdd0.js → repository-cache-4f25tdd0.js} +1 -1
- package/dist/chunks/{credential-8gbex8df.js → repository-cache-4fhmhmr6.js} +33 -33
- package/dist/chunks/{credential-y4n6pw34.js → repository-cache-4pw98qd4.js} +4 -4
- package/dist/chunks/{credential-4pyp9zr9.js → repository-cache-4pyp9zr9.js} +1 -1
- package/dist/chunks/{credential-2sde65nz.js → repository-cache-4rx7jpwk.js} +25 -25
- package/dist/chunks/{credential-1v2g13eq.js → repository-cache-4tnarq1t.js} +6 -6
- package/dist/chunks/{credential-4v008n1t.js → repository-cache-4v008n1t.js} +1 -1
- package/dist/chunks/{credential-qjbd3j2w.js → repository-cache-4w17k448.js} +9 -9
- package/dist/chunks/{credential-g9evjed3.js → repository-cache-4x5tmy1n.js} +9 -9
- package/dist/chunks/{credential-evcaw1tw.js → repository-cache-52gwzjjv.js} +10 -10
- package/dist/chunks/{credential-dympkdwj.js → repository-cache-58jqnd8c.js} +12 -12
- package/dist/chunks/{credential-a1mjy9af.js → repository-cache-5ajs5fv3.js} +23 -23
- package/dist/chunks/{credential-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{credential-b6vsg801.js → repository-cache-5nnwax6m.js} +5 -5
- package/dist/chunks/{credential-ngncrd5j.js → repository-cache-5wzzagzn.js} +38 -38
- package/dist/chunks/{credential-6sm2h9yc.js → repository-cache-602q2zhr.js} +7 -7
- package/dist/chunks/{credential-1s4ss2eq.js → repository-cache-67xca3db.js} +7 -7
- package/dist/chunks/{credential-f60az767.js → repository-cache-68hqcxr6.js} +11 -11
- package/dist/chunks/{credential-6jpk2rzp.js → repository-cache-6cbzbqkd.js} +11 -11
- package/dist/chunks/{credential-a3bpf18m.js → repository-cache-6f6jm3cp.js} +11 -11
- package/dist/chunks/{credential-2jft9886.js → repository-cache-6qk1bgz2.js} +11 -11
- package/dist/chunks/{credential-am9s7arn.js → repository-cache-6wjqvx4f.js} +15 -15
- package/dist/chunks/{credential-y5mbny8z.js → repository-cache-6x15x9ww.js} +5 -5
- package/dist/chunks/{credential-djadtdmr.js → repository-cache-6x9fp5f4.js} +8 -8
- package/dist/chunks/{credential-76cb1hcw.js → repository-cache-76cb1hcw.js} +1 -1
- package/dist/chunks/{credential-80mg3ag8.js → repository-cache-775hqbnd.js} +3 -3
- package/dist/chunks/{credential-scmk72rv.js → repository-cache-78p2h4ex.js} +5 -5
- package/dist/chunks/{credential-whcwv2wj.js → repository-cache-7amawddc.js} +12 -12
- package/dist/chunks/{credential-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-7kr66rt3.js → repository-cache-7kr66rt3.js} +1 -1
- package/dist/chunks/{credential-x4mcewfn.js → repository-cache-7nqkf5r1.js} +4 -4
- package/dist/chunks/{credential-ewzrn4pk.js → repository-cache-7rrfv9s3.js} +22 -22
- package/dist/chunks/{credential-d74p1t7f.js → repository-cache-7vgs2abw.js} +16 -16
- package/dist/chunks/{credential-7w2ypzdf.js → repository-cache-7w2ypzdf.js} +1 -1
- package/dist/chunks/{credential-7weczvnd.js → repository-cache-7weczvnd.js} +1 -1
- package/dist/chunks/{credential-ha3py02x.js → repository-cache-82q75xp6.js} +9 -9
- package/dist/chunks/{credential-89287pr7.js → repository-cache-89287pr7.js} +1 -1
- package/dist/chunks/{credential-ejqb9pcv.js → repository-cache-89hwzfe6.js} +23 -23
- package/dist/chunks/{credential-rwxcafen.js → repository-cache-8azmfwdk.js} +26 -26
- package/dist/chunks/{credential-8b3vzgkx.js → repository-cache-8b3vzgkx.js} +1 -1
- package/dist/chunks/{credential-1sqtrxvx.js → repository-cache-8et7qpna.js} +9 -9
- package/dist/chunks/{credential-pv0nd5qx.js → repository-cache-8nf6shhp.js} +6 -6
- package/dist/chunks/{credential-r17fbvme.js → repository-cache-8t99kr38.js} +4 -4
- package/dist/chunks/{credential-8wtp7s3z.js → repository-cache-8wtp7s3z.js} +1 -1
- package/dist/chunks/{credential-8xz27cp9.js → repository-cache-8xz27cp9.js} +1 -1
- package/dist/chunks/{credential-02zxj6wk.js → repository-cache-9010571t.js} +7 -7
- package/dist/chunks/{credential-90ct6wq4.js → repository-cache-90ct6wq4.js} +1 -1
- package/dist/chunks/{credential-90zstvax.js → repository-cache-90zstvax.js} +1 -1
- package/dist/chunks/{credential-94s5f2xb.js → repository-cache-94s5f2xb.js} +1 -1
- package/dist/chunks/{credential-pvyya8s1.js → repository-cache-96137s5q.js} +3 -3
- package/dist/chunks/{credential-fdj685ma.js → repository-cache-9987b4hv.js} +31 -31
- package/dist/chunks/{credential-7gn6xfwb.js → repository-cache-9ha9v93m.js} +33 -33
- package/dist/chunks/{credential-anrbbp48.js → repository-cache-9mm8k45w.js} +14 -14
- package/dist/chunks/{credential-5x3qj3k2.js → repository-cache-9y98b3v5.js} +4 -4
- package/dist/chunks/{credential-kh1mqnxp.js → repository-cache-a0fq0pbv.js} +9 -9
- package/dist/chunks/{credential-q7j7x8cr.js → repository-cache-a52zaz86.js} +29 -29
- package/dist/chunks/{credential-1807dsp8.js → repository-cache-a5e3yv5v.js} +27 -27
- package/dist/chunks/{credential-9mysrfmz.js → repository-cache-a8vh61nm.js} +3 -3
- package/dist/chunks/{credential-2p60zmnr.js → repository-cache-ad21tgm2.js} +4 -4
- package/dist/chunks/{credential-1w279wcd.js → repository-cache-ad76pa0e.js} +5 -5
- package/dist/chunks/{credential-1g03hjey.js → repository-cache-ag06drps.js} +8 -8
- package/dist/chunks/{credential-sa524ww7.js → repository-cache-anaenpns.js} +17 -17
- package/dist/chunks/repository-cache-awcrk201.js +261 -0
- package/dist/chunks/{credential-m2ggj3hd.js → repository-cache-awzfe97c.js} +5 -5
- package/dist/chunks/{credential-r29jfrfx.js → repository-cache-ax1ejevv.js} +26 -26
- package/dist/chunks/{credential-ayjs7tqn.js → repository-cache-ayjs7tqn.js} +2 -2
- package/dist/chunks/{credential-4d2dtj2f.js → repository-cache-b2armg7w.js} +4 -4
- package/dist/chunks/{credential-kh40a0dd.js → repository-cache-b9tgh6dx.js} +40 -40
- package/dist/chunks/{credential-x3h35t4b.js → repository-cache-bbn0gsv3.js} +25 -25
- package/dist/chunks/{credential-dxjfxt9f.js → repository-cache-bcwyzmh3.js} +11 -11
- package/dist/chunks/{credential-2cgxx6xs.js → repository-cache-be5kz4xp.js} +24 -24
- package/dist/chunks/{credential-jkdcm5hg.js → repository-cache-bhfd478d.js} +4 -4
- package/dist/chunks/{credential-75p9e880.js → repository-cache-bjnwfd5d.js} +43 -43
- package/dist/chunks/{credential-xd9cc171.js → repository-cache-bstexjd6.js} +5 -5
- package/dist/chunks/{credential-8pbz1p01.js → repository-cache-bz6hdee9.js} +9 -9
- package/dist/chunks/{credential-6ma7pn4v.js → repository-cache-c32j6rj9.js} +8 -8
- package/dist/chunks/{credential-p016d43z.js → repository-cache-c3ce7cxf.js} +3 -3
- package/dist/chunks/{credential-vq1pp7k4.js → repository-cache-c3drhxjj.js} +49 -49
- package/dist/chunks/{credential-8jzajkp2.js → repository-cache-cawz4cxe.js} +19 -19
- package/dist/chunks/{credential-ft1q33fh.js → repository-cache-cb6pr36r.js} +25 -25
- package/dist/chunks/{credential-r2jsee34.js → repository-cache-cf3f13z6.js} +8 -8
- package/dist/chunks/{credential-hdvssxsh.js → repository-cache-crfddmzc.js} +8 -8
- package/dist/chunks/{credential-cwrgdav8.js → repository-cache-cwrgdav8.js} +2 -2
- package/dist/chunks/{credential-5c8yxnwg.js → repository-cache-cx61cqrc.js} +12 -12
- package/dist/chunks/{credential-s5hacgak.js → repository-cache-cxz2fhw5.js} +3 -3
- package/dist/chunks/{credential-d4v9tmah.js → repository-cache-d4v9tmah.js} +2 -2
- package/dist/chunks/{credential-7xb4dh5t.js → repository-cache-d5rganww.js} +20 -20
- package/dist/chunks/{credential-mphhnpw2.js → repository-cache-dgvyj81v.js} +23 -23
- package/dist/chunks/{credential-7fgkgv7w.js → repository-cache-dqhrmf7j.js} +11 -11
- package/dist/chunks/{credential-dt77769w.js → repository-cache-dt77769w.js} +1 -1
- package/dist/chunks/{credential-9sy1j1hj.js → repository-cache-dv96216k.js} +4 -4
- package/dist/chunks/{credential-j8w65cfp.js → repository-cache-e049sp69.js} +30 -30
- package/dist/chunks/{credential-cmnsegyx.js → repository-cache-e1bmcdag.js} +4 -4
- package/dist/chunks/{credential-6qx77srf.js → repository-cache-e2pvbaw5.js} +5 -5
- package/dist/chunks/{credential-qp5y9r9h.js → repository-cache-e32ybkv4.js} +24 -24
- package/dist/chunks/{credential-bhzn4c9p.js → repository-cache-e5jpawtk.js} +6 -6
- package/dist/chunks/{credential-e834z07m.js → repository-cache-e834z07m.js} +1 -1
- package/dist/chunks/{credential-k2k99vtp.js → repository-cache-eccy49gq.js} +19 -19
- package/dist/chunks/{credential-xeqdk4qb.js → repository-cache-ega415az.js} +6 -6
- package/dist/chunks/{credential-b1sz44pf.js → repository-cache-ekyq4vzh.js} +22 -22
- package/dist/chunks/{credential-4k13q7r5.js → repository-cache-epxy24xv.js} +2 -2
- package/dist/chunks/{credential-eqw4pqj1.js → repository-cache-eqw4pqj1.js} +2 -2
- package/dist/chunks/{credential-m4yf5w44.js → repository-cache-est5w5t7.js} +4 -4
- package/dist/chunks/{credential-wt77bkrg.js → repository-cache-eyx805n4.js} +3 -3
- package/dist/chunks/{credential-g6feyxej.js → repository-cache-f59g66b7.js} +26 -26
- package/dist/chunks/repository-cache-f8ma18fn.js +18 -0
- package/dist/chunks/{credential-fffv3p7h.js → repository-cache-fffv3p7h.js} +1 -1
- package/dist/chunks/{credential-c2gmg5r9.js → repository-cache-fg0mp2nh.js} +9 -9
- package/dist/chunks/{credential-fg9p65nk.js → repository-cache-fg9p65nk.js} +2 -2
- package/dist/chunks/{credential-xefjft3w.js → repository-cache-fhczekzs.js} +17 -17
- package/dist/chunks/{credential-vy5hdwev.js → repository-cache-fn5v6rn7.js} +51 -51
- package/dist/chunks/{credential-n57fmz5x.js → repository-cache-fttgx5bx.js} +1 -1
- package/dist/chunks/{credential-9t48bcwe.js → repository-cache-fxq8aqd2.js} +8 -8
- package/dist/chunks/{credential-cyw3yyvp.js → repository-cache-g1kn1j67.js} +11 -11
- package/dist/chunks/{credential-rw7kb0s1.js → repository-cache-g8tbqp6f.js} +22 -22
- package/dist/chunks/{credential-gbjdnr5j.js → repository-cache-gbjdnr5j.js} +2 -2
- package/dist/chunks/{credential-em8kb5ae.js → repository-cache-gbkhbwft.js} +17 -17
- package/dist/chunks/{credential-3rd8dxvb.js → repository-cache-ghs03ebf.js} +35 -35
- package/dist/chunks/{credential-az8nn2cm.js → repository-cache-gkkfeabc.js} +45 -45
- package/dist/chunks/{credential-xa0ye937.js → repository-cache-gtwncx8g.js} +28 -28
- package/dist/chunks/{credential-ranh0xe7.js → repository-cache-gyg1jafw.js} +4 -4
- package/dist/chunks/{credential-r4ggfez7.js → repository-cache-h060p2hk.js} +46 -46
- package/dist/chunks/repository-cache-h2qmm28k.js +555 -0
- package/dist/chunks/{credential-fn31av2s.js → repository-cache-h4681ke1.js} +6 -6
- package/dist/chunks/{credential-fvmh63n1.js → repository-cache-hdcneay5.js} +33 -33
- package/dist/chunks/{credential-qbnwd3ab.js → repository-cache-hfksw2yx.js} +14 -14
- package/dist/chunks/{credential-d5czvfvx.js → repository-cache-hjab8tmw.js} +13 -13
- package/dist/chunks/{credential-dj61za7g.js → repository-cache-hnqwc8w0.js} +49 -49
- package/dist/chunks/{credential-hpg1pkwy.js → repository-cache-hpg1pkwy.js} +1 -1
- package/dist/chunks/{credential-hsnq1va6.js → repository-cache-hsnq1va6.js} +2 -2
- package/dist/chunks/{credential-ee8y3tft.js → repository-cache-hv10taw4.js} +3 -3
- package/dist/chunks/{credential-kmzgegqq.js → repository-cache-hy8c1z76.js} +8 -8
- package/dist/chunks/{credential-bkqbe210.js → repository-cache-j3qkssg1.js} +20 -20
- package/dist/chunks/{credential-ze75qvmd.js → repository-cache-j9nxzz3g.js} +3 -3
- package/dist/chunks/{credential-7jen3kst.js → repository-cache-jd51mnhp.js} +2 -2
- package/dist/chunks/{credential-ssx19tm0.js → repository-cache-jfphy7h7.js} +13 -13
- package/dist/chunks/{credential-h5n1pq2t.js → repository-cache-jh6r09h5.js} +8 -8
- package/dist/chunks/{credential-tr8x705m.js → repository-cache-jht64jd1.js} +4 -4
- package/dist/chunks/{credential-99t8m5w8.js → repository-cache-jkjd442p.js} +14 -14
- package/dist/chunks/{credential-k72jg3zx.js → repository-cache-jm6whcwz.js} +39 -39
- package/dist/chunks/{credential-6rrh04z4.js → repository-cache-jmg7y0j6.js} +11 -11
- package/dist/chunks/{credential-zf9yn9gx.js → repository-cache-jqsw4n81.js} +5 -5
- package/dist/chunks/{credential-jtnps1zs.js → repository-cache-jtnps1zs.js} +2 -2
- package/dist/chunks/{credential-seah75wp.js → repository-cache-jvkzgxpb.js} +5 -5
- package/dist/chunks/{credential-8k4b12rs.js → repository-cache-k7j4356s.js} +6 -6
- package/dist/chunks/{credential-fnjeefw9.js → repository-cache-ke9ajvg5.js} +83 -83
- package/dist/chunks/{credential-qfz6bxfd.js → repository-cache-kj9n5bvh.js} +4 -4
- package/dist/chunks/{credential-kt3bjfbg.js → repository-cache-kt3bjfbg.js} +1 -1
- package/dist/chunks/{credential-5hsc5cq3.js → repository-cache-kwzdg89x.js} +20 -20
- package/dist/chunks/{credential-kzczzf4v.js → repository-cache-kzczzf4v.js} +1 -1
- package/dist/chunks/{credential-j99dhamb.js → repository-cache-m15ha2ry.js} +6 -6
- package/dist/chunks/{credential-m1714858.js → repository-cache-m1714858.js} +1 -1
- package/dist/chunks/{credential-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-hspeb67p.js → repository-cache-mavfbhde.js} +1 -1
- package/dist/chunks/{credential-mb7mbhnz.js → repository-cache-mb7mbhnz.js} +3 -3
- package/dist/chunks/{credential-szsxcm5m.js → repository-cache-men5760m.js} +6 -6
- package/dist/chunks/{credential-0cd27phy.js → repository-cache-mfp0246b.js} +16 -16
- package/dist/chunks/{credential-8meyh1pg.js → repository-cache-msw5c1mm.js} +12 -12
- package/dist/chunks/{credential-jyetf1bz.js → repository-cache-mvb2pkyv.js} +8 -8
- package/dist/chunks/{credential-824e4kf8.js → repository-cache-mwh0kypr.js} +27 -27
- package/dist/chunks/{credential-r3ph6arw.js → repository-cache-mza2f58d.js} +29 -29
- package/dist/chunks/{credential-tacgym3m.js → repository-cache-n4de5rt9.js} +12 -12
- package/dist/chunks/{credential-szwm4crx.js → repository-cache-n4z1q12f.js} +7 -7
- package/dist/chunks/{credential-1gg4wy1w.js → repository-cache-n5aej1f0.js} +23 -23
- package/dist/chunks/{credential-wnwnevvk.js → repository-cache-n83rrxve.js} +11 -11
- package/dist/chunks/{credential-y4f0c2re.js → repository-cache-nbc9912s.js} +12 -12
- package/dist/chunks/{credential-s8ekargw.js → repository-cache-nbvtxs6e.js} +59 -59
- package/dist/chunks/{credential-h5chy42v.js → repository-cache-nt907s04.js} +3 -3
- package/dist/chunks/{credential-z9z8sek5.js → repository-cache-nwadgmv1.js} +34 -34
- package/dist/chunks/{credential-ayk04pq8.js → repository-cache-nzd0ryw2.js} +12 -12
- package/dist/chunks/{credential-phw4vd11.js → repository-cache-p7xbj0p1.js} +37 -37
- package/dist/chunks/{credential-0pc0bm79.js → repository-cache-p8x08v0y.js} +30 -30
- package/dist/chunks/{credential-4gmbvmjy.js → repository-cache-p9j2z5m0.js} +4 -4
- package/dist/chunks/{credential-qqs2nqvp.js → repository-cache-paq6k2z6.js} +33 -33
- package/dist/chunks/{credential-e0wkpc47.js → repository-cache-pc7cxy0a.js} +21 -21
- package/dist/chunks/{credential-jng43nj6.js → repository-cache-pd4m7bts.js} +15 -15
- package/dist/chunks/{credential-337s3mkg.js → repository-cache-pefks0an.js} +4 -4
- package/dist/chunks/{credential-b57jw8vp.js → repository-cache-pfv09rma.js} +15 -15
- package/dist/chunks/{credential-rjhttpe5.js → repository-cache-pfwm222d.js} +21 -21
- package/dist/chunks/{credential-3a2tv2dp.js → repository-cache-pjexw8hq.js} +9 -9
- package/dist/chunks/{credential-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{credential-rwtnbzk6.js → repository-cache-prdpr5kc.js} +18 -18
- package/dist/chunks/{credential-y8y1bxj1.js → repository-cache-pwpvfwx2.js} +20 -20
- package/dist/chunks/{credential-px7qpgcn.js → repository-cache-px7qpgcn.js} +1 -1
- package/dist/chunks/{credential-v2gr3mjd.js → repository-cache-pzqn12hg.js} +15 -15
- package/dist/chunks/{credential-q61v7csp.js → repository-cache-pzx81v4b.js} +14 -14
- package/dist/chunks/{credential-56b8kdxz.js → repository-cache-q42sg809.js} +1 -1
- package/dist/chunks/{credential-tyyk6cf0.js → repository-cache-q4m8323c.js} +3 -3
- package/dist/chunks/{credential-ka01146j.js → repository-cache-q85rya1m.js} +6 -6
- package/dist/chunks/{credential-7266xzm3.js → repository-cache-qf05fjbm.js} +9 -9
- package/dist/chunks/{credential-9ksc2509.js → repository-cache-qk4mrd8m.js} +4 -4
- package/dist/chunks/{credential-kzdam8c6.js → repository-cache-qk5sk9d1.js} +7 -7
- package/dist/chunks/{credential-qp7r0hxv.js → repository-cache-qp7r0hxv.js} +1 -1
- package/dist/chunks/{credential-qqvy8y24.js → repository-cache-qqvy8y24.js} +1 -1
- package/dist/chunks/{credential-qsdghx1p.js → repository-cache-qsdghx1p.js} +1 -1
- package/dist/chunks/{credential-3kamteva.js → repository-cache-qsv15wez.js} +2 -2
- package/dist/chunks/{credential-6dv40ykj.js → repository-cache-qt2z3a0z.js} +7 -7
- package/dist/chunks/{credential-eq629b0c.js → repository-cache-qtwp1x96.js} +52 -52
- package/dist/chunks/{credential-5xxdxmy0.js → repository-cache-qxga34ac.js} +21 -21
- package/dist/chunks/{credential-bxs7d6jn.js → repository-cache-qz95d27t.js} +6 -6
- package/dist/chunks/{credential-rb9dy4dg.js → repository-cache-rb9dy4dg.js} +1 -1
- package/dist/chunks/{credential-jdr4fwt2.js → repository-cache-rbsynrdk.js} +14 -14
- package/dist/chunks/{credential-qw2t3dzn.js → repository-cache-rmv7fhs4.js} +6 -6
- package/dist/chunks/{credential-anra0p96.js → repository-cache-rnsjpp0v.js} +15 -15
- package/dist/chunks/{credential-rt5dr6hb.js → repository-cache-rt5dr6hb.js} +1 -1
- package/dist/chunks/{credential-w9c657zx.js → repository-cache-rwf8drt1.js} +19 -19
- package/dist/chunks/{credential-t9ry3j8e.js → repository-cache-rx1f5s7v.js} +23 -23
- package/dist/chunks/{credential-by1wdcrx.js → repository-cache-rz8thg42.js} +12 -12
- package/dist/chunks/{credential-zz2dh9ba.js → repository-cache-s42kcc5g.js} +11 -11
- package/dist/chunks/{credential-sa3fpqfw.js → repository-cache-sa3fpqfw.js} +2 -2
- package/dist/chunks/{credential-sbya78hr.js → repository-cache-sbya78hr.js} +1 -1
- package/dist/chunks/{credential-2cdjxzfg.js → repository-cache-sbz71ybr.js} +3 -3
- package/dist/chunks/{credential-ax3p9cj8.js → repository-cache-sm3wp3c9.js} +21 -21
- package/dist/chunks/{credential-qb88xens.js → repository-cache-sr4yt9k3.js} +80 -80
- package/dist/chunks/{credential-svcy3p9a.js → repository-cache-svcy3p9a.js} +1 -1
- package/dist/chunks/{credential-q6wfnrwb.js → repository-cache-t31x65z6.js} +25 -25
- package/dist/chunks/{credential-a69jesq0.js → repository-cache-t3zzabwd.js} +48 -48
- package/dist/chunks/{credential-b5e5t6g5.js → repository-cache-t4r86xne.js} +16 -16
- package/dist/chunks/{credential-jjvvtnfs.js → repository-cache-tb2mrvc9.js} +4 -4
- package/dist/chunks/{credential-tczq8hjw.js → repository-cache-tczq8hjw.js} +1 -1
- package/dist/chunks/{credential-gxs71cxp.js → repository-cache-tg7s7b5t.js} +4 -4
- package/dist/chunks/{credential-5ck8wbp5.js → repository-cache-tp6jxtjv.js} +25 -25
- package/dist/chunks/{credential-44pmzq9c.js → repository-cache-twhtcdx9.js} +4 -4
- package/dist/chunks/{credential-twssxy5n.js → repository-cache-twssxy5n.js} +2 -2
- package/dist/chunks/{credential-v1ajjavp.js → repository-cache-v1evv7rr.js} +8 -8
- package/dist/chunks/{credential-v2r1d0zg.js → repository-cache-v2r1d0zg.js} +1 -1
- package/dist/chunks/{credential-tq8789z1.js → repository-cache-v5bt1qpq.js} +17 -17
- package/dist/chunks/{credential-w0c4gfn5.js → repository-cache-vb8z5b0v.js} +6 -6
- package/dist/chunks/{credential-actsk8r4.js → repository-cache-ve6517wg.js} +12 -12
- package/dist/chunks/{credential-zvkp0bbe.js → repository-cache-vgt9qsck.js} +26 -26
- package/dist/chunks/{credential-vjf35v1f.js → repository-cache-vjf35v1f.js} +1 -1
- package/dist/chunks/{credential-8vvt2h5e.js → repository-cache-vk84a1qz.js} +23 -23
- package/dist/chunks/{credential-qbjr6sws.js → repository-cache-vn5mpp1y.js} +4 -4
- package/dist/chunks/{credential-w0wsems1.js → repository-cache-vpwbrwqk.js} +32 -32
- package/dist/chunks/{credential-bgm817xr.js → repository-cache-vrcsa8qx.js} +9 -9
- package/dist/chunks/{credential-qkc3z5ds.js → repository-cache-vsnnaxjq.js} +4 -4
- package/dist/chunks/{credential-4g3sdj5g.js → repository-cache-vt4r9rmy.js} +9 -9
- package/dist/chunks/{credential-6cp95503.js → repository-cache-vt801hez.js} +25 -25
- package/dist/chunks/{credential-01c9pvvk.js → repository-cache-vwj0z6sg.js} +23 -23
- package/dist/chunks/{credential-40za9wsf.js → repository-cache-w2eysc6j.js} +9 -9
- package/dist/chunks/{credential-ssvj0xeh.js → repository-cache-w3r8pvyd.js} +25 -25
- package/dist/chunks/{credential-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-2kg89srt.js → repository-cache-w79nt68w.js} +4 -4
- package/dist/chunks/{credential-wakvkjy4.js → repository-cache-wakvkjy4.js} +1 -1
- package/dist/chunks/{credential-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{credential-wegkxhrn.js → repository-cache-wegkxhrn.js} +2 -2
- package/dist/chunks/{credential-1j4b9qaz.js → repository-cache-wjbv9knt.js} +11 -11
- package/dist/chunks/{credential-wnhgecwx.js → repository-cache-wnhgecwx.js} +1 -1
- package/dist/chunks/{credential-4tsyh93y.js → repository-cache-wpfagg7q.js} +34 -34
- package/dist/chunks/{credential-fznmdakp.js → repository-cache-wr3re1en.js} +4 -4
- package/dist/chunks/{credential-srq31xex.js → repository-cache-wtr3736h.js} +15 -15
- package/dist/chunks/{credential-79k544d0.js → repository-cache-wvr8xscb.js} +7 -7
- package/dist/chunks/{credential-gcxw5f6n.js → repository-cache-wwy9zr36.js} +12 -12
- package/dist/chunks/{credential-hxnwr67p.js → repository-cache-x3h2bqkh.js} +32 -32
- package/dist/chunks/{credential-6ca2yr9t.js → repository-cache-x9v0acas.js} +14 -14
- package/dist/chunks/{credential-c6hxc7ey.js → repository-cache-xbnjv5gq.js} +20 -20
- package/dist/chunks/{credential-3m3k7x10.js → repository-cache-xh3hzwmr.js} +18 -18
- package/dist/chunks/{credential-yrysppdn.js → repository-cache-xhtv64v8.js} +8 -8
- package/dist/chunks/{credential-wws03c5r.js → repository-cache-xk2zn0cv.js} +4 -4
- package/dist/chunks/{credential-tx6f17ec.js → repository-cache-xkgrgrva.js} +45 -45
- package/dist/chunks/{credential-c6x7d2ts.js → repository-cache-xmx7xj34.js} +4 -4
- package/dist/chunks/{credential-zbwek976.js → repository-cache-xq55bs10.js} +83 -83
- package/dist/chunks/{credential-w2y97h05.js → repository-cache-xy38xmvm.js} +6 -6
- package/dist/chunks/{credential-kdf86tqh.js → repository-cache-xyxz2bdy.js} +3 -3
- package/dist/chunks/{credential-9d0t36fg.js → repository-cache-yav33qdh.js} +14 -14
- package/dist/chunks/{credential-yb20nhc3.js → repository-cache-yb20nhc3.js} +1 -1
- package/dist/chunks/{credential-rznd4jzm.js → repository-cache-ybvsasn0.js} +18 -18
- package/dist/chunks/{credential-q06khxq2.js → repository-cache-ydwj82v4.js} +4 -4
- package/dist/chunks/repository-cache-yk088mje.js +26 -0
- package/dist/chunks/{credential-yr705xyq.js → repository-cache-yr705xyq.js} +1 -1
- package/dist/chunks/{credential-07qsr1bt.js → repository-cache-yrsk760m.js} +30 -30
- package/dist/chunks/{credential-yvtc2x31.js → repository-cache-yvtc2x31.js} +1 -1
- package/dist/chunks/{credential-s1fvh49z.js → repository-cache-z75nd8wb.js} +8 -8
- package/dist/chunks/{credential-hv7fjhww.js → repository-cache-zcnch7vt.js} +11 -11
- package/dist/chunks/{credential-2n72c80z.js → repository-cache-zdnc43b0.js} +31 -31
- package/dist/chunks/{credential-tvhknhed.js → repository-cache-zernnfch.js} +15 -15
- package/dist/chunks/{credential-4y9m6sax.js → repository-cache-zewg1mz5.js} +27 -27
- package/dist/chunks/{credential-wzv51wvm.js → repository-cache-zez9874q.js} +5 -5
- package/dist/chunks/{credential-zm27gg57.js → repository-cache-zm27gg57.js} +2 -2
- package/dist/chunks/{credential-rs0v0xzj.js → repository-cache-zqbe7jzz.js} +7 -7
- package/dist/chunks/{credential-5m210rk4.js → repository-cache-zqbv3gar.js} +22 -22
- package/dist/chunks/{credential-rjeg9c4a.js → repository-cache-zqjd7nbm.js} +3 -3
- package/dist/chunks/{credential-j3eba6dw.js → repository-cache-zz1fbq3g.js} +32 -32
- package/dist/chunks/{credential-6mwdh84n.js → repository-cache-zzht5m2h.js} +23 -23
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +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 +132 -132
- package/dist/config/plugin/command.js +231 -231
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +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 +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +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 +129 -129
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -90
- 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 +62 -62
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +103 -103
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +425 -425
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- 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 +85 -85
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +245 -245
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +115 -115
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +421 -421
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +98 -98
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +176 -176
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +95 -95
- package/dist/location-services.js +418 -418
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +179 -179
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +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 +87 -87
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +147 -147
- 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 +87 -87
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +397 -397
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +127 -127
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +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 +143 -143
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
- 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 +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +137 -137
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +130 -130
- package/dist/plugin/provider/opencode.js +132 -132
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -129
- package/dist/plugin/provider/vllm.js +137 -137
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -212
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +405 -405
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +128 -128
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +247 -247
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +97 -97
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +198 -198
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +242 -242
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +198 -198
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +145 -145
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +141 -141
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +149 -149
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +237 -237
- package/dist/session/usage.js +1 -1
- package/dist/session.js +233 -233
- 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 +7 -7
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +152 -152
- package/dist/snapshot.js +104 -104
- 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 +178 -178
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +164 -164
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +239 -239
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +166 -166
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +169 -169
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +233 -233
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +166 -166
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +159 -159
- 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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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 +93 -93
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/credential-v8vhf2as.js +0 -18
- package/dist/chunks/credential-vc478rjh.js +0 -26
- package/dist/chunks/credential-vws8bw7f.js +0 -555
- package/dist/chunks/credential-w1qwn8n0.js +0 -261
- /package/dist/chunks/{credential-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1kah00gy.js → repository-cache-1kah00gy.js} +0 -0
- /package/dist/chunks/{credential-1pevy3nx.js → repository-cache-1pevy3nx.js} +0 -0
- /package/dist/chunks/{credential-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4qk9sjk2.js → repository-cache-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{credential-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{credential-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{credential-5w3e23ze.js → repository-cache-5w3e23ze.js} +0 -0
- /package/dist/chunks/{credential-6agm2x70.js → repository-cache-6agm2x70.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-7stb81gk.js → repository-cache-7stb81gk.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{credential-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{credential-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-beh6qq61.js → repository-cache-beh6qq61.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cqv5kn06.js → repository-cache-cqv5kn06.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{credential-ean2d8b5.js → repository-cache-ean2d8b5.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-fkpq3x5p.js → repository-cache-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{credential-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{credential-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jwr30sdr.js → repository-cache-jwr30sdr.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-m18g726c.js → repository-cache-m18g726c.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-nh4v3znn.js → repository-cache-nh4v3znn.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-p71gwv9c.js → repository-cache-p71gwv9c.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-syrav9an.js → repository-cache-syrav9an.js} +0 -0
- /package/dist/chunks/{credential-t03h4f5z.js → repository-cache-t03h4f5z.js} +0 -0
- /package/dist/chunks/{credential-ty7weeps.js → repository-cache-ty7weeps.js} +0 -0
- /package/dist/chunks/{credential-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
- /package/dist/chunks/{credential-vtarvj67.js → repository-cache-vtarvj67.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{credential-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./repository-cache-qxga34ac.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service14,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-hjab8tmw.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service13
|
|
11
|
+
} from "./repository-cache-68hqcxr6.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service71
|
|
14
|
+
} from "./repository-cache-zz1fbq3g.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service40
|
|
17
|
+
} from "./repository-cache-ekyq4vzh.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-cache-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input9,
|
|
29
|
+
Output: () => Output8,
|
|
30
|
+
Plugin: () => Plugin30,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name9,
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name9 = "write";
|
|
39
|
+
var Input9 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output8 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin30 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service40;
|
|
56
|
+
const fileMutation = yield* Service14;
|
|
57
|
+
const environment = yield* Service49;
|
|
58
|
+
const formatter = yield* Service13;
|
|
59
|
+
const permission = yield* Service71;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name9,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input9,
|
|
69
|
+
output: Output8,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name9, Input9, Output8, toModelContent5, Plugin30, exports_write };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-cache-w3r8pvyd.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
|
-
var
|
|
12
|
-
__export(
|
|
13
|
-
AgentPlugin: () =>
|
|
14
|
-
Plugin: () =>
|
|
11
|
+
var exports_agent2 = {};
|
|
12
|
+
__export(exports_agent2, {
|
|
13
|
+
AgentPlugin: () => exports_agent2,
|
|
14
|
+
Plugin: () => Plugin44
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -57,7 +57,7 @@ Rules:
|
|
|
57
57
|
- Never ask questions or add new questions
|
|
58
58
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
59
59
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
60
|
-
var
|
|
60
|
+
var Plugin44 = define({
|
|
61
61
|
id: "opencode.agent",
|
|
62
62
|
effect: Effect.fn(function* (ctx) {
|
|
63
63
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -67,32 +67,32 @@ var Plugin12 = define({
|
|
|
67
67
|
item.mode = "primary";
|
|
68
68
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
69
69
|
});
|
|
70
|
-
editor.update(
|
|
70
|
+
editor.update(ID14.make("general"), (item) => {
|
|
71
71
|
item.name = Name3.make("General");
|
|
72
72
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
73
73
|
item.mode = "subagent";
|
|
74
74
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
75
75
|
});
|
|
76
|
-
editor.update(
|
|
76
|
+
editor.update(ID14.make("explore"), (item) => {
|
|
77
77
|
item.name = Name3.make("Explore");
|
|
78
78
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
79
79
|
item.system = PROMPT_EXPLORE;
|
|
80
80
|
item.mode = "subagent";
|
|
81
81
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
82
82
|
});
|
|
83
|
-
editor.update(
|
|
83
|
+
editor.update(ID14.make("compaction"), (item) => {
|
|
84
84
|
item.name = Name3.make("Compaction");
|
|
85
85
|
item.mode = "primary";
|
|
86
86
|
item.hidden = true;
|
|
87
87
|
});
|
|
88
|
-
editor.update(
|
|
88
|
+
editor.update(ID14.make("title"), (item) => {
|
|
89
89
|
item.name = Name3.make("Title");
|
|
90
90
|
item.mode = "primary";
|
|
91
91
|
item.hidden = true;
|
|
92
92
|
item.system = PROMPT_TITLE;
|
|
93
93
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
94
94
|
});
|
|
95
|
-
editor.update(
|
|
95
|
+
editor.update(ID14.make("summary"), (item) => {
|
|
96
96
|
item.name = Name3.make("Summary");
|
|
97
97
|
item.mode = "primary";
|
|
98
98
|
item.hidden = true;
|
|
@@ -103,4 +103,4 @@ var Plugin12 = define({
|
|
|
103
103
|
})
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { Plugin44, exports_agent2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
aisdk2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-49fetqk2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID15,
|
|
7
7
|
VariantID2,
|
|
8
8
|
Family2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info23
|
|
10
|
+
} from "./repository-cache-p8x08v0y.js";
|
|
11
11
|
import {
|
|
12
12
|
connectionEnv2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-67xca3db.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/provider/claude-agent/provider.ts
|
|
19
19
|
var exports_provider = {};
|
|
@@ -22,10 +22,10 @@ __export(exports_provider, {
|
|
|
22
22
|
ID: () => ID3,
|
|
23
23
|
PACKAGE: () => PACKAGE2,
|
|
24
24
|
connection: () => connection2,
|
|
25
|
-
register: () =>
|
|
25
|
+
register: () => register7
|
|
26
26
|
});
|
|
27
27
|
import { Effect, Option, Schema, Stream, SubscriptionRef } from "effect";
|
|
28
|
-
var ID3 =
|
|
28
|
+
var ID3 = ID16.claudeAgent;
|
|
29
29
|
var PACKAGE2 = "@opencode/claude-agent";
|
|
30
30
|
var CatalogModel = Schema.Struct({
|
|
31
31
|
id: Schema.String,
|
|
@@ -35,20 +35,20 @@ var CatalogModel = Schema.Struct({
|
|
|
35
35
|
resolvedModel: Schema.optionalKey(Schema.String)
|
|
36
36
|
});
|
|
37
37
|
var Catalog = Schema.Struct({
|
|
38
|
-
priceSource: Schema.optionalKey(
|
|
38
|
+
priceSource: Schema.optionalKey(ID16),
|
|
39
39
|
models: Schema.Array(CatalogModel)
|
|
40
40
|
});
|
|
41
41
|
var CATALOG_KEY = "models";
|
|
42
42
|
var PRICE_SOURCES = {
|
|
43
|
-
firstParty:
|
|
44
|
-
anthropicAws:
|
|
45
|
-
anthropicGoogleCloud:
|
|
46
|
-
mantle:
|
|
47
|
-
bedrock:
|
|
48
|
-
vertex:
|
|
49
|
-
foundry:
|
|
43
|
+
firstParty: ID16.anthropic,
|
|
44
|
+
anthropicAws: ID16.anthropic,
|
|
45
|
+
anthropicGoogleCloud: ID16.anthropic,
|
|
46
|
+
mantle: ID16.anthropic,
|
|
47
|
+
bedrock: ID16.amazonBedrock,
|
|
48
|
+
vertex: ID16.googleVertex,
|
|
49
|
+
foundry: ID16.azure
|
|
50
50
|
};
|
|
51
|
-
var
|
|
51
|
+
var register7 = Effect.fn("ClaudeProvider.register")(function* (ctx, status, io) {
|
|
52
52
|
const saved = Schema.decodeUnknownOption(Catalog)(yield* ctx.storage.get(CATALOG_KEY));
|
|
53
53
|
const current = { catalog: Option.getOrElse(saved, () => ({ models: [] })) };
|
|
54
54
|
yield* ctx.provider.transform((editor) => {
|
|
@@ -117,7 +117,7 @@ function priceSource(account, baseURL) {
|
|
|
117
117
|
return PRICE_SOURCES[account.apiProvider];
|
|
118
118
|
}
|
|
119
119
|
function toModel(model, prices) {
|
|
120
|
-
const defaults =
|
|
120
|
+
const defaults = Info23.default(ID3, ID15.make(model.id));
|
|
121
121
|
const id = (model.resolvedModel ?? model.id).replace(/\[1m\]$/, "");
|
|
122
122
|
const priced = prices?.get(id) ?? prices?.get(id.replace(/^anthropic\./, "")) ?? prices?.get(`${id}@default`);
|
|
123
123
|
return {
|
|
@@ -131,4 +131,4 @@ function toModel(model, prices) {
|
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
export { ID3, PACKAGE2,
|
|
134
|
+
export { ID3, PACKAGE2, register7, connection2, exports_provider };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service88
|
|
3
|
+
} from "./repository-cache-n4de5rt9.js";
|
|
4
4
|
import {
|
|
5
5
|
ID21,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Event21,
|
|
7
|
+
Service87
|
|
8
|
+
} from "./repository-cache-rx1f5s7v.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID16
|
|
11
|
+
} from "./repository-cache-49fetqk2.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-k7j4356s.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -43,8 +43,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
43
43
|
id: "opencode.provider.google.vertex",
|
|
44
44
|
effect: Effect.fn(function* (ctx) {
|
|
45
45
|
const fs = yield* FSUtil.Service;
|
|
46
|
-
const credentials = yield*
|
|
47
|
-
const bus = yield*
|
|
46
|
+
const credentials = yield* Service87;
|
|
47
|
+
const bus = yield* Service88;
|
|
48
48
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
49
49
|
return;
|
|
50
50
|
}));
|
|
@@ -53,7 +53,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
53
53
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
54
54
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
55
55
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
56
|
-
const configured = (yield* configuredSettings2(
|
|
56
|
+
const configured = (yield* configuredSettings2(ID16.googleVertex)) ?? {};
|
|
57
57
|
const projects = Array.from(new Set([
|
|
58
58
|
resolveProject(configured),
|
|
59
59
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -67,7 +67,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
67
67
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
68
68
|
]));
|
|
69
69
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
70
|
-
const connection = yield* ctx.integration.connection.active(
|
|
70
|
+
const connection = yield* ctx.integration.connection.active(ID16.googleVertex);
|
|
71
71
|
const stored = connection?.type === "credential" ? yield* credentials.get(ID21.make(connection.id)) : undefined;
|
|
72
72
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
73
73
|
return {};
|
|
@@ -76,15 +76,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
76
76
|
const selected = { settings: yield* load() };
|
|
77
77
|
const settingsFor = (provider) => ({
|
|
78
78
|
...provider.settings,
|
|
79
|
-
...(provider.integrationID ?? provider.id) ===
|
|
79
|
+
...(provider.integrationID ?? provider.id) === ID16.googleVertex ? selected.settings : {}
|
|
80
80
|
});
|
|
81
81
|
yield* ctx.integration.transform((editor) => {
|
|
82
82
|
editor.method.update({
|
|
83
|
-
integrationID:
|
|
83
|
+
integrationID: ID16.googleVertex,
|
|
84
84
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
85
85
|
});
|
|
86
86
|
editor.method.update({
|
|
87
|
-
integrationID:
|
|
87
|
+
integrationID: ID16.googleVertex,
|
|
88
88
|
method: {
|
|
89
89
|
id: ADC_METHOD,
|
|
90
90
|
type: "external",
|
|
@@ -122,7 +122,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
122
122
|
});
|
|
123
123
|
yield* ctx.provider.transform((evt) => {
|
|
124
124
|
for (const item of evt.list()) {
|
|
125
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
125
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID16.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
126
126
|
continue;
|
|
127
127
|
const settings = settingsFor(item.provider);
|
|
128
128
|
const project = resolveProject(settings);
|
|
@@ -141,7 +141,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
141
141
|
});
|
|
142
142
|
yield* ctx.model.transform((models) => {
|
|
143
143
|
for (const item of models.provider.list()) {
|
|
144
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
144
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID16.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
145
145
|
continue;
|
|
146
146
|
const settings = settingsFor(item.provider);
|
|
147
147
|
const project = resolveProject(settings);
|
|
@@ -159,7 +159,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
});
|
|
162
|
-
yield* bus.subscribe([
|
|
162
|
+
yield* bus.subscribe([Event21.Updated, Event21.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
163
163
|
const next = yield* load();
|
|
164
164
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
165
165
|
return;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make29,
|
|
14
|
+
node: () => node69,
|
|
15
15
|
registry: () => registry3,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make29 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry3(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node69 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make29, RegistryService2, registry3, registryNode2, node69, exports_driver };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info29,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status4,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info29 = Connection.Info;
|
|
19
19
|
var Status4 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info29, Status4, key2, exports_connection };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID19,
|
|
3
|
+
Service85,
|
|
4
|
+
node88
|
|
5
|
+
} from "./repository-cache-zdnc43b0.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID16,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service80,
|
|
19
|
+
node83
|
|
20
|
+
} from "./repository-cache-49fetqk2.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service65,
|
|
23
|
+
node67
|
|
24
|
+
} from "./repository-cache-2jf9w73g.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID15,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref3,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service79,
|
|
30
|
+
node82,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-cache-p8x08v0y.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service64,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer22,
|
|
52
|
+
node: () => node66,
|
|
53
53
|
resolveModel: () => resolveModel3,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -67,8 +67,8 @@ import { Auth, mergeHttpOptions } from "@opencode/ai/route";
|
|
|
67
67
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
68
68
|
import { Npm } from "@opencode/util/npm";
|
|
69
69
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
70
|
-
providerID:
|
|
71
|
-
modelID:
|
|
70
|
+
providerID: ID16,
|
|
71
|
+
modelID: ID15,
|
|
72
72
|
variant: VariantID2
|
|
73
73
|
}) {
|
|
74
74
|
get message() {
|
|
@@ -77,8 +77,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
80
|
-
providerID:
|
|
81
|
-
modelID:
|
|
80
|
+
providerID: ID16,
|
|
81
|
+
modelID: ID15,
|
|
82
82
|
package: Schema.String
|
|
83
83
|
}) {
|
|
84
84
|
get message() {
|
|
@@ -88,8 +88,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
88
88
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
89
89
|
|
|
90
90
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
91
|
-
providerID:
|
|
92
|
-
modelID:
|
|
91
|
+
providerID: ID16,
|
|
92
|
+
modelID: ID15,
|
|
93
93
|
package: Schema.String,
|
|
94
94
|
detail: Schema.String
|
|
95
95
|
}) {
|
|
@@ -99,8 +99,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
102
|
-
providerID:
|
|
103
|
-
modelID:
|
|
102
|
+
providerID: ID16,
|
|
103
|
+
modelID: ID15,
|
|
104
104
|
package: Schema.String,
|
|
105
105
|
phase: InitializationPhase2,
|
|
106
106
|
detail: Schema.String
|
|
@@ -111,8 +111,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
114
|
-
providerID:
|
|
115
|
-
modelID:
|
|
114
|
+
providerID: ID16,
|
|
115
|
+
modelID: ID15,
|
|
116
116
|
variables: Schema.Array(Schema.String)
|
|
117
117
|
}) {
|
|
118
118
|
get message() {
|
|
@@ -121,8 +121,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
124
|
-
providerID:
|
|
125
|
-
modelID:
|
|
124
|
+
providerID: ID16,
|
|
125
|
+
modelID: ID15,
|
|
126
126
|
route: Schema.String
|
|
127
127
|
}) {
|
|
128
128
|
get message() {
|
|
@@ -130,7 +130,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
class
|
|
133
|
+
class Service64 extends Context.Service()("@opencode/ModelResolver") {
|
|
134
134
|
}
|
|
135
135
|
var withVariant2 = (model, variantID) => {
|
|
136
136
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -262,7 +262,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
262
262
|
return tokenSettings(specifier, credential.access);
|
|
263
263
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
264
264
|
return { auth: "sigv4" };
|
|
265
|
-
if (model.providerID ===
|
|
265
|
+
if (model.providerID === ID16.azure)
|
|
266
266
|
return tokenSettings(specifier, "azure-cli");
|
|
267
267
|
return {};
|
|
268
268
|
};
|
|
@@ -297,19 +297,19 @@ var causeMessage = (cause) => {
|
|
|
297
297
|
};
|
|
298
298
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
299
299
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
300
|
-
var
|
|
301
|
-
const providers = yield*
|
|
302
|
-
const models = yield*
|
|
303
|
-
const integrations = yield*
|
|
300
|
+
var layer22 = Layer.effect(Service64, Effect.gen(function* () {
|
|
301
|
+
const providers = yield* Service80;
|
|
302
|
+
const models = yield* Service79;
|
|
303
|
+
const integrations = yield* Service85;
|
|
304
304
|
const npm = yield* Npm.Service;
|
|
305
|
-
const aisdk = yield*
|
|
305
|
+
const aisdk = yield* Service65;
|
|
306
306
|
const dependencies = {
|
|
307
307
|
loadPackage: (specifier) => loadPackage2(specifier, npm),
|
|
308
308
|
loadAISDK: (model) => aisdk.model(model)
|
|
309
309
|
};
|
|
310
310
|
const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
|
|
311
311
|
const provider = yield* providers.get(selected.providerID);
|
|
312
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
312
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID19.make(selected.providerID));
|
|
313
313
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
314
314
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
315
315
|
const runtimeInfo = {
|
|
@@ -345,7 +345,7 @@ var layer24 = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
345
345
|
const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
|
|
346
346
|
return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service64.of({
|
|
349
349
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
350
350
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
351
351
|
if (!selected)
|
|
@@ -368,10 +368,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
368
368
|
const name = packageName2(packageName);
|
|
369
369
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
370
370
|
}
|
|
371
|
-
var
|
|
372
|
-
service:
|
|
373
|
-
layer:
|
|
374
|
-
deps: [
|
|
371
|
+
var node66 = makeLocationNode({
|
|
372
|
+
service: Service64,
|
|
373
|
+
layer: layer22,
|
|
374
|
+
deps: [node83, node82, node88, Npm.node, node67]
|
|
375
375
|
});
|
|
376
376
|
|
|
377
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
377
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service64, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer22, node66, exports_model_resolver };
|