@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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./usage-limits-b1q5yrpf.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event17,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID14,
|
|
20
|
+
Info: () => Info24,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service76,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer27,
|
|
29
|
+
node: () => node79,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event17 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID14 = Form.ID;
|
|
39
|
+
var Info24 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID14
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID14
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID14
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID14,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service76 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer27 = Layer.effect(Service76, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service86;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID14.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service76.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node79 = makeLocationNode({ service: Service76, layer: layer27, deps: [node90] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID14, Info24, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service76, layer27, node79, validateAnswer2, validateFields2, exports_form, Event17 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-zba5tm1j.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./usage-limits-b1q5yrpf.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event18
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./usage-limits-q6ygxmey.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./usage-limits-7g056v1e.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service73
|
|
20
|
+
} from "./usage-limits-6h925atx.js";
|
|
21
21
|
import {
|
|
22
22
|
ID11
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./usage-limits-zkd2ntwy.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./usage-limits-m0c6s6tz.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./usage-limits-3qx04rj6.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID9
|
|
33
|
+
} from "./usage-limits-57e756py.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./usage-limits-3nnrz6f6.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -66,7 +66,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
66
66
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
67
67
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
68
68
|
var oauth = (app) => ({
|
|
69
|
-
integrationID:
|
|
69
|
+
integrationID: ID13.make("github-copilot"),
|
|
70
70
|
method: {
|
|
71
71
|
id: methodID,
|
|
72
72
|
type: "oauth",
|
|
@@ -164,7 +164,7 @@ var oauth = (app) => ({
|
|
|
164
164
|
var GithubCopilotPlugin2 = define({
|
|
165
165
|
id: "opencode.provider.github.copilot",
|
|
166
166
|
effect: Effect.fn(function* (ctx) {
|
|
167
|
-
const providers = yield*
|
|
167
|
+
const providers = yield* Service73;
|
|
168
168
|
const bus = yield* Service86;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
const loaded = {};
|
|
@@ -181,9 +181,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
183
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
184
|
-
const provider = yield* providers.get(
|
|
184
|
+
const provider = yield* providers.get(ID12.githubCopilot);
|
|
185
185
|
const remote = yield* Effect.tryPromise({
|
|
186
|
-
try: () =>
|
|
186
|
+
try: () => load3(url, {
|
|
187
187
|
...provider?.headers,
|
|
188
188
|
Authorization: `Bearer ${credential.refresh}`,
|
|
189
189
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -203,13 +203,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
203
203
|
editor.method.update(oauth(ctx.app));
|
|
204
204
|
});
|
|
205
205
|
yield* ctx.provider.transform((evt) => {
|
|
206
|
-
const item = evt.get(
|
|
206
|
+
const item = evt.get(ID12.githubCopilot);
|
|
207
207
|
if (!item)
|
|
208
208
|
return;
|
|
209
209
|
if (loaded.models) {
|
|
210
210
|
evt.add({
|
|
211
211
|
info: item.provider,
|
|
212
|
-
models: Array.from(
|
|
212
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
213
213
|
sourceConnection: loaded.connection
|
|
214
214
|
});
|
|
215
215
|
return;
|
|
@@ -231,17 +231,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
yield* ctx.model.transform((models) => {
|
|
234
|
-
if (models.get(
|
|
235
|
-
models.update(
|
|
234
|
+
if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
|
|
235
|
+
models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
|
|
236
236
|
model.enabled = false;
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
241
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
yield* refresh().pipe(Effect.forkScoped);
|
|
243
243
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
247
247
|
return;
|
|
@@ -250,7 +250,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
250
250
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
251
251
|
}));
|
|
252
252
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
256
256
|
return;
|
|
@@ -260,13 +260,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
260
260
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
261
261
|
if (interaction !== "conversation-agent")
|
|
262
262
|
evt.headers["x-initiator"] = "agent";
|
|
263
|
-
}), { providerID:
|
|
263
|
+
}), { providerID: ID12.githubCopilot });
|
|
264
264
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
265
|
-
if (evt.model.providerID !==
|
|
265
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
266
266
|
return;
|
|
267
267
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
268
268
|
return;
|
|
269
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
269
|
+
const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
270
270
|
return;
|
|
271
271
|
}));
|
|
272
272
|
if (agent?.data.model)
|
|
@@ -277,9 +277,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
277
277
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
278
278
|
return;
|
|
279
279
|
}));
|
|
280
|
-
}), { providerID:
|
|
280
|
+
}), { providerID: ID12.githubCopilot });
|
|
281
281
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
282
|
-
if (evt.model.providerID !==
|
|
282
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
283
283
|
return;
|
|
284
284
|
const token = evt.request.headers.get("x-api-key");
|
|
285
285
|
if (!token)
|
|
@@ -287,9 +287,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
287
287
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
288
288
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
289
289
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
290
|
-
}), { providerID:
|
|
290
|
+
}), { providerID: ID12.githubCopilot });
|
|
291
291
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
292
|
-
if (evt.model.providerID !==
|
|
292
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
293
293
|
return;
|
|
294
294
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
295
295
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-3qx04rj6.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin7,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin7 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin41 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin41 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin7, exports_tavily };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./usage-limits-b1q5yrpf.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./usage-limits-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
Ref5,
|
|
11
|
+
Service83,
|
|
12
|
+
node87
|
|
13
|
+
} from "./usage-limits-06x5j3v9.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service78,
|
|
23
23
|
define: () => define2,
|
|
24
24
|
eventDefinition: () => eventDefinition2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node81
|
|
26
26
|
});
|
|
27
27
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
28
28
|
import { Event } from "@opencode/schema/event";
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
31
|
-
class
|
|
31
|
+
class Service78 extends Context.Service()("@opencode/Rpc") {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
class DeclaredError extends Error {
|
|
@@ -40,10 +40,10 @@ class DeclaredError extends Error {
|
|
|
40
40
|
this.data = data;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service86;
|
|
45
|
-
const location = yield*
|
|
46
|
-
const ref =
|
|
45
|
+
const location = yield* Service83;
|
|
46
|
+
const ref = Ref5.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
47
47
|
const closed = yield* Deferred.make();
|
|
48
48
|
const callContext = {
|
|
49
49
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
@@ -119,19 +119,19 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
119
119
|
const registered = events.get(name);
|
|
120
120
|
if (!registered)
|
|
121
121
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
122
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
122
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service83, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
|
-
return
|
|
127
|
+
return Service78.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
128
128
|
}));
|
|
129
|
-
var
|
|
129
|
+
var node81 = makeLocationNode({ service: Service78, layer, deps: [node90, node87] });
|
|
130
130
|
var fields = {
|
|
131
131
|
id: Event.ID,
|
|
132
132
|
created: Schema.Finite,
|
|
133
133
|
metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
|
|
134
|
-
location: optional2(
|
|
134
|
+
location: optional2(Ref5)
|
|
135
135
|
};
|
|
136
136
|
var EventData = Schema.Record(Schema.String, Schema.Unknown);
|
|
137
137
|
var jsonSchemas = new WeakMap;
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service78, node81, eventDefinition2, exports_rpc, define2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service52,
|
|
10
|
+
node: () => node55
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service52 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node55 = LayerNode.unbound(Service52, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service52, node55, exports_service2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service50,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service50 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service50, exports_runner };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./usage-limits-b1q5yrpf.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./usage-limits-bstexjd6.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./usage-limits-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service61,
|
|
17
|
+
node64
|
|
18
|
+
} from "./usage-limits-d83ky4yz.js";
|
|
19
19
|
import {
|
|
20
20
|
changes2,
|
|
21
21
|
create3
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./usage-limits-204s3925.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/reference.ts
|
|
28
28
|
var exports_reference2 = {};
|
|
29
29
|
__export(exports_reference2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event9,
|
|
31
31
|
GitSource: () => GitSource2,
|
|
32
32
|
Info: () => Info9,
|
|
33
33
|
LocalSource: () => LocalSource2,
|
|
34
34
|
Reference: () => exports_reference2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service60,
|
|
36
36
|
Source: () => Source3,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node63
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
41
41
|
import { Reference } from "@opencode/schema/reference";
|
|
42
42
|
import { Global } from "@opencode/util/global";
|
|
43
|
-
import { Event as
|
|
43
|
+
import { Event as Event9 } from "@opencode/schema/reference";
|
|
44
44
|
var LocalSource2 = Reference.LocalSource;
|
|
45
45
|
var GitSource2 = Reference.GitSource;
|
|
46
46
|
var Source3 = Reference.Source;
|
|
47
47
|
var Info9 = Reference.Info;
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service60 extends Context.Service()("@opencode/Reference") {
|
|
50
50
|
}
|
|
51
|
-
var layer = Layer.effect(
|
|
51
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const bus = yield* Service86;
|
|
54
|
-
const cache = yield*
|
|
54
|
+
const cache = yield* Service61;
|
|
55
55
|
const scope = yield* Scope.Scope;
|
|
56
56
|
const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
|
|
57
57
|
const info = {
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
107
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
108
|
-
return
|
|
108
|
+
return Service60.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
113
113
|
})
|
|
114
114
|
});
|
|
115
115
|
}));
|
|
116
|
-
var
|
|
117
|
-
service:
|
|
116
|
+
var node63 = makeLocationNode({
|
|
117
|
+
service: Service60,
|
|
118
118
|
layer,
|
|
119
|
-
deps: [Global.node, node90,
|
|
119
|
+
deps: [Global.node, node90, node64]
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
export { LocalSource2, GitSource2, Source3, Info9,
|
|
122
|
+
export { LocalSource2, GitSource2, Source3, Info9, Service60, node63, exports_reference2, Event9 };
|