@opencode/core 0.0.0-dev-64 → 0.0.0-dev-70
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 +89 -89
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{location-services-k7g3tdkn.js → usage-limits-00r869yd.js} +19 -19
- package/dist/chunks/usage-limits-00ve6mdn.js +18 -0
- package/dist/chunks/{location-services-034tev2y.js → usage-limits-034tev2y.js} +2 -2
- package/dist/chunks/{location-services-wvv7736z.js → usage-limits-059hwyma.js} +22 -22
- package/dist/chunks/{location-services-b1xakg4t.js → usage-limits-06ezgrzy.js} +8 -8
- package/dist/chunks/{location-services-616zqkce.js → usage-limits-06x5j3v9.js} +13 -13
- package/dist/chunks/{location-services-dbpv404k.js → usage-limits-0bb4mtzd.js} +68 -54
- package/dist/chunks/{location-services-47m4w8nw.js → usage-limits-0cf3qb1d.js} +15 -15
- package/dist/chunks/{location-services-ap5257e6.js → usage-limits-0ge7qw4j.js} +17 -17
- package/dist/chunks/{location-services-pe5cp1q8.js → usage-limits-0n7bgjdx.js} +18 -18
- package/dist/chunks/{location-services-70jyngdv.js → usage-limits-13j1gyyz.js} +6 -6
- package/dist/chunks/{location-services-8kvtxzpx.js → usage-limits-19xpstvy.js} +10 -10
- package/dist/chunks/{location-services-dmssmyv3.js → usage-limits-1bfdjpda.js} +8 -8
- package/dist/chunks/{location-services-t3wrh3sj.js → usage-limits-1e3bsmzs.js} +32 -32
- package/dist/chunks/{location-services-1ep2p91f.js → usage-limits-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-services-s1q3ndg4.js → usage-limits-1r6zs68c.js} +11 -11
- package/dist/chunks/{location-services-qsekswpw.js → usage-limits-1vbd3ct4.js} +14 -14
- package/dist/chunks/{location-services-1x2knyw4.js → usage-limits-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-services-r8a8jxpt.js → usage-limits-1ygfc7z1.js} +11 -11
- package/dist/chunks/{location-services-v9ez2kgh.js → usage-limits-1yq9hg58.js} +5 -5
- package/dist/chunks/{location-services-204s3925.js → usage-limits-204s3925.js} +1 -1
- package/dist/chunks/{location-services-6xqtwe1r.js → usage-limits-2250626v.js} +15 -15
- package/dist/chunks/{location-services-zgmk89q5.js → usage-limits-26t6c0aa.js} +9 -9
- package/dist/chunks/{location-services-td7x002b.js → usage-limits-2syb7k54.js} +22 -22
- package/dist/chunks/{location-services-6v72x2ed.js → usage-limits-2vtmagdy.js} +11 -11
- package/dist/chunks/{location-services-rfz97rvx.js → usage-limits-2wbaybnj.js} +10 -10
- package/dist/chunks/{location-services-g219a0kq.js → usage-limits-32hdwgrf.js} +23 -23
- package/dist/chunks/{location-services-rhg5jmsx.js → usage-limits-367w5d4y.js} +23 -23
- package/dist/chunks/usage-limits-38s79n5z.js +257 -0
- package/dist/chunks/{location-services-k88b30qa.js → usage-limits-3d32z0b5.js} +5 -5
- package/dist/chunks/{location-services-3hepkmqq.js → usage-limits-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-3j1m3tq4.js → usage-limits-3j1m3tq4.js} +2 -2
- package/dist/chunks/{location-services-3nnrz6f6.js → usage-limits-3nnrz6f6.js} +1 -1
- package/dist/chunks/{location-services-nr97w2wj.js → usage-limits-3qx04rj6.js} +11 -11
- package/dist/chunks/{location-services-8rg72s59.js → usage-limits-3satg4qm.js} +13 -13
- package/dist/chunks/{location-services-cj2b2j51.js → usage-limits-3vgbrff8.js} +27 -27
- package/dist/chunks/{location-services-g208md38.js → usage-limits-40akqw83.js} +5 -5
- package/dist/chunks/{location-services-w2eysc6j.js → usage-limits-40za9wsf.js} +9 -9
- package/dist/chunks/{location-services-agnbv5zk.js → usage-limits-4ab74nqr.js} +7 -7
- package/dist/chunks/{location-services-mvh1rx9p.js → usage-limits-4b10zywb.js} +12 -12
- package/dist/chunks/{location-services-w7ddawfh.js → usage-limits-4bge5fn5.js} +19 -19
- package/dist/chunks/{location-services-wgvnftve.js → usage-limits-4h11cdqv.js} +8 -8
- package/dist/chunks/{location-services-y4q5gvzk.js → usage-limits-4pd4gjsb.js} +13 -13
- package/dist/chunks/{location-services-4pyp9zr9.js → usage-limits-4pyp9zr9.js} +1 -1
- package/dist/chunks/{location-services-4v008n1t.js → usage-limits-4v008n1t.js} +1 -1
- package/dist/chunks/{location-services-q8bjp0w9.js → usage-limits-5388d1ez.js} +21 -21
- package/dist/chunks/{location-services-rwnw28mr.js → usage-limits-57e756py.js} +22 -22
- package/dist/chunks/{location-services-5hqsswq2.js → usage-limits-5h1f88xp.js} +12 -12
- package/dist/chunks/{location-services-5m9w47nd.js → usage-limits-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-services-ehz01n6z.js → usage-limits-63wjmrmh.js} +11 -11
- package/dist/chunks/{location-services-6esdw8yj.js → usage-limits-6esdw8yj.js} +1 -1
- package/dist/chunks/{location-services-ct6n0aec.js → usage-limits-6h925atx.js} +30 -30
- package/dist/chunks/{location-services-szcgc7h4.js → usage-limits-6y263vp8.js} +5 -5
- package/dist/chunks/{location-services-x2hxr1sc.js → usage-limits-70kwrepz.js} +29 -29
- package/dist/chunks/{location-services-p3bccnsq.js → usage-limits-74mxhga0.js} +24 -24
- package/dist/chunks/{location-services-ekas1cck.js → usage-limits-75jy3yfa.js} +4 -4
- package/dist/chunks/{location-services-w8qtt4th.js → usage-limits-76cb1hcw.js} +4 -4
- package/dist/chunks/{location-services-770pw0s1.js → usage-limits-770pw0s1.js} +1 -1
- package/dist/chunks/{location-services-jg7yw0kp.js → usage-limits-786a3n23.js} +16 -16
- package/dist/chunks/{location-services-ndb69tfa.js → usage-limits-7b0w3yex.js} +33 -33
- package/dist/chunks/{location-services-7bmhse3q.js → usage-limits-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-zc22tp4z.js → usage-limits-7ftegz34.js} +14 -14
- package/dist/chunks/{location-services-pgd0patt.js → usage-limits-7g056v1e.js} +28 -28
- package/dist/chunks/{location-services-7sdtxe0n.js → usage-limits-7sdtxe0n.js} +2 -2
- package/dist/chunks/{location-services-tqx9c315.js → usage-limits-7tpyp9vw.js} +8 -8
- package/dist/chunks/{location-services-1h8sxmja.js → usage-limits-7vafrntb.js} +11 -11
- package/dist/chunks/{location-services-2qje8jvz.js → usage-limits-7vfaawec.js} +15 -15
- package/dist/chunks/{location-services-7w2ypzdf.js → usage-limits-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-services-dvxg9xas.js → usage-limits-7zxkwed9.js} +16 -16
- package/dist/chunks/{location-services-x48bv8h6.js → usage-limits-8ctydw00.js} +5 -5
- package/dist/chunks/{location-services-pwa1a8rs.js → usage-limits-8etj86g3.js} +12 -12
- package/dist/chunks/{location-services-kdzrs2t4.js → usage-limits-8h3eyqr9.js} +38 -38
- package/dist/chunks/{location-services-pfswwbj2.js → usage-limits-8k57k3bn.js} +3 -3
- package/dist/chunks/{location-services-4v34atpz.js → usage-limits-8nmxnxpt.js} +16 -16
- package/dist/chunks/{location-services-e6ytsf2b.js → usage-limits-8q6dc6x3.js} +11 -11
- package/dist/chunks/{location-services-2fngxkhk.js → usage-limits-8qvrfxnx.js} +26 -26
- package/dist/chunks/{location-services-w2ga2e0k.js → usage-limits-8rpj8j5d.js} +27 -27
- package/dist/chunks/{location-services-a33a86vx.js → usage-limits-8tzh5xhm.js} +47 -47
- package/dist/chunks/{location-services-8wtp7s3z.js → usage-limits-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-services-kjaj9yp1.js → usage-limits-8x7yjdeb.js} +20 -20
- package/dist/chunks/{location-services-90zstvax.js → usage-limits-90zstvax.js} +1 -1
- package/dist/chunks/{location-services-hxq68qpv.js → usage-limits-91x1x3by.js} +16 -16
- package/dist/chunks/{location-services-mkr15vrz.js → usage-limits-99xv457n.js} +21 -21
- package/dist/chunks/{location-services-9cx9sm2q.js → usage-limits-9cx9sm2q.js} +1 -1
- package/dist/chunks/{location-services-c1zy16x8.js → usage-limits-9hsg88rw.js} +10 -10
- package/dist/chunks/{location-services-1dx49z0n.js → usage-limits-9j3r59h4.js} +9 -9
- package/dist/chunks/{location-services-tdx723hm.js → usage-limits-9mw2y3qc.js} +1 -1
- package/dist/chunks/{location-services-kzzr1kfy.js → usage-limits-9t0fkpz6.js} +4 -4
- package/dist/chunks/{location-services-hyxwtr16.js → usage-limits-9vpabdem.js} +11 -11
- package/dist/chunks/{location-services-wnnvpqyk.js → usage-limits-a2kck2qj.js} +36 -36
- package/dist/chunks/{location-services-yjw1qs8k.js → usage-limits-ajwh8a2m.js} +25 -25
- package/dist/chunks/{location-services-0h8fm2ww.js → usage-limits-aksnr6dh.js} +18 -18
- package/dist/chunks/{location-services-h59wt0w5.js → usage-limits-ap6zazkg.js} +3 -3
- package/dist/chunks/{location-services-agwgn61j.js → usage-limits-as3mfafy.js} +16 -16
- package/dist/chunks/{location-services-ncmn4rz0.js → usage-limits-av7r0xpy.js} +28 -28
- package/dist/chunks/{location-services-xn4shan3.js → usage-limits-axay07fs.js} +9 -9
- package/dist/chunks/{location-services-ayjs7tqn.js → usage-limits-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-services-yk5vm8dr.js → usage-limits-aytgjwzw.js} +13 -13
- package/dist/chunks/{location-services-9whep7e0.js → usage-limits-b0snh2yy.js} +5 -5
- package/dist/chunks/{location-services-8cw3p3pm.js → usage-limits-b105tghx.js} +30 -30
- package/dist/chunks/{location-services-x82dhhxf.js → usage-limits-b1q5yrpf.js} +4 -4
- package/dist/chunks/{location-services-nbmqhqas.js → usage-limits-b3scgw80.js} +26 -26
- package/dist/chunks/{location-services-2hj7awb8.js → usage-limits-b3t6hfc1.js} +5 -5
- package/dist/chunks/{location-services-hw7ke7j2.js → usage-limits-b5gyc1qt.js} +35 -35
- package/dist/chunks/{location-services-b6vsg801.js → usage-limits-b6vsg801.js} +2 -2
- package/dist/chunks/{location-services-r26r40ph.js → usage-limits-bcg4scw3.js} +12 -12
- package/dist/chunks/{location-services-4j7592es.js → usage-limits-bh1et42v.js} +6 -6
- package/dist/chunks/{location-services-vm24w91z.js → usage-limits-bsany5rs.js} +9 -9
- package/dist/chunks/{location-services-bstexjd6.js → usage-limits-bstexjd6.js} +1 -1
- package/dist/chunks/{location-services-r8nzqyhk.js → usage-limits-btqfhcy7.js} +12 -12
- package/dist/chunks/{location-services-gbp88eyx.js → usage-limits-bv81hr7f.js} +17 -17
- package/dist/chunks/{location-services-d1mr7tcc.js → usage-limits-bxvxsyd1.js} +5 -5
- package/dist/chunks/{location-services-mfr0p1x9.js → usage-limits-c4etfrww.js} +11 -11
- package/dist/chunks/{location-services-0eq01nmm.js → usage-limits-cb54j1zr.js} +9 -9
- package/dist/chunks/{location-services-za8t0eh5.js → usage-limits-cdy86q22.js} +21 -21
- package/dist/chunks/{location-services-ppf126py.js → usage-limits-cew0p5np.js} +4 -4
- package/dist/chunks/{location-services-qn81gd5b.js → usage-limits-cg685ae2.js} +8 -8
- package/dist/chunks/{location-services-d95c94hx.js → usage-limits-ch2c3pcq.js} +36 -36
- package/dist/chunks/{location-services-cwrgdav8.js → usage-limits-cwrgdav8.js} +2 -2
- package/dist/chunks/{location-services-5vms8twd.js → usage-limits-cwzdksg6.js} +32 -32
- package/dist/chunks/{location-services-qfkfn7d5.js → usage-limits-cyv36v60.js} +32 -32
- package/dist/chunks/{location-services-d4v9tmah.js → usage-limits-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-services-rha71f46.js → usage-limits-d77k1mxa.js} +4 -4
- package/dist/chunks/{location-services-f09z3f4w.js → usage-limits-d83ky4yz.js} +17 -17
- package/dist/chunks/{location-services-atqmvsxd.js → usage-limits-dcz5q70b.js} +3 -3
- package/dist/chunks/{location-services-x9jb8dde.js → usage-limits-dhf7nd60.js} +39 -39
- package/dist/chunks/{location-services-6jrjvs1q.js → usage-limits-djjzzs3c.js} +6 -6
- package/dist/chunks/{location-services-y2wrmdpy.js → usage-limits-dkqneb2t.js} +16 -16
- package/dist/chunks/{location-services-1c8tzkk0.js → usage-limits-dsz7xbts.js} +46 -46
- package/dist/chunks/{location-services-dt77769w.js → usage-limits-dt77769w.js} +1 -1
- package/dist/chunks/{location-services-pyk1f59v.js → usage-limits-dtsc222h.js} +4 -4
- package/dist/chunks/{location-services-891xbxsq.js → usage-limits-dw7w55f6.js} +14 -14
- package/dist/chunks/{location-services-yhzm8hpj.js → usage-limits-e0f2mwz6.js} +38 -38
- package/dist/chunks/{location-services-kf7yd5ke.js → usage-limits-e2v23dw8.js} +32 -32
- package/dist/chunks/{location-services-krdv4tqx.js → usage-limits-e5tgfjjc.js} +8 -8
- package/dist/chunks/{location-services-e834z07m.js → usage-limits-e834z07m.js} +1 -1
- package/dist/chunks/{location-services-qnz6w04z.js → usage-limits-edttvenx.js} +9 -9
- package/dist/chunks/{location-services-kesvm3k7.js → usage-limits-ehztmq8g.js} +8 -8
- package/dist/chunks/{location-services-q5wj7mv8.js → usage-limits-esmvgmdv.js} +19 -19
- package/dist/chunks/{location-services-06qvkc6e.js → usage-limits-ety99mph.js} +14 -14
- package/dist/chunks/{location-services-yggeett8.js → usage-limits-ex9nt9rj.js} +17 -17
- package/dist/chunks/{location-services-6mdzwzg7.js → usage-limits-f46hmq5v.js} +4 -4
- package/dist/chunks/{location-services-evf857tp.js → usage-limits-f9hn68yc.js} +6 -6
- package/dist/chunks/{location-services-k8vhdvpr.js → usage-limits-fa1x4yc8.js} +23 -23
- package/dist/chunks/{location-services-2rb4wbj4.js → usage-limits-fahhp9re.js} +4 -4
- package/dist/chunks/{location-services-fffv3p7h.js → usage-limits-fffv3p7h.js} +1 -1
- package/dist/chunks/{location-services-prq7xxp2.js → usage-limits-fg9p65nk.js} +6 -6
- package/dist/chunks/usage-limits-fsr9be33.js +26 -0
- package/dist/chunks/{location-services-dhs69mq4.js → usage-limits-g1rb9a0a.js} +23 -23
- package/dist/chunks/{location-services-x9c7wxgr.js → usage-limits-g3ywshqd.js} +26 -26
- package/dist/chunks/{location-services-xdas633g.js → usage-limits-g45kgctv.js} +1 -1
- package/dist/chunks/{location-services-ah09kpwr.js → usage-limits-ge02ssgj.js} +16 -16
- package/dist/chunks/{location-services-gg8p9cgs.js → usage-limits-gg8p9cgs.js} +3 -3
- package/dist/chunks/{location-services-e0vq96z9.js → usage-limits-gmkqvwcx.js} +17 -17
- package/dist/chunks/{location-services-nwvs9qq5.js → usage-limits-gp56a94q.js} +13 -13
- package/dist/chunks/{location-services-97wtqrge.js → usage-limits-gsp20hk1.js} +11 -11
- package/dist/chunks/{location-services-xt0z8zst.js → usage-limits-gtn9c16a.js} +4 -4
- package/dist/chunks/{location-services-n8m0q05k.js → usage-limits-gvgqw8vw.js} +7 -7
- package/dist/chunks/{location-services-jpwp8mx7.js → usage-limits-gw72g5rd.js} +52 -52
- package/dist/chunks/{location-services-9gx11wxw.js → usage-limits-gxjy5xbg.js} +4 -4
- package/dist/chunks/{location-services-7efvqzhd.js → usage-limits-h04a6mba.js} +18 -18
- package/dist/chunks/{location-services-hdfrs5mg.js → usage-limits-hdfrs5mg.js} +2 -2
- package/dist/chunks/{location-services-jtjptmzv.js → usage-limits-hfzn2qcz.js} +9 -9
- package/dist/chunks/{location-services-9437wt4d.js → usage-limits-hhw78a7m.js} +5 -5
- package/dist/chunks/{location-services-hpg1pkwy.js → usage-limits-hpg1pkwy.js} +1 -1
- package/dist/chunks/{location-services-zmzyb0q8.js → usage-limits-j391q72e.js} +9 -9
- package/dist/chunks/{location-services-1a0b8wew.js → usage-limits-j84x0xy0.js} +22 -22
- package/dist/chunks/{location-services-mz1832ks.js → usage-limits-j8br37jf.js} +15 -15
- package/dist/chunks/{location-services-jfaecv01.js → usage-limits-jfaecv01.js} +1 -1
- package/dist/chunks/{location-services-pnqyn77n.js → usage-limits-jpk5pzfk.js} +3 -3
- package/dist/chunks/{location-services-6h2pa11h.js → usage-limits-js09a8a4.js} +15 -15
- package/dist/chunks/{location-services-jtnps1zs.js → usage-limits-jtnps1zs.js} +2 -2
- package/dist/chunks/{location-services-189c2z7w.js → usage-limits-jvsyf4b3.js} +20 -20
- package/dist/chunks/{location-services-k814nvkf.js → usage-limits-k814nvkf.js} +1 -1
- package/dist/chunks/{location-services-edmv2p4j.js → usage-limits-k8wsz496.js} +54 -54
- package/dist/chunks/{location-services-e884at7j.js → usage-limits-k99fe09b.js} +5 -5
- package/dist/chunks/{location-services-h8yn74hc.js → usage-limits-kagxkfz2.js} +28 -28
- package/dist/chunks/{location-services-qft8hb75.js → usage-limits-kd4chd64.js} +4 -4
- package/dist/chunks/{location-services-mhcbn2s9.js → usage-limits-kgxq6z42.js} +6 -6
- package/dist/chunks/{location-services-rcvjkgve.js → usage-limits-kmybc97f.js} +27 -27
- package/dist/chunks/{location-services-kt3bjfbg.js → usage-limits-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-services-fb3jk243.js → usage-limits-kx1md14a.js} +18 -18
- package/dist/chunks/{location-services-7av4j0s6.js → usage-limits-m0c6s6tz.js} +19 -19
- package/dist/chunks/{location-services-m1714858.js → usage-limits-m1714858.js} +1 -1
- package/dist/chunks/{location-services-h0bc8af7.js → usage-limits-m7npqwrv.js} +18 -18
- package/dist/chunks/{location-services-m9w0rfyh.js → usage-limits-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-d3ajd33x.js → usage-limits-mfbcmhq0.js} +27 -27
- package/dist/chunks/{location-services-6pgz6wzq.js → usage-limits-mj7yjr2g.js} +35 -35
- package/dist/chunks/{location-services-arv3g562.js → usage-limits-mrns0e6x.js} +4 -4
- package/dist/chunks/{location-services-ba07h9gm.js → usage-limits-my4zabxr.js} +3 -3
- package/dist/chunks/{location-services-yymxgp8s.js → usage-limits-n1fzseg3.js} +82 -82
- package/dist/chunks/{location-services-pbbktnbz.js → usage-limits-nf3nsvxh.js} +4 -4
- package/dist/chunks/{location-services-zfmjcdad.js → usage-limits-nkxegb0x.js} +35 -35
- package/dist/chunks/{location-services-ng098k0q.js → usage-limits-nm192nfe.js} +24 -24
- package/dist/chunks/{location-services-nk85174p.js → usage-limits-nqdvj0z2.js} +34 -34
- package/dist/chunks/{location-services-866wf2vs.js → usage-limits-nw38f88x.js} +8 -8
- package/dist/chunks/{location-services-m45h31ff.js → usage-limits-ny2pcf7q.js} +18 -18
- package/dist/chunks/{location-services-p015t6z3.js → usage-limits-p015t6z3.js} +2 -2
- package/dist/chunks/{location-services-9nkjg9qd.js → usage-limits-p580ev26.js} +6 -6
- package/dist/chunks/{location-services-yqveydy6.js → usage-limits-p76me67c.js} +4 -4
- package/dist/chunks/{location-services-1rs2921g.js → usage-limits-pb2rct2b.js} +20 -20
- package/dist/chunks/{location-services-pknna89w.js → usage-limits-pknna89w.js} +1 -1
- package/dist/chunks/usage-limits-pm1qawqd.js +517 -0
- package/dist/chunks/{location-services-91c7zjyq.js → usage-limits-pv9367se.js} +8 -8
- package/dist/chunks/{location-services-3tv0ny9f.js → usage-limits-q4cdx3an.js} +47 -47
- package/dist/chunks/{location-services-yewtq9yt.js → usage-limits-q6ygxmey.js} +16 -16
- package/dist/chunks/{location-services-znwbrpr9.js → usage-limits-qdaz62qt.js} +20 -20
- package/dist/chunks/{location-services-mqe7nf5n.js → usage-limits-qkqjbc48.js} +3 -3
- package/dist/chunks/{location-services-qp7r0hxv.js → usage-limits-qp7r0hxv.js} +1 -1
- package/dist/chunks/{location-services-2xw6dmz5.js → usage-limits-qtks3bwj.js} +18 -18
- package/dist/chunks/{location-services-zxaz8gg5.js → usage-limits-qvdrcrn5.js} +27 -27
- package/dist/chunks/{location-services-bgg6fpfq.js → usage-limits-qz087kyw.js} +8 -8
- package/dist/chunks/{location-services-r0yr0wbs.js → usage-limits-r0yr0wbs.js} +1 -1
- package/dist/chunks/{location-services-r542h3bh.js → usage-limits-r542h3bh.js} +1 -1
- package/dist/chunks/{location-services-dtdkt915.js → usage-limits-r5as2gek.js} +4 -4
- package/dist/chunks/{location-services-ghh93d0s.js → usage-limits-rafkt0z2.js} +8 -8
- package/dist/chunks/{location-services-rb9dy4dg.js → usage-limits-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-services-cdev0qw6.js → usage-limits-rdt1yync.js} +2 -2
- package/dist/chunks/{location-services-z97c6djt.js → usage-limits-rhf62axg.js} +12 -12
- package/dist/chunks/{location-services-j41s2q6a.js → usage-limits-rrqctmxv.js} +40 -40
- package/dist/chunks/{location-services-rt5dr6hb.js → usage-limits-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-services-7wj339t1.js → usage-limits-s2p21v8b.js} +14 -14
- package/dist/chunks/{location-services-mmx1mfjr.js → usage-limits-s7kyse9r.js} +4 -4
- package/dist/chunks/{location-services-mrng6hna.js → usage-limits-s9xyq0y3.js} +16 -16
- package/dist/chunks/{location-services-sa3fpqfw.js → usage-limits-sa3fpqfw.js} +2 -2
- package/dist/chunks/{location-services-hfpnh8b8.js → usage-limits-scg71y9j.js} +196 -196
- package/dist/chunks/{location-services-7vzj9awm.js → usage-limits-shhvmp99.js} +5 -5
- package/dist/chunks/{location-services-8xsxqfj0.js → usage-limits-smjdpk56.js} +43 -43
- package/dist/chunks/{location-services-e07q2w5p.js → usage-limits-snb901t2.js} +4 -4
- package/dist/chunks/{location-services-sqjzf8x2.js → usage-limits-sqjzf8x2.js} +1 -1
- package/dist/chunks/{location-services-d2887f8n.js → usage-limits-ssfehs1z.js} +4 -4
- package/dist/chunks/{location-services-svcy3p9a.js → usage-limits-svcy3p9a.js} +1 -1
- package/dist/chunks/{location-services-v8xpr2tt.js → usage-limits-sxejvmn7.js} +11 -11
- package/dist/chunks/{location-services-ygm5nzp7.js → usage-limits-sxgesv0v.js} +12 -12
- package/dist/chunks/{location-services-kdsywe1g.js → usage-limits-sz3bvagv.js} +4 -4
- package/dist/chunks/{location-services-tczq8hjw.js → usage-limits-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-services-dqepyj8z.js → usage-limits-thgmw4ka.js} +39 -39
- package/dist/chunks/{location-services-2y81gh79.js → usage-limits-tqx1028s.js} +16 -16
- package/dist/chunks/{location-services-qbhn9ys7.js → usage-limits-tvet7cwg.js} +10 -10
- package/dist/chunks/{location-services-twssxy5n.js → usage-limits-twssxy5n.js} +2 -2
- package/dist/chunks/{location-services-fqpk86s2.js → usage-limits-txcap7gk.js} +7 -7
- package/dist/chunks/{location-services-24tsn34s.js → usage-limits-v1thstnx.js} +21 -21
- package/dist/chunks/{location-services-v2r1d0zg.js → usage-limits-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-services-veqvce7d.js → usage-limits-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-3dbex3rz.js → usage-limits-vgycp8t5.js} +13 -13
- package/dist/chunks/{location-services-5m3p3r5s.js → usage-limits-vhjvjnd9.js} +29 -29
- package/dist/chunks/{location-services-v6ghzfeb.js → usage-limits-vnwmzs4a.js} +5 -5
- package/dist/chunks/{location-services-p1fvmphk.js → usage-limits-vrbg4km8.js} +11 -11
- package/dist/chunks/{location-services-8x9y3wj0.js → usage-limits-vrcsa8qx.js} +9 -9
- package/dist/chunks/{location-services-75qg15m1.js → usage-limits-w11nh16z.js} +20 -20
- package/dist/chunks/{location-services-020zpnm4.js → usage-limits-w2kjqv84.js} +2 -2
- package/dist/chunks/{location-services-w3wsvvr9.js → usage-limits-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-8wawps64.js → usage-limits-w5meh1vk.js} +5 -5
- package/dist/chunks/{location-services-wr3re1en.js → usage-limits-w687dnns.js} +4 -4
- package/dist/chunks/{location-services-ygt5wh47.js → usage-limits-w6zhfv8b.js} +59 -59
- package/dist/chunks/{location-services-d00ag3b5.js → usage-limits-w8egg4wb.js} +5 -5
- package/dist/chunks/{location-services-wakvkjy4.js → usage-limits-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-services-ycegergq.js → usage-limits-wd34wntp.js} +27 -27
- package/dist/chunks/{location-services-wd87259q.js → usage-limits-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-jze27bva.js → usage-limits-whe60mvx.js} +11 -11
- package/dist/chunks/{location-services-5j8pr5g9.js → usage-limits-wqp5dnfd.js} +10 -10
- package/dist/chunks/{location-services-11hfp36g.js → usage-limits-x8nvjgx0.js} +4 -4
- package/dist/chunks/{location-services-vpk136tn.js → usage-limits-xmdfq1wa.js} +35 -35
- package/dist/chunks/{location-services-xnh55p1t.js → usage-limits-xnh55p1t.js} +1 -1
- package/dist/chunks/{location-services-3f6yms39.js → usage-limits-xywbwddt.js} +23 -23
- package/dist/chunks/{location-services-vj669030.js → usage-limits-y07922sz.js} +6 -6
- package/dist/chunks/{location-services-cwmfzxax.js → usage-limits-y8e37kep.js} +21 -21
- package/dist/chunks/{location-services-rth2557w.js → usage-limits-y9z93sbb.js} +8 -8
- package/dist/chunks/{location-services-yara3q77.js → usage-limits-yara3q77.js} +2 -2
- package/dist/chunks/{location-services-yb20nhc3.js → usage-limits-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-services-gy2j584d.js → usage-limits-ybzz5s2a.js} +17 -17
- package/dist/chunks/{location-services-ph1jffse.js → usage-limits-yrkvt850.js} +34 -34
- package/dist/chunks/{location-services-nym9wyb3.js → usage-limits-ywm7vzgw.js} +6 -6
- package/dist/chunks/{location-services-1jzce7ba.js → usage-limits-yyfxd43e.js} +15 -15
- package/dist/chunks/{location-services-z0bkrqjs.js → usage-limits-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-z38nccrw.js → usage-limits-z38nccrw.js} +1 -1
- package/dist/chunks/{location-services-ydwqkrat.js → usage-limits-z8tv1fw9.js} +1 -1
- package/dist/chunks/{location-services-d1v2vbzt.js → usage-limits-zba5tm1j.js} +4 -4
- package/dist/chunks/{location-services-10698rvb.js → usage-limits-zbkb7r2x.js} +25 -25
- package/dist/chunks/{location-services-361hcc7j.js → usage-limits-zebz0vxm.js} +85 -85
- package/dist/chunks/{location-services-e6ma8sks.js → usage-limits-zervchyf.js} +6 -6
- package/dist/chunks/{location-services-zgd8t41s.js → usage-limits-zgd8t41s.js} +2 -2
- package/dist/chunks/{location-services-zgkm4kzm.js → usage-limits-zgkm4kzm.js} +3 -3
- package/dist/chunks/{location-services-rz9cdrn3.js → usage-limits-zkd2ntwy.js} +29 -29
- package/dist/chunks/{location-services-331p6xjh.js → usage-limits-zmwx25fz.js} +2 -2
- package/dist/chunks/{location-services-p0a3b8hq.js → usage-limits-zrp243k2.js} +25 -25
- package/dist/chunks/{location-services-w074k2xe.js → usage-limits-zstc4kax.js} +25 -25
- package/dist/chunks/{location-services-2b9k209b.js → usage-limits-zweene6d.js} +16 -16
- package/dist/chunks/{location-services-cy5ef8hm.js → usage-limits-zympt6nt.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +89 -89
- package/dist/config/discovery.js +92 -92
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +93 -93
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +382 -382
- 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 +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +101 -101
- 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 +76 -76
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- 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 +83 -83
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +112 -112
- package/dist/form.js +90 -90
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +113 -113
- package/dist/git.js +7 -7
- 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 +107 -107
- 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/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 +373 -373
- package/dist/instruction-discovery.js +90 -90
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +95 -95
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +163 -163
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +370 -370
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +113 -113
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +107 -107
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +106 -106
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +112 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +143 -143
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +343 -343
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode-legacy.js +108 -108
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +178 -178
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +358 -358
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +94 -94
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +164 -164
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +228 -228
- package/dist/session/execution.js +152 -152
- package/dist/session/generate.js +188 -188
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +151 -151
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +236 -236
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +152 -152
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +186 -186
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +225 -225
- 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 +15 -15
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +146 -146
- package/dist/snapshot.js +97 -97
- 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 +167 -167
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +138 -138
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +143 -143
- package/dist/tool/plugin/websearch.js +145 -145
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +95 -95
- 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 +2 -2
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +92 -92
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +108 -108
- package/package.json +8 -8
- package/dist/chunks/location-services-7n5d83wd.js +0 -257
- package/dist/chunks/location-services-9p9wbndj.js +0 -26
- package/dist/chunks/location-services-a610t88q.js +0 -18
- package/dist/chunks/location-services-r497nngn.js +0 -517
- /package/dist/chunks/{location-services-0qkdqm5v.js → usage-limits-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → usage-limits-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → usage-limits-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → usage-limits-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1jakw16s.js → usage-limits-1jakw16s.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → usage-limits-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → usage-limits-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2bv980vf.js → usage-limits-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → usage-limits-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → usage-limits-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → usage-limits-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → usage-limits-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → usage-limits-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → usage-limits-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → usage-limits-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4m86bj6y.js → usage-limits-4m86bj6y.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → usage-limits-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → usage-limits-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → usage-limits-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → usage-limits-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-5w3e23ze.js → usage-limits-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → usage-limits-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-6q2bdcd1.js → usage-limits-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → usage-limits-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → usage-limits-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → usage-limits-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-84wd9syh.js → usage-limits-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → usage-limits-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → usage-limits-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-8wj87zfr.js → usage-limits-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → usage-limits-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → usage-limits-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a058387c.js → usage-limits-a058387c.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → usage-limits-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → usage-limits-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → usage-limits-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → usage-limits-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → usage-limits-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-beh6qq61.js → usage-limits-beh6qq61.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → usage-limits-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → usage-limits-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → usage-limits-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cqv5kn06.js → usage-limits-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → usage-limits-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → usage-limits-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → usage-limits-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → usage-limits-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → usage-limits-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → usage-limits-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → usage-limits-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → usage-limits-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → usage-limits-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → usage-limits-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → usage-limits-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → usage-limits-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → usage-limits-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → usage-limits-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → usage-limits-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → usage-limits-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fkpq3x5p.js → usage-limits-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → usage-limits-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → usage-limits-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → usage-limits-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → usage-limits-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hcxmzztb.js → usage-limits-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → usage-limits-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → usage-limits-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → usage-limits-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → usage-limits-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → usage-limits-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → usage-limits-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jwr30sdr.js → usage-limits-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-services-jze0r7bz.js → usage-limits-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → usage-limits-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-m18g726c.js → usage-limits-m18g726c.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → usage-limits-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → usage-limits-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → usage-limits-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → usage-limits-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-ncqqe42p.js → usage-limits-ncqqe42p.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → usage-limits-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-p71gwv9c.js → usage-limits-p71gwv9c.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → usage-limits-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → usage-limits-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → usage-limits-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → usage-limits-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → usage-limits-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → usage-limits-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → usage-limits-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → usage-limits-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → usage-limits-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → usage-limits-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-ve7vex1e.js → usage-limits-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → usage-limits-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → usage-limits-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → usage-limits-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → usage-limits-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → usage-limits-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → usage-limits-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → usage-limits-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → usage-limits-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → usage-limits-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → usage-limits-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z5v4ffb3.js → usage-limits-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → usage-limits-z9919s4g.js} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./usage-limits-06x5j3v9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./usage-limits-74mxhga0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service43,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./usage-limits-3satg4qm.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service45
|
|
14
|
+
} from "./usage-limits-js09a8a4.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service64
|
|
17
|
+
} from "./usage-limits-rrqctmxv.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service19,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./usage-limits-ajwh8a2m.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./usage-limits-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input7,
|
|
34
|
+
Output: () => Output5,
|
|
35
|
+
Plugin: () => Plugin25,
|
|
36
|
+
name: () => name7
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name7 = "edit";
|
|
43
|
+
var Input7 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input2 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output5 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin25 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
200
|
-
const location = yield*
|
|
201
|
-
const permission = yield*
|
|
196
|
+
const access = yield* Service19;
|
|
197
|
+
const fileMutation = yield* Service43;
|
|
198
|
+
const environment = yield* Service81;
|
|
199
|
+
const formatter = yield* Service45;
|
|
200
|
+
const location = yield* Service83;
|
|
201
|
+
const permission = yield* Service64;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name7,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
207
|
-
output:
|
|
206
|
+
input: Input7,
|
|
207
|
+
output: Output5,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin2 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name7, Input7, Output5, Plugin25, exports_edit };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./usage-limits-74mxhga0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service43,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./usage-limits-3satg4qm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service45
|
|
11
|
+
} from "./usage-limits-js09a8a4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service64
|
|
14
|
+
} from "./usage-limits-rrqctmxv.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service19
|
|
17
|
+
} from "./usage-limits-ajwh8a2m.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./usage-limits-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./usage-limits-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: () => Input3,
|
|
29
|
+
Output: () => Output3,
|
|
30
|
+
Plugin: () => Plugin20,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name3,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
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 name3 = "write";
|
|
39
|
+
var Input3 = 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 Output3 = 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 toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin20 = {
|
|
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* Service19;
|
|
56
|
+
const fileMutation = yield* Service43;
|
|
57
|
+
const environment = yield* Service81;
|
|
58
|
+
const formatter = yield* Service45;
|
|
59
|
+
const permission = yield* Service64;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name3,
|
|
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: Input3,
|
|
69
|
+
output: Output3,
|
|
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: toModelContent3(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 { name3, Input3, Output3, toModelContent3, Plugin20, exports_write };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/directory.ts
|
|
9
9
|
var exports_directory = {};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin5
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin5 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin36 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin5, exports_mcp_codemode_defaults };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./usage-limits-3d32z0b5.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./usage-limits-bstexjd6.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service74,
|
|
16
|
+
node77
|
|
17
|
+
} from "./usage-limits-9hsg88rw.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service61,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node64,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service61 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service85;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service74;
|
|
110
|
+
return Service61.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -169,10 +169,10 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
169
169
|
})
|
|
170
170
|
});
|
|
171
171
|
}));
|
|
172
|
-
var
|
|
173
|
-
service:
|
|
172
|
+
var node64 = makeGlobalNode({
|
|
173
|
+
service: Service61,
|
|
174
174
|
layer,
|
|
175
|
-
deps: [EffectFlock.node, FSUtil.node, node89, Global.node,
|
|
175
|
+
deps: [EffectFlock.node, FSUtil.node, node89, Global.node, node77]
|
|
176
176
|
});
|
|
177
177
|
function errorMessage(error) {
|
|
178
178
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -181,4 +181,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
181
181
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
184
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service61, isError2, validateBranch2, node64, exports_repository_cache };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
stringify2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./usage-limits-1jakw16s.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./usage-limits-b3t6hfc1.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-3qx04rj6.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./usage-limits-b1q5yrpf.js";
|
|
7
7
|
import {
|
|
8
8
|
ID15,
|
|
9
9
|
Event18,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service77
|
|
11
|
+
} from "./usage-limits-q6ygxmey.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./usage-limits-zba5tm1j.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./usage-limits-7g056v1e.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./usage-limits-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID12,
|
|
24
|
+
Service73
|
|
25
|
+
} from "./usage-limits-6h925atx.js";
|
|
26
26
|
import {
|
|
27
27
|
ID11
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./usage-limits-zkd2ntwy.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./usage-limits-zervchyf.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make6(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID12.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
75
|
const bus = yield* Service86;
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
76
|
+
const credentials = yield* Service77;
|
|
77
|
+
const providers = yield* Service73;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make7(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID12.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID12.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make7(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID12.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,7 +142,7 @@ function make7(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
146
146
|
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
@@ -182,7 +182,7 @@ function make7(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID12.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make7(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID12.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID12.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make7(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID12.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make7(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID12.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make7(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
if (!resourceName)
|
|
@@ -270,20 +270,20 @@ function make7(endpoints = {
|
|
|
270
270
|
}
|
|
271
271
|
if (!loaded.deployments)
|
|
272
272
|
return;
|
|
273
|
-
const catalog = models.list(
|
|
273
|
+
const catalog = models.list(ID12.azure);
|
|
274
274
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
275
275
|
for (const model of catalog) {
|
|
276
276
|
if (!deployed.has(model.id))
|
|
277
|
-
models.remove(
|
|
277
|
+
models.remove(ID12.azure, model.id);
|
|
278
278
|
}
|
|
279
279
|
for (const [id, model] of deployed) {
|
|
280
|
-
models.update(
|
|
280
|
+
models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
|
|
281
281
|
}
|
|
282
282
|
});
|
|
283
|
-
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
283
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
284
284
|
yield* refresh().pipe(Effect.forkScoped);
|
|
285
285
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
286
|
-
const connection = yield* ctx.integration.connection.active(
|
|
286
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
287
287
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
288
288
|
return;
|
|
289
289
|
})) : undefined;
|
|
@@ -295,7 +295,7 @@ function make7(endpoints = {
|
|
|
295
295
|
return `Bearer ${current.access}`;
|
|
296
296
|
});
|
|
297
297
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
298
|
-
if (evt.model.providerID !==
|
|
298
|
+
if (evt.model.providerID !== ID12.azure)
|
|
299
299
|
return;
|
|
300
300
|
const authorization = yield* bearer(evt.request.url);
|
|
301
301
|
if (!authorization)
|
|
@@ -304,9 +304,9 @@ function make7(endpoints = {
|
|
|
304
304
|
evt.request.headers.delete("x-api-key");
|
|
305
305
|
evt.request.headers.set("authorization", authorization);
|
|
306
306
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
307
|
-
}), { providerID:
|
|
307
|
+
}), { providerID: ID12.azure });
|
|
308
308
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
309
|
-
if (evt.model.providerID !==
|
|
309
|
+
if (evt.model.providerID !== ID12.azure)
|
|
310
310
|
return;
|
|
311
311
|
const authorization = yield* bearer(evt.url);
|
|
312
312
|
if (!authorization)
|
|
@@ -315,11 +315,11 @@ function make7(endpoints = {
|
|
|
315
315
|
delete evt.headers["x-api-key"];
|
|
316
316
|
evt.headers.authorization = authorization;
|
|
317
317
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID12.azure });
|
|
319
319
|
})
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
|
-
var AzurePlugin2 =
|
|
322
|
+
var AzurePlugin2 = make6();
|
|
323
323
|
function resolveResourceName(settings, fallback) {
|
|
324
324
|
const configured = settings?.resourceName;
|
|
325
325
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -375,4 +375,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
375
375
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
-
export {
|
|
378
|
+
export { make6, AzurePlugin2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
policy3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-9cx9sm2q.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionEvent2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./usage-limits-ec1grn59.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make10,
|
|
17
17
|
policy: () => policy2
|
|
18
18
|
});
|
|
19
19
|
import { isRetryable as isRetryable2 } from "@opencode/ai/effect";
|
|
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
39
39
|
return { retry: true, attempt: next.attempt, delay: normalized };
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
|
-
var
|
|
42
|
+
var make10 = (bus, sessionID) => Effect.gen(function* () {
|
|
43
43
|
const decide = yield* policy2(sessionID);
|
|
44
44
|
const wait = (input) => Effect.gen(function* () {
|
|
45
45
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -56,4 +56,4 @@ var make4 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
56
56
|
return { decide, wait };
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export { isRetryable2, policy2,
|
|
59
|
+
export { isRetryable2, policy2, make10, exports_retry };
|